PageSourceSearch

https://phelieuhungvu.com/custom.js?v=20261008

js phelieuhungvu.com collected 2026-10-09 01:46:27 UTC 1,958 bytes, 77 lines download raw bytes

1var $window = $(window),$document = $(document);
2
3_DOCTOR.aweOwl = function() {
4	var owl = $('.owl-carousel.in-home');
5  	owl.each( function(){
6		// 08/10/2026 (#6): 1 slide thi khong can owl (loop tao ban sao lam LCP tinh muon ~1s); CSS da hien san slide dau
7		if ($(this).children().length < 2) return;
8		var xs_item = $(this).attr('data-xs-items');
9		var md_item = $(this).attr('data-md-items');
10		var lg_item = $(this).attr('data-lg-items');
11		var sm_item = $(this).attr('data-sm-items');	
12		var margin=$(this).attr('data-margin');
13		var dot=$(this).attr('data-dot');
14		var nav=$(this).attr('data-nav');
15		var height=$(this).attr('data-height');
16		var play=$(this).attr('data-play');
17		var loop=$(this).attr('data-loop');
18		
19		if (typeof margin !== typeof undefined && margin !== false) {    
20		} else{
21			margin = 30;
22		}
23		if (typeof xs_item !== typeof undefined && xs_item !== false) {    
24		} else{
25			xs_item = 1;
26		}
27		if (typeof sm_item !== typeof undefined && sm_item !== false) {    
28
29		} else{
30			sm_item = 3;
31		}	
32		if (typeof md_item !== typeof undefined && md_item !== false) {    
33		} else{
34			md_item = 3;
35		}
36		if (typeof lg_item !== typeof undefined && lg_item !== false) {    
37		} else{
38			lg_item = 3;
39		}
40
41		if (loop == 1) { loop = true; } else{ loop = false; }
42		if (dot == 1) { dot = true; } else{ dot = false; }
43		if (nav == 1) { nav = true; } else{ nav = false; }
44		if (play == 1) { play = true; } else{ play = false; }
45
46		$(this).owlCarousel({
47			loop: loop,
48			margin:Number(margin),
49			responsiveClass:true,
50			dots:dot,
51			nav:nav,
52			autoplay:play,
53			autoplayTimeout: 4000,
54			smartSpeed: 3000,
55			autoplayHoverPause:true,
56			autoHeight:false,
57			responsive:{
58				0:{
59					items:Number(xs_item)				
60				},
61				600:{
62					items:Number(sm_item)				
63				},
64				1000:{
65					items:Number(md_item)				
66				},
67				1200:{
68					items:Number(lg_item)				
69				}
70			}
71		})
72	});
73};
74
75$document.ready(function() {
76  	_DOCTOR.aweOwl();
77});

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.