var $the_post=jQuery("#the-post"),$postContent=$the_post.find(".entry");$doc.ready(function(){"use strict";function e(e){var t;if(!e)var e=window.event;return e.which?t=3==e.which:e.button&&(t=2==e.button),t}function t(){var e="";return window.getSelection?e=window.getSelection().toString():document.selection&&"Control"!=document.selection.type&&(e=document.selection.createRange().text),e}if(jQuery("#show-comments-section").on("click",function(){var e=jQuery("#comments");return tie_animate_element(e),e.show(),jQuery(this).hide(),!1}),$doc.on("click",".print-share-btn",function(){return window.print(),!1}),tie.responsive_tables&&$the_post.find("table").wrap('
'),!tie.autoload_posts){var i=jQuery("#the-sticky-video");if(tie.is_sticky_video&&i.length){var a=i.offset().top,n=tie.sticky_desktop?60:0,n=$body.hasClass("admin-bar")?n+32:n,o=Math.floor(a+i.outerHeight()-n),s=$window.width();jQuery(".video-close-btn").click(function(){i.removeClass("video-is-sticky").addClass("stop-sticky")}),$window.on("resize load",function(){a=i.offset().top,o=Math.floor(a+i.outerHeight()-n),s=$window.width();var e=jQuery(".sidebar");if($body.hasClass("has-sidebar")&&e.length){var t=e.width(),r=$body.hasClass("magazine2")&&$body.hasClass("sidebar-right")?40:15,l=$window.width()-(e.offset().left+t);t&&i.find(".featured-area-inner").css({width:t,right:l-r,left:"auto",bottom:"auto",top:n+20})}}).on("scroll",function(){i.hasClass("stop-sticky")||i.toggleClass("video-is-sticky",$window.scrollTop()>o&&s>992).show()})}if(tie.reading_indicator&&$postContent.length){var r=$postContent.height(),l=$window.height();$window.scroll(function(){var e=0,t=$postContent.offset().top,i=$window.scrollTop();i>t&&(e=100*(i-t)/(r-l)),jQuery("#reading-position-indicator").css("width",e+"%")})}}var d=jQuery("#check-also-box");if(d.length){tie_animate_element(d);var c=$the_post.outerHeight(),u=!1;$window.scroll(function(){if(!u){var e=$window.scrollTop();e>c?d.addClass("show-check-also"):d.removeClass("show-check-also")}})}jQuery("#check-also-close").on("click",function(){return d.removeClass("show-check-also"),u=!0,!1}),tie.select_share&&($postContent.mousedown(function(i){$body.attr("mouse-top",i.clientY+window.pageYOffset),$body.attr("mouse-left",i.clientX),!e(i)&&t().length&&(jQuery(".fly-text-share").remove(),document.getSelection().removeAllRanges())}),$postContent.mouseup(function(i){var a=(jQuery(i.target),t()),n=a;if(a.length>3&&!e(i)){var o=$body.attr("mouse-top"),s=i.clientY+window.pageYOffset;parseInt(o)