1 line
No EOL
16 KiB
JavaScript
1 line
No EOL
16 KiB
JavaScript
var Module=typeof pyodide._module!=="undefined"?pyodide._module:{};Module.checkABI(1);if(!Module.expectedDataFileDownloads){Module.expectedDataFileDownloads=0;Module.finishedDataFileDownloads=0}Module.expectedDataFileDownloads++;(function(){var loadPackage=function(metadata){var PACKAGE_PATH;if(typeof window==="object"){PACKAGE_PATH=window["encodeURIComponent"](window.location.pathname.toString().substring(0,window.location.pathname.toString().lastIndexOf("/"))+"/")}else if(typeof location!=="undefined"){PACKAGE_PATH=encodeURIComponent(location.pathname.toString().substring(0,location.pathname.toString().lastIndexOf("/"))+"/")}else{throw"using preloaded data can only be done on a web page or in a web worker"}var PACKAGE_NAME="bleach.data";var REMOTE_PACKAGE_BASE="bleach.data";if(typeof Module["locateFilePackage"]==="function"&&!Module["locateFile"]){Module["locateFile"]=Module["locateFilePackage"];err("warning: you defined Module.locateFilePackage, that has been renamed to Module.locateFile (using your locateFilePackage for now)")}var REMOTE_PACKAGE_NAME=Module["locateFile"]?Module["locateFile"](REMOTE_PACKAGE_BASE,""):REMOTE_PACKAGE_BASE;var REMOTE_PACKAGE_SIZE=metadata.remote_package_size;var PACKAGE_UUID=metadata.package_uuid;function fetchRemotePackage(packageName,packageSize,callback,errback){var xhr=new XMLHttpRequest;xhr.open("GET",packageName,true);xhr.responseType="arraybuffer";xhr.onprogress=function(event){var url=packageName;var size=packageSize;if(event.total)size=event.total;if(event.loaded){if(!xhr.addedTotal){xhr.addedTotal=true;if(!Module.dataFileDownloads)Module.dataFileDownloads={};Module.dataFileDownloads[url]={loaded:event.loaded,total:size}}else{Module.dataFileDownloads[url].loaded=event.loaded}var total=0;var loaded=0;var num=0;for(var download in Module.dataFileDownloads){var data=Module.dataFileDownloads[download];total+=data.total;loaded+=data.loaded;num++}total=Math.ceil(total*Module.expectedDataFileDownloads/num);if(Module["setStatus"])Module["setStatus"]("Downloading data... ("+loaded+"/"+total+")")}else if(!Module.dataFileDownloads){if(Module["setStatus"])Module["setStatus"]("Downloading data...")}};xhr.onerror=function(event){throw new Error("NetworkError for: "+packageName)};xhr.onload=function(event){if(xhr.status==200||xhr.status==304||xhr.status==206||xhr.status==0&&xhr.response){var packageData=xhr.response;callback(packageData)}else{throw new Error(xhr.statusText+" : "+xhr.responseURL)}};xhr.send(null)}function handleError(error){console.error("package error:",error)}var fetchedCallback=null;var fetched=Module["getPreloadedPackage"]?Module["getPreloadedPackage"](REMOTE_PACKAGE_NAME,REMOTE_PACKAGE_SIZE):null;if(!fetched)fetchRemotePackage(REMOTE_PACKAGE_NAME,REMOTE_PACKAGE_SIZE,function(data){if(fetchedCallback){fetchedCallback(data);fetchedCallback=null}else{fetched=data}},handleError);function runWithFS(){function assert(check,msg){if(!check)throw msg+(new Error).stack}Module["FS_createPath"]("/","lib",true,true);Module["FS_createPath"]("/lib","python3.8",true,true);Module["FS_createPath"]("/lib/python3.8","site-packages",true,true);Module["FS_createPath"]("/lib/python3.8/site-packages","bleach-3.1.5-py3.8.egg-info",true,true);Module["FS_createPath"]("/lib/python3.8/site-packages","bleach",true,true);Module["FS_createPath"]("/lib/python3.8/site-packages/bleach","_vendor",true,true);Module["FS_createPath"]("/lib/python3.8/site-packages/bleach/_vendor","html5lib-1.0.1.dist-info",true,true);Module["FS_createPath"]("/lib/python3.8/site-packages/bleach/_vendor","html5lib",true,true);Module["FS_createPath"]("/lib/python3.8/site-packages/bleach/_vendor/html5lib","treewalkers",true,true);Module["FS_createPath"]("/lib/python3.8/site-packages/bleach/_vendor/html5lib","treebuilders",true,true);Module["FS_createPath"]("/lib/python3.8/site-packages/bleach/_vendor/html5lib","treeadapters",true,true);Module["FS_createPath"]("/lib/python3.8/site-packages/bleach/_vendor/html5lib","filters",true,true);Module["FS_createPath"]("/lib/python3.8/site-packages/bleach/_vendor/html5lib","_trie",true,true);function DataRequest(start,end,audio){this.start=start;this.end=end;this.audio=audio}DataRequest.prototype={requests:{},open:function(mode,name){this.name=name;this.requests[name]=this;Module["addRunDependency"]("fp "+this.name)},send:function(){},onload:function(){var byteArray=this.byteArray.subarray(this.start,this.end);this.finish(byteArray)},finish:function(byteArray){var that=this;Module["FS_createPreloadedFile"](this.name,null,byteArray,true,true,function(){Module["removeRunDependency"]("fp "+that.name)},function(){if(that.audio){Module["removeRunDependency"]("fp "+that.name)}else{err("Preloading file "+that.name+" failed")}},false,true);this.requests[this.name]=null}};function processPackageData(arrayBuffer){Module.finishedDataFileDownloads++;assert(arrayBuffer,"Loading data file failed.");assert(arrayBuffer instanceof ArrayBuffer,"bad input to processPackageData");var byteArray=new Uint8Array(arrayBuffer);var curr;var compressedData={data:null,cachedOffset:303414,cachedIndexes:[-1,-1],cachedChunks:[null,null],offsets:[0,1370,2678,3896,4887,6058,7179,8314,9448,10698,11824,13144,14198,15259,16260,17062,18152,19595,20755,21973,22959,23975,25161,26355,27548,28552,29796,31355,32802,34187,35458,36748,37744,38785,39713,40803,41909,43292,44588,45734,46897,48023,49131,50224,51486,52790,53976,55353,56633,57966,59460,60961,62523,63992,65565,66978,68128,69122,70330,71868,73411,74863,76495,78083,79594,81139,82651,83829,85074,86282,87433,88398,89318,90138,91413,92715,94068,95423,96714,98175,99722,100870,101804,103067,104309,105412,106446,107224,108228,109379,110473,111534,112229,112764,113511,114362,115208,116219,117127,117911,118738,119865,120843,121897,122807,123590,124326,125201,126092,126924,127761,128658,129460,130416,131339,132273,133039,133910,134911,135858,136662,137555,138403,139246,140060,141059,141846,142829,143626,144578,145459,146258,147062,147945,148682,149611,150652,151442,152306,152985,153834,155264,156550,157800,158990,160102,161447,162582,163734,164901,166130,167102,168127,169268,170158,171285,172208,173153,174190,175506,176600,177679,178781,179787,180744,181536,182275,182965,183827,184408,185069,185699,186206,186791,187487,187998,188493,189248,190150,191018,191719,192395,193098,194149,194783,195284,195852,196489,197093,197946,198492,198984,199483,200078,200602,201175,202327,203181,203860,204704,205397,206070,206872,207495,208059,209100,210149,211284,212405,213370,214241,215180,216010,216792,217771,218630,219570,220503,221427,222332,223256,224195,225143,226051,226964,227859,228811,229622,230428,231338,232273,233191,234106,234919,235860,236767,237708,239063,240005,240948,241789,243073,244115,245031,246286,247214,248219,249166,250255,251396,252495,253626,254737,255853,256905,257995,258953,260148,261560,262733,263582,264573,265528,266407,267424,268326,269236,270173,271108,272048,273400,274244,275177,276185,277010,278099,279198,280251,281471,282566,283500,283958,284429,285120,285834,286552,287298,288083,289123,289996,291108,292267,293306,294551,295696,296337,297358,298228,299109,299964,300758,301789,302762],sizes:[1370,1308,1218,991,1171,1121,1135,1134,1250,1126,1320,1054,1061,1001,802,1090,1443,1160,1218,986,1016,1186,1194,1193,1004,1244,1559,1447,1385,1271,1290,996,1041,928,1090,1106,1383,1296,1146,1163,1126,1108,1093,1262,1304,1186,1377,1280,1333,1494,1501,1562,1469,1573,1413,1150,994,1208,1538,1543,1452,1632,1588,1511,1545,1512,1178,1245,1208,1151,965,920,820,1275,1302,1353,1355,1291,1461,1547,1148,934,1263,1242,1103,1034,778,1004,1151,1094,1061,695,535,747,851,846,1011,908,784,827,1127,978,1054,910,783,736,875,891,832,837,897,802,956,923,934,766,871,1001,947,804,893,848,843,814,999,787,983,797,952,881,799,804,883,737,929,1041,790,864,679,849,1430,1286,1250,1190,1112,1345,1135,1152,1167,1229,972,1025,1141,890,1127,923,945,1037,1316,1094,1079,1102,1006,957,792,739,690,862,581,661,630,507,585,696,511,495,755,902,868,701,676,703,1051,634,501,568,637,604,853,546,492,499,595,524,573,1152,854,679,844,693,673,802,623,564,1041,1049,1135,1121,965,871,939,830,782,979,859,940,933,924,905,924,939,948,908,913,895,952,811,806,910,935,918,915,813,941,907,941,1355,942,943,841,1284,1042,916,1255,928,1005,947,1089,1141,1099,1131,1111,1116,1052,1090,958,1195,1412,1173,849,991,955,879,1017,902,910,937,935,940,1352,844,933,1008,825,1089,1099,1053,1220,1095,934,458,471,691,714,718,746,785,1040,873,1112,1159,1039,1245,1145,641,1021,870,881,855,794,1031,973,652],successes:[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]};compressedData.data=byteArray;assert(typeof Module.LZ4==="object","LZ4 not present - was your app build with -s LZ4=1 ?");Module.LZ4.loadPackage({metadata:metadata,compressedData:compressedData});Module["removeRunDependency"]("datafile_bleach.data")}Module["addRunDependency"]("datafile_bleach.data");if(!Module.preloadResults)Module.preloadResults={};Module.preloadResults[PACKAGE_NAME]={fromCache:false};if(fetched){processPackageData(fetched);fetched=null}else{fetchedCallback=processPackageData}}if(Module["calledRun"]){runWithFS()}else{if(!Module["preRun"])Module["preRun"]=[];Module["preRun"].push(runWithFS)}};loadPackage({files:[{filename:"/lib/python3.8/site-packages/bleach-3.1.5-py3.8.egg-info/top_level.txt",start:0,end:7,audio:0},{filename:"/lib/python3.8/site-packages/bleach-3.1.5-py3.8.egg-info/PKG-INFO",start:7,end:28679,audio:0},{filename:"/lib/python3.8/site-packages/bleach-3.1.5-py3.8.egg-info/dependency_links.txt",start:28679,end:28680,audio:0},{filename:"/lib/python3.8/site-packages/bleach-3.1.5-py3.8.egg-info/not-zip-safe",start:28680,end:28681,audio:0},{filename:"/lib/python3.8/site-packages/bleach-3.1.5-py3.8.egg-info/SOURCES.txt",start:28681,end:31947,audio:0},{filename:"/lib/python3.8/site-packages/bleach-3.1.5-py3.8.egg-info/requires.txt",start:31947,end:31981,audio:0},{filename:"/lib/python3.8/site-packages/bleach/utils.py",start:31981,end:33096,audio:0},{filename:"/lib/python3.8/site-packages/bleach/sanitizer.py",start:33096,end:54371,audio:0},{filename:"/lib/python3.8/site-packages/bleach/linkifier.py",start:54371,end:74399,audio:0},{filename:"/lib/python3.8/site-packages/bleach/__init__.py",start:74399,end:78171,audio:0},{filename:"/lib/python3.8/site-packages/bleach/callbacks.py",start:78171,end:78963,audio:0},{filename:"/lib/python3.8/site-packages/bleach/html5lib_shim.py",start:78963,end:97429,audio:0},{filename:"/lib/python3.8/site-packages/bleach/_vendor/vendor.txt",start:97429,end:97615,audio:0},{filename:"/lib/python3.8/site-packages/bleach/_vendor/__init__.py",start:97615,end:97615,audio:0},{filename:"/lib/python3.8/site-packages/bleach/_vendor/README.rst",start:97615,end:98872,audio:0},{filename:"/lib/python3.8/site-packages/bleach/_vendor/pip_install_vendor.sh",start:98872,end:98962,audio:0},{filename:"/lib/python3.8/site-packages/bleach/_vendor/html5lib-1.0.1.dist-info/top_level.txt",start:98962,end:98971,audio:0},{filename:"/lib/python3.8/site-packages/bleach/_vendor/html5lib-1.0.1.dist-info/DESCRIPTION.rst",start:98971,end:112734,audio:0},{filename:"/lib/python3.8/site-packages/bleach/_vendor/html5lib-1.0.1.dist-info/metadata.json",start:112734,end:114465,audio:0},{filename:"/lib/python3.8/site-packages/bleach/_vendor/html5lib-1.0.1.dist-info/METADATA",start:114465,end:129949,audio:0},{filename:"/lib/python3.8/site-packages/bleach/_vendor/html5lib-1.0.1.dist-info/INSTALLER",start:129949,end:129953,audio:0},{filename:"/lib/python3.8/site-packages/bleach/_vendor/html5lib-1.0.1.dist-info/LICENSE.txt",start:129953,end:131037,audio:0},{filename:"/lib/python3.8/site-packages/bleach/_vendor/html5lib-1.0.1.dist-info/RECORD",start:131037,end:134637,audio:0},{filename:"/lib/python3.8/site-packages/bleach/_vendor/html5lib-1.0.1.dist-info/WHEEL",start:134637,end:134750,audio:0},{filename:"/lib/python3.8/site-packages/bleach/_vendor/html5lib/serializer.py",start:134750,end:150496,audio:0},{filename:"/lib/python3.8/site-packages/bleach/_vendor/html5lib/__init__.py",start:150496,end:151641,audio:0},{filename:"/lib/python3.8/site-packages/bleach/_vendor/html5lib/_ihatexml.py",start:151641,end:168346,audio:0},{filename:"/lib/python3.8/site-packages/bleach/_vendor/html5lib/html5parser.py",start:168346,end:287297,audio:0},{filename:"/lib/python3.8/site-packages/bleach/_vendor/html5lib/_utils.py",start:287297,end:291300,audio:0},{filename:"/lib/python3.8/site-packages/bleach/_vendor/html5lib/_inputstream.py",start:291300,end:323799,audio:0},{filename:"/lib/python3.8/site-packages/bleach/_vendor/html5lib/_tokenizer.py",start:323799,end:400367,audio:0},{filename:"/lib/python3.8/site-packages/bleach/_vendor/html5lib/constants.py",start:400367,end:483885,audio:0},{filename:"/lib/python3.8/site-packages/bleach/_vendor/html5lib/treewalkers/base.py",start:483885,end:491361,audio:0},{filename:"/lib/python3.8/site-packages/bleach/_vendor/html5lib/treewalkers/__init__.py",start:491361,end:497075,audio:0},{filename:"/lib/python3.8/site-packages/bleach/_vendor/html5lib/treewalkers/dom.py",start:497075,end:498488,audio:0},{filename:"/lib/python3.8/site-packages/bleach/_vendor/html5lib/treewalkers/etree.py",start:498488,end:503026,audio:0},{filename:"/lib/python3.8/site-packages/bleach/_vendor/html5lib/treewalkers/etree_lxml.py",start:503026,end:509323,audio:0},{filename:"/lib/python3.8/site-packages/bleach/_vendor/html5lib/treewalkers/genshi.py",start:509323,end:511632,audio:0},{filename:"/lib/python3.8/site-packages/bleach/_vendor/html5lib/treebuilders/base.py",start:511632,end:526199,audio:0},{filename:"/lib/python3.8/site-packages/bleach/_vendor/html5lib/treebuilders/__init__.py",start:526199,end:529791,audio:0},{filename:"/lib/python3.8/site-packages/bleach/_vendor/html5lib/treebuilders/dom.py",start:529791,end:538626,audio:0},{filename:"/lib/python3.8/site-packages/bleach/_vendor/html5lib/treebuilders/etree.py",start:538626,end:551378,audio:0},{filename:"/lib/python3.8/site-packages/bleach/_vendor/html5lib/treebuilders/etree_lxml.py",start:551378,end:565500,audio:0},{filename:"/lib/python3.8/site-packages/bleach/_vendor/html5lib/treeadapters/sax.py",start:565500,end:567276,audio:0},{filename:"/lib/python3.8/site-packages/bleach/_vendor/html5lib/treeadapters/__init__.py",start:567276,end:567926,audio:0},{filename:"/lib/python3.8/site-packages/bleach/_vendor/html5lib/treeadapters/genshi.py",start:567926,end:569641,audio:0},{filename:"/lib/python3.8/site-packages/bleach/_vendor/html5lib/filters/base.py",start:569641,end:569927,audio:0},{filename:"/lib/python3.8/site-packages/bleach/_vendor/html5lib/filters/inject_meta_charset.py",start:569927,end:572872,audio:0},{filename:"/lib/python3.8/site-packages/bleach/_vendor/html5lib/filters/sanitizer.py",start:572872,end:599108,audio:0},{filename:"/lib/python3.8/site-packages/bleach/_vendor/html5lib/filters/alphabeticalattributes.py",start:599108,end:600027,audio:0},{filename:"/lib/python3.8/site-packages/bleach/_vendor/html5lib/filters/whitespace.py",start:600027,end:601241,audio:0},{filename:"/lib/python3.8/site-packages/bleach/_vendor/html5lib/filters/__init__.py",start:601241,end:601241,audio:0},{filename:"/lib/python3.8/site-packages/bleach/_vendor/html5lib/filters/lint.py",start:601241,end:604872,audio:0},{filename:"/lib/python3.8/site-packages/bleach/_vendor/html5lib/filters/optionaltags.py",start:604872,end:615460,audio:0},{filename:"/lib/python3.8/site-packages/bleach/_vendor/html5lib/_trie/__init__.py",start:615460,end:615749,audio:0},{filename:"/lib/python3.8/site-packages/bleach/_vendor/html5lib/_trie/datrie.py",start:615749,end:616915,audio:0},{filename:"/lib/python3.8/site-packages/bleach/_vendor/html5lib/_trie/py.py",start:616915,end:618678,audio:0},{filename:"/lib/python3.8/site-packages/bleach/_vendor/html5lib/_trie/_base.py",start:618678,end:619608,audio:0}],remote_package_size:307510,package_uuid:"024c9c9c-ee12-4e8a-8778-f4fbf39d632f"})})(); |