PageSourceSearch

https://www.bursejti.ro/wp-content/plugins/auxin-pro-tools/public/assets/js/pro-tools.js?ver=1.2.5

js bursejti.ro collected 2026-10-08 04:38:41 UTC 2,230 bytes, 60 lines download raw bytes

1/*! Auxin Pro Tools - v1.0.0 (2018-06-13)
2 *  All required plugins 
3 *  http://averta.net/phlox/
4 */
5
6
7
8/*! 
9 * 
10 * ================== public/assets/js/src/module.protools.js =================== 
11 **/ 
12
13;(function($){
14
15    // on document ready
16    $(function(){
17
18        // Auxin Countdown Element
19        $.fn.AuxinCountDown = function(){
20            var $wrapper = $(this).find('.aux-countdown-wrapper '),
21                data = {
22                    year     : $wrapper.data('countdown-year'),
23                    month    : $wrapper.data('countdown-month'),
24                    day      : $wrapper.data('countdown-day'),
25                    hour     : $wrapper.data('countdown-hour'),
26                    min      : $wrapper.data('countdown-min'),
27                    sec      : $wrapper.data('countdown-sec')
28                },
29
30                targetDate = new Date(data.year,data.month,data.day,data.hour,data.min,data.sec);
31                $year      = $wrapper.find('.aux-countdown-year'),
32                $month     = $wrapper.find('.aux-countdown-month'),
33                $day       = $wrapper.find('.aux-countdown-day'),
34                $hour      = $wrapper.find('.aux-countdown-hour'),
35                $min       = $wrapper.find('.aux-countdown-min'),
36                $sec       = $wrapper.find('.aux-countdown-sec');
37                
38            setInterval( function(){
39                var diffTime = ( Date.parse(targetDate) - Date.parse(new Date() ) );
40                    diffTime = diffTime / 1000 ;
41
42                $year.text( Math.floor( diffTime /  ( 31536000 ) ) ); // 1 year = 3153600 second
43                $month.text( Math.floor( ( diffTime / 2592000 ) % 12 ) ); // 1 month = 2592000 second
44                $day.text( Math.floor( ( diffTime / 86400 ) % 365 ) ); // 1 day = 86400 second
45                $hour.text( Math.floor( ( diffTime / 3600 ) % 24 ) ); // 1 hour = 3600 second
46                $min.text( Math.floor( ( diffTime / 60 ) % 60 ) ); // 1 min  = 60 second
47                $sec.text( Math.floor( ( diffTime ) % 60 ) );
48
49            },1000 )
50            
51        }
52
53        $('.aux-widget-countdown').each(function(){
54            $(this).AuxinCountDown();
55        });
56
57
58    });
59
60})(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.