You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Matrix_Riot/riot/ed34daf37bd4be5e266c.worker...

1 line
10 KiB

{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./node_modules/blurhash/dist/error.js","webpack:///./node_modules/blurhash/dist/base83.js","webpack:///./node_modules/blurhash/dist/utils.js","webpack:///./node_modules/blurhash/dist/index.js","webpack:///./node_modules/matrix-react-sdk/src/workers/blurhash.worker.ts","webpack:///./node_modules/blurhash/dist/decode.js","webpack:///./node_modules/blurhash/dist/encode.js"],"names":["installedModules","__webpack_require__","moduleId","exports","module","i","l","modules","call","m","c","d","name","getter","o","Object","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","prototype","hasOwnProperty","p","s","extendStatics","__extends","this","b","setPrototypeOf","__proto__","Array","__","constructor","ValidationError","_super","message","_this","Error","digitCharacters","decode83","str","length","indexOf","encode83","result","digit","Math","floor","pow","sRGBToLinear","v","linearTosRGB","max","min","round","sign","signPow","val","exp","abs","decode_1","decode","default","isBlurhashValid","encode_1","encode","__export","ctx","self","addEventListener","event","seq","imageData","data","blurhash","width","height","postMessage","base83_1","utils_1","error_1","validateBlurhash","sizeFlag","numY","numX","error","errorReason","decodeDC","intR","intG","intB","decodeAC","maximumValue","quantR","quantG","quantB","punch","colors","substring","bytesPerRow","pixels","Uint8ClampedArray","y","x","g","j","basis","cos","PI","color","componentX","componentY","factors","_loop_1","_loop_2","normalisation","factor","basisFunction","scale","multiplyBasisFunction","push","dc","ac","slice","hash","actualMaximumValue","apply","map","quantisedMaximumValue","forEach","encodeAC"],"mappings":"aACE,IAAIA,EAAmB,CAAC,EAGxB,SAASC,EAAoBC,GAG5B,GAAGF,EAAiBE,GACnB,OAAOF,EAAiBE,GAAUC,QAGnC,IAAIC,EAASJ,EAAiBE,GAAY,CACzCG,EAAGH,EACHI,GAAG,EACHH,QAAS,CAAC,GAUX,OANAI,EAAQL,GAAUM,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