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/df68b9f4f43f094f5acf.worker...

1 line
9.8 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,GAGvB,SAASC,EAAoBC,GAG5B,GAAGF,EAAiBE,GACnB,OAAOF,EAAiBE,GAAUC,QAGnC,IAAIC,EAASJ,EAAiBE,GAAY,CACzCG,EAAGH,EACHI,GAAG,EACHH,QAAS,IAUV,OANAI,EAAQL,GAAUM,KAAKJ,E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