PageSourceSearch

https://www.ptfor.es/wp-content/plugins/cmssuperheroes/assets/js/jquery.shuffle.cms.js?ver=6.5.12

js ptfor.es collected 2026-10-04 21:17:15 UTC 1,312 bytes, 35 lines download raw bytes

1(function($){
2    $(document).bind('ready ajaxComplete',function(){
3       $('.cms-grid-masonry').each(function(){
4          $this = $(this);
5          $filter = $this.parent().parent().parent().find('.cms-grid-filter');
6          $this.imagesLoaded(function(){
7            var $current = $this.parent().attr('data-current');
8            $this.shuffle({
9               itemSelector:'.cms-grid-item',
10            });
11            if($current != undefined){
12              $this.shuffle('shuffle', $current );
13            }
14          });
15          if($filter){
16            $filter.find('a').click(function(e){
17              e.preventDefault();
18              // set active class
19              $filter.find('a').removeClass('active');
20              $(this).addClass('active');
21                   
22              // get group name from clicked item
23              var groupName = $(this).attr('data-group');
24              $this.parent().attr('data-current', groupName);
25              if(groupName == undefined){
26                $this.parent().attr('data-current', '');
27              }
28              // reshuffle grid
29              $(this).parent().parent().parent().parent().find('.cms-grid-masonry').shuffle('shuffle', groupName );
30              return false;
31            });
32          }
33       });  
34    });
35})(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.