PageSourceSearch

https://traitdunion.gr/wp-content/litespeed/js/5e13afb511dee101c771ee9c7f9d9377.js?ver=7e561

js traitdunion.gr collected 2026-10-04 02:07:30 UTC 1,807 bytes, 4 lines download raw bytes

1var wcsca={init:function(){this.openIcon='<i class="'+wcscaOpenIcon+'"></i>';this.closedIcon='<i class="'+wcscaClosedIcon+'"></i>';this.cacheDom();this.initElements();jQuery(window).click(this.deligate)},cacheDom:function(){this.$main=jQuery('.widget_product_categories .product-categories');this.$topLvl=this.$main.children();this.$parent=this.$main.find('.cat-parent');this.$subCat=this.$main.find('.children')},appendIcon:function($el){$el.find('a').first().after('<div class="wcsca-icon">'+this.closedIcon+'</div>')},initElements:function(){this.$subCat.hide();this.$topLvl.addClass('wcsca-top-lvl');this.$parent.each(function(){var $el=jQuery(this);wcsca.appendIcon($el);if($el.is('.current-cat, .current-cat-parent')){var $subCat=$el.children('.children');$subCat.parent().children('.wcsca-icon').html(wcsca.openIcon);$subCat.show().addClass('wcsca-expand')}})},deligate:function(e){var $clicked=jQuery(e.target);var $parent=($clicked.parent().hasClass('wcsca-icon'))?$clicked.parent().parent():$clicked;var $subCat=$parent.children('.children');if($subCat.hasClass('wcsca-expand')){wcsca.collapseEl($subCat,$parent)}else if($parent.hasClass('cat-parent')){wcsca.collapseAll($parent);wcsca.expandEl($subCat,$parent)}},expandEl:function($subCat,$parent){$parent.children('.wcsca-icon').html(this.openIcon);$subCat.slideDown().addClass('wcsca-expand')},collapseEl:function($subCat,$parent){$parent.children('.wcsca-icon').html(this.closedIcon);$subCat.slideUp().removeClass('wcsca-expand')},collapseAll:function($parent){if(!$parent.hasClass('wcsca-top-lvl')){return!1}
2this.$subCat.slideUp().removeClass('wcsca-expand');this.$parent.children('.wcsca-icon').html(this.closedIcon)}}
3jQuery(window).on('load',function(){if(jQuery('.widget_product_categories .product-categories').length){wcsca.init()}})
4;

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.