PageSourceSearch

https://zabelarus.com/wp-content/plugins/bold-page-builder/content…/bt_bb_section/bt_bb_elements_ver-5.4.2.js

js zabelarus.com collected 2026-10-02 13:57:44 UTC 1,171 bytes, 43 lines download raw bytes

1(function( $ ) {
2	"use strict";
3	function bt_bb_video_background() {
4		$( '.bt_bb_section.video' ).each(function() {
5			var video = $( this ).find( 'video' );
6			var w = $( this ).outerWidth();
7			var h = $( this ).outerHeight();
8			if ( w / h > 16 / 9 ) {
9				video.css( 'width', '105%' );
10				video.css( 'height', '' );
11			} else {
12				video.css( 'width', '' );
13				video.css( 'height', '105%' );
14			}
15		});
16	}
17
18	window.bt_bb_video_callback = function( v ) {
19		$( v ).parent().addClass( 'video_on' );
20	}
21
22	$( document ).ready(function () {
23		bt_bb_video_background();
24	});
25
26	$( window ).on( 'resize', function( e ) {		
27		bt_bb_video_background();		
28	});
29
30	$( 'a[href*="#"]:not([href="#"])' ).not( '.menu-scroll-down' ).on( 'click', function() { // .menu-scroll-down - 2017 theme
31		if ( location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') && location.hostname == this.hostname ) {
32			var target = $( this.hash );
33			target = target.length ? target : $( '[name=' + this.hash.slice(1) +']' );
34				if ( target.length ) {
35					$( 'html, body' ).animate({
36						scrollTop: target.offset().top
37					}, 1000 );
38				return false;
39			}
40		}
41	});
42	
43})( 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.