File: /home/clinicamaciel/www/wp-content/plugins/vc-extensions-bundle/comparecard/js/init.min.js
jQuery(document).ready(function(c){c(".cq-comparecard").each(function(e,a){function t(){n=setInterval(function(){clearInterval(n),c(".cq-comparecard-checkbox",o).trigger("click"),t()},1e3*i)}function r(){i>0&&clearInterval(n),c(".cq-comparecard-item",o).each(function(e,a){c(this).hasClass("cq-comparecard-in")&&c(this).removeClass("cq-comparecard-in").addClass("cq-comparecard-out")})}var o=c(this),i=parseInt(c(this).data("autoslide"),10),n=0;i>0&&t(),o.on("mouseover",function(c){i>0&&clearInterval(n)}).on("mouseleave",function(c){i>0&&t()}),c(".cq-comparecard-checkbox",o).on("click",function(e){i>0&&clearInterval(n),1==c(this).prop("checked")?s[1].trigger("click"):s[0].trigger("click")});var s=[];c(".cq-comparecard-item",o).each(function(e,a){var t=c(this).attr("title");if(t&&""!==t)var t=c(".cq-comparecard-avatar",c(this)).tooltipster({content:t,position:"top",delay:200,interactive:!0,speed:300,touchDevices:!0,animation:"grow",theme:"tooltipster-shadow",contentAsHTML:!0});s[e]=c(this),c(this).data("index",e),c(this).on("click",function(e){r(),c(this).removeClass("cq-comparecard-out").addClass("cq-comparecard-in"),0==c(this).data("index")?c(".cq-comparecard-checkbox",o).prop("checked",!1):c(".cq-comparecard-checkbox",o).prop("checked",!0)})})})});