PageSourceSearch

https://certifiedsc.com/wp-content/themes/certified-sc/components/…/script.js?ver=1790385429

js certifiedsc.com collected 2026-09-28 07:43:45 UTC 630 bytes, 15 lines download raw bytes

1if ( ! window._cscProductToggleReady ) {
2	window._cscProductToggleReady = true;
3	document.addEventListener( 'click', function ( e ) {
4		if ( e.target.closest( '.product-card__actions' ) ) return;
5		var card = e.target.closest( '.product-card' );
6		if ( ! card ) return;
7		var btn = card.querySelector( '.product-card__toggle' );
8		if ( ! btn ) return;
9		var imgLink = e.target.closest( '.product-card__img-link' );
10		if ( imgLink ) e.preventDefault();
11		var open = btn.getAttribute( 'aria-expanded' ) === 'true';
12		btn.setAttribute( 'aria-expanded', open ? 'false' : 'true' );
13		card.classList.toggle( 'is-open', ! open );
14	} );
15}

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.