var _____WB$wombat$assign$function_____ = function(name) {return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name)) || self[name]; }; if (!self.__WB_pmw) { self.__WB_pmw = function(obj) { this.__WB_source = obj; return this; } } { let window = _____WB$wombat$assign$function_____("window"); let self = _____WB$wombat$assign$function_____("self"); let document = _____WB$wombat$assign$function_____("document"); let location = _____WB$wombat$assign$function_____("location"); let top = _____WB$wombat$assign$function_____("top"); let parent = _____WB$wombat$assign$function_____("parent"); let frames = _____WB$wombat$assign$function_____("frames"); let opener = _____WB$wombat$assign$function_____("opener"); function woof_init_radios() { if (icheck_skin != 'none') { jQuery('.woof_radio_term').iCheck('destroy'); jQuery('.woof_radio_term').iCheck({ radioClass: 'iradio_' + icheck_skin.skin + '-' + icheck_skin.color, //radioClass: 'iradio_square-green' }); jQuery('.woof_radio_term').unbind('ifChecked'); jQuery('.woof_radio_term').on('ifChecked', function (event) { jQuery(this).attr("checked", true); jQuery(this).parents('.woof_list').find('.woof_radio_term_reset').removeClass('woof_radio_term_reset_visible'); jQuery(this).parents('.woof_list').find('.woof_radio_term_reset').hide(); jQuery(this).parents('li').eq(0).find('.woof_radio_term_reset').eq(0).addClass('woof_radio_term_reset_visible'); var slug = jQuery(this).data('slug'); var name = jQuery(this).attr('name'); var term_id = jQuery(this).data('term-id'); woof_radio_direct_search(term_id, name, slug); }); //this script should be, because another way wrong way of working if to click on the label - removed /* jQuery('.woof_radio_label').unbind(); jQuery('label.woof_radio_label').click(function () { jQuery(this).prev().find('.woof_radio_term').trigger('ifChecked'); jQuery(this).parents('.woof_list_radio').find('.checked').removeClass('checked'); jQuery(this).prev().addClass('checked'); return false; }); */ //*** } else { jQuery('.woof_radio_term').on('change', function (event) { jQuery(this).attr("checked", true); var slug = jQuery(this).data('slug'); var name = jQuery(this).attr('name'); var term_id = jQuery(this).data('term-id'); woof_radio_direct_search(term_id, name, slug); }); } //*** jQuery('.woof_radio_term_reset').click(function () { woof_radio_direct_search(jQuery(this).data('term-id'), jQuery(this).attr('data-name'), 0); jQuery(this).parents('.woof_list').find('.checked').removeClass('checked'); jQuery(this).parents('.woof_list').find('input[type=radio]').removeAttr('checked'); //jQuery(this).remove(); jQuery(this).removeClass('woof_radio_term_reset_visible'); return false; }); } function woof_radio_direct_search(term_id, name, slug) { jQuery.each(woof_current_values, function (index, value) { if (index == name) { delete woof_current_values[name]; return; } }); if (slug != 0) { woof_current_values[name] = slug; jQuery('a.woof_radio_term_reset_' + term_id).hide(); jQuery('woof_radio_term_' + term_id).filter(':checked').parents('li').find('a.woof_radio_term_reset').show(); jQuery('woof_radio_term_' + term_id).parents('ul.woof_list').find('label').css({'fontWeight': 'normal'}); jQuery('woof_radio_term_' + term_id).filter(':checked').parents('li').find('label.woof_radio_label_' + slug).css({'fontWeight': 'bold'}); } else { jQuery('a.woof_radio_term_reset_' + term_id).hide(); jQuery('woof_radio_term_' + term_id).attr('checked', false); jQuery('woof_radio_term_' + term_id).parent().removeClass('checked'); jQuery('woof_radio_term_' + term_id).parents('ul.woof_list').find('label').css({'fontWeight': 'normal'}); } woof_ajax_page_num = 1; if (woof_autosubmit) { woof_submit_link(woof_get_submit_link()); } } } /* FILE ARCHIVED ON 00:18:12 Dec 24, 2021 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 14:29:44 Sep 14, 2022. JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE. ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C. SECTION 108(a)(3)). */ /* playback timings (ms): captures_list: 83.535 exclusion.robots: 0.117 exclusion.robots.policy: 0.109 RedisCDXSource: 0.514 esindex: 0.007 LoadShardBlock: 62.104 (3) PetaboxLoader3.datanode: 75.984 (4) CDXLines.iter: 17.935 (3) load_resource: 89.278 PetaboxLoader3.resolve: 46.371 */