PageSourceSearch

https://vintagesynth.com/sites/default/files/js/js_GZc4K_jpTXapfJI…qf8D5Pyq2Tgu-0DuWx2T8Nrf8djewCfsrIa9Pqg9wAA

js vintagesynth.com collected 2026-10-02 02:23:09 UTC 5,786 bytes, 4 lines download raw bytes

1/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */
2(function($){$(window).on('load',function(){if(typeof drupalSettings.tagServices!="undefined"){googletag.pubads().enableSingleRequest();googletag.pubads().collapseEmptyDivs();googletag.enableServices();$.each(drupalSettings.tagServices,function(index,value){googletag.pubads().display(value.adUnitPath,value.size,value.id);});}});})(jQuery);;
3(function($){Drupal.behaviors.vsMenu={settings:{},isTouchDevice:function(){return (('ontouchstart' in window)||(navigator.MaxTouchPoints>0)||(navigator.msMaxTouchPoints>0));},attach:function(context,settings){var self=this;$.each(drupalSettings.vsTermMenuLink,function(index,value){if(typeof self.settings[index]=='undefined')self.settings[index]=value;});$(once('vsMenu','#block-vintagesynth-main-menu')).each(function(){var menu=$(this);if(self.isTouchDevice()){self.install(menu,'mobile');return;}var type=$(window).width()>=768?'desktop':'mobile';self.install(menu,type);$(window).resize(function(){if(type=='mobile'&&$(this).width()>=768){type='desktop';self.uninstall(menu,'mobile');self.install(menu,type);}else{if(type=='desktop'&&$(this).width()<768){type='mobile';self.uninstall(menu,'desktop');self.install(menu,type);}}});});},install:function(menu,type){var self=this;if(type=='mobile')menu.find('.vs-menu-item a').on('click',function(){var dropdown=$(this).parent().find('.dropdown-menu-big');if(dropdown.hasClass('open'))self.exclude($(this).parent());else self.include($(this).parent(),type);});else{menu.find('.vs-menu-item').on('mouseenter',function(){var dropdown=$(this).find('.dropdown-menu-big');if(!dropdown.hasClass('open'))self.include($(this),type);});menu.find('.vs-menu-item').on('mouseleave',function(){if(self._process===false)self.exclude($(this));});}},uninstall:function(menu,type){var dropdown=menu.find('.dropdown-menu-big');this.removeList(dropdown);if(type=='mobile'){menu.find('.vs-menu-item a').off('click');dropdown.removeClass('open');}else{menu.find('.vs-menu-item').off('mouseenter');menu.find('.vs-menu-item').off('mouseleave');}},include:function(item,type){var dropdown=item.parent().find('.dropdown-menu-big');var self=this;dropdown.addClass('open');var uuid=item.data('uuid');if(typeof this.settings[uuid]!='undefined'){if(typeof this.settings[uuid]['activeKey']=='undefined')this.settings[uuid]['activeKey']={type:'terms'};this.settings[uuid]['type']=type;self.addList(dropdown,uuid,this.settings[uuid]['activeKey']);}},exclude:function(item){var dropdown=item.find('.dropdown-menu-big');this.removeList(dropdown);dropdown.removeClass('open');},addList:function(dropdown,uuid,key){this._process=true;this.removeList(dropdown);this.settings[uuid]['activeKey']=key;if(key.type=='terms'){var title=Drupal.t('All Manufacturers');var back=false;var links=this.settings[uuid][key.type];}else{var title=this.settings[uuid]['terms'][key.id]['title'];var back=true;var links=this.settings[uuid][key.type][key.id];}var list=Drupal.theme('vsMenu',links,back,title,this.settings[uuid]['type']);dropdown.html(list);list=$('ul',dropdown);this.addListEvents(list,dropdown,uuid);this._process=false;},addListEvents:function(list,dropdown,uuid){var self=this;$('.vs-menu-item-link',list).on('click',function(){var tid=$(this).data('tid');if(tid==undefined)return;self.addList(dropdown,uuid,{type:'nodes',id:tid});});$('.vs-menu-item-back-link',list).on('click',function(){self.addList(dropdown,uuid,{type:'terms'});});},removeList:function(dropdown){dropdown.html('');}};Drupal.theme.vsMenu=function(linksObj,back,title,type){var links=$.map(linksObj,function(value,index){return [value];});links.sort(function(a,b){return a['title'].localeCompare(b['title']);});var list='';var i=0;if(links.length>7)list='<div class="scroll-help"></div>';if(typeof title!='undefined')list+='<div class="list-title">'+title+'</div>';list+='<ul>';$.each(links,function(id,link){if(typeof link['url']!='undefined'){list+='<li>';list+='<a class="vs-menu-item-link" href="'+link['url']+'">'+link['title']+'</a>';list+='</li>';}else{list+='<li>';list+='<a class="vs-menu-item-link" data-tid="'+link['key']+'">'+link['title']+'</a>';list+='</li>';}if(type=='desktop'&&++i===24){i=0;
3list+='</ul><ul>';}});if(back){list+='<li>';list+='<a class="vs-menu-item-back-link">'+Drupal.t('All Manufacturers')+'</a>';list+='</li>';}list+='</ul>';return list;};})(jQuery);;
4(function($){Drupal.behaviors.vsFivestarts={attach:function(context,settings){self=this;$(once('vsFivestarts','.vs-fivestars')).each(function(){var uuid=$(this).data('uuid');if(typeof drupalSettings.fiveStarts[uuid]!="undefined")self.innit($(this),drupalSettings.fiveStarts[uuid]);});},innit:function(fiveStart,options){var self=this;self.build(fiveStart,options);if(options['vote']){var starsWidth=fiveStart.find('.vs-fivestars-stars').width();fiveStart.find('ul > li').on('click',function(){fiveStart.find('ul > li').off('click');fiveStart.find('.vs-fivestars-hover').remove();options['params']['value']=$(this).find('a').data('value');$.ajax({url:'/vs-synth/add-vote',data:options['params'],dataType:"json"}).done(function(response){self.innit(fiveStart,response['data']);});});fiveStart.find('.vs-fivestars-stars').on('mousemove',function(e){var position=$(this).offset();var width=(e.pageX-position.left)/starsWidth*5;width=20*Math.ceil(width);$(this).find('.vs-fivestars-hover').css('width',width+'%');});fiveStart.find('.vs-fivestars-stars').on('mouseleave',function(e){$(this).find('.vs-fivestars-hover').css('width','0%');});}},build:function(fiveStart,options){var value=0;if(typeof options.value!="undefined")value=options.value;width=value*100/5;fiveStart.find('.vs-fivestars-value').width(width+'%');fiveStart.find('.vs-fivestars-description').html(options['description']);}};})(jQuery);;

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.