PageSourceSearch

https://depictdatastudio.com/wp-content/themes/colonel/assets/js/head.js?ver=7.1.2

js depictdatastudio.com collected 2026-10-03 22:18:30 UTC 1,883 bytes, 52 lines download raw bytes

1function do_fullsize( sel ) {
2		
3	var el = jQuery( sel );
4	
5	if ( undefined != el.attr( 'data-ratio' ) ) {
6		var ih = el.outerWidth() / el.attr( 'data-ratio' );
7		el.css( 'min-height', ih + 'px' );
8		if ( el.hasClass( 'has-parallax' ) ) {
9			var wh = parseInt( window.innerHeight );
10			var ph = ih + ( wh - ih ) * .4;
11			var pw = ph * el.attr( 'data-ratio' );
12			var pm = ( pw - el.outerWidth() ) / -2;
13			
14			el.find( '.parallax-image' ).height( ph + 'px' );
15			el.find( '.parallax-image' ).width( pw + 'px' );
16			el.find( '.parallax-image' ).css( 'left', ( pm > 0 ? 0 : pm ) + 'px' );
17		}
18		if ( el.hasClass( 'slick' ) ) {
19			if ( el.find( '.slick-slide' ).length ) {
20				el.find( '.slick-slide' ).css( 'min-height', ih + 'px' );
21				
22				if ( el.find( '.slick-slide > .elements > .block' ).length ) {
23					el.find( '.slick-slide > .elements > .block' ).css( 'min-height', ih + 'px' );
24				}
25				
26			} else if ( el.find( '> article > .elements > .block' ).length ) {
27				el.find( '> article > .elements > .block' ).css( 'min-height', ih + 'px' );
28			} else if ( el.find( '> article' ).length ) {
29				el.find( '> article' ).css( 'min-height', ih + 'px' );
30			} else if ( el.find( '> .elements' ).length ) {
31				el.find( '> .elements > div' ).css( 'min-height', ih + 'px' );
32			}
33		}
34	}
35	if ( el.hasClass( 'has-slidedeck-background' ) ) {
36		var oh = el.outerHeight();
37		el.find( '.slidedeck-frame' ).css( { width: '100%', height : oh + 'px' } );
38		el.find( '.slidedeck-frame > .slidedeck' ).css( { width: '100%', height : oh + 'px' } );
39		el.find( '.slide' ).css( { width: '100%', height : oh + 'px' } );
40	}
41}
42
43function do_vertical_align( el ) {
44	var pp = ( el.outerHeight() - el.find( '> .elements' ).outerHeight() ) / 2;
45	el.css( 'padding-top', ( pp < 25 ? 25 : pp ) + 'px' );
46}
47
48function do_burger( el ) {
49	if ( el.hasClass( 'always-burger' ) ) {
50		el.addClass( 'burgered' );
51	}
52}

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.