SharePoint 2016 Search: Sorry, something went wrong – Control_QueryBuilderPreview.js error

Background: Recently I was working on creation of search result sources which were supposed to be used in one of my site collection for search results. But as I typed the query and clicked...