ZTWHHH commited on
Commit
8b79ecd
·
verified ·
1 Parent(s): f8f9e30

Add files using upload-large-folder tool

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitattributes +1 -0
  2. vllm/lib/python3.10/site-packages/av.libs/libcom_err-2abe824b.so.2.1 +0 -0
  3. vllm/lib/python3.10/site-packages/av.libs/libdrm-827b956f.so.2.4.0 +0 -0
  4. vllm/lib/python3.10/site-packages/av.libs/libkeyutils-dfe70bd6.so.1.5 +0 -0
  5. vllm/lib/python3.10/site-packages/av.libs/libkrb5support-d0bcff84.so.0.1 +0 -0
  6. vllm/lib/python3.10/site-packages/av.libs/libopencore-amrwb-9db94aa9.so.0.0.3 +0 -0
  7. vllm/lib/python3.10/site-packages/charset_normalizer/__main__.py +4 -0
  8. vllm/lib/python3.10/site-packages/charset_normalizer/__pycache__/__init__.cpython-310.pyc +0 -0
  9. vllm/lib/python3.10/site-packages/charset_normalizer/__pycache__/__main__.cpython-310.pyc +0 -0
  10. vllm/lib/python3.10/site-packages/charset_normalizer/__pycache__/api.cpython-310.pyc +0 -0
  11. vllm/lib/python3.10/site-packages/charset_normalizer/__pycache__/cd.cpython-310.pyc +0 -0
  12. vllm/lib/python3.10/site-packages/charset_normalizer/__pycache__/constant.cpython-310.pyc +0 -0
  13. vllm/lib/python3.10/site-packages/charset_normalizer/__pycache__/legacy.cpython-310.pyc +0 -0
  14. vllm/lib/python3.10/site-packages/charset_normalizer/__pycache__/md.cpython-310.pyc +0 -0
  15. vllm/lib/python3.10/site-packages/charset_normalizer/__pycache__/models.cpython-310.pyc +0 -0
  16. vllm/lib/python3.10/site-packages/charset_normalizer/__pycache__/utils.cpython-310.pyc +0 -0
  17. vllm/lib/python3.10/site-packages/charset_normalizer/__pycache__/version.cpython-310.pyc +0 -0
  18. vllm/lib/python3.10/site-packages/charset_normalizer/api.py +668 -0
  19. vllm/lib/python3.10/site-packages/charset_normalizer/cd.py +395 -0
  20. vllm/lib/python3.10/site-packages/charset_normalizer/cli/__init__.py +6 -0
  21. vllm/lib/python3.10/site-packages/charset_normalizer/cli/__main__.py +320 -0
  22. vllm/lib/python3.10/site-packages/charset_normalizer/cli/__pycache__/__init__.cpython-310.pyc +0 -0
  23. vllm/lib/python3.10/site-packages/charset_normalizer/cli/__pycache__/__main__.cpython-310.pyc +0 -0
  24. vllm/lib/python3.10/site-packages/charset_normalizer/legacy.py +65 -0
  25. vllm/lib/python3.10/site-packages/charset_normalizer/md.cpython-310-x86_64-linux-gnu.so +0 -0
  26. vllm/lib/python3.10/site-packages/charset_normalizer/md.py +628 -0
  27. vllm/lib/python3.10/site-packages/charset_normalizer/models.py +359 -0
  28. vllm/lib/python3.10/site-packages/charset_normalizer/py.typed +0 -0
  29. vllm/lib/python3.10/site-packages/charset_normalizer/utils.py +421 -0
  30. vllm/lib/python3.10/site-packages/charset_normalizer/version.py +6 -0
  31. vllm/lib/python3.10/site-packages/idna/__pycache__/codec.cpython-310.pyc +0 -0
  32. vllm/lib/python3.10/site-packages/idna/__pycache__/core.cpython-310.pyc +0 -0
  33. vllm/lib/python3.10/site-packages/idna/codec.py +122 -0
  34. vllm/lib/python3.10/site-packages/idna/compat.py +15 -0
  35. vllm/lib/python3.10/site-packages/idna/core.py +437 -0
  36. vllm/lib/python3.10/site-packages/idna/idnadata.py +4243 -0
  37. vllm/lib/python3.10/site-packages/idna/package_data.py +1 -0
  38. vllm/lib/python3.10/site-packages/idna/py.typed +0 -0
  39. vllm/lib/python3.10/site-packages/idna/uts46data.py +0 -0
  40. vllm/lib/python3.10/site-packages/nvidia_cuda_cupti_cu12-12.4.127.dist-info/License.txt +1568 -0
  41. vllm/lib/python3.10/site-packages/nvidia_cuda_cupti_cu12-12.4.127.dist-info/REQUESTED +0 -0
  42. vllm/lib/python3.10/site-packages/qwen_vl_utils/__init__.py +7 -0
  43. vllm/lib/python3.10/site-packages/qwen_vl_utils/__pycache__/__init__.cpython-310.pyc +0 -0
  44. vllm/lib/python3.10/site-packages/qwen_vl_utils/__pycache__/vision_process.cpython-310.pyc +0 -0
  45. vllm/lib/python3.10/site-packages/qwen_vl_utils/vision_process.py +377 -0
  46. vllm/lib/python3.10/site-packages/rpds/__init__.py +5 -0
  47. vllm/lib/python3.10/site-packages/rpds/__init__.pyi +77 -0
  48. vllm/lib/python3.10/site-packages/rpds/__pycache__/__init__.cpython-310.pyc +0 -0
  49. vllm/lib/python3.10/site-packages/rpds/py.typed +0 -0
  50. vllm/lib/python3.10/site-packages/rpds/rpds.cpython-310-x86_64-linux-gnu.so +3 -0
.gitattributes CHANGED
@@ -1493,3 +1493,4 @@ vllm/lib/python3.10/site-packages/ray/data/__pycache__/dataset.cpython-310.pyc f
1493
  vllm/lib/python3.10/site-packages/torchvision/image.so filter=lfs diff=lfs merge=lfs -text
1494
  vllm/lib/python3.10/site-packages/torchvision/_C.so filter=lfs diff=lfs merge=lfs -text
1495
  vllm/lib/python3.10/site-packages/tokenizers/tokenizers.abi3.so filter=lfs diff=lfs merge=lfs -text
 
 
1493
  vllm/lib/python3.10/site-packages/torchvision/image.so filter=lfs diff=lfs merge=lfs -text
1494
  vllm/lib/python3.10/site-packages/torchvision/_C.so filter=lfs diff=lfs merge=lfs -text
1495
  vllm/lib/python3.10/site-packages/tokenizers/tokenizers.abi3.so filter=lfs diff=lfs merge=lfs -text
1496
+ vllm/lib/python3.10/site-packages/rpds/rpds.cpython-310-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
vllm/lib/python3.10/site-packages/av.libs/libcom_err-2abe824b.so.2.1 ADDED
Binary file (17.5 kB). View file
 
vllm/lib/python3.10/site-packages/av.libs/libdrm-827b956f.so.2.4.0 ADDED
Binary file (79.2 kB). View file
 
vllm/lib/python3.10/site-packages/av.libs/libkeyutils-dfe70bd6.so.1.5 ADDED
Binary file (17.9 kB). View file
 
vllm/lib/python3.10/site-packages/av.libs/libkrb5support-d0bcff84.so.0.1 ADDED
Binary file (76.9 kB). View file
 
vllm/lib/python3.10/site-packages/av.libs/libopencore-amrwb-9db94aa9.so.0.0.3 ADDED
Binary file (82.6 kB). View file
 
vllm/lib/python3.10/site-packages/charset_normalizer/__main__.py ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ from .cli import cli_detect
2
+
3
+ if __name__ == "__main__":
4
+ cli_detect()
vllm/lib/python3.10/site-packages/charset_normalizer/__pycache__/__init__.cpython-310.pyc ADDED
Binary file (1.57 kB). View file
 
vllm/lib/python3.10/site-packages/charset_normalizer/__pycache__/__main__.cpython-310.pyc ADDED
Binary file (250 Bytes). View file
 
vllm/lib/python3.10/site-packages/charset_normalizer/__pycache__/api.cpython-310.pyc ADDED
Binary file (11.7 kB). View file
 
vllm/lib/python3.10/site-packages/charset_normalizer/__pycache__/cd.cpython-310.pyc ADDED
Binary file (9.64 kB). View file
 
vllm/lib/python3.10/site-packages/charset_normalizer/__pycache__/constant.cpython-310.pyc ADDED
Binary file (30.4 kB). View file
 
vllm/lib/python3.10/site-packages/charset_normalizer/__pycache__/legacy.cpython-310.pyc ADDED
Binary file (2.17 kB). View file
 
vllm/lib/python3.10/site-packages/charset_normalizer/__pycache__/md.cpython-310.pyc ADDED
Binary file (15.9 kB). View file
 
vllm/lib/python3.10/site-packages/charset_normalizer/__pycache__/models.cpython-310.pyc ADDED
Binary file (12 kB). View file
 
vllm/lib/python3.10/site-packages/charset_normalizer/__pycache__/utils.cpython-310.pyc ADDED
Binary file (8.91 kB). View file
 
vllm/lib/python3.10/site-packages/charset_normalizer/__pycache__/version.cpython-310.pyc ADDED
Binary file (252 Bytes). View file
 
vllm/lib/python3.10/site-packages/charset_normalizer/api.py ADDED
@@ -0,0 +1,668 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import logging
2
+ from os import PathLike
3
+ from typing import BinaryIO, List, Optional, Set, Union
4
+
5
+ from .cd import (
6
+ coherence_ratio,
7
+ encoding_languages,
8
+ mb_encoding_languages,
9
+ merge_coherence_ratios,
10
+ )
11
+ from .constant import IANA_SUPPORTED, TOO_BIG_SEQUENCE, TOO_SMALL_SEQUENCE, TRACE
12
+ from .md import mess_ratio
13
+ from .models import CharsetMatch, CharsetMatches
14
+ from .utils import (
15
+ any_specified_encoding,
16
+ cut_sequence_chunks,
17
+ iana_name,
18
+ identify_sig_or_bom,
19
+ is_cp_similar,
20
+ is_multi_byte_encoding,
21
+ should_strip_sig_or_bom,
22
+ )
23
+
24
+ # Will most likely be controversial
25
+ # logging.addLevelName(TRACE, "TRACE")
26
+ logger = logging.getLogger("charset_normalizer")
27
+ explain_handler = logging.StreamHandler()
28
+ explain_handler.setFormatter(
29
+ logging.Formatter("%(asctime)s | %(levelname)s | %(message)s")
30
+ )
31
+
32
+
33
+ def from_bytes(
34
+ sequences: Union[bytes, bytearray],
35
+ steps: int = 5,
36
+ chunk_size: int = 512,
37
+ threshold: float = 0.2,
38
+ cp_isolation: Optional[List[str]] = None,
39
+ cp_exclusion: Optional[List[str]] = None,
40
+ preemptive_behaviour: bool = True,
41
+ explain: bool = False,
42
+ language_threshold: float = 0.1,
43
+ enable_fallback: bool = True,
44
+ ) -> CharsetMatches:
45
+ """
46
+ Given a raw bytes sequence, return the best possibles charset usable to render str objects.
47
+ If there is no results, it is a strong indicator that the source is binary/not text.
48
+ By default, the process will extract 5 blocks of 512o each to assess the mess and coherence of a given sequence.
49
+ And will give up a particular code page after 20% of measured mess. Those criteria are customizable at will.
50
+
51
+ The preemptive behavior DOES NOT replace the traditional detection workflow, it prioritize a particular code page
52
+ but never take it for granted. Can improve the performance.
53
+
54
+ You may want to focus your attention to some code page or/and not others, use cp_isolation and cp_exclusion for that
55
+ purpose.
56
+
57
+ This function will strip the SIG in the payload/sequence every time except on UTF-16, UTF-32.
58
+ By default the library does not setup any handler other than the NullHandler, if you choose to set the 'explain'
59
+ toggle to True it will alter the logger configuration to add a StreamHandler that is suitable for debugging.
60
+ Custom logging format and handler can be set manually.
61
+ """
62
+
63
+ if not isinstance(sequences, (bytearray, bytes)):
64
+ raise TypeError(
65
+ "Expected object of type bytes or bytearray, got: {0}".format(
66
+ type(sequences)
67
+ )
68
+ )
69
+
70
+ if explain:
71
+ previous_logger_level: int = logger.level
72
+ logger.addHandler(explain_handler)
73
+ logger.setLevel(TRACE)
74
+
75
+ length: int = len(sequences)
76
+
77
+ if length == 0:
78
+ logger.debug("Encoding detection on empty bytes, assuming utf_8 intention.")
79
+ if explain:
80
+ logger.removeHandler(explain_handler)
81
+ logger.setLevel(previous_logger_level or logging.WARNING)
82
+ return CharsetMatches([CharsetMatch(sequences, "utf_8", 0.0, False, [], "")])
83
+
84
+ if cp_isolation is not None:
85
+ logger.log(
86
+ TRACE,
87
+ "cp_isolation is set. use this flag for debugging purpose. "
88
+ "limited list of encoding allowed : %s.",
89
+ ", ".join(cp_isolation),
90
+ )
91
+ cp_isolation = [iana_name(cp, False) for cp in cp_isolation]
92
+ else:
93
+ cp_isolation = []
94
+
95
+ if cp_exclusion is not None:
96
+ logger.log(
97
+ TRACE,
98
+ "cp_exclusion is set. use this flag for debugging purpose. "
99
+ "limited list of encoding excluded : %s.",
100
+ ", ".join(cp_exclusion),
101
+ )
102
+ cp_exclusion = [iana_name(cp, False) for cp in cp_exclusion]
103
+ else:
104
+ cp_exclusion = []
105
+
106
+ if length <= (chunk_size * steps):
107
+ logger.log(
108
+ TRACE,
109
+ "override steps (%i) and chunk_size (%i) as content does not fit (%i byte(s) given) parameters.",
110
+ steps,
111
+ chunk_size,
112
+ length,
113
+ )
114
+ steps = 1
115
+ chunk_size = length
116
+
117
+ if steps > 1 and length / steps < chunk_size:
118
+ chunk_size = int(length / steps)
119
+
120
+ is_too_small_sequence: bool = len(sequences) < TOO_SMALL_SEQUENCE
121
+ is_too_large_sequence: bool = len(sequences) >= TOO_BIG_SEQUENCE
122
+
123
+ if is_too_small_sequence:
124
+ logger.log(
125
+ TRACE,
126
+ "Trying to detect encoding from a tiny portion of ({}) byte(s).".format(
127
+ length
128
+ ),
129
+ )
130
+ elif is_too_large_sequence:
131
+ logger.log(
132
+ TRACE,
133
+ "Using lazy str decoding because the payload is quite large, ({}) byte(s).".format(
134
+ length
135
+ ),
136
+ )
137
+
138
+ prioritized_encodings: List[str] = []
139
+
140
+ specified_encoding: Optional[str] = (
141
+ any_specified_encoding(sequences) if preemptive_behaviour else None
142
+ )
143
+
144
+ if specified_encoding is not None:
145
+ prioritized_encodings.append(specified_encoding)
146
+ logger.log(
147
+ TRACE,
148
+ "Detected declarative mark in sequence. Priority +1 given for %s.",
149
+ specified_encoding,
150
+ )
151
+
152
+ tested: Set[str] = set()
153
+ tested_but_hard_failure: List[str] = []
154
+ tested_but_soft_failure: List[str] = []
155
+
156
+ fallback_ascii: Optional[CharsetMatch] = None
157
+ fallback_u8: Optional[CharsetMatch] = None
158
+ fallback_specified: Optional[CharsetMatch] = None
159
+
160
+ results: CharsetMatches = CharsetMatches()
161
+
162
+ early_stop_results: CharsetMatches = CharsetMatches()
163
+
164
+ sig_encoding, sig_payload = identify_sig_or_bom(sequences)
165
+
166
+ if sig_encoding is not None:
167
+ prioritized_encodings.append(sig_encoding)
168
+ logger.log(
169
+ TRACE,
170
+ "Detected a SIG or BOM mark on first %i byte(s). Priority +1 given for %s.",
171
+ len(sig_payload),
172
+ sig_encoding,
173
+ )
174
+
175
+ prioritized_encodings.append("ascii")
176
+
177
+ if "utf_8" not in prioritized_encodings:
178
+ prioritized_encodings.append("utf_8")
179
+
180
+ for encoding_iana in prioritized_encodings + IANA_SUPPORTED:
181
+ if cp_isolation and encoding_iana not in cp_isolation:
182
+ continue
183
+
184
+ if cp_exclusion and encoding_iana in cp_exclusion:
185
+ continue
186
+
187
+ if encoding_iana in tested:
188
+ continue
189
+
190
+ tested.add(encoding_iana)
191
+
192
+ decoded_payload: Optional[str] = None
193
+ bom_or_sig_available: bool = sig_encoding == encoding_iana
194
+ strip_sig_or_bom: bool = bom_or_sig_available and should_strip_sig_or_bom(
195
+ encoding_iana
196
+ )
197
+
198
+ if encoding_iana in {"utf_16", "utf_32"} and not bom_or_sig_available:
199
+ logger.log(
200
+ TRACE,
201
+ "Encoding %s won't be tested as-is because it require a BOM. Will try some sub-encoder LE/BE.",
202
+ encoding_iana,
203
+ )
204
+ continue
205
+ if encoding_iana in {"utf_7"} and not bom_or_sig_available:
206
+ logger.log(
207
+ TRACE,
208
+ "Encoding %s won't be tested as-is because detection is unreliable without BOM/SIG.",
209
+ encoding_iana,
210
+ )
211
+ continue
212
+
213
+ try:
214
+ is_multi_byte_decoder: bool = is_multi_byte_encoding(encoding_iana)
215
+ except (ModuleNotFoundError, ImportError):
216
+ logger.log(
217
+ TRACE,
218
+ "Encoding %s does not provide an IncrementalDecoder",
219
+ encoding_iana,
220
+ )
221
+ continue
222
+
223
+ try:
224
+ if is_too_large_sequence and is_multi_byte_decoder is False:
225
+ str(
226
+ (
227
+ sequences[: int(50e4)]
228
+ if strip_sig_or_bom is False
229
+ else sequences[len(sig_payload) : int(50e4)]
230
+ ),
231
+ encoding=encoding_iana,
232
+ )
233
+ else:
234
+ decoded_payload = str(
235
+ (
236
+ sequences
237
+ if strip_sig_or_bom is False
238
+ else sequences[len(sig_payload) :]
239
+ ),
240
+ encoding=encoding_iana,
241
+ )
242
+ except (UnicodeDecodeError, LookupError) as e:
243
+ if not isinstance(e, LookupError):
244
+ logger.log(
245
+ TRACE,
246
+ "Code page %s does not fit given bytes sequence at ALL. %s",
247
+ encoding_iana,
248
+ str(e),
249
+ )
250
+ tested_but_hard_failure.append(encoding_iana)
251
+ continue
252
+
253
+ similar_soft_failure_test: bool = False
254
+
255
+ for encoding_soft_failed in tested_but_soft_failure:
256
+ if is_cp_similar(encoding_iana, encoding_soft_failed):
257
+ similar_soft_failure_test = True
258
+ break
259
+
260
+ if similar_soft_failure_test:
261
+ logger.log(
262
+ TRACE,
263
+ "%s is deemed too similar to code page %s and was consider unsuited already. Continuing!",
264
+ encoding_iana,
265
+ encoding_soft_failed,
266
+ )
267
+ continue
268
+
269
+ r_ = range(
270
+ 0 if not bom_or_sig_available else len(sig_payload),
271
+ length,
272
+ int(length / steps),
273
+ )
274
+
275
+ multi_byte_bonus: bool = (
276
+ is_multi_byte_decoder
277
+ and decoded_payload is not None
278
+ and len(decoded_payload) < length
279
+ )
280
+
281
+ if multi_byte_bonus:
282
+ logger.log(
283
+ TRACE,
284
+ "Code page %s is a multi byte encoding table and it appear that at least one character "
285
+ "was encoded using n-bytes.",
286
+ encoding_iana,
287
+ )
288
+
289
+ max_chunk_gave_up: int = int(len(r_) / 4)
290
+
291
+ max_chunk_gave_up = max(max_chunk_gave_up, 2)
292
+ early_stop_count: int = 0
293
+ lazy_str_hard_failure = False
294
+
295
+ md_chunks: List[str] = []
296
+ md_ratios = []
297
+
298
+ try:
299
+ for chunk in cut_sequence_chunks(
300
+ sequences,
301
+ encoding_iana,
302
+ r_,
303
+ chunk_size,
304
+ bom_or_sig_available,
305
+ strip_sig_or_bom,
306
+ sig_payload,
307
+ is_multi_byte_decoder,
308
+ decoded_payload,
309
+ ):
310
+ md_chunks.append(chunk)
311
+
312
+ md_ratios.append(
313
+ mess_ratio(
314
+ chunk,
315
+ threshold,
316
+ explain is True and 1 <= len(cp_isolation) <= 2,
317
+ )
318
+ )
319
+
320
+ if md_ratios[-1] >= threshold:
321
+ early_stop_count += 1
322
+
323
+ if (early_stop_count >= max_chunk_gave_up) or (
324
+ bom_or_sig_available and strip_sig_or_bom is False
325
+ ):
326
+ break
327
+ except (
328
+ UnicodeDecodeError
329
+ ) as e: # Lazy str loading may have missed something there
330
+ logger.log(
331
+ TRACE,
332
+ "LazyStr Loading: After MD chunk decode, code page %s does not fit given bytes sequence at ALL. %s",
333
+ encoding_iana,
334
+ str(e),
335
+ )
336
+ early_stop_count = max_chunk_gave_up
337
+ lazy_str_hard_failure = True
338
+
339
+ # We might want to check the sequence again with the whole content
340
+ # Only if initial MD tests passes
341
+ if (
342
+ not lazy_str_hard_failure
343
+ and is_too_large_sequence
344
+ and not is_multi_byte_decoder
345
+ ):
346
+ try:
347
+ sequences[int(50e3) :].decode(encoding_iana, errors="strict")
348
+ except UnicodeDecodeError as e:
349
+ logger.log(
350
+ TRACE,
351
+ "LazyStr Loading: After final lookup, code page %s does not fit given bytes sequence at ALL. %s",
352
+ encoding_iana,
353
+ str(e),
354
+ )
355
+ tested_but_hard_failure.append(encoding_iana)
356
+ continue
357
+
358
+ mean_mess_ratio: float = sum(md_ratios) / len(md_ratios) if md_ratios else 0.0
359
+ if mean_mess_ratio >= threshold or early_stop_count >= max_chunk_gave_up:
360
+ tested_but_soft_failure.append(encoding_iana)
361
+ logger.log(
362
+ TRACE,
363
+ "%s was excluded because of initial chaos probing. Gave up %i time(s). "
364
+ "Computed mean chaos is %f %%.",
365
+ encoding_iana,
366
+ early_stop_count,
367
+ round(mean_mess_ratio * 100, ndigits=3),
368
+ )
369
+ # Preparing those fallbacks in case we got nothing.
370
+ if (
371
+ enable_fallback
372
+ and encoding_iana in ["ascii", "utf_8", specified_encoding]
373
+ and not lazy_str_hard_failure
374
+ ):
375
+ fallback_entry = CharsetMatch(
376
+ sequences,
377
+ encoding_iana,
378
+ threshold,
379
+ False,
380
+ [],
381
+ decoded_payload,
382
+ preemptive_declaration=specified_encoding,
383
+ )
384
+ if encoding_iana == specified_encoding:
385
+ fallback_specified = fallback_entry
386
+ elif encoding_iana == "ascii":
387
+ fallback_ascii = fallback_entry
388
+ else:
389
+ fallback_u8 = fallback_entry
390
+ continue
391
+
392
+ logger.log(
393
+ TRACE,
394
+ "%s passed initial chaos probing. Mean measured chaos is %f %%",
395
+ encoding_iana,
396
+ round(mean_mess_ratio * 100, ndigits=3),
397
+ )
398
+
399
+ if not is_multi_byte_decoder:
400
+ target_languages: List[str] = encoding_languages(encoding_iana)
401
+ else:
402
+ target_languages = mb_encoding_languages(encoding_iana)
403
+
404
+ if target_languages:
405
+ logger.log(
406
+ TRACE,
407
+ "{} should target any language(s) of {}".format(
408
+ encoding_iana, str(target_languages)
409
+ ),
410
+ )
411
+
412
+ cd_ratios = []
413
+
414
+ # We shall skip the CD when its about ASCII
415
+ # Most of the time its not relevant to run "language-detection" on it.
416
+ if encoding_iana != "ascii":
417
+ for chunk in md_chunks:
418
+ chunk_languages = coherence_ratio(
419
+ chunk,
420
+ language_threshold,
421
+ ",".join(target_languages) if target_languages else None,
422
+ )
423
+
424
+ cd_ratios.append(chunk_languages)
425
+
426
+ cd_ratios_merged = merge_coherence_ratios(cd_ratios)
427
+
428
+ if cd_ratios_merged:
429
+ logger.log(
430
+ TRACE,
431
+ "We detected language {} using {}".format(
432
+ cd_ratios_merged, encoding_iana
433
+ ),
434
+ )
435
+
436
+ current_match = CharsetMatch(
437
+ sequences,
438
+ encoding_iana,
439
+ mean_mess_ratio,
440
+ bom_or_sig_available,
441
+ cd_ratios_merged,
442
+ (
443
+ decoded_payload
444
+ if (
445
+ is_too_large_sequence is False
446
+ or encoding_iana in [specified_encoding, "ascii", "utf_8"]
447
+ )
448
+ else None
449
+ ),
450
+ preemptive_declaration=specified_encoding,
451
+ )
452
+
453
+ results.append(current_match)
454
+
455
+ if (
456
+ encoding_iana in [specified_encoding, "ascii", "utf_8"]
457
+ and mean_mess_ratio < 0.1
458
+ ):
459
+ # If md says nothing to worry about, then... stop immediately!
460
+ if mean_mess_ratio == 0.0:
461
+ logger.debug(
462
+ "Encoding detection: %s is most likely the one.",
463
+ current_match.encoding,
464
+ )
465
+ if explain:
466
+ logger.removeHandler(explain_handler)
467
+ logger.setLevel(previous_logger_level)
468
+ return CharsetMatches([current_match])
469
+
470
+ early_stop_results.append(current_match)
471
+
472
+ if (
473
+ len(early_stop_results)
474
+ and (specified_encoding is None or specified_encoding in tested)
475
+ and "ascii" in tested
476
+ and "utf_8" in tested
477
+ ):
478
+ probable_result: CharsetMatch = early_stop_results.best() # type: ignore[assignment]
479
+ logger.debug(
480
+ "Encoding detection: %s is most likely the one.",
481
+ probable_result.encoding,
482
+ )
483
+ if explain:
484
+ logger.removeHandler(explain_handler)
485
+ logger.setLevel(previous_logger_level)
486
+
487
+ return CharsetMatches([probable_result])
488
+
489
+ if encoding_iana == sig_encoding:
490
+ logger.debug(
491
+ "Encoding detection: %s is most likely the one as we detected a BOM or SIG within "
492
+ "the beginning of the sequence.",
493
+ encoding_iana,
494
+ )
495
+ if explain:
496
+ logger.removeHandler(explain_handler)
497
+ logger.setLevel(previous_logger_level)
498
+ return CharsetMatches([results[encoding_iana]])
499
+
500
+ if len(results) == 0:
501
+ if fallback_u8 or fallback_ascii or fallback_specified:
502
+ logger.log(
503
+ TRACE,
504
+ "Nothing got out of the detection process. Using ASCII/UTF-8/Specified fallback.",
505
+ )
506
+
507
+ if fallback_specified:
508
+ logger.debug(
509
+ "Encoding detection: %s will be used as a fallback match",
510
+ fallback_specified.encoding,
511
+ )
512
+ results.append(fallback_specified)
513
+ elif (
514
+ (fallback_u8 and fallback_ascii is None)
515
+ or (
516
+ fallback_u8
517
+ and fallback_ascii
518
+ and fallback_u8.fingerprint != fallback_ascii.fingerprint
519
+ )
520
+ or (fallback_u8 is not None)
521
+ ):
522
+ logger.debug("Encoding detection: utf_8 will be used as a fallback match")
523
+ results.append(fallback_u8)
524
+ elif fallback_ascii:
525
+ logger.debug("Encoding detection: ascii will be used as a fallback match")
526
+ results.append(fallback_ascii)
527
+
528
+ if results:
529
+ logger.debug(
530
+ "Encoding detection: Found %s as plausible (best-candidate) for content. With %i alternatives.",
531
+ results.best().encoding, # type: ignore
532
+ len(results) - 1,
533
+ )
534
+ else:
535
+ logger.debug("Encoding detection: Unable to determine any suitable charset.")
536
+
537
+ if explain:
538
+ logger.removeHandler(explain_handler)
539
+ logger.setLevel(previous_logger_level)
540
+
541
+ return results
542
+
543
+
544
+ def from_fp(
545
+ fp: BinaryIO,
546
+ steps: int = 5,
547
+ chunk_size: int = 512,
548
+ threshold: float = 0.20,
549
+ cp_isolation: Optional[List[str]] = None,
550
+ cp_exclusion: Optional[List[str]] = None,
551
+ preemptive_behaviour: bool = True,
552
+ explain: bool = False,
553
+ language_threshold: float = 0.1,
554
+ enable_fallback: bool = True,
555
+ ) -> CharsetMatches:
556
+ """
557
+ Same thing than the function from_bytes but using a file pointer that is already ready.
558
+ Will not close the file pointer.
559
+ """
560
+ return from_bytes(
561
+ fp.read(),
562
+ steps,
563
+ chunk_size,
564
+ threshold,
565
+ cp_isolation,
566
+ cp_exclusion,
567
+ preemptive_behaviour,
568
+ explain,
569
+ language_threshold,
570
+ enable_fallback,
571
+ )
572
+
573
+
574
+ def from_path(
575
+ path: Union[str, bytes, PathLike], # type: ignore[type-arg]
576
+ steps: int = 5,
577
+ chunk_size: int = 512,
578
+ threshold: float = 0.20,
579
+ cp_isolation: Optional[List[str]] = None,
580
+ cp_exclusion: Optional[List[str]] = None,
581
+ preemptive_behaviour: bool = True,
582
+ explain: bool = False,
583
+ language_threshold: float = 0.1,
584
+ enable_fallback: bool = True,
585
+ ) -> CharsetMatches:
586
+ """
587
+ Same thing than the function from_bytes but with one extra step. Opening and reading given file path in binary mode.
588
+ Can raise IOError.
589
+ """
590
+ with open(path, "rb") as fp:
591
+ return from_fp(
592
+ fp,
593
+ steps,
594
+ chunk_size,
595
+ threshold,
596
+ cp_isolation,
597
+ cp_exclusion,
598
+ preemptive_behaviour,
599
+ explain,
600
+ language_threshold,
601
+ enable_fallback,
602
+ )
603
+
604
+
605
+ def is_binary(
606
+ fp_or_path_or_payload: Union[PathLike, str, BinaryIO, bytes], # type: ignore[type-arg]
607
+ steps: int = 5,
608
+ chunk_size: int = 512,
609
+ threshold: float = 0.20,
610
+ cp_isolation: Optional[List[str]] = None,
611
+ cp_exclusion: Optional[List[str]] = None,
612
+ preemptive_behaviour: bool = True,
613
+ explain: bool = False,
614
+ language_threshold: float = 0.1,
615
+ enable_fallback: bool = False,
616
+ ) -> bool:
617
+ """
618
+ Detect if the given input (file, bytes, or path) points to a binary file. aka. not a string.
619
+ Based on the same main heuristic algorithms and default kwargs at the sole exception that fallbacks match
620
+ are disabled to be stricter around ASCII-compatible but unlikely to be a string.
621
+ """
622
+ if isinstance(fp_or_path_or_payload, (str, PathLike)):
623
+ guesses = from_path(
624
+ fp_or_path_or_payload,
625
+ steps=steps,
626
+ chunk_size=chunk_size,
627
+ threshold=threshold,
628
+ cp_isolation=cp_isolation,
629
+ cp_exclusion=cp_exclusion,
630
+ preemptive_behaviour=preemptive_behaviour,
631
+ explain=explain,
632
+ language_threshold=language_threshold,
633
+ enable_fallback=enable_fallback,
634
+ )
635
+ elif isinstance(
636
+ fp_or_path_or_payload,
637
+ (
638
+ bytes,
639
+ bytearray,
640
+ ),
641
+ ):
642
+ guesses = from_bytes(
643
+ fp_or_path_or_payload,
644
+ steps=steps,
645
+ chunk_size=chunk_size,
646
+ threshold=threshold,
647
+ cp_isolation=cp_isolation,
648
+ cp_exclusion=cp_exclusion,
649
+ preemptive_behaviour=preemptive_behaviour,
650
+ explain=explain,
651
+ language_threshold=language_threshold,
652
+ enable_fallback=enable_fallback,
653
+ )
654
+ else:
655
+ guesses = from_fp(
656
+ fp_or_path_or_payload,
657
+ steps=steps,
658
+ chunk_size=chunk_size,
659
+ threshold=threshold,
660
+ cp_isolation=cp_isolation,
661
+ cp_exclusion=cp_exclusion,
662
+ preemptive_behaviour=preemptive_behaviour,
663
+ explain=explain,
664
+ language_threshold=language_threshold,
665
+ enable_fallback=enable_fallback,
666
+ )
667
+
668
+ return not guesses
vllm/lib/python3.10/site-packages/charset_normalizer/cd.py ADDED
@@ -0,0 +1,395 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import importlib
2
+ from codecs import IncrementalDecoder
3
+ from collections import Counter
4
+ from functools import lru_cache
5
+ from typing import Counter as TypeCounter, Dict, List, Optional, Tuple
6
+
7
+ from .constant import (
8
+ FREQUENCIES,
9
+ KO_NAMES,
10
+ LANGUAGE_SUPPORTED_COUNT,
11
+ TOO_SMALL_SEQUENCE,
12
+ ZH_NAMES,
13
+ )
14
+ from .md import is_suspiciously_successive_range
15
+ from .models import CoherenceMatches
16
+ from .utils import (
17
+ is_accentuated,
18
+ is_latin,
19
+ is_multi_byte_encoding,
20
+ is_unicode_range_secondary,
21
+ unicode_range,
22
+ )
23
+
24
+
25
+ def encoding_unicode_range(iana_name: str) -> List[str]:
26
+ """
27
+ Return associated unicode ranges in a single byte code page.
28
+ """
29
+ if is_multi_byte_encoding(iana_name):
30
+ raise IOError("Function not supported on multi-byte code page")
31
+
32
+ decoder = importlib.import_module(
33
+ "encodings.{}".format(iana_name)
34
+ ).IncrementalDecoder
35
+
36
+ p: IncrementalDecoder = decoder(errors="ignore")
37
+ seen_ranges: Dict[str, int] = {}
38
+ character_count: int = 0
39
+
40
+ for i in range(0x40, 0xFF):
41
+ chunk: str = p.decode(bytes([i]))
42
+
43
+ if chunk:
44
+ character_range: Optional[str] = unicode_range(chunk)
45
+
46
+ if character_range is None:
47
+ continue
48
+
49
+ if is_unicode_range_secondary(character_range) is False:
50
+ if character_range not in seen_ranges:
51
+ seen_ranges[character_range] = 0
52
+ seen_ranges[character_range] += 1
53
+ character_count += 1
54
+
55
+ return sorted(
56
+ [
57
+ character_range
58
+ for character_range in seen_ranges
59
+ if seen_ranges[character_range] / character_count >= 0.15
60
+ ]
61
+ )
62
+
63
+
64
+ def unicode_range_languages(primary_range: str) -> List[str]:
65
+ """
66
+ Return inferred languages used with a unicode range.
67
+ """
68
+ languages: List[str] = []
69
+
70
+ for language, characters in FREQUENCIES.items():
71
+ for character in characters:
72
+ if unicode_range(character) == primary_range:
73
+ languages.append(language)
74
+ break
75
+
76
+ return languages
77
+
78
+
79
+ @lru_cache()
80
+ def encoding_languages(iana_name: str) -> List[str]:
81
+ """
82
+ Single-byte encoding language association. Some code page are heavily linked to particular language(s).
83
+ This function does the correspondence.
84
+ """
85
+ unicode_ranges: List[str] = encoding_unicode_range(iana_name)
86
+ primary_range: Optional[str] = None
87
+
88
+ for specified_range in unicode_ranges:
89
+ if "Latin" not in specified_range:
90
+ primary_range = specified_range
91
+ break
92
+
93
+ if primary_range is None:
94
+ return ["Latin Based"]
95
+
96
+ return unicode_range_languages(primary_range)
97
+
98
+
99
+ @lru_cache()
100
+ def mb_encoding_languages(iana_name: str) -> List[str]:
101
+ """
102
+ Multi-byte encoding language association. Some code page are heavily linked to particular language(s).
103
+ This function does the correspondence.
104
+ """
105
+ if (
106
+ iana_name.startswith("shift_")
107
+ or iana_name.startswith("iso2022_jp")
108
+ or iana_name.startswith("euc_j")
109
+ or iana_name == "cp932"
110
+ ):
111
+ return ["Japanese"]
112
+ if iana_name.startswith("gb") or iana_name in ZH_NAMES:
113
+ return ["Chinese"]
114
+ if iana_name.startswith("iso2022_kr") or iana_name in KO_NAMES:
115
+ return ["Korean"]
116
+
117
+ return []
118
+
119
+
120
+ @lru_cache(maxsize=LANGUAGE_SUPPORTED_COUNT)
121
+ def get_target_features(language: str) -> Tuple[bool, bool]:
122
+ """
123
+ Determine main aspects from a supported language if it contains accents and if is pure Latin.
124
+ """
125
+ target_have_accents: bool = False
126
+ target_pure_latin: bool = True
127
+
128
+ for character in FREQUENCIES[language]:
129
+ if not target_have_accents and is_accentuated(character):
130
+ target_have_accents = True
131
+ if target_pure_latin and is_latin(character) is False:
132
+ target_pure_latin = False
133
+
134
+ return target_have_accents, target_pure_latin
135
+
136
+
137
+ def alphabet_languages(
138
+ characters: List[str], ignore_non_latin: bool = False
139
+ ) -> List[str]:
140
+ """
141
+ Return associated languages associated to given characters.
142
+ """
143
+ languages: List[Tuple[str, float]] = []
144
+
145
+ source_have_accents = any(is_accentuated(character) for character in characters)
146
+
147
+ for language, language_characters in FREQUENCIES.items():
148
+ target_have_accents, target_pure_latin = get_target_features(language)
149
+
150
+ if ignore_non_latin and target_pure_latin is False:
151
+ continue
152
+
153
+ if target_have_accents is False and source_have_accents:
154
+ continue
155
+
156
+ character_count: int = len(language_characters)
157
+
158
+ character_match_count: int = len(
159
+ [c for c in language_characters if c in characters]
160
+ )
161
+
162
+ ratio: float = character_match_count / character_count
163
+
164
+ if ratio >= 0.2:
165
+ languages.append((language, ratio))
166
+
167
+ languages = sorted(languages, key=lambda x: x[1], reverse=True)
168
+
169
+ return [compatible_language[0] for compatible_language in languages]
170
+
171
+
172
+ def characters_popularity_compare(
173
+ language: str, ordered_characters: List[str]
174
+ ) -> float:
175
+ """
176
+ Determine if a ordered characters list (by occurrence from most appearance to rarest) match a particular language.
177
+ The result is a ratio between 0. (absolutely no correspondence) and 1. (near perfect fit).
178
+ Beware that is function is not strict on the match in order to ease the detection. (Meaning close match is 1.)
179
+ """
180
+ if language not in FREQUENCIES:
181
+ raise ValueError("{} not available".format(language))
182
+
183
+ character_approved_count: int = 0
184
+ FREQUENCIES_language_set = set(FREQUENCIES[language])
185
+
186
+ ordered_characters_count: int = len(ordered_characters)
187
+ target_language_characters_count: int = len(FREQUENCIES[language])
188
+
189
+ large_alphabet: bool = target_language_characters_count > 26
190
+
191
+ for character, character_rank in zip(
192
+ ordered_characters, range(0, ordered_characters_count)
193
+ ):
194
+ if character not in FREQUENCIES_language_set:
195
+ continue
196
+
197
+ character_rank_in_language: int = FREQUENCIES[language].index(character)
198
+ expected_projection_ratio: float = (
199
+ target_language_characters_count / ordered_characters_count
200
+ )
201
+ character_rank_projection: int = int(character_rank * expected_projection_ratio)
202
+
203
+ if (
204
+ large_alphabet is False
205
+ and abs(character_rank_projection - character_rank_in_language) > 4
206
+ ):
207
+ continue
208
+
209
+ if (
210
+ large_alphabet is True
211
+ and abs(character_rank_projection - character_rank_in_language)
212
+ < target_language_characters_count / 3
213
+ ):
214
+ character_approved_count += 1
215
+ continue
216
+
217
+ characters_before_source: List[str] = FREQUENCIES[language][
218
+ 0:character_rank_in_language
219
+ ]
220
+ characters_after_source: List[str] = FREQUENCIES[language][
221
+ character_rank_in_language:
222
+ ]
223
+ characters_before: List[str] = ordered_characters[0:character_rank]
224
+ characters_after: List[str] = ordered_characters[character_rank:]
225
+
226
+ before_match_count: int = len(
227
+ set(characters_before) & set(characters_before_source)
228
+ )
229
+
230
+ after_match_count: int = len(
231
+ set(characters_after) & set(characters_after_source)
232
+ )
233
+
234
+ if len(characters_before_source) == 0 and before_match_count <= 4:
235
+ character_approved_count += 1
236
+ continue
237
+
238
+ if len(characters_after_source) == 0 and after_match_count <= 4:
239
+ character_approved_count += 1
240
+ continue
241
+
242
+ if (
243
+ before_match_count / len(characters_before_source) >= 0.4
244
+ or after_match_count / len(characters_after_source) >= 0.4
245
+ ):
246
+ character_approved_count += 1
247
+ continue
248
+
249
+ return character_approved_count / len(ordered_characters)
250
+
251
+
252
+ def alpha_unicode_split(decoded_sequence: str) -> List[str]:
253
+ """
254
+ Given a decoded text sequence, return a list of str. Unicode range / alphabet separation.
255
+ Ex. a text containing English/Latin with a bit a Hebrew will return two items in the resulting list;
256
+ One containing the latin letters and the other hebrew.
257
+ """
258
+ layers: Dict[str, str] = {}
259
+
260
+ for character in decoded_sequence:
261
+ if character.isalpha() is False:
262
+ continue
263
+
264
+ character_range: Optional[str] = unicode_range(character)
265
+
266
+ if character_range is None:
267
+ continue
268
+
269
+ layer_target_range: Optional[str] = None
270
+
271
+ for discovered_range in layers:
272
+ if (
273
+ is_suspiciously_successive_range(discovered_range, character_range)
274
+ is False
275
+ ):
276
+ layer_target_range = discovered_range
277
+ break
278
+
279
+ if layer_target_range is None:
280
+ layer_target_range = character_range
281
+
282
+ if layer_target_range not in layers:
283
+ layers[layer_target_range] = character.lower()
284
+ continue
285
+
286
+ layers[layer_target_range] += character.lower()
287
+
288
+ return list(layers.values())
289
+
290
+
291
+ def merge_coherence_ratios(results: List[CoherenceMatches]) -> CoherenceMatches:
292
+ """
293
+ This function merge results previously given by the function coherence_ratio.
294
+ The return type is the same as coherence_ratio.
295
+ """
296
+ per_language_ratios: Dict[str, List[float]] = {}
297
+ for result in results:
298
+ for sub_result in result:
299
+ language, ratio = sub_result
300
+ if language not in per_language_ratios:
301
+ per_language_ratios[language] = [ratio]
302
+ continue
303
+ per_language_ratios[language].append(ratio)
304
+
305
+ merge = [
306
+ (
307
+ language,
308
+ round(
309
+ sum(per_language_ratios[language]) / len(per_language_ratios[language]),
310
+ 4,
311
+ ),
312
+ )
313
+ for language in per_language_ratios
314
+ ]
315
+
316
+ return sorted(merge, key=lambda x: x[1], reverse=True)
317
+
318
+
319
+ def filter_alt_coherence_matches(results: CoherenceMatches) -> CoherenceMatches:
320
+ """
321
+ We shall NOT return "English—" in CoherenceMatches because it is an alternative
322
+ of "English". This function only keeps the best match and remove the em-dash in it.
323
+ """
324
+ index_results: Dict[str, List[float]] = dict()
325
+
326
+ for result in results:
327
+ language, ratio = result
328
+ no_em_name: str = language.replace("—", "")
329
+
330
+ if no_em_name not in index_results:
331
+ index_results[no_em_name] = []
332
+
333
+ index_results[no_em_name].append(ratio)
334
+
335
+ if any(len(index_results[e]) > 1 for e in index_results):
336
+ filtered_results: CoherenceMatches = []
337
+
338
+ for language in index_results:
339
+ filtered_results.append((language, max(index_results[language])))
340
+
341
+ return filtered_results
342
+
343
+ return results
344
+
345
+
346
+ @lru_cache(maxsize=2048)
347
+ def coherence_ratio(
348
+ decoded_sequence: str, threshold: float = 0.1, lg_inclusion: Optional[str] = None
349
+ ) -> CoherenceMatches:
350
+ """
351
+ Detect ANY language that can be identified in given sequence. The sequence will be analysed by layers.
352
+ A layer = Character extraction by alphabets/ranges.
353
+ """
354
+
355
+ results: List[Tuple[str, float]] = []
356
+ ignore_non_latin: bool = False
357
+
358
+ sufficient_match_count: int = 0
359
+
360
+ lg_inclusion_list = lg_inclusion.split(",") if lg_inclusion is not None else []
361
+ if "Latin Based" in lg_inclusion_list:
362
+ ignore_non_latin = True
363
+ lg_inclusion_list.remove("Latin Based")
364
+
365
+ for layer in alpha_unicode_split(decoded_sequence):
366
+ sequence_frequencies: TypeCounter[str] = Counter(layer)
367
+ most_common = sequence_frequencies.most_common()
368
+
369
+ character_count: int = sum(o for c, o in most_common)
370
+
371
+ if character_count <= TOO_SMALL_SEQUENCE:
372
+ continue
373
+
374
+ popular_character_ordered: List[str] = [c for c, o in most_common]
375
+
376
+ for language in lg_inclusion_list or alphabet_languages(
377
+ popular_character_ordered, ignore_non_latin
378
+ ):
379
+ ratio: float = characters_popularity_compare(
380
+ language, popular_character_ordered
381
+ )
382
+
383
+ if ratio < threshold:
384
+ continue
385
+ elif ratio >= 0.8:
386
+ sufficient_match_count += 1
387
+
388
+ results.append((language, round(ratio, 4)))
389
+
390
+ if sufficient_match_count >= 3:
391
+ break
392
+
393
+ return sorted(
394
+ filter_alt_coherence_matches(results), key=lambda x: x[1], reverse=True
395
+ )
vllm/lib/python3.10/site-packages/charset_normalizer/cli/__init__.py ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ from .__main__ import cli_detect, query_yes_no
2
+
3
+ __all__ = (
4
+ "cli_detect",
5
+ "query_yes_no",
6
+ )
vllm/lib/python3.10/site-packages/charset_normalizer/cli/__main__.py ADDED
@@ -0,0 +1,320 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import argparse
2
+ import sys
3
+ from json import dumps
4
+ from os.path import abspath, basename, dirname, join, realpath
5
+ from platform import python_version
6
+ from typing import List, Optional
7
+ from unicodedata import unidata_version
8
+
9
+ import charset_normalizer.md as md_module
10
+ from charset_normalizer import from_fp
11
+ from charset_normalizer.models import CliDetectionResult
12
+ from charset_normalizer.version import __version__
13
+
14
+
15
+ def query_yes_no(question: str, default: str = "yes") -> bool:
16
+ """Ask a yes/no question via input() and return their answer.
17
+
18
+ "question" is a string that is presented to the user.
19
+ "default" is the presumed answer if the user just hits <Enter>.
20
+ It must be "yes" (the default), "no" or None (meaning
21
+ an answer is required of the user).
22
+
23
+ The "answer" return value is True for "yes" or False for "no".
24
+
25
+ Credit goes to (c) https://stackoverflow.com/questions/3041986/apt-command-line-interface-like-yes-no-input
26
+ """
27
+ valid = {"yes": True, "y": True, "ye": True, "no": False, "n": False}
28
+ if default is None:
29
+ prompt = " [y/n] "
30
+ elif default == "yes":
31
+ prompt = " [Y/n] "
32
+ elif default == "no":
33
+ prompt = " [y/N] "
34
+ else:
35
+ raise ValueError("invalid default answer: '%s'" % default)
36
+
37
+ while True:
38
+ sys.stdout.write(question + prompt)
39
+ choice = input().lower()
40
+ if default is not None and choice == "":
41
+ return valid[default]
42
+ elif choice in valid:
43
+ return valid[choice]
44
+ else:
45
+ sys.stdout.write("Please respond with 'yes' or 'no' " "(or 'y' or 'n').\n")
46
+
47
+
48
+ def cli_detect(argv: Optional[List[str]] = None) -> int:
49
+ """
50
+ CLI assistant using ARGV and ArgumentParser
51
+ :param argv:
52
+ :return: 0 if everything is fine, anything else equal trouble
53
+ """
54
+ parser = argparse.ArgumentParser(
55
+ description="The Real First Universal Charset Detector. "
56
+ "Discover originating encoding used on text file. "
57
+ "Normalize text to unicode."
58
+ )
59
+
60
+ parser.add_argument(
61
+ "files", type=argparse.FileType("rb"), nargs="+", help="File(s) to be analysed"
62
+ )
63
+ parser.add_argument(
64
+ "-v",
65
+ "--verbose",
66
+ action="store_true",
67
+ default=False,
68
+ dest="verbose",
69
+ help="Display complementary information about file if any. "
70
+ "Stdout will contain logs about the detection process.",
71
+ )
72
+ parser.add_argument(
73
+ "-a",
74
+ "--with-alternative",
75
+ action="store_true",
76
+ default=False,
77
+ dest="alternatives",
78
+ help="Output complementary possibilities if any. Top-level JSON WILL be a list.",
79
+ )
80
+ parser.add_argument(
81
+ "-n",
82
+ "--normalize",
83
+ action="store_true",
84
+ default=False,
85
+ dest="normalize",
86
+ help="Permit to normalize input file. If not set, program does not write anything.",
87
+ )
88
+ parser.add_argument(
89
+ "-m",
90
+ "--minimal",
91
+ action="store_true",
92
+ default=False,
93
+ dest="minimal",
94
+ help="Only output the charset detected to STDOUT. Disabling JSON output.",
95
+ )
96
+ parser.add_argument(
97
+ "-r",
98
+ "--replace",
99
+ action="store_true",
100
+ default=False,
101
+ dest="replace",
102
+ help="Replace file when trying to normalize it instead of creating a new one.",
103
+ )
104
+ parser.add_argument(
105
+ "-f",
106
+ "--force",
107
+ action="store_true",
108
+ default=False,
109
+ dest="force",
110
+ help="Replace file without asking if you are sure, use this flag with caution.",
111
+ )
112
+ parser.add_argument(
113
+ "-i",
114
+ "--no-preemptive",
115
+ action="store_true",
116
+ default=False,
117
+ dest="no_preemptive",
118
+ help="Disable looking at a charset declaration to hint the detector.",
119
+ )
120
+ parser.add_argument(
121
+ "-t",
122
+ "--threshold",
123
+ action="store",
124
+ default=0.2,
125
+ type=float,
126
+ dest="threshold",
127
+ help="Define a custom maximum amount of chaos allowed in decoded content. 0. <= chaos <= 1.",
128
+ )
129
+ parser.add_argument(
130
+ "--version",
131
+ action="version",
132
+ version="Charset-Normalizer {} - Python {} - Unicode {} - SpeedUp {}".format(
133
+ __version__,
134
+ python_version(),
135
+ unidata_version,
136
+ "OFF" if md_module.__file__.lower().endswith(".py") else "ON",
137
+ ),
138
+ help="Show version information and exit.",
139
+ )
140
+
141
+ args = parser.parse_args(argv)
142
+
143
+ if args.replace is True and args.normalize is False:
144
+ if args.files:
145
+ for my_file in args.files:
146
+ my_file.close()
147
+ print("Use --replace in addition of --normalize only.", file=sys.stderr)
148
+ return 1
149
+
150
+ if args.force is True and args.replace is False:
151
+ if args.files:
152
+ for my_file in args.files:
153
+ my_file.close()
154
+ print("Use --force in addition of --replace only.", file=sys.stderr)
155
+ return 1
156
+
157
+ if args.threshold < 0.0 or args.threshold > 1.0:
158
+ if args.files:
159
+ for my_file in args.files:
160
+ my_file.close()
161
+ print("--threshold VALUE should be between 0. AND 1.", file=sys.stderr)
162
+ return 1
163
+
164
+ x_ = []
165
+
166
+ for my_file in args.files:
167
+ matches = from_fp(
168
+ my_file,
169
+ threshold=args.threshold,
170
+ explain=args.verbose,
171
+ preemptive_behaviour=args.no_preemptive is False,
172
+ )
173
+
174
+ best_guess = matches.best()
175
+
176
+ if best_guess is None:
177
+ print(
178
+ 'Unable to identify originating encoding for "{}". {}'.format(
179
+ my_file.name,
180
+ (
181
+ "Maybe try increasing maximum amount of chaos."
182
+ if args.threshold < 1.0
183
+ else ""
184
+ ),
185
+ ),
186
+ file=sys.stderr,
187
+ )
188
+ x_.append(
189
+ CliDetectionResult(
190
+ abspath(my_file.name),
191
+ None,
192
+ [],
193
+ [],
194
+ "Unknown",
195
+ [],
196
+ False,
197
+ 1.0,
198
+ 0.0,
199
+ None,
200
+ True,
201
+ )
202
+ )
203
+ else:
204
+ x_.append(
205
+ CliDetectionResult(
206
+ abspath(my_file.name),
207
+ best_guess.encoding,
208
+ best_guess.encoding_aliases,
209
+ [
210
+ cp
211
+ for cp in best_guess.could_be_from_charset
212
+ if cp != best_guess.encoding
213
+ ],
214
+ best_guess.language,
215
+ best_guess.alphabets,
216
+ best_guess.bom,
217
+ best_guess.percent_chaos,
218
+ best_guess.percent_coherence,
219
+ None,
220
+ True,
221
+ )
222
+ )
223
+
224
+ if len(matches) > 1 and args.alternatives:
225
+ for el in matches:
226
+ if el != best_guess:
227
+ x_.append(
228
+ CliDetectionResult(
229
+ abspath(my_file.name),
230
+ el.encoding,
231
+ el.encoding_aliases,
232
+ [
233
+ cp
234
+ for cp in el.could_be_from_charset
235
+ if cp != el.encoding
236
+ ],
237
+ el.language,
238
+ el.alphabets,
239
+ el.bom,
240
+ el.percent_chaos,
241
+ el.percent_coherence,
242
+ None,
243
+ False,
244
+ )
245
+ )
246
+
247
+ if args.normalize is True:
248
+ if best_guess.encoding.startswith("utf") is True:
249
+ print(
250
+ '"{}" file does not need to be normalized, as it already came from unicode.'.format(
251
+ my_file.name
252
+ ),
253
+ file=sys.stderr,
254
+ )
255
+ if my_file.closed is False:
256
+ my_file.close()
257
+ continue
258
+
259
+ dir_path = dirname(realpath(my_file.name))
260
+ file_name = basename(realpath(my_file.name))
261
+
262
+ o_: List[str] = file_name.split(".")
263
+
264
+ if args.replace is False:
265
+ o_.insert(-1, best_guess.encoding)
266
+ if my_file.closed is False:
267
+ my_file.close()
268
+ elif (
269
+ args.force is False
270
+ and query_yes_no(
271
+ 'Are you sure to normalize "{}" by replacing it ?'.format(
272
+ my_file.name
273
+ ),
274
+ "no",
275
+ )
276
+ is False
277
+ ):
278
+ if my_file.closed is False:
279
+ my_file.close()
280
+ continue
281
+
282
+ try:
283
+ x_[0].unicode_path = join(dir_path, ".".join(o_))
284
+
285
+ with open(x_[0].unicode_path, "wb") as fp:
286
+ fp.write(best_guess.output())
287
+ except IOError as e:
288
+ print(str(e), file=sys.stderr)
289
+ if my_file.closed is False:
290
+ my_file.close()
291
+ return 2
292
+
293
+ if my_file.closed is False:
294
+ my_file.close()
295
+
296
+ if args.minimal is False:
297
+ print(
298
+ dumps(
299
+ [el.__dict__ for el in x_] if len(x_) > 1 else x_[0].__dict__,
300
+ ensure_ascii=True,
301
+ indent=4,
302
+ )
303
+ )
304
+ else:
305
+ for my_file in args.files:
306
+ print(
307
+ ", ".join(
308
+ [
309
+ el.encoding or "undefined"
310
+ for el in x_
311
+ if el.path == abspath(my_file.name)
312
+ ]
313
+ )
314
+ )
315
+
316
+ return 0
317
+
318
+
319
+ if __name__ == "__main__":
320
+ cli_detect()
vllm/lib/python3.10/site-packages/charset_normalizer/cli/__pycache__/__init__.cpython-310.pyc ADDED
Binary file (253 Bytes). View file
 
vllm/lib/python3.10/site-packages/charset_normalizer/cli/__pycache__/__main__.cpython-310.pyc ADDED
Binary file (6.72 kB). View file
 
vllm/lib/python3.10/site-packages/charset_normalizer/legacy.py ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from __future__ import annotations
2
+
3
+ from typing import TYPE_CHECKING, Any, Optional
4
+ from warnings import warn
5
+
6
+ from .api import from_bytes
7
+ from .constant import CHARDET_CORRESPONDENCE
8
+
9
+ # TODO: remove this check when dropping Python 3.7 support
10
+ if TYPE_CHECKING:
11
+ from typing_extensions import TypedDict
12
+
13
+ class ResultDict(TypedDict):
14
+ encoding: Optional[str]
15
+ language: str
16
+ confidence: Optional[float]
17
+
18
+
19
+ def detect(
20
+ byte_str: bytes, should_rename_legacy: bool = False, **kwargs: Any
21
+ ) -> ResultDict:
22
+ """
23
+ chardet legacy method
24
+ Detect the encoding of the given byte string. It should be mostly backward-compatible.
25
+ Encoding name will match Chardet own writing whenever possible. (Not on encoding name unsupported by it)
26
+ This function is deprecated and should be used to migrate your project easily, consult the documentation for
27
+ further information. Not planned for removal.
28
+
29
+ :param byte_str: The byte sequence to examine.
30
+ :param should_rename_legacy: Should we rename legacy encodings
31
+ to their more modern equivalents?
32
+ """
33
+ if len(kwargs):
34
+ warn(
35
+ f"charset-normalizer disregard arguments '{','.join(list(kwargs.keys()))}' in legacy function detect()"
36
+ )
37
+
38
+ if not isinstance(byte_str, (bytearray, bytes)):
39
+ raise TypeError( # pragma: nocover
40
+ "Expected object of type bytes or bytearray, got: "
41
+ "{0}".format(type(byte_str))
42
+ )
43
+
44
+ if isinstance(byte_str, bytearray):
45
+ byte_str = bytes(byte_str)
46
+
47
+ r = from_bytes(byte_str).best()
48
+
49
+ encoding = r.encoding if r is not None else None
50
+ language = r.language if r is not None and r.language != "Unknown" else ""
51
+ confidence = 1.0 - r.chaos if r is not None else None
52
+
53
+ # Note: CharsetNormalizer does not return 'UTF-8-SIG' as the sig get stripped in the detection/normalization process
54
+ # but chardet does return 'utf-8-sig' and it is a valid codec name.
55
+ if r is not None and encoding == "utf_8" and r.bom:
56
+ encoding += "_sig"
57
+
58
+ if should_rename_legacy is False and encoding in CHARDET_CORRESPONDENCE:
59
+ encoding = CHARDET_CORRESPONDENCE[encoding]
60
+
61
+ return {
62
+ "encoding": encoding,
63
+ "language": language,
64
+ "confidence": confidence,
65
+ }
vllm/lib/python3.10/site-packages/charset_normalizer/md.cpython-310-x86_64-linux-gnu.so ADDED
Binary file (16.1 kB). View file
 
vllm/lib/python3.10/site-packages/charset_normalizer/md.py ADDED
@@ -0,0 +1,628 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from functools import lru_cache
2
+ from logging import getLogger
3
+ from typing import List, Optional
4
+
5
+ from .constant import (
6
+ COMMON_SAFE_ASCII_CHARACTERS,
7
+ TRACE,
8
+ UNICODE_SECONDARY_RANGE_KEYWORD,
9
+ )
10
+ from .utils import (
11
+ is_accentuated,
12
+ is_arabic,
13
+ is_arabic_isolated_form,
14
+ is_case_variable,
15
+ is_cjk,
16
+ is_emoticon,
17
+ is_hangul,
18
+ is_hiragana,
19
+ is_katakana,
20
+ is_latin,
21
+ is_punctuation,
22
+ is_separator,
23
+ is_symbol,
24
+ is_thai,
25
+ is_unprintable,
26
+ remove_accent,
27
+ unicode_range,
28
+ )
29
+
30
+
31
+ class MessDetectorPlugin:
32
+ """
33
+ Base abstract class used for mess detection plugins.
34
+ All detectors MUST extend and implement given methods.
35
+ """
36
+
37
+ def eligible(self, character: str) -> bool:
38
+ """
39
+ Determine if given character should be fed in.
40
+ """
41
+ raise NotImplementedError # pragma: nocover
42
+
43
+ def feed(self, character: str) -> None:
44
+ """
45
+ The main routine to be executed upon character.
46
+ Insert the logic in witch the text would be considered chaotic.
47
+ """
48
+ raise NotImplementedError # pragma: nocover
49
+
50
+ def reset(self) -> None: # pragma: no cover
51
+ """
52
+ Permit to reset the plugin to the initial state.
53
+ """
54
+ raise NotImplementedError
55
+
56
+ @property
57
+ def ratio(self) -> float:
58
+ """
59
+ Compute the chaos ratio based on what your feed() has seen.
60
+ Must NOT be lower than 0.; No restriction gt 0.
61
+ """
62
+ raise NotImplementedError # pragma: nocover
63
+
64
+
65
+ class TooManySymbolOrPunctuationPlugin(MessDetectorPlugin):
66
+ def __init__(self) -> None:
67
+ self._punctuation_count: int = 0
68
+ self._symbol_count: int = 0
69
+ self._character_count: int = 0
70
+
71
+ self._last_printable_char: Optional[str] = None
72
+ self._frenzy_symbol_in_word: bool = False
73
+
74
+ def eligible(self, character: str) -> bool:
75
+ return character.isprintable()
76
+
77
+ def feed(self, character: str) -> None:
78
+ self._character_count += 1
79
+
80
+ if (
81
+ character != self._last_printable_char
82
+ and character not in COMMON_SAFE_ASCII_CHARACTERS
83
+ ):
84
+ if is_punctuation(character):
85
+ self._punctuation_count += 1
86
+ elif (
87
+ character.isdigit() is False
88
+ and is_symbol(character)
89
+ and is_emoticon(character) is False
90
+ ):
91
+ self._symbol_count += 2
92
+
93
+ self._last_printable_char = character
94
+
95
+ def reset(self) -> None: # pragma: no cover
96
+ self._punctuation_count = 0
97
+ self._character_count = 0
98
+ self._symbol_count = 0
99
+
100
+ @property
101
+ def ratio(self) -> float:
102
+ if self._character_count == 0:
103
+ return 0.0
104
+
105
+ ratio_of_punctuation: float = (
106
+ self._punctuation_count + self._symbol_count
107
+ ) / self._character_count
108
+
109
+ return ratio_of_punctuation if ratio_of_punctuation >= 0.3 else 0.0
110
+
111
+
112
+ class TooManyAccentuatedPlugin(MessDetectorPlugin):
113
+ def __init__(self) -> None:
114
+ self._character_count: int = 0
115
+ self._accentuated_count: int = 0
116
+
117
+ def eligible(self, character: str) -> bool:
118
+ return character.isalpha()
119
+
120
+ def feed(self, character: str) -> None:
121
+ self._character_count += 1
122
+
123
+ if is_accentuated(character):
124
+ self._accentuated_count += 1
125
+
126
+ def reset(self) -> None: # pragma: no cover
127
+ self._character_count = 0
128
+ self._accentuated_count = 0
129
+
130
+ @property
131
+ def ratio(self) -> float:
132
+ if self._character_count < 8:
133
+ return 0.0
134
+
135
+ ratio_of_accentuation: float = self._accentuated_count / self._character_count
136
+ return ratio_of_accentuation if ratio_of_accentuation >= 0.35 else 0.0
137
+
138
+
139
+ class UnprintablePlugin(MessDetectorPlugin):
140
+ def __init__(self) -> None:
141
+ self._unprintable_count: int = 0
142
+ self._character_count: int = 0
143
+
144
+ def eligible(self, character: str) -> bool:
145
+ return True
146
+
147
+ def feed(self, character: str) -> None:
148
+ if is_unprintable(character):
149
+ self._unprintable_count += 1
150
+ self._character_count += 1
151
+
152
+ def reset(self) -> None: # pragma: no cover
153
+ self._unprintable_count = 0
154
+
155
+ @property
156
+ def ratio(self) -> float:
157
+ if self._character_count == 0:
158
+ return 0.0
159
+
160
+ return (self._unprintable_count * 8) / self._character_count
161
+
162
+
163
+ class SuspiciousDuplicateAccentPlugin(MessDetectorPlugin):
164
+ def __init__(self) -> None:
165
+ self._successive_count: int = 0
166
+ self._character_count: int = 0
167
+
168
+ self._last_latin_character: Optional[str] = None
169
+
170
+ def eligible(self, character: str) -> bool:
171
+ return character.isalpha() and is_latin(character)
172
+
173
+ def feed(self, character: str) -> None:
174
+ self._character_count += 1
175
+ if (
176
+ self._last_latin_character is not None
177
+ and is_accentuated(character)
178
+ and is_accentuated(self._last_latin_character)
179
+ ):
180
+ if character.isupper() and self._last_latin_character.isupper():
181
+ self._successive_count += 1
182
+ # Worse if its the same char duplicated with different accent.
183
+ if remove_accent(character) == remove_accent(self._last_latin_character):
184
+ self._successive_count += 1
185
+ self._last_latin_character = character
186
+
187
+ def reset(self) -> None: # pragma: no cover
188
+ self._successive_count = 0
189
+ self._character_count = 0
190
+ self._last_latin_character = None
191
+
192
+ @property
193
+ def ratio(self) -> float:
194
+ if self._character_count == 0:
195
+ return 0.0
196
+
197
+ return (self._successive_count * 2) / self._character_count
198
+
199
+
200
+ class SuspiciousRange(MessDetectorPlugin):
201
+ def __init__(self) -> None:
202
+ self._suspicious_successive_range_count: int = 0
203
+ self._character_count: int = 0
204
+ self._last_printable_seen: Optional[str] = None
205
+
206
+ def eligible(self, character: str) -> bool:
207
+ return character.isprintable()
208
+
209
+ def feed(self, character: str) -> None:
210
+ self._character_count += 1
211
+
212
+ if (
213
+ character.isspace()
214
+ or is_punctuation(character)
215
+ or character in COMMON_SAFE_ASCII_CHARACTERS
216
+ ):
217
+ self._last_printable_seen = None
218
+ return
219
+
220
+ if self._last_printable_seen is None:
221
+ self._last_printable_seen = character
222
+ return
223
+
224
+ unicode_range_a: Optional[str] = unicode_range(self._last_printable_seen)
225
+ unicode_range_b: Optional[str] = unicode_range(character)
226
+
227
+ if is_suspiciously_successive_range(unicode_range_a, unicode_range_b):
228
+ self._suspicious_successive_range_count += 1
229
+
230
+ self._last_printable_seen = character
231
+
232
+ def reset(self) -> None: # pragma: no cover
233
+ self._character_count = 0
234
+ self._suspicious_successive_range_count = 0
235
+ self._last_printable_seen = None
236
+
237
+ @property
238
+ def ratio(self) -> float:
239
+ if self._character_count <= 13:
240
+ return 0.0
241
+
242
+ ratio_of_suspicious_range_usage: float = (
243
+ self._suspicious_successive_range_count * 2
244
+ ) / self._character_count
245
+
246
+ return ratio_of_suspicious_range_usage
247
+
248
+
249
+ class SuperWeirdWordPlugin(MessDetectorPlugin):
250
+ def __init__(self) -> None:
251
+ self._word_count: int = 0
252
+ self._bad_word_count: int = 0
253
+ self._foreign_long_count: int = 0
254
+
255
+ self._is_current_word_bad: bool = False
256
+ self._foreign_long_watch: bool = False
257
+
258
+ self._character_count: int = 0
259
+ self._bad_character_count: int = 0
260
+
261
+ self._buffer: str = ""
262
+ self._buffer_accent_count: int = 0
263
+ self._buffer_glyph_count: int = 0
264
+
265
+ def eligible(self, character: str) -> bool:
266
+ return True
267
+
268
+ def feed(self, character: str) -> None:
269
+ if character.isalpha():
270
+ self._buffer += character
271
+ if is_accentuated(character):
272
+ self._buffer_accent_count += 1
273
+ if (
274
+ self._foreign_long_watch is False
275
+ and (is_latin(character) is False or is_accentuated(character))
276
+ and is_cjk(character) is False
277
+ and is_hangul(character) is False
278
+ and is_katakana(character) is False
279
+ and is_hiragana(character) is False
280
+ and is_thai(character) is False
281
+ ):
282
+ self._foreign_long_watch = True
283
+ if (
284
+ is_cjk(character)
285
+ or is_hangul(character)
286
+ or is_katakana(character)
287
+ or is_hiragana(character)
288
+ or is_thai(character)
289
+ ):
290
+ self._buffer_glyph_count += 1
291
+ return
292
+ if not self._buffer:
293
+ return
294
+ if (
295
+ character.isspace() or is_punctuation(character) or is_separator(character)
296
+ ) and self._buffer:
297
+ self._word_count += 1
298
+ buffer_length: int = len(self._buffer)
299
+
300
+ self._character_count += buffer_length
301
+
302
+ if buffer_length >= 4:
303
+ if self._buffer_accent_count / buffer_length >= 0.5:
304
+ self._is_current_word_bad = True
305
+ # Word/Buffer ending with an upper case accentuated letter are so rare,
306
+ # that we will consider them all as suspicious. Same weight as foreign_long suspicious.
307
+ elif (
308
+ is_accentuated(self._buffer[-1])
309
+ and self._buffer[-1].isupper()
310
+ and all(_.isupper() for _ in self._buffer) is False
311
+ ):
312
+ self._foreign_long_count += 1
313
+ self._is_current_word_bad = True
314
+ elif self._buffer_glyph_count == 1:
315
+ self._is_current_word_bad = True
316
+ self._foreign_long_count += 1
317
+ if buffer_length >= 24 and self._foreign_long_watch:
318
+ camel_case_dst = [
319
+ i
320
+ for c, i in zip(self._buffer, range(0, buffer_length))
321
+ if c.isupper()
322
+ ]
323
+ probable_camel_cased: bool = False
324
+
325
+ if camel_case_dst and (len(camel_case_dst) / buffer_length <= 0.3):
326
+ probable_camel_cased = True
327
+
328
+ if not probable_camel_cased:
329
+ self._foreign_long_count += 1
330
+ self._is_current_word_bad = True
331
+
332
+ if self._is_current_word_bad:
333
+ self._bad_word_count += 1
334
+ self._bad_character_count += len(self._buffer)
335
+ self._is_current_word_bad = False
336
+
337
+ self._foreign_long_watch = False
338
+ self._buffer = ""
339
+ self._buffer_accent_count = 0
340
+ self._buffer_glyph_count = 0
341
+ elif (
342
+ character not in {"<", ">", "-", "=", "~", "|", "_"}
343
+ and character.isdigit() is False
344
+ and is_symbol(character)
345
+ ):
346
+ self._is_current_word_bad = True
347
+ self._buffer += character
348
+
349
+ def reset(self) -> None: # pragma: no cover
350
+ self._buffer = ""
351
+ self._is_current_word_bad = False
352
+ self._foreign_long_watch = False
353
+ self._bad_word_count = 0
354
+ self._word_count = 0
355
+ self._character_count = 0
356
+ self._bad_character_count = 0
357
+ self._foreign_long_count = 0
358
+
359
+ @property
360
+ def ratio(self) -> float:
361
+ if self._word_count <= 10 and self._foreign_long_count == 0:
362
+ return 0.0
363
+
364
+ return self._bad_character_count / self._character_count
365
+
366
+
367
+ class CjkInvalidStopPlugin(MessDetectorPlugin):
368
+ """
369
+ GB(Chinese) based encoding often render the stop incorrectly when the content does not fit and
370
+ can be easily detected. Searching for the overuse of '丅' and '丄'.
371
+ """
372
+
373
+ def __init__(self) -> None:
374
+ self._wrong_stop_count: int = 0
375
+ self._cjk_character_count: int = 0
376
+
377
+ def eligible(self, character: str) -> bool:
378
+ return True
379
+
380
+ def feed(self, character: str) -> None:
381
+ if character in {"丅", "丄"}:
382
+ self._wrong_stop_count += 1
383
+ return
384
+ if is_cjk(character):
385
+ self._cjk_character_count += 1
386
+
387
+ def reset(self) -> None: # pragma: no cover
388
+ self._wrong_stop_count = 0
389
+ self._cjk_character_count = 0
390
+
391
+ @property
392
+ def ratio(self) -> float:
393
+ if self._cjk_character_count < 16:
394
+ return 0.0
395
+ return self._wrong_stop_count / self._cjk_character_count
396
+
397
+
398
+ class ArchaicUpperLowerPlugin(MessDetectorPlugin):
399
+ def __init__(self) -> None:
400
+ self._buf: bool = False
401
+
402
+ self._character_count_since_last_sep: int = 0
403
+
404
+ self._successive_upper_lower_count: int = 0
405
+ self._successive_upper_lower_count_final: int = 0
406
+
407
+ self._character_count: int = 0
408
+
409
+ self._last_alpha_seen: Optional[str] = None
410
+ self._current_ascii_only: bool = True
411
+
412
+ def eligible(self, character: str) -> bool:
413
+ return True
414
+
415
+ def feed(self, character: str) -> None:
416
+ is_concerned = character.isalpha() and is_case_variable(character)
417
+ chunk_sep = is_concerned is False
418
+
419
+ if chunk_sep and self._character_count_since_last_sep > 0:
420
+ if (
421
+ self._character_count_since_last_sep <= 64
422
+ and character.isdigit() is False
423
+ and self._current_ascii_only is False
424
+ ):
425
+ self._successive_upper_lower_count_final += (
426
+ self._successive_upper_lower_count
427
+ )
428
+
429
+ self._successive_upper_lower_count = 0
430
+ self._character_count_since_last_sep = 0
431
+ self._last_alpha_seen = None
432
+ self._buf = False
433
+ self._character_count += 1
434
+ self._current_ascii_only = True
435
+
436
+ return
437
+
438
+ if self._current_ascii_only is True and character.isascii() is False:
439
+ self._current_ascii_only = False
440
+
441
+ if self._last_alpha_seen is not None:
442
+ if (character.isupper() and self._last_alpha_seen.islower()) or (
443
+ character.islower() and self._last_alpha_seen.isupper()
444
+ ):
445
+ if self._buf is True:
446
+ self._successive_upper_lower_count += 2
447
+ self._buf = False
448
+ else:
449
+ self._buf = True
450
+ else:
451
+ self._buf = False
452
+
453
+ self._character_count += 1
454
+ self._character_count_since_last_sep += 1
455
+ self._last_alpha_seen = character
456
+
457
+ def reset(self) -> None: # pragma: no cover
458
+ self._character_count = 0
459
+ self._character_count_since_last_sep = 0
460
+ self._successive_upper_lower_count = 0
461
+ self._successive_upper_lower_count_final = 0
462
+ self._last_alpha_seen = None
463
+ self._buf = False
464
+ self._current_ascii_only = True
465
+
466
+ @property
467
+ def ratio(self) -> float:
468
+ if self._character_count == 0:
469
+ return 0.0
470
+
471
+ return self._successive_upper_lower_count_final / self._character_count
472
+
473
+
474
+ class ArabicIsolatedFormPlugin(MessDetectorPlugin):
475
+ def __init__(self) -> None:
476
+ self._character_count: int = 0
477
+ self._isolated_form_count: int = 0
478
+
479
+ def reset(self) -> None: # pragma: no cover
480
+ self._character_count = 0
481
+ self._isolated_form_count = 0
482
+
483
+ def eligible(self, character: str) -> bool:
484
+ return is_arabic(character)
485
+
486
+ def feed(self, character: str) -> None:
487
+ self._character_count += 1
488
+
489
+ if is_arabic_isolated_form(character):
490
+ self._isolated_form_count += 1
491
+
492
+ @property
493
+ def ratio(self) -> float:
494
+ if self._character_count < 8:
495
+ return 0.0
496
+
497
+ isolated_form_usage: float = self._isolated_form_count / self._character_count
498
+
499
+ return isolated_form_usage
500
+
501
+
502
+ @lru_cache(maxsize=1024)
503
+ def is_suspiciously_successive_range(
504
+ unicode_range_a: Optional[str], unicode_range_b: Optional[str]
505
+ ) -> bool:
506
+ """
507
+ Determine if two Unicode range seen next to each other can be considered as suspicious.
508
+ """
509
+ if unicode_range_a is None or unicode_range_b is None:
510
+ return True
511
+
512
+ if unicode_range_a == unicode_range_b:
513
+ return False
514
+
515
+ if "Latin" in unicode_range_a and "Latin" in unicode_range_b:
516
+ return False
517
+
518
+ if "Emoticons" in unicode_range_a or "Emoticons" in unicode_range_b:
519
+ return False
520
+
521
+ # Latin characters can be accompanied with a combining diacritical mark
522
+ # eg. Vietnamese.
523
+ if ("Latin" in unicode_range_a or "Latin" in unicode_range_b) and (
524
+ "Combining" in unicode_range_a or "Combining" in unicode_range_b
525
+ ):
526
+ return False
527
+
528
+ keywords_range_a, keywords_range_b = unicode_range_a.split(
529
+ " "
530
+ ), unicode_range_b.split(" ")
531
+
532
+ for el in keywords_range_a:
533
+ if el in UNICODE_SECONDARY_RANGE_KEYWORD:
534
+ continue
535
+ if el in keywords_range_b:
536
+ return False
537
+
538
+ # Japanese Exception
539
+ range_a_jp_chars, range_b_jp_chars = (
540
+ unicode_range_a
541
+ in (
542
+ "Hiragana",
543
+ "Katakana",
544
+ ),
545
+ unicode_range_b in ("Hiragana", "Katakana"),
546
+ )
547
+ if (range_a_jp_chars or range_b_jp_chars) and (
548
+ "CJK" in unicode_range_a or "CJK" in unicode_range_b
549
+ ):
550
+ return False
551
+ if range_a_jp_chars and range_b_jp_chars:
552
+ return False
553
+
554
+ if "Hangul" in unicode_range_a or "Hangul" in unicode_range_b:
555
+ if "CJK" in unicode_range_a or "CJK" in unicode_range_b:
556
+ return False
557
+ if unicode_range_a == "Basic Latin" or unicode_range_b == "Basic Latin":
558
+ return False
559
+
560
+ # Chinese/Japanese use dedicated range for punctuation and/or separators.
561
+ if ("CJK" in unicode_range_a or "CJK" in unicode_range_b) or (
562
+ unicode_range_a in ["Katakana", "Hiragana"]
563
+ and unicode_range_b in ["Katakana", "Hiragana"]
564
+ ):
565
+ if "Punctuation" in unicode_range_a or "Punctuation" in unicode_range_b:
566
+ return False
567
+ if "Forms" in unicode_range_a or "Forms" in unicode_range_b:
568
+ return False
569
+ if unicode_range_a == "Basic Latin" or unicode_range_b == "Basic Latin":
570
+ return False
571
+
572
+ return True
573
+
574
+
575
+ @lru_cache(maxsize=2048)
576
+ def mess_ratio(
577
+ decoded_sequence: str, maximum_threshold: float = 0.2, debug: bool = False
578
+ ) -> float:
579
+ """
580
+ Compute a mess ratio given a decoded bytes sequence. The maximum threshold does stop the computation earlier.
581
+ """
582
+
583
+ detectors: List[MessDetectorPlugin] = [
584
+ md_class() for md_class in MessDetectorPlugin.__subclasses__()
585
+ ]
586
+
587
+ length: int = len(decoded_sequence) + 1
588
+
589
+ mean_mess_ratio: float = 0.0
590
+
591
+ if length < 512:
592
+ intermediary_mean_mess_ratio_calc: int = 32
593
+ elif length <= 1024:
594
+ intermediary_mean_mess_ratio_calc = 64
595
+ else:
596
+ intermediary_mean_mess_ratio_calc = 128
597
+
598
+ for character, index in zip(decoded_sequence + "\n", range(length)):
599
+ for detector in detectors:
600
+ if detector.eligible(character):
601
+ detector.feed(character)
602
+
603
+ if (
604
+ index > 0 and index % intermediary_mean_mess_ratio_calc == 0
605
+ ) or index == length - 1:
606
+ mean_mess_ratio = sum(dt.ratio for dt in detectors)
607
+
608
+ if mean_mess_ratio >= maximum_threshold:
609
+ break
610
+
611
+ if debug:
612
+ logger = getLogger("charset_normalizer")
613
+
614
+ logger.log(
615
+ TRACE,
616
+ "Mess-detector extended-analysis start. "
617
+ f"intermediary_mean_mess_ratio_calc={intermediary_mean_mess_ratio_calc} mean_mess_ratio={mean_mess_ratio} "
618
+ f"maximum_threshold={maximum_threshold}",
619
+ )
620
+
621
+ if len(decoded_sequence) > 16:
622
+ logger.log(TRACE, f"Starting with: {decoded_sequence[:16]}")
623
+ logger.log(TRACE, f"Ending with: {decoded_sequence[-16::]}")
624
+
625
+ for dt in detectors: # pragma: nocover
626
+ logger.log(TRACE, f"{dt.__class__}: {dt.ratio}")
627
+
628
+ return round(mean_mess_ratio, 3)
vllm/lib/python3.10/site-packages/charset_normalizer/models.py ADDED
@@ -0,0 +1,359 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from encodings.aliases import aliases
2
+ from hashlib import sha256
3
+ from json import dumps
4
+ from re import sub
5
+ from typing import Any, Dict, Iterator, List, Optional, Tuple, Union
6
+
7
+ from .constant import RE_POSSIBLE_ENCODING_INDICATION, TOO_BIG_SEQUENCE
8
+ from .utils import iana_name, is_multi_byte_encoding, unicode_range
9
+
10
+
11
+ class CharsetMatch:
12
+ def __init__(
13
+ self,
14
+ payload: bytes,
15
+ guessed_encoding: str,
16
+ mean_mess_ratio: float,
17
+ has_sig_or_bom: bool,
18
+ languages: "CoherenceMatches",
19
+ decoded_payload: Optional[str] = None,
20
+ preemptive_declaration: Optional[str] = None,
21
+ ):
22
+ self._payload: bytes = payload
23
+
24
+ self._encoding: str = guessed_encoding
25
+ self._mean_mess_ratio: float = mean_mess_ratio
26
+ self._languages: CoherenceMatches = languages
27
+ self._has_sig_or_bom: bool = has_sig_or_bom
28
+ self._unicode_ranges: Optional[List[str]] = None
29
+
30
+ self._leaves: List[CharsetMatch] = []
31
+ self._mean_coherence_ratio: float = 0.0
32
+
33
+ self._output_payload: Optional[bytes] = None
34
+ self._output_encoding: Optional[str] = None
35
+
36
+ self._string: Optional[str] = decoded_payload
37
+
38
+ self._preemptive_declaration: Optional[str] = preemptive_declaration
39
+
40
+ def __eq__(self, other: object) -> bool:
41
+ if not isinstance(other, CharsetMatch):
42
+ if isinstance(other, str):
43
+ return iana_name(other) == self.encoding
44
+ return False
45
+ return self.encoding == other.encoding and self.fingerprint == other.fingerprint
46
+
47
+ def __lt__(self, other: object) -> bool:
48
+ """
49
+ Implemented to make sorted available upon CharsetMatches items.
50
+ """
51
+ if not isinstance(other, CharsetMatch):
52
+ raise ValueError
53
+
54
+ chaos_difference: float = abs(self.chaos - other.chaos)
55
+ coherence_difference: float = abs(self.coherence - other.coherence)
56
+
57
+ # Below 1% difference --> Use Coherence
58
+ if chaos_difference < 0.01 and coherence_difference > 0.02:
59
+ return self.coherence > other.coherence
60
+ elif chaos_difference < 0.01 and coherence_difference <= 0.02:
61
+ # When having a difficult decision, use the result that decoded as many multi-byte as possible.
62
+ # preserve RAM usage!
63
+ if len(self._payload) >= TOO_BIG_SEQUENCE:
64
+ return self.chaos < other.chaos
65
+ return self.multi_byte_usage > other.multi_byte_usage
66
+
67
+ return self.chaos < other.chaos
68
+
69
+ @property
70
+ def multi_byte_usage(self) -> float:
71
+ return 1.0 - (len(str(self)) / len(self.raw))
72
+
73
+ def __str__(self) -> str:
74
+ # Lazy Str Loading
75
+ if self._string is None:
76
+ self._string = str(self._payload, self._encoding, "strict")
77
+ return self._string
78
+
79
+ def __repr__(self) -> str:
80
+ return "<CharsetMatch '{}' bytes({})>".format(self.encoding, self.fingerprint)
81
+
82
+ def add_submatch(self, other: "CharsetMatch") -> None:
83
+ if not isinstance(other, CharsetMatch) or other == self:
84
+ raise ValueError(
85
+ "Unable to add instance <{}> as a submatch of a CharsetMatch".format(
86
+ other.__class__
87
+ )
88
+ )
89
+
90
+ other._string = None # Unload RAM usage; dirty trick.
91
+ self._leaves.append(other)
92
+
93
+ @property
94
+ def encoding(self) -> str:
95
+ return self._encoding
96
+
97
+ @property
98
+ def encoding_aliases(self) -> List[str]:
99
+ """
100
+ Encoding name are known by many name, using this could help when searching for IBM855 when it's listed as CP855.
101
+ """
102
+ also_known_as: List[str] = []
103
+ for u, p in aliases.items():
104
+ if self.encoding == u:
105
+ also_known_as.append(p)
106
+ elif self.encoding == p:
107
+ also_known_as.append(u)
108
+ return also_known_as
109
+
110
+ @property
111
+ def bom(self) -> bool:
112
+ return self._has_sig_or_bom
113
+
114
+ @property
115
+ def byte_order_mark(self) -> bool:
116
+ return self._has_sig_or_bom
117
+
118
+ @property
119
+ def languages(self) -> List[str]:
120
+ """
121
+ Return the complete list of possible languages found in decoded sequence.
122
+ Usually not really useful. Returned list may be empty even if 'language' property return something != 'Unknown'.
123
+ """
124
+ return [e[0] for e in self._languages]
125
+
126
+ @property
127
+ def language(self) -> str:
128
+ """
129
+ Most probable language found in decoded sequence. If none were detected or inferred, the property will return
130
+ "Unknown".
131
+ """
132
+ if not self._languages:
133
+ # Trying to infer the language based on the given encoding
134
+ # Its either English or we should not pronounce ourselves in certain cases.
135
+ if "ascii" in self.could_be_from_charset:
136
+ return "English"
137
+
138
+ # doing it there to avoid circular import
139
+ from charset_normalizer.cd import encoding_languages, mb_encoding_languages
140
+
141
+ languages = (
142
+ mb_encoding_languages(self.encoding)
143
+ if is_multi_byte_encoding(self.encoding)
144
+ else encoding_languages(self.encoding)
145
+ )
146
+
147
+ if len(languages) == 0 or "Latin Based" in languages:
148
+ return "Unknown"
149
+
150
+ return languages[0]
151
+
152
+ return self._languages[0][0]
153
+
154
+ @property
155
+ def chaos(self) -> float:
156
+ return self._mean_mess_ratio
157
+
158
+ @property
159
+ def coherence(self) -> float:
160
+ if not self._languages:
161
+ return 0.0
162
+ return self._languages[0][1]
163
+
164
+ @property
165
+ def percent_chaos(self) -> float:
166
+ return round(self.chaos * 100, ndigits=3)
167
+
168
+ @property
169
+ def percent_coherence(self) -> float:
170
+ return round(self.coherence * 100, ndigits=3)
171
+
172
+ @property
173
+ def raw(self) -> bytes:
174
+ """
175
+ Original untouched bytes.
176
+ """
177
+ return self._payload
178
+
179
+ @property
180
+ def submatch(self) -> List["CharsetMatch"]:
181
+ return self._leaves
182
+
183
+ @property
184
+ def has_submatch(self) -> bool:
185
+ return len(self._leaves) > 0
186
+
187
+ @property
188
+ def alphabets(self) -> List[str]:
189
+ if self._unicode_ranges is not None:
190
+ return self._unicode_ranges
191
+ # list detected ranges
192
+ detected_ranges: List[Optional[str]] = [
193
+ unicode_range(char) for char in str(self)
194
+ ]
195
+ # filter and sort
196
+ self._unicode_ranges = sorted(list({r for r in detected_ranges if r}))
197
+ return self._unicode_ranges
198
+
199
+ @property
200
+ def could_be_from_charset(self) -> List[str]:
201
+ """
202
+ The complete list of encoding that output the exact SAME str result and therefore could be the originating
203
+ encoding.
204
+ This list does include the encoding available in property 'encoding'.
205
+ """
206
+ return [self._encoding] + [m.encoding for m in self._leaves]
207
+
208
+ def output(self, encoding: str = "utf_8") -> bytes:
209
+ """
210
+ Method to get re-encoded bytes payload using given target encoding. Default to UTF-8.
211
+ Any errors will be simply ignored by the encoder NOT replaced.
212
+ """
213
+ if self._output_encoding is None or self._output_encoding != encoding:
214
+ self._output_encoding = encoding
215
+ decoded_string = str(self)
216
+ if (
217
+ self._preemptive_declaration is not None
218
+ and self._preemptive_declaration.lower()
219
+ not in ["utf-8", "utf8", "utf_8"]
220
+ ):
221
+ patched_header = sub(
222
+ RE_POSSIBLE_ENCODING_INDICATION,
223
+ lambda m: m.string[m.span()[0] : m.span()[1]].replace(
224
+ m.groups()[0], iana_name(self._output_encoding) # type: ignore[arg-type]
225
+ ),
226
+ decoded_string[:8192],
227
+ 1,
228
+ )
229
+
230
+ decoded_string = patched_header + decoded_string[8192:]
231
+
232
+ self._output_payload = decoded_string.encode(encoding, "replace")
233
+
234
+ return self._output_payload # type: ignore
235
+
236
+ @property
237
+ def fingerprint(self) -> str:
238
+ """
239
+ Retrieve the unique SHA256 computed using the transformed (re-encoded) payload. Not the original one.
240
+ """
241
+ return sha256(self.output()).hexdigest()
242
+
243
+
244
+ class CharsetMatches:
245
+ """
246
+ Container with every CharsetMatch items ordered by default from most probable to the less one.
247
+ Act like a list(iterable) but does not implements all related methods.
248
+ """
249
+
250
+ def __init__(self, results: Optional[List[CharsetMatch]] = None):
251
+ self._results: List[CharsetMatch] = sorted(results) if results else []
252
+
253
+ def __iter__(self) -> Iterator[CharsetMatch]:
254
+ yield from self._results
255
+
256
+ def __getitem__(self, item: Union[int, str]) -> CharsetMatch:
257
+ """
258
+ Retrieve a single item either by its position or encoding name (alias may be used here).
259
+ Raise KeyError upon invalid index or encoding not present in results.
260
+ """
261
+ if isinstance(item, int):
262
+ return self._results[item]
263
+ if isinstance(item, str):
264
+ item = iana_name(item, False)
265
+ for result in self._results:
266
+ if item in result.could_be_from_charset:
267
+ return result
268
+ raise KeyError
269
+
270
+ def __len__(self) -> int:
271
+ return len(self._results)
272
+
273
+ def __bool__(self) -> bool:
274
+ return len(self._results) > 0
275
+
276
+ def append(self, item: CharsetMatch) -> None:
277
+ """
278
+ Insert a single match. Will be inserted accordingly to preserve sort.
279
+ Can be inserted as a submatch.
280
+ """
281
+ if not isinstance(item, CharsetMatch):
282
+ raise ValueError(
283
+ "Cannot append instance '{}' to CharsetMatches".format(
284
+ str(item.__class__)
285
+ )
286
+ )
287
+ # We should disable the submatch factoring when the input file is too heavy (conserve RAM usage)
288
+ if len(item.raw) < TOO_BIG_SEQUENCE:
289
+ for match in self._results:
290
+ if match.fingerprint == item.fingerprint and match.chaos == item.chaos:
291
+ match.add_submatch(item)
292
+ return
293
+ self._results.append(item)
294
+ self._results = sorted(self._results)
295
+
296
+ def best(self) -> Optional["CharsetMatch"]:
297
+ """
298
+ Simply return the first match. Strict equivalent to matches[0].
299
+ """
300
+ if not self._results:
301
+ return None
302
+ return self._results[0]
303
+
304
+ def first(self) -> Optional["CharsetMatch"]:
305
+ """
306
+ Redundant method, call the method best(). Kept for BC reasons.
307
+ """
308
+ return self.best()
309
+
310
+
311
+ CoherenceMatch = Tuple[str, float]
312
+ CoherenceMatches = List[CoherenceMatch]
313
+
314
+
315
+ class CliDetectionResult:
316
+ def __init__(
317
+ self,
318
+ path: str,
319
+ encoding: Optional[str],
320
+ encoding_aliases: List[str],
321
+ alternative_encodings: List[str],
322
+ language: str,
323
+ alphabets: List[str],
324
+ has_sig_or_bom: bool,
325
+ chaos: float,
326
+ coherence: float,
327
+ unicode_path: Optional[str],
328
+ is_preferred: bool,
329
+ ):
330
+ self.path: str = path
331
+ self.unicode_path: Optional[str] = unicode_path
332
+ self.encoding: Optional[str] = encoding
333
+ self.encoding_aliases: List[str] = encoding_aliases
334
+ self.alternative_encodings: List[str] = alternative_encodings
335
+ self.language: str = language
336
+ self.alphabets: List[str] = alphabets
337
+ self.has_sig_or_bom: bool = has_sig_or_bom
338
+ self.chaos: float = chaos
339
+ self.coherence: float = coherence
340
+ self.is_preferred: bool = is_preferred
341
+
342
+ @property
343
+ def __dict__(self) -> Dict[str, Any]: # type: ignore
344
+ return {
345
+ "path": self.path,
346
+ "encoding": self.encoding,
347
+ "encoding_aliases": self.encoding_aliases,
348
+ "alternative_encodings": self.alternative_encodings,
349
+ "language": self.language,
350
+ "alphabets": self.alphabets,
351
+ "has_sig_or_bom": self.has_sig_or_bom,
352
+ "chaos": self.chaos,
353
+ "coherence": self.coherence,
354
+ "unicode_path": self.unicode_path,
355
+ "is_preferred": self.is_preferred,
356
+ }
357
+
358
+ def to_json(self) -> str:
359
+ return dumps(self.__dict__, ensure_ascii=True, indent=4)
vllm/lib/python3.10/site-packages/charset_normalizer/py.typed ADDED
File without changes
vllm/lib/python3.10/site-packages/charset_normalizer/utils.py ADDED
@@ -0,0 +1,421 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import importlib
2
+ import logging
3
+ import unicodedata
4
+ from codecs import IncrementalDecoder
5
+ from encodings.aliases import aliases
6
+ from functools import lru_cache
7
+ from re import findall
8
+ from typing import Generator, List, Optional, Set, Tuple, Union
9
+
10
+ from _multibytecodec import MultibyteIncrementalDecoder
11
+
12
+ from .constant import (
13
+ ENCODING_MARKS,
14
+ IANA_SUPPORTED_SIMILAR,
15
+ RE_POSSIBLE_ENCODING_INDICATION,
16
+ UNICODE_RANGES_COMBINED,
17
+ UNICODE_SECONDARY_RANGE_KEYWORD,
18
+ UTF8_MAXIMAL_ALLOCATION,
19
+ )
20
+
21
+
22
+ @lru_cache(maxsize=UTF8_MAXIMAL_ALLOCATION)
23
+ def is_accentuated(character: str) -> bool:
24
+ try:
25
+ description: str = unicodedata.name(character)
26
+ except ValueError:
27
+ return False
28
+ return (
29
+ "WITH GRAVE" in description
30
+ or "WITH ACUTE" in description
31
+ or "WITH CEDILLA" in description
32
+ or "WITH DIAERESIS" in description
33
+ or "WITH CIRCUMFLEX" in description
34
+ or "WITH TILDE" in description
35
+ or "WITH MACRON" in description
36
+ or "WITH RING ABOVE" in description
37
+ )
38
+
39
+
40
+ @lru_cache(maxsize=UTF8_MAXIMAL_ALLOCATION)
41
+ def remove_accent(character: str) -> str:
42
+ decomposed: str = unicodedata.decomposition(character)
43
+ if not decomposed:
44
+ return character
45
+
46
+ codes: List[str] = decomposed.split(" ")
47
+
48
+ return chr(int(codes[0], 16))
49
+
50
+
51
+ @lru_cache(maxsize=UTF8_MAXIMAL_ALLOCATION)
52
+ def unicode_range(character: str) -> Optional[str]:
53
+ """
54
+ Retrieve the Unicode range official name from a single character.
55
+ """
56
+ character_ord: int = ord(character)
57
+
58
+ for range_name, ord_range in UNICODE_RANGES_COMBINED.items():
59
+ if character_ord in ord_range:
60
+ return range_name
61
+
62
+ return None
63
+
64
+
65
+ @lru_cache(maxsize=UTF8_MAXIMAL_ALLOCATION)
66
+ def is_latin(character: str) -> bool:
67
+ try:
68
+ description: str = unicodedata.name(character)
69
+ except ValueError:
70
+ return False
71
+ return "LATIN" in description
72
+
73
+
74
+ @lru_cache(maxsize=UTF8_MAXIMAL_ALLOCATION)
75
+ def is_punctuation(character: str) -> bool:
76
+ character_category: str = unicodedata.category(character)
77
+
78
+ if "P" in character_category:
79
+ return True
80
+
81
+ character_range: Optional[str] = unicode_range(character)
82
+
83
+ if character_range is None:
84
+ return False
85
+
86
+ return "Punctuation" in character_range
87
+
88
+
89
+ @lru_cache(maxsize=UTF8_MAXIMAL_ALLOCATION)
90
+ def is_symbol(character: str) -> bool:
91
+ character_category: str = unicodedata.category(character)
92
+
93
+ if "S" in character_category or "N" in character_category:
94
+ return True
95
+
96
+ character_range: Optional[str] = unicode_range(character)
97
+
98
+ if character_range is None:
99
+ return False
100
+
101
+ return "Forms" in character_range and character_category != "Lo"
102
+
103
+
104
+ @lru_cache(maxsize=UTF8_MAXIMAL_ALLOCATION)
105
+ def is_emoticon(character: str) -> bool:
106
+ character_range: Optional[str] = unicode_range(character)
107
+
108
+ if character_range is None:
109
+ return False
110
+
111
+ return "Emoticons" in character_range or "Pictographs" in character_range
112
+
113
+
114
+ @lru_cache(maxsize=UTF8_MAXIMAL_ALLOCATION)
115
+ def is_separator(character: str) -> bool:
116
+ if character.isspace() or character in {"|", "+", "<", ">"}:
117
+ return True
118
+
119
+ character_category: str = unicodedata.category(character)
120
+
121
+ return "Z" in character_category or character_category in {"Po", "Pd", "Pc"}
122
+
123
+
124
+ @lru_cache(maxsize=UTF8_MAXIMAL_ALLOCATION)
125
+ def is_case_variable(character: str) -> bool:
126
+ return character.islower() != character.isupper()
127
+
128
+
129
+ @lru_cache(maxsize=UTF8_MAXIMAL_ALLOCATION)
130
+ def is_cjk(character: str) -> bool:
131
+ try:
132
+ character_name = unicodedata.name(character)
133
+ except ValueError:
134
+ return False
135
+
136
+ return "CJK" in character_name
137
+
138
+
139
+ @lru_cache(maxsize=UTF8_MAXIMAL_ALLOCATION)
140
+ def is_hiragana(character: str) -> bool:
141
+ try:
142
+ character_name = unicodedata.name(character)
143
+ except ValueError:
144
+ return False
145
+
146
+ return "HIRAGANA" in character_name
147
+
148
+
149
+ @lru_cache(maxsize=UTF8_MAXIMAL_ALLOCATION)
150
+ def is_katakana(character: str) -> bool:
151
+ try:
152
+ character_name = unicodedata.name(character)
153
+ except ValueError:
154
+ return False
155
+
156
+ return "KATAKANA" in character_name
157
+
158
+
159
+ @lru_cache(maxsize=UTF8_MAXIMAL_ALLOCATION)
160
+ def is_hangul(character: str) -> bool:
161
+ try:
162
+ character_name = unicodedata.name(character)
163
+ except ValueError:
164
+ return False
165
+
166
+ return "HANGUL" in character_name
167
+
168
+
169
+ @lru_cache(maxsize=UTF8_MAXIMAL_ALLOCATION)
170
+ def is_thai(character: str) -> bool:
171
+ try:
172
+ character_name = unicodedata.name(character)
173
+ except ValueError:
174
+ return False
175
+
176
+ return "THAI" in character_name
177
+
178
+
179
+ @lru_cache(maxsize=UTF8_MAXIMAL_ALLOCATION)
180
+ def is_arabic(character: str) -> bool:
181
+ try:
182
+ character_name = unicodedata.name(character)
183
+ except ValueError:
184
+ return False
185
+
186
+ return "ARABIC" in character_name
187
+
188
+
189
+ @lru_cache(maxsize=UTF8_MAXIMAL_ALLOCATION)
190
+ def is_arabic_isolated_form(character: str) -> bool:
191
+ try:
192
+ character_name = unicodedata.name(character)
193
+ except ValueError:
194
+ return False
195
+
196
+ return "ARABIC" in character_name and "ISOLATED FORM" in character_name
197
+
198
+
199
+ @lru_cache(maxsize=len(UNICODE_RANGES_COMBINED))
200
+ def is_unicode_range_secondary(range_name: str) -> bool:
201
+ return any(keyword in range_name for keyword in UNICODE_SECONDARY_RANGE_KEYWORD)
202
+
203
+
204
+ @lru_cache(maxsize=UTF8_MAXIMAL_ALLOCATION)
205
+ def is_unprintable(character: str) -> bool:
206
+ return (
207
+ character.isspace() is False # includes \n \t \r \v
208
+ and character.isprintable() is False
209
+ and character != "\x1A" # Why? Its the ASCII substitute character.
210
+ and character != "\ufeff" # bug discovered in Python,
211
+ # Zero Width No-Break Space located in Arabic Presentation Forms-B, Unicode 1.1 not acknowledged as space.
212
+ )
213
+
214
+
215
+ def any_specified_encoding(sequence: bytes, search_zone: int = 8192) -> Optional[str]:
216
+ """
217
+ Extract using ASCII-only decoder any specified encoding in the first n-bytes.
218
+ """
219
+ if not isinstance(sequence, bytes):
220
+ raise TypeError
221
+
222
+ seq_len: int = len(sequence)
223
+
224
+ results: List[str] = findall(
225
+ RE_POSSIBLE_ENCODING_INDICATION,
226
+ sequence[: min(seq_len, search_zone)].decode("ascii", errors="ignore"),
227
+ )
228
+
229
+ if len(results) == 0:
230
+ return None
231
+
232
+ for specified_encoding in results:
233
+ specified_encoding = specified_encoding.lower().replace("-", "_")
234
+
235
+ encoding_alias: str
236
+ encoding_iana: str
237
+
238
+ for encoding_alias, encoding_iana in aliases.items():
239
+ if encoding_alias == specified_encoding:
240
+ return encoding_iana
241
+ if encoding_iana == specified_encoding:
242
+ return encoding_iana
243
+
244
+ return None
245
+
246
+
247
+ @lru_cache(maxsize=128)
248
+ def is_multi_byte_encoding(name: str) -> bool:
249
+ """
250
+ Verify is a specific encoding is a multi byte one based on it IANA name
251
+ """
252
+ return name in {
253
+ "utf_8",
254
+ "utf_8_sig",
255
+ "utf_16",
256
+ "utf_16_be",
257
+ "utf_16_le",
258
+ "utf_32",
259
+ "utf_32_le",
260
+ "utf_32_be",
261
+ "utf_7",
262
+ } or issubclass(
263
+ importlib.import_module("encodings.{}".format(name)).IncrementalDecoder,
264
+ MultibyteIncrementalDecoder,
265
+ )
266
+
267
+
268
+ def identify_sig_or_bom(sequence: bytes) -> Tuple[Optional[str], bytes]:
269
+ """
270
+ Identify and extract SIG/BOM in given sequence.
271
+ """
272
+
273
+ for iana_encoding in ENCODING_MARKS:
274
+ marks: Union[bytes, List[bytes]] = ENCODING_MARKS[iana_encoding]
275
+
276
+ if isinstance(marks, bytes):
277
+ marks = [marks]
278
+
279
+ for mark in marks:
280
+ if sequence.startswith(mark):
281
+ return iana_encoding, mark
282
+
283
+ return None, b""
284
+
285
+
286
+ def should_strip_sig_or_bom(iana_encoding: str) -> bool:
287
+ return iana_encoding not in {"utf_16", "utf_32"}
288
+
289
+
290
+ def iana_name(cp_name: str, strict: bool = True) -> str:
291
+ cp_name = cp_name.lower().replace("-", "_")
292
+
293
+ encoding_alias: str
294
+ encoding_iana: str
295
+
296
+ for encoding_alias, encoding_iana in aliases.items():
297
+ if cp_name in [encoding_alias, encoding_iana]:
298
+ return encoding_iana
299
+
300
+ if strict:
301
+ raise ValueError("Unable to retrieve IANA for '{}'".format(cp_name))
302
+
303
+ return cp_name
304
+
305
+
306
+ def range_scan(decoded_sequence: str) -> List[str]:
307
+ ranges: Set[str] = set()
308
+
309
+ for character in decoded_sequence:
310
+ character_range: Optional[str] = unicode_range(character)
311
+
312
+ if character_range is None:
313
+ continue
314
+
315
+ ranges.add(character_range)
316
+
317
+ return list(ranges)
318
+
319
+
320
+ def cp_similarity(iana_name_a: str, iana_name_b: str) -> float:
321
+ if is_multi_byte_encoding(iana_name_a) or is_multi_byte_encoding(iana_name_b):
322
+ return 0.0
323
+
324
+ decoder_a = importlib.import_module(
325
+ "encodings.{}".format(iana_name_a)
326
+ ).IncrementalDecoder
327
+ decoder_b = importlib.import_module(
328
+ "encodings.{}".format(iana_name_b)
329
+ ).IncrementalDecoder
330
+
331
+ id_a: IncrementalDecoder = decoder_a(errors="ignore")
332
+ id_b: IncrementalDecoder = decoder_b(errors="ignore")
333
+
334
+ character_match_count: int = 0
335
+
336
+ for i in range(255):
337
+ to_be_decoded: bytes = bytes([i])
338
+ if id_a.decode(to_be_decoded) == id_b.decode(to_be_decoded):
339
+ character_match_count += 1
340
+
341
+ return character_match_count / 254
342
+
343
+
344
+ def is_cp_similar(iana_name_a: str, iana_name_b: str) -> bool:
345
+ """
346
+ Determine if two code page are at least 80% similar. IANA_SUPPORTED_SIMILAR dict was generated using
347
+ the function cp_similarity.
348
+ """
349
+ return (
350
+ iana_name_a in IANA_SUPPORTED_SIMILAR
351
+ and iana_name_b in IANA_SUPPORTED_SIMILAR[iana_name_a]
352
+ )
353
+
354
+
355
+ def set_logging_handler(
356
+ name: str = "charset_normalizer",
357
+ level: int = logging.INFO,
358
+ format_string: str = "%(asctime)s | %(levelname)s | %(message)s",
359
+ ) -> None:
360
+ logger = logging.getLogger(name)
361
+ logger.setLevel(level)
362
+
363
+ handler = logging.StreamHandler()
364
+ handler.setFormatter(logging.Formatter(format_string))
365
+ logger.addHandler(handler)
366
+
367
+
368
+ def cut_sequence_chunks(
369
+ sequences: bytes,
370
+ encoding_iana: str,
371
+ offsets: range,
372
+ chunk_size: int,
373
+ bom_or_sig_available: bool,
374
+ strip_sig_or_bom: bool,
375
+ sig_payload: bytes,
376
+ is_multi_byte_decoder: bool,
377
+ decoded_payload: Optional[str] = None,
378
+ ) -> Generator[str, None, None]:
379
+ if decoded_payload and is_multi_byte_decoder is False:
380
+ for i in offsets:
381
+ chunk = decoded_payload[i : i + chunk_size]
382
+ if not chunk:
383
+ break
384
+ yield chunk
385
+ else:
386
+ for i in offsets:
387
+ chunk_end = i + chunk_size
388
+ if chunk_end > len(sequences) + 8:
389
+ continue
390
+
391
+ cut_sequence = sequences[i : i + chunk_size]
392
+
393
+ if bom_or_sig_available and strip_sig_or_bom is False:
394
+ cut_sequence = sig_payload + cut_sequence
395
+
396
+ chunk = cut_sequence.decode(
397
+ encoding_iana,
398
+ errors="ignore" if is_multi_byte_decoder else "strict",
399
+ )
400
+
401
+ # multi-byte bad cutting detector and adjustment
402
+ # not the cleanest way to perform that fix but clever enough for now.
403
+ if is_multi_byte_decoder and i > 0:
404
+ chunk_partial_size_chk: int = min(chunk_size, 16)
405
+
406
+ if (
407
+ decoded_payload
408
+ and chunk[:chunk_partial_size_chk] not in decoded_payload
409
+ ):
410
+ for j in range(i, i - 4, -1):
411
+ cut_sequence = sequences[j:chunk_end]
412
+
413
+ if bom_or_sig_available and strip_sig_or_bom is False:
414
+ cut_sequence = sig_payload + cut_sequence
415
+
416
+ chunk = cut_sequence.decode(encoding_iana, errors="ignore")
417
+
418
+ if chunk[:chunk_partial_size_chk] in decoded_payload:
419
+ break
420
+
421
+ yield chunk
vllm/lib/python3.10/site-packages/charset_normalizer/version.py ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ """
2
+ Expose version
3
+ """
4
+
5
+ __version__ = "3.4.0"
6
+ VERSION = __version__.split(".")
vllm/lib/python3.10/site-packages/idna/__pycache__/codec.cpython-310.pyc ADDED
Binary file (3.24 kB). View file
 
vllm/lib/python3.10/site-packages/idna/__pycache__/core.cpython-310.pyc ADDED
Binary file (9.64 kB). View file
 
vllm/lib/python3.10/site-packages/idna/codec.py ADDED
@@ -0,0 +1,122 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import codecs
2
+ import re
3
+ from typing import Any, Optional, Tuple
4
+
5
+ from .core import IDNAError, alabel, decode, encode, ulabel
6
+
7
+ _unicode_dots_re = re.compile("[\u002e\u3002\uff0e\uff61]")
8
+
9
+
10
+ class Codec(codecs.Codec):
11
+ def encode(self, data: str, errors: str = "strict") -> Tuple[bytes, int]:
12
+ if errors != "strict":
13
+ raise IDNAError('Unsupported error handling "{}"'.format(errors))
14
+
15
+ if not data:
16
+ return b"", 0
17
+
18
+ return encode(data), len(data)
19
+
20
+ def decode(self, data: bytes, errors: str = "strict") -> Tuple[str, int]:
21
+ if errors != "strict":
22
+ raise IDNAError('Unsupported error handling "{}"'.format(errors))
23
+
24
+ if not data:
25
+ return "", 0
26
+
27
+ return decode(data), len(data)
28
+
29
+
30
+ class IncrementalEncoder(codecs.BufferedIncrementalEncoder):
31
+ def _buffer_encode(self, data: str, errors: str, final: bool) -> Tuple[bytes, int]:
32
+ if errors != "strict":
33
+ raise IDNAError('Unsupported error handling "{}"'.format(errors))
34
+
35
+ if not data:
36
+ return b"", 0
37
+
38
+ labels = _unicode_dots_re.split(data)
39
+ trailing_dot = b""
40
+ if labels:
41
+ if not labels[-1]:
42
+ trailing_dot = b"."
43
+ del labels[-1]
44
+ elif not final:
45
+ # Keep potentially unfinished label until the next call
46
+ del labels[-1]
47
+ if labels:
48
+ trailing_dot = b"."
49
+
50
+ result = []
51
+ size = 0
52
+ for label in labels:
53
+ result.append(alabel(label))
54
+ if size:
55
+ size += 1
56
+ size += len(label)
57
+
58
+ # Join with U+002E
59
+ result_bytes = b".".join(result) + trailing_dot
60
+ size += len(trailing_dot)
61
+ return result_bytes, size
62
+
63
+
64
+ class IncrementalDecoder(codecs.BufferedIncrementalDecoder):
65
+ def _buffer_decode(self, data: Any, errors: str, final: bool) -> Tuple[str, int]:
66
+ if errors != "strict":
67
+ raise IDNAError('Unsupported error handling "{}"'.format(errors))
68
+
69
+ if not data:
70
+ return ("", 0)
71
+
72
+ if not isinstance(data, str):
73
+ data = str(data, "ascii")
74
+
75
+ labels = _unicode_dots_re.split(data)
76
+ trailing_dot = ""
77
+ if labels:
78
+ if not labels[-1]:
79
+ trailing_dot = "."
80
+ del labels[-1]
81
+ elif not final:
82
+ # Keep potentially unfinished label until the next call
83
+ del labels[-1]
84
+ if labels:
85
+ trailing_dot = "."
86
+
87
+ result = []
88
+ size = 0
89
+ for label in labels:
90
+ result.append(ulabel(label))
91
+ if size:
92
+ size += 1
93
+ size += len(label)
94
+
95
+ result_str = ".".join(result) + trailing_dot
96
+ size += len(trailing_dot)
97
+ return (result_str, size)
98
+
99
+
100
+ class StreamWriter(Codec, codecs.StreamWriter):
101
+ pass
102
+
103
+
104
+ class StreamReader(Codec, codecs.StreamReader):
105
+ pass
106
+
107
+
108
+ def search_function(name: str) -> Optional[codecs.CodecInfo]:
109
+ if name != "idna2008":
110
+ return None
111
+ return codecs.CodecInfo(
112
+ name=name,
113
+ encode=Codec().encode,
114
+ decode=Codec().decode,
115
+ incrementalencoder=IncrementalEncoder,
116
+ incrementaldecoder=IncrementalDecoder,
117
+ streamwriter=StreamWriter,
118
+ streamreader=StreamReader,
119
+ )
120
+
121
+
122
+ codecs.register(search_function)
vllm/lib/python3.10/site-packages/idna/compat.py ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from typing import Any, Union
2
+
3
+ from .core import decode, encode
4
+
5
+
6
+ def ToASCII(label: str) -> bytes:
7
+ return encode(label)
8
+
9
+
10
+ def ToUnicode(label: Union[bytes, bytearray]) -> str:
11
+ return decode(label)
12
+
13
+
14
+ def nameprep(s: Any) -> None:
15
+ raise NotImplementedError("IDNA 2008 does not utilise nameprep protocol")
vllm/lib/python3.10/site-packages/idna/core.py ADDED
@@ -0,0 +1,437 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import bisect
2
+ import re
3
+ import unicodedata
4
+ from typing import Optional, Union
5
+
6
+ from . import idnadata
7
+ from .intranges import intranges_contain
8
+
9
+ _virama_combining_class = 9
10
+ _alabel_prefix = b"xn--"
11
+ _unicode_dots_re = re.compile("[\u002e\u3002\uff0e\uff61]")
12
+
13
+
14
+ class IDNAError(UnicodeError):
15
+ """Base exception for all IDNA-encoding related problems"""
16
+
17
+ pass
18
+
19
+
20
+ class IDNABidiError(IDNAError):
21
+ """Exception when bidirectional requirements are not satisfied"""
22
+
23
+ pass
24
+
25
+
26
+ class InvalidCodepoint(IDNAError):
27
+ """Exception when a disallowed or unallocated codepoint is used"""
28
+
29
+ pass
30
+
31
+
32
+ class InvalidCodepointContext(IDNAError):
33
+ """Exception when the codepoint is not valid in the context it is used"""
34
+
35
+ pass
36
+
37
+
38
+ def _combining_class(cp: int) -> int:
39
+ v = unicodedata.combining(chr(cp))
40
+ if v == 0:
41
+ if not unicodedata.name(chr(cp)):
42
+ raise ValueError("Unknown character in unicodedata")
43
+ return v
44
+
45
+
46
+ def _is_script(cp: str, script: str) -> bool:
47
+ return intranges_contain(ord(cp), idnadata.scripts[script])
48
+
49
+
50
+ def _punycode(s: str) -> bytes:
51
+ return s.encode("punycode")
52
+
53
+
54
+ def _unot(s: int) -> str:
55
+ return "U+{:04X}".format(s)
56
+
57
+
58
+ def valid_label_length(label: Union[bytes, str]) -> bool:
59
+ if len(label) > 63:
60
+ return False
61
+ return True
62
+
63
+
64
+ def valid_string_length(label: Union[bytes, str], trailing_dot: bool) -> bool:
65
+ if len(label) > (254 if trailing_dot else 253):
66
+ return False
67
+ return True
68
+
69
+
70
+ def check_bidi(label: str, check_ltr: bool = False) -> bool:
71
+ # Bidi rules should only be applied if string contains RTL characters
72
+ bidi_label = False
73
+ for idx, cp in enumerate(label, 1):
74
+ direction = unicodedata.bidirectional(cp)
75
+ if direction == "":
76
+ # String likely comes from a newer version of Unicode
77
+ raise IDNABidiError("Unknown directionality in label {} at position {}".format(repr(label), idx))
78
+ if direction in ["R", "AL", "AN"]:
79
+ bidi_label = True
80
+ if not bidi_label and not check_ltr:
81
+ return True
82
+
83
+ # Bidi rule 1
84
+ direction = unicodedata.bidirectional(label[0])
85
+ if direction in ["R", "AL"]:
86
+ rtl = True
87
+ elif direction == "L":
88
+ rtl = False
89
+ else:
90
+ raise IDNABidiError("First codepoint in label {} must be directionality L, R or AL".format(repr(label)))
91
+
92
+ valid_ending = False
93
+ number_type: Optional[str] = None
94
+ for idx, cp in enumerate(label, 1):
95
+ direction = unicodedata.bidirectional(cp)
96
+
97
+ if rtl:
98
+ # Bidi rule 2
99
+ if direction not in [
100
+ "R",
101
+ "AL",
102
+ "AN",
103
+ "EN",
104
+ "ES",
105
+ "CS",
106
+ "ET",
107
+ "ON",
108
+ "BN",
109
+ "NSM",
110
+ ]:
111
+ raise IDNABidiError("Invalid direction for codepoint at position {} in a right-to-left label".format(idx))
112
+ # Bidi rule 3
113
+ if direction in ["R", "AL", "EN", "AN"]:
114
+ valid_ending = True
115
+ elif direction != "NSM":
116
+ valid_ending = False
117
+ # Bidi rule 4
118
+ if direction in ["AN", "EN"]:
119
+ if not number_type:
120
+ number_type = direction
121
+ else:
122
+ if number_type != direction:
123
+ raise IDNABidiError("Can not mix numeral types in a right-to-left label")
124
+ else:
125
+ # Bidi rule 5
126
+ if direction not in ["L", "EN", "ES", "CS", "ET", "ON", "BN", "NSM"]:
127
+ raise IDNABidiError("Invalid direction for codepoint at position {} in a left-to-right label".format(idx))
128
+ # Bidi rule 6
129
+ if direction in ["L", "EN"]:
130
+ valid_ending = True
131
+ elif direction != "NSM":
132
+ valid_ending = False
133
+
134
+ if not valid_ending:
135
+ raise IDNABidiError("Label ends with illegal codepoint directionality")
136
+
137
+ return True
138
+
139
+
140
+ def check_initial_combiner(label: str) -> bool:
141
+ if unicodedata.category(label[0])[0] == "M":
142
+ raise IDNAError("Label begins with an illegal combining character")
143
+ return True
144
+
145
+
146
+ def check_hyphen_ok(label: str) -> bool:
147
+ if label[2:4] == "--":
148
+ raise IDNAError("Label has disallowed hyphens in 3rd and 4th position")
149
+ if label[0] == "-" or label[-1] == "-":
150
+ raise IDNAError("Label must not start or end with a hyphen")
151
+ return True
152
+
153
+
154
+ def check_nfc(label: str) -> None:
155
+ if unicodedata.normalize("NFC", label) != label:
156
+ raise IDNAError("Label must be in Normalization Form C")
157
+
158
+
159
+ def valid_contextj(label: str, pos: int) -> bool:
160
+ cp_value = ord(label[pos])
161
+
162
+ if cp_value == 0x200C:
163
+ if pos > 0:
164
+ if _combining_class(ord(label[pos - 1])) == _virama_combining_class:
165
+ return True
166
+
167
+ ok = False
168
+ for i in range(pos - 1, -1, -1):
169
+ joining_type = idnadata.joining_types.get(ord(label[i]))
170
+ if joining_type == ord("T"):
171
+ continue
172
+ elif joining_type in [ord("L"), ord("D")]:
173
+ ok = True
174
+ break
175
+ else:
176
+ break
177
+
178
+ if not ok:
179
+ return False
180
+
181
+ ok = False
182
+ for i in range(pos + 1, len(label)):
183
+ joining_type = idnadata.joining_types.get(ord(label[i]))
184
+ if joining_type == ord("T"):
185
+ continue
186
+ elif joining_type in [ord("R"), ord("D")]:
187
+ ok = True
188
+ break
189
+ else:
190
+ break
191
+ return ok
192
+
193
+ if cp_value == 0x200D:
194
+ if pos > 0:
195
+ if _combining_class(ord(label[pos - 1])) == _virama_combining_class:
196
+ return True
197
+ return False
198
+
199
+ else:
200
+ return False
201
+
202
+
203
+ def valid_contexto(label: str, pos: int, exception: bool = False) -> bool:
204
+ cp_value = ord(label[pos])
205
+
206
+ if cp_value == 0x00B7:
207
+ if 0 < pos < len(label) - 1:
208
+ if ord(label[pos - 1]) == 0x006C and ord(label[pos + 1]) == 0x006C:
209
+ return True
210
+ return False
211
+
212
+ elif cp_value == 0x0375:
213
+ if pos < len(label) - 1 and len(label) > 1:
214
+ return _is_script(label[pos + 1], "Greek")
215
+ return False
216
+
217
+ elif cp_value == 0x05F3 or cp_value == 0x05F4:
218
+ if pos > 0:
219
+ return _is_script(label[pos - 1], "Hebrew")
220
+ return False
221
+
222
+ elif cp_value == 0x30FB:
223
+ for cp in label:
224
+ if cp == "\u30fb":
225
+ continue
226
+ if _is_script(cp, "Hiragana") or _is_script(cp, "Katakana") or _is_script(cp, "Han"):
227
+ return True
228
+ return False
229
+
230
+ elif 0x660 <= cp_value <= 0x669:
231
+ for cp in label:
232
+ if 0x6F0 <= ord(cp) <= 0x06F9:
233
+ return False
234
+ return True
235
+
236
+ elif 0x6F0 <= cp_value <= 0x6F9:
237
+ for cp in label:
238
+ if 0x660 <= ord(cp) <= 0x0669:
239
+ return False
240
+ return True
241
+
242
+ return False
243
+
244
+
245
+ def check_label(label: Union[str, bytes, bytearray]) -> None:
246
+ if isinstance(label, (bytes, bytearray)):
247
+ label = label.decode("utf-8")
248
+ if len(label) == 0:
249
+ raise IDNAError("Empty Label")
250
+
251
+ check_nfc(label)
252
+ check_hyphen_ok(label)
253
+ check_initial_combiner(label)
254
+
255
+ for pos, cp in enumerate(label):
256
+ cp_value = ord(cp)
257
+ if intranges_contain(cp_value, idnadata.codepoint_classes["PVALID"]):
258
+ continue
259
+ elif intranges_contain(cp_value, idnadata.codepoint_classes["CONTEXTJ"]):
260
+ try:
261
+ if not valid_contextj(label, pos):
262
+ raise InvalidCodepointContext(
263
+ "Joiner {} not allowed at position {} in {}".format(_unot(cp_value), pos + 1, repr(label))
264
+ )
265
+ except ValueError:
266
+ raise IDNAError(
267
+ "Unknown codepoint adjacent to joiner {} at position {} in {}".format(
268
+ _unot(cp_value), pos + 1, repr(label)
269
+ )
270
+ )
271
+ elif intranges_contain(cp_value, idnadata.codepoint_classes["CONTEXTO"]):
272
+ if not valid_contexto(label, pos):
273
+ raise InvalidCodepointContext(
274
+ "Codepoint {} not allowed at position {} in {}".format(_unot(cp_value), pos + 1, repr(label))
275
+ )
276
+ else:
277
+ raise InvalidCodepoint(
278
+ "Codepoint {} at position {} of {} not allowed".format(_unot(cp_value), pos + 1, repr(label))
279
+ )
280
+
281
+ check_bidi(label)
282
+
283
+
284
+ def alabel(label: str) -> bytes:
285
+ try:
286
+ label_bytes = label.encode("ascii")
287
+ ulabel(label_bytes)
288
+ if not valid_label_length(label_bytes):
289
+ raise IDNAError("Label too long")
290
+ return label_bytes
291
+ except UnicodeEncodeError:
292
+ pass
293
+
294
+ check_label(label)
295
+ label_bytes = _alabel_prefix + _punycode(label)
296
+
297
+ if not valid_label_length(label_bytes):
298
+ raise IDNAError("Label too long")
299
+
300
+ return label_bytes
301
+
302
+
303
+ def ulabel(label: Union[str, bytes, bytearray]) -> str:
304
+ if not isinstance(label, (bytes, bytearray)):
305
+ try:
306
+ label_bytes = label.encode("ascii")
307
+ except UnicodeEncodeError:
308
+ check_label(label)
309
+ return label
310
+ else:
311
+ label_bytes = label
312
+
313
+ label_bytes = label_bytes.lower()
314
+ if label_bytes.startswith(_alabel_prefix):
315
+ label_bytes = label_bytes[len(_alabel_prefix) :]
316
+ if not label_bytes:
317
+ raise IDNAError("Malformed A-label, no Punycode eligible content found")
318
+ if label_bytes.decode("ascii")[-1] == "-":
319
+ raise IDNAError("A-label must not end with a hyphen")
320
+ else:
321
+ check_label(label_bytes)
322
+ return label_bytes.decode("ascii")
323
+
324
+ try:
325
+ label = label_bytes.decode("punycode")
326
+ except UnicodeError:
327
+ raise IDNAError("Invalid A-label")
328
+ check_label(label)
329
+ return label
330
+
331
+
332
+ def uts46_remap(domain: str, std3_rules: bool = True, transitional: bool = False) -> str:
333
+ """Re-map the characters in the string according to UTS46 processing."""
334
+ from .uts46data import uts46data
335
+
336
+ output = ""
337
+
338
+ for pos, char in enumerate(domain):
339
+ code_point = ord(char)
340
+ try:
341
+ uts46row = uts46data[code_point if code_point < 256 else bisect.bisect_left(uts46data, (code_point, "Z")) - 1]
342
+ status = uts46row[1]
343
+ replacement: Optional[str] = None
344
+ if len(uts46row) == 3:
345
+ replacement = uts46row[2]
346
+ if (
347
+ status == "V"
348
+ or (status == "D" and not transitional)
349
+ or (status == "3" and not std3_rules and replacement is None)
350
+ ):
351
+ output += char
352
+ elif replacement is not None and (
353
+ status == "M" or (status == "3" and not std3_rules) or (status == "D" and transitional)
354
+ ):
355
+ output += replacement
356
+ elif status != "I":
357
+ raise IndexError()
358
+ except IndexError:
359
+ raise InvalidCodepoint(
360
+ "Codepoint {} not allowed at position {} in {}".format(_unot(code_point), pos + 1, repr(domain))
361
+ )
362
+
363
+ return unicodedata.normalize("NFC", output)
364
+
365
+
366
+ def encode(
367
+ s: Union[str, bytes, bytearray],
368
+ strict: bool = False,
369
+ uts46: bool = False,
370
+ std3_rules: bool = False,
371
+ transitional: bool = False,
372
+ ) -> bytes:
373
+ if not isinstance(s, str):
374
+ try:
375
+ s = str(s, "ascii")
376
+ except UnicodeDecodeError:
377
+ raise IDNAError("should pass a unicode string to the function rather than a byte string.")
378
+ if uts46:
379
+ s = uts46_remap(s, std3_rules, transitional)
380
+ trailing_dot = False
381
+ result = []
382
+ if strict:
383
+ labels = s.split(".")
384
+ else:
385
+ labels = _unicode_dots_re.split(s)
386
+ if not labels or labels == [""]:
387
+ raise IDNAError("Empty domain")
388
+ if labels[-1] == "":
389
+ del labels[-1]
390
+ trailing_dot = True
391
+ for label in labels:
392
+ s = alabel(label)
393
+ if s:
394
+ result.append(s)
395
+ else:
396
+ raise IDNAError("Empty label")
397
+ if trailing_dot:
398
+ result.append(b"")
399
+ s = b".".join(result)
400
+ if not valid_string_length(s, trailing_dot):
401
+ raise IDNAError("Domain too long")
402
+ return s
403
+
404
+
405
+ def decode(
406
+ s: Union[str, bytes, bytearray],
407
+ strict: bool = False,
408
+ uts46: bool = False,
409
+ std3_rules: bool = False,
410
+ ) -> str:
411
+ try:
412
+ if not isinstance(s, str):
413
+ s = str(s, "ascii")
414
+ except UnicodeDecodeError:
415
+ raise IDNAError("Invalid ASCII in A-label")
416
+ if uts46:
417
+ s = uts46_remap(s, std3_rules, False)
418
+ trailing_dot = False
419
+ result = []
420
+ if not strict:
421
+ labels = _unicode_dots_re.split(s)
422
+ else:
423
+ labels = s.split(".")
424
+ if not labels or labels == [""]:
425
+ raise IDNAError("Empty domain")
426
+ if not labels[-1]:
427
+ del labels[-1]
428
+ trailing_dot = True
429
+ for label in labels:
430
+ s = ulabel(label)
431
+ if s:
432
+ result.append(s)
433
+ else:
434
+ raise IDNAError("Empty label")
435
+ if trailing_dot:
436
+ result.append("")
437
+ return ".".join(result)
vllm/lib/python3.10/site-packages/idna/idnadata.py ADDED
@@ -0,0 +1,4243 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # This file is automatically generated by tools/idna-data
2
+
3
+ __version__ = "15.1.0"
4
+ scripts = {
5
+ "Greek": (
6
+ 0x37000000374,
7
+ 0x37500000378,
8
+ 0x37A0000037E,
9
+ 0x37F00000380,
10
+ 0x38400000385,
11
+ 0x38600000387,
12
+ 0x3880000038B,
13
+ 0x38C0000038D,
14
+ 0x38E000003A2,
15
+ 0x3A3000003E2,
16
+ 0x3F000000400,
17
+ 0x1D2600001D2B,
18
+ 0x1D5D00001D62,
19
+ 0x1D6600001D6B,
20
+ 0x1DBF00001DC0,
21
+ 0x1F0000001F16,
22
+ 0x1F1800001F1E,
23
+ 0x1F2000001F46,
24
+ 0x1F4800001F4E,
25
+ 0x1F5000001F58,
26
+ 0x1F5900001F5A,
27
+ 0x1F5B00001F5C,
28
+ 0x1F5D00001F5E,
29
+ 0x1F5F00001F7E,
30
+ 0x1F8000001FB5,
31
+ 0x1FB600001FC5,
32
+ 0x1FC600001FD4,
33
+ 0x1FD600001FDC,
34
+ 0x1FDD00001FF0,
35
+ 0x1FF200001FF5,
36
+ 0x1FF600001FFF,
37
+ 0x212600002127,
38
+ 0xAB650000AB66,
39
+ 0x101400001018F,
40
+ 0x101A0000101A1,
41
+ 0x1D2000001D246,
42
+ ),
43
+ "Han": (
44
+ 0x2E8000002E9A,
45
+ 0x2E9B00002EF4,
46
+ 0x2F0000002FD6,
47
+ 0x300500003006,
48
+ 0x300700003008,
49
+ 0x30210000302A,
50
+ 0x30380000303C,
51
+ 0x340000004DC0,
52
+ 0x4E000000A000,
53
+ 0xF9000000FA6E,
54
+ 0xFA700000FADA,
55
+ 0x16FE200016FE4,
56
+ 0x16FF000016FF2,
57
+ 0x200000002A6E0,
58
+ 0x2A7000002B73A,
59
+ 0x2B7400002B81E,
60
+ 0x2B8200002CEA2,
61
+ 0x2CEB00002EBE1,
62
+ 0x2EBF00002EE5E,
63
+ 0x2F8000002FA1E,
64
+ 0x300000003134B,
65
+ 0x31350000323B0,
66
+ ),
67
+ "Hebrew": (
68
+ 0x591000005C8,
69
+ 0x5D0000005EB,
70
+ 0x5EF000005F5,
71
+ 0xFB1D0000FB37,
72
+ 0xFB380000FB3D,
73
+ 0xFB3E0000FB3F,
74
+ 0xFB400000FB42,
75
+ 0xFB430000FB45,
76
+ 0xFB460000FB50,
77
+ ),
78
+ "Hiragana": (
79
+ 0x304100003097,
80
+ 0x309D000030A0,
81
+ 0x1B0010001B120,
82
+ 0x1B1320001B133,
83
+ 0x1B1500001B153,
84
+ 0x1F2000001F201,
85
+ ),
86
+ "Katakana": (
87
+ 0x30A1000030FB,
88
+ 0x30FD00003100,
89
+ 0x31F000003200,
90
+ 0x32D0000032FF,
91
+ 0x330000003358,
92
+ 0xFF660000FF70,
93
+ 0xFF710000FF9E,
94
+ 0x1AFF00001AFF4,
95
+ 0x1AFF50001AFFC,
96
+ 0x1AFFD0001AFFF,
97
+ 0x1B0000001B001,
98
+ 0x1B1200001B123,
99
+ 0x1B1550001B156,
100
+ 0x1B1640001B168,
101
+ ),
102
+ }
103
+ joining_types = {
104
+ 0xAD: 84,
105
+ 0x300: 84,
106
+ 0x301: 84,
107
+ 0x302: 84,
108
+ 0x303: 84,
109
+ 0x304: 84,
110
+ 0x305: 84,
111
+ 0x306: 84,
112
+ 0x307: 84,
113
+ 0x308: 84,
114
+ 0x309: 84,
115
+ 0x30A: 84,
116
+ 0x30B: 84,
117
+ 0x30C: 84,
118
+ 0x30D: 84,
119
+ 0x30E: 84,
120
+ 0x30F: 84,
121
+ 0x310: 84,
122
+ 0x311: 84,
123
+ 0x312: 84,
124
+ 0x313: 84,
125
+ 0x314: 84,
126
+ 0x315: 84,
127
+ 0x316: 84,
128
+ 0x317: 84,
129
+ 0x318: 84,
130
+ 0x319: 84,
131
+ 0x31A: 84,
132
+ 0x31B: 84,
133
+ 0x31C: 84,
134
+ 0x31D: 84,
135
+ 0x31E: 84,
136
+ 0x31F: 84,
137
+ 0x320: 84,
138
+ 0x321: 84,
139
+ 0x322: 84,
140
+ 0x323: 84,
141
+ 0x324: 84,
142
+ 0x325: 84,
143
+ 0x326: 84,
144
+ 0x327: 84,
145
+ 0x328: 84,
146
+ 0x329: 84,
147
+ 0x32A: 84,
148
+ 0x32B: 84,
149
+ 0x32C: 84,
150
+ 0x32D: 84,
151
+ 0x32E: 84,
152
+ 0x32F: 84,
153
+ 0x330: 84,
154
+ 0x331: 84,
155
+ 0x332: 84,
156
+ 0x333: 84,
157
+ 0x334: 84,
158
+ 0x335: 84,
159
+ 0x336: 84,
160
+ 0x337: 84,
161
+ 0x338: 84,
162
+ 0x339: 84,
163
+ 0x33A: 84,
164
+ 0x33B: 84,
165
+ 0x33C: 84,
166
+ 0x33D: 84,
167
+ 0x33E: 84,
168
+ 0x33F: 84,
169
+ 0x340: 84,
170
+ 0x341: 84,
171
+ 0x342: 84,
172
+ 0x343: 84,
173
+ 0x344: 84,
174
+ 0x345: 84,
175
+ 0x346: 84,
176
+ 0x347: 84,
177
+ 0x348: 84,
178
+ 0x349: 84,
179
+ 0x34A: 84,
180
+ 0x34B: 84,
181
+ 0x34C: 84,
182
+ 0x34D: 84,
183
+ 0x34E: 84,
184
+ 0x34F: 84,
185
+ 0x350: 84,
186
+ 0x351: 84,
187
+ 0x352: 84,
188
+ 0x353: 84,
189
+ 0x354: 84,
190
+ 0x355: 84,
191
+ 0x356: 84,
192
+ 0x357: 84,
193
+ 0x358: 84,
194
+ 0x359: 84,
195
+ 0x35A: 84,
196
+ 0x35B: 84,
197
+ 0x35C: 84,
198
+ 0x35D: 84,
199
+ 0x35E: 84,
200
+ 0x35F: 84,
201
+ 0x360: 84,
202
+ 0x361: 84,
203
+ 0x362: 84,
204
+ 0x363: 84,
205
+ 0x364: 84,
206
+ 0x365: 84,
207
+ 0x366: 84,
208
+ 0x367: 84,
209
+ 0x368: 84,
210
+ 0x369: 84,
211
+ 0x36A: 84,
212
+ 0x36B: 84,
213
+ 0x36C: 84,
214
+ 0x36D: 84,
215
+ 0x36E: 84,
216
+ 0x36F: 84,
217
+ 0x483: 84,
218
+ 0x484: 84,
219
+ 0x485: 84,
220
+ 0x486: 84,
221
+ 0x487: 84,
222
+ 0x488: 84,
223
+ 0x489: 84,
224
+ 0x591: 84,
225
+ 0x592: 84,
226
+ 0x593: 84,
227
+ 0x594: 84,
228
+ 0x595: 84,
229
+ 0x596: 84,
230
+ 0x597: 84,
231
+ 0x598: 84,
232
+ 0x599: 84,
233
+ 0x59A: 84,
234
+ 0x59B: 84,
235
+ 0x59C: 84,
236
+ 0x59D: 84,
237
+ 0x59E: 84,
238
+ 0x59F: 84,
239
+ 0x5A0: 84,
240
+ 0x5A1: 84,
241
+ 0x5A2: 84,
242
+ 0x5A3: 84,
243
+ 0x5A4: 84,
244
+ 0x5A5: 84,
245
+ 0x5A6: 84,
246
+ 0x5A7: 84,
247
+ 0x5A8: 84,
248
+ 0x5A9: 84,
249
+ 0x5AA: 84,
250
+ 0x5AB: 84,
251
+ 0x5AC: 84,
252
+ 0x5AD: 84,
253
+ 0x5AE: 84,
254
+ 0x5AF: 84,
255
+ 0x5B0: 84,
256
+ 0x5B1: 84,
257
+ 0x5B2: 84,
258
+ 0x5B3: 84,
259
+ 0x5B4: 84,
260
+ 0x5B5: 84,
261
+ 0x5B6: 84,
262
+ 0x5B7: 84,
263
+ 0x5B8: 84,
264
+ 0x5B9: 84,
265
+ 0x5BA: 84,
266
+ 0x5BB: 84,
267
+ 0x5BC: 84,
268
+ 0x5BD: 84,
269
+ 0x5BF: 84,
270
+ 0x5C1: 84,
271
+ 0x5C2: 84,
272
+ 0x5C4: 84,
273
+ 0x5C5: 84,
274
+ 0x5C7: 84,
275
+ 0x610: 84,
276
+ 0x611: 84,
277
+ 0x612: 84,
278
+ 0x613: 84,
279
+ 0x614: 84,
280
+ 0x615: 84,
281
+ 0x616: 84,
282
+ 0x617: 84,
283
+ 0x618: 84,
284
+ 0x619: 84,
285
+ 0x61A: 84,
286
+ 0x61C: 84,
287
+ 0x620: 68,
288
+ 0x622: 82,
289
+ 0x623: 82,
290
+ 0x624: 82,
291
+ 0x625: 82,
292
+ 0x626: 68,
293
+ 0x627: 82,
294
+ 0x628: 68,
295
+ 0x629: 82,
296
+ 0x62A: 68,
297
+ 0x62B: 68,
298
+ 0x62C: 68,
299
+ 0x62D: 68,
300
+ 0x62E: 68,
301
+ 0x62F: 82,
302
+ 0x630: 82,
303
+ 0x631: 82,
304
+ 0x632: 82,
305
+ 0x633: 68,
306
+ 0x634: 68,
307
+ 0x635: 68,
308
+ 0x636: 68,
309
+ 0x637: 68,
310
+ 0x638: 68,
311
+ 0x639: 68,
312
+ 0x63A: 68,
313
+ 0x63B: 68,
314
+ 0x63C: 68,
315
+ 0x63D: 68,
316
+ 0x63E: 68,
317
+ 0x63F: 68,
318
+ 0x640: 67,
319
+ 0x641: 68,
320
+ 0x642: 68,
321
+ 0x643: 68,
322
+ 0x644: 68,
323
+ 0x645: 68,
324
+ 0x646: 68,
325
+ 0x647: 68,
326
+ 0x648: 82,
327
+ 0x649: 68,
328
+ 0x64A: 68,
329
+ 0x64B: 84,
330
+ 0x64C: 84,
331
+ 0x64D: 84,
332
+ 0x64E: 84,
333
+ 0x64F: 84,
334
+ 0x650: 84,
335
+ 0x651: 84,
336
+ 0x652: 84,
337
+ 0x653: 84,
338
+ 0x654: 84,
339
+ 0x655: 84,
340
+ 0x656: 84,
341
+ 0x657: 84,
342
+ 0x658: 84,
343
+ 0x659: 84,
344
+ 0x65A: 84,
345
+ 0x65B: 84,
346
+ 0x65C: 84,
347
+ 0x65D: 84,
348
+ 0x65E: 84,
349
+ 0x65F: 84,
350
+ 0x66E: 68,
351
+ 0x66F: 68,
352
+ 0x670: 84,
353
+ 0x671: 82,
354
+ 0x672: 82,
355
+ 0x673: 82,
356
+ 0x675: 82,
357
+ 0x676: 82,
358
+ 0x677: 82,
359
+ 0x678: 68,
360
+ 0x679: 68,
361
+ 0x67A: 68,
362
+ 0x67B: 68,
363
+ 0x67C: 68,
364
+ 0x67D: 68,
365
+ 0x67E: 68,
366
+ 0x67F: 68,
367
+ 0x680: 68,
368
+ 0x681: 68,
369
+ 0x682: 68,
370
+ 0x683: 68,
371
+ 0x684: 68,
372
+ 0x685: 68,
373
+ 0x686: 68,
374
+ 0x687: 68,
375
+ 0x688: 82,
376
+ 0x689: 82,
377
+ 0x68A: 82,
378
+ 0x68B: 82,
379
+ 0x68C: 82,
380
+ 0x68D: 82,
381
+ 0x68E: 82,
382
+ 0x68F: 82,
383
+ 0x690: 82,
384
+ 0x691: 82,
385
+ 0x692: 82,
386
+ 0x693: 82,
387
+ 0x694: 82,
388
+ 0x695: 82,
389
+ 0x696: 82,
390
+ 0x697: 82,
391
+ 0x698: 82,
392
+ 0x699: 82,
393
+ 0x69A: 68,
394
+ 0x69B: 68,
395
+ 0x69C: 68,
396
+ 0x69D: 68,
397
+ 0x69E: 68,
398
+ 0x69F: 68,
399
+ 0x6A0: 68,
400
+ 0x6A1: 68,
401
+ 0x6A2: 68,
402
+ 0x6A3: 68,
403
+ 0x6A4: 68,
404
+ 0x6A5: 68,
405
+ 0x6A6: 68,
406
+ 0x6A7: 68,
407
+ 0x6A8: 68,
408
+ 0x6A9: 68,
409
+ 0x6AA: 68,
410
+ 0x6AB: 68,
411
+ 0x6AC: 68,
412
+ 0x6AD: 68,
413
+ 0x6AE: 68,
414
+ 0x6AF: 68,
415
+ 0x6B0: 68,
416
+ 0x6B1: 68,
417
+ 0x6B2: 68,
418
+ 0x6B3: 68,
419
+ 0x6B4: 68,
420
+ 0x6B5: 68,
421
+ 0x6B6: 68,
422
+ 0x6B7: 68,
423
+ 0x6B8: 68,
424
+ 0x6B9: 68,
425
+ 0x6BA: 68,
426
+ 0x6BB: 68,
427
+ 0x6BC: 68,
428
+ 0x6BD: 68,
429
+ 0x6BE: 68,
430
+ 0x6BF: 68,
431
+ 0x6C0: 82,
432
+ 0x6C1: 68,
433
+ 0x6C2: 68,
434
+ 0x6C3: 82,
435
+ 0x6C4: 82,
436
+ 0x6C5: 82,
437
+ 0x6C6: 82,
438
+ 0x6C7: 82,
439
+ 0x6C8: 82,
440
+ 0x6C9: 82,
441
+ 0x6CA: 82,
442
+ 0x6CB: 82,
443
+ 0x6CC: 68,
444
+ 0x6CD: 82,
445
+ 0x6CE: 68,
446
+ 0x6CF: 82,
447
+ 0x6D0: 68,
448
+ 0x6D1: 68,
449
+ 0x6D2: 82,
450
+ 0x6D3: 82,
451
+ 0x6D5: 82,
452
+ 0x6D6: 84,
453
+ 0x6D7: 84,
454
+ 0x6D8: 84,
455
+ 0x6D9: 84,
456
+ 0x6DA: 84,
457
+ 0x6DB: 84,
458
+ 0x6DC: 84,
459
+ 0x6DF: 84,
460
+ 0x6E0: 84,
461
+ 0x6E1: 84,
462
+ 0x6E2: 84,
463
+ 0x6E3: 84,
464
+ 0x6E4: 84,
465
+ 0x6E7: 84,
466
+ 0x6E8: 84,
467
+ 0x6EA: 84,
468
+ 0x6EB: 84,
469
+ 0x6EC: 84,
470
+ 0x6ED: 84,
471
+ 0x6EE: 82,
472
+ 0x6EF: 82,
473
+ 0x6FA: 68,
474
+ 0x6FB: 68,
475
+ 0x6FC: 68,
476
+ 0x6FF: 68,
477
+ 0x70F: 84,
478
+ 0x710: 82,
479
+ 0x711: 84,
480
+ 0x712: 68,
481
+ 0x713: 68,
482
+ 0x714: 68,
483
+ 0x715: 82,
484
+ 0x716: 82,
485
+ 0x717: 82,
486
+ 0x718: 82,
487
+ 0x719: 82,
488
+ 0x71A: 68,
489
+ 0x71B: 68,
490
+ 0x71C: 68,
491
+ 0x71D: 68,
492
+ 0x71E: 82,
493
+ 0x71F: 68,
494
+ 0x720: 68,
495
+ 0x721: 68,
496
+ 0x722: 68,
497
+ 0x723: 68,
498
+ 0x724: 68,
499
+ 0x725: 68,
500
+ 0x726: 68,
501
+ 0x727: 68,
502
+ 0x728: 82,
503
+ 0x729: 68,
504
+ 0x72A: 82,
505
+ 0x72B: 68,
506
+ 0x72C: 82,
507
+ 0x72D: 68,
508
+ 0x72E: 68,
509
+ 0x72F: 82,
510
+ 0x730: 84,
511
+ 0x731: 84,
512
+ 0x732: 84,
513
+ 0x733: 84,
514
+ 0x734: 84,
515
+ 0x735: 84,
516
+ 0x736: 84,
517
+ 0x737: 84,
518
+ 0x738: 84,
519
+ 0x739: 84,
520
+ 0x73A: 84,
521
+ 0x73B: 84,
522
+ 0x73C: 84,
523
+ 0x73D: 84,
524
+ 0x73E: 84,
525
+ 0x73F: 84,
526
+ 0x740: 84,
527
+ 0x741: 84,
528
+ 0x742: 84,
529
+ 0x743: 84,
530
+ 0x744: 84,
531
+ 0x745: 84,
532
+ 0x746: 84,
533
+ 0x747: 84,
534
+ 0x748: 84,
535
+ 0x749: 84,
536
+ 0x74A: 84,
537
+ 0x74D: 82,
538
+ 0x74E: 68,
539
+ 0x74F: 68,
540
+ 0x750: 68,
541
+ 0x751: 68,
542
+ 0x752: 68,
543
+ 0x753: 68,
544
+ 0x754: 68,
545
+ 0x755: 68,
546
+ 0x756: 68,
547
+ 0x757: 68,
548
+ 0x758: 68,
549
+ 0x759: 82,
550
+ 0x75A: 82,
551
+ 0x75B: 82,
552
+ 0x75C: 68,
553
+ 0x75D: 68,
554
+ 0x75E: 68,
555
+ 0x75F: 68,
556
+ 0x760: 68,
557
+ 0x761: 68,
558
+ 0x762: 68,
559
+ 0x763: 68,
560
+ 0x764: 68,
561
+ 0x765: 68,
562
+ 0x766: 68,
563
+ 0x767: 68,
564
+ 0x768: 68,
565
+ 0x769: 68,
566
+ 0x76A: 68,
567
+ 0x76B: 82,
568
+ 0x76C: 82,
569
+ 0x76D: 68,
570
+ 0x76E: 68,
571
+ 0x76F: 68,
572
+ 0x770: 68,
573
+ 0x771: 82,
574
+ 0x772: 68,
575
+ 0x773: 82,
576
+ 0x774: 82,
577
+ 0x775: 68,
578
+ 0x776: 68,
579
+ 0x777: 68,
580
+ 0x778: 82,
581
+ 0x779: 82,
582
+ 0x77A: 68,
583
+ 0x77B: 68,
584
+ 0x77C: 68,
585
+ 0x77D: 68,
586
+ 0x77E: 68,
587
+ 0x77F: 68,
588
+ 0x7A6: 84,
589
+ 0x7A7: 84,
590
+ 0x7A8: 84,
591
+ 0x7A9: 84,
592
+ 0x7AA: 84,
593
+ 0x7AB: 84,
594
+ 0x7AC: 84,
595
+ 0x7AD: 84,
596
+ 0x7AE: 84,
597
+ 0x7AF: 84,
598
+ 0x7B0: 84,
599
+ 0x7CA: 68,
600
+ 0x7CB: 68,
601
+ 0x7CC: 68,
602
+ 0x7CD: 68,
603
+ 0x7CE: 68,
604
+ 0x7CF: 68,
605
+ 0x7D0: 68,
606
+ 0x7D1: 68,
607
+ 0x7D2: 68,
608
+ 0x7D3: 68,
609
+ 0x7D4: 68,
610
+ 0x7D5: 68,
611
+ 0x7D6: 68,
612
+ 0x7D7: 68,
613
+ 0x7D8: 68,
614
+ 0x7D9: 68,
615
+ 0x7DA: 68,
616
+ 0x7DB: 68,
617
+ 0x7DC: 68,
618
+ 0x7DD: 68,
619
+ 0x7DE: 68,
620
+ 0x7DF: 68,
621
+ 0x7E0: 68,
622
+ 0x7E1: 68,
623
+ 0x7E2: 68,
624
+ 0x7E3: 68,
625
+ 0x7E4: 68,
626
+ 0x7E5: 68,
627
+ 0x7E6: 68,
628
+ 0x7E7: 68,
629
+ 0x7E8: 68,
630
+ 0x7E9: 68,
631
+ 0x7EA: 68,
632
+ 0x7EB: 84,
633
+ 0x7EC: 84,
634
+ 0x7ED: 84,
635
+ 0x7EE: 84,
636
+ 0x7EF: 84,
637
+ 0x7F0: 84,
638
+ 0x7F1: 84,
639
+ 0x7F2: 84,
640
+ 0x7F3: 84,
641
+ 0x7FA: 67,
642
+ 0x7FD: 84,
643
+ 0x816: 84,
644
+ 0x817: 84,
645
+ 0x818: 84,
646
+ 0x819: 84,
647
+ 0x81B: 84,
648
+ 0x81C: 84,
649
+ 0x81D: 84,
650
+ 0x81E: 84,
651
+ 0x81F: 84,
652
+ 0x820: 84,
653
+ 0x821: 84,
654
+ 0x822: 84,
655
+ 0x823: 84,
656
+ 0x825: 84,
657
+ 0x826: 84,
658
+ 0x827: 84,
659
+ 0x829: 84,
660
+ 0x82A: 84,
661
+ 0x82B: 84,
662
+ 0x82C: 84,
663
+ 0x82D: 84,
664
+ 0x840: 82,
665
+ 0x841: 68,
666
+ 0x842: 68,
667
+ 0x843: 68,
668
+ 0x844: 68,
669
+ 0x845: 68,
670
+ 0x846: 82,
671
+ 0x847: 82,
672
+ 0x848: 68,
673
+ 0x849: 82,
674
+ 0x84A: 68,
675
+ 0x84B: 68,
676
+ 0x84C: 68,
677
+ 0x84D: 68,
678
+ 0x84E: 68,
679
+ 0x84F: 68,
680
+ 0x850: 68,
681
+ 0x851: 68,
682
+ 0x852: 68,
683
+ 0x853: 68,
684
+ 0x854: 82,
685
+ 0x855: 68,
686
+ 0x856: 82,
687
+ 0x857: 82,
688
+ 0x858: 82,
689
+ 0x859: 84,
690
+ 0x85A: 84,
691
+ 0x85B: 84,
692
+ 0x860: 68,
693
+ 0x862: 68,
694
+ 0x863: 68,
695
+ 0x864: 68,
696
+ 0x865: 68,
697
+ 0x867: 82,
698
+ 0x868: 68,
699
+ 0x869: 82,
700
+ 0x86A: 82,
701
+ 0x870: 82,
702
+ 0x871: 82,
703
+ 0x872: 82,
704
+ 0x873: 82,
705
+ 0x874: 82,
706
+ 0x875: 82,
707
+ 0x876: 82,
708
+ 0x877: 82,
709
+ 0x878: 82,
710
+ 0x879: 82,
711
+ 0x87A: 82,
712
+ 0x87B: 82,
713
+ 0x87C: 82,
714
+ 0x87D: 82,
715
+ 0x87E: 82,
716
+ 0x87F: 82,
717
+ 0x880: 82,
718
+ 0x881: 82,
719
+ 0x882: 82,
720
+ 0x883: 67,
721
+ 0x884: 67,
722
+ 0x885: 67,
723
+ 0x886: 68,
724
+ 0x889: 68,
725
+ 0x88A: 68,
726
+ 0x88B: 68,
727
+ 0x88C: 68,
728
+ 0x88D: 68,
729
+ 0x88E: 82,
730
+ 0x898: 84,
731
+ 0x899: 84,
732
+ 0x89A: 84,
733
+ 0x89B: 84,
734
+ 0x89C: 84,
735
+ 0x89D: 84,
736
+ 0x89E: 84,
737
+ 0x89F: 84,
738
+ 0x8A0: 68,
739
+ 0x8A1: 68,
740
+ 0x8A2: 68,
741
+ 0x8A3: 68,
742
+ 0x8A4: 68,
743
+ 0x8A5: 68,
744
+ 0x8A6: 68,
745
+ 0x8A7: 68,
746
+ 0x8A8: 68,
747
+ 0x8A9: 68,
748
+ 0x8AA: 82,
749
+ 0x8AB: 82,
750
+ 0x8AC: 82,
751
+ 0x8AE: 82,
752
+ 0x8AF: 68,
753
+ 0x8B0: 68,
754
+ 0x8B1: 82,
755
+ 0x8B2: 82,
756
+ 0x8B3: 68,
757
+ 0x8B4: 68,
758
+ 0x8B5: 68,
759
+ 0x8B6: 68,
760
+ 0x8B7: 68,
761
+ 0x8B8: 68,
762
+ 0x8B9: 82,
763
+ 0x8BA: 68,
764
+ 0x8BB: 68,
765
+ 0x8BC: 68,
766
+ 0x8BD: 68,
767
+ 0x8BE: 68,
768
+ 0x8BF: 68,
769
+ 0x8C0: 68,
770
+ 0x8C1: 68,
771
+ 0x8C2: 68,
772
+ 0x8C3: 68,
773
+ 0x8C4: 68,
774
+ 0x8C5: 68,
775
+ 0x8C6: 68,
776
+ 0x8C7: 68,
777
+ 0x8C8: 68,
778
+ 0x8CA: 84,
779
+ 0x8CB: 84,
780
+ 0x8CC: 84,
781
+ 0x8CD: 84,
782
+ 0x8CE: 84,
783
+ 0x8CF: 84,
784
+ 0x8D0: 84,
785
+ 0x8D1: 84,
786
+ 0x8D2: 84,
787
+ 0x8D3: 84,
788
+ 0x8D4: 84,
789
+ 0x8D5: 84,
790
+ 0x8D6: 84,
791
+ 0x8D7: 84,
792
+ 0x8D8: 84,
793
+ 0x8D9: 84,
794
+ 0x8DA: 84,
795
+ 0x8DB: 84,
796
+ 0x8DC: 84,
797
+ 0x8DD: 84,
798
+ 0x8DE: 84,
799
+ 0x8DF: 84,
800
+ 0x8E0: 84,
801
+ 0x8E1: 84,
802
+ 0x8E3: 84,
803
+ 0x8E4: 84,
804
+ 0x8E5: 84,
805
+ 0x8E6: 84,
806
+ 0x8E7: 84,
807
+ 0x8E8: 84,
808
+ 0x8E9: 84,
809
+ 0x8EA: 84,
810
+ 0x8EB: 84,
811
+ 0x8EC: 84,
812
+ 0x8ED: 84,
813
+ 0x8EE: 84,
814
+ 0x8EF: 84,
815
+ 0x8F0: 84,
816
+ 0x8F1: 84,
817
+ 0x8F2: 84,
818
+ 0x8F3: 84,
819
+ 0x8F4: 84,
820
+ 0x8F5: 84,
821
+ 0x8F6: 84,
822
+ 0x8F7: 84,
823
+ 0x8F8: 84,
824
+ 0x8F9: 84,
825
+ 0x8FA: 84,
826
+ 0x8FB: 84,
827
+ 0x8FC: 84,
828
+ 0x8FD: 84,
829
+ 0x8FE: 84,
830
+ 0x8FF: 84,
831
+ 0x900: 84,
832
+ 0x901: 84,
833
+ 0x902: 84,
834
+ 0x93A: 84,
835
+ 0x93C: 84,
836
+ 0x941: 84,
837
+ 0x942: 84,
838
+ 0x943: 84,
839
+ 0x944: 84,
840
+ 0x945: 84,
841
+ 0x946: 84,
842
+ 0x947: 84,
843
+ 0x948: 84,
844
+ 0x94D: 84,
845
+ 0x951: 84,
846
+ 0x952: 84,
847
+ 0x953: 84,
848
+ 0x954: 84,
849
+ 0x955: 84,
850
+ 0x956: 84,
851
+ 0x957: 84,
852
+ 0x962: 84,
853
+ 0x963: 84,
854
+ 0x981: 84,
855
+ 0x9BC: 84,
856
+ 0x9C1: 84,
857
+ 0x9C2: 84,
858
+ 0x9C3: 84,
859
+ 0x9C4: 84,
860
+ 0x9CD: 84,
861
+ 0x9E2: 84,
862
+ 0x9E3: 84,
863
+ 0x9FE: 84,
864
+ 0xA01: 84,
865
+ 0xA02: 84,
866
+ 0xA3C: 84,
867
+ 0xA41: 84,
868
+ 0xA42: 84,
869
+ 0xA47: 84,
870
+ 0xA48: 84,
871
+ 0xA4B: 84,
872
+ 0xA4C: 84,
873
+ 0xA4D: 84,
874
+ 0xA51: 84,
875
+ 0xA70: 84,
876
+ 0xA71: 84,
877
+ 0xA75: 84,
878
+ 0xA81: 84,
879
+ 0xA82: 84,
880
+ 0xABC: 84,
881
+ 0xAC1: 84,
882
+ 0xAC2: 84,
883
+ 0xAC3: 84,
884
+ 0xAC4: 84,
885
+ 0xAC5: 84,
886
+ 0xAC7: 84,
887
+ 0xAC8: 84,
888
+ 0xACD: 84,
889
+ 0xAE2: 84,
890
+ 0xAE3: 84,
891
+ 0xAFA: 84,
892
+ 0xAFB: 84,
893
+ 0xAFC: 84,
894
+ 0xAFD: 84,
895
+ 0xAFE: 84,
896
+ 0xAFF: 84,
897
+ 0xB01: 84,
898
+ 0xB3C: 84,
899
+ 0xB3F: 84,
900
+ 0xB41: 84,
901
+ 0xB42: 84,
902
+ 0xB43: 84,
903
+ 0xB44: 84,
904
+ 0xB4D: 84,
905
+ 0xB55: 84,
906
+ 0xB56: 84,
907
+ 0xB62: 84,
908
+ 0xB63: 84,
909
+ 0xB82: 84,
910
+ 0xBC0: 84,
911
+ 0xBCD: 84,
912
+ 0xC00: 84,
913
+ 0xC04: 84,
914
+ 0xC3C: 84,
915
+ 0xC3E: 84,
916
+ 0xC3F: 84,
917
+ 0xC40: 84,
918
+ 0xC46: 84,
919
+ 0xC47: 84,
920
+ 0xC48: 84,
921
+ 0xC4A: 84,
922
+ 0xC4B: 84,
923
+ 0xC4C: 84,
924
+ 0xC4D: 84,
925
+ 0xC55: 84,
926
+ 0xC56: 84,
927
+ 0xC62: 84,
928
+ 0xC63: 84,
929
+ 0xC81: 84,
930
+ 0xCBC: 84,
931
+ 0xCBF: 84,
932
+ 0xCC6: 84,
933
+ 0xCCC: 84,
934
+ 0xCCD: 84,
935
+ 0xCE2: 84,
936
+ 0xCE3: 84,
937
+ 0xD00: 84,
938
+ 0xD01: 84,
939
+ 0xD3B: 84,
940
+ 0xD3C: 84,
941
+ 0xD41: 84,
942
+ 0xD42: 84,
943
+ 0xD43: 84,
944
+ 0xD44: 84,
945
+ 0xD4D: 84,
946
+ 0xD62: 84,
947
+ 0xD63: 84,
948
+ 0xD81: 84,
949
+ 0xDCA: 84,
950
+ 0xDD2: 84,
951
+ 0xDD3: 84,
952
+ 0xDD4: 84,
953
+ 0xDD6: 84,
954
+ 0xE31: 84,
955
+ 0xE34: 84,
956
+ 0xE35: 84,
957
+ 0xE36: 84,
958
+ 0xE37: 84,
959
+ 0xE38: 84,
960
+ 0xE39: 84,
961
+ 0xE3A: 84,
962
+ 0xE47: 84,
963
+ 0xE48: 84,
964
+ 0xE49: 84,
965
+ 0xE4A: 84,
966
+ 0xE4B: 84,
967
+ 0xE4C: 84,
968
+ 0xE4D: 84,
969
+ 0xE4E: 84,
970
+ 0xEB1: 84,
971
+ 0xEB4: 84,
972
+ 0xEB5: 84,
973
+ 0xEB6: 84,
974
+ 0xEB7: 84,
975
+ 0xEB8: 84,
976
+ 0xEB9: 84,
977
+ 0xEBA: 84,
978
+ 0xEBB: 84,
979
+ 0xEBC: 84,
980
+ 0xEC8: 84,
981
+ 0xEC9: 84,
982
+ 0xECA: 84,
983
+ 0xECB: 84,
984
+ 0xECC: 84,
985
+ 0xECD: 84,
986
+ 0xECE: 84,
987
+ 0xF18: 84,
988
+ 0xF19: 84,
989
+ 0xF35: 84,
990
+ 0xF37: 84,
991
+ 0xF39: 84,
992
+ 0xF71: 84,
993
+ 0xF72: 84,
994
+ 0xF73: 84,
995
+ 0xF74: 84,
996
+ 0xF75: 84,
997
+ 0xF76: 84,
998
+ 0xF77: 84,
999
+ 0xF78: 84,
1000
+ 0xF79: 84,
1001
+ 0xF7A: 84,
1002
+ 0xF7B: 84,
1003
+ 0xF7C: 84,
1004
+ 0xF7D: 84,
1005
+ 0xF7E: 84,
1006
+ 0xF80: 84,
1007
+ 0xF81: 84,
1008
+ 0xF82: 84,
1009
+ 0xF83: 84,
1010
+ 0xF84: 84,
1011
+ 0xF86: 84,
1012
+ 0xF87: 84,
1013
+ 0xF8D: 84,
1014
+ 0xF8E: 84,
1015
+ 0xF8F: 84,
1016
+ 0xF90: 84,
1017
+ 0xF91: 84,
1018
+ 0xF92: 84,
1019
+ 0xF93: 84,
1020
+ 0xF94: 84,
1021
+ 0xF95: 84,
1022
+ 0xF96: 84,
1023
+ 0xF97: 84,
1024
+ 0xF99: 84,
1025
+ 0xF9A: 84,
1026
+ 0xF9B: 84,
1027
+ 0xF9C: 84,
1028
+ 0xF9D: 84,
1029
+ 0xF9E: 84,
1030
+ 0xF9F: 84,
1031
+ 0xFA0: 84,
1032
+ 0xFA1: 84,
1033
+ 0xFA2: 84,
1034
+ 0xFA3: 84,
1035
+ 0xFA4: 84,
1036
+ 0xFA5: 84,
1037
+ 0xFA6: 84,
1038
+ 0xFA7: 84,
1039
+ 0xFA8: 84,
1040
+ 0xFA9: 84,
1041
+ 0xFAA: 84,
1042
+ 0xFAB: 84,
1043
+ 0xFAC: 84,
1044
+ 0xFAD: 84,
1045
+ 0xFAE: 84,
1046
+ 0xFAF: 84,
1047
+ 0xFB0: 84,
1048
+ 0xFB1: 84,
1049
+ 0xFB2: 84,
1050
+ 0xFB3: 84,
1051
+ 0xFB4: 84,
1052
+ 0xFB5: 84,
1053
+ 0xFB6: 84,
1054
+ 0xFB7: 84,
1055
+ 0xFB8: 84,
1056
+ 0xFB9: 84,
1057
+ 0xFBA: 84,
1058
+ 0xFBB: 84,
1059
+ 0xFBC: 84,
1060
+ 0xFC6: 84,
1061
+ 0x102D: 84,
1062
+ 0x102E: 84,
1063
+ 0x102F: 84,
1064
+ 0x1030: 84,
1065
+ 0x1032: 84,
1066
+ 0x1033: 84,
1067
+ 0x1034: 84,
1068
+ 0x1035: 84,
1069
+ 0x1036: 84,
1070
+ 0x1037: 84,
1071
+ 0x1039: 84,
1072
+ 0x103A: 84,
1073
+ 0x103D: 84,
1074
+ 0x103E: 84,
1075
+ 0x1058: 84,
1076
+ 0x1059: 84,
1077
+ 0x105E: 84,
1078
+ 0x105F: 84,
1079
+ 0x1060: 84,
1080
+ 0x1071: 84,
1081
+ 0x1072: 84,
1082
+ 0x1073: 84,
1083
+ 0x1074: 84,
1084
+ 0x1082: 84,
1085
+ 0x1085: 84,
1086
+ 0x1086: 84,
1087
+ 0x108D: 84,
1088
+ 0x109D: 84,
1089
+ 0x135D: 84,
1090
+ 0x135E: 84,
1091
+ 0x135F: 84,
1092
+ 0x1712: 84,
1093
+ 0x1713: 84,
1094
+ 0x1714: 84,
1095
+ 0x1732: 84,
1096
+ 0x1733: 84,
1097
+ 0x1752: 84,
1098
+ 0x1753: 84,
1099
+ 0x1772: 84,
1100
+ 0x1773: 84,
1101
+ 0x17B4: 84,
1102
+ 0x17B5: 84,
1103
+ 0x17B7: 84,
1104
+ 0x17B8: 84,
1105
+ 0x17B9: 84,
1106
+ 0x17BA: 84,
1107
+ 0x17BB: 84,
1108
+ 0x17BC: 84,
1109
+ 0x17BD: 84,
1110
+ 0x17C6: 84,
1111
+ 0x17C9: 84,
1112
+ 0x17CA: 84,
1113
+ 0x17CB: 84,
1114
+ 0x17CC: 84,
1115
+ 0x17CD: 84,
1116
+ 0x17CE: 84,
1117
+ 0x17CF: 84,
1118
+ 0x17D0: 84,
1119
+ 0x17D1: 84,
1120
+ 0x17D2: 84,
1121
+ 0x17D3: 84,
1122
+ 0x17DD: 84,
1123
+ 0x1807: 68,
1124
+ 0x180A: 67,
1125
+ 0x180B: 84,
1126
+ 0x180C: 84,
1127
+ 0x180D: 84,
1128
+ 0x180F: 84,
1129
+ 0x1820: 68,
1130
+ 0x1821: 68,
1131
+ 0x1822: 68,
1132
+ 0x1823: 68,
1133
+ 0x1824: 68,
1134
+ 0x1825: 68,
1135
+ 0x1826: 68,
1136
+ 0x1827: 68,
1137
+ 0x1828: 68,
1138
+ 0x1829: 68,
1139
+ 0x182A: 68,
1140
+ 0x182B: 68,
1141
+ 0x182C: 68,
1142
+ 0x182D: 68,
1143
+ 0x182E: 68,
1144
+ 0x182F: 68,
1145
+ 0x1830: 68,
1146
+ 0x1831: 68,
1147
+ 0x1832: 68,
1148
+ 0x1833: 68,
1149
+ 0x1834: 68,
1150
+ 0x1835: 68,
1151
+ 0x1836: 68,
1152
+ 0x1837: 68,
1153
+ 0x1838: 68,
1154
+ 0x1839: 68,
1155
+ 0x183A: 68,
1156
+ 0x183B: 68,
1157
+ 0x183C: 68,
1158
+ 0x183D: 68,
1159
+ 0x183E: 68,
1160
+ 0x183F: 68,
1161
+ 0x1840: 68,
1162
+ 0x1841: 68,
1163
+ 0x1842: 68,
1164
+ 0x1843: 68,
1165
+ 0x1844: 68,
1166
+ 0x1845: 68,
1167
+ 0x1846: 68,
1168
+ 0x1847: 68,
1169
+ 0x1848: 68,
1170
+ 0x1849: 68,
1171
+ 0x184A: 68,
1172
+ 0x184B: 68,
1173
+ 0x184C: 68,
1174
+ 0x184D: 68,
1175
+ 0x184E: 68,
1176
+ 0x184F: 68,
1177
+ 0x1850: 68,
1178
+ 0x1851: 68,
1179
+ 0x1852: 68,
1180
+ 0x1853: 68,
1181
+ 0x1854: 68,
1182
+ 0x1855: 68,
1183
+ 0x1856: 68,
1184
+ 0x1857: 68,
1185
+ 0x1858: 68,
1186
+ 0x1859: 68,
1187
+ 0x185A: 68,
1188
+ 0x185B: 68,
1189
+ 0x185C: 68,
1190
+ 0x185D: 68,
1191
+ 0x185E: 68,
1192
+ 0x185F: 68,
1193
+ 0x1860: 68,
1194
+ 0x1861: 68,
1195
+ 0x1862: 68,
1196
+ 0x1863: 68,
1197
+ 0x1864: 68,
1198
+ 0x1865: 68,
1199
+ 0x1866: 68,
1200
+ 0x1867: 68,
1201
+ 0x1868: 68,
1202
+ 0x1869: 68,
1203
+ 0x186A: 68,
1204
+ 0x186B: 68,
1205
+ 0x186C: 68,
1206
+ 0x186D: 68,
1207
+ 0x186E: 68,
1208
+ 0x186F: 68,
1209
+ 0x1870: 68,
1210
+ 0x1871: 68,
1211
+ 0x1872: 68,
1212
+ 0x1873: 68,
1213
+ 0x1874: 68,
1214
+ 0x1875: 68,
1215
+ 0x1876: 68,
1216
+ 0x1877: 68,
1217
+ 0x1878: 68,
1218
+ 0x1885: 84,
1219
+ 0x1886: 84,
1220
+ 0x1887: 68,
1221
+ 0x1888: 68,
1222
+ 0x1889: 68,
1223
+ 0x188A: 68,
1224
+ 0x188B: 68,
1225
+ 0x188C: 68,
1226
+ 0x188D: 68,
1227
+ 0x188E: 68,
1228
+ 0x188F: 68,
1229
+ 0x1890: 68,
1230
+ 0x1891: 68,
1231
+ 0x1892: 68,
1232
+ 0x1893: 68,
1233
+ 0x1894: 68,
1234
+ 0x1895: 68,
1235
+ 0x1896: 68,
1236
+ 0x1897: 68,
1237
+ 0x1898: 68,
1238
+ 0x1899: 68,
1239
+ 0x189A: 68,
1240
+ 0x189B: 68,
1241
+ 0x189C: 68,
1242
+ 0x189D: 68,
1243
+ 0x189E: 68,
1244
+ 0x189F: 68,
1245
+ 0x18A0: 68,
1246
+ 0x18A1: 68,
1247
+ 0x18A2: 68,
1248
+ 0x18A3: 68,
1249
+ 0x18A4: 68,
1250
+ 0x18A5: 68,
1251
+ 0x18A6: 68,
1252
+ 0x18A7: 68,
1253
+ 0x18A8: 68,
1254
+ 0x18A9: 84,
1255
+ 0x18AA: 68,
1256
+ 0x1920: 84,
1257
+ 0x1921: 84,
1258
+ 0x1922: 84,
1259
+ 0x1927: 84,
1260
+ 0x1928: 84,
1261
+ 0x1932: 84,
1262
+ 0x1939: 84,
1263
+ 0x193A: 84,
1264
+ 0x193B: 84,
1265
+ 0x1A17: 84,
1266
+ 0x1A18: 84,
1267
+ 0x1A1B: 84,
1268
+ 0x1A56: 84,
1269
+ 0x1A58: 84,
1270
+ 0x1A59: 84,
1271
+ 0x1A5A: 84,
1272
+ 0x1A5B: 84,
1273
+ 0x1A5C: 84,
1274
+ 0x1A5D: 84,
1275
+ 0x1A5E: 84,
1276
+ 0x1A60: 84,
1277
+ 0x1A62: 84,
1278
+ 0x1A65: 84,
1279
+ 0x1A66: 84,
1280
+ 0x1A67: 84,
1281
+ 0x1A68: 84,
1282
+ 0x1A69: 84,
1283
+ 0x1A6A: 84,
1284
+ 0x1A6B: 84,
1285
+ 0x1A6C: 84,
1286
+ 0x1A73: 84,
1287
+ 0x1A74: 84,
1288
+ 0x1A75: 84,
1289
+ 0x1A76: 84,
1290
+ 0x1A77: 84,
1291
+ 0x1A78: 84,
1292
+ 0x1A79: 84,
1293
+ 0x1A7A: 84,
1294
+ 0x1A7B: 84,
1295
+ 0x1A7C: 84,
1296
+ 0x1A7F: 84,
1297
+ 0x1AB0: 84,
1298
+ 0x1AB1: 84,
1299
+ 0x1AB2: 84,
1300
+ 0x1AB3: 84,
1301
+ 0x1AB4: 84,
1302
+ 0x1AB5: 84,
1303
+ 0x1AB6: 84,
1304
+ 0x1AB7: 84,
1305
+ 0x1AB8: 84,
1306
+ 0x1AB9: 84,
1307
+ 0x1ABA: 84,
1308
+ 0x1ABB: 84,
1309
+ 0x1ABC: 84,
1310
+ 0x1ABD: 84,
1311
+ 0x1ABE: 84,
1312
+ 0x1ABF: 84,
1313
+ 0x1AC0: 84,
1314
+ 0x1AC1: 84,
1315
+ 0x1AC2: 84,
1316
+ 0x1AC3: 84,
1317
+ 0x1AC4: 84,
1318
+ 0x1AC5: 84,
1319
+ 0x1AC6: 84,
1320
+ 0x1AC7: 84,
1321
+ 0x1AC8: 84,
1322
+ 0x1AC9: 84,
1323
+ 0x1ACA: 84,
1324
+ 0x1ACB: 84,
1325
+ 0x1ACC: 84,
1326
+ 0x1ACD: 84,
1327
+ 0x1ACE: 84,
1328
+ 0x1B00: 84,
1329
+ 0x1B01: 84,
1330
+ 0x1B02: 84,
1331
+ 0x1B03: 84,
1332
+ 0x1B34: 84,
1333
+ 0x1B36: 84,
1334
+ 0x1B37: 84,
1335
+ 0x1B38: 84,
1336
+ 0x1B39: 84,
1337
+ 0x1B3A: 84,
1338
+ 0x1B3C: 84,
1339
+ 0x1B42: 84,
1340
+ 0x1B6B: 84,
1341
+ 0x1B6C: 84,
1342
+ 0x1B6D: 84,
1343
+ 0x1B6E: 84,
1344
+ 0x1B6F: 84,
1345
+ 0x1B70: 84,
1346
+ 0x1B71: 84,
1347
+ 0x1B72: 84,
1348
+ 0x1B73: 84,
1349
+ 0x1B80: 84,
1350
+ 0x1B81: 84,
1351
+ 0x1BA2: 84,
1352
+ 0x1BA3: 84,
1353
+ 0x1BA4: 84,
1354
+ 0x1BA5: 84,
1355
+ 0x1BA8: 84,
1356
+ 0x1BA9: 84,
1357
+ 0x1BAB: 84,
1358
+ 0x1BAC: 84,
1359
+ 0x1BAD: 84,
1360
+ 0x1BE6: 84,
1361
+ 0x1BE8: 84,
1362
+ 0x1BE9: 84,
1363
+ 0x1BED: 84,
1364
+ 0x1BEF: 84,
1365
+ 0x1BF0: 84,
1366
+ 0x1BF1: 84,
1367
+ 0x1C2C: 84,
1368
+ 0x1C2D: 84,
1369
+ 0x1C2E: 84,
1370
+ 0x1C2F: 84,
1371
+ 0x1C30: 84,
1372
+ 0x1C31: 84,
1373
+ 0x1C32: 84,
1374
+ 0x1C33: 84,
1375
+ 0x1C36: 84,
1376
+ 0x1C37: 84,
1377
+ 0x1CD0: 84,
1378
+ 0x1CD1: 84,
1379
+ 0x1CD2: 84,
1380
+ 0x1CD4: 84,
1381
+ 0x1CD5: 84,
1382
+ 0x1CD6: 84,
1383
+ 0x1CD7: 84,
1384
+ 0x1CD8: 84,
1385
+ 0x1CD9: 84,
1386
+ 0x1CDA: 84,
1387
+ 0x1CDB: 84,
1388
+ 0x1CDC: 84,
1389
+ 0x1CDD: 84,
1390
+ 0x1CDE: 84,
1391
+ 0x1CDF: 84,
1392
+ 0x1CE0: 84,
1393
+ 0x1CE2: 84,
1394
+ 0x1CE3: 84,
1395
+ 0x1CE4: 84,
1396
+ 0x1CE5: 84,
1397
+ 0x1CE6: 84,
1398
+ 0x1CE7: 84,
1399
+ 0x1CE8: 84,
1400
+ 0x1CED: 84,
1401
+ 0x1CF4: 84,
1402
+ 0x1CF8: 84,
1403
+ 0x1CF9: 84,
1404
+ 0x1DC0: 84,
1405
+ 0x1DC1: 84,
1406
+ 0x1DC2: 84,
1407
+ 0x1DC3: 84,
1408
+ 0x1DC4: 84,
1409
+ 0x1DC5: 84,
1410
+ 0x1DC6: 84,
1411
+ 0x1DC7: 84,
1412
+ 0x1DC8: 84,
1413
+ 0x1DC9: 84,
1414
+ 0x1DCA: 84,
1415
+ 0x1DCB: 84,
1416
+ 0x1DCC: 84,
1417
+ 0x1DCD: 84,
1418
+ 0x1DCE: 84,
1419
+ 0x1DCF: 84,
1420
+ 0x1DD0: 84,
1421
+ 0x1DD1: 84,
1422
+ 0x1DD2: 84,
1423
+ 0x1DD3: 84,
1424
+ 0x1DD4: 84,
1425
+ 0x1DD5: 84,
1426
+ 0x1DD6: 84,
1427
+ 0x1DD7: 84,
1428
+ 0x1DD8: 84,
1429
+ 0x1DD9: 84,
1430
+ 0x1DDA: 84,
1431
+ 0x1DDB: 84,
1432
+ 0x1DDC: 84,
1433
+ 0x1DDD: 84,
1434
+ 0x1DDE: 84,
1435
+ 0x1DDF: 84,
1436
+ 0x1DE0: 84,
1437
+ 0x1DE1: 84,
1438
+ 0x1DE2: 84,
1439
+ 0x1DE3: 84,
1440
+ 0x1DE4: 84,
1441
+ 0x1DE5: 84,
1442
+ 0x1DE6: 84,
1443
+ 0x1DE7: 84,
1444
+ 0x1DE8: 84,
1445
+ 0x1DE9: 84,
1446
+ 0x1DEA: 84,
1447
+ 0x1DEB: 84,
1448
+ 0x1DEC: 84,
1449
+ 0x1DED: 84,
1450
+ 0x1DEE: 84,
1451
+ 0x1DEF: 84,
1452
+ 0x1DF0: 84,
1453
+ 0x1DF1: 84,
1454
+ 0x1DF2: 84,
1455
+ 0x1DF3: 84,
1456
+ 0x1DF4: 84,
1457
+ 0x1DF5: 84,
1458
+ 0x1DF6: 84,
1459
+ 0x1DF7: 84,
1460
+ 0x1DF8: 84,
1461
+ 0x1DF9: 84,
1462
+ 0x1DFA: 84,
1463
+ 0x1DFB: 84,
1464
+ 0x1DFC: 84,
1465
+ 0x1DFD: 84,
1466
+ 0x1DFE: 84,
1467
+ 0x1DFF: 84,
1468
+ 0x200B: 84,
1469
+ 0x200D: 67,
1470
+ 0x200E: 84,
1471
+ 0x200F: 84,
1472
+ 0x202A: 84,
1473
+ 0x202B: 84,
1474
+ 0x202C: 84,
1475
+ 0x202D: 84,
1476
+ 0x202E: 84,
1477
+ 0x2060: 84,
1478
+ 0x2061: 84,
1479
+ 0x2062: 84,
1480
+ 0x2063: 84,
1481
+ 0x2064: 84,
1482
+ 0x206A: 84,
1483
+ 0x206B: 84,
1484
+ 0x206C: 84,
1485
+ 0x206D: 84,
1486
+ 0x206E: 84,
1487
+ 0x206F: 84,
1488
+ 0x20D0: 84,
1489
+ 0x20D1: 84,
1490
+ 0x20D2: 84,
1491
+ 0x20D3: 84,
1492
+ 0x20D4: 84,
1493
+ 0x20D5: 84,
1494
+ 0x20D6: 84,
1495
+ 0x20D7: 84,
1496
+ 0x20D8: 84,
1497
+ 0x20D9: 84,
1498
+ 0x20DA: 84,
1499
+ 0x20DB: 84,
1500
+ 0x20DC: 84,
1501
+ 0x20DD: 84,
1502
+ 0x20DE: 84,
1503
+ 0x20DF: 84,
1504
+ 0x20E0: 84,
1505
+ 0x20E1: 84,
1506
+ 0x20E2: 84,
1507
+ 0x20E3: 84,
1508
+ 0x20E4: 84,
1509
+ 0x20E5: 84,
1510
+ 0x20E6: 84,
1511
+ 0x20E7: 84,
1512
+ 0x20E8: 84,
1513
+ 0x20E9: 84,
1514
+ 0x20EA: 84,
1515
+ 0x20EB: 84,
1516
+ 0x20EC: 84,
1517
+ 0x20ED: 84,
1518
+ 0x20EE: 84,
1519
+ 0x20EF: 84,
1520
+ 0x20F0: 84,
1521
+ 0x2CEF: 84,
1522
+ 0x2CF0: 84,
1523
+ 0x2CF1: 84,
1524
+ 0x2D7F: 84,
1525
+ 0x2DE0: 84,
1526
+ 0x2DE1: 84,
1527
+ 0x2DE2: 84,
1528
+ 0x2DE3: 84,
1529
+ 0x2DE4: 84,
1530
+ 0x2DE5: 84,
1531
+ 0x2DE6: 84,
1532
+ 0x2DE7: 84,
1533
+ 0x2DE8: 84,
1534
+ 0x2DE9: 84,
1535
+ 0x2DEA: 84,
1536
+ 0x2DEB: 84,
1537
+ 0x2DEC: 84,
1538
+ 0x2DED: 84,
1539
+ 0x2DEE: 84,
1540
+ 0x2DEF: 84,
1541
+ 0x2DF0: 84,
1542
+ 0x2DF1: 84,
1543
+ 0x2DF2: 84,
1544
+ 0x2DF3: 84,
1545
+ 0x2DF4: 84,
1546
+ 0x2DF5: 84,
1547
+ 0x2DF6: 84,
1548
+ 0x2DF7: 84,
1549
+ 0x2DF8: 84,
1550
+ 0x2DF9: 84,
1551
+ 0x2DFA: 84,
1552
+ 0x2DFB: 84,
1553
+ 0x2DFC: 84,
1554
+ 0x2DFD: 84,
1555
+ 0x2DFE: 84,
1556
+ 0x2DFF: 84,
1557
+ 0x302A: 84,
1558
+ 0x302B: 84,
1559
+ 0x302C: 84,
1560
+ 0x302D: 84,
1561
+ 0x3099: 84,
1562
+ 0x309A: 84,
1563
+ 0xA66F: 84,
1564
+ 0xA670: 84,
1565
+ 0xA671: 84,
1566
+ 0xA672: 84,
1567
+ 0xA674: 84,
1568
+ 0xA675: 84,
1569
+ 0xA676: 84,
1570
+ 0xA677: 84,
1571
+ 0xA678: 84,
1572
+ 0xA679: 84,
1573
+ 0xA67A: 84,
1574
+ 0xA67B: 84,
1575
+ 0xA67C: 84,
1576
+ 0xA67D: 84,
1577
+ 0xA69E: 84,
1578
+ 0xA69F: 84,
1579
+ 0xA6F0: 84,
1580
+ 0xA6F1: 84,
1581
+ 0xA802: 84,
1582
+ 0xA806: 84,
1583
+ 0xA80B: 84,
1584
+ 0xA825: 84,
1585
+ 0xA826: 84,
1586
+ 0xA82C: 84,
1587
+ 0xA840: 68,
1588
+ 0xA841: 68,
1589
+ 0xA842: 68,
1590
+ 0xA843: 68,
1591
+ 0xA844: 68,
1592
+ 0xA845: 68,
1593
+ 0xA846: 68,
1594
+ 0xA847: 68,
1595
+ 0xA848: 68,
1596
+ 0xA849: 68,
1597
+ 0xA84A: 68,
1598
+ 0xA84B: 68,
1599
+ 0xA84C: 68,
1600
+ 0xA84D: 68,
1601
+ 0xA84E: 68,
1602
+ 0xA84F: 68,
1603
+ 0xA850: 68,
1604
+ 0xA851: 68,
1605
+ 0xA852: 68,
1606
+ 0xA853: 68,
1607
+ 0xA854: 68,
1608
+ 0xA855: 68,
1609
+ 0xA856: 68,
1610
+ 0xA857: 68,
1611
+ 0xA858: 68,
1612
+ 0xA859: 68,
1613
+ 0xA85A: 68,
1614
+ 0xA85B: 68,
1615
+ 0xA85C: 68,
1616
+ 0xA85D: 68,
1617
+ 0xA85E: 68,
1618
+ 0xA85F: 68,
1619
+ 0xA860: 68,
1620
+ 0xA861: 68,
1621
+ 0xA862: 68,
1622
+ 0xA863: 68,
1623
+ 0xA864: 68,
1624
+ 0xA865: 68,
1625
+ 0xA866: 68,
1626
+ 0xA867: 68,
1627
+ 0xA868: 68,
1628
+ 0xA869: 68,
1629
+ 0xA86A: 68,
1630
+ 0xA86B: 68,
1631
+ 0xA86C: 68,
1632
+ 0xA86D: 68,
1633
+ 0xA86E: 68,
1634
+ 0xA86F: 68,
1635
+ 0xA870: 68,
1636
+ 0xA871: 68,
1637
+ 0xA872: 76,
1638
+ 0xA8C4: 84,
1639
+ 0xA8C5: 84,
1640
+ 0xA8E0: 84,
1641
+ 0xA8E1: 84,
1642
+ 0xA8E2: 84,
1643
+ 0xA8E3: 84,
1644
+ 0xA8E4: 84,
1645
+ 0xA8E5: 84,
1646
+ 0xA8E6: 84,
1647
+ 0xA8E7: 84,
1648
+ 0xA8E8: 84,
1649
+ 0xA8E9: 84,
1650
+ 0xA8EA: 84,
1651
+ 0xA8EB: 84,
1652
+ 0xA8EC: 84,
1653
+ 0xA8ED: 84,
1654
+ 0xA8EE: 84,
1655
+ 0xA8EF: 84,
1656
+ 0xA8F0: 84,
1657
+ 0xA8F1: 84,
1658
+ 0xA8FF: 84,
1659
+ 0xA926: 84,
1660
+ 0xA927: 84,
1661
+ 0xA928: 84,
1662
+ 0xA929: 84,
1663
+ 0xA92A: 84,
1664
+ 0xA92B: 84,
1665
+ 0xA92C: 84,
1666
+ 0xA92D: 84,
1667
+ 0xA947: 84,
1668
+ 0xA948: 84,
1669
+ 0xA949: 84,
1670
+ 0xA94A: 84,
1671
+ 0xA94B: 84,
1672
+ 0xA94C: 84,
1673
+ 0xA94D: 84,
1674
+ 0xA94E: 84,
1675
+ 0xA94F: 84,
1676
+ 0xA950: 84,
1677
+ 0xA951: 84,
1678
+ 0xA980: 84,
1679
+ 0xA981: 84,
1680
+ 0xA982: 84,
1681
+ 0xA9B3: 84,
1682
+ 0xA9B6: 84,
1683
+ 0xA9B7: 84,
1684
+ 0xA9B8: 84,
1685
+ 0xA9B9: 84,
1686
+ 0xA9BC: 84,
1687
+ 0xA9BD: 84,
1688
+ 0xA9E5: 84,
1689
+ 0xAA29: 84,
1690
+ 0xAA2A: 84,
1691
+ 0xAA2B: 84,
1692
+ 0xAA2C: 84,
1693
+ 0xAA2D: 84,
1694
+ 0xAA2E: 84,
1695
+ 0xAA31: 84,
1696
+ 0xAA32: 84,
1697
+ 0xAA35: 84,
1698
+ 0xAA36: 84,
1699
+ 0xAA43: 84,
1700
+ 0xAA4C: 84,
1701
+ 0xAA7C: 84,
1702
+ 0xAAB0: 84,
1703
+ 0xAAB2: 84,
1704
+ 0xAAB3: 84,
1705
+ 0xAAB4: 84,
1706
+ 0xAAB7: 84,
1707
+ 0xAAB8: 84,
1708
+ 0xAABE: 84,
1709
+ 0xAABF: 84,
1710
+ 0xAAC1: 84,
1711
+ 0xAAEC: 84,
1712
+ 0xAAED: 84,
1713
+ 0xAAF6: 84,
1714
+ 0xABE5: 84,
1715
+ 0xABE8: 84,
1716
+ 0xABED: 84,
1717
+ 0xFB1E: 84,
1718
+ 0xFE00: 84,
1719
+ 0xFE01: 84,
1720
+ 0xFE02: 84,
1721
+ 0xFE03: 84,
1722
+ 0xFE04: 84,
1723
+ 0xFE05: 84,
1724
+ 0xFE06: 84,
1725
+ 0xFE07: 84,
1726
+ 0xFE08: 84,
1727
+ 0xFE09: 84,
1728
+ 0xFE0A: 84,
1729
+ 0xFE0B: 84,
1730
+ 0xFE0C: 84,
1731
+ 0xFE0D: 84,
1732
+ 0xFE0E: 84,
1733
+ 0xFE0F: 84,
1734
+ 0xFE20: 84,
1735
+ 0xFE21: 84,
1736
+ 0xFE22: 84,
1737
+ 0xFE23: 84,
1738
+ 0xFE24: 84,
1739
+ 0xFE25: 84,
1740
+ 0xFE26: 84,
1741
+ 0xFE27: 84,
1742
+ 0xFE28: 84,
1743
+ 0xFE29: 84,
1744
+ 0xFE2A: 84,
1745
+ 0xFE2B: 84,
1746
+ 0xFE2C: 84,
1747
+ 0xFE2D: 84,
1748
+ 0xFE2E: 84,
1749
+ 0xFE2F: 84,
1750
+ 0xFEFF: 84,
1751
+ 0xFFF9: 84,
1752
+ 0xFFFA: 84,
1753
+ 0xFFFB: 84,
1754
+ 0x101FD: 84,
1755
+ 0x102E0: 84,
1756
+ 0x10376: 84,
1757
+ 0x10377: 84,
1758
+ 0x10378: 84,
1759
+ 0x10379: 84,
1760
+ 0x1037A: 84,
1761
+ 0x10A01: 84,
1762
+ 0x10A02: 84,
1763
+ 0x10A03: 84,
1764
+ 0x10A05: 84,
1765
+ 0x10A06: 84,
1766
+ 0x10A0C: 84,
1767
+ 0x10A0D: 84,
1768
+ 0x10A0E: 84,
1769
+ 0x10A0F: 84,
1770
+ 0x10A38: 84,
1771
+ 0x10A39: 84,
1772
+ 0x10A3A: 84,
1773
+ 0x10A3F: 84,
1774
+ 0x10AC0: 68,
1775
+ 0x10AC1: 68,
1776
+ 0x10AC2: 68,
1777
+ 0x10AC3: 68,
1778
+ 0x10AC4: 68,
1779
+ 0x10AC5: 82,
1780
+ 0x10AC7: 82,
1781
+ 0x10AC9: 82,
1782
+ 0x10ACA: 82,
1783
+ 0x10ACD: 76,
1784
+ 0x10ACE: 82,
1785
+ 0x10ACF: 82,
1786
+ 0x10AD0: 82,
1787
+ 0x10AD1: 82,
1788
+ 0x10AD2: 82,
1789
+ 0x10AD3: 68,
1790
+ 0x10AD4: 68,
1791
+ 0x10AD5: 68,
1792
+ 0x10AD6: 68,
1793
+ 0x10AD7: 76,
1794
+ 0x10AD8: 68,
1795
+ 0x10AD9: 68,
1796
+ 0x10ADA: 68,
1797
+ 0x10ADB: 68,
1798
+ 0x10ADC: 68,
1799
+ 0x10ADD: 82,
1800
+ 0x10ADE: 68,
1801
+ 0x10ADF: 68,
1802
+ 0x10AE0: 68,
1803
+ 0x10AE1: 82,
1804
+ 0x10AE4: 82,
1805
+ 0x10AE5: 84,
1806
+ 0x10AE6: 84,
1807
+ 0x10AEB: 68,
1808
+ 0x10AEC: 68,
1809
+ 0x10AED: 68,
1810
+ 0x10AEE: 68,
1811
+ 0x10AEF: 82,
1812
+ 0x10B80: 68,
1813
+ 0x10B81: 82,
1814
+ 0x10B82: 68,
1815
+ 0x10B83: 82,
1816
+ 0x10B84: 82,
1817
+ 0x10B85: 82,
1818
+ 0x10B86: 68,
1819
+ 0x10B87: 68,
1820
+ 0x10B88: 68,
1821
+ 0x10B89: 82,
1822
+ 0x10B8A: 68,
1823
+ 0x10B8B: 68,
1824
+ 0x10B8C: 82,
1825
+ 0x10B8D: 68,
1826
+ 0x10B8E: 82,
1827
+ 0x10B8F: 82,
1828
+ 0x10B90: 68,
1829
+ 0x10B91: 82,
1830
+ 0x10BA9: 82,
1831
+ 0x10BAA: 82,
1832
+ 0x10BAB: 82,
1833
+ 0x10BAC: 82,
1834
+ 0x10BAD: 68,
1835
+ 0x10BAE: 68,
1836
+ 0x10D00: 76,
1837
+ 0x10D01: 68,
1838
+ 0x10D02: 68,
1839
+ 0x10D03: 68,
1840
+ 0x10D04: 68,
1841
+ 0x10D05: 68,
1842
+ 0x10D06: 68,
1843
+ 0x10D07: 68,
1844
+ 0x10D08: 68,
1845
+ 0x10D09: 68,
1846
+ 0x10D0A: 68,
1847
+ 0x10D0B: 68,
1848
+ 0x10D0C: 68,
1849
+ 0x10D0D: 68,
1850
+ 0x10D0E: 68,
1851
+ 0x10D0F: 68,
1852
+ 0x10D10: 68,
1853
+ 0x10D11: 68,
1854
+ 0x10D12: 68,
1855
+ 0x10D13: 68,
1856
+ 0x10D14: 68,
1857
+ 0x10D15: 68,
1858
+ 0x10D16: 68,
1859
+ 0x10D17: 68,
1860
+ 0x10D18: 68,
1861
+ 0x10D19: 68,
1862
+ 0x10D1A: 68,
1863
+ 0x10D1B: 68,
1864
+ 0x10D1C: 68,
1865
+ 0x10D1D: 68,
1866
+ 0x10D1E: 68,
1867
+ 0x10D1F: 68,
1868
+ 0x10D20: 68,
1869
+ 0x10D21: 68,
1870
+ 0x10D22: 82,
1871
+ 0x10D23: 68,
1872
+ 0x10D24: 84,
1873
+ 0x10D25: 84,
1874
+ 0x10D26: 84,
1875
+ 0x10D27: 84,
1876
+ 0x10EAB: 84,
1877
+ 0x10EAC: 84,
1878
+ 0x10EFD: 84,
1879
+ 0x10EFE: 84,
1880
+ 0x10EFF: 84,
1881
+ 0x10F30: 68,
1882
+ 0x10F31: 68,
1883
+ 0x10F32: 68,
1884
+ 0x10F33: 82,
1885
+ 0x10F34: 68,
1886
+ 0x10F35: 68,
1887
+ 0x10F36: 68,
1888
+ 0x10F37: 68,
1889
+ 0x10F38: 68,
1890
+ 0x10F39: 68,
1891
+ 0x10F3A: 68,
1892
+ 0x10F3B: 68,
1893
+ 0x10F3C: 68,
1894
+ 0x10F3D: 68,
1895
+ 0x10F3E: 68,
1896
+ 0x10F3F: 68,
1897
+ 0x10F40: 68,
1898
+ 0x10F41: 68,
1899
+ 0x10F42: 68,
1900
+ 0x10F43: 68,
1901
+ 0x10F44: 68,
1902
+ 0x10F46: 84,
1903
+ 0x10F47: 84,
1904
+ 0x10F48: 84,
1905
+ 0x10F49: 84,
1906
+ 0x10F4A: 84,
1907
+ 0x10F4B: 84,
1908
+ 0x10F4C: 84,
1909
+ 0x10F4D: 84,
1910
+ 0x10F4E: 84,
1911
+ 0x10F4F: 84,
1912
+ 0x10F50: 84,
1913
+ 0x10F51: 68,
1914
+ 0x10F52: 68,
1915
+ 0x10F53: 68,
1916
+ 0x10F54: 82,
1917
+ 0x10F70: 68,
1918
+ 0x10F71: 68,
1919
+ 0x10F72: 68,
1920
+ 0x10F73: 68,
1921
+ 0x10F74: 82,
1922
+ 0x10F75: 82,
1923
+ 0x10F76: 68,
1924
+ 0x10F77: 68,
1925
+ 0x10F78: 68,
1926
+ 0x10F79: 68,
1927
+ 0x10F7A: 68,
1928
+ 0x10F7B: 68,
1929
+ 0x10F7C: 68,
1930
+ 0x10F7D: 68,
1931
+ 0x10F7E: 68,
1932
+ 0x10F7F: 68,
1933
+ 0x10F80: 68,
1934
+ 0x10F81: 68,
1935
+ 0x10F82: 84,
1936
+ 0x10F83: 84,
1937
+ 0x10F84: 84,
1938
+ 0x10F85: 84,
1939
+ 0x10FB0: 68,
1940
+ 0x10FB2: 68,
1941
+ 0x10FB3: 68,
1942
+ 0x10FB4: 82,
1943
+ 0x10FB5: 82,
1944
+ 0x10FB6: 82,
1945
+ 0x10FB8: 68,
1946
+ 0x10FB9: 82,
1947
+ 0x10FBA: 82,
1948
+ 0x10FBB: 68,
1949
+ 0x10FBC: 68,
1950
+ 0x10FBD: 82,
1951
+ 0x10FBE: 68,
1952
+ 0x10FBF: 68,
1953
+ 0x10FC1: 68,
1954
+ 0x10FC2: 82,
1955
+ 0x10FC3: 82,
1956
+ 0x10FC4: 68,
1957
+ 0x10FC9: 82,
1958
+ 0x10FCA: 68,
1959
+ 0x10FCB: 76,
1960
+ 0x11001: 84,
1961
+ 0x11038: 84,
1962
+ 0x11039: 84,
1963
+ 0x1103A: 84,
1964
+ 0x1103B: 84,
1965
+ 0x1103C: 84,
1966
+ 0x1103D: 84,
1967
+ 0x1103E: 84,
1968
+ 0x1103F: 84,
1969
+ 0x11040: 84,
1970
+ 0x11041: 84,
1971
+ 0x11042: 84,
1972
+ 0x11043: 84,
1973
+ 0x11044: 84,
1974
+ 0x11045: 84,
1975
+ 0x11046: 84,
1976
+ 0x11070: 84,
1977
+ 0x11073: 84,
1978
+ 0x11074: 84,
1979
+ 0x1107F: 84,
1980
+ 0x11080: 84,
1981
+ 0x11081: 84,
1982
+ 0x110B3: 84,
1983
+ 0x110B4: 84,
1984
+ 0x110B5: 84,
1985
+ 0x110B6: 84,
1986
+ 0x110B9: 84,
1987
+ 0x110BA: 84,
1988
+ 0x110C2: 84,
1989
+ 0x11100: 84,
1990
+ 0x11101: 84,
1991
+ 0x11102: 84,
1992
+ 0x11127: 84,
1993
+ 0x11128: 84,
1994
+ 0x11129: 84,
1995
+ 0x1112A: 84,
1996
+ 0x1112B: 84,
1997
+ 0x1112D: 84,
1998
+ 0x1112E: 84,
1999
+ 0x1112F: 84,
2000
+ 0x11130: 84,
2001
+ 0x11131: 84,
2002
+ 0x11132: 84,
2003
+ 0x11133: 84,
2004
+ 0x11134: 84,
2005
+ 0x11173: 84,
2006
+ 0x11180: 84,
2007
+ 0x11181: 84,
2008
+ 0x111B6: 84,
2009
+ 0x111B7: 84,
2010
+ 0x111B8: 84,
2011
+ 0x111B9: 84,
2012
+ 0x111BA: 84,
2013
+ 0x111BB: 84,
2014
+ 0x111BC: 84,
2015
+ 0x111BD: 84,
2016
+ 0x111BE: 84,
2017
+ 0x111C9: 84,
2018
+ 0x111CA: 84,
2019
+ 0x111CB: 84,
2020
+ 0x111CC: 84,
2021
+ 0x111CF: 84,
2022
+ 0x1122F: 84,
2023
+ 0x11230: 84,
2024
+ 0x11231: 84,
2025
+ 0x11234: 84,
2026
+ 0x11236: 84,
2027
+ 0x11237: 84,
2028
+ 0x1123E: 84,
2029
+ 0x11241: 84,
2030
+ 0x112DF: 84,
2031
+ 0x112E3: 84,
2032
+ 0x112E4: 84,
2033
+ 0x112E5: 84,
2034
+ 0x112E6: 84,
2035
+ 0x112E7: 84,
2036
+ 0x112E8: 84,
2037
+ 0x112E9: 84,
2038
+ 0x112EA: 84,
2039
+ 0x11300: 84,
2040
+ 0x11301: 84,
2041
+ 0x1133B: 84,
2042
+ 0x1133C: 84,
2043
+ 0x11340: 84,
2044
+ 0x11366: 84,
2045
+ 0x11367: 84,
2046
+ 0x11368: 84,
2047
+ 0x11369: 84,
2048
+ 0x1136A: 84,
2049
+ 0x1136B: 84,
2050
+ 0x1136C: 84,
2051
+ 0x11370: 84,
2052
+ 0x11371: 84,
2053
+ 0x11372: 84,
2054
+ 0x11373: 84,
2055
+ 0x11374: 84,
2056
+ 0x11438: 84,
2057
+ 0x11439: 84,
2058
+ 0x1143A: 84,
2059
+ 0x1143B: 84,
2060
+ 0x1143C: 84,
2061
+ 0x1143D: 84,
2062
+ 0x1143E: 84,
2063
+ 0x1143F: 84,
2064
+ 0x11442: 84,
2065
+ 0x11443: 84,
2066
+ 0x11444: 84,
2067
+ 0x11446: 84,
2068
+ 0x1145E: 84,
2069
+ 0x114B3: 84,
2070
+ 0x114B4: 84,
2071
+ 0x114B5: 84,
2072
+ 0x114B6: 84,
2073
+ 0x114B7: 84,
2074
+ 0x114B8: 84,
2075
+ 0x114BA: 84,
2076
+ 0x114BF: 84,
2077
+ 0x114C0: 84,
2078
+ 0x114C2: 84,
2079
+ 0x114C3: 84,
2080
+ 0x115B2: 84,
2081
+ 0x115B3: 84,
2082
+ 0x115B4: 84,
2083
+ 0x115B5: 84,
2084
+ 0x115BC: 84,
2085
+ 0x115BD: 84,
2086
+ 0x115BF: 84,
2087
+ 0x115C0: 84,
2088
+ 0x115DC: 84,
2089
+ 0x115DD: 84,
2090
+ 0x11633: 84,
2091
+ 0x11634: 84,
2092
+ 0x11635: 84,
2093
+ 0x11636: 84,
2094
+ 0x11637: 84,
2095
+ 0x11638: 84,
2096
+ 0x11639: 84,
2097
+ 0x1163A: 84,
2098
+ 0x1163D: 84,
2099
+ 0x1163F: 84,
2100
+ 0x11640: 84,
2101
+ 0x116AB: 84,
2102
+ 0x116AD: 84,
2103
+ 0x116B0: 84,
2104
+ 0x116B1: 84,
2105
+ 0x116B2: 84,
2106
+ 0x116B3: 84,
2107
+ 0x116B4: 84,
2108
+ 0x116B5: 84,
2109
+ 0x116B7: 84,
2110
+ 0x1171D: 84,
2111
+ 0x1171E: 84,
2112
+ 0x1171F: 84,
2113
+ 0x11722: 84,
2114
+ 0x11723: 84,
2115
+ 0x11724: 84,
2116
+ 0x11725: 84,
2117
+ 0x11727: 84,
2118
+ 0x11728: 84,
2119
+ 0x11729: 84,
2120
+ 0x1172A: 84,
2121
+ 0x1172B: 84,
2122
+ 0x1182F: 84,
2123
+ 0x11830: 84,
2124
+ 0x11831: 84,
2125
+ 0x11832: 84,
2126
+ 0x11833: 84,
2127
+ 0x11834: 84,
2128
+ 0x11835: 84,
2129
+ 0x11836: 84,
2130
+ 0x11837: 84,
2131
+ 0x11839: 84,
2132
+ 0x1183A: 84,
2133
+ 0x1193B: 84,
2134
+ 0x1193C: 84,
2135
+ 0x1193E: 84,
2136
+ 0x11943: 84,
2137
+ 0x119D4: 84,
2138
+ 0x119D5: 84,
2139
+ 0x119D6: 84,
2140
+ 0x119D7: 84,
2141
+ 0x119DA: 84,
2142
+ 0x119DB: 84,
2143
+ 0x119E0: 84,
2144
+ 0x11A01: 84,
2145
+ 0x11A02: 84,
2146
+ 0x11A03: 84,
2147
+ 0x11A04: 84,
2148
+ 0x11A05: 84,
2149
+ 0x11A06: 84,
2150
+ 0x11A07: 84,
2151
+ 0x11A08: 84,
2152
+ 0x11A09: 84,
2153
+ 0x11A0A: 84,
2154
+ 0x11A33: 84,
2155
+ 0x11A34: 84,
2156
+ 0x11A35: 84,
2157
+ 0x11A36: 84,
2158
+ 0x11A37: 84,
2159
+ 0x11A38: 84,
2160
+ 0x11A3B: 84,
2161
+ 0x11A3C: 84,
2162
+ 0x11A3D: 84,
2163
+ 0x11A3E: 84,
2164
+ 0x11A47: 84,
2165
+ 0x11A51: 84,
2166
+ 0x11A52: 84,
2167
+ 0x11A53: 84,
2168
+ 0x11A54: 84,
2169
+ 0x11A55: 84,
2170
+ 0x11A56: 84,
2171
+ 0x11A59: 84,
2172
+ 0x11A5A: 84,
2173
+ 0x11A5B: 84,
2174
+ 0x11A8A: 84,
2175
+ 0x11A8B: 84,
2176
+ 0x11A8C: 84,
2177
+ 0x11A8D: 84,
2178
+ 0x11A8E: 84,
2179
+ 0x11A8F: 84,
2180
+ 0x11A90: 84,
2181
+ 0x11A91: 84,
2182
+ 0x11A92: 84,
2183
+ 0x11A93: 84,
2184
+ 0x11A94: 84,
2185
+ 0x11A95: 84,
2186
+ 0x11A96: 84,
2187
+ 0x11A98: 84,
2188
+ 0x11A99: 84,
2189
+ 0x11C30: 84,
2190
+ 0x11C31: 84,
2191
+ 0x11C32: 84,
2192
+ 0x11C33: 84,
2193
+ 0x11C34: 84,
2194
+ 0x11C35: 84,
2195
+ 0x11C36: 84,
2196
+ 0x11C38: 84,
2197
+ 0x11C39: 84,
2198
+ 0x11C3A: 84,
2199
+ 0x11C3B: 84,
2200
+ 0x11C3C: 84,
2201
+ 0x11C3D: 84,
2202
+ 0x11C3F: 84,
2203
+ 0x11C92: 84,
2204
+ 0x11C93: 84,
2205
+ 0x11C94: 84,
2206
+ 0x11C95: 84,
2207
+ 0x11C96: 84,
2208
+ 0x11C97: 84,
2209
+ 0x11C98: 84,
2210
+ 0x11C99: 84,
2211
+ 0x11C9A: 84,
2212
+ 0x11C9B: 84,
2213
+ 0x11C9C: 84,
2214
+ 0x11C9D: 84,
2215
+ 0x11C9E: 84,
2216
+ 0x11C9F: 84,
2217
+ 0x11CA0: 84,
2218
+ 0x11CA1: 84,
2219
+ 0x11CA2: 84,
2220
+ 0x11CA3: 84,
2221
+ 0x11CA4: 84,
2222
+ 0x11CA5: 84,
2223
+ 0x11CA6: 84,
2224
+ 0x11CA7: 84,
2225
+ 0x11CAA: 84,
2226
+ 0x11CAB: 84,
2227
+ 0x11CAC: 84,
2228
+ 0x11CAD: 84,
2229
+ 0x11CAE: 84,
2230
+ 0x11CAF: 84,
2231
+ 0x11CB0: 84,
2232
+ 0x11CB2: 84,
2233
+ 0x11CB3: 84,
2234
+ 0x11CB5: 84,
2235
+ 0x11CB6: 84,
2236
+ 0x11D31: 84,
2237
+ 0x11D32: 84,
2238
+ 0x11D33: 84,
2239
+ 0x11D34: 84,
2240
+ 0x11D35: 84,
2241
+ 0x11D36: 84,
2242
+ 0x11D3A: 84,
2243
+ 0x11D3C: 84,
2244
+ 0x11D3D: 84,
2245
+ 0x11D3F: 84,
2246
+ 0x11D40: 84,
2247
+ 0x11D41: 84,
2248
+ 0x11D42: 84,
2249
+ 0x11D43: 84,
2250
+ 0x11D44: 84,
2251
+ 0x11D45: 84,
2252
+ 0x11D47: 84,
2253
+ 0x11D90: 84,
2254
+ 0x11D91: 84,
2255
+ 0x11D95: 84,
2256
+ 0x11D97: 84,
2257
+ 0x11EF3: 84,
2258
+ 0x11EF4: 84,
2259
+ 0x11F00: 84,
2260
+ 0x11F01: 84,
2261
+ 0x11F36: 84,
2262
+ 0x11F37: 84,
2263
+ 0x11F38: 84,
2264
+ 0x11F39: 84,
2265
+ 0x11F3A: 84,
2266
+ 0x11F40: 84,
2267
+ 0x11F42: 84,
2268
+ 0x13430: 84,
2269
+ 0x13431: 84,
2270
+ 0x13432: 84,
2271
+ 0x13433: 84,
2272
+ 0x13434: 84,
2273
+ 0x13435: 84,
2274
+ 0x13436: 84,
2275
+ 0x13437: 84,
2276
+ 0x13438: 84,
2277
+ 0x13439: 84,
2278
+ 0x1343A: 84,
2279
+ 0x1343B: 84,
2280
+ 0x1343C: 84,
2281
+ 0x1343D: 84,
2282
+ 0x1343E: 84,
2283
+ 0x1343F: 84,
2284
+ 0x13440: 84,
2285
+ 0x13447: 84,
2286
+ 0x13448: 84,
2287
+ 0x13449: 84,
2288
+ 0x1344A: 84,
2289
+ 0x1344B: 84,
2290
+ 0x1344C: 84,
2291
+ 0x1344D: 84,
2292
+ 0x1344E: 84,
2293
+ 0x1344F: 84,
2294
+ 0x13450: 84,
2295
+ 0x13451: 84,
2296
+ 0x13452: 84,
2297
+ 0x13453: 84,
2298
+ 0x13454: 84,
2299
+ 0x13455: 84,
2300
+ 0x16AF0: 84,
2301
+ 0x16AF1: 84,
2302
+ 0x16AF2: 84,
2303
+ 0x16AF3: 84,
2304
+ 0x16AF4: 84,
2305
+ 0x16B30: 84,
2306
+ 0x16B31: 84,
2307
+ 0x16B32: 84,
2308
+ 0x16B33: 84,
2309
+ 0x16B34: 84,
2310
+ 0x16B35: 84,
2311
+ 0x16B36: 84,
2312
+ 0x16F4F: 84,
2313
+ 0x16F8F: 84,
2314
+ 0x16F90: 84,
2315
+ 0x16F91: 84,
2316
+ 0x16F92: 84,
2317
+ 0x16FE4: 84,
2318
+ 0x1BC9D: 84,
2319
+ 0x1BC9E: 84,
2320
+ 0x1BCA0: 84,
2321
+ 0x1BCA1: 84,
2322
+ 0x1BCA2: 84,
2323
+ 0x1BCA3: 84,
2324
+ 0x1CF00: 84,
2325
+ 0x1CF01: 84,
2326
+ 0x1CF02: 84,
2327
+ 0x1CF03: 84,
2328
+ 0x1CF04: 84,
2329
+ 0x1CF05: 84,
2330
+ 0x1CF06: 84,
2331
+ 0x1CF07: 84,
2332
+ 0x1CF08: 84,
2333
+ 0x1CF09: 84,
2334
+ 0x1CF0A: 84,
2335
+ 0x1CF0B: 84,
2336
+ 0x1CF0C: 84,
2337
+ 0x1CF0D: 84,
2338
+ 0x1CF0E: 84,
2339
+ 0x1CF0F: 84,
2340
+ 0x1CF10: 84,
2341
+ 0x1CF11: 84,
2342
+ 0x1CF12: 84,
2343
+ 0x1CF13: 84,
2344
+ 0x1CF14: 84,
2345
+ 0x1CF15: 84,
2346
+ 0x1CF16: 84,
2347
+ 0x1CF17: 84,
2348
+ 0x1CF18: 84,
2349
+ 0x1CF19: 84,
2350
+ 0x1CF1A: 84,
2351
+ 0x1CF1B: 84,
2352
+ 0x1CF1C: 84,
2353
+ 0x1CF1D: 84,
2354
+ 0x1CF1E: 84,
2355
+ 0x1CF1F: 84,
2356
+ 0x1CF20: 84,
2357
+ 0x1CF21: 84,
2358
+ 0x1CF22: 84,
2359
+ 0x1CF23: 84,
2360
+ 0x1CF24: 84,
2361
+ 0x1CF25: 84,
2362
+ 0x1CF26: 84,
2363
+ 0x1CF27: 84,
2364
+ 0x1CF28: 84,
2365
+ 0x1CF29: 84,
2366
+ 0x1CF2A: 84,
2367
+ 0x1CF2B: 84,
2368
+ 0x1CF2C: 84,
2369
+ 0x1CF2D: 84,
2370
+ 0x1CF30: 84,
2371
+ 0x1CF31: 84,
2372
+ 0x1CF32: 84,
2373
+ 0x1CF33: 84,
2374
+ 0x1CF34: 84,
2375
+ 0x1CF35: 84,
2376
+ 0x1CF36: 84,
2377
+ 0x1CF37: 84,
2378
+ 0x1CF38: 84,
2379
+ 0x1CF39: 84,
2380
+ 0x1CF3A: 84,
2381
+ 0x1CF3B: 84,
2382
+ 0x1CF3C: 84,
2383
+ 0x1CF3D: 84,
2384
+ 0x1CF3E: 84,
2385
+ 0x1CF3F: 84,
2386
+ 0x1CF40: 84,
2387
+ 0x1CF41: 84,
2388
+ 0x1CF42: 84,
2389
+ 0x1CF43: 84,
2390
+ 0x1CF44: 84,
2391
+ 0x1CF45: 84,
2392
+ 0x1CF46: 84,
2393
+ 0x1D167: 84,
2394
+ 0x1D168: 84,
2395
+ 0x1D169: 84,
2396
+ 0x1D173: 84,
2397
+ 0x1D174: 84,
2398
+ 0x1D175: 84,
2399
+ 0x1D176: 84,
2400
+ 0x1D177: 84,
2401
+ 0x1D178: 84,
2402
+ 0x1D179: 84,
2403
+ 0x1D17A: 84,
2404
+ 0x1D17B: 84,
2405
+ 0x1D17C: 84,
2406
+ 0x1D17D: 84,
2407
+ 0x1D17E: 84,
2408
+ 0x1D17F: 84,
2409
+ 0x1D180: 84,
2410
+ 0x1D181: 84,
2411
+ 0x1D182: 84,
2412
+ 0x1D185: 84,
2413
+ 0x1D186: 84,
2414
+ 0x1D187: 84,
2415
+ 0x1D188: 84,
2416
+ 0x1D189: 84,
2417
+ 0x1D18A: 84,
2418
+ 0x1D18B: 84,
2419
+ 0x1D1AA: 84,
2420
+ 0x1D1AB: 84,
2421
+ 0x1D1AC: 84,
2422
+ 0x1D1AD: 84,
2423
+ 0x1D242: 84,
2424
+ 0x1D243: 84,
2425
+ 0x1D244: 84,
2426
+ 0x1DA00: 84,
2427
+ 0x1DA01: 84,
2428
+ 0x1DA02: 84,
2429
+ 0x1DA03: 84,
2430
+ 0x1DA04: 84,
2431
+ 0x1DA05: 84,
2432
+ 0x1DA06: 84,
2433
+ 0x1DA07: 84,
2434
+ 0x1DA08: 84,
2435
+ 0x1DA09: 84,
2436
+ 0x1DA0A: 84,
2437
+ 0x1DA0B: 84,
2438
+ 0x1DA0C: 84,
2439
+ 0x1DA0D: 84,
2440
+ 0x1DA0E: 84,
2441
+ 0x1DA0F: 84,
2442
+ 0x1DA10: 84,
2443
+ 0x1DA11: 84,
2444
+ 0x1DA12: 84,
2445
+ 0x1DA13: 84,
2446
+ 0x1DA14: 84,
2447
+ 0x1DA15: 84,
2448
+ 0x1DA16: 84,
2449
+ 0x1DA17: 84,
2450
+ 0x1DA18: 84,
2451
+ 0x1DA19: 84,
2452
+ 0x1DA1A: 84,
2453
+ 0x1DA1B: 84,
2454
+ 0x1DA1C: 84,
2455
+ 0x1DA1D: 84,
2456
+ 0x1DA1E: 84,
2457
+ 0x1DA1F: 84,
2458
+ 0x1DA20: 84,
2459
+ 0x1DA21: 84,
2460
+ 0x1DA22: 84,
2461
+ 0x1DA23: 84,
2462
+ 0x1DA24: 84,
2463
+ 0x1DA25: 84,
2464
+ 0x1DA26: 84,
2465
+ 0x1DA27: 84,
2466
+ 0x1DA28: 84,
2467
+ 0x1DA29: 84,
2468
+ 0x1DA2A: 84,
2469
+ 0x1DA2B: 84,
2470
+ 0x1DA2C: 84,
2471
+ 0x1DA2D: 84,
2472
+ 0x1DA2E: 84,
2473
+ 0x1DA2F: 84,
2474
+ 0x1DA30: 84,
2475
+ 0x1DA31: 84,
2476
+ 0x1DA32: 84,
2477
+ 0x1DA33: 84,
2478
+ 0x1DA34: 84,
2479
+ 0x1DA35: 84,
2480
+ 0x1DA36: 84,
2481
+ 0x1DA3B: 84,
2482
+ 0x1DA3C: 84,
2483
+ 0x1DA3D: 84,
2484
+ 0x1DA3E: 84,
2485
+ 0x1DA3F: 84,
2486
+ 0x1DA40: 84,
2487
+ 0x1DA41: 84,
2488
+ 0x1DA42: 84,
2489
+ 0x1DA43: 84,
2490
+ 0x1DA44: 84,
2491
+ 0x1DA45: 84,
2492
+ 0x1DA46: 84,
2493
+ 0x1DA47: 84,
2494
+ 0x1DA48: 84,
2495
+ 0x1DA49: 84,
2496
+ 0x1DA4A: 84,
2497
+ 0x1DA4B: 84,
2498
+ 0x1DA4C: 84,
2499
+ 0x1DA4D: 84,
2500
+ 0x1DA4E: 84,
2501
+ 0x1DA4F: 84,
2502
+ 0x1DA50: 84,
2503
+ 0x1DA51: 84,
2504
+ 0x1DA52: 84,
2505
+ 0x1DA53: 84,
2506
+ 0x1DA54: 84,
2507
+ 0x1DA55: 84,
2508
+ 0x1DA56: 84,
2509
+ 0x1DA57: 84,
2510
+ 0x1DA58: 84,
2511
+ 0x1DA59: 84,
2512
+ 0x1DA5A: 84,
2513
+ 0x1DA5B: 84,
2514
+ 0x1DA5C: 84,
2515
+ 0x1DA5D: 84,
2516
+ 0x1DA5E: 84,
2517
+ 0x1DA5F: 84,
2518
+ 0x1DA60: 84,
2519
+ 0x1DA61: 84,
2520
+ 0x1DA62: 84,
2521
+ 0x1DA63: 84,
2522
+ 0x1DA64: 84,
2523
+ 0x1DA65: 84,
2524
+ 0x1DA66: 84,
2525
+ 0x1DA67: 84,
2526
+ 0x1DA68: 84,
2527
+ 0x1DA69: 84,
2528
+ 0x1DA6A: 84,
2529
+ 0x1DA6B: 84,
2530
+ 0x1DA6C: 84,
2531
+ 0x1DA75: 84,
2532
+ 0x1DA84: 84,
2533
+ 0x1DA9B: 84,
2534
+ 0x1DA9C: 84,
2535
+ 0x1DA9D: 84,
2536
+ 0x1DA9E: 84,
2537
+ 0x1DA9F: 84,
2538
+ 0x1DAA1: 84,
2539
+ 0x1DAA2: 84,
2540
+ 0x1DAA3: 84,
2541
+ 0x1DAA4: 84,
2542
+ 0x1DAA5: 84,
2543
+ 0x1DAA6: 84,
2544
+ 0x1DAA7: 84,
2545
+ 0x1DAA8: 84,
2546
+ 0x1DAA9: 84,
2547
+ 0x1DAAA: 84,
2548
+ 0x1DAAB: 84,
2549
+ 0x1DAAC: 84,
2550
+ 0x1DAAD: 84,
2551
+ 0x1DAAE: 84,
2552
+ 0x1DAAF: 84,
2553
+ 0x1E000: 84,
2554
+ 0x1E001: 84,
2555
+ 0x1E002: 84,
2556
+ 0x1E003: 84,
2557
+ 0x1E004: 84,
2558
+ 0x1E005: 84,
2559
+ 0x1E006: 84,
2560
+ 0x1E008: 84,
2561
+ 0x1E009: 84,
2562
+ 0x1E00A: 84,
2563
+ 0x1E00B: 84,
2564
+ 0x1E00C: 84,
2565
+ 0x1E00D: 84,
2566
+ 0x1E00E: 84,
2567
+ 0x1E00F: 84,
2568
+ 0x1E010: 84,
2569
+ 0x1E011: 84,
2570
+ 0x1E012: 84,
2571
+ 0x1E013: 84,
2572
+ 0x1E014: 84,
2573
+ 0x1E015: 84,
2574
+ 0x1E016: 84,
2575
+ 0x1E017: 84,
2576
+ 0x1E018: 84,
2577
+ 0x1E01B: 84,
2578
+ 0x1E01C: 84,
2579
+ 0x1E01D: 84,
2580
+ 0x1E01E: 84,
2581
+ 0x1E01F: 84,
2582
+ 0x1E020: 84,
2583
+ 0x1E021: 84,
2584
+ 0x1E023: 84,
2585
+ 0x1E024: 84,
2586
+ 0x1E026: 84,
2587
+ 0x1E027: 84,
2588
+ 0x1E028: 84,
2589
+ 0x1E029: 84,
2590
+ 0x1E02A: 84,
2591
+ 0x1E08F: 84,
2592
+ 0x1E130: 84,
2593
+ 0x1E131: 84,
2594
+ 0x1E132: 84,
2595
+ 0x1E133: 84,
2596
+ 0x1E134: 84,
2597
+ 0x1E135: 84,
2598
+ 0x1E136: 84,
2599
+ 0x1E2AE: 84,
2600
+ 0x1E2EC: 84,
2601
+ 0x1E2ED: 84,
2602
+ 0x1E2EE: 84,
2603
+ 0x1E2EF: 84,
2604
+ 0x1E4EC: 84,
2605
+ 0x1E4ED: 84,
2606
+ 0x1E4EE: 84,
2607
+ 0x1E4EF: 84,
2608
+ 0x1E8D0: 84,
2609
+ 0x1E8D1: 84,
2610
+ 0x1E8D2: 84,
2611
+ 0x1E8D3: 84,
2612
+ 0x1E8D4: 84,
2613
+ 0x1E8D5: 84,
2614
+ 0x1E8D6: 84,
2615
+ 0x1E900: 68,
2616
+ 0x1E901: 68,
2617
+ 0x1E902: 68,
2618
+ 0x1E903: 68,
2619
+ 0x1E904: 68,
2620
+ 0x1E905: 68,
2621
+ 0x1E906: 68,
2622
+ 0x1E907: 68,
2623
+ 0x1E908: 68,
2624
+ 0x1E909: 68,
2625
+ 0x1E90A: 68,
2626
+ 0x1E90B: 68,
2627
+ 0x1E90C: 68,
2628
+ 0x1E90D: 68,
2629
+ 0x1E90E: 68,
2630
+ 0x1E90F: 68,
2631
+ 0x1E910: 68,
2632
+ 0x1E911: 68,
2633
+ 0x1E912: 68,
2634
+ 0x1E913: 68,
2635
+ 0x1E914: 68,
2636
+ 0x1E915: 68,
2637
+ 0x1E916: 68,
2638
+ 0x1E917: 68,
2639
+ 0x1E918: 68,
2640
+ 0x1E919: 68,
2641
+ 0x1E91A: 68,
2642
+ 0x1E91B: 68,
2643
+ 0x1E91C: 68,
2644
+ 0x1E91D: 68,
2645
+ 0x1E91E: 68,
2646
+ 0x1E91F: 68,
2647
+ 0x1E920: 68,
2648
+ 0x1E921: 68,
2649
+ 0x1E922: 68,
2650
+ 0x1E923: 68,
2651
+ 0x1E924: 68,
2652
+ 0x1E925: 68,
2653
+ 0x1E926: 68,
2654
+ 0x1E927: 68,
2655
+ 0x1E928: 68,
2656
+ 0x1E929: 68,
2657
+ 0x1E92A: 68,
2658
+ 0x1E92B: 68,
2659
+ 0x1E92C: 68,
2660
+ 0x1E92D: 68,
2661
+ 0x1E92E: 68,
2662
+ 0x1E92F: 68,
2663
+ 0x1E930: 68,
2664
+ 0x1E931: 68,
2665
+ 0x1E932: 68,
2666
+ 0x1E933: 68,
2667
+ 0x1E934: 68,
2668
+ 0x1E935: 68,
2669
+ 0x1E936: 68,
2670
+ 0x1E937: 68,
2671
+ 0x1E938: 68,
2672
+ 0x1E939: 68,
2673
+ 0x1E93A: 68,
2674
+ 0x1E93B: 68,
2675
+ 0x1E93C: 68,
2676
+ 0x1E93D: 68,
2677
+ 0x1E93E: 68,
2678
+ 0x1E93F: 68,
2679
+ 0x1E940: 68,
2680
+ 0x1E941: 68,
2681
+ 0x1E942: 68,
2682
+ 0x1E943: 68,
2683
+ 0x1E944: 84,
2684
+ 0x1E945: 84,
2685
+ 0x1E946: 84,
2686
+ 0x1E947: 84,
2687
+ 0x1E948: 84,
2688
+ 0x1E949: 84,
2689
+ 0x1E94A: 84,
2690
+ 0x1E94B: 84,
2691
+ 0xE0001: 84,
2692
+ 0xE0020: 84,
2693
+ 0xE0021: 84,
2694
+ 0xE0022: 84,
2695
+ 0xE0023: 84,
2696
+ 0xE0024: 84,
2697
+ 0xE0025: 84,
2698
+ 0xE0026: 84,
2699
+ 0xE0027: 84,
2700
+ 0xE0028: 84,
2701
+ 0xE0029: 84,
2702
+ 0xE002A: 84,
2703
+ 0xE002B: 84,
2704
+ 0xE002C: 84,
2705
+ 0xE002D: 84,
2706
+ 0xE002E: 84,
2707
+ 0xE002F: 84,
2708
+ 0xE0030: 84,
2709
+ 0xE0031: 84,
2710
+ 0xE0032: 84,
2711
+ 0xE0033: 84,
2712
+ 0xE0034: 84,
2713
+ 0xE0035: 84,
2714
+ 0xE0036: 84,
2715
+ 0xE0037: 84,
2716
+ 0xE0038: 84,
2717
+ 0xE0039: 84,
2718
+ 0xE003A: 84,
2719
+ 0xE003B: 84,
2720
+ 0xE003C: 84,
2721
+ 0xE003D: 84,
2722
+ 0xE003E: 84,
2723
+ 0xE003F: 84,
2724
+ 0xE0040: 84,
2725
+ 0xE0041: 84,
2726
+ 0xE0042: 84,
2727
+ 0xE0043: 84,
2728
+ 0xE0044: 84,
2729
+ 0xE0045: 84,
2730
+ 0xE0046: 84,
2731
+ 0xE0047: 84,
2732
+ 0xE0048: 84,
2733
+ 0xE0049: 84,
2734
+ 0xE004A: 84,
2735
+ 0xE004B: 84,
2736
+ 0xE004C: 84,
2737
+ 0xE004D: 84,
2738
+ 0xE004E: 84,
2739
+ 0xE004F: 84,
2740
+ 0xE0050: 84,
2741
+ 0xE0051: 84,
2742
+ 0xE0052: 84,
2743
+ 0xE0053: 84,
2744
+ 0xE0054: 84,
2745
+ 0xE0055: 84,
2746
+ 0xE0056: 84,
2747
+ 0xE0057: 84,
2748
+ 0xE0058: 84,
2749
+ 0xE0059: 84,
2750
+ 0xE005A: 84,
2751
+ 0xE005B: 84,
2752
+ 0xE005C: 84,
2753
+ 0xE005D: 84,
2754
+ 0xE005E: 84,
2755
+ 0xE005F: 84,
2756
+ 0xE0060: 84,
2757
+ 0xE0061: 84,
2758
+ 0xE0062: 84,
2759
+ 0xE0063: 84,
2760
+ 0xE0064: 84,
2761
+ 0xE0065: 84,
2762
+ 0xE0066: 84,
2763
+ 0xE0067: 84,
2764
+ 0xE0068: 84,
2765
+ 0xE0069: 84,
2766
+ 0xE006A: 84,
2767
+ 0xE006B: 84,
2768
+ 0xE006C: 84,
2769
+ 0xE006D: 84,
2770
+ 0xE006E: 84,
2771
+ 0xE006F: 84,
2772
+ 0xE0070: 84,
2773
+ 0xE0071: 84,
2774
+ 0xE0072: 84,
2775
+ 0xE0073: 84,
2776
+ 0xE0074: 84,
2777
+ 0xE0075: 84,
2778
+ 0xE0076: 84,
2779
+ 0xE0077: 84,
2780
+ 0xE0078: 84,
2781
+ 0xE0079: 84,
2782
+ 0xE007A: 84,
2783
+ 0xE007B: 84,
2784
+ 0xE007C: 84,
2785
+ 0xE007D: 84,
2786
+ 0xE007E: 84,
2787
+ 0xE007F: 84,
2788
+ 0xE0100: 84,
2789
+ 0xE0101: 84,
2790
+ 0xE0102: 84,
2791
+ 0xE0103: 84,
2792
+ 0xE0104: 84,
2793
+ 0xE0105: 84,
2794
+ 0xE0106: 84,
2795
+ 0xE0107: 84,
2796
+ 0xE0108: 84,
2797
+ 0xE0109: 84,
2798
+ 0xE010A: 84,
2799
+ 0xE010B: 84,
2800
+ 0xE010C: 84,
2801
+ 0xE010D: 84,
2802
+ 0xE010E: 84,
2803
+ 0xE010F: 84,
2804
+ 0xE0110: 84,
2805
+ 0xE0111: 84,
2806
+ 0xE0112: 84,
2807
+ 0xE0113: 84,
2808
+ 0xE0114: 84,
2809
+ 0xE0115: 84,
2810
+ 0xE0116: 84,
2811
+ 0xE0117: 84,
2812
+ 0xE0118: 84,
2813
+ 0xE0119: 84,
2814
+ 0xE011A: 84,
2815
+ 0xE011B: 84,
2816
+ 0xE011C: 84,
2817
+ 0xE011D: 84,
2818
+ 0xE011E: 84,
2819
+ 0xE011F: 84,
2820
+ 0xE0120: 84,
2821
+ 0xE0121: 84,
2822
+ 0xE0122: 84,
2823
+ 0xE0123: 84,
2824
+ 0xE0124: 84,
2825
+ 0xE0125: 84,
2826
+ 0xE0126: 84,
2827
+ 0xE0127: 84,
2828
+ 0xE0128: 84,
2829
+ 0xE0129: 84,
2830
+ 0xE012A: 84,
2831
+ 0xE012B: 84,
2832
+ 0xE012C: 84,
2833
+ 0xE012D: 84,
2834
+ 0xE012E: 84,
2835
+ 0xE012F: 84,
2836
+ 0xE0130: 84,
2837
+ 0xE0131: 84,
2838
+ 0xE0132: 84,
2839
+ 0xE0133: 84,
2840
+ 0xE0134: 84,
2841
+ 0xE0135: 84,
2842
+ 0xE0136: 84,
2843
+ 0xE0137: 84,
2844
+ 0xE0138: 84,
2845
+ 0xE0139: 84,
2846
+ 0xE013A: 84,
2847
+ 0xE013B: 84,
2848
+ 0xE013C: 84,
2849
+ 0xE013D: 84,
2850
+ 0xE013E: 84,
2851
+ 0xE013F: 84,
2852
+ 0xE0140: 84,
2853
+ 0xE0141: 84,
2854
+ 0xE0142: 84,
2855
+ 0xE0143: 84,
2856
+ 0xE0144: 84,
2857
+ 0xE0145: 84,
2858
+ 0xE0146: 84,
2859
+ 0xE0147: 84,
2860
+ 0xE0148: 84,
2861
+ 0xE0149: 84,
2862
+ 0xE014A: 84,
2863
+ 0xE014B: 84,
2864
+ 0xE014C: 84,
2865
+ 0xE014D: 84,
2866
+ 0xE014E: 84,
2867
+ 0xE014F: 84,
2868
+ 0xE0150: 84,
2869
+ 0xE0151: 84,
2870
+ 0xE0152: 84,
2871
+ 0xE0153: 84,
2872
+ 0xE0154: 84,
2873
+ 0xE0155: 84,
2874
+ 0xE0156: 84,
2875
+ 0xE0157: 84,
2876
+ 0xE0158: 84,
2877
+ 0xE0159: 84,
2878
+ 0xE015A: 84,
2879
+ 0xE015B: 84,
2880
+ 0xE015C: 84,
2881
+ 0xE015D: 84,
2882
+ 0xE015E: 84,
2883
+ 0xE015F: 84,
2884
+ 0xE0160: 84,
2885
+ 0xE0161: 84,
2886
+ 0xE0162: 84,
2887
+ 0xE0163: 84,
2888
+ 0xE0164: 84,
2889
+ 0xE0165: 84,
2890
+ 0xE0166: 84,
2891
+ 0xE0167: 84,
2892
+ 0xE0168: 84,
2893
+ 0xE0169: 84,
2894
+ 0xE016A: 84,
2895
+ 0xE016B: 84,
2896
+ 0xE016C: 84,
2897
+ 0xE016D: 84,
2898
+ 0xE016E: 84,
2899
+ 0xE016F: 84,
2900
+ 0xE0170: 84,
2901
+ 0xE0171: 84,
2902
+ 0xE0172: 84,
2903
+ 0xE0173: 84,
2904
+ 0xE0174: 84,
2905
+ 0xE0175: 84,
2906
+ 0xE0176: 84,
2907
+ 0xE0177: 84,
2908
+ 0xE0178: 84,
2909
+ 0xE0179: 84,
2910
+ 0xE017A: 84,
2911
+ 0xE017B: 84,
2912
+ 0xE017C: 84,
2913
+ 0xE017D: 84,
2914
+ 0xE017E: 84,
2915
+ 0xE017F: 84,
2916
+ 0xE0180: 84,
2917
+ 0xE0181: 84,
2918
+ 0xE0182: 84,
2919
+ 0xE0183: 84,
2920
+ 0xE0184: 84,
2921
+ 0xE0185: 84,
2922
+ 0xE0186: 84,
2923
+ 0xE0187: 84,
2924
+ 0xE0188: 84,
2925
+ 0xE0189: 84,
2926
+ 0xE018A: 84,
2927
+ 0xE018B: 84,
2928
+ 0xE018C: 84,
2929
+ 0xE018D: 84,
2930
+ 0xE018E: 84,
2931
+ 0xE018F: 84,
2932
+ 0xE0190: 84,
2933
+ 0xE0191: 84,
2934
+ 0xE0192: 84,
2935
+ 0xE0193: 84,
2936
+ 0xE0194: 84,
2937
+ 0xE0195: 84,
2938
+ 0xE0196: 84,
2939
+ 0xE0197: 84,
2940
+ 0xE0198: 84,
2941
+ 0xE0199: 84,
2942
+ 0xE019A: 84,
2943
+ 0xE019B: 84,
2944
+ 0xE019C: 84,
2945
+ 0xE019D: 84,
2946
+ 0xE019E: 84,
2947
+ 0xE019F: 84,
2948
+ 0xE01A0: 84,
2949
+ 0xE01A1: 84,
2950
+ 0xE01A2: 84,
2951
+ 0xE01A3: 84,
2952
+ 0xE01A4: 84,
2953
+ 0xE01A5: 84,
2954
+ 0xE01A6: 84,
2955
+ 0xE01A7: 84,
2956
+ 0xE01A8: 84,
2957
+ 0xE01A9: 84,
2958
+ 0xE01AA: 84,
2959
+ 0xE01AB: 84,
2960
+ 0xE01AC: 84,
2961
+ 0xE01AD: 84,
2962
+ 0xE01AE: 84,
2963
+ 0xE01AF: 84,
2964
+ 0xE01B0: 84,
2965
+ 0xE01B1: 84,
2966
+ 0xE01B2: 84,
2967
+ 0xE01B3: 84,
2968
+ 0xE01B4: 84,
2969
+ 0xE01B5: 84,
2970
+ 0xE01B6: 84,
2971
+ 0xE01B7: 84,
2972
+ 0xE01B8: 84,
2973
+ 0xE01B9: 84,
2974
+ 0xE01BA: 84,
2975
+ 0xE01BB: 84,
2976
+ 0xE01BC: 84,
2977
+ 0xE01BD: 84,
2978
+ 0xE01BE: 84,
2979
+ 0xE01BF: 84,
2980
+ 0xE01C0: 84,
2981
+ 0xE01C1: 84,
2982
+ 0xE01C2: 84,
2983
+ 0xE01C3: 84,
2984
+ 0xE01C4: 84,
2985
+ 0xE01C5: 84,
2986
+ 0xE01C6: 84,
2987
+ 0xE01C7: 84,
2988
+ 0xE01C8: 84,
2989
+ 0xE01C9: 84,
2990
+ 0xE01CA: 84,
2991
+ 0xE01CB: 84,
2992
+ 0xE01CC: 84,
2993
+ 0xE01CD: 84,
2994
+ 0xE01CE: 84,
2995
+ 0xE01CF: 84,
2996
+ 0xE01D0: 84,
2997
+ 0xE01D1: 84,
2998
+ 0xE01D2: 84,
2999
+ 0xE01D3: 84,
3000
+ 0xE01D4: 84,
3001
+ 0xE01D5: 84,
3002
+ 0xE01D6: 84,
3003
+ 0xE01D7: 84,
3004
+ 0xE01D8: 84,
3005
+ 0xE01D9: 84,
3006
+ 0xE01DA: 84,
3007
+ 0xE01DB: 84,
3008
+ 0xE01DC: 84,
3009
+ 0xE01DD: 84,
3010
+ 0xE01DE: 84,
3011
+ 0xE01DF: 84,
3012
+ 0xE01E0: 84,
3013
+ 0xE01E1: 84,
3014
+ 0xE01E2: 84,
3015
+ 0xE01E3: 84,
3016
+ 0xE01E4: 84,
3017
+ 0xE01E5: 84,
3018
+ 0xE01E6: 84,
3019
+ 0xE01E7: 84,
3020
+ 0xE01E8: 84,
3021
+ 0xE01E9: 84,
3022
+ 0xE01EA: 84,
3023
+ 0xE01EB: 84,
3024
+ 0xE01EC: 84,
3025
+ 0xE01ED: 84,
3026
+ 0xE01EE: 84,
3027
+ 0xE01EF: 84,
3028
+ }
3029
+ codepoint_classes = {
3030
+ "PVALID": (
3031
+ 0x2D0000002E,
3032
+ 0x300000003A,
3033
+ 0x610000007B,
3034
+ 0xDF000000F7,
3035
+ 0xF800000100,
3036
+ 0x10100000102,
3037
+ 0x10300000104,
3038
+ 0x10500000106,
3039
+ 0x10700000108,
3040
+ 0x1090000010A,
3041
+ 0x10B0000010C,
3042
+ 0x10D0000010E,
3043
+ 0x10F00000110,
3044
+ 0x11100000112,
3045
+ 0x11300000114,
3046
+ 0x11500000116,
3047
+ 0x11700000118,
3048
+ 0x1190000011A,
3049
+ 0x11B0000011C,
3050
+ 0x11D0000011E,
3051
+ 0x11F00000120,
3052
+ 0x12100000122,
3053
+ 0x12300000124,
3054
+ 0x12500000126,
3055
+ 0x12700000128,
3056
+ 0x1290000012A,
3057
+ 0x12B0000012C,
3058
+ 0x12D0000012E,
3059
+ 0x12F00000130,
3060
+ 0x13100000132,
3061
+ 0x13500000136,
3062
+ 0x13700000139,
3063
+ 0x13A0000013B,
3064
+ 0x13C0000013D,
3065
+ 0x13E0000013F,
3066
+ 0x14200000143,
3067
+ 0x14400000145,
3068
+ 0x14600000147,
3069
+ 0x14800000149,
3070
+ 0x14B0000014C,
3071
+ 0x14D0000014E,
3072
+ 0x14F00000150,
3073
+ 0x15100000152,
3074
+ 0x15300000154,
3075
+ 0x15500000156,
3076
+ 0x15700000158,
3077
+ 0x1590000015A,
3078
+ 0x15B0000015C,
3079
+ 0x15D0000015E,
3080
+ 0x15F00000160,
3081
+ 0x16100000162,
3082
+ 0x16300000164,
3083
+ 0x16500000166,
3084
+ 0x16700000168,
3085
+ 0x1690000016A,
3086
+ 0x16B0000016C,
3087
+ 0x16D0000016E,
3088
+ 0x16F00000170,
3089
+ 0x17100000172,
3090
+ 0x17300000174,
3091
+ 0x17500000176,
3092
+ 0x17700000178,
3093
+ 0x17A0000017B,
3094
+ 0x17C0000017D,
3095
+ 0x17E0000017F,
3096
+ 0x18000000181,
3097
+ 0x18300000184,
3098
+ 0x18500000186,
3099
+ 0x18800000189,
3100
+ 0x18C0000018E,
3101
+ 0x19200000193,
3102
+ 0x19500000196,
3103
+ 0x1990000019C,
3104
+ 0x19E0000019F,
3105
+ 0x1A1000001A2,
3106
+ 0x1A3000001A4,
3107
+ 0x1A5000001A6,
3108
+ 0x1A8000001A9,
3109
+ 0x1AA000001AC,
3110
+ 0x1AD000001AE,
3111
+ 0x1B0000001B1,
3112
+ 0x1B4000001B5,
3113
+ 0x1B6000001B7,
3114
+ 0x1B9000001BC,
3115
+ 0x1BD000001C4,
3116
+ 0x1CE000001CF,
3117
+ 0x1D0000001D1,
3118
+ 0x1D2000001D3,
3119
+ 0x1D4000001D5,
3120
+ 0x1D6000001D7,
3121
+ 0x1D8000001D9,
3122
+ 0x1DA000001DB,
3123
+ 0x1DC000001DE,
3124
+ 0x1DF000001E0,
3125
+ 0x1E1000001E2,
3126
+ 0x1E3000001E4,
3127
+ 0x1E5000001E6,
3128
+ 0x1E7000001E8,
3129
+ 0x1E9000001EA,
3130
+ 0x1EB000001EC,
3131
+ 0x1ED000001EE,
3132
+ 0x1EF000001F1,
3133
+ 0x1F5000001F6,
3134
+ 0x1F9000001FA,
3135
+ 0x1FB000001FC,
3136
+ 0x1FD000001FE,
3137
+ 0x1FF00000200,
3138
+ 0x20100000202,
3139
+ 0x20300000204,
3140
+ 0x20500000206,
3141
+ 0x20700000208,
3142
+ 0x2090000020A,
3143
+ 0x20B0000020C,
3144
+ 0x20D0000020E,
3145
+ 0x20F00000210,
3146
+ 0x21100000212,
3147
+ 0x21300000214,
3148
+ 0x21500000216,
3149
+ 0x21700000218,
3150
+ 0x2190000021A,
3151
+ 0x21B0000021C,
3152
+ 0x21D0000021E,
3153
+ 0x21F00000220,
3154
+ 0x22100000222,
3155
+ 0x22300000224,
3156
+ 0x22500000226,
3157
+ 0x22700000228,
3158
+ 0x2290000022A,
3159
+ 0x22B0000022C,
3160
+ 0x22D0000022E,
3161
+ 0x22F00000230,
3162
+ 0x23100000232,
3163
+ 0x2330000023A,
3164
+ 0x23C0000023D,
3165
+ 0x23F00000241,
3166
+ 0x24200000243,
3167
+ 0x24700000248,
3168
+ 0x2490000024A,
3169
+ 0x24B0000024C,
3170
+ 0x24D0000024E,
3171
+ 0x24F000002B0,
3172
+ 0x2B9000002C2,
3173
+ 0x2C6000002D2,
3174
+ 0x2EC000002ED,
3175
+ 0x2EE000002EF,
3176
+ 0x30000000340,
3177
+ 0x34200000343,
3178
+ 0x3460000034F,
3179
+ 0x35000000370,
3180
+ 0x37100000372,
3181
+ 0x37300000374,
3182
+ 0x37700000378,
3183
+ 0x37B0000037E,
3184
+ 0x39000000391,
3185
+ 0x3AC000003CF,
3186
+ 0x3D7000003D8,
3187
+ 0x3D9000003DA,
3188
+ 0x3DB000003DC,
3189
+ 0x3DD000003DE,
3190
+ 0x3DF000003E0,
3191
+ 0x3E1000003E2,
3192
+ 0x3E3000003E4,
3193
+ 0x3E5000003E6,
3194
+ 0x3E7000003E8,
3195
+ 0x3E9000003EA,
3196
+ 0x3EB000003EC,
3197
+ 0x3ED000003EE,
3198
+ 0x3EF000003F0,
3199
+ 0x3F3000003F4,
3200
+ 0x3F8000003F9,
3201
+ 0x3FB000003FD,
3202
+ 0x43000000460,
3203
+ 0x46100000462,
3204
+ 0x46300000464,
3205
+ 0x46500000466,
3206
+ 0x46700000468,
3207
+ 0x4690000046A,
3208
+ 0x46B0000046C,
3209
+ 0x46D0000046E,
3210
+ 0x46F00000470,
3211
+ 0x47100000472,
3212
+ 0x47300000474,
3213
+ 0x47500000476,
3214
+ 0x47700000478,
3215
+ 0x4790000047A,
3216
+ 0x47B0000047C,
3217
+ 0x47D0000047E,
3218
+ 0x47F00000480,
3219
+ 0x48100000482,
3220
+ 0x48300000488,
3221
+ 0x48B0000048C,
3222
+ 0x48D0000048E,
3223
+ 0x48F00000490,
3224
+ 0x49100000492,
3225
+ 0x49300000494,
3226
+ 0x49500000496,
3227
+ 0x49700000498,
3228
+ 0x4990000049A,
3229
+ 0x49B0000049C,
3230
+ 0x49D0000049E,
3231
+ 0x49F000004A0,
3232
+ 0x4A1000004A2,
3233
+ 0x4A3000004A4,
3234
+ 0x4A5000004A6,
3235
+ 0x4A7000004A8,
3236
+ 0x4A9000004AA,
3237
+ 0x4AB000004AC,
3238
+ 0x4AD000004AE,
3239
+ 0x4AF000004B0,
3240
+ 0x4B1000004B2,
3241
+ 0x4B3000004B4,
3242
+ 0x4B5000004B6,
3243
+ 0x4B7000004B8,
3244
+ 0x4B9000004BA,
3245
+ 0x4BB000004BC,
3246
+ 0x4BD000004BE,
3247
+ 0x4BF000004C0,
3248
+ 0x4C2000004C3,
3249
+ 0x4C4000004C5,
3250
+ 0x4C6000004C7,
3251
+ 0x4C8000004C9,
3252
+ 0x4CA000004CB,
3253
+ 0x4CC000004CD,
3254
+ 0x4CE000004D0,
3255
+ 0x4D1000004D2,
3256
+ 0x4D3000004D4,
3257
+ 0x4D5000004D6,
3258
+ 0x4D7000004D8,
3259
+ 0x4D9000004DA,
3260
+ 0x4DB000004DC,
3261
+ 0x4DD000004DE,
3262
+ 0x4DF000004E0,
3263
+ 0x4E1000004E2,
3264
+ 0x4E3000004E4,
3265
+ 0x4E5000004E6,
3266
+ 0x4E7000004E8,
3267
+ 0x4E9000004EA,
3268
+ 0x4EB000004EC,
3269
+ 0x4ED000004EE,
3270
+ 0x4EF000004F0,
3271
+ 0x4F1000004F2,
3272
+ 0x4F3000004F4,
3273
+ 0x4F5000004F6,
3274
+ 0x4F7000004F8,
3275
+ 0x4F9000004FA,
3276
+ 0x4FB000004FC,
3277
+ 0x4FD000004FE,
3278
+ 0x4FF00000500,
3279
+ 0x50100000502,
3280
+ 0x50300000504,
3281
+ 0x50500000506,
3282
+ 0x50700000508,
3283
+ 0x5090000050A,
3284
+ 0x50B0000050C,
3285
+ 0x50D0000050E,
3286
+ 0x50F00000510,
3287
+ 0x51100000512,
3288
+ 0x51300000514,
3289
+ 0x51500000516,
3290
+ 0x51700000518,
3291
+ 0x5190000051A,
3292
+ 0x51B0000051C,
3293
+ 0x51D0000051E,
3294
+ 0x51F00000520,
3295
+ 0x52100000522,
3296
+ 0x52300000524,
3297
+ 0x52500000526,
3298
+ 0x52700000528,
3299
+ 0x5290000052A,
3300
+ 0x52B0000052C,
3301
+ 0x52D0000052E,
3302
+ 0x52F00000530,
3303
+ 0x5590000055A,
3304
+ 0x56000000587,
3305
+ 0x58800000589,
3306
+ 0x591000005BE,
3307
+ 0x5BF000005C0,
3308
+ 0x5C1000005C3,
3309
+ 0x5C4000005C6,
3310
+ 0x5C7000005C8,
3311
+ 0x5D0000005EB,
3312
+ 0x5EF000005F3,
3313
+ 0x6100000061B,
3314
+ 0x62000000640,
3315
+ 0x64100000660,
3316
+ 0x66E00000675,
3317
+ 0x679000006D4,
3318
+ 0x6D5000006DD,
3319
+ 0x6DF000006E9,
3320
+ 0x6EA000006F0,
3321
+ 0x6FA00000700,
3322
+ 0x7100000074B,
3323
+ 0x74D000007B2,
3324
+ 0x7C0000007F6,
3325
+ 0x7FD000007FE,
3326
+ 0x8000000082E,
3327
+ 0x8400000085C,
3328
+ 0x8600000086B,
3329
+ 0x87000000888,
3330
+ 0x8890000088F,
3331
+ 0x898000008E2,
3332
+ 0x8E300000958,
3333
+ 0x96000000964,
3334
+ 0x96600000970,
3335
+ 0x97100000984,
3336
+ 0x9850000098D,
3337
+ 0x98F00000991,
3338
+ 0x993000009A9,
3339
+ 0x9AA000009B1,
3340
+ 0x9B2000009B3,
3341
+ 0x9B6000009BA,
3342
+ 0x9BC000009C5,
3343
+ 0x9C7000009C9,
3344
+ 0x9CB000009CF,
3345
+ 0x9D7000009D8,
3346
+ 0x9E0000009E4,
3347
+ 0x9E6000009F2,
3348
+ 0x9FC000009FD,
3349
+ 0x9FE000009FF,
3350
+ 0xA0100000A04,
3351
+ 0xA0500000A0B,
3352
+ 0xA0F00000A11,
3353
+ 0xA1300000A29,
3354
+ 0xA2A00000A31,
3355
+ 0xA3200000A33,
3356
+ 0xA3500000A36,
3357
+ 0xA3800000A3A,
3358
+ 0xA3C00000A3D,
3359
+ 0xA3E00000A43,
3360
+ 0xA4700000A49,
3361
+ 0xA4B00000A4E,
3362
+ 0xA5100000A52,
3363
+ 0xA5C00000A5D,
3364
+ 0xA6600000A76,
3365
+ 0xA8100000A84,
3366
+ 0xA8500000A8E,
3367
+ 0xA8F00000A92,
3368
+ 0xA9300000AA9,
3369
+ 0xAAA00000AB1,
3370
+ 0xAB200000AB4,
3371
+ 0xAB500000ABA,
3372
+ 0xABC00000AC6,
3373
+ 0xAC700000ACA,
3374
+ 0xACB00000ACE,
3375
+ 0xAD000000AD1,
3376
+ 0xAE000000AE4,
3377
+ 0xAE600000AF0,
3378
+ 0xAF900000B00,
3379
+ 0xB0100000B04,
3380
+ 0xB0500000B0D,
3381
+ 0xB0F00000B11,
3382
+ 0xB1300000B29,
3383
+ 0xB2A00000B31,
3384
+ 0xB3200000B34,
3385
+ 0xB3500000B3A,
3386
+ 0xB3C00000B45,
3387
+ 0xB4700000B49,
3388
+ 0xB4B00000B4E,
3389
+ 0xB5500000B58,
3390
+ 0xB5F00000B64,
3391
+ 0xB6600000B70,
3392
+ 0xB7100000B72,
3393
+ 0xB8200000B84,
3394
+ 0xB8500000B8B,
3395
+ 0xB8E00000B91,
3396
+ 0xB9200000B96,
3397
+ 0xB9900000B9B,
3398
+ 0xB9C00000B9D,
3399
+ 0xB9E00000BA0,
3400
+ 0xBA300000BA5,
3401
+ 0xBA800000BAB,
3402
+ 0xBAE00000BBA,
3403
+ 0xBBE00000BC3,
3404
+ 0xBC600000BC9,
3405
+ 0xBCA00000BCE,
3406
+ 0xBD000000BD1,
3407
+ 0xBD700000BD8,
3408
+ 0xBE600000BF0,
3409
+ 0xC0000000C0D,
3410
+ 0xC0E00000C11,
3411
+ 0xC1200000C29,
3412
+ 0xC2A00000C3A,
3413
+ 0xC3C00000C45,
3414
+ 0xC4600000C49,
3415
+ 0xC4A00000C4E,
3416
+ 0xC5500000C57,
3417
+ 0xC5800000C5B,
3418
+ 0xC5D00000C5E,
3419
+ 0xC6000000C64,
3420
+ 0xC6600000C70,
3421
+ 0xC8000000C84,
3422
+ 0xC8500000C8D,
3423
+ 0xC8E00000C91,
3424
+ 0xC9200000CA9,
3425
+ 0xCAA00000CB4,
3426
+ 0xCB500000CBA,
3427
+ 0xCBC00000CC5,
3428
+ 0xCC600000CC9,
3429
+ 0xCCA00000CCE,
3430
+ 0xCD500000CD7,
3431
+ 0xCDD00000CDF,
3432
+ 0xCE000000CE4,
3433
+ 0xCE600000CF0,
3434
+ 0xCF100000CF4,
3435
+ 0xD0000000D0D,
3436
+ 0xD0E00000D11,
3437
+ 0xD1200000D45,
3438
+ 0xD4600000D49,
3439
+ 0xD4A00000D4F,
3440
+ 0xD5400000D58,
3441
+ 0xD5F00000D64,
3442
+ 0xD6600000D70,
3443
+ 0xD7A00000D80,
3444
+ 0xD8100000D84,
3445
+ 0xD8500000D97,
3446
+ 0xD9A00000DB2,
3447
+ 0xDB300000DBC,
3448
+ 0xDBD00000DBE,
3449
+ 0xDC000000DC7,
3450
+ 0xDCA00000DCB,
3451
+ 0xDCF00000DD5,
3452
+ 0xDD600000DD7,
3453
+ 0xDD800000DE0,
3454
+ 0xDE600000DF0,
3455
+ 0xDF200000DF4,
3456
+ 0xE0100000E33,
3457
+ 0xE3400000E3B,
3458
+ 0xE4000000E4F,
3459
+ 0xE5000000E5A,
3460
+ 0xE8100000E83,
3461
+ 0xE8400000E85,
3462
+ 0xE8600000E8B,
3463
+ 0xE8C00000EA4,
3464
+ 0xEA500000EA6,
3465
+ 0xEA700000EB3,
3466
+ 0xEB400000EBE,
3467
+ 0xEC000000EC5,
3468
+ 0xEC600000EC7,
3469
+ 0xEC800000ECF,
3470
+ 0xED000000EDA,
3471
+ 0xEDE00000EE0,
3472
+ 0xF0000000F01,
3473
+ 0xF0B00000F0C,
3474
+ 0xF1800000F1A,
3475
+ 0xF2000000F2A,
3476
+ 0xF3500000F36,
3477
+ 0xF3700000F38,
3478
+ 0xF3900000F3A,
3479
+ 0xF3E00000F43,
3480
+ 0xF4400000F48,
3481
+ 0xF4900000F4D,
3482
+ 0xF4E00000F52,
3483
+ 0xF5300000F57,
3484
+ 0xF5800000F5C,
3485
+ 0xF5D00000F69,
3486
+ 0xF6A00000F6D,
3487
+ 0xF7100000F73,
3488
+ 0xF7400000F75,
3489
+ 0xF7A00000F81,
3490
+ 0xF8200000F85,
3491
+ 0xF8600000F93,
3492
+ 0xF9400000F98,
3493
+ 0xF9900000F9D,
3494
+ 0xF9E00000FA2,
3495
+ 0xFA300000FA7,
3496
+ 0xFA800000FAC,
3497
+ 0xFAD00000FB9,
3498
+ 0xFBA00000FBD,
3499
+ 0xFC600000FC7,
3500
+ 0x10000000104A,
3501
+ 0x10500000109E,
3502
+ 0x10D0000010FB,
3503
+ 0x10FD00001100,
3504
+ 0x120000001249,
3505
+ 0x124A0000124E,
3506
+ 0x125000001257,
3507
+ 0x125800001259,
3508
+ 0x125A0000125E,
3509
+ 0x126000001289,
3510
+ 0x128A0000128E,
3511
+ 0x1290000012B1,
3512
+ 0x12B2000012B6,
3513
+ 0x12B8000012BF,
3514
+ 0x12C0000012C1,
3515
+ 0x12C2000012C6,
3516
+ 0x12C8000012D7,
3517
+ 0x12D800001311,
3518
+ 0x131200001316,
3519
+ 0x13180000135B,
3520
+ 0x135D00001360,
3521
+ 0x138000001390,
3522
+ 0x13A0000013F6,
3523
+ 0x14010000166D,
3524
+ 0x166F00001680,
3525
+ 0x16810000169B,
3526
+ 0x16A0000016EB,
3527
+ 0x16F1000016F9,
3528
+ 0x170000001716,
3529
+ 0x171F00001735,
3530
+ 0x174000001754,
3531
+ 0x17600000176D,
3532
+ 0x176E00001771,
3533
+ 0x177200001774,
3534
+ 0x1780000017B4,
3535
+ 0x17B6000017D4,
3536
+ 0x17D7000017D8,
3537
+ 0x17DC000017DE,
3538
+ 0x17E0000017EA,
3539
+ 0x18100000181A,
3540
+ 0x182000001879,
3541
+ 0x1880000018AB,
3542
+ 0x18B0000018F6,
3543
+ 0x19000000191F,
3544
+ 0x19200000192C,
3545
+ 0x19300000193C,
3546
+ 0x19460000196E,
3547
+ 0x197000001975,
3548
+ 0x1980000019AC,
3549
+ 0x19B0000019CA,
3550
+ 0x19D0000019DA,
3551
+ 0x1A0000001A1C,
3552
+ 0x1A2000001A5F,
3553
+ 0x1A6000001A7D,
3554
+ 0x1A7F00001A8A,
3555
+ 0x1A9000001A9A,
3556
+ 0x1AA700001AA8,
3557
+ 0x1AB000001ABE,
3558
+ 0x1ABF00001ACF,
3559
+ 0x1B0000001B4D,
3560
+ 0x1B5000001B5A,
3561
+ 0x1B6B00001B74,
3562
+ 0x1B8000001BF4,
3563
+ 0x1C0000001C38,
3564
+ 0x1C4000001C4A,
3565
+ 0x1C4D00001C7E,
3566
+ 0x1CD000001CD3,
3567
+ 0x1CD400001CFB,
3568
+ 0x1D0000001D2C,
3569
+ 0x1D2F00001D30,
3570
+ 0x1D3B00001D3C,
3571
+ 0x1D4E00001D4F,
3572
+ 0x1D6B00001D78,
3573
+ 0x1D7900001D9B,
3574
+ 0x1DC000001E00,
3575
+ 0x1E0100001E02,
3576
+ 0x1E0300001E04,
3577
+ 0x1E0500001E06,
3578
+ 0x1E0700001E08,
3579
+ 0x1E0900001E0A,
3580
+ 0x1E0B00001E0C,
3581
+ 0x1E0D00001E0E,
3582
+ 0x1E0F00001E10,
3583
+ 0x1E1100001E12,
3584
+ 0x1E1300001E14,
3585
+ 0x1E1500001E16,
3586
+ 0x1E1700001E18,
3587
+ 0x1E1900001E1A,
3588
+ 0x1E1B00001E1C,
3589
+ 0x1E1D00001E1E,
3590
+ 0x1E1F00001E20,
3591
+ 0x1E2100001E22,
3592
+ 0x1E2300001E24,
3593
+ 0x1E2500001E26,
3594
+ 0x1E2700001E28,
3595
+ 0x1E2900001E2A,
3596
+ 0x1E2B00001E2C,
3597
+ 0x1E2D00001E2E,
3598
+ 0x1E2F00001E30,
3599
+ 0x1E3100001E32,
3600
+ 0x1E3300001E34,
3601
+ 0x1E3500001E36,
3602
+ 0x1E3700001E38,
3603
+ 0x1E3900001E3A,
3604
+ 0x1E3B00001E3C,
3605
+ 0x1E3D00001E3E,
3606
+ 0x1E3F00001E40,
3607
+ 0x1E4100001E42,
3608
+ 0x1E4300001E44,
3609
+ 0x1E4500001E46,
3610
+ 0x1E4700001E48,
3611
+ 0x1E4900001E4A,
3612
+ 0x1E4B00001E4C,
3613
+ 0x1E4D00001E4E,
3614
+ 0x1E4F00001E50,
3615
+ 0x1E5100001E52,
3616
+ 0x1E5300001E54,
3617
+ 0x1E5500001E56,
3618
+ 0x1E5700001E58,
3619
+ 0x1E5900001E5A,
3620
+ 0x1E5B00001E5C,
3621
+ 0x1E5D00001E5E,
3622
+ 0x1E5F00001E60,
3623
+ 0x1E6100001E62,
3624
+ 0x1E6300001E64,
3625
+ 0x1E6500001E66,
3626
+ 0x1E6700001E68,
3627
+ 0x1E6900001E6A,
3628
+ 0x1E6B00001E6C,
3629
+ 0x1E6D00001E6E,
3630
+ 0x1E6F00001E70,
3631
+ 0x1E7100001E72,
3632
+ 0x1E7300001E74,
3633
+ 0x1E7500001E76,
3634
+ 0x1E7700001E78,
3635
+ 0x1E7900001E7A,
3636
+ 0x1E7B00001E7C,
3637
+ 0x1E7D00001E7E,
3638
+ 0x1E7F00001E80,
3639
+ 0x1E8100001E82,
3640
+ 0x1E8300001E84,
3641
+ 0x1E8500001E86,
3642
+ 0x1E8700001E88,
3643
+ 0x1E8900001E8A,
3644
+ 0x1E8B00001E8C,
3645
+ 0x1E8D00001E8E,
3646
+ 0x1E8F00001E90,
3647
+ 0x1E9100001E92,
3648
+ 0x1E9300001E94,
3649
+ 0x1E9500001E9A,
3650
+ 0x1E9C00001E9E,
3651
+ 0x1E9F00001EA0,
3652
+ 0x1EA100001EA2,
3653
+ 0x1EA300001EA4,
3654
+ 0x1EA500001EA6,
3655
+ 0x1EA700001EA8,
3656
+ 0x1EA900001EAA,
3657
+ 0x1EAB00001EAC,
3658
+ 0x1EAD00001EAE,
3659
+ 0x1EAF00001EB0,
3660
+ 0x1EB100001EB2,
3661
+ 0x1EB300001EB4,
3662
+ 0x1EB500001EB6,
3663
+ 0x1EB700001EB8,
3664
+ 0x1EB900001EBA,
3665
+ 0x1EBB00001EBC,
3666
+ 0x1EBD00001EBE,
3667
+ 0x1EBF00001EC0,
3668
+ 0x1EC100001EC2,
3669
+ 0x1EC300001EC4,
3670
+ 0x1EC500001EC6,
3671
+ 0x1EC700001EC8,
3672
+ 0x1EC900001ECA,
3673
+ 0x1ECB00001ECC,
3674
+ 0x1ECD00001ECE,
3675
+ 0x1ECF00001ED0,
3676
+ 0x1ED100001ED2,
3677
+ 0x1ED300001ED4,
3678
+ 0x1ED500001ED6,
3679
+ 0x1ED700001ED8,
3680
+ 0x1ED900001EDA,
3681
+ 0x1EDB00001EDC,
3682
+ 0x1EDD00001EDE,
3683
+ 0x1EDF00001EE0,
3684
+ 0x1EE100001EE2,
3685
+ 0x1EE300001EE4,
3686
+ 0x1EE500001EE6,
3687
+ 0x1EE700001EE8,
3688
+ 0x1EE900001EEA,
3689
+ 0x1EEB00001EEC,
3690
+ 0x1EED00001EEE,
3691
+ 0x1EEF00001EF0,
3692
+ 0x1EF100001EF2,
3693
+ 0x1EF300001EF4,
3694
+ 0x1EF500001EF6,
3695
+ 0x1EF700001EF8,
3696
+ 0x1EF900001EFA,
3697
+ 0x1EFB00001EFC,
3698
+ 0x1EFD00001EFE,
3699
+ 0x1EFF00001F08,
3700
+ 0x1F1000001F16,
3701
+ 0x1F2000001F28,
3702
+ 0x1F3000001F38,
3703
+ 0x1F4000001F46,
3704
+ 0x1F5000001F58,
3705
+ 0x1F6000001F68,
3706
+ 0x1F7000001F71,
3707
+ 0x1F7200001F73,
3708
+ 0x1F7400001F75,
3709
+ 0x1F7600001F77,
3710
+ 0x1F7800001F79,
3711
+ 0x1F7A00001F7B,
3712
+ 0x1F7C00001F7D,
3713
+ 0x1FB000001FB2,
3714
+ 0x1FB600001FB7,
3715
+ 0x1FC600001FC7,
3716
+ 0x1FD000001FD3,
3717
+ 0x1FD600001FD8,
3718
+ 0x1FE000001FE3,
3719
+ 0x1FE400001FE8,
3720
+ 0x1FF600001FF7,
3721
+ 0x214E0000214F,
3722
+ 0x218400002185,
3723
+ 0x2C3000002C60,
3724
+ 0x2C6100002C62,
3725
+ 0x2C6500002C67,
3726
+ 0x2C6800002C69,
3727
+ 0x2C6A00002C6B,
3728
+ 0x2C6C00002C6D,
3729
+ 0x2C7100002C72,
3730
+ 0x2C7300002C75,
3731
+ 0x2C7600002C7C,
3732
+ 0x2C8100002C82,
3733
+ 0x2C8300002C84,
3734
+ 0x2C8500002C86,
3735
+ 0x2C8700002C88,
3736
+ 0x2C8900002C8A,
3737
+ 0x2C8B00002C8C,
3738
+ 0x2C8D00002C8E,
3739
+ 0x2C8F00002C90,
3740
+ 0x2C9100002C92,
3741
+ 0x2C9300002C94,
3742
+ 0x2C9500002C96,
3743
+ 0x2C9700002C98,
3744
+ 0x2C9900002C9A,
3745
+ 0x2C9B00002C9C,
3746
+ 0x2C9D00002C9E,
3747
+ 0x2C9F00002CA0,
3748
+ 0x2CA100002CA2,
3749
+ 0x2CA300002CA4,
3750
+ 0x2CA500002CA6,
3751
+ 0x2CA700002CA8,
3752
+ 0x2CA900002CAA,
3753
+ 0x2CAB00002CAC,
3754
+ 0x2CAD00002CAE,
3755
+ 0x2CAF00002CB0,
3756
+ 0x2CB100002CB2,
3757
+ 0x2CB300002CB4,
3758
+ 0x2CB500002CB6,
3759
+ 0x2CB700002CB8,
3760
+ 0x2CB900002CBA,
3761
+ 0x2CBB00002CBC,
3762
+ 0x2CBD00002CBE,
3763
+ 0x2CBF00002CC0,
3764
+ 0x2CC100002CC2,
3765
+ 0x2CC300002CC4,
3766
+ 0x2CC500002CC6,
3767
+ 0x2CC700002CC8,
3768
+ 0x2CC900002CCA,
3769
+ 0x2CCB00002CCC,
3770
+ 0x2CCD00002CCE,
3771
+ 0x2CCF00002CD0,
3772
+ 0x2CD100002CD2,
3773
+ 0x2CD300002CD4,
3774
+ 0x2CD500002CD6,
3775
+ 0x2CD700002CD8,
3776
+ 0x2CD900002CDA,
3777
+ 0x2CDB00002CDC,
3778
+ 0x2CDD00002CDE,
3779
+ 0x2CDF00002CE0,
3780
+ 0x2CE100002CE2,
3781
+ 0x2CE300002CE5,
3782
+ 0x2CEC00002CED,
3783
+ 0x2CEE00002CF2,
3784
+ 0x2CF300002CF4,
3785
+ 0x2D0000002D26,
3786
+ 0x2D2700002D28,
3787
+ 0x2D2D00002D2E,
3788
+ 0x2D3000002D68,
3789
+ 0x2D7F00002D97,
3790
+ 0x2DA000002DA7,
3791
+ 0x2DA800002DAF,
3792
+ 0x2DB000002DB7,
3793
+ 0x2DB800002DBF,
3794
+ 0x2DC000002DC7,
3795
+ 0x2DC800002DCF,
3796
+ 0x2DD000002DD7,
3797
+ 0x2DD800002DDF,
3798
+ 0x2DE000002E00,
3799
+ 0x2E2F00002E30,
3800
+ 0x300500003008,
3801
+ 0x302A0000302E,
3802
+ 0x303C0000303D,
3803
+ 0x304100003097,
3804
+ 0x30990000309B,
3805
+ 0x309D0000309F,
3806
+ 0x30A1000030FB,
3807
+ 0x30FC000030FF,
3808
+ 0x310500003130,
3809
+ 0x31A0000031C0,
3810
+ 0x31F000003200,
3811
+ 0x340000004DC0,
3812
+ 0x4E000000A48D,
3813
+ 0xA4D00000A4FE,
3814
+ 0xA5000000A60D,
3815
+ 0xA6100000A62C,
3816
+ 0xA6410000A642,
3817
+ 0xA6430000A644,
3818
+ 0xA6450000A646,
3819
+ 0xA6470000A648,
3820
+ 0xA6490000A64A,
3821
+ 0xA64B0000A64C,
3822
+ 0xA64D0000A64E,
3823
+ 0xA64F0000A650,
3824
+ 0xA6510000A652,
3825
+ 0xA6530000A654,
3826
+ 0xA6550000A656,
3827
+ 0xA6570000A658,
3828
+ 0xA6590000A65A,
3829
+ 0xA65B0000A65C,
3830
+ 0xA65D0000A65E,
3831
+ 0xA65F0000A660,
3832
+ 0xA6610000A662,
3833
+ 0xA6630000A664,
3834
+ 0xA6650000A666,
3835
+ 0xA6670000A668,
3836
+ 0xA6690000A66A,
3837
+ 0xA66B0000A66C,
3838
+ 0xA66D0000A670,
3839
+ 0xA6740000A67E,
3840
+ 0xA67F0000A680,
3841
+ 0xA6810000A682,
3842
+ 0xA6830000A684,
3843
+ 0xA6850000A686,
3844
+ 0xA6870000A688,
3845
+ 0xA6890000A68A,
3846
+ 0xA68B0000A68C,
3847
+ 0xA68D0000A68E,
3848
+ 0xA68F0000A690,
3849
+ 0xA6910000A692,
3850
+ 0xA6930000A694,
3851
+ 0xA6950000A696,
3852
+ 0xA6970000A698,
3853
+ 0xA6990000A69A,
3854
+ 0xA69B0000A69C,
3855
+ 0xA69E0000A6E6,
3856
+ 0xA6F00000A6F2,
3857
+ 0xA7170000A720,
3858
+ 0xA7230000A724,
3859
+ 0xA7250000A726,
3860
+ 0xA7270000A728,
3861
+ 0xA7290000A72A,
3862
+ 0xA72B0000A72C,
3863
+ 0xA72D0000A72E,
3864
+ 0xA72F0000A732,
3865
+ 0xA7330000A734,
3866
+ 0xA7350000A736,
3867
+ 0xA7370000A738,
3868
+ 0xA7390000A73A,
3869
+ 0xA73B0000A73C,
3870
+ 0xA73D0000A73E,
3871
+ 0xA73F0000A740,
3872
+ 0xA7410000A742,
3873
+ 0xA7430000A744,
3874
+ 0xA7450000A746,
3875
+ 0xA7470000A748,
3876
+ 0xA7490000A74A,
3877
+ 0xA74B0000A74C,
3878
+ 0xA74D0000A74E,
3879
+ 0xA74F0000A750,
3880
+ 0xA7510000A752,
3881
+ 0xA7530000A754,
3882
+ 0xA7550000A756,
3883
+ 0xA7570000A758,
3884
+ 0xA7590000A75A,
3885
+ 0xA75B0000A75C,
3886
+ 0xA75D0000A75E,
3887
+ 0xA75F0000A760,
3888
+ 0xA7610000A762,
3889
+ 0xA7630000A764,
3890
+ 0xA7650000A766,
3891
+ 0xA7670000A768,
3892
+ 0xA7690000A76A,
3893
+ 0xA76B0000A76C,
3894
+ 0xA76D0000A76E,
3895
+ 0xA76F0000A770,
3896
+ 0xA7710000A779,
3897
+ 0xA77A0000A77B,
3898
+ 0xA77C0000A77D,
3899
+ 0xA77F0000A780,
3900
+ 0xA7810000A782,
3901
+ 0xA7830000A784,
3902
+ 0xA7850000A786,
3903
+ 0xA7870000A789,
3904
+ 0xA78C0000A78D,
3905
+ 0xA78E0000A790,
3906
+ 0xA7910000A792,
3907
+ 0xA7930000A796,
3908
+ 0xA7970000A798,
3909
+ 0xA7990000A79A,
3910
+ 0xA79B0000A79C,
3911
+ 0xA79D0000A79E,
3912
+ 0xA79F0000A7A0,
3913
+ 0xA7A10000A7A2,
3914
+ 0xA7A30000A7A4,
3915
+ 0xA7A50000A7A6,
3916
+ 0xA7A70000A7A8,
3917
+ 0xA7A90000A7AA,
3918
+ 0xA7AF0000A7B0,
3919
+ 0xA7B50000A7B6,
3920
+ 0xA7B70000A7B8,
3921
+ 0xA7B90000A7BA,
3922
+ 0xA7BB0000A7BC,
3923
+ 0xA7BD0000A7BE,
3924
+ 0xA7BF0000A7C0,
3925
+ 0xA7C10000A7C2,
3926
+ 0xA7C30000A7C4,
3927
+ 0xA7C80000A7C9,
3928
+ 0xA7CA0000A7CB,
3929
+ 0xA7D10000A7D2,
3930
+ 0xA7D30000A7D4,
3931
+ 0xA7D50000A7D6,
3932
+ 0xA7D70000A7D8,
3933
+ 0xA7D90000A7DA,
3934
+ 0xA7F60000A7F8,
3935
+ 0xA7FA0000A828,
3936
+ 0xA82C0000A82D,
3937
+ 0xA8400000A874,
3938
+ 0xA8800000A8C6,
3939
+ 0xA8D00000A8DA,
3940
+ 0xA8E00000A8F8,
3941
+ 0xA8FB0000A8FC,
3942
+ 0xA8FD0000A92E,
3943
+ 0xA9300000A954,
3944
+ 0xA9800000A9C1,
3945
+ 0xA9CF0000A9DA,
3946
+ 0xA9E00000A9FF,
3947
+ 0xAA000000AA37,
3948
+ 0xAA400000AA4E,
3949
+ 0xAA500000AA5A,
3950
+ 0xAA600000AA77,
3951
+ 0xAA7A0000AAC3,
3952
+ 0xAADB0000AADE,
3953
+ 0xAAE00000AAF0,
3954
+ 0xAAF20000AAF7,
3955
+ 0xAB010000AB07,
3956
+ 0xAB090000AB0F,
3957
+ 0xAB110000AB17,
3958
+ 0xAB200000AB27,
3959
+ 0xAB280000AB2F,
3960
+ 0xAB300000AB5B,
3961
+ 0xAB600000AB69,
3962
+ 0xABC00000ABEB,
3963
+ 0xABEC0000ABEE,
3964
+ 0xABF00000ABFA,
3965
+ 0xAC000000D7A4,
3966
+ 0xFA0E0000FA10,
3967
+ 0xFA110000FA12,
3968
+ 0xFA130000FA15,
3969
+ 0xFA1F0000FA20,
3970
+ 0xFA210000FA22,
3971
+ 0xFA230000FA25,
3972
+ 0xFA270000FA2A,
3973
+ 0xFB1E0000FB1F,
3974
+ 0xFE200000FE30,
3975
+ 0xFE730000FE74,
3976
+ 0x100000001000C,
3977
+ 0x1000D00010027,
3978
+ 0x100280001003B,
3979
+ 0x1003C0001003E,
3980
+ 0x1003F0001004E,
3981
+ 0x100500001005E,
3982
+ 0x10080000100FB,
3983
+ 0x101FD000101FE,
3984
+ 0x102800001029D,
3985
+ 0x102A0000102D1,
3986
+ 0x102E0000102E1,
3987
+ 0x1030000010320,
3988
+ 0x1032D00010341,
3989
+ 0x103420001034A,
3990
+ 0x103500001037B,
3991
+ 0x103800001039E,
3992
+ 0x103A0000103C4,
3993
+ 0x103C8000103D0,
3994
+ 0x104280001049E,
3995
+ 0x104A0000104AA,
3996
+ 0x104D8000104FC,
3997
+ 0x1050000010528,
3998
+ 0x1053000010564,
3999
+ 0x10597000105A2,
4000
+ 0x105A3000105B2,
4001
+ 0x105B3000105BA,
4002
+ 0x105BB000105BD,
4003
+ 0x1060000010737,
4004
+ 0x1074000010756,
4005
+ 0x1076000010768,
4006
+ 0x1078000010781,
4007
+ 0x1080000010806,
4008
+ 0x1080800010809,
4009
+ 0x1080A00010836,
4010
+ 0x1083700010839,
4011
+ 0x1083C0001083D,
4012
+ 0x1083F00010856,
4013
+ 0x1086000010877,
4014
+ 0x108800001089F,
4015
+ 0x108E0000108F3,
4016
+ 0x108F4000108F6,
4017
+ 0x1090000010916,
4018
+ 0x109200001093A,
4019
+ 0x10980000109B8,
4020
+ 0x109BE000109C0,
4021
+ 0x10A0000010A04,
4022
+ 0x10A0500010A07,
4023
+ 0x10A0C00010A14,
4024
+ 0x10A1500010A18,
4025
+ 0x10A1900010A36,
4026
+ 0x10A3800010A3B,
4027
+ 0x10A3F00010A40,
4028
+ 0x10A6000010A7D,
4029
+ 0x10A8000010A9D,
4030
+ 0x10AC000010AC8,
4031
+ 0x10AC900010AE7,
4032
+ 0x10B0000010B36,
4033
+ 0x10B4000010B56,
4034
+ 0x10B6000010B73,
4035
+ 0x10B8000010B92,
4036
+ 0x10C0000010C49,
4037
+ 0x10CC000010CF3,
4038
+ 0x10D0000010D28,
4039
+ 0x10D3000010D3A,
4040
+ 0x10E8000010EAA,
4041
+ 0x10EAB00010EAD,
4042
+ 0x10EB000010EB2,
4043
+ 0x10EFD00010F1D,
4044
+ 0x10F2700010F28,
4045
+ 0x10F3000010F51,
4046
+ 0x10F7000010F86,
4047
+ 0x10FB000010FC5,
4048
+ 0x10FE000010FF7,
4049
+ 0x1100000011047,
4050
+ 0x1106600011076,
4051
+ 0x1107F000110BB,
4052
+ 0x110C2000110C3,
4053
+ 0x110D0000110E9,
4054
+ 0x110F0000110FA,
4055
+ 0x1110000011135,
4056
+ 0x1113600011140,
4057
+ 0x1114400011148,
4058
+ 0x1115000011174,
4059
+ 0x1117600011177,
4060
+ 0x11180000111C5,
4061
+ 0x111C9000111CD,
4062
+ 0x111CE000111DB,
4063
+ 0x111DC000111DD,
4064
+ 0x1120000011212,
4065
+ 0x1121300011238,
4066
+ 0x1123E00011242,
4067
+ 0x1128000011287,
4068
+ 0x1128800011289,
4069
+ 0x1128A0001128E,
4070
+ 0x1128F0001129E,
4071
+ 0x1129F000112A9,
4072
+ 0x112B0000112EB,
4073
+ 0x112F0000112FA,
4074
+ 0x1130000011304,
4075
+ 0x113050001130D,
4076
+ 0x1130F00011311,
4077
+ 0x1131300011329,
4078
+ 0x1132A00011331,
4079
+ 0x1133200011334,
4080
+ 0x113350001133A,
4081
+ 0x1133B00011345,
4082
+ 0x1134700011349,
4083
+ 0x1134B0001134E,
4084
+ 0x1135000011351,
4085
+ 0x1135700011358,
4086
+ 0x1135D00011364,
4087
+ 0x113660001136D,
4088
+ 0x1137000011375,
4089
+ 0x114000001144B,
4090
+ 0x114500001145A,
4091
+ 0x1145E00011462,
4092
+ 0x11480000114C6,
4093
+ 0x114C7000114C8,
4094
+ 0x114D0000114DA,
4095
+ 0x11580000115B6,
4096
+ 0x115B8000115C1,
4097
+ 0x115D8000115DE,
4098
+ 0x1160000011641,
4099
+ 0x1164400011645,
4100
+ 0x116500001165A,
4101
+ 0x11680000116B9,
4102
+ 0x116C0000116CA,
4103
+ 0x117000001171B,
4104
+ 0x1171D0001172C,
4105
+ 0x117300001173A,
4106
+ 0x1174000011747,
4107
+ 0x118000001183B,
4108
+ 0x118C0000118EA,
4109
+ 0x118FF00011907,
4110
+ 0x119090001190A,
4111
+ 0x1190C00011914,
4112
+ 0x1191500011917,
4113
+ 0x1191800011936,
4114
+ 0x1193700011939,
4115
+ 0x1193B00011944,
4116
+ 0x119500001195A,
4117
+ 0x119A0000119A8,
4118
+ 0x119AA000119D8,
4119
+ 0x119DA000119E2,
4120
+ 0x119E3000119E5,
4121
+ 0x11A0000011A3F,
4122
+ 0x11A4700011A48,
4123
+ 0x11A5000011A9A,
4124
+ 0x11A9D00011A9E,
4125
+ 0x11AB000011AF9,
4126
+ 0x11C0000011C09,
4127
+ 0x11C0A00011C37,
4128
+ 0x11C3800011C41,
4129
+ 0x11C5000011C5A,
4130
+ 0x11C7200011C90,
4131
+ 0x11C9200011CA8,
4132
+ 0x11CA900011CB7,
4133
+ 0x11D0000011D07,
4134
+ 0x11D0800011D0A,
4135
+ 0x11D0B00011D37,
4136
+ 0x11D3A00011D3B,
4137
+ 0x11D3C00011D3E,
4138
+ 0x11D3F00011D48,
4139
+ 0x11D5000011D5A,
4140
+ 0x11D6000011D66,
4141
+ 0x11D6700011D69,
4142
+ 0x11D6A00011D8F,
4143
+ 0x11D9000011D92,
4144
+ 0x11D9300011D99,
4145
+ 0x11DA000011DAA,
4146
+ 0x11EE000011EF7,
4147
+ 0x11F0000011F11,
4148
+ 0x11F1200011F3B,
4149
+ 0x11F3E00011F43,
4150
+ 0x11F5000011F5A,
4151
+ 0x11FB000011FB1,
4152
+ 0x120000001239A,
4153
+ 0x1248000012544,
4154
+ 0x12F9000012FF1,
4155
+ 0x1300000013430,
4156
+ 0x1344000013456,
4157
+ 0x1440000014647,
4158
+ 0x1680000016A39,
4159
+ 0x16A4000016A5F,
4160
+ 0x16A6000016A6A,
4161
+ 0x16A7000016ABF,
4162
+ 0x16AC000016ACA,
4163
+ 0x16AD000016AEE,
4164
+ 0x16AF000016AF5,
4165
+ 0x16B0000016B37,
4166
+ 0x16B4000016B44,
4167
+ 0x16B5000016B5A,
4168
+ 0x16B6300016B78,
4169
+ 0x16B7D00016B90,
4170
+ 0x16E6000016E80,
4171
+ 0x16F0000016F4B,
4172
+ 0x16F4F00016F88,
4173
+ 0x16F8F00016FA0,
4174
+ 0x16FE000016FE2,
4175
+ 0x16FE300016FE5,
4176
+ 0x16FF000016FF2,
4177
+ 0x17000000187F8,
4178
+ 0x1880000018CD6,
4179
+ 0x18D0000018D09,
4180
+ 0x1AFF00001AFF4,
4181
+ 0x1AFF50001AFFC,
4182
+ 0x1AFFD0001AFFF,
4183
+ 0x1B0000001B123,
4184
+ 0x1B1320001B133,
4185
+ 0x1B1500001B153,
4186
+ 0x1B1550001B156,
4187
+ 0x1B1640001B168,
4188
+ 0x1B1700001B2FC,
4189
+ 0x1BC000001BC6B,
4190
+ 0x1BC700001BC7D,
4191
+ 0x1BC800001BC89,
4192
+ 0x1BC900001BC9A,
4193
+ 0x1BC9D0001BC9F,
4194
+ 0x1CF000001CF2E,
4195
+ 0x1CF300001CF47,
4196
+ 0x1DA000001DA37,
4197
+ 0x1DA3B0001DA6D,
4198
+ 0x1DA750001DA76,
4199
+ 0x1DA840001DA85,
4200
+ 0x1DA9B0001DAA0,
4201
+ 0x1DAA10001DAB0,
4202
+ 0x1DF000001DF1F,
4203
+ 0x1DF250001DF2B,
4204
+ 0x1E0000001E007,
4205
+ 0x1E0080001E019,
4206
+ 0x1E01B0001E022,
4207
+ 0x1E0230001E025,
4208
+ 0x1E0260001E02B,
4209
+ 0x1E08F0001E090,
4210
+ 0x1E1000001E12D,
4211
+ 0x1E1300001E13E,
4212
+ 0x1E1400001E14A,
4213
+ 0x1E14E0001E14F,
4214
+ 0x1E2900001E2AF,
4215
+ 0x1E2C00001E2FA,
4216
+ 0x1E4D00001E4FA,
4217
+ 0x1E7E00001E7E7,
4218
+ 0x1E7E80001E7EC,
4219
+ 0x1E7ED0001E7EF,
4220
+ 0x1E7F00001E7FF,
4221
+ 0x1E8000001E8C5,
4222
+ 0x1E8D00001E8D7,
4223
+ 0x1E9220001E94C,
4224
+ 0x1E9500001E95A,
4225
+ 0x200000002A6E0,
4226
+ 0x2A7000002B73A,
4227
+ 0x2B7400002B81E,
4228
+ 0x2B8200002CEA2,
4229
+ 0x2CEB00002EBE1,
4230
+ 0x2EBF00002EE5E,
4231
+ 0x300000003134B,
4232
+ 0x31350000323B0,
4233
+ ),
4234
+ "CONTEXTJ": (0x200C0000200E,),
4235
+ "CONTEXTO": (
4236
+ 0xB7000000B8,
4237
+ 0x37500000376,
4238
+ 0x5F3000005F5,
4239
+ 0x6600000066A,
4240
+ 0x6F0000006FA,
4241
+ 0x30FB000030FC,
4242
+ ),
4243
+ }
vllm/lib/python3.10/site-packages/idna/package_data.py ADDED
@@ -0,0 +1 @@
 
 
1
+ __version__ = "3.10"
vllm/lib/python3.10/site-packages/idna/py.typed ADDED
File without changes
vllm/lib/python3.10/site-packages/idna/uts46data.py ADDED
The diff for this file is too large to render. See raw diff
 
vllm/lib/python3.10/site-packages/nvidia_cuda_cupti_cu12-12.4.127.dist-info/License.txt ADDED
@@ -0,0 +1,1568 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ End User License Agreement
2
+ --------------------------
3
+
4
+
5
+ Preface
6
+ -------
7
+
8
+ The Software License Agreement in Chapter 1 and the Supplement
9
+ in Chapter 2 contain license terms and conditions that govern
10
+ the use of NVIDIA software. By accepting this agreement, you
11
+ agree to comply with all the terms and conditions applicable
12
+ to the product(s) included herein.
13
+
14
+
15
+ NVIDIA Driver
16
+
17
+
18
+ Description
19
+
20
+ This package contains the operating system driver and
21
+ fundamental system software components for NVIDIA GPUs.
22
+
23
+
24
+ NVIDIA CUDA Toolkit
25
+
26
+
27
+ Description
28
+
29
+ The NVIDIA CUDA Toolkit provides command-line and graphical
30
+ tools for building, debugging and optimizing the performance
31
+ of applications accelerated by NVIDIA GPUs, runtime and math
32
+ libraries, and documentation including programming guides,
33
+ user manuals, and API references.
34
+
35
+
36
+ Default Install Location of CUDA Toolkit
37
+
38
+ Windows platform:
39
+
40
+ %ProgramFiles%\NVIDIA GPU Computing Toolkit\CUDA\v#.#
41
+
42
+ Linux platform:
43
+
44
+ /usr/local/cuda-#.#
45
+
46
+ Mac platform:
47
+
48
+ /Developer/NVIDIA/CUDA-#.#
49
+
50
+
51
+ NVIDIA CUDA Samples
52
+
53
+
54
+ Description
55
+
56
+ This package includes over 100+ CUDA examples that demonstrate
57
+ various CUDA programming principles, and efficient CUDA
58
+ implementation of algorithms in specific application domains.
59
+
60
+
61
+ Default Install Location of CUDA Samples
62
+
63
+ Windows platform:
64
+
65
+ %ProgramData%\NVIDIA Corporation\CUDA Samples\v#.#
66
+
67
+ Linux platform:
68
+
69
+ /usr/local/cuda-#.#/samples
70
+
71
+ and
72
+
73
+ $HOME/NVIDIA_CUDA-#.#_Samples
74
+
75
+ Mac platform:
76
+
77
+ /Developer/NVIDIA/CUDA-#.#/samples
78
+
79
+
80
+ NVIDIA Nsight Visual Studio Edition (Windows only)
81
+
82
+
83
+ Description
84
+
85
+ NVIDIA Nsight Development Platform, Visual Studio Edition is a
86
+ development environment integrated into Microsoft Visual
87
+ Studio that provides tools for debugging, profiling, analyzing
88
+ and optimizing your GPU computing and graphics applications.
89
+
90
+
91
+ Default Install Location of Nsight Visual Studio Edition
92
+
93
+ Windows platform:
94
+
95
+ %ProgramFiles(x86)%\NVIDIA Corporation\Nsight Visual Studio Edition #.#
96
+
97
+
98
+ 1. License Agreement for NVIDIA Software Development Kits
99
+ ---------------------------------------------------------
100
+
101
+
102
+ Release Date: July 26, 2018
103
+ ---------------------------
104
+
105
+
106
+ Important NoticeRead before downloading, installing,
107
+ copying or using the licensed software:
108
+ -------------------------------------------------------
109
+
110
+ This license agreement, including exhibits attached
111
+ ("Agreement”) is a legal agreement between you and NVIDIA
112
+ Corporation ("NVIDIA") and governs your use of a NVIDIA
113
+ software development kit (“SDK”).
114
+
115
+ Each SDK has its own set of software and materials, but here
116
+ is a description of the types of items that may be included in
117
+ a SDK: source code, header files, APIs, data sets and assets
118
+ (examples include images, textures, models, scenes, videos,
119
+ native API input/output files), binary software, sample code,
120
+ libraries, utility programs, programming code and
121
+ documentation.
122
+
123
+ This Agreement can be accepted only by an adult of legal age
124
+ of majority in the country in which the SDK is used.
125
+
126
+ If you are entering into this Agreement on behalf of a company
127
+ or other legal entity, you represent that you have the legal
128
+ authority to bind the entity to this Agreement, in which case
129
+ “you” will mean the entity you represent.
130
+
131
+ If you don’t have the required age or authority to accept
132
+ this Agreement, or if you don’t accept all the terms and
133
+ conditions of this Agreement, do not download, install or use
134
+ the SDK.
135
+
136
+ You agree to use the SDK only for purposes that are permitted
137
+ by (a) this Agreement, and (b) any applicable law, regulation
138
+ or generally accepted practices or guidelines in the relevant
139
+ jurisdictions.
140
+
141
+
142
+ 1.1. License
143
+
144
+
145
+ 1.1.1. License Grant
146
+
147
+ Subject to the terms of this Agreement, NVIDIA hereby grants
148
+ you a non-exclusive, non-transferable license, without the
149
+ right to sublicense (except as expressly provided in this
150
+ Agreement) to:
151
+
152
+ 1. Install and use the SDK,
153
+
154
+ 2. Modify and create derivative works of sample source code
155
+ delivered in the SDK, and
156
+
157
+ 3. Distribute those portions of the SDK that are identified
158
+ in this Agreement as distributable, as incorporated in
159
+ object code format into a software application that meets
160
+ the distribution requirements indicated in this Agreement.
161
+
162
+
163
+ 1.1.2. Distribution Requirements
164
+
165
+ These are the distribution requirements for you to exercise
166
+ the distribution grant:
167
+
168
+ 1. Your application must have material additional
169
+ functionality, beyond the included portions of the SDK.
170
+
171
+ 2. The distributable portions of the SDK shall only be
172
+ accessed by your application.
173
+
174
+ 3. The following notice shall be included in modifications
175
+ and derivative works of sample source code distributed:
176
+ “This software contains source code provided by NVIDIA
177
+ Corporation.”
178
+
179
+ 4. Unless a developer tool is identified in this Agreement
180
+ as distributable, it is delivered for your internal use
181
+ only.
182
+
183
+ 5. The terms under which you distribute your application
184
+ must be consistent with the terms of this Agreement,
185
+ including (without limitation) terms relating to the
186
+ license grant and license restrictions and protection of
187
+ NVIDIA’s intellectual property rights. Additionally, you
188
+ agree that you will protect the privacy, security and
189
+ legal rights of your application users.
190
+
191
+ 6. You agree to notify NVIDIA in writing of any known or
192
+ suspected distribution or use of the SDK not in compliance
193
+ with the requirements of this Agreement, and to enforce
194
+ the terms of your agreements with respect to distributed
195
+ SDK.
196
+
197
+
198
+ 1.1.3. Authorized Users
199
+
200
+ You may allow employees and contractors of your entity or of
201
+ your subsidiary(ies) to access and use the SDK from your
202
+ secure network to perform work on your behalf.
203
+
204
+ If you are an academic institution you may allow users
205
+ enrolled or employed by the academic institution to access and
206
+ use the SDK from your secure network.
207
+
208
+ You are responsible for the compliance with the terms of this
209
+ Agreement by your authorized users. If you become aware that
210
+ your authorized users didn’t follow the terms of this
211
+ Agreement, you agree to take reasonable steps to resolve the
212
+ non-compliance and prevent new occurrences.
213
+
214
+
215
+ 1.1.4. Pre-Release SDK
216
+
217
+ The SDK versions identified as alpha, beta, preview or
218
+ otherwise as pre-release, may not be fully functional, may
219
+ contain errors or design flaws, and may have reduced or
220
+ different security, privacy, accessibility, availability, and
221
+ reliability standards relative to commercial versions of
222
+ NVIDIA software and materials. Use of a pre-release SDK may
223
+ result in unexpected results, loss of data, project delays or
224
+ other unpredictable damage or loss.
225
+
226
+ You may use a pre-release SDK at your own risk, understanding
227
+ that pre-release SDKs are not intended for use in production
228
+ or business-critical systems.
229
+
230
+ NVIDIA may choose not to make available a commercial version
231
+ of any pre-release SDK. NVIDIA may also choose to abandon
232
+ development and terminate the availability of a pre-release
233
+ SDK at any time without liability.
234
+
235
+
236
+ 1.1.5. Updates
237
+
238
+ NVIDIA may, at its option, make available patches, workarounds
239
+ or other updates to this SDK. Unless the updates are provided
240
+ with their separate governing terms, they are deemed part of
241
+ the SDK licensed to you as provided in this Agreement. You
242
+ agree that the form and content of the SDK that NVIDIA
243
+ provides may change without prior notice to you. While NVIDIA
244
+ generally maintains compatibility between versions, NVIDIA may
245
+ in some cases make changes that introduce incompatibilities in
246
+ future versions of the SDK.
247
+
248
+
249
+ 1.1.6. Third Party Licenses
250
+
251
+ The SDK may come bundled with, or otherwise include or be
252
+ distributed with, third party software licensed by a NVIDIA
253
+ supplier and/or open source software provided under an open
254
+ source license. Use of third party software is subject to the
255
+ third-party license terms, or in the absence of third party
256
+ terms, the terms of this Agreement. Copyright to third party
257
+ software is held by the copyright holders indicated in the
258
+ third-party software or license.
259
+
260
+
261
+ 1.1.7. Reservation of Rights
262
+
263
+ NVIDIA reserves all rights, title, and interest in and to the
264
+ SDK, not expressly granted to you under this Agreement.
265
+
266
+
267
+ 1.2. Limitations
268
+
269
+ The following license limitations apply to your use of the
270
+ SDK:
271
+
272
+ 1. You may not reverse engineer, decompile or disassemble,
273
+ or remove copyright or other proprietary notices from any
274
+ portion of the SDK or copies of the SDK.
275
+
276
+ 2. Except as expressly provided in this Agreement, you may
277
+ not copy, sell, rent, sublicense, transfer, distribute,
278
+ modify, or create derivative works of any portion of the
279
+ SDK. For clarity, you may not distribute or sublicense the
280
+ SDK as a stand-alone product.
281
+
282
+ 3. Unless you have an agreement with NVIDIA for this
283
+ purpose, you may not indicate that an application created
284
+ with the SDK is sponsored or endorsed by NVIDIA.
285
+
286
+ 4. You may not bypass, disable, or circumvent any
287
+ encryption, security, digital rights management or
288
+ authentication mechanism in the SDK.
289
+
290
+ 5. You may not use the SDK in any manner that would cause it
291
+ to become subject to an open source software license. As
292
+ examples, licenses that require as a condition of use,
293
+ modification, and/or distribution that the SDK be:
294
+
295
+ a. Disclosed or distributed in source code form;
296
+
297
+ b. Licensed for the purpose of making derivative works;
298
+ or
299
+
300
+ c. Redistributable at no charge.
301
+
302
+ 6. Unless you have an agreement with NVIDIA for this
303
+ purpose, you may not use the SDK with any system or
304
+ application where the use or failure of the system or
305
+ application can reasonably be expected to threaten or
306
+ result in personal injury, death, or catastrophic loss.
307
+ Examples include use in avionics, navigation, military,
308
+ medical, life support or other life critical applications.
309
+ NVIDIA does not design, test or manufacture the SDK for
310
+ these critical uses and NVIDIA shall not be liable to you
311
+ or any third party, in whole or in part, for any claims or
312
+ damages arising from such uses.
313
+
314
+ 7. You agree to defend, indemnify and hold harmless NVIDIA
315
+ and its affiliates, and their respective employees,
316
+ contractors, agents, officers and directors, from and
317
+ against any and all claims, damages, obligations, losses,
318
+ liabilities, costs or debt, fines, restitutions and
319
+ expenses (including but not limited to attorney’s fees
320
+ and costs incident to establishing the right of
321
+ indemnification) arising out of or related to your use of
322
+ the SDK outside of the scope of this Agreement, or not in
323
+ compliance with its terms.
324
+
325
+
326
+ 1.3. Ownership
327
+
328
+ 1. NVIDIA or its licensors hold all rights, title and
329
+ interest in and to the SDK and its modifications and
330
+ derivative works, including their respective intellectual
331
+ property rights, subject to your rights described in this
332
+ section. This SDK may include software and materials from
333
+ NVIDIA’s licensors, and these licensors are intended
334
+ third party beneficiaries that may enforce this Agreement
335
+ with respect to their intellectual property rights.
336
+
337
+ 2. You hold all rights, title and interest in and to your
338
+ applications and your derivative works of the sample
339
+ source code delivered in the SDK, including their
340
+ respective intellectual property rights, subject to
341
+ NVIDIA’s rights described in this section.
342
+
343
+ 3. You may, but don’t have to, provide to NVIDIA
344
+ suggestions, feature requests or other feedback regarding
345
+ the SDK, including possible enhancements or modifications
346
+ to the SDK. For any feedback that you voluntarily provide,
347
+ you hereby grant NVIDIA and its affiliates a perpetual,
348
+ non-exclusive, worldwide, irrevocable license to use,
349
+ reproduce, modify, license, sublicense (through multiple
350
+ tiers of sublicensees), and distribute (through multiple
351
+ tiers of distributors) it without the payment of any
352
+ royalties or fees to you. NVIDIA will use feedback at its
353
+ choice. NVIDIA is constantly looking for ways to improve
354
+ its products, so you may send feedback to NVIDIA through
355
+ the developer portal at https://developer.nvidia.com.
356
+
357
+
358
+ 1.4. No Warranties
359
+
360
+ THE SDK IS PROVIDED BY NVIDIA “AS IS” AND “WITH ALL
361
+ FAULTS.” TO THE MAXIMUM EXTENT PERMITTED BY LAW, NVIDIA AND
362
+ ITS AFFILIATES EXPRESSLY DISCLAIM ALL WARRANTIES OF ANY KIND
363
+ OR NATURE, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING,
364
+ BUT NOT LIMITED TO, ANY WARRANTIES OF MERCHANTABILITY, FITNESS
365
+ FOR A PARTICULAR PURPOSE, TITLE, NON-INFRINGEMENT, OR THE
366
+ ABSENCE OF ANY DEFECTS THEREIN, WHETHER LATENT OR PATENT. NO
367
+ WARRANTY IS MADE ON THE BASIS OF TRADE USAGE, COURSE OF
368
+ DEALING OR COURSE OF TRADE.
369
+
370
+
371
+ 1.5. Limitation of Liability
372
+
373
+ TO THE MAXIMUM EXTENT PERMITTED BY LAW, NVIDIA AND ITS
374
+ AFFILIATES SHALL NOT BE LIABLE FOR ANY SPECIAL, INCIDENTAL,
375
+ PUNITIVE OR CONSEQUENTIAL DAMAGES, OR ANY LOST PROFITS, LOSS
376
+ OF USE, LOSS OF DATA OR LOSS OF GOODWILL, OR THE COSTS OF
377
+ PROCURING SUBSTITUTE PRODUCTS, ARISING OUT OF OR IN CONNECTION
378
+ WITH THIS AGREEMENT OR THE USE OR PERFORMANCE OF THE SDK,
379
+ WHETHER SUCH LIABILITY ARISES FROM ANY CLAIM BASED UPON BREACH
380
+ OF CONTRACT, BREACH OF WARRANTY, TORT (INCLUDING NEGLIGENCE),
381
+ PRODUCT LIABILITY OR ANY OTHER CAUSE OF ACTION OR THEORY OF
382
+ LIABILITY. IN NO EVENT WILL NVIDIA’S AND ITS AFFILIATES
383
+ TOTAL CUMULATIVE LIABILITY UNDER OR ARISING OUT OF THIS
384
+ AGREEMENT EXCEED US$10.00. THE NATURE OF THE LIABILITY OR THE
385
+ NUMBER OF CLAIMS OR SUITS SHALL NOT ENLARGE OR EXTEND THIS
386
+ LIMIT.
387
+
388
+ These exclusions and limitations of liability shall apply
389
+ regardless if NVIDIA or its affiliates have been advised of
390
+ the possibility of such damages, and regardless of whether a
391
+ remedy fails its essential purpose. These exclusions and
392
+ limitations of liability form an essential basis of the
393
+ bargain between the parties, and, absent any of these
394
+ exclusions or limitations of liability, the provisions of this
395
+ Agreement, including, without limitation, the economic terms,
396
+ would be substantially different.
397
+
398
+
399
+ 1.6. Termination
400
+
401
+ 1. This Agreement will continue to apply until terminated by
402
+ either you or NVIDIA as described below.
403
+
404
+ 2. If you want to terminate this Agreement, you may do so by
405
+ stopping to use the SDK.
406
+
407
+ 3. NVIDIA may, at any time, terminate this Agreement if:
408
+
409
+ a. (i) you fail to comply with any term of this
410
+ Agreement and the non-compliance is not fixed within
411
+ thirty (30) days following notice from NVIDIA (or
412
+ immediately if you violate NVIDIA’s intellectual
413
+ property rights);
414
+
415
+ b. (ii) you commence or participate in any legal
416
+ proceeding against NVIDIA with respect to the SDK; or
417
+
418
+ c. (iii) NVIDIA decides to no longer provide the SDK in
419
+ a country or, in NVIDIA’s sole discretion, the
420
+ continued use of it is no longer commercially viable.
421
+
422
+ 4. Upon any termination of this Agreement, you agree to
423
+ promptly discontinue use of the SDK and destroy all copies
424
+ in your possession or control. Your prior distributions in
425
+ accordance with this Agreement are not affected by the
426
+ termination of this Agreement. Upon written request, you
427
+ will certify in writing that you have complied with your
428
+ commitments under this section. Upon any termination of
429
+ this Agreement all provisions survive except for the
430
+ license grant provisions.
431
+
432
+
433
+ 1.7. General
434
+
435
+ If you wish to assign this Agreement or your rights and
436
+ obligations, including by merger, consolidation, dissolution
437
+ or operation of law, contact NVIDIA to ask for permission. Any
438
+ attempted assignment not approved by NVIDIA in writing shall
439
+ be void and of no effect. NVIDIA may assign, delegate or
440
+ transfer this Agreement and its rights and obligations, and if
441
+ to a non-affiliate you will be notified.
442
+
443
+ You agree to cooperate with NVIDIA and provide reasonably
444
+ requested information to verify your compliance with this
445
+ Agreement.
446
+
447
+ This Agreement will be governed in all respects by the laws of
448
+ the United States and of the State of Delaware as those laws
449
+ are applied to contracts entered into and performed entirely
450
+ within Delaware by Delaware residents, without regard to the
451
+ conflicts of laws principles. The United Nations Convention on
452
+ Contracts for the International Sale of Goods is specifically
453
+ disclaimed. You agree to all terms of this Agreement in the
454
+ English language.
455
+
456
+ The state or federal courts residing in Santa Clara County,
457
+ California shall have exclusive jurisdiction over any dispute
458
+ or claim arising out of this Agreement. Notwithstanding this,
459
+ you agree that NVIDIA shall still be allowed to apply for
460
+ injunctive remedies or an equivalent type of urgent legal
461
+ relief in any jurisdiction.
462
+
463
+ If any court of competent jurisdiction determines that any
464
+ provision of this Agreement is illegal, invalid or
465
+ unenforceable, such provision will be construed as limited to
466
+ the extent necessary to be consistent with and fully
467
+ enforceable under the law and the remaining provisions will
468
+ remain in full force and effect. Unless otherwise specified,
469
+ remedies are cumulative.
470
+
471
+ Each party acknowledges and agrees that the other is an
472
+ independent contractor in the performance of this Agreement.
473
+
474
+ The SDK has been developed entirely at private expense and is
475
+ “commercial items” consisting of “commercial computer
476
+ software” and “commercial computer software
477
+ documentation” provided with RESTRICTED RIGHTS. Use,
478
+ duplication or disclosure by the U.S. Government or a U.S.
479
+ Government subcontractor is subject to the restrictions in
480
+ this Agreement pursuant to DFARS 227.7202-3(a) or as set forth
481
+ in subparagraphs (c)(1) and (2) of the Commercial Computer
482
+ Software - Restricted Rights clause at FAR 52.227-19, as
483
+ applicable. Contractor/manufacturer is NVIDIA, 2788 San Tomas
484
+ Expressway, Santa Clara, CA 95051.
485
+
486
+ The SDK is subject to United States export laws and
487
+ regulations. You agree that you will not ship, transfer or
488
+ export the SDK into any country, or use the SDK in any manner,
489
+ prohibited by the United States Bureau of Industry and
490
+ Security or economic sanctions regulations administered by the
491
+ U.S. Department of Treasury’s Office of Foreign Assets
492
+ Control (OFAC), or any applicable export laws, restrictions or
493
+ regulations. These laws include restrictions on destinations,
494
+ end users and end use. By accepting this Agreement, you
495
+ confirm that you are not a resident or citizen of any country
496
+ currently embargoed by the U.S. and that you are not otherwise
497
+ prohibited from receiving the SDK.
498
+
499
+ Any notice delivered by NVIDIA to you under this Agreement
500
+ will be delivered via mail, email or fax. You agree that any
501
+ notices that NVIDIA sends you electronically will satisfy any
502
+ legal communication requirements. Please direct your legal
503
+ notices or other correspondence to NVIDIA Corporation, 2788
504
+ San Tomas Expressway, Santa Clara, California 95051, United
505
+ States of America, Attention: Legal Department.
506
+
507
+ This Agreement and any exhibits incorporated into this
508
+ Agreement constitute the entire agreement of the parties with
509
+ respect to the subject matter of this Agreement and supersede
510
+ all prior negotiations or documentation exchanged between the
511
+ parties relating to this SDK license. Any additional and/or
512
+ conflicting terms on documents issued by you are null, void,
513
+ and invalid. Any amendment or waiver under this Agreement
514
+ shall be in writing and signed by representatives of both
515
+ parties.
516
+
517
+
518
+ 2. CUDA Toolkit Supplement to Software License Agreement for
519
+ NVIDIA Software Development Kits
520
+ ------------------------------------------------------------
521
+
522
+
523
+ Release date: August 16, 2018
524
+ -----------------------------
525
+
526
+ The terms in this supplement govern your use of the NVIDIA
527
+ CUDA Toolkit SDK under the terms of your license agreement
528
+ (“Agreement”) as modified by this supplement. Capitalized
529
+ terms used but not defined below have the meaning assigned to
530
+ them in the Agreement.
531
+
532
+ This supplement is an exhibit to the Agreement and is
533
+ incorporated as an integral part of the Agreement. In the
534
+ event of conflict between the terms in this supplement and the
535
+ terms in the Agreement, the terms in this supplement govern.
536
+
537
+
538
+ 2.1. License Scope
539
+
540
+ The SDK is licensed for you to develop applications only for
541
+ use in systems with NVIDIA GPUs.
542
+
543
+
544
+ 2.2. Distribution
545
+
546
+ The portions of the SDK that are distributable under the
547
+ Agreement are listed in Attachment A.
548
+
549
+
550
+ 2.3. Operating Systems
551
+
552
+ Those portions of the SDK designed exclusively for use on the
553
+ Linux or FreeBSD operating systems, or other operating systems
554
+ derived from the source code to these operating systems, may
555
+ be copied and redistributed for use in accordance with this
556
+ Agreement, provided that the object code files are not
557
+ modified in any way (except for unzipping of compressed
558
+ files).
559
+
560
+
561
+ 2.4. Audio and Video Encoders and Decoders
562
+
563
+ You acknowledge and agree that it is your sole responsibility
564
+ to obtain any additional third-party licenses required to
565
+ make, have made, use, have used, sell, import, and offer for
566
+ sale your products or services that include or incorporate any
567
+ third-party software and content relating to audio and/or
568
+ video encoders and decoders from, including but not limited
569
+ to, Microsoft, Thomson, Fraunhofer IIS, Sisvel S.p.A.,
570
+ MPEG-LA, and Coding Technologies. NVIDIA does not grant to you
571
+ under this Agreement any necessary patent or other rights with
572
+ respect to any audio and/or video encoders and decoders.
573
+
574
+
575
+ 2.5. Licensing
576
+
577
+ If the distribution terms in this Agreement are not suitable
578
+ for your organization, or for any questions regarding this
579
+ Agreement, please contact NVIDIA at
580
+ nvidia-compute-license-questions@nvidia.com.
581
+
582
+
583
+ 2.6. Attachment A
584
+
585
+ The following portions of the SDK are distributable under the
586
+ Agreement:
587
+
588
+ Component
589
+
590
+ CUDA Runtime
591
+
592
+ Windows
593
+
594
+ cudart.dll, cudart_static.lib, cudadevrt.lib
595
+
596
+ Mac OSX
597
+
598
+ libcudart.dylib, libcudart_static.a, libcudadevrt.a
599
+
600
+ Linux
601
+
602
+ libcudart.so, libcudart_static.a, libcudadevrt.a
603
+
604
+ Android
605
+
606
+ libcudart.so, libcudart_static.a, libcudadevrt.a
607
+
608
+ Component
609
+
610
+ CUDA FFT Library
611
+
612
+ Windows
613
+
614
+ cufft.dll, cufftw.dll, cufft.lib, cufftw.lib
615
+
616
+ Mac OSX
617
+
618
+ libcufft.dylib, libcufft_static.a, libcufftw.dylib,
619
+ libcufftw_static.a
620
+
621
+ Linux
622
+
623
+ libcufft.so, libcufft_static.a, libcufftw.so,
624
+ libcufftw_static.a
625
+
626
+ Android
627
+
628
+ libcufft.so, libcufft_static.a, libcufftw.so,
629
+ libcufftw_static.a
630
+
631
+ Component
632
+
633
+ CUDA BLAS Library
634
+
635
+ Windows
636
+
637
+ cublas.dll, cublasLt.dll
638
+
639
+ Mac OSX
640
+
641
+ libcublas.dylib, libcublasLt.dylib, libcublas_static.a,
642
+ libcublasLt_static.a
643
+
644
+ Linux
645
+
646
+ libcublas.so, libcublasLt.so, libcublas_static.a,
647
+ libcublasLt_static.a
648
+
649
+ Android
650
+
651
+ libcublas.so, libcublasLt.so, libcublas_static.a,
652
+ libcublasLt_static.a
653
+
654
+ Component
655
+
656
+ NVIDIA "Drop-in" BLAS Library
657
+
658
+ Windows
659
+
660
+ nvblas.dll
661
+
662
+ Mac OSX
663
+
664
+ libnvblas.dylib
665
+
666
+ Linux
667
+
668
+ libnvblas.so
669
+
670
+ Component
671
+
672
+ CUDA Sparse Matrix Library
673
+
674
+ Windows
675
+
676
+ cusparse.dll, cusparse.lib
677
+
678
+ Mac OSX
679
+
680
+ libcusparse.dylib, libcusparse_static.a
681
+
682
+ Linux
683
+
684
+ libcusparse.so, libcusparse_static.a
685
+
686
+ Android
687
+
688
+ libcusparse.so, libcusparse_static.a
689
+
690
+ Component
691
+
692
+ CUDA Linear Solver Library
693
+
694
+ Windows
695
+
696
+ cusolver.dll, cusolver.lib
697
+
698
+ Mac OSX
699
+
700
+ libcusolver.dylib, libcusolver_static.a
701
+
702
+ Linux
703
+
704
+ libcusolver.so, libcusolver_static.a
705
+
706
+ Android
707
+
708
+ libcusolver.so, libcusolver_static.a
709
+
710
+ Component
711
+
712
+ CUDA Random Number Generation Library
713
+
714
+ Windows
715
+
716
+ curand.dll, curand.lib
717
+
718
+ Mac OSX
719
+
720
+ libcurand.dylib, libcurand_static.a
721
+
722
+ Linux
723
+
724
+ libcurand.so, libcurand_static.a
725
+
726
+ Android
727
+
728
+ libcurand.so, libcurand_static.a
729
+
730
+ Component
731
+
732
+ CUDA Accelerated Graph Library
733
+
734
+ Component
735
+
736
+ NVIDIA Performance Primitives Library
737
+
738
+ Windows
739
+
740
+ nppc.dll, nppc.lib, nppial.dll, nppial.lib, nppicc.dll,
741
+ nppicc.lib, nppicom.dll, nppicom.lib, nppidei.dll,
742
+ nppidei.lib, nppif.dll, nppif.lib, nppig.dll, nppig.lib,
743
+ nppim.dll, nppim.lib, nppist.dll, nppist.lib, nppisu.dll,
744
+ nppisu.lib, nppitc.dll, nppitc.lib, npps.dll, npps.lib
745
+
746
+ Mac OSX
747
+
748
+ libnppc.dylib, libnppc_static.a, libnppial.dylib,
749
+ libnppial_static.a, libnppicc.dylib, libnppicc_static.a,
750
+ libnppicom.dylib, libnppicom_static.a, libnppidei.dylib,
751
+ libnppidei_static.a, libnppif.dylib, libnppif_static.a,
752
+ libnppig.dylib, libnppig_static.a, libnppim.dylib,
753
+ libnppisu_static.a, libnppitc.dylib, libnppitc_static.a,
754
+ libnpps.dylib, libnpps_static.a
755
+
756
+ Linux
757
+
758
+ libnppc.so, libnppc_static.a, libnppial.so,
759
+ libnppial_static.a, libnppicc.so, libnppicc_static.a,
760
+ libnppicom.so, libnppicom_static.a, libnppidei.so,
761
+ libnppidei_static.a, libnppif.so, libnppif_static.a
762
+ libnppig.so, libnppig_static.a, libnppim.so,
763
+ libnppim_static.a, libnppist.so, libnppist_static.a,
764
+ libnppisu.so, libnppisu_static.a, libnppitc.so
765
+ libnppitc_static.a, libnpps.so, libnpps_static.a
766
+
767
+ Android
768
+
769
+ libnppc.so, libnppc_static.a, libnppial.so,
770
+ libnppial_static.a, libnppicc.so, libnppicc_static.a,
771
+ libnppicom.so, libnppicom_static.a, libnppidei.so,
772
+ libnppidei_static.a, libnppif.so, libnppif_static.a
773
+ libnppig.so, libnppig_static.a, libnppim.so,
774
+ libnppim_static.a, libnppist.so, libnppist_static.a,
775
+ libnppisu.so, libnppisu_static.a, libnppitc.so
776
+ libnppitc_static.a, libnpps.so, libnpps_static.a
777
+
778
+ Component
779
+
780
+ NVIDIA JPEG Library
781
+
782
+ Linux
783
+
784
+ libnvjpeg.so, libnvjpeg_static.a
785
+
786
+ Component
787
+
788
+ Internal common library required for statically linking to
789
+ cuBLAS, cuSPARSE, cuFFT, cuRAND, nvJPEG and NPP
790
+
791
+ Mac OSX
792
+
793
+ libculibos.a
794
+
795
+ Linux
796
+
797
+ libculibos.a
798
+
799
+ Component
800
+
801
+ NVIDIA Runtime Compilation Library and Header
802
+
803
+ All
804
+
805
+ nvrtc.h
806
+
807
+ Windows
808
+
809
+ nvrtc.dll, nvrtc-builtins.dll
810
+
811
+ Mac OSX
812
+
813
+ libnvrtc.dylib, libnvrtc-builtins.dylib
814
+
815
+ Linux
816
+
817
+ libnvrtc.so, libnvrtc-builtins.so
818
+
819
+ Component
820
+
821
+ NVIDIA Optimizing Compiler Library
822
+
823
+ Windows
824
+
825
+ nvvm.dll
826
+
827
+ Mac OSX
828
+
829
+ libnvvm.dylib
830
+
831
+ Linux
832
+
833
+ libnvvm.so
834
+
835
+ Component
836
+
837
+ NVIDIA Common Device Math Functions Library
838
+
839
+ Windows
840
+
841
+ libdevice.10.bc
842
+
843
+ Mac OSX
844
+
845
+ libdevice.10.bc
846
+
847
+ Linux
848
+
849
+ libdevice.10.bc
850
+
851
+ Component
852
+
853
+ CUDA Occupancy Calculation Header Library
854
+
855
+ All
856
+
857
+ cuda_occupancy.h
858
+
859
+ Component
860
+
861
+ CUDA Half Precision Headers
862
+
863
+ All
864
+
865
+ cuda_fp16.h, cuda_fp16.hpp
866
+
867
+ Component
868
+
869
+ CUDA Profiling Tools Interface (CUPTI) Library
870
+
871
+ Windows
872
+
873
+ cupti.dll
874
+
875
+ Mac OSX
876
+
877
+ libcupti.dylib
878
+
879
+ Linux
880
+
881
+ libcupti.so
882
+
883
+ Component
884
+
885
+ NVIDIA Tools Extension Library
886
+
887
+ Windows
888
+
889
+ nvToolsExt.dll, nvToolsExt.lib
890
+
891
+ Mac OSX
892
+
893
+ libnvToolsExt.dylib
894
+
895
+ Linux
896
+
897
+ libnvToolsExt.so
898
+
899
+ Component
900
+
901
+ NVIDIA CUDA Driver Libraries
902
+
903
+ Linux
904
+
905
+ libcuda.so, libnvidia-fatbinaryloader.so,
906
+ libnvidia-ptxjitcompiler.so
907
+
908
+ The NVIDIA CUDA Driver Libraries are only distributable in
909
+ applications that meet this criteria:
910
+
911
+ 1. The application was developed starting from a NVIDIA CUDA
912
+ container obtained from Docker Hub or the NVIDIA GPU
913
+ Cloud, and
914
+
915
+ 2. The resulting application is packaged as a Docker
916
+ container and distributed to users on Docker Hub or the
917
+ NVIDIA GPU Cloud only.
918
+
919
+
920
+ 2.7. Attachment B
921
+
922
+
923
+ Additional Licensing Obligations
924
+
925
+ The following third party components included in the SOFTWARE
926
+ are licensed to Licensee pursuant to the following terms and
927
+ conditions:
928
+
929
+ 1. Licensee's use of the GDB third party component is
930
+ subject to the terms and conditions of GNU GPL v3:
931
+
932
+ This product includes copyrighted third-party software licensed
933
+ under the terms of the GNU General Public License v3 ("GPL v3").
934
+ All third-party software packages are copyright by their respective
935
+ authors. GPL v3 terms and conditions are hereby incorporated into
936
+ the Agreement by this reference: http://www.gnu.org/licenses/gpl.txt
937
+
938
+ Consistent with these licensing requirements, the software
939
+ listed below is provided under the terms of the specified
940
+ open source software licenses. To obtain source code for
941
+ software provided under licenses that require
942
+ redistribution of source code, including the GNU General
943
+ Public License (GPL) and GNU Lesser General Public License
944
+ (LGPL), contact oss-requests@nvidia.com. This offer is
945
+ valid for a period of three (3) years from the date of the
946
+ distribution of this product by NVIDIA CORPORATION.
947
+
948
+ Component License
949
+ CUDA-GDB GPL v3
950
+
951
+ 2. Licensee represents and warrants that any and all third
952
+ party licensing and/or royalty payment obligations in
953
+ connection with Licensee's use of the H.264 video codecs
954
+ are solely the responsibility of Licensee.
955
+
956
+ 3. Licensee's use of the Thrust library is subject to the
957
+ terms and conditions of the Apache License Version 2.0.
958
+ All third-party software packages are copyright by their
959
+ respective authors. Apache License Version 2.0 terms and
960
+ conditions are hereby incorporated into the Agreement by
961
+ this reference.
962
+ http://www.apache.org/licenses/LICENSE-2.0.html
963
+
964
+ In addition, Licensee acknowledges the following notice:
965
+ Thrust includes source code from the Boost Iterator,
966
+ Tuple, System, and Random Number libraries.
967
+
968
+ Boost Software License - Version 1.0 - August 17th, 2003
969
+ . . . .
970
+
971
+ Permission is hereby granted, free of charge, to any person or
972
+ organization obtaining a copy of the software and accompanying
973
+ documentation covered by this license (the "Software") to use,
974
+ reproduce, display, distribute, execute, and transmit the Software,
975
+ and to prepare derivative works of the Software, and to permit
976
+ third-parties to whom the Software is furnished to do so, all
977
+ subject to the following:
978
+
979
+ The copyright notices in the Software and this entire statement,
980
+ including the above license grant, this restriction and the following
981
+ disclaimer, must be included in all copies of the Software, in whole
982
+ or in part, and all derivative works of the Software, unless such
983
+ copies or derivative works are solely in the form of machine-executable
984
+ object code generated by a source language processor.
985
+
986
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
987
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
988
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND
989
+ NON-INFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR
990
+ ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE FOR ANY DAMAGES OR
991
+ OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, ARISING
992
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
993
+ OTHER DEALINGS IN THE SOFTWARE.
994
+
995
+ 4. Licensee's use of the LLVM third party component is
996
+ subject to the following terms and conditions:
997
+
998
+ ======================================================
999
+ LLVM Release License
1000
+ ======================================================
1001
+ University of Illinois/NCSA
1002
+ Open Source License
1003
+
1004
+ Copyright (c) 2003-2010 University of Illinois at Urbana-Champaign.
1005
+ All rights reserved.
1006
+
1007
+ Developed by:
1008
+
1009
+ LLVM Team
1010
+
1011
+ University of Illinois at Urbana-Champaign
1012
+
1013
+ http://llvm.org
1014
+
1015
+ Permission is hereby granted, free of charge, to any person obtaining a copy
1016
+ of this software and associated documentation files (the "Software"), to
1017
+ deal with the Software without restriction, including without limitation the
1018
+ rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
1019
+ sell copies of the Software, and to permit persons to whom the Software is
1020
+ furnished to do so, subject to the following conditions:
1021
+
1022
+ * Redistributions of source code must retain the above copyright notice,
1023
+ this list of conditions and the following disclaimers.
1024
+
1025
+ * Redistributions in binary form must reproduce the above copyright
1026
+ notice, this list of conditions and the following disclaimers in the
1027
+ documentation and/or other materials provided with the distribution.
1028
+
1029
+ * Neither the names of the LLVM Team, University of Illinois at Urbana-
1030
+ Champaign, nor the names of its contributors may be used to endorse or
1031
+ promote products derived from this Software without specific prior
1032
+ written permission.
1033
+
1034
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1035
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1036
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
1037
+ THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
1038
+ OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
1039
+ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
1040
+ DEALINGS WITH THE SOFTWARE.
1041
+
1042
+ 5. Licensee's use (e.g. nvprof) of the PCRE third party
1043
+ component is subject to the following terms and
1044
+ conditions:
1045
+
1046
+ ------------
1047
+ PCRE LICENCE
1048
+ ------------
1049
+ PCRE is a library of functions to support regular expressions whose syntax
1050
+ and semantics are as close as possible to those of the Perl 5 language.
1051
+ Release 8 of PCRE is distributed under the terms of the "BSD" licence, as
1052
+ specified below. The documentation for PCRE, supplied in the "doc"
1053
+ directory, is distributed under the same terms as the software itself. The
1054
+ basic library functions are written in C and are freestanding. Also
1055
+ included in the distribution is a set of C++ wrapper functions, and a just-
1056
+ in-time compiler that can be used to optimize pattern matching. These are
1057
+ both optional features that can be omitted when the library is built.
1058
+
1059
+ THE BASIC LIBRARY FUNCTIONS
1060
+ ---------------------------
1061
+ Written by: Philip Hazel
1062
+ Email local part: ph10
1063
+ Email domain: cam.ac.uk
1064
+ University of Cambridge Computing Service,
1065
+ Cambridge, England.
1066
+ Copyright (c) 1997-2012 University of Cambridge
1067
+ All rights reserved.
1068
+
1069
+ PCRE JUST-IN-TIME COMPILATION SUPPORT
1070
+ -------------------------------------
1071
+ Written by: Zoltan Herczeg
1072
+ Email local part: hzmester
1073
+ Emain domain: freemail.hu
1074
+ Copyright(c) 2010-2012 Zoltan Herczeg
1075
+ All rights reserved.
1076
+
1077
+ STACK-LESS JUST-IN-TIME COMPILER
1078
+ --------------------------------
1079
+ Written by: Zoltan Herczeg
1080
+ Email local part: hzmester
1081
+ Emain domain: freemail.hu
1082
+ Copyright(c) 2009-2012 Zoltan Herczeg
1083
+ All rights reserved.
1084
+
1085
+ THE C++ WRAPPER FUNCTIONS
1086
+ -------------------------
1087
+ Contributed by: Google Inc.
1088
+ Copyright (c) 2007-2012, Google Inc.
1089
+ All rights reserved.
1090
+
1091
+ THE "BSD" LICENCE
1092
+ -----------------
1093
+ Redistribution and use in source and binary forms, with or without
1094
+ modification, are permitted provided that the following conditions are met:
1095
+
1096
+ * Redistributions of source code must retain the above copyright notice,
1097
+ this list of conditions and the following disclaimer.
1098
+
1099
+ * Redistributions in binary form must reproduce the above copyright
1100
+ notice, this list of conditions and the following disclaimer in the
1101
+ documentation and/or other materials provided with the distribution.
1102
+
1103
+ * Neither the name of the University of Cambridge nor the name of Google
1104
+ Inc. nor the names of their contributors may be used to endorse or
1105
+ promote products derived from this software without specific prior
1106
+ written permission.
1107
+
1108
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
1109
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1110
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
1111
+ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
1112
+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
1113
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
1114
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
1115
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
1116
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
1117
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
1118
+ POSSIBILITY OF SUCH DAMAGE.
1119
+
1120
+ 6. Some of the cuBLAS library routines were written by or
1121
+ derived from code written by Vasily Volkov and are subject
1122
+ to the Modified Berkeley Software Distribution License as
1123
+ follows:
1124
+
1125
+ Copyright (c) 2007-2009, Regents of the University of California
1126
+
1127
+ All rights reserved.
1128
+
1129
+ Redistribution and use in source and binary forms, with or without
1130
+ modification, are permitted provided that the following conditions are
1131
+ met:
1132
+ * Redistributions of source code must retain the above copyright
1133
+ notice, this list of conditions and the following disclaimer.
1134
+ * Redistributions in binary form must reproduce the above
1135
+ copyright notice, this list of conditions and the following
1136
+ disclaimer in the documentation and/or other materials provided
1137
+ with the distribution.
1138
+ * Neither the name of the University of California, Berkeley nor
1139
+ the names of its contributors may be used to endorse or promote
1140
+ products derived from this software without specific prior
1141
+ written permission.
1142
+
1143
+ THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR
1144
+ IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
1145
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
1146
+ DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
1147
+ INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
1148
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
1149
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
1150
+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
1151
+ STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
1152
+ IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
1153
+ POSSIBILITY OF SUCH DAMAGE.
1154
+
1155
+ 7. Some of the cuBLAS library routines were written by or
1156
+ derived from code written by Davide Barbieri and are
1157
+ subject to the Modified Berkeley Software Distribution
1158
+ License as follows:
1159
+
1160
+ Copyright (c) 2008-2009 Davide Barbieri @ University of Rome Tor Vergata.
1161
+
1162
+ All rights reserved.
1163
+
1164
+ Redistribution and use in source and binary forms, with or without
1165
+ modification, are permitted provided that the following conditions are
1166
+ met:
1167
+ * Redistributions of source code must retain the above copyright
1168
+ notice, this list of conditions and the following disclaimer.
1169
+ * Redistributions in binary form must reproduce the above
1170
+ copyright notice, this list of conditions and the following
1171
+ disclaimer in the documentation and/or other materials provided
1172
+ with the distribution.
1173
+ * The name of the author may not be used to endorse or promote
1174
+ products derived from this software without specific prior
1175
+ written permission.
1176
+
1177
+ THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR
1178
+ IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
1179
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
1180
+ DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
1181
+ INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
1182
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
1183
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
1184
+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
1185
+ STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
1186
+ IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
1187
+ POSSIBILITY OF SUCH DAMAGE.
1188
+
1189
+ 8. Some of the cuBLAS library routines were derived from
1190
+ code developed by the University of Tennessee and are
1191
+ subject to the Modified Berkeley Software Distribution
1192
+ License as follows:
1193
+
1194
+ Copyright (c) 2010 The University of Tennessee.
1195
+
1196
+ All rights reserved.
1197
+
1198
+ Redistribution and use in source and binary forms, with or without
1199
+ modification, are permitted provided that the following conditions are
1200
+ met:
1201
+ * Redistributions of source code must retain the above copyright
1202
+ notice, this list of conditions and the following disclaimer.
1203
+ * Redistributions in binary form must reproduce the above
1204
+ copyright notice, this list of conditions and the following
1205
+ disclaimer listed in this license in the documentation and/or
1206
+ other materials provided with the distribution.
1207
+ * Neither the name of the copyright holders nor the names of its
1208
+ contributors may be used to endorse or promote products derived
1209
+ from this software without specific prior written permission.
1210
+
1211
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
1212
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
1213
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
1214
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
1215
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
1216
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
1217
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
1218
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
1219
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
1220
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
1221
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1222
+
1223
+ 9. Some of the cuBLAS library routines were written by or
1224
+ derived from code written by Jonathan Hogg and are subject
1225
+ to the Modified Berkeley Software Distribution License as
1226
+ follows:
1227
+
1228
+ Copyright (c) 2012, The Science and Technology Facilities Council (STFC).
1229
+
1230
+ All rights reserved.
1231
+
1232
+ Redistribution and use in source and binary forms, with or without
1233
+ modification, are permitted provided that the following conditions are
1234
+ met:
1235
+ * Redistributions of source code must retain the above copyright
1236
+ notice, this list of conditions and the following disclaimer.
1237
+ * Redistributions in binary form must reproduce the above
1238
+ copyright notice, this list of conditions and the following
1239
+ disclaimer in the documentation and/or other materials provided
1240
+ with the distribution.
1241
+ * Neither the name of the STFC nor the names of its contributors
1242
+ may be used to endorse or promote products derived from this
1243
+ software without specific prior written permission.
1244
+
1245
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
1246
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
1247
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
1248
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE STFC BE
1249
+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
1250
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
1251
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
1252
+ BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
1253
+ WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
1254
+ OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
1255
+ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1256
+
1257
+ 10. Some of the cuBLAS library routines were written by or
1258
+ derived from code written by Ahmad M. Abdelfattah, David
1259
+ Keyes, and Hatem Ltaief, and are subject to the Apache
1260
+ License, Version 2.0, as follows:
1261
+
1262
+ -- (C) Copyright 2013 King Abdullah University of Science and Technology
1263
+ Authors:
1264
+ Ahmad Abdelfattah (ahmad.ahmad@kaust.edu.sa)
1265
+ David Keyes (david.keyes@kaust.edu.sa)
1266
+ Hatem Ltaief (hatem.ltaief@kaust.edu.sa)
1267
+
1268
+ Redistribution and use in source and binary forms, with or without
1269
+ modification, are permitted provided that the following conditions
1270
+ are met:
1271
+
1272
+ * Redistributions of source code must retain the above copyright
1273
+ notice, this list of conditions and the following disclaimer.
1274
+ * Redistributions in binary form must reproduce the above copyright
1275
+ notice, this list of conditions and the following disclaimer in the
1276
+ documentation and/or other materials provided with the distribution.
1277
+ * Neither the name of the King Abdullah University of Science and
1278
+ Technology nor the names of its contributors may be used to endorse
1279
+ or promote products derived from this software without specific prior
1280
+ written permission.
1281
+
1282
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
1283
+ ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
1284
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
1285
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
1286
+ HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
1287
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
1288
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
1289
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
1290
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
1291
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
1292
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE
1293
+
1294
+ 11. Some of the cuSPARSE library routines were written by or
1295
+ derived from code written by Li-Wen Chang and are subject
1296
+ to the NCSA Open Source License as follows:
1297
+
1298
+ Copyright (c) 2012, University of Illinois.
1299
+
1300
+ All rights reserved.
1301
+
1302
+ Developed by: IMPACT Group, University of Illinois, http://impact.crhc.illinois.edu
1303
+
1304
+ Permission is hereby granted, free of charge, to any person obtaining
1305
+ a copy of this software and associated documentation files (the
1306
+ "Software"), to deal with the Software without restriction, including
1307
+ without limitation the rights to use, copy, modify, merge, publish,
1308
+ distribute, sublicense, and/or sell copies of the Software, and to
1309
+ permit persons to whom the Software is furnished to do so, subject to
1310
+ the following conditions:
1311
+ * Redistributions of source code must retain the above copyright
1312
+ notice, this list of conditions and the following disclaimer.
1313
+ * Redistributions in binary form must reproduce the above
1314
+ copyright notice, this list of conditions and the following
1315
+ disclaimers in the documentation and/or other materials provided
1316
+ with the distribution.
1317
+ * Neither the names of IMPACT Group, University of Illinois, nor
1318
+ the names of its contributors may be used to endorse or promote
1319
+ products derived from this Software without specific prior
1320
+ written permission.
1321
+
1322
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
1323
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
1324
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
1325
+ NONINFRINGEMENT. IN NO EVENT SHALL THE CONTRIBUTORS OR COPYRIGHT
1326
+ HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
1327
+ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
1328
+ IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE
1329
+ SOFTWARE.
1330
+
1331
+ 12. Some of the cuRAND library routines were written by or
1332
+ derived from code written by Mutsuo Saito and Makoto
1333
+ Matsumoto and are subject to the following license:
1334
+
1335
+ Copyright (c) 2009, 2010 Mutsuo Saito, Makoto Matsumoto and Hiroshima
1336
+ University. All rights reserved.
1337
+
1338
+ Copyright (c) 2011 Mutsuo Saito, Makoto Matsumoto, Hiroshima
1339
+ University and University of Tokyo. All rights reserved.
1340
+
1341
+ Redistribution and use in source and binary forms, with or without
1342
+ modification, are permitted provided that the following conditions are
1343
+ met:
1344
+ * Redistributions of source code must retain the above copyright
1345
+ notice, this list of conditions and the following disclaimer.
1346
+ * Redistributions in binary form must reproduce the above
1347
+ copyright notice, this list of conditions and the following
1348
+ disclaimer in the documentation and/or other materials provided
1349
+ with the distribution.
1350
+ * Neither the name of the Hiroshima University nor the names of
1351
+ its contributors may be used to endorse or promote products
1352
+ derived from this software without specific prior written
1353
+ permission.
1354
+
1355
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
1356
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
1357
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
1358
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
1359
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
1360
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
1361
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
1362
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
1363
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
1364
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
1365
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1366
+
1367
+ 13. Some of the cuRAND library routines were derived from
1368
+ code developed by D. E. Shaw Research and are subject to
1369
+ the following license:
1370
+
1371
+ Copyright 2010-2011, D. E. Shaw Research.
1372
+
1373
+ All rights reserved.
1374
+
1375
+ Redistribution and use in source and binary forms, with or without
1376
+ modification, are permitted provided that the following conditions are
1377
+ met:
1378
+ * Redistributions of source code must retain the above copyright
1379
+ notice, this list of conditions, and the following disclaimer.
1380
+ * Redistributions in binary form must reproduce the above
1381
+ copyright notice, this list of conditions, and the following
1382
+ disclaimer in the documentation and/or other materials provided
1383
+ with the distribution.
1384
+ * Neither the name of D. E. Shaw Research nor the names of its
1385
+ contributors may be used to endorse or promote products derived
1386
+ from this software without specific prior written permission.
1387
+
1388
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
1389
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
1390
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
1391
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
1392
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
1393
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
1394
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
1395
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
1396
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
1397
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
1398
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1399
+
1400
+ 14. Some of the Math library routines were written by or
1401
+ derived from code developed by Norbert Juffa and are
1402
+ subject to the following license:
1403
+
1404
+ Copyright (c) 2015-2017, Norbert Juffa
1405
+ All rights reserved.
1406
+
1407
+ Redistribution and use in source and binary forms, with or without
1408
+ modification, are permitted provided that the following conditions
1409
+ are met:
1410
+
1411
+ 1. Redistributions of source code must retain the above copyright
1412
+ notice, this list of conditions and the following disclaimer.
1413
+
1414
+ 2. Redistributions in binary form must reproduce the above copyright
1415
+ notice, this list of conditions and the following disclaimer in the
1416
+ documentation and/or other materials provided with the distribution.
1417
+
1418
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
1419
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
1420
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
1421
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
1422
+ HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
1423
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
1424
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
1425
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
1426
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
1427
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
1428
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1429
+
1430
+ 15. Licensee's use of the lz4 third party component is
1431
+ subject to the following terms and conditions:
1432
+
1433
+ Copyright (C) 2011-2013, Yann Collet.
1434
+ BSD 2-Clause License (http://www.opensource.org/licenses/bsd-license.php)
1435
+
1436
+ Redistribution and use in source and binary forms, with or without
1437
+ modification, are permitted provided that the following conditions are
1438
+ met:
1439
+
1440
+ * Redistributions of source code must retain the above copyright
1441
+ notice, this list of conditions and the following disclaimer.
1442
+ * Redistributions in binary form must reproduce the above
1443
+ copyright notice, this list of conditions and the following disclaimer
1444
+ in the documentation and/or other materials provided with the
1445
+ distribution.
1446
+
1447
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
1448
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
1449
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
1450
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
1451
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
1452
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
1453
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
1454
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
1455
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
1456
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
1457
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1458
+
1459
+ 16. The NPP library uses code from the Boost Math Toolkit,
1460
+ and is subject to the following license:
1461
+
1462
+ Boost Software License - Version 1.0 - August 17th, 2003
1463
+ . . . .
1464
+
1465
+ Permission is hereby granted, free of charge, to any person or
1466
+ organization obtaining a copy of the software and accompanying
1467
+ documentation covered by this license (the "Software") to use,
1468
+ reproduce, display, distribute, execute, and transmit the Software,
1469
+ and to prepare derivative works of the Software, and to permit
1470
+ third-parties to whom the Software is furnished to do so, all
1471
+ subject to the following:
1472
+
1473
+ The copyright notices in the Software and this entire statement,
1474
+ including the above license grant, this restriction and the following
1475
+ disclaimer, must be included in all copies of the Software, in whole
1476
+ or in part, and all derivative works of the Software, unless such
1477
+ copies or derivative works are solely in the form of machine-executable
1478
+ object code generated by a source language processor.
1479
+
1480
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
1481
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
1482
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND
1483
+ NON-INFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR
1484
+ ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE FOR ANY DAMAGES OR
1485
+ OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, ARISING
1486
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
1487
+ OTHER DEALINGS IN THE SOFTWARE.
1488
+
1489
+ 17. Portions of the Nsight Eclipse Edition is subject to the
1490
+ following license:
1491
+
1492
+ The Eclipse Foundation makes available all content in this plug-in
1493
+ ("Content"). Unless otherwise indicated below, the Content is provided
1494
+ to you under the terms and conditions of the Eclipse Public License
1495
+ Version 1.0 ("EPL"). A copy of the EPL is available at http://
1496
+ www.eclipse.org/legal/epl-v10.html. For purposes of the EPL, "Program"
1497
+ will mean the Content.
1498
+
1499
+ If you did not receive this Content directly from the Eclipse
1500
+ Foundation, the Content is being redistributed by another party
1501
+ ("Redistributor") and different terms and conditions may apply to your
1502
+ use of any object code in the Content. Check the Redistributor's
1503
+ license that was provided with the Content. If no such license exists,
1504
+ contact the Redistributor. Unless otherwise indicated below, the terms
1505
+ and conditions of the EPL still apply to any source code in the
1506
+ Content and such source code may be obtained at http://www.eclipse.org.
1507
+
1508
+ 18. Some of the cuBLAS library routines uses code from
1509
+ OpenAI, which is subject to the following license:
1510
+
1511
+ License URL
1512
+ https://github.com/openai/openai-gemm/blob/master/LICENSE
1513
+
1514
+ License Text
1515
+ The MIT License
1516
+
1517
+ Copyright (c) 2016 OpenAI (http://openai.com), 2016 Google Inc.
1518
+
1519
+ Permission is hereby granted, free of charge, to any person obtaining a copy
1520
+ of this software and associated documentation files (the "Software"), to deal
1521
+ in the Software without restriction, including without limitation the rights
1522
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
1523
+ copies of the Software, and to permit persons to whom the Software is
1524
+ furnished to do so, subject to the following conditions:
1525
+
1526
+ The above copyright notice and this permission notice shall be included in
1527
+ all copies or substantial portions of the Software.
1528
+
1529
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1530
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1531
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1532
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1533
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
1534
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
1535
+ THE SOFTWARE.
1536
+
1537
+ 19. Licensee's use of the Visual Studio Setup Configuration
1538
+ Samples is subject to the following license:
1539
+
1540
+ The MIT License (MIT)
1541
+ Copyright (C) Microsoft Corporation. All rights reserved.
1542
+
1543
+ Permission is hereby granted, free of charge, to any person
1544
+ obtaining a copy of this software and associated documentation
1545
+ files (the "Software"), to deal in the Software without restriction,
1546
+ including without limitation the rights to use, copy, modify, merge,
1547
+ publish, distribute, sublicense, and/or sell copies of the Software,
1548
+ and to permit persons to whom the Software is furnished to do so,
1549
+ subject to the following conditions:
1550
+
1551
+ The above copyright notice and this permission notice shall be included
1552
+ in all copies or substantial portions of the Software.
1553
+
1554
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
1555
+ OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1556
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1557
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1558
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
1559
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1560
+
1561
+ 20. Licensee's use of linmath.h header for CPU functions for
1562
+ GL vector/matrix operations from lunarG is subject to the
1563
+ Apache License Version 2.0.
1564
+
1565
+ 21. The DX12-CUDA sample uses the d3dx12.h header, which is
1566
+ subject to the MIT license .
1567
+
1568
+ -----------------
vllm/lib/python3.10/site-packages/nvidia_cuda_cupti_cu12-12.4.127.dist-info/REQUESTED ADDED
File without changes
vllm/lib/python3.10/site-packages/qwen_vl_utils/__init__.py ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ from .vision_process import (
2
+ extract_vision_info,
3
+ fetch_image,
4
+ fetch_video,
5
+ process_vision_info,
6
+ smart_resize,
7
+ )
vllm/lib/python3.10/site-packages/qwen_vl_utils/__pycache__/__init__.cpython-310.pyc ADDED
Binary file (318 Bytes). View file
 
vllm/lib/python3.10/site-packages/qwen_vl_utils/__pycache__/vision_process.cpython-310.pyc ADDED
Binary file (11.5 kB). View file
 
vllm/lib/python3.10/site-packages/qwen_vl_utils/vision_process.py ADDED
@@ -0,0 +1,377 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from __future__ import annotations
2
+
3
+ import base64
4
+ import logging
5
+ import math
6
+ import os
7
+ import sys
8
+ import time
9
+ import warnings
10
+ from functools import lru_cache
11
+ from io import BytesIO
12
+
13
+ import requests
14
+ import torch
15
+ import torchvision
16
+ from packaging import version
17
+ from PIL import Image
18
+ from torchvision import io, transforms
19
+ from torchvision.transforms import InterpolationMode
20
+ from typing import Optional
21
+
22
+
23
+ logger = logging.getLogger(__name__)
24
+
25
+ IMAGE_FACTOR = 28
26
+ MIN_PIXELS = 4 * 28 * 28
27
+ MAX_PIXELS = 16384 * 28 * 28
28
+ MAX_RATIO = 200
29
+
30
+ VIDEO_MIN_PIXELS = 128 * 28 * 28
31
+ VIDEO_MAX_PIXELS = 768 * 28 * 28
32
+ FRAME_FACTOR = 2
33
+ FPS = 2.0
34
+ FPS_MIN_FRAMES = 4
35
+ FPS_MAX_FRAMES = 768
36
+
37
+ # Set the maximum number of video token inputs.
38
+ # Here, 128K represents the maximum number of input tokens for the VLLM model.
39
+ # Remember to adjust it according to your own configuration.
40
+ VIDEO_TOTAL_PIXELS = int(float(os.environ.get('VIDEO_MAX_PIXELS', 128000 * 28 * 28 * 0.9)))
41
+ logger.info(f"set VIDEO_TOTAL_PIXELS: {VIDEO_TOTAL_PIXELS}")
42
+
43
+
44
+ def round_by_factor(number: int, factor: int) -> int:
45
+ """Returns the closest integer to 'number' that is divisible by 'factor'."""
46
+ return round(number / factor) * factor
47
+
48
+
49
+ def ceil_by_factor(number: int, factor: int) -> int:
50
+ """Returns the smallest integer greater than or equal to 'number' that is divisible by 'factor'."""
51
+ return math.ceil(number / factor) * factor
52
+
53
+
54
+ def floor_by_factor(number: int, factor: int) -> int:
55
+ """Returns the largest integer less than or equal to 'number' that is divisible by 'factor'."""
56
+ return math.floor(number / factor) * factor
57
+
58
+
59
+ def smart_resize(
60
+ height: int, width: int, factor: int = IMAGE_FACTOR, min_pixels: int = MIN_PIXELS, max_pixels: int = MAX_PIXELS
61
+ ) -> tuple[int, int]:
62
+ """
63
+ Rescales the image so that the following conditions are met:
64
+
65
+ 1. Both dimensions (height and width) are divisible by 'factor'.
66
+
67
+ 2. The total number of pixels is within the range ['min_pixels', 'max_pixels'].
68
+
69
+ 3. The aspect ratio of the image is maintained as closely as possible.
70
+ """
71
+ if max(height, width) / min(height, width) > MAX_RATIO:
72
+ raise ValueError(
73
+ f"absolute aspect ratio must be smaller than {MAX_RATIO}, got {max(height, width) / min(height, width)}"
74
+ )
75
+ h_bar = max(factor, round_by_factor(height, factor))
76
+ w_bar = max(factor, round_by_factor(width, factor))
77
+ if h_bar * w_bar > max_pixels:
78
+ beta = math.sqrt((height * width) / max_pixels)
79
+ h_bar = floor_by_factor(height / beta, factor)
80
+ w_bar = floor_by_factor(width / beta, factor)
81
+ elif h_bar * w_bar < min_pixels:
82
+ beta = math.sqrt(min_pixels / (height * width))
83
+ h_bar = ceil_by_factor(height * beta, factor)
84
+ w_bar = ceil_by_factor(width * beta, factor)
85
+ return h_bar, w_bar
86
+
87
+
88
+ def to_rgb(pil_image: Image.Image) -> Image.Image:
89
+ if pil_image.mode == 'RGBA':
90
+ white_background = Image.new("RGB", pil_image.size, (255, 255, 255))
91
+ white_background.paste(pil_image, mask=pil_image.split()[3]) # Use alpha channel as mask
92
+ return white_background
93
+ else:
94
+ return pil_image.convert("RGB")
95
+
96
+
97
+ def fetch_image(ele: dict[str, str | Image.Image], size_factor: int = IMAGE_FACTOR) -> Image.Image:
98
+ if "image" in ele:
99
+ image = ele["image"]
100
+ else:
101
+ image = ele["image_url"]
102
+ image_obj = None
103
+ if isinstance(image, Image.Image):
104
+ image_obj = image
105
+ elif image.startswith("http://") or image.startswith("https://"):
106
+ response = requests.get(image, stream=True)
107
+ image_obj = Image.open(BytesIO(response.content))
108
+ elif image.startswith("file://"):
109
+ image_obj = Image.open(image[7:])
110
+ elif image.startswith("data:image"):
111
+ if "base64," in image:
112
+ _, base64_data = image.split("base64,", 1)
113
+ data = base64.b64decode(base64_data)
114
+ image_obj = Image.open(BytesIO(data))
115
+ else:
116
+ image_obj = Image.open(image)
117
+ if image_obj is None:
118
+ raise ValueError(f"Unrecognized image input, support local path, http url, base64 and PIL.Image, got {image}")
119
+ image = to_rgb(image_obj)
120
+ ## resize
121
+ if "resized_height" in ele and "resized_width" in ele:
122
+ resized_height, resized_width = smart_resize(
123
+ ele["resized_height"],
124
+ ele["resized_width"],
125
+ factor=size_factor,
126
+ )
127
+ else:
128
+ width, height = image.size
129
+ min_pixels = ele.get("min_pixels", MIN_PIXELS)
130
+ max_pixels = ele.get("max_pixels", MAX_PIXELS)
131
+ resized_height, resized_width = smart_resize(
132
+ height,
133
+ width,
134
+ factor=size_factor,
135
+ min_pixels=min_pixels,
136
+ max_pixels=max_pixels,
137
+ )
138
+ image = image.resize((resized_width, resized_height))
139
+
140
+ return image
141
+
142
+
143
+ def smart_nframes(
144
+ ele: dict,
145
+ total_frames: int,
146
+ video_fps: int | float,
147
+ ) -> int:
148
+ """calculate the number of frames for video used for model inputs.
149
+
150
+ Args:
151
+ ele (dict): a dict contains the configuration of video.
152
+ support either `fps` or `nframes`:
153
+ - nframes: the number of frames to extract for model inputs.
154
+ - fps: the fps to extract frames for model inputs.
155
+ - min_frames: the minimum number of frames of the video, only used when fps is provided.
156
+ - max_frames: the maximum number of frames of the video, only used when fps is provided.
157
+ total_frames (int): the original total number of frames of the video.
158
+ video_fps (int | float): the original fps of the video.
159
+
160
+ Raises:
161
+ ValueError: nframes should in interval [FRAME_FACTOR, total_frames].
162
+
163
+ Returns:
164
+ int: the number of frames for video used for model inputs.
165
+ """
166
+ assert not ("fps" in ele and "nframes" in ele), "Only accept either `fps` or `nframes`"
167
+ if "nframes" in ele:
168
+ nframes = round_by_factor(ele["nframes"], FRAME_FACTOR)
169
+ else:
170
+ fps = ele.get("fps", FPS)
171
+ min_frames = ceil_by_factor(ele.get("min_frames", FPS_MIN_FRAMES), FRAME_FACTOR)
172
+ max_frames = floor_by_factor(ele.get("max_frames", min(FPS_MAX_FRAMES, total_frames)), FRAME_FACTOR)
173
+ nframes = total_frames / video_fps * fps
174
+ if nframes > total_frames:
175
+ logger.warning(f"smart_nframes: nframes[{nframes}] > total_frames[{total_frames}]")
176
+ nframes = min(min(max(nframes, min_frames), max_frames), total_frames)
177
+ nframes = floor_by_factor(nframes, FRAME_FACTOR)
178
+ if not (FRAME_FACTOR <= nframes and nframes <= total_frames):
179
+ raise ValueError(f"nframes should in interval [{FRAME_FACTOR}, {total_frames}], but got {nframes}.")
180
+ return nframes
181
+
182
+
183
+ def _read_video_torchvision(
184
+ ele: dict,
185
+ ) -> (torch.Tensor, float):
186
+ """read video using torchvision.io.read_video
187
+
188
+ Args:
189
+ ele (dict): a dict contains the configuration of video.
190
+ support keys:
191
+ - video: the path of video. support "file://", "http://", "https://" and local path.
192
+ - video_start: the start time of video.
193
+ - video_end: the end time of video.
194
+ Returns:
195
+ torch.Tensor: the video tensor with shape (T, C, H, W).
196
+ """
197
+ video_path = ele["video"]
198
+ if version.parse(torchvision.__version__) < version.parse("0.19.0"):
199
+ if "http://" in video_path or "https://" in video_path:
200
+ warnings.warn("torchvision < 0.19.0 does not support http/https video path, please upgrade to 0.19.0.")
201
+ if "file://" in video_path:
202
+ video_path = video_path[7:]
203
+ st = time.time()
204
+ video, audio, info = io.read_video(
205
+ video_path,
206
+ start_pts=ele.get("video_start", 0.0),
207
+ end_pts=ele.get("video_end", None),
208
+ pts_unit="sec",
209
+ output_format="TCHW",
210
+ )
211
+ total_frames, video_fps = video.size(0), info["video_fps"]
212
+ logger.info(f"torchvision: {video_path=}, {total_frames=}, {video_fps=}, time={time.time() - st:.3f}s")
213
+ nframes = smart_nframes(ele, total_frames=total_frames, video_fps=video_fps)
214
+ idx = torch.linspace(0, total_frames - 1, nframes).round().long()
215
+ sample_fps = nframes / max(total_frames, 1e-6) * video_fps
216
+ video = video[idx]
217
+ return video, sample_fps
218
+
219
+
220
+ def is_decord_available() -> bool:
221
+ import importlib.util
222
+
223
+ return importlib.util.find_spec("decord") is not None
224
+
225
+
226
+ def _read_video_decord(
227
+ ele: dict,
228
+ ) -> (torch.Tensor, float):
229
+ """read video using decord.VideoReader
230
+
231
+ Args:
232
+ ele (dict): a dict contains the configuration of video.
233
+ support keys:
234
+ - video: the path of video. support "file://", "http://", "https://" and local path.
235
+ - video_start: the start time of video.
236
+ - video_end: the end time of video.
237
+ Returns:
238
+ torch.Tensor: the video tensor with shape (T, C, H, W).
239
+ """
240
+ import decord
241
+ video_path = ele["video"]
242
+ st = time.time()
243
+ vr = decord.VideoReader(video_path)
244
+ # TODO: support start_pts and end_pts
245
+ if 'video_start' in ele or 'video_end' in ele:
246
+ raise NotImplementedError("not support start_pts and end_pts in decord for now.")
247
+ total_frames, video_fps = len(vr), vr.get_avg_fps()
248
+ logger.info(f"decord: {video_path=}, {total_frames=}, {video_fps=}, time={time.time() - st:.3f}s")
249
+ nframes = smart_nframes(ele, total_frames=total_frames, video_fps=video_fps)
250
+ idx = torch.linspace(0, total_frames - 1, nframes).round().long().tolist()
251
+ video = vr.get_batch(idx).asnumpy()
252
+ video = torch.tensor(video).permute(0, 3, 1, 2) # Convert to TCHW format
253
+ sample_fps = nframes / max(total_frames, 1e-6) * video_fps
254
+ return video, sample_fps
255
+
256
+
257
+ VIDEO_READER_BACKENDS = {
258
+ "decord": _read_video_decord,
259
+ "torchvision": _read_video_torchvision,
260
+ }
261
+
262
+ FORCE_QWENVL_VIDEO_READER = os.getenv("FORCE_QWENVL_VIDEO_READER", None)
263
+
264
+
265
+ @lru_cache(maxsize=1)
266
+ def get_video_reader_backend() -> str:
267
+ if FORCE_QWENVL_VIDEO_READER is not None:
268
+ video_reader_backend = FORCE_QWENVL_VIDEO_READER
269
+ elif is_decord_available():
270
+ video_reader_backend = "decord"
271
+ else:
272
+ video_reader_backend = "torchvision"
273
+ print(f"qwen-vl-utils using {video_reader_backend} to read video.", file=sys.stderr)
274
+ return video_reader_backend
275
+
276
+
277
+ def fetch_video(ele: dict, image_factor: int = IMAGE_FACTOR, return_video_sample_fps: bool = False) -> torch.Tensor | list[Image.Image]:
278
+ if isinstance(ele["video"], str):
279
+ video_reader_backend = get_video_reader_backend()
280
+ try:
281
+ video, sample_fps = VIDEO_READER_BACKENDS[video_reader_backend](ele)
282
+ except Exception as e:
283
+ logger.warning(f"video_reader_backend {video_reader_backend} error, use torchvision as default, msg: {e}")
284
+ video, sample_fps = VIDEO_READER_BACKENDS["torchvision"](ele)
285
+
286
+ nframes, _, height, width = video.shape
287
+ min_pixels = ele.get("min_pixels", VIDEO_MIN_PIXELS)
288
+ total_pixels = ele.get("total_pixels", VIDEO_TOTAL_PIXELS)
289
+ max_pixels = max(min(VIDEO_MAX_PIXELS, total_pixels / nframes * FRAME_FACTOR), int(min_pixels * 1.05))
290
+ max_pixels_supposed = ele.get("max_pixels", max_pixels)
291
+ if max_pixels_supposed > max_pixels:
292
+ logger.warning(f"The given max_pixels[{max_pixels_supposed}] exceeds limit[{max_pixels}].")
293
+ max_pixels = min(max_pixels_supposed, max_pixels)
294
+ if "resized_height" in ele and "resized_width" in ele:
295
+ resized_height, resized_width = smart_resize(
296
+ ele["resized_height"],
297
+ ele["resized_width"],
298
+ factor=image_factor,
299
+ )
300
+ else:
301
+ resized_height, resized_width = smart_resize(
302
+ height,
303
+ width,
304
+ factor=image_factor,
305
+ min_pixels=min_pixels,
306
+ max_pixels=max_pixels,
307
+ )
308
+ video = transforms.functional.resize(
309
+ video,
310
+ [resized_height, resized_width],
311
+ interpolation=InterpolationMode.BICUBIC,
312
+ antialias=True,
313
+ ).float()
314
+ if return_video_sample_fps:
315
+ return video, sample_fps
316
+ return video
317
+ else:
318
+ assert isinstance(ele["video"], (list, tuple))
319
+ process_info = ele.copy()
320
+ process_info.pop("type", None)
321
+ process_info.pop("video", None)
322
+ images = [
323
+ fetch_image({"image": video_element, **process_info}, size_factor=image_factor)
324
+ for video_element in ele["video"]
325
+ ]
326
+ nframes = ceil_by_factor(len(images), FRAME_FACTOR)
327
+ if len(images) < nframes:
328
+ images.extend([images[-1]] * (nframes - len(images)))
329
+ if return_video_sample_fps:
330
+ return images, process_info.pop("fps", 2.0)
331
+ return images
332
+
333
+
334
+ def extract_vision_info(conversations: list[dict] | list[list[dict]]) -> list[dict]:
335
+ vision_infos = []
336
+ if isinstance(conversations[0], dict):
337
+ conversations = [conversations]
338
+ for conversation in conversations:
339
+ for message in conversation:
340
+ if isinstance(message["content"], list):
341
+ for ele in message["content"]:
342
+ if (
343
+ "image" in ele
344
+ or "image_url" in ele
345
+ or "video" in ele
346
+ or ele["type"] in ("image", "image_url", "video")
347
+ ):
348
+ vision_infos.append(ele)
349
+ return vision_infos
350
+
351
+
352
+ def process_vision_info(
353
+ conversations: list[dict] | list[list[dict]],
354
+ return_video_kwargs: bool = False,
355
+ ) -> tuple[list[Image.Image] | None, list[torch.Tensor | list[Image.Image]] | None, Optional[dict]]:
356
+
357
+ vision_infos = extract_vision_info(conversations)
358
+ ## Read images or videos
359
+ image_inputs = []
360
+ video_inputs = []
361
+ video_sample_fps_list = []
362
+ for vision_info in vision_infos:
363
+ if "image" in vision_info or "image_url" in vision_info:
364
+ image_inputs.append(fetch_image(vision_info))
365
+ elif "video" in vision_info:
366
+ video_input, video_sample_fps = fetch_video(vision_info, return_video_sample_fps=True)
367
+ video_sample_fps_list.append(video_sample_fps)
368
+ video_inputs.append(video_input)
369
+ else:
370
+ raise ValueError("image, image_url or video should in content.")
371
+ if len(image_inputs) == 0:
372
+ image_inputs = None
373
+ if len(video_inputs) == 0:
374
+ video_inputs = None
375
+ if return_video_kwargs:
376
+ return image_inputs, video_inputs, {'fps': video_sample_fps_list}
377
+ return image_inputs, video_inputs
vllm/lib/python3.10/site-packages/rpds/__init__.py ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ from .rpds import *
2
+
3
+ __doc__ = rpds.__doc__
4
+ if hasattr(rpds, "__all__"):
5
+ __all__ = rpds.__all__
vllm/lib/python3.10/site-packages/rpds/__init__.pyi ADDED
@@ -0,0 +1,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from typing import (
2
+ ItemsView,
3
+ Iterable,
4
+ Iterator,
5
+ KeysView,
6
+ Mapping,
7
+ TypeVar,
8
+ ValuesView,
9
+ )
10
+
11
+ _T = TypeVar("_T")
12
+ _KT_co = TypeVar("_KT_co", covariant=True)
13
+ _VT_co = TypeVar("_VT_co", covariant=True)
14
+ _KU_co = TypeVar("_KU_co", covariant=True)
15
+ _VU_co = TypeVar("_VU_co", covariant=True)
16
+
17
+ class HashTrieMap(Mapping[_KT_co, _VT_co]):
18
+ def __init__(
19
+ self,
20
+ value: Mapping[_KT_co, _VT_co] | Iterable[tuple[_KT_co, _VT_co]] = {},
21
+ **kwds: Mapping[_KT_co, _VT_co],
22
+ ): ...
23
+ def __getitem__(self, key: _KT_co) -> _VT_co: ...
24
+ def __iter__(self) -> Iterator[_KT_co]: ...
25
+ def __len__(self) -> int: ...
26
+ def discard(self, key: _KT_co) -> HashTrieMap[_KT_co, _VT_co]: ...
27
+ def items(self) -> ItemsView[_KT_co, _VT_co]: ...
28
+ def keys(self) -> KeysView[_KT_co]: ...
29
+ def values(self) -> ValuesView[_VT_co]: ...
30
+ def remove(self, key: _KT_co) -> HashTrieMap[_KT_co, _VT_co]: ...
31
+ def insert(
32
+ self,
33
+ key: _KT_co,
34
+ val: _VT_co,
35
+ ) -> HashTrieMap[_KT_co, _VT_co]: ...
36
+ def update(
37
+ self,
38
+ *args: Mapping[_KU_co, _VU_co] | Iterable[tuple[_KU_co, _VU_co]],
39
+ ) -> HashTrieMap[_KT_co | _KU_co, _VT_co | _VU_co]: ...
40
+ @classmethod
41
+ def convert(
42
+ cls,
43
+ value: Mapping[_KT_co, _VT_co] | Iterable[tuple[_KT_co, _VT_co]],
44
+ ) -> HashTrieMap[_KT_co, _VT_co]: ...
45
+ @classmethod
46
+ def fromkeys(
47
+ cls,
48
+ keys: Iterable[_KT_co],
49
+ value: _VT_co = None,
50
+ ) -> HashTrieMap[_KT_co, _VT_co]: ...
51
+
52
+ class HashTrieSet(frozenset[_T]):
53
+ def __init__(self, value: Iterable[_T] = ()): ...
54
+ def __iter__(self) -> Iterator[_T]: ...
55
+ def __len__(self) -> int: ...
56
+ def discard(self, value: _T) -> HashTrieSet[_T]: ...
57
+ def remove(self, value: _T) -> HashTrieSet[_T]: ...
58
+ def insert(self, value: _T) -> HashTrieSet[_T]: ...
59
+ def update(self, *args: Iterable[_T]) -> HashTrieSet[_T]: ...
60
+
61
+ class List(Iterable[_T]):
62
+ def __init__(self, value: Iterable[_T] = (), *more: _T): ...
63
+ def __iter__(self) -> Iterator[_T]: ...
64
+ def __len__(self) -> int: ...
65
+ def push_front(self, value: _T) -> List[_T]: ...
66
+ def drop_first(self) -> List[_T]: ...
67
+
68
+ class Queue(Iterable[_T]):
69
+ def __init__(self, value: Iterable[_T] = (), *more: _T): ...
70
+ def __iter__(self) -> Iterator[_T]: ...
71
+ def __len__(self) -> int: ...
72
+ def enqueue(self, value: _T) -> Queue[_T]: ...
73
+ def dequeue(self, value: _T) -> Queue[_T]: ...
74
+ @property
75
+ def is_empty(self) -> _T: ...
76
+ @property
77
+ def peek(self) -> _T: ...
vllm/lib/python3.10/site-packages/rpds/__pycache__/__init__.cpython-310.pyc ADDED
Binary file (241 Bytes). View file
 
vllm/lib/python3.10/site-packages/rpds/py.typed ADDED
File without changes
vllm/lib/python3.10/site-packages/rpds/rpds.cpython-310-x86_64-linux-gnu.so ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e4ff5ba196aadd529869a99a018a6689426a9776ba89055294fcd0f63c7d1926
3
+ size 1018000