PageSourceSearch

https://suarajabarsatu.com/wp-content/themes/newkarma/js/tiny-slider-widget.js?ver=2.1.1

js suarajabarsatu.com collected 2026-09-25 11:38:50 UTC 999 bytes, 52 lines download raw bytes

1/**
2 * Tiny slider widget
3 * Copyright (c) 2022 Gian MR
4 * Gian MR Theme Custom Javascript
5 *
6 * @package newkarma
7 */	
8(function( slider ){
9	"use strict";
10  
11	document.addEventListener( 'DOMContentLoaded', function() {
12
13		var sl = document.querySelectorAll( '.gmr-class-widgetslider' );
14
15		sl.forEach( function( s ) {
16			if ( s ) {
17				var token = s.dataset.token;
18				var z = window['gmrobjslide' + token];
19				var slider = tns({
20					container: z.wgtclass,
21					loop: false,
22					gutter: 0,
23					edgePadding: 0,
24					items: 1,
25					swipeAngle: false,
26					mouseDrag: true,
27					nav: true,
28					controls: false,
29					autoplay: true,
30					autoplayButtonOutput: false,
31					responsive : {
32						0 : {
33							items : 1,
34						},
35						250 : {
36							items : 1,
37						},
38						400 : {
39							items : 1,
40						},
41						600 : {
42							items : 1,
43						},
44						1000 : {
45							items : 1,
46						}
47					}
48				});
49			}
50		});
51    });
52})( window.slider );

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.