PageSourceSearch

https://cleanearthchallenge.com/wp-content/themes/cec2023/blocks/card/view.js?ver=1.0

js cleanearthchallenge.com collected 2026-09-26 01:21:07 UTC 903 bytes, 27 lines download raw bytes

1jQuery(function($) {
2    var blocks = $('.wp-block-theme-blocks-card');
3    blocks.on('theme:update theme:appeared', function() {
4        var block = $(this);
5        var h = block.find('.block-title').height();
6        if (h) {
7        block.get(0).style.setProperty('--title-height', h + 'px');
8        // console.log(block.find('.block-title'))
9        }
10        
11        // Trigger theme:appeared for child blocks when card appears
12        if (block.hasClass('appeared')) {
13            block.find('.appear-on-scroll:not(.appeared)').each(function() {
14                $(this).addClass('appeared').trigger('theme:appeared');
15            });
16        }
17        
18    })
19    blocks.each(function() {
20        $(this).trigger('theme:update');        
21    });
22    $(window).on('resize', function() {
23        blocks.each(function() {
24            $(this).trigger('theme:update');        
25        });
26    });
27})

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.