COMIC={version:.961},function(){function t(t){return Math.round(t*p)/p}function a(t){if(!t.pathSegList){var a=document.createElementNS("http://www.w3.org/2000/svg","path");a.setAttribute("d",t.getAttribute("d"))}var e=t.pathSegList||a.pathSegList;e.length||(e=e._list);for(var n=[],i=0;i0;g--){var M=I(d,1/g),m=M[0],d=M[1];y=m[0],x=m[1],p=m[2],v=m[3],u.call(this,y[0],y[1],V((x[0]+p[0])/2,f),V((x[1]+p[1])/2,f),v[0],v[1])}return this};i.cBezier2=function(t,a,e,n,i,s){return o.call(this),r.call(this,t,a,e,n,i,s),l.call(this)};var r=function(t,a,n,i,s,r){for(var h=3*N(t,a,s,r),c=Math.ceil(Math.pow(h/e.fsteps,.9)),o=.8*e.ff,l=[t,a],f=[n,i],y=[s,r],x=[l,f,y],p=c;p>0;p--){var v=I(x,1/p),d=v[0],x=v[1];l=d[0],f=d[1],y=d[2],u.call(this,l[0],l[1],V(f[0],o),V(f[1],o),y[0],y[1])}return this};i.cEllipse=function(t,a,e,n,i,s,r){return o.call(this),h.call(this,t,a,e,n,i,s,r),l.call(this)};var h=function(t,a,n,i,s,r,h){var c=2*Math.PI;r="undefined"==typeof r?0:r,h="undefined"==typeof h?c:h,s="undefined"==typeof s?0:s;var o,l,f=Math.cos(s),y=Math.sin(s),x=e.msteps+(n+i)/2*e.fsteps/200,v=e.ffc*Math.pow(n,.5)*.3/Math.pow(x,.25),d=e.ffc*Math.pow(i,.5)*.3/Math.pow(x,.25),g=.95+.1*Math.random(),M=.95+.1*Math.random(),m=n*g,b=i*M,w=h-r,k=w/x,P=r,S=m*Math.cos(P),I=b*Math.sin(P),T=t+S*f-I*y,C=a+S*y+I*f;p.call(this,t+n*Math.cos(P)*f-i*Math.sin(P)*y,a+n*Math.cos(P)*y+i*Math.sin(P)*f,T,C);for(var N=1;x>=N;N++){P+=k;var o=T,l=C,S=m*Math.cos(P),I=b*Math.sin(P),T=t+S*f-I*y,C=a+S*y+I*f;u.call(this,o,l,V((o+T)/2,v),V((l+C)/2,d),T,C)}return p.call(this,T,C,t+n*Math.cos(h)*f-i*Math.sin(h)*y,a+n*Math.cos(h)*y+i*Math.sin(h)*f),this};i.cCircle=function(t,a,e,n,i){return o.call(this),c.call(this,t,a,e,n,i),l.call(this)};var c=function(t,a,n,i,s){var r=2*Math.PI;i="undefined"==typeof i?0:i,s="undefined"==typeof s?r:s;var h,c,o=e.msteps+n*e.fsteps/200,l=e.ffc*Math.pow(n,.5)*.3/Math.pow(o,.25),f=.975+.05*Math.random(),y=n*f,x=n*(2-f),v=s-i,d=v/o,g=i,M=t+Math.cos(g)*y,m=a+Math.sin(g)*x;p.call(this,t+Math.cos(g)*n,a+Math.sin(g)*n,M,m);for(var b=1;o>=b;b++)g+=d,h=M,c=m,M=t+Math.cos(g)*y,m=a+Math.sin(g)*x,u.call(this,h,c,V((h+M)/2,l),V((c+m)/2,l),M,m);return p.call(this,M,m,t+Math.cos(s)*n,a+Math.sin(s)*n),this};i.cTrian=function(t,a,e,n,i,s){return o.call(this),p.call(this,t,a,e,n),p.call(this,e,n,i,s),p.call(this,i,s,t,a),l.call(this)},i.cRect=function(t,a,e,n,i,s){return o.call(this),x.call(this,t,a,e,n,i,s),l.call(this)};var x=function(t,a,e,n,i,s){var r;i="undefined"==typeof i?0:Math.min(i,e/2),s="undefined"==typeof s?i:Math.min(s,n/2);var c=t+e,o=a+n;return p.call(this,t+i,a,c-i,a),i>0&&(r=Math.PI/2,h.call(this,c-i,a+s,i,s,0,3*r,2*Math.PI)),p.call(this,c,a+s,c,o-s),i>0&&h.call(this,c-i,o-s,i,s,0,0,r),p.call(this,c-i,o,t+i,o),i>0&&h.call(this,t+i,o-s,i,s,0,r,Math.PI),p.call(this,t,o-s,t,a+s),i>0&&h.call(this,t+i,a+s,i,s,0,Math.PI,3*r),this};i.cLine=function(t,a,e,n){return o.call(this),p.call(this,t,a,e,n),l.call(this)};var p=function(t,a,n,i){var s,r=function(t,a,e){if("undefined"!=typeof e){var n=Math.pow(e,3),i=n*e,r=i*e;s=15*i-6*r-10*n}return t+(t-a)*s},h=N(t,a,n,i),c=Math.ceil(h/e.fsteps);c=y;y++){t1=y/c;var x=o,p=l,o=r(t,n,t1),l=r(a,i);u.call(this,x,p,V((x+o)/2,f),V((p+l)/2,f),o,l)}return this},v=function(t){var a="error: no drawing element given";found=!1,tags=["svg","g"];var e=function(t){for(;t[0]&&"string"!=typeof t[0];)t=t[0];return t},n=function(t){return t.contentDocument&&(t=t.contentDocument),t},i=function(t){return"object"==typeof t.node&&"string"==typeof t.node.tagName&&(t=t.node),t},s=function(t){return"string"!=typeof t.tagName?!1:tags.indexOf(t.tagName)>=0};if(t=e(t),t=n(t),t=i(t),!(found=s(t))){if("object"==typeof t.children)for(var r=0;!found&&r=0&&i.call(this,a[e]));switch(o(),t.tagName){case"rect":g.call(this,t);break;case"circle":M.call(this,t);break;case"ellipse":m.call(this,t);break;case"line":b.call(this,t);break;case"polyline":w.call(this,t);break;case"polygon":k.call(this,t);break;case"path":P.call(this,t);break;case"g":break;case"svg":}var n=t;if(["rect","circle","ellipse","line","polyline","polygon"].indexOf(t.tagName)>=0){n=document.createElementNS("http://www.w3.org/2000/svg","path");for(var s=t.attributes,e=0;e0&&n.setAttribute("d",y)}.call(this,n),n}};var d=function(t){return t.animVal.value},g=function(t){x.call(this,d(t.x),d(t.y),d(t.width),d(t.height),d(t.rx),d(t.ry))},M=function(t){c.call(this,d(t.cx),d(t.cy),d(t.r))},m=function(t){h.call(this,d(t.cx),d(t.cy),d(t.rx),d(t.ry))},b=function(t){p.call(this,d(t.x1),d(t.y1),d(t.x2),d(t.y2))},w=function(t){for(var a=t.points,e=a.getItem(0),n=1;n1;){var g={x:o.x+u.shift(),y:o.y+u.shift()};p.call(this,e.x,e.y,g.x,g.y),e=g,d()}break;case"Q":case"q":for(i=void 0;u.length>3;){var M={x:o.x+u.shift(),y:o.y+u.shift()},m={x:o.x+u.shift(),y:o.y+u.shift()};r.call(this,e.x,e.y,M.x,M.y,m.x,m.y),e=m,c=M,d()}break;case"T":case"t":for(i=void 0;u.length>1;){var m={x:o.x+u.shift(),y:o.y+u.shift()},M="undefined"==typeof c?e:{x:2*e.x-c.x,y:2*e.y-c.y};r.call(this,e.x,e.y,M.x,M.y,m.x,m.y),e=m,c=M,d()}break;case"C":case"c":for(c=void 0;u.length>5;){var M={x:o.x+u.shift(),y:o.y+u.shift()},m={x:o.x+u.shift(),y:o.y+u.shift()},b={x:o.x+u.shift(),y:o.y+u.shift()};s.call(this,e.x,e.y,M.x,M.y,m.x,m.y,b.x,b.y),e=b,i=m,d()}break;case"S":case"s":for(c=void 0;u.length>3;){var m={x:o.x+u.shift(),y:o.y+u.shift()},b={x:o.x+u.shift(),y:o.y+u.shift()},M="undefined"==typeof i?e:{x:2*e.x-i.x,y:2*e.y-i.y};s.call(this,e.x,e.y,M.x,M.y,m.x,m.y,b.x,b.y),e=b,i=m,d()}break;case"A":case"a":for(i=void 0,c=void 0;u.length>6;){var w=Math.abs(u.shift()),k=Math.abs(u.shift()),P=u.shift()%360,I=!!u.shift(),T=!!u.shift(),M={x:o.x+u.shift(),y:o.y+u.shift()};if(!(M.x==e.x&&M.y==e.y||0==w&&0==k))if(0!=w&&0!=k){var C=S(e,M,w,k,P,I,T),V=C[0],N=C[1].x,O=C[1].y;h.call(this,V.x,V.y,w,k,P,N,O),e=M,d()}else M=0==k?{x:M.x,y:e.y}:{x:e.x,y:M.y},p.call(this,e.x,e.y,M.x,M.y),e=M,d()}break;case"L":case"l":for(i=void 0,c=void 0;u.length>1;){var M={x:o.x+u.shift(),y:o.y+u.shift()};p.call(this,e.x,e.y,M.x,M.y),e=M,d()}break;case"H":case"h":for(i=void 0,c=void 0;u.length>0;){var M={x:o.x+u.shift(),y:e.y};p.call(this,e.x,e.y,M.x,M.y),e=M,d()}break;case"V":case"v":for(i=void 0,c=void 0;u.length>0;){var M={x:e.x,y:o.y+u.shift()};p.call(this,e.x,e.y,M.x,M.y),e=M,d()}break;case"Z":case"z":i=void 0,c=void 0,p.call(this,e.x,e.y,n.x,n.y),y+="z",e=n}}},S=function(t,a,e,n,i,s,r){var h=function(t,a){var e=t.x*a.y-t.y*a.x>=0?1:-1;return 0==t.x&&0==t.y?0:e*Math.acos((t.x*a.x+t.y*a.y)/(Math.sqrt(t.x*t.x+t.y*t.y)*Math.sqrt(a.x*a.x+a.y*a.y)))};i%=360,e=Math.abs(e),n=Math.abs(n);var c=2*Math.PI,o=Math.cos(i),l=Math.sin(i),f=o*(t.x-a.x)/2+l*(t.y-a.y)/2,u=-1*l*(t.x-a.x)/2+o*(t.y-a.y)/2,y=e*e,x=n*n,p=f*f,v=u*u,d=(s==r?-1:1)*Math.sqrt(Math.abs(y*(x-v)-x*p)/(y*v+x*p)),g=d*e*u/n,M=-1*d*n*f/e,m=o*g-l*M+(t.x+a.x)/2,b=l*g+o*M+(t.y+a.y)/2,w={x:(f-g)/e,y:(u-M)/n},k=h({x:1,y:0},w),P=h(w,{x:(-f-g)/e,y:(-u-M)/n})%360,S=k+P+(!r&&P>0?-c:0)+(r&&0>P?c:0);return[{x:m,y:b},{x:k,y:S}]},I=function(t,a){for(var e=t.length-1,n=[],i=[],s=[],r=1-a,h=function(t,a){for(var e=[],n=0;n=o;o++)t[o]="object"==typeof t[o]?t[o]:[t[o]],n.push([t[o]]);for(var l=1;e>=l;l++)for(var o=0;e-l>=o;o++)n[o].push(c(h(n[o][l-1],r),h(n[o+1][l-1],a)));for(var l=0;e>=l;l++)i.push(n[0][l]),s.push(n[l][e-l]);return[i,s]},T=function(t,a){return++T.count>2&&(T.count=0,T.sign*=-1),t+a*(Math.random()/2+.5*T.sign)};T.count=0,T.sign=+new Date%2?1:-1;var C=function(t,a){var e=C.count,n=Math.random()-.5;2==++C.count&&(C.count=0);var i=t+a*(n-C.rnds[e]);return C.rnds[e]=n,i};C.count=0,C.rnds=[0,0];var V=function(t,a){return e.drunk?T(t,a):C(t,a)},N=function(t,a,e,n){var i=e-t,s=n-a;return Math.sqrt(i*i+s*s)};"canvas"==n?(u=function(t,a,n,i,s,r){this.moveTo(t,a),this.quadraticCurveTo(n,i,s,r),e.pathPos={x:s,y:r}},l=function(){return this.stroke(),this},o=function(){return this.beginPath(),this}):(u=function(a,n,i,s,r,h){return a=t(a),n=t(n),i=t(i),s=t(s),r=t(r),h=t(h),y+=e.pathPos.x!=a||e.pathPos.y!=n||0==y.length?["M",a,n,"Q",i,s,r,h].join(" "):["Q",i,s,r,h].join(" "),e.pathPos={x:r,y:h},this},o=function(){return y="",e.pathPos={x:0,y:0},this}),"raphael"==n&&(l=function(){return this.path(y)}),"d3"==n&&(l=function(){return this.append("svg:path").attr("d",y)}),"svg"==n&&(l=function(){return this.path(y)})};if(e.bindTo=v,e.init({fsteps:n,msteps:i,ff:s,ffc:r,drunk:h,context:c}),"undefined"!=typeof Raphael&&v("raphael",Raphael.fn),"undefined"!=typeof SVG){var d={};v("svg",d),SVG.extend(SVG.Set,d),SVG.extend(SVG.Group,d),SVG.extend(SVG.Element,d)}"undefined"!=typeof d3&&(v("d3",d3.selection.prototype),v("d3",d3.selection.enter.prototype)),v("self",COMIC)}();