PageSourceSearch

https://galaxy-fitness.at/wp-content/cache/min/1/wp-content/plugin…/assets/js/frontend.js?ver=1789756087

js galaxy-fitness.at collected 2026-10-04 14:12:05 UTC 24,492 bytes, 77 lines download raw bytes

1'use strict';(function($){var woosc_timer=0;$(function(){woosc_color();woosc_change_count('first');woosc_check_buttons();woosc_hide_empty();woosc_hide_similarities();woosc_highlight_differences();if(woosc_vars.reload_count==='yes'){woosc_load_data('count')}
2if(woosc_vars.open_bar==='yes'){woosc_load_data('bar');woosc_open_bar()}
3$('.woosc-settings-fields').sortable({handle:'.move',update:function(event,ui){woosc_save_settings()},});if(woosc_vars.button_action==='show_message'){$.notiny.addTheme('woosc',{notification_class:'notiny-theme-woosc',})}
4woosc_quick_table()});$(window).on('resize',function(){woosc_quick_table()});$(document).on('click touch','.woosc_table .woosq-btn, .woosc_table .woosq-link',function(e){e.preventDefault();woosc_close()});$(document).on('click touch','.woosc-sidebar .woosq-btn, .woosc-sidebar .woosq-link',function(e){e.preventDefault();woosc_close_sidebar()});$(document).on('click touch','.woosc-table-settings',function(e){e.preventDefault();$('.woosc-settings').toggleClass('open')});$(document).on('click touch','.woosc-bar-print',function(e){e.preventDefault();$.print('#woosc-area')});$(document).on('change','#woosc-filter',function(e){e.preventDefault();woosc_filter()});$(document).on('keydown',function(e){if((e.ctrlKey==!0||e.metaKey==!0)&&(e.which=='80')){if($('.woosc-area').hasClass('woosc-area-open-table')){e.preventDefault();$.print('#woosc-area')}}});$(document).on('click touch','.woosc-bar-share',function(e){e.preventDefault();$('.woosc-share').toggleClass('open');$('.woosc-share-content').addClass('woosc-loading');var data={action:'woosc_share',nonce:woosc_vars.nonce,};jQuery.post(woosc_vars.wc_ajax_url.toString().replace('%%endpoint%%','woosc_share'),data,function(response){$('.woosc-share-content').html(response).removeClass('woosc-loading')})});$(document).on('click touch','#woosc_copy_url, #woosc_copy_btn',function(e){e.preventDefault();let $link=$('#woosc_copy_url');let link=$link.val();navigator.clipboard.writeText(link).then(function(){alert(woosc_vars.copied_text.replace('%s',link))},function(){alert('Failure to copy!')});$link.select()});$(document).on('click touch','.woosc-bar-search',function(e){e.preventDefault();$('.woosc-search').toggleClass('open');if($('.woosc-search-result').text()===''){if(woosc_timer!=null){clearTimeout(woosc_timer)}
5woosc_timer=setTimeout(woosc_search,300);return!1}});$(document).on('click touch','.woosc-popup',function(e){if($(e.target).closest('.woosc-popup-content').length===0){$(this).toggleClass('open')}});$(document).on('keyup','#woosc_search_input',function(){if($('#woosc_search_input').val()!==''){if(woosc_timer!=null){clearTimeout(woosc_timer)}
6woosc_timer=setTimeout(woosc_search,300);return!1}});$(document).on('click touch','.woosc-item-add',function(e){e.preventDefault();var product_id=$(this).attr('data-id');$('.woosc-search').toggleClass('open');woosc_add_product(product_id);woosc_load_data('table');woosc_open_table()});$(document).on('click touch','.woosc-popup-close',function(e){e.preventDefault();$(this).closest('.woosc-popup').toggleClass('open')});$(document).on('woovr_selected',function(e,selected){if(woosc_vars.variations==='yes'){var id=selected.attr('data-id');var pid=selected.attr('data-pid');if(id>0){$('.woosc-btn-'+pid).removeClass('woosc-btn-added woosc-added').attr('data-id',id).attr('data-product_id',id)}else{$('.woosc-btn-'+pid).removeClass('woosc-btn-added woosc-added').attr('data-id',pid).attr('data-product_id',pid)}}});$(document).on('found_variation',function(e,t){if(woosc_vars.variations==='yes'){var product_id=$(e.target).attr('data-product_id');$('.woosc-btn-'+product_id).each(function(){let $btn=$(this);let text=$btn.data('text')!==undefined&&$btn.data('text')!==''?$btn.data('text'):woosc_vars.button_text;$btn.removeClass('woosc-btn-added woosc-added').attr('data-id',t.variation_id).attr('data-product_id',t.variation_id);if($btn.hasClass('woosc-btn-has-icon')){$btn.find('.woosc-btn-icon').removeClass(woosc_vars.button_added_icon).addClass(woosc_vars.button_normal_icon);$btn.find('.woosc-btn-text').text(text)}else{$btn.text(text)}})}});$(document).on('reset_data',function(e){if(woosc_vars.variations==='yes'){var product_id=$(e.target).attr('data-product_id');$('.woosc-btn-'+product_id).each(function(){let $btn=$(this);let text=$btn.data('text')!==undefined&&$btn.data('text')!==''?$btn.data('text'):woosc_vars.button_text;$btn.removeClass('woosc-btn-added woosc-added').attr('data-id',product_id).attr('data-product_id',product_id);if($btn.hasClass('woosc-btn-has-icon')){$btn.find('.woosc-btn-icon').removeClass(woosc_vars.button_added_icon).addClass(woosc_vars.button_normal_icon);$btn.find('.woosc-btn-text').text(text)}else{$btn.text(text)}})}});$(document).on('click touch','.woosc-bar-remove',function(e){e.preventDefault();var r=confirm(woosc_vars.remove_all);if(r==!0){woosc_remove_product('all');woosc_load_data('table')}});$(document).on('click touch','.woosc-btn',function(e){e.preventDefault();var $btn=$(this);var id=$btn.attr('data-id');var pid=$btn.attr('data-pid');var product_id=$btn.attr('data-product_id');var product_name=$btn.attr('data-product_name');var product_image=$btn.attr('data-product_image');if(typeof pid!==typeof undefined&&pid!==!1){id=pid}
7if(typeof product_id!==typeof undefined&&product_id!==!1){id=product_id}
8if($btn.hasClass('woosc-btn-added woosc-added')){if(woosc_vars.click_again==='yes'){woosc_remove_product(id);if(woosc_vars.button_action==='show_message'){$.notiny({theme:'woosc',position:woosc_vars.message_position,image:product_image,text:woosc_vars.message_removed.replace('{name}','<strong>'+product_name+'</strong>'),})}}else{if(woosc_vars.button_action==='show_message'){$.notiny({theme:'woosc',position:woosc_vars.message_position,image:product_image,text:woosc_vars.message_exists.replace('{name}','<strong>'+product_name+'</strong>'),})}}}else{$btn.addClass('woosc-btn-adding woosc-adding');woosc_add_product(id,$btn)}
9if(woosc_vars.button_action==='show_bar'){woosc_load_data('bar');woosc_open_bar()}
10if(woosc_vars.button_action==='show_table'){woosc_load_data('table');woosc_open_bar();woosc_open_table()}
11if((woosc_vars.button_action==='show_message')||(woosc_vars.button_action==='none')){
11if($('.woosc-bar').hasClass('woosc-bar-open')){woosc_load_data('bar')}}
12if(woosc_vars.button_action==='show_sidebar'){woosc_load_data('sidebar');woosc_open_sidebar()}});$(document).on('click touch','#woosc-area .woosc-bar-item-remove, #woosc-area .woosc-remove',function(e){e.preventDefault();var product_id=$(this).attr('data-id');$(this).parent().addClass('removing');woosc_remove_product(product_id);woosc_load_data('table');woosc_check_buttons()});$(document).on('click touch','.woosc-page .woosc-remove',function(e){e.preventDefault();var product_id=$(this).attr('data-id');woosc_remove_product(product_id);location.reload()});$(document).on('click touch','.woosc-page .woosc-remove-all',function(e){e.preventDefault();var r=confirm(woosc_vars.remove_all);if(r==!0){woosc_remove_product('all')}
13location.reload()});$(document).on('click touch','.woosc-sidebar-item-remove',function(e){e.preventDefault();var product_id=$(this).closest('.woosc-sidebar-item').attr('data-id');woosc_remove_product(product_id);$(this).closest('.woosc-sidebar-item').slideUp();woosc_check_buttons()});$(document).on('click touch','.woosc-bar-btn',function(e){e.preventDefault();if(!$('.woosc-table-items').hasClass('woosc-table-items-loaded')){woosc_load_data('table')}
14woosc_toggle_table()});$(document).on('click touch',function(e){if(((woosc_vars.click_outside==='yes')||((woosc_vars.click_outside==='yes_empty')&&(parseInt($('.woosc-bar').attr('data-count'))===0)))&&($(e.target).closest('.wpc_compare_count').length===0)&&($(e.target).closest('.woosc-popup').length===0)&&($(e.target).closest('.woosc-btn').length===0)&&($(e.target).closest('.woosc-table').length===0)&&($(e.target).closest('.woosc-bar').length===0)&&($(e.target).closest('.woosc-menu-item a').length===0)&&($(e.target).closest('.woosc-link a').length===0)&&($(e.target).closest('.woosc-menu a').length===0)&&($(e.target).closest('.woosc-sidebar-btn').length===0)&&((woosc_vars.open_button==='')||($(e.target).closest(woosc_vars.open_button).length===0))){woosc_close()}});$(document).on('click touch','.woosc-area-open-sidebar',function(e){if(($(e.target).closest('.woosc-sidebar').length===0)){woosc_close_sidebar();if(woosc_vars.open_bar==='yes'){woosc_load_data('bar');woosc_open_bar()}}});$(document).on('click touch','.woosc-sidebar-close, .woosc-sidebar-continue',function(e){woosc_close_sidebar();if(woosc_vars.open_bar==='yes'){woosc_load_data('bar');woosc_open_bar()}});$(document).on('click touch','.woosc-sidebar-btn',function(e){e.preventDefault();woosc_close_sidebar();woosc_toggle()});$(document).on('click touch','#woosc-table-close',function(e){e.preventDefault();woosc_close_table()});$(document).on('change','.woosc-settings-field, .woosc-settings-tool',function(){woosc_save_settings()});if(woosc_vars.open_button!==''){$(document).on('click touch',woosc_vars.open_button,function(e){e.preventDefault();if(woosc_vars.open_button_action==='open_page'){if((woosc_vars.page_url!=='')&&(woosc_vars.page_url!=='#')){window.location.href=woosc_vars.page_url}}else{if(woosc_vars.open_button_action==='open_popup'){if(!$('.woosc-table-items').hasClass('woosc-table-items-loaded')){woosc_load_data('table')}
15woosc_open_bar();woosc_open_table()}
16if(woosc_vars.open_button_action==='open_sidebar'){if(!$('.woosc-sidebar-items').hasClass('woosc-sidebar-items-loaded')){woosc_load_data('sidebar')}
17woosc_open_sidebar()}}})}
18$(document).on('click touch','.woosc-menu-item a, .woosc-menu a, .woosc-link a',function(e){if(woosc_vars.menu_action==='open_popup'){e.preventDefault();if(!$('.woosc-table-items').hasClass('woosc-table-items-loaded')){woosc_load_data('table')}
19woosc_open_bar();woosc_open_table()}
20if(woosc_vars.menu_action==='open_sidebar'){e.preventDefault();if(!$('.woosc-sidebar-items').hasClass('woosc-sidebar-items-loaded')){woosc_load_data('sidebar')}
21woosc_open_sidebar()}});function woosc_search(){$('.woosc-search-result').html('').addClass('woosc-loading');woosc_timer=null;var data={action:'woosc_search',keyword:$('#woosc_search_input').val(),nonce:woosc_vars.nonce,};$.post(woosc_vars.wc_ajax_url.toString().replace('%%endpoint%%','woosc_search'),data,function(response){$('.woosc-search-result').html(response).removeClass('woosc-loading')})}
22function woosc_set_cookie(cname,cvalue,exdays){var d=new Date();d.setTime(d.getTime()+(exdays*24*60*60*1000));var expires='expires='+d.toUTCString();document.cookie=cname+'='+cvalue+'; '+expires+'; path=/'}
23function woosc_get_cookie(cname){var name=cname+'=';var ca=document.cookie.split(';');for(var i=0;i<ca.length;i++){var c=ca[i];while(c.charAt(0)==' '){c=c.substring(1)}
24if(c.indexOf(name)==0){return decodeURIComponent(c.substring(name.length,c.length))}}
25return''}
26function woosc_get_products(){var cookie_products=woosc_get_cookie_products();if(woosc_get_cookie(cookie_products)!=''){return woosc_get_cookie(cookie_products)}else{return''}}
27function woosc_save_products(){var cookie_products=woosc_get_cookie_products();var products=[];$('.woosc-bar-item').each(function(){var pid=$(this).attr('data-id');if(pid!==''){products.push(pid)}});var products_str=products.join();woosc_set_cookie(cookie_products,products_str,7);woosc_load_data('table')}
28function woosc_save_settings(){var fields=[];var settings=[];var cookie_fields='woosc_fields_'+woosc_vars.hash;var cookie_settings='woosc_settings_'+woosc_vars.hash;if(woosc_vars.user_id!==''){cookie_fields+='_'+woosc_vars.user_id;cookie_settings+='_'+woosc_vars.user_id}
29$('.woosc-settings-field').each(function(){var _val=$(this).val();if($(this).prop('checked')){fields.push(_val);$('.woosc_table .tr-'+_val).removeClass('tr-hide')}else{$('.woosc_table .tr-'+_val).addClass('tr-hide')}});$('.woosc-settings-tool').each(function(){var _val=$(this).val();if($(this).prop('checked')){settings.push(_val)}});woosc_set_cookie(cookie_fields,fields.join(','),7);woosc_set_cookie(cookie_settings,settings.join(','),7);woosc_load_data('table')}
30function woosc_add_product(product_id,$btn=null){var count;var limit=!1;var limit_notice=woosc_vars.limit_notice;var cookie_products=woosc_get_cookie_products();if(woosc_get_cookie(cookie_products)!==''){var products=woosc_get_cookie(cookie_products).split(',');if(products.length<woosc_vars.limit){products=$.grep(products,function(value){return value!=product_id});if(woosc_vars.adding==='append'){products.push(product_id)}else{products.unshift(product_id)}
31var products_str=products.join();woosc_set_cookie(cookie_products,products_str,7)}else{limit=!0;limit_notice=limit_notice.replace('{limit}',woosc_vars.limit)}
32count=products.length}else{woosc_set_cookie(cookie_products,product_id,7);count=1}
33woosc_change_count(count);$(document.body).trigger('woosc_added',[count]);if(limit){$('.woosc-btn[data-id="'+product_id+'"]').removeClass('woosc-btn-adding woosc-adding');alert(limit_notice)}else{$('.woosc-btn[data-id="'+product_id+'"]').each(function(){let $btn=$(this);
33let text_added=$btn.data('text_added')!==undefined&&$btn.data('text_added')!==''?$btn.data('text_added'):woosc_vars.button_text_added;$btn.removeClass('woosc-btn-adding woosc-adding').addClass('woosc-btn-added woosc-added');if($btn.hasClass('woosc-btn-has-icon')){$btn.find('.woosc-btn-icon').removeClass(woosc_vars.button_normal_icon).addClass(woosc_vars.button_added_icon);$btn.find('.woosc-btn-text').text(text_added)}else{$btn.text(text_added)}});if(woosc_vars.button_action==='show_message'){if($btn!==null&&$btn.data('product_name')!==undefined&&$btn.data('product_name')!==''&&($btn.data('product_image')!==undefined&&$btn.data('product_image')!=='')){$.notiny({theme:'woosc',position:woosc_vars.message_position,image:$btn.data('product_image'),text:woosc_vars.message_added.replace('{name}','<strong>'+$btn.data('product_name')+'</strong>'),})}}}}
34function woosc_remove_product(product_id){var count=0;var cookie_products=woosc_get_cookie_products();if(product_id!=='all'){if(woosc_get_cookie(cookie_products)!==''){var products=woosc_get_cookie(cookie_products).split(',');products=$.grep(products,function(value){return value!==product_id});var products_str=products.join();woosc_set_cookie(cookie_products,products_str,7);count=products.length}
35$('.woosc-btn[data-id="'+product_id+'"]').each(function(){let $btn=$(this);let text=$btn.data('text')!==undefined&&$btn.data('text')!==''?$btn.data('text'):woosc_vars.button_text;$btn.removeClass('woosc-btn-added woosc-added');if($btn.hasClass('woosc-btn-has-icon')){$btn.find('.woosc-btn-icon').removeClass(woosc_vars.button_added_icon).addClass(woosc_vars.button_normal_icon);$btn.find('.woosc-btn-text').text(text)}else{$btn.text(text)}})}else{if(woosc_get_cookie(cookie_products)!==''){woosc_set_cookie(cookie_products,'',7);count=0}
36$('.woosc-btn').each(function(){let $btn=$(this);let text=$btn.data('text')!==undefined&&$btn.data('text')!==''?$btn.data('text'):woosc_vars.button_text;$btn.removeClass('woosc-btn-added woosc-added');if($btn.hasClass('woosc-btn-has-icon')){$btn.find('.woosc-btn-icon').removeClass(woosc_vars.button_added_icon).addClass(woosc_vars.button_normal_icon);$btn.find('.woosc-btn-text').text(text)}else{$btn.text(text)}})}
37woosc_change_count(count);$(document.body).trigger('woosc_removed',[count])}
38function woosc_check_buttons(){var cookie_products=woosc_get_cookie_products();if(woosc_get_cookie(cookie_products)!==''){var products=woosc_get_cookie(cookie_products).split(',');$('.woosc-btn').each(function(){let $btn=$(this);let text=$btn.data('text')!==undefined&&$btn.data('text')!==''?$btn.data('text'):woosc_vars.button_text;$btn.removeClass('woosc-btn-added woosc-added');if($btn.hasClass('woosc-btn-has-icon')){$btn.find('.woosc-btn-icon').removeClass(woosc_vars.button_added_icon).addClass(woosc_vars.button_normal_icon);$btn.find('.woosc-btn-text').text(text)}else{$btn.text(text)}});products.forEach(function(product_id){$('.woosc-btn[data-id="'+product_id+'"]').each(function(){let $btn=$(this);let text_added=$btn.data('text_added')!==undefined&&$btn.data('text_added')!==''?$btn.data('text_added'):woosc_vars.button_text_added;$btn.addClass('woosc-btn-added woosc-added');if($btn.hasClass('woosc-btn-has-icon')){$btn.find('.woosc-btn-icon').removeClass(woosc_vars.button_normal_icon).addClass(woosc_vars.button_added_icon);$btn.find('.woosc-btn-text').text(text_added)}else{$btn.text(text_added)}})})}}
39function woosc_load_data(get_data){var data={action:'woosc_load',get_data:get_data,nonce:woosc_vars.nonce,};if(get_data==='table'){$('.woosc-table-inner').addClass('woosc-loading')}
40if(get_data==='sidebar'){$('.woosc-sidebar').addClass('woosc-loading')}
41$.post(woosc_vars.wc_ajax_url.toString().replace('%%endpoint%%','woosc_load'),data,function(response){if(get_data==='bar'||get_data==='table'){$('.woosc-bar-items').html(response.bar).addClass('woosc-bar-items-loaded');$(document.body).trigger('woosc_bar_loaded')}
42if(get_data==='table'){$('.woosc-table-items').html(response.table).addClass('woosc-table-items-loaded');if($(window).width()>=768){if((woosc_vars.freeze_column==='yes')&&(woosc_vars.freeze_row==='yes')){$('#woosc_table').tableHeadFixer({'head':!0,left:1})}else if(woosc_vars.freeze_column==='yes'){$('#woosc_table').tableHeadFixer({'head':!1,left:1})}else if(woosc_vars.freeze_row==='yes'){$('#woosc_table').tableHeadFixer({'head':!0})}}else{if(woosc_vars.freeze_row==='yes'){$('#woosc_table').tableHeadFixer({'head':!0})}}
43if(woosc_vars.scrollbar==='yes'){$('.woosc-table-items').perfectScrollbar({theme:'wpc'})}
44$('.woosc-table-inner').removeClass('woosc-loading');woosc_hide_empty();woosc_hide_similarities();woosc_highlight_differences();$(document.body).trigger('woosc_table_loaded')}
45if(get_data==='sidebar'){$('.woosc-sidebar-items').html(response.sidebar).addClass('woosc-sidebar-items-loaded');$('.woosc-sidebar').removeClass('woosc-loading');if(woosc_vars.scrollbar==='yes'){$('.woosc-sidebar-items').perfectScrollbar({theme:'wpc'})}
46$(document.body).trigger('woosc_sidebar_loaded')}
47if(get_data==='bar'||get_data==='table'||get_data==='sidebar'){$('.woosc-bar-filter').html(response.filter);woosc_filter();$(document.body).trigger('woosc_filter_loaded')}
48if(get_data==='count'){if(response.count!=null){var count=parseInt(response.count);woosc_change_count(count);$(document.body).trigger('woosc_count_loaded',[count])}}})}
49function woosc_quick_table(){let ww=$(window).width();let fixed=JSON.parse(woosc_vars.quick_table_fixed);if(ww>=1024){$('.woosc-quick-table .woosc_table').tableHeadFixer({'head':!1,left:fixed.pc})}
50if(ww>=768&&ww<1024){$('.woosc-quick-table .woosc_table').tableHeadFixer({'head':!1,left:fixed.ta})}
51if(ww<768){$('.woosc-quick-table .woosc_table').tableHeadFixer({'head':!1,left:fixed.mo})}}
52function woosc_open_bar(){woosc_close_sidebar();$('#woosc-area').addClass('woosc-area-open-bar');$('.woosc-bar').addClass('woosc-bar-open');$('.woosc-bar-items').sortable({handle:'img',update:function(event,ui){woosc_save_products()},});$(document.body).trigger('woosc_bar_open')}
53function woosc_close_bar(){$('#woosc-area').removeClass('woosc-area-open-bar');$('.woosc-bar').removeClass('woosc-bar-open');$(document.body).trigger('woosc_bar_close')}
54function woosc_open_sidebar(){woosc_close_bar();woosc_close_table();$('#woosc-area').addClass('woosc-area-open-sidebar');$('.woosc-sidebar').addClass('woosc-sidebar-open');$(document.body).trigger('woosc_sidebar_open')}
55function woosc_close_sidebar(){$('#woosc-area').removeClass('woosc-area-open-sidebar');$('.woosc-sidebar').removeClass('woosc-sidebar-open');$(document.body).trigger('woosc_sidebar_close')}
56function woosc_open_table(){woosc_close_sidebar();$('#woosc-area').addClass('woosc-area-open-table');$('.woosc-table').addClass('woosc-table-open');$('.woosc-bar-btn').addClass('woosc-bar-btn-open');if(woosc_vars.bar_bubble==='yes'){$('.woosc-bar').removeClass('woosc-bar-bubble')}
57$(document.body).trigger('woosc_table_open')}
58function woosc_close_table(){$('#woosc-area').removeClass('woosc-area-open woosc-area-open-table');$('.woosc-table').removeClass('woosc-table-open');$('.woosc-bar-btn').removeClass('woosc-bar-btn-open');if(woosc_vars.bar_bubble==='yes'){$('.woosc-bar').addClass('woosc-bar-bubble')}
59if(woosc_vars.hide_closed==='yes'){woosc_close_bar()}
60$(document.body).trigger('woosc_table_close')}
61function woosc_toggle_table(){if($('.woosc-table').hasClass('woosc-table-open')){woosc_close_table()}else{woosc_open_table()}}
62function woosc_open(){$('#woosc-area').addClass('woosc-area-open');woosc_load_data('table');woosc_open_bar();woosc_open_table();$(document.body).trigger('woosc_open')}
63function woosc_close(){$('#woosc-area').removeClass('woosc-area-open');woosc_close_bar();woosc_close_table();$(document.body).trigger('woosc_close')}
64function woosc_toggle(){if($('#woosc-area').hasClass('woosc-area-open')){woosc_close()}else{woosc_open()}
65$(document.body).trigger('woosc_toggle')}
66function woosc_color(){var bg_color=$('#woosc-area').attr('data-bg-color');var btn_color=$('#woosc-area').attr('data-btn-color');$('.woosc-table').css('background-color',bg_color);$('.woosc-bar').css('background-color',bg_color);$('.woosc-bar-btn').css('background-color',btn_color);$('.woosc-sidebar-btn').css('background-color',btn_color)}
67function woosc_filter(){if(woosc_vars.bar_filter!=='no'&&$('#woosc-filter').length){var filter=$('#woosc-filter').val().toLowerCase();if(filter!=='_all_'){$('.woosc_table .col').addClass('col-hide').hide();$('.woosc_table .col-'+filter).removeClass('col-hide').show();$('.woosc-bar-item').addClass('woosc-bar-item-hidden');$('.woosc-bar-item-'+filter).removeClass('woosc-bar-item-hidden')}else{$('.woosc_table .col').removeClass('col-hide').show();$('.woosc-bar-item').removeClass('woosc-bar-item-hidden')}
68if(woosc_vars.hide_empty_row==='yes'){$('.woosc_table > tbody > tr:not(.tr-print)').each(function(){var $tr=$(this);var _td=0;var _empty=!0;$tr.removeClass('tr-empty').show();$tr.children('.col:not(.col-hide)').each(function(){if($(this).html().length>0){_empty=!1;return!1}});if(_empty){$tr.addClass('tr-empty').hide()}})}}}
69function woosc_change_count(count){if(count==='first'){var products=woosc_get_products();if(products!=''){var products_arr=products.split(',');count=products_arr.length}else{count=0}}
70$('.woosc-menu-item').each(function(){if($(this).hasClass('menu-item-type-woosc')){$(this).find('.woosc-menu-item-inner').attr('data-count',count)}else{$(this).addClass('menu-item-type-woosc').find('a').wrapInner('<span class="woosc-menu-item-inner" data-count="'+count+'"></span>')}});$('#woosc-area').attr('data-count',count);$('.woosc-bar').attr('data-count',count);$('.woosc-sidebar-count').text(' ('+count+')');$('.woosc-link .woosc-link-inner').attr('data-count',count);$('.woosc-bar-items').removeClass('woosc-bar-items-loaded');$('.woosc-sidebar-items').removeClass('woosc-sidebar-items-loaded');$('.woosc-table-items').removeClass('woosc-table-items-loaded');$(document.body).trigger('woosc_change_count',[count])}
71function woosc_hide_empty(){if(woosc_vars.hide_empty_row==='yes'){$('.woosc_table > tbody > tr').each(function(){var $tr=$(this);var _td=0;var _empty=!0;$tr.children('td').each(function(){if((_td>0)&&($(this).html().length>0)){_empty=!1;return!1}
72_td++});if(_empty){$tr.addClass('tr-empty').remove()}})}}
73function woosc_highlight_differences(){if($('#woosc_highlight_differences').prop('checked')){$('.woosc_table > tbody > tr').each(function(){var $tr=$(this);var _td=0;var _val=$(this).children('td').eq(1).html();var _differences=!1;$tr.children('td:not(.td-placeholder)').each(function(){if((_td>1)&&($(this).html()!==_val)){_differences=!0;return!1}
74_td++});if(_differences){$tr.addClass('tr-highlight')}})}else{$('.woosc_table tr').removeClass('tr-highlight')}}
75function woosc_hide_similarities(){if($('#woosc_hide_similarities').prop('checked')){$('.woosc_table > tbody > tr').each(function(){var $tr=$(this);var _td=0;var _val=$(this).children('td').eq(1).html();var _similarities=!0;$tr.children('td:not(.td-placeholder)').each(function(){if((_td>1)&&($(this).html()!==_val)){_similarities=!1;return!1}
76_td++});if(_similarities){$tr.addClass('tr-similar')}})}else{$('.woosc_table tr').removeClass('tr-similar')}}
77function woosc_get_cookie_products(){return woosc_vars.user_id!==''?'woosc_products_'+woosc_vars.user_id:'woosc_products'}})(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.