{"size": 9768, "ext": "js", "max_stars_repo_path": "web/app/plugins/Ultimate_VC_Addons/assets/min-js/info-circle.min.js", "max_stars_repo_name": "ekvasnyi/awothemes.com", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "web/app/plugins/Ultimate_VC_Addons/assets/min-js/info-circle.min.js", "max_issues_repo_name": "ekvasnyi/awothemes.com", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "web/app/plugins/Ultimate_VC_Addons/assets/min-js/info-circle.min.js", "max_forks_repo_name": "ekvasnyi/awothemes.com", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 9768.0, "max_line_length": 9768, "alphanum_fraction": 0.683046683}
var resizedd=0,time_f_arr=[];function calculate_clipped_circle(){jQuery(".clipped-info-circle").each(function(){var i=jQuery(this).data("circle-type"),e=jQuery(this).data("half-percentage"),t=jQuery(this).children().data("responsive-circle");if("on"==t){var r=jQuery(this).children().data("responsive-breakpoint"),n=jQuery(window).width();i=jQuery(this).data("circle-type");if(r<n){var c=jQuery(this).data("first-height");void 0!==c&&""!=c&&jQuery(this).height(c),jQuery(this).width("100%"),make_info_circle(".info-c-full-br",resizedd)}}var o=jQuery(this).find(".info-circle-icons").outerHeight(),s=jQuery(this).find(".info-circle-icons").outerHeight();if("full-circle"!=i){var a=jQuery(this).outerHeight(),l=(jQuery(this).outerWidth(),jQuery(this).css("margin-top")),u=jQuery(this).css("margin-bottom"),f=jQuery(this).children().outerWidth(),d=parseInt(jQuery(this).find(".info-c-full").css("margin-top").replace(/[^-\d\.]/g,"")),h=parseInt(jQuery(this).find(".info-c-full").css("padding-top").replace(/[^-\d\.]/g,""));if("top-circle"==i||"bottom-circle"==i){jQuery(this).css({overflow:"hidden"});jQuery(this).find(".info-c-full").outerWidth(),jQuery(this).find(".info-c-full").width();if("top-circle"==i){var p=e/100*a;jQuery(this).css({"padding-top":l,height:p,"margin-bottom":0});var y=p-d-parseInt(l.replace(/[^-\d\.]/g,""))-h-h/2;jQuery(this).find(".info-c-full-wrap").css({height:y})}else if("bottom-circle"==i){var j=(100-e)/100*a;p=a-j+10;jQuery(this).css({"padding-bottom":u,height:p,"margin-top":0}),jQuery(this).children().css({"margin-top":-(j+o/2)});y=p-d-parseInt(l.replace(/[^-\d\.]/g,""))-h-h/2}}else if("left-circle"==i||"right-circle"==i){jQuery(this).css({overflow:"hidden","padding-top":l,"padding-bottom":u});jQuery(this).find(".info-c-full").outerWidth(),jQuery(this).find(".info-c-full").width();if("left-circle"==i){var Q=e/100*f;jQuery(this).css({width:Q,"padding-left":l}),jQuery(this).children().css({width:f,"max-width":f});var _=Q-d-(h+h/2)-parseInt(l.replace(/[^-\d\.]/g,""));jQuery(this).find(".info-c-full-wrap").width(_)}else if("right-circle"==i){var m=(100-e)/100*f;Q=parseInt(f-m);jQuery(this).css({width:Q,"padding-right":l}),jQuery(this).children().css({"margin-left":-(m+s/2),"max-width":f,width:f});var v=m-d;v=v+parseInt(l.replace(/[^-\d\.]/g,""))-h;_=Q-d-parseInt(l.replace(/[^-\d\.]/g,""))-h;var g=v;jQuery(this).find(".info-c-full-wrap").width(_),jQuery(this).find(".info-c-full-wrap").css({"margin-left":g+"px"})}}}if("on"==t){r=jQuery(this).children().data("responsive-breakpoint");(n=jQuery(window).width())<=r&&jQuery(this).css({width:"auto",overflow:"visible",height:"auto",padding:0})}})}function info_circle_slide(i,r){r.bsf_appear(function(){setInterval(function(){if("on"==r.attr("data-slide-true")){var i=1*r.attr("data-slide-number"),e=r.find(".info-circle-icons").length;"full"!=r.data("info-circle-angle")?e-1==i&&(i=0):e==i&&(i=0);var t=r.find(".info-circle-icons").eq(i);r.attr("data-slide-number",i+1),show_next_info_circle(t)}},i)})}function show_next_info_circle(i){var e=i.parents(".info-c-full-br").data("highlight-style");""!=e&&(i.parents(".info-c-full-br").find("."+e).removeClass(e).removeClass("info-circle-active"),i.addClass(e).addClass("info-circle-active"));var t=i.next(),r=i.parents(".info-c-full-br").data("icon-show-size");"not-show"==i.parents(".info-c-full-br").data("icon-show")&&(t.find("i.info-circle-icon").remove(),t.find("img.info-circle-img-icon").remove(),i.parents(".info-c-full-br").find(".info-c-full").addClass("circle-noicon")),t=t.html();i.css("font-size"),i.attr("style");var n=i.parents(".info-c-full-br");n.find(".info-c-full-wrap").stop().animate({opacity:0},"slow",function(){i.parents(".info-c-full-br").find(".info-c-full .info-c-full-wrap").html(t),n.find(".info-c-full i").css({"font-size":parseInt(r)+"px"}),n.find(".info-c-full .info-circle-img-icon").css({width:parseInt(r)+"px"}),i.parents(".info-c-full-br").find(".info-c-full-wrap").animate({opacity:1},"slow")})}function responsive_check(i){jQuery(i).each(function(){if("on"==jQuery(this).data("responsive-circle")){var i="info-circle-wrapper-"+jQuery(this).parent().data("uniqid"),e="<style>@media(max-width:"+jQuery(this).data("responsive-breakpoint")+"px){ #"+i+" .smile_icon_list_wrap{ display: block; margin-top: auto !important; } #"+i+" .info-c-full-br{ display: none; } .smile_icon_list_wrap { margin-left:auto !important; max-width:inherit !important; width:auto !important; } .info-circle-responsive .info-circle-def { display: block; width: auto; height: auto; } .info-circle-responsive .info-circle-sub-def { display: block; vertical-align: top; } }</style>";jQuery("head").append(e);var s=jQuery(this).parent().find(".smile_icon_list_wrap .smile_icon_list"),a=s.find(".icon_list_item").clone();s.find(".icon_list_item").remove();var l=jQuery(this).next().data("content_bg"),u=jQuery(this).next().data("content_color");jQuery(this).find(".icon-circle-list .info-details").each(function(){var i=jQuery(this).attr("data-icon-class"),e=jQuery(this).find(".info-circle-heading").html(),t=jQuery(this).find(".info-circle-text").html(),r=jQuery(this).prev().css("background-color"),n=jQuery(this).prev().css("color"),c=jQuery(this).prev().css("border"),o=jQuery(this).find(".info-circle-sub-def").children().eq(0).clone();a.find(".icon_list_icon").html(o.wrap("<div />").parent().html()),a.find(".icon_description").css("color",u),a.find(".icon_description").css("background-color",l),a.find(".icon_description h3").html(e),a.find(".icon_description p").html(t),a.find(".icon_list_icon").css({"background-color":r,color:n,border:c}),a.addClass(i),s.append(a.wrap("<div />").parent().html())})}})}function make_info_circle(i,e){jQuery(i).each(function(i,s){var a=jQuery(s).data("icon-size");jQuery(jQuery(s).find(".icon-circle-list .info-circle-icons")).each(function(i,e){var t,r,n,c,o;t=jQuery(this).data("padding-style"),c=!!jQuery(e).hasClass("info-circle-icon-without-background")?(r=n=o=a,a/2):null!=t?(r=n=o=a,a/2+t):(r=n=o=2*a,a),jQuery(s).parent().css({"margin-top":c+10+"px","margin-bottom":c+10+"px"}),jQuery(this).css({"font-size":a+"px",height:r+"px",width:n+"px",margin:"-"+c+"px","line-height":o+"px"})})}),".info-c-full-br"==i&&jQuery(i).each(function(){jQuery(this).css("height",jQuery(this).width()),jQuery(this).css("opacity","1")}),".info-c-semi-br"==i&&jQuery(i).each(function(){var i=jQuery(this).width();jQuery(this).css("height",parseInt(i)/2+"px");i=i+"px "+i+"px  0 0";jQuery(this).css("border-radius",i);var e=jQuery(this).find(".info-c-full").width();e=e+"px "+e+"px 0 0",jQuery(this).find(".info-c-full").css("border-radius",e)}),setTimeout(function(){e==resizedd&&(".info-c-full-br"==i&&part_circle_icon(i),".info-c-semi-br"==i&&semi_circle_icon(i))},1e3)}function part_circle_icon(i){jQuery(i).each(function(){jQuery(this).bsf_appear(function(){if("none"!=jQuery(this).css("display")){var i=jQuery(this).find(".icon-circle-list .info-circle-icons").length,e=new Array,t=jQuery(this).outerWidth()/2,r=0,n=jQuery(this).data("start-degree");void 0===n&&""==n||(r=n);var c=180/i,o=jQuery(this).data("info-circle-angle"),s=jQuery(this).data("divert"),a="";"full"==o&&(a=o,o=180,c=90,t=-t);var l=0,u=!1;for(d=1;d<=i;d++){var f=d*((180+2*c)/i);"full"==a?(f<r&&1==d?(l=r-f,u=!1):r<f&&1==d&&(l=f-r,u=!0),1==u?f-=l:f+=l):f=f+o-c+s,f*=.0174532925,e.push(t*Math.cos(f)),e.push(t*Math.sin(f))}var d=0,h=0,p=jQuery(this).data("launch"),y=jQuery(this).data("launch-duration"),j=jQuery(this).data("launch-delay");y||(y=1),j||(j=.15),""!=p?(h=-1e3*j,jQuery(this).find(".icon-circle-list .info-circle-icons").each(function(){var i=jQuery(this);h+=1e3*j,setTimeout(function(){i.animate({opacity:1,left:e[d++],top:e[d++]},{duration:1e3*y,easing:p})},h)})):jQuery(this).find(".icon-circle-list .info-circle-icons").each(function(){jQuery(this).css({opacity:"1",left:e[d++],top:e[d++]})})}})})}jQuery(document).ready(function(){make_info_circle(".info-c-full-br",0),responsive_check(".info-c-full-br"),jQuery(".clipped-info-circle").each(function(i,e){var t=jQuery(this).outerHeight(),r=jQuery(this).outerWidth();jQuery(this).attr("data-first-width",r),jQuery(this).attr("data-first-height",t)}),jQuery(window).resize(function(){make_info_circle(".info-c-full-br",++resizedd),calculate_clipped_circle()}),jQuery(window).load(function(){make_info_circle(".info-c-full-br",++resizedd),calculate_clipped_circle()}),jQuery(document).on("ultAdvancedTabClicked",function(){make_info_circle(".info-c-full-br",++resizedd),calculate_clipped_circle()}),jQuery(".info-c-full-br").each(function(){"click"==jQuery(this).data("focus-on")&&jQuery(this).find(".icon-circle-list .info-circle-icons").click(function(){var i=jQuery(this);jQuery(this).parents(".info-c-full-br").attr("data-slide-true","false"),show_next_info_circle(i)}),"hover"==jQuery(this).data("focus-on")&&jQuery(this).find(".icon-circle-list .info-circle-icons").hover(function(){var i=jQuery(this);jQuery(this).parents(".info-c-full-br").attr("data-slide-true","false"),show_next_info_circle(i)},function(){})}),setTimeout(function(){jQuery(".info-c-full-br").each(function(){var i=jQuery(this).data("slide-duration");i||(i=.2),jQuery(this).attr("data-slide-number","1"),info_circle_slide(1e3*i,jQuery(this)),show_next_info_circle(jQuery(this).find(".info-circle-icons").eq(0))})},1e3)}),jQuery(window).load(function(){jQuery(".info-c-full-br").each(function(){"on"==jQuery(this).attr("data-slide-true")&&jQuery(this).hover(function(){jQuery(this).attr("data-slide-true","off")},function(){jQuery(this).attr("data-slide-true","on")})})}),jQuery(document).ready(function(i){jQuery(".icon_list_item").each(function(i,e){var t=jQuery(this);1<=t.find(".info-circle-img-icon").length&&t.closest("ul.smile_icon_list").addClass("ic-resp-img")})});