1function renameUiClasses(){var classes=["ui-accordion","ui-accordion-header","ui-accordion-header-active","ui-corner-top","ui-accordion-icons","ui-accordion-header-icon","ui-icon","ui-icon-triangle-1-s","ui-icon-triangle-1-e","ui-accordion-content-active","ui-accordion-content","ui-tabs","ui-widget","ui-tabs-vertical","ui-tabs-horizontal","ui-tabs-nav","ui-helper-reset","ui-helper-clearfix","ui-widget-header","ui-corner-all","ui-tabs-active","ui-corner-left","ui-tabs-panel","ui-widget-content","ui-corner-bottom","ui-corner-all"];jQuery.each(classes,function(k,v){var nClass=v.replace("ui-","ait-");jQuery(".elm-toggles-main ."+v).removeClass(v).addClass(nClass);});} 2function removeUnwantedClasses(){if(isResponsive(1024)){if(jQuery("body").hasClass("preloading-enabled")){jQuery("body").removeClass("preloading-enabled");}}} 3function initWPGallery(){jQuery(".gallery").each(function(){var rel=jQuery(this).attr('id');jQuery(this).find('.gallery-item').each(function(){var link=jQuery(this).find('a');link.attr('rel',rel);link.colorbox({rel:rel});});});} 4function initColorbox(){jQuery('body.single-ait-item .social-container .soc.pinterest').find('a').addClass('disable-default-colorbox');jQuery('a:not(.disable-default-colorbox)[href*=".jpg"],a:not(.disable-default-colorbox)[href*=".jpeg"],a:not(.disable-default-colorbox)[href*=".png"],a:not(.disable-default-colorbox)[href*=".gif"]').each(function(){if(typeof jQuery(this).attr('data-rel')==="undefined"||jQuery(this).attr('data-rel')===false||typeof jQuery(this).attr('rel')==="undefined"||jQuery(this).attr('rel')===false){if(!isMobile()||jQuery(this).parent().hasClass("woocommerce-product-gallery__image")){jQuery(this).colorbox({maxWidth:"95%",maxHeight:"95%",onOpen:true,onClosed:true,});}else{jQuery(this).click(function(e){e.preventDefault();})}}});} 5function initRatings(){jQuery('.item-rating').raty({font:true,readOnly:true,halfShow:true,starHalf:'fa-star-half-o',starOff:'fa-star-o',starOn:'fa-star',score:function(){return((5*jQuery(this).attr('data-rating'))/100);}});} 6function initInfieldLabels(){jQuery('.comment-form label').inFieldLabels();} 7function initSelectBox(){jQuery('.selectbox').selectbox();var selectId;var oldStyle;if(jQuery('body').hasClass('woocommerce-page')){jQuery('select:not(.default-disabled)').not('#content select:not(.default-disabled)').selectbox({onOpen:function(inst){selectId=inst.settings.classHolder+"_"+inst.uid;jQuery("#"+selectId).attr('style','z-index: 100 !important');},onClose:function(inst){jQuery("#"+selectId).delay(100).queue(function(next){jQuery(this).removeAttr("style");next();});}});jQuery('#content .woocommerce-tabs select#rating').selectbox({onOpen:function(inst){selectId=inst.settings.classHolder+"_"+inst.uid;jQuery("#"+selectId).attr('style','z-index: 100 !important');},onClose:function(inst){jQuery("#"+selectId).delay(100).queue(function(next){jQuery(this).removeAttr("style");next();});}});}else{jQuery('select:not(.default-disabled)').selectbox({onOpen:function(inst){selectId=inst.settings.classHolder+"_"+inst.uid;jQuery("#"+selectId).attr('style','z-index: 100 !important');},onClose:function(inst){jQuery("#"+selectId).delay(100).queue(function(next){jQuery(this).removeAttr("style");next();});}});}} 8function notificationClose(){jQuery('.ait-sc-notification a.close').click(function(e){e.preventDefault();jQuery(this).parent().fadeOut('slow');});} 9function touchFriendlyHover(elms){var basicClass=".ait-toggle-hover";elms=typeof elms!=='undefined'?elms:[];elms.push(basicClass);var action={click:function(elm,isPseudo){jQuery(elm).click(function(e){e.preventDefault();var $element=action.createElm(jQuery(this),isPseudo);if(!$element.hasClass('hover')){action.hideOthers(elms);} 10$element.toggleClass('hover');});},hover:function(elm,isPseudo){var $element=action.createElm(jQuery(elm),isPseudo);$element.mouseenter(function(){jQuery(this).addClass('hover');});$element.mouseleave(function(){jQuery(this).removeClass('hover');});},hideOthers:function(elms){jQuery.each(elms,function(i,elm){var isPseudo=action.checkForPseudo(elm);var elm=action.removePseudo(elm,isPseudo);var $element=action.createElm(jQuery(elm),isPseudo);$element.removeClass('hover');});jQuery(document).trigger('touchFriendlyHover_HideOthers');},checkForPseudo:function(elm){var bool=false;if(elm.indexOf(':before')!==-1||elm.indexOf(':after')!==-1){bool=true;} 11return bool;},removePseudo:function(elm,bool){if(bool){elm=elm.replace(':before','').replace(':after','');} 12return elm;},createElm:function($obj,bool){return $obj=bool?$obj:$obj.parent();}} 13jQuery.each(elms,function(i,elm){var isPseudo=action.checkForPseudo(elm);var elm=action.removePseudo(elm,isPseudo);if(!jQuery(elm).hasClass('ait-click-only')&&!isResponsive(640)){action.hover(elm,isPseudo);} 14action.click(elm,isPseudo);});} 15function enableResponsiveToggleAreas(anim){var toggles=jQuery('.ait-toggle-area-btn');var toggleAreas=function(elm){if(!anim||!jQuery(elm).hasClass('active')){jQuery(elm).toggleClass('active');}else{if(jQuery(elm).hasClass('active')){jQuery(elm).addClass('animate');} 16setTimeout(function(){jQuery(elm).removeClass('animate');jQuery(elm).toggleClass('active');},300);}} 17jQuery.each(toggles,function(i,toggle){jQuery(toggle).click(function(e){e.preventDefault();var group=jQuery(this).parent().parent().parent();if(group.hasClass('ait-toggle-area-group-container')){group.addClass('has-active');var siblings=jQuery(this).siblings('.active');jQuery.each(siblings,function(i,sibling){jQuery(sibling).toggleClass('active');var siblingAreas=jQuery(sibling).data('toggle');
17if(jQuery.isArray(siblingAreas)){jQuery.each(siblingAreas,function(i,siblingArea){toggleAreas(siblingArea,anim=false);});}else{toggleAreas(siblingAreas,anim=false);}});} 18jQuery(this).toggleClass('active');if(jQuery(this).attr('id')){jQuery(document).trigger(jQuery(this).attr('id'));} 19var areas=jQuery(this).data('toggle');if(jQuery.isArray(areas)){jQuery.each(areas,function(i,area){toggleAreas(area);});}else{toggleAreas(areas);} 20if(group.hasClass('ait-toggle-area-group-container')&&group.find('.active:not(.animate)').length!=0){group.addClass('has-active');}else{group.removeClass('has-active');}});});}
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.