“+t)})}),m(“.ct_provider_comparison_table-mobile th span”).click(function(){m(this).toggleClass(“ct-provider-hidden”),m(this).parents(“tbody”).find(“tr:gt(0)”).toggle()})):m(this).find(“table:first”).css({display:”table”}))})}},COMPARITECH.Comments_Manage_Handling=function(){this.init=function(){m(“.all-reviews-title-link”).click(function(){m(“.comments-list-heading-reset > h2”).removeClass(“active”),m(“.comments-list-heading-reset > a”).removeClass(“active”),m(“.comments-list-heading-reset > h2.default-heading”).addClass(“active”),m(“.single-comment”).show(),m(“html, body”).animate({scrollTop:m(“.comments-list-heading”).offset().top-50})}),m(“a.jump-to-comment-box.add-review-heading”).click(function(){return m(“html, body”).animate({scrollTop:m(“#respond”).offset().top-50}),!1}),m(“.review-text-inner”).each(function(){m(this).height() h2″).removeClass(“active”),m(“.comments-list-heading-reset > a”).addClass(“active”),m(this).hasClass(“related-reviews-amount-negative”)?(m(‘.single-comment[data-type=”positive”]’).hide(),m(“.comments-list-heading-reset > h2.critical-heading”).addClass(“active”)):(m(‘.single-comment[data-type=”negative”]’).hide(),m(“.comments-list-heading-reset > h2.positive-heading”).addClass(“active”)),m(“html, body”).animate({scrollTop:m(“.comments-list-heading”).offset().top-50})}),m(“.summary-related”).click(function(){var t=m(this).data(“related”);m(“.single-comment”).show(),m(“.single-comment”).each(function(){m(this).data(“related”)%t!=0&&m(this).hide()}),m(“.comments-list-heading-reset > h2”).removeClass(“active”),m(“.comments-list-heading-reset > a”).addClass(“active”),m(“.comments-list-heading-reset > h2.related-heading”).addClass(“active”),m(“html, body”).animate({scrollTop:m(“.comments-list-heading”).offset().top-50})}),m(“.comments-list-heading select”).change(function(){var t=m(this).val();m(“.single-comment”).show(),”recent”==t&&tinysort(“.single-comment”,{data:”date”,order:”desc”}),”old”==t&&tinysort(“.single-comment”,{data:”date”,order:”asc”}),”high”==t&&tinysort(“.single-comment”,{data:”rating”,order:”desc”},{data:”date”,order:”desc”}),”low”==t&&tinysort(“.single-comment”,{data:”rating”,order:”asc”},{data:”date”,order:”desc”})}),m(“.single-feedback-line”).click(function(){var t=m(this).data(“rating”);m(“.single-comment”).show(),m(‘.single-comment:not([data-rating=”‘+t+'”])’).hide(),m(“.comments-list-heading-reset > h2”).removeClass(“active”),m(“.comments-list-heading-reset > a”).addClass(“active”),m(“.comments-list-heading-reset > h2.stars-heading”).addClass(“active”),m(“.comments-list-heading-reset > h2.stars-heading span”).text(t),m(“html, body”).animate({scrollTop:m(“.comments-list-heading”).offset().top-50})}),m(“.comments-list-heading-reset > a”).click(function(){return m(“.comments-list-heading-reset > h2”).removeClass(“active”),m(“.comments-list-heading-reset > a”).removeClass(“active”),m(“.comments-list-heading-reset > h2.default-heading”).addClass(“active”),m(“.single-comment”).show(),!1}),m(“.single-review #respond form”).removeAttr(“novalidate”),m(“.single-review #respond form #comment”).on(“change keyup paste”,function(){var t=m(this).val().length,e=0;t :last-child”),t.removeClass(“hidden”)),clearInterval(o))},100)}(),1===m(“#ct-image-popup”).length?(s=m(“#ct-image-popup”),COMPARITECH.GENERAL().get_cookie(s.data(“cookie”))||(s.hasClass(“ct_is_mobile”)?setTimeout(function(){s.css(“display”,”block”),COMPARITECH.GENERAL().trigger_ga_event(“Popups”,”Triggered”,s.data(“ga”))},4e4):m(window).on(“ct_exit_intent”,function(){s.css(“display”,”block”),COMPARITECH.GENERAL().trigger_ga_event(“Popups”,”Triggered”,s.data(“ga”))}),r(s,s.data(“cookie”)))):1===m(“#ct-popup”).length&&(n=m(“#ct-popup”),COMPARITECH.GENERAL().get_cookie(n.data(“cookie”))||(n.hasClass(“ct_is_mobile”)?setTimeout(function(){n.css(“display”,”block”),COMPARITECH.GENERAL().trigger_ga_event(“Popups”,”Triggered”,n.data(“ga”))},4e4):m(window).on(“ct_exit_intent”,function(){n.css(“display”,”block”),COMPARITECH.GENERAL().trigger_ga_event(“Popups”,”Triggered”,n.data(“ga”))}),r(n,n.data(“cookie”)))),COMPARITECH.GENERAL().add_to_datalayer()}},COMPARITECH._open_external_links_in_new_tab(),COMPARITECH._comparison_table_l_param_switcher(),0