It belongs to the JA Megafilter plugin: /plugins/jamegafilter/content/fields/filterfields.php
like this one of plugin for Joomla article content. You can find the same in other plugins types. But in order to customize this, you will have to customize the JS file of JA Megafilter component so it can work properly.