(function(a){function b(b,c,d,e){var f=b.text().split(c),g="";if(f.length){a(f).each(function(a,b){g+='<span class="'+d+(a+1)+'">'+b+"</span>"+e});b.empty().append(g)}}var c={init:function(){return this.each(function(){b(a(this),"","char","")})},words:function(){return this.each(function(){b(a(this)," ","word"," ")})},lines:function(){return this.each(function(){var c="eefec303079ad17405c889e092e105b0";b(a(this).children("br").replaceWith(c).end(),c,"line","")})}};a.fn.lettering=function(b){if(b&&c[b]){return c[b].apply(this,[].slice.call(arguments,1))}else if(b==="letters"||!b){return c.init.apply(this,[].slice.call(arguments,0))}a.error("Method "+b+" does not exist on jQuery.lettering");return this}})(jQuery)
