securityos/node_modules/next/dist/server/lib/squoosh/codecs.js.map

1 line
6.5 KiB
Plaintext

{"version":3,"sources":["../../../../src/server/lib/squoosh/codecs.ts"],"names":["preprocessors","codecs","mozEncWasm","path","resolve","__dirname","mozDecWasm","webpEncWasm","webpDecWasm","avifEncWasm","avifDecWasm","pngEncDecWasm","pngEncDecInit","pngEncDec","default","fsp","readFile","pathify","oxipngWasm","oxipngInit","oxipng","resizeWasm","resizeInit","resize","rotateWasm","globalThis","ImageData","resizeNameToIndex","name","Error","resizeWithAspect","input_width","input_height","target_width","target_height","width","height","Math","round","description","instantiate","buffer","method","premultiply","linearRGB","imageData","cleanup","defaultOptions","fitMethod","rotate","numRotations","degrees","sameDimensions","size","instance","WebAssembly","memory","exports","additionalPagesNeeded","ceil","byteLength","grow","view","Uint8ClampedArray","set","slice","mozjpeg","extension","detectors","dec","instantiateEmscriptenWasm","mozDec","enc","mozEnc","defaultEncoderOptions","quality","baseline","arithmetic","progressive","optimize_coding","smoothing","color_space","quant_table","trellis_multipass","trellis_opt_zero","trellis_opt_table","trellis_loops","auto_subsample","chroma_subsample","separate_chroma_quality","chroma_quality","autoOptimize","option","min","max","webp","webpDec","webpEnc","target_size","target_PSNR","sns_strength","filter_strength","filter_sharpness","filter_type","partitions","segments","pass","show_compressed","preprocessing","autofilter","partition_limit","alpha_compression","alpha_filtering","alpha_quality","lossless","exact","image_hint","emulate_jpeg_size","thread_level","low_memory","near_lossless","use_delta_palette","use_sharp_yuv","avif","avifDec","avifEnc","cqLevel","cqAlphaLevel","denoiseLevel","tileColsLog2","tileRowsLog2","speed","subsample","chromaDeltaQ","sharpness","tune","decode","encode","opts","simplePng","Uint8Array","optimise","level"],"mappings":";;;;;;;;;;;;;;;IAqIaA,aAAa;eAAbA;;IAkFAC,MAAM;eAANA;;;oBAvNmB;8DACV;iCAC6B;yEAqChC;yEAGA;sEAMC;sEAGA;sEAMA;sEAGA;qEAKO;wEAOH;wEAMA;mEAQF;;;;;;;;;;;;;;;;;;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