<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -4,4 +4,4 @@
  * Copyright (c) 2008 - 2009 Dmitry Baranovskiy (http://raphaeljs.com)
  * Licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) license.
  */
-window.Raphael=(function(){var y=/[, ]+/,F=document,m=window,q={was:&quot;Raphael&quot; in window,is:window.Raphael},E=function(){return J.apply(E,arguments);},B={},O={&quot;clip-rect&quot;:&quot;0 0 10e9 10e9&quot;,cx:0,cy:0,fill:&quot;#fff&quot;,&quot;fill-opacity&quot;:1,font:'10px &quot;Arial&quot;',&quot;font-family&quot;:'&quot;Arial&quot;',&quot;font-size&quot;:&quot;10&quot;,&quot;font-style&quot;:&quot;normal&quot;,&quot;font-weight&quot;:400,gradient:0,height:0,href:&quot;http://raphaeljs.com/&quot;,opacity:1,path:&quot;M0,0&quot;,r:0,rotation:0,rx:0,ry:0,scale:&quot;1 1&quot;,src:&quot;&quot;,stroke:&quot;#000&quot;,&quot;stroke-dasharray&quot;:&quot;&quot;,&quot;stroke-linecap&quot;:&quot;butt&quot;,&quot;stroke-linejoin&quot;:&quot;butt&quot;,&quot;stroke-miterlimit&quot;:0,&quot;stroke-opacity&quot;:1,&quot;stroke-width&quot;:1,target:&quot;_blank&quot;,&quot;text-anchor&quot;:&quot;middle&quot;,title:&quot;Raphael&quot;,translation:&quot;0 0&quot;,width:0,x:0,y:0},T={&quot;clip-rect&quot;:&quot;csv&quot;,cx:&quot;number&quot;,cy:&quot;number&quot;,fill:&quot;colour&quot;,&quot;fill-opacity&quot;:&quot;number&quot;,&quot;font-size&quot;:&quot;number&quot;,height:&quot;number&quot;,opacity:&quot;number&quot;,path:&quot;path&quot;,r:&quot;number&quot;,rotation:&quot;csv&quot;,rx:&quot;number&quot;,ry:&quot;number&quot;,scale:&quot;csv&quot;,stroke:&quot;colour&quot;,&quot;stroke-opacity&quot;:&quot;number&quot;,&quot;stroke-width&quot;:&quot;number&quot;,translation:&quot;csv&quot;,width:&quot;number&quot;,x:&quot;number&quot;,y:&quot;number&quot;},U=[&quot;click&quot;,&quot;dblclick&quot;,&quot;mousedown&quot;,&quot;mousemove&quot;,&quot;mouseout&quot;,&quot;mouseover&quot;,&quot;mouseup&quot;];E.version=&quot;1.0 RC1.3&quot;;E.type=(window.SVGAngle||document.implementation.hasFeature(&quot;http://www.w3.org/TR/SVG11/feature#BasicStructure&quot;,&quot;1.1&quot;)?&quot;SVG&quot;:&quot;VML&quot;);E.svg=!(E.vml=E.type==&quot;VML&quot;);E.idGenerator=0;E.fn={};E.isArray=function(R){return Object.prototype.toString.call(R)==&quot;[object Array]&quot;;};E.setWindow=function(R){m=R;F=m.document;};E.hsb2rgb=x(function(AF,AD,AJ){if(typeof AF==&quot;object&quot;&amp;&amp;&quot;h&quot; in AF&amp;&amp;&quot;s&quot; in AF&amp;&amp;&quot;b&quot; in AF){AJ=AF.b;AD=AF.s;AF=AF.h;}var AA,AB,AK;if(AJ==0){return{r:0,g:0,b:0,hex:&quot;#000&quot;};}if(AF&gt;1||AD&gt;1||AJ&gt;1){AF/=255;AD/=255;AJ/=255;}var AC=Math.floor(AF*6),AG=(AF*6)-AC,z=AJ*(1-AD),e=AJ*(1-(AD*AG)),AL=AJ*(1-(AD*(1-AG)));AA=[AJ,e,z,z,AL,AJ,AJ][AC];AB=[AL,AJ,AJ,e,z,z,AL][AC];AK=[z,z,AL,AJ,AJ,e,z][AC];AA*=255;AB*=255;AK*=255;var AH={r:AA,g:AB,b:AK},R=Math.round(AA).toString(16),AE=Math.round(AB).toString(16),AI=Math.round(AK).toString(16);if(R.length==1){R=&quot;0&quot;+R;}if(AE.length==1){AE=&quot;0&quot;+AE;}if(AI.length==1){AI=&quot;0&quot;+AI;}AH.hex=&quot;#&quot;+R+AE+AI;return AH;},E);E.rgb2hsb=x(function(R,e,AD){if(typeof R==&quot;object&quot;&amp;&amp;&quot;r&quot; in R&amp;&amp;&quot;g&quot; in R&amp;&amp;&quot;b&quot; in R){AD=R.b;e=R.g;R=R.r;}if(typeof R==&quot;string&quot;){var AF=E.getRGB(R);R=AF.r;e=AF.g;AD=AF.b;}if(R&gt;1||e&gt;1||AD&gt;1){R/=255;e/=255;AD/=255;}var AC=Math.max(R,e,AD),i=Math.min(R,e,AD),AA,z,AB=AC;if(i==AC){return{h:0,s:0,b:AC};}else{var AE=(AC-i);z=AE/AC;if(R==AC){AA=(e-AD)/AE;}else{if(e==AC){AA=2+((AD-R)/AE);}else{AA=4+((R-e)/AE);}}AA/=6;if(AA&lt;0){AA+=1;}if(AA&gt;1){AA-=1;}}return{h:AA,s:z,b:AB};},E);E._path2string=function(){var z=&quot;&quot;,AC;for(var e=0,AA=this.length;e&lt;AA;e++){for(var R=0,AB=this[e].length;R&lt;AB;R++){z+=this[e][R];R&amp;&amp;R!=AB-1&amp;&amp;(z+=&quot;,&quot;);}e!=AA-1&amp;&amp;(z+=&quot;\n&quot;);}return z.replace(/,(?=-)/g,&quot;&quot;);};function x(z,e,R){function i(){var AA=Array.prototype.splice.call(arguments,0,arguments.length),AB=AA.join(&quot;\u25ba&quot;);i.cache=i.cache||{};i.count=i.count||[];if(AB in i.cache){return R?R(i.cache[AB]):i.cache[AB];}if(i.count.length&gt;1000){delete i.cache[i.count.unshift()];}i.count.push(AB);i.cache[AB]=z.apply(e,AA);return R?R(i.cache[AB]):i.cache[AB];}return i;}E.getRGB=x(function(R){var AF={aliceblue:&quot;#f0f8ff&quot;,amethyst:&quot;#96c&quot;,antiquewhite:&quot;#faebd7&quot;,aqua:&quot;#0ff&quot;,aquamarine:&quot;#7fffd4&quot;,azure:&quot;#f0ffff&quot;,beige:&quot;#f5f5dc&quot;,bisque:&quot;#ffe4c4&quot;,black:&quot;#000&quot;,blanchedalmond:&quot;#ffebcd&quot;,blue:&quot;#00f&quot;,blueviolet:&quot;#8a2be2&quot;,brown:&quot;#a52a2a&quot;,burlywood:&quot;#deb887&quot;,cadetblue:&quot;#5f9ea0&quot;,chartreuse:&quot;#7fff00&quot;,chocolate:&quot;#d2691e&quot;,coral:&quot;#ff7f50&quot;,cornflowerblue:&quot;#6495ed&quot;,cornsilk:&quot;#fff8dc&quot;,crimson:&quot;#dc143c&quot;,cyan:&quot;#0ff&quot;,darkblue:&quot;#00008b&quot;,darkcyan:&quot;#008b8b&quot;,darkgoldenrod:&quot;#b8860b&quot;,darkgray:&quot;#a9a9a9&quot;,darkgreen:&quot;#006400&quot;,darkkhaki:&quot;#bdb76b&quot;,darkmagenta:&quot;#8b008b&quot;,darkolivegreen:&quot;#556b2f&quot;,darkorange:&quot;#ff8c00&quot;,darkorchid:&quot;#9932cc&quot;,darkred:&quot;#8b0000&quot;,darksalmon:&quot;#e9967a&quot;,darkseagreen:&quot;#8fbc8f&quot;,darkslateblue:&quot;#483d8b&quot;,darkslategray:&quot;#2f4f4f&quot;,darkturquoise:&quot;#00ced1&quot;,darkviolet:&quot;#9400d3&quot;,deeppink:&quot;#ff1493&quot;,deepskyblue:&quot;#00bfff&quot;,dimgray:&quot;#696969&quot;,dodgerblue:&quot;#1e90ff&quot;,firebrick:&quot;#b22222&quot;,floralwhite:&quot;#fffaf0&quot;,forestgreen:&quot;#228b22&quot;,fuchsia:&quot;#f0f&quot;,gainsboro:&quot;#dcdcdc&quot;,ghostwhite:&quot;#f8f8ff&quot;,gold:&quot;#ffd700&quot;,goldenrod:&quot;#daa520&quot;,gray:&quot;#808080&quot;,green:&quot;#008000&quot;,greenyellow:&quot;#adff2f&quot;,honeydew:&quot;#f0fff0&quot;,hotpink:&quot;#ff69b4&quot;,indianred:&quot;#cd5c5c&quot;,indigo:&quot;#4b0082&quot;,ivory:&quot;#fffff0&quot;,khaki:&quot;#f0e68c&quot;,lavender:&quot;#e6e6fa&quot;,lavenderblush:&quot;#fff0f5&quot;,lawngreen:&quot;#7cfc00&quot;,lemonchiffon:&quot;#fffacd&quot;,lightblue:&quot;#add8e6&quot;,lightcoral:&quot;#f08080&quot;,lightcyan:&quot;#e0ffff&quot;,lightgoldenrodyellow:&quot;#fafad2&quot;,lightgreen:&quot;#90ee90&quot;,lightgrey:&quot;#d3d3d3&quot;,lightpink:&quot;#ffb6c1&quot;,lightsalmon:&quot;#ffa07a&quot;,lightsalmon:&quot;#ffa07a&quot;,lightseagreen:&quot;#20b2aa&quot;,lightskyblue:&quot;#87cefa&quot;,lightslategray:&quot;#789&quot;,lightsteelblue:&quot;#b0c4de&quot;,lightyellow:&quot;#ffffe0&quot;,lime:&quot;#0f0&quot;,limegreen:&quot;#32cd32&quot;,linen:&quot;#faf0e6&quot;,magenta:&quot;#f0f&quot;,maroon:&quot;#800000&quot;,mediumaquamarine:&quot;#66cdaa&quot;,mediumblue:&quot;#0000cd&quot;,mediumorchid:&quot;#ba55d3&quot;,mediumpurple:&quot;#9370db&quot;,mediumseagreen:&quot;#3cb371&quot;,mediumslateblue:&quot;#7b68ee&quot;,mediumslateblue:&quot;#7b68ee&quot;,mediumspringgreen:&quot;#00fa9a&quot;,mediumturquoise:&quot;#48d1cc&quot;,mediumvioletred:&quot;#c71585&quot;,midnightblue:&quot;#191970&quot;,mintcream:&quot;#f5fffa&quot;,mistyrose:&quot;#ffe4e1&quot;,moccasin:&quot;#ffe4b5&quot;,navajowhite:&quot;#ffdead&quot;,navy:&quot;#000080&quot;,oldlace:&quot;#fdf5e6&quot;,olive:&quot;#808000&quot;,olivedrab:&quot;#6b8e23&quot;,orange:&quot;#ffa500&quot;,orangered:&quot;#ff4500&quot;,orchid:&quot;#da70d6&quot;,palegoldenrod:&quot;#eee8aa&quot;,palegreen:&quot;#98fb98&quot;,paleturquoise:&quot;#afeeee&quot;,palevioletred:&quot;#db7093&quot;,papayawhip:&quot;#ffefd5&quot;,peachpuff:&quot;#ffdab9&quot;,peru:&quot;#cd853f&quot;,pink:&quot;#ffc0cb&quot;,plum:&quot;#dda0dd&quot;,powderblue:&quot;#b0e0e6&quot;,purple:&quot;#800080&quot;,red:&quot;#f00&quot;,rosybrown:&quot;#bc8f8f&quot;,royalblue:&quot;#4169e1&quot;,saddlebrown:&quot;#8b4513&quot;,salmon:&quot;#fa8072&quot;,sandybrown:&quot;#f4a460&quot;,seagreen:&quot;#2e8b57&quot;,seashell:&quot;#fff5ee&quot;,sienna:&quot;#a0522d&quot;,silver:&quot;#c0c0c0&quot;,skyblue:&quot;#87ceeb&quot;,slateblue:&quot;#6a5acd&quot;,slategray:&quot;#708090&quot;,snow:&quot;#fffafa&quot;,springgreen:&quot;#00ff7f&quot;,steelblue:&quot;#4682b4&quot;,tan:&quot;#d2b48c&quot;,teal:&quot;#008080&quot;,thistle:&quot;#d8bfd8&quot;,tomato:&quot;#ff6347&quot;,turquoise:&quot;#40e0d0&quot;,violet:&quot;#ee82ee&quot;,wheat:&quot;#f5deb3&quot;,white:&quot;#fff&quot;,whitesmoke:&quot;#f5f5f5&quot;,yellow:&quot;#ff0&quot;,yellowgreen:&quot;#9acd32&quot;},AB;if((R+&quot;&quot;).toLowerCase() in AF){R=AF[R.toString().toLowerCase()];}if(!R){return{r:0,g:0,b:0,hex:&quot;#000&quot;};}if(R==&quot;none&quot;){return{r:-1,g:-1,b:-1,hex:&quot;none&quot;};}var i,z,AE,AC=(R+&quot;&quot;).match(/^\s*((#[a-f\d]{6})|(#[a-f\d]{3})|rgb\(\s*([\d\.]+\s*,\s*[\d\.]+\s*,\s*[\d\.]+)\s*\)|rgb\(\s*([\d\.]+%\s*,\s*[\d\.]+%\s*,\s*[\d\.]+%)\s*\)|hs[bl]\(\s*([\d\.]+\s*,\s*[\d\.]+\s*,\s*[\d\.]+)\s*\)|hs[bl]\(\s*([\d\.]+%\s*,\s*[\d\.]+%\s*,\s*[\d\.]+%)\s*\))\s*$/i);if(AC){if(AC[2]){AE=parseInt(AC[2].substring(5),16);z=parseInt(AC[2].substring(3,5),16);i=parseInt(AC[2].substring(1,3),16);}if(AC[3]){AE=parseInt(AC[3].substring(3)+AC[3].substring(3),16);z=parseInt(AC[3].substring(2,3)+AC[3].substring(2,3),16);i=parseInt(AC[3].substring(1,2)+AC[3].substring(1,2),16);}if(AC[4]){AC=AC[4].split(/\s*,\s*/);i=parseFloat(AC[0]);z=parseFloat(AC[1]);AE=parseFloat(AC[2]);}if(AC[5]){AC=AC[5].split(/\s*,\s*/);i=parseFloat(AC[0])*2.55;z=parseFloat(AC[1])*2.55;AE=parseFloat(AC[2])*2.55;}if(AC[6]){AC=AC[6].split(/\s*,\s*/);i=parseFloat(AC[0]);z=parseFloat(AC[1]);AE=parseFloat(AC[2]);return E.hsb2rgb(i,z,AE);}if(AC[7]){AC=AC[7].split(/\s*,\s*/);i=parseFloat(AC[0])*2.55;z=parseFloat(AC[1])*2.55;AE=parseFloat(AC[2])*2.55;return E.hsb2rgb(i,z,AE);}var AC={r:i,g:z,b:AE},e=Math.round(i).toString(16),AA=Math.round(z).toString(16),AD=Math.round(AE).toString(16);(e.length==1)&amp;&amp;(e=&quot;0&quot;+e);(AA.length==1)&amp;&amp;(AA=&quot;0&quot;+AA);(AD.length==1)&amp;&amp;(AD=&quot;0&quot;+AD);AC.hex=&quot;#&quot;+e+AA+AD;AB=AC;}else{AB={r:-1,g:-1,b:-1,hex:&quot;none&quot;};}return AB;},E);E.getColor=function(e){var i=this.getColor.start=this.getColor.start||{h:0,s:1,b:e||0.75},R=this.hsb2rgb(i.h,i.s,i.b);i.h+=0.075;if(i.h&gt;1){i.h=0;i.s-=0.2;if(i.s&lt;=0){this.getColor.start={h:0,s:1,b:i.b};}}return R.hex;};E.getColor.reset=function(){delete this.start;};E.parsePathString=x(function(R){if(!R){return null;}var i={a:7,c:6,h:1,l:2,m:2,q:4,s:4,t:2,v:1,z:0},e=[];if(E.isArray(R)&amp;&amp;E.isArray(R[0])){e=S(R);}if(!e.length){(R+&quot;&quot;).replace(/([achlmqstvz])[\s,]*((-?\d*\.?\d*(?:e[-+]?\d+)?\s*,?\s*)+)/ig,function(AA,z,AD){var AC=[],AB=z.toLowerCase();AD.replace(/(-?\d*\.?\d*(?:e[-+]?\d+)?)\s*,?\s*/ig,function(AF,AE){AE&amp;&amp;AC.push(+AE);});while(AC.length&gt;=i[AB]){e.push([z].concat(AC.splice(0,i[AB])));if(!i[AB]){break;}}});}e.toString=E._path2string;return e;});var b=x(function(AG){if(!AG){return{x:0,y:0,width:0,height:0};}AG=p(AG);var AD=0,AC=0,z=[],e=[];for(var AA=0,AF=AG.length;AA&lt;AF;AA++){if(AG[AA][0]==&quot;M&quot;){AD=AG[AA][1];AC=AG[AA][2];z.push(AD);e.push(AC);}else{var AB=k(AD,AC,AG[AA][1],AG[AA][2],AG[AA][3],AG[AA][4],AG[AA][5],AG[AA][6]);z=z.concat(AB.min.x,AB.max.x);e=e.concat(AB.min.y,AB.max.y);}}var R=Math.min.apply(0,z),AE=Math.min.apply(0,e);return{x:R,y:AE,width:Math.max.apply(0,z)-R,height:Math.max.apply(0,e)-AE};}),S=function(AC){var z=[];if(!E.isArray(AC)||!E.isArray(AC&amp;&amp;AC[0])){AC=E.parsePathString(AC);}for(var e=0,AA=AC.length;e&lt;AA;e++){z[e]=[];for(var R=0,AB=AC[e].length;R&lt;AB;R++){z[e][R]=AC[e][R];}}z.toString=E._path2string;return z;},C=x(function(AA){if(!E.isArray(AA)||!E.isArray(AA&amp;&amp;AA[0])){AA=E.parsePathString(AA);}var AG=[],AI=0,AH=0,AL=0,AK=0,z=0;if(AA[0][0]==&quot;M&quot;){AI=AA[0][1];AH=AA[0][2];AL=AI;AK=AH;z++;AG.push([&quot;M&quot;,AI,AH]);}for(var AD=z,AM=AA.length;AD&lt;AM;AD++){var R=AG[AD]=[],AJ=AA[AD];if(AJ[0]!=AJ[0].toLowerCase()){R[0]=AJ[0].toLowerCase();switch(R[0]){case&quot;a&quot;:R[1]=AJ[1];R[2]=AJ[2];R[3]=AJ[3];R[4]=AJ[4];R[5]=AJ[5];R[6]=+(AJ[6]-AI).toFixed(3);R[7]=+(AJ[7]-AH).toFixed(3);break;case&quot;v&quot;:R[1]=+(AJ[1]-AH).toFixed(3);break;case&quot;m&quot;:AL=AJ[1];AK=AJ[2];default:for(var AC=1,AE=AJ.length;AC&lt;AE;AC++){R[AC]=+(AJ[AC]-((AC%2)?AI:AH)).toFixed(3);}}}else{R=AG[AD]=[];if(AJ[0]==&quot;m&quot;){AL=AJ[1]+AI;AK=AJ[2]+AH;}for(var AB=0,e=AJ.length;AB&lt;e;AB++){AG[AD][AB]=AJ[AB];}}var AF=AG[AD].length;switch(AG[AD][0]){case&quot;z&quot;:AI=AL;AH=AK;break;case&quot;h&quot;:AI+=+AG[AD][AF-1];break;case&quot;v&quot;:AH+=+AG[AD][AF-1];break;default:AI+=+AG[AD][AF-2];AH+=+AG[AD][AF-1];}}AG.toString=E._path2string;return AG;},0,S),V=x(function(AA){if(!E.isArray(AA)||!E.isArray(AA&amp;&amp;AA[0])){AA=E.parsePathString(AA);}var AF=[],AH=0,AG=0,AK=0,AJ=0,z=0;if(AA[0][0]==&quot;M&quot;){AH=+AA[0][1];AG=+AA[0][2];AK=AH;AJ=AG;z++;AF[0]=[&quot;M&quot;,AH,AG];}for(var AD=z,AL=AA.length;AD&lt;AL;AD++){var R=AF[AD]=[],AI=AA[AD];if(AI[0]!=(AI[0]+&quot;&quot;).toUpperCase()){R[0]=(AI[0]+&quot;&quot;).toUpperCase();switch(R[0]){case&quot;A&quot;:R[1]=AI[1];R[2]=AI[2];R[3]=AI[3];R[4]=AI[4];R[5]=AI[5];R[6]=+(AI[6]+AH);R[7]=+(AI[7]+AG);break;case&quot;V&quot;:R[1]=+AI[1]+AG;break;case&quot;H&quot;:R[1]=+AI[1]+AH;break;case&quot;M&quot;:AK=+AI[1]+AH;AJ=+AI[2]+AG;default:for(var AC=1,AE=AI.length;AC&lt;AE;AC++){R[AC]=+AI[AC]+((AC%2)?AH:AG);}}}else{for(var AB=0,e=AI.length;AB&lt;e;AB++){AF[AD][AB]=AI[AB];}}switch(R[0]){case&quot;Z&quot;:AH=AK;AG=AJ;break;case&quot;H&quot;:AH=R[1];break;case&quot;V&quot;:AG=R[1];break;default:AH=AF[AD][AF[AD].length-2];AG=AF[AD][AF[AD].length-1];}}AF.toString=E._path2string;return AF;},null,S),D=function(e,z,R,i){return[e,z,R,i,R,i];},W=function(e,z,AB,AA,R,i){return[2/3*e+1/3*AB,2/3*z+1/3*AA,2/3*e+1/3*R,2/3*z+1/3*i,R,i];},P=function(AK,Ao,AT,AR,AL,AF,AA,AJ,An,AM){var AQ=Math.PI*120/180,R=Math.PI/180*(+AL||0),AX=[],AU,Ak=x(function(Ap,As,i){var Ar=Ap*Math.cos(i)-As*Math.sin(i),Aq=Ap*Math.sin(i)+As*Math.cos(i);return{x:Ar,y:Aq};});if(!AM){AU=Ak(AK,Ao,-R);AK=AU.x;Ao=AU.y;AU=Ak(AJ,An,-R);AJ=AU.x;An=AU.y;var e=Math.cos(Math.PI/180*AL),AH=Math.sin(Math.PI/180*AL),AZ=(AK-AJ)/2,AY=(Ao-An)/2;AT=Math.max(AT,Math.abs(AZ));AR=Math.max(AR,Math.abs(AY));var z=AT*AT,Ac=AR*AR,Ae=(AF==AA?-1:1)*Math.sqrt(Math.abs((z*Ac-z*AY*AY-Ac*AZ*AZ)/(z*AY*AY+Ac*AZ*AZ))),AO=Ae*AT*AY/AR+(AK+AJ)/2,AN=Ae*-AR*AZ/AT+(Ao+An)/2,AE=Math.asin((Ao-AN)/AR),AD=Math.asin((An-AN)/AR);AE=AK&lt;AO?Math.PI-AE:AE;AD=AJ&lt;AO?Math.PI-AD:AD;AE&lt;0&amp;&amp;(AE=Math.PI*2+AE);AD&lt;0&amp;&amp;(AD=Math.PI*2+AD);if(AA&amp;&amp;AE&gt;AD){AE=AE-Math.PI*2;}if(!AA&amp;&amp;AD&gt;AE){AD=AD-Math.PI*2;}}else{AE=AM[0];AD=AM[1];AO=AM[2];AN=AM[3];}var AI=AD-AE;if(Math.abs(AI)&gt;AQ){var AP=AD,AS=AJ,AG=An;AD=AE+AQ*(AA&amp;&amp;AD&gt;AE?1:-1);AJ=AO+AT*Math.cos(AD);An=AN+AR*Math.sin(AD);AX=P(AJ,An,AT,AR,AL,0,AA,AS,AG,[AD,AP,AO,AN]);}var AC=Math.cos(AE),Am=Math.sin(AE),AB=Math.cos(AD),Al=Math.sin(AD),AI=AD-AE,Aa=Math.tan(AI/4),Ad=4/3*AT*Aa,Ab=4/3*AR*Aa,Aj=[AK,Ao],Ai=[AK+Ad*Am,Ao-Ab*AC],Ah=[AJ+Ad*Al,An-Ab*AB],Af=[AJ,An];Ai[0]=2*Aj[0]-Ai[0];Ai[1]=2*Aj[1]-Ai[1];if(AM){return[Ai,Ah,Af].concat(AX);}else{AX=[Ai,Ah,Af].concat(AX).join(&quot;,&quot;).split(&quot;,&quot;);var AV=[];for(var Ag=0,AW=AX.length;Ag&lt;AW;Ag++){AV[Ag]=Ag%2?Ak(AX[Ag-1],AX[Ag],R).y:Ak(AX[Ag],AX[Ag+1],R).x;}return AV;}},Z=x(function(e,R,AO,AM,AB,AA,AD,AC,AI){var AG=Math.pow(1-AI,3)*e+Math.pow(1-AI,2)*3*AI*AO+(1-AI)*3*AI*AI*AB+Math.pow(AI,3)*AD,AE=Math.pow(1-AI,3)*R+Math.pow(1-AI,2)*3*AI*AM+(1-AI)*3*AI*AI*AA+Math.pow(AI,3)*AC,AK=e+2*AI*(AO-e)+AI*AI*(AB-2*AO+e),AJ=R+2*AI*(AM-R)+AI*AI*(AA-2*AM+R),AN=AO+2*AI*(AB-AO)+AI*AI*(AD-2*AB+AO),AL=AM+2*AI*(AA-AM)+AI*AI*(AC-2*AA+AM),AH=(1-AI)*e+AI*AO,AF=(1-AI)*R+AI*AM,z=(1-AI)*AB+AI*AD,i=(1-AI)*AA+AI*AC;return{x:AG,y:AE,m:{x:AK,y:AJ},n:{x:AN,y:AL},start:{x:AH,y:AF},end:{x:z,y:i}};}),k=x(function(e,R,z,i,AM,AL,AI,AF){var AK=(AM-2*z+e)-(AI-2*AM+z),AH=2*(z-e)-2*(AM-z),AE=e-z,AC=(-AH+Math.sqrt(AH*AH-4*AK*AE))/2/AK,AA=(-AH-Math.sqrt(AH*AH-4*AK*AE))/2/AK,AG=[R,AF],AJ=[e,AI],AD=Z(e,R,z,i,AM,AL,AI,AF,AC&gt;0&amp;&amp;AC&lt;1?AC:0),AB=Z(e,R,z,i,AM,AL,AI,AF,AA&gt;0&amp;&amp;AA&lt;1?AA:0);AJ=AJ.concat(AD.x,AB.x);AG=AG.concat(AD.y,AB.y);AK=(AL-2*i+R)-(AF-2*AL+i);AH=2*(i-R)-2*(AL-i);AE=R-i;AC=(-AH+Math.sqrt(AH*AH-4*AK*AE))/2/AK;AA=(-AH-Math.sqrt(AH*AH-4*AK*AE))/2/AK;AD=Z(e,R,z,i,AM,AL,AI,AF,AC&gt;0&amp;&amp;AC&lt;1?AC:0);AB=Z(e,R,z,i,AM,AL,AI,AF,AA&gt;0&amp;&amp;AA&lt;1?AA:0);AJ=AJ.concat(AD.x,AB.x);AG=AG.concat(AD.y,AB.y);return{min:{x:Math.min.apply(Math,AJ),y:Math.min.apply(Math,AG)},max:{x:Math.max.apply(Math,AJ),y:Math.max.apply(Math,AG)}};}),p=x(function(AL,AG){var AA=V(AL),AH=AG&amp;&amp;V(AG),AI={x:0,y:0,bx:0,by:0,X:0,Y:0},R={x:0,y:0,bx:0,by:0,X:0,Y:0},AC=function(AM,AN){if(!AM){return[&quot;C&quot;,AN.x,AN.y,AN.x,AN.y,AN.x,AN.y];}switch(AM[0]){case&quot;M&quot;:AN.X=AM[1];AN.Y=AM[2];break;case&quot;A&quot;:AM=[&quot;C&quot;].concat(P(AN.x,AN.y,AM[1],AM[2],AM[3],AM[4],AM[5],AM[6],AM[7]));break;case&quot;S&quot;:var i=AN.x+(AN.x-(AN.bx||AN.x)),AO=AN.y+(AN.y-(AN.by||AN.y));AM=[&quot;C&quot;,i,AO,AM[1],AM[2],AM[3],AM[4]];break;case&quot;T&quot;:var i=AN.x+(AN.x-(AN.bx||AN.x)),AO=AN.y+(AN.y-(AN.by||AN.y));AM=[&quot;C&quot;].concat(W(AN.x,AN.y,i,AO,AM[1],AM[2]));break;case&quot;Q&quot;:AM=[&quot;C&quot;].concat(W(AN.x,AN.y,AM[1],AM[2],AM[3],AM[4]));break;case&quot;L&quot;:AM=[&quot;C&quot;].concat(D(AN.x,AN.y,AM[1],AM[2]));break;case&quot;H&quot;:AM=[&quot;C&quot;].concat(D(AN.x,AN.y,AM[1],AN.y));break;case&quot;V&quot;:AM=[&quot;C&quot;].concat(D(AN.x,AN.y,AN.x,AM[1]));break;case&quot;Z&quot;:AM=[&quot;C&quot;].concat(D(AN.x,AN.y,AN.X,AN.Y));break;}return AM;},e=function(AM,AN){if(AM[AN].length&gt;7){AM[AN].shift();var AO=AM[AN];while(AO.length){AM.splice(AN++,0,[&quot;C&quot;].concat(AO.splice(0,6)));}AM.splice(AN,1);AJ=Math.max(AA.length,AH&amp;&amp;AH.length||0);}},z=function(AQ,AP,AN,AM,AO){if(AQ&amp;&amp;AP&amp;&amp;AQ[AO][0]==&quot;M&quot;&amp;&amp;AP[AO][0]!=&quot;M&quot;){AP.splice(AO,0,[&quot;M&quot;,AM.x,AM.y]);AN.bx=0;AN.by=0;AN.x=AQ[AO][1];AN.y=AQ[AO][2];AJ=Math.max(AA.length,AH&amp;&amp;AH.length||0);}};for(var AE=0,AJ=Math.max(AA.length,AH&amp;&amp;AH.length||0);AE&lt;AJ;AE++){AA[AE]=AC(AA[AE],AI);e(AA,AE);AH&amp;&amp;(AH[AE]=AC(AH[AE],R));AH&amp;&amp;e(AH,AE);z(AA,AH,AI,R,AE);z(AH,AA,R,AI,AE);var AD=AA[AE],AK=AH&amp;&amp;AH[AE],AB=AD.length,AF=AH&amp;&amp;AK.length;AI.bx=AD[AB-4]||0;AI.by=AD[AB-3]||0;AI.x=AD[AB-2];AI.y=AD[AB-1];R.bx=AH&amp;&amp;(AK[AF-4]||0);R.by=AH&amp;&amp;(AK[AF-3]||0);R.x=AH&amp;&amp;AK[AF-2];R.y=AH&amp;&amp;AK[AF-1];}return AH?[AA,AH]:AA;},null,S),L=x(function(AH){if(typeof AH==&quot;string&quot;){AH=AH.split(/\s*\-\s*/);var z=AH.shift();if(z.toLowerCase()==&quot;v&quot;){z=90;}else{if(z.toLowerCase()==&quot;h&quot;){z=0;}else{z=parseFloat(z);}}z=-z;var AF={angle:z,type:&quot;linear&quot;,dots:[],vector:[0,0,Math.cos(z*Math.PI/180).toFixed(3),Math.sin(z*Math.PI/180).toFixed(3)]},AG=1/(Math.max(Math.abs(AF.vector[2]),Math.abs(AF.vector[3]))||1);AF.vector[2]*=AG;AF.vector[3]*=AG;if(AF.vector[2]&lt;0){AF.vector[0]=-AF.vector[2];AF.vector[2]=0;}if(AF.vector[3]&lt;0){AF.vector[1]=-AF.vector[3];AF.vector[3]=0;}AF.vector[0]=AF.vector[0];AF.vector[1]=AF.vector[1];AF.vector[2]=AF.vector[2];AF.vector[3]=AF.vector[3];for(var AC=0,AI=AH.length;AC&lt;AI;AC++){var R={},AE=AH[AC].match(/^([^:]*):?([\d\.]*)/);R.color=E.getRGB(AE[1]).hex;AE[2]&amp;&amp;(R.offset=AE[2]+&quot;%&quot;);AF.dots.push(R);}for(var AC=1,AI=AF.dots.length-1;AC&lt;AI;AC++){if(!AF.dots[AC].offset){var e=parseFloat(AF.dots[AC-1].offset||0),AA=false;for(var AB=AC+1;AB&lt;AI;AB++){if(AF.dots[AB].offset){AA=AF.dots[AB].offset;break;}}if(!AA){AA=100;AB=AI;}AA=parseFloat(AA);var AD=(AA-e)/(AB-AC+1);for(;AC&lt;AB;AC++){e+=AD;AF.dots[AC].offset=e+&quot;%&quot;;}}}return AF;}else{return AH;}}),g=function(){var i,e,AA,z,R;if(typeof arguments[0]==&quot;string&quot;||typeof arguments[0]==&quot;object&quot;){if(typeof arguments[0]==&quot;string&quot;){i=F.getElementById(arguments[0]);}else{i=arguments[0];}if(i.tagName){if(arguments[1]==null){return{container:i,width:i.style.pixelWidth||i.offsetWidth,height:i.style.pixelHeight||i.offsetHeight};}else{return{container:i,width:arguments[1],height:arguments[2]};}}}else{if(typeof arguments[0]==&quot;number&quot;&amp;&amp;arguments.length&gt;3){return{container:1,x:arguments[0],y:arguments[1],width:arguments[2],height:arguments[3]};}}},A=function(R,i){var e=this;for(var z in i){if(i.hasOwnProperty(z)&amp;&amp;!(z in R)){switch(typeof i[z]){case&quot;function&quot;:(function(AA){R[z]=R===e?AA:function(){return AA.apply(e,arguments);};})(i[z]);break;case&quot;object&quot;:R[z]=R[z]||{};A.call(this,R[z],i[z]);break;default:R[z]=i[z];break;}}}};if(E.svg){var o=function(R){return +R+(Math.floor(R)==R)*0.5;};var Y=function(AB){for(var e=0,z=AB.length;e&lt;z;e++){if(AB[e][0].toLowerCase()!=&quot;a&quot;){for(var R=1,AA=AB[e].length;R&lt;AA;R++){AB[e][R]=o(AB[e][R]);}}else{AB[e][6]=o(AB[e][6]);AB[e][7]=o(AB[e][7]);}}return AB;};var a=function(i,R){for(var e in R){if(R.hasOwnProperty(e)){i.setAttribute(e,R[e]);}}};E.toString=function(){return&quot;Your browser supports SVG.\nYou are running Rapha\u00ebl &quot;+this.version;};var w=function(R,z){var e=F.createElementNS(z.svgns,&quot;path&quot;);z.canvas&amp;&amp;z.canvas.appendChild(e);var i=new K(e,z);i.type=&quot;path&quot;;f(i,{fill:&quot;none&quot;,stroke:&quot;#000&quot;,path:R});return i;};var n=function(AD,AB,AE){AB=L(AB);var AA=F.createElementNS(AE.svgns,(AB.type||&quot;linear&quot;)+&quot;Gradient&quot;);AA.id=&quot;r&quot;+(E.idGenerator++).toString(36);if(AB.vector&amp;&amp;AB.vector.length){a(AA,{x1:AB.vector[0],y1:AB.vector[1],x2:AB.vector[2],y2:AB.vector[3]});}AE.defs.appendChild(AA);var AC=true;for(var e=0,z=AB.dots.length;e&lt;z;e++){var R=F.createElementNS(AE.svgns,&quot;stop&quot;);if(AB.dots[e].offset){AC=false;}a(R,{offset:AB.dots[e].offset?AB.dots[e].offset:(e==0)?&quot;0%&quot;:&quot;100%&quot;,&quot;stop-color&quot;:E.getRGB(AB.dots[e].color).hex||&quot;#fff&quot;});AA.appendChild(R);}if(AC&amp;&amp;AB.dots[z-1].opacity!=null){a(R,{&quot;stop-opacity&quot;:AB.dots[z-1].opacity});}a(AD,{fill:&quot;url(#&quot;+AA.id+&quot;)&quot;,opacity:1,&quot;fill-opacity&quot;:1});AD.style.fill=&quot;&quot;;AD.style.opacity=1;AD.style.fillOpacity=1;};var Q=function(e){var R=e.getBBox();a(e.pattern,{patternTransform:E.format(&quot;translate({0},{1})&quot;,R.x,R.y)});};var f=function(AH,AQ){var AK={&quot;&quot;:[0],none:[0],&quot;-&quot;:[3,1],&quot;.&quot;:[1,1],&quot;-.&quot;:[3,1,1,1],&quot;-..&quot;:[3,1,1,1,1,1],&quot;. &quot;:[1,3],&quot;- &quot;:[4,3],&quot;--&quot;:[8,3],&quot;- .&quot;:[4,3,1,3],&quot;--.&quot;:[8,3,1,3],&quot;--..&quot;:[8,3,1,3,1,3]},AM=AH.node,AI=AH.attrs,AE=AH.attr(&quot;rotation&quot;),AB=function(AX,AW){AW=AK[(AW+&quot;&quot;).toLowerCase()];if(AW){var AU=AX.attrs[&quot;stroke-width&quot;]||&quot;1&quot;,AS={round:AU,square:AU,butt:0}[AX.attrs[&quot;stroke-linecap&quot;]||AQ[&quot;stroke-linecap&quot;]]||0,AV=[];var AT=AW.length;while(AT--){AV[AT]=AW[AT]*AU+((AT%2)?1:-1)*AS;}a(AM,{&quot;stroke-dasharray&quot;:AV.join(&quot;,&quot;)});}};parseFloat(AE)&amp;&amp;AH.rotate(0,true);for(var AL in AQ){if(!(AL in O)){continue;}var AJ=AQ[AL];AI[AL]=AJ;switch(AL){case&quot;href&quot;:case&quot;title&quot;:case&quot;target&quot;:var AO=AM.parentNode;if(AO.tagName.toLowerCase()!=&quot;a&quot;){var z=F.createElementNS(AH.paper.svgns,&quot;a&quot;);AO.insertBefore(z,AM);z.appendChild(AM);AO=z;}AO.setAttributeNS(AH.paper.xlink,AL,AJ);break;case&quot;clip-rect&quot;:var e=(AJ+&quot;&quot;).split(y);if(e.length==4){AH.clip&amp;&amp;AH.clip.parentNode.parentNode.removeChild(AH.clip.parentNode);var i=F.createElementNS(AH.paper.svgns,&quot;clipPath&quot;),AN=F.createElementNS(AH.paper.svgns,&quot;rect&quot;);i.id=&quot;r&quot;+(E.idGenerator++).toString(36);a(AN,{x:e[0],y:e[1],width:e[2],height:e[3]});i.appendChild(AN);AH.paper.defs.appendChild(i);a(AM,{&quot;clip-path&quot;:&quot;url(#&quot;+i.id+&quot;)&quot;});AH.clip=AN;}if(!AJ){var AP=F.getElementById(AM.getAttribute(&quot;clip-path&quot;).replace(/(^url\(#|\)$)/g,&quot;&quot;));AP&amp;&amp;AP.parentNode.removeChild(AP);a(AM,{&quot;clip-path&quot;:&quot;&quot;});delete AH.clip;}break;case&quot;path&quot;:if(AJ&amp;&amp;AH.type==&quot;path&quot;){AI.path=Y(V(AJ));a(AM,{d:AI.path});}case&quot;width&quot;:AM.setAttribute(AL,AJ);if(AI.fx){AL=&quot;x&quot;;AJ=AI.x;}else{break;}case&quot;x&quot;:if(AI.fx){AJ=-AI.x-(AI.width||0);}case&quot;rx&quot;:case&quot;cx&quot;:AM.setAttribute(AL,AJ);AH.pattern&amp;&amp;Q(AH);break;case&quot;height&quot;:AM.setAttribute(AL,AJ);if(AI.fy){AL=&quot;y&quot;;AJ=AI.y;}else{break;}case&quot;y&quot;:if(AI.fy){AJ=-AI.y-(AI.height||0);}case&quot;ry&quot;:case&quot;cy&quot;:AM.setAttribute(AL,AJ);AH.pattern&amp;&amp;Q(AH);break;case&quot;r&quot;:if(AH.type==&quot;rect&quot;){a(AM,{rx:AJ,ry:AJ});}else{AM.setAttribute(AL,AJ);}break;case&quot;src&quot;:if(AH.type==&quot;image&quot;){AM.setAttributeNS(AH.paper.xlink,&quot;href&quot;,AJ);}break;case&quot;stroke-width&quot;:AM.style.strokeWidth=AJ;AM.setAttribute(AL,AJ);if(AI[&quot;stroke-dasharray&quot;]){AB(AH,AI[&quot;stroke-dasharray&quot;]);}break;case&quot;stroke-dasharray&quot;:AB(AH,AJ);break;case&quot;rotation&quot;:AE=AJ;AH.rotate(AJ,true);break;case&quot;translation&quot;:var AC=(AJ+&quot;&quot;).split(y);AH.translate((+AC[0]+1||2)-1,(+AC[1]+1||2)-1);break;case&quot;scale&quot;:var AC=(AJ+&quot;&quot;).split(y);AH.scale(+AC[0]||1,+AC[1]||+AC[0]||1,+AC[2]||null,+AC[3]||null);break;case&quot;fill&quot;:var AA=(AJ+&quot;&quot;).match(/^url\(['&quot;]?([^\)]+)['&quot;]?\)$/i);if(AA){var i=F.createElementNS(AH.paper.svgns,&quot;pattern&quot;),AG=F.createElementNS(AH.paper.svgns,&quot;image&quot;);i.id=&quot;r&quot;+(E.idGenerator++).toString(36);a(i,{x:0,y:0,patternUnits:&quot;userSpaceOnUse&quot;});a(AG,{x:0,y:0});AG.setAttributeNS(AH.paper.xlink,&quot;href&quot;,AA[1]);i.appendChild(AG);var AR=F.createElement(&quot;img&quot;);AR.style.position=&quot;absolute&quot;;AR.style.top=&quot;-9999em&quot;;AR.style.left=&quot;-9999em&quot;;AR.onload=function(){a(i,{width:this.offsetWidth,height:this.offsetHeight});a(AG,{width:this.offsetWidth,height:this.offsetHeight});F.body.removeChild(this);B.safari();};F.body.appendChild(AR);AR.src=AA[1];AH.paper.defs.appendChild(i);AM.style.fill=&quot;url(#&quot;+i.id+&quot;)&quot;;a(AM,{fill:&quot;url(#&quot;+i.id+&quot;)&quot;});AH.pattern=i;AH.pattern&amp;&amp;Q(AH);break;}delete AQ.gradient;delete AI.gradient;if(typeof AI.opacity!=&quot;undefined&quot;&amp;&amp;typeof AQ.opacity==&quot;undefined&quot;){AM.style.opacity=AI.opacity;a(AM,{opacity:AI.opacity});}if(typeof AI[&quot;fill-opacity&quot;]!=&quot;undefined&quot;&amp;&amp;typeof AQ[&quot;fill-opacity&quot;]==&quot;undefined&quot;){AM.style.fillOpacity=AI[&quot;fill-opacity&quot;];a(AM,{&quot;fill-opacity&quot;:AI[&quot;fill-opacity&quot;]});}case&quot;stroke&quot;:AM.style[AL]=E.getRGB(AJ).hex;AM.setAttribute(AL,E.getRGB(AJ).hex);break;case&quot;gradient&quot;:n(AM,AJ,AH.paper);break;case&quot;opacity&quot;:case&quot;fill-opacity&quot;:if(AI.gradient){var R=F.getElementById(AM.getAttribute(&quot;fill&quot;).replace(/^url\(#|\)$/g,&quot;&quot;));if(R){var AD=R.getElementsByTagName(&quot;stop&quot;);AD[AD.length-1].setAttribute(&quot;stop-opacity&quot;,AJ);}break;}default:AL==&quot;font-size&quot;&amp;&amp;(AJ=parseInt(AJ,10)+&quot;px&quot;);var AF=AL.replace(/(\-.)/g,function(AS){return AS.substring(1).toUpperCase();});AM.style[AF]=AJ;AM.setAttribute(AL,AJ);break;}}t(AH,AQ);parseInt(AE,10)&amp;&amp;AH.rotate(AE,true);};var l=1.2;var t=function(R,AA){if(R.type!=&quot;text&quot;||!(&quot;text&quot; in AA||&quot;font&quot; in AA||&quot;font-size&quot; in AA||&quot;x&quot; in AA||&quot;y&quot; in AA)){return ;}var AF=R.attrs,e=R.node,AH=e.firstChild?parseInt(F.defaultView.getComputedStyle(e.firstChild,&quot;&quot;).getPropertyValue(&quot;font-size&quot;),10):10;if(&quot;text&quot; in AA){while(e.firstChild){e.removeChild(e.firstChild);}var z=(AA.text+&quot;&quot;).split(&quot;\n&quot;);for(var AB=0,AG=z.length;AB&lt;AG;AB++){var AD=F.createElementNS(R.paper.svgns,&quot;tspan&quot;);AB&amp;&amp;a(AD,{dy:AH*l,x:AF.x});AD.appendChild(F.createTextNode(z[AB]));e.appendChild(AD);}}else{var z=e.getElementsByTagName(&quot;tspan&quot;);for(var AB=0,AG=z.length;AB&lt;AG;AB++){AB&amp;&amp;a(z[AB],{dy:AH*l,x:AF.x});}}a(e,{y:AF.y});var AC=R.getBBox(),AE=AF.y-(AC.y+AC.height/2);AE&amp;&amp;a(e,{y:AF.y+AE});};var K=function(e,R){var z=0,i=0;this[0]=e;this.node=e;this.paper=R;this.attrs=this.attrs||{};this.transformations=[];this._={tx:0,ty:0,rt:{deg:0,cx:0,cy:0},sx:1,sy:1};};K.prototype.rotate=function(e,R,z){if(e==null){if(this._.rt.cx){return[this._.rt.deg,this._.rt.cx,this._.rt.cy].join(&quot; &quot;);}return this._.rt.deg;}var i=this.getBBox();e=(e+&quot;&quot;).split(y);if(e.length-1){R=parseFloat(e[1]);z=parseFloat(e[2]);}e=parseFloat(e[0]);if(R!=null){this._.rt.deg=e;}else{this._.rt.deg+=e;}(z==null)&amp;&amp;(R=null);this._.rt.cx=R;this._.rt.cy=z;R=R==null?i.x+i.width/2:R;z=z==null?i.y+i.height/2:z;if(this._.rt.deg){this.transformations[0]=E.format(&quot;rotate({0} {1} {2})&quot;,this._.rt.deg,R,z);this.clip&amp;&amp;a(this.clip,{transform:E.format(&quot;rotate({0} {1} {2})&quot;,-this._.rt.deg,R,z)});}else{this.transformations[0]=&quot;&quot;;this.clip&amp;&amp;a(this.clip,{transform:&quot;&quot;});}a(this.node,{transform:this.transformations.join(&quot; &quot;)});return this;};K.prototype.hide=function(){this.node.style.display=&quot;none&quot;;return this;};K.prototype.show=function(){this.node.style.display=&quot;block&quot;;return this;};K.prototype.remove=function(){this.node.parentNode.removeChild(this.node);};K.prototype.getBBox=function(){if(this.type==&quot;path&quot;){return b(this.attrs.path);}if(this.node.style.display==&quot;none&quot;){this.show();var z=true;}var AD={};try{AD=this.node.getBBox();}catch(AB){}finally{AD=AD||{};}if(this.type==&quot;text&quot;){AD={x:AD.x,y:Infinity,width:AD.width,height:0};for(var R=0,AA=this.node.getNumberOfChars();R&lt;AA;R++){var AC=this.node.getExtentOfChar(R);(AC.y&lt;AD.y)&amp;&amp;(AD.y=AC.y);(AC.y+AC.height-AD.y&gt;AD.height)&amp;&amp;(AD.height=AC.y+AC.height-AD.y);}}z&amp;&amp;this.hide();return AD;};K.prototype.attr=function(){if(arguments.length==1&amp;&amp;typeof arguments[0]==&quot;string&quot;){if(arguments[0]==&quot;translation&quot;){return this.translate();}if(arguments[0]==&quot;rotation&quot;){return this.rotate();}if(arguments[0]==&quot;scale&quot;){return this.scale();}return this.attrs[arguments[0]];}if(arguments.length==1&amp;&amp;E.isArray(arguments[0])){var R={};for(var e in arguments[0]){R[arguments[0][e]]=this.attrs[arguments[0][e]];}return R;}if(arguments.length==2){var i={};i[arguments[0]]=arguments[1];f(this,i);}else{if(arguments.length==1&amp;&amp;typeof arguments[0]==&quot;object&quot;){f(this,arguments[0]);}}return this;};K.prototype.toFront=function(){this.node.parentNode.appendChild(this.node);return this;};K.prototype.toBack=function(){if(this.node.parentNode.firstChild!=this.node){this.node.parentNode.insertBefore(this.node,this.node.parentNode.firstChild);}return this;};K.prototype.insertAfter=function(R){if(R.node.nextSibling){R.node.parentNode.insertBefore(this.node,R.node.nextSibling);}else{R.node.parentNode.appendChild(this.node);}return this;};K.prototype.insertBefore=function(R){var e=R.node;e.parentNode.insertBefore(this.node,e);return this;};var c=function(e,R,AB,AA){R=o(R);AB=o(AB);var z=F.createElementNS(e.svgns,&quot;circle&quot;);e.canvas&amp;&amp;e.canvas.appendChild(z);var i=new K(z,e);i.attrs={cx:R,cy:AB,r:AA,fill:&quot;none&quot;,stroke:&quot;#000&quot;};i.type=&quot;circle&quot;;a(z,i.attrs);return i;};var j=function(i,R,AD,e,AB,AC){R=o(R);AD=o(AD);var AA=F.createElementNS(i.svgns,&quot;rect&quot;);i.canvas&amp;&amp;i.canvas.appendChild(AA);var z=new K(AA,i);z.attrs={x:R,y:AD,width:e,height:AB,r:AC||0,rx:AC||0,ry:AC||0,fill:&quot;none&quot;,stroke:&quot;#000&quot;};z.type=&quot;rect&quot;;a(AA,z.attrs);return z;};var G=function(e,R,AC,AB,AA){R=o(R);AC=o(AC);var z=F.createElementNS(e.svgns,&quot;ellipse&quot;);e.canvas&amp;&amp;e.canvas.appendChild(z);var i=new K(z,e);i.attrs={cx:R,cy:AC,rx:AB,ry:AA,fill:&quot;none&quot;,stroke:&quot;#000&quot;};i.type=&quot;ellipse&quot;;a(z,i.attrs);return i;};var N=function(i,AC,R,AD,e,AB){var AA=F.createElementNS(i.svgns,&quot;image&quot;);a(AA,{x:R,y:AD,width:e,height:AB,preserveAspectRatio:&quot;none&quot;});AA.setAttributeNS(i.xlink,&quot;href&quot;,AC);i.canvas&amp;&amp;i.canvas.appendChild(AA);var z=new K(AA,i);z.attrs={x:R,y:AD,width:e,height:AB,src:AC};z.type=&quot;image&quot;;return z;};var h=function(e,R,AB,AA){var z=F.createElementNS(e.svgns,&quot;text&quot;);a(z,{x:R,y:AB,&quot;text-anchor&quot;:&quot;middle&quot;});e.canvas&amp;&amp;e.canvas.appendChild(z);var i=new K(z,e);i.attrs={x:R,y:AB,&quot;text-anchor&quot;:&quot;middle&quot;,text:AA,font:O.font,stroke:&quot;none&quot;,fill:&quot;#000&quot;};i.type=&quot;text&quot;;f(i,i.attrs);return i;};var d=function(e,R){this.width=e||this.width;this.height=R||this.height;this.canvas.setAttribute(&quot;width&quot;,this.width);this.canvas.setAttribute(&quot;height&quot;,this.height);return this;};var J=function(){var AA=g.apply(null,arguments),i=AA.container,AC=AA.x,AB=AA.y,z=AA.width,AD=AA.height;if(!i){throw new Error(&quot;SVG container not found.&quot;);}B.canvas=F.createElementNS(B.svgns,&quot;svg&quot;);var R=B.canvas,AE=R.style;R.setAttribute(&quot;width&quot;,z||512);B.width=z||512;R.setAttribute(&quot;height&quot;,AD||342);B.height=AD||342;if(i==1){F.body.appendChild(R);AE.position=&quot;absolute&quot;;AE.left=AC+&quot;px&quot;;AE.top=AB+&quot;px&quot;;}else{if(i.firstChild){i.insertBefore(R,i.firstChild);}else{i.appendChild(R);}}i={canvas:R,clear:function(){while(this.canvas.firstChild){this.canvas.removeChild(this.canvas.firstChild);}this.desc=F.createElementNS(B.svgns,&quot;desc&quot;);this.defs=F.createElementNS(B.svgns,&quot;defs&quot;);this.desc.appendChild(F.createTextNode(&quot;Created with Rapha\u00ebl&quot;));this.canvas.appendChild(this.desc);this.canvas.appendChild(this.defs);}};for(var e in B){if(e!=&quot;create&quot;){i[e]=B[e];}}A.call(i,i,E.fn);i.clear();i.raphael=E;return i;};B.remove=function(){this.canvas.parentNode&amp;&amp;this.canvas.parentNode.removeChild(this.canvas);};B.svgns=&quot;http://www.w3.org/2000/svg&quot;;B.xlink=&quot;http://www.w3.org/1999/xlink&quot;;B.safari=function(){if({&quot;Apple Computer, Inc.&quot;:1,&quot;Google Inc.&quot;:1}[navigator.vendor]){var R=this.rect(-99,-99,this.width+99,this.height+99);setTimeout(function(){R.remove();});}};}if(E.vml){var X=function(AC){var AA=p(AC);for(var e=0,z=AA.length;e&lt;z;e++){AA[e][0]=(AA[e][0]+&quot;&quot;).toLowerCase();AA[e][0]==&quot;z&quot;&amp;&amp;(AA[e][0]=&quot;x&quot;);for(var R=1,AB=AA[e].length;R&lt;AB;R++){AA[e][R]=Math.round(AA[e][R]);}}return(AA+&quot;&quot;);};E.toString=function(){return&quot;Your browser doesn\u2019t support SVG. Assuming it is Internet Explorer and falling down to VML.\nYou are running Rapha\u00ebl &quot;+this.version;};var w=function(R,AB){var z=v(&quot;group&quot;),AC=z.style;AC.position=&quot;absolute&quot;;AC.left=0;AC.top=0;AC.width=AB.width+&quot;px&quot;;AC.height=AB.height+&quot;px&quot;;z.coordsize=AB.coordsize;z.coordorigin=AB.coordorigin;var i=v(&quot;shape&quot;),e=i.style;e.width=AB.width+&quot;px&quot;;e.height=AB.height+&quot;px&quot;;i.path=&quot;&quot;;i.coordsize=this.coordsize;i.coordorigin=this.coordorigin;z.appendChild(i);var AA=new K(i,z,AB);AA.isAbsolute=true;AA.type=&quot;path&quot;;AA.path=[];AA.Path=&quot;&quot;;if(R){AA.attrs.path=E.parsePathString(R);AA.node.path=X(AA.attrs.path);}f(AA,{fill:&quot;none&quot;,stroke:&quot;#000&quot;});AA.setBox();AB.canvas.appendChild(z);return AA;};var f=function(AF,AJ){AF.attrs=AF.attrs||{};var AH=AF.node,AK=AF.attrs,AC=AH.style,z,AO=AF;for(var AD in AJ){AK[AD]=AJ[AD];}AJ.href&amp;&amp;(AH.href=AJ.href);AJ.title&amp;&amp;(AH.title=AJ.title);AJ.target&amp;&amp;(AH.target=AJ.target);if(AJ.path&amp;&amp;AF.type==&quot;path&quot;){AK.path=E.parsePathString(AJ.path);AH.path=X(AK.path);}if(AJ.rotation!=null){AF.rotate(AJ.rotation,true);}if(AJ.translation){z=(AJ.translation+&quot;&quot;).split(y);AF.translate(z[0],z[1]);}if(AJ.scale){z=(AJ.scale+&quot;&quot;).split(y);AF.scale(+z[0]||1,+z[1]||+z[0]||1,+z[2]||null,+z[3]||null);}if(&quot;clip-rect&quot; in AJ){var R=(AJ[&quot;clip-rect&quot;]+&quot;&quot;).split(y);if(R.length==4){R[2]=+R[2]+(+R[0]);R[3]=+R[3]+(+R[1]);var AE=AH.clipRect||F.createElement(&quot;div&quot;),AN=AE.style,AB=AH.parentNode;AN.clip=E.format(&quot;rect({0}px {2}px {3}px {1}px)&quot;,R);if(!AH.clipRect){AN.position=&quot;absolute&quot;;AN.top=0;AN.left=0;AN.width=AF.paper.width+&quot;px&quot;;AN.height=AF.paper.height+&quot;px&quot;;AB.parentNode.insertBefore(AE,AB);AE.appendChild(AB);AH.clipRect=AE;}}if(!AJ[&quot;clip-rect&quot;]){AH.clipRect&amp;&amp;(AH.clipRect.style.clip=&quot;&quot;);}}if(AF.type==&quot;image&quot;&amp;&amp;AJ.src){AH.src=AJ.src;}if(AF.type==&quot;image&quot;&amp;&amp;AJ.opacity){AH.filterOpacity=&quot; progid:DXImageTransform.Microsoft.Alpha(opacity=&quot;+(AJ.opacity*100)+&quot;)&quot;;AC.filter=(AH.filterMatrix||&quot;&quot;)+(AH.filterOpacity||&quot;&quot;);}AJ.font&amp;&amp;(AC.font=AJ.font);AJ[&quot;font-family&quot;]&amp;&amp;(AC.fontFamily='&quot;'+AJ[&quot;font-family&quot;].split(&quot;,&quot;)[0].replace(/^['&quot;]+|['&quot;]+$/g,&quot;&quot;)+'&quot;');AJ[&quot;font-size&quot;]&amp;&amp;(AC.fontSize=AJ[&quot;font-size&quot;]);AJ[&quot;font-weight&quot;]&amp;&amp;(AC.fontWeight=AJ[&quot;font-weight&quot;]);AJ[&quot;font-style&quot;]&amp;&amp;(AC.fontStyle=AJ[&quot;font-style&quot;]);if(AJ.opacity!=null||AJ[&quot;stroke-width&quot;]!=null||AJ.fill!=null||AJ.stroke!=null||AJ[&quot;stroke-width&quot;]!=null||AJ[&quot;stroke-opacity&quot;]!=null||AJ[&quot;fill-opacity&quot;]!=null||AJ[&quot;stroke-dasharray&quot;]!=null||AJ[&quot;stroke-miterlimit&quot;]!=null||AJ[&quot;stroke-linejoin&quot;]!=null||AJ[&quot;stroke-linecap&quot;]!=null){AH=AF.shape||AH;var AI=(AH.getElementsByTagName(&quot;fill&quot;)&amp;&amp;AH.getElementsByTagName(&quot;fill&quot;)[0]),AL=false;!AI&amp;&amp;(AL=AI=v(&quot;fill&quot;));if(&quot;fill-opacity&quot; in AJ||&quot;opacity&quot; in AJ){var e=((+AK[&quot;fill-opacity&quot;]+1||2)-1)*((+AK.opacity+1||2)-1);e&lt;0&amp;&amp;(e=0);e&gt;1&amp;&amp;(e=1);AI.opacity=e;}AJ.fill&amp;&amp;(AI.on=true);if(AI.on==null||AJ.fill==&quot;none&quot;){AI.on=false;}if(AI.on&amp;&amp;AJ.fill){var i=AJ.fill.match(/^url\(([^\)]+)\)$/i);if(i){AI.src=i[1];AI.type=&quot;tile&quot;;}else{AI.color=E.getRGB(AJ.fill).hex;AI.src=&quot;&quot;;AI.type=&quot;solid&quot;;}}AL&amp;&amp;AH.appendChild(AI);var AA=(AH.getElementsByTagName(&quot;stroke&quot;)&amp;&amp;AH.getElementsByTagName(&quot;stroke&quot;)[0]),AM=false;!AA&amp;&amp;(AM=AA=v(&quot;stroke&quot;));if((AJ.stroke&amp;&amp;AJ.stroke!=&quot;none&quot;)||AJ[&quot;stroke-width&quot;]||AJ[&quot;stroke-opacity&quot;]!=null||AJ[&quot;stroke-dasharray&quot;]||AJ[&quot;stroke-miterlimit&quot;]||AJ[&quot;stroke-linejoin&quot;]||AJ[&quot;stroke-linecap&quot;]){AA.on=true;}(AJ.stroke==&quot;none&quot;||AA.on==null||AJ.stroke==0||AJ[&quot;stroke-width&quot;]==0)&amp;&amp;(AA.on=false);AA.on&amp;&amp;AJ.stroke&amp;&amp;(AA.color=E.getRGB(AJ.stroke).hex);var e=((+AK[&quot;stroke-opacity&quot;]+1||2)-1)*((+AK.opacity+1||2)-1);e&lt;0&amp;&amp;(e=0);e&gt;1&amp;&amp;(e=1);AA.opacity=e;AJ[&quot;stroke-linejoin&quot;]&amp;&amp;(AA.joinstyle=AJ[&quot;stroke-linejoin&quot;]||&quot;miter&quot;);AA.miterlimit=AJ[&quot;stroke-miterlimit&quot;]||8;AJ[&quot;stroke-linecap&quot;]&amp;&amp;(AA.endcap={butt:&quot;flat&quot;,square:&quot;square&quot;,round:&quot;round&quot;}[AJ[&quot;stroke-linecap&quot;]]||&quot;miter&quot;);AJ[&quot;stroke-width&quot;]&amp;&amp;(AA.weight=(parseFloat(AJ[&quot;stroke-width&quot;])||1)*12/16);if(AJ[&quot;stroke-dasharray&quot;]){var AG={&quot;-&quot;:&quot;shortdash&quot;,&quot;.&quot;:&quot;shortdot&quot;,&quot;-.&quot;:&quot;shortdashdot&quot;,&quot;-..&quot;:&quot;shortdashdotdot&quot;,&quot;. &quot;:&quot;dot&quot;,&quot;- &quot;:&quot;dash&quot;,&quot;--&quot;:&quot;longdash&quot;,&quot;- .&quot;:&quot;dashdot&quot;,&quot;--.&quot;:&quot;longdashdot&quot;,&quot;--..&quot;:&quot;longdashdotdot&quot;};AA.dashstyle=AG[AJ[&quot;stroke-dasharray&quot;]]||&quot;&quot;;}AM&amp;&amp;AH.appendChild(AA);}if(AO.type==&quot;text&quot;){var AC=B.span.style;AK.font&amp;&amp;(AC.font=AK.font);AK[&quot;font-family&quot;]&amp;&amp;(AC.fontFamily=AK[&quot;font-family&quot;]);AK[&quot;font-size&quot;]&amp;&amp;(AC.fontSize=AK[&quot;font-size&quot;]);AK[&quot;font-weight&quot;]&amp;&amp;(AC.fontWeight=AK[&quot;font-weight&quot;]);AK[&quot;font-style&quot;]&amp;&amp;(AC.fontStyle=AK[&quot;font-style&quot;]);B.span.innerHTML=AO.node.string.replace(/&lt;/g,&quot;&amp;#60;&quot;).replace(/&amp;/g,&quot;&amp;#38;&quot;).replace(/\n/g,&quot;&lt;br&gt;&quot;);AO.W=AK.w=B.span.offsetWidth;AO.H=AK.h=B.span.offsetHeight;AO.X=AK.x;AO.Y=AK.y+Math.round(AO.H/2);switch(AK[&quot;text-anchor&quot;]){case&quot;start&quot;:AO.node.style[&quot;v-text-align&quot;]=&quot;left&quot;;AO.bbx=Math.round(AO.W/2);break;case&quot;end&quot;:AO.node.style[&quot;v-text-align&quot;]=&quot;right&quot;;AO.bbx=-Math.round(AO.W/2);break;default:AO.node.style[&quot;v-text-align&quot;]=&quot;center&quot;;break;}}};var M=function(e,R,AA,z){var i=Math.round(Math.atan((parseFloat(AA)-parseFloat(e))/(parseFloat(z)-parseFloat(R)))*57.29)||0;if(!i&amp;&amp;parseFloat(e)&lt;parseFloat(R)){i=180;}i-=180;if(i&lt;0){i+=360;}return i;};var n=function(AD,AC){AC=L(AC);AD.attrs=AD.attrs||{};var e=AD.attrs,AB=AD.node.getElementsByTagName(&quot;fill&quot;);AD.attrs.gradient=AC;AD=AD.shape||AD.node;if(AB.length){AB=AB[0];}else{AB=v(&quot;fill&quot;);}if(AC.dots.length){AB.on=true;AB.method=&quot;none&quot;;AB.type=((AC.type+&quot;&quot;).toLowerCase()==&quot;radial&quot;)?&quot;gradientTitle&quot;:&quot;gradient&quot;;if(typeof AC.dots[0].color!=&quot;undefined&quot;){AB.color=E.getRGB(AC.dots[0].color).hex;}if(typeof AC.dots[AC.dots.length-1].color!=&quot;undefined&quot;){AB.color2=E.getRGB(AC.dots[AC.dots.length-1].color).hex;}var AE=[];for(var z=0,AA=AC.dots.length;z&lt;AA;z++){if(AC.dots[z].offset){AE.push(AC.dots[z].offset+&quot; &quot;+E.getRGB(AC.dots[z].color).hex);}}var R=typeof AC.dots[AC.dots.length-1].opacity==&quot;undefined&quot;?(typeof e.opacity==&quot;undefined&quot;?1:e.opacity):AC.dots[AC.dots.length-1].opacity;if(AE.length){AB.colors.value=AE.join(&quot;,&quot;);R=typeof e.opacity==&quot;undefined&quot;?1:e.opacity;}else{AB.colors&amp;&amp;(AB.colors.value=&quot;0% &quot;+AB.color);}AB.opacity=R;if(typeof AC.angle!=&quot;undefined&quot;){AB.angle=(-AC.angle+270)%360;}else{if(AC.vector){AB.angle=M.apply(null,AC.vector);}}if((AC.type+&quot;&quot;).toLowerCase()==&quot;radial&quot;){AB.focus=&quot;100%&quot;;AB.focusposition=&quot;0.5 0.5&quot;;}}};var K=function(AA,AC,R){var AB=0,i=0,e=0,z=1;this[0]=AA;this.node=AA;this.X=0;this.Y=0;this.attrs={};this.Group=AC;this.paper=R;this._={tx:0,ty:0,rt:{deg:0},sx:1,sy:1};};K.prototype.rotate=function(e,R,i){if(e==null){if(this._.rt.cx){return[this._.rt.deg,this._.rt.cx,this._.rt.cy].join(&quot; &quot;);}return this._.rt.deg;}e=(e+&quot;&quot;).split(y);if(e.length-1){R=parseFloat(e[1]);i=parseFloat(e[2]);}e=parseFloat(e[0]);if(R!=null){this._.rt.deg=e;}else{this._.rt.deg+=e;}(i==null)&amp;&amp;(R=null);this._.rt.cx=R;this._.rt.cy=i;this.setBox(this.attrs,R,i);this.Group.style.rotation=this._.rt.deg;return this;};K.prototype.setBox=function(AB,AC,AA){var e=this.Group.style,AD=(this.shape&amp;&amp;this.shape.style)||this.node.style;AB=AB||{};for(var AE in AB){this.attrs[AE]=AB[AE];}AC=AC||this._.rt.cx;AA=AA||this._.rt.cy;var AH=this.attrs,AK,AJ,AL,AG;switch(this.type){case&quot;circle&quot;:AK=AH.cx-AH.r;AJ=AH.cy-AH.r;AL=AG=AH.r*2;break;case&quot;ellipse&quot;:AK=AH.cx-AH.rx;AJ=AH.cy-AH.ry;AL=AH.rx*2;AG=AH.ry*2;break;case&quot;rect&quot;:case&quot;image&quot;:AK=AH.x;AJ=AH.y;AL=AH.width||0;AG=AH.height||0;break;case&quot;text&quot;:this.textpath.v=[&quot;m&quot;,Math.round(AH.x),&quot;, &quot;,Math.round(AH.y-2),&quot;l&quot;,Math.round(AH.x)+1,&quot;, &quot;,Math.round(AH.y-2)].join(&quot;&quot;);AK=AH.x-Math.round(this.W/2);AJ=AH.y-this.H/2;AL=this.W;AG=this.H;break;case&quot;path&quot;:if(!this.attrs.path){AK=0;AJ=0;AL=this.paper.width;AG=this.paper.height;}else{var AF=b(this.attrs.path);AK=AF.x;AJ=AF.y;AL=AF.width;AG=AF.height;}break;default:AK=0;AJ=0;AL=this.paper.width;AG=this.paper.height;break;}AC=(AC==null)?AK+AL/2:AC;AA=(AA==null)?AJ+AG/2:AA;var z=AC-this.paper.width/2,AI=AA-this.paper.height/2;if(this.type==&quot;path&quot;||this.type==&quot;text&quot;){(e.left!=z+&quot;px&quot;)&amp;&amp;(e.left=z+&quot;px&quot;);(e.top!=AI+&quot;px&quot;)&amp;&amp;(e.top=AI+&quot;px&quot;);this.X=this.type==&quot;text&quot;?AK:-z;this.Y=this.type==&quot;text&quot;?AJ:-AI;this.W=AL;this.H=AG;(AD.left!=-z+&quot;px&quot;)&amp;&amp;(AD.left=-z+&quot;px&quot;);(AD.top!=-AI+&quot;px&quot;)&amp;&amp;(AD.top=-AI+&quot;px&quot;);}else{(e.left!=z+&quot;px&quot;)&amp;&amp;(e.left=z+&quot;px&quot;);(e.top!=AI+&quot;px&quot;)&amp;&amp;(e.top=AI+&quot;px&quot;);this.X=AK;this.Y=AJ;this.W=AL;this.H=AG;(e.width!=this.paper.width+&quot;px&quot;)&amp;&amp;(e.width=this.paper.width+&quot;px&quot;);(e.height!=this.paper.height+&quot;px&quot;)&amp;&amp;(e.height=this.paper.height+&quot;px&quot;);(AD.left!=AK-z+&quot;px&quot;)&amp;&amp;(AD.left=AK-z+&quot;px&quot;);(AD.top!=AJ-AI+&quot;px&quot;)&amp;&amp;(AD.top=AJ-AI+&quot;px&quot;);(AD.width!=AL+&quot;px&quot;)&amp;&amp;(AD.width=AL+&quot;px&quot;);(AD.height!=AG+&quot;px&quot;)&amp;&amp;(AD.height=AG+&quot;px&quot;);var AM=(+AB.r||0)/(Math.min(AL,AG));if(this.type==&quot;rect&quot;&amp;&amp;this.arcsize!=AM&amp;&amp;(AM||this.arcsize)){var R=v(AM?&quot;roundrect&quot;:&quot;rect&quot;);R.arcsize=AM;this.Group.appendChild(R);this.node.parentNode.removeChild(this.node);this.node=R;this.arcsize=AM;f(this,this.attrs);this.setBox(this.attrs);}}};K.prototype.hide=function(){this.Group.style.display=&quot;none&quot;;return this;};K.prototype.show=function(){this.Group.style.display=&quot;block&quot;;return this;};K.prototype.getBBox=function(){if(this.type==&quot;path&quot;){return b(this.attrs.path);}return{x:this.X+(this.bbx||0),y:this.Y,width:this.W,height:this.H};};K.prototype.remove=function(){this[0].parentNode.removeChild(this[0]);this.Group.parentNode.removeChild(this.Group);this.shape&amp;&amp;this.shape.parentNode.removeChild(this.shape);};K.prototype.attr=function(){if(arguments.length==1&amp;&amp;typeof arguments[0]==&quot;string&quot;){if(arguments[0]==&quot;translation&quot;){return this.translate();}if(arguments[0]==&quot;rotation&quot;){return this.rotate();}if(arguments[0]==&quot;scale&quot;){return this.scale();}return this.attrs[arguments[0]];}if(this.attrs&amp;&amp;arguments.length==1&amp;&amp;E.isArray(arguments[0])){var R={};for(var e=0,z=arguments[0].length;e&lt;z;e++){R[arguments[0][e]]=this.attrs[arguments[0][e]];}return R;}var AA;if(arguments.length==2){AA={};AA[arguments[0]]=arguments[1];}if(arguments.length==1&amp;&amp;typeof arguments[0]==&quot;object&quot;){AA=arguments[0];}if(AA){if(AA.gradient){n(this,AA.gradient);}if(AA.text&amp;&amp;this.type==&quot;text&quot;){this.node.string=AA.text;}f(this,AA);this.setBox(this.attrs);}return this;};K.prototype.toFront=function(){this.Group.parentNode.appendChild(this.Group);return this;};K.prototype.toBack=function(){if(this.Group.parentNode.firstChild!=this.Group){this.Group.parentNode.insertBefore(this.Group,this.Group.parentNode.firstChild);}return this;};K.prototype.insertAfter=function(R){if(R.Group.nextSibling){R.Group.parentNode.insertBefore(this.Group,R.Group.nextSibling);}else{R.Group.parentNode.appendChild(this.Group);}return this;};K.prototype.insertBefore=function(R){R.Group.parentNode.insertBefore(this.Group,R.Group);return this;};var c=function(e,AE,AD,R){var AA=v(&quot;group&quot;),z=AA.style,i=v(&quot;oval&quot;),AC=i.style;z.position=&quot;absolute&quot;;z.left=0;z.top=0;z.width=e.width+&quot;px&quot;;z.height=e.height+&quot;px&quot;;AA.coordsize=e.coordsize;AA.coordorigin=e.coordorigin;AA.appendChild(i);var AB=new K(i,AA,e);AB.type=&quot;circle&quot;;f(AB,{stroke:&quot;#000&quot;,fill:&quot;none&quot;});AB.attrs.cx=AE;AB.attrs.cy=AD;AB.attrs.r=R;AB.setBox({x:AE-R,y:AD-R,width:R*2,height:R*2});e.canvas.appendChild(AA);return AB;};var j=function(e,AE,AD,AF,AA,R){var AB=v(&quot;group&quot;),z=AB.style,i=v(R?&quot;roundrect&quot;:&quot;rect&quot;),AG=(+R||0)/(Math.min(AF,AA));i.arcsize=AG;z.position=&quot;absolute&quot;;z.left=0;z.top=0;z.width=e.width+&quot;px&quot;;z.height=e.height+&quot;px&quot;;AB.coordsize=e.coordsize;AB.coordorigin=e.coordorigin;AB.appendChild(i);var AC=new K(i,AB,e);AC.type=&quot;rect&quot;;f(AC,{stroke:&quot;#000&quot;});AC.arcsize=AG;AC.setBox({x:AE,y:AD,width:AF,height:AA,r:+R});e.canvas.appendChild(AB);return AC;};var G=function(R,AF,AE,i,e){var AB=v(&quot;group&quot;),AA=AB.style,z=v(&quot;oval&quot;),AD=z.style;AA.position=&quot;absolute&quot;;AA.left=0;AA.top=0;AA.width=R.width+&quot;px&quot;;AA.height=R.height+&quot;px&quot;;AB.coordsize=R.coordsize;AB.coordorigin=R.coordorigin;AB.appendChild(z);var AC=new K(z,AB,R);AC.type=&quot;ellipse&quot;;f(AC,{stroke:&quot;#000&quot;});AC.attrs.cx=AF;AC.attrs.cy=AE;AC.attrs.rx=i;AC.attrs.ry=e;AC.setBox({x:AF-i,y:AE-e,width:i*2,height:e*2});R.canvas.appendChild(AB);return AC;};var N=function(e,R,AF,AE,AG,AA){var AB=v(&quot;group&quot;),z=AB.style,i=v(&quot;image&quot;),AD=i.style;z.position=&quot;absolute&quot;;z.left=0;z.top=0;z.width=e.width+&quot;px&quot;;z.height=e.height+&quot;px&quot;;AB.coordsize=e.coordsize;AB.coordorigin=e.coordorigin;i.src=R;AB.appendChild(i);var AC=new K(i,AB,e);AC.type=&quot;image&quot;;AC.attrs.src=R;AC.attrs.x=AF;AC.attrs.y=AE;AC.attrs.w=AG;AC.attrs.h=AA;AC.setBox({x:AF,y:AE,width:AG,height:AA});e.canvas.appendChild(AB);return AC;};var h=function(e,AF,AE,AG){var AB=v(&quot;group&quot;),AA=AB.style,z=v(&quot;shape&quot;),AD=z.style,AH=v(&quot;path&quot;),R=AH.style,i=v(&quot;textpath&quot;);AA.position=&quot;absolute&quot;;AA.left=0;AA.top=0;AA.width=e.width+&quot;px&quot;;AA.height=e.height+&quot;px&quot;;AB.coordsize=e.coordsize;AB.coordorigin=e.coordorigin;AH.v=[&quot;m&quot;,Math.round(AF),&quot;, &quot;,Math.round(AE),&quot;l&quot;,Math.round(AF)+1,&quot;, &quot;,Math.round(AE)].join(&quot;&quot;);AH.textpathok=true;AD.width=e.width;AD.height=e.height;AA.position=&quot;absolute&quot;;AA.left=0;AA.top=0;AA.width=e.width;AA.height=e.height;i.string=AG;i.on=true;z.appendChild(i);z.appendChild(AH);AB.appendChild(z);var AC=new K(i,AB,e);AC.shape=z;AC.textpath=AH;AC.type=&quot;text&quot;;AC.attrs.text=AG;AC.attrs.x=AF;AC.attrs.y=AE;AC.attrs.w=1;AC.attrs.h=1;f(AC,{font:O.font,stroke:&quot;none&quot;,fill:&quot;#000&quot;});AC.setBox();e.canvas.appendChild(AB);return AC;};var d=function(i,R){var e=this.canvas.style;this.width=i||this.width;this.height=R||this.height;e.width=this.width+&quot;px&quot;;e.height=this.height+&quot;px&quot;;e.clip=&quot;rect(0 &quot;+this.width+&quot;px &quot;+this.height+&quot;px 0)&quot;;this.canvas.coordsize=this.width+&quot; &quot;+this.height;return this;};F.createStyleSheet().addRule(&quot;.rvml&quot;,&quot;behavior:url(#default#VML)&quot;);try{!F.namespaces.rvml&amp;&amp;F.namespaces.add(&quot;rvml&quot;,&quot;urn:schemas-microsoft-com:vml&quot;);var v=function(R){return F.createElement(&quot;&lt;rvml:&quot;+R+' class=&quot;rvml&quot;&gt;');};}catch(u){var v=function(R){return F.createElement(&quot;&lt;&quot;+R+' xmlns=&quot;urn:schemas-microsoft.com:vml&quot; class=&quot;rvml&quot;&gt;');};}var J=function(){var z=g.apply(null,arguments),e=z.container,AE=z.height,AF,i=z.width,AD=z.x,AC=z.y;if(!e){throw new Error(&quot;VML container not found.&quot;);}var AB=B.canvas=F.createElement(&quot;div&quot;),AA=AB.style;i=parseFloat(i)||&quot;512px&quot;;AE=parseFloat(AE)||&quot;342px&quot;;B.width=i;B.height=AE;B.coordsize=i+&quot; &quot;+AE;B.coordorigin=&quot;0 0&quot;;B.span=F.createElement(&quot;span&quot;);AF=B.span.style;AB.appendChild(B.span);AF.position=&quot;absolute&quot;;AF.left=&quot;-99999px&quot;;AF.top=&quot;-99999px&quot;;AF.padding=0;AF.margin=0;AF.lineHeight=1;AF.display=&quot;inline&quot;;AA.width=i+&quot;px&quot;;AA.height=AE+&quot;px&quot;;AA.position=&quot;absolute&quot;;AA.clip=&quot;rect(0 &quot;+i+&quot;px &quot;+AE+&quot;px 0)&quot;;if(e==1){F.body.appendChild(AB);AA.left=AD+&quot;px&quot;;AA.top=AC+&quot;px&quot;;e={style:{width:i,height:AE}};}else{e.style.width=i;e.style.height=AE;if(e.firstChild){e.insertBefore(AB,e.firstChild);}else{e.appendChild(AB);}}for(var R in B){e[R]=B[R];}A.call(e,e,E.fn);e.clear=function(){while(AB.firstChild){AB.removeChild(AB.firstChild);}};e.raphael=E;return e;};B.remove=function(){this.canvas.parentNode.removeChild(this.canvas);};B.safari=function(){};}var H=(function(){if(F.addEventListener){return function(AA,i,e,R){var z=function(AB){return e.call(R,AB);};AA.addEventListener(i,z,false);return function(){AA.removeEventListener(i,z,false);return true;};};}else{if(F.attachEvent){return function(AB,z,i,e){var AA=function(AC){return i.call(e,AC||m.event);};AB.attachEvent(&quot;on&quot;+z,AA);var R=function(){AB.detachEvent(&quot;on&quot;+z,AA);return true;};if(z==&quot;mouseover&quot;){AB.attachEvent(&quot;onmouseenter&quot;,AA);return function(){AB.detachEvent(&quot;onmouseenter&quot;,AA);return R();};}else{if(z==&quot;mouseout&quot;){AB.attachEvent(&quot;onmouseleave&quot;,AA);return function(){AB.detachEvent(&quot;onmouseleave&quot;,AA);return R();};}}return R;};}}})();for(var r=U.length;r--;){(function(R){K.prototype[R]=function(e){if(typeof e==&quot;function&quot;){this.events=this.events||{};this.events[R]=this.events[R]||{};this.events[R][e]=this.events[R][e]||[];this.events[R][e].push(H(this.shape||this.node,R,e,this));}return this;};K.prototype[&quot;un&quot;+R]=function(e){this.events&amp;&amp;this.events[R]&amp;&amp;this.events[R][e]&amp;&amp;this.events[R][e].length&amp;&amp;this.events[R][e].shift()()&amp;&amp;!this.events[R][e].length&amp;&amp;delete this.events[R][e];};})(U[r]);}B.circle=function(R,i,e){return c(this,R,i,e);};B.rect=function(R,AA,e,i,z){return j(this,R,AA,e,i,z);};B.ellipse=function(R,z,i,e){return G(this,R,z,i,e);};B.path=function(R){if(R&amp;&amp;typeof R!=&quot;string&quot;&amp;&amp;!E.isArray(R[0])){throw new Error(&quot;First argument for path method should be a string.&quot;);}return w(E.format.apply(E,arguments),this);};B.image=function(z,R,AA,e,i){return N(this,z,R,AA,e,i);};B.text=function(R,i,e){return h(this,R,i,e);};B.set=function(R){arguments.length&gt;1&amp;&amp;(R=Array.prototype.splice.call(arguments,0,arguments.length));return new I(R);};B.setSize=d;K.prototype.stop=function(){clearTimeout(this.animation_in_progress);return this;};K.prototype.scale=function(AJ,AI,z,e){if(AJ==null&amp;&amp;AI==null){return{x:this._.sx,y:this._.sy,toString:function(){return this.x+&quot; &quot;+this.y;}};}AI=AI||AJ;!+AI&amp;&amp;(AI=AJ);var AN,AL,AM,AK,AZ=this.attrs;if(AJ!=0){var AH=this.getBBox(),AE=AH.x+AH.width/2,AB=AH.y+AH.height/2,AY=AJ/this._.sx,AX=AI/this._.sy;z=(+z||z==0)?z:AE;e=(+e||e==0)?e:AB;var AG=Math.round(AJ/Math.abs(AJ)),AD=Math.round(AI/Math.abs(AI)),AQ=this.node.style,Ab=z+(AE-z)*AG*AY,Aa=e+(AB-e)*AD*AX;switch(this.type){case&quot;rect&quot;:case&quot;image&quot;:var AF=AZ.width*AG*AY,AP=AZ.height*AD*AX,AC=Ab-AF/2,AA=Aa-AP/2;this.attr({width:AF,height:AP,x:AC,y:AA});break;case&quot;circle&quot;:case&quot;ellipse&quot;:this.attr({rx:AZ.rx*AY,ry:AZ.ry*AX,r:AZ.r*AY,cx:Ab,cy:Aa});break;case&quot;path&quot;:var AS=C(AZ.path),AT=true;for(var AV=0,AO=AS.length;AV&lt;AO;AV++){var AR=AS[AV];if(AR[0].toUpperCase()==&quot;M&quot;&amp;&amp;AT){continue;}else{AT=false;}if(E.svg&amp;&amp;AR[0].toUpperCase()==&quot;A&quot;){AR[AS[AV].length-2]*=AY;AR[AS[AV].length-1]*=AX;AR[1]*=AY;AR[2]*=AX;AR[5]=+(AG+AD?!!+AR[5]:!+AR[5]);}else{for(var AU=1,AW=AR.length;AU&lt;AW;AU++){AR[AU]*=(AU%2)?AY:AX;}}}var R=b(AS),AN=Ab-R.x-R.width/2,AL=Aa-R.y-R.height/2;AS=C(AS);AS[0][1]+=AN;AS[0][2]+=AL;this.attr({path:AS.join(&quot; &quot;)});break;}if(this.type in {text:1,image:1}&amp;&amp;(AG!=1||AD!=1)){if(this.transformations){this.transformations[2]=&quot;scale(&quot;.concat(AG,&quot;,&quot;,AD,&quot;)&quot;);this.node.setAttribute(&quot;transform&quot;,this.transformations.join(&quot; &quot;));AN=(AG==-1)?-AZ.x-(AF||0):AZ.x;AL=(AD==-1)?-AZ.y-(AP||0):AZ.y;this.attr({x:AN,y:AL});AZ.fx=AG-1;AZ.fy=AD-1;}else{this.node.filterMatrix=&quot; progid:DXImageTransform.Microsoft.Matrix(M11=&quot;.concat(AG,&quot;, M12=0, M21=0, M22=&quot;,AD,&quot;, Dx=0, Dy=0, sizingmethod='auto expand', filtertype='bilinear')&quot;);AQ.filter=(this.node.filterMatrix||&quot;&quot;)+(this.node.filterOpacity||&quot;&quot;);}}else{if(this.transformations){this.transformations[2]=&quot;&quot;;this.node.setAttribute(&quot;transform&quot;,this.transformations.join(&quot; &quot;));AZ.fx=0;AZ.fy=0;}else{this.node.filterMatrix=&quot;&quot;;AQ.filter=(this.node.filterMatrix||&quot;&quot;)+(this.node.filterOpacity||&quot;&quot;);}}AZ.scale=[AJ,AI,z,e].join(&quot; &quot;);this._.sx=AJ;this._.sy=AI;}return this;};E.easing_formulas={linear:function(R){return R;},&quot;&lt;&quot;:function(R){return Math.pow(R,3);},&quot;&gt;&quot;:function(R){return Math.pow(R-1,3)+1;},&quot;&lt;&gt;&quot;:function(R){R=R*2;if(R&lt;1){return Math.pow(R,3)/2;}R-=2;return(Math.pow(R,3)+2)/2;},backIn:function(e){var R=1.70158;return e*e*((R+1)*e-R);},backOut:function(e){e=e-1;var R=1.70158;return e*e*((R+1)*e+R)+1;},elastic:function(i){if(i==0||i==1){return i;}var e=0.3,R=e/4;return Math.pow(2,-10*i)*Math.sin((i-R)*(2*Math.PI)/e)+1;},bounce:function(z){var e=7.5625,i=2.75,R;if(z&lt;(1/i)){R=e*z*z;}else{if(z&lt;(2/i)){z-=(1.5/i);R=e*z*z+0.75;}else{if(z&lt;(2.5/i)){z-=(2.25/i);R=e*z*z+0.9375;}else{z-=(2.625/i);R=e*z*z+0.984375;}}}return R;}};K.prototype.animate=function(AS,AJ,AI,AA){clearTimeout(this.animation_in_progress);if(typeof AI==&quot;function&quot;||!AI){AA=AI||null;}var AM={},e={},AG={},AF={x:0,y:0};for(var AK in AS){if(AK in T){AM[AK]=this.attr(AK);(AM[AK]==null)&amp;&amp;(AM[AK]=O[AK]);e[AK]=AS[AK];switch(T[AK]){case&quot;number&quot;:AG[AK]=(e[AK]-AM[AK])/AJ;break;case&quot;colour&quot;:AM[AK]=E.getRGB(AM[AK]);var AL=E.getRGB(e[AK]);AG[AK]={r:(AL.r-AM[AK].r)/AJ,g:(AL.g-AM[AK].g)/AJ,b:(AL.b-AM[AK].b)/AJ};break;case&quot;path&quot;:var AB=p(AM[AK],e[AK]);AM[AK]=AB[0];e[AK]=AB[1];AG[AK]=[];for(var AO=0,AE=AM[AK].length;AO&lt;AE;AO++){AG[AK][AO]=[0];for(var AN=1,AQ=AM[AK][AO].length;AN&lt;AQ;AN++){AG[AK][AO][AN]=(e[AK][AO][AN]-AM[AK][AO][AN])/AJ;}}break;case&quot;csv&quot;:var R=(AS[AK]+&quot;&quot;).split(y),AD=(AM[AK]+&quot;&quot;).split(y);switch(AK){case&quot;translation&quot;:AM[AK]=[0,0];AG[AK]=[R[0]/AJ,R[1]/AJ];break;case&quot;rotation&quot;:AM[AK]=(AD[1]==R[1]&amp;&amp;AD[2]==R[2])?AD:[0,R[1],R[2]];AG[AK]=[(R[0]-AM[AK][0])/AJ,0,0];break;case&quot;scale&quot;:AS[AK]=R;AM[AK]=(AM[AK]+&quot;&quot;).split(y);AG[AK]=[(R[0]-AM[AK][0])/AJ,(R[1]-AM[AK][1])/AJ,0,0];break;case&quot;clip-rect&quot;:AM[AK]=(AM[AK]+&quot;&quot;).split(y);AG[AK]=[];var AO=4;while(AO--){AG[AK][AO]=(R[AO]-AM[AK][AO])/AJ;}break;}e[AK]=R;}}}var z=+new Date,AH=0,AR=function(i){return +i&gt;255?255:+i;},AC=this;(function AP(){var AU=new Date-z,Ac={},AT;if(AU&lt;AJ){var Aa=E.easing_formulas[AI]?E.easing_formulas[AI](AU/AJ):AU/AJ;for(var AY in AM){switch(T[AY]){case&quot;number&quot;:AT=+AM[AY]+Aa*AJ*AG[AY];break;case&quot;colour&quot;:AT=&quot;rgb(&quot;+[AR(Math.round(AM[AY].r+Aa*AJ*AG[AY].r)),AR(Math.round(AM[AY].g+Aa*AJ*AG[AY].g)),AR(Math.round(AM[AY].b+Aa*AJ*AG[AY].b))].join(&quot;,&quot;)+&quot;)&quot;;break;case&quot;path&quot;:AT=[];for(var AW=0,Ad=AM[AY].length;AW&lt;Ad;AW++){AT[AW]=[AM[AY][AW][0]];for(var AV=1,AX=AM[AY][AW].length;AV&lt;AX;AV++){AT[AW][AV]=+AM[AY][AW][AV]+Aa*AJ*AG[AY][AW][AV];}AT[AW]=AT[AW].join(&quot; &quot;);}AT=AT.join(&quot; &quot;);break;case&quot;csv&quot;:switch(AY){case&quot;translation&quot;:var Ab=AG[AY][0]*(AU-AH),AZ=AG[AY][1]*(AU-AH);AF.x+=Ab;AF.y+=AZ;AT=[Ab,AZ].join(&quot; &quot;);break;case&quot;rotation&quot;:AT=+AM[AY][0]+Aa*AJ*AG[AY][0];AM[AY][1]&amp;&amp;(AT+=&quot;,&quot;+AM[AY][1]+&quot;,&quot;+AM[AY][2]);break;case&quot;scale&quot;:AT=[+AM[AY][0]+Aa*AJ*AG[AY][0],+AM[AY][1]+Aa*AJ*AG[AY][1],(2 in AS[AY]?AS[AY][2]:&quot;&quot;),(3 in AS[AY]?AS[AY][3]:&quot;&quot;)].join(&quot; &quot;);break;case&quot;clip-rect&quot;:AT=[];var AW=4;while(AW--){AT[AW]=+AM[AY][AW]+Aa*AJ*AG[AY][AW];}break;}break;}Ac[AY]=AT;}AC.attr(Ac);AC.animation_in_progress=setTimeout(AP);E.svg&amp;&amp;B.safari();}else{(AF.x||AF.y)&amp;&amp;AC.translate(-AF.x,-AF.y);AC.attr(AS);clearTimeout(AC.animation_in_progress);E.svg&amp;&amp;B.safari();(typeof AA==&quot;function&quot;)&amp;&amp;AA.call(AC);}AH=AU;})();return this;};K.prototype.translate=function(R,i){if(R==null){return{x:this._.tx,y:this._.ty};}this._.tx+=+R;this._.ty+=+i;switch(this.type){case&quot;circle&quot;:case&quot;ellipse&quot;:this.attr({cx:+R+this.attrs.cx,cy:+i+this.attrs.cy});break;case&quot;rect&quot;:case&quot;image&quot;:case&quot;text&quot;:this.attr({x:+R+this.attrs.x,y:+i+this.attrs.y});break;case&quot;path&quot;:var e=C(this.attrs.path);e[0][1]+=+R;e[0][2]+=+i;this.attr({path:e});break;}return this;};var I=function(R){this.items=[];this.length=0;if(R){for(var e=0,z=R.length;e&lt;z;e++){if(R[e]&amp;&amp;(R[e].constructor==K||R[e].constructor==I)){this[this.items.length]=this.items[this.items.length]=R[e];this.length++;}}}};I.prototype.push=function(){var AA,R;for(var e=0,z=arguments.length;e&lt;z;e++){AA=arguments[e];if(AA&amp;&amp;(AA.constructor==K||AA.constructor==I)){R=this.items.length;this[R]=this.items[R]=AA;this.length++;}}return this;};I.prototype.pop=function(){delete this[this.length--];return this.items.pop();};for(var s in K.prototype){I.prototype[s]=(function(R){return function(){for(var e=0,z=this.items.length;e&lt;z;e++){this.items[e][R].apply(this.items[e],arguments);}return this;};})(s);}I.prototype.attr=function(e,AC){if(e&amp;&amp;E.isArray(e)&amp;&amp;typeof e[0]==&quot;object&quot;){for(var R=0,AB=e.length;R&lt;AB;R++){this.items[R].attr(e[R]);}}else{for(var z=0,AA=this.items.length;z&lt;AA;z++){this.items[z].attr.apply(this.items[z],arguments);}}return this;};I.prototype.getBBox=function(){var R=[],AC=[],e=[],AA=[];for(var z=this.items.length;z--;){var AB=this.items[z].getBBox();R.push(AB.x);AC.push(AB.y);e.push(AB.x+AB.width);AA.push(AB.y+AB.height);}R=Math.min.apply(Math,R);AC=Math.min.apply(Math,AC);return{x:R,y:AC,width:Math.max.apply(Math,e)-R,height:Math.max.apply(Math,AA)-AC};};E.registerFont=function(e){if(!e.face){return e;}this.fonts=this.fonts||{};var z={w:e.w,face:{},glyphs:{}},i=e.face[&quot;font-family&quot;];for(var AC in e.face){z.face[AC]=e.face[AC];}if(this.fonts[i]){this.fonts[i].push(z);}else{this.fonts[i]=[z];}if(!e.svg){z.face[&quot;units-per-em&quot;]=parseInt(e.face[&quot;units-per-em&quot;],10);for(var AA in e.glyphs){var AB=e.glyphs[AA];z.glyphs[AA]={w:AB.w,k:{},d:AB.d&amp;&amp;&quot;M&quot;+AB.d.replace(/[mlcxtrv]/g,function(AD){return{l:&quot;L&quot;,c:&quot;C&quot;,x:&quot;z&quot;,t:&quot;m&quot;,r:&quot;l&quot;,v:&quot;c&quot;}[AD]||&quot;M&quot;;})+&quot;z&quot;};if(AB.k){for(var R in AB.k){z.glyphs[AA].k[R]=AB.k[R];}}}}return e;};B.getFont=function(AE,AF,e,AA){AA=AA||&quot;normal&quot;;e=e||&quot;normal&quot;;AF=+AF||{normal:400,bold:700,lighter:300,bolder:800}[AF]||400;var AB=E.fonts[AE];if(!AB){var z=new RegExp(&quot;(^|\\s)&quot;+AE.replace(/[^\w\d\s+!~.:_-]/g,&quot;&quot;)+&quot;(\\s|$)&quot;,&quot;i&quot;);for(var R in E.fonts){if(z.test(R)){AB=E.fonts[R];break;}}}var AC;if(AB){for(var AD=0,AG=AB.length;AD&lt;AG;AD++){AC=AB[AD];if(AC.face[&quot;font-weight&quot;]==AF&amp;&amp;(AC.face[&quot;font-style&quot;]==e||!AC.face[&quot;font-style&quot;])&amp;&amp;AC.face[&quot;font-stretch&quot;]==AA){break;}}}return AC;};B.print=function(AG,AF,AD,e,AK){var AB=this.set(),AE=(AD+&quot;&quot;).split(&quot;&quot;),R=0,AJ=&quot;&quot;,AA;typeof e==&quot;string&quot;&amp;&amp;(e=this.getFont(e));if(e){AA=(AK||16)/e.face[&quot;units-per-em&quot;];for(var AC=0,AH=AE.length;AC&lt;AH;AC++){var z=AC&amp;&amp;e.glyphs[AE[AC-1]]||{},AI=e.glyphs[AE[AC]];R+=AC?(z.w||e.w)+(z.k&amp;&amp;z.k[AE[AC]]||0):0;AI&amp;&amp;AI.d&amp;&amp;AB.push(this.path(AI.d).attr({fill:&quot;#000&quot;,stroke:&quot;none&quot;,translation:[R,0]}));}AB.scale(AA,AA,0,AF).translate(AG,(AK||16)/2);}return AB;};E.format=function(e){var R=E.isArray(arguments[1])?[0].concat(arguments[1]):arguments;e&amp;&amp;typeof e==&quot;string&quot;&amp;&amp;R.length-1&amp;&amp;(e=e.replace(/\{(\d+)\}/g,function(AA,z){return R[++z]||&quot;&quot;;}));return e;};E.ninja=function(){var R=window.Raphael;if(q.was){window.Raphael=q.is;}else{try{delete window.Raphael;}catch(i){window.Raphael=void (0);}}return R;};E.el=K.prototype;return E;})();
\ No newline at end of file
+window.Raphael=(function(){var y=/[, ]+/,F=document,m=window,q={was:&quot;Raphael&quot; in window,is:window.Raphael},E=function(){return J.apply(E,arguments);},B={},O={&quot;clip-rect&quot;:&quot;0 0 10e9 10e9&quot;,cx:0,cy:0,fill:&quot;#fff&quot;,&quot;fill-opacity&quot;:1,font:'10px &quot;Arial&quot;',&quot;font-family&quot;:'&quot;Arial&quot;',&quot;font-size&quot;:&quot;10&quot;,&quot;font-style&quot;:&quot;normal&quot;,&quot;font-weight&quot;:400,gradient:0,height:0,href:&quot;http://raphaeljs.com/&quot;,opacity:1,path:&quot;M0,0&quot;,r:0,rotation:0,rx:0,ry:0,scale:&quot;1 1&quot;,src:&quot;&quot;,stroke:&quot;#000&quot;,&quot;stroke-dasharray&quot;:&quot;&quot;,&quot;stroke-linecap&quot;:&quot;butt&quot;,&quot;stroke-linejoin&quot;:&quot;butt&quot;,&quot;stroke-miterlimit&quot;:0,&quot;stroke-opacity&quot;:1,&quot;stroke-width&quot;:1,target:&quot;_blank&quot;,&quot;text-anchor&quot;:&quot;middle&quot;,title:&quot;Raphael&quot;,translation:&quot;0 0&quot;,width:0,x:0,y:0},T={&quot;clip-rect&quot;:&quot;csv&quot;,cx:&quot;number&quot;,cy:&quot;number&quot;,fill:&quot;colour&quot;,&quot;fill-opacity&quot;:&quot;number&quot;,&quot;font-size&quot;:&quot;number&quot;,height:&quot;number&quot;,opacity:&quot;number&quot;,path:&quot;path&quot;,r:&quot;number&quot;,rotation:&quot;csv&quot;,rx:&quot;number&quot;,ry:&quot;number&quot;,scale:&quot;csv&quot;,stroke:&quot;colour&quot;,&quot;stroke-opacity&quot;:&quot;number&quot;,&quot;stroke-width&quot;:&quot;number&quot;,translation:&quot;csv&quot;,width:&quot;number&quot;,x:&quot;number&quot;,y:&quot;number&quot;},U=[&quot;click&quot;,&quot;dblclick&quot;,&quot;mousedown&quot;,&quot;mousemove&quot;,&quot;mouseout&quot;,&quot;mouseover&quot;,&quot;mouseup&quot;];E.version=&quot;1.0 RC1.3&quot;;E.type=(window.SVGAngle||document.implementation.hasFeature(&quot;http://www.w3.org/TR/SVG11/feature#BasicStructure&quot;,&quot;1.1&quot;)?&quot;SVG&quot;:&quot;VML&quot;);E.svg=!(E.vml=E.type==&quot;VML&quot;);E.idGenerator=0;E.fn={};E.isArray=function(R){return Object.prototype.toString.call(R)==&quot;[object Array]&quot;;};E.setWindow=function(R){m=R;F=m.document;};E.hsb2rgb=x(function(AF,AD,AJ){if(typeof AF==&quot;object&quot;&amp;&amp;&quot;h&quot; in AF&amp;&amp;&quot;s&quot; in AF&amp;&amp;&quot;b&quot; in AF){AJ=AF.b;AD=AF.s;AF=AF.h;}var AA,AB,AK;if(AJ==0){return{r:0,g:0,b:0,hex:&quot;#000&quot;};}if(AF&gt;1||AD&gt;1||AJ&gt;1){AF/=255;AD/=255;AJ/=255;}var AC=Math.floor(AF*6),AG=(AF*6)-AC,z=AJ*(1-AD),e=AJ*(1-(AD*AG)),AL=AJ*(1-(AD*(1-AG)));AA=[AJ,e,z,z,AL,AJ,AJ][AC];AB=[AL,AJ,AJ,e,z,z,AL][AC];AK=[z,z,AL,AJ,AJ,e,z][AC];AA*=255;AB*=255;AK*=255;var AH={r:AA,g:AB,b:AK},R=Math.round(AA).toString(16),AE=Math.round(AB).toString(16),AI=Math.round(AK).toString(16);if(R.length==1){R=&quot;0&quot;+R;}if(AE.length==1){AE=&quot;0&quot;+AE;}if(AI.length==1){AI=&quot;0&quot;+AI;}AH.hex=&quot;#&quot;+R+AE+AI;return AH;},E);E.rgb2hsb=x(function(R,e,AD){if(typeof R==&quot;object&quot;&amp;&amp;&quot;r&quot; in R&amp;&amp;&quot;g&quot; in R&amp;&amp;&quot;b&quot; in R){AD=R.b;e=R.g;R=R.r;}if(typeof R==&quot;string&quot;){var AF=E.getRGB(R);R=AF.r;e=AF.g;AD=AF.b;}if(R&gt;1||e&gt;1||AD&gt;1){R/=255;e/=255;AD/=255;}var AC=Math.max(R,e,AD),i=Math.min(R,e,AD),AA,z,AB=AC;if(i==AC){return{h:0,s:0,b:AC};}else{var AE=(AC-i);z=AE/AC;if(R==AC){AA=(e-AD)/AE;}else{if(e==AC){AA=2+((AD-R)/AE);}else{AA=4+((R-e)/AE);}}AA/=6;if(AA&lt;0){AA+=1;}if(AA&gt;1){AA-=1;}}return{h:AA,s:z,b:AB};},E);E._path2string=function(){var z=&quot;&quot;,AC;for(var e=0,AA=this.length;e&lt;AA;e++){for(var R=0,AB=this[e].length;R&lt;AB;R++){z+=this[e][R];R&amp;&amp;R!=AB-1&amp;&amp;(z+=&quot;,&quot;);}e!=AA-1&amp;&amp;(z+=&quot;\n&quot;);}return z.replace(/,(?=-)/g,&quot;&quot;);};function x(z,e,R){function i(){var AA=Array.prototype.splice.call(arguments,0,arguments.length),AB=AA.join(&quot;\u25ba&quot;);i.cache=i.cache||{};i.count=i.count||[];if(AB in i.cache){return R?R(i.cache[AB]):i.cache[AB];}if(i.count.length&gt;1000){delete i.cache[i.count.unshift()];}i.count.push(AB);i.cache[AB]=z.apply(e,AA);return R?R(i.cache[AB]):i.cache[AB];}return i;}E.getRGB=x(function(R){var AF={aliceblue:&quot;#f0f8ff&quot;,amethyst:&quot;#96c&quot;,antiquewhite:&quot;#faebd7&quot;,aqua:&quot;#0ff&quot;,aquamarine:&quot;#7fffd4&quot;,azure:&quot;#f0ffff&quot;,beige:&quot;#f5f5dc&quot;,bisque:&quot;#ffe4c4&quot;,black:&quot;#000&quot;,blanchedalmond:&quot;#ffebcd&quot;,blue:&quot;#00f&quot;,blueviolet:&quot;#8a2be2&quot;,brown:&quot;#a52a2a&quot;,burlywood:&quot;#deb887&quot;,cadetblue:&quot;#5f9ea0&quot;,chartreuse:&quot;#7fff00&quot;,chocolate:&quot;#d2691e&quot;,coral:&quot;#ff7f50&quot;,cornflowerblue:&quot;#6495ed&quot;,cornsilk:&quot;#fff8dc&quot;,crimson:&quot;#dc143c&quot;,cyan:&quot;#0ff&quot;,darkblue:&quot;#00008b&quot;,darkcyan:&quot;#008b8b&quot;,darkgoldenrod:&quot;#b8860b&quot;,darkgray:&quot;#a9a9a9&quot;,darkgreen:&quot;#006400&quot;,darkkhaki:&quot;#bdb76b&quot;,darkmagenta:&quot;#8b008b&quot;,darkolivegreen:&quot;#556b2f&quot;,darkorange:&quot;#ff8c00&quot;,darkorchid:&quot;#9932cc&quot;,darkred:&quot;#8b0000&quot;,darksalmon:&quot;#e9967a&quot;,darkseagreen:&quot;#8fbc8f&quot;,darkslateblue:&quot;#483d8b&quot;,darkslategray:&quot;#2f4f4f&quot;,darkturquoise:&quot;#00ced1&quot;,darkviolet:&quot;#9400d3&quot;,deeppink:&quot;#ff1493&quot;,deepskyblue:&quot;#00bfff&quot;,dimgray:&quot;#696969&quot;,dodgerblue:&quot;#1e90ff&quot;,firebrick:&quot;#b22222&quot;,floralwhite:&quot;#fffaf0&quot;,forestgreen:&quot;#228b22&quot;,fuchsia:&quot;#f0f&quot;,gainsboro:&quot;#dcdcdc&quot;,ghostwhite:&quot;#f8f8ff&quot;,gold:&quot;#ffd700&quot;,goldenrod:&quot;#daa520&quot;,gray:&quot;#808080&quot;,green:&quot;#008000&quot;,greenyellow:&quot;#adff2f&quot;,honeydew:&quot;#f0fff0&quot;,hotpink:&quot;#ff69b4&quot;,indianred:&quot;#cd5c5c&quot;,indigo:&quot;#4b0082&quot;,ivory:&quot;#fffff0&quot;,khaki:&quot;#f0e68c&quot;,lavender:&quot;#e6e6fa&quot;,lavenderblush:&quot;#fff0f5&quot;,lawngreen:&quot;#7cfc00&quot;,lemonchiffon:&quot;#fffacd&quot;,lightblue:&quot;#add8e6&quot;,lightcoral:&quot;#f08080&quot;,lightcyan:&quot;#e0ffff&quot;,lightgoldenrodyellow:&quot;#fafad2&quot;,lightgreen:&quot;#90ee90&quot;,lightgrey:&quot;#d3d3d3&quot;,lightpink:&quot;#ffb6c1&quot;,lightsalmon:&quot;#ffa07a&quot;,lightsalmon:&quot;#ffa07a&quot;,lightseagreen:&quot;#20b2aa&quot;,lightskyblue:&quot;#87cefa&quot;,lightslategray:&quot;#789&quot;,lightsteelblue:&quot;#b0c4de&quot;,lightyellow:&quot;#ffffe0&quot;,lime:&quot;#0f0&quot;,limegreen:&quot;#32cd32&quot;,linen:&quot;#faf0e6&quot;,magenta:&quot;#f0f&quot;,maroon:&quot;#800000&quot;,mediumaquamarine:&quot;#66cdaa&quot;,mediumblue:&quot;#0000cd&quot;,mediumorchid:&quot;#ba55d3&quot;,mediumpurple:&quot;#9370db&quot;,mediumseagreen:&quot;#3cb371&quot;,mediumslateblue:&quot;#7b68ee&quot;,mediumslateblue:&quot;#7b68ee&quot;,mediumspringgreen:&quot;#00fa9a&quot;,mediumturquoise:&quot;#48d1cc&quot;,mediumvioletred:&quot;#c71585&quot;,midnightblue:&quot;#191970&quot;,mintcream:&quot;#f5fffa&quot;,mistyrose:&quot;#ffe4e1&quot;,moccasin:&quot;#ffe4b5&quot;,navajowhite:&quot;#ffdead&quot;,navy:&quot;#000080&quot;,oldlace:&quot;#fdf5e6&quot;,olive:&quot;#808000&quot;,olivedrab:&quot;#6b8e23&quot;,orange:&quot;#ffa500&quot;,orangered:&quot;#ff4500&quot;,orchid:&quot;#da70d6&quot;,palegoldenrod:&quot;#eee8aa&quot;,palegreen:&quot;#98fb98&quot;,paleturquoise:&quot;#afeeee&quot;,palevioletred:&quot;#db7093&quot;,papayawhip:&quot;#ffefd5&quot;,peachpuff:&quot;#ffdab9&quot;,peru:&quot;#cd853f&quot;,pink:&quot;#ffc0cb&quot;,plum:&quot;#dda0dd&quot;,powderblue:&quot;#b0e0e6&quot;,purple:&quot;#800080&quot;,red:&quot;#f00&quot;,rosybrown:&quot;#bc8f8f&quot;,royalblue:&quot;#4169e1&quot;,saddlebrown:&quot;#8b4513&quot;,salmon:&quot;#fa8072&quot;,sandybrown:&quot;#f4a460&quot;,seagreen:&quot;#2e8b57&quot;,seashell:&quot;#fff5ee&quot;,sienna:&quot;#a0522d&quot;,silver:&quot;#c0c0c0&quot;,skyblue:&quot;#87ceeb&quot;,slateblue:&quot;#6a5acd&quot;,slategray:&quot;#708090&quot;,snow:&quot;#fffafa&quot;,springgreen:&quot;#00ff7f&quot;,steelblue:&quot;#4682b4&quot;,tan:&quot;#d2b48c&quot;,teal:&quot;#008080&quot;,thistle:&quot;#d8bfd8&quot;,tomato:&quot;#ff6347&quot;,turquoise:&quot;#40e0d0&quot;,violet:&quot;#ee82ee&quot;,wheat:&quot;#f5deb3&quot;,white:&quot;#fff&quot;,whitesmoke:&quot;#f5f5f5&quot;,yellow:&quot;#ff0&quot;,yellowgreen:&quot;#9acd32&quot;},AB;if((R+&quot;&quot;).toLowerCase() in AF){R=AF[R.toString().toLowerCase()];}if(!R){return{r:0,g:0,b:0,hex:&quot;#000&quot;};}if(R==&quot;none&quot;){return{r:-1,g:-1,b:-1,hex:&quot;none&quot;};}var i,z,AE,AC=(R+&quot;&quot;).match(/^\s*((#[a-f\d]{6})|(#[a-f\d]{3})|rgb\(\s*([\d\.]+\s*,\s*[\d\.]+\s*,\s*[\d\.]+)\s*\)|rgb\(\s*([\d\.]+%\s*,\s*[\d\.]+%\s*,\s*[\d\.]+%)\s*\)|hs[bl]\(\s*([\d\.]+\s*,\s*[\d\.]+\s*,\s*[\d\.]+)\s*\)|hs[bl]\(\s*([\d\.]+%\s*,\s*[\d\.]+%\s*,\s*[\d\.]+%)\s*\))\s*$/i);if(AC){if(AC[2]){AE=parseInt(AC[2].substring(5),16);z=parseInt(AC[2].substring(3,5),16);i=parseInt(AC[2].substring(1,3),16);}if(AC[3]){AE=parseInt(AC[3].substring(3)+AC[3].substring(3),16);z=parseInt(AC[3].substring(2,3)+AC[3].substring(2,3),16);i=parseInt(AC[3].substring(1,2)+AC[3].substring(1,2),16);}if(AC[4]){AC=AC[4].split(/\s*,\s*/);i=parseFloat(AC[0]);z=parseFloat(AC[1]);AE=parseFloat(AC[2]);}if(AC[5]){AC=AC[5].split(/\s*,\s*/);i=parseFloat(AC[0])*2.55;z=parseFloat(AC[1])*2.55;AE=parseFloat(AC[2])*2.55;}if(AC[6]){AC=AC[6].split(/\s*,\s*/);i=parseFloat(AC[0]);z=parseFloat(AC[1]);AE=parseFloat(AC[2]);return E.hsb2rgb(i,z,AE);}if(AC[7]){AC=AC[7].split(/\s*,\s*/);i=parseFloat(AC[0])*2.55;z=parseFloat(AC[1])*2.55;AE=parseFloat(AC[2])*2.55;return E.hsb2rgb(i,z,AE);}var AC={r:i,g:z,b:AE},e=Math.round(i).toString(16),AA=Math.round(z).toString(16),AD=Math.round(AE).toString(16);(e.length==1)&amp;&amp;(e=&quot;0&quot;+e);(AA.length==1)&amp;&amp;(AA=&quot;0&quot;+AA);(AD.length==1)&amp;&amp;(AD=&quot;0&quot;+AD);AC.hex=&quot;#&quot;+e+AA+AD;AB=AC;}else{AB={r:-1,g:-1,b:-1,hex:&quot;none&quot;};}return AB;},E);E.getColor=function(e){var i=this.getColor.start=this.getColor.start||{h:0,s:1,b:e||0.75},R=this.hsb2rgb(i.h,i.s,i.b);i.h+=0.075;if(i.h&gt;1){i.h=0;i.s-=0.2;if(i.s&lt;=0){this.getColor.start={h:0,s:1,b:i.b};}}return R.hex;};E.getColor.reset=function(){delete this.start;};E.parsePathString=x(function(R){if(!R){return null;}var i={a:7,c:6,h:1,l:2,m:2,q:4,s:4,t:2,v:1,z:0},e=[];if(E.isArray(R)&amp;&amp;E.isArray(R[0])){e=S(R);}if(!e.length){(R+&quot;&quot;).replace(/([achlmqstvz])[\s,]*((-?\d*\.?\d*(?:e[-+]?\d+)?\s*,?\s*)+)/ig,function(AA,z,AD){var AC=[],AB=z.toLowerCase();AD.replace(/(-?\d*\.?\d*(?:e[-+]?\d+)?)\s*,?\s*/ig,function(AF,AE){AE&amp;&amp;AC.push(+AE);});while(AC.length&gt;=i[AB]){e.push([z].concat(AC.splice(0,i[AB])));if(!i[AB]){break;}}});}e.toString=E._path2string;return e;});var b=x(function(AG){if(!AG){return{x:0,y:0,width:0,height:0};}AG=p(AG);var AD=0,AC=0,z=[],e=[];for(var AA=0,AF=AG.length;AA&lt;AF;AA++){if(AG[AA][0]==&quot;M&quot;){AD=AG[AA][1];AC=AG[AA][2];z.push(AD);e.push(AC);}else{var AB=k(AD,AC,AG[AA][1],AG[AA][2],AG[AA][3],AG[AA][4],AG[AA][5],AG[AA][6]);z=z.concat(AB.min.x,AB.max.x);e=e.concat(AB.min.y,AB.max.y);}}var R=Math.min.apply(0,z),AE=Math.min.apply(0,e);return{x:R,y:AE,width:Math.max.apply(0,z)-R,height:Math.max.apply(0,e)-AE};}),S=function(AC){var z=[];if(!E.isArray(AC)||!E.isArray(AC&amp;&amp;AC[0])){AC=E.parsePathString(AC);}for(var e=0,AA=AC.length;e&lt;AA;e++){z[e]=[];for(var R=0,AB=AC[e].length;R&lt;AB;R++){z[e][R]=AC[e][R];}}z.toString=E._path2string;return z;},C=x(function(AA){if(!E.isArray(AA)||!E.isArray(AA&amp;&amp;AA[0])){AA=E.parsePathString(AA);}var AG=[],AI=0,AH=0,AL=0,AK=0,z=0;if(AA[0][0]==&quot;M&quot;){AI=AA[0][1];AH=AA[0][2];AL=AI;AK=AH;z++;AG.push([&quot;M&quot;,AI,AH]);}for(var AD=z,AM=AA.length;AD&lt;AM;AD++){var R=AG[AD]=[],AJ=AA[AD];if(AJ[0]!=AJ[0].toLowerCase()){R[0]=AJ[0].toLowerCase();switch(R[0]){case&quot;a&quot;:R[1]=AJ[1];R[2]=AJ[2];R[3]=AJ[3];R[4]=AJ[4];R[5]=AJ[5];R[6]=+(AJ[6]-AI).toFixed(3);R[7]=+(AJ[7]-AH).toFixed(3);break;case&quot;v&quot;:R[1]=+(AJ[1]-AH).toFixed(3);break;case&quot;m&quot;:AL=AJ[1];AK=AJ[2];default:for(var AC=1,AE=AJ.length;AC&lt;AE;AC++){R[AC]=+(AJ[AC]-((AC%2)?AI:AH)).toFixed(3);}}}else{R=AG[AD]=[];if(AJ[0]==&quot;m&quot;){AL=AJ[1]+AI;AK=AJ[2]+AH;}for(var AB=0,e=AJ.length;AB&lt;e;AB++){AG[AD][AB]=AJ[AB];}}var AF=AG[AD].length;switch(AG[AD][0]){case&quot;z&quot;:AI=AL;AH=AK;break;case&quot;h&quot;:AI+=+AG[AD][AF-1];break;case&quot;v&quot;:AH+=+AG[AD][AF-1];break;default:AI+=+AG[AD][AF-2];AH+=+AG[AD][AF-1];}}AG.toString=E._path2string;return AG;},0,S),V=x(function(AA){if(!E.isArray(AA)||!E.isArray(AA&amp;&amp;AA[0])){AA=E.parsePathString(AA);}var AF=[],AH=0,AG=0,AK=0,AJ=0,z=0;if(AA[0][0]==&quot;M&quot;){AH=+AA[0][1];AG=+AA[0][2];AK=AH;AJ=AG;z++;AF[0]=[&quot;M&quot;,AH,AG];}for(var AD=z,AL=AA.length;AD&lt;AL;AD++){var R=AF[AD]=[],AI=AA[AD];if(AI[0]!=(AI[0]+&quot;&quot;).toUpperCase()){R[0]=(AI[0]+&quot;&quot;).toUpperCase();switch(R[0]){case&quot;A&quot;:R[1]=AI[1];R[2]=AI[2];R[3]=AI[3];R[4]=AI[4];R[5]=AI[5];R[6]=+(AI[6]+AH);R[7]=+(AI[7]+AG);break;case&quot;V&quot;:R[1]=+AI[1]+AG;break;case&quot;H&quot;:R[1]=+AI[1]+AH;break;case&quot;M&quot;:AK=+AI[1]+AH;AJ=+AI[2]+AG;default:for(var AC=1,AE=AI.length;AC&lt;AE;AC++){R[AC]=+AI[AC]+((AC%2)?AH:AG);}}}else{for(var AB=0,e=AI.length;AB&lt;e;AB++){AF[AD][AB]=AI[AB];}}switch(R[0]){case&quot;Z&quot;:AH=AK;AG=AJ;break;case&quot;H&quot;:AH=R[1];break;case&quot;V&quot;:AG=R[1];break;default:AH=AF[AD][AF[AD].length-2];AG=AF[AD][AF[AD].length-1];}}AF.toString=E._path2string;return AF;},null,S),D=function(e,z,R,i){return[e,z,R,i,R,i];},W=function(e,z,AB,AA,R,i){return[2/3*e+1/3*AB,2/3*z+1/3*AA,2/3*e+1/3*R,2/3*z+1/3*i,R,i];},P=function(AK,Ao,AT,AR,AL,AF,AA,AJ,An,AM){var AQ=Math.PI*120/180,R=Math.PI/180*(+AL||0),AX=[],AU,Ak=x(function(Ap,As,i){var Ar=Ap*Math.cos(i)-As*Math.sin(i),Aq=Ap*Math.sin(i)+As*Math.cos(i);return{x:Ar,y:Aq};});if(!AM){AU=Ak(AK,Ao,-R);AK=AU.x;Ao=AU.y;AU=Ak(AJ,An,-R);AJ=AU.x;An=AU.y;var e=Math.cos(Math.PI/180*AL),AH=Math.sin(Math.PI/180*AL),AZ=(AK-AJ)/2,AY=(Ao-An)/2;AT=Math.max(AT,Math.abs(AZ));AR=Math.max(AR,Math.abs(AY));var z=AT*AT,Ac=AR*AR,Ae=(AF==AA?-1:1)*Math.sqrt(Math.abs((z*Ac-z*AY*AY-Ac*AZ*AZ)/(z*AY*AY+Ac*AZ*AZ))),AO=Ae*AT*AY/AR+(AK+AJ)/2,AN=Ae*-AR*AZ/AT+(Ao+An)/2,AE=Math.asin((Ao-AN)/AR),AD=Math.asin((An-AN)/AR);AE=AK&lt;AO?Math.PI-AE:AE;AD=AJ&lt;AO?Math.PI-AD:AD;AE&lt;0&amp;&amp;(AE=Math.PI*2+AE);AD&lt;0&amp;&amp;(AD=Math.PI*2+AD);if(AA&amp;&amp;AE&gt;AD){AE=AE-Math.PI*2;}if(!AA&amp;&amp;AD&gt;AE){AD=AD-Math.PI*2;}}else{AE=AM[0];AD=AM[1];AO=AM[2];AN=AM[3];}var AI=AD-AE;if(Math.abs(AI)&gt;AQ){var AP=AD,AS=AJ,AG=An;AD=AE+AQ*(AA&amp;&amp;AD&gt;AE?1:-1);AJ=AO+AT*Math.cos(AD);An=AN+AR*Math.sin(AD);AX=P(AJ,An,AT,AR,AL,0,AA,AS,AG,[AD,AP,AO,AN]);}var AC=Math.cos(AE),Am=Math.sin(AE),AB=Math.cos(AD),Al=Math.sin(AD),AI=AD-AE,Aa=Math.tan(AI/4),Ad=4/3*AT*Aa,Ab=4/3*AR*Aa,Aj=[AK,Ao],Ai=[AK+Ad*Am,Ao-Ab*AC],Ah=[AJ+Ad*Al,An-Ab*AB],Af=[AJ,An];Ai[0]=2*Aj[0]-Ai[0];Ai[1]=2*Aj[1]-Ai[1];if(AM){return[Ai,Ah,Af].concat(AX);}else{AX=[Ai,Ah,Af].concat(AX).join(&quot;,&quot;).split(&quot;,&quot;);var AV=[];for(var Ag=0,AW=AX.length;Ag&lt;AW;Ag++){AV[Ag]=Ag%2?Ak(AX[Ag-1],AX[Ag],R).y:Ak(AX[Ag],AX[Ag+1],R).x;}return AV;}},Z=x(function(e,R,AO,AM,AB,AA,AD,AC,AI){var AG=Math.pow(1-AI,3)*e+Math.pow(1-AI,2)*3*AI*AO+(1-AI)*3*AI*AI*AB+Math.pow(AI,3)*AD,AE=Math.pow(1-AI,3)*R+Math.pow(1-AI,2)*3*AI*AM+(1-AI)*3*AI*AI*AA+Math.pow(AI,3)*AC,AK=e+2*AI*(AO-e)+AI*AI*(AB-2*AO+e),AJ=R+2*AI*(AM-R)+AI*AI*(AA-2*AM+R),AN=AO+2*AI*(AB-AO)+AI*AI*(AD-2*AB+AO),AL=AM+2*AI*(AA-AM)+AI*AI*(AC-2*AA+AM),AH=(1-AI)*e+AI*AO,AF=(1-AI)*R+AI*AM,z=(1-AI)*AB+AI*AD,i=(1-AI)*AA+AI*AC;return{x:AG,y:AE,m:{x:AK,y:AJ},n:{x:AN,y:AL},start:{x:AH,y:AF},end:{x:z,y:i}};}),k=x(function(e,R,z,i,AM,AL,AI,AF){var AK=(AM-2*z+e)-(AI-2*AM+z),AH=2*(z-e)-2*(AM-z),AE=e-z,AC=(-AH+Math.sqrt(AH*AH-4*AK*AE))/2/AK,AA=(-AH-Math.sqrt(AH*AH-4*AK*AE))/2/AK,AG=[R,AF],AJ=[e,AI],AD=Z(e,R,z,i,AM,AL,AI,AF,AC&gt;0&amp;&amp;AC&lt;1?AC:0),AB=Z(e,R,z,i,AM,AL,AI,AF,AA&gt;0&amp;&amp;AA&lt;1?AA:0);AJ=AJ.concat(AD.x,AB.x);AG=AG.concat(AD.y,AB.y);AK=(AL-2*i+R)-(AF-2*AL+i);AH=2*(i-R)-2*(AL-i);AE=R-i;AC=(-AH+Math.sqrt(AH*AH-4*AK*AE))/2/AK;AA=(-AH-Math.sqrt(AH*AH-4*AK*AE))/2/AK;AD=Z(e,R,z,i,AM,AL,AI,AF,AC&gt;0&amp;&amp;AC&lt;1?AC:0);AB=Z(e,R,z,i,AM,AL,AI,AF,AA&gt;0&amp;&amp;AA&lt;1?AA:0);AJ=AJ.concat(AD.x,AB.x);AG=AG.concat(AD.y,AB.y);return{min:{x:Math.min.apply(Math,AJ),y:Math.min.apply(Math,AG)},max:{x:Math.max.apply(Math,AJ),y:Math.max.apply(Math,AG)}};}),p=x(function(AL,AG){var AA=V(AL),AH=AG&amp;&amp;V(AG),AI={x:0,y:0,bx:0,by:0,X:0,Y:0},R={x:0,y:0,bx:0,by:0,X:0,Y:0},AC=function(AM,AN){if(!AM){return[&quot;C&quot;,AN.x,AN.y,AN.x,AN.y,AN.x,AN.y];}switch(AM[0]){case&quot;M&quot;:AN.X=AM[1];AN.Y=AM[2];break;case&quot;A&quot;:AM=[&quot;C&quot;].concat(P(AN.x,AN.y,AM[1],AM[2],AM[3],AM[4],AM[5],AM[6],AM[7]));break;case&quot;S&quot;:var i=AN.x+(AN.x-(AN.bx||AN.x)),AO=AN.y+(AN.y-(AN.by||AN.y));AM=[&quot;C&quot;,i,AO,AM[1],AM[2],AM[3],AM[4]];break;case&quot;T&quot;:var i=AN.x+(AN.x-(AN.bx||AN.x)),AO=AN.y+(AN.y-(AN.by||AN.y));AM=[&quot;C&quot;].concat(W(AN.x,AN.y,i,AO,AM[1],AM[2]));break;case&quot;Q&quot;:AM=[&quot;C&quot;].concat(W(AN.x,AN.y,AM[1],AM[2],AM[3],AM[4]));break;case&quot;L&quot;:AM=[&quot;C&quot;].concat(D(AN.x,AN.y,AM[1],AM[2]));break;case&quot;H&quot;:AM=[&quot;C&quot;].concat(D(AN.x,AN.y,AM[1],AN.y));break;case&quot;V&quot;:AM=[&quot;C&quot;].concat(D(AN.x,AN.y,AN.x,AM[1]));break;case&quot;Z&quot;:AM=[&quot;C&quot;].concat(D(AN.x,AN.y,AN.X,AN.Y));break;}return AM;},e=function(AM,AN){if(AM[AN].length&gt;7){AM[AN].shift();var AO=AM[AN];while(AO.length){AM.splice(AN++,0,[&quot;C&quot;].concat(AO.splice(0,6)));}AM.splice(AN,1);AJ=Math.max(AA.length,AH&amp;&amp;AH.length||0);}},z=function(AQ,AP,AN,AM,AO){if(AQ&amp;&amp;AP&amp;&amp;AQ[AO][0]==&quot;M&quot;&amp;&amp;AP[AO][0]!=&quot;M&quot;){AP.splice(AO,0,[&quot;M&quot;,AM.x,AM.y]);AN.bx=0;AN.by=0;AN.x=AQ[AO][1];AN.y=AQ[AO][2];AJ=Math.max(AA.length,AH&amp;&amp;AH.length||0);}};for(var AE=0,AJ=Math.max(AA.length,AH&amp;&amp;AH.length||0);AE&lt;AJ;AE++){AA[AE]=AC(AA[AE],AI);e(AA,AE);AH&amp;&amp;(AH[AE]=AC(AH[AE],R));AH&amp;&amp;e(AH,AE);z(AA,AH,AI,R,AE);z(AH,AA,R,AI,AE);var AD=AA[AE],AK=AH&amp;&amp;AH[AE],AB=AD.length,AF=AH&amp;&amp;AK.length;AI.bx=AD[AB-4]||0;AI.by=AD[AB-3]||0;AI.x=AD[AB-2];AI.y=AD[AB-1];R.bx=AH&amp;&amp;(AK[AF-4]||0);R.by=AH&amp;&amp;(AK[AF-3]||0);R.x=AH&amp;&amp;AK[AF-2];R.y=AH&amp;&amp;AK[AF-1];}return AH?[AA,AH]:AA;},null,S),L=x(function(AH){if(typeof AH==&quot;string&quot;){AH=AH.split(/\s*\-\s*/);var z=AH.shift();if(z.toLowerCase()==&quot;v&quot;){z=90;}else{if(z.toLowerCase()==&quot;h&quot;){z=0;}else{z=parseFloat(z);}}z=-z;var AF={angle:z,type:&quot;linear&quot;,dots:[],vector:[0,0,Math.cos(z*Math.PI/180).toFixed(3),Math.sin(z*Math.PI/180).toFixed(3)]},AG=1/(Math.max(Math.abs(AF.vector[2]),Math.abs(AF.vector[3]))||1);AF.vector[2]*=AG;AF.vector[3]*=AG;if(AF.vector[2]&lt;0){AF.vector[0]=-AF.vector[2];AF.vector[2]=0;}if(AF.vector[3]&lt;0){AF.vector[1]=-AF.vector[3];AF.vector[3]=0;}AF.vector[0]=AF.vector[0];AF.vector[1]=AF.vector[1];AF.vector[2]=AF.vector[2];AF.vector[3]=AF.vector[3];for(var AC=0,AI=AH.length;AC&lt;AI;AC++){var R={},AE=AH[AC].match(/^([^:]*):?([\d\.]*)/);R.color=E.getRGB(AE[1]).hex;AE[2]&amp;&amp;(R.offset=AE[2]+&quot;%&quot;);AF.dots.push(R);}for(var AC=1,AI=AF.dots.length-1;AC&lt;AI;AC++){if(!AF.dots[AC].offset){var e=parseFloat(AF.dots[AC-1].offset||0),AA=false;for(var AB=AC+1;AB&lt;AI;AB++){if(AF.dots[AB].offset){AA=AF.dots[AB].offset;break;}}if(!AA){AA=100;AB=AI;}AA=parseFloat(AA);var AD=(AA-e)/(AB-AC+1);for(;AC&lt;AB;AC++){e+=AD;AF.dots[AC].offset=e+&quot;%&quot;;}}}return AF;}else{return AH;}}),g=function(){var i,e,AA,z,R;if(typeof arguments[0]==&quot;string&quot;||typeof arguments[0]==&quot;object&quot;){if(typeof arguments[0]==&quot;string&quot;){i=F.getElementById(arguments[0]);}else{i=arguments[0];}if(i.tagName){if(arguments[1]==null){return{container:i,width:i.style.pixelWidth||i.offsetWidth,height:i.style.pixelHeight||i.offsetHeight};}else{return{container:i,width:arguments[1],height:arguments[2]};}}}else{if(typeof arguments[0]==&quot;number&quot;&amp;&amp;arguments.length&gt;3){return{container:1,x:arguments[0],y:arguments[1],width:arguments[2],height:arguments[3]};}}},A=function(R,i){var e=this;for(var z in i){if(i.hasOwnProperty(z)&amp;&amp;!(z in R)){switch(typeof i[z]){case&quot;function&quot;:(function(AA){R[z]=R===e?AA:function(){return AA.apply(e,arguments);};})(i[z]);break;case&quot;object&quot;:R[z]=R[z]||{};A.call(this,R[z],i[z]);break;default:R[z]=i[z];break;}}}};if(E.svg){var o=function(R){return +R+(Math.floor(R)==R)*0.5;};var Y=function(AB){for(var e=0,z=AB.length;e&lt;z;e++){if(AB[e][0].toLowerCase()!=&quot;a&quot;){for(var R=1,AA=AB[e].length;R&lt;AA;R++){AB[e][R]=o(AB[e][R]);}}else{AB[e][6]=o(AB[e][6]);AB[e][7]=o(AB[e][7]);}}return AB;};var a=function(i,R){for(var e in R){if(R.hasOwnProperty(e)){i.setAttribute(e,R[e]);}}};E.toString=function(){return&quot;Your browser supports SVG.\nYou are running Rapha\u00ebl &quot;+this.version;};var w=function(R,z){var e=F.createElementNS(z.svgns,&quot;path&quot;);z.canvas&amp;&amp;z.canvas.appendChild(e);var i=new K(e,z);i.type=&quot;path&quot;;f(i,{fill:&quot;none&quot;,stroke:&quot;#000&quot;,path:R});return i;};var n=function(AD,AB,AE){AB=L(AB);var AA=F.createElementNS(AE.svgns,(AB.type||&quot;linear&quot;)+&quot;Gradient&quot;);AA.id=&quot;r&quot;+(E.idGenerator++).toString(36);if(AB.vector&amp;&amp;AB.vector.length){a(AA,{x1:AB.vector[0],y1:AB.vector[1],x2:AB.vector[2],y2:AB.vector[3]});}AE.defs.appendChild(AA);var AC=true;for(var e=0,z=AB.dots.length;e&lt;z;e++){var R=F.createElementNS(AE.svgns,&quot;stop&quot;);if(AB.dots[e].offset){AC=false;}a(R,{offset:AB.dots[e].offset?AB.dots[e].offset:(e==0)?&quot;0%&quot;:&quot;100%&quot;,&quot;stop-color&quot;:E.getRGB(AB.dots[e].color).hex||&quot;#fff&quot;});AA.appendChild(R);}if(AC&amp;&amp;AB.dots[z-1].opacity!=null){a(R,{&quot;stop-opacity&quot;:AB.dots[z-1].opacity});}a(AD,{fill:&quot;url(#&quot;+AA.id+&quot;)&quot;,opacity:1,&quot;fill-opacity&quot;:1});AD.style.fill=&quot;&quot;;AD.style.opacity=1;AD.style.fillOpacity=1;};var Q=function(e){var R=e.getBBox();a(e.pattern,{patternTransform:E.format(&quot;translate({0},{1})&quot;,R.x,R.y)});};var f=function(AH,AQ){var AK={&quot;&quot;:[0],none:[0],&quot;-&quot;:[3,1],&quot;.&quot;:[1,1],&quot;-.&quot;:[3,1,1,1],&quot;-..&quot;:[3,1,1,1,1,1],&quot;. &quot;:[1,3],&quot;- &quot;:[4,3],&quot;--&quot;:[8,3],&quot;- .&quot;:[4,3,1,3],&quot;--.&quot;:[8,3,1,3],&quot;--..&quot;:[8,3,1,3,1,3]},AM=AH.node,AI=AH.attrs,AE=AH.attr(&quot;rotation&quot;),AB=function(AX,AW){AW=AK[(AW+&quot;&quot;).toLowerCase()];if(AW){var AU=AX.attrs[&quot;stroke-width&quot;]||&quot;1&quot;,AS={round:AU,square:AU,butt:0}[AX.attrs[&quot;stroke-linecap&quot;]||AQ[&quot;stroke-linecap&quot;]]||0,AV=[];var AT=AW.length;while(AT--){AV[AT]=AW[AT]*AU+((AT%2)?1:-1)*AS;}a(AM,{&quot;stroke-dasharray&quot;:AV.join(&quot;,&quot;)});}};parseFloat(AE)&amp;&amp;AH.rotate(0,true);for(var AL in AQ){if(!(AL in O)){continue;}var AJ=AQ[AL];AI[AL]=AJ;switch(AL){case&quot;href&quot;:case&quot;title&quot;:case&quot;target&quot;:var AO=AM.parentNode;if(AO.tagName.toLowerCase()!=&quot;a&quot;){var z=F.createElementNS(AH.paper.svgns,&quot;a&quot;);AO.insertBefore(z,AM);z.appendChild(AM);AO=z;}AO.setAttributeNS(AH.paper.xlink,AL,AJ);break;case&quot;clip-rect&quot;:var e=(AJ+&quot;&quot;).split(y);if(e.length==4){AH.clip&amp;&amp;AH.clip.parentNode.parentNode.removeChild(AH.clip.parentNode);var i=F.createElementNS(AH.paper.svgns,&quot;clipPath&quot;),AN=F.createElementNS(AH.paper.svgns,&quot;rect&quot;);i.id=&quot;r&quot;+(E.idGenerator++).toString(36);a(AN,{x:e[0],y:e[1],width:e[2],height:e[3]});i.appendChild(AN);AH.paper.defs.appendChild(i);a(AM,{&quot;clip-path&quot;:&quot;url(#&quot;+i.id+&quot;)&quot;});AH.clip=AN;}if(!AJ){var AP=F.getElementById(AM.getAttribute(&quot;clip-path&quot;).replace(/(^url\(#|\)$)/g,&quot;&quot;));AP&amp;&amp;AP.parentNode.removeChild(AP);a(AM,{&quot;clip-path&quot;:&quot;&quot;});delete AH.clip;}break;case&quot;path&quot;:if(AJ&amp;&amp;AH.type==&quot;path&quot;){AI.path=Y(V(AJ));a(AM,{d:AI.path});}case&quot;width&quot;:AM.setAttribute(AL,AJ);if(AI.fx){AL=&quot;x&quot;;AJ=AI.x;}else{break;}case&quot;x&quot;:if(AI.fx){AJ=-AI.x-(AI.width||0);}case&quot;rx&quot;:case&quot;cx&quot;:AM.setAttribute(AL,AJ);AH.pattern&amp;&amp;Q(AH);break;case&quot;height&quot;:AM.setAttribute(AL,AJ);if(AI.fy){AL=&quot;y&quot;;AJ=AI.y;}else{break;}case&quot;y&quot;:if(AI.fy){AJ=-AI.y-(AI.height||0);}case&quot;ry&quot;:case&quot;cy&quot;:AM.setAttribute(AL,AJ);AH.pattern&amp;&amp;Q(AH);break;case&quot;r&quot;:if(AH.type==&quot;rect&quot;){a(AM,{rx:AJ,ry:AJ});}else{AM.setAttribute(AL,AJ);}break;case&quot;src&quot;:if(AH.type==&quot;image&quot;){AM.setAttributeNS(AH.paper.xlink,&quot;href&quot;,AJ);}break;case&quot;stroke-width&quot;:AM.style.strokeWidth=AJ;AM.setAttribute(AL,AJ);if(AI[&quot;stroke-dasharray&quot;]){AB(AH,AI[&quot;stroke-dasharray&quot;]);}break;case&quot;stroke-dasharray&quot;:AB(AH,AJ);break;case&quot;rotation&quot;:AE=AJ;AH.rotate(AJ,true);break;case&quot;translation&quot;:var AC=(AJ+&quot;&quot;).split(y);AH.translate((+AC[0]+1||2)-1,(+AC[1]+1||2)-1);break;case&quot;scale&quot;:var AC=(AJ+&quot;&quot;).split(y);AH.scale(+AC[0]||1,+AC[1]||+AC[0]||1,+AC[2]||null,+AC[3]||null);break;case&quot;fill&quot;:var AA=(AJ+&quot;&quot;).match(/^url\(['&quot;]?([^\)]+)['&quot;]?\)$/i);if(AA){var i=F.createElementNS(AH.paper.svgns,&quot;pattern&quot;),AG=F.createElementNS(AH.paper.svgns,&quot;image&quot;);i.id=&quot;r&quot;+(E.idGenerator++).toString(36);a(i,{x:0,y:0,patternUnits:&quot;userSpaceOnUse&quot;});a(AG,{x:0,y:0});AG.setAttributeNS(AH.paper.xlink,&quot;href&quot;,AA[1]);i.appendChild(AG);var AR=F.createElement(&quot;img&quot;);AR.style.position=&quot;absolute&quot;;AR.style.top=&quot;-9999em&quot;;AR.style.left=&quot;-9999em&quot;;AR.onload=function(){a(i,{width:this.offsetWidth,height:this.offsetHeight});a(AG,{width:this.offsetWidth,height:this.offsetHeight});F.body.removeChild(this);B.safari();};F.body.appendChild(AR);AR.src=AA[1];AH.paper.defs.appendChild(i);AM.style.fill=&quot;url(#&quot;+i.id+&quot;)&quot;;a(AM,{fill:&quot;url(#&quot;+i.id+&quot;)&quot;});AH.pattern=i;AH.pattern&amp;&amp;Q(AH);break;}delete AQ.gradient;delete AI.gradient;if(typeof AI.opacity!=&quot;undefined&quot;&amp;&amp;typeof AQ.opacity==&quot;undefined&quot;){AM.style.opacity=AI.opacity;a(AM,{opacity:AI.opacity});}if(typeof AI[&quot;fill-opacity&quot;]!=&quot;undefined&quot;&amp;&amp;typeof AQ[&quot;fill-opacity&quot;]==&quot;undefined&quot;){AM.style.fillOpacity=AI[&quot;fill-opacity&quot;];a(AM,{&quot;fill-opacity&quot;:AI[&quot;fill-opacity&quot;]});}case&quot;stroke&quot;:AM.style[AL]=E.getRGB(AJ).hex;AM.setAttribute(AL,E.getRGB(AJ).hex);break;case&quot;gradient&quot;:n(AM,AJ,AH.paper);break;case&quot;opacity&quot;:case&quot;fill-opacity&quot;:if(AI.gradient){var R=F.getElementById(AM.getAttribute(&quot;fill&quot;).replace(/^url\(#|\)$/g,&quot;&quot;));if(R){var AD=R.getElementsByTagName(&quot;stop&quot;);AD[AD.length-1].setAttribute(&quot;stop-opacity&quot;,AJ);}break;}default:AL==&quot;font-size&quot;&amp;&amp;(AJ=parseInt(AJ,10)+&quot;px&quot;);var AF=AL.replace(/(\-.)/g,function(AS){return AS.substring(1).toUpperCase();});AM.style[AF]=AJ;AM.setAttribute(AL,AJ);break;}}t(AH,AQ);parseInt(AE,10)&amp;&amp;AH.rotate(AE,true);};var l=1.2;var t=function(R,AA){if(R.type!=&quot;text&quot;||!(&quot;text&quot; in AA||&quot;font&quot; in AA||&quot;font-size&quot; in AA||&quot;x&quot; in AA||&quot;y&quot; in AA)){return ;}var AF=R.attrs,e=R.node,AH=e.firstChild?parseInt(F.defaultView.getComputedStyle(e.firstChild,&quot;&quot;).getPropertyValue(&quot;font-size&quot;),10):10;if(&quot;text&quot; in AA){while(e.firstChild){e.removeChild(e.firstChild);}var z=(AA.text+&quot;&quot;).split(&quot;\n&quot;);for(var AB=0,AG=z.length;AB&lt;AG;AB++){var AD=F.createElementNS(R.paper.svgns,&quot;tspan&quot;);AB&amp;&amp;a(AD,{dy:AH*l,x:AF.x});AD.appendChild(F.createTextNode(z[AB]));e.appendChild(AD);}}else{var z=e.getElementsByTagName(&quot;tspan&quot;);for(var AB=0,AG=z.length;AB&lt;AG;AB++){AB&amp;&amp;a(z[AB],{dy:AH*l,x:AF.x});}}a(e,{y:AF.y});var AC=R.getBBox(),AE=AF.y-(AC.y+AC.height/2);AE&amp;&amp;a(e,{y:AF.y+AE});};var K=function(e,R){var z=0,i=0;this[0]=e;this.node=e;this.paper=R;this.attrs=this.attrs||{};this.transformations=[];this._={tx:0,ty:0,rt:{deg:0,cx:0,cy:0},sx:1,sy:1};};K.prototype.rotate=function(e,R,z){if(e==null){if(this._.rt.cx){return[this._.rt.deg,this._.rt.cx,this._.rt.cy].join(&quot; &quot;);}return this._.rt.deg;}var i=this.getBBox();e=(e+&quot;&quot;).split(y);if(e.length-1){R=parseFloat(e[1]);z=parseFloat(e[2]);}e=parseFloat(e[0]);if(R!=null){this._.rt.deg=e;}else{this._.rt.deg+=e;}(z==null)&amp;&amp;(R=null);this._.rt.cx=R;this._.rt.cy=z;R=R==null?i.x+i.width/2:R;z=z==null?i.y+i.height/2:z;if(this._.rt.deg){this.transformations[0]=E.format(&quot;rotate({0} {1} {2})&quot;,this._.rt.deg,R,z);this.clip&amp;&amp;a(this.clip,{transform:E.format(&quot;rotate({0} {1} {2})&quot;,-this._.rt.deg,R,z)});}else{this.transformations[0]=&quot;&quot;;this.clip&amp;&amp;a(this.clip,{transform:&quot;&quot;});}a(this.node,{transform:this.transformations.join(&quot; &quot;)});return this;};K.prototype.hide=function(){this.node.style.display=&quot;none&quot;;return this;};K.prototype.show=function(){this.node.style.display=&quot;block&quot;;return this;};K.prototype.remove=function(){this.node.parentNode.removeChild(this.node);};K.prototype.getBBox=function(){if(this.type==&quot;path&quot;){return b(this.attrs.path);}if(this.node.style.display==&quot;none&quot;){this.show();var z=true;}var AD={};try{AD=this.node.getBBox();}catch(AB){}finally{AD=AD||{};}if(this.type==&quot;text&quot;){AD={x:AD.x,y:Infinity,width:AD.width,height:0};for(var R=0,AA=this.node.getNumberOfChars();R&lt;AA;R++){var AC=this.node.getExtentOfChar(R);(AC.y&lt;AD.y)&amp;&amp;(AD.y=AC.y);(AC.y+AC.height-AD.y&gt;AD.height)&amp;&amp;(AD.height=AC.y+AC.height-AD.y);}}z&amp;&amp;this.hide();return AD;};K.prototype.attr=function(){if(arguments.length==1&amp;&amp;typeof arguments[0]==&quot;string&quot;){if(arguments[0]==&quot;translation&quot;){return this.translate();}if(arguments[0]==&quot;rotation&quot;){return this.rotate();}if(arguments[0]==&quot;scale&quot;){return this.scale();}return this.attrs[arguments[0]];}if(arguments.length==1&amp;&amp;E.isArray(arguments[0])){var R={};for(var e in arguments[0]){R[arguments[0][e]]=this.attrs[arguments[0][e]];}return R;}if(arguments.length==2){var i={};i[arguments[0]]=arguments[1];f(this,i);}else{if(arguments.length==1&amp;&amp;typeof arguments[0]==&quot;object&quot;){f(this,arguments[0]);}}return this;};K.prototype.toFront=function(){this.node.parentNode.appendChild(this.node);return this;};K.prototype.toBack=function(){if(this.node.parentNode.firstChild!=this.node){this.node.parentNode.insertBefore(this.node,this.node.parentNode.firstChild);}return this;};K.prototype.insertAfter=function(R){if(R.node.nextSibling){R.node.parentNode.insertBefore(this.node,R.node.nextSibling);}else{R.node.parentNode.appendChild(this.node);}return this;};K.prototype.insertBefore=function(R){var e=R.node;e.parentNode.insertBefore(this.node,e);return this;};var c=function(e,R,AB,AA){R=o(R);AB=o(AB);var z=F.createElementNS(e.svgns,&quot;circle&quot;);e.canvas&amp;&amp;e.canvas.appendChild(z);var i=new K(z,e);i.attrs={cx:R,cy:AB,r:AA,fill:&quot;none&quot;,stroke:&quot;#000&quot;};i.type=&quot;circle&quot;;a(z,i.attrs);return i;};var j=function(i,R,AD,e,AB,AC){R=o(R);AD=o(AD);var AA=F.createElementNS(i.svgns,&quot;rect&quot;);i.canvas&amp;&amp;i.canvas.appendChild(AA);var z=new K(AA,i);z.attrs={x:R,y:AD,width:e,height:AB,r:AC||0,rx:AC||0,ry:AC||0,fill:&quot;none&quot;,stroke:&quot;#000&quot;};z.type=&quot;rect&quot;;a(AA,z.attrs);return z;};var G=function(e,R,AC,AB,AA){R=o(R);AC=o(AC);var z=F.createElementNS(e.svgns,&quot;ellipse&quot;);e.canvas&amp;&amp;e.canvas.appendChild(z);var i=new K(z,e);i.attrs={cx:R,cy:AC,rx:AB,ry:AA,fill:&quot;none&quot;,stroke:&quot;#000&quot;};i.type=&quot;ellipse&quot;;a(z,i.attrs);return i;};var N=function(i,AC,R,AD,e,AB){var AA=F.createElementNS(i.svgns,&quot;image&quot;);a(AA,{x:R,y:AD,width:e,height:AB,preserveAspectRatio:&quot;none&quot;});AA.setAttributeNS(i.xlink,&quot;href&quot;,AC);i.canvas&amp;&amp;i.canvas.appendChild(AA);var z=new K(AA,i);z.attrs={x:R,y:AD,width:e,height:AB,src:AC};z.type=&quot;image&quot;;return z;};var h=function(e,R,AB,AA){var z=F.createElementNS(e.svgns,&quot;text&quot;);a(z,{x:R,y:AB,&quot;text-anchor&quot;:&quot;middle&quot;});e.canvas&amp;&amp;e.canvas.appendChild(z);var i=new K(z,e);i.attrs={x:R,y:AB,&quot;text-anchor&quot;:&quot;middle&quot;,text:AA,font:O.font,stroke:&quot;none&quot;,fill:&quot;#000&quot;};i.type=&quot;text&quot;;f(i,i.attrs);return i;};var d=function(e,R){this.width=e||this.width;this.height=R||this.height;this.canvas.setAttribute(&quot;width&quot;,this.width);this.canvas.setAttribute(&quot;height&quot;,this.height);return this;};var J=function(){var AA=g.apply(null,arguments),i=AA.container,AC=AA.x,AB=AA.y,z=AA.width,AD=AA.height;if(!i){throw new Error(&quot;SVG container not found.&quot;);}B.canvas=F.createElementNS(B.svgns,&quot;svg&quot;);var R=B.canvas,AE=R.style;R.setAttribute(&quot;width&quot;,z||512);B.width=z||512;R.setAttribute(&quot;height&quot;,AD||342);B.height=AD||342;if(i==1){F.body.appendChild(R);AE.position=&quot;absolute&quot;;AE.left=AC+&quot;px&quot;;AE.top=AB+&quot;px&quot;;}else{if(i.firstChild){i.insertBefore(R,i.firstChild);}else{i.appendChild(R);}}i={canvas:R,clear:function(){while(this.canvas.firstChild){this.canvas.removeChild(this.canvas.firstChild);}this.desc=F.createElementNS(B.svgns,&quot;desc&quot;);this.defs=F.createElementNS(B.svgns,&quot;defs&quot;);this.desc.appendChild(F.createTextNode(&quot;Created with Rapha\u00ebl&quot;));this.canvas.appendChild(this.desc);this.canvas.appendChild(this.defs);}};for(var e in B){if(e!=&quot;create&quot;){i[e]=B[e];}}A.call(i,i,E.fn);i.clear();i.raphael=E;return i;};B.remove=function(){this.canvas.parentNode&amp;&amp;this.canvas.parentNode.removeChild(this.canvas);};B.svgns=&quot;http://www.w3.org/2000/svg&quot;;B.xlink=&quot;http://www.w3.org/1999/xlink&quot;;B.safari=function(){if({&quot;Apple Computer, Inc.&quot;:1,&quot;Google Inc.&quot;:1}[navigator.vendor]){var R=this.rect(-99,-99,this.width+99,this.height+99);setTimeout(function(){R.remove();});}};}if(E.vml){var X=function(AC){var AA=p(AC);for(var e=0,z=AA.length;e&lt;z;e++){AA[e][0]=(AA[e][0]+&quot;&quot;).toLowerCase();AA[e][0]==&quot;z&quot;&amp;&amp;(AA[e][0]=&quot;x&quot;);for(var R=1,AB=AA[e].length;R&lt;AB;R++){AA[e][R]=Math.round(AA[e][R]);}}return(AA+&quot;&quot;);};E.toString=function(){return&quot;Your browser doesn\u2019t support SVG. Assuming it is Internet Explorer and falling down to VML.\nYou are running Rapha\u00ebl &quot;+this.version;};var w=function(R,AB){var z=v(&quot;group&quot;),AC=z.style;AC.position=&quot;absolute&quot;;AC.left=0;AC.top=0;AC.width=AB.width+&quot;px&quot;;AC.height=AB.height+&quot;px&quot;;z.coordsize=AB.coordsize;z.coordorigin=AB.coordorigin;var i=v(&quot;shape&quot;),e=i.style;e.width=AB.width+&quot;px&quot;;e.height=AB.height+&quot;px&quot;;i.path=&quot;&quot;;i.coordsize=this.coordsize;i.coordorigin=this.coordorigin;z.appendChild(i);var AA=new K(i,z,AB);AA.isAbsolute=true;AA.type=&quot;path&quot;;AA.path=[];AA.Path=&quot;&quot;;if(R){AA.attrs.path=E.parsePathString(R);AA.node.path=X(AA.attrs.path);}f(AA,{fill:&quot;none&quot;,stroke:&quot;#000&quot;});AA.setBox();AB.canvas.appendChild(z);return AA;};var f=function(AF,AJ){AF.attrs=AF.attrs||{};var AH=AF.node,AK=AF.attrs,AC=AH.style,z,AO=AF;for(var AD in AJ){AK[AD]=AJ[AD];}AJ.href&amp;&amp;(AH.href=AJ.href);AJ.title&amp;&amp;(AH.title=AJ.title);AJ.target&amp;&amp;(AH.target=AJ.target);if(AJ.path&amp;&amp;AF.type==&quot;path&quot;){AK.path=E.parsePathString(AJ.path);AH.path=X(AK.path);}if(AJ.rotation!=null){AF.rotate(AJ.rotation,true);}if(AJ.translation){z=(AJ.translation+&quot;&quot;).split(y);AF.translate(z[0],z[1]);}if(AJ.scale){z=(AJ.scale+&quot;&quot;).split(y);AF.scale(+z[0]||1,+z[1]||+z[0]||1,+z[2]||null,+z[3]||null);}if(&quot;clip-rect&quot; in AJ){var R=(AJ[&quot;clip-rect&quot;]+&quot;&quot;).split(y);if(R.length==4){R[2]=+R[2]+(+R[0]);R[3]=+R[3]+(+R[1]);var AE=AH.clipRect||F.createElement(&quot;div&quot;),AN=AE.style,AB=AH.parentNode;AN.clip=E.format(&quot;rect({0}px {2}px {3}px {1}px)&quot;,R);if(!AH.clipRect){AN.position=&quot;absolute&quot;;AN.top=0;AN.left=0;AN.width=AF.paper.width+&quot;px&quot;;AN.height=AF.paper.height+&quot;px&quot;;AB.parentNode.insertBefore(AE,AB);AE.appendChild(AB);AH.clipRect=AE;}}if(!AJ[&quot;clip-rect&quot;]){AH.clipRect&amp;&amp;(AH.clipRect.style.clip=&quot;&quot;);}}if(AF.type==&quot;image&quot;&amp;&amp;AJ.src){AH.src=AJ.src;}if(AF.type==&quot;image&quot;&amp;&amp;AJ.opacity){AH.filterOpacity=&quot; progid:DXImageTransform.Microsoft.Alpha(opacity=&quot;+(AJ.opacity*100)+&quot;)&quot;;AC.filter=(AH.filterMatrix||&quot;&quot;)+(AH.filterOpacity||&quot;&quot;);}AJ.font&amp;&amp;(AC.font=AJ.font);AJ[&quot;font-family&quot;]&amp;&amp;(AC.fontFamily='&quot;'+AJ[&quot;font-family&quot;].split(&quot;,&quot;)[0].replace(/^['&quot;]+|['&quot;]+$/g,&quot;&quot;)+'&quot;');AJ[&quot;font-size&quot;]&amp;&amp;(AC.fontSize=AJ[&quot;font-size&quot;]);AJ[&quot;font-weight&quot;]&amp;&amp;(AC.fontWeight=AJ[&quot;font-weight&quot;]);AJ[&quot;font-style&quot;]&amp;&amp;(AC.fontStyle=AJ[&quot;font-style&quot;]);if(AJ.opacity!=null||AJ[&quot;stroke-width&quot;]!=null||AJ.fill!=null||AJ.stroke!=null||AJ[&quot;stroke-width&quot;]!=null||AJ[&quot;stroke-opacity&quot;]!=null||AJ[&quot;fill-opacity&quot;]!=null||AJ[&quot;stroke-dasharray&quot;]!=null||AJ[&quot;stroke-miterlimit&quot;]!=null||AJ[&quot;stroke-linejoin&quot;]!=null||AJ[&quot;stroke-linecap&quot;]!=null){AH=AF.shape||AH;var AI=(AH.getElementsByTagName(&quot;fill&quot;)&amp;&amp;AH.getElementsByTagName(&quot;fill&quot;)[0]),AL=false;!AI&amp;&amp;(AL=AI=v(&quot;fill&quot;));if(&quot;fill-opacity&quot; in AJ||&quot;opacity&quot; in AJ){var e=((+AK[&quot;fill-opacity&quot;]+1||2)-1)*((+AK.opacity+1||2)-1);e&lt;0&amp;&amp;(e=0);e&gt;1&amp;&amp;(e=1);AI.opacity=e;}AJ.fill&amp;&amp;(AI.on=true);if(AI.on==null||AJ.fill==&quot;none&quot;){AI.on=false;}if(AI.on&amp;&amp;AJ.fill){var i=AJ.fill.match(/^url\(([^\)]+)\)$/i);if(i){AI.src=i[1];AI.type=&quot;tile&quot;;}else{AI.color=E.getRGB(AJ.fill).hex;AI.src=&quot;&quot;;AI.type=&quot;solid&quot;;}}AL&amp;&amp;AH.appendChild(AI);var AA=(AH.getElementsByTagName(&quot;stroke&quot;)&amp;&amp;AH.getElementsByTagName(&quot;stroke&quot;)[0]),AM=false;!AA&amp;&amp;(AM=AA=v(&quot;stroke&quot;));if((AJ.stroke&amp;&amp;AJ.stroke!=&quot;none&quot;)||AJ[&quot;stroke-width&quot;]||AJ[&quot;stroke-opacity&quot;]!=null||AJ[&quot;stroke-dasharray&quot;]||AJ[&quot;stroke-miterlimit&quot;]||AJ[&quot;stroke-linejoin&quot;]||AJ[&quot;stroke-linecap&quot;]){AA.on=true;}(AJ.stroke==&quot;none&quot;||AA.on==null||AJ.stroke==0||AJ[&quot;stroke-width&quot;]==0)&amp;&amp;(AA.on=false);AA.on&amp;&amp;AJ.stroke&amp;&amp;(AA.color=E.getRGB(AJ.stroke).hex);var e=((+AK[&quot;stroke-opacity&quot;]+1||2)-1)*((+AK.opacity+1||2)-1);e&lt;0&amp;&amp;(e=0);e&gt;1&amp;&amp;(e=1);AA.opacity=e;AJ[&quot;stroke-linejoin&quot;]&amp;&amp;(AA.joinstyle=AJ[&quot;stroke-linejoin&quot;]||&quot;miter&quot;);AA.miterlimit=AJ[&quot;stroke-miterlimit&quot;]||8;AJ[&quot;stroke-linecap&quot;]&amp;&amp;(AA.endcap={butt:&quot;flat&quot;,square:&quot;square&quot;,round:&quot;round&quot;}[AJ[&quot;stroke-linecap&quot;]]||&quot;miter&quot;);AJ[&quot;stroke-width&quot;]&amp;&amp;(AA.weight=(parseFloat(AJ[&quot;stroke-width&quot;])||1)*12/16);if(AJ[&quot;stroke-dasharray&quot;]){var AG={&quot;-&quot;:&quot;shortdash&quot;,&quot;.&quot;:&quot;shortdot&quot;,&quot;-.&quot;:&quot;shortdashdot&quot;,&quot;-..&quot;:&quot;shortdashdotdot&quot;,&quot;. &quot;:&quot;dot&quot;,&quot;- &quot;:&quot;dash&quot;,&quot;--&quot;:&quot;longdash&quot;,&quot;- .&quot;:&quot;dashdot&quot;,&quot;--.&quot;:&quot;longdashdot&quot;,&quot;--..&quot;:&quot;longdashdotdot&quot;};AA.dashstyle=AG[AJ[&quot;stroke-dasharray&quot;]]||&quot;&quot;;}AM&amp;&amp;AH.appendChild(AA);}if(AO.type==&quot;text&quot;){var AC=B.span.style;AK.font&amp;&amp;(AC.font=AK.font);AK[&quot;font-family&quot;]&amp;&amp;(AC.fontFamily=AK[&quot;font-family&quot;]);AK[&quot;font-size&quot;]&amp;&amp;(AC.fontSize=AK[&quot;font-size&quot;]);AK[&quot;font-weight&quot;]&amp;&amp;(AC.fontWeight=AK[&quot;font-weight&quot;]);AK[&quot;font-style&quot;]&amp;&amp;(AC.fontStyle=AK[&quot;font-style&quot;]);B.span.innerHTML=AO.node.string.replace(/&lt;/g,&quot;&amp;#60;&quot;).replace(/&amp;/g,&quot;&amp;#38;&quot;).replace(/\n/g,&quot;&lt;br&gt;&quot;);AO.W=AK.w=B.span.offsetWidth;AO.H=AK.h=B.span.offsetHeight;AO.X=AK.x;AO.Y=AK.y+Math.round(AO.H/2);switch(AK[&quot;text-anchor&quot;]){case&quot;start&quot;:AO.node.style[&quot;v-text-align&quot;]=&quot;left&quot;;AO.bbx=Math.round(AO.W/2);break;case&quot;end&quot;:AO.node.style[&quot;v-text-align&quot;]=&quot;right&quot;;AO.bbx=-Math.round(AO.W/2);break;default:AO.node.style[&quot;v-text-align&quot;]=&quot;center&quot;;break;}}};var M=function(e,R,AA,z){var i=Math.round(Math.atan((parseFloat(AA)-parseFloat(e))/(parseFloat(z)-parseFloat(R)))*57.29)||0;if(!i&amp;&amp;parseFloat(e)&lt;parseFloat(R)){i=180;}i-=180;if(i&lt;0){i+=360;}return i;};var n=function(AD,AC){AC=L(AC);AD.attrs=AD.attrs||{};var e=AD.attrs,AB=AD.node.getElementsByTagName(&quot;fill&quot;);AD.attrs.gradient=AC;AD=AD.shape||AD.node;if(AB.length){AB=AB[0];}else{AB=v(&quot;fill&quot;);}if(AC.dots.length){AB.on=true;AB.method=&quot;none&quot;;AB.type=((AC.type+&quot;&quot;).toLowerCase()==&quot;radial&quot;)?&quot;gradientTitle&quot;:&quot;gradient&quot;;if(typeof AC.dots[0].color!=&quot;undefined&quot;){AB.color=E.getRGB(AC.dots[0].color).hex;}if(typeof AC.dots[AC.dots.length-1].color!=&quot;undefined&quot;){AB.color2=E.getRGB(AC.dots[AC.dots.length-1].color).hex;}var AE=[];for(var z=0,AA=AC.dots.length;z&lt;AA;z++){if(AC.dots[z].offset){AE.push(AC.dots[z].offset+&quot; &quot;+E.getRGB(AC.dots[z].color).hex);}}var R=typeof AC.dots[AC.dots.length-1].opacity==&quot;undefined&quot;?(typeof e.opacity==&quot;undefined&quot;?1:e.opacity):AC.dots[AC.dots.length-1].opacity;if(AE.length){AB.colors.value=AE.join(&quot;,&quot;);R=typeof e.opacity==&quot;undefined&quot;?1:e.opacity;}else{AB.colors&amp;&amp;(AB.colors.value=&quot;0% &quot;+AB.color);}AB.opacity=R;if(typeof AC.angle!=&quot;undefined&quot;){AB.angle=(-AC.angle+270)%360;}else{if(AC.vector){AB.angle=M.apply(null,AC.vector);}}if((AC.type+&quot;&quot;).toLowerCase()==&quot;radial&quot;){AB.focus=&quot;100%&quot;;AB.focusposition=&quot;0.5 0.5&quot;;}}};var K=function(AA,AC,R){var AB=0,i=0,e=0,z=1;this[0]=AA;this.node=AA;this.X=0;this.Y=0;this.attrs={};this.Group=AC;this.paper=R;this._={tx:0,ty:0,rt:{deg:0},sx:1,sy:1};};K.prototype.rotate=function(e,R,i){if(e==null){if(this._.rt.cx){return[this._.rt.deg,this._.rt.cx,this._.rt.cy].join(&quot; &quot;);}return this._.rt.deg;}e=(e+&quot;&quot;).split(y);if(e.length-1){R=parseFloat(e[1]);i=parseFloat(e[2]);}e=parseFloat(e[0]);if(R!=null){this._.rt.deg=e;}else{this._.rt.deg+=e;}(i==null)&amp;&amp;(R=null);this._.rt.cx=R;this._.rt.cy=i;this.setBox(this.attrs,R,i);this.Group.style.rotation=this._.rt.deg;return this;};K.prototype.setBox=function(AB,AC,AA){var e=this.Group.style,AD=(this.shape&amp;&amp;this.shape.style)||this.node.style;AB=AB||{};for(var AE in AB){this.attrs[AE]=AB[AE];}AC=AC||this._.rt.cx;AA=AA||this._.rt.cy;var AH=this.attrs,AK,AJ,AL,AG;switch(this.type){case&quot;circle&quot;:AK=AH.cx-AH.r;AJ=AH.cy-AH.r;AL=AG=AH.r*2;break;case&quot;ellipse&quot;:AK=AH.cx-AH.rx;AJ=AH.cy-AH.ry;AL=AH.rx*2;AG=AH.ry*2;break;case&quot;rect&quot;:case&quot;image&quot;:AK=AH.x;AJ=AH.y;AL=AH.width||0;AG=AH.height||0;break;case&quot;text&quot;:this.textpath.v=[&quot;m&quot;,Math.round(AH.x),&quot;, &quot;,Math.round(AH.y-2),&quot;l&quot;,Math.round(AH.x)+1,&quot;, &quot;,Math.round(AH.y-2)].join(&quot;&quot;);AK=AH.x-Math.round(this.W/2);AJ=AH.y-this.H/2;AL=this.W;AG=this.H;break;case&quot;path&quot;:if(!this.attrs.path){AK=0;AJ=0;AL=this.paper.width;AG=this.paper.height;}else{var AF=b(this.attrs.path);AK=AF.x;AJ=AF.y;AL=AF.width;AG=AF.height;}break;default:AK=0;AJ=0;AL=this.paper.width;AG=this.paper.height;break;}AC=(AC==null)?AK+AL/2:AC;AA=(AA==null)?AJ+AG/2:AA;var z=AC-this.paper.width/2,AI=AA-this.paper.height/2;if(this.type==&quot;path&quot;||this.type==&quot;text&quot;){(e.left!=z+&quot;px&quot;)&amp;&amp;(e.left=z+&quot;px&quot;);(e.top!=AI+&quot;px&quot;)&amp;&amp;(e.top=AI+&quot;px&quot;);this.X=this.type==&quot;text&quot;?AK:-z;this.Y=this.type==&quot;text&quot;?AJ:-AI;this.W=AL;this.H=AG;(AD.left!=-z+&quot;px&quot;)&amp;&amp;(AD.left=-z+&quot;px&quot;);(AD.top!=-AI+&quot;px&quot;)&amp;&amp;(AD.top=-AI+&quot;px&quot;);}else{(e.left!=z+&quot;px&quot;)&amp;&amp;(e.left=z+&quot;px&quot;);(e.top!=AI+&quot;px&quot;)&amp;&amp;(e.top=AI+&quot;px&quot;);this.X=AK;this.Y=AJ;this.W=AL;this.H=AG;(e.width!=this.paper.width+&quot;px&quot;)&amp;&amp;(e.width=this.paper.width+&quot;px&quot;);(e.height!=this.paper.height+&quot;px&quot;)&amp;&amp;(e.height=this.paper.height+&quot;px&quot;);(AD.left!=AK-z+&quot;px&quot;)&amp;&amp;(AD.left=AK-z+&quot;px&quot;);(AD.top!=AJ-AI+&quot;px&quot;)&amp;&amp;(AD.top=AJ-AI+&quot;px&quot;);(AD.width!=AL+&quot;px&quot;)&amp;&amp;(AD.width=AL+&quot;px&quot;);(AD.height!=AG+&quot;px&quot;)&amp;&amp;(AD.height=AG+&quot;px&quot;);var AM=(+AB.r||0)/(Math.min(AL,AG));if(this.type==&quot;rect&quot;&amp;&amp;this.arcsize!=AM&amp;&amp;(AM||this.arcsize)){var R=v(AM?&quot;roundrect&quot;:&quot;rect&quot;);R.arcsize=AM;this.Group.appendChild(R);this.node.parentNode.removeChild(this.node);this.node=R;this.arcsize=AM;f(this,this.attrs);this.setBox(this.attrs);}}};K.prototype.hide=function(){this.Group.style.display=&quot;none&quot;;return this;};K.prototype.show=function(){this.Group.style.display=&quot;block&quot;;return this;};K.prototype.getBBox=function(){if(this.type==&quot;path&quot;){return b(this.attrs.path);}return{x:this.X+(this.bbx||0),y:this.Y,width:this.W,height:this.H};};K.prototype.remove=function(){this[0].parentNode.removeChild(this[0]);this.Group.parentNode.removeChild(this.Group);this.shape&amp;&amp;this.shape.parentNode.removeChild(this.shape);};K.prototype.attr=function(){if(arguments.length==1&amp;&amp;typeof arguments[0]==&quot;string&quot;){if(arguments[0]==&quot;translation&quot;){return this.translate();}if(arguments[0]==&quot;rotation&quot;){return this.rotate();}if(arguments[0]==&quot;scale&quot;){return this.scale();}return this.attrs[arguments[0]];}if(this.attrs&amp;&amp;arguments.length==1&amp;&amp;E.isArray(arguments[0])){var R={};for(var e=0,z=arguments[0].length;e&lt;z;e++){R[arguments[0][e]]=this.attrs[arguments[0][e]];}return R;}var AA;if(arguments.length==2){AA={};AA[arguments[0]]=arguments[1];}if(arguments.length==1&amp;&amp;typeof arguments[0]==&quot;object&quot;){AA=arguments[0];}if(AA){if(AA.gradient){n(this,AA.gradient);}if(AA.text&amp;&amp;this.type==&quot;text&quot;){this.node.string=AA.text;}f(this,AA);this.setBox(this.attrs);}return this;};K.prototype.toFront=function(){this.Group.parentNode.appendChild(this.Group);return this;};K.prototype.toBack=function(){if(this.Group.parentNode.firstChild!=this.Group){this.Group.parentNode.insertBefore(this.Group,this.Group.parentNode.firstChild);}return this;};K.prototype.insertAfter=function(R){if(R.Group.nextSibling){R.Group.parentNode.insertBefore(this.Group,R.Group.nextSibling);}else{R.Group.parentNode.appendChild(this.Group);}return this;};K.prototype.insertBefore=function(R){R.Group.parentNode.insertBefore(this.Group,R.Group);return this;};var c=function(e,AE,AD,R){var AA=v(&quot;group&quot;),z=AA.style,i=v(&quot;oval&quot;),AC=i.style;z.position=&quot;absolute&quot;;z.left=0;z.top=0;z.width=e.width+&quot;px&quot;;z.height=e.height+&quot;px&quot;;AA.coordsize=e.coordsize;AA.coordorigin=e.coordorigin;AA.appendChild(i);var AB=new K(i,AA,e);AB.type=&quot;circle&quot;;f(AB,{stroke:&quot;#000&quot;,fill:&quot;none&quot;});AB.attrs.cx=AE;AB.attrs.cy=AD;AB.attrs.r=R;AB.setBox({x:AE-R,y:AD-R,width:R*2,height:R*2});e.canvas.appendChild(AA);return AB;};var j=function(e,AE,AD,AF,AA,R){var AB=v(&quot;group&quot;),z=AB.style,i=v(R?&quot;roundrect&quot;:&quot;rect&quot;),AG=(+R||0)/(Math.min(AF,AA));i.arcsize=AG;z.position=&quot;absolute&quot;;z.left=0;z.top=0;z.width=e.width+&quot;px&quot;;z.height=e.height+&quot;px&quot;;AB.coordsize=e.coordsize;AB.coordorigin=e.coordorigin;AB.appendChild(i);var AC=new K(i,AB,e);AC.type=&quot;rect&quot;;f(AC,{stroke:&quot;#000&quot;});AC.arcsize=AG;AC.setBox({x:AE,y:AD,width:AF,height:AA,r:+R});e.canvas.appendChild(AB);return AC;};var G=function(R,AF,AE,i,e){var AB=v(&quot;group&quot;),AA=AB.style,z=v(&quot;oval&quot;),AD=z.style;AA.position=&quot;absolute&quot;;AA.left=0;AA.top=0;AA.width=R.width+&quot;px&quot;;AA.height=R.height+&quot;px&quot;;AB.coordsize=R.coordsize;AB.coordorigin=R.coordorigin;AB.appendChild(z);var AC=new K(z,AB,R);AC.type=&quot;ellipse&quot;;f(AC,{stroke:&quot;#000&quot;});AC.attrs.cx=AF;AC.attrs.cy=AE;AC.attrs.rx=i;AC.attrs.ry=e;AC.setBox({x:AF-i,y:AE-e,width:i*2,height:e*2});R.canvas.appendChild(AB);return AC;};var N=function(e,R,AF,AE,AG,AA){var AB=v(&quot;group&quot;),z=AB.style,i=v(&quot;image&quot;),AD=i.style;z.position=&quot;absolute&quot;;z.left=0;z.top=0;z.width=e.width+&quot;px&quot;;z.height=e.height+&quot;px&quot;;AB.coordsize=e.coordsize;AB.coordorigin=e.coordorigin;i.src=R;AB.appendChild(i);var AC=new K(i,AB,e);AC.type=&quot;image&quot;;AC.attrs.src=R;AC.attrs.x=AF;AC.attrs.y=AE;AC.attrs.w=AG;AC.attrs.h=AA;AC.setBox({x:AF,y:AE,width:AG,height:AA});e.canvas.appendChild(AB);return AC;};var h=function(e,AF,AE,AG){var AB=v(&quot;group&quot;),AA=AB.style,z=v(&quot;shape&quot;),AD=z.style,AH=v(&quot;path&quot;),R=AH.style,i=v(&quot;textpath&quot;);AA.position=&quot;absolute&quot;;AA.left=0;AA.top=0;AA.width=e.width+&quot;px&quot;;AA.height=e.height+&quot;px&quot;;AB.coordsize=e.coordsize;AB.coordorigin=e.coordorigin;AH.v=[&quot;m&quot;,Math.round(AF),&quot;, &quot;,Math.round(AE),&quot;l&quot;,Math.round(AF)+1,&quot;, &quot;,Math.round(AE)].join(&quot;&quot;);AH.textpathok=true;AD.width=e.width;AD.height=e.height;AA.position=&quot;absolute&quot;;AA.left=0;AA.top=0;AA.width=e.width;AA.height=e.height;i.string=AG;i.on=true;z.appendChild(i);z.appendChild(AH);AB.appendChild(z);var AC=new K(i,AB,e);AC.shape=z;AC.textpath=AH;AC.type=&quot;text&quot;;AC.attrs.text=AG;AC.attrs.x=AF;AC.attrs.y=AE;AC.attrs.w=1;AC.attrs.h=1;f(AC,{font:O.font,stroke:&quot;none&quot;,fill:&quot;#000&quot;});AC.setBox();e.canvas.appendChild(AB);return AC;};var d=function(i,R){var e=this.canvas.style;this.width=i||this.width;this.height=R||this.height;e.width=this.width+&quot;px&quot;;e.height=this.height+&quot;px&quot;;e.clip=&quot;rect(0 &quot;+this.width+&quot;px &quot;+this.height+&quot;px 0)&quot;;this.canvas.coordsize=this.width+&quot; &quot;+this.height;return this;};F.createStyleSheet().addRule(&quot;.rvml&quot;,&quot;behavior:url(#default#VML)&quot;);try{!F.namespaces.rvml&amp;&amp;F.namespaces.add(&quot;rvml&quot;,&quot;urn:schemas-microsoft-com:vml&quot;);var v=function(R){return F.createElement(&quot;&lt;rvml:&quot;+R+' class=&quot;rvml&quot;&gt;');};}catch(u){var v=function(R){return F.createElement(&quot;&lt;&quot;+R+' xmlns=&quot;urn:schemas-microsoft.com:vml&quot; class=&quot;rvml&quot;&gt;');};}var J=function(){var z=g.apply(null,arguments),e=z.container,AE=z.height,AF,i=z.width,AD=z.x,AC=z.y;if(!e){throw new Error(&quot;VML container not found.&quot;);}var AB=B.canvas=F.createElement(&quot;div&quot;),AA=AB.style;i=parseFloat(i)||&quot;512px&quot;;AE=parseFloat(AE)||&quot;342px&quot;;B.width=i;B.height=AE;B.coordsize=i+&quot; &quot;+AE;B.coordorigin=&quot;0 0&quot;;B.span=F.createElement(&quot;span&quot;);AF=B.span.style;AB.appendChild(B.span);AF.position=&quot;absolute&quot;;AF.left=&quot;-99999px&quot;;AF.top=&quot;-99999px&quot;;AF.padding=0;AF.margin=0;AF.lineHeight=1;AF.display=&quot;inline&quot;;AA.width=i+&quot;px&quot;;AA.height=AE+&quot;px&quot;;AA.position=&quot;absolute&quot;;AA.clip=&quot;rect(0 &quot;+i+&quot;px &quot;+AE+&quot;px 0)&quot;;if(e==1){F.body.appendChild(AB);AA.left=AD+&quot;px&quot;;AA.top=AC+&quot;px&quot;;e={style:{width:i,height:AE}};}else{e.style.width=i;e.style.height=AE;if(e.firstChild){e.insertBefore(AB,e.firstChild);}else{e.appendChild(AB);}}for(var R in B){e[R]=B[R];}A.call(e,e,E.fn);e.clear=function(){while(AB.firstChild){AB.removeChild(AB.firstChild);}};e.raphael=E;return e;};B.remove=function(){this.canvas.parentNode.removeChild(this.canvas);};B.safari=function(){};}var H=(function(){if(F.addEventListener){return function(AA,i,e,R){var z=function(AB){return e.call(R,AB);};AA.addEventListener(i,z,false);return function(){AA.removeEventListener(i,z,false);return true;};};}else{if(F.attachEvent){return function(AB,z,i,e){var AA=function(AC){return i.call(e,AC||m.event);};AB.attachEvent(&quot;on&quot;+z,AA);var R=function(){AB.detachEvent(&quot;on&quot;+z,AA);return true;};if(z==&quot;mouseover&quot;){AB.attachEvent(&quot;onmouseenter&quot;,AA);return function(){AB.detachEvent(&quot;onmouseenter&quot;,AA);return R();};}else{if(z==&quot;mouseout&quot;){AB.attachEvent(&quot;onmouseleave&quot;,AA);return function(){AB.detachEvent(&quot;onmouseleave&quot;,AA);return R();};}}return R;};}}})();for(var r=U.length;r--;){(function(R){K.prototype[R]=function(e){if(typeof e==&quot;function&quot;){this.events=this.events||{};this.events[R]=this.events[R]||{};this.events[R][e]=this.events[R][e]||[];this.events[R][e].push(H(this.shape||this.node,R,e,this));}return this;};K.prototype[&quot;un&quot;+R]=function(e){this.events&amp;&amp;this.events[R]&amp;&amp;this.events[R][e]&amp;&amp;this.events[R][e].length&amp;&amp;this.events[R][e].shift()()&amp;&amp;!this.events[R][e].length&amp;&amp;delete this.events[R][e];};})(U[r]);}B.circle=function(R,i,e){return c(this,R,i,e);};B.rect=function(R,AA,e,i,z){return j(this,R,AA,e,i,z);};B.ellipse=function(R,z,i,e){return G(this,R,z,i,e);};B.path=function(R){if(R&amp;&amp;typeof R!=&quot;string&quot;&amp;&amp;!E.isArray(R[0])){throw new Error(&quot;First argument for path method should be a string.&quot;);}return w(E.format.apply(E,arguments),this);};B.image=function(z,R,AA,e,i){return N(this,z,R,AA,e,i);};B.text=function(R,i,e){return h(this,R,i,e);};B.set=function(R){arguments.length&gt;1&amp;&amp;(R=Array.prototype.splice.call(arguments,0,arguments.length));return new I(R);};B.setSize=d;K.prototype.stop=function(){clearTimeout(this.animation_in_progress);return this;};K.prototype.scale=function(AJ,AI,z,e){if(AJ==null&amp;&amp;AI==null){return{x:this._.sx,y:this._.sy,toString:function(){return this.x+&quot; &quot;+this.y;}};}AI=AI||AJ;!+AI&amp;&amp;(AI=AJ);var AN,AL,AM,AK,AZ=this.attrs;if(AJ!=0){var AH=this.getBBox(),AE=AH.x+AH.width/2,AB=AH.y+AH.height/2,AY=AJ/this._.sx,AX=AI/this._.sy;z=(+z||z==0)?z:AE;e=(+e||e==0)?e:AB;var AG=Math.round(AJ/Math.abs(AJ)),AD=Math.round(AI/Math.abs(AI)),AQ=this.node.style,Ab=z+(AE-z)*AG*AY,Aa=e+(AB-e)*AD*AX;switch(this.type){case&quot;rect&quot;:case&quot;image&quot;:var AF=AZ.width*AG*AY,AP=AZ.height*AD*AX,AC=Ab-AF/2,AA=Aa-AP/2;this.attr({width:AF,height:AP,x:AC,y:AA});break;case&quot;circle&quot;:case&quot;ellipse&quot;:this.attr({rx:AZ.rx*AY,ry:AZ.ry*AX,r:AZ.r*AY,cx:Ab,cy:Aa});break;case&quot;path&quot;:var AS=C(AZ.path),AT=true;for(var AV=0,AO=AS.length;AV&lt;AO;AV++){var AR=AS[AV];if(AR[0].toUpperCase()==&quot;M&quot;&amp;&amp;AT){continue;}else{AT=false;}if(E.svg&amp;&amp;AR[0].toUpperCase()==&quot;A&quot;){AR[AS[AV].length-2]*=AY;AR[AS[AV].length-1]*=AX;AR[1]*=AY;AR[2]*=AX;AR[5]=+(AG+AD?!!+AR[5]:!+AR[5]);}else{for(var AU=1,AW=AR.length;AU&lt;AW;AU++){AR[AU]*=(AU%2)?AY:AX;}}}var R=b(AS),AN=Ab-R.x-R.width/2,AL=Aa-R.y-R.height/2;AS=C(AS);AS[0][1]+=AN;AS[0][2]+=AL;this.attr({path:AS.join(&quot; &quot;)});break;}if(this.type in {text:1,image:1}&amp;&amp;(AG!=1||AD!=1)){if(this.transformations){this.transformations[2]=&quot;scale(&quot;.concat(AG,&quot;,&quot;,AD,&quot;)&quot;);this.node.setAttribute(&quot;transform&quot;,this.transformations.join(&quot; &quot;));AN=(AG==-1)?-AZ.x-(AF||0):AZ.x;AL=(AD==-1)?-AZ.y-(AP||0):AZ.y;this.attr({x:AN,y:AL});AZ.fx=AG-1;AZ.fy=AD-1;}else{this.node.filterMatrix=&quot; progid:DXImageTransform.Microsoft.Matrix(M11=&quot;.concat(AG,&quot;, M12=0, M21=0, M22=&quot;,AD,&quot;, Dx=0, Dy=0, sizingmethod='auto expand', filtertype='bilinear')&quot;);AQ.filter=(this.node.filterMatrix||&quot;&quot;)+(this.node.filterOpacity||&quot;&quot;);}}else{if(this.transformations){this.transformations[2]=&quot;&quot;;this.node.setAttribute(&quot;transform&quot;,this.transformations.join(&quot; &quot;));AZ.fx=0;AZ.fy=0;}else{this.node.filterMatrix=&quot;&quot;;AQ.filter=(this.node.filterMatrix||&quot;&quot;)+(this.node.filterOpacity||&quot;&quot;);}}AZ.scale=[AJ,AI,z,e].join(&quot; &quot;);this._.sx=AJ;this._.sy=AI;}return this;};E.easing_formulas={linear:function(R){return R;},&quot;&lt;&quot;:function(R){return Math.pow(R,3);},&quot;&gt;&quot;:function(R){return Math.pow(R-1,3)+1;},&quot;&lt;&gt;&quot;:function(R){R=R*2;if(R&lt;1){return Math.pow(R,3)/2;}R-=2;return(Math.pow(R,3)+2)/2;},backIn:function(e){var R=1.70158;return e*e*((R+1)*e-R);},backOut:function(e){e=e-1;var R=1.70158;return e*e*((R+1)*e+R)+1;},elastic:function(i){if(i==0||i==1){return i;}var e=0.3,R=e/4;return Math.pow(2,-10*i)*Math.sin((i-R)*(2*Math.PI)/e)+1;},bounce:function(z){var e=7.5625,i=2.75,R;if(z&lt;(1/i)){R=e*z*z;}else{if(z&lt;(2/i)){z-=(1.5/i);R=e*z*z+0.75;}else{if(z&lt;(2.5/i)){z-=(2.25/i);R=e*z*z+0.9375;}else{z-=(2.625/i);R=e*z*z+0.984375;}}}return R;}};K.prototype.animate=function(AS,AJ,AI,AA){clearTimeout(this.animation_in_progress);if(typeof AI==&quot;function&quot;||!AI){AA=AI||null;}var AM={},e={},AG={},AF={x:0,y:0};for(var AK in AS){if(AK in T){AM[AK]=this.attr(AK);(AM[AK]==null)&amp;&amp;(AM[AK]=O[AK]);e[AK]=AS[AK];switch(T[AK]){case&quot;number&quot;:AG[AK]=(e[AK]-AM[AK])/AJ;break;case&quot;colour&quot;:AM[AK]=E.getRGB(AM[AK]);var AL=E.getRGB(e[AK]);AG[AK]={r:(AL.r-AM[AK].r)/AJ,g:(AL.g-AM[AK].g)/AJ,b:(AL.b-AM[AK].b)/AJ};break;case&quot;path&quot;:var AB=p(AM[AK],e[AK]);AM[AK]=AB[0];e[AK]=AB[1];AG[AK]=[];for(var AO=0,AE=AM[AK].length;AO&lt;AE;AO++){AG[AK][AO]=[0];for(var AN=1,AQ=AM[AK][AO].length;AN&lt;AQ;AN++){AG[AK][AO][AN]=(e[AK][AO][AN]-AM[AK][AO][AN])/AJ;}}break;case&quot;csv&quot;:var R=(AS[AK]+&quot;&quot;).split(y),AD=(AM[AK]+&quot;&quot;).split(y);switch(AK){case&quot;translation&quot;:AM[AK]=[0,0];AG[AK]=[R[0]/AJ,R[1]/AJ];break;case&quot;rotation&quot;:AM[AK]=(AD[1]==R[1]&amp;&amp;AD[2]==R[2])?AD:[0,R[1],R[2]];AG[AK]=[(R[0]-AM[AK][0])/AJ,0,0];break;case&quot;scale&quot;:AS[AK]=R;AM[AK]=(AM[AK]+&quot;&quot;).split(y);AG[AK]=[(R[0]-AM[AK][0])/AJ,(R[1]-AM[AK][1])/AJ,0,0];break;case&quot;clip-rect&quot;:AM[AK]=(AM[AK]+&quot;&quot;).split(y);AG[AK]=[];var AO=4;while(AO--){AG[AK][AO]=(R[AO]-AM[AK][AO])/AJ;}break;}e[AK]=R;}}}var z=+new Date,AH=0,AR=function(i){return +i&gt;255?255:+i;},AC=this;(function AP(){var AU=new Date-z,Ac={},AT;if(AU&lt;AJ){var Aa=E.easing_formulas[AI]?E.easing_formulas[AI](AU/AJ):AU/AJ;for(var AY in AM){switch(T[AY]){case&quot;number&quot;:AT=+AM[AY]+Aa*AJ*AG[AY];break;case&quot;colour&quot;:AT=&quot;rgb(&quot;+[AR(Math.round(AM[AY].r+Aa*AJ*AG[AY].r)),AR(Math.round(AM[AY].g+Aa*AJ*AG[AY].g)),AR(Math.round(AM[AY].b+Aa*AJ*AG[AY].b))].join(&quot;,&quot;)+&quot;)&quot;;break;case&quot;path&quot;:AT=[];for(var AW=0,Ad=AM[AY].length;AW&lt;Ad;AW++){AT[AW]=[AM[AY][AW][0]];for(var AV=1,AX=AM[AY][AW].length;AV&lt;AX;AV++){AT[AW][AV]=+AM[AY][AW][AV]+Aa*AJ*AG[AY][AW][AV];}AT[AW]=AT[AW].join(&quot; &quot;);}AT=AT.join(&quot; &quot;);break;case&quot;csv&quot;:switch(AY){case&quot;translation&quot;:var Ab=AG[AY][0]*(AU-AH),AZ=AG[AY][1]*(AU-AH);AF.x+=Ab;AF.y+=AZ;AT=[Ab,AZ].join(&quot; &quot;);break;case&quot;rotation&quot;:AT=+AM[AY][0]+Aa*AJ*AG[AY][0];AM[AY][1]&amp;&amp;(AT+=&quot;,&quot;+AM[AY][1]+&quot;,&quot;+AM[AY][2]);break;case&quot;scale&quot;:AT=[+AM[AY][0]+Aa*AJ*AG[AY][0],+AM[AY][1]+Aa*AJ*AG[AY][1],(2 in AS[AY]?AS[AY][2]:&quot;&quot;),(3 in AS[AY]?AS[AY][3]:&quot;&quot;)].join(&quot; &quot;);break;case&quot;clip-rect&quot;:AT=[];var AW=4;while(AW--){AT[AW]=+AM[AY][AW]+Aa*AJ*AG[AY][AW];}break;}break;}Ac[AY]=AT;}AC.attr(Ac);AC.animation_in_progress=setTimeout(AP);E.svg&amp;&amp;B.safari();}else{(AF.x||AF.y)&amp;&amp;AC.translate(-AF.x,-AF.y);AC.attr(AS);clearTimeout(AC.animation_in_progress);E.svg&amp;&amp;B.safari();(typeof AA==&quot;function&quot;)&amp;&amp;AA.call(AC);}AH=AU;})();return this;};K.prototype.translate=function(R,i){if(R==null){return{x:this._.tx,y:this._.ty};}this._.tx+=+R;this._.ty+=+i;switch(this.type){case&quot;circle&quot;:case&quot;ellipse&quot;:this.attr({cx:+R+this.attrs.cx,cy:+i+this.attrs.cy});break;case&quot;rect&quot;:case&quot;image&quot;:case&quot;text&quot;:this.attr({x:+R+this.attrs.x,y:+i+this.attrs.y});break;case&quot;path&quot;:var e=C(this.attrs.path);e[0][1]+=+R;e[0][2]+=+i;this.attr({path:e});break;}return this;};var I=function(R){this.items=[];this.length=0;if(R){for(var e=0,z=R.length;e&lt;z;e++){if(R[e]&amp;&amp;(R[e].constructor==K||R[e].constructor==I)){this[this.items.length]=this.items[this.items.length]=R[e];this.length++;}}}};I.prototype.push=function(){var AA,R;for(var e=0,z=arguments.length;e&lt;z;e++){AA=arguments[e];if(AA&amp;&amp;(AA.constructor==K||AA.constructor==I)){R=this.items.length;this[R]=this.items[R]=AA;this.length++;}}return this;};I.prototype.pop=function(){delete this[this.length--];return this.items.pop();};for(var s in K.prototype){I.prototype[s]=(function(R){return function(){for(var e=0,z=this.items.length;e&lt;z;e++){this.items[e][R].apply(this.items[e],arguments);}return this;};})(s);}I.prototype.attr=function(e,AC){if(e&amp;&amp;E.isArray(e)&amp;&amp;typeof e[0]==&quot;object&quot;){for(var R=0,AB=e.length;R&lt;AB;R++){this.items[R].attr(e[R]);}}else{for(var z=0,AA=this.items.length;z&lt;AA;z++){this.items[z].attr.apply(this.items[z],arguments);}}return this;};I.prototype.getBBox=function(){var R=[],AC=[],e=[],AA=[];for(var z=this.items.length;z--;){var AB=this.items[z].getBBox();R.push(AB.x);AC.push(AB.y);e.push(AB.x+AB.width);AA.push(AB.y+AB.height);}R=Math.min.apply(Math,R);AC=Math.min.apply(Math,AC);return{x:R,y:AC,width:Math.max.apply(Math,e)-R,height:Math.max.apply(Math,AA)-AC};};E.registerFont=function(e){if(!e.face){return e;}this.fonts=this.fonts||{};var z={w:e.w,face:{},glyphs:{}},i=e.face[&quot;font-family&quot;];for(var AC in e.face){z.face[AC]=e.face[AC];}if(this.fonts[i]){this.fonts[i].push(z);}else{this.fonts[i]=[z];}if(!e.svg){z.face[&quot;units-per-em&quot;]=parseInt(e.face[&quot;units-per-em&quot;],10);for(var AA in e.glyphs){var AB=e.glyphs[AA];z.glyphs[AA]={w:AB.w,k:{},d:AB.d&amp;&amp;&quot;M&quot;+AB.d.replace(/[mlcxtrv]/g,function(AD){return{l:&quot;L&quot;,c:&quot;C&quot;,x:&quot;z&quot;,t:&quot;m&quot;,r:&quot;l&quot;,v:&quot;c&quot;}[AD]||&quot;M&quot;;})+&quot;z&quot;};if(AB.k){for(var R in AB.k){z.glyphs[AA].k[R]=AB.k[R];}}}}return e;};B.getFont=function(AE,AF,e,AA){AA=AA||&quot;normal&quot;;e=e||&quot;normal&quot;;AF=+AF||{normal:400,bold:700,lighter:300,bolder:800}[AF]||400;var AB=E.fonts[AE];if(!AB){var z=new RegExp(&quot;(^|\\s)&quot;+AE.replace(/[^\w\d\s+!~.:_-]/g,&quot;&quot;)+&quot;(\\s|$)&quot;,&quot;i&quot;);for(var R in E.fonts){if(z.test(R)){AB=E.fonts[R];break;}}}var AC;if(AB){for(var AD=0,AG=AB.length;AD&lt;AG;AD++){AC=AB[AD];if(AC.face[&quot;font-weight&quot;]==AF&amp;&amp;(AC.face[&quot;font-style&quot;]==e||!AC.face[&quot;font-style&quot;])&amp;&amp;AC.face[&quot;font-stretch&quot;]==AA){break;}}}return AC;};B.print=function(AG,AF,AD,e,AK){var AB=this.set(),AE=(AD+&quot;&quot;).split(&quot;&quot;),R=0,AJ=&quot;&quot;,AA;typeof e==&quot;string&quot;&amp;&amp;(e=this.getFont(e));if(e){AA=(AK||16)/e.face[&quot;units-per-em&quot;];for(var AC=0,AH=AE.length;AC&lt;AH;AC++){var z=AC&amp;&amp;e.glyphs[AE[AC-1]]||{},AI=e.glyphs[AE[AC]];R+=AC?(z.w||e.w)+(z.k&amp;&amp;z.k[AE[AC]]||0):0;AI&amp;&amp;AI.d&amp;&amp;AB.push(this.path(AI.d).attr({fill:&quot;#000&quot;,stroke:&quot;none&quot;,translation:[R,0]}));}AB.scale(AA,AA,0,AF).translate(AG,(AK||16)/2);}return AB;};E.format=function(e){var R=E.isArray(arguments[1])?[0].concat(arguments[1]):arguments;e&amp;&amp;typeof e==&quot;string&quot;&amp;&amp;R.length-1&amp;&amp;(e=e.replace(/\{(\d+)\}/g,function(AA,z){return R[++z]==null?&quot;&quot;:R[z];}));return e;};E.ninja=function(){var R=window.Raphael;if(q.was){window.Raphael=q.is;}else{try{delete window.Raphael;}catch(i){window.Raphael=void (0);}}return R;};E.el=K.prototype;return E;})();
\ No newline at end of file</diff>
      <filename>raphael-min.js</filename>
    </modified>
    <modified>
      <diff>@@ -2726,7 +2726,7 @@ window.Raphael = (function () {
     R.format = function (token) {
         var args = R.isArray(arguments[1]) ? [0].concat(arguments[1]) : arguments;
         token &amp;&amp; typeof token == &quot;string&quot; &amp;&amp; args.length - 1 &amp;&amp; (token = token.replace(/\{(\d+)\}/g, function (str, i) {
-            return args[++i] || &quot;&quot;;
+            return args[++i] == null ? &quot;&quot; : args[i];
         }));
         return token;
     };</diff>
      <filename>raphael.js</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>18110273c63830842039b6a5d4f84b7efb7300f8</id>
    </parent>
  </parents>
  <author>
    <name>Dmitry Baranovskiy</name>
    <email>dbaranovskiy@Fresh-Air.sydney.atlassian.com</email>
  </author>
  <url>http://github.com/DmitryBaranovskiy/raphael/commit/10aff6f51566800147cf79680d07c2cb3e6c65d4</url>
  <id>10aff6f51566800147cf79680d07c2cb3e6c65d4</id>
  <committed-date>2009-09-13T18:14:59-07:00</committed-date>
  <authored-date>2009-09-13T18:14:59-07:00</authored-date>
  <message>Fixed format method</message>
  <tree>0ca3e935c4f80337d26cb6f97e272a3e7773666e</tree>
  <committer>
    <name>Dmitry Baranovskiy</name>
    <email>dbaranovskiy@Fresh-Air.sydney.atlassian.com</email>
  </committer>
</commit>
