function getColoredPixelsWithLimit(t,a,e="left"){const o=new Set;for(let i=0;ia)&&o.add(Math.floor(i/4/t.width))}}return Array.from(o)}self.onmessage=function(t){if("analyzeImage"===t.data?.action){const{imageData:a}=t.data,e=getColoredPixelsWithLimit(a,0,"right");self.postMessage({action:"analyzedImage",coloredPixels:e})}};