PageSourceSearch

https://www.thebudgetdecorator.com/wp-content/cache/min/1/wp-conte…/js/shortcodes.js?ver=1790276113

js thebudgetdecorator.com collected 2026-10-03 21:20:24 UTC 2,389 bytes, 12 lines download raw bytes

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.