text: !function(e){var t=e.querySelector(".sidebar-toggle"),i=e.querySelector("#sidebar"),o=e.querySelector("#sidebar-checkbox");e.addEventListener("click",function(e){var r=e.target;o.checked&&!i.contains(r)&&r!==o&&r!==t&&(o.checked=!1)},!1)}(document),function(e){"use strict";e.fn.fitVids=function(t){var i={customSelector:null,ignore:null};if(!document.getElementById("fit-vids-style")){var o=document.head||document.getElementsByTagName("head")[0],r=".fluid-width-video-wrapper{width:100%;position:relative;padding:0;}.fluid-width-video-wrapper iframe,.fluid-width-video-wrapper object,.fluid-width-video-wrapper embed {position:absolute;top:0;left:0;width:100%;height:100%;}",a=document.createElement("div");a.innerHTML='<p>x</p><style id="fit-vids-style">'+r+"</style>",o.appendChild(a.childNodes[1])}return t&&e.extend(i,t),this.each(function(){var t=['iframe[src*="player.vimeo.com"]','iframe[src*="youtube.com"]','iframe[src*="youtube-nocookie.com"]','iframe[src*="kickstarter.com"][src*="video.html"]',"object","embed"];i.customSelector&&t.push(i.customSelector);var o=".fitvidsignore";i.ignore&&(o=o+", "+i.ignore);var r=e(this).find(t.join(","));r=r.not("object object"),r=r.not(o),r.each(function(){var t=e(this);if(!(t.parents(o).length>0||"embed"===this.tagName.toLowerCase()&&t.parent("object").length||t.parent(".fluid-width-video-wrapper").length)){t.css("height")||t.css("width")||!isNaN(t.attr("height"))&&!isNaN(t.attr("width"))||(t.attr("height",9),t.attr("width",16));var i="object"===this.tagName.toLowerCase()||t.attr("height")&&!isNaN(parseInt(t.attr("height"),10))?parseInt(t.attr("height"),10):t.height(),r=isNaN(parseInt(t.attr("width"),10))?t.width():parseInt(t.attr("width"),10),a=i/r;if(!t.attr("id")){var d="fitvid"+Math.floor(999999*Math.random());t.attr("id",d)}t.wrap('<div class="fluid-width-video-wrapper"></div>').parent(".fluid-width-video-wrapper").css("padding-top",100*a+"%"),t.removeAttr("height").removeAttr("width")}})})}}(window.jQuery||window.Zepto),jQuery(document).ready(function(){function e(){if(""!=config.disqus_shortname&&null!=config.disqus_shortname&&void 0!=config.disqus_shortname){var e=config.disqus_shortname;!function(){var t=document.createElement("script");t.type="text/javascript",t.async=!0,t.src="//"+e+".disqus.com/embed.js",(document.getElementsByTagName("head")[0]||document.getElementsByTagName("body")[0]).appendChild(t)}()}else alert("Please check Disqus short name configuration on your _config.yml")}jQuery(".post").fitVids(),$(".load-view").click(function(){e(),$(this).fadeOut(200)})}),jQuery(document).ready(function(e){var t=300,i=1200,o=700,r=e(".wc-top");e(window).scroll(function(){e(this).scrollTop()>t?r.addClass("wc-is-visible"):r.removeClass("wc-is-visible wc-fade-out"),e(this).scrollTop()>i&&r.addClass("wc-fade-out")}),r.on("click",function(t){t.preventDefault(),e("body,html").animate({scrollTop:0},o)})});