text: /*! project-name v0.0.1 | (c) 2019 YOUR NAME | MIT License | http://link-to-your-git-repo.com */
  var $;!(function(n){var i=i||{};n.fn.openRecipe=function(n){return this.each((function(){Object.create(i.openRecipe).init(this,n)}))},n.fn.openRecipe.options={recipe:".recipe",tab:".recipe__tab"},i.openRecipe={init:function(i,e){this.$container=n(i),this.options=n.extend({},n.fn.openRecipe.options,e),this.bindElements(),this.bindEvents()},bindElements:function(){this.$recipe=this.$container.find(this.options.recipe),this.$tab=this.$container.find(this.options.tab)},bindEvents:function(){var i=this;n(i.options.tab).each((function(){n(this).on("click",(function(){var e=n(this);i.openRecipe(e)}))})),n(i.options.recipe).each((function(){n(this).on("click",(function(){var e=n(".printBtn"),t=n(this).children(i.options.tab);e.is(event.target)||i.openRecipe(t)}))})),n(document).on("click",(function(n){var e,t=document.getElementById("open");t&&(e=t.contains(n.target)),e||i.closeRecipe()}))},openRecipe:function(i){var e=n(i).parents(".recipe");e.hasClass("open")||(e.addClass("opening"),setTimeout((function(){e.addClass("open"),e.attr("id","open"),e.removeClass("opening")}),1900))},closeRecipe:function(i){var e=n("#open");e.length&&(e.addClass("closing"),e.removeClass("open"),setTimeout((function(){e.removeClass("closing"),e.attr("id","")}),1900))}}})($=jQuery),$(document).ready((function(){for(var n=$(document).find("p"),i=0;i<n.length;i++){var e=n[i];0==$(e).html().replace(/\s|&nbsp;/g,"").length&&$(e).css("display","none")}$(".recipes-wrapper").openRecipe()})),(function(n){var i=i||{};n.fn.printRecipe=function(n){return this.each((function(){Object.create(i.printRecipe).init(this,n)}))},n.fn.printRecipe.options={recipe:".recipe",printBtn:".printBtn",printContainer:".print-container"},i.printRecipe={init:function(i,e){this.$container=n(i),this.options=n.extend({},n.fn.printRecipe.options,e),this.bindElements(),this.bindEvents()},bindElements:function(){this.$recipe=this.$container.find(this.options.recipe),this.$printContainer=this.$container.find(this.options.printContainer)},bindEvents:function(){var i=this;n(i.options.printBtn).each((function(){n(this).on("click",(function(){var e=n(this).parents(i.options.recipe);i.printRecipe(e)}))}))},printRecipe:function(i){i.clone().appendTo(this.options.printContainer),window.print(),n(this.options.printContainer).empty()}}})($=jQuery),$(document).ready((function(){$(".recipes-wrapper").printRecipe()}));