PageSourceSearch

https://www.certeurope.fr/wp-content/cache/wpo-minify/1790000209/a…po-minify-footer-barfiller1668427217.min.js

js certeurope.fr collected 2026-09-26 03:36:47 UTC 3,082 bytes, 11 lines download raw bytes

1
2(function($){$.fn.barfiller=function(options){var defaults=$.extend({barColor:'#16b597',tooltip:!0,duration:1000,animateOnResize:!0,symbol:"%"},options);var object=$(this);var settings=$.extend(defaults,options);var barWidth=object.width();var fill=object.find('.fill');var toolTip=object.find('.tip');var fillPercentage=fill.attr('data-percentage');var resizeTimeout;var transitionSupport=!1;var transitionPrefix;var methods={init:function(){return this.each(function(){if(methods.getTransitionSupport()){transitionSupport=!0;transitionPrefix=methods.getTransitionPrefix()}
3methods.appendHTML();methods.setEventHandlers();methods.initializeItems()})},appendHTML:function(){fill.css('background',settings.barColor);if(!settings.tooltip){toolTip.css('display','none')}
4toolTip.text(fillPercentage+settings.symbol)},setEventHandlers:function(){if(settings.animateOnResize){$(window).on("resize",function(event){clearTimeout(resizeTimeout);resizeTimeout=setTimeout(function(){methods.refill()},300)})}},initializeItems:function(){var pctWidth=methods.calculateFill(fillPercentage);object.find('.tipWrap').css({display:'inline'});if(transitionSupport)
5methods.transitionFill(pctWidth);else methods.animateFill(pctWidth)},getTransitionSupport:function(){var thisBody=document.body||document.documentElement,thisStyle=thisBody.style;var support=thisStyle.transition!==undefined||thisStyle.WebkitTransition!==undefined||thisStyle.MozTransition!==undefined||thisStyle.MsTransition!==undefined||thisStyle.OTransition!==undefined;return support},getTransitionPrefix:function(){if(/mozilla/.test(navigator.userAgent.toLowerCase())&&!/webkit/.test(navigator.userAgent.toLowerCase())){return'-moz-transition'}
6if(/webkit/.test(navigator.userAgent.toLowerCase())){return'-webkit-transition'}
7if(/opera/.test(navigator.userAgent.toLowerCase())){return'-o-transition'}
8if(/msie/.test(navigator.userAgent.toLowerCase())){return'-ms-transition'}else{return'transition'}},getTransition:function(val,time,type){var CSSObj;if(type==='width'){CSSObj={width:val}}else if(type==='left'){CSSObj={left:val}}
9time=time/1000;CSSObj[transitionPrefix]=type+' '+time+'s ease-in-out';return CSSObj},refill:function(){fill.css('width',0);toolTip.css('left',0);barWidth=object.width();methods.initializeItems()},calculateFill:function(percentage){percentage=percentage*0.01;var finalWidth=barWidth*percentage;return finalWidth},transitionFill:function(barWidth){var toolTipOffset=barWidth-toolTip.width();fill.css(methods.getTransition(barWidth,settings.duration,'width'));toolTip.css(methods.getTransition(toolTipOffset,settings.duration,'left'))},animateFill:function(barWidth){var toolTipOffset=barWidth-toolTip.width();fill.stop().animate({width:'+='+barWidth},settings.duration);toolTip.stop().animate({left:'+='+toolTipOffset},settings.duration)}};if(methods[options]){return methods[options].apply(this,Array.prototype.slice.call(arguments,1))}else if(typeof options==='object'||!options){return methods.init.apply(this)}else{$.error('Method "'+method+'" does not exist in barfiller plugin!')}}})(jQuery);
10
11

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.