content
stringlengths
1
103k
path
stringlengths
8
216
filename
stringlengths
2
179
language
stringclasses
15 values
size_bytes
int64
2
189k
quality_score
float64
0.5
0.95
complexity
float64
0
1
documentation_ratio
float64
0
1
repository
stringclasses
5 values
stars
int64
0
1k
created_date
stringdate
2023-07-10 19:21:08
2025-07-09 19:11:45
license
stringclasses
4 values
is_test
bool
2 classes
file_hash
stringlengths
32
32
../../Scripts/pybabel.exe,sha256=PUlRgTQhKdWj5kvDO3HQI7V2JT-KKwKewm-7MqpZdCY,108424\nbabel-2.17.0.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4\nbabel-2.17.0.dist-info/LICENSE,sha256=eAGoT-gRJ5yzUL20-xj5TDaxjvgT-mqsBDtsbTlITQ0,1531\nbabel-2.17.0.dist-info/METADATA,sha256=xbADd4FX7x9g3Jol93V9dBRbALmMLlTVcQCDcl12nnw,2032\nbabel-2.17.0.dist-info/RECORD,,\nbabel-2.17.0.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91\nbabel-2.17.0.dist-info/entry_points.txt,sha256=Y2Cr1P3E8Yt7kqzvVz4wnTvD1H3-BVD4FOkVqHIGBfc,750\nbabel-2.17.0.dist-info/top_level.txt,sha256=mQO3vNkqlcYs_xRaL5EpRIy1IRjMp4N9_vdwmiemPXo,6\nbabel/__init__.py,sha256=Ow3KHphrtw4WSFK-FzacGR8JVX5JQZ1YCdfJKD8UYS0,882\nbabel/__pycache__/__init__.cpython-313.pyc,,\nbabel/__pycache__/core.cpython-313.pyc,,\nbabel/__pycache__/dates.cpython-313.pyc,,\nbabel/__pycache__/languages.cpython-313.pyc,,\nbabel/__pycache__/lists.cpython-313.pyc,,\nbabel/__pycache__/localedata.cpython-313.pyc,,\nbabel/__pycache__/numbers.cpython-313.pyc,,\nbabel/__pycache__/plural.cpython-313.pyc,,\nbabel/__pycache__/support.cpython-313.pyc,,\nbabel/__pycache__/units.cpython-313.pyc,,\nbabel/__pycache__/util.cpython-313.pyc,,\nbabel/core.py,sha256=QbuWyWBg4RJlYQ5Avg-ci71j4ZQ07VUGhhVxdI9y-Qo,45371\nbabel/dates.py,sha256=fJCaifpved33Rf5T1thxxPG6d3MmPU99wnIO2RAA-mc,76378\nbabel/global.dat,sha256=wRYHp_nSwZk6S1S0kn3g20zHAYm2vr7ThmvV7uqDqgM,459316\nbabel/languages.py,sha256=2LDTV9WizAuZVam0vfw-Q-QKYCQpF5DxLbmVoat7TKI,2844\nbabel/lists.py,sha256=Y4m1gScEDZlHAweDb-H5J6bEhlzTFmhKCWywS2h6V8M,4361\nbabel/locale-data/LICENSE.unicode,sha256=tMCujvBPcFn5bOW74EZ_n-b22Bu-E1F3Ad_rlh-00LY,2033\nbabel/locale-data/aa.dat,sha256=CI5kOVaXWX2CQoHT6AXhrOMwFPCiQyd7Wke2QBJ1UtE,2795\nbabel/locale-data/aa_DJ.dat,sha256=VKjSgKVsftG91nj0-AQMYFuF_p4YAGfRkgAvycB2EYU,1112\nbabel/locale-data/aa_ER.dat,sha256=6b6qROwoeOq0-batM1Z7Ji2gvGDogl3ODcftt1Jkm9g,637\nbabel/locale-data/aa_ET.dat,sha256=piwFu94H7e-jPwd4ZaWiDc-j2nAH_GiC5UZ2IxMx7bs,635\nbabel/locale-data/ab.dat,sha256=xeio1NLBNIAXcafnonWjO3w0zofwM-aKr0-RiaL7pRQ,95311\nbabel/locale-data/ab_GE.dat,sha256=b5be2Uv1YtP-bkMasJMzoQPxJPNLFqifXnCiK8rCyLE,635\nbabel/locale-data/af.dat,sha256=pO9_3BpJSQAJ3gZ_j6ZdUpGq3zqEv6CIZZ-CpJTXwr4,144732\nbabel/locale-data/af_NA.dat,sha256=zif__TyNY44mSCYOCrrglsyr_H31JhBNPwSJftg8200,1450\nbabel/locale-data/af_ZA.dat,sha256=6lT-mLg7LRtyAEhWhiF2xVtiPyzEa28U6hsFw_BMrZE,635\nbabel/locale-data/agq.dat,sha256=JJbF6NFR9qwwQTrIyrLh04DFJniIqDuFsbmHDGu5ThM,16628\nbabel/locale-data/agq_CM.dat,sha256=hYtg7pRw7J6TsYHvhlEEv7DqpyXoK3KS9DAqtYtgBX0,636\nbabel/locale-data/ak.dat,sha256=L73y_ylhZy39SlEaAwA4jCqP_92qLvIlsagl-o2RlKE,116224\nbabel/locale-data/ak_GH.dat,sha256=tM-OSpXWyBwZFfKPVStWBbFv3dwNj_7AqcBz4ONrOQs,616\nbabel/locale-data/am.dat,sha256=TddfeRISFvzjTFpB-vH3gjSKs2r8iT3CYckrriibXZY,173260\nbabel/locale-data/am_ET.dat,sha256=2VZDSh5bY9vLLuTqcKYG66p5OYlvPRPX58rpNTFWPok,635\nbabel/locale-data/an.dat,sha256=a1gEztcqWoMLW3f5_jlDxcPsYY-ItHKVud7gjisrS4E,28050\nbabel/locale-data/an_ES.dat,sha256=rQuq-zKj7-fCjY-5fGGoGJT1x60pAyCEAVEswXPnHrI,653\nbabel/locale-data/ann.dat,sha256=fUenvOdPjqayLEiVDRNncK8SOBi9gAGAdxMuOATlsI0,737\nbabel/locale-data/ann_NG.dat,sha256=0i2K6cv6eCurgFgwtiCr09hYwZCA1kHkQaKnDyCD86M,617\nbabel/locale-data/apc.dat,sha256=G96W-ebLqQlTuPN3-VqSfAY-GF0K99c6uXHza5f4e2g,1564\nbabel/locale-data/apc_SY.dat,sha256=tagFeQz8BA9Pc7RMqkce1ZalfKIBjqg0SR4NlpGQaaM,679\nbabel/locale-data/ar.dat,sha256=yAijlkkaH-RgRQidvCyNBkpi9Z7OTC9cNfIbKo4n4gk,288582\nbabel/locale-data/ar_001.dat,sha256=hRKDI3wzxO5T191MfSdCn_MZ6ckM2Rz_r__0JZqS00s,1707\nbabel/locale-data/ar_AE.dat,sha256=hEbIYUoNE5mRLOVXhmkGsvT0NAcq-rxs51VIMMzG9LY,982\nbabel/locale-data/ar_BH.dat,sha256=FoQ2c3E3TDqKcioarWBvLi_MllJmSd_56r0U45_gHWw,720\nbabel/locale-data/ar_DJ.dat,sha256=qbNam_QAmhobsIUfJLCL9pe146SvcmNIE_L3cWpmkBs,698\nbabel/locale-data/ar_DZ.dat,sha256=_Y-JLC5hincnxze7sGmEpb7N4JnBh7LdFdaVPcSMDvM,1263\nbabel/locale-data/ar_EG.dat,sha256=qE3gLQ6BzLaBOPNJVgaBhPQiIL2kQ4AiD_jLl7o52IM,720\nbabel/locale-data/ar_EH.dat,sha256=a0xJdGJYzGFzfvwxZVDP7yURlTm93FQSTQ5qp3XDMYo,658\nbabel/locale-data/ar_ER.dat,sha256=l-WjJfxm7kP05-Hnr5PingHaKWJ46ScfW4KEBcwD5HM,679\nbabel/locale-data/ar_IL.dat,sha256=O3UYAjf4BB3NdcSQTn-RzNjyj4kzTBhX3q7E8-9Aihw,1264\nbabel/locale-data/ar_IQ.dat,sha256=7-DnoHqsoBDe-ZXe0rIcEotb-F_CFyChc73dwnXuUoE,1975\nbabel/locale-data/ar_JO.dat,sha256=hT1z-Me5SOjul3BHFubcqlyEk9H57fwD4EFENddiVt8,1398\nbabel/locale-data/ar_KM.dat,sha256=Zx5XtfTuRPiW6iViOjeal_Fq-18EA7GuERViMP1_mc4,1230\nbabel/locale-data/ar_KW.dat,sha256=1wSXHTcgFKwhNciVS8IvGKvkzzqOIMBFykEJEQXdhEE,720\nbabel/locale-data/ar_LB.dat,sha256=-SuXO6LdhXNi4f_PHNrlxl8iXX47perQ_oS19bwRGpI,1414\nbabel/locale-data/ar_LY.dat,sha256=2OxSGD1gkiWPcaRHd1qQv9ifG82WEjGahKqhsoFXfnY,1249\nbabel/locale-data/ar_MA.dat,sha256=hTOwsXC8tsJxBVlksxmAMlIkn4kK50juJa6TuAPFkp0,1559\nbabel/locale-data/ar_MR.dat,sha256=Kq7uT5LxvYXnGWz-cVcI6yDNximu9hZIpoKydmVse78,1359\nbabel/locale-data/ar_OM.dat,sha256=HVOqTfoH3JVTHJL-yDBiIafNfckU7CIcO_sIzXBffKw,720\nbabel/locale-data/ar_PS.dat,sha256=F-HZRPcMe_tJ8r9V01h-7mQ0UKQxQmuWuXNSi94MVMM,1336\nbabel/locale-data/ar_QA.dat,sha256=UKfLpyX856fNgeifdr22wXpDncirWJi9NxqfSnS-7fw,720\nbabel/locale-data/ar_SA.dat,sha256=8WE8HwCwO-OT_G2JBSgmPWSzyHOdIA3zajXPbBZr2Tg,24787\nbabel/locale-data/ar_SD.dat,sha256=f7aUKlrKmmC7ijTjVwn5r9m3mfZfEob1a7GHVCj4Qxk,720\nbabel/locale-data/ar_SO.dat,sha256=4LD_gds2VsvxdFHpFo56CxTFenzNdvEkMofc4oTGBTU,677\nbabel/locale-data/ar_SS.dat,sha256=T6eeWPeFejmBC7InKqg-6qmWoer1vjl6srHe_5ybkDU,700\nbabel/locale-data/ar_SY.dat,sha256=u42uhje_zt806WlUMpp5sIdi1yjw3Yv7vYbl6aELsyc,1398\nbabel/locale-data/ar_TD.dat,sha256=OG7NYtRrJiDeRt7HP-B4ta5ri-6fdSnYomppfy2A4ec,658\nbabel/locale-data/ar_TN.dat,sha256=xO974NyO5T-pRs-5b55sfQFGIwU2Y4q3VQUeqtqWf80,1201\nbabel/locale-data/ar_YE.dat,sha256=vu8wYJgzcJ1douKfKLx3-hAg1sjndD5_PTHWG_bzRL0,720\nbabel/locale-data/arn.dat,sha256=JB-QfwCOVQbVrLRlq2LMxU6SHO-V4ZaU2_0W15-0Rfs,721\nbabel/locale-data/arn_CL.dat,sha256=cf_JrdIAxFwbltVwtloNC9527Du7zaoBDM-_KmctSvE,636\nbabel/locale-data/as.dat,sha256=xoTmhieoAVjw59h2-_pLp0wjfZPVvYMV6qDSJjLrjq8,209876\nbabel/locale-data/as_IN.dat,sha256=bE-OZ0Y3d2-QtD23ztjluSsFk1_RFNYMFzKgBC3waw4,658\nbabel/locale-data/asa.dat,sha256=zzPu7L8RV8SVEKqeRiGIoWLBCJkeS0acDh0pYq87qMI,15492\nbabel/locale-data/asa_TZ.dat,sha256=U0GU10aP58LxCeqyjl69RQCZi_6tTQxm2vni6XVkoqY,617\nbabel/locale-data/ast.dat,sha256=_Qeoc0gz1ag9MkmNIuv4ufVjk0fH5xtW4M7vp8ST4hY,168961\nbabel/locale-data/ast_ES.dat,sha256=51kFxigV5COuiPiNisp-OBFYMith5rUgBmU48rGk7Hc,654\nbabel/locale-data/az.dat,sha256=2EcwMc8qIqCW_F0Ic2XjFQthkCGyfLNzJzJZU99ZcaA,173802\nbabel/locale-data/az_Arab.dat,sha256=IGBla73oKavlLHhtIW37idHxTkmQWZ-S8NE54b65d4k,7499\nbabel/locale-data/az_Arab_IQ.dat,sha256=VsM0-KQPCP4MUw-2wMsBv-F467cr2Bup3jfxx8Fc3ZE,678\nbabel/locale-data/az_Arab_IR.dat,sha256=ROb0gFTPwK5CcjpQMB7CJ662eld9sZj7IA6QMrvxgto,678\nbabel/locale-data/az_Arab_TR.dat,sha256=EV6cNf3keBNREHkfF98GGZGOZz4L5dxf8pFbujInaQY,635\nbabel/locale-data/az_Cyrl.dat,sha256=ru4QYee174toLQsGPJn-d6xe65FsLQ87vBV9AW0o4D8,35540\nbabel/locale-data/az_Cyrl_AZ.dat,sha256=GRZjR-gp6JYeLNxoiAKNdv9bkTmS1bpYnRJ0c9YIGws,635\nbabel/locale-data/az_Latn.dat,sha256=aK2ziytg5Ig6GYk9tVCq4BEyV6UYy9Ip7F1_i4Pq1jw,2258\nbabel/locale-data/az_Latn_AZ.dat,sha256=GRZjR-gp6JYeLNxoiAKNdv9bkTmS1bpYnRJ0c9YIGws,635\nbabel/locale-data/ba.dat,sha256=Ly1V4wBNM4KCDGtuy9oCug4fZzVNEFqXOI8XKhkWFOQ,732\nbabel/locale-data/ba_RU.dat,sha256=8YcwUOx3h4BcSfUIumKJ4wcFyiSgBM74SqenVIQUKi8,653\nbabel/locale-data/bal.dat,sha256=mYMTNzej_lac3GimNq9dYgLY3Q4RtXpEvUkQ-zfzVqw,12849\nbabel/locale-data/bal_Arab.dat,sha256=25CVl5rF7FqKEeHzAmt0BccVI_ODqmMP86KqQ4i6PL8,934\nbabel/locale-data/bal_Arab_PK.dat,sha256=sy4tpUtN1St5yFoTp8C6-vi2bFGPjSaG_zDbY16Q988,636\nbabel/locale-data/bal_Latn.dat,sha256=X9sEvC7SU0VUFnapzFKUq0nvc1az1c9lHmrCPHPCg4U,116909\nbabel/locale-data/bal_Latn_PK.dat,sha256=sy4tpUtN1St5yFoTp8C6-vi2bFGPjSaG_zDbY16Q988,636\nbabel/locale-data/bas.dat,sha256=hts2-gooZheGxndoyiVM9NwFrAitthfb4IPr7TtYb2U,16673\nbabel/locale-data/bas_CM.dat,sha256=WBq-_rOvkBnT5pBaCyq844LLSRReQzg2HM0u7GmhKKM,636\nbabel/locale-data/be.dat,sha256=8L6Q0C4wjbLMC9I7ltFoY1prATuRd-8nn0udprYBI6A,272322\nbabel/locale-data/be_BY.dat,sha256=yN4Rf2-HqinMscTfe4jKEYpsCEaddHce6K25ol595Ag,635\nbabel/locale-data/be_TARASK.dat,sha256=93xDxO06nuAugpWjrnx6C5k8Fs26HIAolUcUPuoHhbg,104118\nbabel/locale-data/bem.dat,sha256=zBh5HxY-hRgaQd95anmqMAPP0UVzSV7JdcuqtJ78t1c,5782\nbabel/locale-data/bem_ZM.dat,sha256=nQvsLK0FOSlgf6wspQdbj00IveO62c2Mvxjzn4eHGSs,617\nbabel/locale-data/bew.dat,sha256=mfKR23PSPyS0AHxbaSuMvufZZQlMICxDGuPv78MtDbU,122095\nbabel/locale-data/bew_ID.dat,sha256=JWKbnUQc4ZsJYTcBFypK3gSyFRK6Kp8UFEqdytnPMnM,636\nbabel/locale-data/bez.dat,sha256=_saESrmbxsbQnGLACykFIs-aLUC-N7IigpyPWGLBebI,16300\nbabel/locale-data/bez_TZ.dat,sha256=OwcKelhUxQWu-8Jm9nf2vCay6-8LQvg-ueZSN_mrGz0,617\nbabel/locale-data/bg.dat,sha256=ofd_Tv4onIP1cE1pVO-171ySR9JJXuHKzpWqc-vtLP8,227940\nbabel/locale-data/bg_BG.dat,sha256=CERFyuC4Dw9BfAZapqaq69iKAp7rBXWNCkLWAL5tAhQ,653\nbabel/locale-data/bgc.dat,sha256=gW0lkQNX_h1SATbqzIqe0twmGqqfigkbqo7gvBCG1AI,2493\nbabel/locale-data/bgc_IN.dat,sha256=hO39nPiyUx1kfCdagpCQ8lzPLycjdfk59jFQgsd3Qec,659\nbabel/locale-data/bgn.dat,sha256=8RKzmGYGYkn5IF7NHRgPtaI9ozwCeEKoUE4aXQpItKY,28964\nbabel/locale-data/bgn_AE.dat,sha256=5jo7AWXMNdiiEf-RqzB5xRVj0R89NFdwq5RAIEAeeRE,636\nbabel/locale-data/bgn_AF.dat,sha256=UXCb78n57adZBdKHEGnhbmeVYppzlSscVOWnQNxfJOQ,679\nbabel/locale-data/bgn_IR.dat,sha256=iXxyPD5Z-ouDWFpOE2atoi6-HHGoD6PNaT9c-TH6x7o,679\nbabel/locale-data/bgn_OM.dat,sha256=3O0CzFrjWxOQFdN6-lDhCxRngoXfadd_dwYoVyjK9jA,679\nbabel/locale-data/bgn_PK.dat,sha256=gdVUcc-isHd9lf0S-AmFoPIMwDZ8ay6NY4o1udWI6Yo,636\nbabel/locale-data/bho.dat,sha256=JQAEhmajFwUOKB7ACN1-ZPcoKcXJaq0-FhsFCVcvn_8,2875\nbabel/locale-data/bho_IN.dat,sha256=UcL_aZq35dOHME0Fux9zyt9B6BOTxyR5UvaGWKLs1jE,659\nbabel/locale-data/blo.dat,sha256=I0gfsGv80xf7do-oxzjkh2or934YxYgDMkM9RHf7UXk,168499\nbabel/locale-data/blo_BJ.dat,sha256=LM79oUzVI4JtLYEUklfbQxoweFAslN9jS-Ex-dya0mE,617\nbabel/locale-data/blt.dat,sha256=6G2E9osBy9OrG1iUKLD9cwcRk3IV7fT11iI8zFkLaeo,723\nbabel/locale-data/blt_VN.dat,sha256=vpTQEJYssmuBUn_pYqx7ZtYONNNz02_oBYlDMdWqKAc,636\nbabel/locale-data/bm.dat,sha256=K0dLlxoDfJb4QLwa_D0SXfrbD53Xed_EJ21843fY9hY,15798\nbabel/locale-data/bm_ML.dat,sha256=PAGrUwc1S6q32DDHTu5LkePFXe_M_i_WxIY4oLuUnzw,616\nbabel/locale-data/bm_Nkoo.dat,sha256=UiQ-oKSXYmbnUj9nNXi-9Afx2taBc5EiN-JM1huGOno,2805\nbabel/locale-data/bm_Nkoo_ML.dat,sha256=PAGrUwc1S6q32DDHTu5LkePFXe_M_i_WxIY4oLuUnzw,616\nbabel/locale-data/bn.dat,sha256=00cRKYrwyk5snhrekLj0TQBVzZlV_PjQ0aLlsApgwxw,219185\nbabel/locale-data/bn_BD.dat,sha256=mVW90kQmhDcwzKmkmgNAt5iMq1pLWmNndNID9fspVjY,635\nbabel/locale-data/bn_IN.dat,sha256=Y4d5tMv6rG2A1fTcfN7-cMeZ1iH8XuqdZgpEBUy_FTg,4035\nbabel/locale-data/bo.dat,sha256=2eVqnOFPv04Ix-1FVPHlDQ9UVTQC1JtC7-5lQ89aX7A,20102\nbabel/locale-data/bo_CN.dat,sha256=xOnyre81Z1IHnWV5mJH0x313h-ZWu84hIXcMuB50IT0,635\nbabel/locale-data/bo_IN.dat,sha256=GvYCgtrOD5zYYsfMtVmkCv8-y6His8Lg7iuytEGjnMI,1307\nbabel/locale-data/br.dat,sha256=rBs1Bp9H6Q4ECO2mouoJmnCW0ux5CLPx1zy32GvpkCo,272612\nbabel/locale-data/br_FR.dat,sha256=3oVDdZd7Xf4Q-hwmYraF42SM_3NtvSoiZlmlh6gSNOs,653\nbabel/locale-data/brx.dat,sha256=0L8rfQwjwtj3y5M5zzdEB10way4I9P2m8A2E0mTIcac,160164\nbabel/locale-data/brx_IN.dat,sha256=NKuJh0cEhRQasy6JAGUi5HbqdnhhEFTQ_7osgtdG5Iw,659\nbabel/locale-data/bs.dat,sha256=YVLbXGLHf6QZ9vYnCjxjO3uBImuYnoxR-cEuBPVbP_w,213968\nbabel/locale-data/bs_Cyrl.dat,sha256=oqFwEFFfYqyzkVvswj8CR2B_RCb51Myv8jQaDDjz0u8,219235\nbabel/locale-data/bs_Cyrl_BA.dat,sha256=oA7rsQckE_IxCpXXB3F3KWQwM3WZTR7WAdYxJN98oeM,635\nbabel/locale-data/bs_Latn.dat,sha256=6L9SY85hONRHO4Jz389C2Ziy7llKcDoyVNiE96ozCJ8,1990\nbabel/locale-data/bs_Latn_BA.dat,sha256=oA7rsQckE_IxCpXXB3F3KWQwM3WZTR7WAdYxJN98oeM,635\nbabel/locale-data/bss.dat,sha256=n9LaBwBIJ7adjJ63G7Q9o00llhPJtkgmeEp08nAa4D4,978\nbabel/locale-data/bss_CM.dat,sha256=TD7ixCHREfOLDsDJn8FY5YqGYH9czdEzdULCIl_0GhM,636\nbabel/locale-data/byn.dat,sha256=qT32E4jh6H_qm7HYSsAbKmaKluaLrGNXNl3F3FivncE,13403\nbabel/locale-data/byn_ER.dat,sha256=oAaZEqMJuTbMITO-ZO6gg8qjwROukzh5VgjtLp6rqD4,617\nbabel/locale-data/ca.dat,sha256=CIT0-7X7_e8RKWRrhLSmG-aBC2D51-hvRrTV-7iBav8,184038\nbabel/locale-data/ca_AD.dat,sha256=tsLumbhbbeXw627WKi-sQdSTFwNpcSRvJIEYcrOMqOM,653\nbabel/locale-data/ca_ES.dat,sha256=T-zv3FfnCJA2WUQTeBADKV82ghY-r60wk8mXtD9wbnI,653\nbabel/locale-data/ca_ES_VALENCIA.dat,sha256=7Q59_PX0VWyLsDkC-qscZ-dKJ9AFzz7kCzJz4fTdBWY,2976\nbabel/locale-data/ca_FR.dat,sha256=5HUFYUl5QRaUMwJxGLIqUhDO4_wF_crrr346wJmEOZo,672\nbabel/locale-data/ca_IT.dat,sha256=Zh2rtOq8MIDC2CQXWnhp5HOvPfXNxhRGnnZViOgc1Mg,653\nbabel/locale-data/cad.dat,sha256=XxlMk1b9CWE3wERhhQQN0wxW7iq8Mrngb05RXenmaSI,2476\nbabel/locale-data/cad_US.dat,sha256=FWV1sofgr9no5P9yBxNDLeKWoQd80XEYEilmLwamkSc,654\nbabel/locale-data/cch.dat,sha256=J4S73psT7C_cXs1VNNYow47plBodQ4PKINC59kzvfAw,2430\nbabel/locale-data/cch_NG.dat,sha256=0adhw9xNMlVEqDVKvHe4HCPtbjcw5NSo4ny_pOjl0-4,617\nbabel/locale-data/ccp.dat,sha256=Jn_O5MwN6DMGxNrXUpdrhT_z5ZOYh3-Sm5yGUcV8bII,207292\nbabel/locale-data/ccp_BD.dat,sha256=f00776fnI484B-mzW0rY22KNkzV6wtmk7uxrSK_x9bU,636\nbabel/locale-data/ccp_IN.dat,sha256=jMJimrQrx-b96hBSLi8sOyHtYRwNZryt-he0rhwEZ2s,659\nbabel/locale-data/ce.dat,sha256=yuopW5QCq1u8E1Rs0hEOv_y1uvbem_P3lK-_AvU5zLE,135403\nbabel/locale-data/ce_RU.dat,sha256=NgNmp1uFnm2MT-s_yx_V8KuW1dSR6_SEWf4NcqrAL9o,653\nbabel/locale-data/ceb.dat,sha256=fwgJPAV6TfvyavZUW-9pKeLUacMuH03hCkSkHdIGm8I,100779\nbabel/locale-data/ceb_PH.dat,sha256=Z2zXPyNI3Yu3QcGL6lT1nIsl04vDDLFvyd9GeucDtqA,636\nbabel/locale-data/cgg.dat,sha256=vgLxp4dDUjKyHy-36IvfaPEy6IiXbDiMKShuEKJuXHU,15621\nbabel/locale-data/cgg_UG.dat,sha256=HZBma4MFuX2Q7sk-SOYk5OUkbMXWWr_tEInOqPboNYs,640\nbabel/locale-data/cho.dat,sha256=hWEL5XrIWAnqjYSb78iPaj2xh34KDcPYAMc46S7ZLuU,795\nbabel/locale-data/cho_US.dat,sha256=T3CacgkE-uKPi0CV7fbcCLTNfdjEco_A50vYciuXGGI,654\nbabel/locale-data/chr.dat,sha256=4a6eJjX1JZ-inCk-J8gHJq1QtoK3FpOXhOlQMDbHjwM,187187\nbabel/locale-data/chr_US.dat,sha256=wZE2RrJ-5jjUQa1RCJgL7hkXdsU3t91orD-ULDYMXSM,654\nbabel/locale-data/cic.dat,sha256=KgrmFl1fudc1tdR_g39YkGR6bcIedQMFnUjh831VIhM,2732\nbabel/locale-data/cic_US.dat,sha256=DvW1XJS1hEp_W_5ol0pIECeUb3RqXsyieKVS8J6caJ4,654\nbabel/locale-data/ckb.dat,sha256=s6wh2TRjabPo4G64RMoQD_J7FK77RBwsK8R0TH1xytI,35553\nbabel/locale-data/ckb_IQ.dat,sha256=Osgu1RAUf2yQpZ-nNBKMxTFJnH32ItLg0kVVzjNfmeo,679\nbabel/locale-data/ckb_IR.dat,sha256=6wWzlZWn7oDmGIdnF7UtCfIcUgQ1zvMxtAcEw4bbM-g,1231\nbabel/locale-data/co.dat,sha256=NbKZ99wTpG7Y64LnyxTQJIo5SYQaUAOybc68DN6IbUY,12637\nbabel/locale-data/co_FR.dat,sha256=DAmwXn4n1mRSsT17-DcU0vdVSI_JfVR8oGOnj7hTFHk,653\nbabel/locale-data/cs.dat,sha256=o7qnhuIqxpPIfD-oyVLsvpmhtRiIOzgJBoMaZvyvPL4,247800\nbabel/locale-data/cs_CZ.dat,sha256=keaiqSsGtB_axj8FvdYDOCDmlg2PbQMI6qnW-2mFUTY,653\nbabel/locale-data/csw.dat,sha256=a31wJpIkcegvNW9_O8LfIY4-HK0zpLn4MBUEBb9C3PQ,20303\nbabel/locale-data/csw_CA.dat,sha256=aWccZHGNU7G4JJdlGRnqyqm0ROubX0rwI9SnH_EhAxU,636\nbabel/locale-data/cu.dat,sha256=mlGQkibxBcukKPAJawHruBMuw21x1j42ebTnraxW55w,16865\nbabel/locale-data/cu_RU.dat,sha256=GcbqgE8Mlglk5EGGSVcCR-Zb8AmCqHGE8cbmAUSbpdY,653\nbabel/locale-data/cv.dat,sha256=BUqS-4RvAuycOlAm_k33eV98VCp5bIUmrWUqjhmsqls,198348\nbabel/locale-data/cv_RU.dat,sha256=oVPRtcHzmRmkAy26Bv1jLiWmm0P18ruvHlCQ5F3IFY4,653\nbabel/locale-data/cy.dat,sha256=-bN00WqRhdnCL9VdnGgtUtwbmZ7n2r96oZdLuxSP8KM,276313\nbabel/locale-data/cy_GB.dat,sha256=dyPULIteKk9gP7lGQiDtsiH5QDqNdlxMdK__2dq90dg,653\nbabel/locale-data/da.dat,sha256=VUVxNljiubvj3e_PhimeMLBVZlAt1GT2bAfnyYu671E,171756\nbabel/locale-data/da_DK.dat,sha256=qNTw1H8WXsV8qGBHxu6noCUOV3BcoR63ERJF8Xc86Ls,653\nbabel/locale-data/da_GL.dat,sha256=9BNeKX1-U4NDr3pBU1ZnCGAasdYZjBMsvpdS5uTf9qs,616\nbabel/locale-data/dav.dat,sha256=LBf1uH_Q7632sBVhZgQSrdn5LU2pyIU389h4LircJM4,15690\nbabel/locale-data/dav_KE.dat,sha256=MfFFEDT6fib5be-EmziiEF0NAnEV6lXD7svYtHUtmn0,636\nbabel/locale-data/de.dat,sha256=l6ABVg2zXPX9Ws9g2-Weve05S46ii0hnbuCViS6mtmA,178630\nbabel/locale-data/de_AT.dat,sha256=OhoRvklFcyYUJXplBoK2rAITKRi6r81lwOaixIuffcA,2010\nbabel/locale-data/de_BE.dat,sha256=wvdWykhix9Slofcjm2tx2aEhMjffmMLsNrd8709NIR0,653\nbabel/locale-data/de_CH.dat,sha256=PH2rDxHA3lpTBkPMCwWjapEDJtgrkHhq2_pAdSKSiXE,4091\nbabel/locale-data/de_DE.dat,sha256=SM44YjGlqgh7bKlXvUdt53t9hnCX5o46ujI4IrGPpeI,653\nbabel/locale-data/de_IT.dat,sha256=ALPY2QGlR9-kphEk4KggHVS51fQwEDVRd7aHLIiP9fw,1448\nbabel/locale-data/de_LI.dat,sha256=FnGRiippDTTFRFswU_4PblQruAuWuPEpa8cGbXPJpbE,1413\nbabel/locale-data/de_LU.dat,sha256=QAkvLfyKmZdQVfkk2BbE2AMisK1i7yhRetcApqn4dxA,1067\nbabel/locale-data/dje.dat,sha256=6NxQgBas9S5kmjbRcbcuuIIxKaI5_MlfmSUltxJuraY,15530\nbabel/locale-data/dje_NE.dat,sha256=lU1vag_HJ4OrbYNYWFXuSdtqLwSlwBbvD6Tg-hl36e4,617\nbabel/locale-data/doi.dat,sha256=JrHDjsVlGntLL6qYf9NH52BWAGCSGeGVaHg_rgUiGkM,47442\nbabel/locale-data/doi_IN.dat,sha256=-q_oAqvdTizFG1DB_1p8sZVyjbaFFQ_FFPtNCyVn9ZA,659\nbabel/locale-data/dsb.dat,sha256=KvZxymKZ5ZbxQ-4gS_uvnNkrYMYn3D-BKz0MGAn5488,203926\nbabel/locale-data/dsb_DE.dat,sha256=Z2Dzjx7eXscEBEAb-ymvb1GKP4GVNCt5L4i-BYC_vrE,654\nbabel/locale-data/dua.dat,sha256=lmO8ssPF9bIgTU2SM_SzrGWodmsGsmbS485uZNDasq4,4827\nbabel/locale-data/dua_CM.dat,sha256=Z3vD8WEr2Wlqqt39anvKXVhz4_yBSm4t5BoAaEz9PgE,636\nbabel/locale-data/dv.dat,sha256=-1zCv4GXiRHdWjQk0qXWNPSf4FX4Zp-Ij2jwgz5BsGk,2225\nbabel/locale-data/dv_MV.dat,sha256=lvuU5gj3vDykU2ftU1_4Lza-130DB6_ZwylDrdb_GlY,635\nbabel/locale-data/dyo.dat,sha256=w71HDmFfCuKN9nUJnuqpHR9DDAmPLkwIu9E0abhYjWM,9854\nbabel/locale-data/dyo_SN.dat,sha256=Z6N-NIVcKkx6sFUm8LfN74usyZfgeI6swJL_A_XbBcc,617\nbabel/locale-data/dz.dat,sha256=dbPhCcTpoQh6szaBA4TN5eCi3sbG1UBvlQQxtMGHLEU,85026\nbabel/locale-data/dz_BT.dat,sha256=KWd6cypWse4XfXbY4BmTlxGjlnRksYNcQYi_iyXluKw,635\nbabel/locale-data/ebu.dat,sha256=S8bggVknCbVHw5x9aJQGB9kUBFNcwj9EONHRNtbaWCA,15583\nbabel/locale-data/ebu_KE.dat,sha256=GEcGqVmH0WwgP1BCsd9vnSGxGXl8ON4UPTRbyeaNDfw,636\nbabel/locale-data/ee.dat,sha256=xJ5vpKJa546rTvKKQI75-HvYmu6VjEedXENlPSeDgCg,88730\nbabel/locale-data/ee_GH.dat,sha256=SkQi-aVmtqi3S99DUTLQzZqUE4LrAIWuy25QuZqYAfI,616\nbabel/locale-data/ee_TG.dat,sha256=7y8-rDvag7_EQtEObq3fpHaRedVmuEREnQwjktmLwgk,1168\nbabel/locale-data/el.dat,sha256=pMPkYRvK3y4IF93Z-127ZF_-_P_QV-_460LgZAHCw9o,247970\nbabel/locale-data/el_CY.dat,sha256=POPjzTYMuP7Ijf1S88cAFR0ge9Id_sSRNembKdhk2aE,635\nbabel/locale-data/el_GR.dat,sha256=S32Cm-1ENgLL_lDecCDI4qDfyd3wlQ1JbUwOnW1whm8,653\nbabel/locale-data/el_POLYTON.dat,sha256=lkcs2uXW6mWXztmsAXnapnSuQ6gkns1WwsVgrg-24Uo,14964\nbabel/locale-data/en.dat,sha256=C0EMuCmMqd7xbacUUkDzM6xvzhEWWQgbd0sIPvX5QbA,217633\nbabel/locale-data/en_001.dat,sha256=X7NFTy08b5AyR9I6BDy79hP3x_nq018WoQmMSzR5S1U,31614\nbabel/locale-data/en_150.dat,sha256=cjKCV1ZLhNY4TvqJF8BXvQR1jVUBFrdjL1RKSnBa0vc,1851\nbabel/locale-data/en_AE.dat,sha256=T2jBGVJpPTUgTICdaQnAVjSsYCVkQLfjabyStaPl2CU,4164\nbabel/locale-data/en_AG.dat,sha256=POWSM98pRq9k7lqCsxr-MS9PA-zLoOVUKUcI9iXtKq4,654\nbabel/locale-data/en_AI.dat,sha256=7iwWKftqPdOdWJ7v94jsre2ZIq2cDpbVGAs_ScBztbs,1206\nbabel/locale-data/en_AS.dat,sha256=M-N7v6BuP47wkTFmv5by1w42IQCUiSqKbaVTXtnwF8Q,635\nbabel/locale-data/en_AT.dat,sha256=05-bVy1aMFWZlHMBC86A7OVy1zlhJw7hsjyvIOjxE70,1309\nbabel/locale-data/en_AU.dat,sha256=kEhWopkI0vkAChxsUmnaAX4htgJ36t9hiVtaS6t5Gvk,20023\nbabel/locale-data/en_BB.dat,sha256=J8vppKlBp03jJvVuVp6Z4GMc_N0BukeQ8f8q14y8fwU,635\nbabel/locale-data/en_BE.dat,sha256=0JXHgqUIWZYe88FYC97spm2TqyIaNOwDJBt3LBmUF7A,1547\nbabel/locale-data/en_BI.dat,sha256=AbdI5FjEqQLOMbBtD3wLW_7AccuOwY9MZUFpMF1uEco,1189\nbabel/locale-data/en_BM.dat,sha256=cZE8sxf44ETY6nCxOgbvJN2RhABZrRaP8SjwsbSepuE,654\nbabel/locale-data/en_BS.dat,sha256=sGvlF2LPwG5eVA3IuH8-4S5X7BrvQ5LcgZ8gfAkkwwc,752\nbabel/locale-data/en_BW.dat,sha256=k5bc9gYBdl_8ZyCelrlS9ZenMzs8cdfl2MxeCnOAr88,2850\nbabel/locale-data/en_BZ.dat,sha256=LJsn2M0RWMbxDmGRxs2lk2ZvkgoguwPf7oLBYQydU4A,2979\nbabel/locale-data/en_CA.dat,sha256=za7pG-TGpows2k_XJL8dpzLVs1oOSMKN3zwyG79OAqI,37924\nbabel/locale-data/en_CC.dat,sha256=34a3Vb57hT2reRvwn0Ud1nXkoYQJoPmaqh1n5qflFdI,1187\nbabel/locale-data/en_CH.dat,sha256=Nfkwk2HNOccSH8Co5SWYnFdHWEDEpKNPQ2o9a67vt_k,1866\nbabel/locale-data/en_CK.dat,sha256=gvU21BSAugpjE7CT3xnpHML6oRgHPaBoq7W11YbG-1U,1187\nbabel/locale-data/en_CM.dat,sha256=r_7Yzep6S0ZOFvk_TORm5Qhi55yjehVQAotaLnn7igQ,1437\nbabel/locale-data/en_CX.dat,sha256=lKYbIRS6r-WMUd1ewX7Q4TpX0PBVcsYN7Cs263_xosM,1187\nbabel/locale-data/en_CY.dat,sha256=kQZfhQdPfdBeePOngn-4CpA3ZJ7Th-lmZ-jOrBe115o,635\nbabel/locale-data/en_DE.dat,sha256=oI3TmMDoQZsGddvDb0fbbwd_LdTeFbFPdFkZhst2q7Y,1027\nbabel/locale-data/en_DG.dat,sha256=xtjjxkuFB7I4p3n0f4Evz631RtMQhIzpoYwUzOzICqA,1168\nbabel/locale-data/en_DK.dat,sha256=pE7x4MDJvZGFnqQqXMCDWoMV3Ovu2qH-QO2oYNvgL4Y,2425\nbabel/locale-data/en_DM.dat,sha256=gbriVhXcdXi5GWmpgWdGB1LUwI2yquuLk1khkzpo1UU,654\nbabel/locale-data/en_Dsrt.dat,sha256=Ttd13uhdXKMHpNCWaH5q74JJ3fok1gV4MFIGd1fGxRk,38656\nbabel/locale-data/en_Dsrt_US.dat,sha256=p8c_L5tEvzYmacz0tmq58Wsbfp9wMV_PBgz5R_v7I-k,653\nbabel/locale-data/en_ER.dat,sha256=U1vYaQVwnVgfmO9l2_GjBnAhHrShbiHU_E-hAclDvck,887\nbabel/locale-data/en_FI.dat,sha256=i4gKdljmc9cXO-E1IT6JGmq2JsRRH71sKe3yUmkhIa8,2357\nbabel/locale-data/en_FJ.dat,sha256=k-hXekogcQzt00qXdcWODsHbg7Vh9U8Vx84bERd8CHM,672\nbabel/locale-data/en_FK.dat,sha256=r6OGl7mX4ep5aeFMlhog6Xr--kDKFEVhDcepSJBYZWw,1210\nbabel/locale-data/en_FM.dat,sha256=88mCYM5_VDSYpJ_mV4AStjiDpKAo_1W7GbmKcI9f_sk,616\nbabel/locale-data/en_GB.dat,sha256=2qd2bKhxJeiwIneKwRmH89UCmnYfBdpOFvL02en-YKU,3440\nbabel/locale-data/en_GD.dat,sha256=c2ap41e5x-OY5dEYZ5wD4ByRbEzlx0845R1lPBLnJus,635\nbabel/locale-data/en_GG.dat,sha256=qhfvbRdldEA4467X0_8N09HwT1ZRPJJtb7Evpvbbarg,1273\nbabel/locale-data/en_GH.dat,sha256=bBpzsHl9QhNAQ7hrUtKb6TwGvZYibXQwXfuJVgLMlZ0,889\nbabel/locale-data/en_GI.dat,sha256=veSOVDagnkTwyqxP4u5mOkRG8_W4MCZ5ptMBoGOg9SE,1228\nbabel/locale-data/en_GM.dat,sha256=jfHQeiMTDNgnIpx3WZ9hOpCR_LXCYLLrVN4SUakudi8,885\nbabel/locale-data/en_GU.dat,sha256=WDR_uybAkUii6RHT2x62pzCLvX4bMstibEztBvLSuxI,715\nbabel/locale-data/en_GY.dat,sha256=TDiVa4YSapsK9rjQN3ATnrj3m267l35pqRLI7r5bLFc,694\nbabel/locale-data/en_HK.dat,sha256=meLPc5_3zahna_xycXEf75TrW5_4BHuqMQcMyoo1eYQ,2315\nbabel/locale-data/en_ID.dat,sha256=b8R7owdV-fl30WrUhFz-1YGHiFweaoYs_bBFr9pGhD0,3172\nbabel/locale-data/en_IE.dat,sha256=ZNe5XFbdM4UnYu6KaGYHggQqzIVCWwWof5C5ktTsHn4,2094\nbabel/locale-data/en_IL.dat,sha256=O4-JPTBiiLezF-iUSDu73id-0VWlSiE0ie8z9qRaxq8,1424\nbabel/locale-data/en_IM.dat,sha256=u3JX9jrrsW_G5RQXHsQIGl6ikVduckeldeS_FjKG5Y0,1273\nbabel/locale-data/en_IN.dat,sha256=2d4aWIy6Q72ExhZHnku5HKbKmSSavvB7zkflqlBsRQA,14809\nbabel/locale-data/en_IO.dat,sha256=TOM0TxdcWcu1wyBXJxsrE-uCIZsbYTCmUkTdfCaOO-E,1168\nbabel/locale-data/en_JE.dat,sha256=IxL3Ry70pMOXDbCwU6LZllHXZmg8XHbjocavEWvb9jY,1273\nbabel/locale-data/en_JM.dat,sha256=Z9GFZ6aFGEvIEzlbOlA5bBBvxgcxXx6s_7AxPMp2Yg4,1666\nbabel/locale-data/en_KE.dat,sha256=oJa3lUdjavkdhkMK_bcnJ08waK9lfIRs8mFkG0JYf-4,1458\nbabel/locale-data/en_KI.dat,sha256=3yfkrwv7Yd9yxDNnXz9Sv8ghbDvqczZTAELr3uGNYn0,635\nbabel/locale-data/en_KN.dat,sha256=cFebccXOrQo2X1zmHoHYB2vzXynoroYImJTMnK9j3h0,635\nbabel/locale-data/en_KY.dat,sha256=slmSWk0IEz_UK7PfHX4KyHlf_iBRfuoOWVuEB0aKaYI,733\nbabel/locale-data/en_LC.dat,sha256=jUYdKd248Jkj5XVxXXbvXnfxu4BH_3s4Ld-O67qbPkE,635\nbabel/locale-data/en_LR.dat,sha256=ribT8_azFjDC8uzIsOwkGTjfgEiFlSG_wAb_wG1Fmnw,885\nbabel/locale-data/en_LS.dat,sha256=2HtV3gUrynDl2mVvqywMfff8VnVjz2ryoNS7D2n5T9c,885\nbabel/locale-data/en_MG.dat,sha256=dtMrsBqOpwQExs7dVukbUzWojz_6swx5Ng6OXdKxsSs,1438\nbabel/locale-data/en_MH.dat,sha256=NZjQknLyokLgJRNPicAZ55_VoRCATz_WvAxMo_I-HOg,1368\nbabel/locale-data/en_MO.dat,sha256=UJVR7td-vlRY_a36ZWbxr_PcK6egIUQSKoky3DeAmEA,830\nbabel/locale-data/en_MP.dat,sha256=Sd2vA3CdR_GBw1vQQQBfKIY0asJGsVUwZ6gD-h7Or8o,1349\nbabel/locale-data/en_MS.dat,sha256=BXrA3odGnWSeR6404L85ErqMKxTnRCZ16UWL2RpD7TY,1187\nbabel/locale-data/en_MT.dat,sha256=sODJaESHndxdT9SYZcnESDA6G6oln6n9NCojeHhKvJg,1990\nbabel/locale-data/en_MU.dat,sha256=SefoZho0XzSzzU_Y_-udWPCuRgz8ujdUVkL7hhzZO8Q,1438\nbabel/locale-data/en_MV.dat,sha256=Spp5zsOCHzCeZOyUdYqXoqmSoIJ0pxRR3b3nI27jvTs,2034\nbabel/locale-data/en_MW.dat,sha256=5d20Ih8j6iwBY545I4nObBWdv9FL37nE-ggfpGeXSVs,886\nbabel/locale-data/en_MY.dat,sha256=nUwwM17W9W78nnbXGmrx2zComZQ9Fg_pu3va9wPZzvY,716\nbabel/locale-data/en_NA.dat,sha256=-yNAAmx38RoVJt3YRH7Tp1xO9o3GsSVDU6uF_GKhGb0,885\nbabel/locale-data/en_NF.dat,sha256=6LqhwHyOnkQA4TNvseuiE1a5Ov7DV3y46CZ0ENcibXE,1187\nbabel/locale-data/en_NG.dat,sha256=dvbDZYdlkmhF-IU8M6s2p_kHswy8HhdmR3LLc4EhePI,1439\nbabel/locale-data/en_NL.dat,sha256=dDCtXReh9uMfUOVqGWaWjfV1-dLe5_yj-o_HrKZGMeM,1192\nbabel/locale-data/en_NR.dat,sha256=ZiUNBY0c1T3LQP-qGmtuxLW2Jfc-lcVTuWpB2jxfAGI,1187\nbabel/locale-data/en_NU.dat,sha256=jU4HXz_3l5k-luPPsjZmZBsdOVB5ZfkN1Xuk5i2pduc,1187\nbabel/locale-data/en_NZ.dat,sha256=z_qul-H3zQn0Q_lrrHceySj1m2TQaaJZd3QMXE31CcA,2340\nbabel/locale-data/en_PG.dat,sha256=WV6D2yT-4GX6ftbnUkK-ihfNg8Y-ImX1Af56okx8LTA,635\nbabel/locale-data/en_PH.dat,sha256=oPz_wDvxfCHBpkBUaZ0RiwtPrLtx-9IigR0TIK1b-IM,635\nbabel/locale-data/en_PK.dat,sha256=KS_KXItkhkUULbKd9mHdWD9ok4WjZbVSXhU8e5u8blo,2074\nbabel/locale-data/en_PN.dat,sha256=qpEWWX0fvhzV6gcX_SHNbJW7E-5FikKwXrQAP9BWmXc,1187\nbabel/locale-data/en_PR.dat,sha256=bpAu9yoeKxzQTF5Be7AfXtyE3wax0eP0m-Eu-Cr0jKE,635\nbabel/locale-data/en_PW.dat,sha256=--3_iiNqupR9R3ccq5foj9HzkADBEwBYdKE_AxLZD3w,714\nbabel/locale-data/en_RW.dat,sha256=Et3hOZwaSDECrCzypgYq1QxKxxnB3XYziIeEe_WiY7c,1438\nbabel/locale-data/en_SB.dat,sha256=h9TJ69YThzzLGTh49BBEmRBxSiZhZpQrVJif0QglLVs,635\nbabel/locale-data/en_SC.dat,sha256=omYtCZBrLl8fHuT6XInezdetV7WqWZVYriJRnlWKbTg,1188\nbabel/locale-data/en_SD.dat,sha256=ozd3rV_icr8p2H9V6StOSMkoHBPNBsXsay1GMRWZ1zs,928\nbabel/locale-data/en_SE.dat,sha256=96guhEOzGr2Lcbd3xZ4j7HTj-0H0oaGMQIbI9a_5g48,1502\nbabel/locale-data/en_SG.dat,sha256=u9U5CLnqs0iJmSnMsPBHF71HQLpFM3siADzZeC7iaJ0,2096\nbabel/locale-data/en_SH.dat,sha256=rBm_0zxjHnEVzs_CPCyuz5LpI9isA2S6copUuNbxCcM,1210\nbabel/locale-data/en_SI.dat,sha256=kkeEkPnW48iNoiwNZb0KV29DPU0oVNuENTi_Wmp2ALc,1046\nbabel/locale-data/en_SL.dat,sha256=4hJLAAnyuEVVQZ13NC7wZ0JYJQ3rvX0SsOAp0OoW7_U,886\nbabel/locale-data/en_SS.dat,sha256=C4kpyEFjyKT9-6wt2pGl4125aN0Bp0wpcYBrr62nPOc,908\nbabel/locale-data/en_SX.dat,sha256=7vESruRIiaBqWxuSRpIE2U6PgWwJ9mxgbjjH_XAraa0,1190\nbabel/locale-data/en_SZ.dat,sha256=A9wkzZ5cFffcEf1FobYRPxR1EAFwqQvqELsqRpNleOg,885\nbabel/locale-data/en_Shaw.dat,sha256=5NskTfYsGHZ63w2s3eYrzrogPpVZeqY3wd60hViYIbo,4774\nbabel/locale-data/en_Shaw_GB.dat,sha256=uAIWlJ5gr_NR6lncmMaBrjXUPhZ33rGsXoHz8hrd_E0,653\nbabel/locale-data/en_TC.dat,sha256=UWqEc9zpN3NdS1dymbUv2iGKhLkH65Kk9uNFxdXGnOw,616\nbabel/locale-data/en_TK.dat,sha256=qz4RHtHQ6cNjB8xW8_BIHdzW1cEcQuyJfdqFIybXAs0,1187\nbabel/locale-data/en_TO.dat,sha256=OehJQf8kvWi7A-Rwo2hPjs1Z9pTdg7_Hyx_ewWxbLQ8,636\nbabel/locale-data/en_TT.dat,sha256=L23iDn_zvh16iPE5uBlLCRvECSozqyzU9W2OcSjYogE,654\nbabel/locale-data/en_TV.dat,sha256=3sj3NCjQg-9UOdTz7wDJRpjx57bI0bntpmx0T50OK9E,1187\nbabel/locale-data/en_TZ.dat,sha256=5Q87mjSEaCMmWeWwtesb9lJw2tIWOsvyScG1CqSpWvs,1439\nbabel/locale-data/en_UG.dat,sha256=aQLfdbfozsYhK3EG9JXVxsmT4B7UvfSzNBo7kO2WSsc,1462\nbabel/locale-data/en_UM.dat,sha256=qd26Sl5bJTEgHU25hvskp4LMxvRJByLOSvUikqz0J4I,653\nbabel/locale-data/en_US.dat,sha256=p8c_L5tEvzYmacz0tmq58Wsbfp9wMV_PBgz5R_v7I-k,653\nbabel/locale-data/en_US_POSIX.dat,sha256=U8r77o6qQID3Sd5FiZqukSpQnq4LV1BDwHUeuNZjW10,1321\nbabel/locale-data/en_VC.dat,sha256=ES4c4Xt6OvJDhxoAZpWR2HFbtyENOl9CrV7XFCBs-MY,635\nbabel/locale-data/en_VG.dat,sha256=sqiVUOEtDV2pAc5DzGl76qV1mL5K-UWhMRzG-Ff6r30,616\nbabel/locale-data/en_VI.dat,sha256=AGffygfBAafQMxKAAoxt6kwmbES4R_ybbXRV2tHpy04,653\nbabel/locale-data/en_VU.dat,sha256=ji2cRB8B-c8uJR7L56HzbkiTR8eJZziVTMcEzuiK2g0,636\nbabel/locale-data/en_WS.dat,sha256=gowKsveED3UIWyLgnSWxyE6qq87lH2dMgOVLDGCEcBk,656\nbabel/locale-data/en_ZA.dat,sha256=uoSLsVWiMu6x-DYwISGhEwveg0kVsDwgnIhq2Jn0hXo,3411\nbabel/locale-data/en_ZM.dat,sha256=8y814a5GtYcC5gvh3YBlcYf5Imr0yNEIV_v8jH3SXqk,885\nbabel/locale-data/en_ZW.dat,sha256=GUDDEesQRkUuLyyDlnJ3MGlGzG-kDPxt8OTIqVRKDyw,3320\nbabel/locale-data/eo.dat,sha256=kSIbuCrTJF0ZuNV8FzhyheJT33iKwteIHLaYgdfPO4I,101326\nbabel/locale-data/eo_001.dat,sha256=3-tP9zaTDfbBBjpd2qKVIhS7WWbmtVKGGW_BmGIhrHQ,850\nbabel/locale-data/es.dat,sha256=c62rMW3rHT7taFSTKPt8je50jtFex4sL8nvuVey9224,191377\nbabel/locale-data/es_419.dat,sha256=s-JLmJhGKoIbnsjZm-6UXnDsAsgFhIKk9OJk7SPR_oI,27973\nbabel/locale-data/es_AR.dat,sha256=rFeyqcUDLb3yYYWMuCP8R4O1n4rT1XCeayaIaoPaOPY,7087\nbabel/locale-data/es_BO.dat,sha256=9zgEUshMb69M3LZS_3TOk4kGOt73fnB2UWWR7HPFAgk,1477\nbabel/locale-data/es_BR.dat,sha256=oCD_7IoQ5w-C-YXpQ_wBcS0wUkcY268QDcg5y7Vo7KU,1207\nbabel/locale-data/es_BZ.dat,sha256=Z3ZskA42UBcpOPDI66F6YBTvzt-g61PmxhiEpdGXpwA,1206\nbabel/locale-data/es_CL.dat,sha256=tpiiCMc68Ab3YYDqi_zh0dw_IfsZmLciylujbf72XqQ,4848\nbabel/locale-data/es_CO.dat,sha256=_ZNmqQnEj8EoNse4lJuK0Qrg1ZnPSgUVCPCNo7K6FE4,7436\nbabel/locale-data/es_CR.dat,sha256=GknsR2O3LbFhHagGvUvgNgBVCVbXZxk-yzivTPR-Q_0,1308\nbabel/locale-data/es_CU.dat,sha256=N-TqpCs34sjlEMeJgvrfOSpmnnlGxuuGtSBSaUKDbvg,656\nbabel/locale-data/es_DO.dat,sha256=HMY1U9RiyiBlQKc_kUERQ-GHqWCgjaqrBY0mKUE9Gp4,2700\nbabel/locale-data/es_EA.dat,sha256=V4UU6BM3pjbuEleLA_MaJtWl8IejNcHzUM660pfKa80,616\nbabel/locale-data/es_EC.dat,sha256=i6oUe_5GL6b8ZnbnORW1csbq1-qgo6VN0Z6x9G2xIWk,2941\nbabel/locale-data/es_ES.dat,sha256=fd1TSjdlf2lSMxwi0NhYGR2eyiABBaSJvhLlwLO46j0,653\nbabel/locale-data/es_GQ.dat,sha256=a7A-hqM9wNt51_CdpjzU8aT9KEeMz165-MyhkWyqJOM,638\nbabel/locale-data/es_GT.dat,sha256=zk_WqHmzYsoIAiErSYC9G62MlbgAuySSTAPZLtOX__c,4132\nbabel/locale-data/es_HN.dat,sha256=71FLaDfVW5pgllY-BoQoPaDjJ4lvhs_Fi9EBmJQjZj0,3051\nbabel/locale-data/es_IC.dat,sha256=hwey8h4GM8i25i-YZR_K-jvCij95wZqr0zdTIKauP58,616\nbabel/locale-data/es_MX.dat,sha256=6jxhdWleuQwI_O1FZOl2I5DEwUs3oXjAhJhyBmBCMGM,25204\nbabel/locale-data/es_NI.dat,sha256=cF62A52GuQD-QU9-jBmK_8AJ5pZ1W_nJ7NwraSAhMvA,1227\nbabel/locale-data/es_PA.dat,sha256=fBNNQGv937Iu4OPHxSuYtPu8M-u6xhUmG0LtMbxDC0E,2775\nbabel/locale-data/es_PE.dat,sha256=G6ZcerCUvlSGQmeysFNtMNJEZwPAerVqwOG2hHUpZ_U,7244\nbabel/locale-data/es_PH.dat,sha256=fEMZmVPQb97bBjEtCVMLn9JUtosTePmRuQqhpfNYkZQ,1248\nbabel/locale-data/es_PR.dat,sha256=wPOPeV-O9rnLzNHObqs9JEUo2ouyqmaiXqtsxHtKpWM,3307\nbabel/locale-data/es_PY.dat,sha256=KXiw-rkQCdcoeTv0t0SnA8ioZrHQYfPxen8491aSq80,4442\nbabel/locale-data/es_SV.dat,sha256=JM9uw_EVtB6J8bH_Nz0GL_yr6ehay4uAPm4OJIiUmfw,1260\nbabel/locale-data/es_US.dat,sha256=ifZ5PL9mZhnqv3E6uRoRS2Sqlkgyz53m2RJs9wDcpMY,22533\nbabel/locale-data/es_UY.dat,sha256=31KdHVEWnE6fWuHa7KOdTLcmlWXn8M5liZZMDWlaVrk,2703\nbabel/locale-data/es_VE.dat,sha256=kyxdQ51DhLNf6dQauAPw4vOlpjftw9CQgc3yH_uAoKc,2509\nbabel/locale-data/et.dat,sha256=eTq6nG039wKW81vnFtx-qzaWVo0wiUey2Y2ZUQLl49k,175652\nbabel/locale-data/et_EE.dat,sha256=JpcyzIDpGwHlLSiInuYO3HfxkMEFsDPBeMc-B8Rj3MM,653\nbabel/locale-data/eu.dat,sha256=lEQD4nzng6_Fmu8zQtkrvoFWV5AvUaCpOaAlv7vknt4,178023\nbabel/locale-data/eu_ES.dat,sha256=ABS9lrwjRkWenVB4fNrwKpr0mOuMF_eOlOrSrobcDl4,653\nbabel/locale-data/ewo.dat,sha256=tHyC9Uj5Gkz_nGEiTCFjXn3veej5z1GUhr-j-Dl2vgE,16881\nbabel/locale-data/ewo_CM.dat,sha256=likxlZJqzYOVxcG4oSUQLTiH5DjGjdAFsJPIjnnj2Iw,636\nbabel/locale-data/fa.dat,sha256=ci_F95dki3wTXhl10yqZP7IomDg1FHIOArxqTEMUEyk,192269\nbabel/locale-data/fa_AF.dat,sha256=3lXNqz0r7fjXSYzqZBKGD5gtS0cPs-lx1ExY_s1ucfk,8639\nbabel/locale-data/fa_IR.dat,sha256=nPuexwzRHDb9TFMjILK_V43sVIzbcn_fgp0msY3eFQ8,678\nbabel/locale-data/ff.dat,sha256=gT8MoHYFJcGDoVjBCYPzsrkMTKylOjXkE64Sc0L-rvM,15911\nbabel/locale-data/ff_Adlm.dat,sha256=GbwYyVBbA8SAJP-1BYMW4b3HXivgi8HvRDzIaKuJtvg,326252\nbabel/locale-data/ff_Adlm_BF.dat,sha256=eYQLbHvxtEqcJCMbXSkqN2dRSuYHVc6Tg9kOUKayJQs,637\nbabel/locale-data/ff_Adlm_CM.dat,sha256=b3VqkcWqXc7s1hCxN60dd-yBRXkcXfMMQ0uAJKmSsg8,656\nbabel/locale-data/ff_Adlm_GH.dat,sha256=r1CRe9Z8kZ3B3PDxmZQbvgpsEcY3OjJek9Z_S8FBb5Y,1236\nbabel/locale-data/ff_Adlm_GM.dat,sha256=ZM17aBc8xznEjoP4f7HRCHaKn-DIxCSDGkL6GvDYvDw,1232\nbabel/locale-data/ff_Adlm_GN.dat,sha256=HWkLsTj8Sd0fWYuYysHhShl08hg0iAvSXhPjy-rUjB0,616\nbabel/locale-data/ff_Adlm_GW.dat,sha256=vIUl_C4PZSWmypeEmnsAUbGN2dSquM3nEOdBs22_qNE,637\nbabel/locale-data/ff_Adlm_LR.dat,sha256=277rY6zAWlxetFe0D0JpVEY9MNcQiJU9kt1jRoiXE7g,1232\nbabel/locale-data/ff_Adlm_MR.dat,sha256=qz618w1XY_zwZ27nB6LBgbzsjsh4UinfnuOVx2bqLgk,1233\nbabel/locale-data/ff_Adlm_NE.dat,sha256=waY1EIQKuOkVzrtJ-t-5VY7cK2uKL0SIBO0PQbx4x9Y,637\nbabel/locale-data/ff_Adlm_NG.dat,sha256=9UdHELj5G90YopBKktxDyWVQyLxl5f7P3ToBElwlvCo,658\nbabel/locale-data/ff_Adlm_SL.dat,sha256=7jLKofwQBRggP61keprrbfFGXvrcJPIOvwEVmUNjcTI,1233\nbabel/locale-data/ff_Adlm_SN.dat,sha256=nGazz6Tun3D-XsO6SljxQeeBuzvAb1sBQw21IbkDQKo,637\nbabel/locale-data/ff_Latn.dat,sha256=APyNmlFYRwCQOlboY58qsqiF57rrI3F4fHu-uQTdt4g,866\nbabel/locale-data/ff_Latn_BF.dat,sha256=Nym5keR3dDPMJBFr7ZyW2cuuY-qTMkdHzXnIHSmfD4Y,616\nbabel/locale-data/ff_Latn_CM.dat,sha256=rWaVAF6D5gv_hDhNmSGbcWGpPV7X4gp53FBMXyMjT-8,635\nbabel/locale-data/ff_Latn_GH.dat,sha256=-kMvFNIQyikTD2dFakV81ghSR2H584AigLgtmrzlhN8,1231\nbabel/locale-data/ff_Latn_GM.dat,sha256=1Air8sk0wb0McqLZXDWIYQeiKgPusBaVjr4zk54IaoU,1227\nbabel/locale-data/ff_Latn_GN.dat,sha256=7R-6dXYMBdveo2-9Vc7CjIA2H6y_hGJVbfVGIaJUgbI,636\nbabel/locale-data/ff_Latn_GW.dat,sha256=2kbqhzcDeSPQxefHxynmrv2tmFVnWdRNjO7I3AZ6lxk,616\nbabel/locale-data/ff_Latn_LR.dat,sha256=MQxcDQnMZC5hN52abzqCjVIL9Z5mA9wOyTqGPP4Oj0g,1227\nbabel/locale-data/ff_Latn_MR.dat,sha256=CDUb5owq0Ntsd2lIZJejvYxOjl-NOUPP-v3tgVj1_qU,1228\nbabel/locale-data/ff_Latn_NE.dat,sha256=R8C0fI8ql5XpnT29CrwBG8rgdHB1AASDBSdvqIqIQ1o,616\nbabel/locale-data/ff_Latn_NG.dat,sha256=00rtiYbJD_ci8-0M4ye95rzGpbyX8qQ-dmFFIajAtRQ,637\nbabel/locale-data/ff_Latn_SL.dat,sha256=UaWOeokdbSoxG0JUyyGWkDyz70sXy-cZbc3lXZxmQK0,1228\nbabel/locale-data/ff_Latn_SN.dat,sha256=mPVac9iCnwNay8c7Ko3uUvg48lfyfEZrvhpyEFFGmFk,616\nbabel/locale-data/fi.dat,sha256=Vd-z6RH112cP0k5AGOlAoYU1U0f5mpQQkiHypB844Jw,204853\nbabel/locale-data/fi_FI.dat,sha256=cpbJU4KKG8OWbmLnc9TKTdzmpoi2AJh_Pu1cHhDwVSM,653\nbabel/locale-data/fil.dat,sha256=g0INTCXppDgjTGgBHy9hqQ8Mcw7G9K3XLTLyVshWuuA,144724\nbabel/locale-data/fil_PH.dat,sha256=JjoZt3zNxy1X6RnHoxUKOMzT-xMh3tGZBRq8cvrBwqA,636\nbabel/locale-data/fo.dat,sha256=4P7HQxbB7uhYUyAt1rFID1mHXUe9zlQBvWCt8LDRhNM,148411\nbabel/locale-data/fo_DK.dat,sha256=HUuarLNFSsV_gN2fg-OqrPr-6Ry6KFgitCp173jxAOM,674\nbabel/locale-data/fo_FO.dat,sha256=SLeNQ33QTZ92kXCzQcFfo-OgwZVFPJKIeRivuvz0zo8,653\nbabel/locale-data/fr.dat,sha256=HvPCR3ft-_VxUpJsVp1wKU8aiJ7eCKZEz9XZVlM5jek,213357\nbabel/locale-data/fr_BE.dat,sha256=ODfkJC5kWWEEkjr1UV8AaLtKKc4sPCUxlIGkEDkTr6s,1085\nbabel/locale-data/fr_BF.dat,sha256=7piWVeMMrZ-YbO9MNqJAu7ZeIdueVnhg07eeMwJHy94,616\nbabel/locale-data/fr_BI.dat,sha256=R4kaU1OtMcNIcibkw8OFGP6FaYMxt2uKMRyidkEqbiA,637\nbabel/locale-data/fr_BJ.dat,sha256=sel3fdwegY5W4NRg32t4MuXoqpGqTAGO_ffCF2NPggE,616\nbabel/locale-data/fr_BL.dat,sha256=n-MRZjeHNkRMwCtGgPZq52Lj0ijntBsxfskC324i2k4,616\nbabel/locale-data/fr_CA.dat,sha256=Nu60QdYyJaiQnz1EbBLSWIO86Rf57q3FWoU7ywZMKQ4,72420\nbabel/locale-data/fr_CD.dat,sha256=HWaY-wrLseHcf0fGlRkAWt118iQjRZaTGlqs7G23ZrU,1138\nbabel/locale-data/fr_CF.dat,sha256=wxzk0Nf6_pKO2VDivQprUY9WvaxRSkrfQBoUE1UVrAA,616\nbabel/locale-data/fr_CG.dat,sha256=zP3HTP-nqZjG-OD_DLrDEPPbB3t9g4T2kHVzI-HxhaU,616\nbabel/locale-data/fr_CH.dat,sha256=DiO5jczUyCwTWpWSoxVHE6kLMXQPru-XotJQLDInjKw,2876\nbabel/locale-data/fr_CI.dat,sha256=TrHL8hQRuJI3Auxe3aTHYa_rljyUvT_s0q-jdSJflJM,616\nbabel/locale-data/fr_CM.dat,sha256=31oDAmeRb3F8a4fvVn1QJyIbrla04w8kfC4oQO0vwkk,1970\nbabel/locale-data/fr_DJ.dat,sha256=Jqu2FOJQD41B6fLSBEc_Wf-dIQ-B6MWlT0m1buQnmxo,1248\nbabel/locale-data/fr_DZ.dat,sha256=uOe9lbjO51q30G0UMs5nKrMLta5CtLW2Fg4dvsfRX3M,1290\nbabel/locale-data/fr_FR.dat,sha256=bwtjtv0NG-lxlXO7fJd6r--l38WKaQmqlmn7PpXJdJs,653\nbabel/locale-data/fr_GA.dat,sha256=rMwS-msXjMO5T5k1BP2B2S9B_dYvDHlP8HMS-Lq8XU0,616\nbabel/locale-data/fr_GF.dat,sha256=x97-H7H0h4_MUTpjMdrkYB790vBvPKKxmnUTu-FOwLg,719\nbabel/locale-data/fr_GN.dat,sha256=6KVlBWrF76ZhgyYg47F1TcR8_fbE5Ii2pJzPhmbr3Pk,636\nbabel/locale-data/fr_GP.dat,sha256=W99xHjqPQj_NJ1X34ismj8A4xeZcHu_vyqH8tIwXgeI,653\nbabel/locale-data/fr_GQ.dat,sha256=Ogf5NI4zMvbVROeIb8F6h1NxJNKOqY4fKU6G2SPJXDk,616\nbabel/locale-data/fr_HT.dat,sha256=S2Vvt2b9Wu4dY5Tsd9xxFAx_RLcWXCGf_XeSSQFYbKQ,1836\nbabel/locale-data/fr_KM.dat,sha256=ChLpzCyulxYg8Qmm5HK8YkK203GRSUEBNPSl8war7lA,636\nbabel/locale-data/fr_LU.dat,sha256=0sYBhn8-9lvfOrU-ZEIbnO5v03qQOQq4wXCKp70b2sw,729\nbabel/locale-data/fr_MA.dat,sha256=Um7dK7MvHkPB_h_r0pk47rMFCng1LWFgIekS7cDX9ZE,1098\nbabel/locale-data/fr_MC.dat,sha256=IfTCZ89rqHzUxdKyIz86Zs_VUH2zc5JAvntdhyKsNR0,653\nbabel/locale-data/fr_MF.dat,sha256=xU0grNJKWgpfArwpLt7vuOpSTSkyPx3o6gFkmZLCxd4,616\nbabel/locale-data/fr_MG.dat,sha256=A9zYBbE6gIWuGDPxv92ReIcR49gtIEYaEkCj9ZONHHI,636\nbabel/locale-data/fr_ML.dat,sha256=-PoWsHBtnaZisIOqZyaEFmwooRXb2R2xEMe6DYad_sk,1153\nbabel/locale-data/fr_MQ.dat,sha256=45qWAev4p2ZaFVky1Qlrw5q907PDfbRJq9q2UACahm8,653\nbabel/locale-data/fr_MR.dat,sha256=mVSOABz3cRa1-HEeUKW13sLw1ZR6PmB9h_DPfZsK4Uc,1228\nbabel/locale-data/fr_MU.dat,sha256=c4ERuS1GI8h7waxcW6BRtloW7BThLlgqdYTf31Ioh_U,636\nbabel/locale-data/fr_NC.dat,sha256=Su2DaGZPnLCaONmgosMYke9kH6dP8xJ8wJF6P5xrJq4,616\nbabel/locale-data/fr_NE.dat,sha256=D6ghYGdDXlhaVQ5gAr8wWHxEHYR7mBs0QaiNL5nfxWM,616\nbabel/locale-data/fr_PF.dat,sha256=oPN2EBo1hpLjlpDYPB51qEAx_4HNMWG5-Bh9JN6Kal0,616\nbabel/locale-data/fr_PM.dat,sha256=gEP6Ay7r-p7uIjOGXP8eCa62yujlTBntENdeNd9KKes,616\nbabel/locale-data/fr_RE.dat,sha256=pxNaLi-BUbe3E-Xf5ZXPoeut9NdT0D9OGEgmoSWZEr0,1055\nbabel/locale-data/fr_RW.dat,sha256=gP8mpM7gx_X_9NKDm8B9PuTg83jwT5Nn3NOKPpVhi3w,636\nbabel/locale-data/fr_SC.dat,sha256=qvz0N08LKCsPCPDZK1NmAhhzmaszBQ8mSlDbAsEwAoI,636\nbabel/locale-data/fr_SN.dat,sha256=n6ijBmMl-ztuCLSePI-Q3yIyhzejn7KvRw5ZqjDoXsA,1018\nbabel/locale-data/fr_SY.dat,sha256=tpDovgZ3aK7OumRwbntHTknV-tRL_HjcPK1aQINC-x8,1290\nbabel/locale-data/fr_TD.dat,sha256=1H47veWKRj_iV9CxHMz7x7tfrL8IYdQaRWhTV455efw,1208\nbabel/locale-data/fr_TG.dat,sha256=r_E5Vnj0Kb5CG16ApHFls4UreDeO7-o3uzpQdJjpbRM,616\nbabel/locale-data/fr_TN.dat,sha256=hcGRJ2UjuFEFJqb1BDglGsXY8jCEIdM8--OrU3OqRhc,1228\nbabel/locale-data/fr_VU.dat,sha256=FYYsiaoM8QZeClMnQzLiLZNXW9hULz-rCgRTYWvrIvs,1228\nbabel/locale-data/fr_WF.dat,sha256=jn6VFRw_qpJFxpO-I6C9nhz_wRZ8cV2b2XRBgSzi710,616\nbabel/locale-data/fr_YT.dat,sha256=x0WpQCLoqrLY3_nCF7JlcuekkoUtcpE4llC8kRmeRmY,616\nbabel/locale-data/frr.dat,sha256=Itmd93DOwAMGcTkWE83BWDS1oXEVckX0EE6mSiOKyoA,102994\nbabel/locale-data/frr_DE.dat,sha256=2ohnodzECbJBUTEta36Ts4amZKl2_LDhuD0-Hu5JBo0,654\nbabel/locale-data/fur.dat,sha256=pvg46WO2uwbg27leWyWYXkoqYFiaE1u9Txsd_iZJeC8,32441\nbabel/locale-data/fur_IT.dat,sha256=PpDH1opUDjndOtvpPadiOtITGyGxKZY0ziEhb-4HKbE,654\nbabel/locale-data/fy.dat,sha256=zJce96OaCoG-oKfhQFisyjgVEK3pNVtF9RT-f9h7y1g,108200\nbabel/locale-data/fy_NL.dat,sha256=I_M2hFVCAaVAL90yVMloW2eYmzO5C3NZztfEDAes3_I,653\nbabel/locale-data/ga.dat,sha256=rx5MLgtNUisB9V7gu0e2dNyCXF2H9KhLVULuYvLNUh0,261523\nbabel/locale-data/ga_GB.dat,sha256=NKphVJhmH8egga1dgfO-hSRVFhbxms2JvGMU3ybgj_Q,653\nbabel/locale-data/ga_IE.dat,sha256=P948T1Tl4B7kL1T-uxii27q4IWO3yQQ5emTLv7iHvW8,653\nbabel/locale-data/gaa.dat,sha256=W9tUKmjglnSUxVlpiGA0clKmagjmzgF1Fwj_UPmg8Ik,33806\nbabel/locale-data/gaa_GH.dat,sha256=FF7vo24vzA2ru3t8py246uanyOqyoSkpD65F7KFTXlA,617\nbabel/locale-data/gd.dat,sha256=AtSvR97H05LvFNLHpLsb7tOgKYaOjYvWFOLaDDH6xMk,280763\nbabel/locale-data/gd_GB.dat,sha256=weaRul21diYZoqLk7SXacBy8GD1bH30cQO6AHejilPM,653\nbabel/locale-data/gez.dat,sha256=6gIHA3BFc3-A6-dOq0pc6bqP2ej6kmG9Xvwa0EEhoMo,12743\nbabel/locale-data/gez_ER.dat,sha256=MKpSW7Upkpe42Q2mbJStbjtnrW6Kyo8Tg0zXAxnHWqM,638\nbabel/locale-data/gez_ET.dat,sha256=93QTSMihpcfFyRhttFplgAcsAhzrPjlbrz5HI4feRSc,636\nbabel/locale-data/gl.dat,sha256=N2zvS1gg8f3l6SOLqIIiKCBsbxAcArFclISemEyGx7Y,153642\nbabel/locale-data/gl_ES.dat,sha256=us8xWRQnNTO_KC42-FOU2cnLCNl96591qnxZ4exq5Fc,653\nbabel/locale-data/gn.dat,sha256=2CbBgzd3kHlm8uIpKVV3yurmEXB_yNUfM2NKTFV95dU,2477\nbabel/locale-data/gn_PY.dat,sha256=tArgCo85T_BUNmPc4sXVRz8X5wcHJmBS6XP0r8dPgA0,635\nbabel/locale-data/gsw.dat,sha256=TGHS38pKauNWMdFFsCyCJ_9p17aLt14jMA56gxTDBM4,95265\nbabel/locale-data/gsw_CH.dat,sha256=fQlRCd1MJ_gI6rcnkrU-lUE7ZM4syRLh-suMRT0DCOk,654\nbabel/locale-data/gsw_FR.dat,sha256=vHNQ1q9Zyf6xLfsJpmqpaX1iHerMRt1dsJSPQdQDoTE,654\nbabel/locale-data/gsw_LI.dat,sha256=dsg7TA7MECMrbTXC7i7zXIjrEoqrF2jZ_ckGiTMholo,654\nbabel/locale-data/gu.dat,sha256=5A_T6q__RzuWdGg9Sfte2wOqRw_Adz-LJMJJzFJ87cg,208242\nbabel/locale-data/gu_IN.dat,sha256=shXUMyk4ogB8uJPazALoReGyLqRXSYOeVBVMn313_Y4,658\nbabel/locale-data/guz.dat,sha256=491I3x6EkMG0roSEKI3sHxtaweXWNXhXyk4vsG-LzDg,15427\nbabel/locale-data/guz_KE.dat,sha256=Uz_x0_YFKJHDkSd46SvuIfO7W0c-uqYnasmmLNib3WU,636\nbabel/locale-data/gv.dat,sha256=Ye3v_q7SrnCeiOVw1r7NRcTtUZ3RwOr1ZKs6skxYTos,3960\nbabel/locale-data/gv_IM.dat,sha256=bXOsSoV303kSUECHz2xd5HhASRI-XCjqjxnxpk0Bt10,634\nbabel/locale-data/ha.dat,sha256=fVfNqCuIXaCTV5E9XNMNVROCwgalJ8f4MKfEvKun3Ao,150526\nbabel/locale-data/ha_Arab.dat,sha256=AUoCyyrZDTrf5SEZ2SRizimC11NMSCyonIkMRer1PxY,2197\nbabel/locale-data/ha_Arab_NG.dat,sha256=oYJYqTkaDX2p4IJ9j3sEJT49dcVn_f9JyjO0rUJTmAc,616\nbabel/locale-data/ha_Arab_SD.dat,sha256=7DD6pzCmpEdjwbTMAbAb_vJey6Qh0tIeSs8LjEpJxBo,678\nbabel/locale-data/ha_GH.dat,sha256=Cwfuh0nEMJu4LGZmdOXJHp_5fZRdpTIODJ_Tpd83uPM,1231\nbabel/locale-data/ha_NE.dat,sha256=glKzRtSaovyoiyBc-vjFbJ0wNuxfga49w_zeK3ANtvU,616\nbabel/locale-data/ha_NG.dat,sha256=oYJYqTkaDX2p4IJ9j3sEJT49dcVn_f9JyjO0rUJTmAc,616\nbabel/locale-data/haw.dat,sha256=aNXNxqponTYIxzV21MX0jIzG73qbhbNO6px2WGael6o,10375\nbabel/locale-data/haw_US.dat,sha256=W2qJBTNdETpoN-Ue0UYbqyblj-gIbQNOUMr01RwJ2fw,654\nbabel/locale-data/he.dat,sha256=o6AACO6FcY_o6bcUuLkcWgbWIT77K8N8BTBDLY0hk7A,217062\nbabel/locale-data/he_IL.dat,sha256=KpQ8sod_QOZ94Tr0tfhlATzVVsrqXck6eq7txoQgCbc,678\nbabel/locale-data/hi.dat,sha256=TZ6kgfAZH0cuoX3Y7FpTEFJUEmlrSGccY9nWPDk27C8,221948\nbabel/locale-data/hi_IN.dat,sha256=UMkxSHgYSdX-hPgYa7rOOzft7xtJwcM0m5nTphUe9xM,658\nbabel/locale-data/hi_Latn.dat,sha256=Dn0MJdILlsVYU9R5BJFSPGGr1a35jF4k9ebJMKLX69U,30945\nbabel/locale-data/hi_Latn_IN.dat,sha256=UMkxSHgYSdX-hPgYa7rOOzft7xtJwcM0m5nTphUe9xM,658\nbabel/locale-data/hnj.dat,sha256=ryXdpBMEUzFyZ_u_YiqAK689QOsEuUO_Auyuhty_4jY,2117\nbabel/locale-data/hnj_Hmnp.dat,sha256=6GekZXtZVXtGcI_zk6NqXq3WxMnOx83IpRlJOyUws6s,746\nbabel/locale-data/hnj_Hmnp_US.dat,sha256=OydEowg2bNVks5nd5ij7ZJqqQT0ztYv4HL1ZZ4gNajw,654\nbabel/locale-data/hr.dat,sha256=kdzKpWmyLAIFw7D5DPKG7aHUQjYlM5fctcBLRoHeujg,207636\nbabel/locale-data/hr_BA.dat,sha256=E_S8FRdn0yszTWFg9RlqTV5zEwCc7-qtod45Ud8LHyI,1188\nbabel/locale-data/hr_HR.dat,sha256=PqaNYKNdTFgfgmeiINdYp2d3q8qpfkCUs1y4ZHmsphA,635\nbabel/locale-data/hsb.dat,sha256=w5bDS336hxU-RChl4QgaayXgMgN_VBUh5GJXznPI_Bs,206887\nbabel/locale-data/hsb_DE.dat,sha256=_ELT9KBswSqeyiwbcsP9nFY793FE8PQzEu_2w78Amro,654\nbabel/locale-data/hu.dat,sha256=dmS-7GInw1eGbifjgMyXc1m1nBg6dK6IOJIDoLb_Epo,147032\nbabel/locale-data/hu_HU.dat,sha256=r3RZskHfUdk1Ba226wqBHAoRMXorlh-IkWLlnY_mBTs,653\nbabel/locale-data/hy.dat,sha256=R6n2G8QdkkxlAxBgpTK7l-cPhwHg03vIG1pwmWVrCV4,202316\nbabel/locale-data/hy_AM.dat,sha256=r1Bb6WWX2QxVlLP5vRVgox0HgoDOosA-h3oYKLeZMIY,635\nbabel/locale-data/ia.dat,sha256=Wa4yDTDv9TA2Imo69v_49GqgV8LvQP1iuWGq6LFAMOk,133538\nbabel/locale-data/ia_001.dat,sha256=fzAkHPu7PNj2TOl-kQcJLIdlEK6z-KfVFUVcy-YF5Zg,941\nbabel/locale-data/id.dat,sha256=CfCCzK3VV98obeH7x1Ueax-xYczfCwextwJ7aetTQ5A,126977\nbabel/locale-data/id_ID.dat,sha256=GvwO35RP_Y8vswE60ItYMQa7XUOBXGLk8tvL8kSJkY4,635\nbabel/locale-data/ie.dat,sha256=9nzS8srJ9Mze83D7nKqXSlGvjOtu7utOyAJCLaffEm4,77957\nbabel/locale-data/ie_EE.dat,sha256=93dmapYNE5HEAfIRwL_HjNV4fpCJhy1CseggbriCXL0,653\nbabel/locale-data/ig.dat,sha256=ts_BawFD_ves9B7kX6GAIxwBY8FP4jNmkZidIdAVaDA,78550\nbabel/locale-data/ig_NG.dat,sha256=2MR603ed1L8Y_aZhXPk7K7J8bgQPE4xvvpn8R9Jodiw,616\nbabel/locale-data/ii.dat,sha256=WBkpukOuFcoryzq0QnHhdafGfad_u9vdJy0JO9vo-iI,7477\nbabel/locale-data/ii_CN.dat,sha256=Vr_Oe23kFnz-EDfl7XeDv6GeTY0LSK-VV6UJpzU8yJE,635\nbabel/locale-data/io.dat,sha256=laqBHV7QB933VjLibEOmRezXV9StwhKVzKvWp8e62YA,932\nbabel/locale-data/io_001.dat,sha256=T6zZvvSVOcdpy3fhXbdPAWmHCvDTluick2U8_hUDu2E,912\nbabel/locale-data/is.dat,sha256=r9gnQpf81NqPVskVKUiSGWa6VU3_NXzJcna1Gho28d8,163097\nbabel/locale-data/is_IS.dat,sha256=f3tUj_oYhQ6_tGnn8yda4PZfqChiHmcZXo_nMDCtzSQ,653\nbabel/locale-data/it.dat,sha256=n8pxKaMuS2ekD7EOSV-3PmVfdzm9NqxF5zA073x5itU,173579\nbabel/locale-data/it_CH.dat,sha256=Tvtge1s4BcbCeKJmPBiSbtbf_qv8wrw3Eb4Dc1sF3dE,2942\nbabel/locale-data/it_IT.dat,sha256=-e6EK0A6gEd_G4_BHlmd8_caQ-k_JrEemNgdA0czhsQ,653\nbabel/locale-data/it_SM.dat,sha256=xjE63TohE8bjkNiOh-BhOkuB9YWpQ0n2rrBMJoAql5E,653\nbabel/locale-data/it_VA.dat,sha256=wwsl_eAmNu9m2JPZnpBwFVh4gsk5AM9lSx8UAXhrMlE,653\nbabel/locale-data/iu.dat,sha256=vZIG1AsqwcrTA6zfwBeQydVAn5qDQXT8yTK8wvbaVAA,3209\nbabel/locale-data/iu_CA.dat,sha256=C449KxuskTW8w7z56Vv602QRYsQ90O0WbazR7VqlDa8,635\nbabel/locale-data/iu_Latn.dat,sha256=oYsdWLomYvVJg6kIQIKYOdSGWyrEHftc2U9bZ0sHFD8,904\nbabel/locale-data/iu_Latn_CA.dat,sha256=C449KxuskTW8w7z56Vv602QRYsQ90O0WbazR7VqlDa8,635\nbabel/locale-data/ja.dat,sha256=86xPBOY1H1e0fLC6g_61R_ipS4QGbB9sXst_JwwdAWo,179695\nbabel/locale-data/ja_JP.dat,sha256=o2pbFmlkEZjV7CHE9cYENYVv2kQA8texhNDhEecgQ9w,635\nbabel/locale-data/jbo.dat,sha256=2eB9ymOoFb8abB-v7ISAGcAg4HEEMmpuseHIXFgtqkU,1008\nbabel/locale-data/jbo_001.dat,sha256=wwLKEXJOwULYD-q92kQdvpiwW2fgis5YcsP2mT4tnT0,746\nbabel/locale-data/jgo.dat,sha256=9X63SqWqQ7TK7Z2RKaQwFBP9sMog_4cQN5Sr_KBlyL0,9031\nbabel/locale-data/jgo_CM.dat,sha256=1lDyjZLpK6fS6oSpfnVLdYd2IUgGlUQfF53BDdK7TLY,636\nbabel/locale-data/jmc.dat,sha256=lRstulkfCj6kDI8VLH_3GS4awAqVsylMU1hvvWH7kJg,15374\nbabel/locale-data/jmc_TZ.dat,sha256=fODp_OsVygbH0UoRsx4HHcXrde02bRKc-hy80sDkcK4,617\nbabel/locale-data/jv.dat,sha256=SucM3ZDoHXO7PsbOYNLdx0UmQqWUll2i1hDqn-zJY9U,103138\nbabel/locale-data/jv_ID.dat,sha256=G3zTSeqWMngemp5lAcghudTcv-i8egZS12P0-T1DNXw,635\nbabel/locale-data/ka.dat,sha256=dIskDjc7ZdRZ1rGJIHxOP_47WO_cdjLDx4eltYETbUE,230234\nbabel/locale-data/ka_GE.dat,sha256=zzw4NZBk8dsHIBeEzB3Vtf2_1nC4DhqblLoBUXfNHN8,635\nbabel/locale-data/kaa.dat,sha256=KjLQ7_UT8pqVmgqy5BXJHe9hbPceKi6AIyefM4_0pYU,17585\nbabel/locale-data/kaa_Cyrl.dat,sha256=zW7tFPX2CPo0NwR2o1DCKu8Tsvm-Aef9RAuy6AcaJXs,693\nbabel/locale-data/kaa_Cyrl_UZ.dat,sha256=DugGAZvImbUSHvvGmGw0ekXXBj34vEjSkHhSxVXbc-g,636\nbabel/locale-data/kaa_Latn.dat,sha256=zW7tFPX2CPo0NwR2o1DCKu8Tsvm-Aef9RAuy6AcaJXs,693\nbabel/locale-data/kaa_Latn_UZ.dat,sha256=DugGAZvImbUSHvvGmGw0ekXXBj34vEjSkHhSxVXbc-g,636\nbabel/locale-data/kab.dat,sha256=ykLRvdRtHpY8y7JDHOgC03KxAyvAfxzYQUl44CKKr6s,121528\nbabel/locale-data/kab_DZ.dat,sha256=v6fd0kyletm1kfN2ibSUh6oddckpLHjPd_qrq6FQpd8,679\nbabel/locale-data/kaj.dat,sha256=tKKi4eYHT0zEJLSHi2DefEGyTTu4RCKpnANu7NQhAPg,2696\nbabel/locale-data/kaj_NG.dat,sha256=1RODrBAPxCrrlTgfhpdz-VxQkTdjJEJYHaJEsOgQsNk,617\nbabel/locale-data/kam.dat,sha256=br3FOMP0rS2tAq1tSXwYq197v2XXHqWtX_TM-39QP1k,15506\nbabel/locale-data/kam_KE.dat,sha256=8AQQhHQdaI4rBKXfTivg884XIDfZlbDEQM28KwvB2Og,636\nbabel/locale-data/kcg.dat,sha256=dOZR1bP8sPbhD2Mk496Twz8MOivgGQoliuDMAWSO9fY,2549\nbabel/locale-data/kcg_NG.dat,sha256=jCObRZa-t9Khgx_M8ps0PLbeit7rPCFtHeCOhtfCnOY,617\nbabel/locale-data/kde.dat,sha256=cFVUYeayn6-kMX6PwQQ3J8rpHMql07_V7lSluInC2x8,15810\nbabel/locale-data/kde_TZ.dat,sha256=2sfb3gejYM15YtZeRrc0AJgdaJhqgbVJ9c9yF9SlJmg,617\nbabel/locale-data/kea.dat,sha256=o2awnBismFEWQemtUPASmZMVLlOkJNDtuD6egmvMatw,76097\nbabel/locale-data/kea_CV.dat,sha256=LyzxPE6yP0f9hdD4uvu8CvEp8nmcmRDVuRI8YxBQ5wM,617\nbabel/locale-data/ken.dat,sha256=PMrEuqYRQIhbpP2dPowHOL_NKKFpEBd8qNUV_NpZnDw,719\nbabel/locale-data/ken_CM.dat,sha256=jNEojAAtQqJMkEq84kxHU5hGOVQCOW_hnGQScxycYMo,636\nbabel/locale-data/kgp.dat,sha256=OKx1ZbBdHw75AdzrT-petm32Dj8wJdtUQH_oai7v0qI,184092\nbabel/locale-data/kgp_BR.dat,sha256=FNSYAqPhkzoZzholxTydgasgkuw7jgxCfyKDbeRiLt4,636\nbabel/locale-data/khq.dat,sha256=OcW4Zprt-WlTePo7DzquB-yS8vwfPqjaijpkrX5l75w,15753\nbabel/locale-data/khq_ML.dat,sha256=ViqThOcZTHZBtebV8LJY-DXdWVX5jAR5pdlBrTKws2Q,617\nbabel/locale-data/ki.dat,sha256=vffpb6Wy7TN__hZQH1SJYi81AxamhBnEK_XBCiF3OFc,15451\nbabel/locale-data/ki_KE.dat,sha256=PNoxhP-WLxW2vH3fS8N9Nuy0tVimMP-ZAaCfLfnfDN0,635\nbabel/locale-data/kk.dat,sha256=93jtpKcfiQBRbyeOyJgqETZXGOntosB2nGedgHShM1w,200871\nbabel/locale-data/kk_Arab.dat,sha256=TBsZm6iLJ_dw2mNxDdQk95jELZ87mArNl12iktCwKwo,222820\nbabel/locale-data/kk_Arab_CN.dat,sha256=HCoaBi32ENdpJx5usXdBR9aR__MHFeKV-wTo_53tQNk,635\nbabel/locale-data/kk_Cyrl.dat,sha256=z3n_4vbUD_OcZhi9Tm8vkSu9h4RUgavZ_CFrujFbuWE,1584\nbabel/locale-data/kk_Cyrl_KZ.dat,sha256=eaQW7Va1z2L34hs-D9QgrmyvOo4Lpy2uxxvxms6kL4s,635\nbabel/locale-data/kk_KZ.dat,sha256=eaQW7Va1z2L34hs-D9QgrmyvOo4Lpy2uxxvxms6kL4s,635\nbabel/locale-data/kkj.dat,sha256=IYeF4Uoeb0kfxooFLFcqmdIwGWbWh0MUfBpztTxWFEw,3373\nbabel/locale-data/kkj_CM.dat,sha256=gqHwzVPG_Lo3svaIVe0Kfhj4DaKtstOxJJhUGvvpSbI,636\nbabel/locale-data/kl.dat,sha256=D8SSjxLZliXOxyTxpC1x7jYbFQn4WbSV3lfotFFt3Jw,47570\nbabel/locale-data/kl_GL.dat,sha256=c49k11GtBG8-vExsQNo_d1pFaQm0LYmXl7QcMSTEApA,616\nbabel/locale-data/kln.dat,sha256=pldtRERWUhEOA85_zeFJfshpMl6gtgdELjGyNGtJzOo,17427\nbabel/locale-data/kln_KE.dat,sha256=ZhkKgZ2lTdWAvWVOJEFlp4ASvjk2hcyTc2_P9s3mykQ,636\nbabel/locale-data/km.dat,sha256=TueDML7PuHjlME0Bew9xgkFSFIxBOsJTzpMwyjyvuXs,176653\nbabel/locale-data/km_KH.dat,sha256=bnykdq-RYJ0ZwajV5dFBVtM4anVkLjXutFdUxKByQ2o,635\nbabel/locale-data/kn.dat,sha256=n0AHHLkpl4FIYeiSCEMDJF9mFr5nCgHcV8HSCOKz8yw,267281\nbabel/locale-data/kn_IN.dat,sha256=rx1LJYeAP8xU6MIU3yhHLuije5OQWL_wzz5glztIdi0,658\nbabel/locale-data/ko.dat,sha256=tYIinjTM5ZLw-AvWerUR8h4FRQ09LGfoRNyutl2iMLI,154621\nbabel/locale-data/ko_CN.dat,sha256=U_q1api28ucaC-ABOBb822CgSq4nywhMN02uS7TCREI,1187\nbabel/locale-data/ko_KP.dat,sha256=BCMOKQSzXNnjAUWfZZ8pbFoSDBed9tnnatyqIePNWio,816\nbabel/locale-data/ko_KR.dat,sha256=CJqKij0oULIeCIG8McohdnhEsfJxUwmJHOpJY1bLrNY,635\nbabel/locale-data/kok.dat,sha256=1pS0SXgetR-9DHtL71PAw2VIRp51a9KfxoSnw3BoxFs,179992\nbabel/locale-data/kok_Deva.dat,sha256=EP15THeV74hd5G3DDXlwIHzxQvpECa67TioBGaur3l8,693\nbabel/locale-data/kok_Deva_IN.dat,sha256=GiRy8Q6VCULzgIxNPFEZzABKOg13Un-DblBwXnBSeEk,659\nbabel/locale-data/kok_Latn.dat,sha256=jVrQX1SeylbWO6B3ana7r9r1sRvMyOvBVwPfyXxB4uM,29867\nbabel/locale-data/kok_Latn_IN.dat,sha256=GiRy8Q6VCULzgIxNPFEZzABKOg13Un-DblBwXnBSeEk,659\nbabel/locale-data/kpe.dat,sha256=AHR_ZG1p518D4yulM_cs5E58iMsVXKk4Hi6k0V0IDhQ,1331\nbabel/locale-data/kpe_GN.dat,sha256=7eabSFmszupn0IlzP6TRg1-7FZS9AB3JdBkDgJtIs64,1210\nbabel/locale-data/kpe_LR.dat,sha256=4O2gzHn_orogC0qOiIyIox-JjyA73hEAe_fZ3Fj5tYc,617\nbabel/locale-data/ks.dat,sha256=KySSApsfBfxM26TaXsK2gChd3noV1e5l41gUsaC3DA4,111691\nbabel/locale-data/ks_Arab.dat,sha256=fzDL_rCiC-BqymPhF6GBX-d5uVkvZCE4e8JS2L8cjRU,850\nbabel/locale-data/ks_Arab_IN.dat,sha256=-OE8PBigMDH8zQrxiaffmabm91Mi8-OVdDR2JEK8xPA,658\nbabel/locale-data/ks_Deva.dat,sha256=weXN4SV8247g4MW8R7MHXM6sKk1qhf2Wmowls_zowAM,12510\nbabel/locale-data/ks_Deva_IN.dat,sha256=-OE8PBigMDH8zQrxiaffmabm91Mi8-OVdDR2JEK8xPA,658\nbabel/locale-data/ksb.dat,sha256=vbB4JVStmpZIu9_vi6f9-Dt40sN2wPvF9Y2JzJJ9oEY,15356\nbabel/locale-data/ksb_TZ.dat,sha256=PvWBMUhpMhV27zE9BCEJW8oMqRXWK-6VwmSsXZDMTPY,617\nbabel/locale-data/ksf.dat,sha256=IIgvqtnlTxMmLSk38JyZe0PA5gLEX86ZDcaVIULp7Zc,15952\nbabel/locale-data/ksf_CM.dat,sha256=0OOsuUS0S_AUxUPySFQOZVbPcB3F2I4yzHZm63YypDU,636\nbabel/locale-data/ksh.dat,sha256=M6W02xiGUibDW13RIB7psbwMA2wdNYQHz3Bp9XljhZ0,76781\nbabel/locale-data/ksh_DE.dat,sha256=EhgYIJQaC3LGiWrcE2sdfUC8LOWJnciWORi_yoRkOvw,654\nbabel/locale-data/ku.dat,sha256=beByrhXjB8iRhaNGxkQaxnUckutus3MJ61Pm-Ro8SqU,117087\nbabel/locale-data/ku_TR.dat,sha256=LoNyoL-poYXgqejDzB9-zI_0TIJF3amwyzcs6UnHUII,635\nbabel/locale-data/kw.dat,sha256=x5JFxfv4DvLd5Xnq5J7JlbcffhYNXwIn5-Jp3Q5QV5A,7242\nbabel/locale-data/kw_GB.dat,sha256=ol7LWhJJFNoNkFEjtk4x1PpLkML9UbuVmZAuG47LokY,653\nbabel/locale-data/kxv.dat,sha256=AMdZKJIlfkcpSetPdGRHX8LLN0O1s14NAtDzekSi01E,69503\nbabel/locale-data/kxv_Deva.dat,sha256=MlejiNswS_LJAemj-vyEyvXc2SyminqNCWbaq3eceKk,86834\nbabel/locale-data/kxv_Deva_IN.dat,sha256=Z43Yc1G4Bsmu7KukFfgXfIl1Cq2Rqa7RQQNYygE5Aak,659\nbabel/locale-data/kxv_Latn.dat,sha256=XqtuF9yh0tBrDPoRpZj_1Mw-QUqt98klOlgZXh7qPus,693\nbabel/locale-data/kxv_Latn_IN.dat,sha256=Z43Yc1G4Bsmu7KukFfgXfIl1Cq2Rqa7RQQNYygE5Aak,659\nbabel/locale-data/kxv_Orya.dat,sha256=lsjWswZU3LWmYNE5tLn9cla-WSbdfqAoltC_OvxtR28,85964\nbabel/locale-data/kxv_Orya_IN.dat,sha256=Z43Yc1G4Bsmu7KukFfgXfIl1Cq2Rqa7RQQNYygE5Aak,659\nbabel/locale-data/kxv_Telu.dat,sha256=rXJrWxHMFrPeheoNt9NvKLzNoGLpNXiHpc4PsuS4tX0,88218\nbabel/locale-data/kxv_Telu_IN.dat,sha256=Z43Yc1G4Bsmu7KukFfgXfIl1Cq2Rqa7RQQNYygE5Aak,659\nbabel/locale-data/ky.dat,sha256=PAH_ov1xcnJAie5ltB3I_XAUJsrE_8tFwFlOjorRBts,179889\nbabel/locale-data/ky_KG.dat,sha256=CdtjRR2iZgfG5pdz13MX-EHTDtN6BdLeZwGCmrZnrkU,635\nbabel/locale-data/la.dat,sha256=0TAdiOxADg0C2AeIj5RRxiLgMbVO-PqRMf4GAm1M4dE,33982\nbabel/locale-data/la_VA.dat,sha256=dhULocaXyJGitrljd1w688DTmezcmmY8YcoKsT30n34,653\nbabel/locale-data/lag.dat,sha256=mtjtyLHLCfoUr4STtBqLXOxLnZ0igugTC9fZiyJZk8E,16281\nbabel/locale-data/lag_TZ.dat,sha256=LlfEls8DDvoVp07MYnFdLBPUhkJs2kzwUDk45BZIO-g,617\nbabel/locale-data/lb.dat,sha256=lUGm84DfwLgQ3vC0mL_foFf5dSZZKDTIuwCRf5BjgVs,135641\nbabel/locale-data/lb_LU.dat,sha256=s0AY2-F7BqA4tMcRPjCfbzbXRbHsKnD6uIQGSkulCT8,653\nbabel/locale-data/lg.dat,sha256=LnMo-qAcWHbbAuRmCTz4_nBGHgUx0aojWG7C8TFn__Q,15834\nbabel/locale-data/lg_UG.dat,sha256=nyn_HKdBHGkHlbjlDX28L5Z9k59MKFqvmVL3vg222s0,639\nbabel/locale-data/lij.dat,sha256=Ic982St82mPMfuQqqLswPtOy8LlglfcLYk_ftIDM65Q,129648\nbabel/locale-data/lij_IT.dat,sha256=rtPerU7ltwkHHc7HErfwJfX8TDSCpTHvBzwKBdSt4x4,654\nbabel/locale-data/lkt.dat,sha256=U_yXNWWJkqlepaZ9kS-FVOAHQKVmc0vhwgWgFRzXnqc,11180\nbabel/locale-data/lkt_US.dat,sha256=ywWg9m80tNjumAxGNrBwYhXhc28rC4OSdyvkdXAKs5Y,654\nbabel/locale-data/lld.dat,sha256=2JBQPu8T-cMVqzVOFs0Vz-0hU2RtHMyTvj0F8wPl2EU,95451\nbabel/locale-data/lld_IT.dat,sha256=rHSiZg_-Ba6si2LONUCmQ841RxcX2p7V1jDSuwNNBg4,654\nbabel/locale-data/lmo.dat,sha256=GYoR98Ap5hosG9bfENEA3sCkR-msF_KvxV2nLydjs9s,1659\nbabel/locale-data/lmo_IT.dat,sha256=Xg4Qvye_hPNJLCTwoBuRMAvhtjQb8VlD9SaH_5hVG9s,654\nbabel/locale-data/ln.dat,sha256=OHqUbo7M-600CtpOUNqq3B-Tt0_L3c2GgyR2xZhuMmE,23909\nbabel/locale-data/ln_AO.dat,sha256=VNcFViSaGw3f92D60Uk7vxQ8i6Q9H1FD6paDpJh-r4M,636\nbabel/locale-data/ln_CD.dat,sha256=Ao_lUWuswJgGHhVJYs2_Z8LyN4iqgYsAda8f9UarT6s,616\nbabel/locale-data/ln_CF.dat,sha256=g5Jy7ovUkwcn0W5Ov5bu5SBc2iM4SWwUFwtzWzAAb34,616\nbabel/locale-data/ln_CG.dat,sha256=jQld0yw63ufWbhlOt81wjf731zZluc2zWc1A65kBlAM,616\nbabel/locale-data/lo.dat,sha256=hXtgT4nkqb8h669TsazfIFBsK23QNpcCZbqvb6SXWBo,189363\nbabel/locale-data/lo_LA.dat,sha256=gNa7KRGYWI0h0PcHJ35bwnPskILOH-1jLjHCXP85jaU,635\nbabel/locale-data/lrc.dat,sha256=GbK-bWw4TlGvGRyM4WxDujkUr7Gdz9k2A__fSelwEdk,13594\nbabel/locale-data/lrc_IQ.dat,sha256=cy9DO9oAKI51NMitAb2MTbZoxtaAPzaYVGV0-xd0mGA,1255\nbabel/locale-data/lrc_IR.dat,sha256=-ca4EmTX5VAi_5tDfimpevJFb-g8vAjgpe_jkDTDZWQ,679\nbabel/locale-data/lt.dat,sha256=1h5TjFvNSuqrE3JntTmnLN9wW69jfkVakAIICcmoVbc,262613\nbabel/locale-data/lt_LT.dat,sha256=j8dIQrFc0s77xJ4P-UGiDcaNqZW6CXOEiOh30FemNiY,653\nbabel/locale-data/ltg.dat,sha256=qRaChoBWcmkL8As9MgCysSh58BP_F3US65EaA97ZgZQ,2632\nbabel/locale-data/ltg_LV.dat,sha256=Gm8suGbSLaNGzzWPjuEKVdEqJH18ABue4htegryH3bw,636\nbabel/locale-data/lu.dat,sha256=4TGAGkYbDHz6QAKQHHXoRkl0Wx-0LOiMkTjDgwJq0TU,15331\nbabel/locale-data/lu_CD.dat,sha256=K3k0wMpIbjusgPC2W1q2sxyxynx2M78zOLjt4ikcoZA,616\nbabel/locale-data/luo.dat,sha256=xJNSb25OVQogO42d-Jy2fR1FzeSfW9Swwt9Wat4EmsA,15201\nbabel/locale-data/luo_KE.dat,sha256=jVUd3oO_U7IP6KmvSkVHYNmlCc8_-m2mpJMBaqArSFI,636\nbabel/locale-data/luy.dat,sha256=pcTbaSctQyVgVVh4nXoXxMQGZa3Ip7hsfRN096zwEsY,15030\nbabel/locale-data/luy_KE.dat,sha256=NVkQAtmDBXUws3KybnM706J3lwUc5fJo-YEjKd1zhiw,636\nbabel/locale-data/lv.dat,sha256=s10obHsTYkBF99rADGvkxupv--JkRPQS2aM6sWvbM4A,201861\nbabel/locale-data/lv_LV.dat,sha256=oS9W0pdiTNtMTeGOsef2K7Va2O6k-dQEtN02qCaAoFw,635\nbabel/locale-data/mai.dat,sha256=Foj4spiHhuOjBZqaXQxZNCWwdCoslwB7KSX6nXQReu8,95488\nbabel/locale-data/mai_IN.dat,sha256=DoclpHa5nlHcAflg286ycOjQ6trZP8uHThzcp37Y91E,659\nbabel/locale-data/mas.dat,sha256=xxugbgGc3JxvM2GzV1vmKy1buszviy7NtSH-y6GdMZ4,16595\nbabel/locale-data/mas_KE.dat,sha256=zH3Le4j03YNsPjt_-GL5RvPG0znnJKQ3ifbLhMZsoYQ,636\nbabel/locale-data/mas_TZ.dat,sha256=VyRJlBqV_fukTqSR9Jxr-PujSA7u-MP9aXrJBVJCKiA,638\nbabel/locale-data/mdf.dat,sha256=NQH9Yo77oyvxZj_93XIf0e00JDAoI2ydlCSS3klNgwk,2240\nbabel/locale-data/mdf_RU.dat,sha256=sVnTxgzU2rEwl7P4d5UY6XOKv1XUCbtkEQO0cu2OlOk,654\nbabel/locale-data/mer.dat,sha256=WFl2qQThWrilUbBaN4UJQb97ZrV3uOB4ZTO9kXsjtnQ,15426\nbabel/locale-data/mer_KE.dat,sha256=WqDQTsO6BtbROdcj3p3omUZk8XB6HiJrIlCCj_wLPxo,636\nbabel/locale-data/mfe.dat,sha256=n5lJPfd4pjC3xmVm123ivVpjg-WAkLQq9YONw1JlpTs,14835\nbabel/locale-data/mfe_MU.dat,sha256=MHUOKiQPHuUbhT6hQXJEkpGDvTUyMV4btJTuiLhJQ4k,617\nbabel/locale-data/mg.dat,sha256=9PbZhJ2v9RP2XSzwv7bBPTGlSNYJrUUISNkTwdF1Z7g,18776\nbabel/locale-data/mg_MG.dat,sha256=uJbGeEzIn4Rh5Bh4hyV-Hs0_qez9KBeOi4hvfC3zkIw,616\nbabel/locale-data/mgh.dat,sha256=ezIhzOd-qzUBRud5ZPjbtBBc_mON2HuKGu_okOahCbk,9753\nbabel/locale-data/mgh_MZ.dat,sha256=aFZZ41qtARE6CeecCEx99tzW_fp-XfkAc10wpQ5YeGM,636\nbabel/locale-data/mgo.dat,sha256=xyRaEmGV6Fw9nVfReQJY7KfgGwdnvQzScLiH0appsLU,3549\nbabel/locale-data/mgo_CM.dat,sha256=Nsp33t4abZsKdDmIgB8tb08OsEh-7JXMY_JKCsd61zY,636\nbabel/locale-data/mhn.dat,sha256=RpSxxevhvYxyX0dq1RAhIqoREyyPwKjsByXvOhQkAMc,693\nbabel/locale-data/mhn_IT.dat,sha256=3UoH_l7yItN5qXKPaq6bWK_CvK_wD68zkxzLrCwxr9A,654\nbabel/locale-data/mi.dat,sha256=ZlyyKSUJCtl7z94uIwEFuC6uBGWXOTM8F1TJLiJeSmw,85086\nbabel/locale-data/mi_NZ.dat,sha256=RElP_P4F1HDHjSHsdt54vriFcz0TcIeT26pm-_dy-Mk,635\nbabel/locale-data/mic.dat,sha256=Sp71dA3ZhTiiPTfk3b0Mm6y6CM0J-mGR0av-psrUGtI,1638\nbabel/locale-data/mic_CA.dat,sha256=uZoBvRFux6M40HcGau7E6V0Pyxh45Bxi0SFngOxLWRQ,636\nbabel/locale-data/mk.dat,sha256=xVJU-aubw2FQ_THzBUGd5LHR5IU1VjGkPOeRHpU-T98,216606\nbabel/locale-data/mk_MK.dat,sha256=qlI1ZtLgyX2fcYS9pnTa8illdSnPmfNXORjws-H93lc,635\nbabel/locale-data/ml.dat,sha256=tR0lt2uQuzmsBgXWIuRpz-AzD00S_OrvLc-QkiYAX-U,246736\nbabel/locale-data/ml_IN.dat,sha256=VwCnSFs3oh7xo4-nS1HzWj_xICDzG6E-AW0Oxi6Lu08,658\nbabel/locale-data/mn.dat,sha256=O3oSpnDd3Pt-dRrwdg1v245S6Iym3SBnZZ3gqOhQW5A,183647\nbabel/locale-data/mn_MN.dat,sha256=qhJGIDXSglsa3BYCalsusoyiKgOj7PJ90Yi4ET2-nxc,635\nbabel/locale-data/mn_Mong.dat,sha256=zqCuL28Sx1DS8LGqtC2nyTCoEpSFpF0vE3wvBxpHK1o,1726\nbabel/locale-data/mn_Mong_CN.dat,sha256=WTF89EShdtBd0Vz62erFwl9KTG-GgEyzjjmKWuJCFH0,635\nbabel/locale-data/mn_Mong_MN.dat,sha256=BTah7qfU9QayUb7evUKdF9c4Ptf4NqqO6SUeUql2Bak,12935\nbabel/locale-data/mni.dat,sha256=aS_XIOmHRptFT_dTFuxgTvB2cEPKHJVVM_vtURTFo7A,12972\nbabel/locale-data/mni_Beng.dat,sha256=7PTKZT_UE3WNiipyGHnn2SDNFNhAcqHhEJ8T0Y3O7gI,693\nbabel/locale-data/mni_Beng_IN.dat,sha256=nAW_LfRtJqC6-ehdC8yyszjhibXqMAXPkuaz8POQav8,659\nbabel/locale-data/mni_Mtei.dat,sha256=zdzwNyaRIil7lkjEf6ProQX0nwYlc5VF4r4gHNTUVTY,1720\nbabel/locale-data/mni_Mtei_IN.dat,sha256=nAW_LfRtJqC6-ehdC8yyszjhibXqMAXPkuaz8POQav8,659\nbabel/locale-data/moh.dat,sha256=FuywEiFRXQe1GUv9zPR15KOsZLr1TykmuglinLINTqE,1316\nbabel/locale-data/moh_CA.dat,sha256=AXdrS_As8DrrTGs5IHmQwXoEXndFuoWoTGXPXcL4Pk4,636\nbabel/locale-data/mr.dat,sha256=UG0FkufUtQ7qvzcK_WENRq6SgPy4zAcviYDQL-NrGY8,234157\nbabel/locale-data/mr_IN.dat,sha256=HOu9QR1BLbciqF6BeTfWvD0L5Igwv5HrCWu9y_vNns0,658\nbabel/locale-data/ms.dat,sha256=l_YQob4w4jdu0U-Z-eMYK2bPAyU0Xeekar0olT5G21s,114970\nbabel/locale-data/ms_Arab.dat,sha256=9zretwvdo_9N3SIxLKsUtDVNZlmh0OhrPDxmtWqw22U,14359\nbabel/locale-data/ms_Arab_BN.dat,sha256=vTEKSh0hjyiWJhf503-fwjADvTCN0AqRSzF6muL52JE,1335\nbabel/locale-data/ms_Arab_MY.dat,sha256=w6ZZrz3qEmnsLsWtJA8rTohqF1cxctkzSj4WN0XHuHE,635\nbabel/locale-data/ms_BN.dat,sha256=vTEKSh0hjyiWJhf503-fwjADvTCN0AqRSzF6muL52JE,1335\nbabel/locale-data/ms_ID.dat,sha256=ZPgnDJgiycDHGZnN3Eg7OgZp1jIYtiZzMqm9f3LOtR8,3440\nbabel/locale-data/ms_MY.dat,sha256=w6ZZrz3qEmnsLsWtJA8rTohqF1cxctkzSj4WN0XHuHE,635\nbabel/locale-data/ms_SG.dat,sha256=jsfNag5WQWdejzh5hayA7_-IbY03MUVPAPDHUJyCZRg,654\nbabel/locale-data/mt.dat,sha256=Xx_-as8jJEXOBAgfFX7vE6-2Qex4FWJ5rYW3DlCbu0A,49384\nbabel/locale-data/mt_MT.dat,sha256=L5q5LizZQL0-FLj2U-wn2YhkpL3p7ZvjdyAvH1wwUG0,635\nbabel/locale-data/mua.dat,sha256=N4zi8XyQdW_TmszNHQyn4zmia-MpCNWx_Vudoaj075Q,15861\nbabel/locale-data/mua_CM.dat,sha256=Ib4K67KfndwGsoZDH0ehHA-F7V_SUj7q9VsK2juzaIQ,636\nbabel/locale-data/mus.dat,sha256=zPqFwR9oCIJ0mA6evYwT75cWt_QBF-0eDZx1n6fmsDY,2722\nbabel/locale-data/mus_US.dat,sha256=xcd4KKUIqBwSefSC0GGSDkvXL46eDWgWolJsGuSf654,654\nbabel/locale-data/my.dat,sha256=9crk_2tyVPKBH_YWC_D0h8o1nbHH9k34e414JywM_6E,183534\nbabel/locale-data/my_MM.dat,sha256=l53-D5YL-BbmLZYveFV2ISa4NcrSwTfKsRRc41Jd42U,635\nbabel/locale-data/myv.dat,sha256=78-9U5eDf3V2q3Mj0MazIxh1n8sjyVjQ1O0Oyt5875M,16828\nbabel/locale-data/myv_RU.dat,sha256=sncxwOpjfFkRASKHMP1ytKcjpF4w4GjU_JEVqXv84Tg,654\nbabel/locale-data/mzn.dat,sha256=8Y5VGlzCxKXzBP5iFsyflLZSS1x0_3T8sqbwivfU45s,46144\nbabel/locale-data/mzn_IR.dat,sha256=fjN1ek2fAzZyzFJpjX_MIc5oFOEqj7LS_SNdBOQS9ZY,679\nbabel/locale-data/naq.dat,sha256=N07nsBSSEuNZ4feWvo7b4YWwbgjBwlxG9653O-OlhmI,15797\nbabel/locale-data/naq_NA.dat,sha256=e5gAIOo7le-dVOAX_k2OW6gEyVfEUxcYDUJu_MBDY5M,617\nbabel/locale-data/nb.dat,sha256=-bGHDSonSEdqfb2PxNC1_3jOHELm3CwV7xzEtpmWZUE,1330\nbabel/locale-data/nb_NO.dat,sha256=J1UiN-AG900acMz4p0fBHtXDpS0HD6uGAi7gg9gOrsY,653\nbabel/locale-data/nb_SJ.dat,sha256=XcK9_nKriUY_4k09kmgJalGTls-e5-YS-MCPEKLP8vA,634\nbabel/locale-data/nd.dat,sha256=ITmP8mLDb63INBKlxe3yCZqRbvL83DrVBkIIAA_YjmA,15730\nbabel/locale-data/nd_ZW.dat,sha256=KpZHrPr_0Ru0t9ojSK9ZiqGZ6-rSpvA7cX9C483ocRk,635\nbabel/locale-data/nds.dat,sha256=q3dxEsEcdLTOigPQxhEXuaA4U03umMzIBNC4NkFvino,47839\nbabel/locale-data/nds_DE.dat,sha256=Qmh5DjX65W58jXXXX3pxfxS_HVTJVavMspBPdph9sfc,654\nbabel/locale-data/nds_NL.dat,sha256=E_EO3ylaBjJNThr211Yzefh5DRbkEFFVpbBMXIQ4U1U,654\nbabel/locale-data/ne.dat,sha256=5Ob8IUrudfJp6yCzhHkmYC2mkVY1sd10I79pSXzups0,210152\nbabel/locale-data/ne_IN.dat,sha256=SFloADZtyb42wygQmrMy7yx-aADGQECZJUey796oqnw,1292\nbabel/locale-data/ne_NP.dat,sha256=LGc7Z5TRi0HRNQdY4bqPitV73gzTPWLd_g-6aPyvryc,635\nbabel/locale-data/nl.dat,sha256=zO55PQW5wWMzjRmUGEi5l4H1D1rC90NQt262jbRIyzY,150031\nbabel/locale-data/nl_AW.dat,sha256=HYycPPe5HDhuP_zN89ysXR2AqjIbx_-XB2n0-TUPhxw,638\nbabel/locale-data/nl_BE.dat,sha256=xHmyTOK9-rwPAH6fYdlPFZv-xinmTFNRN-LIGxb59HE,1876\nbabel/locale-data/nl_BQ.dat,sha256=lZQzrmWsFTpiWwT9l6FakrNoll3QNP3drIMcxFkAy6Y,635\nbabel/locale-data/nl_CW.dat,sha256=doEeLSsQVaSocP4jr5LxNrT5luSiG4hkgsMvoYjJBtY,638\nbabel/locale-data/nl_NL.dat,sha256=bGo4nyjhqe1VtDHlP5EUmNkBKsViUSiH3h_ikXcPuRo,653\nbabel/locale-data/nl_SR.dat,sha256=d-YXA5QA5b2Bh-WhxNTkyKQ4ROhuEg1CeGN5XmzWcZM,696\nbabel/locale-data/nl_SX.dat,sha256=ciTQIntv0njAJGIUENzo6stN8yarfh-eBpmEzxmpJbs,638\nbabel/locale-data/nmg.dat,sha256=NEWUb0RI43oeWByH9l1FvrLDvVQY6501jviEYmM_CCs,15468\nbabel/locale-data/nmg_CM.dat,sha256=0A-cVUgt1l1ITnPRdcgWiQ68ZGqHDYd-k2wSc_nXnMQ,636\nbabel/locale-data/nn.dat,sha256=E-Y0lC-8QKCXdc8CC_ZPN3bstsXsM3MD4Lu62XMMq3U,64042\nbabel/locale-data/nn_NO.dat,sha256=98eWK3CBq5T_dI4a6dQH2TktRygMH0EnpO1EO7w8lVY,653\nbabel/locale-data/nnh.dat,sha256=cWTTqJEXln6pUYON7H4PRrYr_uRWktSzcLGCC8jnTno,3530\nbabel/locale-data/nnh_CM.dat,sha256=dt9ZNHX5ZQo-kcyT4-mVRCUiuzL-H2A9e0s0JrHwZts,636\nbabel/locale-data/no.dat,sha256=xxkSV9bwDKWKK6dmGIaZGo4snfkON9eJUp3-uvlEC1w,191212\nbabel/locale-data/nqo.dat,sha256=VQzcAnkUnAETAL8xosXBsQltlC4yqpSZNMkwtsWPRgI,109412\nbabel/locale-data/nqo_GN.dat,sha256=3eOSTBaZM0RNLUDZFr__KTR_9iZoGUFq9M6bhtmHjcU,617\nbabel/locale-data/nr.dat,sha256=ZHIIC8BaR5XBmnULOTfmAYzXmqImq5QmELqbFPKKQJo,2167\nbabel/locale-data/nr_ZA.dat,sha256=e4_czqcyMye0qthJd2hzn_9inTS8WjjbFOzRJ3wAS24,635\nbabel/locale-data/nso.dat,sha256=dsq0mvwg5QK35al0bVwZGUL961EuGS05vlFR5qb4HwM,6470\nbabel/locale-data/nso_ZA.dat,sha256=TdOqVTzKNigLD6zOPR7W7QHT-Aw40ylsUE7bmMwgaKY,636\nbabel/locale-data/nus.dat,sha256=4G1Wwsq1yWIew4nA-QBo2j8LmbqBTRZ0gCU0LYLUSUk,8215\nbabel/locale-data/nus_SS.dat,sha256=Is_mWvnSS7j05Vk9RHcCfyLOdhOeOWRqgXDf8FGNEJQ,617\nbabel/locale-data/nv.dat,sha256=7CBom-BDX6Wk2o878hmZ8DBY8QAS8Z99ExdmdVpq-vQ,721\nbabel/locale-data/nv_US.dat,sha256=ak7j2GDaOMbAAmXQhfC9PRM8E9h_hJZL3UDqxqjCtoI,653\nbabel/locale-data/ny.dat,sha256=XXvyFcRnNcH9KcAH1K7jzS5xLFsXMlXVW3yowhXPIO0,2152\nbabel/locale-data/ny_MW.dat,sha256=kyhkcpqgIwSrUcfxve2OS2P9S1AfXItRHmy94K7cQ48,616\nbabel/locale-data/nyn.dat,sha256=nVlbaYbL0QCkpVvX2rYYUFRsuI8BOjcReljkcamobSY,15668\nbabel/locale-data/nyn_UG.dat,sha256=fEm-RMI6-PvIjbMUoZK68dTaiAmOqH1iDQBn23a6r2w,640\nbabel/locale-data/oc.dat,sha256=0GZZe142JNEQ78GP7q1Sq7ZolzkVuvuK-QDCpLu4Z6Y,66841\nbabel/locale-data/oc_ES.dat,sha256=H-3UJZkJCacW_BELiE_wXsXSVHp-dfxv59o3Hed8uho,33273\nbabel/locale-data/oc_FR.dat,sha256=L80Ivl6dUpQJF4fAY1xaAeCRO9BkN0l6oCr8nRwogsM,653\nbabel/locale-data/om.dat,sha256=wbIQO2bCc4PnuCB14zg9Gw9XW3mlv8D_D0C39SMnAnw,67446\nbabel/locale-data/om_ET.dat,sha256=v0wHN7iwcuJN-iFgWFPrGdplH6P-0c8B2OEqYOEeb40,635\nbabel/locale-data/om_KE.dat,sha256=DZ-2HywpH9NGEronFox-2AprzyoSg0xJAS62LNqZxcQ,1365\nbabel/locale-data/or.dat,sha256=bdzcLCC-BRprtZBlm8pvQhvGKe2zTqjQM1JPQZrGapM,226771\nbabel/locale-data/or_IN.dat,sha256=ur6a2cCdapMoKd-6KLXR2xAF2YU8xaueeW7UTPL2yLU,658\nbabel/locale-data/os.dat,sha256=2ARxbjnZ_WYF6VQTsvXN4epcXlWpkXaVEhUNOJpAv8Q,14821\nbabel/locale-data/os_GE.dat,sha256=8NgIdMuGlNow1dXmjW6y4xOis1_3raiXcj_jLBPirpI,635\nbabel/locale-data/os_RU.dat,sha256=76MsfCZxiy_RXfhW7Do3Z8q4-jhp1hOXTBIsA6SlA-Q,695\nbabel/locale-data/osa.dat,sha256=Ob-cu1978hig_-zOnB-PJW1_496aZ_yT6S7VTFkHoEY,4538\nbabel/locale-data/osa_US.dat,sha256=qFfjNw8tVOdprzqK2wBlGH4eNMxDxDQqDDReucJZR-E,654\nbabel/locale-data/pa.dat,sha256=pMTu_1agUQqVCaM7VB5fe9wM45MEsfVkDyzkKp6UlUE,202684\nbabel/locale-data/pa_Arab.dat,sha256=VBfuWzoA5UdGbWTTG3cPAYL0ApWSup5U9LWBBh4bGUE,3789\nbabel/locale-data/pa_Arab_PK.dat,sha256=1Si67Mz8DZfo2D8Ld0b5IlZpvnSMgg4W8_zZLrHrWQ0,635\nbabel/locale-data/pa_Guru.dat,sha256=fs7wqdmuGaKQCCwGkT3lRQSKmf1dxG3jyLboZeVtPmE,1276\nbabel/locale-data/pa_Guru_IN.dat,sha256=kpz873B1I65nfS3Z5vDLmmGliFVPlPM58sB6jW9nkBY,658\nbabel/locale-data/pap.dat,sha256=EzSKg0e-PaX4UNpqi0JTYSjLYwqljGKI-uJLjR1uWhQ,28121\nbabel/locale-data/pap_AW.dat,sha256=XZSGzQPijHNf5GjxUjDJQt88iD0ETRdZSTF8gn-1U4M,617\nbabel/locale-data/pap_CW.dat,sha256=Mu-gCfh3bv9pzz9RrylMffuphhqgiRaODEZm6TtCpaI,617\nbabel/locale-data/pcm.dat,sha256=BPyAoOzA7PpWZ4G9w2NMBzu1JqtXwnZbeCSrLk7j-Qs,161833\nbabel/locale-data/pcm_NG.dat,sha256=3gBp38NIuVEbHlKAtQPQXJjT3DKvy7zvUqMAZS6pGzk,617\nbabel/locale-data/pis.dat,sha256=aCXK39YyoYqy97wCU2idxYXLL9cC7myCIiJZeKgq-po,1510\nbabel/locale-data/pis_SB.dat,sha256=-CDkXv_877c__o56bBeYHAAq2X9CcnKdI65DiE61_M0,617\nbabel/locale-data/pl.dat,sha256=zWkc9nD_Ipzoj-nuymRuCLdWD3dG_wQicGQE5NpjSLU,227506\nbabel/locale-data/pl_PL.dat,sha256=3s2XpVyaKha_K9MesXKD6sZNGSn1PVRtuz9XYp1xrsg,653\nbabel/locale-data/prg.dat,sha256=vsad78h5dkCtaL_Gc-AGmXy3cc6Od1j4WCPGBdX6Tt0,17267\nbabel/locale-data/prg_PL.dat,sha256=5jT2Yeek_e_MpGShmy2v-0WWhzQkQ0WsJQlUYfIOcfU,654\nbabel/locale-data/ps.dat,sha256=2Yvun7eRlWEkh6Om_QxdW3Hq3AwyYqoM8n0418VjcbU,158607\nbabel/locale-data/ps_AF.dat,sha256=sNE6bgx_nV0VWKa8InelUaFYSa3Fpx6byJw0KT4B1o4,678\nbabel/locale-data/ps_PK.dat,sha256=ZtzTnH2thc6-J5PbuMOq3lPu57kbqDFxO53s7BSdVSQ,7119\nbabel/locale-data/pt.dat,sha256=6Db_e_tQGLJop802pMj8aeNGcuKxa9iKTCZYBNM4crs,183448\nbabel/locale-data/pt_AO.dat,sha256=49hMN9AJBDNjcsQw-nl-jY_VKHanO0PGfvd--OxqOxI,1022\nbabel/locale-data/pt_BR.dat,sha256=dVKYp9IwRMbjZ_ee-eXFPudSuTRrROvbFzY3dYTYmn0,635\nbabel/locale-data/pt_CH.dat,sha256=zAvD0sYytEquwzY8ZRbVCcy7DS2ZzUXofl5qXOixZH4,653\nbabel/locale-data/pt_CV.dat,sha256=zOQn8d7--PKrhRUhQ5mPKW1Km6Tyh5JF8hstfxpITzM,1039\nbabel/locale-data/pt_GQ.dat,sha256=qI1hvtuSHOev12ips9o3Vy78NJpOMjhkW625M60lqZU,616\nbabel/locale-data/pt_GW.dat,sha256=SRxbFDIg9FwEjGjutRI9P1SeLiZBqStwSqPuHBFZwLQ,1002\nbabel/locale-data/pt_LU.dat,sha256=z9aq0BTWEnk4lXveNpmi89TKcXN_t6Ud4A_C97uyOuw,672\nbabel/locale-data/pt_MO.dat,sha256=shItJIIDrxwlcQhWLhlZG0uhyTlSBDcTag5ivxmb9TA,1635\nbabel/locale-data/pt_MZ.dat,sha256=UZ1nkXS9CpiCM1IpOG5XpGK2QqM5mE5lAgRLTGAWl-4,1042\nbabel/locale-data/pt_PT.dat,sha256=_H5DG5pOSZR_5gjjycrMBKaOJd_euwJln1pa3MPd1Mg,96277\nbabel/locale-data/pt_ST.dat,sha256=Cm2HUxlGtZaz8IXX5Ohms-HYuKgazuBcOZBz5rWOzEU,1022\nbabel/locale-data/pt_TL.dat,sha256=CIIDM_Zo0xiu4gXngxYtkYK6ldTNZMRaikSD_sAokMw,1002\nbabel/locale-data/qu.dat,sha256=UueUbNLnx5ZwsqJcvzKUTdK5_wKBOmR2haCj0zhd4RQ,93300\nbabel/locale-data/qu_BO.dat,sha256=7RUvNrmuLtwqP-qab667GocH_c4gIvpas3dbN1uaGxU,878\nbabel/locale-data/qu_EC.dat,sha256=_5V4RYoPb3eCAA7jOCNfB7WZqd9sWP1E0tlF8mGeqFc,837\nbabel/locale-data/qu_PE.dat,sha256=Vdd0fcK2dtFgyui3Q9NElHuJ841RI-T5l2UHeBq8MQ8,635\nbabel/locale-data/quc.dat,sha256=dIAxk2IuDZhWTj-NKC9PiHBZOnG9ARyANdJZUfoVlJw,775\nbabel/locale-data/quc_GT.dat,sha256=8M8KtmnsJiTCaf-Nl5X174Omtyc6a0ri07kysDC3-5Y,636\nbabel/locale-data/raj.dat,sha256=qkuyRruXTTQLDgijSA0Equfz19Aqg0p5Mg0heaGKT00,2428\nbabel/locale-data/raj_IN.dat,sha256=SS8GPzJu5j6nfXlDoX4NFPN2QScl4M0YNsrFmWklymM,659\nbabel/locale-data/rhg.dat,sha256=dHahMWjQ_tUshtlLauqf9b4Y36LNJFGrMBsVmjBzlqQ,4611\nbabel/locale-data/rhg_Rohg.dat,sha256=DAOuwC-7uaIuZtrIXvUkYt6YkxqaKpHOma1m0-XTtrI,693\nbabel/locale-data/rhg_Rohg_BD.dat,sha256=DcLSBtf_k_f6B102-vbhBOjfzNZjiTDvEUdIOQfVc8M,1212\nbabel/locale-data/rhg_Rohg_MM.dat,sha256=HspZzbytcZQ853Jstp-eFEdqSMAD3-shgjrdxY_KQrE,636\nbabel/locale-data/rif.dat,sha256=4KtUTy4D-OsLftEaIHU2fw1NUhx0pwJXXie51jI3X10,49902\nbabel/locale-data/rif_MA.dat,sha256=Qq7ZdymuPdjHeYDUDGCjMuQBRU7w5qGdgzzZ6wPfN2o,617\nbabel/locale-data/rm.dat,sha256=aQ4MmwhjJbBakV6-C-6yjDvN8jvVa8Mk0ovdYgVkR9k,95006\nbabel/locale-data/rm_CH.dat,sha256=JHAlYXMD9Vks43cU_gcSEQmqo6pogWPl_R4VMUK2iHI,653\nbabel/locale-data/rn.dat,sha256=LwQTzbFINNeIhU5qJsEnh-raxcCDXVMGA6ZL95aU9UE,16241\nbabel/locale-data/rn_BI.dat,sha256=r5Cweh7L4EAZK-qTmJuloWc33iXeR4IJUbknrl0XC3g,616\nbabel/locale-data/ro.dat,sha256=13UpR66j-nQg4kbgGH4ja6ygDq1k3CCErykEWeeG8yY,200714\nbabel/locale-data/ro_MD.dat,sha256=pUZY970zkBSBpVOIA3Ss-6vDJUF3ZCEWYNs4_LXcpAY,2881\nbabel/locale-data/ro_RO.dat,sha256=lLYIYWhDUmq1EZ9oV5SETauVa_5uNN5p52dW7XeemRk,635\nbabel/locale-data/rof.dat,sha256=Yafgax503CHjHvrc_njDTMVOOD2B36sRvWvDE99geMI,15473\nbabel/locale-data/rof_TZ.dat,sha256=I_qwGjqqrcwUR_3UNydHOm_EiiLZYyRV0q-s1qfSSi0,617\nbabel/locale-data/root.dat,sha256=vcYJrDi6WVier8432VEhdQ3ZZH8ptAXszNP747aIiq0,51983\nbabel/locale-data/ru.dat,sha256=8WD_7_Tz0ieaEjXNlFQy8xFSfCwsVf_CUcoHyFfqkgs,305832\nbabel/locale-data/ru_BY.dat,sha256=99UlyhoMWnfyhI5ltXGaJkycWLVfJ3FwdxyRm-yr6kM,676\nbabel/locale-data/ru_KG.dat,sha256=X-iAT1QuQGhk1mIetpGyWqDlwiBskLfwqrK6ant1XS8,659\nbabel/locale-data/ru_KZ.dat,sha256=P1_Gn3esOwDLL8sd8vVYbFA8J7QEsaDAWfZvDsn-WwA,656\nbabel/locale-data/ru_MD.dat,sha256=LU12oBwr7MfPTzfs8Dx7uUZVgHin8ybX_oPHrPIJTkw,654\nbabel/locale-data/ru_RU.dat,sha256=IVG440mXjphW6iCsKysZCW1Gem_z5_O0lZI6-R3oG_E,653\nbabel/locale-data/ru_UA.dat,sha256=WYPDEOUjHl7mtejs302KAURq_ckDn6CFjH-IwmiFF6g,1210\nbabel/locale-data/rw.dat,sha256=1KiBkw5N7hioc-ESs0oqgdyOaVdOlsNp1iIz7g3k83E,8418\nbabel/locale-data/rw_RW.dat,sha256=tw-gtzH64PeIAmNGeobgUypw7RAyKITeFAcQPGY0MG8,616\nbabel/locale-data/rwk.dat,sha256=hCqo5glP1WqFJrEGyW6r3t43NZ7bVHAOGFGDkUzeM3Y,15369\nbabel/locale-data/rwk_TZ.dat,sha256=s9duai8NRoHwn8YpQrlMd3VDf6jtQxxcUmu9CIIMzC0,617\nbabel/locale-data/sa.dat,sha256=8r4iZXIQ3vnGxlSmOtDhwM-T_iaYN4SXuTSdGh-2JMg,15978\nbabel/locale-data/sa_IN.dat,sha256=ABNamoPpYRbO7bK6BGm0tK92kd7su7_OP7Di0wW0zZo,658\nbabel/locale-data/sah.dat,sha256=Qlb3HEv5JslfLAkUjLJz_XdRdyLhloQ9uf9q2b_O6jM,39310\nbabel/locale-data/sah_RU.dat,sha256=jHlseiwMbtN-IsETeG2dsaIn6OB2kqtAogazMnn0f60,654\nbabel/locale-data/saq.dat,sha256=grj85np3tZzXQmLdtYQcu76ynQv5Jq__KIyaDECFIj0,15787\nbabel/locale-data/saq_KE.dat,sha256=kN94cJJt8AT0yBRDqUPGoJtMZdOb2e-83NNsq8hmQ64,636\nbabel/locale-data/sat.dat,sha256=K_IKB3mSsOkYuYDtbGW3lbGjVk4ctB56WWkJJvE0-mI,66131\nbabel/locale-data/sat_Deva.dat,sha256=0EHZ6UcxsVOfi399xQbOkzaH1OU4jkZ10uqmmWnK8VI,1943\nbabel/locale-data/sat_Deva_IN.dat,sha256=Bzh9Vmzia_8KLAryt9VqCl9ter9tKxng4b8oFYbYK6I,659\nbabel/locale-data/sat_Olck.dat,sha256=mszOmf6B29mFbE6qN6Moy6SfBjwsjaCsbk75dJR245Q,905\nbabel/locale-data/sat_Olck_IN.dat,sha256=Bzh9Vmzia_8KLAryt9VqCl9ter9tKxng4b8oFYbYK6I,659\nbabel/locale-data/sbp.dat,sha256=1qHxon8_TpGGnLHUBzy5cR1mCEnZmw1EuYz3QLgnT-c,15609\nbabel/locale-data/sbp_TZ.dat,sha256=chWs0tZniO53SbtBquTHGS6E4v36tgYL2b3enxHcdCU,617\nbabel/locale-data/sc.dat,sha256=ItaljMMLxOEM4DEG_yDNVk8H4AmQrq1xCnDE8AfRDDs,189970\nbabel/locale-data/sc_IT.dat,sha256=0G0vL9YXZQLkTmnzJuuygM5ty2Tw5liDg_aWHLvg32k,653\nbabel/locale-data/scn.dat,sha256=UKMqekdt_t_Qe_ebhg3eaRsTs37ECpWLEiWSCFjMTLI,70373\nbabel/locale-data/scn_IT.dat,sha256=dTXZIHDRhbFDCw02T0wL1iaJ2kfY1ZUzfbvUs4_WKLs,654\nbabel/locale-data/sd.dat,sha256=VDMIluqNpBChcALvjd2lGll6sRK6srAF7p2CogEgXlE,154300\nbabel/locale-data/sd_Arab.dat,sha256=jgkaYGUhPXll1T7CT68ridccZaERHeZdwUzGoAZBUps,879\nbabel/locale-data/sd_Arab_PK.dat,sha256=c3AXdatnrTNDHW_SOh8fNNye4CVey81FnkSXwj7MmcI,635\nbabel/locale-data/sd_Deva.dat,sha256=ZZathBrGJyoqspPsHF769J84zQq1y62vN8RAjGj_Cms,13957\nbabel/locale-data/sd_Deva_IN.dat,sha256=0KQFEKHV6hHidc5hxrxQEvhO-YyvFf5P5z6t9hPenH4,658\nbabel/locale-data/sdh.dat,sha256=5cD8u88qanpCtA8kPvHH9AdAi2-HbhznORqis1PYx6M,1032\nbabel/locale-data/sdh_IQ.dat,sha256=B_vUMOiGWVcD1HaR4Zk8XxVzcmMFSISe2vRscyA1lYY,679\nbabel/locale-data/sdh_IR.dat,sha256=hwMmQnne41X_lyjbyNbQq34Lpkl91bAgoavPZRuozwU,679\nbabel/locale-data/se.dat,sha256=JnN5s3b1OrcP7qmurb8Rb9NKc-ICOr_RmdFs2EBKoRA,54830\nbabel/locale-data/se_FI.dat,sha256=9_VJ0wzYFPto0YF2Ge0qieFV9_DOVqqYnPjlC5wnAr8,44207\nbabel/locale-data/se_NO.dat,sha256=nm5u2VQ3ne0SUFZtFqwsRa8Gg97Xn1OSxjoP2I-i_PU,653\nbabel/locale-data/se_SE.dat,sha256=6M9OxtmQAY_p9fZ_6L8zqo6i--bo_X00cvhTDEbX_UU,694\nbabel/locale-data/seh.dat,sha256=viFuK-Mg4wPnvTcrvL-iEzNqFc7Ri_VP_r9pC673SNE,15433\nbabel/locale-data/seh_MZ.dat,sha256=Sv94DueqrM3R5RjhCdwrKZsnNdL1WpjLBg6QhBnoaX0,636\nbabel/locale-data/ses.dat,sha256=aRW4cH7nGNS5S3B3ff7o02GqcIqn1mVbBRGg3NdxXUc,15812\nbabel/locale-data/ses_ML.dat,sha256=y14qGwP_r6VxzJhklYIWfYkolu0OHB-6nJ4tvF7J-iU,617\nbabel/locale-data/sg.dat,sha256=ERl6d_xd8JRnkG_D857gWi2xONyI-cEmzt-Un_hXbu4,16476\nbabel/locale-data/sg_CF.dat,sha256=QCNYqo_5l2Sv9JUFEWF6YLDR3MknhgkyMz1mO5j2Gv8,616\nbabel/locale-data/shi.dat,sha256=fuYtv_xjgmJ0-aAQiuWcJXZY3mpeq__hz4lnouEUyWE,21830\nbabel/locale-data/shi_Latn.dat,sha256=aQrfwwcvkgPaWFSev9-3WgwQXhhXj1_5myuR-QifnPo,15435\nbabel/locale-data/shi_Latn_MA.dat,sha256=X8cwkkvm2LjcClQWzHRxxmiA8P0c37D7P8lf6RO4iNQ,617\nbabel/locale-data/shi_Tfng.dat,sha256=VjsR4oSiK9oFfdIdpaVDwNSIBvFbQ3Jvm63K24bRqk0,974\nbabel/locale-data/shi_Tfng_MA.dat,sha256=X8cwkkvm2LjcClQWzHRxxmiA8P0c37D7P8lf6RO4iNQ,617\nbabel/locale-data/shn.dat,sha256=awBFmgdlHbpKsnUqWZaGAQ-YbTPm9UWkJKMn9IdJ7pM,890\nbabel/locale-data/shn_MM.dat,sha256=7VauV3cmVfAJz7kA76hsF3FdwM75CVjvHdjx6lCoH4M,636\nbabel/locale-data/shn_TH.dat,sha256=QHPmr3V4GzTbb6QA5SDl2EsVzQBjpbaDP6OHfJZ0S0Y,636\nbabel/locale-data/si.dat,sha256=iuq-0rbecyzhX0pRX5UYdgKKzrn09pkLucKursW_Z94,216775\nbabel/locale-data/si_LK.dat,sha256=cWCgV9WmnEwIIsBmhsIVzSzbrV8hkkXaV1xH1ultlUw,635\nbabel/locale-data/sid.dat,sha256=zyKwuzw51B0E8sWg60qJ3kO4rzqTtcNBRnH5D3Zm1mU,2176\nbabel/locale-data/sid_ET.dat,sha256=vtwy9BuaZwb5A3XdIl-3mws1cEAVk4s8oKy7i-GnM9o,636\nbabel/locale-data/sk.dat,sha256=u_TnuG4-zvLxkxQupdNvPS-TYi28xeiPxLit28hxwZM,218242\nbabel/locale-data/sk_SK.dat,sha256=eMjPq18mQOAXvkJN5WV6lKEAPyt7-eleGme2pHHevgA,653\nbabel/locale-data/skr.dat,sha256=Mrx5bET3kh5Gzd8-2J9Rm4_b_wPZTDoHuhcxqdYj5hA,1702\nbabel/locale-data/skr_PK.dat,sha256=UJpLMmJJIM5jeI-tXWPBNX4Qd3WS2nTwp3bvJg5D3WY,636\nbabel/locale-data/sl.dat,sha256=eEJU8du-WwCkCviFmusUqH8H6sMl2PHG_khSumUB3co,210137\nbabel/locale-data/sl_SI.dat,sha256=3Hk2t-MUfAUtqu_Gy0_fTjOhwBUtxdnndQ7Kowg0qek,635\nbabel/locale-data/sma.dat,sha256=BaBVbhsEPN9V4JGtMt2TpMdf0oIrL8Maxt2FXDIEEss,944\nbabel/locale-data/sma_NO.dat,sha256=OeIJ-EJtvWH6z2dZ1Hv8QdmQC7M7r51t-_C6LD6ZyxE,654\nbabel/locale-data/sma_SE.dat,sha256=M_zYllAUd2UaWvccZ6ShB9-Gd8JYzIEln-88Q23syaU,654\nbabel/locale-data/smj.dat,sha256=eyHR5AZqbxxlTYhyxJfvTjpz_v6zfh3TrDtcDkCgTig,939\nbabel/locale-data/smj_NO.dat,sha256=5fz-YVJEoXswvC-RdFcJWmt-EMGcNXA3c9j_pfmxqCA,654\nbabel/locale-data/smj_SE.dat,sha256=7l73FEZcAemOwXSrfPB3X7a0cto3J4oM7AO9i9PMIBU,654\nbabel/locale-data/smn.dat,sha256=LGkyaifqt24L0NeExCtzhg8rKEKnkfJNEKtt67B-ViE,40399\nbabel/locale-data/smn_FI.dat,sha256=VRY3dbCyxEmDUTep9bQXDRldd5wSg4skqQpztnMXplk,654\nbabel/locale-data/sms.dat,sha256=ylATYbrfu8SVEVdQRbC7dTSOKCNSX7O1gjS2wJXA1tU,6521\nbabel/locale-data/sms_FI.dat,sha256=b-Mk20lC32xysqU5v6jGjDUYDZaMDvoMwWOZNdT5yuA,654\nbabel/locale-data/sn.dat,sha256=FNTHDspBYVPY7Nse1haEc19O0Sf3btsqNWQFs2Zzcgc,16732\nbabel/locale-data/sn_ZW.dat,sha256=8HnH2raHHl8PI25abODlThEhjIOGXJb_u7cyQd5YzZw,635\nbabel/locale-data/so.dat,sha256=sAFkgMg-qaZYhHT_lyoaggZ8UM_KX1xbS4miB3l5KN8,166227\nbabel/locale-data/so_DJ.dat,sha256=VWnaj_MuW4dJnlO84t60ySCvfJL7FXI4nIP9PTL5Amo,656\nbabel/locale-data/so_ET.dat,sha256=EvRRqU4yQPMYhkEK8a4MR808fwKHmW7EvPvEJdjltnE,655\nbabel/locale-data/so_KE.dat,sha256=OSiRggRZ7CTNmqiGOvW1W2Cw2RqjVESTVOdUfgVgWyU,1208\nbabel/locale-data/so_SO.dat,sha256=2IPbOqSxQGB5FukQ-B-MEme9FHYn22ClXmAV4x08pNE,616\nbabel/locale-data/sq.dat,sha256=8lTejyAm-94ixpS6Dly7NQSHNsamftqLIdO4OxPWqok,160229\nbabel/locale-data/sq_AL.dat,sha256=MN2RvkKGG2PXjCRsMHsvcnwnIOOp9tNSpcInh2uCWaI,635\nbabel/locale-data/sq_MK.dat,sha256=L_GaZJ9XuQMs0zw-xZlrefPF36SH0sJqMrdDDbwicZM,1208\nbabel/locale-data/sq_XK.dat,sha256=qILZGRwAhuIBJ9xi_T5WTrrZAVouFjQSvybrwgXTsog,1187\nbabel/locale-data/sr.dat,sha256=AAE3LN_CLRWzljEERIYedZepxLIDWzENkL4wmu8Ib6c,265725\nbabel/locale-data/sr_Cyrl.dat,sha256=Tbo90CyBAWciKeDesPhmXf7sdBQfjWsmyyrKBco_NzU,1990\nbabel/locale-data/sr_Cyrl_BA.dat,sha256=sKEcBX9G9OwCmIZEpTphQyW_LM4xoDGe90s_470_AJs,41992\nbabel/locale-data/sr_Cyrl_ME.dat,sha256=rDZOf-zykN151tfgGiO1SUJiClzQ6t40gF927bMLn1I,2320\nbabel/locale-data/sr_Cyrl_RS.dat,sha256=Tn9u1EvJAZZEIdgXloi326qjpq8b1N087nRQ9R1JbWE,635\nbabel/locale-data/sr_Cyrl_XK.dat,sha256=qVevTILYnuaIjRyPy4rDTavVg-VXxKcZ5fVdh5c-aHQ,1574\nbabel/locale-data/sr_Latn.dat,sha256=1joKXYRv5UiiT21s_Za6qE-VA8XpFi1HzYnVOjKpxb8,217950\nbabel/locale-data/sr_Latn_BA.dat,sha256=of4wpeCglVK_Td6HnHUjHRwuFtCVtWj3kHb3nl4B0D8,32834\nbabel/locale-data/sr_Latn_ME.dat,sha256=Mr0GNVLFIMZpBakd4dEUzJUlAN4nyX2BMAqydgtMzWo,2089\nbabel/locale-data/sr_Latn_RS.dat,sha256=Tn9u1EvJAZZEIdgXloi326qjpq8b1N087nRQ9R1JbWE,635\nbabel/locale-data/sr_Latn_XK.dat,sha256=wIz7XXQrRFYpzMpR_cgSWikPWI0ehSx5a0gRBgt3rFo,1486\nbabel/locale-data/ss.dat,sha256=UAB0p3UMDn8KfBY32a7HVWXWpHlPa26Nr_Woaah2c3U,2178\nbabel/locale-data/ss_SZ.dat,sha256=X-Va1uVrsPa1ZX5hwhQ-ME6Q_bovUb24XXFS8UQ87lQ,1208\nbabel/locale-data/ss_ZA.dat,sha256=xwT3vZ4tmKEvJpVwFMV9U2j2FLF1tC9PEDN6MC6Qbf4,635\nbabel/locale-data/ssy.dat,sha256=QyBWLhH_sreFEBHMQ7aiqBsrGvDeQHyYAKioqksa2iU,2999\nbabel/locale-data/ssy_ER.dat,sha256=9CRIaVxgOMeMTc0tcV0Yz9yZzq_uD3g3ylZzqVpYzsM,617\nbabel/locale-data/st.dat,sha256=b-jiK03L_9F4QqWW8qmRJ3UZntZDI9eMJglRho3MN7c,8016\nbabel/locale-data/st_LS.dat,sha256=pSzdNm6-O5V6-14VcgF2iGNYQPFYIXQlY3SqUW3GcjA,1227\nbabel/locale-data/st_ZA.dat,sha256=5tdUX7dxXEL2xiS_0IvHvqhKF-gWXFsi4supkP0RDAc,635\nbabel/locale-data/su.dat,sha256=G66EuouIQrCxgKGW9JzPfMZ94NAN87P6REyULyyrFGw,11817\nbabel/locale-data/su_Latn.dat,sha256=ievzq_m7eD5pZWLnVlH7oMIdeadf8GIMqEuVPJTBjyM,745\nbabel/locale-data/su_Latn_ID.dat,sha256=axNaukDpD_-G-_4R7P1u5w4dh-ToRPN_Yo-QpC1cFRU,635\nbabel/locale-data/sv.dat,sha256=RTvQ2li9cKHIEbVl7fI8ENVrmcCa1gERk3S9O2bHKmA,198967\nbabel/locale-data/sv_AX.dat,sha256=QFGzIe9UCr5gCpgHunvdPiZ-126vP7GYORL9jjip9-E,653\nbabel/locale-data/sv_FI.dat,sha256=Pn3EDh-VD0QJFWupEZ6w4TqAa-WC5GZ8oTA4oqLazvc,2526\nbabel/locale-data/sv_SE.dat,sha256=c9PG5p2y_4rnxepGD4uOzemBU3EOQhQNO4BtUS1m3rE,653\nbabel/locale-data/sw.dat,sha256=w0uX0MB-_bZQWOnbdyDVg1uRVe1j-K-egjRExoZpE8U,145419\nbabel/locale-data/sw_CD.dat,sha256=W7Fw8Wqwo3_x4hWlssmWbVTj4hhSQmRv8c-VSnQdlg8,2577\nbabel/locale-data/sw_KE.dat,sha256=YMNWSTJ8qxo0d1KvQwAN5ECRaZ9LGc0BDfX4enggVlc,47036\nbabel/locale-data/sw_TZ.dat,sha256=I1bDbpEDiR1jkCgJ_W9fWCPuPxMhjQmwG3sIueKb-Rk,616\nbabel/locale-data/sw_UG.dat,sha256=kuNdg2N_dLwUKFm7wSheL1wLOdyrukPxLfDw0PN7tT8,660\nbabel/locale-data/syr.dat,sha256=ehEqE2rAN5_5X-4zoWys-oUwiajRRhwkGx-yd-kL4Q4,111439\nbabel/locale-data/syr_IQ.dat,sha256=Mrw63eJwh0vRe3Lpj0vRf6Q4cUZXJcx9tlWkuAmMrss,679\nbabel/locale-data/syr_SY.dat,sha256=l0Yl2UMjm_7kuzvoG2-KqBp5XR88gdjf1ZlpRRNFMuc,679\nbabel/locale-data/szl.dat,sha256=8PpGSXa6ES6yxXD2YOBjG16b6BW9jDZo86RKB0MCNn8,88759\nbabel/locale-data/szl_PL.dat,sha256=1D5dKaG2l2Haxde8uraWI2J5lzw1dIWGeJtBesua-IM,654\nbabel/locale-data/ta.dat,sha256=RRIrxhZ9pdpGShIrQx7ZQBOPKWn15OGkeL8yQOy-tz8,277264\nbabel/locale-data/ta_IN.dat,sha256=BOFaDBw7fc7C6xSSFYNfkhCgCUd7ydHprJ6u0DaneSE,658\nbabel/locale-data/ta_LK.dat,sha256=Od6ln5oUnWfaAHwt_SDafWv844c7A7_7fTT2OPVTuyw,1208\nbabel/locale-data/ta_MY.dat,sha256=PEUmjhs_RUr1R5kH9uHExdnG59Hy8LmbU18vXZYYPtA,1325\nbabel/locale-data/ta_SG.dat,sha256=tbuefTSiXPMwpeV085Qp53l5uDHLsMMXmt8TPEG2fWY,1344\nbabel/locale-data/te.dat,sha256=oRTQlv5dIZYav2aQWijvc2wm0VwoR1TwWUPL_qhzkuU,261668\nbabel/locale-data/te_IN.dat,sha256=LICnXU-D0uhvxVpQ986Ul1JeAQktXaX53sXZSUY3L2g,658\nbabel/locale-data/teo.dat,sha256=jJ-266Aw_zTeJjwGj_VASqzm6Y3CcQYkVPXKuV_kzT8,16012\nbabel/locale-data/teo_KE.dat,sha256=S_lAg36VkA1w384kzPfXRLmJmGWfmz3ll7MzOQAtcr8,657\nbabel/locale-data/teo_UG.dat,sha256=0WlDglms5bCe1AMwCqroaXpOXu9jQroxllMwXWLb8q0,640\nbabel/locale-data/tg.dat,sha256=ErMv0Y4SGno9gTSJbhMVKZXiSe_KNSUFaoBeIDaP8tk,117163\nbabel/locale-data/tg_TJ.dat,sha256=TCrsEipGp0reAS2mAvwT58tyzBnYJfL5oNHWpEe1ttc,635\nbabel/locale-data/th.dat,sha256=lyG_l3_QzfpnjCv8LVaRTvpvfImkVrqcDoUKrnXlIR4,215576\nbabel/locale-data/th_TH.dat,sha256=_QhA0WcHmW6Cr_-gU9e6cdpzTMDT19WyHas58fWDUnc,635\nbabel/locale-data/ti.dat,sha256=K4kS476YQonyQifjLpS4UkE7hNa2k5aIDBJRIdh2eDg,214273\nbabel/locale-data/ti_ER.dat,sha256=m9w0P5TPQ8IqpWKldwdfnw5_1Upv09AjLdO5WUbcRic,962\nbabel/locale-data/ti_ET.dat,sha256=q0b9svPg8aj9xmbXr7F6fPHqeTJmclBl5t_hqQk7IuU,635\nbabel/locale-data/tig.dat,sha256=cgqxy3wiehP8yceqa5-mrJVT23IP_bjlkeUOEvxspUM,13481\nbabel/locale-data/tig_ER.dat,sha256=OoQ0U6yyzmjKwDtzLUpqR09h_ZaGvzXlp7t-HqNxmm4,617\nbabel/locale-data/tk.dat,sha256=z5i4kshTasDEolkNpqXnzlZh75EgbAhL0ylT0_0oioo,164932\nbabel/locale-data/tk_TM.dat,sha256=lADxEQoz-_ImDBmpCFUqDPuZ0ozVUhZKOQF2ZwyXVlw,635\nbabel/locale-data/tn.dat,sha256=LgoZgcUCS4t_RsyQQKiVsJ7Kbs7HoInZAMndRk6DUCM,8596\nbabel/locale-data/tn_BW.dat,sha256=jWMFP1tw-o7rslHAlAIgjEXflko8UCDNaSuQ8ccvNHI,654\nbabel/locale-data/tn_ZA.dat,sha256=S3dMOsYSpBwkUv0tW9q0kKawQQl6yx77LexAL5wQqDU,635\nbabel/locale-data/to.dat,sha256=CBr6gRgu0qo_-kIoOluPwu_ZdH4-SPPJHto_ERcDzHA,145255\nbabel/locale-data/to_TO.dat,sha256=jcfJ2Pjof8jGE4q1y5LHSP9rb4IanN58kR7OgG8d5Q0,616\nbabel/locale-data/tok.dat,sha256=kuSPgVhnv8Rr55G-epQDVyh8FfeKxJbd2J0hierJdUQ,8870\nbabel/locale-data/tok_001.dat,sha256=PPUMevT2TBOGFSq-U-AccYkLHSbkWnBRDvxtpokTCD4,693\nbabel/locale-data/tpi.dat,sha256=mqTAJweAOy1SAH2l4mJAKktX-ZeAdvTC8JnBPxXjB0A,4030\nbabel/locale-data/tpi_PG.dat,sha256=uZD_c8yCtiYwt2EO2VOYPzhSTqWMQBOJMCuMCXe3Css,617\nbabel/locale-data/tr.dat,sha256=ULbjOvmQqcT1Z2_8bBOe7LzwgBUg3LWM2MiLkmb8M6w,150824\nbabel/locale-data/tr_CY.dat,sha256=3EmCqxcPvFuZcHCzpTmHb6pjtPwqQvwCfn27B8rtXNw,1227\nbabel/locale-data/tr_TR.dat,sha256=7lS5CMZw76SVlMJxsmIJW5IfL7k9t8MrfKcnElqISSI,635\nbabel/locale-data/trv.dat,sha256=iEbFtCCE_U5rmjAv0Pe5J_UigixMKq1cPIThdZui1Lg,9404\nbabel/locale-data/trv_TW.dat,sha256=CTQtGdDW4Z0n2Ckb6B63HgEwNE44YTFnJCetwd8q9GU,636\nbabel/locale-data/trw.dat,sha256=1e1LGCtVq79RclEMJbgRE4ATdqflV_KDHxBwInSfAKc,110107\nbabel/locale-data/trw_PK.dat,sha256=pBHdOulrwRLiQuC96g8ilUzpKBeG6kglBqUXB8MlURA,636\nbabel/locale-data/ts.dat,sha256=p7EFPucK9HkTVXeNKTU00s-Oas5U_HCPGX9hqT15p9I,5522\nbabel/locale-data/ts_ZA.dat,sha256=AByEO55W3DVVOBIBxIp1F2QwY01-5v6v8sDFOGSxCF0,635\nbabel/locale-data/tt.dat,sha256=X-J0BKEHy01aoARwwb0SWDuNm1lZFrT0akKrzBZjHPM,111014\nbabel/locale-data/tt_RU.dat,sha256=cmv2MzolKOrsRoqQcFZGcXQj_33dLWGh9oUjnebCnz0,653\nbabel/locale-data/twq.dat,sha256=nOSN5UZAxcCgdTxQFh14Cyk5K38olCyAuT6MrVW5PeE,15509\nbabel/locale-data/twq_NE.dat,sha256=y8xQDxMtyStWC83tm_JiekFxAY0Fj-CWWdmic9GBwd4,617\nbabel/locale-data/tyv.dat,sha256=y90_CH7Yksd1Kuc6KhykhpkdGVLUgFDV-B4oSxGqn5E,693\nbabel/locale-data/tyv_RU.dat,sha256=vP_6cjMLB8I8YL7Nqrq4Gu_AWGFuANbZSdBc7ORn_IA,654\nbabel/locale-data/tzm.dat,sha256=wYFO2vX38bht1nAdcVA7dxKVMh-3yC5sItggFaXkKBo,15436\nbabel/locale-data/tzm_MA.dat,sha256=8eku_7voAqAjN651VYKCuIWvdYGOScCyqbt1rtSVO_g,617\nbabel/locale-data/ug.dat,sha256=jRJJxRRKuYljj6kYicIhxWk8ySzpMT9AOePaBk3EO94,117801\nbabel/locale-data/ug_CN.dat,sha256=2UselU1_d6K7NgQj0EDnDfb4Llk51eQZ7z78oYE-Ywg,635\nbabel/locale-data/uk.dat,sha256=b8iEhvLdQxq7rtlqpx1c9vp6-n3jNGPGSuBWNhZAnFA,339125\nbabel/locale-data/uk_UA.dat,sha256=usJw_J4Uu9OD9nrUxNQAx6vMJBWDjbGuc9l7ssJAyuw,635\nbabel/locale-data/ur.dat,sha256=RTL85URWDMA3albZQODUCbVTA9oxeYXo5kWtuL1XW6g,167002\nbabel/locale-data/ur_IN.dat,sha256=9GV9YIa7Mftq14Po2C6fjMG5sWkU8J5LS5bq1iIcsHg,10550\nbabel/locale-data/ur_PK.dat,sha256=EEAGl6fLd1-a7X0n2PwRxlqwYZ0a0ELm2DuLII9spX0,635\nbabel/locale-data/uz.dat,sha256=iwj3ukxb4FK0rZYtC66ftQmTtr1SgTzy12Wu3KkQYQo,138052\nbabel/locale-data/uz_Arab.dat,sha256=wt8BwimSNmoFzrnduGDXMHhqj3B8-XqqN6ghg2Xm74A,3814\nbabel/locale-data/uz_Arab_AF.dat,sha256=68eUCR8KeB0QDQRCvNMiOIkZVRozGKFTDednrQL1X_Y,678\nbabel/locale-data/uz_Cyrl.dat,sha256=RpmyW2YhTwN_o6sKyfJxcktFI6VMqkO6YDzDE8XoOTE,76581\nbabel/locale-data/uz_Cyrl_UZ.dat,sha256=MWJtHPdj_pF2h6abRP4wUwDWAUF4-zr7jBn2RQcZ0z8,635\nbabel/locale-data/uz_Latn.dat,sha256=L5H7Xfz2Ho-vMqviRPC4ai0MnqoF9CIebiq7muISvSA,1292\nbabel/locale-data/uz_Latn_UZ.dat,sha256=MWJtHPdj_pF2h6abRP4wUwDWAUF4-zr7jBn2RQcZ0z8,635\nbabel/locale-data/vai.dat,sha256=T_MWlDAfbp9qgeArFd8yPDPbyThU15kFu19QTQqAlCE,17416\nbabel/locale-data/vai_Latn.dat,sha256=MecJYJumVm7wCyCo-YeAY4eAon5WZ4ZqR0shQ3Pdpu8,14255\nbabel/locale-data/vai_Latn_LR.dat,sha256=LdVmBAL7nzDp-Ab_uHidBAi2crIf9nXhf8tBNfa7xdI,617\nbabel/locale-data/vai_Vaii.dat,sha256=l_IXC76zzJ2lPLfWfjWzSw6xVtFwr-x8LofcHQsSG_0,693\nbabel/locale-data/vai_Vaii_LR.dat,sha256=LdVmBAL7nzDp-Ab_uHidBAi2crIf9nXhf8tBNfa7xdI,617\nbabel/locale-data/ve.dat,sha256=5bInQioXkePSDbBerQqf4sYPTiB9-zpKuDokCXX5eNA,2372\nbabel/locale-data/ve_ZA.dat,sha256=uJndHi9RMKtDWd58f_Q3g5WgXjL3W7KLQj91rVueabQ,635\nbabel/locale-data/vec.dat,sha256=zokLfsgTK7cSP4KaSV8EMpPlHiOkI6tG3rWM7o7vcAM,160413\nbabel/locale-data/vec_IT.dat,sha256=mC9jRfk9ndmkpRIpWZNCwdMwvxvB6QX6_9HanawdaUw,654\nbabel/locale-data/vi.dat,sha256=F95a-fvLPIeJqOlwx4gr9TnWZ0VpSPyzNwJ0RPc1qE8,134138\nbabel/locale-data/vi_VN.dat,sha256=cGwN0vw-qIaeA2g89U97N1xHSMmmaIVNPCLL2P_QJMk,635\nbabel/locale-data/vmw.dat,sha256=mhERiGM-732X9KO0CThGEyjFtSbquT1_rmzYPnru2SM,1796\nbabel/locale-data/vmw_MZ.dat,sha256=sz0j5RufN9oAzTalcjWNhKtCoEXzeRr5Cv6qCouK45E,636\nbabel/locale-data/vo.dat,sha256=werwY25uwomUcf9q1dyQ8Rwgg2aCoLp78XUzBeSw0LY,4609\nbabel/locale-data/vo_001.dat,sha256=iF2xY9XIdxC0mOYEp9hjYZp2EG-si_YaNYXri_60-4w,850\nbabel/locale-data/vun.dat,sha256=VGNPlnoRipnocGYPgeb39d9MmE6fe5nTMWtCk4m1AEY,15373\nbabel/locale-data/vun_TZ.dat,sha256=YKrOeOS1VnU3BWQ7HWtxjS-gMKJcKAPQLf4HTgkzf70,617\nbabel/locale-data/wa.dat,sha256=1r6krApI8oecIKQt_9RzbpwSN0LcWSjlG34Y9Rfh07Y,880\nbabel/locale-data/wa_BE.dat,sha256=j4YADQloo07Oek1j3aOrLYkzcFkrViS1UdRrA0Z56-o,653\nbabel/locale-data/wae.dat,sha256=qBKStFqpkAruVDgeZJvX6U0X-hq_NkETTqgR2e7A4UQ,29641\nbabel/locale-data/wae_CH.dat,sha256=Z0Wzu5Q9IVTnLGwWu54ozVx-fgnFz0IE3yrky8Y1IkQ,654\nbabel/locale-data/wal.dat,sha256=AD9ZfdNNjEhX2n9T0ykd_XwEbXK-wxmsLqq39O4BjWU,8406\nbabel/locale-data/wal_ET.dat,sha256=tNjeuU4GPTWtDmsroGmi4VUql0dA57v1tEtDF4rslVg,636\nbabel/locale-data/wbp.dat,sha256=kzXK04f538n-PrJl6nRKIaYHMid6rJ4ACmzPcCz7NgU,746\nbabel/locale-data/wbp_AU.dat,sha256=BT2E1-WiomuRrteCzN1_AfLyDUdEOm0ehT5miAiepBQ,636\nbabel/locale-data/wo.dat,sha256=iB86SoTMrnphiHy_om1Yxs-J8L5YFWYlbmiQjK6jc2k,61849\nbabel/locale-data/wo_SN.dat,sha256=fvlwe-ImWs04fsxSjTsXf8IPxEIiEi45BX8xhoBC_yg,616\nbabel/locale-data/xh.dat,sha256=xRy095MO_brgAUoDB3UKwhgDvOkBlhJ3cWj9dM2fvHI,64334\nbabel/locale-data/xh_ZA.dat,sha256=9p6wHW1sxOghJMAgsP6BC3RdUhuvLpHoCkqvjsCmPps,635\nbabel/locale-data/xnr.dat,sha256=Ot10zi4F4H5Yqx6kIJGPay65Rm-Gam2eJ7kAOgoJoJ0,142585\nbabel/locale-data/xnr_IN.dat,sha256=UbNwudCNihEFVZu3ymanDhJ52YoupG0SDGwmDByPhzQ,659\nbabel/locale-data/xog.dat,sha256=V4U36ibPCWDoUMf31-o9mDCwylsYU0nZEx5pt-MWecM,15866\nbabel/locale-data/xog_UG.dat,sha256=bMX0Tk5zS4P2LqlOLLpVP4nZxBFhS_qc-ndXjilDCNI,640\nbabel/locale-data/yav.dat,sha256=UupgFFmPVcV-IgY3Fd8Y9GoOcOWgY1P22ZHuA-4QSMU,14543\nbabel/locale-data/yav_CM.dat,sha256=CsaKwep5CARetyBX-JXHFvUVsFe1KTN4Pyz1Wh7NTHw,636\nbabel/locale-data/yi.dat,sha256=OWr2zb3k_toEmkSXcPweqE13Tr5RhvlMm4z358uCQiY,24264\nbabel/locale-data/yi_UA.dat,sha256=DesjWHTuxEBrjOeq8c-B82j4Hnwu0ElR2IH3fZPmq-A,635\nbabel/locale-data/yo.dat,sha256=iWLg-08Fk9QJLZPuokgbCeXkyfyQNaov51TT3i1pKgY,110427\nbabel/locale-data/yo_BJ.dat,sha256=CP4B5N8cEouMKth-iCTTBEN74dEpdyZQTJbrbYayZFs,50036\nbabel/locale-data/yo_NG.dat,sha256=BEIndIiMT1Mo18S5DAWpjefthptCVQkIPeVs0umSop0,616\nbabel/locale-data/yrl.dat,sha256=2nwDuw5Q_dL4H2Oxl5ClzZU2Uw10j-koP5RgfnJ67y0,186854\nbabel/locale-data/yrl_BR.dat,sha256=aUgLCNwgEORk2wtuez8AqkYahB8_mX41IWSqogt39YE,636\nbabel/locale-data/yrl_CO.dat,sha256=pT0rllDKHZAUIK_itrkWP7irmih4im131Ume_wKzyks,9211\nbabel/locale-data/yrl_VE.dat,sha256=_Tqu_pGUkzrd4M9SKXpn4g93z7Q5xlUMAtGvROS5x6M,9211\nbabel/locale-data/yue.dat,sha256=lvTaoHXSVZHqcb5UCR8IeDiVRCE9IRsrDkhv0bGwzCg,143872\nbabel/locale-data/yue_Hans.dat,sha256=ybTM8LU-H-QunhqnLmCQ9bE6zdsYMJPHdlh_hBv3AWk,145194\nbabel/locale-data/yue_Hans_CN.dat,sha256=MOZnu5r0xokf672rwAXfgzG3VEeTfNlDbu36fR1bB6I,636\nbabel/locale-data/yue_Hant.dat,sha256=76wefuhsGIjk0jT05KSTEU_pbb7AfNE2u56jdRoJaDM,1306\nbabel/locale-data/yue_Hant_CN.dat,sha256=MOZnu5r0xokf672rwAXfgzG3VEeTfNlDbu36fR1bB6I,636\nbabel/locale-data/yue_Hant_HK.dat,sha256=eMZ7mOTEyKzQz0MDIjvP_Z57CS9nFIP4-Uf0Jpx1CY4,636\nbabel/locale-data/za.dat,sha256=5EbAmE-qqvt_e4geaFxBGJi81CVoZFK4dCcJ346P4yU,12705\nbabel/locale-data/za_CN.dat,sha256=WzhnaughSM1C1twuKYBVrelLEer-guzT43a9yBNXCsg,635\nbabel/locale-data/zgh.dat,sha256=Q2D9KQFgDfWk4fXOdEbPcLq3yX_zxjhlK_PVI61Ok4U,22018\nbabel/locale-data/zgh_MA.dat,sha256=sV8aPBmHY23lKIzsRna-tPz3UiXoKCMQ1Ur2tCyx2YA,617\nbabel/locale-data/zh.dat,sha256=SpSkmdVN5PX7CCdso1B-SyQZKMDTyZfZeT2l_kj2FoI,152100\nbabel/locale-data/zh_Hans.dat,sha256=-wR64b65stjA2KWj4GWcBWiF3yI0A24p4K7wApj8qtc,1305\nbabel/locale-data/zh_Hans_CN.dat,sha256=zz2qPpWEP9ba12T9cGsPXGI7Bg5LcmZ3NkAMiVTf61A,635\nbabel/locale-data/zh_Hans_HK.dat,sha256=yPyZyU-xXSNyU1FYJIYpWwnh0d3uXOra9V9aj2j_YQU,3621\nbabel/locale-data/zh_Hans_MO.dat,sha256=08kUXwHOXA0pRA8qIX7e4p0Nzl1XHSBjwhMh7f-nZBE,3752\nbabel/locale-data/zh_Hans_MY.dat,sha256=iEFxl2XEm1zBzd1K0wXpiZFvU7l0UrNURh2p9DZdRLU,1300\nbabel/locale-data/zh_Hans_SG.dat,sha256=OHZNiUfnteSXuzel-lZAMVgv58iiVTNhjq81T9Qu94s,3948\nbabel/locale-data/zh_Hant.dat,sha256=31aRGt18bl6MdiI9iAozwltdkSQQ370TvzI8gid8CBI,154802\nbabel/locale-data/zh_Hant_HK.dat,sha256=NXPCE_4pYgLatoeKLdQ0d8PQ-Mk_GeMF1s1JYX9m27M,49152\nbabel/locale-data/zh_Hant_MO.dat,sha256=qCWPPEr87U1aemaIuf6nCYQ-Q3w_1HcXrYoncYVBd3g,657\nbabel/locale-data/zh_Hant_MY.dat,sha256=3n4syQpQ9sXVe82sOEH7yQIdrU3dAtMhp7fEhzGN8_E,1203\nbabel/locale-data/zh_Hant_TW.dat,sha256=5N4K8I3XG89knCaSoy97HGzTVOTiUcd_VmfvNJlA4Bg,635\nbabel/locale-data/zh_Latn.dat,sha256=-wR64b65stjA2KWj4GWcBWiF3yI0A24p4K7wApj8qtc,1305\nbabel/locale-data/zh_Latn_CN.dat,sha256=zz2qPpWEP9ba12T9cGsPXGI7Bg5LcmZ3NkAMiVTf61A,635\nbabel/locale-data/zu.dat,sha256=e48g3oI1FjkROV3yHZ2GAwn_8wr2y3dMkj98NHW4X8Q,138626\nbabel/locale-data/zu_ZA.dat,sha256=jHloBfkNbQETXgE-3xVxvESitWb994_-SoY0G4_JL5E,635\nbabel/localedata.py,sha256=gzh3fMZIkA0k70eqXSRA46nbGWl-4BfQnB59czUmp7o,9116\nbabel/localtime/__init__.py,sha256=_6ed9ZDImaEkVQdCbNitxCvRS7Cljpa5wsah0fl_628,1043\nbabel/localtime/__pycache__/__init__.cpython-313.pyc,,\nbabel/localtime/__pycache__/_fallback.cpython-313.pyc,,\nbabel/localtime/__pycache__/_helpers.cpython-313.pyc,,\nbabel/localtime/__pycache__/_unix.cpython-313.pyc,,\nbabel/localtime/__pycache__/_win32.cpython-313.pyc,,\nbabel/localtime/_fallback.py,sha256=kBPMTXycRen_6lRxSj-VCGcXmzD1gklJpJ7ouxGLuMU,1207\nbabel/localtime/_helpers.py,sha256=ZmLc8m46W-3GtsstLBdrw6BU3ZhSob8vKHkxgcZG9uw,1704\nbabel/localtime/_unix.py,sha256=63rA_pJWM5FEKpJ3XAChL6Eosu5k-tla7C6n4mBkpyQ,3902\nbabel/localtime/_win32.py,sha256=nSNnxSMOVAlvqvX50h9HSCzBfP7mj8njJ80JZ3pOIWk,3211\nbabel/messages/__init__.py,sha256=1maeVkLsWdXYovEAxGOcGlNHM80PfphZmmivZJo5yTw,349\nbabel/messages/__pycache__/__init__.cpython-313.pyc,,\nbabel/messages/__pycache__/_compat.cpython-313.pyc,,\nbabel/messages/__pycache__/catalog.cpython-313.pyc,,\nbabel/messages/__pycache__/checkers.cpython-313.pyc,,\nbabel/messages/__pycache__/extract.cpython-313.pyc,,\nbabel/messages/__pycache__/frontend.cpython-313.pyc,,\nbabel/messages/__pycache__/jslexer.cpython-313.pyc,,\nbabel/messages/__pycache__/mofile.cpython-313.pyc,,\nbabel/messages/__pycache__/plurals.cpython-313.pyc,,\nbabel/messages/__pycache__/pofile.cpython-313.pyc,,\nbabel/messages/__pycache__/setuptools_frontend.cpython-313.pyc,,\nbabel/messages/_compat.py,sha256=DNyCNMwH5vXgl_pq7cUYz3VcRC2gIPqeQLO5nN5neWE,1163\nbabel/messages/catalog.py,sha256=2231tYkaywOeeb96nxm13aT9rLU9zPCqyA-hedf_QTc,37802\nbabel/messages/checkers.py,sha256=VutlPZQQ_a4CqsGBNrywgC5QyW5yOhGpwZ2T3lNemqY,6219\nbabel/messages/extract.py,sha256=NRMXMPjsdzirUdmgT3SFWkeZnRQUpj3VGcUPX7AxsPs,34274\nbabel/messages/frontend.py,sha256=WsxpORPikJ8uhu7TM290y6d7Vxw35edYeGBlECLNkss,45408\nbabel/messages/jslexer.py,sha256=6nGIZfX0dQlY0wlJ1zy5yWwoOaELY_ZWV26a5uKdsIQ,7207\nbabel/messages/mofile.py,sha256=Qf0X-vIRYTQQpSJqWFY3nXPgCzxyUWAzrtle2fIpIPU,7265\nbabel/messages/plurals.py,sha256=jsEnofU5b4PZKIloX0MjchYSxD3r1RRZ_GfEVRuETWQ,7495\nbabel/messages/pofile.py,sha256=lMllxTXYRBa3m8wVsxXsJsayjCOePKYYZtFSZU5DVF4,25955\nbabel/messages/setuptools_frontend.py,sha256=m1l9NHuawj1pSncZeC82cUJfdwxib_C7JSUb_2EhbUM,3485\nbabel/numbers.py,sha256=GhjFEdksEkfmvPN7VjGjlptbtmVaboBZdRaB5zPMZvY,62758\nbabel/plural.py,sha256=9NWPLtYleF8gsi23S9OIRth4WhND56E5fdFatwVb-uI,23112\nbabel/py.typed,sha256=DtCsIDq6KOv2NOEdQjTbeMWJKRh6ZEL2E-6Mf1RLeMA,59\nbabel/support.py,sha256=PLxaklxjez4pysEQ1n3rGbGMRKOPkOeszy73RZ1qctU,27516\nbabel/units.py,sha256=K8CDi8z6u9envHjP1s2_TqDvVtbeg6zBN6QuksrtjIU,13753\nbabel/util.py,sha256=gC2c7exKpi9yDALyoL4yGGW3S-BkADAZw9dIWXw95TM,9071\n
.venv\Lib\site-packages\babel-2.17.0.dist-info\RECORD
RECORD
Other
95,040
0.5
0
0
node-utils
281
2025-06-28T18:59:06.123821
Apache-2.0
false
5194201c97a063199f5e587c3493f4cb
babel\n
.venv\Lib\site-packages\babel-2.17.0.dist-info\top_level.txt
top_level.txt
Other
6
0.5
0
0
vue-tools
813
2024-01-29T03:54:18.892123
MIT
false
a8c022e317dded2317ab2de61fb09810
Wheel-Version: 1.0\nGenerator: setuptools (75.8.0)\nRoot-Is-Purelib: true\nTag: py3-none-any\n\n
.venv\Lib\site-packages\babel-2.17.0.dist-info\WHEEL
WHEEL
Other
91
0.5
0
0
awesome-app
901
2024-12-09T12:32:30.648569
Apache-2.0
false
68e6e969da03b3fdebefe35680a5c606
pip\n
.venv\Lib\site-packages\beautifulsoup4-4.13.4.dist-info\INSTALLER
INSTALLER
Other
4
0.5
0
0
react-lib
292
2024-09-25T03:58:41.972330
Apache-2.0
false
365c9bfeb7d89244f2ce01c1de44cb85
Metadata-Version: 2.4\nName: beautifulsoup4\nVersion: 4.13.4\nSummary: Screen-scraping library\nProject-URL: Download, https://www.crummy.com/software/BeautifulSoup/bs4/download/\nProject-URL: Homepage, https://www.crummy.com/software/BeautifulSoup/bs4/\nAuthor-email: Leonard Richardson <leonardr@segfault.org>\nLicense: MIT License\nLicense-File: AUTHORS\nLicense-File: LICENSE\nKeywords: HTML,XML,parse,soup\nClassifier: Development Status :: 5 - Production/Stable\nClassifier: Intended Audience :: Developers\nClassifier: License :: OSI Approved :: MIT License\nClassifier: Programming Language :: Python\nClassifier: Programming Language :: Python :: 3\nClassifier: Topic :: Software Development :: Libraries :: Python Modules\nClassifier: Topic :: Text Processing :: Markup :: HTML\nClassifier: Topic :: Text Processing :: Markup :: SGML\nClassifier: Topic :: Text Processing :: Markup :: XML\nRequires-Python: >=3.7.0\nRequires-Dist: soupsieve>1.2\nRequires-Dist: typing-extensions>=4.0.0\nProvides-Extra: cchardet\nRequires-Dist: cchardet; extra == 'cchardet'\nProvides-Extra: chardet\nRequires-Dist: chardet; extra == 'chardet'\nProvides-Extra: charset-normalizer\nRequires-Dist: charset-normalizer; extra == 'charset-normalizer'\nProvides-Extra: html5lib\nRequires-Dist: html5lib; extra == 'html5lib'\nProvides-Extra: lxml\nRequires-Dist: lxml; extra == 'lxml'\nDescription-Content-Type: text/markdown\n\nBeautiful Soup is a library that makes it easy to scrape information\nfrom web pages. It sits atop an HTML or XML parser, providing Pythonic\nidioms for iterating, searching, and modifying the parse tree.\n\n# Quick start\n\n```\n>>> from bs4 import BeautifulSoup\n>>> soup = BeautifulSoup("<p>Some<b>bad<i>HTML")\n>>> print(soup.prettify())\n<html>\n <body>\n <p>\n Some\n <b>\n bad\n <i>\n HTML\n </i>\n </b>\n </p>\n </body>\n</html>\n>>> soup.find(string="bad")\n'bad'\n>>> soup.i\n<i>HTML</i>\n#\n>>> soup = BeautifulSoup("<tag1>Some<tag2/>bad<tag3>XML", "xml")\n#\n>>> print(soup.prettify())\n<?xml version="1.0" encoding="utf-8"?>\n<tag1>\n Some\n <tag2/>\n bad\n <tag3>\n XML\n </tag3>\n</tag1>\n```\n\nTo go beyond the basics, [comprehensive documentation is available](https://www.crummy.com/software/BeautifulSoup/bs4/doc/).\n\n# Links\n\n* [Homepage](https://www.crummy.com/software/BeautifulSoup/bs4/)\n* [Documentation](https://www.crummy.com/software/BeautifulSoup/bs4/doc/)\n* [Discussion group](https://groups.google.com/group/beautifulsoup/)\n* [Development](https://code.launchpad.net/beautifulsoup/)\n* [Bug tracker](https://bugs.launchpad.net/beautifulsoup/)\n* [Complete changelog](https://git.launchpad.net/beautifulsoup/tree/CHANGELOG)\n\n# Note on Python 2 sunsetting\n\nBeautiful Soup's support for Python 2 was discontinued on December 31,\n2020: one year after the sunset date for Python 2 itself. From this\npoint onward, new Beautiful Soup development will exclusively target\nPython 3. The final release of Beautiful Soup 4 to support Python 2\nwas 4.9.3.\n\n# Supporting the project\n\nIf you use Beautiful Soup as part of your professional work, please consider a\n[Tidelift subscription](https://tidelift.com/subscription/pkg/pypi-beautifulsoup4?utm_source=pypi-beautifulsoup4&utm_medium=referral&utm_campaign=readme).\nThis will support many of the free software projects your organization\ndepends on, not just Beautiful Soup.\n\nIf you use Beautiful Soup for personal projects, the best way to say\nthank you is to read\n[Tool Safety](https://www.crummy.com/software/BeautifulSoup/zine/), a zine I\nwrote about what Beautiful Soup has taught me about software\ndevelopment.\n\n# Building the documentation\n\nThe bs4/doc/ directory contains full documentation in Sphinx\nformat. Run `make html` in that directory to create HTML\ndocumentation.\n\n# Running the unit tests\n\nBeautiful Soup supports unit test discovery using Pytest:\n\n```\n$ pytest\n```\n\n
.venv\Lib\site-packages\beautifulsoup4-4.13.4.dist-info\METADATA
METADATA
Other
3,809
0.95
0.03252
0.132075
react-lib
711
2023-08-03T12:14:43.078177
Apache-2.0
false
63c9e3e3bc8676f41222c787cd4e44f2
beautifulsoup4-4.13.4.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4\nbeautifulsoup4-4.13.4.dist-info/METADATA,sha256=zXwPMgMEIdymEV_lAL0QzP34i6osem_P2nfqgaEexRo,3809\nbeautifulsoup4-4.13.4.dist-info/RECORD,,\nbeautifulsoup4-4.13.4.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87\nbeautifulsoup4-4.13.4.dist-info/licenses/AUTHORS,sha256=uYkjiRjh_aweRnF8tAW2PpJJeickE68NmJwd9siry28,2201\nbeautifulsoup4-4.13.4.dist-info/licenses/LICENSE,sha256=VbTY1LHlvIbRDvrJG3TIe8t3UmsPW57a-LnNKtxzl7I,1441\nbs4/__init__.py,sha256=ZkHAdXHt3PEkwDrx_Z4ABuz-T_-TSO8aL6Vpy9uiI8M,44212\nbs4/__pycache__/__init__.cpython-313.pyc,,\nbs4/__pycache__/_deprecation.cpython-313.pyc,,\nbs4/__pycache__/_typing.cpython-313.pyc,,\nbs4/__pycache__/_warnings.cpython-313.pyc,,\nbs4/__pycache__/css.cpython-313.pyc,,\nbs4/__pycache__/dammit.cpython-313.pyc,,\nbs4/__pycache__/diagnose.cpython-313.pyc,,\nbs4/__pycache__/element.cpython-313.pyc,,\nbs4/__pycache__/exceptions.cpython-313.pyc,,\nbs4/__pycache__/filter.cpython-313.pyc,,\nbs4/__pycache__/formatter.cpython-313.pyc,,\nbs4/_deprecation.py,sha256=ucZjfBAUF1B0f5ldNIIhlkHsYjHtvwELWlE3_pAR6Vs,2394\nbs4/_typing.py,sha256=3FgPPPrdsTa-kvn1R36o1k_2SfilcUWm4M9i7G4qFl8,7118\nbs4/_warnings.py,sha256=ZuOETgcnEbZgw2N0nnNXn6wvtrn2ut7AF0d98bvkMFc,4711\nbs4/builder/__init__.py,sha256=TYAKmGFuVfTsI53reHijcZKETnPuvse57KZ6LsZsJRo,31130\nbs4/builder/__pycache__/__init__.cpython-313.pyc,,\nbs4/builder/__pycache__/_html5lib.cpython-313.pyc,,\nbs4/builder/__pycache__/_htmlparser.cpython-313.pyc,,\nbs4/builder/__pycache__/_lxml.cpython-313.pyc,,\nbs4/builder/_html5lib.py,sha256=3MXq29SYg9XoS9gu2hgTDU02IQkv8kIBx3rW1QWY3fg,22846\nbs4/builder/_htmlparser.py,sha256=cu9PFkxkqVIIe9nU3fVy-JJhINEhY8cGbsuCwZCnQCA,17872\nbs4/builder/_lxml.py,sha256=9L5pJ7ekI-G3HhOhoxcpjZPqDMRfUoWj4Nnku6B2uR8,18545\nbs4/css.py,sha256=XGQq7HQUDyYEbDorFMGIGek7QGPiFuZYnvNEQ59GyxM,12685\nbs4/dammit.py,sha256=oHd1elJ44kMobBGSQRuG7Wln6M-BLz1unOuUscaL9h0,51472\nbs4/diagnose.py,sha256=zy7_GPQHsTtNf8s10WWIRcC5xH5_8LKs295Aa7iFUyI,7832\nbs4/element.py,sha256=7w9cLT9oTU8lrWm9nnlPqHpa_v4U8UuyIUsWnTHYLbw,109768\nbs4/exceptions.py,sha256=Q9FOadNe8QRvzDMaKSXe2Wtl8JK_oAZW7mbFZBVP_GE,951\nbs4/filter.py,sha256=8lzv5yE0mw7jhYwPyDiFCfXAB4-wDiIgn7m8fmIKcGA,29031\nbs4/formatter.py,sha256=5O4gBxTTi5TLU6TdqsgYI9Io0Gc_6-oCAWpfHI3Thn0,10464\nbs4/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0\nbs4/tests/__init__.py,sha256=ieOudaXvOWA_g4Gb25adCnhEabtEpRwf9_DdplXKdXQ,52671\nbs4/tests/__pycache__/__init__.cpython-313.pyc,,\nbs4/tests/__pycache__/test_builder.cpython-313.pyc,,\nbs4/tests/__pycache__/test_builder_registry.cpython-313.pyc,,\nbs4/tests/__pycache__/test_css.cpython-313.pyc,,\nbs4/tests/__pycache__/test_dammit.cpython-313.pyc,,\nbs4/tests/__pycache__/test_element.cpython-313.pyc,,\nbs4/tests/__pycache__/test_filter.cpython-313.pyc,,\nbs4/tests/__pycache__/test_formatter.cpython-313.pyc,,\nbs4/tests/__pycache__/test_fuzz.cpython-313.pyc,,\nbs4/tests/__pycache__/test_html5lib.cpython-313.pyc,,\nbs4/tests/__pycache__/test_htmlparser.cpython-313.pyc,,\nbs4/tests/__pycache__/test_lxml.cpython-313.pyc,,\nbs4/tests/__pycache__/test_navigablestring.cpython-313.pyc,,\nbs4/tests/__pycache__/test_pageelement.cpython-313.pyc,,\nbs4/tests/__pycache__/test_soup.cpython-313.pyc,,\nbs4/tests/__pycache__/test_tag.cpython-313.pyc,,\nbs4/tests/__pycache__/test_tree.cpython-313.pyc,,\nbs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-4670634698080256.testcase,sha256=yUdXkbpNK7LVOQ0LBHMoqZ1rWaBfSXWytoO_xdSm7Ho,15\nbs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-4818336571064320.testcase,sha256=Uv_dx4a43TSfoNkjU-jHW2nSXkqHFg4XdAw7SWVObUk,23\nbs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-4999465949331456.testcase,sha256=OEyVA0Ej4FxswOElrUNt0In4s4YhrmtaxE_NHGZvGtg,30\nbs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-5000587759190016.testcase,sha256=G4vpNBOz-RwMpi6ewEgNEa13zX0sXhmL7VHOyIcdKVQ,15347\nbs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-5167584867909632.testcase,sha256=3d8z65o4p7Rur-RmCHoOjzqaYQ8EAtjmiBYTHNyAdl4,19469\nbs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-5270998950477824.testcase,sha256=NfGIlit1k40Ip3mlnBkYOkIDJX6gHtjlErwl7gsBjAQ,12\nbs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-5375146639360000.testcase,sha256=xy4i1U0nhFHcnyc5pRKS6JRMvuoCNUur-Scor6UxIGw,4317\nbs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-5492400320282624.testcase,sha256=Q-UTYpQBUsWoMgIUspUlzveSI-41s4ABC3jajRb-K0o,11502\nbs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-5703933063462912.testcase,sha256=2bq3S8KxZgk8EajLReHD8m4_0Lj_nrkyJAxB_z_U0D0,5\nbs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-5843991618256896.testcase,sha256=MZDu31LPLfgu6jP9IZkrlwNes3f_sL8WFP5BChkUKdY,35\nbs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-5984173902397440.testcase,sha256=w58r-s6besG5JwPXpnz37W2YTj9-_qxFbk6hiEnKeIQ,51495\nbs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-6124268085182464.testcase,sha256=q8rkdMECEXKcqVhOf5zWHkSBTQeOPt0JiLg2TZiPCuk,10380\nbs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-6241471367348224.testcase,sha256=QfzoOxKwNuqG-4xIrea6MOQLXhfAAOQJ0r9u-J6kSNs,19\nbs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-6306874195312640.testcase,sha256=MJ2pHFuuCQUiQz1Kor2sof7LWeRERQ6QK43YNqQHg9o,47\nbs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-6450958476902400.testcase,sha256=EItOpSdeD4ewK-qgJ9vtxennwn_huguzXgctrUT7fqE,3546\nbs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-6600557255327744.testcase,sha256=a2aJTG4FceGSJXsjtxoS8S4jk_8rZsS3aznLkeO2_dY,124\nbs4/tests/fuzz/crash-0d306a50c8ed8bcd0785b67000fcd5dea1d33f08.testcase,sha256=jRFRtCKlP3-3EDLc_iVRTcE6JNymv0rYcVM6qRaPrxI,2607\nbs4/tests/fuzz/crash-ffbdfa8a2b26f13537b68d3794b0478a4090ee4a.testcase,sha256=7NsdCiXWAhNkmoW1pvF7rbZExyLAQIWtDtSHXIsH6YU,103\nbs4/tests/test_builder.py,sha256=BBMBirb4mb-fVdJj4dxQCxrdcjQeulKSKBFrPFVpVOk,1095\nbs4/tests/test_builder_registry.py,sha256=tpJ5Niva_cF49SdzIb1gMo0W4Tiodr8BYSOE3O6P_g8,5064\nbs4/tests/test_css.py,sha256=T_HCMzpe6hTr8d2YFXm0DScr8gT8d6h0MYlhZfo6A4U,18625\nbs4/tests/test_dammit.py,sha256=TQCVe6kKVYSuYjwTtIvIaOYYmWYPMnR_3PK45kimLg4,17840\nbs4/tests/test_element.py,sha256=u7FbTtKE6pYJetD1PgS3fCU1-QQXfB7GaLwfI3s4ROY,4373\nbs4/tests/test_filter.py,sha256=JzvU3eI4r1QyNIHKqhxbZ-M7q5qgw-S7Y73MGI2tNr4,27395\nbs4/tests/test_formatter.py,sha256=a6TaeNOVeg_ZYseiP7atmFyYJkQJqlk-jlVxMlyJC2o,6943\nbs4/tests/test_fuzz.py,sha256=zyaoWgCt8hnRkXecBYM9x91fI_Ao9eQUcsBi76ooJ08,7123\nbs4/tests/test_html5lib.py,sha256=ljMOAds__k9zhfT4jVnxxhZkLEggaT7wqDexzDNwus4,9206\nbs4/tests/test_htmlparser.py,sha256=iDHEI69GcisNP48BeHdLAWlqPGhrBwxftnUM8_3nsR4,6662\nbs4/tests/test_lxml.py,sha256=4fZIsNVbm2zdRQFNNwD-lqwf_QtUtiU4QbtLXISQZBw,7453\nbs4/tests/test_navigablestring.py,sha256=5-vs86ujXcs6LjT1lPYQHLi2ag3eBtFfnrOrjzV665M,5599\nbs4/tests/test_pageelement.py,sha256=lAw-sVP3zJX0VdHXXN1Ia3tci5dgK10Gac5o9G46IIk,16195\nbs4/tests/test_soup.py,sha256=I-mhNheo2-PTvfJToDI43EO4RmGlpKJsYOS19YoQ7-8,22669\nbs4/tests/test_tag.py,sha256=ue32hxQs_a1cMuzyu7MNjK42t0IOGMA6POPLIArMOts,9690\nbs4/tests/test_tree.py,sha256=Iw2e2spk19PEtCObE0ymgJH4n4F5_KbMvpcOeblHBsI,55074\n
.venv\Lib\site-packages\beautifulsoup4-4.13.4.dist-info\RECORD
RECORD
Other
7,253
0.7
0
0
node-utils
517
2023-08-02T23:19:09.965532
BSD-3-Clause
false
8d19335c2c05f8e8e732b61e335bd4fa
Wheel-Version: 1.0\nGenerator: hatchling 1.27.0\nRoot-Is-Purelib: true\nTag: py3-none-any\n
.venv\Lib\site-packages\beautifulsoup4-4.13.4.dist-info\WHEEL
WHEEL
Other
87
0.5
0
0
awesome-app
88
2024-02-22T04:26:34.724423
MIT
false
e2fcb0ad9ea59332c808928b4b439e7a
Behold, mortal, the origins of Beautiful Soup...\n================================================\n\nLeonard Richardson is the primary maintainer.\n\nAaron DeVore, Isaac Muse and Chris Papademetrious have made\nsignificant contributions to the code base.\n\nMark Pilgrim provided the encoding detection code that forms the base\nof UnicodeDammit.\n\nThomas Kluyver and Ezio Melotti finished the work of getting Beautiful\nSoup 4 working under Python 3.\n\nSimon Willison wrote soupselect, which was used to make Beautiful Soup\nsupport CSS selectors. Isaac Muse wrote SoupSieve, which made it\npossible to _remove_ the CSS selector code from Beautiful Soup.\n\nSam Ruby helped with a lot of edge cases.\n\nJonathan Ellis was awarded the prestigious Beau Potage D'Or for his\nwork in solving the nestable tags conundrum.\n\nAn incomplete list of people have contributed patches to Beautiful\nSoup:\n\n Istvan Albert, Andrew Lin, Anthony Baxter, Oliver Beattie, Andrew\nBoyko, Tony Chang, Francisco Canas, "Delong", Zephyr Fang, Fuzzy,\nRoman Gaufman, Yoni Gilad, Richie Hindle, Toshihiro Kamiya, Peteris\nKrumins, Kent Johnson, Marek Kapolka, Andreas Kostyrka, Roel Kramer,\nBen Last, Robert Leftwich, Stefaan Lippens, "liquider", Staffan\nMalmgren, Ksenia Marasanova, JP Moins, Adam Monsen, John Nagle, "Jon",\nEd Oskiewicz, Martijn Peters, Greg Phillips, Giles Radford, Stefano\nRevera, Arthur Rudolph, Marko Samastur, James Salter, Jouni Seppänen,\nAlexander Schmolck, Tim Shirley, Geoffrey Sneddon, Ville Skyttä,\n"Vikas", Jens Svalgaard, Andy Theyers, Eric Weiser, Glyn Webster, John\nWiseman, Paul Wright, Danny Yoo\n\nAn incomplete list of people who made suggestions or found bugs or\nfound ways to break Beautiful Soup:\n\n Hanno Böck, Matteo Bertini, Chris Curvey, Simon Cusack, Bruce Eckel,\n Matt Ernst, Michael Foord, Tom Harris, Bill de hOra, Donald Howes,\n Matt Patterson, Scott Roberts, Steve Strassmann, Mike Williams,\n warchild at redho dot com, Sami Kuisma, Carlos Rocha, Bob Hutchison,\n Joren Mc, Michal Migurski, John Kleven, Tim Heaney, Tripp Lilley, Ed\n Summers, Dennis Sutch, Chris Smith, Aaron Swartz, Stuart\n Turner, Greg Edwards, Kevin J Kalupson, Nikos Kouremenos, Artur de\n Sousa Rocha, Yichun Wei, Per Vognsen\n
.venv\Lib\site-packages\beautifulsoup4-4.13.4.dist-info\licenses\AUTHORS
AUTHORS
Other
2,201
0.7
0.020408
0
node-utils
800
2024-08-31T07:46:30.474857
GPL-3.0
false
4eaff334ba88fcdaf6e7d3c3f722cc1b
Beautiful Soup is made available under the MIT license:\n\n Copyright (c) Leonard Richardson\n\n Permission is hereby granted, free of charge, to any person obtaining\n a copy of this software and associated documentation files (the\n "Software"), to deal in the Software without restriction, including\n without limitation the rights to use, copy, modify, merge, publish,\n distribute, sublicense, and/or sell copies of the Software, and to\n permit persons to whom the Software is furnished to do so, subject to\n the following conditions:\n\n The above copyright notice and this permission notice shall be\n included in all copies or substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,\n EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\n NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS\n BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN\n ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE.\n\nBeautiful Soup incorporates code from the html5lib library, which is\nalso made available under the MIT license. Copyright (c) James Graham\nand other contributors\n\nBeautiful Soup has an optional dependency on the soupsieve library,\nwhich is also made available under the MIT license. Copyright (c)\nIsaac Muse\n
.venv\Lib\site-packages\beautifulsoup4-4.13.4.dist-info\licenses\LICENSE
LICENSE
Other
1,441
0.7
0
0
python-kit
801
2024-04-24T09:28:19.290379
MIT
false
96e0034f7c9443910c486773aa1ed9ac
"""A set of basic callbacks for bleach.linkify."""\n\n\ndef nofollow(attrs, new=False):\n href_key = (None, "href")\n\n if href_key not in attrs:\n return attrs\n\n if attrs[href_key].startswith("mailto:"):\n return attrs\n\n rel_key = (None, "rel")\n rel_values = [val for val in attrs.get(rel_key, "").split(" ") if val]\n if "nofollow" not in [rel_val.lower() for rel_val in rel_values]:\n rel_values.append("nofollow")\n attrs[rel_key] = " ".join(rel_values)\n\n return attrs\n\n\ndef target_blank(attrs, new=False):\n href_key = (None, "href")\n\n if href_key not in attrs:\n return attrs\n\n if attrs[href_key].startswith("mailto:"):\n return attrs\n\n attrs[(None, "target")] = "_blank"\n return attrs\n
.venv\Lib\site-packages\bleach\callbacks.py
callbacks.py
Python
752
0.85
0.34375
0
awesome-app
308
2024-03-14T07:52:43.251262
Apache-2.0
false
e926657a99582ce436e28e691eba134d
from bleach._vendor.parse import urlparse # noqa\n
.venv\Lib\site-packages\bleach\parse_shim.py
parse_shim.py
Python
50
0.75
0
0
vue-tools
571
2024-05-23T02:38:24.920711
BSD-3-Clause
false
88896afbc98410c313a6c5bd2e0b75e9
"""\nReplacement module for what html5lib uses six for.\n"""\n\nimport http.client\nimport operator\nimport urllib\n\n\nPY3 = True\nbinary_type = bytes\nstring_types = (str,)\ntext_type = str\nunichr = chr\nviewkeys = operator.methodcaller("keys")\n\nhttp_client = http.client\nurllib = urllib\nurllib_parse = urllib.parse\n
.venv\Lib\site-packages\bleach\six_shim.py
six_shim.py
Python
305
0.85
0.105263
0
node-utils
989
2024-02-14T20:29:53.960186
BSD-3-Clause
false
3a97b32ad5d300a5ff6a8ee5c5cbe27c
from bleach.linkifier import (\n DEFAULT_CALLBACKS,\n Linker,\n)\nfrom bleach.sanitizer import (\n ALLOWED_ATTRIBUTES,\n ALLOWED_PROTOCOLS,\n ALLOWED_TAGS,\n Cleaner,\n)\n\n\n# yyyymmdd\n__releasedate__ = "20241029"\n# x.y.z or x.y.z.dev0 -- semver\n__version__ = "6.2.0"\n\n\n__all__ = ["clean", "linkify"]\n\n\ndef clean(\n text,\n tags=ALLOWED_TAGS,\n attributes=ALLOWED_ATTRIBUTES,\n protocols=ALLOWED_PROTOCOLS,\n strip=False,\n strip_comments=True,\n css_sanitizer=None,\n):\n """Clean an HTML fragment of malicious content and return it\n\n This function is a security-focused function whose sole purpose is to\n remove malicious content from a string such that it can be displayed as\n content in a web page.\n\n This function is not designed to use to transform content to be used in\n non-web-page contexts.\n\n Example::\n\n import bleach\n\n better_text = bleach.clean(yucky_text)\n\n\n .. Note::\n\n If you're cleaning a lot of text and passing the same argument values or\n you want more configurability, consider using a\n :py:class:`bleach.sanitizer.Cleaner` instance.\n\n :arg str text: the text to clean\n\n :arg set tags: set of allowed tags; defaults to\n ``bleach.sanitizer.ALLOWED_TAGS``\n\n :arg dict attributes: allowed attributes; can be a callable, list or dict;\n defaults to ``bleach.sanitizer.ALLOWED_ATTRIBUTES``\n\n :arg list protocols: allowed list of protocols for links; defaults\n to ``bleach.sanitizer.ALLOWED_PROTOCOLS``\n\n :arg bool strip: whether or not to strip disallowed elements\n\n :arg bool strip_comments: whether or not to strip HTML comments\n\n :arg CSSSanitizer css_sanitizer: instance with a "sanitize_css" method for\n sanitizing style attribute values and style text; defaults to None\n\n :returns: cleaned text as unicode\n\n """\n cleaner = Cleaner(\n tags=tags,\n attributes=attributes,\n protocols=protocols,\n strip=strip,\n strip_comments=strip_comments,\n css_sanitizer=css_sanitizer,\n )\n return cleaner.clean(text)\n\n\ndef linkify(text, callbacks=DEFAULT_CALLBACKS, skip_tags=None, parse_email=False):\n """Convert URL-like strings in an HTML fragment to links\n\n This function converts strings that look like URLs, domain names and email\n addresses in text that may be an HTML fragment to links, while preserving:\n\n 1. links already in the string\n 2. urls found in attributes\n 3. email addresses\n\n linkify does a best-effort approach and tries to recover from bad\n situations due to crazy text.\n\n .. Note::\n\n If you're linking a lot of text and passing the same argument values or\n you want more configurability, consider using a\n :py:class:`bleach.linkifier.Linker` instance.\n\n .. Note::\n\n If you have text that you want to clean and then linkify, consider using\n the :py:class:`bleach.linkifier.LinkifyFilter` as a filter in the clean\n pass. That way you're not parsing the HTML twice.\n\n :arg str text: the text to linkify\n\n :arg list callbacks: list of callbacks to run when adjusting tag attributes;\n defaults to ``bleach.linkifier.DEFAULT_CALLBACKS``\n\n :arg list skip_tags: list of tags that you don't want to linkify the\n contents of; for example, you could set this to ``['pre']`` to skip\n linkifying contents of ``pre`` tags\n\n :arg bool parse_email: whether or not to linkify email addresses\n\n :returns: linkified text as unicode\n\n """\n linker = Linker(callbacks=callbacks, skip_tags=skip_tags, parse_email=parse_email)\n return linker.linkify(text)\n
.venv\Lib\site-packages\bleach\__init__.py
__init__.py
Python
3,649
0.95
0.104
0.022989
awesome-app
549
2025-02-18T01:14:07.190086
Apache-2.0
false
313ec77b114f3c97561b6cd926517c7a
"""Parse (absolute and relative) URLs.\n\nurlparse module is based upon the following RFC specifications.\n\nRFC 3986 (STD66): "Uniform Resource Identifiers" by T. Berners-Lee, R. Fielding\nand L. Masinter, January 2005.\n\nRFC 2732 : "Format for Literal IPv6 Addresses in URL's by R.Hinden, B.Carpenter\nand L.Masinter, December 1999.\n\nRFC 2396: "Uniform Resource Identifiers (URI)": Generic Syntax by T.\nBerners-Lee, R. Fielding, and L. Masinter, August 1998.\n\nRFC 2368: "The mailto URL scheme", by P.Hoffman , L Masinter, J. Zawinski, July 1998.\n\nRFC 1808: "Relative Uniform Resource Locators", by R. Fielding, UC Irvine, June\n1995.\n\nRFC 1738: "Uniform Resource Locators (URL)" by T. Berners-Lee, L. Masinter, M.\nMcCahill, December 1994\n\nRFC 3986 is considered the current standard and any future changes to\nurlparse module should conform with it. The urlparse module is\ncurrently not entirely compliant with this RFC due to defacto\nscenarios for parsing, and for backward compatibility purposes, some\nparsing quirks from older RFCs are retained. The testcases in\ntest_urlparse.py provides a good indicator of parsing behavior.\n"""\n\nimport re\nimport sys\nimport collections\n\n__all__ = ["urlparse", "urlunparse", "urljoin", "urldefrag",\n "urlsplit", "urlunsplit", "urlencode", "parse_qs",\n "parse_qsl", "quote", "quote_plus", "quote_from_bytes",\n "unquote", "unquote_plus", "unquote_to_bytes",\n "DefragResult", "ParseResult", "SplitResult",\n "DefragResultBytes", "ParseResultBytes", "SplitResultBytes"]\n\n# A classification of schemes.\n# The empty string classifies URLs with no scheme specified,\n# being the default value returned by “urlsplit” and “urlparse”.\n\nuses_relative = ['', 'ftp', 'http', 'gopher', 'nntp', 'imap',\n 'wais', 'file', 'https', 'shttp', 'mms',\n 'prospero', 'rtsp', 'rtspu', 'sftp',\n 'svn', 'svn+ssh', 'ws', 'wss']\n\nuses_netloc = ['', 'ftp', 'http', 'gopher', 'nntp', 'telnet',\n 'imap', 'wais', 'file', 'mms', 'https', 'shttp',\n 'snews', 'prospero', 'rtsp', 'rtspu', 'rsync',\n 'svn', 'svn+ssh', 'sftp', 'nfs', 'git', 'git+ssh',\n 'ws', 'wss']\n\nuses_params = ['', 'ftp', 'hdl', 'prospero', 'http', 'imap',\n 'https', 'shttp', 'rtsp', 'rtspu', 'sip', 'sips',\n 'mms', 'sftp', 'tel']\n\n# These are not actually used anymore, but should stay for backwards\n# compatibility. (They are undocumented, but have a public-looking name.)\n\nnon_hierarchical = ['gopher', 'hdl', 'mailto', 'news',\n 'telnet', 'wais', 'imap', 'snews', 'sip', 'sips']\n\nuses_query = ['', 'http', 'wais', 'imap', 'https', 'shttp', 'mms',\n 'gopher', 'rtsp', 'rtspu', 'sip', 'sips']\n\nuses_fragment = ['', 'ftp', 'hdl', 'http', 'gopher', 'news',\n 'nntp', 'wais', 'https', 'shttp', 'snews',\n 'file', 'prospero']\n\n# Characters valid in scheme names\nscheme_chars = ('abcdefghijklmnopqrstuvwxyz'\n 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'\n '0123456789'\n '+-.')\n\n# Unsafe bytes to be removed per WHATWG spec\n_UNSAFE_URL_BYTES_TO_REMOVE = ['\t', '\r', '\n']\n\n# XXX: Consider replacing with functools.lru_cache\nMAX_CACHE_SIZE = 20\n_parse_cache = {}\n\ndef clear_cache():\n """Clear the parse cache and the quoters cache."""\n _parse_cache.clear()\n _safe_quoters.clear()\n\n\n# Helpers for bytes handling\n# For 3.2, we deliberately require applications that\n# handle improperly quoted URLs to do their own\n# decoding and encoding. If valid use cases are\n# presented, we may relax this by using latin-1\n# decoding internally for 3.3\n_implicit_encoding = 'ascii'\n_implicit_errors = 'strict'\n\ndef _noop(obj):\n return obj\n\ndef _encode_result(obj, encoding=_implicit_encoding,\n errors=_implicit_errors):\n return obj.encode(encoding, errors)\n\ndef _decode_args(args, encoding=_implicit_encoding,\n errors=_implicit_errors):\n return tuple(x.decode(encoding, errors) if x else '' for x in args)\n\ndef _coerce_args(*args):\n # Invokes decode if necessary to create str args\n # and returns the coerced inputs along with\n # an appropriate result coercion function\n # - noop for str inputs\n # - encoding function otherwise\n str_input = isinstance(args[0], str)\n for arg in args[1:]:\n # We special-case the empty string to support the\n # "scheme=''" default argument to some functions\n if arg and isinstance(arg, str) != str_input:\n raise TypeError("Cannot mix str and non-str arguments")\n if str_input:\n return args + (_noop,)\n return _decode_args(args) + (_encode_result,)\n\n# Result objects are more helpful than simple tuples\nclass _ResultMixinStr(object):\n """Standard approach to encoding parsed results from str to bytes"""\n __slots__ = ()\n\n def encode(self, encoding='ascii', errors='strict'):\n return self._encoded_counterpart(*(x.encode(encoding, errors) for x in self))\n\n\nclass _ResultMixinBytes(object):\n """Standard approach to decoding parsed results from bytes to str"""\n __slots__ = ()\n\n def decode(self, encoding='ascii', errors='strict'):\n return self._decoded_counterpart(*(x.decode(encoding, errors) for x in self))\n\n\nclass _NetlocResultMixinBase(object):\n """Shared methods for the parsed result objects containing a netloc element"""\n __slots__ = ()\n\n @property\n def username(self):\n return self._userinfo[0]\n\n @property\n def password(self):\n return self._userinfo[1]\n\n @property\n def hostname(self):\n hostname = self._hostinfo[0]\n if not hostname:\n return None\n # Scoped IPv6 address may have zone info, which must not be lowercased\n # like http://[fe80::822a:a8ff:fe49:470c%tESt]:1234/keys\n separator = '%' if isinstance(hostname, str) else b'%'\n hostname, percent, zone = hostname.partition(separator)\n return hostname.lower() + percent + zone\n\n @property\n def port(self):\n port = self._hostinfo[1]\n if port is not None:\n port = int(port, 10)\n if not ( 0 <= port <= 65535):\n raise ValueError("Port out of range 0-65535")\n return port\n\n\nclass _NetlocResultMixinStr(_NetlocResultMixinBase, _ResultMixinStr):\n __slots__ = ()\n\n @property\n def _userinfo(self):\n netloc = self.netloc\n userinfo, have_info, hostinfo = netloc.rpartition('@')\n if have_info:\n username, have_password, password = userinfo.partition(':')\n if not have_password:\n password = None\n else:\n username = password = None\n return username, password\n\n @property\n def _hostinfo(self):\n netloc = self.netloc\n _, _, hostinfo = netloc.rpartition('@')\n _, have_open_br, bracketed = hostinfo.partition('[')\n if have_open_br:\n hostname, _, port = bracketed.partition(']')\n _, _, port = port.partition(':')\n else:\n hostname, _, port = hostinfo.partition(':')\n if not port:\n port = None\n return hostname, port\n\n\nclass _NetlocResultMixinBytes(_NetlocResultMixinBase, _ResultMixinBytes):\n __slots__ = ()\n\n @property\n def _userinfo(self):\n netloc = self.netloc\n userinfo, have_info, hostinfo = netloc.rpartition(b'@')\n if have_info:\n username, have_password, password = userinfo.partition(b':')\n if not have_password:\n password = None\n else:\n username = password = None\n return username, password\n\n @property\n def _hostinfo(self):\n netloc = self.netloc\n _, _, hostinfo = netloc.rpartition(b'@')\n _, have_open_br, bracketed = hostinfo.partition(b'[')\n if have_open_br:\n hostname, _, port = bracketed.partition(b']')\n _, _, port = port.partition(b':')\n else:\n hostname, _, port = hostinfo.partition(b':')\n if not port:\n port = None\n return hostname, port\n\n\nfrom collections import namedtuple\n\n_DefragResultBase = namedtuple('DefragResult', 'url fragment')\n_SplitResultBase = namedtuple(\n 'SplitResult', 'scheme netloc path query fragment')\n_ParseResultBase = namedtuple(\n 'ParseResult', 'scheme netloc path params query fragment')\n\n_DefragResultBase.__doc__ = """\nDefragResult(url, fragment)\n\nA 2-tuple that contains the url without fragment identifier and the fragment\nidentifier as a separate argument.\n"""\n\n_DefragResultBase.url.__doc__ = """The URL with no fragment identifier."""\n\n_DefragResultBase.fragment.__doc__ = """\nFragment identifier separated from URL, that allows indirect identification of a\nsecondary resource by reference to a primary resource and additional identifying\ninformation.\n"""\n\n_SplitResultBase.__doc__ = """\nSplitResult(scheme, netloc, path, query, fragment)\n\nA 5-tuple that contains the different components of a URL. Similar to\nParseResult, but does not split params.\n"""\n\n_SplitResultBase.scheme.__doc__ = """Specifies URL scheme for the request."""\n\n_SplitResultBase.netloc.__doc__ = """\nNetwork location where the request is made to.\n"""\n\n_SplitResultBase.path.__doc__ = """\nThe hierarchical path, such as the path to a file to download.\n"""\n\n_SplitResultBase.query.__doc__ = """\nThe query component, that contains non-hierarchical data, that along with data\nin path component, identifies a resource in the scope of URI's scheme and\nnetwork location.\n"""\n\n_SplitResultBase.fragment.__doc__ = """\nFragment identifier, that allows indirect identification of a secondary resource\nby reference to a primary resource and additional identifying information.\n"""\n\n_ParseResultBase.__doc__ = """\nParseResult(scheme, netloc, path, params, query, fragment)\n\nA 6-tuple that contains components of a parsed URL.\n"""\n\n_ParseResultBase.scheme.__doc__ = _SplitResultBase.scheme.__doc__\n_ParseResultBase.netloc.__doc__ = _SplitResultBase.netloc.__doc__\n_ParseResultBase.path.__doc__ = _SplitResultBase.path.__doc__\n_ParseResultBase.params.__doc__ = """\nParameters for last path element used to dereference the URI in order to provide\naccess to perform some operation on the resource.\n"""\n\n_ParseResultBase.query.__doc__ = _SplitResultBase.query.__doc__\n_ParseResultBase.fragment.__doc__ = _SplitResultBase.fragment.__doc__\n\n\n# For backwards compatibility, alias _NetlocResultMixinStr\n# ResultBase is no longer part of the documented API, but it is\n# retained since deprecating it isn't worth the hassle\nResultBase = _NetlocResultMixinStr\n\n# Structured result objects for string data\nclass DefragResult(_DefragResultBase, _ResultMixinStr):\n __slots__ = ()\n def geturl(self):\n if self.fragment:\n return self.url + '#' + self.fragment\n else:\n return self.url\n\nclass SplitResult(_SplitResultBase, _NetlocResultMixinStr):\n __slots__ = ()\n def geturl(self):\n return urlunsplit(self)\n\nclass ParseResult(_ParseResultBase, _NetlocResultMixinStr):\n __slots__ = ()\n def geturl(self):\n return urlunparse(self)\n\n# Structured result objects for bytes data\nclass DefragResultBytes(_DefragResultBase, _ResultMixinBytes):\n __slots__ = ()\n def geturl(self):\n if self.fragment:\n return self.url + b'#' + self.fragment\n else:\n return self.url\n\nclass SplitResultBytes(_SplitResultBase, _NetlocResultMixinBytes):\n __slots__ = ()\n def geturl(self):\n return urlunsplit(self)\n\nclass ParseResultBytes(_ParseResultBase, _NetlocResultMixinBytes):\n __slots__ = ()\n def geturl(self):\n return urlunparse(self)\n\n# Set up the encode/decode result pairs\ndef _fix_result_transcoding():\n _result_pairs = (\n (DefragResult, DefragResultBytes),\n (SplitResult, SplitResultBytes),\n (ParseResult, ParseResultBytes),\n )\n for _decoded, _encoded in _result_pairs:\n _decoded._encoded_counterpart = _encoded\n _encoded._decoded_counterpart = _decoded\n\n_fix_result_transcoding()\ndel _fix_result_transcoding\n\ndef urlparse(url, scheme='', allow_fragments=True):\n """Parse a URL into 6 components:\n <scheme>://<netloc>/<path>;<params>?<query>#<fragment>\n Return a 6-tuple: (scheme, netloc, path, params, query, fragment).\n Note that we don't break the components up in smaller bits\n (e.g. netloc is a single string) and we don't expand % escapes."""\n url, scheme, _coerce_result = _coerce_args(url, scheme)\n splitresult = urlsplit(url, scheme, allow_fragments)\n scheme, netloc, url, query, fragment = splitresult\n if scheme in uses_params and ';' in url:\n url, params = _splitparams(url)\n else:\n params = ''\n result = ParseResult(scheme, netloc, url, params, query, fragment)\n return _coerce_result(result)\n\ndef _splitparams(url):\n if '/' in url:\n i = url.find(';', url.rfind('/'))\n if i < 0:\n return url, ''\n else:\n i = url.find(';')\n return url[:i], url[i+1:]\n\ndef _splitnetloc(url, start=0):\n delim = len(url) # position of end of domain part of url, default is end\n for c in '/?#': # look for delimiters; the order is NOT important\n wdelim = url.find(c, start) # find first of this delim\n if wdelim >= 0: # if found\n delim = min(delim, wdelim) # use earliest delim position\n return url[start:delim], url[delim:] # return (domain, rest)\n\ndef _checknetloc(netloc):\n if not netloc or not any(ord(c) > 127 for c in netloc):\n return\n # looking for characters like \u2100 that expand to 'a/c'\n # IDNA uses NFKC equivalence, so normalize for this check\n import unicodedata\n n = netloc.replace('@', '') # ignore characters already included\n n = n.replace(':', '') # but not the surrounding text\n n = n.replace('#', '')\n n = n.replace('?', '')\n netloc2 = unicodedata.normalize('NFKC', n)\n if n == netloc2:\n return\n for c in '/?#@:':\n if c in netloc2:\n raise ValueError("netloc '" + netloc + "' contains invalid " +\n "characters under NFKC normalization")\n\ndef _remove_unsafe_bytes_from_url(url):\n for b in _UNSAFE_URL_BYTES_TO_REMOVE:\n url = url.replace(b, "")\n return url\n\ndef urlsplit(url, scheme='', allow_fragments=True):\n """Parse a URL into 5 components:\n <scheme>://<netloc>/<path>?<query>#<fragment>\n Return a 5-tuple: (scheme, netloc, path, query, fragment).\n Note that we don't break the components up in smaller bits\n (e.g. netloc is a single string) and we don't expand % escapes."""\n url, scheme, _coerce_result = _coerce_args(url, scheme)\n url = _remove_unsafe_bytes_from_url(url)\n scheme = _remove_unsafe_bytes_from_url(scheme)\n allow_fragments = bool(allow_fragments)\n key = url, scheme, allow_fragments, type(url), type(scheme)\n cached = _parse_cache.get(key, None)\n if cached:\n return _coerce_result(cached)\n if len(_parse_cache) >= MAX_CACHE_SIZE: # avoid runaway growth\n clear_cache()\n netloc = query = fragment = ''\n i = url.find(':')\n if i > 0:\n if url[:i] == 'http': # optimize the common case\n scheme = url[:i].lower()\n url = url[i+1:]\n if url[:2] == '//':\n netloc, url = _splitnetloc(url, 2)\n if (('[' in netloc and ']' not in netloc) or\n (']' in netloc and '[' not in netloc)):\n raise ValueError("Invalid IPv6 URL")\n if allow_fragments and '#' in url:\n url, fragment = url.split('#', 1)\n if '?' in url:\n url, query = url.split('?', 1)\n _checknetloc(netloc)\n v = SplitResult(scheme, netloc, url, query, fragment)\n _parse_cache[key] = v\n return _coerce_result(v)\n for c in url[:i]:\n if c not in scheme_chars:\n break\n else:\n # make sure "url" is not actually a port number (in which case\n # "scheme" is really part of the path)\n rest = url[i+1:]\n if not rest or any(c not in '0123456789' for c in rest):\n # not a port number\n scheme, url = url[:i].lower(), rest\n\n if url[:2] == '//':\n netloc, url = _splitnetloc(url, 2)\n if (('[' in netloc and ']' not in netloc) or\n (']' in netloc and '[' not in netloc)):\n raise ValueError("Invalid IPv6 URL")\n if allow_fragments and '#' in url:\n url, fragment = url.split('#', 1)\n if '?' in url:\n url, query = url.split('?', 1)\n _checknetloc(netloc)\n v = SplitResult(scheme, netloc, url, query, fragment)\n _parse_cache[key] = v\n return _coerce_result(v)\n\ndef urlunparse(components):\n """Put a parsed URL back together again. This may result in a\n slightly different, but equivalent URL, if the URL that was parsed\n originally had redundant delimiters, e.g. a ? with an empty query\n (the draft states that these are equivalent)."""\n scheme, netloc, url, params, query, fragment, _coerce_result = (\n _coerce_args(*components))\n if params:\n url = "%s;%s" % (url, params)\n return _coerce_result(urlunsplit((scheme, netloc, url, query, fragment)))\n\ndef urlunsplit(components):\n """Combine the elements of a tuple as returned by urlsplit() into a\n complete URL as a string. The data argument can be any five-item iterable.\n This may result in a slightly different, but equivalent URL, if the URL that\n was parsed originally had unnecessary delimiters (for example, a ? with an\n empty query; the RFC states that these are equivalent)."""\n scheme, netloc, url, query, fragment, _coerce_result = (\n _coerce_args(*components))\n if netloc or (scheme and scheme in uses_netloc and url[:2] != '//'):\n if url and url[:1] != '/': url = '/' + url\n url = '//' + (netloc or '') + url\n if scheme:\n url = scheme + ':' + url\n if query:\n url = url + '?' + query\n if fragment:\n url = url + '#' + fragment\n return _coerce_result(url)\n\ndef urljoin(base, url, allow_fragments=True):\n """Join a base URL and a possibly relative URL to form an absolute\n interpretation of the latter."""\n if not base:\n return url\n if not url:\n return base\n\n base, url, _coerce_result = _coerce_args(base, url)\n bscheme, bnetloc, bpath, bparams, bquery, bfragment = \\n urlparse(base, '', allow_fragments)\n scheme, netloc, path, params, query, fragment = \\n urlparse(url, bscheme, allow_fragments)\n\n if scheme != bscheme or scheme not in uses_relative:\n return _coerce_result(url)\n if scheme in uses_netloc:\n if netloc:\n return _coerce_result(urlunparse((scheme, netloc, path,\n params, query, fragment)))\n netloc = bnetloc\n\n if not path and not params:\n path = bpath\n params = bparams\n if not query:\n query = bquery\n return _coerce_result(urlunparse((scheme, netloc, path,\n params, query, fragment)))\n\n base_parts = bpath.split('/')\n if base_parts[-1] != '':\n # the last item is not a directory, so will not be taken into account\n # in resolving the relative path\n del base_parts[-1]\n\n # for rfc3986, ignore all base path should the first character be root.\n if path[:1] == '/':\n segments = path.split('/')\n else:\n segments = base_parts + path.split('/')\n # filter out elements that would cause redundant slashes on re-joining\n # the resolved_path\n segments[1:-1] = filter(None, segments[1:-1])\n\n resolved_path = []\n\n for seg in segments:\n if seg == '..':\n try:\n resolved_path.pop()\n except IndexError:\n # ignore any .. segments that would otherwise cause an IndexError\n # when popped from resolved_path if resolving for rfc3986\n pass\n elif seg == '.':\n continue\n else:\n resolved_path.append(seg)\n\n if segments[-1] in ('.', '..'):\n # do some post-processing here. if the last segment was a relative dir,\n # then we need to append the trailing '/'\n resolved_path.append('')\n\n return _coerce_result(urlunparse((scheme, netloc, '/'.join(\n resolved_path) or '/', params, query, fragment)))\n\n\ndef urldefrag(url):\n """Removes any existing fragment from URL.\n\n Returns a tuple of the defragmented URL and the fragment. If\n the URL contained no fragments, the second element is the\n empty string.\n """\n url, _coerce_result = _coerce_args(url)\n if '#' in url:\n s, n, p, a, q, frag = urlparse(url)\n defrag = urlunparse((s, n, p, a, q, ''))\n else:\n frag = ''\n defrag = url\n return _coerce_result(DefragResult(defrag, frag))\n\n_hexdig = '0123456789ABCDEFabcdef'\n_hextobyte = None\n\ndef unquote_to_bytes(string):\n """unquote_to_bytes('abc%20def') -> b'abc def'."""\n # Note: strings are encoded as UTF-8. This is only an issue if it contains\n # unescaped non-ASCII characters, which URIs should not.\n if not string:\n # Is it a string-like object?\n string.split\n return b''\n if isinstance(string, str):\n string = string.encode('utf-8')\n bits = string.split(b'%')\n if len(bits) == 1:\n return string\n res = [bits[0]]\n append = res.append\n # Delay the initialization of the table to not waste memory\n # if the function is never called\n global _hextobyte\n if _hextobyte is None:\n _hextobyte = {(a + b).encode(): bytes([int(a + b, 16)])\n for a in _hexdig for b in _hexdig}\n for item in bits[1:]:\n try:\n append(_hextobyte[item[:2]])\n append(item[2:])\n except KeyError:\n append(b'%')\n append(item)\n return b''.join(res)\n\n_asciire = re.compile('([\x00-\x7f]+)')\n\ndef unquote(string, encoding='utf-8', errors='replace'):\n """Replace %xx escapes by their single-character equivalent. The optional\n encoding and errors parameters specify how to decode percent-encoded\n sequences into Unicode characters, as accepted by the bytes.decode()\n method.\n By default, percent-encoded sequences are decoded with UTF-8, and invalid\n sequences are replaced by a placeholder character.\n\n unquote('abc%20def') -> 'abc def'.\n """\n if '%' not in string:\n string.split\n return string\n if encoding is None:\n encoding = 'utf-8'\n if errors is None:\n errors = 'replace'\n bits = _asciire.split(string)\n res = [bits[0]]\n append = res.append\n for i in range(1, len(bits), 2):\n append(unquote_to_bytes(bits[i]).decode(encoding, errors))\n append(bits[i + 1])\n return ''.join(res)\n\n\ndef parse_qs(qs, keep_blank_values=False, strict_parsing=False,\n encoding='utf-8', errors='replace', max_num_fields=None, separator='&'):\n """Parse a query given as a string argument.\n\n Arguments:\n\n qs: percent-encoded query string to be parsed\n\n keep_blank_values: flag indicating whether blank values in\n percent-encoded queries should be treated as blank strings.\n A true value indicates that blanks should be retained as\n blank strings. The default false value indicates that\n blank values are to be ignored and treated as if they were\n not included.\n\n strict_parsing: flag indicating what to do with parsing errors.\n If false (the default), errors are silently ignored.\n If true, errors raise a ValueError exception.\n\n encoding and errors: specify how to decode percent-encoded sequences\n into Unicode characters, as accepted by the bytes.decode() method.\n\n max_num_fields: int. If set, then throws a ValueError if there\n are more than n fields read by parse_qsl().\n\n separator: str. The symbol to use for separating the query arguments.\n Defaults to &.\n\n Returns a dictionary.\n """\n parsed_result = {}\n pairs = parse_qsl(qs, keep_blank_values, strict_parsing,\n encoding=encoding, errors=errors,\n max_num_fields=max_num_fields, separator=separator)\n for name, value in pairs:\n if name in parsed_result:\n parsed_result[name].append(value)\n else:\n parsed_result[name] = [value]\n return parsed_result\n\n\ndef parse_qsl(qs, keep_blank_values=False, strict_parsing=False,\n encoding='utf-8', errors='replace', max_num_fields=None, separator='&'):\n """Parse a query given as a string argument.\n\n Arguments:\n\n qs: percent-encoded query string to be parsed\n\n keep_blank_values: flag indicating whether blank values in\n percent-encoded queries should be treated as blank strings.\n A true value indicates that blanks should be retained as blank\n strings. The default false value indicates that blank values\n are to be ignored and treated as if they were not included.\n\n strict_parsing: flag indicating what to do with parsing errors. If\n false (the default), errors are silently ignored. If true,\n errors raise a ValueError exception.\n\n encoding and errors: specify how to decode percent-encoded sequences\n into Unicode characters, as accepted by the bytes.decode() method.\n\n max_num_fields: int. If set, then throws a ValueError\n if there are more than n fields read by parse_qsl().\n\n separator: str. The symbol to use for separating the query arguments.\n Defaults to &.\n\n Returns a list, as G-d intended.\n """\n qs, _coerce_result = _coerce_args(qs)\n\n if not separator or (not isinstance(separator, (str, bytes))):\n raise ValueError("Separator must be of type string or bytes.")\n\n # If max_num_fields is defined then check that the number of fields\n # is less than max_num_fields. This prevents a memory exhaustion DOS\n # attack via post bodies with many fields.\n if max_num_fields is not None:\n num_fields = 1 + qs.count(separator)\n if max_num_fields < num_fields:\n raise ValueError('Max number of fields exceeded')\n\n pairs = [s1 for s1 in qs.split(separator)]\n r = []\n for name_value in pairs:\n if not name_value and not strict_parsing:\n continue\n nv = name_value.split('=', 1)\n if len(nv) != 2:\n if strict_parsing:\n raise ValueError("bad query field: %r" % (name_value,))\n # Handle case of a control-name with no equal sign\n if keep_blank_values:\n nv.append('')\n else:\n continue\n if len(nv[1]) or keep_blank_values:\n name = nv[0].replace('+', ' ')\n name = unquote(name, encoding=encoding, errors=errors)\n name = _coerce_result(name)\n value = nv[1].replace('+', ' ')\n value = unquote(value, encoding=encoding, errors=errors)\n value = _coerce_result(value)\n r.append((name, value))\n return r\n\ndef unquote_plus(string, encoding='utf-8', errors='replace'):\n """Like unquote(), but also replace plus signs by spaces, as required for\n unquoting HTML form values.\n\n unquote_plus('%7e/abc+def') -> '~/abc def'\n """\n string = string.replace('+', ' ')\n return unquote(string, encoding, errors)\n\n_ALWAYS_SAFE = frozenset(b'ABCDEFGHIJKLMNOPQRSTUVWXYZ'\n b'abcdefghijklmnopqrstuvwxyz'\n b'0123456789'\n b'_.-')\n_ALWAYS_SAFE_BYTES = bytes(_ALWAYS_SAFE)\n_safe_quoters = {}\n\nclass Quoter(collections.defaultdict):\n """A mapping from bytes (in range(0,256)) to strings.\n\n String values are percent-encoded byte values, unless the key < 128, and\n in the "safe" set (either the specified safe set, or default set).\n """\n # Keeps a cache internally, using defaultdict, for efficiency (lookups\n # of cached keys don't call Python code at all).\n def __init__(self, safe):\n """safe: bytes object."""\n self.safe = _ALWAYS_SAFE.union(safe)\n\n def __repr__(self):\n # Without this, will just display as a defaultdict\n return "<%s %r>" % (self.__class__.__name__, dict(self))\n\n def __missing__(self, b):\n # Handle a cache miss. Store quoted string in cache and return.\n res = chr(b) if b in self.safe else '%{:02X}'.format(b)\n self[b] = res\n return res\n\ndef quote(string, safe='/', encoding=None, errors=None):\n """quote('abc def') -> 'abc%20def'\n\n Each part of a URL, e.g. the path info, the query, etc., has a\n different set of reserved characters that must be quoted.\n\n RFC 2396 Uniform Resource Identifiers (URI): Generic Syntax lists\n the following reserved characters.\n\n reserved = ";" | "/" | "?" | ":" | "@" | "&" | "=" | "+" |\n "$" | ","\n\n Each of these characters is reserved in some component of a URL,\n but not necessarily in all of them.\n\n By default, the quote function is intended for quoting the path\n section of a URL. Thus, it will not encode '/'. This character\n is reserved, but in typical usage the quote function is being\n called on a path where the existing slash characters are used as\n reserved characters.\n\n string and safe may be either str or bytes objects. encoding and errors\n must not be specified if string is a bytes object.\n\n The optional encoding and errors parameters specify how to deal with\n non-ASCII characters, as accepted by the str.encode method.\n By default, encoding='utf-8' (characters are encoded with UTF-8), and\n errors='strict' (unsupported characters raise a UnicodeEncodeError).\n """\n if isinstance(string, str):\n if not string:\n return string\n if encoding is None:\n encoding = 'utf-8'\n if errors is None:\n errors = 'strict'\n string = string.encode(encoding, errors)\n else:\n if encoding is not None:\n raise TypeError("quote() doesn't support 'encoding' for bytes")\n if errors is not None:\n raise TypeError("quote() doesn't support 'errors' for bytes")\n return quote_from_bytes(string, safe)\n\ndef quote_plus(string, safe='', encoding=None, errors=None):\n """Like quote(), but also replace ' ' with '+', as required for quoting\n HTML form values. Plus signs in the original string are escaped unless\n they are included in safe. It also does not have safe default to '/'.\n """\n # Check if ' ' in string, where string may either be a str or bytes. If\n # there are no spaces, the regular quote will produce the right answer.\n if ((isinstance(string, str) and ' ' not in string) or\n (isinstance(string, bytes) and b' ' not in string)):\n return quote(string, safe, encoding, errors)\n if isinstance(safe, str):\n space = ' '\n else:\n space = b' '\n string = quote(string, safe + space, encoding, errors)\n return string.replace(' ', '+')\n\ndef quote_from_bytes(bs, safe='/'):\n """Like quote(), but accepts a bytes object rather than a str, and does\n not perform string-to-bytes encoding. It always returns an ASCII string.\n quote_from_bytes(b'abc def\x3f') -> 'abc%20def%3f'\n """\n if not isinstance(bs, (bytes, bytearray)):\n raise TypeError("quote_from_bytes() expected bytes")\n if not bs:\n return ''\n if isinstance(safe, str):\n # Normalize 'safe' by converting to bytes and removing non-ASCII chars\n safe = safe.encode('ascii', 'ignore')\n else:\n safe = bytes([c for c in safe if c < 128])\n if not bs.rstrip(_ALWAYS_SAFE_BYTES + safe):\n return bs.decode()\n try:\n quoter = _safe_quoters[safe]\n except KeyError:\n _safe_quoters[safe] = quoter = Quoter(safe).__getitem__\n return ''.join([quoter(char) for char in bs])\n\ndef urlencode(query, doseq=False, safe='', encoding=None, errors=None,\n quote_via=quote_plus):\n """Encode a dict or sequence of two-element tuples into a URL query string.\n\n If any values in the query arg are sequences and doseq is true, each\n sequence element is converted to a separate parameter.\n\n If the query arg is a sequence of two-element tuples, the order of the\n parameters in the output will match the order of parameters in the\n input.\n\n The components of a query arg may each be either a string or a bytes type.\n\n The safe, encoding, and errors parameters are passed down to the function\n specified by quote_via (encoding and errors only if a component is a str).\n """\n\n if hasattr(query, "items"):\n query = query.items()\n else:\n # It's a bother at times that strings and string-like objects are\n # sequences.\n try:\n # non-sequence items should not work with len()\n # non-empty strings will fail this\n if len(query) and not isinstance(query[0], tuple):\n raise TypeError\n # Zero-length sequences of all types will get here and succeed,\n # but that's a minor nit. Since the original implementation\n # allowed empty dicts that type of behavior probably should be\n # preserved for consistency\n except TypeError:\n ty, va, tb = sys.exc_info()\n raise TypeError("not a valid non-string sequence "\n "or mapping object").with_traceback(tb)\n\n l = []\n if not doseq:\n for k, v in query:\n if isinstance(k, bytes):\n k = quote_via(k, safe)\n else:\n k = quote_via(str(k), safe, encoding, errors)\n\n if isinstance(v, bytes):\n v = quote_via(v, safe)\n else:\n v = quote_via(str(v), safe, encoding, errors)\n l.append(k + '=' + v)\n else:\n for k, v in query:\n if isinstance(k, bytes):\n k = quote_via(k, safe)\n else:\n k = quote_via(str(k), safe, encoding, errors)\n\n if isinstance(v, bytes):\n v = quote_via(v, safe)\n l.append(k + '=' + v)\n elif isinstance(v, str):\n v = quote_via(v, safe, encoding, errors)\n l.append(k + '=' + v)\n else:\n try:\n # Is this a sufficient test for sequence-ness?\n x = len(v)\n except TypeError:\n # not a sequence\n v = quote_via(str(v), safe, encoding, errors)\n l.append(k + '=' + v)\n else:\n # loop over the sequence\n for elt in v:\n if isinstance(elt, bytes):\n elt = quote_via(elt, safe)\n else:\n elt = quote_via(str(elt), safe, encoding, errors)\n l.append(k + '=' + elt)\n return '&'.join(l)\n\ndef to_bytes(url):\n """to_bytes(u"URL") --> 'URL'."""\n # Most URL schemes require ASCII. If that changes, the conversion\n # can be relaxed.\n # XXX get rid of to_bytes()\n if isinstance(url, str):\n try:\n url = url.encode("ASCII").decode()\n except UnicodeError:\n raise UnicodeError("URL " + repr(url) +\n " contains non-ASCII characters")\n return url\n\ndef unwrap(url):\n """unwrap('<URL:type://host/path>') --> 'type://host/path'."""\n url = str(url).strip()\n if url[:1] == '<' and url[-1:] == '>':\n url = url[1:-1].strip()\n if url[:4] == 'URL:': url = url[4:].strip()\n return url\n\n_typeprog = None\ndef splittype(url):\n """splittype('type:opaquestring') --> 'type', 'opaquestring'."""\n global _typeprog\n if _typeprog is None:\n _typeprog = re.compile('([^/:]+):(.*)', re.DOTALL)\n\n match = _typeprog.match(url)\n if match:\n scheme, data = match.groups()\n return scheme.lower(), data\n return None, url\n\n_hostprog = None\ndef splithost(url):\n """splithost('//host[:port]/path') --> 'host[:port]', '/path'."""\n global _hostprog\n if _hostprog is None:\n _hostprog = re.compile('//([^/#?]*)(.*)', re.DOTALL)\n\n match = _hostprog.match(url)\n if match:\n host_port, path = match.groups()\n if path and path[0] != '/':\n path = '/' + path\n return host_port, path\n return None, url\n\ndef splituser(host):\n """splituser('user[:passwd]@host[:port]') --> 'user[:passwd]', 'host[:port]'."""\n user, delim, host = host.rpartition('@')\n return (user if delim else None), host\n\ndef splitpasswd(user):\n """splitpasswd('user:passwd') -> 'user', 'passwd'."""\n user, delim, passwd = user.partition(':')\n return user, (passwd if delim else None)\n\n# splittag('/path#tag') --> '/path', 'tag'\n_portprog = None\ndef splitport(host):\n """splitport('host:port') --> 'host', 'port'."""\n global _portprog\n if _portprog is None:\n _portprog = re.compile('(.*):([0-9]*)$', re.DOTALL)\n\n match = _portprog.match(host)\n if match:\n host, port = match.groups()\n if port:\n return host, port\n return host, None\n\ndef splitnport(host, defport=-1):\n """Split host and port, returning numeric port.\n Return given default port if no ':' found; defaults to -1.\n Return numerical port if a valid number are found after ':'.\n Return None if ':' but not a valid number."""\n host, delim, port = host.rpartition(':')\n if not delim:\n host = port\n elif port:\n try:\n nport = int(port)\n except ValueError:\n nport = None\n return host, nport\n return host, defport\n\ndef splitquery(url):\n """splitquery('/path?query') --> '/path', 'query'."""\n path, delim, query = url.rpartition('?')\n if delim:\n return path, query\n return url, None\n\ndef splittag(url):\n """splittag('/path#tag') --> '/path', 'tag'."""\n path, delim, tag = url.rpartition('#')\n if delim:\n return path, tag\n return url, None\n\ndef splitattr(url):\n """splitattr('/path;attr1=value1;attr2=value2;...') ->\n '/path', ['attr1=value1', 'attr2=value2', ...]."""\n words = url.split(';')\n return words[0], words[1:]\n\ndef splitvalue(attr):\n """splitvalue('attr=value') --> 'attr', 'value'."""\n attr, delim, value = attr.partition('=')\n return attr, (value if delim else None)\n
.venv\Lib\site-packages\bleach\_vendor\parse.py
parse.py
Python
39,023
0.95
0.248609
0.082237
react-lib
273
2024-07-06T05:42:20.427215
MIT
false
d23bd5c073e276233da8edab682bfc72
46af966e33b6247ae1d57d9459115a3eb46cda9f809c9f14e052abc2fe8dacb2 parse.py\n
.venv\Lib\site-packages\bleach\_vendor\parse.py.SHA256SUM
parse.py.SHA256SUM
Other
75
0.5
0
0
node-utils
882
2024-05-17T19:50:12.682116
BSD-3-Clause
false
be29e2f9baf14b31c18f497cabb0374b
=======================\nVendored library policy\n=======================\n\nTo simplify Bleach development, we're now vendoring certain libraries that\nwe use.\n\nVendored libraries must follow these rules:\n\n1. Vendored libraries must be pure Python--no compiling.\n2. Source code for the libary is included in this directory.\n3. License must be included in this repo and in the Bleach distribution.\n4. Requirements of the library become requirements of Bleach.\n5. No modifications to the library may be made.\n\n\nAdding/Updating a vendored library\n==================================\n\nWay to vendor a library or update a version:\n\n1. Update ``vendor.txt`` with the library, version, and hash. You can use\n `hashin <https://pypi.org/project/hashin/>`_.\n2. Remove all old files and directories of the old version.\n3. Run ``pip_install_vendor.sh`` and check everything it produced in including\n the ``.dist-info`` directory and contents.\n4. Update the bleach minor version in the next release.\n\n\nReviewing a change involving a vendored library\n===============================================\n\nWay to verify a vendored library addition/update:\n\n1. Pull down the branch.\n2. Delete all the old files and directories of the old version.\n3. Run ``pip_install_vendor.sh``.\n4. Run ``git diff`` and verify there are no changes.\n\n\nNB: the current ``vendor.txt`` was generated with pip 20.2.3, which might be necessary to reproduce the dist-info\n\n\nRemoving/Unvendoring a vendored library\n=======================================\n\nA vendored library might be removed for any of the following reasons:\n\n* it violates the vendoring policy (e.g. an incompatible license\n change)\n* a suitable replacement is found\n* bleach has the resources to test and QA new bleach releases against\n multiple versions of the previously vendored library\n\nTo unvendor a library:\n\n1. Remove the library and its hashes from ``vendor.txt``.\n2. Remove library files and directories from this directory.\n3. Run ``install_vendor.sh`` and check the previously vendored library including\n the ``.dist-info`` directory and contents is not installed.\n4. Update the bleach minor version in the next release.\n
.venv\Lib\site-packages\bleach\_vendor\README.rst
README.rst
Other
2,160
0.95
0.032787
0.071429
awesome-app
385
2023-07-16T20:12:16.561664
Apache-2.0
false
3296d3b9a636fad54d8c78f9f53d00a4
html5lib==1.1 \\n --hash=sha256:0d78f8fde1c230e99fe37986a60526d7049ed4bf8a9fadbad5f00e22e58e041d \\n --hash=sha256:b2e5b40261e20f354d198eae92afc10d750afb487ed5e50f9c4eaf07c184146f\n
.venv\Lib\site-packages\bleach\_vendor\vendor.txt
vendor.txt
Other
184
0.7
0
0
vue-tools
226
2025-04-01T06:46:44.962293
MIT
false
01556ac939106d78db06982fbec2be46
from __future__ import absolute_import, division, unicode_literals\n\nimport string\n\nEOF = None\n\nE = {\n "null-character":\n "Null character in input stream, replaced with U+FFFD.",\n "invalid-codepoint":\n "Invalid codepoint in stream.",\n "incorrectly-placed-solidus":\n "Solidus (/) incorrectly placed in tag.",\n "incorrect-cr-newline-entity":\n "Incorrect CR newline entity, replaced with LF.",\n "illegal-windows-1252-entity":\n "Entity used with illegal number (windows-1252 reference).",\n "cant-convert-numeric-entity":\n "Numeric entity couldn't be converted to character "\n "(codepoint U+%(charAsInt)08x).",\n "illegal-codepoint-for-numeric-entity":\n "Numeric entity represents an illegal codepoint: "\n "U+%(charAsInt)08x.",\n "numeric-entity-without-semicolon":\n "Numeric entity didn't end with ';'.",\n "expected-numeric-entity-but-got-eof":\n "Numeric entity expected. Got end of file instead.",\n "expected-numeric-entity":\n "Numeric entity expected but none found.",\n "named-entity-without-semicolon":\n "Named entity didn't end with ';'.",\n "expected-named-entity":\n "Named entity expected. Got none.",\n "attributes-in-end-tag":\n "End tag contains unexpected attributes.",\n 'self-closing-flag-on-end-tag':\n "End tag contains unexpected self-closing flag.",\n "expected-tag-name-but-got-right-bracket":\n "Expected tag name. Got '>' instead.",\n "expected-tag-name-but-got-question-mark":\n "Expected tag name. Got '?' instead. (HTML doesn't "\n "support processing instructions.)",\n "expected-tag-name":\n "Expected tag name. Got something else instead",\n "expected-closing-tag-but-got-right-bracket":\n "Expected closing tag. Got '>' instead. Ignoring '</>'.",\n "expected-closing-tag-but-got-eof":\n "Expected closing tag. Unexpected end of file.",\n "expected-closing-tag-but-got-char":\n "Expected closing tag. Unexpected character '%(data)s' found.",\n "eof-in-tag-name":\n "Unexpected end of file in the tag name.",\n "expected-attribute-name-but-got-eof":\n "Unexpected end of file. Expected attribute name instead.",\n "eof-in-attribute-name":\n "Unexpected end of file in attribute name.",\n "invalid-character-in-attribute-name":\n "Invalid character in attribute name",\n "duplicate-attribute":\n "Dropped duplicate attribute on tag.",\n "expected-end-of-tag-name-but-got-eof":\n "Unexpected end of file. Expected = or end of tag.",\n "expected-attribute-value-but-got-eof":\n "Unexpected end of file. Expected attribute value.",\n "expected-attribute-value-but-got-right-bracket":\n "Expected attribute value. Got '>' instead.",\n 'equals-in-unquoted-attribute-value':\n "Unexpected = in unquoted attribute",\n 'unexpected-character-in-unquoted-attribute-value':\n "Unexpected character in unquoted attribute",\n "invalid-character-after-attribute-name":\n "Unexpected character after attribute name.",\n "unexpected-character-after-attribute-value":\n "Unexpected character after attribute value.",\n "eof-in-attribute-value-double-quote":\n "Unexpected end of file in attribute value (\").",\n "eof-in-attribute-value-single-quote":\n "Unexpected end of file in attribute value (').",\n "eof-in-attribute-value-no-quotes":\n "Unexpected end of file in attribute value.",\n "unexpected-EOF-after-solidus-in-tag":\n "Unexpected end of file in tag. Expected >",\n "unexpected-character-after-solidus-in-tag":\n "Unexpected character after / in tag. Expected >",\n "expected-dashes-or-doctype":\n "Expected '--' or 'DOCTYPE'. Not found.",\n "unexpected-bang-after-double-dash-in-comment":\n "Unexpected ! after -- in comment",\n "unexpected-space-after-double-dash-in-comment":\n "Unexpected space after -- in comment",\n "incorrect-comment":\n "Incorrect comment.",\n "eof-in-comment":\n "Unexpected end of file in comment.",\n "eof-in-comment-end-dash":\n "Unexpected end of file in comment (-)",\n "unexpected-dash-after-double-dash-in-comment":\n "Unexpected '-' after '--' found in comment.",\n "eof-in-comment-double-dash":\n "Unexpected end of file in comment (--).",\n "eof-in-comment-end-space-state":\n "Unexpected end of file in comment.",\n "eof-in-comment-end-bang-state":\n "Unexpected end of file in comment.",\n "unexpected-char-in-comment":\n "Unexpected character in comment found.",\n "need-space-after-doctype":\n "No space after literal string 'DOCTYPE'.",\n "expected-doctype-name-but-got-right-bracket":\n "Unexpected > character. Expected DOCTYPE name.",\n "expected-doctype-name-but-got-eof":\n "Unexpected end of file. Expected DOCTYPE name.",\n "eof-in-doctype-name":\n "Unexpected end of file in DOCTYPE name.",\n "eof-in-doctype":\n "Unexpected end of file in DOCTYPE.",\n "expected-space-or-right-bracket-in-doctype":\n "Expected space or '>'. Got '%(data)s'",\n "unexpected-end-of-doctype":\n "Unexpected end of DOCTYPE.",\n "unexpected-char-in-doctype":\n "Unexpected character in DOCTYPE.",\n "eof-in-innerhtml":\n "XXX innerHTML EOF",\n "unexpected-doctype":\n "Unexpected DOCTYPE. Ignored.",\n "non-html-root":\n "html needs to be the first start tag.",\n "expected-doctype-but-got-eof":\n "Unexpected End of file. Expected DOCTYPE.",\n "unknown-doctype":\n "Erroneous DOCTYPE.",\n "expected-doctype-but-got-chars":\n "Unexpected non-space characters. Expected DOCTYPE.",\n "expected-doctype-but-got-start-tag":\n "Unexpected start tag (%(name)s). Expected DOCTYPE.",\n "expected-doctype-but-got-end-tag":\n "Unexpected end tag (%(name)s). Expected DOCTYPE.",\n "end-tag-after-implied-root":\n "Unexpected end tag (%(name)s) after the (implied) root element.",\n "expected-named-closing-tag-but-got-eof":\n "Unexpected end of file. Expected end tag (%(name)s).",\n "two-heads-are-not-better-than-one":\n "Unexpected start tag head in existing head. Ignored.",\n "unexpected-end-tag":\n "Unexpected end tag (%(name)s). Ignored.",\n "unexpected-start-tag-out-of-my-head":\n "Unexpected start tag (%(name)s) that can be in head. Moved.",\n "unexpected-start-tag":\n "Unexpected start tag (%(name)s).",\n "missing-end-tag":\n "Missing end tag (%(name)s).",\n "missing-end-tags":\n "Missing end tags (%(name)s).",\n "unexpected-start-tag-implies-end-tag":\n "Unexpected start tag (%(startName)s) "\n "implies end tag (%(endName)s).",\n "unexpected-start-tag-treated-as":\n "Unexpected start tag (%(originalName)s). Treated as %(newName)s.",\n "deprecated-tag":\n "Unexpected start tag %(name)s. Don't use it!",\n "unexpected-start-tag-ignored":\n "Unexpected start tag %(name)s. Ignored.",\n "expected-one-end-tag-but-got-another":\n "Unexpected end tag (%(gotName)s). "\n "Missing end tag (%(expectedName)s).",\n "end-tag-too-early":\n "End tag (%(name)s) seen too early. Expected other end tag.",\n "end-tag-too-early-named":\n "Unexpected end tag (%(gotName)s). Expected end tag (%(expectedName)s).",\n "end-tag-too-early-ignored":\n "End tag (%(name)s) seen too early. Ignored.",\n "adoption-agency-1.1":\n "End tag (%(name)s) violates step 1, "\n "paragraph 1 of the adoption agency algorithm.",\n "adoption-agency-1.2":\n "End tag (%(name)s) violates step 1, "\n "paragraph 2 of the adoption agency algorithm.",\n "adoption-agency-1.3":\n "End tag (%(name)s) violates step 1, "\n "paragraph 3 of the adoption agency algorithm.",\n "adoption-agency-4.4":\n "End tag (%(name)s) violates step 4, "\n "paragraph 4 of the adoption agency algorithm.",\n "unexpected-end-tag-treated-as":\n "Unexpected end tag (%(originalName)s). Treated as %(newName)s.",\n "no-end-tag":\n "This element (%(name)s) has no end tag.",\n "unexpected-implied-end-tag-in-table":\n "Unexpected implied end tag (%(name)s) in the table phase.",\n "unexpected-implied-end-tag-in-table-body":\n "Unexpected implied end tag (%(name)s) in the table body phase.",\n "unexpected-char-implies-table-voodoo":\n "Unexpected non-space characters in "\n "table context caused voodoo mode.",\n "unexpected-hidden-input-in-table":\n "Unexpected input with type hidden in table context.",\n "unexpected-form-in-table":\n "Unexpected form in table context.",\n "unexpected-start-tag-implies-table-voodoo":\n "Unexpected start tag (%(name)s) in "\n "table context caused voodoo mode.",\n "unexpected-end-tag-implies-table-voodoo":\n "Unexpected end tag (%(name)s) in "\n "table context caused voodoo mode.",\n "unexpected-cell-in-table-body":\n "Unexpected table cell start tag (%(name)s) "\n "in the table body phase.",\n "unexpected-cell-end-tag":\n "Got table cell end tag (%(name)s) "\n "while required end tags are missing.",\n "unexpected-end-tag-in-table-body":\n "Unexpected end tag (%(name)s) in the table body phase. Ignored.",\n "unexpected-implied-end-tag-in-table-row":\n "Unexpected implied end tag (%(name)s) in the table row phase.",\n "unexpected-end-tag-in-table-row":\n "Unexpected end tag (%(name)s) in the table row phase. Ignored.",\n "unexpected-select-in-select":\n "Unexpected select start tag in the select phase "\n "treated as select end tag.",\n "unexpected-input-in-select":\n "Unexpected input start tag in the select phase.",\n "unexpected-start-tag-in-select":\n "Unexpected start tag token (%(name)s in the select phase. "\n "Ignored.",\n "unexpected-end-tag-in-select":\n "Unexpected end tag (%(name)s) in the select phase. Ignored.",\n "unexpected-table-element-start-tag-in-select-in-table":\n "Unexpected table element start tag (%(name)s) in the select in table phase.",\n "unexpected-table-element-end-tag-in-select-in-table":\n "Unexpected table element end tag (%(name)s) in the select in table phase.",\n "unexpected-char-after-body":\n "Unexpected non-space characters in the after body phase.",\n "unexpected-start-tag-after-body":\n "Unexpected start tag token (%(name)s)"\n " in the after body phase.",\n "unexpected-end-tag-after-body":\n "Unexpected end tag token (%(name)s)"\n " in the after body phase.",\n "unexpected-char-in-frameset":\n "Unexpected characters in the frameset phase. Characters ignored.",\n "unexpected-start-tag-in-frameset":\n "Unexpected start tag token (%(name)s)"\n " in the frameset phase. Ignored.",\n "unexpected-frameset-in-frameset-innerhtml":\n "Unexpected end tag token (frameset) "\n "in the frameset phase (innerHTML).",\n "unexpected-end-tag-in-frameset":\n "Unexpected end tag token (%(name)s)"\n " in the frameset phase. Ignored.",\n "unexpected-char-after-frameset":\n "Unexpected non-space characters in the "\n "after frameset phase. Ignored.",\n "unexpected-start-tag-after-frameset":\n "Unexpected start tag (%(name)s)"\n " in the after frameset phase. Ignored.",\n "unexpected-end-tag-after-frameset":\n "Unexpected end tag (%(name)s)"\n " in the after frameset phase. Ignored.",\n "unexpected-end-tag-after-body-innerhtml":\n "Unexpected end tag after body(innerHtml)",\n "expected-eof-but-got-char":\n "Unexpected non-space characters. Expected end of file.",\n "expected-eof-but-got-start-tag":\n "Unexpected start tag (%(name)s)"\n ". Expected end of file.",\n "expected-eof-but-got-end-tag":\n "Unexpected end tag (%(name)s)"\n ". Expected end of file.",\n "eof-in-table":\n "Unexpected end of file. Expected table content.",\n "eof-in-select":\n "Unexpected end of file. Expected select content.",\n "eof-in-frameset":\n "Unexpected end of file. Expected frameset content.",\n "eof-in-script-in-script":\n "Unexpected end of file. Expected script content.",\n "eof-in-foreign-lands":\n "Unexpected end of file. Expected foreign content",\n "non-void-element-with-trailing-solidus":\n "Trailing solidus not allowed on element %(name)s",\n "unexpected-html-element-in-foreign-content":\n "Element %(name)s not allowed in a non-html context",\n "unexpected-end-tag-before-html":\n "Unexpected end tag (%(name)s) before html.",\n "unexpected-inhead-noscript-tag":\n "Element %(name)s not allowed in a inhead-noscript context",\n "eof-in-head-noscript":\n "Unexpected end of file. Expected inhead-noscript content",\n "char-in-head-noscript":\n "Unexpected non-space character. Expected inhead-noscript content",\n "XXX-undefined-error":\n "Undefined error (this sucks and should be fixed)",\n}\n\nnamespaces = {\n "html": "http://www.w3.org/1999/xhtml",\n "mathml": "http://www.w3.org/1998/Math/MathML",\n "svg": "http://www.w3.org/2000/svg",\n "xlink": "http://www.w3.org/1999/xlink",\n "xml": "http://www.w3.org/XML/1998/namespace",\n "xmlns": "http://www.w3.org/2000/xmlns/"\n}\n\nscopingElements = frozenset([\n (namespaces["html"], "applet"),\n (namespaces["html"], "caption"),\n (namespaces["html"], "html"),\n (namespaces["html"], "marquee"),\n (namespaces["html"], "object"),\n (namespaces["html"], "table"),\n (namespaces["html"], "td"),\n (namespaces["html"], "th"),\n (namespaces["mathml"], "mi"),\n (namespaces["mathml"], "mo"),\n (namespaces["mathml"], "mn"),\n (namespaces["mathml"], "ms"),\n (namespaces["mathml"], "mtext"),\n (namespaces["mathml"], "annotation-xml"),\n (namespaces["svg"], "foreignObject"),\n (namespaces["svg"], "desc"),\n (namespaces["svg"], "title"),\n])\n\nformattingElements = frozenset([\n (namespaces["html"], "a"),\n (namespaces["html"], "b"),\n (namespaces["html"], "big"),\n (namespaces["html"], "code"),\n (namespaces["html"], "em"),\n (namespaces["html"], "font"),\n (namespaces["html"], "i"),\n (namespaces["html"], "nobr"),\n (namespaces["html"], "s"),\n (namespaces["html"], "small"),\n (namespaces["html"], "strike"),\n (namespaces["html"], "strong"),\n (namespaces["html"], "tt"),\n (namespaces["html"], "u")\n])\n\nspecialElements = frozenset([\n (namespaces["html"], "address"),\n (namespaces["html"], "applet"),\n (namespaces["html"], "area"),\n (namespaces["html"], "article"),\n (namespaces["html"], "aside"),\n (namespaces["html"], "base"),\n (namespaces["html"], "basefont"),\n (namespaces["html"], "bgsound"),\n (namespaces["html"], "blockquote"),\n (namespaces["html"], "body"),\n (namespaces["html"], "br"),\n (namespaces["html"], "button"),\n (namespaces["html"], "caption"),\n (namespaces["html"], "center"),\n (namespaces["html"], "col"),\n (namespaces["html"], "colgroup"),\n (namespaces["html"], "command"),\n (namespaces["html"], "dd"),\n (namespaces["html"], "details"),\n (namespaces["html"], "dir"),\n (namespaces["html"], "div"),\n (namespaces["html"], "dl"),\n (namespaces["html"], "dt"),\n (namespaces["html"], "embed"),\n (namespaces["html"], "fieldset"),\n (namespaces["html"], "figure"),\n (namespaces["html"], "footer"),\n (namespaces["html"], "form"),\n (namespaces["html"], "frame"),\n (namespaces["html"], "frameset"),\n (namespaces["html"], "h1"),\n (namespaces["html"], "h2"),\n (namespaces["html"], "h3"),\n (namespaces["html"], "h4"),\n (namespaces["html"], "h5"),\n (namespaces["html"], "h6"),\n (namespaces["html"], "head"),\n (namespaces["html"], "header"),\n (namespaces["html"], "hr"),\n (namespaces["html"], "html"),\n (namespaces["html"], "iframe"),\n # Note that image is commented out in the spec as "this isn't an\n # element that can end up on the stack, so it doesn't matter,"\n (namespaces["html"], "image"),\n (namespaces["html"], "img"),\n (namespaces["html"], "input"),\n (namespaces["html"], "isindex"),\n (namespaces["html"], "li"),\n (namespaces["html"], "link"),\n (namespaces["html"], "listing"),\n (namespaces["html"], "marquee"),\n (namespaces["html"], "menu"),\n (namespaces["html"], "meta"),\n (namespaces["html"], "nav"),\n (namespaces["html"], "noembed"),\n (namespaces["html"], "noframes"),\n (namespaces["html"], "noscript"),\n (namespaces["html"], "object"),\n (namespaces["html"], "ol"),\n (namespaces["html"], "p"),\n (namespaces["html"], "param"),\n (namespaces["html"], "plaintext"),\n (namespaces["html"], "pre"),\n (namespaces["html"], "script"),\n (namespaces["html"], "section"),\n (namespaces["html"], "select"),\n (namespaces["html"], "style"),\n (namespaces["html"], "table"),\n (namespaces["html"], "tbody"),\n (namespaces["html"], "td"),\n (namespaces["html"], "textarea"),\n (namespaces["html"], "tfoot"),\n (namespaces["html"], "th"),\n (namespaces["html"], "thead"),\n (namespaces["html"], "title"),\n (namespaces["html"], "tr"),\n (namespaces["html"], "ul"),\n (namespaces["html"], "wbr"),\n (namespaces["html"], "xmp"),\n (namespaces["svg"], "foreignObject")\n])\n\nhtmlIntegrationPointElements = frozenset([\n (namespaces["mathml"], "annotation-xml"),\n (namespaces["svg"], "foreignObject"),\n (namespaces["svg"], "desc"),\n (namespaces["svg"], "title")\n])\n\nmathmlTextIntegrationPointElements = frozenset([\n (namespaces["mathml"], "mi"),\n (namespaces["mathml"], "mo"),\n (namespaces["mathml"], "mn"),\n (namespaces["mathml"], "ms"),\n (namespaces["mathml"], "mtext")\n])\n\nadjustSVGAttributes = {\n "attributename": "attributeName",\n "attributetype": "attributeType",\n "basefrequency": "baseFrequency",\n "baseprofile": "baseProfile",\n "calcmode": "calcMode",\n "clippathunits": "clipPathUnits",\n "contentscripttype": "contentScriptType",\n "contentstyletype": "contentStyleType",\n "diffuseconstant": "diffuseConstant",\n "edgemode": "edgeMode",\n "externalresourcesrequired": "externalResourcesRequired",\n "filterres": "filterRes",\n "filterunits": "filterUnits",\n "glyphref": "glyphRef",\n "gradienttransform": "gradientTransform",\n "gradientunits": "gradientUnits",\n "kernelmatrix": "kernelMatrix",\n "kernelunitlength": "kernelUnitLength",\n "keypoints": "keyPoints",\n "keysplines": "keySplines",\n "keytimes": "keyTimes",\n "lengthadjust": "lengthAdjust",\n "limitingconeangle": "limitingConeAngle",\n "markerheight": "markerHeight",\n "markerunits": "markerUnits",\n "markerwidth": "markerWidth",\n "maskcontentunits": "maskContentUnits",\n "maskunits": "maskUnits",\n "numoctaves": "numOctaves",\n "pathlength": "pathLength",\n "patterncontentunits": "patternContentUnits",\n "patterntransform": "patternTransform",\n "patternunits": "patternUnits",\n "pointsatx": "pointsAtX",\n "pointsaty": "pointsAtY",\n "pointsatz": "pointsAtZ",\n "preservealpha": "preserveAlpha",\n "preserveaspectratio": "preserveAspectRatio",\n "primitiveunits": "primitiveUnits",\n "refx": "refX",\n "refy": "refY",\n "repeatcount": "repeatCount",\n "repeatdur": "repeatDur",\n "requiredextensions": "requiredExtensions",\n "requiredfeatures": "requiredFeatures",\n "specularconstant": "specularConstant",\n "specularexponent": "specularExponent",\n "spreadmethod": "spreadMethod",\n "startoffset": "startOffset",\n "stddeviation": "stdDeviation",\n "stitchtiles": "stitchTiles",\n "surfacescale": "surfaceScale",\n "systemlanguage": "systemLanguage",\n "tablevalues": "tableValues",\n "targetx": "targetX",\n "targety": "targetY",\n "textlength": "textLength",\n "viewbox": "viewBox",\n "viewtarget": "viewTarget",\n "xchannelselector": "xChannelSelector",\n "ychannelselector": "yChannelSelector",\n "zoomandpan": "zoomAndPan"\n}\n\nadjustMathMLAttributes = {"definitionurl": "definitionURL"}\n\nadjustForeignAttributes = {\n "xlink:actuate": ("xlink", "actuate", namespaces["xlink"]),\n "xlink:arcrole": ("xlink", "arcrole", namespaces["xlink"]),\n "xlink:href": ("xlink", "href", namespaces["xlink"]),\n "xlink:role": ("xlink", "role", namespaces["xlink"]),\n "xlink:show": ("xlink", "show", namespaces["xlink"]),\n "xlink:title": ("xlink", "title", namespaces["xlink"]),\n "xlink:type": ("xlink", "type", namespaces["xlink"]),\n "xml:base": ("xml", "base", namespaces["xml"]),\n "xml:lang": ("xml", "lang", namespaces["xml"]),\n "xml:space": ("xml", "space", namespaces["xml"]),\n "xmlns": (None, "xmlns", namespaces["xmlns"]),\n "xmlns:xlink": ("xmlns", "xlink", namespaces["xmlns"])\n}\n\nunadjustForeignAttributes = {(ns, local): qname for qname, (prefix, local, ns) in\n adjustForeignAttributes.items()}\n\nspaceCharacters = frozenset([\n "\t",\n "\n",\n "\u000C",\n " ",\n "\r"\n])\n\ntableInsertModeElements = frozenset([\n "table",\n "tbody",\n "tfoot",\n "thead",\n "tr"\n])\n\nasciiLowercase = frozenset(string.ascii_lowercase)\nasciiUppercase = frozenset(string.ascii_uppercase)\nasciiLetters = frozenset(string.ascii_letters)\ndigits = frozenset(string.digits)\nhexDigits = frozenset(string.hexdigits)\n\nasciiUpper2Lower = {ord(c): ord(c.lower()) for c in string.ascii_uppercase}\n\n# Heading elements need to be ordered\nheadingElements = (\n "h1",\n "h2",\n "h3",\n "h4",\n "h5",\n "h6"\n)\n\nvoidElements = frozenset([\n "base",\n "command",\n "event-source",\n "link",\n "meta",\n "hr",\n "br",\n "img",\n "embed",\n "param",\n "area",\n "col",\n "input",\n "source",\n "track"\n])\n\ncdataElements = frozenset(['title', 'textarea'])\n\nrcdataElements = frozenset([\n 'style',\n 'script',\n 'xmp',\n 'iframe',\n 'noembed',\n 'noframes',\n 'noscript'\n])\n\nbooleanAttributes = {\n "": frozenset(["irrelevant", "itemscope"]),\n "style": frozenset(["scoped"]),\n "img": frozenset(["ismap"]),\n "audio": frozenset(["autoplay", "controls"]),\n "video": frozenset(["autoplay", "controls"]),\n "script": frozenset(["defer", "async"]),\n "details": frozenset(["open"]),\n "datagrid": frozenset(["multiple", "disabled"]),\n "command": frozenset(["hidden", "disabled", "checked", "default"]),\n "hr": frozenset(["noshade"]),\n "menu": frozenset(["autosubmit"]),\n "fieldset": frozenset(["disabled", "readonly"]),\n "option": frozenset(["disabled", "readonly", "selected"]),\n "optgroup": frozenset(["disabled", "readonly"]),\n "button": frozenset(["disabled", "autofocus"]),\n "input": frozenset(["disabled", "readonly", "required", "autofocus", "checked", "ismap"]),\n "select": frozenset(["disabled", "readonly", "autofocus", "multiple"]),\n "output": frozenset(["disabled", "readonly"]),\n "iframe": frozenset(["seamless"]),\n}\n\n# entitiesWindows1252 has to be _ordered_ and needs to have an index. It\n# therefore can't be a frozenset.\nentitiesWindows1252 = (\n 8364, # 0x80 0x20AC EURO SIGN\n 65533, # 0x81 UNDEFINED\n 8218, # 0x82 0x201A SINGLE LOW-9 QUOTATION MARK\n 402, # 0x83 0x0192 LATIN SMALL LETTER F WITH HOOK\n 8222, # 0x84 0x201E DOUBLE LOW-9 QUOTATION MARK\n 8230, # 0x85 0x2026 HORIZONTAL ELLIPSIS\n 8224, # 0x86 0x2020 DAGGER\n 8225, # 0x87 0x2021 DOUBLE DAGGER\n 710, # 0x88 0x02C6 MODIFIER LETTER CIRCUMFLEX ACCENT\n 8240, # 0x89 0x2030 PER MILLE SIGN\n 352, # 0x8A 0x0160 LATIN CAPITAL LETTER S WITH CARON\n 8249, # 0x8B 0x2039 SINGLE LEFT-POINTING ANGLE QUOTATION MARK\n 338, # 0x8C 0x0152 LATIN CAPITAL LIGATURE OE\n 65533, # 0x8D UNDEFINED\n 381, # 0x8E 0x017D LATIN CAPITAL LETTER Z WITH CARON\n 65533, # 0x8F UNDEFINED\n 65533, # 0x90 UNDEFINED\n 8216, # 0x91 0x2018 LEFT SINGLE QUOTATION MARK\n 8217, # 0x92 0x2019 RIGHT SINGLE QUOTATION MARK\n 8220, # 0x93 0x201C LEFT DOUBLE QUOTATION MARK\n 8221, # 0x94 0x201D RIGHT DOUBLE QUOTATION MARK\n 8226, # 0x95 0x2022 BULLET\n 8211, # 0x96 0x2013 EN DASH\n 8212, # 0x97 0x2014 EM DASH\n 732, # 0x98 0x02DC SMALL TILDE\n 8482, # 0x99 0x2122 TRADE MARK SIGN\n 353, # 0x9A 0x0161 LATIN SMALL LETTER S WITH CARON\n 8250, # 0x9B 0x203A SINGLE RIGHT-POINTING ANGLE QUOTATION MARK\n 339, # 0x9C 0x0153 LATIN SMALL LIGATURE OE\n 65533, # 0x9D UNDEFINED\n 382, # 0x9E 0x017E LATIN SMALL LETTER Z WITH CARON\n 376 # 0x9F 0x0178 LATIN CAPITAL LETTER Y WITH DIAERESIS\n)\n\nxmlEntities = frozenset(['lt;', 'gt;', 'amp;', 'apos;', 'quot;'])\n\nentities = {\n "AElig": "\xc6",\n "AElig;": "\xc6",\n "AMP": "&",\n "AMP;": "&",\n "Aacute": "\xc1",\n "Aacute;": "\xc1",\n "Abreve;": "\u0102",\n "Acirc": "\xc2",\n "Acirc;": "\xc2",\n "Acy;": "\u0410",\n "Afr;": "\U0001d504",\n "Agrave": "\xc0",\n "Agrave;": "\xc0",\n "Alpha;": "\u0391",\n "Amacr;": "\u0100",\n "And;": "\u2a53",\n "Aogon;": "\u0104",\n "Aopf;": "\U0001d538",\n "ApplyFunction;": "\u2061",\n "Aring": "\xc5",\n "Aring;": "\xc5",\n "Ascr;": "\U0001d49c",\n "Assign;": "\u2254",\n "Atilde": "\xc3",\n "Atilde;": "\xc3",\n "Auml": "\xc4",\n "Auml;": "\xc4",\n "Backslash;": "\u2216",\n "Barv;": "\u2ae7",\n "Barwed;": "\u2306",\n "Bcy;": "\u0411",\n "Because;": "\u2235",\n "Bernoullis;": "\u212c",\n "Beta;": "\u0392",\n "Bfr;": "\U0001d505",\n "Bopf;": "\U0001d539",\n "Breve;": "\u02d8",\n "Bscr;": "\u212c",\n "Bumpeq;": "\u224e",\n "CHcy;": "\u0427",\n "COPY": "\xa9",\n "COPY;": "\xa9",\n "Cacute;": "\u0106",\n "Cap;": "\u22d2",\n "CapitalDifferentialD;": "\u2145",\n "Cayleys;": "\u212d",\n "Ccaron;": "\u010c",\n "Ccedil": "\xc7",\n "Ccedil;": "\xc7",\n "Ccirc;": "\u0108",\n "Cconint;": "\u2230",\n "Cdot;": "\u010a",\n "Cedilla;": "\xb8",\n "CenterDot;": "\xb7",\n "Cfr;": "\u212d",\n "Chi;": "\u03a7",\n "CircleDot;": "\u2299",\n "CircleMinus;": "\u2296",\n "CirclePlus;": "\u2295",\n "CircleTimes;": "\u2297",\n "ClockwiseContourIntegral;": "\u2232",\n "CloseCurlyDoubleQuote;": "\u201d",\n "CloseCurlyQuote;": "\u2019",\n "Colon;": "\u2237",\n "Colone;": "\u2a74",\n "Congruent;": "\u2261",\n "Conint;": "\u222f",\n "ContourIntegral;": "\u222e",\n "Copf;": "\u2102",\n "Coproduct;": "\u2210",\n "CounterClockwiseContourIntegral;": "\u2233",\n "Cross;": "\u2a2f",\n "Cscr;": "\U0001d49e",\n "Cup;": "\u22d3",\n "CupCap;": "\u224d",\n "DD;": "\u2145",\n "DDotrahd;": "\u2911",\n "DJcy;": "\u0402",\n "DScy;": "\u0405",\n "DZcy;": "\u040f",\n "Dagger;": "\u2021",\n "Darr;": "\u21a1",\n "Dashv;": "\u2ae4",\n "Dcaron;": "\u010e",\n "Dcy;": "\u0414",\n "Del;": "\u2207",\n "Delta;": "\u0394",\n "Dfr;": "\U0001d507",\n "DiacriticalAcute;": "\xb4",\n "DiacriticalDot;": "\u02d9",\n "DiacriticalDoubleAcute;": "\u02dd",\n "DiacriticalGrave;": "`",\n "DiacriticalTilde;": "\u02dc",\n "Diamond;": "\u22c4",\n "DifferentialD;": "\u2146",\n "Dopf;": "\U0001d53b",\n "Dot;": "\xa8",\n "DotDot;": "\u20dc",\n "DotEqual;": "\u2250",\n "DoubleContourIntegral;": "\u222f",\n "DoubleDot;": "\xa8",\n "DoubleDownArrow;": "\u21d3",\n "DoubleLeftArrow;": "\u21d0",\n "DoubleLeftRightArrow;": "\u21d4",\n "DoubleLeftTee;": "\u2ae4",\n "DoubleLongLeftArrow;": "\u27f8",\n "DoubleLongLeftRightArrow;": "\u27fa",\n "DoubleLongRightArrow;": "\u27f9",\n "DoubleRightArrow;": "\u21d2",\n "DoubleRightTee;": "\u22a8",\n "DoubleUpArrow;": "\u21d1",\n "DoubleUpDownArrow;": "\u21d5",\n "DoubleVerticalBar;": "\u2225",\n "DownArrow;": "\u2193",\n "DownArrowBar;": "\u2913",\n "DownArrowUpArrow;": "\u21f5",\n "DownBreve;": "\u0311",\n "DownLeftRightVector;": "\u2950",\n "DownLeftTeeVector;": "\u295e",\n "DownLeftVector;": "\u21bd",\n "DownLeftVectorBar;": "\u2956",\n "DownRightTeeVector;": "\u295f",\n "DownRightVector;": "\u21c1",\n "DownRightVectorBar;": "\u2957",\n "DownTee;": "\u22a4",\n "DownTeeArrow;": "\u21a7",\n "Downarrow;": "\u21d3",\n "Dscr;": "\U0001d49f",\n "Dstrok;": "\u0110",\n "ENG;": "\u014a",\n "ETH": "\xd0",\n "ETH;": "\xd0",\n "Eacute": "\xc9",\n "Eacute;": "\xc9",\n "Ecaron;": "\u011a",\n "Ecirc": "\xca",\n "Ecirc;": "\xca",\n "Ecy;": "\u042d",\n "Edot;": "\u0116",\n "Efr;": "\U0001d508",\n "Egrave": "\xc8",\n "Egrave;": "\xc8",\n "Element;": "\u2208",\n "Emacr;": "\u0112",\n "EmptySmallSquare;": "\u25fb",\n "EmptyVerySmallSquare;": "\u25ab",\n "Eogon;": "\u0118",\n "Eopf;": "\U0001d53c",\n "Epsilon;": "\u0395",\n "Equal;": "\u2a75",\n "EqualTilde;": "\u2242",\n "Equilibrium;": "\u21cc",\n "Escr;": "\u2130",\n "Esim;": "\u2a73",\n "Eta;": "\u0397",\n "Euml": "\xcb",\n "Euml;": "\xcb",\n "Exists;": "\u2203",\n "ExponentialE;": "\u2147",\n "Fcy;": "\u0424",\n "Ffr;": "\U0001d509",\n "FilledSmallSquare;": "\u25fc",\n "FilledVerySmallSquare;": "\u25aa",\n "Fopf;": "\U0001d53d",\n "ForAll;": "\u2200",\n "Fouriertrf;": "\u2131",\n "Fscr;": "\u2131",\n "GJcy;": "\u0403",\n "GT": ">",\n "GT;": ">",\n "Gamma;": "\u0393",\n "Gammad;": "\u03dc",\n "Gbreve;": "\u011e",\n "Gcedil;": "\u0122",\n "Gcirc;": "\u011c",\n "Gcy;": "\u0413",\n "Gdot;": "\u0120",\n "Gfr;": "\U0001d50a",\n "Gg;": "\u22d9",\n "Gopf;": "\U0001d53e",\n "GreaterEqual;": "\u2265",\n "GreaterEqualLess;": "\u22db",\n "GreaterFullEqual;": "\u2267",\n "GreaterGreater;": "\u2aa2",\n "GreaterLess;": "\u2277",\n "GreaterSlantEqual;": "\u2a7e",\n "GreaterTilde;": "\u2273",\n "Gscr;": "\U0001d4a2",\n "Gt;": "\u226b",\n "HARDcy;": "\u042a",\n "Hacek;": "\u02c7",\n "Hat;": "^",\n "Hcirc;": "\u0124",\n "Hfr;": "\u210c",\n "HilbertSpace;": "\u210b",\n "Hopf;": "\u210d",\n "HorizontalLine;": "\u2500",\n "Hscr;": "\u210b",\n "Hstrok;": "\u0126",\n "HumpDownHump;": "\u224e",\n "HumpEqual;": "\u224f",\n "IEcy;": "\u0415",\n "IJlig;": "\u0132",\n "IOcy;": "\u0401",\n "Iacute": "\xcd",\n "Iacute;": "\xcd",\n "Icirc": "\xce",\n "Icirc;": "\xce",\n "Icy;": "\u0418",\n "Idot;": "\u0130",\n "Ifr;": "\u2111",\n "Igrave": "\xcc",\n "Igrave;": "\xcc",\n "Im;": "\u2111",\n "Imacr;": "\u012a",\n "ImaginaryI;": "\u2148",\n "Implies;": "\u21d2",\n "Int;": "\u222c",\n "Integral;": "\u222b",\n "Intersection;": "\u22c2",\n "InvisibleComma;": "\u2063",\n "InvisibleTimes;": "\u2062",\n "Iogon;": "\u012e",\n "Iopf;": "\U0001d540",\n "Iota;": "\u0399",\n "Iscr;": "\u2110",\n "Itilde;": "\u0128",\n "Iukcy;": "\u0406",\n "Iuml": "\xcf",\n "Iuml;": "\xcf",\n "Jcirc;": "\u0134",\n "Jcy;": "\u0419",\n "Jfr;": "\U0001d50d",\n "Jopf;": "\U0001d541",\n "Jscr;": "\U0001d4a5",\n "Jsercy;": "\u0408",\n "Jukcy;": "\u0404",\n "KHcy;": "\u0425",\n "KJcy;": "\u040c",\n "Kappa;": "\u039a",\n "Kcedil;": "\u0136",\n "Kcy;": "\u041a",\n "Kfr;": "\U0001d50e",\n "Kopf;": "\U0001d542",\n "Kscr;": "\U0001d4a6",\n "LJcy;": "\u0409",\n "LT": "<",\n "LT;": "<",\n "Lacute;": "\u0139",\n "Lambda;": "\u039b",\n "Lang;": "\u27ea",\n "Laplacetrf;": "\u2112",\n "Larr;": "\u219e",\n "Lcaron;": "\u013d",\n "Lcedil;": "\u013b",\n "Lcy;": "\u041b",\n "LeftAngleBracket;": "\u27e8",\n "LeftArrow;": "\u2190",\n "LeftArrowBar;": "\u21e4",\n "LeftArrowRightArrow;": "\u21c6",\n "LeftCeiling;": "\u2308",\n "LeftDoubleBracket;": "\u27e6",\n "LeftDownTeeVector;": "\u2961",\n "LeftDownVector;": "\u21c3",\n "LeftDownVectorBar;": "\u2959",\n "LeftFloor;": "\u230a",\n "LeftRightArrow;": "\u2194",\n "LeftRightVector;": "\u294e",\n "LeftTee;": "\u22a3",\n "LeftTeeArrow;": "\u21a4",\n "LeftTeeVector;": "\u295a",\n "LeftTriangle;": "\u22b2",\n "LeftTriangleBar;": "\u29cf",\n "LeftTriangleEqual;": "\u22b4",\n "LeftUpDownVector;": "\u2951",\n "LeftUpTeeVector;": "\u2960",\n "LeftUpVector;": "\u21bf",\n "LeftUpVectorBar;": "\u2958",\n "LeftVector;": "\u21bc",\n "LeftVectorBar;": "\u2952",\n "Leftarrow;": "\u21d0",\n "Leftrightarrow;": "\u21d4",\n "LessEqualGreater;": "\u22da",\n "LessFullEqual;": "\u2266",\n "LessGreater;": "\u2276",\n "LessLess;": "\u2aa1",\n "LessSlantEqual;": "\u2a7d",\n "LessTilde;": "\u2272",\n "Lfr;": "\U0001d50f",\n "Ll;": "\u22d8",\n "Lleftarrow;": "\u21da",\n "Lmidot;": "\u013f",\n "LongLeftArrow;": "\u27f5",\n "LongLeftRightArrow;": "\u27f7",\n "LongRightArrow;": "\u27f6",\n "Longleftarrow;": "\u27f8",\n "Longleftrightarrow;": "\u27fa",\n "Longrightarrow;": "\u27f9",\n "Lopf;": "\U0001d543",\n "LowerLeftArrow;": "\u2199",\n "LowerRightArrow;": "\u2198",\n "Lscr;": "\u2112",\n "Lsh;": "\u21b0",\n "Lstrok;": "\u0141",\n "Lt;": "\u226a",\n "Map;": "\u2905",\n "Mcy;": "\u041c",\n "MediumSpace;": "\u205f",\n "Mellintrf;": "\u2133",\n "Mfr;": "\U0001d510",\n "MinusPlus;": "\u2213",\n "Mopf;": "\U0001d544",\n "Mscr;": "\u2133",\n "Mu;": "\u039c",\n "NJcy;": "\u040a",\n "Nacute;": "\u0143",\n "Ncaron;": "\u0147",\n "Ncedil;": "\u0145",\n "Ncy;": "\u041d",\n "NegativeMediumSpace;": "\u200b",\n "NegativeThickSpace;": "\u200b",\n "NegativeThinSpace;": "\u200b",\n "NegativeVeryThinSpace;": "\u200b",\n "NestedGreaterGreater;": "\u226b",\n "NestedLessLess;": "\u226a",\n "NewLine;": "\n",\n "Nfr;": "\U0001d511",\n "NoBreak;": "\u2060",\n "NonBreakingSpace;": "\xa0",\n "Nopf;": "\u2115",\n "Not;": "\u2aec",\n "NotCongruent;": "\u2262",\n "NotCupCap;": "\u226d",\n "NotDoubleVerticalBar;": "\u2226",\n "NotElement;": "\u2209",\n "NotEqual;": "\u2260",\n "NotEqualTilde;": "\u2242\u0338",\n "NotExists;": "\u2204",\n "NotGreater;": "\u226f",\n "NotGreaterEqual;": "\u2271",\n "NotGreaterFullEqual;": "\u2267\u0338",\n "NotGreaterGreater;": "\u226b\u0338",\n "NotGreaterLess;": "\u2279",\n "NotGreaterSlantEqual;": "\u2a7e\u0338",\n "NotGreaterTilde;": "\u2275",\n "NotHumpDownHump;": "\u224e\u0338",\n "NotHumpEqual;": "\u224f\u0338",\n "NotLeftTriangle;": "\u22ea",\n "NotLeftTriangleBar;": "\u29cf\u0338",\n "NotLeftTriangleEqual;": "\u22ec",\n "NotLess;": "\u226e",\n "NotLessEqual;": "\u2270",\n "NotLessGreater;": "\u2278",\n "NotLessLess;": "\u226a\u0338",\n "NotLessSlantEqual;": "\u2a7d\u0338",\n "NotLessTilde;": "\u2274",\n "NotNestedGreaterGreater;": "\u2aa2\u0338",\n "NotNestedLessLess;": "\u2aa1\u0338",\n "NotPrecedes;": "\u2280",\n "NotPrecedesEqual;": "\u2aaf\u0338",\n "NotPrecedesSlantEqual;": "\u22e0",\n "NotReverseElement;": "\u220c",\n "NotRightTriangle;": "\u22eb",\n "NotRightTriangleBar;": "\u29d0\u0338",\n "NotRightTriangleEqual;": "\u22ed",\n "NotSquareSubset;": "\u228f\u0338",\n "NotSquareSubsetEqual;": "\u22e2",\n "NotSquareSuperset;": "\u2290\u0338",\n "NotSquareSupersetEqual;": "\u22e3",\n "NotSubset;": "\u2282\u20d2",\n "NotSubsetEqual;": "\u2288",\n "NotSucceeds;": "\u2281",\n "NotSucceedsEqual;": "\u2ab0\u0338",\n "NotSucceedsSlantEqual;": "\u22e1",\n "NotSucceedsTilde;": "\u227f\u0338",\n "NotSuperset;": "\u2283\u20d2",\n "NotSupersetEqual;": "\u2289",\n "NotTilde;": "\u2241",\n "NotTildeEqual;": "\u2244",\n "NotTildeFullEqual;": "\u2247",\n "NotTildeTilde;": "\u2249",\n "NotVerticalBar;": "\u2224",\n "Nscr;": "\U0001d4a9",\n "Ntilde": "\xd1",\n "Ntilde;": "\xd1",\n "Nu;": "\u039d",\n "OElig;": "\u0152",\n "Oacute": "\xd3",\n "Oacute;": "\xd3",\n "Ocirc": "\xd4",\n "Ocirc;": "\xd4",\n "Ocy;": "\u041e",\n "Odblac;": "\u0150",\n "Ofr;": "\U0001d512",\n "Ograve": "\xd2",\n "Ograve;": "\xd2",\n "Omacr;": "\u014c",\n "Omega;": "\u03a9",\n "Omicron;": "\u039f",\n "Oopf;": "\U0001d546",\n "OpenCurlyDoubleQuote;": "\u201c",\n "OpenCurlyQuote;": "\u2018",\n "Or;": "\u2a54",\n "Oscr;": "\U0001d4aa",\n "Oslash": "\xd8",\n "Oslash;": "\xd8",\n "Otilde": "\xd5",\n "Otilde;": "\xd5",\n "Otimes;": "\u2a37",\n "Ouml": "\xd6",\n "Ouml;": "\xd6",\n "OverBar;": "\u203e",\n "OverBrace;": "\u23de",\n "OverBracket;": "\u23b4",\n "OverParenthesis;": "\u23dc",\n "PartialD;": "\u2202",\n "Pcy;": "\u041f",\n "Pfr;": "\U0001d513",\n "Phi;": "\u03a6",\n "Pi;": "\u03a0",\n "PlusMinus;": "\xb1",\n "Poincareplane;": "\u210c",\n "Popf;": "\u2119",\n "Pr;": "\u2abb",\n "Precedes;": "\u227a",\n "PrecedesEqual;": "\u2aaf",\n "PrecedesSlantEqual;": "\u227c",\n "PrecedesTilde;": "\u227e",\n "Prime;": "\u2033",\n "Product;": "\u220f",\n "Proportion;": "\u2237",\n "Proportional;": "\u221d",\n "Pscr;": "\U0001d4ab",\n "Psi;": "\u03a8",\n "QUOT": "\"",\n "QUOT;": "\"",\n "Qfr;": "\U0001d514",\n "Qopf;": "\u211a",\n "Qscr;": "\U0001d4ac",\n "RBarr;": "\u2910",\n "REG": "\xae",\n "REG;": "\xae",\n "Racute;": "\u0154",\n "Rang;": "\u27eb",\n "Rarr;": "\u21a0",\n "Rarrtl;": "\u2916",\n "Rcaron;": "\u0158",\n "Rcedil;": "\u0156",\n "Rcy;": "\u0420",\n "Re;": "\u211c",\n "ReverseElement;": "\u220b",\n "ReverseEquilibrium;": "\u21cb",\n "ReverseUpEquilibrium;": "\u296f",\n "Rfr;": "\u211c",\n "Rho;": "\u03a1",\n "RightAngleBracket;": "\u27e9",\n "RightArrow;": "\u2192",\n "RightArrowBar;": "\u21e5",\n "RightArrowLeftArrow;": "\u21c4",\n "RightCeiling;": "\u2309",\n "RightDoubleBracket;": "\u27e7",\n "RightDownTeeVector;": "\u295d",\n "RightDownVector;": "\u21c2",\n "RightDownVectorBar;": "\u2955",\n "RightFloor;": "\u230b",\n "RightTee;": "\u22a2",\n "RightTeeArrow;": "\u21a6",\n "RightTeeVector;": "\u295b",\n "RightTriangle;": "\u22b3",\n "RightTriangleBar;": "\u29d0",\n "RightTriangleEqual;": "\u22b5",\n "RightUpDownVector;": "\u294f",\n "RightUpTeeVector;": "\u295c",\n "RightUpVector;": "\u21be",\n "RightUpVectorBar;": "\u2954",\n "RightVector;": "\u21c0",\n "RightVectorBar;": "\u2953",\n "Rightarrow;": "\u21d2",\n "Ropf;": "\u211d",\n "RoundImplies;": "\u2970",\n "Rrightarrow;": "\u21db",\n "Rscr;": "\u211b",\n "Rsh;": "\u21b1",\n "RuleDelayed;": "\u29f4",\n "SHCHcy;": "\u0429",\n "SHcy;": "\u0428",\n "SOFTcy;": "\u042c",\n "Sacute;": "\u015a",\n "Sc;": "\u2abc",\n "Scaron;": "\u0160",\n "Scedil;": "\u015e",\n "Scirc;": "\u015c",\n "Scy;": "\u0421",\n "Sfr;": "\U0001d516",\n "ShortDownArrow;": "\u2193",\n "ShortLeftArrow;": "\u2190",\n "ShortRightArrow;": "\u2192",\n "ShortUpArrow;": "\u2191",\n "Sigma;": "\u03a3",\n "SmallCircle;": "\u2218",\n "Sopf;": "\U0001d54a",\n "Sqrt;": "\u221a",\n "Square;": "\u25a1",\n "SquareIntersection;": "\u2293",\n "SquareSubset;": "\u228f",\n "SquareSubsetEqual;": "\u2291",\n "SquareSuperset;": "\u2290",\n "SquareSupersetEqual;": "\u2292",\n "SquareUnion;": "\u2294",\n "Sscr;": "\U0001d4ae",\n "Star;": "\u22c6",\n "Sub;": "\u22d0",\n "Subset;": "\u22d0",\n "SubsetEqual;": "\u2286",\n "Succeeds;": "\u227b",\n "SucceedsEqual;": "\u2ab0",\n "SucceedsSlantEqual;": "\u227d",\n "SucceedsTilde;": "\u227f",\n "SuchThat;": "\u220b",\n "Sum;": "\u2211",\n "Sup;": "\u22d1",\n "Superset;": "\u2283",\n "SupersetEqual;": "\u2287",\n "Supset;": "\u22d1",\n "THORN": "\xde",\n "THORN;": "\xde",\n "TRADE;": "\u2122",\n "TSHcy;": "\u040b",\n "TScy;": "\u0426",\n "Tab;": "\t",\n "Tau;": "\u03a4",\n "Tcaron;": "\u0164",\n "Tcedil;": "\u0162",\n "Tcy;": "\u0422",\n "Tfr;": "\U0001d517",\n "Therefore;": "\u2234",\n "Theta;": "\u0398",\n "ThickSpace;": "\u205f\u200a",\n "ThinSpace;": "\u2009",\n "Tilde;": "\u223c",\n "TildeEqual;": "\u2243",\n "TildeFullEqual;": "\u2245",\n "TildeTilde;": "\u2248",\n "Topf;": "\U0001d54b",\n "TripleDot;": "\u20db",\n "Tscr;": "\U0001d4af",\n "Tstrok;": "\u0166",\n "Uacute": "\xda",\n "Uacute;": "\xda",\n "Uarr;": "\u219f",\n "Uarrocir;": "\u2949",\n "Ubrcy;": "\u040e",\n "Ubreve;": "\u016c",\n "Ucirc": "\xdb",\n "Ucirc;": "\xdb",\n "Ucy;": "\u0423",\n "Udblac;": "\u0170",\n "Ufr;": "\U0001d518",\n "Ugrave": "\xd9",\n "Ugrave;": "\xd9",\n "Umacr;": "\u016a",\n "UnderBar;": "_",\n "UnderBrace;": "\u23df",\n "UnderBracket;": "\u23b5",\n "UnderParenthesis;": "\u23dd",\n "Union;": "\u22c3",\n "UnionPlus;": "\u228e",\n "Uogon;": "\u0172",\n "Uopf;": "\U0001d54c",\n "UpArrow;": "\u2191",\n "UpArrowBar;": "\u2912",\n "UpArrowDownArrow;": "\u21c5",\n "UpDownArrow;": "\u2195",\n "UpEquilibrium;": "\u296e",\n "UpTee;": "\u22a5",\n "UpTeeArrow;": "\u21a5",\n "Uparrow;": "\u21d1",\n "Updownarrow;": "\u21d5",\n "UpperLeftArrow;": "\u2196",\n "UpperRightArrow;": "\u2197",\n "Upsi;": "\u03d2",\n "Upsilon;": "\u03a5",\n "Uring;": "\u016e",\n "Uscr;": "\U0001d4b0",\n "Utilde;": "\u0168",\n "Uuml": "\xdc",\n "Uuml;": "\xdc",\n "VDash;": "\u22ab",\n "Vbar;": "\u2aeb",\n "Vcy;": "\u0412",\n "Vdash;": "\u22a9",\n "Vdashl;": "\u2ae6",\n "Vee;": "\u22c1",\n "Verbar;": "\u2016",\n "Vert;": "\u2016",\n "VerticalBar;": "\u2223",\n "VerticalLine;": "|",\n "VerticalSeparator;": "\u2758",\n "VerticalTilde;": "\u2240",\n "VeryThinSpace;": "\u200a",\n "Vfr;": "\U0001d519",\n "Vopf;": "\U0001d54d",\n "Vscr;": "\U0001d4b1",\n "Vvdash;": "\u22aa",\n "Wcirc;": "\u0174",\n "Wedge;": "\u22c0",\n "Wfr;": "\U0001d51a",\n "Wopf;": "\U0001d54e",\n "Wscr;": "\U0001d4b2",\n "Xfr;": "\U0001d51b",\n "Xi;": "\u039e",\n "Xopf;": "\U0001d54f",\n "Xscr;": "\U0001d4b3",\n "YAcy;": "\u042f",\n "YIcy;": "\u0407",\n "YUcy;": "\u042e",\n "Yacute": "\xdd",\n "Yacute;": "\xdd",\n "Ycirc;": "\u0176",\n "Ycy;": "\u042b",\n "Yfr;": "\U0001d51c",\n "Yopf;": "\U0001d550",\n "Yscr;": "\U0001d4b4",\n "Yuml;": "\u0178",\n "ZHcy;": "\u0416",\n "Zacute;": "\u0179",\n "Zcaron;": "\u017d",\n "Zcy;": "\u0417",\n "Zdot;": "\u017b",\n "ZeroWidthSpace;": "\u200b",\n "Zeta;": "\u0396",\n "Zfr;": "\u2128",\n "Zopf;": "\u2124",\n "Zscr;": "\U0001d4b5",\n "aacute": "\xe1",\n "aacute;": "\xe1",\n "abreve;": "\u0103",\n "ac;": "\u223e",\n "acE;": "\u223e\u0333",\n "acd;": "\u223f",\n "acirc": "\xe2",\n "acirc;": "\xe2",\n "acute": "\xb4",\n "acute;": "\xb4",\n "acy;": "\u0430",\n "aelig": "\xe6",\n "aelig;": "\xe6",\n "af;": "\u2061",\n "afr;": "\U0001d51e",\n "agrave": "\xe0",\n "agrave;": "\xe0",\n "alefsym;": "\u2135",\n "aleph;": "\u2135",\n "alpha;": "\u03b1",\n "amacr;": "\u0101",\n "amalg;": "\u2a3f",\n "amp": "&",\n "amp;": "&",\n "and;": "\u2227",\n "andand;": "\u2a55",\n "andd;": "\u2a5c",\n "andslope;": "\u2a58",\n "andv;": "\u2a5a",\n "ang;": "\u2220",\n "ange;": "\u29a4",\n "angle;": "\u2220",\n "angmsd;": "\u2221",\n "angmsdaa;": "\u29a8",\n "angmsdab;": "\u29a9",\n "angmsdac;": "\u29aa",\n "angmsdad;": "\u29ab",\n "angmsdae;": "\u29ac",\n "angmsdaf;": "\u29ad",\n "angmsdag;": "\u29ae",\n "angmsdah;": "\u29af",\n "angrt;": "\u221f",\n "angrtvb;": "\u22be",\n "angrtvbd;": "\u299d",\n "angsph;": "\u2222",\n "angst;": "\xc5",\n "angzarr;": "\u237c",\n "aogon;": "\u0105",\n "aopf;": "\U0001d552",\n "ap;": "\u2248",\n "apE;": "\u2a70",\n "apacir;": "\u2a6f",\n "ape;": "\u224a",\n "apid;": "\u224b",\n "apos;": "'",\n "approx;": "\u2248",\n "approxeq;": "\u224a",\n "aring": "\xe5",\n "aring;": "\xe5",\n "ascr;": "\U0001d4b6",\n "ast;": "*",\n "asymp;": "\u2248",\n "asympeq;": "\u224d",\n "atilde": "\xe3",\n "atilde;": "\xe3",\n "auml": "\xe4",\n "auml;": "\xe4",\n "awconint;": "\u2233",\n "awint;": "\u2a11",\n "bNot;": "\u2aed",\n "backcong;": "\u224c",\n "backepsilon;": "\u03f6",\n "backprime;": "\u2035",\n "backsim;": "\u223d",\n "backsimeq;": "\u22cd",\n "barvee;": "\u22bd",\n "barwed;": "\u2305",\n "barwedge;": "\u2305",\n "bbrk;": "\u23b5",\n "bbrktbrk;": "\u23b6",\n "bcong;": "\u224c",\n "bcy;": "\u0431",\n "bdquo;": "\u201e",\n "becaus;": "\u2235",\n "because;": "\u2235",\n "bemptyv;": "\u29b0",\n "bepsi;": "\u03f6",\n "bernou;": "\u212c",\n "beta;": "\u03b2",\n "beth;": "\u2136",\n "between;": "\u226c",\n "bfr;": "\U0001d51f",\n "bigcap;": "\u22c2",\n "bigcirc;": "\u25ef",\n "bigcup;": "\u22c3",\n "bigodot;": "\u2a00",\n "bigoplus;": "\u2a01",\n "bigotimes;": "\u2a02",\n "bigsqcup;": "\u2a06",\n "bigstar;": "\u2605",\n "bigtriangledown;": "\u25bd",\n "bigtriangleup;": "\u25b3",\n "biguplus;": "\u2a04",\n "bigvee;": "\u22c1",\n "bigwedge;": "\u22c0",\n "bkarow;": "\u290d",\n "blacklozenge;": "\u29eb",\n "blacksquare;": "\u25aa",\n "blacktriangle;": "\u25b4",\n "blacktriangledown;": "\u25be",\n "blacktriangleleft;": "\u25c2",\n "blacktriangleright;": "\u25b8",\n "blank;": "\u2423",\n "blk12;": "\u2592",\n "blk14;": "\u2591",\n "blk34;": "\u2593",\n "block;": "\u2588",\n "bne;": "=\u20e5",\n "bnequiv;": "\u2261\u20e5",\n "bnot;": "\u2310",\n "bopf;": "\U0001d553",\n "bot;": "\u22a5",\n "bottom;": "\u22a5",\n "bowtie;": "\u22c8",\n "boxDL;": "\u2557",\n "boxDR;": "\u2554",\n "boxDl;": "\u2556",\n "boxDr;": "\u2553",\n "boxH;": "\u2550",\n "boxHD;": "\u2566",\n "boxHU;": "\u2569",\n "boxHd;": "\u2564",\n "boxHu;": "\u2567",\n "boxUL;": "\u255d",\n "boxUR;": "\u255a",\n "boxUl;": "\u255c",\n "boxUr;": "\u2559",\n "boxV;": "\u2551",\n "boxVH;": "\u256c",\n "boxVL;": "\u2563",\n "boxVR;": "\u2560",\n "boxVh;": "\u256b",\n "boxVl;": "\u2562",\n "boxVr;": "\u255f",\n "boxbox;": "\u29c9",\n "boxdL;": "\u2555",\n "boxdR;": "\u2552",\n "boxdl;": "\u2510",\n "boxdr;": "\u250c",\n "boxh;": "\u2500",\n "boxhD;": "\u2565",\n "boxhU;": "\u2568",\n "boxhd;": "\u252c",\n "boxhu;": "\u2534",\n "boxminus;": "\u229f",\n "boxplus;": "\u229e",\n "boxtimes;": "\u22a0",\n "boxuL;": "\u255b",\n "boxuR;": "\u2558",\n "boxul;": "\u2518",\n "boxur;": "\u2514",\n "boxv;": "\u2502",\n "boxvH;": "\u256a",\n "boxvL;": "\u2561",\n "boxvR;": "\u255e",\n "boxvh;": "\u253c",\n "boxvl;": "\u2524",\n "boxvr;": "\u251c",\n "bprime;": "\u2035",\n "breve;": "\u02d8",\n "brvbar": "\xa6",\n "brvbar;": "\xa6",\n "bscr;": "\U0001d4b7",\n "bsemi;": "\u204f",\n "bsim;": "\u223d",\n "bsime;": "\u22cd",\n "bsol;": "\\",\n "bsolb;": "\u29c5",\n "bsolhsub;": "\u27c8",\n "bull;": "\u2022",\n "bullet;": "\u2022",\n "bump;": "\u224e",\n "bumpE;": "\u2aae",\n "bumpe;": "\u224f",\n "bumpeq;": "\u224f",\n "cacute;": "\u0107",\n "cap;": "\u2229",\n "capand;": "\u2a44",\n "capbrcup;": "\u2a49",\n "capcap;": "\u2a4b",\n "capcup;": "\u2a47",\n "capdot;": "\u2a40",\n "caps;": "\u2229\ufe00",\n "caret;": "\u2041",\n "caron;": "\u02c7",\n "ccaps;": "\u2a4d",\n "ccaron;": "\u010d",\n "ccedil": "\xe7",\n "ccedil;": "\xe7",\n "ccirc;": "\u0109",\n "ccups;": "\u2a4c",\n "ccupssm;": "\u2a50",\n "cdot;": "\u010b",\n "cedil": "\xb8",\n "cedil;": "\xb8",\n "cemptyv;": "\u29b2",\n "cent": "\xa2",\n "cent;": "\xa2",\n "centerdot;": "\xb7",\n "cfr;": "\U0001d520",\n "chcy;": "\u0447",\n "check;": "\u2713",\n "checkmark;": "\u2713",\n "chi;": "\u03c7",\n "cir;": "\u25cb",\n "cirE;": "\u29c3",\n "circ;": "\u02c6",\n "circeq;": "\u2257",\n "circlearrowleft;": "\u21ba",\n "circlearrowright;": "\u21bb",\n "circledR;": "\xae",\n "circledS;": "\u24c8",\n "circledast;": "\u229b",\n "circledcirc;": "\u229a",\n "circleddash;": "\u229d",\n "cire;": "\u2257",\n "cirfnint;": "\u2a10",\n "cirmid;": "\u2aef",\n "cirscir;": "\u29c2",\n "clubs;": "\u2663",\n "clubsuit;": "\u2663",\n "colon;": ":",\n "colone;": "\u2254",\n "coloneq;": "\u2254",\n "comma;": ",",\n "commat;": "@",\n "comp;": "\u2201",\n "compfn;": "\u2218",\n "complement;": "\u2201",\n "complexes;": "\u2102",\n "cong;": "\u2245",\n "congdot;": "\u2a6d",\n "conint;": "\u222e",\n "copf;": "\U0001d554",\n "coprod;": "\u2210",\n "copy": "\xa9",\n "copy;": "\xa9",\n "copysr;": "\u2117",\n "crarr;": "\u21b5",\n "cross;": "\u2717",\n "cscr;": "\U0001d4b8",\n "csub;": "\u2acf",\n "csube;": "\u2ad1",\n "csup;": "\u2ad0",\n "csupe;": "\u2ad2",\n "ctdot;": "\u22ef",\n "cudarrl;": "\u2938",\n "cudarrr;": "\u2935",\n "cuepr;": "\u22de",\n "cuesc;": "\u22df",\n "cularr;": "\u21b6",\n "cularrp;": "\u293d",\n "cup;": "\u222a",\n "cupbrcap;": "\u2a48",\n "cupcap;": "\u2a46",\n "cupcup;": "\u2a4a",\n "cupdot;": "\u228d",\n "cupor;": "\u2a45",\n "cups;": "\u222a\ufe00",\n "curarr;": "\u21b7",\n "curarrm;": "\u293c",\n "curlyeqprec;": "\u22de",\n "curlyeqsucc;": "\u22df",\n "curlyvee;": "\u22ce",\n "curlywedge;": "\u22cf",\n "curren": "\xa4",\n "curren;": "\xa4",\n "curvearrowleft;": "\u21b6",\n "curvearrowright;": "\u21b7",\n "cuvee;": "\u22ce",\n "cuwed;": "\u22cf",\n "cwconint;": "\u2232",\n "cwint;": "\u2231",\n "cylcty;": "\u232d",\n "dArr;": "\u21d3",\n "dHar;": "\u2965",\n "dagger;": "\u2020",\n "daleth;": "\u2138",\n "darr;": "\u2193",\n "dash;": "\u2010",\n "dashv;": "\u22a3",\n "dbkarow;": "\u290f",\n "dblac;": "\u02dd",\n "dcaron;": "\u010f",\n "dcy;": "\u0434",\n "dd;": "\u2146",\n "ddagger;": "\u2021",\n "ddarr;": "\u21ca",\n "ddotseq;": "\u2a77",\n "deg": "\xb0",\n "deg;": "\xb0",\n "delta;": "\u03b4",\n "demptyv;": "\u29b1",\n "dfisht;": "\u297f",\n "dfr;": "\U0001d521",\n "dharl;": "\u21c3",\n "dharr;": "\u21c2",\n "diam;": "\u22c4",\n "diamond;": "\u22c4",\n "diamondsuit;": "\u2666",\n "diams;": "\u2666",\n "die;": "\xa8",\n "digamma;": "\u03dd",\n "disin;": "\u22f2",\n "div;": "\xf7",\n "divide": "\xf7",\n "divide;": "\xf7",\n "divideontimes;": "\u22c7",\n "divonx;": "\u22c7",\n "djcy;": "\u0452",\n "dlcorn;": "\u231e",\n "dlcrop;": "\u230d",\n "dollar;": "$",\n "dopf;": "\U0001d555",\n "dot;": "\u02d9",\n "doteq;": "\u2250",\n "doteqdot;": "\u2251",\n "dotminus;": "\u2238",\n "dotplus;": "\u2214",\n "dotsquare;": "\u22a1",\n "doublebarwedge;": "\u2306",\n "downarrow;": "\u2193",\n "downdownarrows;": "\u21ca",\n "downharpoonleft;": "\u21c3",\n "downharpoonright;": "\u21c2",\n "drbkarow;": "\u2910",\n "drcorn;": "\u231f",\n "drcrop;": "\u230c",\n "dscr;": "\U0001d4b9",\n "dscy;": "\u0455",\n "dsol;": "\u29f6",\n "dstrok;": "\u0111",\n "dtdot;": "\u22f1",\n "dtri;": "\u25bf",\n "dtrif;": "\u25be",\n "duarr;": "\u21f5",\n "duhar;": "\u296f",\n "dwangle;": "\u29a6",\n "dzcy;": "\u045f",\n "dzigrarr;": "\u27ff",\n "eDDot;": "\u2a77",\n "eDot;": "\u2251",\n "eacute": "\xe9",\n "eacute;": "\xe9",\n "easter;": "\u2a6e",\n "ecaron;": "\u011b",\n "ecir;": "\u2256",\n "ecirc": "\xea",\n "ecirc;": "\xea",\n "ecolon;": "\u2255",\n "ecy;": "\u044d",\n "edot;": "\u0117",\n "ee;": "\u2147",\n "efDot;": "\u2252",\n "efr;": "\U0001d522",\n "eg;": "\u2a9a",\n "egrave": "\xe8",\n "egrave;": "\xe8",\n "egs;": "\u2a96",\n "egsdot;": "\u2a98",\n "el;": "\u2a99",\n "elinters;": "\u23e7",\n "ell;": "\u2113",\n "els;": "\u2a95",\n "elsdot;": "\u2a97",\n "emacr;": "\u0113",\n "empty;": "\u2205",\n "emptyset;": "\u2205",\n "emptyv;": "\u2205",\n "emsp13;": "\u2004",\n "emsp14;": "\u2005",\n "emsp;": "\u2003",\n "eng;": "\u014b",\n "ensp;": "\u2002",\n "eogon;": "\u0119",\n "eopf;": "\U0001d556",\n "epar;": "\u22d5",\n "eparsl;": "\u29e3",\n "eplus;": "\u2a71",\n "epsi;": "\u03b5",\n "epsilon;": "\u03b5",\n "epsiv;": "\u03f5",\n "eqcirc;": "\u2256",\n "eqcolon;": "\u2255",\n "eqsim;": "\u2242",\n "eqslantgtr;": "\u2a96",\n "eqslantless;": "\u2a95",\n "equals;": "=",\n "equest;": "\u225f",\n "equiv;": "\u2261",\n "equivDD;": "\u2a78",\n "eqvparsl;": "\u29e5",\n "erDot;": "\u2253",\n "erarr;": "\u2971",\n "escr;": "\u212f",\n "esdot;": "\u2250",\n "esim;": "\u2242",\n "eta;": "\u03b7",\n "eth": "\xf0",\n "eth;": "\xf0",\n "euml": "\xeb",\n "euml;": "\xeb",\n "euro;": "\u20ac",\n "excl;": "!",\n "exist;": "\u2203",\n "expectation;": "\u2130",\n "exponentiale;": "\u2147",\n "fallingdotseq;": "\u2252",\n "fcy;": "\u0444",\n "female;": "\u2640",\n "ffilig;": "\ufb03",\n "fflig;": "\ufb00",\n "ffllig;": "\ufb04",\n "ffr;": "\U0001d523",\n "filig;": "\ufb01",\n "fjlig;": "fj",\n "flat;": "\u266d",\n "fllig;": "\ufb02",\n "fltns;": "\u25b1",\n "fnof;": "\u0192",\n "fopf;": "\U0001d557",\n "forall;": "\u2200",\n "fork;": "\u22d4",\n "forkv;": "\u2ad9",\n "fpartint;": "\u2a0d",\n "frac12": "\xbd",\n "frac12;": "\xbd",\n "frac13;": "\u2153",\n "frac14": "\xbc",\n "frac14;": "\xbc",\n "frac15;": "\u2155",\n "frac16;": "\u2159",\n "frac18;": "\u215b",\n "frac23;": "\u2154",\n "frac25;": "\u2156",\n "frac34": "\xbe",\n "frac34;": "\xbe",\n "frac35;": "\u2157",\n "frac38;": "\u215c",\n "frac45;": "\u2158",\n "frac56;": "\u215a",\n "frac58;": "\u215d",\n "frac78;": "\u215e",\n "frasl;": "\u2044",\n "frown;": "\u2322",\n "fscr;": "\U0001d4bb",\n "gE;": "\u2267",\n "gEl;": "\u2a8c",\n "gacute;": "\u01f5",\n "gamma;": "\u03b3",\n "gammad;": "\u03dd",\n "gap;": "\u2a86",\n "gbreve;": "\u011f",\n "gcirc;": "\u011d",\n "gcy;": "\u0433",\n "gdot;": "\u0121",\n "ge;": "\u2265",\n "gel;": "\u22db",\n "geq;": "\u2265",\n "geqq;": "\u2267",\n "geqslant;": "\u2a7e",\n "ges;": "\u2a7e",\n "gescc;": "\u2aa9",\n "gesdot;": "\u2a80",\n "gesdoto;": "\u2a82",\n "gesdotol;": "\u2a84",\n "gesl;": "\u22db\ufe00",\n "gesles;": "\u2a94",\n "gfr;": "\U0001d524",\n "gg;": "\u226b",\n "ggg;": "\u22d9",\n "gimel;": "\u2137",\n "gjcy;": "\u0453",\n "gl;": "\u2277",\n "glE;": "\u2a92",\n "gla;": "\u2aa5",\n "glj;": "\u2aa4",\n "gnE;": "\u2269",\n "gnap;": "\u2a8a",\n "gnapprox;": "\u2a8a",\n "gne;": "\u2a88",\n "gneq;": "\u2a88",\n "gneqq;": "\u2269",\n "gnsim;": "\u22e7",\n "gopf;": "\U0001d558",\n "grave;": "`",\n "gscr;": "\u210a",\n "gsim;": "\u2273",\n "gsime;": "\u2a8e",\n "gsiml;": "\u2a90",\n "gt": ">",\n "gt;": ">",\n "gtcc;": "\u2aa7",\n "gtcir;": "\u2a7a",\n "gtdot;": "\u22d7",\n "gtlPar;": "\u2995",\n "gtquest;": "\u2a7c",\n "gtrapprox;": "\u2a86",\n "gtrarr;": "\u2978",\n "gtrdot;": "\u22d7",\n "gtreqless;": "\u22db",\n "gtreqqless;": "\u2a8c",\n "gtrless;": "\u2277",\n "gtrsim;": "\u2273",\n "gvertneqq;": "\u2269\ufe00",\n "gvnE;": "\u2269\ufe00",\n "hArr;": "\u21d4",\n "hairsp;": "\u200a",\n "half;": "\xbd",\n "hamilt;": "\u210b",\n "hardcy;": "\u044a",\n "harr;": "\u2194",\n "harrcir;": "\u2948",\n "harrw;": "\u21ad",\n "hbar;": "\u210f",\n "hcirc;": "\u0125",\n "hearts;": "\u2665",\n "heartsuit;": "\u2665",\n "hellip;": "\u2026",\n "hercon;": "\u22b9",\n "hfr;": "\U0001d525",\n "hksearow;": "\u2925",\n "hkswarow;": "\u2926",\n "hoarr;": "\u21ff",\n "homtht;": "\u223b",\n "hookleftarrow;": "\u21a9",\n "hookrightarrow;": "\u21aa",\n "hopf;": "\U0001d559",\n "horbar;": "\u2015",\n "hscr;": "\U0001d4bd",\n "hslash;": "\u210f",\n "hstrok;": "\u0127",\n "hybull;": "\u2043",\n "hyphen;": "\u2010",\n "iacute": "\xed",\n "iacute;": "\xed",\n "ic;": "\u2063",\n "icirc": "\xee",\n "icirc;": "\xee",\n "icy;": "\u0438",\n "iecy;": "\u0435",\n "iexcl": "\xa1",\n "iexcl;": "\xa1",\n "iff;": "\u21d4",\n "ifr;": "\U0001d526",\n "igrave": "\xec",\n "igrave;": "\xec",\n "ii;": "\u2148",\n "iiiint;": "\u2a0c",\n "iiint;": "\u222d",\n "iinfin;": "\u29dc",\n "iiota;": "\u2129",\n "ijlig;": "\u0133",\n "imacr;": "\u012b",\n "image;": "\u2111",\n "imagline;": "\u2110",\n "imagpart;": "\u2111",\n "imath;": "\u0131",\n "imof;": "\u22b7",\n "imped;": "\u01b5",\n "in;": "\u2208",\n "incare;": "\u2105",\n "infin;": "\u221e",\n "infintie;": "\u29dd",\n "inodot;": "\u0131",\n "int;": "\u222b",\n "intcal;": "\u22ba",\n "integers;": "\u2124",\n "intercal;": "\u22ba",\n "intlarhk;": "\u2a17",\n "intprod;": "\u2a3c",\n "iocy;": "\u0451",\n "iogon;": "\u012f",\n "iopf;": "\U0001d55a",\n "iota;": "\u03b9",\n "iprod;": "\u2a3c",\n "iquest": "\xbf",\n "iquest;": "\xbf",\n "iscr;": "\U0001d4be",\n "isin;": "\u2208",\n "isinE;": "\u22f9",\n "isindot;": "\u22f5",\n "isins;": "\u22f4",\n "isinsv;": "\u22f3",\n "isinv;": "\u2208",\n "it;": "\u2062",\n "itilde;": "\u0129",\n "iukcy;": "\u0456",\n "iuml": "\xef",\n "iuml;": "\xef",\n "jcirc;": "\u0135",\n "jcy;": "\u0439",\n "jfr;": "\U0001d527",\n "jmath;": "\u0237",\n "jopf;": "\U0001d55b",\n "jscr;": "\U0001d4bf",\n "jsercy;": "\u0458",\n "jukcy;": "\u0454",\n "kappa;": "\u03ba",\n "kappav;": "\u03f0",\n "kcedil;": "\u0137",\n "kcy;": "\u043a",\n "kfr;": "\U0001d528",\n "kgreen;": "\u0138",\n "khcy;": "\u0445",\n "kjcy;": "\u045c",\n "kopf;": "\U0001d55c",\n "kscr;": "\U0001d4c0",\n "lAarr;": "\u21da",\n "lArr;": "\u21d0",\n "lAtail;": "\u291b",\n "lBarr;": "\u290e",\n "lE;": "\u2266",\n "lEg;": "\u2a8b",\n "lHar;": "\u2962",\n "lacute;": "\u013a",\n "laemptyv;": "\u29b4",\n "lagran;": "\u2112",\n "lambda;": "\u03bb",\n "lang;": "\u27e8",\n "langd;": "\u2991",\n "langle;": "\u27e8",\n "lap;": "\u2a85",\n "laquo": "\xab",\n "laquo;": "\xab",\n "larr;": "\u2190",\n "larrb;": "\u21e4",\n "larrbfs;": "\u291f",\n "larrfs;": "\u291d",\n "larrhk;": "\u21a9",\n "larrlp;": "\u21ab",\n "larrpl;": "\u2939",\n "larrsim;": "\u2973",\n "larrtl;": "\u21a2",\n "lat;": "\u2aab",\n "latail;": "\u2919",\n "late;": "\u2aad",\n "lates;": "\u2aad\ufe00",\n "lbarr;": "\u290c",\n "lbbrk;": "\u2772",\n "lbrace;": "{",\n "lbrack;": "[",\n "lbrke;": "\u298b",\n "lbrksld;": "\u298f",\n "lbrkslu;": "\u298d",\n "lcaron;": "\u013e",\n "lcedil;": "\u013c",\n "lceil;": "\u2308",\n "lcub;": "{",\n "lcy;": "\u043b",\n "ldca;": "\u2936",\n "ldquo;": "\u201c",\n "ldquor;": "\u201e",\n "ldrdhar;": "\u2967",\n "ldrushar;": "\u294b",\n "ldsh;": "\u21b2",\n "le;": "\u2264",\n "leftarrow;": "\u2190",\n "leftarrowtail;": "\u21a2",\n "leftharpoondown;": "\u21bd",\n "leftharpoonup;": "\u21bc",\n "leftleftarrows;": "\u21c7",\n "leftrightarrow;": "\u2194",\n "leftrightarrows;": "\u21c6",\n "leftrightharpoons;": "\u21cb",\n "leftrightsquigarrow;": "\u21ad",\n "leftthreetimes;": "\u22cb",\n "leg;": "\u22da",\n "leq;": "\u2264",\n "leqq;": "\u2266",\n "leqslant;": "\u2a7d",\n "les;": "\u2a7d",\n "lescc;": "\u2aa8",\n "lesdot;": "\u2a7f",\n "lesdoto;": "\u2a81",\n "lesdotor;": "\u2a83",\n "lesg;": "\u22da\ufe00",\n "lesges;": "\u2a93",\n "lessapprox;": "\u2a85",\n "lessdot;": "\u22d6",\n "lesseqgtr;": "\u22da",\n "lesseqqgtr;": "\u2a8b",\n "lessgtr;": "\u2276",\n "lesssim;": "\u2272",\n "lfisht;": "\u297c",\n "lfloor;": "\u230a",\n "lfr;": "\U0001d529",\n "lg;": "\u2276",\n "lgE;": "\u2a91",\n "lhard;": "\u21bd",\n "lharu;": "\u21bc",\n "lharul;": "\u296a",\n "lhblk;": "\u2584",\n "ljcy;": "\u0459",\n "ll;": "\u226a",\n "llarr;": "\u21c7",\n "llcorner;": "\u231e",\n "llhard;": "\u296b",\n "lltri;": "\u25fa",\n "lmidot;": "\u0140",\n "lmoust;": "\u23b0",\n "lmoustache;": "\u23b0",\n "lnE;": "\u2268",\n "lnap;": "\u2a89",\n "lnapprox;": "\u2a89",\n "lne;": "\u2a87",\n "lneq;": "\u2a87",\n "lneqq;": "\u2268",\n "lnsim;": "\u22e6",\n "loang;": "\u27ec",\n "loarr;": "\u21fd",\n "lobrk;": "\u27e6",\n "longleftarrow;": "\u27f5",\n "longleftrightarrow;": "\u27f7",\n "longmapsto;": "\u27fc",\n "longrightarrow;": "\u27f6",\n "looparrowleft;": "\u21ab",\n "looparrowright;": "\u21ac",\n "lopar;": "\u2985",\n "lopf;": "\U0001d55d",\n "loplus;": "\u2a2d",\n "lotimes;": "\u2a34",\n "lowast;": "\u2217",\n "lowbar;": "_",\n "loz;": "\u25ca",\n "lozenge;": "\u25ca",\n "lozf;": "\u29eb",\n "lpar;": "(",\n "lparlt;": "\u2993",\n "lrarr;": "\u21c6",\n "lrcorner;": "\u231f",\n "lrhar;": "\u21cb",\n "lrhard;": "\u296d",\n "lrm;": "\u200e",\n "lrtri;": "\u22bf",\n "lsaquo;": "\u2039",\n "lscr;": "\U0001d4c1",\n "lsh;": "\u21b0",\n "lsim;": "\u2272",\n "lsime;": "\u2a8d",\n "lsimg;": "\u2a8f",\n "lsqb;": "[",\n "lsquo;": "\u2018",\n "lsquor;": "\u201a",\n "lstrok;": "\u0142",\n "lt": "<",\n "lt;": "<",\n "ltcc;": "\u2aa6",\n "ltcir;": "\u2a79",\n "ltdot;": "\u22d6",\n "lthree;": "\u22cb",\n "ltimes;": "\u22c9",\n "ltlarr;": "\u2976",\n "ltquest;": "\u2a7b",\n "ltrPar;": "\u2996",\n "ltri;": "\u25c3",\n "ltrie;": "\u22b4",\n "ltrif;": "\u25c2",\n "lurdshar;": "\u294a",\n "luruhar;": "\u2966",\n "lvertneqq;": "\u2268\ufe00",\n "lvnE;": "\u2268\ufe00",\n "mDDot;": "\u223a",\n "macr": "\xaf",\n "macr;": "\xaf",\n "male;": "\u2642",\n "malt;": "\u2720",\n "maltese;": "\u2720",\n "map;": "\u21a6",\n "mapsto;": "\u21a6",\n "mapstodown;": "\u21a7",\n "mapstoleft;": "\u21a4",\n "mapstoup;": "\u21a5",\n "marker;": "\u25ae",\n "mcomma;": "\u2a29",\n "mcy;": "\u043c",\n "mdash;": "\u2014",\n "measuredangle;": "\u2221",\n "mfr;": "\U0001d52a",\n "mho;": "\u2127",\n "micro": "\xb5",\n "micro;": "\xb5",\n "mid;": "\u2223",\n "midast;": "*",\n "midcir;": "\u2af0",\n "middot": "\xb7",\n "middot;": "\xb7",\n "minus;": "\u2212",\n "minusb;": "\u229f",\n "minusd;": "\u2238",\n "minusdu;": "\u2a2a",\n "mlcp;": "\u2adb",\n "mldr;": "\u2026",\n "mnplus;": "\u2213",\n "models;": "\u22a7",\n "mopf;": "\U0001d55e",\n "mp;": "\u2213",\n "mscr;": "\U0001d4c2",\n "mstpos;": "\u223e",\n "mu;": "\u03bc",\n "multimap;": "\u22b8",\n "mumap;": "\u22b8",\n "nGg;": "\u22d9\u0338",\n "nGt;": "\u226b\u20d2",\n "nGtv;": "\u226b\u0338",\n "nLeftarrow;": "\u21cd",\n "nLeftrightarrow;": "\u21ce",\n "nLl;": "\u22d8\u0338",\n "nLt;": "\u226a\u20d2",\n "nLtv;": "\u226a\u0338",\n "nRightarrow;": "\u21cf",\n "nVDash;": "\u22af",\n "nVdash;": "\u22ae",\n "nabla;": "\u2207",\n "nacute;": "\u0144",\n "nang;": "\u2220\u20d2",\n "nap;": "\u2249",\n "napE;": "\u2a70\u0338",\n "napid;": "\u224b\u0338",\n "napos;": "\u0149",\n "napprox;": "\u2249",\n "natur;": "\u266e",\n "natural;": "\u266e",\n "naturals;": "\u2115",\n "nbsp": "\xa0",\n "nbsp;": "\xa0",\n "nbump;": "\u224e\u0338",\n "nbumpe;": "\u224f\u0338",\n "ncap;": "\u2a43",\n "ncaron;": "\u0148",\n "ncedil;": "\u0146",\n "ncong;": "\u2247",\n "ncongdot;": "\u2a6d\u0338",\n "ncup;": "\u2a42",\n "ncy;": "\u043d",\n "ndash;": "\u2013",\n "ne;": "\u2260",\n "neArr;": "\u21d7",\n "nearhk;": "\u2924",\n "nearr;": "\u2197",\n "nearrow;": "\u2197",\n "nedot;": "\u2250\u0338",\n "nequiv;": "\u2262",\n "nesear;": "\u2928",\n "nesim;": "\u2242\u0338",\n "nexist;": "\u2204",\n "nexists;": "\u2204",\n "nfr;": "\U0001d52b",\n "ngE;": "\u2267\u0338",\n "nge;": "\u2271",\n "ngeq;": "\u2271",\n "ngeqq;": "\u2267\u0338",\n "ngeqslant;": "\u2a7e\u0338",\n "nges;": "\u2a7e\u0338",\n "ngsim;": "\u2275",\n "ngt;": "\u226f",\n "ngtr;": "\u226f",\n "nhArr;": "\u21ce",\n "nharr;": "\u21ae",\n "nhpar;": "\u2af2",\n "ni;": "\u220b",\n "nis;": "\u22fc",\n "nisd;": "\u22fa",\n "niv;": "\u220b",\n "njcy;": "\u045a",\n "nlArr;": "\u21cd",\n "nlE;": "\u2266\u0338",\n "nlarr;": "\u219a",\n "nldr;": "\u2025",\n "nle;": "\u2270",\n "nleftarrow;": "\u219a",\n "nleftrightarrow;": "\u21ae",\n "nleq;": "\u2270",\n "nleqq;": "\u2266\u0338",\n "nleqslant;": "\u2a7d\u0338",\n "nles;": "\u2a7d\u0338",\n "nless;": "\u226e",\n "nlsim;": "\u2274",\n "nlt;": "\u226e",\n "nltri;": "\u22ea",\n "nltrie;": "\u22ec",\n "nmid;": "\u2224",\n "nopf;": "\U0001d55f",\n "not": "\xac",\n "not;": "\xac",\n "notin;": "\u2209",\n "notinE;": "\u22f9\u0338",\n "notindot;": "\u22f5\u0338",\n "notinva;": "\u2209",\n "notinvb;": "\u22f7",\n "notinvc;": "\u22f6",\n "notni;": "\u220c",\n "notniva;": "\u220c",\n "notnivb;": "\u22fe",\n "notnivc;": "\u22fd",\n "npar;": "\u2226",\n "nparallel;": "\u2226",\n "nparsl;": "\u2afd\u20e5",\n "npart;": "\u2202\u0338",\n "npolint;": "\u2a14",\n "npr;": "\u2280",\n "nprcue;": "\u22e0",\n "npre;": "\u2aaf\u0338",\n "nprec;": "\u2280",\n "npreceq;": "\u2aaf\u0338",\n "nrArr;": "\u21cf",\n "nrarr;": "\u219b",\n "nrarrc;": "\u2933\u0338",\n "nrarrw;": "\u219d\u0338",\n "nrightarrow;": "\u219b",\n "nrtri;": "\u22eb",\n "nrtrie;": "\u22ed",\n "nsc;": "\u2281",\n "nsccue;": "\u22e1",\n "nsce;": "\u2ab0\u0338",\n "nscr;": "\U0001d4c3",\n "nshortmid;": "\u2224",\n "nshortparallel;": "\u2226",\n "nsim;": "\u2241",\n "nsime;": "\u2244",\n "nsimeq;": "\u2244",\n "nsmid;": "\u2224",\n "nspar;": "\u2226",\n "nsqsube;": "\u22e2",\n "nsqsupe;": "\u22e3",\n "nsub;": "\u2284",\n "nsubE;": "\u2ac5\u0338",\n "nsube;": "\u2288",\n "nsubset;": "\u2282\u20d2",\n "nsubseteq;": "\u2288",\n "nsubseteqq;": "\u2ac5\u0338",\n "nsucc;": "\u2281",\n "nsucceq;": "\u2ab0\u0338",\n "nsup;": "\u2285",\n "nsupE;": "\u2ac6\u0338",\n "nsupe;": "\u2289",\n "nsupset;": "\u2283\u20d2",\n "nsupseteq;": "\u2289",\n "nsupseteqq;": "\u2ac6\u0338",\n "ntgl;": "\u2279",\n "ntilde": "\xf1",\n "ntilde;": "\xf1",\n "ntlg;": "\u2278",\n "ntriangleleft;": "\u22ea",\n "ntrianglelefteq;": "\u22ec",\n "ntriangleright;": "\u22eb",\n "ntrianglerighteq;": "\u22ed",\n "nu;": "\u03bd",\n "num;": "#",\n "numero;": "\u2116",\n "numsp;": "\u2007",\n "nvDash;": "\u22ad",\n "nvHarr;": "\u2904",\n "nvap;": "\u224d\u20d2",\n "nvdash;": "\u22ac",\n "nvge;": "\u2265\u20d2",\n "nvgt;": ">\u20d2",\n "nvinfin;": "\u29de",\n "nvlArr;": "\u2902",\n "nvle;": "\u2264\u20d2",\n "nvlt;": "<\u20d2",\n "nvltrie;": "\u22b4\u20d2",\n "nvrArr;": "\u2903",\n "nvrtrie;": "\u22b5\u20d2",\n "nvsim;": "\u223c\u20d2",\n "nwArr;": "\u21d6",\n "nwarhk;": "\u2923",\n "nwarr;": "\u2196",\n "nwarrow;": "\u2196",\n "nwnear;": "\u2927",\n "oS;": "\u24c8",\n "oacute": "\xf3",\n "oacute;": "\xf3",\n "oast;": "\u229b",\n "ocir;": "\u229a",\n "ocirc": "\xf4",\n "ocirc;": "\xf4",\n "ocy;": "\u043e",\n "odash;": "\u229d",\n "odblac;": "\u0151",\n "odiv;": "\u2a38",\n "odot;": "\u2299",\n "odsold;": "\u29bc",\n "oelig;": "\u0153",\n "ofcir;": "\u29bf",\n "ofr;": "\U0001d52c",\n "ogon;": "\u02db",\n "ograve": "\xf2",\n "ograve;": "\xf2",\n "ogt;": "\u29c1",\n "ohbar;": "\u29b5",\n "ohm;": "\u03a9",\n "oint;": "\u222e",\n "olarr;": "\u21ba",\n "olcir;": "\u29be",\n "olcross;": "\u29bb",\n "oline;": "\u203e",\n "olt;": "\u29c0",\n "omacr;": "\u014d",\n "omega;": "\u03c9",\n "omicron;": "\u03bf",\n "omid;": "\u29b6",\n "ominus;": "\u2296",\n "oopf;": "\U0001d560",\n "opar;": "\u29b7",\n "operp;": "\u29b9",\n "oplus;": "\u2295",\n "or;": "\u2228",\n "orarr;": "\u21bb",\n "ord;": "\u2a5d",\n "order;": "\u2134",\n "orderof;": "\u2134",\n "ordf": "\xaa",\n "ordf;": "\xaa",\n "ordm": "\xba",\n "ordm;": "\xba",\n "origof;": "\u22b6",\n "oror;": "\u2a56",\n "orslope;": "\u2a57",\n "orv;": "\u2a5b",\n "oscr;": "\u2134",\n "oslash": "\xf8",\n "oslash;": "\xf8",\n "osol;": "\u2298",\n "otilde": "\xf5",\n "otilde;": "\xf5",\n "otimes;": "\u2297",\n "otimesas;": "\u2a36",\n "ouml": "\xf6",\n "ouml;": "\xf6",\n "ovbar;": "\u233d",\n "par;": "\u2225",\n "para": "\xb6",\n "para;": "\xb6",\n "parallel;": "\u2225",\n "parsim;": "\u2af3",\n "parsl;": "\u2afd",\n "part;": "\u2202",\n "pcy;": "\u043f",\n "percnt;": "%",\n "period;": ".",\n "permil;": "\u2030",\n "perp;": "\u22a5",\n "pertenk;": "\u2031",\n "pfr;": "\U0001d52d",\n "phi;": "\u03c6",\n "phiv;": "\u03d5",\n "phmmat;": "\u2133",\n "phone;": "\u260e",\n "pi;": "\u03c0",\n "pitchfork;": "\u22d4",\n "piv;": "\u03d6",\n "planck;": "\u210f",\n "planckh;": "\u210e",\n "plankv;": "\u210f",\n "plus;": "+",\n "plusacir;": "\u2a23",\n "plusb;": "\u229e",\n "pluscir;": "\u2a22",\n "plusdo;": "\u2214",\n "plusdu;": "\u2a25",\n "pluse;": "\u2a72",\n "plusmn": "\xb1",\n "plusmn;": "\xb1",\n "plussim;": "\u2a26",\n "plustwo;": "\u2a27",\n "pm;": "\xb1",\n "pointint;": "\u2a15",\n "popf;": "\U0001d561",\n "pound": "\xa3",\n "pound;": "\xa3",\n "pr;": "\u227a",\n "prE;": "\u2ab3",\n "prap;": "\u2ab7",\n "prcue;": "\u227c",\n "pre;": "\u2aaf",\n "prec;": "\u227a",\n "precapprox;": "\u2ab7",\n "preccurlyeq;": "\u227c",\n "preceq;": "\u2aaf",\n "precnapprox;": "\u2ab9",\n "precneqq;": "\u2ab5",\n "precnsim;": "\u22e8",\n "precsim;": "\u227e",\n "prime;": "\u2032",\n "primes;": "\u2119",\n "prnE;": "\u2ab5",\n "prnap;": "\u2ab9",\n "prnsim;": "\u22e8",\n "prod;": "\u220f",\n "profalar;": "\u232e",\n "profline;": "\u2312",\n "profsurf;": "\u2313",\n "prop;": "\u221d",\n "propto;": "\u221d",\n "prsim;": "\u227e",\n "prurel;": "\u22b0",\n "pscr;": "\U0001d4c5",\n "psi;": "\u03c8",\n "puncsp;": "\u2008",\n "qfr;": "\U0001d52e",\n "qint;": "\u2a0c",\n "qopf;": "\U0001d562",\n "qprime;": "\u2057",\n "qscr;": "\U0001d4c6",\n "quaternions;": "\u210d",\n "quatint;": "\u2a16",\n "quest;": "?",\n "questeq;": "\u225f",\n "quot": "\"",\n "quot;": "\"",\n "rAarr;": "\u21db",\n "rArr;": "\u21d2",\n "rAtail;": "\u291c",\n "rBarr;": "\u290f",\n "rHar;": "\u2964",\n "race;": "\u223d\u0331",\n "racute;": "\u0155",\n "radic;": "\u221a",\n "raemptyv;": "\u29b3",\n "rang;": "\u27e9",\n "rangd;": "\u2992",\n "range;": "\u29a5",\n "rangle;": "\u27e9",\n "raquo": "\xbb",\n "raquo;": "\xbb",\n "rarr;": "\u2192",\n "rarrap;": "\u2975",\n "rarrb;": "\u21e5",\n "rarrbfs;": "\u2920",\n "rarrc;": "\u2933",\n "rarrfs;": "\u291e",\n "rarrhk;": "\u21aa",\n "rarrlp;": "\u21ac",\n "rarrpl;": "\u2945",\n "rarrsim;": "\u2974",\n "rarrtl;": "\u21a3",\n "rarrw;": "\u219d",\n "ratail;": "\u291a",\n "ratio;": "\u2236",\n "rationals;": "\u211a",\n "rbarr;": "\u290d",\n "rbbrk;": "\u2773",\n "rbrace;": "}",\n "rbrack;": "]",\n "rbrke;": "\u298c",\n "rbrksld;": "\u298e",\n "rbrkslu;": "\u2990",\n "rcaron;": "\u0159",\n "rcedil;": "\u0157",\n "rceil;": "\u2309",\n "rcub;": "}",\n "rcy;": "\u0440",\n "rdca;": "\u2937",\n "rdldhar;": "\u2969",\n "rdquo;": "\u201d",\n "rdquor;": "\u201d",\n "rdsh;": "\u21b3",\n "real;": "\u211c",\n "realine;": "\u211b",\n "realpart;": "\u211c",\n "reals;": "\u211d",\n "rect;": "\u25ad",\n "reg": "\xae",\n "reg;": "\xae",\n "rfisht;": "\u297d",\n "rfloor;": "\u230b",\n "rfr;": "\U0001d52f",\n "rhard;": "\u21c1",\n "rharu;": "\u21c0",\n "rharul;": "\u296c",\n "rho;": "\u03c1",\n "rhov;": "\u03f1",\n "rightarrow;": "\u2192",\n "rightarrowtail;": "\u21a3",\n "rightharpoondown;": "\u21c1",\n "rightharpoonup;": "\u21c0",\n "rightleftarrows;": "\u21c4",\n "rightleftharpoons;": "\u21cc",\n "rightrightarrows;": "\u21c9",\n "rightsquigarrow;": "\u219d",\n "rightthreetimes;": "\u22cc",\n "ring;": "\u02da",\n "risingdotseq;": "\u2253",\n "rlarr;": "\u21c4",\n "rlhar;": "\u21cc",\n "rlm;": "\u200f",\n "rmoust;": "\u23b1",\n "rmoustache;": "\u23b1",\n "rnmid;": "\u2aee",\n "roang;": "\u27ed",\n "roarr;": "\u21fe",\n "robrk;": "\u27e7",\n "ropar;": "\u2986",\n "ropf;": "\U0001d563",\n "roplus;": "\u2a2e",\n "rotimes;": "\u2a35",\n "rpar;": ")",\n "rpargt;": "\u2994",\n "rppolint;": "\u2a12",\n "rrarr;": "\u21c9",\n "rsaquo;": "\u203a",\n "rscr;": "\U0001d4c7",\n "rsh;": "\u21b1",\n "rsqb;": "]",\n "rsquo;": "\u2019",\n "rsquor;": "\u2019",\n "rthree;": "\u22cc",\n "rtimes;": "\u22ca",\n "rtri;": "\u25b9",\n "rtrie;": "\u22b5",\n "rtrif;": "\u25b8",\n "rtriltri;": "\u29ce",\n "ruluhar;": "\u2968",\n "rx;": "\u211e",\n "sacute;": "\u015b",\n "sbquo;": "\u201a",\n "sc;": "\u227b",\n "scE;": "\u2ab4",\n "scap;": "\u2ab8",\n "scaron;": "\u0161",\n "sccue;": "\u227d",\n "sce;": "\u2ab0",\n "scedil;": "\u015f",\n "scirc;": "\u015d",\n "scnE;": "\u2ab6",\n "scnap;": "\u2aba",\n "scnsim;": "\u22e9",\n "scpolint;": "\u2a13",\n "scsim;": "\u227f",\n "scy;": "\u0441",\n "sdot;": "\u22c5",\n "sdotb;": "\u22a1",\n "sdote;": "\u2a66",\n "seArr;": "\u21d8",\n "searhk;": "\u2925",\n "searr;": "\u2198",\n "searrow;": "\u2198",\n "sect": "\xa7",\n "sect;": "\xa7",\n "semi;": ";",\n "seswar;": "\u2929",\n "setminus;": "\u2216",\n "setmn;": "\u2216",\n "sext;": "\u2736",\n "sfr;": "\U0001d530",\n "sfrown;": "\u2322",\n "sharp;": "\u266f",\n "shchcy;": "\u0449",\n "shcy;": "\u0448",\n "shortmid;": "\u2223",\n "shortparallel;": "\u2225",\n "shy": "\xad",\n "shy;": "\xad",\n "sigma;": "\u03c3",\n "sigmaf;": "\u03c2",\n "sigmav;": "\u03c2",\n "sim;": "\u223c",\n "simdot;": "\u2a6a",\n "sime;": "\u2243",\n "simeq;": "\u2243",\n "simg;": "\u2a9e",\n "simgE;": "\u2aa0",\n "siml;": "\u2a9d",\n "simlE;": "\u2a9f",\n "simne;": "\u2246",\n "simplus;": "\u2a24",\n "simrarr;": "\u2972",\n "slarr;": "\u2190",\n "smallsetminus;": "\u2216",\n "smashp;": "\u2a33",\n "smeparsl;": "\u29e4",\n "smid;": "\u2223",\n "smile;": "\u2323",\n "smt;": "\u2aaa",\n "smte;": "\u2aac",\n "smtes;": "\u2aac\ufe00",\n "softcy;": "\u044c",\n "sol;": "/",\n "solb;": "\u29c4",\n "solbar;": "\u233f",\n "sopf;": "\U0001d564",\n "spades;": "\u2660",\n "spadesuit;": "\u2660",\n "spar;": "\u2225",\n "sqcap;": "\u2293",\n "sqcaps;": "\u2293\ufe00",\n "sqcup;": "\u2294",\n "sqcups;": "\u2294\ufe00",\n "sqsub;": "\u228f",\n "sqsube;": "\u2291",\n "sqsubset;": "\u228f",\n "sqsubseteq;": "\u2291",\n "sqsup;": "\u2290",\n "sqsupe;": "\u2292",\n "sqsupset;": "\u2290",\n "sqsupseteq;": "\u2292",\n "squ;": "\u25a1",\n "square;": "\u25a1",\n "squarf;": "\u25aa",\n "squf;": "\u25aa",\n "srarr;": "\u2192",\n "sscr;": "\U0001d4c8",\n "ssetmn;": "\u2216",\n "ssmile;": "\u2323",\n "sstarf;": "\u22c6",\n "star;": "\u2606",\n "starf;": "\u2605",\n "straightepsilon;": "\u03f5",\n "straightphi;": "\u03d5",\n "strns;": "\xaf",\n "sub;": "\u2282",\n "subE;": "\u2ac5",\n "subdot;": "\u2abd",\n "sube;": "\u2286",\n "subedot;": "\u2ac3",\n "submult;": "\u2ac1",\n "subnE;": "\u2acb",\n "subne;": "\u228a",\n "subplus;": "\u2abf",\n "subrarr;": "\u2979",\n "subset;": "\u2282",\n "subseteq;": "\u2286",\n "subseteqq;": "\u2ac5",\n "subsetneq;": "\u228a",\n "subsetneqq;": "\u2acb",\n "subsim;": "\u2ac7",\n "subsub;": "\u2ad5",\n "subsup;": "\u2ad3",\n "succ;": "\u227b",\n "succapprox;": "\u2ab8",\n "succcurlyeq;": "\u227d",\n "succeq;": "\u2ab0",\n "succnapprox;": "\u2aba",\n "succneqq;": "\u2ab6",\n "succnsim;": "\u22e9",\n "succsim;": "\u227f",\n "sum;": "\u2211",\n "sung;": "\u266a",\n "sup1": "\xb9",\n "sup1;": "\xb9",\n "sup2": "\xb2",\n "sup2;": "\xb2",\n "sup3": "\xb3",\n "sup3;": "\xb3",\n "sup;": "\u2283",\n "supE;": "\u2ac6",\n "supdot;": "\u2abe",\n "supdsub;": "\u2ad8",\n "supe;": "\u2287",\n "supedot;": "\u2ac4",\n "suphsol;": "\u27c9",\n "suphsub;": "\u2ad7",\n "suplarr;": "\u297b",\n "supmult;": "\u2ac2",\n "supnE;": "\u2acc",\n "supne;": "\u228b",\n "supplus;": "\u2ac0",\n "supset;": "\u2283",\n "supseteq;": "\u2287",\n "supseteqq;": "\u2ac6",\n "supsetneq;": "\u228b",\n "supsetneqq;": "\u2acc",\n "supsim;": "\u2ac8",\n "supsub;": "\u2ad4",\n "supsup;": "\u2ad6",\n "swArr;": "\u21d9",\n "swarhk;": "\u2926",\n "swarr;": "\u2199",\n "swarrow;": "\u2199",\n "swnwar;": "\u292a",\n "szlig": "\xdf",\n "szlig;": "\xdf",\n "target;": "\u2316",\n "tau;": "\u03c4",\n "tbrk;": "\u23b4",\n "tcaron;": "\u0165",\n "tcedil;": "\u0163",\n "tcy;": "\u0442",\n "tdot;": "\u20db",\n "telrec;": "\u2315",\n "tfr;": "\U0001d531",\n "there4;": "\u2234",\n "therefore;": "\u2234",\n "theta;": "\u03b8",\n "thetasym;": "\u03d1",\n "thetav;": "\u03d1",\n "thickapprox;": "\u2248",\n "thicksim;": "\u223c",\n "thinsp;": "\u2009",\n "thkap;": "\u2248",\n "thksim;": "\u223c",\n "thorn": "\xfe",\n "thorn;": "\xfe",\n "tilde;": "\u02dc",\n "times": "\xd7",\n "times;": "\xd7",\n "timesb;": "\u22a0",\n "timesbar;": "\u2a31",\n "timesd;": "\u2a30",\n "tint;": "\u222d",\n "toea;": "\u2928",\n "top;": "\u22a4",\n "topbot;": "\u2336",\n "topcir;": "\u2af1",\n "topf;": "\U0001d565",\n "topfork;": "\u2ada",\n "tosa;": "\u2929",\n "tprime;": "\u2034",\n "trade;": "\u2122",\n "triangle;": "\u25b5",\n "triangledown;": "\u25bf",\n "triangleleft;": "\u25c3",\n "trianglelefteq;": "\u22b4",\n "triangleq;": "\u225c",\n "triangleright;": "\u25b9",\n "trianglerighteq;": "\u22b5",\n "tridot;": "\u25ec",\n "trie;": "\u225c",\n "triminus;": "\u2a3a",\n "triplus;": "\u2a39",\n "trisb;": "\u29cd",\n "tritime;": "\u2a3b",\n "trpezium;": "\u23e2",\n "tscr;": "\U0001d4c9",\n "tscy;": "\u0446",\n "tshcy;": "\u045b",\n "tstrok;": "\u0167",\n "twixt;": "\u226c",\n "twoheadleftarrow;": "\u219e",\n "twoheadrightarrow;": "\u21a0",\n "uArr;": "\u21d1",\n "uHar;": "\u2963",\n "uacute": "\xfa",\n "uacute;": "\xfa",\n "uarr;": "\u2191",\n "ubrcy;": "\u045e",\n "ubreve;": "\u016d",\n "ucirc": "\xfb",\n "ucirc;": "\xfb",\n "ucy;": "\u0443",\n "udarr;": "\u21c5",\n "udblac;": "\u0171",\n "udhar;": "\u296e",\n "ufisht;": "\u297e",\n "ufr;": "\U0001d532",\n "ugrave": "\xf9",\n "ugrave;": "\xf9",\n "uharl;": "\u21bf",\n "uharr;": "\u21be",\n "uhblk;": "\u2580",\n "ulcorn;": "\u231c",\n "ulcorner;": "\u231c",\n "ulcrop;": "\u230f",\n "ultri;": "\u25f8",\n "umacr;": "\u016b",\n "uml": "\xa8",\n "uml;": "\xa8",\n "uogon;": "\u0173",\n "uopf;": "\U0001d566",\n "uparrow;": "\u2191",\n "updownarrow;": "\u2195",\n "upharpoonleft;": "\u21bf",\n "upharpoonright;": "\u21be",\n "uplus;": "\u228e",\n "upsi;": "\u03c5",\n "upsih;": "\u03d2",\n "upsilon;": "\u03c5",\n "upuparrows;": "\u21c8",\n "urcorn;": "\u231d",\n "urcorner;": "\u231d",\n "urcrop;": "\u230e",\n "uring;": "\u016f",\n "urtri;": "\u25f9",\n "uscr;": "\U0001d4ca",\n "utdot;": "\u22f0",\n "utilde;": "\u0169",\n "utri;": "\u25b5",\n "utrif;": "\u25b4",\n "uuarr;": "\u21c8",\n "uuml": "\xfc",\n "uuml;": "\xfc",\n "uwangle;": "\u29a7",\n "vArr;": "\u21d5",\n "vBar;": "\u2ae8",\n "vBarv;": "\u2ae9",\n "vDash;": "\u22a8",\n "vangrt;": "\u299c",\n "varepsilon;": "\u03f5",\n "varkappa;": "\u03f0",\n "varnothing;": "\u2205",\n "varphi;": "\u03d5",\n "varpi;": "\u03d6",\n "varpropto;": "\u221d",\n "varr;": "\u2195",\n "varrho;": "\u03f1",\n "varsigma;": "\u03c2",\n "varsubsetneq;": "\u228a\ufe00",\n "varsubsetneqq;": "\u2acb\ufe00",\n "varsupsetneq;": "\u228b\ufe00",\n "varsupsetneqq;": "\u2acc\ufe00",\n "vartheta;": "\u03d1",\n "vartriangleleft;": "\u22b2",\n "vartriangleright;": "\u22b3",\n "vcy;": "\u0432",\n "vdash;": "\u22a2",\n "vee;": "\u2228",\n "veebar;": "\u22bb",\n "veeeq;": "\u225a",\n "vellip;": "\u22ee",\n "verbar;": "|",\n "vert;": "|",\n "vfr;": "\U0001d533",\n "vltri;": "\u22b2",\n "vnsub;": "\u2282\u20d2",\n "vnsup;": "\u2283\u20d2",\n "vopf;": "\U0001d567",\n "vprop;": "\u221d",\n "vrtri;": "\u22b3",\n "vscr;": "\U0001d4cb",\n "vsubnE;": "\u2acb\ufe00",\n "vsubne;": "\u228a\ufe00",\n "vsupnE;": "\u2acc\ufe00",\n "vsupne;": "\u228b\ufe00",\n "vzigzag;": "\u299a",\n "wcirc;": "\u0175",\n "wedbar;": "\u2a5f",\n "wedge;": "\u2227",\n "wedgeq;": "\u2259",\n "weierp;": "\u2118",\n "wfr;": "\U0001d534",\n "wopf;": "\U0001d568",\n "wp;": "\u2118",\n "wr;": "\u2240",\n "wreath;": "\u2240",\n "wscr;": "\U0001d4cc",\n "xcap;": "\u22c2",\n "xcirc;": "\u25ef",\n "xcup;": "\u22c3",\n "xdtri;": "\u25bd",\n "xfr;": "\U0001d535",\n "xhArr;": "\u27fa",\n "xharr;": "\u27f7",\n "xi;": "\u03be",\n "xlArr;": "\u27f8",\n "xlarr;": "\u27f5",\n "xmap;": "\u27fc",\n "xnis;": "\u22fb",\n "xodot;": "\u2a00",\n "xopf;": "\U0001d569",\n "xoplus;": "\u2a01",\n "xotime;": "\u2a02",\n "xrArr;": "\u27f9",\n "xrarr;": "\u27f6",\n "xscr;": "\U0001d4cd",\n "xsqcup;": "\u2a06",\n "xuplus;": "\u2a04",\n "xutri;": "\u25b3",\n "xvee;": "\u22c1",\n "xwedge;": "\u22c0",\n "yacute": "\xfd",\n "yacute;": "\xfd",\n "yacy;": "\u044f",\n "ycirc;": "\u0177",\n "ycy;": "\u044b",\n "yen": "\xa5",\n "yen;": "\xa5",\n "yfr;": "\U0001d536",\n "yicy;": "\u0457",\n "yopf;": "\U0001d56a",\n "yscr;": "\U0001d4ce",\n "yucy;": "\u044e",\n "yuml": "\xff",\n "yuml;": "\xff",\n "zacute;": "\u017a",\n "zcaron;": "\u017e",\n "zcy;": "\u0437",\n "zdot;": "\u017c",\n "zeetrf;": "\u2128",\n "zeta;": "\u03b6",\n "zfr;": "\U0001d537",\n "zhcy;": "\u0436",\n "zigrarr;": "\u21dd",\n "zopf;": "\U0001d56b",\n "zscr;": "\U0001d4cf",\n "zwj;": "\u200d",\n "zwnj;": "\u200c",\n}\n\nreplacementCharacters = {\n 0x0: "\uFFFD",\n 0x0d: "\u000D",\n 0x80: "\u20AC",\n 0x81: "\u0081",\n 0x82: "\u201A",\n 0x83: "\u0192",\n 0x84: "\u201E",\n 0x85: "\u2026",\n 0x86: "\u2020",\n 0x87: "\u2021",\n 0x88: "\u02C6",\n 0x89: "\u2030",\n 0x8A: "\u0160",\n 0x8B: "\u2039",\n 0x8C: "\u0152",\n 0x8D: "\u008D",\n 0x8E: "\u017D",\n 0x8F: "\u008F",\n 0x90: "\u0090",\n 0x91: "\u2018",\n 0x92: "\u2019",\n 0x93: "\u201C",\n 0x94: "\u201D",\n 0x95: "\u2022",\n 0x96: "\u2013",\n 0x97: "\u2014",\n 0x98: "\u02DC",\n 0x99: "\u2122",\n 0x9A: "\u0161",\n 0x9B: "\u203A",\n 0x9C: "\u0153",\n 0x9D: "\u009D",\n 0x9E: "\u017E",\n 0x9F: "\u0178",\n}\n\ntokenTypes = {\n "Doctype": 0,\n "Characters": 1,\n "SpaceCharacters": 2,\n "StartTag": 3,\n "EndTag": 4,\n "EmptyTag": 5,\n "Comment": 6,\n "ParseError": 7\n}\n\ntagTokenTypes = frozenset([tokenTypes["StartTag"], tokenTypes["EndTag"],\n tokenTypes["EmptyTag"]])\n\n\nprefixes = {v: k for k, v in namespaces.items()}\nprefixes["http://www.w3.org/1998/Math/MathML"] = "math"\n\n\nclass DataLossWarning(UserWarning):\n """Raised when the current tree is unable to represent the input data"""\n pass\n\n\nclass _ReparseException(Exception):\n pass\n
.venv\Lib\site-packages\bleach\_vendor\html5lib\constants.py
constants.py
Python
83,464
0.75
0.002376
0.001717
node-utils
513
2023-07-16T21:06:31.714426
BSD-3-Clause
false
3764c67dfeaaa7d1b53aa02ee0d57a38
from __future__ import absolute_import, division, unicode_literals\n\nimport re\nimport warnings\n\nfrom .constants import DataLossWarning\n\nbaseChar = """\n[#x0041-#x005A] | [#x0061-#x007A] | [#x00C0-#x00D6] | [#x00D8-#x00F6] |\n[#x00F8-#x00FF] | [#x0100-#x0131] | [#x0134-#x013E] | [#x0141-#x0148] |\n[#x014A-#x017E] | [#x0180-#x01C3] | [#x01CD-#x01F0] | [#x01F4-#x01F5] |\n[#x01FA-#x0217] | [#x0250-#x02A8] | [#x02BB-#x02C1] | #x0386 |\n[#x0388-#x038A] | #x038C | [#x038E-#x03A1] | [#x03A3-#x03CE] |\n[#x03D0-#x03D6] | #x03DA | #x03DC | #x03DE | #x03E0 | [#x03E2-#x03F3] |\n[#x0401-#x040C] | [#x040E-#x044F] | [#x0451-#x045C] | [#x045E-#x0481] |\n[#x0490-#x04C4] | [#x04C7-#x04C8] | [#x04CB-#x04CC] | [#x04D0-#x04EB] |\n[#x04EE-#x04F5] | [#x04F8-#x04F9] | [#x0531-#x0556] | #x0559 |\n[#x0561-#x0586] | [#x05D0-#x05EA] | [#x05F0-#x05F2] | [#x0621-#x063A] |\n[#x0641-#x064A] | [#x0671-#x06B7] | [#x06BA-#x06BE] | [#x06C0-#x06CE] |\n[#x06D0-#x06D3] | #x06D5 | [#x06E5-#x06E6] | [#x0905-#x0939] | #x093D |\n[#x0958-#x0961] | [#x0985-#x098C] | [#x098F-#x0990] | [#x0993-#x09A8] |\n[#x09AA-#x09B0] | #x09B2 | [#x09B6-#x09B9] | [#x09DC-#x09DD] |\n[#x09DF-#x09E1] | [#x09F0-#x09F1] | [#x0A05-#x0A0A] | [#x0A0F-#x0A10] |\n[#x0A13-#x0A28] | [#x0A2A-#x0A30] | [#x0A32-#x0A33] | [#x0A35-#x0A36] |\n[#x0A38-#x0A39] | [#x0A59-#x0A5C] | #x0A5E | [#x0A72-#x0A74] |\n[#x0A85-#x0A8B] | #x0A8D | [#x0A8F-#x0A91] | [#x0A93-#x0AA8] |\n[#x0AAA-#x0AB0] | [#x0AB2-#x0AB3] | [#x0AB5-#x0AB9] | #x0ABD | #x0AE0 |\n[#x0B05-#x0B0C] | [#x0B0F-#x0B10] | [#x0B13-#x0B28] | [#x0B2A-#x0B30] |\n[#x0B32-#x0B33] | [#x0B36-#x0B39] | #x0B3D | [#x0B5C-#x0B5D] |\n[#x0B5F-#x0B61] | [#x0B85-#x0B8A] | [#x0B8E-#x0B90] | [#x0B92-#x0B95] |\n[#x0B99-#x0B9A] | #x0B9C | [#x0B9E-#x0B9F] | [#x0BA3-#x0BA4] |\n[#x0BA8-#x0BAA] | [#x0BAE-#x0BB5] | [#x0BB7-#x0BB9] | [#x0C05-#x0C0C] |\n[#x0C0E-#x0C10] | [#x0C12-#x0C28] | [#x0C2A-#x0C33] | [#x0C35-#x0C39] |\n[#x0C60-#x0C61] | [#x0C85-#x0C8C] | [#x0C8E-#x0C90] | [#x0C92-#x0CA8] |\n[#x0CAA-#x0CB3] | [#x0CB5-#x0CB9] | #x0CDE | [#x0CE0-#x0CE1] |\n[#x0D05-#x0D0C] | [#x0D0E-#x0D10] | [#x0D12-#x0D28] | [#x0D2A-#x0D39] |\n[#x0D60-#x0D61] | [#x0E01-#x0E2E] | #x0E30 | [#x0E32-#x0E33] |\n[#x0E40-#x0E45] | [#x0E81-#x0E82] | #x0E84 | [#x0E87-#x0E88] | #x0E8A |\n#x0E8D | [#x0E94-#x0E97] | [#x0E99-#x0E9F] | [#x0EA1-#x0EA3] | #x0EA5 |\n#x0EA7 | [#x0EAA-#x0EAB] | [#x0EAD-#x0EAE] | #x0EB0 | [#x0EB2-#x0EB3] |\n#x0EBD | [#x0EC0-#x0EC4] | [#x0F40-#x0F47] | [#x0F49-#x0F69] |\n[#x10A0-#x10C5] | [#x10D0-#x10F6] | #x1100 | [#x1102-#x1103] |\n[#x1105-#x1107] | #x1109 | [#x110B-#x110C] | [#x110E-#x1112] | #x113C |\n#x113E | #x1140 | #x114C | #x114E | #x1150 | [#x1154-#x1155] | #x1159 |\n[#x115F-#x1161] | #x1163 | #x1165 | #x1167 | #x1169 | [#x116D-#x116E] |\n[#x1172-#x1173] | #x1175 | #x119E | #x11A8 | #x11AB | [#x11AE-#x11AF] |\n[#x11B7-#x11B8] | #x11BA | [#x11BC-#x11C2] | #x11EB | #x11F0 | #x11F9 |\n[#x1E00-#x1E9B] | [#x1EA0-#x1EF9] | [#x1F00-#x1F15] | [#x1F18-#x1F1D] |\n[#x1F20-#x1F45] | [#x1F48-#x1F4D] | [#x1F50-#x1F57] | #x1F59 | #x1F5B |\n#x1F5D | [#x1F5F-#x1F7D] | [#x1F80-#x1FB4] | [#x1FB6-#x1FBC] | #x1FBE |\n[#x1FC2-#x1FC4] | [#x1FC6-#x1FCC] | [#x1FD0-#x1FD3] | [#x1FD6-#x1FDB] |\n[#x1FE0-#x1FEC] | [#x1FF2-#x1FF4] | [#x1FF6-#x1FFC] | #x2126 |\n[#x212A-#x212B] | #x212E | [#x2180-#x2182] | [#x3041-#x3094] |\n[#x30A1-#x30FA] | [#x3105-#x312C] | [#xAC00-#xD7A3]"""\n\nideographic = """[#x4E00-#x9FA5] | #x3007 | [#x3021-#x3029]"""\n\ncombiningCharacter = """\n[#x0300-#x0345] | [#x0360-#x0361] | [#x0483-#x0486] | [#x0591-#x05A1] |\n[#x05A3-#x05B9] | [#x05BB-#x05BD] | #x05BF | [#x05C1-#x05C2] | #x05C4 |\n[#x064B-#x0652] | #x0670 | [#x06D6-#x06DC] | [#x06DD-#x06DF] |\n[#x06E0-#x06E4] | [#x06E7-#x06E8] | [#x06EA-#x06ED] | [#x0901-#x0903] |\n#x093C | [#x093E-#x094C] | #x094D | [#x0951-#x0954] | [#x0962-#x0963] |\n[#x0981-#x0983] | #x09BC | #x09BE | #x09BF | [#x09C0-#x09C4] |\n[#x09C7-#x09C8] | [#x09CB-#x09CD] | #x09D7 | [#x09E2-#x09E3] | #x0A02 |\n#x0A3C | #x0A3E | #x0A3F | [#x0A40-#x0A42] | [#x0A47-#x0A48] |\n[#x0A4B-#x0A4D] | [#x0A70-#x0A71] | [#x0A81-#x0A83] | #x0ABC |\n[#x0ABE-#x0AC5] | [#x0AC7-#x0AC9] | [#x0ACB-#x0ACD] | [#x0B01-#x0B03] |\n#x0B3C | [#x0B3E-#x0B43] | [#x0B47-#x0B48] | [#x0B4B-#x0B4D] |\n[#x0B56-#x0B57] | [#x0B82-#x0B83] | [#x0BBE-#x0BC2] | [#x0BC6-#x0BC8] |\n[#x0BCA-#x0BCD] | #x0BD7 | [#x0C01-#x0C03] | [#x0C3E-#x0C44] |\n[#x0C46-#x0C48] | [#x0C4A-#x0C4D] | [#x0C55-#x0C56] | [#x0C82-#x0C83] |\n[#x0CBE-#x0CC4] | [#x0CC6-#x0CC8] | [#x0CCA-#x0CCD] | [#x0CD5-#x0CD6] |\n[#x0D02-#x0D03] | [#x0D3E-#x0D43] | [#x0D46-#x0D48] | [#x0D4A-#x0D4D] |\n#x0D57 | #x0E31 | [#x0E34-#x0E3A] | [#x0E47-#x0E4E] | #x0EB1 |\n[#x0EB4-#x0EB9] | [#x0EBB-#x0EBC] | [#x0EC8-#x0ECD] | [#x0F18-#x0F19] |\n#x0F35 | #x0F37 | #x0F39 | #x0F3E | #x0F3F | [#x0F71-#x0F84] |\n[#x0F86-#x0F8B] | [#x0F90-#x0F95] | #x0F97 | [#x0F99-#x0FAD] |\n[#x0FB1-#x0FB7] | #x0FB9 | [#x20D0-#x20DC] | #x20E1 | [#x302A-#x302F] |\n#x3099 | #x309A"""\n\ndigit = """\n[#x0030-#x0039] | [#x0660-#x0669] | [#x06F0-#x06F9] | [#x0966-#x096F] |\n[#x09E6-#x09EF] | [#x0A66-#x0A6F] | [#x0AE6-#x0AEF] | [#x0B66-#x0B6F] |\n[#x0BE7-#x0BEF] | [#x0C66-#x0C6F] | [#x0CE6-#x0CEF] | [#x0D66-#x0D6F] |\n[#x0E50-#x0E59] | [#x0ED0-#x0ED9] | [#x0F20-#x0F29]"""\n\nextender = """\n#x00B7 | #x02D0 | #x02D1 | #x0387 | #x0640 | #x0E46 | #x0EC6 | #x3005 |\n#[#x3031-#x3035] | [#x309D-#x309E] | [#x30FC-#x30FE]"""\n\nletter = " | ".join([baseChar, ideographic])\n\n# Without the\nname = " | ".join([letter, digit, ".", "-", "_", combiningCharacter,\n extender])\nnameFirst = " | ".join([letter, "_"])\n\nreChar = re.compile(r"#x([\d|A-F]{4,4})")\nreCharRange = re.compile(r"\[#x([\d|A-F]{4,4})-#x([\d|A-F]{4,4})\]")\n\n\ndef charStringToList(chars):\n charRanges = [item.strip() for item in chars.split(" | ")]\n rv = []\n for item in charRanges:\n foundMatch = False\n for regexp in (reChar, reCharRange):\n match = regexp.match(item)\n if match is not None:\n rv.append([hexToInt(item) for item in match.groups()])\n if len(rv[-1]) == 1:\n rv[-1] = rv[-1] * 2\n foundMatch = True\n break\n if not foundMatch:\n assert len(item) == 1\n\n rv.append([ord(item)] * 2)\n rv = normaliseCharList(rv)\n return rv\n\n\ndef normaliseCharList(charList):\n charList = sorted(charList)\n for item in charList:\n assert item[1] >= item[0]\n rv = []\n i = 0\n while i < len(charList):\n j = 1\n rv.append(charList[i])\n while i + j < len(charList) and charList[i + j][0] <= rv[-1][1] + 1:\n rv[-1][1] = charList[i + j][1]\n j += 1\n i += j\n return rv\n\n\n# We don't really support characters above the BMP :(\nmax_unicode = int("FFFF", 16)\n\n\ndef missingRanges(charList):\n rv = []\n if charList[0] != 0:\n rv.append([0, charList[0][0] - 1])\n for i, item in enumerate(charList[:-1]):\n rv.append([item[1] + 1, charList[i + 1][0] - 1])\n if charList[-1][1] != max_unicode:\n rv.append([charList[-1][1] + 1, max_unicode])\n return rv\n\n\ndef listToRegexpStr(charList):\n rv = []\n for item in charList:\n if item[0] == item[1]:\n rv.append(escapeRegexp(chr(item[0])))\n else:\n rv.append(escapeRegexp(chr(item[0])) + "-" +\n escapeRegexp(chr(item[1])))\n return "[%s]" % "".join(rv)\n\n\ndef hexToInt(hex_str):\n return int(hex_str, 16)\n\n\ndef escapeRegexp(string):\n specialCharacters = (".", "^", "$", "*", "+", "?", "{", "}",\n "[", "]", "|", "(", ")", "-")\n for char in specialCharacters:\n string = string.replace(char, "\\" + char)\n\n return string\n\n# output from the above\nnonXmlNameBMPRegexp = re.compile('[\x00-,/:-@\\[-\\^`\\{-\xb6\xb8-\xbf\xd7\xf7\u0132-\u0133\u013f-\u0140\u0149\u017f\u01c4-\u01cc\u01f1-\u01f3\u01f6-\u01f9\u0218-\u024f\u02a9-\u02ba\u02c2-\u02cf\u02d2-\u02ff\u0346-\u035f\u0362-\u0385\u038b\u038d\u03a2\u03cf\u03d7-\u03d9\u03db\u03dd\u03df\u03e1\u03f4-\u0400\u040d\u0450\u045d\u0482\u0487-\u048f\u04c5-\u04c6\u04c9-\u04ca\u04cd-\u04cf\u04ec-\u04ed\u04f6-\u04f7\u04fa-\u0530\u0557-\u0558\u055a-\u0560\u0587-\u0590\u05a2\u05ba\u05be\u05c0\u05c3\u05c5-\u05cf\u05eb-\u05ef\u05f3-\u0620\u063b-\u063f\u0653-\u065f\u066a-\u066f\u06b8-\u06b9\u06bf\u06cf\u06d4\u06e9\u06ee-\u06ef\u06fa-\u0900\u0904\u093a-\u093b\u094e-\u0950\u0955-\u0957\u0964-\u0965\u0970-\u0980\u0984\u098d-\u098e\u0991-\u0992\u09a9\u09b1\u09b3-\u09b5\u09ba-\u09bb\u09bd\u09c5-\u09c6\u09c9-\u09ca\u09ce-\u09d6\u09d8-\u09db\u09de\u09e4-\u09e5\u09f2-\u0a01\u0a03-\u0a04\u0a0b-\u0a0e\u0a11-\u0a12\u0a29\u0a31\u0a34\u0a37\u0a3a-\u0a3b\u0a3d\u0a43-\u0a46\u0a49-\u0a4a\u0a4e-\u0a58\u0a5d\u0a5f-\u0a65\u0a75-\u0a80\u0a84\u0a8c\u0a8e\u0a92\u0aa9\u0ab1\u0ab4\u0aba-\u0abb\u0ac6\u0aca\u0ace-\u0adf\u0ae1-\u0ae5\u0af0-\u0b00\u0b04\u0b0d-\u0b0e\u0b11-\u0b12\u0b29\u0b31\u0b34-\u0b35\u0b3a-\u0b3b\u0b44-\u0b46\u0b49-\u0b4a\u0b4e-\u0b55\u0b58-\u0b5b\u0b5e\u0b62-\u0b65\u0b70-\u0b81\u0b84\u0b8b-\u0b8d\u0b91\u0b96-\u0b98\u0b9b\u0b9d\u0ba0-\u0ba2\u0ba5-\u0ba7\u0bab-\u0bad\u0bb6\u0bba-\u0bbd\u0bc3-\u0bc5\u0bc9\u0bce-\u0bd6\u0bd8-\u0be6\u0bf0-\u0c00\u0c04\u0c0d\u0c11\u0c29\u0c34\u0c3a-\u0c3d\u0c45\u0c49\u0c4e-\u0c54\u0c57-\u0c5f\u0c62-\u0c65\u0c70-\u0c81\u0c84\u0c8d\u0c91\u0ca9\u0cb4\u0cba-\u0cbd\u0cc5\u0cc9\u0cce-\u0cd4\u0cd7-\u0cdd\u0cdf\u0ce2-\u0ce5\u0cf0-\u0d01\u0d04\u0d0d\u0d11\u0d29\u0d3a-\u0d3d\u0d44-\u0d45\u0d49\u0d4e-\u0d56\u0d58-\u0d5f\u0d62-\u0d65\u0d70-\u0e00\u0e2f\u0e3b-\u0e3f\u0e4f\u0e5a-\u0e80\u0e83\u0e85-\u0e86\u0e89\u0e8b-\u0e8c\u0e8e-\u0e93\u0e98\u0ea0\u0ea4\u0ea6\u0ea8-\u0ea9\u0eac\u0eaf\u0eba\u0ebe-\u0ebf\u0ec5\u0ec7\u0ece-\u0ecf\u0eda-\u0f17\u0f1a-\u0f1f\u0f2a-\u0f34\u0f36\u0f38\u0f3a-\u0f3d\u0f48\u0f6a-\u0f70\u0f85\u0f8c-\u0f8f\u0f96\u0f98\u0fae-\u0fb0\u0fb8\u0fba-\u109f\u10c6-\u10cf\u10f7-\u10ff\u1101\u1104\u1108\u110a\u110d\u1113-\u113b\u113d\u113f\u1141-\u114b\u114d\u114f\u1151-\u1153\u1156-\u1158\u115a-\u115e\u1162\u1164\u1166\u1168\u116a-\u116c\u116f-\u1171\u1174\u1176-\u119d\u119f-\u11a7\u11a9-\u11aa\u11ac-\u11ad\u11b0-\u11b6\u11b9\u11bb\u11c3-\u11ea\u11ec-\u11ef\u11f1-\u11f8\u11fa-\u1dff\u1e9c-\u1e9f\u1efa-\u1eff\u1f16-\u1f17\u1f1e-\u1f1f\u1f46-\u1f47\u1f4e-\u1f4f\u1f58\u1f5a\u1f5c\u1f5e\u1f7e-\u1f7f\u1fb5\u1fbd\u1fbf-\u1fc1\u1fc5\u1fcd-\u1fcf\u1fd4-\u1fd5\u1fdc-\u1fdf\u1fed-\u1ff1\u1ff5\u1ffd-\u20cf\u20dd-\u20e0\u20e2-\u2125\u2127-\u2129\u212c-\u212d\u212f-\u217f\u2183-\u3004\u3006\u3008-\u3020\u3030\u3036-\u3040\u3095-\u3098\u309b-\u309c\u309f-\u30a0\u30fb\u30ff-\u3104\u312d-\u4dff\u9fa6-\uabff\ud7a4-\uffff]') # noqa\n\nnonXmlNameFirstBMPRegexp = re.compile('[\x00-@\\[-\\^`\\{-\xbf\xd7\xf7\u0132-\u0133\u013f-\u0140\u0149\u017f\u01c4-\u01cc\u01f1-\u01f3\u01f6-\u01f9\u0218-\u024f\u02a9-\u02ba\u02c2-\u0385\u0387\u038b\u038d\u03a2\u03cf\u03d7-\u03d9\u03db\u03dd\u03df\u03e1\u03f4-\u0400\u040d\u0450\u045d\u0482-\u048f\u04c5-\u04c6\u04c9-\u04ca\u04cd-\u04cf\u04ec-\u04ed\u04f6-\u04f7\u04fa-\u0530\u0557-\u0558\u055a-\u0560\u0587-\u05cf\u05eb-\u05ef\u05f3-\u0620\u063b-\u0640\u064b-\u0670\u06b8-\u06b9\u06bf\u06cf\u06d4\u06d6-\u06e4\u06e7-\u0904\u093a-\u093c\u093e-\u0957\u0962-\u0984\u098d-\u098e\u0991-\u0992\u09a9\u09b1\u09b3-\u09b5\u09ba-\u09db\u09de\u09e2-\u09ef\u09f2-\u0a04\u0a0b-\u0a0e\u0a11-\u0a12\u0a29\u0a31\u0a34\u0a37\u0a3a-\u0a58\u0a5d\u0a5f-\u0a71\u0a75-\u0a84\u0a8c\u0a8e\u0a92\u0aa9\u0ab1\u0ab4\u0aba-\u0abc\u0abe-\u0adf\u0ae1-\u0b04\u0b0d-\u0b0e\u0b11-\u0b12\u0b29\u0b31\u0b34-\u0b35\u0b3a-\u0b3c\u0b3e-\u0b5b\u0b5e\u0b62-\u0b84\u0b8b-\u0b8d\u0b91\u0b96-\u0b98\u0b9b\u0b9d\u0ba0-\u0ba2\u0ba5-\u0ba7\u0bab-\u0bad\u0bb6\u0bba-\u0c04\u0c0d\u0c11\u0c29\u0c34\u0c3a-\u0c5f\u0c62-\u0c84\u0c8d\u0c91\u0ca9\u0cb4\u0cba-\u0cdd\u0cdf\u0ce2-\u0d04\u0d0d\u0d11\u0d29\u0d3a-\u0d5f\u0d62-\u0e00\u0e2f\u0e31\u0e34-\u0e3f\u0e46-\u0e80\u0e83\u0e85-\u0e86\u0e89\u0e8b-\u0e8c\u0e8e-\u0e93\u0e98\u0ea0\u0ea4\u0ea6\u0ea8-\u0ea9\u0eac\u0eaf\u0eb1\u0eb4-\u0ebc\u0ebe-\u0ebf\u0ec5-\u0f3f\u0f48\u0f6a-\u109f\u10c6-\u10cf\u10f7-\u10ff\u1101\u1104\u1108\u110a\u110d\u1113-\u113b\u113d\u113f\u1141-\u114b\u114d\u114f\u1151-\u1153\u1156-\u1158\u115a-\u115e\u1162\u1164\u1166\u1168\u116a-\u116c\u116f-\u1171\u1174\u1176-\u119d\u119f-\u11a7\u11a9-\u11aa\u11ac-\u11ad\u11b0-\u11b6\u11b9\u11bb\u11c3-\u11ea\u11ec-\u11ef\u11f1-\u11f8\u11fa-\u1dff\u1e9c-\u1e9f\u1efa-\u1eff\u1f16-\u1f17\u1f1e-\u1f1f\u1f46-\u1f47\u1f4e-\u1f4f\u1f58\u1f5a\u1f5c\u1f5e\u1f7e-\u1f7f\u1fb5\u1fbd\u1fbf-\u1fc1\u1fc5\u1fcd-\u1fcf\u1fd4-\u1fd5\u1fdc-\u1fdf\u1fed-\u1ff1\u1ff5\u1ffd-\u2125\u2127-\u2129\u212c-\u212d\u212f-\u217f\u2183-\u3006\u3008-\u3020\u302a-\u3040\u3095-\u30a0\u30fb-\u3104\u312d-\u4dff\u9fa6-\uabff\ud7a4-\uffff]') # noqa\n\n# Simpler things\nnonPubidCharRegexp = re.compile("[^\x20\x0D\x0Aa-zA-Z0-9\\-'()+,./:=?;!*#@$_%]")\n\n\nclass InfosetFilter(object):\n replacementRegexp = re.compile(r"U[\dA-F]{5,5}")\n\n def __init__(self,\n dropXmlnsLocalName=False,\n dropXmlnsAttrNs=False,\n preventDoubleDashComments=False,\n preventDashAtCommentEnd=False,\n replaceFormFeedCharacters=True,\n preventSingleQuotePubid=False):\n\n self.dropXmlnsLocalName = dropXmlnsLocalName\n self.dropXmlnsAttrNs = dropXmlnsAttrNs\n\n self.preventDoubleDashComments = preventDoubleDashComments\n self.preventDashAtCommentEnd = preventDashAtCommentEnd\n\n self.replaceFormFeedCharacters = replaceFormFeedCharacters\n\n self.preventSingleQuotePubid = preventSingleQuotePubid\n\n self.replaceCache = {}\n\n def coerceAttribute(self, name, namespace=None):\n if self.dropXmlnsLocalName and name.startswith("xmlns:"):\n warnings.warn("Attributes cannot begin with xmlns", DataLossWarning)\n return None\n elif (self.dropXmlnsAttrNs and\n namespace == "http://www.w3.org/2000/xmlns/"):\n warnings.warn("Attributes cannot be in the xml namespace", DataLossWarning)\n return None\n else:\n return self.toXmlName(name)\n\n def coerceElement(self, name):\n return self.toXmlName(name)\n\n def coerceComment(self, data):\n if self.preventDoubleDashComments:\n while "--" in data:\n warnings.warn("Comments cannot contain adjacent dashes", DataLossWarning)\n data = data.replace("--", "- -")\n if data.endswith("-"):\n warnings.warn("Comments cannot end in a dash", DataLossWarning)\n data += " "\n return data\n\n def coerceCharacters(self, data):\n if self.replaceFormFeedCharacters:\n for _ in range(data.count("\x0C")):\n warnings.warn("Text cannot contain U+000C", DataLossWarning)\n data = data.replace("\x0C", " ")\n # Other non-xml characters\n return data\n\n def coercePubid(self, data):\n dataOutput = data\n for char in nonPubidCharRegexp.findall(data):\n warnings.warn("Coercing non-XML pubid", DataLossWarning)\n replacement = self.getReplacementCharacter(char)\n dataOutput = dataOutput.replace(char, replacement)\n if self.preventSingleQuotePubid and dataOutput.find("'") >= 0:\n warnings.warn("Pubid cannot contain single quote", DataLossWarning)\n dataOutput = dataOutput.replace("'", self.getReplacementCharacter("'"))\n return dataOutput\n\n def toXmlName(self, name):\n nameFirst = name[0]\n nameRest = name[1:]\n m = nonXmlNameFirstBMPRegexp.match(nameFirst)\n if m:\n warnings.warn("Coercing non-XML name: %s" % name, DataLossWarning)\n nameFirstOutput = self.getReplacementCharacter(nameFirst)\n else:\n nameFirstOutput = nameFirst\n\n nameRestOutput = nameRest\n replaceChars = set(nonXmlNameBMPRegexp.findall(nameRest))\n for char in replaceChars:\n warnings.warn("Coercing non-XML name: %s" % name, DataLossWarning)\n replacement = self.getReplacementCharacter(char)\n nameRestOutput = nameRestOutput.replace(char, replacement)\n return nameFirstOutput + nameRestOutput\n\n def getReplacementCharacter(self, char):\n if char in self.replaceCache:\n replacement = self.replaceCache[char]\n else:\n replacement = self.escapeChar(char)\n return replacement\n\n def fromXmlName(self, name):\n for item in set(self.replacementRegexp.findall(name)):\n name = name.replace(item, self.unescapeChar(item))\n return name\n\n def escapeChar(self, char):\n replacement = "U%05X" % ord(char)\n self.replaceCache[char] = replacement\n return replacement\n\n def unescapeChar(self, charcode):\n return chr(int(charcode[1:], 16))\n
.venv\Lib\site-packages\bleach\_vendor\html5lib\_ihatexml.py
_ihatexml.py
Python
16,728
0.95
0.15917
0.074689
react-lib
962
2025-05-19T21:52:16.823369
Apache-2.0
false
bcd46c53b9c35cf29809f84e96edb11f
from __future__ import absolute_import, division, unicode_literals\n\nfrom . import base\n\nfrom collections import OrderedDict\n\n\ndef _attr_key(attr):\n """Return an appropriate key for an attribute for sorting\n\n Attributes have a namespace that can be either ``None`` or a string. We\n can't compare the two because they're different types, so we convert\n ``None`` to an empty string first.\n\n """\n return (attr[0][0] or ''), attr[0][1]\n\n\nclass Filter(base.Filter):\n """Alphabetizes attributes for elements"""\n def __iter__(self):\n for token in base.Filter.__iter__(self):\n if token["type"] in ("StartTag", "EmptyTag"):\n attrs = OrderedDict()\n for name, value in sorted(token["data"].items(),\n key=_attr_key):\n attrs[name] = value\n token["data"] = attrs\n yield token\n
.venv\Lib\site-packages\bleach\_vendor\html5lib\filters\alphabeticalattributes.py
alphabeticalattributes.py
Python
919
0.85
0.310345
0
vue-tools
77
2024-06-01T05:04:59.882827
GPL-3.0
false
a65b5511ec9aeaa84c109a9e81532a95
from __future__ import absolute_import, division, unicode_literals\n\n\nclass Filter(object):\n def __init__(self, source):\n self.source = source\n\n def __iter__(self):\n return iter(self.source)\n\n def __getattr__(self, name):\n return getattr(self.source, name)\n
.venv\Lib\site-packages\bleach\_vendor\html5lib\filters\base.py
base.py
Python
286
0.85
0.333333
0
node-utils
762
2024-09-27T23:32:37.248750
BSD-3-Clause
false
171e133cd9c56ba65698eb052cb4c1ca
from __future__ import absolute_import, division, unicode_literals\n\nfrom . import base\n\n\nclass Filter(base.Filter):\n """Injects ``<meta charset=ENCODING>`` tag into head of document"""\n def __init__(self, source, encoding):\n """Creates a Filter\n\n :arg source: the source token stream\n\n :arg encoding: the encoding to set\n\n """\n base.Filter.__init__(self, source)\n self.encoding = encoding\n\n def __iter__(self):\n state = "pre_head"\n meta_found = (self.encoding is None)\n pending = []\n\n for token in base.Filter.__iter__(self):\n type = token["type"]\n if type == "StartTag":\n if token["name"].lower() == "head":\n state = "in_head"\n\n elif type == "EmptyTag":\n if token["name"].lower() == "meta":\n # replace charset with actual encoding\n has_http_equiv_content_type = False\n for (namespace, name), value in token["data"].items():\n if namespace is not None:\n continue\n elif name.lower() == 'charset':\n token["data"][(namespace, name)] = self.encoding\n meta_found = True\n break\n elif name == 'http-equiv' and value.lower() == 'content-type':\n has_http_equiv_content_type = True\n else:\n if has_http_equiv_content_type and (None, "content") in token["data"]:\n token["data"][(None, "content")] = 'text/html; charset=%s' % self.encoding\n meta_found = True\n\n elif token["name"].lower() == "head" and not meta_found:\n # insert meta into empty head\n yield {"type": "StartTag", "name": "head",\n "data": token["data"]}\n yield {"type": "EmptyTag", "name": "meta",\n "data": {(None, "charset"): self.encoding}}\n yield {"type": "EndTag", "name": "head"}\n meta_found = True\n continue\n\n elif type == "EndTag":\n if token["name"].lower() == "head" and pending:\n # insert meta into head (if necessary) and flush pending queue\n yield pending.pop(0)\n if not meta_found:\n yield {"type": "EmptyTag", "name": "meta",\n "data": {(None, "charset"): self.encoding}}\n while pending:\n yield pending.pop(0)\n meta_found = True\n state = "post_head"\n\n if state == "in_head":\n pending.append(token)\n else:\n yield token\n
.venv\Lib\site-packages\bleach\_vendor\html5lib\filters\inject_meta_charset.py
inject_meta_charset.py
Python
2,945
0.95
0.205479
0.04918
node-utils
7
2024-08-13T02:18:38.922535
GPL-3.0
false
ae9c2e839c8f2cd3f724d77aa710ba7b
from __future__ import absolute_import, division, unicode_literals\n\nfrom . import base\n\n\nclass Filter(base.Filter):\n """Removes optional tags from the token stream"""\n def slider(self):\n previous1 = previous2 = None\n for token in self.source:\n if previous1 is not None:\n yield previous2, previous1, token\n previous2 = previous1\n previous1 = token\n if previous1 is not None:\n yield previous2, previous1, None\n\n def __iter__(self):\n for previous, token, next in self.slider():\n type = token["type"]\n if type == "StartTag":\n if (token["data"] or\n not self.is_optional_start(token["name"], previous, next)):\n yield token\n elif type == "EndTag":\n if not self.is_optional_end(token["name"], next):\n yield token\n else:\n yield token\n\n def is_optional_start(self, tagname, previous, next):\n type = next and next["type"] or None\n if tagname in 'html':\n # An html element's start tag may be omitted if the first thing\n # inside the html element is not a space character or a comment.\n return type not in ("Comment", "SpaceCharacters")\n elif tagname == 'head':\n # A head element's start tag may be omitted if the first thing\n # inside the head element is an element.\n # XXX: we also omit the start tag if the head element is empty\n if type in ("StartTag", "EmptyTag"):\n return True\n elif type == "EndTag":\n return next["name"] == "head"\n elif tagname == 'body':\n # A body element's start tag may be omitted if the first thing\n # inside the body element is not a space character or a comment,\n # except if the first thing inside the body element is a script\n # or style element and the node immediately preceding the body\n # element is a head element whose end tag has been omitted.\n if type in ("Comment", "SpaceCharacters"):\n return False\n elif type == "StartTag":\n # XXX: we do not look at the preceding event, so we never omit\n # the body element's start tag if it's followed by a script or\n # a style element.\n return next["name"] not in ('script', 'style')\n else:\n return True\n elif tagname == 'colgroup':\n # A colgroup element's start tag may be omitted if the first thing\n # inside the colgroup element is a col element, and if the element\n # is not immediately preceded by another colgroup element whose\n # end tag has been omitted.\n if type in ("StartTag", "EmptyTag"):\n # XXX: we do not look at the preceding event, so instead we never\n # omit the colgroup element's end tag when it is immediately\n # followed by another colgroup element. See is_optional_end.\n return next["name"] == "col"\n else:\n return False\n elif tagname == 'tbody':\n # A tbody element's start tag may be omitted if the first thing\n # inside the tbody element is a tr element, and if the element is\n # not immediately preceded by a tbody, thead, or tfoot element\n # whose end tag has been omitted.\n if type == "StartTag":\n # omit the thead and tfoot elements' end tag when they are\n # immediately followed by a tbody element. See is_optional_end.\n if previous and previous['type'] == 'EndTag' and \\n previous['name'] in ('tbody', 'thead', 'tfoot'):\n return False\n return next["name"] == 'tr'\n else:\n return False\n return False\n\n def is_optional_end(self, tagname, next):\n type = next and next["type"] or None\n if tagname in ('html', 'head', 'body'):\n # An html element's end tag may be omitted if the html element\n # is not immediately followed by a space character or a comment.\n return type not in ("Comment", "SpaceCharacters")\n elif tagname in ('li', 'optgroup', 'tr'):\n # A li element's end tag may be omitted if the li element is\n # immediately followed by another li element or if there is\n # no more content in the parent element.\n # An optgroup element's end tag may be omitted if the optgroup\n # element is immediately followed by another optgroup element,\n # or if there is no more content in the parent element.\n # A tr element's end tag may be omitted if the tr element is\n # immediately followed by another tr element, or if there is\n # no more content in the parent element.\n if type == "StartTag":\n return next["name"] == tagname\n else:\n return type == "EndTag" or type is None\n elif tagname in ('dt', 'dd'):\n # A dt element's end tag may be omitted if the dt element is\n # immediately followed by another dt element or a dd element.\n # A dd element's end tag may be omitted if the dd element is\n # immediately followed by another dd element or a dt element,\n # or if there is no more content in the parent element.\n if type == "StartTag":\n return next["name"] in ('dt', 'dd')\n elif tagname == 'dd':\n return type == "EndTag" or type is None\n else:\n return False\n elif tagname == 'p':\n # A p element's end tag may be omitted if the p element is\n # immediately followed by an address, article, aside,\n # blockquote, datagrid, dialog, dir, div, dl, fieldset,\n # footer, form, h1, h2, h3, h4, h5, h6, header, hr, menu,\n # nav, ol, p, pre, section, table, or ul, element, or if\n # there is no more content in the parent element.\n if type in ("StartTag", "EmptyTag"):\n return next["name"] in ('address', 'article', 'aside',\n 'blockquote', 'datagrid', 'dialog',\n 'dir', 'div', 'dl', 'fieldset', 'footer',\n 'form', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6',\n 'header', 'hr', 'menu', 'nav', 'ol',\n 'p', 'pre', 'section', 'table', 'ul')\n else:\n return type == "EndTag" or type is None\n elif tagname == 'option':\n # An option element's end tag may be omitted if the option\n # element is immediately followed by another option element,\n # or if it is immediately followed by an <code>optgroup</code>\n # element, or if there is no more content in the parent\n # element.\n if type == "StartTag":\n return next["name"] in ('option', 'optgroup')\n else:\n return type == "EndTag" or type is None\n elif tagname in ('rt', 'rp'):\n # An rt element's end tag may be omitted if the rt element is\n # immediately followed by an rt or rp element, or if there is\n # no more content in the parent element.\n # An rp element's end tag may be omitted if the rp element is\n # immediately followed by an rt or rp element, or if there is\n # no more content in the parent element.\n if type == "StartTag":\n return next["name"] in ('rt', 'rp')\n else:\n return type == "EndTag" or type is None\n elif tagname == 'colgroup':\n # A colgroup element's end tag may be omitted if the colgroup\n # element is not immediately followed by a space character or\n # a comment.\n if type in ("Comment", "SpaceCharacters"):\n return False\n elif type == "StartTag":\n # XXX: we also look for an immediately following colgroup\n # element. See is_optional_start.\n return next["name"] != 'colgroup'\n else:\n return True\n elif tagname in ('thead', 'tbody'):\n # A thead element's end tag may be omitted if the thead element\n # is immediately followed by a tbody or tfoot element.\n # A tbody element's end tag may be omitted if the tbody element\n # is immediately followed by a tbody or tfoot element, or if\n # there is no more content in the parent element.\n # A tfoot element's end tag may be omitted if the tfoot element\n # is immediately followed by a tbody element, or if there is no\n # more content in the parent element.\n # XXX: we never omit the end tag when the following element is\n # a tbody. See is_optional_start.\n if type == "StartTag":\n return next["name"] in ['tbody', 'tfoot']\n elif tagname == 'tbody':\n return type == "EndTag" or type is None\n else:\n return False\n elif tagname == 'tfoot':\n # A tfoot element's end tag may be omitted if the tfoot element\n # is immediately followed by a tbody element, or if there is no\n # more content in the parent element.\n # XXX: we never omit the end tag when the following element is\n # a tbody. See is_optional_start.\n if type == "StartTag":\n return next["name"] == 'tbody'\n else:\n return type == "EndTag" or type is None\n elif tagname in ('td', 'th'):\n # A td element's end tag may be omitted if the td element is\n # immediately followed by a td or th element, or if there is\n # no more content in the parent element.\n # A th element's end tag may be omitted if the th element is\n # immediately followed by a td or th element, or if there is\n # no more content in the parent element.\n if type == "StartTag":\n return next["name"] in ('td', 'th')\n else:\n return type == "EndTag" or type is None\n return False\n
.venv\Lib\site-packages\bleach\_vendor\html5lib\filters\optionaltags.py
optionaltags.py
Python
10,588
0.95
0.338164
0.422886
node-utils
338
2025-02-05T11:50:54.970321
GPL-3.0
false
a86748388fdc0548c06d8b3251fbda10
"""Deprecated from html5lib 1.1.\n\nSee `here <https://github.com/html5lib/html5lib-python/issues/443>`_ for\ninformation about its deprecation; `Bleach <https://github.com/mozilla/bleach>`_\nis recommended as a replacement. Please let us know in the aforementioned issue\nif Bleach is unsuitable for your needs.\n\n"""\nfrom __future__ import absolute_import, division, unicode_literals\n\nimport re\nimport warnings\nfrom xml.sax.saxutils import escape, unescape\n\nfrom bleach.six_shim import urllib_parse as urlparse\n\nfrom . import base\nfrom ..constants import namespaces, prefixes\n\n__all__ = ["Filter"]\n\n\n_deprecation_msg = (\n "html5lib's sanitizer is deprecated; see " +\n "https://github.com/html5lib/html5lib-python/issues/443 and please let " +\n "us know if Bleach is unsuitable for your needs"\n)\n\nwarnings.warn(_deprecation_msg, DeprecationWarning)\n\nallowed_elements = frozenset((\n (namespaces['html'], 'a'),\n (namespaces['html'], 'abbr'),\n (namespaces['html'], 'acronym'),\n (namespaces['html'], 'address'),\n (namespaces['html'], 'area'),\n (namespaces['html'], 'article'),\n (namespaces['html'], 'aside'),\n (namespaces['html'], 'audio'),\n (namespaces['html'], 'b'),\n (namespaces['html'], 'big'),\n (namespaces['html'], 'blockquote'),\n (namespaces['html'], 'br'),\n (namespaces['html'], 'button'),\n (namespaces['html'], 'canvas'),\n (namespaces['html'], 'caption'),\n (namespaces['html'], 'center'),\n (namespaces['html'], 'cite'),\n (namespaces['html'], 'code'),\n (namespaces['html'], 'col'),\n (namespaces['html'], 'colgroup'),\n (namespaces['html'], 'command'),\n (namespaces['html'], 'datagrid'),\n (namespaces['html'], 'datalist'),\n (namespaces['html'], 'dd'),\n (namespaces['html'], 'del'),\n (namespaces['html'], 'details'),\n (namespaces['html'], 'dfn'),\n (namespaces['html'], 'dialog'),\n (namespaces['html'], 'dir'),\n (namespaces['html'], 'div'),\n (namespaces['html'], 'dl'),\n (namespaces['html'], 'dt'),\n (namespaces['html'], 'em'),\n (namespaces['html'], 'event-source'),\n (namespaces['html'], 'fieldset'),\n (namespaces['html'], 'figcaption'),\n (namespaces['html'], 'figure'),\n (namespaces['html'], 'footer'),\n (namespaces['html'], 'font'),\n (namespaces['html'], 'form'),\n (namespaces['html'], 'header'),\n (namespaces['html'], 'h1'),\n (namespaces['html'], 'h2'),\n (namespaces['html'], 'h3'),\n (namespaces['html'], 'h4'),\n (namespaces['html'], 'h5'),\n (namespaces['html'], 'h6'),\n (namespaces['html'], 'hr'),\n (namespaces['html'], 'i'),\n (namespaces['html'], 'img'),\n (namespaces['html'], 'input'),\n (namespaces['html'], 'ins'),\n (namespaces['html'], 'keygen'),\n (namespaces['html'], 'kbd'),\n (namespaces['html'], 'label'),\n (namespaces['html'], 'legend'),\n (namespaces['html'], 'li'),\n (namespaces['html'], 'm'),\n (namespaces['html'], 'map'),\n (namespaces['html'], 'menu'),\n (namespaces['html'], 'meter'),\n (namespaces['html'], 'multicol'),\n (namespaces['html'], 'nav'),\n (namespaces['html'], 'nextid'),\n (namespaces['html'], 'ol'),\n (namespaces['html'], 'output'),\n (namespaces['html'], 'optgroup'),\n (namespaces['html'], 'option'),\n (namespaces['html'], 'p'),\n (namespaces['html'], 'pre'),\n (namespaces['html'], 'progress'),\n (namespaces['html'], 'q'),\n (namespaces['html'], 's'),\n (namespaces['html'], 'samp'),\n (namespaces['html'], 'section'),\n (namespaces['html'], 'select'),\n (namespaces['html'], 'small'),\n (namespaces['html'], 'sound'),\n (namespaces['html'], 'source'),\n (namespaces['html'], 'spacer'),\n (namespaces['html'], 'span'),\n (namespaces['html'], 'strike'),\n (namespaces['html'], 'strong'),\n (namespaces['html'], 'sub'),\n (namespaces['html'], 'sup'),\n (namespaces['html'], 'table'),\n (namespaces['html'], 'tbody'),\n (namespaces['html'], 'td'),\n (namespaces['html'], 'textarea'),\n (namespaces['html'], 'time'),\n (namespaces['html'], 'tfoot'),\n (namespaces['html'], 'th'),\n (namespaces['html'], 'thead'),\n (namespaces['html'], 'tr'),\n (namespaces['html'], 'tt'),\n (namespaces['html'], 'u'),\n (namespaces['html'], 'ul'),\n (namespaces['html'], 'var'),\n (namespaces['html'], 'video'),\n (namespaces['mathml'], 'maction'),\n (namespaces['mathml'], 'math'),\n (namespaces['mathml'], 'merror'),\n (namespaces['mathml'], 'mfrac'),\n (namespaces['mathml'], 'mi'),\n (namespaces['mathml'], 'mmultiscripts'),\n (namespaces['mathml'], 'mn'),\n (namespaces['mathml'], 'mo'),\n (namespaces['mathml'], 'mover'),\n (namespaces['mathml'], 'mpadded'),\n (namespaces['mathml'], 'mphantom'),\n (namespaces['mathml'], 'mprescripts'),\n (namespaces['mathml'], 'mroot'),\n (namespaces['mathml'], 'mrow'),\n (namespaces['mathml'], 'mspace'),\n (namespaces['mathml'], 'msqrt'),\n (namespaces['mathml'], 'mstyle'),\n (namespaces['mathml'], 'msub'),\n (namespaces['mathml'], 'msubsup'),\n (namespaces['mathml'], 'msup'),\n (namespaces['mathml'], 'mtable'),\n (namespaces['mathml'], 'mtd'),\n (namespaces['mathml'], 'mtext'),\n (namespaces['mathml'], 'mtr'),\n (namespaces['mathml'], 'munder'),\n (namespaces['mathml'], 'munderover'),\n (namespaces['mathml'], 'none'),\n (namespaces['svg'], 'a'),\n (namespaces['svg'], 'animate'),\n (namespaces['svg'], 'animateColor'),\n (namespaces['svg'], 'animateMotion'),\n (namespaces['svg'], 'animateTransform'),\n (namespaces['svg'], 'clipPath'),\n (namespaces['svg'], 'circle'),\n (namespaces['svg'], 'defs'),\n (namespaces['svg'], 'desc'),\n (namespaces['svg'], 'ellipse'),\n (namespaces['svg'], 'font-face'),\n (namespaces['svg'], 'font-face-name'),\n (namespaces['svg'], 'font-face-src'),\n (namespaces['svg'], 'g'),\n (namespaces['svg'], 'glyph'),\n (namespaces['svg'], 'hkern'),\n (namespaces['svg'], 'linearGradient'),\n (namespaces['svg'], 'line'),\n (namespaces['svg'], 'marker'),\n (namespaces['svg'], 'metadata'),\n (namespaces['svg'], 'missing-glyph'),\n (namespaces['svg'], 'mpath'),\n (namespaces['svg'], 'path'),\n (namespaces['svg'], 'polygon'),\n (namespaces['svg'], 'polyline'),\n (namespaces['svg'], 'radialGradient'),\n (namespaces['svg'], 'rect'),\n (namespaces['svg'], 'set'),\n (namespaces['svg'], 'stop'),\n (namespaces['svg'], 'svg'),\n (namespaces['svg'], 'switch'),\n (namespaces['svg'], 'text'),\n (namespaces['svg'], 'title'),\n (namespaces['svg'], 'tspan'),\n (namespaces['svg'], 'use'),\n))\n\nallowed_attributes = frozenset((\n # HTML attributes\n (None, 'abbr'),\n (None, 'accept'),\n (None, 'accept-charset'),\n (None, 'accesskey'),\n (None, 'action'),\n (None, 'align'),\n (None, 'alt'),\n (None, 'autocomplete'),\n (None, 'autofocus'),\n (None, 'axis'),\n (None, 'background'),\n (None, 'balance'),\n (None, 'bgcolor'),\n (None, 'bgproperties'),\n (None, 'border'),\n (None, 'bordercolor'),\n (None, 'bordercolordark'),\n (None, 'bordercolorlight'),\n (None, 'bottompadding'),\n (None, 'cellpadding'),\n (None, 'cellspacing'),\n (None, 'ch'),\n (None, 'challenge'),\n (None, 'char'),\n (None, 'charoff'),\n (None, 'choff'),\n (None, 'charset'),\n (None, 'checked'),\n (None, 'cite'),\n (None, 'class'),\n (None, 'clear'),\n (None, 'color'),\n (None, 'cols'),\n (None, 'colspan'),\n (None, 'compact'),\n (None, 'contenteditable'),\n (None, 'controls'),\n (None, 'coords'),\n (None, 'data'),\n (None, 'datafld'),\n (None, 'datapagesize'),\n (None, 'datasrc'),\n (None, 'datetime'),\n (None, 'default'),\n (None, 'delay'),\n (None, 'dir'),\n (None, 'disabled'),\n (None, 'draggable'),\n (None, 'dynsrc'),\n (None, 'enctype'),\n (None, 'end'),\n (None, 'face'),\n (None, 'for'),\n (None, 'form'),\n (None, 'frame'),\n (None, 'galleryimg'),\n (None, 'gutter'),\n (None, 'headers'),\n (None, 'height'),\n (None, 'hidefocus'),\n (None, 'hidden'),\n (None, 'high'),\n (None, 'href'),\n (None, 'hreflang'),\n (None, 'hspace'),\n (None, 'icon'),\n (None, 'id'),\n (None, 'inputmode'),\n (None, 'ismap'),\n (None, 'keytype'),\n (None, 'label'),\n (None, 'leftspacing'),\n (None, 'lang'),\n (None, 'list'),\n (None, 'longdesc'),\n (None, 'loop'),\n (None, 'loopcount'),\n (None, 'loopend'),\n (None, 'loopstart'),\n (None, 'low'),\n (None, 'lowsrc'),\n (None, 'max'),\n (None, 'maxlength'),\n (None, 'media'),\n (None, 'method'),\n (None, 'min'),\n (None, 'multiple'),\n (None, 'name'),\n (None, 'nohref'),\n (None, 'noshade'),\n (None, 'nowrap'),\n (None, 'open'),\n (None, 'optimum'),\n (None, 'pattern'),\n (None, 'ping'),\n (None, 'point-size'),\n (None, 'poster'),\n (None, 'pqg'),\n (None, 'preload'),\n (None, 'prompt'),\n (None, 'radiogroup'),\n (None, 'readonly'),\n (None, 'rel'),\n (None, 'repeat-max'),\n (None, 'repeat-min'),\n (None, 'replace'),\n (None, 'required'),\n (None, 'rev'),\n (None, 'rightspacing'),\n (None, 'rows'),\n (None, 'rowspan'),\n (None, 'rules'),\n (None, 'scope'),\n (None, 'selected'),\n (None, 'shape'),\n (None, 'size'),\n (None, 'span'),\n (None, 'src'),\n (None, 'start'),\n (None, 'step'),\n (None, 'style'),\n (None, 'summary'),\n (None, 'suppress'),\n (None, 'tabindex'),\n (None, 'target'),\n (None, 'template'),\n (None, 'title'),\n (None, 'toppadding'),\n (None, 'type'),\n (None, 'unselectable'),\n (None, 'usemap'),\n (None, 'urn'),\n (None, 'valign'),\n (None, 'value'),\n (None, 'variable'),\n (None, 'volume'),\n (None, 'vspace'),\n (None, 'vrml'),\n (None, 'width'),\n (None, 'wrap'),\n (namespaces['xml'], 'lang'),\n # MathML attributes\n (None, 'actiontype'),\n (None, 'align'),\n (None, 'columnalign'),\n (None, 'columnalign'),\n (None, 'columnalign'),\n (None, 'columnlines'),\n (None, 'columnspacing'),\n (None, 'columnspan'),\n (None, 'depth'),\n (None, 'display'),\n (None, 'displaystyle'),\n (None, 'equalcolumns'),\n (None, 'equalrows'),\n (None, 'fence'),\n (None, 'fontstyle'),\n (None, 'fontweight'),\n (None, 'frame'),\n (None, 'height'),\n (None, 'linethickness'),\n (None, 'lspace'),\n (None, 'mathbackground'),\n (None, 'mathcolor'),\n (None, 'mathvariant'),\n (None, 'mathvariant'),\n (None, 'maxsize'),\n (None, 'minsize'),\n (None, 'other'),\n (None, 'rowalign'),\n (None, 'rowalign'),\n (None, 'rowalign'),\n (None, 'rowlines'),\n (None, 'rowspacing'),\n (None, 'rowspan'),\n (None, 'rspace'),\n (None, 'scriptlevel'),\n (None, 'selection'),\n (None, 'separator'),\n (None, 'stretchy'),\n (None, 'width'),\n (None, 'width'),\n (namespaces['xlink'], 'href'),\n (namespaces['xlink'], 'show'),\n (namespaces['xlink'], 'type'),\n # SVG attributes\n (None, 'accent-height'),\n (None, 'accumulate'),\n (None, 'additive'),\n (None, 'alphabetic'),\n (None, 'arabic-form'),\n (None, 'ascent'),\n (None, 'attributeName'),\n (None, 'attributeType'),\n (None, 'baseProfile'),\n (None, 'bbox'),\n (None, 'begin'),\n (None, 'by'),\n (None, 'calcMode'),\n (None, 'cap-height'),\n (None, 'class'),\n (None, 'clip-path'),\n (None, 'color'),\n (None, 'color-rendering'),\n (None, 'content'),\n (None, 'cx'),\n (None, 'cy'),\n (None, 'd'),\n (None, 'dx'),\n (None, 'dy'),\n (None, 'descent'),\n (None, 'display'),\n (None, 'dur'),\n (None, 'end'),\n (None, 'fill'),\n (None, 'fill-opacity'),\n (None, 'fill-rule'),\n (None, 'font-family'),\n (None, 'font-size'),\n (None, 'font-stretch'),\n (None, 'font-style'),\n (None, 'font-variant'),\n (None, 'font-weight'),\n (None, 'from'),\n (None, 'fx'),\n (None, 'fy'),\n (None, 'g1'),\n (None, 'g2'),\n (None, 'glyph-name'),\n (None, 'gradientUnits'),\n (None, 'hanging'),\n (None, 'height'),\n (None, 'horiz-adv-x'),\n (None, 'horiz-origin-x'),\n (None, 'id'),\n (None, 'ideographic'),\n (None, 'k'),\n (None, 'keyPoints'),\n (None, 'keySplines'),\n (None, 'keyTimes'),\n (None, 'lang'),\n (None, 'marker-end'),\n (None, 'marker-mid'),\n (None, 'marker-start'),\n (None, 'markerHeight'),\n (None, 'markerUnits'),\n (None, 'markerWidth'),\n (None, 'mathematical'),\n (None, 'max'),\n (None, 'min'),\n (None, 'name'),\n (None, 'offset'),\n (None, 'opacity'),\n (None, 'orient'),\n (None, 'origin'),\n (None, 'overline-position'),\n (None, 'overline-thickness'),\n (None, 'panose-1'),\n (None, 'path'),\n (None, 'pathLength'),\n (None, 'points'),\n (None, 'preserveAspectRatio'),\n (None, 'r'),\n (None, 'refX'),\n (None, 'refY'),\n (None, 'repeatCount'),\n (None, 'repeatDur'),\n (None, 'requiredExtensions'),\n (None, 'requiredFeatures'),\n (None, 'restart'),\n (None, 'rotate'),\n (None, 'rx'),\n (None, 'ry'),\n (None, 'slope'),\n (None, 'stemh'),\n (None, 'stemv'),\n (None, 'stop-color'),\n (None, 'stop-opacity'),\n (None, 'strikethrough-position'),\n (None, 'strikethrough-thickness'),\n (None, 'stroke'),\n (None, 'stroke-dasharray'),\n (None, 'stroke-dashoffset'),\n (None, 'stroke-linecap'),\n (None, 'stroke-linejoin'),\n (None, 'stroke-miterlimit'),\n (None, 'stroke-opacity'),\n (None, 'stroke-width'),\n (None, 'systemLanguage'),\n (None, 'target'),\n (None, 'text-anchor'),\n (None, 'to'),\n (None, 'transform'),\n (None, 'type'),\n (None, 'u1'),\n (None, 'u2'),\n (None, 'underline-position'),\n (None, 'underline-thickness'),\n (None, 'unicode'),\n (None, 'unicode-range'),\n (None, 'units-per-em'),\n (None, 'values'),\n (None, 'version'),\n (None, 'viewBox'),\n (None, 'visibility'),\n (None, 'width'),\n (None, 'widths'),\n (None, 'x'),\n (None, 'x-height'),\n (None, 'x1'),\n (None, 'x2'),\n (namespaces['xlink'], 'actuate'),\n (namespaces['xlink'], 'arcrole'),\n (namespaces['xlink'], 'href'),\n (namespaces['xlink'], 'role'),\n (namespaces['xlink'], 'show'),\n (namespaces['xlink'], 'title'),\n (namespaces['xlink'], 'type'),\n (namespaces['xml'], 'base'),\n (namespaces['xml'], 'lang'),\n (namespaces['xml'], 'space'),\n (None, 'y'),\n (None, 'y1'),\n (None, 'y2'),\n (None, 'zoomAndPan'),\n))\n\nattr_val_is_uri = frozenset((\n (None, 'href'),\n (None, 'src'),\n (None, 'cite'),\n (None, 'action'),\n (None, 'longdesc'),\n (None, 'poster'),\n (None, 'background'),\n (None, 'datasrc'),\n (None, 'dynsrc'),\n (None, 'lowsrc'),\n (None, 'ping'),\n (namespaces['xlink'], 'href'),\n (namespaces['xml'], 'base'),\n))\n\nsvg_attr_val_allows_ref = frozenset((\n (None, 'clip-path'),\n (None, 'color-profile'),\n (None, 'cursor'),\n (None, 'fill'),\n (None, 'filter'),\n (None, 'marker'),\n (None, 'marker-start'),\n (None, 'marker-mid'),\n (None, 'marker-end'),\n (None, 'mask'),\n (None, 'stroke'),\n))\n\nsvg_allow_local_href = frozenset((\n (None, 'altGlyph'),\n (None, 'animate'),\n (None, 'animateColor'),\n (None, 'animateMotion'),\n (None, 'animateTransform'),\n (None, 'cursor'),\n (None, 'feImage'),\n (None, 'filter'),\n (None, 'linearGradient'),\n (None, 'pattern'),\n (None, 'radialGradient'),\n (None, 'textpath'),\n (None, 'tref'),\n (None, 'set'),\n (None, 'use')\n))\n\nallowed_css_properties = frozenset((\n 'azimuth',\n 'background-color',\n 'border-bottom-color',\n 'border-collapse',\n 'border-color',\n 'border-left-color',\n 'border-right-color',\n 'border-top-color',\n 'clear',\n 'color',\n 'cursor',\n 'direction',\n 'display',\n 'elevation',\n 'float',\n 'font',\n 'font-family',\n 'font-size',\n 'font-style',\n 'font-variant',\n 'font-weight',\n 'height',\n 'letter-spacing',\n 'line-height',\n 'overflow',\n 'pause',\n 'pause-after',\n 'pause-before',\n 'pitch',\n 'pitch-range',\n 'richness',\n 'speak',\n 'speak-header',\n 'speak-numeral',\n 'speak-punctuation',\n 'speech-rate',\n 'stress',\n 'text-align',\n 'text-decoration',\n 'text-indent',\n 'unicode-bidi',\n 'vertical-align',\n 'voice-family',\n 'volume',\n 'white-space',\n 'width',\n))\n\nallowed_css_keywords = frozenset((\n 'auto',\n 'aqua',\n 'black',\n 'block',\n 'blue',\n 'bold',\n 'both',\n 'bottom',\n 'brown',\n 'center',\n 'collapse',\n 'dashed',\n 'dotted',\n 'fuchsia',\n 'gray',\n 'green',\n '!important',\n 'italic',\n 'left',\n 'lime',\n 'maroon',\n 'medium',\n 'none',\n 'navy',\n 'normal',\n 'nowrap',\n 'olive',\n 'pointer',\n 'purple',\n 'red',\n 'right',\n 'solid',\n 'silver',\n 'teal',\n 'top',\n 'transparent',\n 'underline',\n 'white',\n 'yellow',\n))\n\nallowed_svg_properties = frozenset((\n 'fill',\n 'fill-opacity',\n 'fill-rule',\n 'stroke',\n 'stroke-width',\n 'stroke-linecap',\n 'stroke-linejoin',\n 'stroke-opacity',\n))\n\nallowed_protocols = frozenset((\n 'ed2k',\n 'ftp',\n 'http',\n 'https',\n 'irc',\n 'mailto',\n 'news',\n 'gopher',\n 'nntp',\n 'telnet',\n 'webcal',\n 'xmpp',\n 'callto',\n 'feed',\n 'urn',\n 'aim',\n 'rsync',\n 'tag',\n 'ssh',\n 'sftp',\n 'rtsp',\n 'afs',\n 'data',\n))\n\nallowed_content_types = frozenset((\n 'image/png',\n 'image/jpeg',\n 'image/gif',\n 'image/webp',\n 'image/bmp',\n 'text/plain',\n))\n\n\ndata_content_type = re.compile(r'''\n ^\n # Match a content type <application>/<type>\n (?P<content_type>[-a-zA-Z0-9.]+/[-a-zA-Z0-9.]+)\n # Match any character set and encoding\n (?:(?:;charset=(?:[-a-zA-Z0-9]+)(?:;(?:base64))?)\n |(?:;(?:base64))?(?:;charset=(?:[-a-zA-Z0-9]+))?)\n # Assume the rest is data\n ,.*\n $\n ''',\n re.VERBOSE)\n\n\nclass Filter(base.Filter):\n """Sanitizes token stream of XHTML+MathML+SVG and of inline style attributes"""\n def __init__(self,\n source,\n allowed_elements=allowed_elements,\n allowed_attributes=allowed_attributes,\n allowed_css_properties=allowed_css_properties,\n allowed_css_keywords=allowed_css_keywords,\n allowed_svg_properties=allowed_svg_properties,\n allowed_protocols=allowed_protocols,\n allowed_content_types=allowed_content_types,\n attr_val_is_uri=attr_val_is_uri,\n svg_attr_val_allows_ref=svg_attr_val_allows_ref,\n svg_allow_local_href=svg_allow_local_href):\n """Creates a Filter\n\n :arg allowed_elements: set of elements to allow--everything else will\n be escaped\n\n :arg allowed_attributes: set of attributes to allow in\n elements--everything else will be stripped\n\n :arg allowed_css_properties: set of CSS properties to allow--everything\n else will be stripped\n\n :arg allowed_css_keywords: set of CSS keywords to allow--everything\n else will be stripped\n\n :arg allowed_svg_properties: set of SVG properties to allow--everything\n else will be removed\n\n :arg allowed_protocols: set of allowed protocols for URIs\n\n :arg allowed_content_types: set of allowed content types for ``data`` URIs.\n\n :arg attr_val_is_uri: set of attributes that have URI values--values\n that have a scheme not listed in ``allowed_protocols`` are removed\n\n :arg svg_attr_val_allows_ref: set of SVG attributes that can have\n references\n\n :arg svg_allow_local_href: set of SVG elements that can have local\n hrefs--these are removed\n\n """\n super(Filter, self).__init__(source)\n\n warnings.warn(_deprecation_msg, DeprecationWarning)\n\n self.allowed_elements = allowed_elements\n self.allowed_attributes = allowed_attributes\n self.allowed_css_properties = allowed_css_properties\n self.allowed_css_keywords = allowed_css_keywords\n self.allowed_svg_properties = allowed_svg_properties\n self.allowed_protocols = allowed_protocols\n self.allowed_content_types = allowed_content_types\n self.attr_val_is_uri = attr_val_is_uri\n self.svg_attr_val_allows_ref = svg_attr_val_allows_ref\n self.svg_allow_local_href = svg_allow_local_href\n\n def __iter__(self):\n for token in base.Filter.__iter__(self):\n token = self.sanitize_token(token)\n if token:\n yield token\n\n # Sanitize the +html+, escaping all elements not in ALLOWED_ELEMENTS, and\n # stripping out all attributes not in ALLOWED_ATTRIBUTES. Style attributes\n # are parsed, and a restricted set, specified by ALLOWED_CSS_PROPERTIES and\n # ALLOWED_CSS_KEYWORDS, are allowed through. attributes in ATTR_VAL_IS_URI\n # are scanned, and only URI schemes specified in ALLOWED_PROTOCOLS are\n # allowed.\n #\n # sanitize_html('<script> do_nasty_stuff() </script>')\n # => &lt;script> do_nasty_stuff() &lt;/script>\n # sanitize_html('<a href="javascript: sucker();">Click here for $100</a>')\n # => <a>Click here for $100</a>\n def sanitize_token(self, token):\n\n # accommodate filters which use token_type differently\n token_type = token["type"]\n if token_type in ("StartTag", "EndTag", "EmptyTag"):\n name = token["name"]\n namespace = token["namespace"]\n if ((namespace, name) in self.allowed_elements or\n (namespace is None and\n (namespaces["html"], name) in self.allowed_elements)):\n return self.allowed_token(token)\n else:\n return self.disallowed_token(token)\n elif token_type == "Comment":\n pass\n else:\n return token\n\n def allowed_token(self, token):\n if "data" in token:\n attrs = token["data"]\n attr_names = set(attrs.keys())\n\n # Remove forbidden attributes\n for to_remove in (attr_names - self.allowed_attributes):\n del token["data"][to_remove]\n attr_names.remove(to_remove)\n\n # Remove attributes with disallowed URL values\n for attr in (attr_names & self.attr_val_is_uri):\n assert attr in attrs\n # I don't have a clue where this regexp comes from or why it matches those\n # characters, nor why we call unescape. I just know it's always been here.\n # Should you be worried by this comment in a sanitizer? Yes. On the other hand, all\n # this will do is remove *more* than it otherwise would.\n val_unescaped = re.sub("[`\x00-\x20\x7f-\xa0\\s]+", '',\n unescape(attrs[attr])).lower()\n # remove replacement characters from unescaped characters\n val_unescaped = val_unescaped.replace("\ufffd", "")\n try:\n uri = urlparse.urlparse(val_unescaped)\n except ValueError:\n uri = None\n del attrs[attr]\n if uri and uri.scheme:\n if uri.scheme not in self.allowed_protocols:\n del attrs[attr]\n if uri.scheme == 'data':\n m = data_content_type.match(uri.path)\n if not m:\n del attrs[attr]\n elif m.group('content_type') not in self.allowed_content_types:\n del attrs[attr]\n\n for attr in self.svg_attr_val_allows_ref:\n if attr in attrs:\n attrs[attr] = re.sub(r'url\s*\(\s*[^#\s][^)]+?\)',\n ' ',\n unescape(attrs[attr]))\n if (token["name"] in self.svg_allow_local_href and\n (namespaces['xlink'], 'href') in attrs and re.search(r'^\s*[^#\s].*',\n attrs[(namespaces['xlink'], 'href')])):\n del attrs[(namespaces['xlink'], 'href')]\n if (None, 'style') in attrs:\n attrs[(None, 'style')] = self.sanitize_css(attrs[(None, 'style')])\n token["data"] = attrs\n return token\n\n def disallowed_token(self, token):\n token_type = token["type"]\n if token_type == "EndTag":\n token["data"] = "</%s>" % token["name"]\n elif token["data"]:\n assert token_type in ("StartTag", "EmptyTag")\n attrs = []\n for (ns, name), v in token["data"].items():\n attrs.append(' %s="%s"' % (name if ns is None else "%s:%s" % (prefixes[ns], name), escape(v)))\n token["data"] = "<%s%s>" % (token["name"], ''.join(attrs))\n else:\n token["data"] = "<%s>" % token["name"]\n if token.get("selfClosing"):\n token["data"] = token["data"][:-1] + "/>"\n\n token["type"] = "Characters"\n\n del token["name"]\n return token\n\n def sanitize_css(self, style):\n # disallow urls\n style = re.compile(r'url\s*\(\s*[^\s)]+?\s*\)\s*').sub(' ', style)\n\n # gauntlet\n if not re.match(r"""^([:,;#%.\sa-zA-Z0-9!]|\w-\w|'[\s\w]+'|"[\s\w]+"|\([\d,\s]+\))*$""", style):\n return ''\n if not re.match(r"^\s*([-\w]+\s*:[^:;]*(;\s*|$))*$", style):\n return ''\n\n clean = []\n for prop, value in re.findall(r"([-\w]+)\s*:\s*([^:;]*)", style):\n if not value:\n continue\n if prop.lower() in self.allowed_css_properties:\n clean.append(prop + ': ' + value + ';')\n elif prop.split('-')[0].lower() in ['background', 'border', 'margin',\n 'padding']:\n for keyword in value.split():\n if keyword not in self.allowed_css_keywords and \\n not re.match(r"^(#[0-9a-fA-F]+|rgb\(\d+%?,\d*%?,?\d*%?\)?|\d{0,2}\.?\d{0,2}(cm|em|ex|in|mm|pc|pt|px|%|,|\))?)$", keyword): # noqa\n break\n else:\n clean.append(prop + ': ' + value + ';')\n elif prop.lower() in self.allowed_svg_properties:\n clean.append(prop + ': ' + value + ';')\n\n return ' '.join(clean)\n
.venv\Lib\site-packages\bleach\_vendor\html5lib\filters\sanitizer.py
sanitizer.py
Python
26,891
0.95
0.05131
0.031178
vue-tools
781
2024-11-05T18:51:58.290725
Apache-2.0
false
887cd2a6f79591a2e2c0a6e224acc61d
from __future__ import absolute_import, division, unicode_literals\n\nimport re\n\nfrom . import base\nfrom ..constants import rcdataElements, spaceCharacters\nspaceCharacters = "".join(spaceCharacters)\n\nSPACES_REGEX = re.compile("[%s]+" % spaceCharacters)\n\n\nclass Filter(base.Filter):\n """Collapses whitespace except in pre, textarea, and script elements"""\n spacePreserveElements = frozenset(["pre", "textarea"] + list(rcdataElements))\n\n def __iter__(self):\n preserve = 0\n for token in base.Filter.__iter__(self):\n type = token["type"]\n if type == "StartTag" \\n and (preserve or token["name"] in self.spacePreserveElements):\n preserve += 1\n\n elif type == "EndTag" and preserve:\n preserve -= 1\n\n elif not preserve and type == "SpaceCharacters" and token["data"]:\n # Test on token["data"] above to not introduce spaces where there were not\n token["data"] = " "\n\n elif not preserve and type == "Characters":\n token["data"] = collapse_spaces(token["data"])\n\n yield token\n\n\ndef collapse_spaces(text):\n return SPACES_REGEX.sub(' ', text)\n
.venv\Lib\site-packages\bleach\_vendor\html5lib\filters\whitespace.py
whitespace.py
Python
1,214
0.95
0.131579
0.038462
node-utils
393
2023-09-27T20:55:37.349559
Apache-2.0
false
6688eab6822f3bd2797f49474abddd58
\n\n
.venv\Lib\site-packages\bleach\_vendor\html5lib\filters\__pycache__\alphabeticalattributes.cpython-313.pyc
alphabeticalattributes.cpython-313.pyc
Other
1,710
0.95
0.142857
0
awesome-app
780
2024-11-23T10:15:57.275902
BSD-3-Clause
false
c5812e9137b2c886e0695ae280d79ae2
\n\n
.venv\Lib\site-packages\bleach\_vendor\html5lib\filters\__pycache__\base.cpython-313.pyc
base.cpython-313.pyc
Other
1,066
0.95
0
0
react-lib
30
2024-07-21T11:49:17.396614
BSD-3-Clause
false
dc54ec865bbc972195e1cfcb56f35540
\n\n
.venv\Lib\site-packages\bleach\_vendor\html5lib\filters\__pycache__\inject_meta_charset.cpython-313.pyc
inject_meta_charset.cpython-313.pyc
Other
3,066
0.95
0
0
python-kit
225
2023-08-23T23:48:52.896868
GPL-3.0
false
b20e53d3c13c6ec4a858e61d3483fead
\n\n
.venv\Lib\site-packages\bleach\_vendor\html5lib\filters\__pycache__\lint.cpython-313.pyc
lint.cpython-313.pyc
Other
4,400
0.95
0.027027
0
vue-tools
253
2024-08-23T20:17:49.556159
MIT
false
95639eed379605ba066ce6d20433352a
\n\n
.venv\Lib\site-packages\bleach\_vendor\html5lib\filters\__pycache__\optionaltags.cpython-313.pyc
optionaltags.cpython-313.pyc
Other
4,246
0.95
0
0.020833
python-kit
82
2024-09-12T22:37:08.970605
GPL-3.0
false
5138c23a622b4880fcd4adf6fb564934
\n\n
.venv\Lib\site-packages\bleach\_vendor\html5lib\filters\__pycache__\sanitizer.cpython-313.pyc
sanitizer.cpython-313.pyc
Other
28,641
0.95
0.050251
0.016484
awesome-app
419
2025-06-24T08:00:45.028607
GPL-3.0
false
edfe6da071b2f2c9b26f308e065652d0
\n\n
.venv\Lib\site-packages\bleach\_vendor\html5lib\filters\__pycache__\whitespace.cpython-313.pyc
whitespace.cpython-313.pyc
Other
1,977
0.95
0
0.045455
python-kit
560
2024-11-15T12:46:00.572885
GPL-3.0
false
a2b4a6d91e03c3498c20b743b20e7210
\n\n
.venv\Lib\site-packages\bleach\_vendor\html5lib\filters\__pycache__\__init__.cpython-313.pyc
__init__.cpython-313.pyc
Other
206
0.7
0
0
awesome-app
369
2024-08-30T03:26:53.068700
GPL-3.0
false
0e94c30c838bc81fc199122cb2b2e6e4
from __future__ import absolute_import, division, unicode_literals\n\nfrom genshi.core import QName, Attrs\nfrom genshi.core import START, END, TEXT, COMMENT, DOCTYPE\n\n\ndef to_genshi(walker):\n """Convert a tree to a genshi tree\n\n :arg walker: the treewalker to use to walk the tree to convert it\n\n :returns: generator of genshi nodes\n\n """\n text = []\n for token in walker:\n type = token["type"]\n if type in ("Characters", "SpaceCharacters"):\n text.append(token["data"])\n elif text:\n yield TEXT, "".join(text), (None, -1, -1)\n text = []\n\n if type in ("StartTag", "EmptyTag"):\n if token["namespace"]:\n name = "{%s}%s" % (token["namespace"], token["name"])\n else:\n name = token["name"]\n attrs = Attrs([(QName("{%s}%s" % attr if attr[0] is not None else attr[1]), value)\n for attr, value in token["data"].items()])\n yield (START, (QName(name), attrs), (None, -1, -1))\n if type == "EmptyTag":\n type = "EndTag"\n\n if type == "EndTag":\n if token["namespace"]:\n name = "{%s}%s" % (token["namespace"], token["name"])\n else:\n name = token["name"]\n\n yield END, QName(name), (None, -1, -1)\n\n elif type == "Comment":\n yield COMMENT, token["data"], (None, -1, -1)\n\n elif type == "Doctype":\n yield DOCTYPE, (token["name"], token["publicId"],\n token["systemId"]), (None, -1, -1)\n\n else:\n pass # FIXME: What to do?\n\n if text:\n yield TEXT, "".join(text), (None, -1, -1)\n
.venv\Lib\site-packages\bleach\_vendor\html5lib\treeadapters\genshi.py
genshi.py
Python
1,715
0.95
0.203704
0
react-lib
958
2024-06-01T01:17:23.550148
Apache-2.0
false
fcc1790559e135bd3f83165546240fb2
from __future__ import absolute_import, division, unicode_literals\n\nfrom xml.sax.xmlreader import AttributesNSImpl\n\nfrom ..constants import adjustForeignAttributes, unadjustForeignAttributes\n\nprefix_mapping = {}\nfor prefix, localName, namespace in adjustForeignAttributes.values():\n if prefix is not None:\n prefix_mapping[prefix] = namespace\n\n\ndef to_sax(walker, handler):\n """Call SAX-like content handler based on treewalker walker\n\n :arg walker: the treewalker to use to walk the tree to convert it\n\n :arg handler: SAX handler to use\n\n """\n handler.startDocument()\n for prefix, namespace in prefix_mapping.items():\n handler.startPrefixMapping(prefix, namespace)\n\n for token in walker:\n type = token["type"]\n if type == "Doctype":\n continue\n elif type in ("StartTag", "EmptyTag"):\n attrs = AttributesNSImpl(token["data"],\n unadjustForeignAttributes)\n handler.startElementNS((token["namespace"], token["name"]),\n token["name"],\n attrs)\n if type == "EmptyTag":\n handler.endElementNS((token["namespace"], token["name"]),\n token["name"])\n elif type == "EndTag":\n handler.endElementNS((token["namespace"], token["name"]),\n token["name"])\n elif type in ("Characters", "SpaceCharacters"):\n handler.characters(token["data"])\n elif type == "Comment":\n pass\n else:\n assert False, "Unknown token type"\n\n for prefix, namespace in prefix_mapping.items():\n handler.endPrefixMapping(prefix)\n handler.endDocument()\n
.venv\Lib\site-packages\bleach\_vendor\html5lib\treeadapters\sax.py
sax.py
Python
1,776
0.85
0.16
0
vue-tools
447
2025-05-24T05:40:44.419689
Apache-2.0
false
8b9c528d54d72d0bf26169d9726529fb
"""Tree adapters let you convert from one tree structure to another\n\nExample:\n\n.. code-block:: python\n\n import html5lib\n from html5lib.treeadapters import genshi\n\n doc = '<html><body>Hi!</body></html>'\n treebuilder = html5lib.getTreeBuilder('etree')\n parser = html5lib.HTMLParser(tree=treebuilder)\n tree = parser.parse(doc)\n TreeWalker = html5lib.getTreeWalker('etree')\n\n genshi_tree = genshi.to_genshi(TreeWalker(tree))\n\n"""\nfrom __future__ import absolute_import, division, unicode_literals\n\nfrom . import sax\n\n__all__ = ["sax"]\n\ntry:\n from . import genshi # noqa\nexcept ImportError:\n pass\nelse:\n __all__.append("genshi")\n
.venv\Lib\site-packages\bleach\_vendor\html5lib\treeadapters\__init__.py
__init__.py
Python
650
0.95
0.033333
0
vue-tools
673
2023-10-24T07:20:38.468119
BSD-3-Clause
false
a6787e69b8b62f98295e3f4e302aaa76
\n\n
.venv\Lib\site-packages\bleach\_vendor\html5lib\treeadapters\__pycache__\genshi.cpython-313.pyc
genshi.cpython-313.pyc
Other
2,205
0.95
0
0
react-lib
713
2024-04-26T07:10:28.746159
MIT
false
8006f7820c9ebba9497df16454a77e2f
\n\n
.venv\Lib\site-packages\bleach\_vendor\html5lib\treeadapters\__pycache__\sax.cpython-313.pyc
sax.cpython-313.pyc
Other
2,196
0.95
0
0.074074
python-kit
79
2025-01-16T18:11:17.165351
GPL-3.0
false
7e3ad41444557f472e8a6cc00eea0a38
\n\n
.venv\Lib\site-packages\bleach\_vendor\html5lib\treeadapters\__pycache__\__init__.cpython-313.pyc
__init__.cpython-313.pyc
Other
1,002
0.85
0
0
vue-tools
278
2024-09-19T08:27:27.612128
GPL-3.0
false
e50ccdc491378f6d2829db1c2d2627a8
\n\n
.venv\Lib\site-packages\bleach\_vendor\html5lib\treebuilders\__pycache__\base.cpython-313.pyc
base.cpython-313.pyc
Other
16,198
0.95
0.097902
0.033613
react-lib
696
2024-09-01T17:59:24.572968
Apache-2.0
false
780aeb475971562dc3252d5f494eb094
\n\n
.venv\Lib\site-packages\bleach\_vendor\html5lib\treebuilders\__pycache__\dom.cpython-313.pyc
dom.cpython-313.pyc
Other
15,991
0.95
0
0
awesome-app
970
2023-09-06T23:49:13.757885
BSD-3-Clause
false
fced32e0af07093530f8aa17bc5ee338
\n\n
.venv\Lib\site-packages\bleach\_vendor\html5lib\treebuilders\__pycache__\etree.cpython-313.pyc
etree.cpython-313.pyc
Other
20,590
0.95
0.006849
0
node-utils
498
2025-05-11T10:34:55.282927
MIT
false
da8b8495973f64430fa189dfc794f604
\n\n
.venv\Lib\site-packages\bleach\_vendor\html5lib\treebuilders\__pycache__\etree_lxml.cpython-313.pyc
etree_lxml.cpython-313.pyc
Other
23,108
0.95
0.004902
0.015873
awesome-app
474
2023-07-19T09:23:17.854509
MIT
false
6f10ba6efb6ac1fed943e2d79fd93602
\n\n
.venv\Lib\site-packages\bleach\_vendor\html5lib\treebuilders\__pycache__\__init__.cpython-313.pyc
__init__.cpython-313.pyc
Other
3,648
0.95
0.283582
0.156863
awesome-app
443
2023-12-16T10:17:09.576264
Apache-2.0
false
ac21680c73987c56a1e0beda41f85f5c
from __future__ import absolute_import, division, unicode_literals\n\nfrom xml.dom import Node\n\nfrom . import base\n\n\nclass TreeWalker(base.NonRecursiveTreeWalker):\n def getNodeDetails(self, node):\n if node.nodeType == Node.DOCUMENT_TYPE_NODE:\n return base.DOCTYPE, node.name, node.publicId, node.systemId\n\n elif node.nodeType in (Node.TEXT_NODE, Node.CDATA_SECTION_NODE):\n return base.TEXT, node.nodeValue\n\n elif node.nodeType == Node.ELEMENT_NODE:\n attrs = {}\n for attr in list(node.attributes.keys()):\n attr = node.getAttributeNode(attr)\n if attr.namespaceURI:\n attrs[(attr.namespaceURI, attr.localName)] = attr.value\n else:\n attrs[(None, attr.name)] = attr.value\n return (base.ELEMENT, node.namespaceURI, node.nodeName,\n attrs, node.hasChildNodes())\n\n elif node.nodeType == Node.COMMENT_NODE:\n return base.COMMENT, node.nodeValue\n\n elif node.nodeType in (Node.DOCUMENT_NODE, Node.DOCUMENT_FRAGMENT_NODE):\n return (base.DOCUMENT,)\n\n else:\n return base.UNKNOWN, node.nodeType\n\n def getFirstChild(self, node):\n return node.firstChild\n\n def getNextSibling(self, node):\n return node.nextSibling\n\n def getParentNode(self, node):\n return node.parentNode\n
.venv\Lib\site-packages\bleach\_vendor\html5lib\treewalkers\dom.py
dom.py
Python
1,413
0.85
0.186047
0
python-kit
295
2025-05-24T22:10:44.157821
Apache-2.0
false
a2e767cae5605e0cfafc67987e3920bc
from __future__ import absolute_import, division, unicode_literals\n\nfrom collections import OrderedDict\nimport re\n\nfrom bleach.six_shim import string_types\n\nfrom . import base\nfrom .._utils import moduleFactoryFactory\n\ntag_regexp = re.compile("{([^}]*)}(.*)")\n\n\ndef getETreeBuilder(ElementTreeImplementation):\n ElementTree = ElementTreeImplementation\n ElementTreeCommentType = ElementTree.Comment("asd").tag\n\n class TreeWalker(base.NonRecursiveTreeWalker): # pylint:disable=unused-variable\n """Given the particular ElementTree representation, this implementation,\n to avoid using recursion, returns "nodes" as tuples with the following\n content:\n\n 1. The current element\n\n 2. The index of the element relative to its parent\n\n 3. A stack of ancestor elements\n\n 4. A flag "text", "tail" or None to indicate if the current node is a\n text node; either the text or tail of the current element (1)\n """\n def getNodeDetails(self, node):\n if isinstance(node, tuple): # It might be the root Element\n elt, _, _, flag = node\n if flag in ("text", "tail"):\n return base.TEXT, getattr(elt, flag)\n else:\n node = elt\n\n if not(hasattr(node, "tag")):\n node = node.getroot()\n\n if node.tag in ("DOCUMENT_ROOT", "DOCUMENT_FRAGMENT"):\n return (base.DOCUMENT,)\n\n elif node.tag == "<!DOCTYPE>":\n return (base.DOCTYPE, node.text,\n node.get("publicId"), node.get("systemId"))\n\n elif node.tag == ElementTreeCommentType:\n return base.COMMENT, node.text\n\n else:\n assert isinstance(node.tag, string_types), type(node.tag)\n # This is assumed to be an ordinary element\n match = tag_regexp.match(node.tag)\n if match:\n namespace, tag = match.groups()\n else:\n namespace = None\n tag = node.tag\n attrs = OrderedDict()\n for name, value in list(node.attrib.items()):\n match = tag_regexp.match(name)\n if match:\n attrs[(match.group(1), match.group(2))] = value\n else:\n attrs[(None, name)] = value\n return (base.ELEMENT, namespace, tag,\n attrs, len(node) or node.text)\n\n def getFirstChild(self, node):\n if isinstance(node, tuple):\n element, key, parents, flag = node\n else:\n element, key, parents, flag = node, None, [], None\n\n if flag in ("text", "tail"):\n return None\n else:\n if element.text:\n return element, key, parents, "text"\n elif len(element):\n parents.append(element)\n return element[0], 0, parents, None\n else:\n return None\n\n def getNextSibling(self, node):\n if isinstance(node, tuple):\n element, key, parents, flag = node\n else:\n return None\n\n if flag == "text":\n if len(element):\n parents.append(element)\n return element[0], 0, parents, None\n else:\n return None\n else:\n if element.tail and flag != "tail":\n return element, key, parents, "tail"\n elif key < len(parents[-1]) - 1:\n return parents[-1][key + 1], key + 1, parents, None\n else:\n return None\n\n def getParentNode(self, node):\n if isinstance(node, tuple):\n element, key, parents, flag = node\n else:\n return None\n\n if flag == "text":\n if not parents:\n return element\n else:\n return element, key, parents, None\n else:\n parent = parents.pop()\n if not parents:\n return parent\n else:\n assert list(parents[-1]).count(parent) == 1\n return parent, list(parents[-1]).index(parent), parents, None\n\n return locals()\n\n\ngetETreeModule = moduleFactoryFactory(getETreeBuilder)\n
.venv\Lib\site-packages\bleach\_vendor\html5lib\treewalkers\etree.py
etree.py
Python
4,551
0.95
0.19084
0.009434
react-lib
632
2024-06-22T18:44:49.262296
Apache-2.0
false
d35c5a77ea2952b103b8208b18253412
from __future__ import absolute_import, division, unicode_literals\nfrom bleach.six_shim import text_type\n\nfrom collections import OrderedDict\n\nfrom lxml import etree\nfrom ..treebuilders.etree import tag_regexp\n\nfrom . import base\n\nfrom .. import _ihatexml\n\n\ndef ensure_str(s):\n if s is None:\n return None\n elif isinstance(s, text_type):\n return s\n else:\n return s.decode("ascii", "strict")\n\n\nclass Root(object):\n def __init__(self, et):\n self.elementtree = et\n self.children = []\n\n try:\n if et.docinfo.internalDTD:\n self.children.append(Doctype(self,\n ensure_str(et.docinfo.root_name),\n ensure_str(et.docinfo.public_id),\n ensure_str(et.docinfo.system_url)))\n except AttributeError:\n pass\n\n try:\n node = et.getroot()\n except AttributeError:\n node = et\n\n while node.getprevious() is not None:\n node = node.getprevious()\n while node is not None:\n self.children.append(node)\n node = node.getnext()\n\n self.text = None\n self.tail = None\n\n def __getitem__(self, key):\n return self.children[key]\n\n def getnext(self):\n return None\n\n def __len__(self):\n return 1\n\n\nclass Doctype(object):\n def __init__(self, root_node, name, public_id, system_id):\n self.root_node = root_node\n self.name = name\n self.public_id = public_id\n self.system_id = system_id\n\n self.text = None\n self.tail = None\n\n def getnext(self):\n return self.root_node.children[1]\n\n\nclass FragmentRoot(Root):\n def __init__(self, children):\n self.children = [FragmentWrapper(self, child) for child in children]\n self.text = self.tail = None\n\n def getnext(self):\n return None\n\n\nclass FragmentWrapper(object):\n def __init__(self, fragment_root, obj):\n self.root_node = fragment_root\n self.obj = obj\n if hasattr(self.obj, 'text'):\n self.text = ensure_str(self.obj.text)\n else:\n self.text = None\n if hasattr(self.obj, 'tail'):\n self.tail = ensure_str(self.obj.tail)\n else:\n self.tail = None\n\n def __getattr__(self, name):\n return getattr(self.obj, name)\n\n def getnext(self):\n siblings = self.root_node.children\n idx = siblings.index(self)\n if idx < len(siblings) - 1:\n return siblings[idx + 1]\n else:\n return None\n\n def __getitem__(self, key):\n return self.obj[key]\n\n def __bool__(self):\n return bool(self.obj)\n\n def getparent(self):\n return None\n\n def __str__(self):\n return str(self.obj)\n\n def __unicode__(self):\n return str(self.obj)\n\n def __len__(self):\n return len(self.obj)\n\n\nclass TreeWalker(base.NonRecursiveTreeWalker):\n def __init__(self, tree):\n # pylint:disable=redefined-variable-type\n if isinstance(tree, list):\n self.fragmentChildren = set(tree)\n tree = FragmentRoot(tree)\n else:\n self.fragmentChildren = set()\n tree = Root(tree)\n base.NonRecursiveTreeWalker.__init__(self, tree)\n self.filter = _ihatexml.InfosetFilter()\n\n def getNodeDetails(self, node):\n if isinstance(node, tuple): # Text node\n node, key = node\n assert key in ("text", "tail"), "Text nodes are text or tail, found %s" % key\n return base.TEXT, ensure_str(getattr(node, key))\n\n elif isinstance(node, Root):\n return (base.DOCUMENT,)\n\n elif isinstance(node, Doctype):\n return base.DOCTYPE, node.name, node.public_id, node.system_id\n\n elif isinstance(node, FragmentWrapper) and not hasattr(node, "tag"):\n return base.TEXT, ensure_str(node.obj)\n\n elif node.tag == etree.Comment:\n return base.COMMENT, ensure_str(node.text)\n\n elif node.tag == etree.Entity:\n return base.ENTITY, ensure_str(node.text)[1:-1] # strip &;\n\n else:\n # This is assumed to be an ordinary element\n match = tag_regexp.match(ensure_str(node.tag))\n if match:\n namespace, tag = match.groups()\n else:\n namespace = None\n tag = ensure_str(node.tag)\n attrs = OrderedDict()\n for name, value in list(node.attrib.items()):\n name = ensure_str(name)\n value = ensure_str(value)\n match = tag_regexp.match(name)\n if match:\n attrs[(match.group(1), match.group(2))] = value\n else:\n attrs[(None, name)] = value\n return (base.ELEMENT, namespace, self.filter.fromXmlName(tag),\n attrs, len(node) > 0 or node.text)\n\n def getFirstChild(self, node):\n assert not isinstance(node, tuple), "Text nodes have no children"\n\n assert len(node) or node.text, "Node has no children"\n if node.text:\n return (node, "text")\n else:\n return node[0]\n\n def getNextSibling(self, node):\n if isinstance(node, tuple): # Text node\n node, key = node\n assert key in ("text", "tail"), "Text nodes are text or tail, found %s" % key\n if key == "text":\n # XXX: we cannot use a "bool(node) and node[0] or None" construct here\n # because node[0] might evaluate to False if it has no child element\n if len(node):\n return node[0]\n else:\n return None\n else: # tail\n return node.getnext()\n\n return (node, "tail") if node.tail else node.getnext()\n\n def getParentNode(self, node):\n if isinstance(node, tuple): # Text node\n node, key = node\n assert key in ("text", "tail"), "Text nodes are text or tail, found %s" % key\n if key == "text":\n return node\n # else: fallback to "normal" processing\n elif node in self.fragmentChildren:\n return None\n\n return node.getparent()\n
.venv\Lib\site-packages\bleach\_vendor\html5lib\treewalkers\etree_lxml.py
etree_lxml.py
Python
6,357
0.95
0.237209
0.029762
react-lib
510
2024-11-24T05:51:58.176910
GPL-3.0
false
c29bab46f860da03be5592061149f5f8
from __future__ import absolute_import, division, unicode_literals\n\nfrom genshi.core import QName\nfrom genshi.core import START, END, XML_NAMESPACE, DOCTYPE, TEXT\nfrom genshi.core import START_NS, END_NS, START_CDATA, END_CDATA, PI, COMMENT\n\nfrom . import base\n\nfrom ..constants import voidElements, namespaces\n\n\nclass TreeWalker(base.TreeWalker):\n def __iter__(self):\n # Buffer the events so we can pass in the following one\n previous = None\n for event in self.tree:\n if previous is not None:\n for token in self.tokens(previous, event):\n yield token\n previous = event\n\n # Don't forget the final event!\n if previous is not None:\n for token in self.tokens(previous, None):\n yield token\n\n def tokens(self, event, next):\n kind, data, _ = event\n if kind == START:\n tag, attribs = data\n name = tag.localname\n namespace = tag.namespace\n converted_attribs = {}\n for k, v in attribs:\n if isinstance(k, QName):\n converted_attribs[(k.namespace, k.localname)] = v\n else:\n converted_attribs[(None, k)] = v\n\n if namespace == namespaces["html"] and name in voidElements:\n for token in self.emptyTag(namespace, name, converted_attribs,\n not next or next[0] != END or\n next[1] != tag):\n yield token\n else:\n yield self.startTag(namespace, name, converted_attribs)\n\n elif kind == END:\n name = data.localname\n namespace = data.namespace\n if namespace != namespaces["html"] or name not in voidElements:\n yield self.endTag(namespace, name)\n\n elif kind == COMMENT:\n yield self.comment(data)\n\n elif kind == TEXT:\n for token in self.text(data):\n yield token\n\n elif kind == DOCTYPE:\n yield self.doctype(*data)\n\n elif kind in (XML_NAMESPACE, DOCTYPE, START_NS, END_NS,\n START_CDATA, END_CDATA, PI):\n pass\n\n else:\n yield self.unknown(kind)\n
.venv\Lib\site-packages\bleach\_vendor\html5lib\treewalkers\genshi.py
genshi.py
Python
2,309
0.95
0.217391
0.036364
awesome-app
876
2025-04-02T10:16:46.764872
Apache-2.0
false
063ddcc9ecb565245453627265f44641
\n\n
.venv\Lib\site-packages\bleach\_vendor\html5lib\treewalkers\__pycache__\base.cpython-313.pyc
base.cpython-313.pyc
Other
8,460
0.95
0
0
awesome-app
872
2025-03-29T22:20:21.830420
MIT
false
99c7416ff77e7864f765c839834fdece
\n\n
.venv\Lib\site-packages\bleach\_vendor\html5lib\treewalkers\__pycache__\dom.cpython-313.pyc
dom.cpython-313.pyc
Other
3,079
0.95
0
0
python-kit
246
2025-03-17T08:04:50.065392
Apache-2.0
false
e2032ba991b93973a133c0041f91bc92
\n\n
.venv\Lib\site-packages\bleach\_vendor\html5lib\treewalkers\__pycache__\etree.cpython-313.pyc
etree.cpython-313.pyc
Other
5,651
0.95
0.027027
0
python-kit
738
2024-02-10T18:52:55.757183
GPL-3.0
false
f8c915bae569e9f7d5fc411534b7a631
\n\n
.venv\Lib\site-packages\bleach\_vendor\html5lib\treewalkers\__pycache__\etree_lxml.cpython-313.pyc
etree_lxml.cpython-313.pyc
Other
11,085
0.95
0
0.046875
node-utils
316
2024-07-04T20:36:41.510571
Apache-2.0
false
722abd65347dac040d1f075d52dc7281
\n\n
.venv\Lib\site-packages\bleach\_vendor\html5lib\treewalkers\__pycache__\genshi.cpython-313.pyc
genshi.cpython-313.pyc
Other
3,117
0.95
0
0
node-utils
34
2025-04-25T03:27:15.720225
MIT
false
698a12deaf532edd5f55247e473b36b6
\n\n
.venv\Lib\site-packages\bleach\_vendor\html5lib\treewalkers\__pycache__\__init__.cpython-313.pyc
__init__.cpython-313.pyc
Other
5,754
0.95
0.101124
0.052632
vue-tools
378
2024-01-14T17:34:21.014458
BSD-3-Clause
false
a10191d50e0e488f94d904b831dde93a
from __future__ import absolute_import, division, unicode_literals\nfrom bleach.six_shim import text_type\n\nfrom bisect import bisect_left\n\nfrom ._base import Trie as ABCTrie\n\n\nclass Trie(ABCTrie):\n def __init__(self, data):\n if not all(isinstance(x, text_type) for x in data.keys()):\n raise TypeError("All keys must be strings")\n\n self._data = data\n self._keys = sorted(data.keys())\n self._cachestr = ""\n self._cachepoints = (0, len(data))\n\n def __contains__(self, key):\n return key in self._data\n\n def __len__(self):\n return len(self._data)\n\n def __iter__(self):\n return iter(self._data)\n\n def __getitem__(self, key):\n return self._data[key]\n\n def keys(self, prefix=None):\n if prefix is None or prefix == "" or not self._keys:\n return set(self._keys)\n\n if prefix.startswith(self._cachestr):\n lo, hi = self._cachepoints\n start = i = bisect_left(self._keys, prefix, lo, hi)\n else:\n start = i = bisect_left(self._keys, prefix)\n\n keys = set()\n if start == len(self._keys):\n return keys\n\n while self._keys[i].startswith(prefix):\n keys.add(self._keys[i])\n i += 1\n\n self._cachestr = prefix\n self._cachepoints = (start, i)\n\n return keys\n\n def has_keys_with_prefix(self, prefix):\n if prefix in self._data:\n return True\n\n if prefix.startswith(self._cachestr):\n lo, hi = self._cachepoints\n i = bisect_left(self._keys, prefix, lo, hi)\n else:\n i = bisect_left(self._keys, prefix)\n\n if i == len(self._keys):\n return False\n\n return self._keys[i].startswith(prefix)\n
.venv\Lib\site-packages\bleach\_vendor\html5lib\_trie\py.py
py.py
Python
1,775
0.85
0.253731
0
react-lib
552
2023-07-14T18:36:13.143852
Apache-2.0
false
cfa714bef89e22e3a8d8b074c7567047
from __future__ import absolute_import, division, unicode_literals\n\ntry:\n from collections.abc import Mapping\nexcept ImportError: # Python 2.7\n from collections import Mapping\n\n\nclass Trie(Mapping):\n """Abstract base class for tries"""\n\n def keys(self, prefix=None):\n # pylint:disable=arguments-differ\n keys = super(Trie, self).keys()\n\n if prefix is None:\n return set(keys)\n\n return {x for x in keys if x.startswith(prefix)}\n\n def has_keys_with_prefix(self, prefix):\n for key in self.keys():\n if key.startswith(prefix):\n return True\n\n return False\n\n def longest_prefix(self, prefix):\n if prefix in self:\n return prefix\n\n for i in range(1, len(prefix) + 1):\n if prefix[:-i] in self:\n return prefix[:-i]\n\n raise KeyError(prefix)\n\n def longest_prefix_item(self, prefix):\n lprefix = self.longest_prefix(prefix)\n return (lprefix, self[lprefix])\n
.venv\Lib\site-packages\bleach\_vendor\html5lib\_trie\_base.py
_base.py
Python
1,013
0.95
0.4
0.035714
react-lib
368
2025-04-14T23:42:32.314048
BSD-3-Clause
false
80641168d1a81191f71f7b52ad766e4d
from __future__ import absolute_import, division, unicode_literals\n\nfrom .py import Trie\n\n__all__ = ["Trie"]\n
.venv\Lib\site-packages\bleach\_vendor\html5lib\_trie\__init__.py
__init__.py
Python
109
0.85
0
0
react-lib
883
2024-12-20T11:56:24.960863
GPL-3.0
false
fd435dcbe13ff2bcfc45ee6e4e7e8ffd
\n\n
.venv\Lib\site-packages\bleach\_vendor\html5lib\_trie\__pycache__\py.cpython-313.pyc
py.cpython-313.pyc
Other
3,799
0.95
0
0
node-utils
582
2024-10-09T06:33:45.761284
MIT
false
5f2ada9c71b8c8ba4799f5f887f786a0
\n\n
.venv\Lib\site-packages\bleach\_vendor\html5lib\_trie\__pycache__\_base.cpython-313.pyc
_base.cpython-313.pyc
Other
2,062
0.95
0.166667
0
python-kit
911
2024-09-09T09:53:08.042777
Apache-2.0
false
b494abdbea085314e5f434891c0fcbbc
\n\n
.venv\Lib\site-packages\bleach\_vendor\html5lib\_trie\__pycache__\__init__.cpython-313.pyc
__init__.cpython-313.pyc
Other
370
0.85
0
0
react-lib
794
2024-04-02T23:47:02.994936
MIT
false
5d010a759b6670fc5c9a04817e33e2f6
\n\n
.venv\Lib\site-packages\bleach\_vendor\html5lib\__pycache__\serializer.cpython-313.pyc
serializer.cpython-313.pyc
Other
15,904
0.95
0.02
0.006711
python-kit
627
2025-04-29T00:55:27.716532
BSD-3-Clause
false
80db81f3197d879663405fe93f4efaf8
\n\n
.venv\Lib\site-packages\bleach\_vendor\html5lib\__pycache__\_ihatexml.cpython-313.pyc
_ihatexml.cpython-313.pyc
Other
17,957
0.95
0
0.092105
react-lib
351
2024-09-11T00:34:22.718625
BSD-3-Clause
false
77cacdeece07f10b0247d6ad5c3b35c4
\n\n
.venv\Lib\site-packages\bleach\_vendor\html5lib\__pycache__\_inputstream.cpython-313.pyc
_inputstream.cpython-313.pyc
Other
36,060
0.95
0.043651
0.004255
awesome-app
761
2024-01-25T17:30:56.180718
GPL-3.0
false
f9dc37b05156b8b9738be3dc049b0494
\n\n
.venv\Lib\site-packages\bleach\_vendor\html5lib\__pycache__\_tokenizer.cpython-313.pyc
_tokenizer.cpython-313.pyc
Other
88,265
0.75
0.007643
0.003856
vue-tools
299
2024-08-15T12:58:33.005683
GPL-3.0
false
88ccebf46673920cdcbd22bff76d69c1
\n\n
.venv\Lib\site-packages\bleach\_vendor\html5lib\__pycache__\_utils.cpython-313.pyc
_utils.cpython-313.pyc
Other
6,865
0.95
0
0
awesome-app
717
2023-09-16T12:56:18.521771
BSD-3-Clause
false
3521996e8f1734a0a6a746a0068a7a02
\n\n
.venv\Lib\site-packages\bleach\_vendor\html5lib\__pycache__\__init__.cpython-313.pyc
__init__.cpython-313.pyc
Other
1,320
0.95
0.029412
0.206897
vue-tools
273
2023-08-15T11:47:29.357083
MIT
false
6fa7c8d0301f826a652b6c6a61e2e101
Credits\n=======\n\n``html5lib`` is written and maintained by:\n\n- James Graham\n- Sam Sneddon\n- Łukasz Langa\n- Will Kahn-Greene\n\n\nPatches and suggestions\n-----------------------\n(In chronological order, by first commit:)\n\n- Anne van Kesteren\n- Lachlan Hunt\n- lantis63\n- Sam Ruby\n- Thomas Broyer\n- Tim Fletcher\n- Mark Pilgrim\n- Ryan King\n- Philip Taylor\n- Edward Z. Yang\n- fantasai\n- Philip Jägenstedt\n- Ms2ger\n- Mohammad Taha Jahangir\n- Andy Wingo\n- Andreas Madsack\n- Karim Valiev\n- Juan Carlos Garcia Segovia\n- Mike West\n- Marc DM\n- Simon Sapin\n- Michael[tm] Smith\n- Ritwik Gupta\n- Marc Abramowitz\n- Tony Lopes\n- lilbludevil\n- Kevin\n- Drew Hubl\n- Austin Kumbera\n- Jim Baker\n- Jon Dufresne\n- Donald Stufft\n- Alex Gaynor\n- Nik Nyby\n- Jakub Wilk\n- Sigmund Cherem\n- Gabi Davar\n- Florian Mounier\n- neumond\n- Vitalik Verhovodov\n- Kovid Goyal\n- Adam Chainz\n- John Vandenberg\n- Eric Amorde\n- Benedikt Morbach\n- Jonathan Vanasco\n- Tom Most\n- Ville Skyttä\n- Hugo van Kemenade\n- Mark Vasilkov\n\n
.venv\Lib\site-packages\bleach\_vendor\html5lib-1.1.dist-info\AUTHORS.rst
AUTHORS.rst
Other
983
0.7
0
0
vue-tools
10
2024-11-24T08:25:47.454667
BSD-3-Clause
false
390dde5ba019cdf3e3c3fb65414e5c4a
pip\n
.venv\Lib\site-packages\bleach\_vendor\html5lib-1.1.dist-info\INSTALLER
INSTALLER
Other
4
0.5
0
0
python-kit
621
2024-03-17T15:20:58.388353
BSD-3-Clause
false
365c9bfeb7d89244f2ce01c1de44cb85
Copyright (c) 2006-2013 James Graham and other contributors\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n"Software"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\nNONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE\nLIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION\nOF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION\nWITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n
.venv\Lib\site-packages\bleach\_vendor\html5lib-1.1.dist-info\LICENSE
LICENSE
Other
1,084
0.7
0
0
react-lib
410
2024-07-09T14:01:08.418397
GPL-3.0
false
1ba5ada9e6fead1fdc32f43c9f10ba7c
Metadata-Version: 2.1\nName: html5lib\nVersion: 1.1\nSummary: HTML parser based on the WHATWG HTML specification\nHome-page: https://github.com/html5lib/html5lib-python\nMaintainer: James Graham\nMaintainer-email: james@hoppipolla.co.uk\nLicense: MIT License\nPlatform: UNKNOWN\nClassifier: Development Status :: 5 - Production/Stable\nClassifier: Intended Audience :: Developers\nClassifier: License :: OSI Approved :: MIT License\nClassifier: Operating System :: OS Independent\nClassifier: Programming Language :: Python\nClassifier: Programming Language :: Python :: 2\nClassifier: Programming Language :: Python :: 2.7\nClassifier: Programming Language :: Python :: 3\nClassifier: Programming Language :: Python :: 3.5\nClassifier: Programming Language :: Python :: 3.6\nClassifier: Programming Language :: Python :: 3.7\nClassifier: Programming Language :: Python :: 3.8\nClassifier: Programming Language :: Python :: Implementation :: CPython\nClassifier: Programming Language :: Python :: Implementation :: PyPy\nClassifier: Topic :: Software Development :: Libraries :: Python Modules\nClassifier: Topic :: Text Processing :: Markup :: HTML\nRequires-Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*\nRequires-Dist: six (>=1.9)\nRequires-Dist: webencodings\nProvides-Extra: all\nRequires-Dist: genshi ; extra == 'all'\nRequires-Dist: chardet (>=2.2) ; extra == 'all'\nRequires-Dist: lxml ; (platform_python_implementation == 'CPython') and extra == 'all'\nProvides-Extra: chardet\nRequires-Dist: chardet (>=2.2) ; extra == 'chardet'\nProvides-Extra: genshi\nRequires-Dist: genshi ; extra == 'genshi'\nProvides-Extra: lxml\nRequires-Dist: lxml ; (platform_python_implementation == 'CPython') and extra == 'lxml'\n\nhtml5lib\n========\n\n.. image:: https://travis-ci.org/html5lib/html5lib-python.svg?branch=master\n :target: https://travis-ci.org/html5lib/html5lib-python\n\n\nhtml5lib is a pure-python library for parsing HTML. It is designed to\nconform to the WHATWG HTML specification, as is implemented by all major\nweb browsers.\n\n\nUsage\n-----\n\nSimple usage follows this pattern:\n\n.. code-block:: python\n\n import html5lib\n with open("mydocument.html", "rb") as f:\n document = html5lib.parse(f)\n\nor:\n\n.. code-block:: python\n\n import html5lib\n document = html5lib.parse("<p>Hello World!")\n\nBy default, the ``document`` will be an ``xml.etree`` element instance.\nWhenever possible, html5lib chooses the accelerated ``ElementTree``\nimplementation (i.e. ``xml.etree.cElementTree`` on Python 2.x).\n\nTwo other tree types are supported: ``xml.dom.minidom`` and\n``lxml.etree``. To use an alternative format, specify the name of\na treebuilder:\n\n.. code-block:: python\n\n import html5lib\n with open("mydocument.html", "rb") as f:\n lxml_etree_document = html5lib.parse(f, treebuilder="lxml")\n\nWhen using with ``urllib2`` (Python 2), the charset from HTTP should be\npass into html5lib as follows:\n\n.. code-block:: python\n\n from contextlib import closing\n from urllib2 import urlopen\n import html5lib\n\n with closing(urlopen("http://example.com/")) as f:\n document = html5lib.parse(f, transport_encoding=f.info().getparam("charset"))\n\nWhen using with ``urllib.request`` (Python 3), the charset from HTTP\nshould be pass into html5lib as follows:\n\n.. code-block:: python\n\n from urllib.request import urlopen\n import html5lib\n\n with urlopen("http://example.com/") as f:\n document = html5lib.parse(f, transport_encoding=f.info().get_content_charset())\n\nTo have more control over the parser, create a parser object explicitly.\nFor instance, to make the parser raise exceptions on parse errors, use:\n\n.. code-block:: python\n\n import html5lib\n with open("mydocument.html", "rb") as f:\n parser = html5lib.HTMLParser(strict=True)\n document = parser.parse(f)\n\nWhen you're instantiating parser objects explicitly, pass a treebuilder\nclass as the ``tree`` keyword argument to use an alternative document\nformat:\n\n.. code-block:: python\n\n import html5lib\n parser = html5lib.HTMLParser(tree=html5lib.getTreeBuilder("dom"))\n minidom_document = parser.parse("<p>Hello World!")\n\nMore documentation is available at https://html5lib.readthedocs.io/.\n\n\nInstallation\n------------\n\nhtml5lib works on CPython 2.7+, CPython 3.5+ and PyPy. To install:\n\n.. code-block:: bash\n\n $ pip install html5lib\n\nThe goal is to support a (non-strict) superset of the versions that `pip\nsupports\n<https://pip.pypa.io/en/stable/installing/#python-and-os-compatibility>`_.\n\nOptional Dependencies\n---------------------\n\nThe following third-party libraries may be used for additional\nfunctionality:\n\n- ``lxml`` is supported as a tree format (for both building and\n walking) under CPython (but *not* PyPy where it is known to cause\n segfaults);\n\n- ``genshi`` has a treewalker (but not builder); and\n\n- ``chardet`` can be used as a fallback when character encoding cannot\n be determined.\n\n\nBugs\n----\n\nPlease report any bugs on the `issue tracker\n<https://github.com/html5lib/html5lib-python/issues>`_.\n\n\nTests\n-----\n\nUnit tests require the ``pytest`` and ``mock`` libraries and can be\nrun using the ``py.test`` command in the root directory.\n\nTest data are contained in a separate `html5lib-tests\n<https://github.com/html5lib/html5lib-tests>`_ repository and included\nas a submodule, thus for git checkouts they must be initialized::\n\n $ git submodule init\n $ git submodule update\n\nIf you have all compatible Python implementations available on your\nsystem, you can run tests on all of them using the ``tox`` utility,\nwhich can be found on PyPI.\n\n\nQuestions?\n----------\n\nThere's a mailing list available for support on Google Groups,\n`html5lib-discuss <http://groups.google.com/group/html5lib-discuss>`_,\nthough you may get a quicker response asking on IRC in `#whatwg on\nirc.freenode.net <http://wiki.whatwg.org/wiki/IRC>`_.\n\nChange Log\n----------\n\n1.1\n~~~\n\nUNRELEASED\n\nBreaking changes:\n\n* Drop support for Python 3.3. (#358)\n* Drop support for Python 3.4. (#421)\n\nDeprecations:\n\n* Deprecate the ``html5lib`` sanitizer (``html5lib.serialize(sanitize=True)`` and\n ``html5lib.filters.sanitizer``). We recommend users migrate to `Bleach\n <https://github.com/mozilla/bleach>`. Please let us know if Bleach doesn't suffice for your\n use. (#443)\n\nOther changes:\n\n* Try to import from ``collections.abc`` to remove DeprecationWarning and ensure\n ``html5lib`` keeps working in future Python versions. (#403)\n* Drop optional ``datrie`` dependency. (#442)\n\n\n1.0.1\n~~~~~\n\nReleased on December 7, 2017\n\nBreaking changes:\n\n* Drop support for Python 2.6. (#330) (Thank you, Hugo, Will Kahn-Greene!)\n* Remove ``utils/spider.py`` (#353) (Thank you, Jon Dufresne!)\n\nFeatures:\n\n* Improve documentation. (#300, #307) (Thank you, Jon Dufresne, Tom Most,\n Will Kahn-Greene!)\n* Add iframe seamless boolean attribute. (Thank you, Ritwik Gupta!)\n* Add itemscope as a boolean attribute. (#194) (Thank you, Jonathan Vanasco!)\n* Support Python 3.6. (#333) (Thank you, Jon Dufresne!)\n* Add CI support for Windows using AppVeyor. (Thank you, John Vandenberg!)\n* Improve testing and CI and add code coverage (#323, #334), (Thank you, Jon\n Dufresne, John Vandenberg, Sam Sneddon, Will Kahn-Greene!)\n* Semver-compliant version number.\n\nBug fixes:\n\n* Add support for setuptools < 18.5 to support environment markers. (Thank you,\n John Vandenberg!)\n* Add explicit dependency for six >= 1.9. (Thank you, Eric Amorde!)\n* Fix regexes to work with Python 3.7 regex adjustments. (#318, #379) (Thank\n you, Benedikt Morbach, Ville Skyttä, Mark Vasilkov!)\n* Fix alphabeticalattributes filter namespace bug. (#324) (Thank you, Will\n Kahn-Greene!)\n* Include license file in generated wheel package. (#350) (Thank you, Jon\n Dufresne!)\n* Fix annotation-xml typo. (#339) (Thank you, Will Kahn-Greene!)\n* Allow uppercase hex chararcters in CSS colour check. (#377) (Thank you,\n Komal Dembla, Hugo!)\n\n\n1.0\n~~~\n\nReleased and unreleased on December 7, 2017. Badly packaged release.\n\n\n0.999999999/1.0b10\n~~~~~~~~~~~~~~~~~~\n\nReleased on July 15, 2016\n\n* Fix attribute order going to the tree builder to be document order\n instead of reverse document order(!).\n\n\n0.99999999/1.0b9\n~~~~~~~~~~~~~~~~\n\nReleased on July 14, 2016\n\n* **Added ordereddict as a mandatory dependency on Python 2.6.**\n\n* Added ``lxml``, ``genshi``, ``datrie``, ``charade``, and ``all``\n extras that will do the right thing based on the specific\n interpreter implementation.\n\n* Now requires the ``mock`` package for the testsuite.\n\n* Cease supporting DATrie under PyPy.\n\n* **Remove PullDOM support, as this hasn't ever been properly\n tested, doesn't entirely work, and as far as I can tell is\n completely unused by anyone.**\n\n* Move testsuite to ``py.test``.\n\n* **Fix #124: move to webencodings for decoding the input byte stream;\n this makes html5lib compliant with the Encoding Standard, and\n introduces a required dependency on webencodings.**\n\n* **Cease supporting Python 3.2 (in both CPython and PyPy forms).**\n\n* **Fix comments containing double-dash with lxml 3.5 and above.**\n\n* **Use scripting disabled by default (as we don't implement\n scripting).**\n\n* **Fix #11, avoiding the XSS bug potentially caused by serializer\n allowing attribute values to be escaped out of in old browser versions,\n changing the quote_attr_values option on serializer to take one of\n three values, "always" (the old True value), "legacy" (the new option,\n and the new default), and "spec" (the old False value, and the old\n default).**\n\n* **Fix #72 by rewriting the sanitizer to apply only to treewalkers\n (instead of the tokenizer); as such, this will require amending all\n callers of it to use it via the treewalker API.**\n\n* **Drop support of charade, now that chardet is supported once more.**\n\n* **Replace the charset keyword argument on parse and related methods\n with a set of keyword arguments: override_encoding, transport_encoding,\n same_origin_parent_encoding, likely_encoding, and default_encoding.**\n\n* **Move filters._base, treebuilder._base, and treewalkers._base to .base\n to clarify their status as public.**\n\n* **Get rid of the sanitizer package. Merge sanitizer.sanitize into the\n sanitizer.htmlsanitizer module and move that to sanitizer. This means\n anyone who used sanitizer.sanitize or sanitizer.HTMLSanitizer needs no\n code changes.**\n\n* **Rename treewalkers.lxmletree to .etree_lxml and\n treewalkers.genshistream to .genshi to have a consistent API.**\n\n* Move a whole load of stuff (inputstream, ihatexml, trie, tokenizer,\n utils) to be underscore prefixed to clarify their status as private.\n\n\n0.9999999/1.0b8\n~~~~~~~~~~~~~~~\n\nReleased on September 10, 2015\n\n* Fix #195: fix the sanitizer to drop broken URLs (it threw an\n exception between 0.9999 and 0.999999).\n\n\n0.999999/1.0b7\n~~~~~~~~~~~~~~\n\nReleased on July 7, 2015\n\n* Fix #189: fix the sanitizer to allow relative URLs again (as it did\n prior to 0.9999/1.0b5).\n\n\n0.99999/1.0b6\n~~~~~~~~~~~~~\n\nReleased on April 30, 2015\n\n* Fix #188: fix the sanitizer to not throw an exception when sanitizing\n bogus data URLs.\n\n\n0.9999/1.0b5\n~~~~~~~~~~~~\n\nReleased on April 29, 2015\n\n* Fix #153: Sanitizer fails to treat some attributes as URLs. Despite how\n this sounds, this has no known security implications. No known version\n of IE (5.5 to current), Firefox (3 to current), Safari (6 to current),\n Chrome (1 to current), or Opera (12 to current) will run any script\n provided in these attributes.\n\n* Pass error message to the ParseError exception in strict parsing mode.\n\n* Allow data URIs in the sanitizer, with a whitelist of content-types.\n\n* Add support for Python implementations that don't support lone\n surrogates (read: Jython). Fixes #2.\n\n* Remove localization of error messages. This functionality was totally\n unused (and untested that everything was localizable), so we may as\n well follow numerous browsers in not supporting translating technical\n strings.\n\n* Expose treewalkers.pprint as a public API.\n\n* Add a documentEncoding property to HTML5Parser, fix #121.\n\n\n0.999\n~~~~~\n\nReleased on December 23, 2013\n\n* Fix #127: add work-around for CPython issue #20007: .read(0) on\n http.client.HTTPResponse drops the rest of the content.\n\n* Fix #115: lxml treewalker can now deal with fragments containing, at\n their root level, text nodes with non-ASCII characters on Python 2.\n\n\n0.99\n~~~~\n\nReleased on September 10, 2013\n\n* No library changes from 1.0b3; released as 0.99 as pip has changed\n behaviour from 1.4 to avoid installing pre-release versions per\n PEP 440.\n\n\n1.0b3\n~~~~~\n\nReleased on July 24, 2013\n\n* Removed ``RecursiveTreeWalker`` from ``treewalkers._base``. Any\n implementation using it should be moved to\n ``NonRecursiveTreeWalker``, as everything bundled with html5lib has\n for years.\n\n* Fix #67 so that ``BufferedStream`` to correctly returns a bytes\n object, thereby fixing any case where html5lib is passed a\n non-seekable RawIOBase-like object.\n\n\n1.0b2\n~~~~~\n\nReleased on June 27, 2013\n\n* Removed reordering of attributes within the serializer. There is now\n an ``alphabetical_attributes`` option which preserves the previous\n behaviour through a new filter. This allows attribute order to be\n preserved through html5lib if the tree builder preserves order.\n\n* Removed ``dom2sax`` from DOM treebuilders. It has been replaced by\n ``treeadapters.sax.to_sax`` which is generic and supports any\n treewalker; it also resolves all known bugs with ``dom2sax``.\n\n* Fix treewalker assertions on hitting bytes strings on\n Python 2. Previous to 1.0b1, treewalkers coped with mixed\n bytes/unicode data on Python 2; this reintroduces this prior\n behaviour on Python 2. Behaviour is unchanged on Python 3.\n\n\n1.0b1\n~~~~~\n\nReleased on May 17, 2013\n\n* Implementation updated to implement the `HTML specification\n <http://www.whatwg.org/specs/web-apps/current-work/>`_ as of 5th May\n 2013 (`SVN <http://svn.whatwg.org/webapps/>`_ revision r7867).\n\n* Python 3.2+ supported in a single codebase using the ``six`` library.\n\n* Removed support for Python 2.5 and older.\n\n* Removed the deprecated Beautiful Soup 3 treebuilder.\n ``beautifulsoup4`` can use ``html5lib`` as a parser instead. Note that\n since it doesn't support namespaces, foreign content like SVG and\n MathML is parsed incorrectly.\n\n* Removed ``simpletree`` from the package. The default tree builder is\n now ``etree`` (using the ``xml.etree.cElementTree`` implementation if\n available, and ``xml.etree.ElementTree`` otherwise).\n\n* Removed the ``XHTMLSerializer`` as it never actually guaranteed its\n output was well-formed XML, and hence provided little of use.\n\n* Removed default DOM treebuilder, so ``html5lib.treebuilders.dom`` is no\n longer supported. ``html5lib.treebuilders.getTreeBuilder("dom")`` will\n return the default DOM treebuilder, which uses ``xml.dom.minidom``.\n\n* Optional heuristic character encoding detection now based on\n ``charade`` for Python 2.6 - 3.3 compatibility.\n\n* Optional ``Genshi`` treewalker support fixed.\n\n* Many bugfixes, including:\n\n * #33: null in attribute value breaks XML AttValue;\n\n * #4: nested, indirect descendant, <button> causes infinite loop;\n\n * `Google Code 215\n <http://code.google.com/p/html5lib/issues/detail?id=215>`_: Properly\n detect seekable streams;\n\n * `Google Code 206\n <http://code.google.com/p/html5lib/issues/detail?id=206>`_: add\n support for <video preload=...>, <audio preload=...>;\n\n * `Google Code 205\n <http://code.google.com/p/html5lib/issues/detail?id=205>`_: add\n support for <video poster=...>;\n\n * `Google Code 202\n <http://code.google.com/p/html5lib/issues/detail?id=202>`_: Unicode\n file breaks InputStream.\n\n* Source code is now mostly PEP 8 compliant.\n\n* Test harness has been improved and now depends on ``nose``.\n\n* Documentation updated and moved to https://html5lib.readthedocs.io/.\n\n\n0.95\n~~~~\n\nReleased on February 11, 2012\n\n\n0.90\n~~~~\n\nReleased on January 17, 2010\n\n\n0.11.1\n~~~~~~\n\nReleased on June 12, 2008\n\n\n0.11\n~~~~\n\nReleased on June 10, 2008\n\n\n0.10\n~~~~\n\nReleased on October 7, 2007\n\n\n0.9\n~~~\n\nReleased on March 11, 2007\n\n\n0.2\n~~~\n\nReleased on January 8, 2007\n\n\n
.venv\Lib\site-packages\bleach\_vendor\html5lib-1.1.dist-info\METADATA
METADATA
Other
16,076
0.95
0.04529
0.210959
node-utils
112
2024-10-27T01:54:50.131568
MIT
false
89639eec5345482f8507f341cbfbc36d
html5lib-1.1.dist-info/AUTHORS.rst,sha256=DrNAMifoDpuQyJn-KW-H6K8Tt2a5rKnV2UF4-DRrGUI,983\nhtml5lib-1.1.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4\nhtml5lib-1.1.dist-info/LICENSE,sha256=FqOZkWGekvGGgJMtoqkZn999ld8-yu3FLqBiGKq6_W8,1084\nhtml5lib-1.1.dist-info/METADATA,sha256=Y3w-nd_22HQnQRy3yypVsV_ke2FF94uUD4-vGpc2DnI,16076\nhtml5lib-1.1.dist-info/RECORD,,\nhtml5lib-1.1.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0\nhtml5lib-1.1.dist-info/WHEEL,sha256=kGT74LWyRUZrL4VgLh6_g12IeVl_9u9ZVhadrgXZUEY,110\nhtml5lib-1.1.dist-info/top_level.txt,sha256=XEX6CHpskSmvjJB4tP6m4Q5NYXhIf_0ceMc0PNbzJPQ,9\nhtml5lib/__init__.py,sha256=pWnYcfZ69wNLrdQL7bpr49FUi8O8w0KhKCOHsyRgYGQ,1143\nhtml5lib/_ihatexml.py,sha256=ifOwF7pXqmyThIXc3boWc96s4MDezqRrRVp7FwDYUFs,16728\nhtml5lib/_inputstream.py,sha256=IKuMiY8rzb7pqIGCpbvTqsxysLEpgEHWYvYEFu4LUAI,32300\nhtml5lib/_tokenizer.py,sha256=WvJQa2Mli4NtTmhLXkX8Jy5FcWttqCaiDTiKyaw8D-k,77028\nhtml5lib/_trie/__init__.py,sha256=nqfgO910329BEVJ5T4psVwQtjd2iJyEXQ2-X8c1YxwU,109\nhtml5lib/_trie/_base.py,sha256=CaybYyMro8uERQYjby2tTeSUatnWDfWroUN9N7ety5w,1013\nhtml5lib/_trie/py.py,sha256=zg7RZSHxJ8mLmuI_7VEIV8AomISrgkvqCP477AgXaG0,1763\nhtml5lib/_utils.py,sha256=AxAJSG15eyarCgKMnlUwzs1X6jFHXqEvhlYEOxAFmis,4919\nhtml5lib/constants.py,sha256=Ll-yzLU_jcjyAI_h57zkqZ7aQWE5t5xA4y_jQgoUUhw,83464\nhtml5lib/filters/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0\nhtml5lib/filters/alphabeticalattributes.py,sha256=lViZc2JMCclXi_5gduvmdzrRxtO5Xo9ONnbHBVCsykU,919\nhtml5lib/filters/base.py,sha256=z-IU9ZAYjpsVsqmVt7kuWC63jR11hDMr6CVrvuao8W0,286\nhtml5lib/filters/inject_meta_charset.py,sha256=egDXUEHXmAG9504xz0K6ALDgYkvUrC2q15YUVeNlVQg,2945\nhtml5lib/filters/lint.py,sha256=upXATs6By7cot7o0bnNqR15sPq2Fn6Vnjvoy3gyO_rY,3631\nhtml5lib/filters/optionaltags.py,sha256=8lWT75J0aBOHmPgfmqTHSfPpPMp01T84NKu0CRedxcE,10588\nhtml5lib/filters/sanitizer.py,sha256=XGNSdzIqDTaHot1V-rRj1V_XOolApJ7n95tHP9JcgNU,26885\nhtml5lib/filters/whitespace.py,sha256=8eWqZxd4UC4zlFGW6iyY6f-2uuT8pOCSALc3IZt7_t4,1214\nhtml5lib/html5parser.py,sha256=w5hZJh0cvD3g4CS196DiTmuGpSKCMYe1GS46-yf_WZQ,117174\nhtml5lib/serializer.py,sha256=K2kfoLyMPMFPfdusfR30SrxNkf0mJB92-P5_RntyaaI,15747\nhtml5lib/treeadapters/__init__.py,sha256=18hyI-at2aBsdKzpwRwa5lGF1ipgctaTYXoU9En2ZQg,650\nhtml5lib/treeadapters/genshi.py,sha256=CH27pAsDKmu4ZGkAUrwty7u0KauGLCZRLPMzaO3M5vo,1715\nhtml5lib/treeadapters/sax.py,sha256=BKS8woQTnKiqeffHsxChUqL4q2ZR_wb5fc9MJ3zQC8s,1776\nhtml5lib/treebuilders/__init__.py,sha256=AysSJyvPfikCMMsTVvaxwkgDieELD5dfR8FJIAuq7hY,3592\nhtml5lib/treebuilders/base.py,sha256=oeZNGEB-kt90YJGVH05gb5a8E7ids2AbYwGRsVCieWk,14553\nhtml5lib/treebuilders/dom.py,sha256=22whb0C71zXIsai5mamg6qzBEiigcBIvaDy4Asw3at0,8925\nhtml5lib/treebuilders/etree.py,sha256=EbmHx-wQ-11MVucTPtF7Ul92-mQGN3Udu_KfDn-Ifhk,12824\nhtml5lib/treebuilders/etree_lxml.py,sha256=OazDHZGO_q4FnVs4Dhs4hzzn2JwGAOs-rfV8LAlUGW4,14754\nhtml5lib/treewalkers/__init__.py,sha256=OBPtc1TU5mGyy18QDMxKEyYEz0wxFUUNj5v0-XgmYhY,5719\nhtml5lib/treewalkers/base.py,sha256=ouiOsuSzvI0KgzdWP8PlxIaSNs9falhbiinAEc_UIJY,7476\nhtml5lib/treewalkers/dom.py,sha256=EHyFR8D8lYNnyDU9lx_IKigVJRyecUGua0mOi7HBukc,1413\nhtml5lib/treewalkers/etree.py,sha256=gkD4tfEfRWPsEGvgHHJxZmKZXUvBzVVGz3v5C_MIiOE,4539\nhtml5lib/treewalkers/etree_lxml.py,sha256=eLedbn6nPjlpebibsWVijey7WEpzDwxU3ubwUoudBuA,6345\nhtml5lib/treewalkers/genshi.py,sha256=4D2PECZ5n3ZN3qu3jMl9yY7B81jnQApBQSVlfaIuYbA,2309\n
.venv\Lib\site-packages\bleach\_vendor\html5lib-1.1.dist-info\RECORD
RECORD
Other
3,486
0.7
0
0
python-kit
9
2024-01-17T12:13:17.501368
GPL-3.0
false
0d2c1d3a4cde105c9eccc7cd8d46a542
html5lib\n
.venv\Lib\site-packages\bleach\_vendor\html5lib-1.1.dist-info\top_level.txt
top_level.txt
Other
9
0.5
0
0
node-utils
866
2023-10-27T09:33:00.646309
GPL-3.0
false
d698a761bfd3ab83931c3534520141a2
Wheel-Version: 1.0\nGenerator: bdist_wheel (0.34.2)\nRoot-Is-Purelib: true\nTag: py2-none-any\nTag: py3-none-any\n\n
.venv\Lib\site-packages\bleach\_vendor\html5lib-1.1.dist-info\WHEEL
WHEEL
Other
110
0.7
0
0
react-lib
531
2024-10-06T02:54:27.836160
GPL-3.0
false
d2a91f104288b412dbc67b54de94e3ac
\n\n
.venv\Lib\site-packages\bleach\_vendor\__pycache__\parse.cpython-313.pyc
parse.cpython-313.pyc
Other
43,642
0.95
0.074236
0.007335
node-utils
553
2024-08-25T15:18:30.949250
GPL-3.0
false
a3819b45ac109167eaae3fe8a582fab8
\n\n
.venv\Lib\site-packages\bleach\_vendor\__pycache__\__init__.cpython-313.pyc
__init__.cpython-313.pyc
Other
189
0.7
0
0
awesome-app
819
2025-06-28T21:49:14.626835
BSD-3-Clause
false
4f2d4a5f79c45cbbdcfe0ad367a51338
\n\n
.venv\Lib\site-packages\bleach\__pycache__\callbacks.cpython-313.pyc
callbacks.cpython-313.pyc
Other
1,313
0.8
0.111111
0
react-lib
158
2023-10-07T19:57:08.290340
Apache-2.0
false
2b7ae0e07ef5f35e4bf284b5e89b91d2
\n\n
.venv\Lib\site-packages\bleach\__pycache__\css_sanitizer.cpython-313.pyc
css_sanitizer.cpython-313.pyc
Other
2,496
0.8
0
0
vue-tools
623
2024-06-04T01:22:18.887084
GPL-3.0
false
4f5cac5db5bb988f7c8c498cc024e1be
\n\n
.venv\Lib\site-packages\bleach\__pycache__\html5lib_shim.cpython-313.pyc
html5lib_shim.cpython-313.pyc
Other
19,194
0.8
0.026882
0
vue-tools
376
2024-12-30T01:53:40.940895
BSD-3-Clause
false
5cc5929977c44dd3a4094fc998acb88c
\n\n
.venv\Lib\site-packages\bleach\__pycache__\linkifier.cpython-313.pyc
linkifier.cpython-313.pyc
Other
18,307
0.95
0.028455
0.026455
node-utils
101
2025-03-20T17:38:43.079238
BSD-3-Clause
false
ae039499f85ef33e8c468accd3859dc7
\n\n
.venv\Lib\site-packages\bleach\__pycache__\parse_shim.cpython-313.pyc
parse_shim.cpython-313.pyc
Other
239
0.7
0
0
vue-tools
534
2025-05-19T20:35:24.780221
BSD-3-Clause
false
1aa81fe5797a91f5b42a2974fedd1988
\n\n
.venv\Lib\site-packages\bleach\__pycache__\sanitizer.cpython-313.pyc
sanitizer.cpython-313.pyc
Other
17,908
0.95
0.060345
0
python-kit
522
2023-08-11T20:38:05.210869
MIT
false
51c0d2b7b2c43dc5ec513bb6bc0f9560
\n\n
.venv\Lib\site-packages\bleach\__pycache__\six_shim.cpython-313.pyc
six_shim.cpython-313.pyc
Other
646
0.7
0.333333
0
python-kit
604
2024-12-29T17:07:55.818891
MIT
false
ffc943fe5bc69a172f4679ba7730ab7a
\n\n
.venv\Lib\site-packages\bleach\__pycache__\__init__.cpython-313.pyc
__init__.cpython-313.pyc
Other
3,655
0.95
0.112245
0
node-utils
102
2024-12-10T12:31:16.798763
Apache-2.0
false
f95ce293c32e099362ad752cf8f1c863
pip\n
.venv\Lib\site-packages\bleach-6.2.0.dist-info\INSTALLER
INSTALLER
Other
4
0.5
0
0
vue-tools
480
2023-09-14T09:05:57.849532
Apache-2.0
false
365c9bfeb7d89244f2ce01c1de44cb85
Copyright (c) 2014-2017, Mozilla Foundation\n\nLicensed under the Apache License, Version 2.0 (the "License");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n
.venv\Lib\site-packages\bleach-6.2.0.dist-info\LICENSE
LICENSE
Other
569
0.95
0.076923
0
awesome-app
131
2024-06-05T22:44:12.154110
BSD-3-Clause
false
adea50d072dac455e5a50a518e2d01aa
Metadata-Version: 2.1\nName: bleach\nVersion: 6.2.0\nSummary: An easy safelist-based HTML-sanitizing tool.\nHome-page: https://github.com/mozilla/bleach\nMaintainer: Will Kahn-Greene\nMaintainer-email: willkg@mozilla.com\nLicense: Apache Software License\nClassifier: Development Status :: 5 - Production/Stable\nClassifier: Environment :: Web Environment\nClassifier: Intended Audience :: Developers\nClassifier: License :: OSI Approved :: Apache Software License\nClassifier: Operating System :: OS Independent\nClassifier: Programming Language :: Python\nClassifier: Programming Language :: Python :: 3 :: Only\nClassifier: Programming Language :: Python :: 3\nClassifier: Programming Language :: Python :: 3.9\nClassifier: Programming Language :: Python :: 3.10\nClassifier: Programming Language :: Python :: 3.11\nClassifier: Programming Language :: Python :: 3.12\nClassifier: Programming Language :: Python :: 3.13\nClassifier: Programming Language :: Python :: Implementation :: CPython\nClassifier: Programming Language :: Python :: Implementation :: PyPy\nClassifier: Topic :: Software Development :: Libraries :: Python Modules\nRequires-Python: >=3.9\nDescription-Content-Type: text/x-rst\nLicense-File: LICENSE\nRequires-Dist: webencodings\nProvides-Extra: css\nRequires-Dist: tinycss2 <1.5,>=1.1.0 ; extra == 'css'\n\n======\nBleach\n======\n\n.. image:: https://github.com/mozilla/bleach/workflows/Test/badge.svg\n :target: https://github.com/mozilla/bleach/actions?query=workflow%3ATest\n\n.. image:: https://github.com/mozilla/bleach/workflows/Lint/badge.svg\n :target: https://github.com/mozilla/bleach/actions?query=workflow%3ALint\n\n.. image:: https://badge.fury.io/py/bleach.svg\n :target: http://badge.fury.io/py/bleach\n\n**NOTE: 2023-01-23: Bleach is deprecated.** See issue:\n`<https://github.com/mozilla/bleach/issues/698>`__\n\nBleach is an allowed-list-based HTML sanitizing library that escapes or strips\nmarkup and attributes.\n\nBleach can also linkify text safely, applying filters that Django's ``urlize``\nfilter cannot, and optionally setting ``rel`` attributes, even on links already\nin the text.\n\nBleach is intended for sanitizing text from *untrusted* sources. If you find\nyourself jumping through hoops to allow your site administrators to do lots of\nthings, you're probably outside the use cases. Either trust those users, or\ndon't.\n\nBecause it relies on html5lib_, Bleach is as good as modern browsers at dealing\nwith weird, quirky HTML fragments. And *any* of Bleach's methods will fix\nunbalanced or mis-nested tags.\n\nThe version on GitHub_ is the most up-to-date and contains the latest bug\nfixes. You can find full documentation on `ReadTheDocs`_.\n\n:Code: https://github.com/mozilla/bleach\n:Documentation: https://bleach.readthedocs.io/\n:Issue tracker: https://github.com/mozilla/bleach/issues\n:License: Apache License v2; see LICENSE file\n\n\nReporting Bugs\n==============\n\nFor regular bugs, please report them `in our issue tracker\n<https://github.com/mozilla/bleach/issues>`_.\n\nIf you believe that you've found a security vulnerability, please `file a secure\nbug report in our bug tracker\n<https://bugzilla.mozilla.org/enter_bug.cgi?assigned_to=nobody%40mozilla.org&product=Webtools&component=Bleach-security&groups=webtools-security>`_\nor send an email to *security AT mozilla DOT org*.\n\nFor more information on security-related bug disclosure and the PGP key to use\nfor sending encrypted mail or to verify responses received from that address,\nplease read our wiki page at\n`<https://www.mozilla.org/en-US/security/#For_Developers>`_.\n\n\nSecurity\n========\n\nBleach is a security-focused library.\n\nWe have a responsible security vulnerability reporting process. Please use\nthat if you're reporting a security issue.\n\nSecurity issues are fixed in private. After we land such a fix, we'll do a\nrelease.\n\nFor every release, we mark security issues we've fixed in the ``CHANGES`` in\nthe **Security issues** section. We include any relevant CVE links.\n\n\nInstalling Bleach\n=================\n\nBleach is available on PyPI_, so you can install it with ``pip``::\n\n $ pip install bleach\n\n\nUpgrading Bleach\n================\n\n.. warning::\n\n Before doing any upgrades, read through `Bleach Changes\n <https://bleach.readthedocs.io/en/latest/changes.html>`_ for backwards\n incompatible changes, newer versions, etc.\n\n Bleach follows `semver 2`_ versioning. Vendored libraries will not\n be changed in patch releases.\n\n\nBasic use\n=========\n\nThe simplest way to use Bleach is:\n\n.. code-block:: python\n\n >>> import bleach\n\n >>> bleach.clean('an <script>evil()</script> example')\n u'an &lt;script&gt;evil()&lt;/script&gt; example'\n\n >>> bleach.linkify('an http://example.com url')\n u'an <a href="http://example.com" rel="nofollow">http://example.com</a> url'\n\n\nCode of Conduct\n===============\n\nThis project and repository is governed by Mozilla's code of conduct and\netiquette guidelines. For more details please see the `CODE_OF_CONDUCT.md\n</CODE_OF_CONDUCT.md>`_\n\n\n.. _html5lib: https://github.com/html5lib/html5lib-python\n.. _GitHub: https://github.com/mozilla/bleach\n.. _ReadTheDocs: https://bleach.readthedocs.io/\n.. _PyPI: https://pypi.org/project/bleach/\n.. _semver 2: https://semver.org/\n\n\nBleach changes\n==============\n\nVersion 6.2.0 (October 29th, 2024)\n----------------------------------\n**Backwards incompatible changes**\n\n* Dropped support for Python 3.8. (#737)\n\n**Security fixes**\n\nNone\n\n**Bug fixes**\n\n* Add support for Python 3.13. (#736)\n* Remove six depdenncy. (#618)\n* Update known-good versions for tinycss2. (#732)\n* Fix additional < followed by characters and EOF issues. (#728)\n\n\nVersion 6.1.0 (October 6th, 2023)\n---------------------------------\n\n**Backwards incompatible changes**\n\n* Dropped support for Python 3.7. (#709)\n\n**Security fixes**\n\nNone\n\n**Bug fixes**\n\n* Add support for Python 3.12. (#710)\n* Fix linkify with arrays in querystring (#436)\n* Handle more cases with < followed by character data (#705)\n* Fix entities inside a tags in linkification (#704)\n* Update cap for tinycss2 to <1.3 (#702)\n* Updated Sphinx requirement\n* Add dependabot for github actions and update github actions\n\n\nVersion 6.0.0 (January 23rd, 2023)\n----------------------------------\n\n**Backwards incompatible changes**\n\n* ``bleach.clean``, ``bleach.sanitizer.Cleaner``,\n ``bleach.html5lib_shim.BleachHTMLParser``: the ``tags`` and ``protocols``\n arguments were changed from lists to sets.\n\n Old pre-6.0.0:\n\n .. code-block:: python\n\n bleach.clean(\n "some text",\n tags=["a", "p", "img"],\n # ^ ^ list\n protocols=["http", "https"],\n # ^ ^ list\n )\n\n\n New 6.0.0 and later:\n\n .. code-block:: python\n\n bleach.clean(\n "some text",\n tags={"a", "p", "img"},\n # ^ ^ set\n protocols={"http", "https"},\n # ^ ^ set\n )\n\n* ``bleach.linkify``, ``bleach.linkifier.Linker``: the ``skip_tags`` and\n ``recognized_tags`` arguments were changed from lists to sets.\n\n Old pre-6.0.0:\n\n .. code-block:: python\n\n bleach.linkify(\n "some text",\n skip_tags=["pre"],\n # ^ ^ list\n )\n\n linker = Linker(\n skip_tags=["pre"],\n # ^ ^ list\n recognized_tags=html5lib_shim.HTML_TAGS + ["custom-element"],\n # ^ ^ ^ list\n # |\n # | list concatenation\n )\n\n New 6.0.0 and later:\n\n .. code-block:: python\n\n bleach.linkify(\n "some text",\n skip_tags={"pre"},\n # ^ ^ set\n )\n\n linker = Linker(\n skip_tags={"pre"},\n # ^ ^ set\n recognized_tags=html5lib_shim.HTML_TAGS | {"custom-element"},\n # ^ ^ ^ set\n # |\n # | union operator\n )\n\n* ``bleach.sanitizer.BleachSanitizerFilter``: ``strip_allowed_elements`` is now\n ``strip_allowed_tags``. We now use "tags" everywhere rather than a mishmash\n of "tags" in some places and "elements" in others.\n\n\n**Security fixes**\n\nNone\n\n\n**Bug fixes**\n\n* Add support for Python 3.11. (#675)\n\n* Fix API weirness in ``BleachSanitizerFilter``. (#649)\n\n We're using "tags" instead of "elements" everywhere--no more weird\n overloading of "elements" anymore.\n\n Also, it no longer calls the superclass constructor.\n\n* Add warning when ``css_sanitizer`` isn't set, but the ``style``\n attribute is allowed. (#676)\n\n* Fix linkify handling of character entities. (#501)\n\n* Rework dev dependencies to use ``requirements-dev.txt`` and\n ``requirements-flake8.txt`` instead of extras.\n\n* Fix project infrastructure to be tox-based so it's easier to have CI\n run the same things we're running in development and with flake8\n in an isolated environment.\n\n* Update action versions in CI.\n\n* Switch to f-strings where possible. Make tests parametrized to be\n easier to read/maintain.\n\n\nVersion 5.0.1 (June 27th, 2022)\n-------------------------------\n\n**Security fixes**\n\nNone\n\n\n**Bug fixes**\n\n* Add missing comma to tinycss2 require. Thank you, @shadchin!\n\n* Add url parse tests based on wpt url tests. (#688)\n\n* Support scheme-less urls if "https" is in allow list. (#662)\n\n* Handle escaping ``<`` in edge cases where it doesn't start a tag. (#544)\n\n* Fix reference warnings in docs. (#660)\n\n* Correctly urlencode email address parts. Thank you, @larseggert! (#659)\n\n\nVersion 5.0.0 (April 7th, 2022)\n-------------------------------\n\n**Backwards incompatible changes**\n\n* ``clean`` and ``linkify`` now preserve the order of HTML attributes. Thank\n you, @askoretskly! (#566)\n\n* Drop support for Python 3.6. Thank you, @hugovk! (#629)\n\n* CSS sanitization in style tags is completely different now. If you're using\n Bleach ``clean`` to sanitize css in style tags, you'll need to update your\n code and you'll need to install the ``css`` extras::\n\n pip install 'bleach[css]'\n\n See `the documentation on sanitizing CSS for how to do it\n <https://bleach.readthedocs.io/en/latest/clean.html#sanitizing-css>`_. (#633)\n\n**Security fixes**\n\nNone\n\n**Bug fixes**\n\n* Rework dev dependencies. We no longer have\n ``requirements-dev.in``/``requirements-dev.txt``. Instead, we're using\n ``dev`` extras.\n\n See `development docs <https://bleach.readthedocs.io/en/latest/dev.html>`_\n for more details. (#620)\n\n* Add newline when dropping block-level tags. Thank you, @jvanasco! (#369)\n\n\nVersion 4.1.0 (August 25th, 2021)\n---------------------------------\n\n**Features**\n\n* Python 3.9 support\n\n**Security fixes**\n\nNone\n\n**Bug fixes**\n\n* Update sanitizer clean to use vendored 3.6.14 stdlib urllib.parse to\n fix test failures on Python 3.9. (#536)\n\n\nVersion 4.0.0 (August 3rd, 2021)\n--------------------------------\n\n**Backwards incompatible changes**\n\n* Drop support for unsupported Python versions <3.6. (#520)\n\n**Security fixes**\n\nNone\n\n**Features**\n\n* fix attribute name in the linkify docs (thanks @CheesyFeet!)\n\n\nVersion 3.3.1 (July 14th, 2021)\n-------------------------------\n\n**Security fixes**\n\nNone\n\n**Features**\n\n* add more tests for CVE-2021-23980 / GHSA-vv2x-vrpj-qqpq\n* bump python version to 3.8 for tox doc, vendorverify, and lint targets\n* update bug report template tag\n* update vendorverify script to detect and fail when extra files are vendored\n* update release process docs to check vendorverify passes locally\n\n**Bug fixes**\n\n* remove extra vendored django present in the v3.3.0 whl (#595)\n* duplicate h1 header doc fix (thanks Nguyễn Gia Phong / @McSinyx!)\n\n\nVersion 3.3.0 (February 1st, 2021)\n----------------------------------\n\n**Backwards incompatible changes**\n\n* clean escapes HTML comments even when strip_comments=False\n\n**Security fixes**\n\n* Fix bug 1621692 / GHSA-m6xf-fq7q-8743. See the advisory for details.\n\n**Features**\n\nNone\n\n**Bug fixes**\n\nNone\n\n\nVersion 3.2.3 (January 26th, 2021)\n----------------------------------\n\n**Security fixes**\n\nNone\n\n**Features**\n\nNone\n\n**Bug fixes**\n\n* fix clean and linkify raising ValueErrors for certain inputs. Thank you @Google-Autofuzz.\n\n\nVersion 3.2.2 (January 20th, 2021)\n----------------------------------\n\n**Security fixes**\n\nNone\n\n**Features**\n\n* Migrate CI to Github Actions. Thank you @hugovk.\n\n**Bug fixes**\n\n* fix linkify raising an IndexError on certain inputs. Thank you @Google-Autofuzz.\n\n\nVersion 3.2.1 (September 18th, 2020)\n------------------------------------\n\n**Security fixes**\n\nNone\n\n**Features**\n\nNone\n\n**Bug fixes**\n\n* change linkifier to add rel="nofollow" as documented. Thank you @mitar.\n* suppress html5lib sanitizer DeprecationWarnings (#557)\n\n\nVersion 3.2.0 (September 16th, 2020)\n------------------------------------\n\n**Security fixes**\n\nNone\n\n**Features**\n\nNone\n\n**Bug fixes**\n\n* ``html5lib`` dependency to version 1.1.0. Thank you Sam Sneddon.\n* update tests_website terminology. Thank you Thomas Grainger.\n\n\nVersion 3.1.5 (April 29th, 2020)\n--------------------------------\n\n**Security fixes**\n\nNone\n\n**Features**\n\nNone\n\n**Bug fixes**\n\n* replace missing ``setuptools`` dependency with ``packaging``. Thank you Benjamin Peterson.\n\n\nVersion 3.1.4 (March 24th, 2020)\n--------------------------------\n\n**Security fixes**\n\n* ``bleach.clean`` behavior parsing style attributes could result in a\n regular expression denial of service (ReDoS).\n\n Calls to ``bleach.clean`` with an allowed tag with an allowed\n ``style`` attribute were vulnerable to ReDoS. For example,\n ``bleach.clean(..., attributes={'a': ['style']})``.\n\n This issue was confirmed in Bleach versions v3.1.3, v3.1.2, v3.1.1,\n v3.1.0, v3.0.0, v2.1.4, and v2.1.3. Earlier versions used a similar\n regular expression and should be considered vulnerable too.\n\n Anyone using Bleach <=v3.1.3 is encouraged to upgrade.\n\n https://bugzilla.mozilla.org/show_bug.cgi?id=1623633\n\n**Backwards incompatible changes**\n\n* Style attributes with dashes, or single or double quoted values are\n cleaned instead of passed through.\n\n**Features**\n\nNone\n\n**Bug fixes**\n\nNone\n\n\nVersion 3.1.3 (March 17th, 2020)\n--------------------------------\n\n**Security fixes**\n\nNone\n\n**Backwards incompatible changes**\n\n* Drop support for Python 3.4. Thank you, @hugovk!\n\n* Drop deprecated ``setup.py test`` support. Thank you, @jdufresne! (#507)\n\n**Features**\n\n* Add support for Python 3.8. Thank you, @jdufresne!\n\n* Add support for PyPy 7. Thank you, @hugovk!\n\n* Add pypy3 testing to tox and travis. Thank you, @jdufresne!\n\n**Bug fixes**\n\n* Add relative link to code of conduct. (#442)\n\n* Fix typo: curren -> current in tests/test_clean.py Thank you, timgates42! (#504)\n\n* Fix handling of non-ascii style attributes. Thank you, @sekineh! (#426)\n\n* Simplify tox configuration. Thank you, @jdufresne!\n\n* Make documentation reproducible. Thank you, @lamby!\n\n* Fix typos in code comments. Thank you, @zborboa-g!\n\n* Fix exception value testing. Thank you, @mastizada!\n\n* Fix parser-tags NoneType exception. Thank you, @bope!\n\n* Improve TLD support in linkify. Thank you, @pc-coholic!\n\n\nVersion 3.1.2 (March 11th, 2020)\n--------------------------------\n\n**Security fixes**\n\n* ``bleach.clean`` behavior parsing embedded MathML and SVG content\n with RCDATA tags did not match browser behavior and could result in\n a mutation XSS.\n\n Calls to ``bleach.clean`` with ``strip=False`` and ``math`` or\n ``svg`` tags and one or more of the RCDATA tags ``script``,\n ``noscript``, ``style``, ``noframes``, ``iframe``, ``noembed``, or\n ``xmp`` in the allowed tags whitelist were vulnerable to a mutation\n XSS.\n\n This security issue was confirmed in Bleach version v3.1.1. Earlier\n versions are likely affected too.\n\n Anyone using Bleach <=v3.1.1 is encouraged to upgrade.\n\n https://bugzilla.mozilla.org/show_bug.cgi?id=1621692\n\n**Backwards incompatible changes**\n\nNone\n\n**Features**\n\nNone\n\n**Bug fixes**\n\nNone\n\n\nVersion 3.1.1 (February 13th, 2020)\n-----------------------------------\n\n**Security fixes**\n\n* ``bleach.clean`` behavior parsing ``noscript`` tags did not match\n browser behavior.\n\n Calls to ``bleach.clean`` allowing ``noscript`` and one or more of\n the raw text tags (``title``, ``textarea``, ``script``, ``style``,\n ``noembed``, ``noframes``, ``iframe``, and ``xmp``) were vulnerable\n to a mutation XSS.\n\n This security issue was confirmed in Bleach versions v2.1.4, v3.0.2,\n and v3.1.0. Earlier versions are probably affected too.\n\n Anyone using Bleach <=v3.1.0 is highly encouraged to upgrade.\n\n https://bugzilla.mozilla.org/show_bug.cgi?id=1615315\n\n**Backwards incompatible changes**\n\nNone\n\n**Features**\n\nNone\n\n**Bug fixes**\n\nNone\n\n\nVersion 3.1.0 (January 9th, 2019)\n---------------------------------\n\n**Security fixes**\n\nNone\n\n**Backwards incompatible changes**\n\nNone\n\n**Features**\n\n* Add ``recognized_tags`` argument to the linkify ``Linker`` class. This\n fixes issues when linkifying on its own and having some tags get escaped.\n It defaults to a list of HTML5 tags. Thank you, Chad Birch! (#409)\n\n**Bug fixes**\n\n* Add ``six>=1.9`` to requirements. Thank you, Dave Shawley (#416)\n\n* Fix cases where attribute names could have invalid characters in them.\n (#419)\n\n* Fix problems with ``LinkifyFilter`` not being able to match links\n across ``&amp;``. (#422)\n\n* Fix ``InputStreamWithMemory`` when the ``BleachHTMLParser`` is\n parsing ``meta`` tags. (#431)\n\n* Fix doctests. (#357)\n\n\nVersion 3.0.2 (October 11th, 2018)\n----------------------------------\n\n**Security fixes**\n\nNone\n\n**Backwards incompatible changes**\n\nNone\n\n**Features**\n\nNone\n\n**Bug fixes**\n\n* Merge ``Characters`` tokens after sanitizing them. This fixes issues in the\n ``LinkifyFilter`` where it was only linkifying parts of urls. (#374)\n\n\nVersion 3.0.1 (October 9th, 2018)\n---------------------------------\n\n**Security fixes**\n\nNone\n\n**Backwards incompatible changes**\n\nNone\n\n**Features**\n\n* Support Python 3.7. It supported Python 3.7 just fine, but we added 3.7 to\n the list of Python environments we test so this is now officially supported.\n (#377)\n\n**Bug fixes**\n\n* Fix ``list`` object has no attribute ``lower`` in ``clean``. (#398)\n* Fix ``abbr`` getting escaped in ``linkify``. (#400)\n\n\nVersion 3.0.0 (October 3rd, 2018)\n---------------------------------\n\n**Security fixes**\n\nNone\n\n**Backwards incompatible changes**\n\n* A bunch of functions were moved from one module to another.\n\n These were moved from ``bleach.sanitizer`` to ``bleach.html5lib_shim``:\n\n * ``convert_entity``\n * ``convert_entities``\n * ``match_entity``\n * ``next_possible_entity``\n * ``BleachHTMLSerializer``\n * ``BleachHTMLTokenizer``\n * ``BleachHTMLParser``\n\n These functions and classes weren't documented and aren't part of the\n public API, but people read code and might be using them so we're\n considering it an incompatible API change.\n\n If you're using them, you'll need to update your code.\n\n**Features**\n\n* Bleach no longer depends on html5lib. html5lib==1.0.1 is now vendored into\n Bleach. You can remove it from your requirements file if none of your other\n requirements require html5lib.\n\n This means Bleach will now work fine with other libraries that depend on\n html5lib regardless of what version of html5lib they require. (#386)\n\n**Bug fixes**\n\n* Fixed tags getting added when using clean or linkify. This was a\n long-standing regression from the Bleach 2.0 rewrite. (#280, #392)\n\n* Fixed ``<isindex>`` getting replaced with a string. Now it gets escaped or\n stripped depending on whether it's in the allowed tags or not. (#279)\n\n\nVersion 2.1.4 (August 16th, 2018)\n---------------------------------\n\n**Security fixes**\n\nNone\n\n**Backwards incompatible changes**\n\n* Dropped support for Python 3.3. (#328)\n\n**Features**\n\nNone\n\n**Bug fixes**\n\n* Handle ambiguous ampersands in correctly. (#359)\n\n\nVersion 2.1.3 (March 5th, 2018)\n-------------------------------\n\n**Security fixes**\n\n* Attributes that have URI values weren't properly sanitized if the\n values contained character entities. Using character entities, it\n was possible to construct a URI value with a scheme that was not\n allowed that would slide through unsanitized.\n\n This security issue was introduced in Bleach 2.1. Anyone using\n Bleach 2.1 is highly encouraged to upgrade.\n\n https://bugzilla.mozilla.org/show_bug.cgi?id=1442745\n\n**Backwards incompatible changes**\n\nNone\n\n**Features**\n\nNone\n\n**Bug fixes**\n\n* Fixed some other edge cases for attribute URI value sanitizing and\n improved testing of this code.\n\n\nVersion 2.1.2 (December 7th, 2017)\n----------------------------------\n\n**Security fixes**\n\nNone\n\n**Backwards incompatible changes**\n\nNone\n\n**Features**\n\nNone\n\n**Bug fixes**\n\n* Support html5lib-python 1.0.1. (#337)\n\n* Add deprecation warning for supporting html5lib-python < 1.0.\n\n* Switch to semver.\n\n\nVersion 2.1.1 (October 2nd, 2017)\n---------------------------------\n\n**Security fixes**\n\nNone\n\n**Backwards incompatible changes**\n\nNone\n\n**Features**\n\nNone\n\n**Bug fixes**\n\n* Fix ``setup.py`` opening files when ``LANG=``. (#324)\n\n\nVersion 2.1 (September 28th, 2017)\n----------------------------------\n\n**Security fixes**\n\n* Convert control characters (backspace particularly) to "?" preventing\n malicious copy-and-paste situations. (#298)\n\n See `<https://github.com/mozilla/bleach/issues/298>`_ for more details.\n\n This affects all previous versions of Bleach. Check the comments on that\n issue for ways to alleviate the issue if you can't upgrade to Bleach 2.1.\n\n\n**Backwards incompatible changes**\n\n* Redid versioning. ``bleach.VERSION`` is no longer available. Use the string\n version at ``bleach.__version__`` and parse it with\n ``pkg_resources.parse_version``. (#307)\n\n* clean, linkify: linkify and clean should only accept text types; thank you,\n Janusz! (#292)\n\n* clean, linkify: accept only unicode or utf-8-encoded str (#176)\n\n\n**Features**\n\n\n**Bug fixes**\n\n* ``bleach.clean()`` no longer unescapes entities including ones that are missing\n a ``;`` at the end which can happen in urls and other places. (#143)\n\n* linkify: fix http links inside of mailto links; thank you, sedrubal! (#300)\n\n* clarify security policy in docs (#303)\n\n* fix dependency specification for html5lib 1.0b8, 1.0b9, and 1.0b10; thank you,\n Zoltán! (#268)\n\n* add Bleach vs. html5lib comparison to README; thank you, Stu Cox! (#278)\n\n* fix KeyError exceptions on tags without href attr; thank you, Alex Defsen!\n (#273)\n\n* add test website and scripts to test ``bleach.clean()`` output in browser;\n thank you, Greg Guthe!\n\n\nVersion 2.0 (March 8th, 2017)\n-----------------------------\n\n**Security fixes**\n\n* None\n\n\n**Backwards incompatible changes**\n\n* Removed support for Python 2.6. (#206)\n\n* Removed support for Python 3.2. (#224)\n\n* Bleach no longer supports html5lib < 0.99999999 (8 9s).\n\n This version is a rewrite to use the new sanitizing API since the old\n one was dropped in html5lib 0.99999999 (8 9s).\n\n If you're using 0.9999999 (7 9s) upgrade to 0.99999999 (8 9s) or higher.\n\n If you're using 1.0b8 (equivalent to 0.9999999 (7 9s)), upgrade to 1.0b9\n (equivalent to 0.99999999 (8 9s)) or higher.\n\n* ``bleach.clean`` and friends were rewritten\n\n ``clean`` was reimplemented as an html5lib filter and happens at a different\n step in the HTML parsing -> traversing -> serializing process. Because of\n that, there are some differences in clean's output as compared with previous\n versions.\n\n Amongst other things, this version will add end tags even if the tag in\n question is to be escaped.\n\n* ``bleach.clean`` and friends attribute callables now take three arguments:\n tag, attribute name and attribute value. Previously they only took attribute\n name and attribute value.\n\n All attribute callables will need to be updated.\n\n* ``bleach.linkify`` was rewritten\n\n ``linkify`` was reimplemented as an html5lib Filter. As such, it no longer\n accepts a ``tokenizer`` argument.\n\n The callback functions for adjusting link attributes now takes a namespaced\n attribute.\n\n Previously you'd do something like this::\n\n def check_protocol(attrs, is_new):\n if not attrs.get('href', '').startswith('http:', 'https:')):\n return None\n return attrs\n\n Now it's more like this::\n\n def check_protocol(attrs, is_new):\n if not attrs.get((None, u'href'), u'').startswith(('http:', 'https:')):\n # ^^^^^^^^^^^^^^^\n return None\n return attrs\n\n Further, you need to make sure you're always using unicode values. If you\n don't then html5lib will raise an assertion error that the value is not\n unicode.\n\n All linkify filters will need to be updated.\n\n* ``bleach.linkify`` and friends had a ``skip_pre`` argument--that's been\n replaced with a more general ``skip_tags`` argument.\n\n Before, you might do::\n\n bleach.linkify(some_text, skip_pre=True)\n\n The equivalent with Bleach 2.0 is::\n\n bleach.linkify(some_text, skip_tags=['pre'])\n\n You can skip other tags, too, like ``style`` or ``script`` or other places\n where you don't want linkification happening.\n\n All uses of linkify that use ``skip_pre`` will need to be updated.\n\n\n**Changes**\n\n* Supports Python 3.6.\n\n* Supports html5lib >= 0.99999999 (8 9s).\n\n* There's a ``bleach.sanitizer.Cleaner`` class that you can instantiate with your\n favorite clean settings for easy reuse.\n\n* There's a ``bleach.linkifier.Linker`` class that you can instantiate with your\n favorite linkify settings for easy reuse.\n\n* There's a ``bleach.linkifier.LinkifyFilter`` which is an htm5lib filter that\n you can pass as a filter to ``bleach.sanitizer.Cleaner`` allowing you to clean\n and linkify in one pass.\n\n* ``bleach.clean`` and friends can now take a callable as an attributes arg value.\n\n* Tons of bug fixes.\n\n* Cleaned up tests.\n\n* Documentation fixes.\n\n\nVersion 1.5 (November 4th, 2016)\n--------------------------------\n\n**Security fixes**\n\n* None\n\n**Backwards incompatible changes**\n\n* clean: The list of ``ALLOWED_PROTOCOLS`` now defaults to http, https and\n mailto.\n\n Previously it was a long list of protocols something like ed2k, ftp, http,\n https, irc, mailto, news, gopher, nntp, telnet, webcal, xmpp, callto, feed,\n urn, aim, rsync, tag, ssh, sftp, rtsp, afs, data. (#149)\n\n**Changes**\n\n* clean: Added ``protocols`` to arguments list to let you override the list of\n allowed protocols. Thank you, Andreas Malecki! (#149)\n\n* linkify: Fix a bug involving periods at the end of an email address. Thank you,\n Lorenz Schori! (#219)\n\n* linkify: Fix linkification of non-ascii ports. Thank you Alexandre, Macabies!\n (#207)\n\n* linkify: Fix linkify inappropriately removing node tails when dropping nodes.\n (#132)\n\n* Fixed a test that failed periodically. (#161)\n\n* Switched from nose to py.test. (#204)\n\n* Add test matrix for all supported Python and html5lib versions. (#230)\n\n* Limit to html5lib ``>=0.999,!=0.9999,!=0.99999,<0.99999999`` because 0.9999\n and 0.99999 are busted.\n\n* Add support for ``python setup.py test``. (#97)\n\n\nVersion 1.4.3 (May 23rd, 2016)\n------------------------------\n\n**Security fixes**\n\n* None\n\n**Changes**\n\n* Limit to html5lib ``>=0.999,<0.99999999`` because of impending change to\n sanitizer api. #195\n\n\nVersion 1.4.2 (September 11, 2015)\n----------------------------------\n\n**Changes**\n\n* linkify: Fix hang in linkify with ``parse_email=True``. (#124)\n\n* linkify: Fix crash in linkify when removing a link that is a first-child. (#136)\n\n* Updated TLDs.\n\n* linkify: Don't remove exterior brackets when linkifying. (#146)\n\n\nVersion 1.4.1 (December 15, 2014)\n---------------------------------\n\n**Changes**\n\n* Consistent order of attributes in output.\n\n* Python 3.4 support.\n\n\nVersion 1.4 (January 12, 2014)\n------------------------------\n\n**Changes**\n\n* linkify: Update linkify to use etree type Treewalker instead of simpletree.\n\n* Updated html5lib to version ``>=0.999``.\n\n* Update all code to be compatible with Python 3 and 2 using six.\n\n* Switch to Apache License.\n\n\nVersion 1.3\n-----------\n\n* Used by Python 3-only fork.\n\n\nVersion 1.2.2 (May 18, 2013)\n----------------------------\n\n* Pin html5lib to version 0.95 for now due to major API break.\n\n\nVersion 1.2.1 (February 19, 2013)\n---------------------------------\n\n* ``clean()`` no longer considers ``feed:`` an acceptable protocol due to\n inconsistencies in browser behavior.\n\n\nVersion 1.2 (January 28, 2013)\n------------------------------\n\n* ``linkify()`` has changed considerably. Many keyword arguments have been\n replaced with a single callbacks list. Please see the documentation for more\n information.\n\n* Bleach will no longer consider unacceptable protocols when linkifying.\n\n* ``linkify()`` now takes a tokenizer argument that allows it to skip\n sanitization.\n\n* ``delinkify()`` is gone.\n\n* Removed exception handling from ``_render``. ``clean()`` and ``linkify()`` may\n now throw.\n\n* ``linkify()`` correctly ignores case for protocols and domain names.\n\n* ``linkify()`` correctly handles markup within an <a> tag.\n\n\nVersion 1.1.5\n-------------\n\n\nVersion 1.1.4\n-------------\n\n\nVersion 1.1.3 (July 10, 2012)\n-----------------------------\n\n* Fix parsing bare URLs when parse_email=True.\n\n\nVersion 1.1.2 (June 1, 2012)\n----------------------------\n\n* Fix hang in style attribute sanitizer. (#61)\n\n* Allow ``/`` in style attribute values.\n\n\nVersion 1.1.1 (February 17, 2012)\n---------------------------------\n\n* Fix tokenizer for html5lib 0.9.5.\n\n\nVersion 1.1.0 (October 24, 2011)\n--------------------------------\n\n* ``linkify()`` now understands port numbers. (#38)\n\n* Documented character encoding behavior. (#41)\n\n* Add an optional target argument to ``linkify()``.\n\n* Add ``delinkify()`` method. (#45)\n\n* Support subdomain whitelist for ``delinkify()``. (#47, #48)\n\n\nVersion 1.0.4 (September 2, 2011)\n---------------------------------\n\n* Switch to SemVer git tags.\n\n* Make ``linkify()`` smarter about trailing punctuation. (#30)\n\n* Pass ``exc_info`` to logger during rendering issues.\n\n* Add wildcard key for attributes. (#19)\n\n* Make ``linkify()`` use the ``HTMLSanitizer`` tokenizer. (#36)\n\n* Fix URLs wrapped in parentheses. (#23)\n\n* Make ``linkify()`` UTF-8 safe. (#33)\n\n\nVersion 1.0.3 (June 14, 2011)\n-----------------------------\n\n* ``linkify()`` works with 3rd level domains. (#24)\n\n* ``clean()`` supports vendor prefixes in style values. (#31, #32)\n\n* Fix ``linkify()`` email escaping.\n\n\nVersion 1.0.2 (June 6, 2011)\n----------------------------\n\n* ``linkify()`` supports email addresses.\n\n* ``clean()`` supports callables in attributes filter.\n\n\nVersion 1.0.1 (April 12, 2011)\n------------------------------\n\n* ``linkify()`` doesn't drop trailing slashes. (#21)\n* ``linkify()`` won't linkify 'libgl.so.1'. (#22)\n
.venv\Lib\site-packages\bleach-6.2.0.dist-info\METADATA
METADATA
Other
30,774
0.95
0.042722
0.413978
awesome-app
404
2023-10-14T23:07:38.588616
GPL-3.0
false
beaaa132d6c825bb65cad42dcf365e52
bleach-6.2.0.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4\nbleach-6.2.0.dist-info/LICENSE,sha256=vsIjjBSaYyuPsmgT9oes6rq4AyfzJwdpwsFhV4g9MTA,569\nbleach-6.2.0.dist-info/METADATA,sha256=mnXcN317OOMalmF3_BsKK_6pjezoghNxZxvKw2Xu9ik,30774\nbleach-6.2.0.dist-info/RECORD,,\nbleach-6.2.0.dist-info/WHEEL,sha256=P9jw-gEje8ByB7_hXoICnHtVCrEwMQh-630tKvQWehc,91\nbleach-6.2.0.dist-info/top_level.txt,sha256=dcv0wKIySB0zMjAEXLwY4V0-3IN9UZQGAT1wDmfQICY,7\nbleach/__init__.py,sha256=eVGkZTvQBVC8huukdCp3k5vBrtl48uBYWmVN2k15izQ,3649\nbleach/__pycache__/__init__.cpython-313.pyc,,\nbleach/__pycache__/callbacks.cpython-313.pyc,,\nbleach/__pycache__/css_sanitizer.cpython-313.pyc,,\nbleach/__pycache__/html5lib_shim.cpython-313.pyc,,\nbleach/__pycache__/linkifier.cpython-313.pyc,,\nbleach/__pycache__/parse_shim.cpython-313.pyc,,\nbleach/__pycache__/sanitizer.cpython-313.pyc,,\nbleach/__pycache__/six_shim.cpython-313.pyc,,\nbleach/_vendor/README.rst,sha256=eXeKT2JdZB4WX1kuhTa8W9Jp9VXtwIKFxo5RUL5exmM,2160\nbleach/_vendor/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0\nbleach/_vendor/__pycache__/__init__.cpython-313.pyc,,\nbleach/_vendor/__pycache__/parse.cpython-313.pyc,,\nbleach/_vendor/html5lib-1.1.dist-info/AUTHORS.rst,sha256=DrNAMifoDpuQyJn-KW-H6K8Tt2a5rKnV2UF4-DRrGUI,983\nbleach/_vendor/html5lib-1.1.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4\nbleach/_vendor/html5lib-1.1.dist-info/LICENSE,sha256=FqOZkWGekvGGgJMtoqkZn999ld8-yu3FLqBiGKq6_W8,1084\nbleach/_vendor/html5lib-1.1.dist-info/METADATA,sha256=Y3w-nd_22HQnQRy3yypVsV_ke2FF94uUD4-vGpc2DnI,16076\nbleach/_vendor/html5lib-1.1.dist-info/RECORD,sha256=u-y_W5lhdsHC1OSMnA4bCi3-11IgQ_FAIW6viMu8_LA,3486\nbleach/_vendor/html5lib-1.1.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0\nbleach/_vendor/html5lib-1.1.dist-info/WHEEL,sha256=kGT74LWyRUZrL4VgLh6_g12IeVl_9u9ZVhadrgXZUEY,110\nbleach/_vendor/html5lib-1.1.dist-info/top_level.txt,sha256=XEX6CHpskSmvjJB4tP6m4Q5NYXhIf_0ceMc0PNbzJPQ,9\nbleach/_vendor/html5lib/__init__.py,sha256=pWnYcfZ69wNLrdQL7bpr49FUi8O8w0KhKCOHsyRgYGQ,1143\nbleach/_vendor/html5lib/__pycache__/__init__.cpython-313.pyc,,\nbleach/_vendor/html5lib/__pycache__/_ihatexml.cpython-313.pyc,,\nbleach/_vendor/html5lib/__pycache__/_inputstream.cpython-313.pyc,,\nbleach/_vendor/html5lib/__pycache__/_tokenizer.cpython-313.pyc,,\nbleach/_vendor/html5lib/__pycache__/_utils.cpython-313.pyc,,\nbleach/_vendor/html5lib/__pycache__/constants.cpython-313.pyc,,\nbleach/_vendor/html5lib/__pycache__/html5parser.cpython-313.pyc,,\nbleach/_vendor/html5lib/__pycache__/serializer.cpython-313.pyc,,\nbleach/_vendor/html5lib/_ihatexml.py,sha256=ifOwF7pXqmyThIXc3boWc96s4MDezqRrRVp7FwDYUFs,16728\nbleach/_vendor/html5lib/_inputstream.py,sha256=468J4yFSbIqJaZs9tKtdYjh9b1_NSOV2Y6n4XItzX0c,32318\nbleach/_vendor/html5lib/_tokenizer.py,sha256=qB8oJPqJFt6ziwqd35y7rbgDA2UY2BgaqVFktrl3Jfo,77040\nbleach/_vendor/html5lib/_trie/__init__.py,sha256=nqfgO910329BEVJ5T4psVwQtjd2iJyEXQ2-X8c1YxwU,109\nbleach/_vendor/html5lib/_trie/__pycache__/__init__.cpython-313.pyc,,\nbleach/_vendor/html5lib/_trie/__pycache__/_base.cpython-313.pyc,,\nbleach/_vendor/html5lib/_trie/__pycache__/py.cpython-313.pyc,,\nbleach/_vendor/html5lib/_trie/_base.py,sha256=CaybYyMro8uERQYjby2tTeSUatnWDfWroUN9N7ety5w,1013\nbleach/_vendor/html5lib/_trie/py.py,sha256=FEahIAELKHkq1yQTYd-6lynOLXwGebzuzmkwdKhxiaE,1775\nbleach/_vendor/html5lib/_utils.py,sha256=Db3cH4s_APLkqSqzRiJymZ0Ni_dEmGZqKM6r7LyWsiw,4931\nbleach/_vendor/html5lib/constants.py,sha256=Ll-yzLU_jcjyAI_h57zkqZ7aQWE5t5xA4y_jQgoUUhw,83464\nbleach/_vendor/html5lib/filters/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0\nbleach/_vendor/html5lib/filters/__pycache__/__init__.cpython-313.pyc,,\nbleach/_vendor/html5lib/filters/__pycache__/alphabeticalattributes.cpython-313.pyc,,\nbleach/_vendor/html5lib/filters/__pycache__/base.cpython-313.pyc,,\nbleach/_vendor/html5lib/filters/__pycache__/inject_meta_charset.cpython-313.pyc,,\nbleach/_vendor/html5lib/filters/__pycache__/lint.cpython-313.pyc,,\nbleach/_vendor/html5lib/filters/__pycache__/optionaltags.cpython-313.pyc,,\nbleach/_vendor/html5lib/filters/__pycache__/sanitizer.cpython-313.pyc,,\nbleach/_vendor/html5lib/filters/__pycache__/whitespace.cpython-313.pyc,,\nbleach/_vendor/html5lib/filters/alphabeticalattributes.py,sha256=lViZc2JMCclXi_5gduvmdzrRxtO5Xo9ONnbHBVCsykU,919\nbleach/_vendor/html5lib/filters/base.py,sha256=z-IU9ZAYjpsVsqmVt7kuWC63jR11hDMr6CVrvuao8W0,286\nbleach/_vendor/html5lib/filters/inject_meta_charset.py,sha256=egDXUEHXmAG9504xz0K6ALDgYkvUrC2q15YUVeNlVQg,2945\nbleach/_vendor/html5lib/filters/lint.py,sha256=QqntYftPoZWNHvKYgk-X1rCfvlgGxBQXKvmlOFDRpnc,3643\nbleach/_vendor/html5lib/filters/optionaltags.py,sha256=8lWT75J0aBOHmPgfmqTHSfPpPMp01T84NKu0CRedxcE,10588\nbleach/_vendor/html5lib/filters/sanitizer.py,sha256=LAwxng7L1d3EGI7toU2dbl7PAXPQpMvrN0F5LN-O-hQ,26891\nbleach/_vendor/html5lib/filters/whitespace.py,sha256=8eWqZxd4UC4zlFGW6iyY6f-2uuT8pOCSALc3IZt7_t4,1214\nbleach/_vendor/html5lib/html5parser.py,sha256=OydS1YNYFgTMfOHXPVXOfcFD4FdV18zXm4FW5oqi37k,117164\nbleach/_vendor/html5lib/serializer.py,sha256=2PKBf5aWa5ZOopxF9mpFuwfnkGWlnjduCRl1LnG4fdg,15759\nbleach/_vendor/html5lib/treeadapters/__init__.py,sha256=18hyI-at2aBsdKzpwRwa5lGF1ipgctaTYXoU9En2ZQg,650\nbleach/_vendor/html5lib/treeadapters/__pycache__/__init__.cpython-313.pyc,,\nbleach/_vendor/html5lib/treeadapters/__pycache__/genshi.cpython-313.pyc,,\nbleach/_vendor/html5lib/treeadapters/__pycache__/sax.cpython-313.pyc,,\nbleach/_vendor/html5lib/treeadapters/genshi.py,sha256=CH27pAsDKmu4ZGkAUrwty7u0KauGLCZRLPMzaO3M5vo,1715\nbleach/_vendor/html5lib/treeadapters/sax.py,sha256=BKS8woQTnKiqeffHsxChUqL4q2ZR_wb5fc9MJ3zQC8s,1776\nbleach/_vendor/html5lib/treebuilders/__init__.py,sha256=AysSJyvPfikCMMsTVvaxwkgDieELD5dfR8FJIAuq7hY,3592\nbleach/_vendor/html5lib/treebuilders/__pycache__/__init__.cpython-313.pyc,,\nbleach/_vendor/html5lib/treebuilders/__pycache__/base.cpython-313.pyc,,\nbleach/_vendor/html5lib/treebuilders/__pycache__/dom.cpython-313.pyc,,\nbleach/_vendor/html5lib/treebuilders/__pycache__/etree.cpython-313.pyc,,\nbleach/_vendor/html5lib/treebuilders/__pycache__/etree_lxml.cpython-313.pyc,,\nbleach/_vendor/html5lib/treebuilders/base.py,sha256=63eJjPXwJ_IphPGS-DDYMGQ5M8hR3dsqtSvpaJDb8qk,14565\nbleach/_vendor/html5lib/treebuilders/dom.py,sha256=22whb0C71zXIsai5mamg6qzBEiigcBIvaDy4Asw3at0,8925\nbleach/_vendor/html5lib/treebuilders/etree.py,sha256=SiOi50OH4xI41dtL7TKRng8Fz3XIEkDlE7mh8y0xDN0,12836\nbleach/_vendor/html5lib/treebuilders/etree_lxml.py,sha256=UNGYWOVMigC_t77SMaWbcJaPAbjk_UTNA-_531_52Hg,14766\nbleach/_vendor/html5lib/treewalkers/__init__.py,sha256=OBPtc1TU5mGyy18QDMxKEyYEz0wxFUUNj5v0-XgmYhY,5719\nbleach/_vendor/html5lib/treewalkers/__pycache__/__init__.cpython-313.pyc,,\nbleach/_vendor/html5lib/treewalkers/__pycache__/base.cpython-313.pyc,,\nbleach/_vendor/html5lib/treewalkers/__pycache__/dom.cpython-313.pyc,,\nbleach/_vendor/html5lib/treewalkers/__pycache__/etree.cpython-313.pyc,,\nbleach/_vendor/html5lib/treewalkers/__pycache__/etree_lxml.cpython-313.pyc,,\nbleach/_vendor/html5lib/treewalkers/__pycache__/genshi.cpython-313.pyc,,\nbleach/_vendor/html5lib/treewalkers/base.py,sha256=ouiOsuSzvI0KgzdWP8PlxIaSNs9falhbiinAEc_UIJY,7476\nbleach/_vendor/html5lib/treewalkers/dom.py,sha256=EHyFR8D8lYNnyDU9lx_IKigVJRyecUGua0mOi7HBukc,1413\nbleach/_vendor/html5lib/treewalkers/etree.py,sha256=Fo7NwpokK8I1Sisg83TKnEVv2bOKz20QiJyBMUGT8co,4551\nbleach/_vendor/html5lib/treewalkers/etree_lxml.py,sha256=q_z3IkU18ikNomqyzNmCyYPblj485RnAUkgsZjv9vqQ,6357\nbleach/_vendor/html5lib/treewalkers/genshi.py,sha256=4D2PECZ5n3ZN3qu3jMl9yY7B81jnQApBQSVlfaIuYbA,2309\nbleach/_vendor/parse.py,sha256=Rq-WbjO2JHrh1X2UWRFaPrRs2p-AnJ8U4FKrwv6NrLI,39023\nbleach/_vendor/parse.py.SHA256SUM,sha256=-AaiqN-9otw_X0vFjKkbKWFvkp68iLME92_wI-8-vm0,75\nbleach/_vendor/vendor.txt,sha256=6FFZyenumgWqnhLgbCa4yzL4HVNaSUDC2DHNyR5Fy6w,184\nbleach/_vendor/vendor_install.sh,sha256=wMRUBf6IJ4LgRVO_0soLSsO2b1aphbZzqd3aqHVC75Q,553\nbleach/callbacks.py,sha256=JNTGiM5_3bKsGltpR9ZYEz_C_b7-vfDlTTdQCirbdyc,752\nbleach/css_sanitizer.py,sha256=QFMxRKBUMSuNvYkVpB2WRBQO609eFbU-p9P_LhU6jtM,2526\nbleach/html5lib_shim.py,sha256=FGob47ScPLEh8_EihRAOINiGcGFjL4GRj7SfsD_bNBI,23619\nbleach/linkifier.py,sha256=vWOXKuRXirpCwejUEEyfe8EWJ7rBlieMDEerg95OhPU,22375\nbleach/parse_shim.py,sha256=VDPOdBOKbuDEceKVvfoggcr6A332bkcq4Z8jMtOJlAQ,50\nbleach/sanitizer.py,sha256=JqDuTINOybpc_eHBzG_H7cnkHdFskZGbfsaBc-hDPH8,21934\nbleach/six_shim.py,sha256=4nLv5WcDyCYaYEpQVuI9I_3t06VMUBr_n4CJAn4nQwQ,305\n
.venv\Lib\site-packages\bleach-6.2.0.dist-info\RECORD
RECORD
Other
8,620
0.7
0
0
python-kit
223
2024-06-13T08:26:58.318676
Apache-2.0
false
518f9a18be9bd0b9f135eb9253ca3d7a
bleach\n
.venv\Lib\site-packages\bleach-6.2.0.dist-info\top_level.txt
top_level.txt
Other
7
0.5
0
0
awesome-app
364
2024-09-11T01:35:31.447754
BSD-3-Clause
false
2126047f7c1ee8b48fe583b1724cf40e
Wheel-Version: 1.0\nGenerator: setuptools (75.3.0)\nRoot-Is-Purelib: true\nTag: py3-none-any\n\n
.venv\Lib\site-packages\bleach-6.2.0.dist-info\WHEEL
WHEEL
Other
91
0.5
0
0
vue-tools
401
2024-01-15T00:36:48.615648
MIT
false
07948cf26a7f748573bce1e66281c24a
"""Integration code for CSS selectors using `Soup Sieve <https://facelessuser.github.io/soupsieve/>`_ (pypi: ``soupsieve``).\n\nAcquire a `CSS` object through the `element.Tag.css` attribute of\nthe starting point of your CSS selector, or (if you want to run a\nselector against the entire document) of the `BeautifulSoup` object\nitself.\n\nThe main advantage of doing this instead of using ``soupsieve``\nfunctions is that you don't need to keep passing the `element.Tag` to be\nselected against, since the `CSS` object is permanently scoped to that\n`element.Tag`.\n\n"""\n\nfrom __future__ import annotations\n\nfrom types import ModuleType\nfrom typing import (\n Any,\n cast,\n Iterable,\n Iterator,\n Optional,\n TYPE_CHECKING,\n)\nimport warnings\nfrom bs4._typing import _NamespaceMapping\n\nif TYPE_CHECKING:\n from soupsieve import SoupSieve\n from bs4 import element\n from bs4.element import ResultSet, Tag\n\nsoupsieve: Optional[ModuleType]\ntry:\n import soupsieve\nexcept ImportError:\n soupsieve = None\n warnings.warn(\n "The soupsieve package is not installed. CSS selectors cannot be used."\n )\n\n\nclass CSS(object):\n """A proxy object against the ``soupsieve`` library, to simplify its\n CSS selector API.\n\n You don't need to instantiate this class yourself; instead, use\n `element.Tag.css`.\n\n :param tag: All CSS selectors run by this object will use this as\n their starting point.\n\n :param api: An optional drop-in replacement for the ``soupsieve`` module,\n intended for use in unit tests.\n """\n\n def __init__(self, tag: element.Tag, api: Optional[ModuleType] = None):\n if api is None:\n api = soupsieve\n if api is None:\n raise NotImplementedError(\n "Cannot execute CSS selectors because the soupsieve package is not installed."\n )\n self.api = api\n self.tag = tag\n\n def escape(self, ident: str) -> str:\n """Escape a CSS identifier.\n\n This is a simple wrapper around `soupsieve.escape() <https://facelessuser.github.io/soupsieve/api/#soupsieveescape>`_. See the\n documentation for that function for more information.\n """\n if soupsieve is None:\n raise NotImplementedError(\n "Cannot escape CSS identifiers because the soupsieve package is not installed."\n )\n return cast(str, self.api.escape(ident))\n\n def _ns(\n self, ns: Optional[_NamespaceMapping], select: str\n ) -> Optional[_NamespaceMapping]:\n """Normalize a dictionary of namespaces."""\n if not isinstance(select, self.api.SoupSieve) and ns is None:\n # If the selector is a precompiled pattern, it already has\n # a namespace context compiled in, which cannot be\n # replaced.\n ns = self.tag._namespaces\n return ns\n\n def _rs(self, results: Iterable[Tag]) -> ResultSet[Tag]:\n """Normalize a list of results to a py:class:`ResultSet`.\n\n A py:class:`ResultSet` is more consistent with the rest of\n Beautiful Soup's API, and :py:meth:`ResultSet.__getattr__` has\n a helpful error message if you try to treat a list of results\n as a single result (a common mistake).\n """\n # Import here to avoid circular import\n from bs4 import ResultSet\n\n return ResultSet(None, results)\n\n def compile(\n self,\n select: str,\n namespaces: Optional[_NamespaceMapping] = None,\n flags: int = 0,\n **kwargs: Any,\n ) -> SoupSieve:\n """Pre-compile a selector and return the compiled object.\n\n :param selector: A CSS selector.\n\n :param namespaces: A dictionary mapping namespace prefixes\n used in the CSS selector to namespace URIs. By default,\n Beautiful Soup will use the prefixes it encountered while\n parsing the document.\n\n :param flags: Flags to be passed into Soup Sieve's\n `soupsieve.compile() <https://facelessuser.github.io/soupsieve/api/#soupsievecompile>`_ method.\n\n :param kwargs: Keyword arguments to be passed into Soup Sieve's\n `soupsieve.compile() <https://facelessuser.github.io/soupsieve/api/#soupsievecompile>`_ method.\n\n :return: A precompiled selector object.\n :rtype: soupsieve.SoupSieve\n """\n return self.api.compile(select, self._ns(namespaces, select), flags, **kwargs)\n\n def select_one(\n self,\n select: str,\n namespaces: Optional[_NamespaceMapping] = None,\n flags: int = 0,\n **kwargs: Any,\n ) -> element.Tag | None:\n """Perform a CSS selection operation on the current Tag and return the\n first result, if any.\n\n This uses the Soup Sieve library. For more information, see\n that library's documentation for the `soupsieve.select_one() <https://facelessuser.github.io/soupsieve/api/#soupsieveselect_one>`_ method.\n\n :param selector: A CSS selector.\n\n :param namespaces: A dictionary mapping namespace prefixes\n used in the CSS selector to namespace URIs. By default,\n Beautiful Soup will use the prefixes it encountered while\n parsing the document.\n\n :param flags: Flags to be passed into Soup Sieve's\n `soupsieve.select_one() <https://facelessuser.github.io/soupsieve/api/#soupsieveselect_one>`_ method.\n\n :param kwargs: Keyword arguments to be passed into Soup Sieve's\n `soupsieve.select_one() <https://facelessuser.github.io/soupsieve/api/#soupsieveselect_one>`_ method.\n """\n return self.api.select_one(\n select, self.tag, self._ns(namespaces, select), flags, **kwargs\n )\n\n def select(\n self,\n select: str,\n namespaces: Optional[_NamespaceMapping] = None,\n limit: int = 0,\n flags: int = 0,\n **kwargs: Any,\n ) -> ResultSet[element.Tag]:\n """Perform a CSS selection operation on the current `element.Tag`.\n\n This uses the Soup Sieve library. For more information, see\n that library's documentation for the `soupsieve.select() <https://facelessuser.github.io/soupsieve/api/#soupsieveselect>`_ method.\n\n :param selector: A CSS selector.\n\n :param namespaces: A dictionary mapping namespace prefixes\n used in the CSS selector to namespace URIs. By default,\n Beautiful Soup will pass in the prefixes it encountered while\n parsing the document.\n\n :param limit: After finding this number of results, stop looking.\n\n :param flags: Flags to be passed into Soup Sieve's\n `soupsieve.select() <https://facelessuser.github.io/soupsieve/api/#soupsieveselect>`_ method.\n\n :param kwargs: Keyword arguments to be passed into Soup Sieve's\n `soupsieve.select() <https://facelessuser.github.io/soupsieve/api/#soupsieveselect>`_ method.\n """\n if limit is None:\n limit = 0\n\n return self._rs(\n self.api.select(\n select, self.tag, self._ns(namespaces, select), limit, flags, **kwargs\n )\n )\n\n def iselect(\n self,\n select: str,\n namespaces: Optional[_NamespaceMapping] = None,\n limit: int = 0,\n flags: int = 0,\n **kwargs: Any,\n ) -> Iterator[element.Tag]:\n """Perform a CSS selection operation on the current `element.Tag`.\n\n This uses the Soup Sieve library. For more information, see\n that library's documentation for the `soupsieve.iselect()\n <https://facelessuser.github.io/soupsieve/api/#soupsieveiselect>`_\n method. It is the same as select(), but it returns a generator\n instead of a list.\n\n :param selector: A string containing a CSS selector.\n\n :param namespaces: A dictionary mapping namespace prefixes\n used in the CSS selector to namespace URIs. By default,\n Beautiful Soup will pass in the prefixes it encountered while\n parsing the document.\n\n :param limit: After finding this number of results, stop looking.\n\n :param flags: Flags to be passed into Soup Sieve's\n `soupsieve.iselect() <https://facelessuser.github.io/soupsieve/api/#soupsieveiselect>`_ method.\n\n :param kwargs: Keyword arguments to be passed into Soup Sieve's\n `soupsieve.iselect() <https://facelessuser.github.io/soupsieve/api/#soupsieveiselect>`_ method.\n """\n return self.api.iselect(\n select, self.tag, self._ns(namespaces, select), limit, flags, **kwargs\n )\n\n def closest(\n self,\n select: str,\n namespaces: Optional[_NamespaceMapping] = None,\n flags: int = 0,\n **kwargs: Any,\n ) -> Optional[element.Tag]:\n """Find the `element.Tag` closest to this one that matches the given selector.\n\n This uses the Soup Sieve library. For more information, see\n that library's documentation for the `soupsieve.closest()\n <https://facelessuser.github.io/soupsieve/api/#soupsieveclosest>`_\n method.\n\n :param selector: A string containing a CSS selector.\n\n :param namespaces: A dictionary mapping namespace prefixes\n used in the CSS selector to namespace URIs. By default,\n Beautiful Soup will pass in the prefixes it encountered while\n parsing the document.\n\n :param flags: Flags to be passed into Soup Sieve's\n `soupsieve.closest() <https://facelessuser.github.io/soupsieve/api/#soupsieveclosest>`_ method.\n\n :param kwargs: Keyword arguments to be passed into Soup Sieve's\n `soupsieve.closest() <https://facelessuser.github.io/soupsieve/api/#soupsieveclosest>`_ method.\n\n """\n return self.api.closest(\n select, self.tag, self._ns(namespaces, select), flags, **kwargs\n )\n\n def match(\n self,\n select: str,\n namespaces: Optional[_NamespaceMapping] = None,\n flags: int = 0,\n **kwargs: Any,\n ) -> bool:\n """Check whether or not this `element.Tag` matches the given CSS selector.\n\n This uses the Soup Sieve library. For more information, see\n that library's documentation for the `soupsieve.match()\n <https://facelessuser.github.io/soupsieve/api/#soupsievematch>`_\n method.\n\n :param: a CSS selector.\n\n :param namespaces: A dictionary mapping namespace prefixes\n used in the CSS selector to namespace URIs. By default,\n Beautiful Soup will pass in the prefixes it encountered while\n parsing the document.\n\n :param flags: Flags to be passed into Soup Sieve's\n `soupsieve.match()\n <https://facelessuser.github.io/soupsieve/api/#soupsievematch>`_\n method.\n\n :param kwargs: Keyword arguments to be passed into SoupSieve's\n `soupsieve.match()\n <https://facelessuser.github.io/soupsieve/api/#soupsievematch>`_\n method.\n """\n return cast(\n bool,\n self.api.match(\n select, self.tag, self._ns(namespaces, select), flags, **kwargs\n ),\n )\n\n def filter(\n self,\n select: str,\n namespaces: Optional[_NamespaceMapping] = None,\n flags: int = 0,\n **kwargs: Any,\n ) -> ResultSet[element.Tag]:\n """Filter this `element.Tag`'s direct children based on the given CSS selector.\n\n This uses the Soup Sieve library. It works the same way as\n passing a `element.Tag` into that library's `soupsieve.filter()\n <https://facelessuser.github.io/soupsieve/api/#soupsievefilter>`_\n method. For more information, see the documentation for\n `soupsieve.filter()\n <https://facelessuser.github.io/soupsieve/api/#soupsievefilter>`_.\n\n :param namespaces: A dictionary mapping namespace prefixes\n used in the CSS selector to namespace URIs. By default,\n Beautiful Soup will pass in the prefixes it encountered while\n parsing the document.\n\n :param flags: Flags to be passed into Soup Sieve's\n `soupsieve.filter()\n <https://facelessuser.github.io/soupsieve/api/#soupsievefilter>`_\n method.\n\n :param kwargs: Keyword arguments to be passed into SoupSieve's\n `soupsieve.filter()\n <https://facelessuser.github.io/soupsieve/api/#soupsievefilter>`_\n method.\n """\n return self._rs(\n self.api.filter(\n select, self.tag, self._ns(namespaces, select), flags, **kwargs\n )\n )\n
.venv\Lib\site-packages\bs4\css.py
css.py
Python
12,685
0.95
0.133136
0.040146
node-utils
67
2024-10-11T18:40:10.771595
BSD-3-Clause
false
2c08f74633aff822af1b01a2bbfc0535
"""Diagnostic functions, mainly for use when doing tech support."""\n\n# Use of this source code is governed by the MIT license.\n__license__ = "MIT"\n\nimport cProfile\nfrom io import BytesIO\nfrom html.parser import HTMLParser\nimport bs4\nfrom bs4 import BeautifulSoup, __version__\nfrom bs4.builder import builder_registry\nfrom typing import (\n Any,\n IO,\n List,\n Optional,\n Tuple,\n TYPE_CHECKING,\n)\n\nif TYPE_CHECKING:\n from bs4._typing import _IncomingMarkup\n\nimport pstats\nimport random\nimport tempfile\nimport time\nimport traceback\nimport sys\n\n\ndef diagnose(data: "_IncomingMarkup") -> None:\n """Diagnostic suite for isolating common problems.\n\n :param data: Some markup that needs to be explained.\n :return: None; diagnostics are printed to standard output.\n """\n print(("Diagnostic running on Beautiful Soup %s" % __version__))\n print(("Python version %s" % sys.version))\n\n basic_parsers = ["html.parser", "html5lib", "lxml"]\n for name in basic_parsers:\n for builder in builder_registry.builders:\n if name in builder.features:\n break\n else:\n basic_parsers.remove(name)\n print(\n ("I noticed that %s is not installed. Installing it may help." % name)\n )\n\n if "lxml" in basic_parsers:\n basic_parsers.append("lxml-xml")\n try:\n from lxml import etree\n\n print(("Found lxml version %s" % ".".join(map(str, etree.LXML_VERSION))))\n except ImportError:\n print("lxml is not installed or couldn't be imported.")\n\n if "html5lib" in basic_parsers:\n try:\n import html5lib\n\n print(("Found html5lib version %s" % html5lib.__version__))\n except ImportError:\n print("html5lib is not installed or couldn't be imported.")\n\n if hasattr(data, "read"):\n data = data.read()\n\n for parser in basic_parsers:\n print(("Trying to parse your markup with %s" % parser))\n success = False\n try:\n soup = BeautifulSoup(data, features=parser)\n success = True\n except Exception:\n print(("%s could not parse the markup." % parser))\n traceback.print_exc()\n if success:\n print(("Here's what %s did with the markup:" % parser))\n print((soup.prettify()))\n\n print(("-" * 80))\n\n\ndef lxml_trace(data: "_IncomingMarkup", html: bool = True, **kwargs: Any) -> None:\n """Print out the lxml events that occur during parsing.\n\n This lets you see how lxml parses a document when no Beautiful\n Soup code is running. You can use this to determine whether\n an lxml-specific problem is in Beautiful Soup's lxml tree builders\n or in lxml itself.\n\n :param data: Some markup.\n :param html: If True, markup will be parsed with lxml's HTML parser.\n if False, lxml's XML parser will be used.\n """\n from lxml import etree\n\n recover = kwargs.pop("recover", True)\n if isinstance(data, str):\n data = data.encode("utf8")\n if not isinstance(data, IO):\n reader = BytesIO(data)\n for event, element in etree.iterparse(reader, html=html, recover=recover, **kwargs):\n print(("%s, %4s, %s" % (event, element.tag, element.text)))\n\n\nclass AnnouncingParser(HTMLParser):\n """Subclass of HTMLParser that announces parse events, without doing\n anything else.\n\n You can use this to get a picture of how html.parser sees a given\n document. The easiest way to do this is to call `htmlparser_trace`.\n """\n\n def _p(self, s: str) -> None:\n print(s)\n\n def handle_starttag(\n self,\n name: str,\n attrs: List[Tuple[str, Optional[str]]],\n handle_empty_element: bool = True,\n ) -> None:\n self._p(f"{name} {attrs} START")\n\n def handle_endtag(self, name: str, check_already_closed: bool = True) -> None:\n self._p("%s END" % name)\n\n def handle_data(self, data: str) -> None:\n self._p("%s DATA" % data)\n\n def handle_charref(self, name: str) -> None:\n self._p("%s CHARREF" % name)\n\n def handle_entityref(self, name: str) -> None:\n self._p("%s ENTITYREF" % name)\n\n def handle_comment(self, data: str) -> None:\n self._p("%s COMMENT" % data)\n\n def handle_decl(self, data: str) -> None:\n self._p("%s DECL" % data)\n\n def unknown_decl(self, data: str) -> None:\n self._p("%s UNKNOWN-DECL" % data)\n\n def handle_pi(self, data: str) -> None:\n self._p("%s PI" % data)\n\n\ndef htmlparser_trace(data: str) -> None:\n """Print out the HTMLParser events that occur during parsing.\n\n This lets you see how HTMLParser parses a document when no\n Beautiful Soup code is running.\n\n :param data: Some markup.\n """\n parser = AnnouncingParser()\n parser.feed(data)\n\n\n_vowels: str = "aeiou"\n_consonants: str = "bcdfghjklmnpqrstvwxyz"\n\n\ndef rword(length: int = 5) -> str:\n """Generate a random word-like string.\n\n :meta private:\n """\n s = ""\n for i in range(length):\n if i % 2 == 0:\n t = _consonants\n else:\n t = _vowels\n s += random.choice(t)\n return s\n\n\ndef rsentence(length: int = 4) -> str:\n """Generate a random sentence-like string.\n\n :meta private:\n """\n return " ".join(rword(random.randint(4, 9)) for i in range(length))\n\n\ndef rdoc(num_elements: int = 1000) -> str:\n """Randomly generate an invalid HTML document.\n\n :meta private:\n """\n tag_names = ["p", "div", "span", "i", "b", "script", "table"]\n elements = []\n for i in range(num_elements):\n choice = random.randint(0, 3)\n if choice == 0:\n # New tag.\n tag_name = random.choice(tag_names)\n elements.append("<%s>" % tag_name)\n elif choice == 1:\n elements.append(rsentence(random.randint(1, 4)))\n elif choice == 2:\n # Close a tag.\n tag_name = random.choice(tag_names)\n elements.append("</%s>" % tag_name)\n return "<html>" + "\n".join(elements) + "</html>"\n\n\ndef benchmark_parsers(num_elements: int = 100000) -> None:\n """Very basic head-to-head performance benchmark."""\n print(("Comparative parser benchmark on Beautiful Soup %s" % __version__))\n data = rdoc(num_elements)\n print(("Generated a large invalid HTML document (%d bytes)." % len(data)))\n\n for parser_name in ["lxml", ["lxml", "html"], "html5lib", "html.parser"]:\n success = False\n try:\n a = time.time()\n BeautifulSoup(data, parser_name)\n b = time.time()\n success = True\n except Exception:\n print(("%s could not parse the markup." % parser_name))\n traceback.print_exc()\n if success:\n print(("BS4+%s parsed the markup in %.2fs." % (parser_name, b - a)))\n\n from lxml import etree\n\n a = time.time()\n etree.HTML(data)\n b = time.time()\n print(("Raw lxml parsed the markup in %.2fs." % (b - a)))\n\n import html5lib\n\n parser = html5lib.HTMLParser()\n a = time.time()\n parser.parse(data)\n b = time.time()\n print(("Raw html5lib parsed the markup in %.2fs." % (b - a)))\n\n\ndef profile(num_elements: int = 100000, parser: str = "lxml") -> None:\n """Use Python's profiler on a randomly generated document."""\n filehandle = tempfile.NamedTemporaryFile()\n filename = filehandle.name\n\n data = rdoc(num_elements)\n vars = dict(bs4=bs4, data=data, parser=parser)\n cProfile.runctx("bs4.BeautifulSoup(data, parser)", vars, vars, filename)\n\n stats = pstats.Stats(filename)\n # stats.strip_dirs()\n stats.sort_stats("cumulative")\n stats.print_stats("_html5lib|bs4", 50)\n\n\n# If this file is run as a script, standard input is diagnosed.\nif __name__ == "__main__":\n diagnose(sys.stdin.read())\n
.venv\Lib\site-packages\bs4\diagnose.py
diagnose.py
Python
7,832
0.95
0.171642
0.024155
node-utils
982
2025-01-16T08:45:02.879118
BSD-3-Clause
false
194f6204a56ac3dda430430570812bf0
"""Exceptions defined by Beautiful Soup itself."""\n\nfrom typing import Union\n\n\nclass StopParsing(Exception):\n """Exception raised by a TreeBuilder if it's unable to continue parsing."""\n\n\nclass FeatureNotFound(ValueError):\n """Exception raised by the BeautifulSoup constructor if no parser with the\n requested features is found.\n """\n\n\nclass ParserRejectedMarkup(Exception):\n """An Exception to be raised when the underlying parser simply\n refuses to parse the given markup.\n """\n\n def __init__(self, message_or_exception: Union[str, Exception]):\n """Explain why the parser rejected the given markup, either\n with a textual explanation or another exception.\n """\n if isinstance(message_or_exception, Exception):\n e = message_or_exception\n message_or_exception = "%s: %s" % (e.__class__.__name__, str(e))\n super(ParserRejectedMarkup, self).__init__(message_or_exception)\n
.venv\Lib\site-packages\bs4\exceptions.py
exceptions.py
Python
951
0.85
0.25
0
python-kit
637
2024-10-21T05:40:20.099391
GPL-3.0
false
7ae31b46f2d35cc31470378c0f517a06
from __future__ import annotations\nfrom collections import defaultdict\nimport re\nfrom typing import (\n Any,\n Callable,\n cast,\n Dict,\n Iterator,\n Iterable,\n List,\n Optional,\n Sequence,\n Type,\n Union,\n)\nimport warnings\n\nfrom bs4._deprecation import _deprecated\nfrom bs4.element import (\n AttributeDict,\n NavigableString,\n PageElement,\n ResultSet,\n Tag,\n)\nfrom bs4._typing import (\n _AtMostOneElement,\n _AttributeValue,\n _OneElement,\n _PageElementMatchFunction,\n _QueryResults,\n _RawAttributeValues,\n _RegularExpressionProtocol,\n _StrainableAttribute,\n _StrainableElement,\n _StrainableString,\n _StringMatchFunction,\n _TagMatchFunction,\n)\n\n\nclass ElementFilter(object):\n """`ElementFilter` encapsulates the logic necessary to decide:\n\n 1. whether a `PageElement` (a `Tag` or a `NavigableString`) matches a\n user-specified query.\n\n 2. whether a given sequence of markup found during initial parsing\n should be turned into a `PageElement` at all, or simply discarded.\n\n The base class is the simplest `ElementFilter`. By default, it\n matches everything and allows all markup to become `PageElement`\n objects. You can make it more selective by passing in a\n user-defined match function, or defining a subclass.\n\n Most users of Beautiful Soup will never need to use\n `ElementFilter`, or its more capable subclass\n `SoupStrainer`. Instead, they will use methods like\n :py:meth:`Tag.find`, which will convert their arguments into\n `SoupStrainer` objects and run them against the tree.\n\n However, if you find yourself wanting to treat the arguments to\n Beautiful Soup's find_*() methods as first-class objects, those\n objects will be `SoupStrainer` objects. You can create them\n yourself and then make use of functions like\n `ElementFilter.filter()`.\n """\n\n match_function: Optional[_PageElementMatchFunction]\n\n def __init__(self, match_function: Optional[_PageElementMatchFunction] = None):\n """Pass in a match function to easily customize the behavior of\n `ElementFilter.match` without needing to subclass.\n\n :param match_function: A function that takes a `PageElement`\n and returns `True` if that `PageElement` matches some criteria.\n """\n self.match_function = match_function\n\n @property\n def includes_everything(self) -> bool:\n """Does this `ElementFilter` obviously include everything? If so,\n the filter process can be made much faster.\n\n The `ElementFilter` might turn out to include everything even\n if this returns `False`, but it won't include everything in an\n obvious way.\n\n The base `ElementFilter` implementation includes things based on\n the match function, so includes_everything is only true if\n there is no match function.\n """\n return not self.match_function\n\n @property\n def excludes_everything(self) -> bool:\n """Does this `ElementFilter` obviously exclude everything? If\n so, Beautiful Soup will issue a warning if you try to use it\n when parsing a document.\n\n The `ElementFilter` might turn out to exclude everything even\n if this returns `False`, but it won't exclude everything in an\n obvious way.\n\n The base `ElementFilter` implementation excludes things based\n on a match function we can't inspect, so excludes_everything\n is always false.\n """\n return False\n\n def match(self, element: PageElement, _known_rules:bool=False) -> bool:\n """Does the given PageElement match the rules set down by this\n ElementFilter?\n\n The base implementation delegates to the function passed in to\n the constructor.\n\n :param _known_rules: Defined for compatibility with\n SoupStrainer._match(). Used more for consistency than because\n we need the performance optimization.\n """\n if not _known_rules and self.includes_everything:\n return True\n if not self.match_function:\n return True\n return self.match_function(element)\n\n def filter(self, generator: Iterator[PageElement]) -> Iterator[_OneElement]:\n """The most generic search method offered by Beautiful Soup.\n\n Acts like Python's built-in `filter`, using\n `ElementFilter.match` as the filtering function.\n """\n # If there are no rules at all, don't bother filtering. Let\n # anything through.\n if self.includes_everything:\n for i in generator:\n yield i\n while True:\n try:\n i = next(generator)\n except StopIteration:\n break\n if i:\n if self.match(i, _known_rules=True):\n yield cast("_OneElement", i)\n\n def find(self, generator: Iterator[PageElement]) -> _AtMostOneElement:\n """A lower-level equivalent of :py:meth:`Tag.find`.\n\n You can pass in your own generator for iterating over\n `PageElement` objects. The first one that matches this\n `ElementFilter` will be returned.\n\n :param generator: A way of iterating over `PageElement`\n objects.\n """\n for match in self.filter(generator):\n return match\n return None\n\n def find_all(\n self, generator: Iterator[PageElement], limit: Optional[int] = None\n ) -> _QueryResults:\n """A lower-level equivalent of :py:meth:`Tag.find_all`.\n\n You can pass in your own generator for iterating over\n `PageElement` objects. Only elements that match this\n `ElementFilter` will be returned in the :py:class:`ResultSet`.\n\n :param generator: A way of iterating over `PageElement`\n objects.\n\n :param limit: Stop looking after finding this many results.\n """\n results: _QueryResults = ResultSet(self)\n for match in self.filter(generator):\n results.append(match)\n if limit is not None and len(results) >= limit:\n break\n return results\n\n def allow_tag_creation(\n self, nsprefix: Optional[str], name: str, attrs: Optional[_RawAttributeValues]\n ) -> bool:\n """Based on the name and attributes of a tag, see whether this\n `ElementFilter` will allow a `Tag` object to even be created.\n\n By default, all tags are parsed. To change this, subclass\n `ElementFilter`.\n\n :param name: The name of the prospective tag.\n :param attrs: The attributes of the prospective tag.\n """\n return True\n\n def allow_string_creation(self, string: str) -> bool:\n """Based on the content of a string, see whether this\n `ElementFilter` will allow a `NavigableString` object based on\n this string to be added to the parse tree.\n\n By default, all strings are processed into `NavigableString`\n objects. To change this, subclass `ElementFilter`.\n\n :param str: The string under consideration.\n """\n return True\n\n\nclass MatchRule(object):\n """Each MatchRule encapsulates the logic behind a single argument\n passed in to one of the Beautiful Soup find* methods.\n """\n\n string: Optional[str]\n pattern: Optional[_RegularExpressionProtocol]\n present: Optional[bool]\n exclude_everything: Optional[bool]\n # TODO-TYPING: All MatchRule objects also have an attribute\n # ``function``, but the type of the function depends on the\n # subclass.\n\n def __init__(\n self,\n string: Optional[Union[str, bytes]] = None,\n pattern: Optional[_RegularExpressionProtocol] = None,\n function: Optional[Callable] = None,\n present: Optional[bool] = None,\n exclude_everything: Optional[bool] = None\n ):\n if isinstance(string, bytes):\n string = string.decode("utf8")\n self.string = string\n if isinstance(pattern, bytes):\n self.pattern = re.compile(pattern.decode("utf8"))\n elif isinstance(pattern, str):\n self.pattern = re.compile(pattern)\n else:\n self.pattern = pattern\n self.function = function\n self.present = present\n self.exclude_everything = exclude_everything\n\n values = [\n x\n for x in (self.string, self.pattern, self.function, self.present, self.exclude_everything)\n if x is not None\n ]\n if len(values) == 0:\n raise ValueError(\n "Either string, pattern, function, present, or exclude_everything must be provided."\n )\n if len(values) > 1:\n raise ValueError(\n "At most one of string, pattern, function, present, and exclude_everything must be provided."\n )\n\n def _base_match(self, string: Optional[str]) -> Optional[bool]:\n """Run the 'cheap' portion of a match, trying to get an answer without\n calling a potentially expensive custom function.\n\n :return: True or False if we have a (positive or negative)\n match; None if we need to keep trying.\n """\n # self.exclude_everything matches nothing.\n if self.exclude_everything:\n return False\n\n # self.present==True matches everything except None.\n if self.present is True:\n return string is not None\n\n # self.present==False matches _only_ None.\n if self.present is False:\n return string is None\n\n # self.string does an exact string match.\n if self.string is not None:\n # print(f"{self.string} ?= {string}")\n return self.string == string\n\n # self.pattern does a regular expression search.\n if self.pattern is not None:\n # print(f"{self.pattern} ?~ {string}")\n if string is None:\n return False\n return self.pattern.search(string) is not None\n\n return None\n\n def matches_string(self, string: Optional[str]) -> bool:\n _base_result = self._base_match(string)\n if _base_result is not None:\n # No need to invoke the test function.\n return _base_result\n if self.function is not None and not self.function(string):\n # print(f"{self.function}({string}) == False")\n return False\n return True\n\n def __repr__(self) -> str:\n cls = type(self).__name__\n return f"<{cls} string={self.string} pattern={self.pattern} function={self.function} present={self.present}>"\n\n def __eq__(self, other: Any) -> bool:\n return (\n isinstance(other, MatchRule)\n and self.string == other.string\n and self.pattern == other.pattern\n and self.function == other.function\n and self.present == other.present\n )\n\n\nclass TagNameMatchRule(MatchRule):\n """A MatchRule implementing the rules for matches against tag name."""\n\n function: Optional[_TagMatchFunction]\n\n def matches_tag(self, tag: Tag) -> bool:\n base_value = self._base_match(tag.name)\n if base_value is not None:\n return base_value\n\n # The only remaining possibility is that the match is determined\n # by a function call. Call the function.\n function = cast(_TagMatchFunction, self.function)\n if function(tag):\n return True\n return False\n\n\nclass AttributeValueMatchRule(MatchRule):\n """A MatchRule implementing the rules for matches against attribute value."""\n\n function: Optional[_StringMatchFunction]\n\n\nclass StringMatchRule(MatchRule):\n """A MatchRule implementing the rules for matches against a NavigableString."""\n\n function: Optional[_StringMatchFunction]\n\n\nclass SoupStrainer(ElementFilter):\n """The `ElementFilter` subclass used internally by Beautiful Soup.\n\n A `SoupStrainer` encapsulates the logic necessary to perform the\n kind of matches supported by methods such as\n :py:meth:`Tag.find`. `SoupStrainer` objects are primarily created\n internally, but you can create one yourself and pass it in as\n ``parse_only`` to the `BeautifulSoup` constructor, to parse a\n subset of a large document.\n\n Internally, `SoupStrainer` objects work by converting the\n constructor arguments into `MatchRule` objects. Incoming\n tags/markup are matched against those rules.\n\n :param name: One or more restrictions on the tags found in a document.\n\n :param attrs: A dictionary that maps attribute names to\n restrictions on tags that use those attributes.\n\n :param string: One or more restrictions on the strings found in a\n document.\n\n :param kwargs: A dictionary that maps attribute names to restrictions\n on tags that use those attributes. These restrictions are additive to\n any specified in ``attrs``.\n\n """\n\n name_rules: List[TagNameMatchRule]\n attribute_rules: Dict[str, List[AttributeValueMatchRule]]\n string_rules: List[StringMatchRule]\n\n def __init__(\n self,\n name: Optional[_StrainableElement] = None,\n attrs: Dict[str, _StrainableAttribute] = {},\n string: Optional[_StrainableString] = None,\n **kwargs: _StrainableAttribute,\n ):\n if string is None and "text" in kwargs:\n string = cast(Optional[_StrainableString], kwargs.pop("text"))\n warnings.warn(\n "As of version 4.11.0, the 'text' argument to the SoupStrainer constructor is deprecated. Use 'string' instead.",\n DeprecationWarning,\n stacklevel=2,\n )\n\n if name is None and not attrs and not string and not kwargs:\n # Special case for backwards compatibility. Instantiating\n # a SoupStrainer with no arguments whatsoever gets you one\n # that matches all Tags, and only Tags.\n self.name_rules = [TagNameMatchRule(present=True)]\n else:\n self.name_rules = cast(\n List[TagNameMatchRule], list(self._make_match_rules(name, TagNameMatchRule))\n )\n self.attribute_rules = defaultdict(list)\n\n if not isinstance(attrs, dict):\n # Passing something other than a dictionary as attrs is\n # sugar for matching that thing against the 'class'\n # attribute.\n attrs = {"class": attrs}\n\n for attrdict in attrs, kwargs:\n for attr, value in attrdict.items():\n if attr == "class_" and attrdict is kwargs:\n # If you pass in 'class_' as part of kwargs, it's\n # because class is a Python reserved word. If you\n # pass it in as part of the attrs dict, it's\n # because you really are looking for an attribute\n # called 'class_'.\n attr = "class"\n\n if value is None:\n value = False\n for rule_obj in self._make_match_rules(value, AttributeValueMatchRule):\n self.attribute_rules[attr].append(\n cast(AttributeValueMatchRule, rule_obj)\n )\n\n self.string_rules = cast(\n List[StringMatchRule], list(self._make_match_rules(string, StringMatchRule))\n )\n\n #: DEPRECATED 4.13.0: You shouldn't need to check this under\n #: any name (.string or .text), and if you do, you're probably\n #: not taking into account all of the types of values this\n #: variable might have. Look at the .string_rules list instead.\n self.__string = string\n\n @property\n def includes_everything(self) -> bool:\n """Check whether the provided rules will obviously include\n everything. (They might include everything even if this returns `False`,\n but not in an obvious way.)\n """\n return not self.name_rules and not self.string_rules and not self.attribute_rules\n\n @property\n def excludes_everything(self) -> bool:\n """Check whether the provided rules will obviously exclude\n everything. (They might exclude everything even if this returns `False`,\n but not in an obvious way.)\n """\n if (self.string_rules and (self.name_rules or self.attribute_rules)):\n # This is self-contradictory, so the rules exclude everything.\n return True\n\n # If there's a rule that ended up treated as an "exclude everything"\n # rule due to creating a logical inconsistency, then the rules\n # exclude everything.\n if any(x.exclude_everything for x in self.string_rules):\n return True\n if any(x.exclude_everything for x in self.name_rules):\n return True\n for ruleset in self.attribute_rules.values():\n if any(x.exclude_everything for x in ruleset):\n return True\n return False\n\n @property\n def string(self) -> Optional[_StrainableString]:\n ":meta private:"\n warnings.warn(\n "Access to deprecated property string. (Look at .string_rules instead) -- Deprecated since version 4.13.0.",\n DeprecationWarning,\n stacklevel=2,\n )\n return self.__string\n\n @property\n def text(self) -> Optional[_StrainableString]:\n ":meta private:"\n warnings.warn(\n "Access to deprecated property text. (Look at .string_rules instead) -- Deprecated since version 4.13.0.",\n DeprecationWarning,\n stacklevel=2,\n )\n return self.__string\n\n def __repr__(self) -> str:\n return f"<{self.__class__.__name__} name={self.name_rules} attrs={self.attribute_rules} string={self.string_rules}>"\n\n @classmethod\n def _make_match_rules(\n cls,\n obj: Optional[Union[_StrainableElement, _StrainableAttribute]],\n rule_class: Type[MatchRule],\n ) -> Iterator[MatchRule]:\n """Convert a vaguely-specific 'object' into one or more well-defined\n `MatchRule` objects.\n\n :param obj: Some kind of object that corresponds to one or more\n matching rules.\n :param rule_class: Create instances of this `MatchRule` subclass.\n """\n if obj is None:\n return\n if isinstance(obj, (str, bytes)):\n yield rule_class(string=obj)\n elif isinstance(obj, bool):\n yield rule_class(present=obj)\n elif callable(obj):\n yield rule_class(function=obj)\n elif isinstance(obj, _RegularExpressionProtocol):\n yield rule_class(pattern=obj)\n elif hasattr(obj, "__iter__"):\n if not obj:\n # The attribute is being matched against the null set,\n # which means it should exclude everything.\n yield rule_class(exclude_everything=True)\n for o in obj:\n if not isinstance(o, (bytes, str)) and hasattr(o, "__iter__"):\n # This is almost certainly the user's\n # mistake. This list contains another list, which\n # opens up the possibility of infinite\n # self-reference. In the interests of avoiding\n # infinite recursion, we'll treat this as an\n # impossible match and issue a rule that excludes\n # everything, rather than looking inside.\n warnings.warn(\n f"Ignoring nested list {o} to avoid the possibility of infinite recursion.",\n stacklevel=5,\n )\n yield rule_class(exclude_everything=True)\n continue\n for x in cls._make_match_rules(o, rule_class):\n yield x\n else:\n yield rule_class(string=str(obj))\n\n def matches_tag(self, tag: Tag) -> bool:\n """Do the rules of this `SoupStrainer` trigger a match against the\n given `Tag`?\n\n If the `SoupStrainer` has any `TagNameMatchRule`, at least one\n must match the `Tag` or its `Tag.name`.\n\n If there are any `AttributeValueMatchRule` for a given\n attribute, at least one of them must match the attribute\n value.\n\n If there are any `StringMatchRule`, at least one must match,\n but a `SoupStrainer` that *only* contains `StringMatchRule`\n cannot match a `Tag`, only a `NavigableString`.\n """\n # If there are no rules at all, let anything through.\n #if self.includes_everything:\n # return True\n\n # String rules cannot not match a Tag on their own.\n if not self.name_rules and not self.attribute_rules:\n return False\n\n # Optimization for a very common case where the user is\n # searching for a tag with one specific name, and we're\n # looking at a tag with a different name.\n if (\n not tag.prefix\n and len(self.name_rules) == 1\n and self.name_rules[0].string is not None\n and tag.name != self.name_rules[0].string\n ):\n return False\n\n # If there are name rules, at least one must match. It can\n # match either the Tag object itself or the prefixed name of\n # the tag.\n prefixed_name = None\n if tag.prefix:\n prefixed_name = f"{tag.prefix}:{tag.name}"\n if self.name_rules:\n name_matches = False\n for rule in self.name_rules:\n # attrs = " ".join(\n # [f"{k}={v}" for k, v in sorted(tag.attrs.items())]\n # )\n # print(f"Testing <{tag.name} {attrs}>{tag.string}</{tag.name}> against {rule}")\n\n # If the rule contains a function, the function will be called\n # with `tag`. It will not be called a second time with\n # `prefixed_name`.\n if rule.matches_tag(tag) or (\n not rule.function and prefixed_name is not None and rule.matches_string(prefixed_name)\n ):\n name_matches = True\n break\n\n if not name_matches:\n return False\n\n # If there are attribute rules for a given attribute, at least\n # one of them must match. If there are rules for multiple\n # attributes, each attribute must have at least one match.\n for attr, rules in self.attribute_rules.items():\n attr_value = tag.get(attr, None)\n this_attr_match = self._attribute_match(attr_value, rules)\n if not this_attr_match:\n return False\n\n # If there are string rules, at least one must match.\n if self.string_rules:\n _str = tag.string\n if _str is None:\n return False\n if not self.matches_any_string_rule(_str):\n return False\n return True\n\n def _attribute_match(\n self,\n attr_value: Optional[_AttributeValue],\n rules: Iterable[AttributeValueMatchRule],\n ) -> bool:\n attr_values: Sequence[Optional[str]]\n if isinstance(attr_value, list):\n attr_values = attr_value\n else:\n attr_values = [cast(str, attr_value)]\n\n def _match_attribute_value_helper(attr_values: Sequence[Optional[str]]) -> bool:\n for rule in rules:\n for attr_value in attr_values:\n if rule.matches_string(attr_value):\n return True\n return False\n\n this_attr_match = _match_attribute_value_helper(attr_values)\n if not this_attr_match and len(attr_values) > 1:\n # This cast converts Optional[str] to plain str.\n #\n # We know if there's more than one value, there can't be\n # any None in the list, because Beautiful Soup never uses\n # None as a value of a multi-valued attribute, and if None\n # is passed in as attr_value, it's turned into a list with\n # a single element (thus len(attr_values) > 1 fails).\n attr_values = cast(Sequence[str], attr_values)\n\n # Try again but treat the attribute value\n # as a single string.\n joined_attr_value = " ".join(attr_values)\n this_attr_match = _match_attribute_value_helper([joined_attr_value])\n return this_attr_match\n\n def allow_tag_creation(\n self, nsprefix: Optional[str], name: str, attrs: Optional[_RawAttributeValues]\n ) -> bool:\n """Based on the name and attributes of a tag, see whether this\n `SoupStrainer` will allow a `Tag` object to even be created.\n\n :param name: The name of the prospective tag.\n :param attrs: The attributes of the prospective tag.\n """\n if self.string_rules:\n # A SoupStrainer that has string rules can't be used to\n # manage tag creation, because the string rule can't be\n # evaluated until after the tag and all of its contents\n # have been parsed.\n return False\n prefixed_name = None\n if nsprefix:\n prefixed_name = f"{nsprefix}:{name}"\n if self.name_rules:\n # At least one name rule must match.\n name_match = False\n for rule in self.name_rules:\n for x in name, prefixed_name:\n if x is not None:\n if rule.matches_string(x):\n name_match = True\n break\n if not name_match:\n return False\n\n # For each attribute that has rules, at least one rule must\n # match.\n if attrs is None:\n attrs = AttributeDict()\n for attr, rules in self.attribute_rules.items():\n attr_value = attrs.get(attr)\n if not self._attribute_match(attr_value, rules):\n return False\n\n return True\n\n def allow_string_creation(self, string: str) -> bool:\n """Based on the content of a markup string, see whether this\n `SoupStrainer` will allow it to be instantiated as a\n `NavigableString` object, or whether it should be ignored.\n """\n if self.name_rules or self.attribute_rules:\n # A SoupStrainer that has name or attribute rules won't\n # match any strings; it's designed to match tags with\n # certain properties.\n return False\n if not self.string_rules:\n # A SoupStrainer with no string rules will match\n # all strings.\n return True\n if not self.matches_any_string_rule(string):\n return False\n return True\n\n def matches_any_string_rule(self, string: str) -> bool:\n """See whether the content of a string matches any of\n this `SoupStrainer`'s string rules.\n """\n if not self.string_rules:\n return True\n for string_rule in self.string_rules:\n if string_rule.matches_string(string):\n return True\n return False\n\n def match(self, element: PageElement, _known_rules: bool=False) -> bool:\n """Does the given `PageElement` match the rules set down by this\n `SoupStrainer`?\n\n The find_* methods rely heavily on this method to find matches.\n\n :param element: A `PageElement`.\n :param _known_rules: Set to true in the common case where\n we already checked and found at least one rule in this SoupStrainer\n that might exclude a PageElement. Without this, we need\n to check .includes_everything every time, just to be safe.\n :return: `True` if the element matches this `SoupStrainer`'s rules; `False` otherwise.\n """\n # If there are no rules at all, let anything through.\n if not _known_rules and self.includes_everything:\n return True\n if isinstance(element, Tag):\n return self.matches_tag(element)\n assert isinstance(element, NavigableString)\n if not (self.name_rules or self.attribute_rules):\n # A NavigableString can only match a SoupStrainer that\n # does not define any name or attribute rules.\n # Then it comes down to the string rules.\n return self.matches_any_string_rule(element)\n return False\n\n @_deprecated("allow_tag_creation", "4.13.0")\n def search_tag(self, name: str, attrs: Optional[_RawAttributeValues]) -> bool:\n """A less elegant version of `allow_tag_creation`. Deprecated as of 4.13.0"""\n ":meta private:"\n return self.allow_tag_creation(None, name, attrs)\n\n @_deprecated("match", "4.13.0")\n def search(self, element: PageElement) -> Optional[PageElement]:\n """A less elegant version of match(). Deprecated as of 4.13.0.\n\n :meta private:\n """\n return element if self.match(element) else None\n
.venv\Lib\site-packages\bs4\filter.py
filter.py
Python
29,031
0.95
0.263505
0.140867
node-utils
213
2024-04-07T12:14:55.781477
GPL-3.0
false
a758e16d1c6b58ab438d6d7867291c20
from __future__ import annotations\nfrom typing import Callable, Dict, Iterable, Optional, Set, Tuple, TYPE_CHECKING, Union\nfrom typing_extensions import TypeAlias\nfrom bs4.dammit import EntitySubstitution\n\nif TYPE_CHECKING:\n from bs4._typing import _AttributeValue\n\n\nclass Formatter(EntitySubstitution):\n """Describes a strategy to use when outputting a parse tree to a string.\n\n Some parts of this strategy come from the distinction between\n HTML4, HTML5, and XML. Others are configurable by the user.\n\n Formatters are passed in as the `formatter` argument to methods\n like `bs4.element.Tag.encode`. Most people won't need to\n think about formatters, and most people who need to think about\n them can pass in one of these predefined strings as `formatter`\n rather than making a new Formatter object:\n\n For HTML documents:\n * 'html' - HTML entity substitution for generic HTML documents. (default)\n * 'html5' - HTML entity substitution for HTML5 documents, as\n well as some optimizations in the way tags are rendered.\n * 'html5-4.12.0' - The version of the 'html5' formatter used prior to\n Beautiful Soup 4.13.0.\n * 'minimal' - Only make the substitutions necessary to guarantee\n valid HTML.\n * None - Do not perform any substitution. This will be faster\n but may result in invalid markup.\n\n For XML documents:\n * 'html' - Entity substitution for XHTML documents.\n * 'minimal' - Only make the substitutions necessary to guarantee\n valid XML. (default)\n * None - Do not perform any substitution. This will be faster\n but may result in invalid markup.\n\n """\n\n #: Constant name denoting HTML markup\n HTML: str = "html"\n\n #: Constant name denoting XML markup\n XML: str = "xml"\n\n #: Default values for the various constructor options when the\n #: markup language is HTML.\n HTML_DEFAULTS: Dict[str, Set[str]] = dict(\n cdata_containing_tags=set(["script", "style"]),\n )\n\n language: Optional[str] #: :meta private:\n entity_substitution: Optional[_EntitySubstitutionFunction] #: :meta private:\n void_element_close_prefix: str #: :meta private:\n cdata_containing_tags: Set[str] #: :meta private:\n indent: str #: :meta private:\n\n #: If this is set to true by the constructor, then attributes whose\n #: values are sent to the empty string will be treated as HTML\n #: boolean attributes. (Attributes whose value is None are always\n #: rendered this way.)\n empty_attributes_are_booleans: bool\n\n def _default(\n self, language: str, value: Optional[Set[str]], kwarg: str\n ) -> Set[str]:\n if value is not None:\n return value\n if language == self.XML:\n # When XML is the markup language in use, all of the\n # defaults are the empty list.\n return set()\n\n # Otherwise, it depends on what's in HTML_DEFAULTS.\n return self.HTML_DEFAULTS[kwarg]\n\n def __init__(\n self,\n language: Optional[str] = None,\n entity_substitution: Optional[_EntitySubstitutionFunction] = None,\n void_element_close_prefix: str = "/",\n cdata_containing_tags: Optional[Set[str]] = None,\n empty_attributes_are_booleans: bool = False,\n indent: Union[int,str] = 1,\n ):\n r"""Constructor.\n\n :param language: This should be `Formatter.XML` if you are formatting\n XML markup and `Formatter.HTML` if you are formatting HTML markup.\n\n :param entity_substitution: A function to call to replace special\n characters with XML/HTML entities. For examples, see\n bs4.dammit.EntitySubstitution.substitute_html and substitute_xml.\n :param void_element_close_prefix: By default, void elements\n are represented as <tag/> (XML rules) rather than <tag>\n (HTML rules). To get <tag>, pass in the empty string.\n :param cdata_containing_tags: The set of tags that are defined\n as containing CDATA in this dialect. For example, in HTML,\n <script> and <style> tags are defined as containing CDATA,\n and their contents should not be formatted.\n :param empty_attributes_are_booleans: If this is set to true,\n then attributes whose values are sent to the empty string\n will be treated as `HTML boolean\n attributes<https://dev.w3.org/html5/spec-LC/common-microsyntaxes.html#boolean-attributes>`_. (Attributes\n whose value is None are always rendered this way.)\n :param indent: If indent is a non-negative integer or string,\n then the contents of elements will be indented\n appropriately when pretty-printing. An indent level of 0,\n negative, or "" will only insert newlines. Using a\n positive integer indent indents that many spaces per\n level. If indent is a string (such as "\t"), that string\n is used to indent each level. The default behavior is to\n indent one space per level.\n\n """\n self.language = language or self.HTML\n self.entity_substitution = entity_substitution\n self.void_element_close_prefix = void_element_close_prefix\n self.cdata_containing_tags = self._default(\n self.language, cdata_containing_tags, "cdata_containing_tags"\n )\n self.empty_attributes_are_booleans = empty_attributes_are_booleans\n if indent is None:\n indent = 0\n indent_str: str\n if isinstance(indent, int):\n if indent < 0:\n indent = 0\n indent_str = " " * indent\n elif isinstance(indent, str):\n indent_str = indent\n else:\n indent_str = " "\n self.indent = indent_str\n\n def substitute(self, ns: str) -> str:\n """Process a string that needs to undergo entity substitution.\n This may be a string encountered in an attribute value or as\n text.\n\n :param ns: A string.\n :return: The same string but with certain characters replaced by named\n or numeric entities.\n """\n if not self.entity_substitution:\n return ns\n from .element import NavigableString\n\n if (\n isinstance(ns, NavigableString)\n and ns.parent is not None\n and ns.parent.name in self.cdata_containing_tags\n ):\n # Do nothing.\n return ns\n # Substitute.\n return self.entity_substitution(ns)\n\n def attribute_value(self, value: str) -> str:\n """Process the value of an attribute.\n\n :param ns: A string.\n :return: A string with certain characters replaced by named\n or numeric entities.\n """\n return self.substitute(value)\n\n def attributes(\n self, tag: bs4.element.Tag\n ) -> Iterable[Tuple[str, Optional[_AttributeValue]]]:\n """Reorder a tag's attributes however you want.\n\n By default, attributes are sorted alphabetically. This makes\n behavior consistent between Python 2 and Python 3, and preserves\n backwards compatibility with older versions of Beautiful Soup.\n\n If `empty_attributes_are_booleans` is True, then\n attributes whose values are set to the empty string will be\n treated as boolean attributes.\n """\n if tag.attrs is None:\n return []\n\n items: Iterable[Tuple[str, _AttributeValue]] = list(tag.attrs.items())\n return sorted(\n (k, (None if self.empty_attributes_are_booleans and v == "" else v))\n for k, v in items\n )\n\n\nclass HTMLFormatter(Formatter):\n """A generic Formatter for HTML."""\n\n REGISTRY: Dict[Optional[str], HTMLFormatter] = {}\n\n def __init__(\n self,\n entity_substitution: Optional[_EntitySubstitutionFunction] = None,\n void_element_close_prefix: str = "/",\n cdata_containing_tags: Optional[Set[str]] = None,\n empty_attributes_are_booleans: bool = False,\n indent: Union[int,str] = 1,\n ):\n super(HTMLFormatter, self).__init__(\n self.HTML,\n entity_substitution,\n void_element_close_prefix,\n cdata_containing_tags,\n empty_attributes_are_booleans,\n indent=indent\n )\n\n\nclass XMLFormatter(Formatter):\n """A generic Formatter for XML."""\n\n REGISTRY: Dict[Optional[str], XMLFormatter] = {}\n\n def __init__(\n self,\n entity_substitution: Optional[_EntitySubstitutionFunction] = None,\n void_element_close_prefix: str = "/",\n cdata_containing_tags: Optional[Set[str]] = None,\n empty_attributes_are_booleans: bool = False,\n indent: Union[int,str] = 1,\n ):\n super(XMLFormatter, self).__init__(\n self.XML,\n entity_substitution,\n void_element_close_prefix,\n cdata_containing_tags,\n empty_attributes_are_booleans,\n indent=indent,\n )\n\n\n# Set up aliases for the default formatters.\nHTMLFormatter.REGISTRY["html"] = HTMLFormatter(\n entity_substitution=EntitySubstitution.substitute_html\n)\n\nHTMLFormatter.REGISTRY["html5"] = HTMLFormatter(\n entity_substitution=EntitySubstitution.substitute_html5,\n void_element_close_prefix="",\n empty_attributes_are_booleans=True,\n)\nHTMLFormatter.REGISTRY["html5-4.12"] = HTMLFormatter(\n entity_substitution=EntitySubstitution.substitute_html,\n void_element_close_prefix="",\n empty_attributes_are_booleans=True,\n)\nHTMLFormatter.REGISTRY["minimal"] = HTMLFormatter(\n entity_substitution=EntitySubstitution.substitute_xml\n)\nHTMLFormatter.REGISTRY[None] = HTMLFormatter(entity_substitution=None)\nXMLFormatter.REGISTRY["html"] = XMLFormatter(\n entity_substitution=EntitySubstitution.substitute_html\n)\nXMLFormatter.REGISTRY["minimal"] = XMLFormatter(\n entity_substitution=EntitySubstitution.substitute_xml\n)\n\nXMLFormatter.REGISTRY[None] = XMLFormatter(entity_substitution=None)\n\n# Define type aliases to improve readability.\n#\n\n#: A function to call to replace special characters with XML or HTML\n#: entities.\n_EntitySubstitutionFunction: TypeAlias = Callable[[str], str]\n\n# Many of the output-centered methods take an argument that can either\n# be a Formatter object or the name of a Formatter to be looked up.\n_FormatterOrName = Union[Formatter, str]\n
.venv\Lib\site-packages\bs4\formatter.py
formatter.py
Python
10,464
0.95
0.115942
0.120172
awesome-app
97
2024-04-26T03:28:20.133452
GPL-3.0
false
b61123810de88956ab611f4b3f3c973b
"""Helper functions for deprecation.\n\nThis interface is itself unstable and may change without warning. Do\nnot use these functions yourself, even as a joke. The underscores are\nthere for a reason. No support will be given.\n\nIn particular, most of this will go away without warning once\nBeautiful Soup drops support for Python 3.11, since Python 3.12\ndefines a `@typing.deprecated()\ndecorator. <https://peps.python.org/pep-0702/>`_\n"""\n\nimport functools\nimport warnings\n\nfrom typing import (\n Any,\n Callable,\n)\n\n\ndef _deprecated_alias(old_name: str, new_name: str, version: str):\n """Alias one attribute name to another for backward compatibility\n\n :meta private:\n """\n\n @property\n def alias(self) -> Any:\n ":meta private:"\n warnings.warn(\n f"Access to deprecated property {old_name}. (Replaced by {new_name}) -- Deprecated since version {version}.",\n DeprecationWarning,\n stacklevel=2,\n )\n return getattr(self, new_name)\n\n @alias.setter\n def alias(self, value: str) -> None:\n ":meta private:"\n warnings.warn(\n f"Write to deprecated property {old_name}. (Replaced by {new_name}) -- Deprecated since version {version}.",\n DeprecationWarning,\n stacklevel=2,\n )\n return setattr(self, new_name, value)\n\n return alias\n\n\ndef _deprecated_function_alias(\n old_name: str, new_name: str, version: str\n) -> Callable[[Any], Any]:\n def alias(self, *args: Any, **kwargs: Any) -> Any:\n ":meta private:"\n warnings.warn(\n f"Call to deprecated method {old_name}. (Replaced by {new_name}) -- Deprecated since version {version}.",\n DeprecationWarning,\n stacklevel=2,\n )\n return getattr(self, new_name)(*args, **kwargs)\n\n return alias\n\n\ndef _deprecated(replaced_by: str, version: str) -> Callable:\n def deprecate(func: Callable) -> Callable:\n @functools.wraps(func)\n def with_warning(*args: Any, **kwargs: Any) -> Any:\n ":meta private:"\n warnings.warn(\n f"Call to deprecated method {func.__name__}. (Replaced by {replaced_by}) -- Deprecated since version {version}.",\n DeprecationWarning,\n stacklevel=2,\n )\n return func(*args, **kwargs)\n\n return with_warning\n\n return deprecate\n
.venv\Lib\site-packages\bs4\_deprecation.py
_deprecation.py
Python
2,394
0.95
0.15
0
react-lib
886
2024-09-23T02:40:29.824147
MIT
false
4da8f38ca938f4343e7ffd218bc21ef1
# Custom type aliases used throughout Beautiful Soup to improve readability.\n\n# Notes on improvements to the type system in newer versions of Python\n# that can be used once Beautiful Soup drops support for older\n# versions:\n#\n# * ClassVar can be put on class variables now.\n# * In 3.10, x|y is an accepted shorthand for Union[x,y].\n# * In 3.10, TypeAlias gains capabilities that can be used to\n# improve the tree matching types (I don't remember what, exactly).\n# * In 3.9 it's possible to specialize the re.Match type,\n# e.g. re.Match[str]. In 3.8 there's a typing.re namespace for this,\n# but it's removed in 3.12, so to support the widest possible set of\n# versions I'm not using it.\n\nfrom typing_extensions import (\n runtime_checkable,\n Protocol,\n TypeAlias,\n)\nfrom typing import (\n Any,\n Callable,\n Dict,\n IO,\n Iterable,\n Mapping,\n Optional,\n Pattern,\n TYPE_CHECKING,\n Union,\n)\n\nif TYPE_CHECKING:\n from bs4.element import (\n AttributeValueList,\n NamespacedAttribute,\n NavigableString,\n PageElement,\n ResultSet,\n Tag,\n )\n\n\n@runtime_checkable\nclass _RegularExpressionProtocol(Protocol):\n """A protocol object which can accept either Python's built-in\n `re.Pattern` objects, or the similar ``Regex`` objects defined by the\n third-party ``regex`` package.\n """\n\n def search(\n self, string: str, pos: int = ..., endpos: int = ...\n ) -> Optional[Any]: ...\n\n @property\n def pattern(self) -> str: ...\n\n\n# Aliases for markup in various stages of processing.\n#\n#: The rawest form of markup: either a string, bytestring, or an open filehandle.\n_IncomingMarkup: TypeAlias = Union[str, bytes, IO[str], IO[bytes]]\n\n#: Markup that is in memory but has (potentially) yet to be converted\n#: to Unicode.\n_RawMarkup: TypeAlias = Union[str, bytes]\n\n# Aliases for character encodings\n#\n\n#: A data encoding.\n_Encoding: TypeAlias = str\n\n#: One or more data encodings.\n_Encodings: TypeAlias = Iterable[_Encoding]\n\n# Aliases for XML namespaces\n#\n\n#: The prefix for an XML namespace.\n_NamespacePrefix: TypeAlias = str\n\n#: The URL of an XML namespace\n_NamespaceURL: TypeAlias = str\n\n#: A mapping of prefixes to namespace URLs.\n_NamespaceMapping: TypeAlias = Dict[_NamespacePrefix, _NamespaceURL]\n\n#: A mapping of namespace URLs to prefixes\n_InvertedNamespaceMapping: TypeAlias = Dict[_NamespaceURL, _NamespacePrefix]\n\n# Aliases for the attribute values associated with HTML/XML tags.\n#\n\n#: The value associated with an HTML or XML attribute. This is the\n#: relatively unprocessed value Beautiful Soup expects to come from a\n#: `TreeBuilder`.\n_RawAttributeValue: TypeAlias = str\n\n#: A dictionary of names to `_RawAttributeValue` objects. This is how\n#: Beautiful Soup expects a `TreeBuilder` to represent a tag's\n#: attribute values.\n_RawAttributeValues: TypeAlias = (\n "Mapping[Union[str, NamespacedAttribute], _RawAttributeValue]"\n)\n\n#: An attribute value in its final form, as stored in the\n# `Tag` class, after it has been processed and (in some cases)\n# split into a list of strings.\n_AttributeValue: TypeAlias = Union[str, "AttributeValueList"]\n\n#: A dictionary of names to :py:data:`_AttributeValue` objects. This is what\n#: a tag's attributes look like after processing.\n_AttributeValues: TypeAlias = Dict[str, _AttributeValue]\n\n#: The methods that deal with turning :py:data:`_RawAttributeValue` into\n#: :py:data:`_AttributeValue` may be called several times, even after the values\n#: are already processed (e.g. when cloning a tag), so they need to\n#: be able to acommodate both possibilities.\n_RawOrProcessedAttributeValues: TypeAlias = Union[_RawAttributeValues, _AttributeValues]\n\n#: A number of tree manipulation methods can take either a `PageElement` or a\n#: normal Python string (which will be converted to a `NavigableString`).\n_InsertableElement: TypeAlias = Union["PageElement", str]\n\n# Aliases to represent the many possibilities for matching bits of a\n# parse tree.\n#\n# This is very complicated because we're applying a formal type system\n# to some very DWIM code. The types we end up with will be the types\n# of the arguments to the SoupStrainer constructor and (more\n# familiarly to Beautiful Soup users) the find* methods.\n\n#: A function that takes a PageElement and returns a yes-or-no answer.\n_PageElementMatchFunction: TypeAlias = Callable[["PageElement"], bool]\n\n#: A function that takes the raw parsed ingredients of a markup tag\n#: and returns a yes-or-no answer.\n# Not necessary at the moment.\n# _AllowTagCreationFunction:TypeAlias = Callable[[Optional[str], str, Optional[_RawAttributeValues]], bool]\n\n#: A function that takes the raw parsed ingredients of a markup string node\n#: and returns a yes-or-no answer.\n# Not necessary at the moment.\n# _AllowStringCreationFunction:TypeAlias = Callable[[Optional[str]], bool]\n\n#: A function that takes a `Tag` and returns a yes-or-no answer.\n#: A `TagNameMatchRule` expects this kind of function, if you're\n#: going to pass it a function.\n_TagMatchFunction: TypeAlias = Callable[["Tag"], bool]\n\n#: A function that takes a single string and returns a yes-or-no\n#: answer. An `AttributeValueMatchRule` expects this kind of function, if\n#: you're going to pass it a function. So does a `StringMatchRule`.\n_StringMatchFunction: TypeAlias = Callable[[str], bool]\n\n#: Either a tag name, an attribute value or a string can be matched\n#: against a string, bytestring, regular expression, or a boolean.\n_BaseStrainable: TypeAlias = Union[str, bytes, Pattern[str], bool]\n\n#: A tag can be matched either with the `_BaseStrainable` options, or\n#: using a function that takes the `Tag` as its sole argument.\n_BaseStrainableElement: TypeAlias = Union[_BaseStrainable, _TagMatchFunction]\n\n#: A tag's attribute vgalue can be matched either with the\n#: `_BaseStrainable` options, or using a function that takes that\n#: value as its sole argument.\n_BaseStrainableAttribute: TypeAlias = Union[_BaseStrainable, _StringMatchFunction]\n\n#: A tag can be matched using either a single criterion or a list of\n#: criteria.\n_StrainableElement: TypeAlias = Union[\n _BaseStrainableElement, Iterable[_BaseStrainableElement]\n]\n\n#: An attribute value can be matched using either a single criterion\n#: or a list of criteria.\n_StrainableAttribute: TypeAlias = Union[\n _BaseStrainableAttribute, Iterable[_BaseStrainableAttribute]\n]\n\n#: An string can be matched using the same techniques as\n#: an attribute value.\n_StrainableString: TypeAlias = _StrainableAttribute\n\n#: A dictionary may be used to match against multiple attribute vlaues at once.\n_StrainableAttributes: TypeAlias = Dict[str, _StrainableAttribute]\n\n#: Many Beautiful soup methods return a PageElement or an ResultSet of\n#: PageElements. A PageElement is either a Tag or a NavigableString.\n#: These convenience aliases make it easier for IDE users to see which methods\n#: are available on the objects they're dealing with.\n_OneElement: TypeAlias = Union["PageElement", "Tag", "NavigableString"]\n_AtMostOneElement: TypeAlias = Optional[_OneElement]\n_QueryResults: TypeAlias = "ResultSet[_OneElement]"\n
.venv\Lib\site-packages\bs4\_typing.py
_typing.py
Python
7,118
0.95
0.147959
0.55414
vue-tools
617
2024-04-16T17:34:38.674807
GPL-3.0
false
2122e5cf1878031c59b1eca9e8a7de40
"""Define some custom warnings."""\n\n\nclass GuessedAtParserWarning(UserWarning):\n """The warning issued when BeautifulSoup has to guess what parser to\n use -- probably because no parser was specified in the constructor.\n """\n\n MESSAGE: str = """No parser was explicitly specified, so I'm using the best available %(markup_type)s parser for this system ("%(parser)s"). This usually isn't a problem, but if you run this code on another system, or in a different virtual environment, it may use a different parser and behave differently.\n\nThe code that caused this warning is on line %(line_number)s of the file %(filename)s. To get rid of this warning, pass the additional argument 'features="%(parser)s"' to the BeautifulSoup constructor.\n"""\n\n\nclass UnusualUsageWarning(UserWarning):\n """A superclass for warnings issued when Beautiful Soup sees\n something that is typically the result of a mistake in the calling\n code, but might be intentional on the part of the user. If it is\n in fact intentional, you can filter the individual warning class\n to get rid of the warning. If you don't like Beautiful Soup\n second-guessing what you are doing, you can filter the\n UnusualUsageWarningclass itself and get rid of these entirely.\n """\n\n\nclass MarkupResemblesLocatorWarning(UnusualUsageWarning):\n """The warning issued when BeautifulSoup is given 'markup' that\n actually looks like a resource locator -- a URL or a path to a file\n on disk.\n """\n\n #: :meta private:\n GENERIC_MESSAGE: str = """\n\nHowever, if you want to parse some data that happens to look like a %(what)s, then nothing has gone wrong: you are using Beautiful Soup correctly, and this warning is spurious and can be filtered. To make this warning go away, run this code before calling the BeautifulSoup constructor:\n\n from bs4 import MarkupResemblesLocatorWarning\n import warnings\n\n warnings.filterwarnings("ignore", category=MarkupResemblesLocatorWarning)\n """\n\n URL_MESSAGE: str = (\n """The input passed in on this line looks more like a URL than HTML or XML.\n\nIf you meant to use Beautiful Soup to parse the web page found at a certain URL, then something has gone wrong. You should use an Python package like 'requests' to fetch the content behind the URL. Once you have the content as a string, you can feed that string into Beautiful Soup."""\n + GENERIC_MESSAGE\n )\n\n FILENAME_MESSAGE: str = (\n """The input passed in on this line looks more like a filename than HTML or XML.\n\nIf you meant to use Beautiful Soup to parse the contents of a file on disk, then something has gone wrong. You should open the file first, using code like this:\n\n filehandle = open(your filename)\n\nYou can then feed the open filehandle into Beautiful Soup instead of using the filename."""\n + GENERIC_MESSAGE\n )\n\n\nclass AttributeResemblesVariableWarning(UnusualUsageWarning, SyntaxWarning):\n """The warning issued when Beautiful Soup suspects a provided\n attribute name may actually be the misspelled name of a Beautiful\n Soup variable. Generally speaking, this is only used in cases like\n "_class" where it's very unlikely the user would be referencing an\n XML attribute with that name.\n """\n\n MESSAGE: str = """%(original)r is an unusual attribute name and is a common misspelling for %(autocorrect)r.\n\nIf you meant %(autocorrect)r, change your code to use it, and this warning will go away.\n\nIf you really did mean to check the %(original)r attribute, this warning is spurious and can be filtered. To make it go away, run this code before creating your BeautifulSoup object:\n\n from bs4 import AttributeResemblesVariableWarning\n import warnings\n\n warnings.filterwarnings("ignore", category=AttributeResemblesVariableWarning)\n"""\n\n\nclass XMLParsedAsHTMLWarning(UnusualUsageWarning):\n """The warning issued when an HTML parser is used to parse\n XML that is not (as far as we can tell) XHTML.\n """\n\n MESSAGE: str = """It looks like you're using an HTML parser to parse an XML document.\n\nAssuming this really is an XML document, what you're doing might work, but you should know that using an XML parser will be more reliable. To parse this document as XML, make sure you have the Python package 'lxml' installed, and pass the keyword argument `features="xml"` into the BeautifulSoup constructor.\n\nIf you want or need to use an HTML parser on this document, you can make this warning go away by filtering it. To do that, run this code before calling the BeautifulSoup constructor:\n\n from bs4 import XMLParsedAsHTMLWarning\n import warnings\n\n warnings.filterwarnings("ignore", category=XMLParsedAsHTMLWarning)\n"""\n
.venv\Lib\site-packages\bs4\_warnings.py
_warnings.py
Python
4,711
0.95
0.112245
0.015152
node-utils
875
2024-08-13T02:30:35.172673
GPL-3.0
false
d9497901b1edac1294e0f5b30162f8e3
"""Beautiful Soup Elixir and Tonic - "The Screen-Scraper's Friend".\n\nhttp://www.crummy.com/software/BeautifulSoup/\n\nBeautiful Soup uses a pluggable XML or HTML parser to parse a\n(possibly invalid) document into a tree representation. Beautiful Soup\nprovides methods and Pythonic idioms that make it easy to navigate,\nsearch, and modify the parse tree.\n\nBeautiful Soup works with Python 3.7 and up. It works better if lxml\nand/or html5lib is installed, but they are not required.\n\nFor more than you ever wanted to know about Beautiful Soup, see the\ndocumentation: http://www.crummy.com/software/BeautifulSoup/bs4/doc/\n"""\n\n__author__ = "Leonard Richardson (leonardr@segfault.org)"\n__version__ = "4.13.4"\n__copyright__ = "Copyright (c) 2004-2025 Leonard Richardson"\n# Use of this source code is governed by the MIT license.\n__license__ = "MIT"\n\n__all__ = [\n "AttributeResemblesVariableWarning",\n "BeautifulSoup",\n "Comment",\n "Declaration",\n "ProcessingInstruction",\n "ResultSet",\n "CSS",\n "Script",\n "Stylesheet",\n "Tag",\n "TemplateString",\n "ElementFilter",\n "UnicodeDammit",\n "CData",\n "Doctype",\n\n # Exceptions\n "FeatureNotFound",\n "ParserRejectedMarkup",\n "StopParsing",\n\n # Warnings\n "AttributeResemblesVariableWarning",\n "GuessedAtParserWarning",\n "MarkupResemblesLocatorWarning",\n "UnusualUsageWarning",\n "XMLParsedAsHTMLWarning",\n]\n\nfrom collections import Counter\nimport sys\nimport warnings\n\n# The very first thing we do is give a useful error if someone is\n# running this code under Python 2.\nif sys.version_info.major < 3:\n raise ImportError(\n "You are trying to use a Python 3-specific version of Beautiful Soup under Python 2. This will not work. The final version of Beautiful Soup to support Python 2 was 4.9.3."\n )\n\nfrom .builder import (\n builder_registry,\n TreeBuilder,\n)\nfrom .builder._htmlparser import HTMLParserTreeBuilder\nfrom .dammit import UnicodeDammit\nfrom .css import CSS\nfrom ._deprecation import (\n _deprecated,\n)\nfrom .element import (\n CData,\n Comment,\n DEFAULT_OUTPUT_ENCODING,\n Declaration,\n Doctype,\n NavigableString,\n PageElement,\n ProcessingInstruction,\n PYTHON_SPECIFIC_ENCODINGS,\n ResultSet,\n Script,\n Stylesheet,\n Tag,\n TemplateString,\n)\nfrom .formatter import Formatter\nfrom .filter import (\n ElementFilter,\n SoupStrainer,\n)\nfrom typing import (\n Any,\n cast,\n Counter as CounterType,\n Dict,\n Iterator,\n List,\n Sequence,\n Optional,\n Type,\n Union,\n)\n\nfrom bs4._typing import (\n _Encoding,\n _Encodings,\n _IncomingMarkup,\n _InsertableElement,\n _RawAttributeValue,\n _RawAttributeValues,\n _RawMarkup,\n)\n\n# Import all warnings and exceptions into the main package.\nfrom bs4.exceptions import (\n FeatureNotFound,\n ParserRejectedMarkup,\n StopParsing,\n)\nfrom bs4._warnings import (\n AttributeResemblesVariableWarning,\n GuessedAtParserWarning,\n MarkupResemblesLocatorWarning,\n UnusualUsageWarning,\n XMLParsedAsHTMLWarning,\n)\n\n\nclass BeautifulSoup(Tag):\n """A data structure representing a parsed HTML or XML document.\n\n Most of the methods you'll call on a BeautifulSoup object are inherited from\n PageElement or Tag.\n\n Internally, this class defines the basic interface called by the\n tree builders when converting an HTML/XML document into a data\n structure. The interface abstracts away the differences between\n parsers. To write a new tree builder, you'll need to understand\n these methods as a whole.\n\n These methods will be called by the BeautifulSoup constructor:\n * reset()\n * feed(markup)\n\n The tree builder may call these methods from its feed() implementation:\n * handle_starttag(name, attrs) # See note about return value\n * handle_endtag(name)\n * handle_data(data) # Appends to the current data node\n * endData(containerClass) # Ends the current data node\n\n No matter how complicated the underlying parser is, you should be\n able to build a tree using 'start tag' events, 'end tag' events,\n 'data' events, and "done with data" events.\n\n If you encounter an empty-element tag (aka a self-closing tag,\n like HTML's <br> tag), call handle_starttag and then\n handle_endtag.\n """\n\n #: Since `BeautifulSoup` subclasses `Tag`, it's possible to treat it as\n #: a `Tag` with a `Tag.name`. Hoever, this name makes it clear the\n #: `BeautifulSoup` object isn't a real markup tag.\n ROOT_TAG_NAME: str = "[document]"\n\n #: If the end-user gives no indication which tree builder they\n #: want, look for one with these features.\n DEFAULT_BUILDER_FEATURES: Sequence[str] = ["html", "fast"]\n\n #: A string containing all ASCII whitespace characters, used in\n #: during parsing to detect data chunks that seem 'empty'.\n ASCII_SPACES: str = "\x20\x0a\x09\x0c\x0d"\n\n # FUTURE PYTHON:\n element_classes: Dict[Type[PageElement], Type[PageElement]] #: :meta private:\n builder: TreeBuilder #: :meta private:\n is_xml: bool\n known_xml: Optional[bool]\n parse_only: Optional[SoupStrainer] #: :meta private:\n\n # These members are only used while parsing markup.\n markup: Optional[_RawMarkup] #: :meta private:\n current_data: List[str] #: :meta private:\n currentTag: Optional[Tag] #: :meta private:\n tagStack: List[Tag] #: :meta private:\n open_tag_counter: CounterType[str] #: :meta private:\n preserve_whitespace_tag_stack: List[Tag] #: :meta private:\n string_container_stack: List[Tag] #: :meta private:\n _most_recent_element: Optional[PageElement] #: :meta private:\n\n #: Beautiful Soup's best guess as to the character encoding of the\n #: original document.\n original_encoding: Optional[_Encoding]\n\n #: The character encoding, if any, that was explicitly defined\n #: in the original document. This may or may not match\n #: `BeautifulSoup.original_encoding`.\n declared_html_encoding: Optional[_Encoding]\n\n #: This is True if the markup that was parsed contains\n #: U+FFFD REPLACEMENT_CHARACTER characters which were not present\n #: in the original markup. These mark character sequences that\n #: could not be represented in Unicode.\n contains_replacement_characters: bool\n\n def __init__(\n self,\n markup: _IncomingMarkup = "",\n features: Optional[Union[str, Sequence[str]]] = None,\n builder: Optional[Union[TreeBuilder, Type[TreeBuilder]]] = None,\n parse_only: Optional[SoupStrainer] = None,\n from_encoding: Optional[_Encoding] = None,\n exclude_encodings: Optional[_Encodings] = None,\n element_classes: Optional[Dict[Type[PageElement], Type[PageElement]]] = None,\n **kwargs: Any,\n ):\n """Constructor.\n\n :param markup: A string or a file-like object representing\n markup to be parsed.\n\n :param features: Desirable features of the parser to be\n used. This may be the name of a specific parser ("lxml",\n "lxml-xml", "html.parser", or "html5lib") or it may be the\n type of markup to be used ("html", "html5", "xml"). It's\n recommended that you name a specific parser, so that\n Beautiful Soup gives you the same results across platforms\n and virtual environments.\n\n :param builder: A TreeBuilder subclass to instantiate (or\n instance to use) instead of looking one up based on\n `features`. You only need to use this if you've implemented a\n custom TreeBuilder.\n\n :param parse_only: A SoupStrainer. Only parts of the document\n matching the SoupStrainer will be considered. This is useful\n when parsing part of a document that would otherwise be too\n large to fit into memory.\n\n :param from_encoding: A string indicating the encoding of the\n document to be parsed. Pass this in if Beautiful Soup is\n guessing wrongly about the document's encoding.\n\n :param exclude_encodings: A list of strings indicating\n encodings known to be wrong. Pass this in if you don't know\n the document's encoding but you know Beautiful Soup's guess is\n wrong.\n\n :param element_classes: A dictionary mapping BeautifulSoup\n classes like Tag and NavigableString, to other classes you'd\n like to be instantiated instead as the parse tree is\n built. This is useful for subclassing Tag or NavigableString\n to modify default behavior.\n\n :param kwargs: For backwards compatibility purposes, the\n constructor accepts certain keyword arguments used in\n Beautiful Soup 3. None of these arguments do anything in\n Beautiful Soup 4; they will result in a warning and then be\n ignored.\n\n Apart from this, any keyword arguments passed into the\n BeautifulSoup constructor are propagated to the TreeBuilder\n constructor. This makes it possible to configure a\n TreeBuilder by passing in arguments, not just by saying which\n one to use.\n """\n if "convertEntities" in kwargs:\n del kwargs["convertEntities"]\n warnings.warn(\n "BS4 does not respect the convertEntities argument to the "\n "BeautifulSoup constructor. Entities are always converted "\n "to Unicode characters."\n )\n\n if "markupMassage" in kwargs:\n del kwargs["markupMassage"]\n warnings.warn(\n "BS4 does not respect the markupMassage argument to the "\n "BeautifulSoup constructor. The tree builder is responsible "\n "for any necessary markup massage."\n )\n\n if "smartQuotesTo" in kwargs:\n del kwargs["smartQuotesTo"]\n warnings.warn(\n "BS4 does not respect the smartQuotesTo argument to the "\n "BeautifulSoup constructor. Smart quotes are always converted "\n "to Unicode characters."\n )\n\n if "selfClosingTags" in kwargs:\n del kwargs["selfClosingTags"]\n warnings.warn(\n "Beautiful Soup 4 does not respect the selfClosingTags argument to the "\n "BeautifulSoup constructor. The tree builder is responsible "\n "for understanding self-closing tags."\n )\n\n if "isHTML" in kwargs:\n del kwargs["isHTML"]\n warnings.warn(\n "Beautiful Soup 4 does not respect the isHTML argument to the "\n "BeautifulSoup constructor. Suggest you use "\n "features='lxml' for HTML and features='lxml-xml' for "\n "XML."\n )\n\n def deprecated_argument(old_name: str, new_name: str) -> Optional[Any]:\n if old_name in kwargs:\n warnings.warn(\n 'The "%s" argument to the BeautifulSoup constructor '\n 'was renamed to "%s" in Beautiful Soup 4.0.0'\n % (old_name, new_name),\n DeprecationWarning,\n stacklevel=3,\n )\n return kwargs.pop(old_name)\n return None\n\n parse_only = parse_only or deprecated_argument("parseOnlyThese", "parse_only")\n if parse_only is not None:\n # Issue a warning if we can tell in advance that\n # parse_only will exclude the entire tree.\n if parse_only.excludes_everything:\n warnings.warn(\n f"The given value for parse_only will exclude everything: {parse_only}",\n UserWarning,\n stacklevel=3,\n )\n\n from_encoding = from_encoding or deprecated_argument(\n "fromEncoding", "from_encoding"\n )\n\n if from_encoding and isinstance(markup, str):\n warnings.warn(\n "You provided Unicode markup but also provided a value for from_encoding. Your from_encoding will be ignored."\n )\n from_encoding = None\n\n self.element_classes = element_classes or dict()\n\n # We need this information to track whether or not the builder\n # was specified well enough that we can omit the 'you need to\n # specify a parser' warning.\n original_builder = builder\n original_features = features\n\n builder_class: Type[TreeBuilder]\n if isinstance(builder, type):\n # A builder class was passed in; it needs to be instantiated.\n builder_class = builder\n builder = None\n elif builder is None:\n if isinstance(features, str):\n features = [features]\n if features is None or len(features) == 0:\n features = self.DEFAULT_BUILDER_FEATURES\n possible_builder_class = builder_registry.lookup(*features)\n if possible_builder_class is None:\n raise FeatureNotFound(\n "Couldn't find a tree builder with the features you "\n "requested: %s. Do you need to install a parser library?"\n % ",".join(features)\n )\n builder_class = possible_builder_class\n\n # At this point either we have a TreeBuilder instance in\n # builder, or we have a builder_class that we can instantiate\n # with the remaining **kwargs.\n if builder is None:\n builder = builder_class(**kwargs)\n if (\n not original_builder\n and not (\n original_features == builder.NAME\n or (\n isinstance(original_features, str)\n and original_features in builder.ALTERNATE_NAMES\n )\n )\n and markup\n ):\n # The user did not tell us which TreeBuilder to use,\n # and we had to guess. Issue a warning.\n if builder.is_xml:\n markup_type = "XML"\n else:\n markup_type = "HTML"\n\n # This code adapted from warnings.py so that we get the same line\n # of code as our warnings.warn() call gets, even if the answer is wrong\n # (as it may be in a multithreading situation).\n caller = None\n try:\n caller = sys._getframe(1)\n except ValueError:\n pass\n if caller:\n globals = caller.f_globals\n line_number = caller.f_lineno\n else:\n globals = sys.__dict__\n line_number = 1\n filename = globals.get("__file__")\n if filename:\n fnl = filename.lower()\n if fnl.endswith((".pyc", ".pyo")):\n filename = filename[:-1]\n if filename:\n # If there is no filename at all, the user is most likely in a REPL,\n # and the warning is not necessary.\n values = dict(\n filename=filename,\n line_number=line_number,\n parser=builder.NAME,\n markup_type=markup_type,\n )\n warnings.warn(\n GuessedAtParserWarning.MESSAGE % values,\n GuessedAtParserWarning,\n stacklevel=2,\n )\n else:\n if kwargs:\n warnings.warn(\n "Keyword arguments to the BeautifulSoup constructor will be ignored. These would normally be passed into the TreeBuilder constructor, but a TreeBuilder instance was passed in as `builder`."\n )\n\n self.builder = builder\n self.is_xml = builder.is_xml\n self.known_xml = self.is_xml\n self._namespaces = dict()\n self.parse_only = parse_only\n\n if hasattr(markup, "read"): # It's a file-type object.\n markup = markup.read()\n elif not isinstance(markup, (bytes, str)) and not hasattr(markup, "__len__"):\n raise TypeError(\n f"Incoming markup is of an invalid type: {markup!r}. Markup must be a string, a bytestring, or an open filehandle."\n )\n elif len(markup) <= 256 and (\n (isinstance(markup, bytes) and b"<" not in markup and b"\n" not in markup)\n or (isinstance(markup, str) and "<" not in markup and "\n" not in markup)\n ):\n # Issue warnings for a couple beginner problems\n # involving passing non-markup to Beautiful Soup.\n # Beautiful Soup will still parse the input as markup,\n # since that is sometimes the intended behavior.\n if not self._markup_is_url(markup):\n self._markup_resembles_filename(markup)\n\n # At this point we know markup is a string or bytestring. If\n # it was a file-type object, we've read from it.\n markup = cast(_RawMarkup, markup)\n\n rejections = []\n success = False\n for (\n self.markup,\n self.original_encoding,\n self.declared_html_encoding,\n self.contains_replacement_characters,\n ) in self.builder.prepare_markup(\n markup, from_encoding, exclude_encodings=exclude_encodings\n ):\n self.reset()\n self.builder.initialize_soup(self)\n try:\n self._feed()\n success = True\n break\n except ParserRejectedMarkup as e:\n rejections.append(e)\n pass\n\n if not success:\n other_exceptions = [str(e) for e in rejections]\n raise ParserRejectedMarkup(\n "The markup you provided was rejected by the parser. Trying a different parser or a different encoding may help.\n\nOriginal exception(s) from parser:\n "\n + "\n ".join(other_exceptions)\n )\n\n # Clear out the markup and remove the builder's circular\n # reference to this object.\n self.markup = None\n self.builder.soup = None\n\n def copy_self(self) -> "BeautifulSoup":\n """Create a new BeautifulSoup object with the same TreeBuilder,\n but not associated with any markup.\n\n This is the first step of the deepcopy process.\n """\n clone = type(self)("", None, self.builder)\n\n # Keep track of the encoding of the original document,\n # since we won't be parsing it again.\n clone.original_encoding = self.original_encoding\n return clone\n\n def __getstate__(self) -> Dict[str, Any]:\n # Frequently a tree builder can't be pickled.\n d = dict(self.__dict__)\n if "builder" in d and d["builder"] is not None and not self.builder.picklable:\n d["builder"] = type(self.builder)\n # Store the contents as a Unicode string.\n d["contents"] = []\n d["markup"] = self.decode()\n\n # If _most_recent_element is present, it's a Tag object left\n # over from initial parse. It might not be picklable and we\n # don't need it.\n if "_most_recent_element" in d:\n del d["_most_recent_element"]\n return d\n\n def __setstate__(self, state: Dict[str, Any]) -> None:\n # If necessary, restore the TreeBuilder by looking it up.\n self.__dict__ = state\n if isinstance(self.builder, type):\n self.builder = self.builder()\n elif not self.builder:\n # We don't know which builder was used to build this\n # parse tree, so use a default we know is always available.\n self.builder = HTMLParserTreeBuilder()\n self.builder.soup = self\n self.reset()\n self._feed()\n\n @classmethod\n @_deprecated(\n replaced_by="nothing (private method, will be removed)", version="4.13.0"\n )\n def _decode_markup(cls, markup: _RawMarkup) -> str:\n """Ensure `markup` is Unicode so it's safe to send into warnings.warn.\n\n warnings.warn had this problem back in 2010 but fortunately\n not anymore. This has not been used for a long time; I just\n noticed that fact while working on 4.13.0.\n """\n if isinstance(markup, bytes):\n decoded = markup.decode("utf-8", "replace")\n else:\n decoded = markup\n return decoded\n\n @classmethod\n def _markup_is_url(cls, markup: _RawMarkup) -> bool:\n """Error-handling method to raise a warning if incoming markup looks\n like a URL.\n\n :param markup: A string of markup.\n :return: Whether or not the markup resembled a URL\n closely enough to justify issuing a warning.\n """\n problem: bool = False\n if isinstance(markup, bytes):\n problem = (\n any(markup.startswith(prefix) for prefix in (b"http:", b"https:"))\n and b" " not in markup\n )\n elif isinstance(markup, str):\n problem = (\n any(markup.startswith(prefix) for prefix in ("http:", "https:"))\n and " " not in markup\n )\n else:\n return False\n\n if not problem:\n return False\n warnings.warn(\n MarkupResemblesLocatorWarning.URL_MESSAGE % dict(what="URL"),\n MarkupResemblesLocatorWarning,\n stacklevel=3,\n )\n return True\n\n @classmethod\n def _markup_resembles_filename(cls, markup: _RawMarkup) -> bool:\n """Error-handling method to issue a warning if incoming markup\n resembles a filename.\n\n :param markup: A string of markup.\n :return: Whether or not the markup resembled a filename\n closely enough to justify issuing a warning.\n """\n markup_b: bytes\n\n # We're only checking ASCII characters, so rather than write\n # the same tests twice, convert Unicode to a bytestring and\n # operate on the bytestring.\n if isinstance(markup, str):\n markup_b = markup.encode("utf8")\n else:\n markup_b = markup\n\n # Step 1: does it end with a common textual file extension?\n filelike = False\n lower = markup_b.lower()\n extensions = [b".html", b".htm", b".xml", b".xhtml", b".txt"]\n if any(lower.endswith(ext) for ext in extensions):\n filelike = True\n if not filelike:\n return False\n\n # Step 2: it _might_ be a file, but there are a few things\n # we can look for that aren't very common in filenames.\n\n # Characters that have special meaning to Unix shells. (< was\n # excluded before this method was called.)\n #\n # Many of these are also reserved characters that cannot\n # appear in Windows filenames.\n for byte in markup_b:\n if byte in b"?*#&;>$|":\n return False\n\n # Two consecutive forward slashes (as seen in a URL) or two\n # consecutive spaces (as seen in fixed-width data).\n #\n # (Paths to Windows network shares contain consecutive\n # backslashes, so checking that doesn't seem as helpful.)\n if b"//" in markup_b:\n return False\n if b" " in markup_b:\n return False\n\n # A colon in any position other than position 1 (e.g. after a\n # Windows drive letter).\n if markup_b.startswith(b":"):\n return False\n colon_i = markup_b.rfind(b":")\n if colon_i not in (-1, 1):\n return False\n\n # Step 3: If it survived all of those checks, it's similar\n # enough to a file to justify issuing a warning.\n warnings.warn(\n MarkupResemblesLocatorWarning.FILENAME_MESSAGE % dict(what="filename"),\n MarkupResemblesLocatorWarning,\n stacklevel=3,\n )\n return True\n\n def _feed(self) -> None:\n """Internal method that parses previously set markup, creating a large\n number of Tag and NavigableString objects.\n """\n # Convert the document to Unicode.\n self.builder.reset()\n\n if self.markup is not None:\n self.builder.feed(self.markup)\n # Close out any unfinished strings and close all the open tags.\n self.endData()\n while (\n self.currentTag is not None and self.currentTag.name != self.ROOT_TAG_NAME\n ):\n self.popTag()\n\n def reset(self) -> None:\n """Reset this object to a state as though it had never parsed any\n markup.\n """\n Tag.__init__(self, self, self.builder, self.ROOT_TAG_NAME)\n self.hidden = True\n self.builder.reset()\n self.current_data = []\n self.currentTag = None\n self.tagStack = []\n self.open_tag_counter = Counter()\n self.preserve_whitespace_tag_stack = []\n self.string_container_stack = []\n self._most_recent_element = None\n self.pushTag(self)\n\n def new_tag(\n self,\n name: str,\n namespace: Optional[str] = None,\n nsprefix: Optional[str] = None,\n attrs: Optional[_RawAttributeValues] = None,\n sourceline: Optional[int] = None,\n sourcepos: Optional[int] = None,\n string: Optional[str] = None,\n **kwattrs: _RawAttributeValue,\n ) -> Tag:\n """Create a new Tag associated with this BeautifulSoup object.\n\n :param name: The name of the new Tag.\n :param namespace: The URI of the new Tag's XML namespace, if any.\n :param prefix: The prefix for the new Tag's XML namespace, if any.\n :param attrs: A dictionary of this Tag's attribute values; can\n be used instead of ``kwattrs`` for attributes like 'class'\n that are reserved words in Python.\n :param sourceline: The line number where this tag was\n (purportedly) found in its source document.\n :param sourcepos: The character position within ``sourceline`` where this\n tag was (purportedly) found.\n :param string: String content for the new Tag, if any.\n :param kwattrs: Keyword arguments for the new Tag's attribute values.\n\n """\n attr_container = self.builder.attribute_dict_class(**kwattrs)\n if attrs is not None:\n attr_container.update(attrs)\n tag_class = self.element_classes.get(Tag, Tag)\n\n # Assume that this is either Tag or a subclass of Tag. If not,\n # the user brought type-unsafety upon themselves.\n tag_class = cast(Type[Tag], tag_class)\n tag = tag_class(\n None,\n self.builder,\n name,\n namespace,\n nsprefix,\n attr_container,\n sourceline=sourceline,\n sourcepos=sourcepos,\n )\n\n if string is not None:\n tag.string = string\n return tag\n\n def string_container(\n self, base_class: Optional[Type[NavigableString]] = None\n ) -> Type[NavigableString]:\n """Find the class that should be instantiated to hold a given kind of\n string.\n\n This may be a built-in Beautiful Soup class or a custom class passed\n in to the BeautifulSoup constructor.\n """\n container = base_class or NavigableString\n\n # The user may want us to use some other class (hopefully a\n # custom subclass) instead of the one we'd use normally.\n container = cast(\n Type[NavigableString], self.element_classes.get(container, container)\n )\n\n # On top of that, we may be inside a tag that needs a special\n # container class.\n if self.string_container_stack and container is NavigableString:\n container = self.builder.string_containers.get(\n self.string_container_stack[-1].name, container\n )\n return container\n\n def new_string(\n self, s: str, subclass: Optional[Type[NavigableString]] = None\n ) -> NavigableString:\n """Create a new `NavigableString` associated with this `BeautifulSoup`\n object.\n\n :param s: The string content of the `NavigableString`\n :param subclass: The subclass of `NavigableString`, if any, to\n use. If a document is being processed, an appropriate\n subclass for the current location in the document will\n be determined automatically.\n """\n container = self.string_container(subclass)\n return container(s)\n\n def insert_before(self, *args: _InsertableElement) -> List[PageElement]:\n """This method is part of the PageElement API, but `BeautifulSoup` doesn't implement\n it because there is nothing before or after it in the parse tree.\n """\n raise NotImplementedError(\n "BeautifulSoup objects don't support insert_before()."\n )\n\n def insert_after(self, *args: _InsertableElement) -> List[PageElement]:\n """This method is part of the PageElement API, but `BeautifulSoup` doesn't implement\n it because there is nothing before or after it in the parse tree.\n """\n raise NotImplementedError("BeautifulSoup objects don't support insert_after().")\n\n def popTag(self) -> Optional[Tag]:\n """Internal method called by _popToTag when a tag is closed.\n\n :meta private:\n """\n if not self.tagStack:\n # Nothing to pop. This shouldn't happen.\n return None\n tag = self.tagStack.pop()\n if tag.name in self.open_tag_counter:\n self.open_tag_counter[tag.name] -= 1\n if (\n self.preserve_whitespace_tag_stack\n and tag == self.preserve_whitespace_tag_stack[-1]\n ):\n self.preserve_whitespace_tag_stack.pop()\n if self.string_container_stack and tag == self.string_container_stack[-1]:\n self.string_container_stack.pop()\n # print("Pop", tag.name)\n if self.tagStack:\n self.currentTag = self.tagStack[-1]\n return self.currentTag\n\n def pushTag(self, tag: Tag) -> None:\n """Internal method called by handle_starttag when a tag is opened.\n\n :meta private:\n """\n # print("Push", tag.name)\n if self.currentTag is not None:\n self.currentTag.contents.append(tag)\n self.tagStack.append(tag)\n self.currentTag = self.tagStack[-1]\n if tag.name != self.ROOT_TAG_NAME:\n self.open_tag_counter[tag.name] += 1\n if tag.name in self.builder.preserve_whitespace_tags:\n self.preserve_whitespace_tag_stack.append(tag)\n if tag.name in self.builder.string_containers:\n self.string_container_stack.append(tag)\n\n def endData(self, containerClass: Optional[Type[NavigableString]] = None) -> None:\n """Method called by the TreeBuilder when the end of a data segment\n occurs.\n\n :param containerClass: The class to use when incorporating the\n data segment into the parse tree.\n\n :meta private:\n """\n if self.current_data:\n current_data = "".join(self.current_data)\n # If whitespace is not preserved, and this string contains\n # nothing but ASCII spaces, replace it with a single space\n # or newline.\n if not self.preserve_whitespace_tag_stack:\n strippable = True\n for i in current_data:\n if i not in self.ASCII_SPACES:\n strippable = False\n break\n if strippable:\n if "\n" in current_data:\n current_data = "\n"\n else:\n current_data = " "\n\n # Reset the data collector.\n self.current_data = []\n\n # Should we add this string to the tree at all?\n if (\n self.parse_only\n and len(self.tagStack) <= 1\n and (not self.parse_only.allow_string_creation(current_data))\n ):\n return\n\n containerClass = self.string_container(containerClass)\n o = containerClass(current_data)\n self.object_was_parsed(o)\n\n def object_was_parsed(\n self,\n o: PageElement,\n parent: Optional[Tag] = None,\n most_recent_element: Optional[PageElement] = None,\n ) -> None:\n """Method called by the TreeBuilder to integrate an object into the\n parse tree.\n\n :meta private:\n """\n if parent is None:\n parent = self.currentTag\n assert parent is not None\n previous_element: Optional[PageElement]\n if most_recent_element is not None:\n previous_element = most_recent_element\n else:\n previous_element = self._most_recent_element\n\n next_element = previous_sibling = next_sibling = None\n if isinstance(o, Tag):\n next_element = o.next_element\n next_sibling = o.next_sibling\n previous_sibling = o.previous_sibling\n if previous_element is None:\n previous_element = o.previous_element\n\n fix = parent.next_element is not None\n\n o.setup(parent, previous_element, next_element, previous_sibling, next_sibling)\n\n self._most_recent_element = o\n parent.contents.append(o)\n\n # Check if we are inserting into an already parsed node.\n if fix:\n self._linkage_fixer(parent)\n\n def _linkage_fixer(self, el: Tag) -> None:\n """Make sure linkage of this fragment is sound."""\n\n first = el.contents[0]\n child = el.contents[-1]\n descendant: PageElement = child\n\n if child is first and el.parent is not None:\n # Parent should be linked to first child\n el.next_element = child\n # We are no longer linked to whatever this element is\n prev_el = child.previous_element\n if prev_el is not None and prev_el is not el:\n prev_el.next_element = None\n # First child should be linked to the parent, and no previous siblings.\n child.previous_element = el\n child.previous_sibling = None\n\n # We have no sibling as we've been appended as the last.\n child.next_sibling = None\n\n # This index is a tag, dig deeper for a "last descendant"\n if isinstance(child, Tag) and child.contents:\n # _last_decendant is typed as returning Optional[PageElement],\n # but the value can't be None here, because el is a Tag\n # which we know has contents.\n descendant = cast(PageElement, child._last_descendant(False))\n\n # As the final step, link last descendant. It should be linked\n # to the parent's next sibling (if found), else walk up the chain\n # and find a parent with a sibling. It should have no next sibling.\n descendant.next_element = None\n descendant.next_sibling = None\n\n target: Optional[Tag] = el\n while True:\n if target is None:\n break\n elif target.next_sibling is not None:\n descendant.next_element = target.next_sibling\n target.next_sibling.previous_element = child\n break\n target = target.parent\n\n def _popToTag(\n self, name: str, nsprefix: Optional[str] = None, inclusivePop: bool = True\n ) -> Optional[Tag]:\n """Pops the tag stack up to and including the most recent\n instance of the given tag.\n\n If there are no open tags with the given name, nothing will be\n popped.\n\n :param name: Pop up to the most recent tag with this name.\n :param nsprefix: The namespace prefix that goes with `name`.\n :param inclusivePop: It this is false, pops the tag stack up\n to but *not* including the most recent instqance of the\n given tag.\n\n :meta private:\n """\n # print("Popping to %s" % name)\n if name == self.ROOT_TAG_NAME:\n # The BeautifulSoup object itself can never be popped.\n return None\n\n most_recently_popped = None\n\n stack_size = len(self.tagStack)\n for i in range(stack_size - 1, 0, -1):\n if not self.open_tag_counter.get(name):\n break\n t = self.tagStack[i]\n if name == t.name and nsprefix == t.prefix:\n if inclusivePop:\n most_recently_popped = self.popTag()\n break\n most_recently_popped = self.popTag()\n\n return most_recently_popped\n\n def handle_starttag(\n self,\n name: str,\n namespace: Optional[str],\n nsprefix: Optional[str],\n attrs: _RawAttributeValues,\n sourceline: Optional[int] = None,\n sourcepos: Optional[int] = None,\n namespaces: Optional[Dict[str, str]] = None,\n ) -> Optional[Tag]:\n """Called by the tree builder when a new tag is encountered.\n\n :param name: Name of the tag.\n :param nsprefix: Namespace prefix for the tag.\n :param attrs: A dictionary of attribute values. Note that\n attribute values are expected to be simple strings; processing\n of multi-valued attributes such as "class" comes later.\n :param sourceline: The line number where this tag was found in its\n source document.\n :param sourcepos: The character position within `sourceline` where this\n tag was found.\n :param namespaces: A dictionary of all namespace prefix mappings\n currently in scope in the document.\n\n If this method returns None, the tag was rejected by an active\n `ElementFilter`. You should proceed as if the tag had not occurred\n in the document. For instance, if this was a self-closing tag,\n don't call handle_endtag.\n\n :meta private:\n """\n # print("Start tag %s: %s" % (name, attrs))\n self.endData()\n\n if (\n self.parse_only\n and len(self.tagStack) <= 1\n and not self.parse_only.allow_tag_creation(nsprefix, name, attrs)\n ):\n return None\n\n tag_class = self.element_classes.get(Tag, Tag)\n # Assume that this is either Tag or a subclass of Tag. If not,\n # the user brought type-unsafety upon themselves.\n tag_class = cast(Type[Tag], tag_class)\n tag = tag_class(\n self,\n self.builder,\n name,\n namespace,\n nsprefix,\n attrs,\n self.currentTag,\n self._most_recent_element,\n sourceline=sourceline,\n sourcepos=sourcepos,\n namespaces=namespaces,\n )\n if tag is None:\n return tag\n if self._most_recent_element is not None:\n self._most_recent_element.next_element = tag\n self._most_recent_element = tag\n self.pushTag(tag)\n return tag\n\n def handle_endtag(self, name: str, nsprefix: Optional[str] = None) -> None:\n """Called by the tree builder when an ending tag is encountered.\n\n :param name: Name of the tag.\n :param nsprefix: Namespace prefix for the tag.\n\n :meta private:\n """\n # print("End tag: " + name)\n self.endData()\n self._popToTag(name, nsprefix)\n\n def handle_data(self, data: str) -> None:\n """Called by the tree builder when a chunk of textual data is\n encountered.\n\n :meta private:\n """\n self.current_data.append(data)\n\n def decode(\n self,\n indent_level: Optional[int] = None,\n eventual_encoding: _Encoding = DEFAULT_OUTPUT_ENCODING,\n formatter: Union[Formatter, str] = "minimal",\n iterator: Optional[Iterator[PageElement]] = None,\n **kwargs: Any,\n ) -> str:\n """Returns a string representation of the parse tree\n as a full HTML or XML document.\n\n :param indent_level: Each line of the rendering will be\n indented this many levels. (The ``formatter`` decides what a\n 'level' means, in terms of spaces or other characters\n output.) This is used internally in recursive calls while\n pretty-printing.\n :param eventual_encoding: The encoding of the final document.\n If this is None, the document will be a Unicode string.\n :param formatter: Either a `Formatter` object, or a string naming one of\n the standard formatters.\n :param iterator: The iterator to use when navigating over the\n parse tree. This is only used by `Tag.decode_contents` and\n you probably won't need to use it.\n """\n if self.is_xml:\n # Print the XML declaration\n encoding_part = ""\n declared_encoding: Optional[str] = eventual_encoding\n if eventual_encoding in PYTHON_SPECIFIC_ENCODINGS:\n # This is a special Python encoding; it can't actually\n # go into an XML document because it means nothing\n # outside of Python.\n declared_encoding = None\n if declared_encoding is not None:\n encoding_part = ' encoding="%s"' % declared_encoding\n prefix = '<?xml version="1.0"%s?>\n' % encoding_part\n else:\n prefix = ""\n\n # Prior to 4.13.0, the first argument to this method was a\n # bool called pretty_print, which gave the method a different\n # signature from its superclass implementation, Tag.decode.\n #\n # The signatures of the two methods now match, but just in\n # case someone is still passing a boolean in as the first\n # argument to this method (or a keyword argument with the old\n # name), we can handle it and put out a DeprecationWarning.\n warning: Optional[str] = None\n if isinstance(indent_level, bool):\n if indent_level is True:\n indent_level = 0\n elif indent_level is False:\n indent_level = None\n warning = f"As of 4.13.0, the first argument to BeautifulSoup.decode has been changed from bool to int, to match Tag.decode. Pass in a value of {indent_level} instead."\n else:\n pretty_print = kwargs.pop("pretty_print", None)\n assert not kwargs\n if pretty_print is not None:\n if pretty_print is True:\n indent_level = 0\n elif pretty_print is False:\n indent_level = None\n warning = f"As of 4.13.0, the pretty_print argument to BeautifulSoup.decode has been removed, to match Tag.decode. Pass in a value of indent_level={indent_level} instead."\n\n if warning:\n warnings.warn(warning, DeprecationWarning, stacklevel=2)\n elif indent_level is False or pretty_print is False:\n indent_level = None\n return prefix + super(BeautifulSoup, self).decode(\n indent_level, eventual_encoding, formatter, iterator\n )\n\n\n# Aliases to make it easier to get started quickly, e.g. 'from bs4 import _soup'\n_s = BeautifulSoup\n_soup = BeautifulSoup\n\n\nclass BeautifulStoneSoup(BeautifulSoup):\n """Deprecated interface to an XML parser."""\n\n def __init__(self, *args: Any, **kwargs: Any):\n kwargs["features"] = "xml"\n warnings.warn(\n "The BeautifulStoneSoup class was deprecated in version 4.0.0. Instead of using "\n 'it, pass features="xml" into the BeautifulSoup constructor.',\n DeprecationWarning,\n stacklevel=2,\n )\n super(BeautifulStoneSoup, self).__init__(*args, **kwargs)\n\n\n# If this file is run as a script, act as an HTML pretty-printer.\nif __name__ == "__main__":\n import sys\n\n soup = BeautifulSoup(sys.stdin)\n print((soup.prettify()))\n
.venv\Lib\site-packages\bs4\__init__.py
__init__.py
Python
44,212
0.95
0.149573
0.132094
python-kit
663
2025-01-10T04:48:35.091799
GPL-3.0
false
9a2b558946f12b27e0e06b0166e234c3
# encoding: utf-8\n"""Use the HTMLParser library to parse HTML files that aren't too bad."""\nfrom __future__ import annotations\n\n# Use of this source code is governed by the MIT license.\n__license__ = "MIT"\n\n__all__ = [\n "HTMLParserTreeBuilder",\n]\n\nfrom html.parser import HTMLParser\n\nfrom typing import (\n Any,\n Callable,\n cast,\n Dict,\n Iterable,\n List,\n Optional,\n TYPE_CHECKING,\n Tuple,\n Type,\n Union,\n)\n\nfrom bs4.element import (\n AttributeDict,\n CData,\n Comment,\n Declaration,\n Doctype,\n ProcessingInstruction,\n)\nfrom bs4.dammit import EntitySubstitution, UnicodeDammit\n\nfrom bs4.builder import (\n DetectsXMLParsedAsHTML,\n HTML,\n HTMLTreeBuilder,\n STRICT,\n)\n\nfrom bs4.exceptions import ParserRejectedMarkup\n\nif TYPE_CHECKING:\n from bs4 import BeautifulSoup\n from bs4.element import NavigableString\n from bs4._typing import (\n _Encoding,\n _Encodings,\n _RawMarkup,\n )\n\nHTMLPARSER = "html.parser"\n\n_DuplicateAttributeHandler = Callable[[Dict[str, str], str, str], None]\n\n\nclass BeautifulSoupHTMLParser(HTMLParser, DetectsXMLParsedAsHTML):\n #: Constant to handle duplicate attributes by ignoring later values\n #: and keeping the earlier ones.\n REPLACE: str = "replace"\n\n #: Constant to handle duplicate attributes by replacing earlier values\n #: with later ones.\n IGNORE: str = "ignore"\n\n """A subclass of the Python standard library's HTMLParser class, which\n listens for HTMLParser events and translates them into calls\n to Beautiful Soup's tree construction API.\n\n :param on_duplicate_attribute: A strategy for what to do if a\n tag includes the same attribute more than once. Accepted\n values are: REPLACE (replace earlier values with later\n ones, the default), IGNORE (keep the earliest value\n encountered), or a callable. A callable must take three\n arguments: the dictionary of attributes already processed,\n the name of the duplicate attribute, and the most recent value\n encountered.\n """\n\n def __init__(\n self,\n soup: BeautifulSoup,\n *args: Any,\n on_duplicate_attribute: Union[str, _DuplicateAttributeHandler] = REPLACE,\n **kwargs: Any,\n ):\n self.soup = soup\n self.on_duplicate_attribute = on_duplicate_attribute\n self.attribute_dict_class = soup.builder.attribute_dict_class\n HTMLParser.__init__(self, *args, **kwargs)\n\n # Keep a list of empty-element tags that were encountered\n # without an explicit closing tag. If we encounter a closing tag\n # of this type, we'll associate it with one of those entries.\n #\n # This isn't a stack because we don't care about the\n # order. It's a list of closing tags we've already handled and\n # will ignore, assuming they ever show up.\n self.already_closed_empty_element = []\n\n self._initialize_xml_detector()\n\n on_duplicate_attribute: Union[str, _DuplicateAttributeHandler]\n already_closed_empty_element: List[str]\n soup: BeautifulSoup\n\n def error(self, message: str) -> None:\n # NOTE: This method is required so long as Python 3.9 is\n # supported. The corresponding code is removed from HTMLParser\n # in 3.5, but not removed from ParserBase until 3.10.\n # https://github.com/python/cpython/issues/76025\n #\n # The original implementation turned the error into a warning,\n # but in every case I discovered, this made HTMLParser\n # immediately crash with an error message that was less\n # helpful than the warning. The new implementation makes it\n # more clear that html.parser just can't parse this\n # markup. The 3.10 implementation does the same, though it\n # raises AssertionError rather than calling a method. (We\n # catch this error and wrap it in a ParserRejectedMarkup.)\n raise ParserRejectedMarkup(message)\n\n def handle_startendtag(\n self, name: str, attrs: List[Tuple[str, Optional[str]]]\n ) -> None:\n """Handle an incoming empty-element tag.\n\n html.parser only calls this method when the markup looks like\n <tag/>.\n """\n # `handle_empty_element` tells handle_starttag not to close the tag\n # just because its name matches a known empty-element tag. We\n # know that this is an empty-element tag, and we want to call\n # handle_endtag ourselves.\n self.handle_starttag(name, attrs, handle_empty_element=False)\n self.handle_endtag(name)\n\n def handle_starttag(\n self,\n name: str,\n attrs: List[Tuple[str, Optional[str]]],\n handle_empty_element: bool = True,\n ) -> None:\n """Handle an opening tag, e.g. '<tag>'\n\n :param handle_empty_element: True if this tag is known to be\n an empty-element tag (i.e. there is not expected to be any\n closing tag).\n """\n # TODO: handle namespaces here?\n attr_dict: AttributeDict = self.attribute_dict_class()\n for key, value in attrs:\n # Change None attribute values to the empty string\n # for consistency with the other tree builders.\n if value is None:\n value = ""\n if key in attr_dict:\n # A single attribute shows up multiple times in this\n # tag. How to handle it depends on the\n # on_duplicate_attribute setting.\n on_dupe = self.on_duplicate_attribute\n if on_dupe == self.IGNORE:\n pass\n elif on_dupe in (None, self.REPLACE):\n attr_dict[key] = value\n else:\n on_dupe = cast(_DuplicateAttributeHandler, on_dupe)\n on_dupe(attr_dict, key, value)\n else:\n attr_dict[key] = value\n # print("START", name)\n sourceline: Optional[int]\n sourcepos: Optional[int]\n if self.soup.builder.store_line_numbers:\n sourceline, sourcepos = self.getpos()\n else:\n sourceline = sourcepos = None\n tag = self.soup.handle_starttag(\n name, None, None, attr_dict, sourceline=sourceline, sourcepos=sourcepos\n )\n if tag and tag.is_empty_element and handle_empty_element:\n # Unlike other parsers, html.parser doesn't send separate end tag\n # events for empty-element tags. (It's handled in\n # handle_startendtag, but only if the original markup looked like\n # <tag/>.)\n #\n # So we need to call handle_endtag() ourselves. Since we\n # know the start event is identical to the end event, we\n # don't want handle_endtag() to cross off any previous end\n # events for tags of this name.\n self.handle_endtag(name, check_already_closed=False)\n\n # But we might encounter an explicit closing tag for this tag\n # later on. If so, we want to ignore it.\n self.already_closed_empty_element.append(name)\n\n if self._root_tag_name is None:\n self._root_tag_encountered(name)\n\n def handle_endtag(self, name: str, check_already_closed: bool = True) -> None:\n """Handle a closing tag, e.g. '</tag>'\n\n :param name: A tag name.\n :param check_already_closed: True if this tag is expected to\n be the closing portion of an empty-element tag,\n e.g. '<tag></tag>'.\n """\n # print("END", name)\n if check_already_closed and name in self.already_closed_empty_element:\n # This is a redundant end tag for an empty-element tag.\n # We've already called handle_endtag() for it, so just\n # check it off the list.\n # print("ALREADY CLOSED", name)\n self.already_closed_empty_element.remove(name)\n else:\n self.soup.handle_endtag(name)\n\n def handle_data(self, data: str) -> None:\n """Handle some textual data that shows up between tags."""\n self.soup.handle_data(data)\n\n def handle_charref(self, name: str) -> None:\n """Handle a numeric character reference by converting it to the\n corresponding Unicode character and treating it as textual\n data.\n\n :param name: Character number, possibly in hexadecimal.\n """\n # TODO: This was originally a workaround for a bug in\n # HTMLParser. (http://bugs.python.org/issue13633) The bug has\n # been fixed, but removing this code still makes some\n # Beautiful Soup tests fail. This needs investigation.\n if name.startswith("x"):\n real_name = int(name.lstrip("x"), 16)\n elif name.startswith("X"):\n real_name = int(name.lstrip("X"), 16)\n else:\n real_name = int(name)\n\n data = None\n if real_name < 256:\n # HTML numeric entities are supposed to reference Unicode\n # code points, but sometimes they reference code points in\n # some other encoding (ahem, Windows-1252). E.g. &#147;\n # instead of &#201; for LEFT DOUBLE QUOTATION MARK. This\n # code tries to detect this situation and compensate.\n for encoding in (self.soup.original_encoding, "windows-1252"):\n if not encoding:\n continue\n try:\n data = bytearray([real_name]).decode(encoding)\n except UnicodeDecodeError:\n pass\n if not data:\n try:\n data = chr(real_name)\n except (ValueError, OverflowError):\n pass\n data = data or "\N{REPLACEMENT CHARACTER}"\n self.handle_data(data)\n\n def handle_entityref(self, name: str) -> None:\n """Handle a named entity reference by converting it to the\n corresponding Unicode character(s) and treating it as textual\n data.\n\n :param name: Name of the entity reference.\n """\n character = EntitySubstitution.HTML_ENTITY_TO_CHARACTER.get(name)\n if character is not None:\n data = character\n else:\n # If this were XML, it would be ambiguous whether "&foo"\n # was an character entity reference with a missing\n # semicolon or the literal string "&foo". Since this is\n # HTML, we have a complete list of all character entity references,\n # and this one wasn't found, so assume it's the literal string "&foo".\n data = "&%s" % name\n self.handle_data(data)\n\n def handle_comment(self, data: str) -> None:\n """Handle an HTML comment.\n\n :param data: The text of the comment.\n """\n self.soup.endData()\n self.soup.handle_data(data)\n self.soup.endData(Comment)\n\n def handle_decl(self, data: str) -> None:\n """Handle a DOCTYPE declaration.\n\n :param data: The text of the declaration.\n """\n self.soup.endData()\n data = data[len("DOCTYPE ") :]\n self.soup.handle_data(data)\n self.soup.endData(Doctype)\n\n def unknown_decl(self, data: str) -> None:\n """Handle a declaration of unknown type -- probably a CDATA block.\n\n :param data: The text of the declaration.\n """\n cls: Type[NavigableString]\n if data.upper().startswith("CDATA["):\n cls = CData\n data = data[len("CDATA[") :]\n else:\n cls = Declaration\n self.soup.endData()\n self.soup.handle_data(data)\n self.soup.endData(cls)\n\n def handle_pi(self, data: str) -> None:\n """Handle a processing instruction.\n\n :param data: The text of the instruction.\n """\n self.soup.endData()\n self.soup.handle_data(data)\n self._document_might_be_xml(data)\n self.soup.endData(ProcessingInstruction)\n\n\nclass HTMLParserTreeBuilder(HTMLTreeBuilder):\n """A Beautiful soup `bs4.builder.TreeBuilder` that uses the\n :py:class:`html.parser.HTMLParser` parser, found in the Python\n standard library.\n\n """\n\n is_xml: bool = False\n picklable: bool = True\n NAME: str = HTMLPARSER\n features: Iterable[str] = [NAME, HTML, STRICT]\n parser_args: Tuple[Iterable[Any], Dict[str, Any]]\n\n #: The html.parser knows which line number and position in the\n #: original file is the source of an element.\n TRACKS_LINE_NUMBERS: bool = True\n\n def __init__(\n self,\n parser_args: Optional[Iterable[Any]] = None,\n parser_kwargs: Optional[Dict[str, Any]] = None,\n **kwargs: Any,\n ):\n """Constructor.\n\n :param parser_args: Positional arguments to pass into\n the BeautifulSoupHTMLParser constructor, once it's\n invoked.\n :param parser_kwargs: Keyword arguments to pass into\n the BeautifulSoupHTMLParser constructor, once it's\n invoked.\n :param kwargs: Keyword arguments for the superclass constructor.\n """\n # Some keyword arguments will be pulled out of kwargs and placed\n # into parser_kwargs.\n extra_parser_kwargs = dict()\n for arg in ("on_duplicate_attribute",):\n if arg in kwargs:\n value = kwargs.pop(arg)\n extra_parser_kwargs[arg] = value\n super(HTMLParserTreeBuilder, self).__init__(**kwargs)\n parser_args = parser_args or []\n parser_kwargs = parser_kwargs or {}\n parser_kwargs.update(extra_parser_kwargs)\n parser_kwargs["convert_charrefs"] = False\n self.parser_args = (parser_args, parser_kwargs)\n\n def prepare_markup(\n self,\n markup: _RawMarkup,\n user_specified_encoding: Optional[_Encoding] = None,\n document_declared_encoding: Optional[_Encoding] = None,\n exclude_encodings: Optional[_Encodings] = None,\n ) -> Iterable[Tuple[str, Optional[_Encoding], Optional[_Encoding], bool]]:\n """Run any preliminary steps necessary to make incoming markup\n acceptable to the parser.\n\n :param markup: Some markup -- probably a bytestring.\n :param user_specified_encoding: The user asked to try this encoding.\n :param document_declared_encoding: The markup itself claims to be\n in this encoding.\n :param exclude_encodings: The user asked _not_ to try any of\n these encodings.\n\n :yield: A series of 4-tuples: (markup, encoding, declared encoding,\n has undergone character replacement)\n\n Each 4-tuple represents a strategy for parsing the document.\n This TreeBuilder uses Unicode, Dammit to convert the markup\n into Unicode, so the ``markup`` element of the tuple will\n always be a string.\n """\n if isinstance(markup, str):\n # Parse Unicode as-is.\n yield (markup, None, None, False)\n return\n\n # Ask UnicodeDammit to sniff the most likely encoding.\n\n known_definite_encodings: List[_Encoding] = []\n if user_specified_encoding:\n # This was provided by the end-user; treat it as a known\n # definite encoding per the algorithm laid out in the\n # HTML5 spec. (See the EncodingDetector class for\n # details.)\n known_definite_encodings.append(user_specified_encoding)\n\n user_encodings: List[_Encoding] = []\n if document_declared_encoding:\n # This was found in the document; treat it as a slightly\n # lower-priority user encoding.\n user_encodings.append(document_declared_encoding)\n\n dammit = UnicodeDammit(\n markup,\n known_definite_encodings=known_definite_encodings,\n user_encodings=user_encodings,\n is_html=True,\n exclude_encodings=exclude_encodings,\n )\n\n if dammit.unicode_markup is None:\n # In every case I've seen, Unicode, Dammit is able to\n # convert the markup into Unicode, even if it needs to use\n # REPLACEMENT CHARACTER. But there is a code path that\n # could result in unicode_markup being None, and\n # HTMLParser can only parse Unicode, so here we handle\n # that code path.\n raise ParserRejectedMarkup(\n "Could not convert input to Unicode, and html.parser will not accept bytestrings."\n )\n else:\n yield (\n dammit.unicode_markup,\n dammit.original_encoding,\n dammit.declared_html_encoding,\n dammit.contains_replacement_characters,\n )\n\n def feed(self, markup: _RawMarkup) -> None:\n args, kwargs = self.parser_args\n\n # HTMLParser.feed will only handle str, but\n # BeautifulSoup.markup is allowed to be _RawMarkup, because\n # it's set by the yield value of\n # TreeBuilder.prepare_markup. Fortunately,\n # HTMLParserTreeBuilder.prepare_markup always yields a str\n # (UnicodeDammit.unicode_markup).\n assert isinstance(markup, str)\n\n # We know BeautifulSoup calls TreeBuilder.initialize_soup\n # before calling feed(), so we can assume self.soup\n # is set.\n assert self.soup is not None\n parser = BeautifulSoupHTMLParser(self.soup, *args, **kwargs)\n\n try:\n parser.feed(markup)\n parser.close()\n except AssertionError as e:\n # html.parser raises AssertionError in rare cases to\n # indicate a fatal problem with the markup, especially\n # when there's an error in the doctype declaration.\n raise ParserRejectedMarkup(e)\n parser.already_closed_empty_element = []\n
.venv\Lib\site-packages\bs4\builder\_htmlparser.py
_htmlparser.py
Python
17,872
0.95
0.139241
0.242718
vue-tools
707
2024-09-13T14:31:18.985027
MIT
false
fbf36372ab1dcfdd0303edb99f13b831
# encoding: utf-8\nfrom __future__ import annotations\n\n# Use of this source code is governed by the MIT license.\n__license__ = "MIT"\n\n__all__ = [\n "LXMLTreeBuilderForXML",\n "LXMLTreeBuilder",\n]\n\n\nfrom typing import (\n Any,\n Dict,\n Iterable,\n List,\n Optional,\n Set,\n Tuple,\n Type,\n TYPE_CHECKING,\n Union,\n)\nfrom typing_extensions import TypeAlias\n\nfrom io import BytesIO\nfrom io import StringIO\nfrom lxml import etree\nfrom bs4.element import (\n AttributeDict,\n XMLAttributeDict,\n Comment,\n Doctype,\n NamespacedAttribute,\n ProcessingInstruction,\n XMLProcessingInstruction,\n)\nfrom bs4.builder import (\n DetectsXMLParsedAsHTML,\n FAST,\n HTML,\n HTMLTreeBuilder,\n PERMISSIVE,\n TreeBuilder,\n XML,\n)\nfrom bs4.dammit import EncodingDetector\nfrom bs4.exceptions import ParserRejectedMarkup\n\nif TYPE_CHECKING:\n from bs4._typing import (\n _Encoding,\n _Encodings,\n _NamespacePrefix,\n _NamespaceURL,\n _NamespaceMapping,\n _InvertedNamespaceMapping,\n _RawMarkup,\n )\n from bs4 import BeautifulSoup\n\nLXML: str = "lxml"\n\n\ndef _invert(d: dict[Any, Any]) -> dict[Any, Any]:\n "Invert a dictionary."\n return dict((v, k) for k, v in list(d.items()))\n\n\n_LXMLParser: TypeAlias = Union[etree.XMLParser, etree.HTMLParser]\n_ParserOrParserClass: TypeAlias = Union[\n _LXMLParser, Type[etree.XMLParser], Type[etree.HTMLParser]\n]\n\n\nclass LXMLTreeBuilderForXML(TreeBuilder):\n DEFAULT_PARSER_CLASS: Type[etree.XMLParser] = etree.XMLParser\n\n is_xml: bool = True\n\n processing_instruction_class: Type[ProcessingInstruction]\n\n NAME: str = "lxml-xml"\n ALTERNATE_NAMES: Iterable[str] = ["xml"]\n\n # Well, it's permissive by XML parser standards.\n features: Iterable[str] = [NAME, LXML, XML, FAST, PERMISSIVE]\n\n CHUNK_SIZE: int = 512\n\n # This namespace mapping is specified in the XML Namespace\n # standard.\n DEFAULT_NSMAPS: _NamespaceMapping = dict(xml="http://www.w3.org/XML/1998/namespace")\n\n DEFAULT_NSMAPS_INVERTED: _InvertedNamespaceMapping = _invert(DEFAULT_NSMAPS)\n\n nsmaps: List[Optional[_InvertedNamespaceMapping]]\n empty_element_tags: Set[str]\n parser: Any\n _default_parser: Optional[etree.XMLParser]\n\n # NOTE: If we parsed Element objects and looked at .sourceline,\n # we'd be able to see the line numbers from the original document.\n # But instead we build an XMLParser or HTMLParser object to serve\n # as the target of parse messages, and those messages don't include\n # line numbers.\n # See: https://bugs.launchpad.net/lxml/+bug/1846906\n\n def initialize_soup(self, soup: BeautifulSoup) -> None:\n """Let the BeautifulSoup object know about the standard namespace\n mapping.\n\n :param soup: A `BeautifulSoup`.\n """\n # Beyond this point, self.soup is set, so we can assume (and\n # assert) it's not None whenever necessary.\n super(LXMLTreeBuilderForXML, self).initialize_soup(soup)\n self._register_namespaces(self.DEFAULT_NSMAPS)\n\n def _register_namespaces(self, mapping: Dict[str, str]) -> None:\n """Let the BeautifulSoup object know about namespaces encountered\n while parsing the document.\n\n This might be useful later on when creating CSS selectors.\n\n This will track (almost) all namespaces, even ones that were\n only in scope for part of the document. If two namespaces have\n the same prefix, only the first one encountered will be\n tracked. Un-prefixed namespaces are not tracked.\n\n :param mapping: A dictionary mapping namespace prefixes to URIs.\n """\n assert self.soup is not None\n for key, value in list(mapping.items()):\n # This is 'if key' and not 'if key is not None' because we\n # don't track un-prefixed namespaces. Soupselect will\n # treat an un-prefixed namespace as the default, which\n # causes confusion in some cases.\n if key and key not in self.soup._namespaces:\n # Let the BeautifulSoup object know about a new namespace.\n # If there are multiple namespaces defined with the same\n # prefix, the first one in the document takes precedence.\n self.soup._namespaces[key] = value\n\n def default_parser(self, encoding: Optional[_Encoding]) -> _ParserOrParserClass:\n """Find the default parser for the given encoding.\n\n :return: Either a parser object or a class, which\n will be instantiated with default arguments.\n """\n if self._default_parser is not None:\n return self._default_parser\n return self.DEFAULT_PARSER_CLASS(target=self, recover=True, encoding=encoding)\n\n def parser_for(self, encoding: Optional[_Encoding]) -> _LXMLParser:\n """Instantiate an appropriate parser for the given encoding.\n\n :param encoding: A string.\n :return: A parser object such as an `etree.XMLParser`.\n """\n # Use the default parser.\n parser = self.default_parser(encoding)\n\n if callable(parser):\n # Instantiate the parser with default arguments\n parser = parser(target=self, recover=True, encoding=encoding)\n return parser\n\n def __init__(\n self,\n parser: Optional[etree.XMLParser] = None,\n empty_element_tags: Optional[Set[str]] = None,\n **kwargs: Any,\n ):\n # TODO: Issue a warning if parser is present but not a\n # callable, since that means there's no way to create new\n # parsers for different encodings.\n self._default_parser = parser\n self.soup = None\n self.nsmaps = [self.DEFAULT_NSMAPS_INVERTED]\n self.active_namespace_prefixes = [dict(self.DEFAULT_NSMAPS)]\n if self.is_xml:\n self.processing_instruction_class = XMLProcessingInstruction\n else:\n self.processing_instruction_class = ProcessingInstruction\n\n if "attribute_dict_class" not in kwargs:\n kwargs["attribute_dict_class"] = XMLAttributeDict\n super(LXMLTreeBuilderForXML, self).__init__(**kwargs)\n\n def _getNsTag(self, tag: str) -> Tuple[Optional[str], str]:\n # Split the namespace URL out of a fully-qualified lxml tag\n # name. Copied from lxml's src/lxml/sax.py.\n if tag[0] == "{":\n namespace, name = tag[1:].split("}", 1)\n return (namespace, name)\n else:\n return (None, tag)\n\n def prepare_markup(\n self,\n markup: _RawMarkup,\n user_specified_encoding: Optional[_Encoding] = None,\n document_declared_encoding: Optional[_Encoding] = None,\n exclude_encodings: Optional[_Encodings] = None,\n ) -> Iterable[\n Tuple[Union[str, bytes], Optional[_Encoding], Optional[_Encoding], bool]\n ]:\n """Run any preliminary steps necessary to make incoming markup\n acceptable to the parser.\n\n lxml really wants to get a bytestring and convert it to\n Unicode itself. So instead of using UnicodeDammit to convert\n the bytestring to Unicode using different encodings, this\n implementation uses EncodingDetector to iterate over the\n encodings, and tell lxml to try to parse the document as each\n one in turn.\n\n :param markup: Some markup -- hopefully a bytestring.\n :param user_specified_encoding: The user asked to try this encoding.\n :param document_declared_encoding: The markup itself claims to be\n in this encoding.\n :param exclude_encodings: The user asked _not_ to try any of\n these encodings.\n\n :yield: A series of 4-tuples: (markup, encoding, declared encoding,\n has undergone character replacement)\n\n Each 4-tuple represents a strategy for converting the\n document to Unicode and parsing it. Each strategy will be tried\n in turn.\n """\n if not self.is_xml:\n # We're in HTML mode, so if we're given XML, that's worth\n # noting.\n DetectsXMLParsedAsHTML.warn_if_markup_looks_like_xml(markup, stacklevel=3)\n\n if isinstance(markup, str):\n # We were given Unicode. Maybe lxml can parse Unicode on\n # this system?\n\n # TODO: This is a workaround for\n # https://bugs.launchpad.net/lxml/+bug/1948551.\n # We can remove it once the upstream issue is fixed.\n if len(markup) > 0 and markup[0] == "\N{BYTE ORDER MARK}":\n markup = markup[1:]\n yield markup, None, document_declared_encoding, False\n\n if isinstance(markup, str):\n # No, apparently not. Convert the Unicode to UTF-8 and\n # tell lxml to parse it as UTF-8.\n yield (markup.encode("utf8"), "utf8", document_declared_encoding, False)\n\n # Since the document was Unicode in the first place, there\n # is no need to try any more strategies; we know this will\n # work.\n return\n\n known_definite_encodings: List[_Encoding] = []\n if user_specified_encoding:\n # This was provided by the end-user; treat it as a known\n # definite encoding per the algorithm laid out in the\n # HTML5 spec. (See the EncodingDetector class for\n # details.)\n known_definite_encodings.append(user_specified_encoding)\n\n user_encodings: List[_Encoding] = []\n if document_declared_encoding:\n # This was found in the document; treat it as a slightly\n # lower-priority user encoding.\n user_encodings.append(document_declared_encoding)\n\n detector = EncodingDetector(\n markup,\n known_definite_encodings=known_definite_encodings,\n user_encodings=user_encodings,\n is_html=not self.is_xml,\n exclude_encodings=exclude_encodings,\n )\n for encoding in detector.encodings:\n yield (detector.markup, encoding, document_declared_encoding, False)\n\n def feed(self, markup: _RawMarkup) -> None:\n io: Union[BytesIO, StringIO]\n if isinstance(markup, bytes):\n io = BytesIO(markup)\n elif isinstance(markup, str):\n io = StringIO(markup)\n\n # initialize_soup is called before feed, so we know this\n # is not None.\n assert self.soup is not None\n\n # Call feed() at least once, even if the markup is empty,\n # or the parser won't be initialized.\n data = io.read(self.CHUNK_SIZE)\n try:\n self.parser = self.parser_for(self.soup.original_encoding)\n self.parser.feed(data)\n while len(data) != 0:\n # Now call feed() on the rest of the data, chunk by chunk.\n data = io.read(self.CHUNK_SIZE)\n if len(data) != 0:\n self.parser.feed(data)\n self.parser.close()\n except (UnicodeDecodeError, LookupError, etree.ParserError) as e:\n raise ParserRejectedMarkup(e)\n\n def close(self) -> None:\n self.nsmaps = [self.DEFAULT_NSMAPS_INVERTED]\n\n def start(\n self,\n tag: str | bytes,\n attrs: Dict[str | bytes, str | bytes],\n nsmap: _NamespaceMapping = {},\n ) -> None:\n # This is called by lxml code as a result of calling\n # BeautifulSoup.feed(), and we know self.soup is set by the time feed()\n # is called.\n assert self.soup is not None\n assert isinstance(tag, str)\n\n # We need to recreate the attribute dict for three\n # reasons. First, for type checking, so we can assert there\n # are no bytestrings in the keys or values. Second, because we\n # need a mutable dict--lxml might send us an immutable\n # dictproxy. Third, so we can handle namespaced attribute\n # names by converting the keys to NamespacedAttributes.\n new_attrs: Dict[Union[str, NamespacedAttribute], str] = (\n self.attribute_dict_class()\n )\n for k, v in attrs.items():\n assert isinstance(k, str)\n assert isinstance(v, str)\n new_attrs[k] = v\n\n nsprefix: Optional[_NamespacePrefix] = None\n namespace: Optional[_NamespaceURL] = None\n # Invert each namespace map as it comes in.\n if len(nsmap) == 0 and len(self.nsmaps) > 1:\n # There are no new namespaces for this tag, but\n # non-default namespaces are in play, so we need a\n # separate tag stack to know when they end.\n self.nsmaps.append(None)\n elif len(nsmap) > 0:\n # A new namespace mapping has come into play.\n\n # First, Let the BeautifulSoup object know about it.\n self._register_namespaces(nsmap)\n\n # Then, add it to our running list of inverted namespace\n # mappings.\n self.nsmaps.append(_invert(nsmap))\n\n # The currently active namespace prefixes have\n # changed. Calculate the new mapping so it can be stored\n # with all Tag objects created while these prefixes are in\n # scope.\n current_mapping = dict(self.active_namespace_prefixes[-1])\n current_mapping.update(nsmap)\n\n # We should not track un-prefixed namespaces as we can only hold one\n # and it will be recognized as the default namespace by soupsieve,\n # which may be confusing in some situations.\n if "" in current_mapping:\n del current_mapping[""]\n self.active_namespace_prefixes.append(current_mapping)\n\n # Also treat the namespace mapping as a set of attributes on the\n # tag, so we can recreate it later.\n for prefix, namespace in list(nsmap.items()):\n attribute = NamespacedAttribute(\n "xmlns", prefix, "http://www.w3.org/2000/xmlns/"\n )\n new_attrs[attribute] = namespace\n\n # Namespaces are in play. Find any attributes that came in\n # from lxml with namespaces attached to their names, and\n # turn then into NamespacedAttribute objects.\n final_attrs: AttributeDict = self.attribute_dict_class()\n for attr, value in list(new_attrs.items()):\n namespace, attr = self._getNsTag(attr)\n if namespace is None:\n final_attrs[attr] = value\n else:\n nsprefix = self._prefix_for_namespace(namespace)\n attr = NamespacedAttribute(nsprefix, attr, namespace)\n final_attrs[attr] = value\n\n namespace, tag = self._getNsTag(tag)\n nsprefix = self._prefix_for_namespace(namespace)\n self.soup.handle_starttag(\n tag,\n namespace,\n nsprefix,\n final_attrs,\n namespaces=self.active_namespace_prefixes[-1],\n )\n\n def _prefix_for_namespace(\n self, namespace: Optional[_NamespaceURL]\n ) -> Optional[_NamespacePrefix]:\n """Find the currently active prefix for the given namespace."""\n if namespace is None:\n return None\n for inverted_nsmap in reversed(self.nsmaps):\n if inverted_nsmap is not None and namespace in inverted_nsmap:\n return inverted_nsmap[namespace]\n return None\n\n def end(self, name: str | bytes) -> None:\n assert self.soup is not None\n assert isinstance(name, str)\n self.soup.endData()\n namespace, name = self._getNsTag(name)\n nsprefix = None\n if namespace is not None:\n for inverted_nsmap in reversed(self.nsmaps):\n if inverted_nsmap is not None and namespace in inverted_nsmap:\n nsprefix = inverted_nsmap[namespace]\n break\n self.soup.handle_endtag(name, nsprefix)\n if len(self.nsmaps) > 1:\n # This tag, or one of its parents, introduced a namespace\n # mapping, so pop it off the stack.\n out_of_scope_nsmap = self.nsmaps.pop()\n\n if out_of_scope_nsmap is not None:\n # This tag introduced a namespace mapping which is no\n # longer in scope. Recalculate the currently active\n # namespace prefixes.\n self.active_namespace_prefixes.pop()\n\n def pi(self, target: str, data: str) -> None:\n assert self.soup is not None\n self.soup.endData()\n data = target + " " + data\n self.soup.handle_data(data)\n self.soup.endData(self.processing_instruction_class)\n\n def data(self, data: str | bytes) -> None:\n assert self.soup is not None\n assert isinstance(data, str)\n self.soup.handle_data(data)\n\n def doctype(self, name: str, pubid: str, system: str) -> None:\n assert self.soup is not None\n self.soup.endData()\n doctype_string = Doctype._string_for_name_and_ids(name, pubid, system)\n self.soup.handle_data(doctype_string)\n self.soup.endData(containerClass=Doctype)\n\n def comment(self, text: str | bytes) -> None:\n "Handle comments as Comment objects."\n assert self.soup is not None\n assert isinstance(text, str)\n self.soup.endData()\n self.soup.handle_data(text)\n self.soup.endData(Comment)\n\n def test_fragment_to_document(self, fragment: str) -> str:\n """See `TreeBuilder`."""\n return '<?xml version="1.0" encoding="utf-8"?>\n%s' % fragment\n\n\nclass LXMLTreeBuilder(HTMLTreeBuilder, LXMLTreeBuilderForXML):\n NAME: str = LXML\n ALTERNATE_NAMES: Iterable[str] = ["lxml-html"]\n\n features: Iterable[str] = list(ALTERNATE_NAMES) + [NAME, HTML, FAST, PERMISSIVE]\n is_xml: bool = False\n\n def default_parser(self, encoding: Optional[_Encoding]) -> _ParserOrParserClass:\n return etree.HTMLParser\n\n def feed(self, markup: _RawMarkup) -> None:\n # We know self.soup is set by the time feed() is called.\n assert self.soup is not None\n encoding = self.soup.original_encoding\n try:\n self.parser = self.parser_for(encoding)\n self.parser.feed(markup)\n self.parser.close()\n except (UnicodeDecodeError, LookupError, etree.ParserError) as e:\n raise ParserRejectedMarkup(e)\n\n def test_fragment_to_document(self, fragment: str) -> str:\n """See `TreeBuilder`."""\n return "<html><body>%s</body></html>" % fragment\n
.venv\Lib\site-packages\bs4\builder\_lxml.py
_lxml.py
Python
18,545
0.95
0.167006
0.207229
python-kit
219
2025-05-27T02:02:25.155321
BSD-3-Clause
false
509a86bd9fa73bce275fd46977ed25f7