1(function($){"use strict";$(function(){function fillBars(){$('.bar').each(function(){var bar=$(this);var percent=bar.attr('data-percent');bar.find('.progress').css('width',percent+'%').html('<span>'+percent+'</span>')})} 2fillBars();var tabs=$('.tabs');if(tabs.length){tabs.each(function(){if(!$(this).find('.tab-titles li a.active').length){$(this).find('.tab-titles li:first-child a').addClass('active');$(this).find('.tab-content > div:first-child').show()}else{$(this).find('.tab-content > div').eq($(this).find('.tab-titles li a.active').parent().index()).show()} 3setupFluidbox()});tabs.find('.tab-titles li a').on("click",function(){if($(this).hasClass('active')){return} 4$(this).parent().siblings().find('a').removeClass('active');$(this).addClass('active');$(this).parents('.tabs').find('.tab-content > div').hide().eq($(this).parent().index()).show();setupFluidbox();return!1})} 5var toggle=$('.toggle');if(toggle.length){var toggleSpeed=300;$('.toggle h4.active + .toggle-content').show();$('.toggle h4').on("click",function(){if($(this).hasClass('active')){$(this).removeClass('active');$(this).next('.toggle-content').stop(!0,!0).slideUp(toggleSpeed)}else{$(this).addClass('active');$(this).next('.toggle-content').stop(!0,!0).slideDown(toggleSpeed,function(){setupFluidbox()});setupFluidbox();if($(this).parents('.toggle-group').hasClass('accordion')){$(this).parent().siblings().find('h4').removeClass('active');$(this).parent().siblings().find('.toggle-content').stop(!0,!0).slideUp(toggleSpeed)}} 6return!1})} 7var contactForm=$('#contact-form');var $submit=contactForm.find('.submit');contactForm.submit(function(){if(contactForm.valid()){$submit.addClass("active loading");var formValues=contactForm.serialize();$.post(contactForm.attr('action'),formValues,function(data){if(data=='success'){setTimeout(function(){$submit.removeClass("loading").addClass("success");contactForm.clearForm()},2000)}else{$submit.removeClass("loading").addClass("error")}})} 8return!1});$.fn.clearForm=function(){Â return this.each(function(){Â Â var type=this.t
8ype,tag=this.tagName.toLowerCase();Â Â if(tag=='form') 9Â Â Â return $(':input',this).clearForm();Â Â if(type=='text'||type=='password'||tag=='textarea') 10Â Â Â this.value='';Â Â else if(type=='checkbox'||type=='radio') 11Â Â Â this.checked=!1;Â Â else if(tag=='select') 12Â Â Â this.selectedIndex=-1;Â })}})})(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.