!function(a){var b=function(a,b){var c,d=a.charCodeAt(b);return d>=55296&&d<=56319&&a.length>b+1&&(c=a.charCodeAt(b+1),c>=56320&&c<=57343)?a.substring(b,b+2):a[b]},c=function(a,c,d){for(var e,f="",g=0,h=0,i=a.length;g<i;)e=b(a,g),h>=c&&h<d&&(f+=e),g+=e.length,h+=1;return f};a.fn.initial=function(b){var d=["#1abc9c","#16a085","#f1c40f","#f39c12","#2ecc71","#27ae60","#e67e22","#d35400","#3498db","#2980b9","#e74c3c","#c0392b","#9b59b6","#8e44ad","#bdc3c7","#34495e","#2c3e50","#95a5a6","#7f8c8d","#ec87bf","#d870ad","#f69785","#9ba37e","#b49255","#b49255","#a94136"];return this.each(function(){var e=a(this),f=a.extend({name:"Name",seed:0,charCount:1,textColor:"#ffffff",height:100,width:100,fontSize:60,fontWeight:400,fontFamily:"HelveticaNeue-Light,Helvetica Neue Light,Helvetica Neue,Helvetica, Arial,Lucida Grande, sans-serif",radius:0},b);f=a.extend(f,e.data());var g=c(f.name,0,f.charCount).toUpperCase(),h=a('<text text-anchor="middle"></text>').attr({y:"50%",x:"50%",dy:"0.35em","pointer-events":"auto",fill:f.textColor,"font-family":f.fontFamily}).html(g).css({"font-weight":f.fontWeight,"font-size":f.fontSize+"px"}),i=Math.floor((g.charCodeAt(0)+f.seed)%d.length),j=a("<svg></svg>").attr({xmlns:"http://www.w3.org/2000/svg","pointer-events":"none",width:f.width,height:f.height}).css({"background-color":d[i],width:f.width+"px",height:f.height+"px","border-radius":f.radius+"px","-moz-border-radius":f.radius+"px"});j.append(h);var k=window.btoa(unescape(encodeURIComponent(a("<div>").append(j.clone()).html())));e.attr("src","data:image/svg+xml;base64,"+k)})}}(jQuery);