PageSourceSearch

https://ausonia.com/wp-content/plugins/bwdpmkx-progress-master-kit/assets/public/js/main.js?ver=1.5

js ausonia.com collected 2026-10-09 23:09:05 UTC 4,047 bytes, 89 lines download raw bytes

1// (function($,elementor){'use strict';var widgetProgressMasterKitX=function(e,r){var t=r(".bwdpmkx-progressbar",e),n=t.data("layout"),o=t.data("count"),i=t.data("duration");o>100&&(o=100);if("line"==n){r(".bwdpmkx-progressbar-line-fill",t).css({width:o+"%"})}else if("half_circle"==n){r(".bwdpmkx-progressbar-circle-half",t).css({transform:"rotate("+1.8*o+"deg)"})}
2// r(".bwdpmkx-progressbar-count",t).prop({counter:0}).animate({counter:o},{duration:i,easing:"linear",step:function(e){if("circle"==n||"circle_fill"==n){var angle=3.6*e;r(".bwdpmkx-progressbar-circle-half-left",t).css({transform:"rotate("+angle+"deg)"});if(angle>180){r(".bwdpmkx-progressbar-circle-pie",t).css({"-webkit-clip-path":"inset(0)","clip-path":"inset(0)"});r(".bwdpmkx-progressbar-circle-half-right",t).css({visibility:"visible"})}}
3// r(this).text(Math.ceil(e))},});if("line_rainbow"==n){r(".bwdpmkx-progressbar-line-fill",t).css({width:o+"%"})}else if("half_circle_fill"==n){r(".bwdpmkx-progressbar-circle-half",t).css({transform:"rotate("+1.8*o+"deg)"})}else if("box"==n){r(".bwdpmkx-progressbar-box-fill",t).css({height:o+"%"})}};$(window).on('elementor/frontend/init',function(){elementorFrontend.hooks.addAction('frontend/element_ready/bwdpmkx-progress-master-kit.default',widgetProgressMasterKitX)})})(jQuery,window.elementorFrontend)
4// 
5// 
6// 
7
8(function ($, elementor) {
9    'use strict';
10  
11    var widgetProgressMasterKitX = function (e, r) {
12      var t = r('.bwdpmkx-progressbar', e);
13  
14      // Function to animate the progress bar
15      function animateProgressBar() {
16        var n = t.data('layout'),
17          o = t.data('count'),
18          i = t.data('duration');
19  
20        o > 100 && (o = 100);
21  
22        if ('line' == n) {
23          r('.bwdpmkx-progressbar-line-fill', t).css({ width: o + '%' });
24        } else if ('half_circle' == n) {
25          r('.bwdpmkx-progressbar-circle-half', t).css({
26            transform: 'rotate(' + 1.8 * o + 'deg)',
27          });
28        }
29  
30        r('.bwdpmkx-progressbar-count', t)
31          .prop({ counter: 0 })
32          .animate(
33            { counter: o },
34            {
35              duration: i,
36              easing: 'linear',
37              step: function (e) {
38                if ('circle' == n || 'circle_fill' == n) {
39                  var angle = 3.6 * e;
40                  r('.bwdpmkx-progressbar-circle-half-left', t).css({
41                    transform: 'rotate(' + angle + 'deg)',
42                  });
43                  if (angle > 180) {
44                    r('.bwdpmkx-progressbar-circle-pie', t).css({
45                      '-webkit-clip-path': 'inset(0)',
46                      'clip-path': 'inset(0)',
47                    });
48                    r('.bwdpmkx-progressbar-circle-half-right', t).css({
49                      visibility: 'visible',
50                    });
51                  }
52                }
53                r(this).text(Math.ceil(e));
54              },
55            }
56          );
57  
58        if ('line_rainbow' == n) {
59          r('.bwdpmkx-progressbar-line-fill', t).css({ width: o + '%' });
60        } else if ('half_circle_fill' == n) {
61          r('.bwdpmkx-progressbar-circle-half', t).css({
62            transform: 'rotate(' + 1.8 * o + 'deg)',
63          });
64        } else if ('box' == n) {
65          r('.bwdpmkx-progressbar-box-fill', t).css({ height: o + '%' });
66        }
67      }
68  
69      // Use Intersection Observer to trigger the animation when the element is in view
70      var observer = new IntersectionObserver(function (entries) {
71        entries.forEach(function (entry) {
72          if (entry.isIntersecting) {
73            animateProgressBar();
74            observer.unobserve(entry.target);
75          }
76        });
77      });
78  
79      // Observe the element
80      observer.observe(t[0]);
81    };
82  
83    $(window).on('elementor/frontend/init', function () {
84      elementorFrontend.hooks.addAction(
85        'frontend/element_ready/bwdpmkx-progress-master-kit.default',
86        widgetProgressMasterKitX
87      );
88    });
89  })(jQuery, window.elementorFrontend);

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.