// ┌─────────────────────────────────────────────────────────────────────┐ \\
// │ Raphaël 2.0.1 - JavaScript Vector Library                           │ \\
// ├─────────────────────────────────────────────────────────────────────┤ \\
// │ Copyright (c) 2008-2011 Dmitry Baranovskiy (http://raphaeljs.com)   │ \\
// │ Copyright (c) 2008-2011 Sencha Labs (http://sencha.com)             │ \\
// │ Licensed under the MIT (http://raphaeljs.com/license.html) license. │ \\
// └─────────────────────────────────────────────────────────────────────┘ \\
function bourreau(){done?(Guillotine.mouton.transform("...t0,-100"),Guillotine.tete.transform("...t0,-350"),done=!1):(Guillotine.mouton.animate({transform:"...t0,100",easing:"<"},200,function(){decapite()}),done=!0)}function decapite(){Guillotine.tete.animate({transform:"...t0,350",easing:"bounce"},500,function(){})}function ready(){}function checkNewCandidateFied(a){if(a.target.value.length>0)switch(a.target.id){case"candidateName":case"guillotineTitle":a.target.set("class","inputText-valid")}}(function(a){var b="0.4.0",c="hasOwnProperty",d=/[\.\/]/,e="*",f=function(){},g=function(a,b){return a-b},h,i,j={n:{}},k=function(a,b){var c=j,d=i,e=Array.prototype.slice.call(arguments,2),f=k.listeners(a),l=0,m=!1,n,o=[],p={},q=[],r=[];h=a,i=0;for(var s=0,t=f.length;s<t;s++)"zIndex"in f[s]&&(o.push(f[s].zIndex),f[s].zIndex<0&&(p[f[s].zIndex]=f[s]));o.sort(g);while(o[l]<0){n=p[o[l++]],q.push(n.apply(b,e));if(i)return i=d,q}for(s=0;s<t;s++){n=f[s];if("zIndex"in n)if(n.zIndex==o[l]){q.push(n.apply(b,e));if(i)return i=d,q;do{l++,n=p[o[l]],n&&q.push(n.apply(b,e));if(i)return i=d,q}while(n)}else p[n.zIndex]=n;else{q.push(n.apply(b,e));if(i)return i=d,q}}return i=d,q.length?q:null};k.listeners=function(a){var b=a.split(d),c=j,f,g,h,i,k,l,m,n,o=[c],p=[];for(i=0,k=b.length;i<k;i++){n=[];for(l=0,m=o.length;l<m;l++){c=o[l].n,g=[c[b[i]],c[e]],h=2;while(h--)f=g[h],f&&(n.push(f),p=p.concat(f.f||[]))}o=n}return p},k.on=function(a,b){var c=a.split(d),e=j;for(var g=0,h=c.length;g<h;g++)e=e.n,!e[c[g]]&&(e[c[g]]={n:{}}),e=e[c[g]];e.f=e.f||[];for(g=0,h=e.f.length;g<h;g++)if(e.f[g]==b)return f;return e.f.push(b),function(a){+a==+a&&(b.zIndex=+a)}},k.stop=function(){i=1},k.nt=function(a){return a?(new RegExp("(?:\\.|\\/|^)"+a+"(?:\\.|\\/|$)")).test(h):h},k.unbind=function(a,b){var f=a.split(d),g,h,i,k,l,m,n,o=[j];for(k=0,l=f.length;k<l;k++)for(m=0;m<o.length;m+=i.length-2){i=[m,1],g=o[m].n;if(f[k]!=e)g[f[k]]&&i.push(g[f[k]]);else for(h in g)g[c](h)&&i.push(g[h]);o.splice.apply(o,i)}for(k=0,l=o.length;k<l;k++){g=o[k];while(g.n){if(b){if(g.f){for(m=0,n=g.f.length;m<n;m++)if(g.f[m]==b){g.f.splice(m,1);break}!g.f.length&&delete g.f}for(h in g.n)if(g.n[c](h)&&g.n[h].f){var p=g.n[h].f;for(m=0,n=p.length;m<n;m++)if(p[m]==b){p.splice(m,1);break}!p.length&&delete g.n[h].f}}else{delete g.f;for(h in g.n)g.n[c](h)&&g.n[h].f&&delete g.n[h].f}g=g.n}}},k.once=function(a,b){var c=function(){b.apply(this,arguments),k.unbind(a,c)};return k.on(a,c)},k.version=b,k.toString=function(){return"You are running Eve "+b},typeof module!="undefined"&&module.exports?module.exports=k:a.eve=k})(this),function(){function a(a,b,d,e,g,h){d=$(d);var i,j,l,n=[],o,p,r,s=a.ms,t={},u={},v={};if(e)for(y=0,z=co.length;y<z;y++){var w=co[y];if(w.el.id==b.id&&w.anim==a){w.percent!=d?(co.splice(y,1),l=1):j=w,b.attr(w.totalOrigin);break}}else e=+u;for(var y=0,z=a.percents.length;y<z;y++){if(a.percents[y]==d||a.percents[y]>e*a.top){d=a.percents[y],p=a.percents[y-1]||0,s=s/a.top*(d-p),o=a.percents[y+1],i=a.anim[d];break}e&&b.attr(a.anim[a.percents[y]])}if(!!i){if(!j){for(var A in i)if(i[q](A))if(bc[q](A)||b.paper.customAttributes[q](A)){t[A]=b.attr(A),t[A]==null&&(t[A]=bb[A]),u[A]=i[A];switch(bc[A]){case M:v[A]=(u[A]-t[A])/s;break;case"colour":t[A]=k.getRGB(t[A]);var D=k.getRGB(u[A]);v[A]={r:(D.r-t[A].r)/s,g:(D.g-t[A].g)/s,b:(D.b-t[A].b)/s};break;case"path":var E=bM(t[A],u[A]),F=E[1];t[A]=E[0],v[A]=[];for(y=0,z=t[A].length;y<z;y++){v[A][y]=[0];for(var G=1,H=t[A][y].length;G<H;G++)v[A][y][G]=(F[y][G]-t[A][y][G])/s}break;case"transform":var I=b._,J=bV(I[A],u[A]);if(J){t[A]=J.from,u[A]=J.to,v[A]=[],v[A].real=!0;for(y=0,z=t[A].length;y<z;y++){v[A][y]=[t[A][y][0]];for(G=1,H=t[A][y].length;G<H;G++)v[A][y][G]=(u[A][y][G]-t[A][y][G])/s}}else{var K=b.matrix||new f,L={_:{transform:I.transform},getBBox:function(){return b.getBBox(1)}};t[A]=[K.a,K.b,K.c,K.d,K.e,K.f],bT(L,u[A]),u[A]=L._.transform,v[A]=[(L.matrix.a-K.a)/s,(L.matrix.b-K.b)/s,(L.matrix.c-K.c)/s,(L.matrix.d-K.d)/s,(L.matrix.e-K.e)/s,(L.matrix.e-K.f)/s]}break;case"csv":var N=B(i[A])[C](m),O=B(t[A])[C](m);if(A=="clip-rect"){t[A]=O,v[A]=[],y=O.length;while(y--)v[A][y]=(N[y]-t[A][y])/s}u[A]=N;break;default:N=[][x](i[A]),O=[][x](t[A]),v[A]=[],y=b.paper.customAttributes[A].length;while(y--)v[A][y]=((N[y]||0)-(O[y]||0))/s}}var P=i.easing,Q=k.easing_formulas[P];if(!Q){Q=B(P).match(X);if(Q&&Q.length==5){var R=Q;Q=function(a){return c(a,+R[1],+R[2],+R[3],+R[4],s)}}else Q=bo}r=i.start||a.start||+(new Date),w={anim:a,percent:d,timestamp:r,start:r+(a.del||0),status:0,initstatus:e||0,stop:!1,ms:s,easing:Q,from:t,diff:v,to:u,el:b,callback:i.callback,prev:p,next:o,repeat:h||a.times,origin:b.attr(),totalOrigin:g},co.push(w);if(e&&!j&&!l){w.stop=!0,w.start=new Date-s*e;if(co.length==1)return cq()}l&&(w.start=new Date-w.ms*e),co.length==1&&cp(cq)}else j.initstatus=e,j.start=new Date-j.ms*e;eve("anim.start."+b.id,b,a)}}function b(a,b){var c=[],d={};this.ms=b,this.times=1;if(a){for(var e in a)a[q](e)&&(d[$(e)]=a[e],c.push($(e)));c.sort(bm)}this.anim=d,this.top=c[c.length-1],this.percents=c}function c(a,b,c,d,e,f){function g(a,b){var c,d,e,f,g,h;for(e=a,h=0;h<8;h++){f=i(e)-a;if(J(f)<b)return e;g=(3*l*e+2*k)*e+j;if(J(g)<1e-6)break;e-=f/g}c=0,d=1,e=a;if(e<c)return c;if(e>d)return d;while(c<d){f=i(e);if(J(f-a)<b)return e;a>f?c=e:d=e,e=(d-c)/2+c}return e}function h(a,b){var c=g(a,b);return((o*c+n)*c+m)*c}function i(a){return((l*a+k)*a+j)*a}var j=3*b,k=3*(d-b)-j,l=1-j-k,m=3*c,n=3*(e-c)-m,o=1-m-n;return h(a,1/(200*f))}function d(){return this.x+A+this.y+A+this.width+" × "+this.height}function e(){return this.x+A+this.y}function f(a,b,c,d,e,f){a!=null?(this.a=+a,this.b=+b,this.c=+c,this.d=+d,this.e=+e,this.f=+f):(this.a=1,this.b=0,this.c=0,this.d=1,this.e=0,this.f=0)}function g(a){var b=[];for(var c=0,d=a.length;d-2>c;c+=2){var e=[{x:+a[c],y:+a[c+1]},{x:+a[c],y:+a[c+1]},{x:+a[c+2],y:+a[c+3]},{x:+a[c+4],y:+a[c+5]}];d-4==c?(e[0]={x:+a[c-2],y:+a[c-1]},e[3]=e[2]):c&&(e[0]={x:+a[c-2],y:+a[c-1]}),b.push(["C",(-e[0].x+6*e[1].x+e[2].x)/6,(-e[0].y+6*e[1].y+e[2].y)/6,(e[1].x+6*e[2].x-e[3].x)/6,(e[1].y+6*e[2].y-e[3].y)/6,e[2].x,e[2].y])}return b}function h(){return this.hex}function i(a,b,c){function d(){var e=Array.prototype.slice.call(arguments,0),f=e.join("␀"),g=d.cache=d.cache||{},h=d.count=d.count||[];return g[q](f)?(j(h,f),c?c(g[f]):g[f]):(h.length>=1e3&&delete g[h.shift()],h.push(f),g[f]=a[w](b,e),c?c(g[f]):g[f])}return d}function j(a,b){for(var c=0,d=a.length;c<d;c++)if(a[c]===b)return a.push(a.splice(c,1)[0])}function k(a){if(k.is(a,"function"))return l?a():eve.on("DOMload",a);if(k.is(a,O))return k._engine.create[w](k,a.splice(0,3+k.is(a[0],M))).add(a);var b=Array.prototype.slice.call(arguments,0);if(k.is(b[b.length-1],"function")){var c=b.pop();return l?c.call(k._engine.create[w](k,b)):eve.on("DOMload",function(){c.call(k._engine.create[w](k,b))})}return k._engine.create[w](k,arguments)}k.version="2.0.1",k.eve=eve;var l,m=/[, ]+/,n={circle:1,rect:1,path:1,ellipse:1,text:1,image:1},o=/\{(\d+)\}/g,p="prototype",q="hasOwnProperty",r={doc:document,win:window},s={was:Object.prototype[q].call(r.win,"Raphael"),is:r.win.Raphael},t=function(){this.ca=this.customAttributes={}},u,v="appendChild",w="apply",x="concat",y="createTouch"in r.doc,z="",A=" ",B=String,C="split",D="click dblclick mousedown mousemove mouseout mouseover mouseup touchstart touchmove touchend touchcancel"[C](A),E={mousedown:"touchstart",mousemove:"touchmove",mouseup:"touchend"},F=B.prototype.toLowerCase,G=Math,H=G.max,I=G.min,J=G.abs,K=G.pow,L=G.PI,M="number",N="string",O="array",P="toString",Q="fill",R=Object.prototype.toString,S={},T="push",U=k._ISURL=/^url\(['"]?([^\)]+?)['"]?\)$/i,V=/^\s*((#[a-f\d]{6})|(#[a-f\d]{3})|rgba?\(\s*([\d\.]+%?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+%?(?:\s*,\s*[\d\.]+%?)?)\s*\)|hsba?\(\s*([\d\.]+(?:deg|\xb0|%)?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+(?:%?\s*,\s*[\d\.]+)?)%?\s*\)|hsla?\(\s*([\d\.]+(?:deg|\xb0|%)?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+(?:%?\s*,\s*[\d\.]+)?)%?\s*\))\s*$/i,W={NaN:1,Infinity:1,"-Infinity":1},X=/^(?:cubic-)?bezier\(([^,]+),([^,]+),([^,]+),([^\)]+)\)/,Y=G.round,Z="setAttribute",$=parseFloat,_=parseInt,ba=B.prototype.toUpperCase,bb=k._availableAttrs={"arrow-end":"none","arrow-start":"none",blur:0,"clip-rect":"0 0 1e9 1e9",cursor:"default",cx:0,cy:0,fill:"#fff","fill-opacity":1,font:'10px "Arial"',"font-family":'"Arial"',"font-size":"10","font-style":"normal","font-weight":400,gradient:0,height:0,href:"http://raphaeljs.com/","letter-spacing":0,opacity:1,path:"M0,0",r:0,rx:0,ry:0,src:"",stroke:"#000","stroke-dasharray":"","stroke-linecap":"butt","stroke-linejoin":"butt","stroke-miterlimit":0,"stroke-opacity":1,"stroke-width":1,target:"_blank","text-anchor":"middle",title:"Raphael",transform:"",width:0,x:0,y:0},bc=k._availableAnimAttrs={blur:M,"clip-rect":"csv",cx:M,cy:M,fill:"colour","fill-opacity":M,"font-size":M,height:M,opacity:M,path:"path",r:M,rx:M,ry:M,stroke:"colour","stroke-opacity":M,"stroke-width":M,transform:"transform",width:M,x:M,y:M},bd=/\s*,\s*/,be={hs:1,rg:1},bf=/,?([achlmqrstvxz]),?/gi,bg=/([achlmrqstvz])[\s,]*((-?\d*\.?\d*(?:e[\-+]?\d+)?\s*,?\s*)+)/ig,bh=/([rstm])[\s,]*((-?\d*\.?\d*(?:e[\-+]?\d+)?\s*,?\s*)+)/ig,bi=/(-?\d*\.?\d*(?:e[\-+]?\d+)?)\s*,?\s*/ig,bj=k._radial_gradient=/^r(?:\(([^,]+?)\s*,\s*([^\)]+?)\))?/,bk={},bl=function(a,b){return a.key-b.key},bm=function(a,b){return $(a)-$(b)},bn=function(){},bo=function(a){return a},bp=k._rectPath=function(a,b,c,d,e){return e?[["M",a+e,b],["l",c-e*2,0],["a",e,e,0,0,1,e,e],["l",0,d-e*2],["a",e,e,0,0,1,-e,e],["l",e*2-c,0],["a",e,e,0,0,1,-e,-e],["l",0,e*2-d],["a",e,e,0,0,1,e,-e],["z"]]:[["M",a,b],["l",c,0],["l",0,d],["l",-c,0],["z"]]},bq=function(a,b,c,d){return d==null&&(d=c),[["M",a,b],["m",0,-d],["a",c,d,0,1,1,0,2*d],["a",c,d,0,1,1,0,-2*d],["z"]]},br=k._getPath={path:function(a){return a.attr("path")},circle:function(a){var b=a.attrs;return bq(b.cx,b.cy,b.r)},ellipse:function(a){var b=a.attrs;return bq(b.cx,b.cy,b.rx,b.ry)},rect:function(a){var b=a.attrs;return bp(b.x,b.y,b.width,b.height,b.r)},image:function(a){var b=a.attrs;return bp(b.x,b.y,b.width,b.height)},text:function(a){var b=a._getBBox();return bp(b.x,b.y,b.width,b.height)}},bs=k.mapPath=function(a,b){if(!b)return a;var c,d,e,f,g,h,i;a=bM(a);for(e=0,g=a.length;e<g;e++){i=a[e];for(f=1,h=i.length;f<h;f+=2)c=b.x(i[f],i[f+1]),d=b.y(i[f],i[f+1]),i[f]=c,i[f+1]=d}return a};k._g=r,k.type=r.win.SVGAngle||r.doc.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure","1.1")?"SVG":"VML";if(k.type=="VML"){var bt=r.doc.createElement("div"),bu;bt.innerHTML='<v:shape adj="1"/>',bu=bt.firstChild,bu.style.behavior="url(#default#VML)";if(!bu||typeof bu.adj!="object")return k.type=z;bt=null}k.svg=!(k.vml=k.type=="VML"),k._Paper=t,k.fn=u=t.prototype=k.prototype,k._id=0,k._oid=0,k.is=function(a,b){return b=F.call(b),b=="finite"?!W[q](+a):b=="array"?a instanceof Array:b=="null"&&a===null||b==typeof a&&a!==null||b=="object"&&a===Object(a)||b=="array"&&Array.isArray&&Array.isArray(a)||R.call(a).slice(8,-1).toLowerCase()==b},k.angle=function(a,b,c,d,e,f){if(e==null){var g=a-c,h=b-d;return!g&&!h?0:(180+G.atan2(-h,-g)*180/L+360)%360}return k.angle(a,b,e,f)-k.angle(c,d,e,f)},k.rad=function(a){return a%360*L/180},k.deg=function(a){return a*180/L%360},k.snapTo=function(a,b,c){c=k.is(c,"finite")?c:10;if(k.is(a,O)){var d=a.length;while(d--)if(J(a[d]-b)<=c)return a[d]}else{a=+a;var e=b%a;if(e<c)return b-e;if(e>a-c)return b-e+a}return b};var bv=k.createUUID=function(a,b){return function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(a,b).toUpperCase()}}(/[xy]/g,function(a){var b=G.random()*16|0,c=a=="x"?b:b&3|8;return c.toString(16)});k.setWindow=function(a){eve("setWindow",k,r.win,a),r.win=a,r.doc=r.win.document,k._engine.initWin&&k._engine.initWin(r.win)};var bw=function(a){if(k.vml){var b=/^\s+|\s+$/g,c;try{var d=new ActiveXObject("htmlfile");d.write("<body>"),d.close(),c=d.body}catch(e){c=createPopup().document.body}var f=c.createTextRange();bw=i(function(a){try{c.style.color=B(a).replace(b,z);var d=f.queryCommandValue("ForeColor");return d=(d&255)<<16|d&65280|(d&16711680)>>>16,"#"+("000000"+d.toString(16)).slice(-6)}catch(e){return"none"}})}else{var g=r.doc.createElement("i");g.title="Raphaël Colour Picker",g.style.display="none",r.doc.body.appendChild(g),bw=i(function(a){return g.style.color=a,r.doc.defaultView.getComputedStyle(g,z).getPropertyValue("color")})}return bw(a)},bx=function(){return"hsb("+[this.h,this.s,this.b]+")"},by=function(){return"hsl("+[this.h,this.s,this.l]+")"},bz=function(){return this.hex},bA=function(a,b,c){b==null&&k.is(a,"object")&&"r"in a&&"g"in a&&"b"in a&&(c=a.b,b=a.g,a=a.r);if(b==null&&k.is(a,N)){var d=k.getRGB(a);a=d.r,b=d.g,c=d.b}if(a>1||b>1||c>1)a/=255,b/=255,c/=255;return[a,b,c]},bB=function(a,b,c,d){a*=255,b*=255,c*=255;var e={r:a,g:b,b:c,hex:k.rgb(a,b,c),toString:bz};return k.is(d,"finite")&&(e.opacity=d),e};k.color=function(a){var b;return k.is(a,"object")&&"h"in a&&"s"in a&&"b"in a?(b=k.hsb2rgb(a),a.r=b.r,a.g=b.g,a.b=b.b,a.hex=b.hex):k.is(a,"object")&&"h"in a&&"s"in a&&"l"in a?(b=k.hsl2rgb(a),a.r=b.r,a.g=b.g,a.b=b.b,a.hex=b.hex):(k.is(a,"string")&&(a=k.getRGB(a)),k.is(a,"object")&&"r"in a&&"g"in a&&"b"in a?(b=k.rgb2hsl(a),a.h=b.h,a.s=b.s,a.l=b.l,b=k.rgb2hsb(a),a.v=b.b):(a={hex:"none"},a.r=a.g=a.b=a.h=a.s=a.v=a.l=-1)),a.toString=bz,a},k.hsb2rgb=function(a,b,c,d){this.is(a,"object")&&"h"in a&&"s"in a&&"b"in a&&(c=a.b,b=a.s,a=a.h,d=a.o),a*=360;var e,f,g,h,i;return a=a%360/60,i=c*b,h=i*(1-J(a%2-1)),e=f=g=c-i,a=~~a,e+=[i,h,0,0,h,i][a],f+=[h,i,i,h,0,0][a],g+=[0,0,h,i,i,h][a],bB(e,f,g,d)},k.hsl2rgb=function(a,b,c,d){this.is(a,"object")&&"h"in a&&"s"in a&&"l"in a&&(c=a.l,b=a.s,a=a.h);if(a>1||b>1||c>1)a/=360,b/=100,c/=100;a*=360;var e,f,g,h,i;return a=a%360/60,i=2*b*(c<.5?c:1-c),h=i*(1-J(a%2-1)),e=f=g=c-i/2,a=~~a,e+=[i,h,0,0,h,i][a],f+=[h,i,i,h,0,0][a],g+=[0,0,h,i,i,h][a],bB(e,f,g,d)},k.rgb2hsb=function(a,b,c){c=bA(a,b,c),a=c[0],b=c[1],c=c[2];var d,e,f,g;return f=H(a,b,c),g=f-I(a,b,c),d=g==0?null:f==a?(b-c)/g:f==b?(c-a)/g+2:(a-b)/g+4,d=(d+360)%6*60/360,e=g==0?0:g/f,{h:d,s:e,b:f,toString:bx}},k.rgb2hsl=function(a,b,c){c=bA(a,b,c),a=c[0],b=c[1],c=c[2];var d,e,f,g,h,i;return g=H(a,b,c),h=I(a,b,c),i=g-h,d=i==0?null:g==a?(b-c)/i:g==b?(c-a)/i+2:(a-b)/i+4,d=(d+360)%6*60/360,f=(g+h)/2,e=i==0?0:f<.5?i/(2*f):i/(2-2*f),{h:d,s:e,l:f,toString:by}},k._path2string=function(){return this.join(",").replace(bf,"$1")};var bC=k._preload=function(a,b){var c=r.doc.createElement("img");c.style.cssText="position:absolute;left:-9999em;top:-9999em",c.onload=function(){b.call(this),this.onload=null,r.doc.body.removeChild(this)},c.onerror=function(){r.doc.body.removeChild(this)},r.doc.body.appendChild(c),c.src=a};k.getRGB=i(function(a){if(!a||!!((a=B(a)).indexOf("-")+1))return{r:-1,g:-1,b:-1,hex:"none",error:1,toString:h};if(a=="none")return{r:-1,g:-1,b:-1,hex:"none",toString:h};!be[q](a.toLowerCase().substring(0,2))&&a.charAt()!="#"&&(a=bw(a));var b,c,d,e,f,g,i,j=a.match(V);return j?(j[2]&&(e=_(j[2].substring(5),16),d=_(j[2].substring(3,5),16),c=_(j[2].substring(1,3),16)),j[3]&&(e=_((g=j[3].charAt(3))+g,16),d=_((g=j[3].charAt(2))+g,16),c=_((g=j[3].charAt(1))+g,16)),j[4]&&(i=j[4][C](bd),c=$(i[0]),i[0].slice(-1)=="%"&&(c*=2.55),d=$(i[1]),i[1].slice(-1)=="%"&&(d*=2.55),e=$(i[2]),i[2].slice(-1)=="%"&&(e*=2.55),j[1].toLowerCase().slice(0,4)=="rgba"&&(f=$(i[3])),i[3]&&i[3].slice(-1)=="%"&&(f/=100)),j[5]?(i=j[5][C](bd),c=$(i[0]),i[0].slice(-1)=="%"&&(c*=2.55),d=$(i[1]),i[1].slice(-1)=="%"&&(d*=2.55),e=$(i[2]),i[2].slice(-1)=="%"&&(e*=2.55),(i[0].slice(-3)=="deg"||i[0].slice(-1)=="°")&&(c/=360),j[1].toLowerCase().slice(0,4)=="hsba"&&(f=$(i[3])),i[3]&&i[3].slice(-1)=="%"&&(f/=100),k.hsb2rgb(c,d,e,f)):j[6]?(i=j[6][C](bd),c=$(i[0]),i[0].slice(-1)=="%"&&(c*=2.55),d=$(i[1]),i[1].slice(-1)=="%"&&(d*=2.55),e=$(i[2]),i[2].slice(-1)=="%"&&(e*=2.55),(i[0].slice(-3)=="deg"||i[0].slice(-1)=="°")&&(c/=360),j[1].toLowerCase().slice(0,4)=="hsla"&&(f=$(i[3])),i[3]&&i[3].slice(-1)=="%"&&(f/=100),k.hsl2rgb(c,d,e,f)):(j={r:c,g:d,b:e,toString:h},j.hex="#"+(16777216|e|d<<8|c<<16).toString(16).slice(1),k.is(f,"finite")&&(j.opacity=f),j)):{r:-1,g:-1,b:-1,hex:"none",error:1,toString:h}},k),k.hsb=i(function(a,b,c){return k.hsb2rgb(a,b,c).hex}),k.hsl=i(function(a,b,c){return k.hsl2rgb(a,b,c).hex}),k.rgb=i(function(a,b,c){return"#"+(16777216|c|b<<8|a<<16).toString(16).slice(1)}),k.getColor=function(a){var b=this.getColor.start=this.getColor.start||{h:0,s:1,b:a||.75},c=this.hsb2rgb(b.h,b.s,b.b);return b.h+=.075,b.h>1&&(b.h=0,b.s-=.2,b.s<=0&&(this.getColor.start={h:0,s:1,b:b.b})),c.hex},k.getColor.reset=function(){delete this.start},k.parsePathString=i(function(a){if(!a)return null;var b={a:7,c:6,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,z:0},c=[];return k.is(a,O)&&k.is(a[0],O)&&(c=bE(a)),c.length||B(a).replace(bg,function(a,d,e){var f=[],g=d.toLowerCase();e.replace(bi,function(a,b){b&&f.push(+b)}),g=="m"&&f.length>2&&(c.push([d][x](f.splice(0,2))),g="l",d=d=="m"?"l":"L");if(g=="r")c.push([d][x](f));else while(f.length>=b[g]){c.push([d][x](f.splice(0,b[g])));if(!b[g])break}}),c.toString=k._path2string,c}),k.parseTransformString=i(function(a){if(!a)return null;var b={r:3,s:4,t:2,m:6},c=[];return k.is(a,O)&&k.is(a[0],O)&&(c=bE(a)),c.length||B(a).replace(bh,function(a,b,d){var e=[],f=F.call(b);d.replace(bi,function(a,b){b&&e.push(+b)}),c.push([b][x](e))}),c.toString=k._path2string,c}),k.findDotsAtSegment=function(a,b,c,d,e,f,g,h,i){var j=1-i,k=K(j,3),l=K(j,2),m=i*i,n=m*i,o=k*a+l*3*i*c+j*3*i*i*e+n*g,p=k*b+l*3*i*d+j*3*i*i*f+n*h,q=a+2*i*(c-a)+m*(e-2*c+a),r=b+2*i*(d-b)+m*(f-2*d+b),s=c+2*i*(e-c)+m*(g-2*e+c),t=d+2*i*(f-d)+m*(h-2*f+d),u=j*a+i*c,v=j*b+i*d,w=j*e+i*g,x=j*f+i*h,y=90-G.atan2(q-s,r-t)*180/L;return(q>s||r<t)&&(y+=180),{x:o,y:p,m:{x:q,y:r},n:{x:s,y:t},start:{x:u,y:v},end:{x:w,y:x},alpha:y}},k._removedFactory=function(a){return function(){throw new Error("Raphaël: you are calling to method “"+a+"” of removed object")}};var bD=i(function(a){if(!a)return{x:0,y:0,width:0,height:0};a=bM(a);var b=0,c=0,d=[],e=[],f;for(var g=0,h=a.length;g<h;g++){f=a[g];if(f[0]=="M")b=f[1],c=f[2],d.push(b),e.push(c);else{var i=bL(b,c,f[1],f[2],f[3],f[4],f[5],f[6]);d=d[x](i.min.x,i.max.x),e=e[x](i.min.y,i.max.y),b=f[5],c=f[6]}}var j=I[w](0,d),k=I[w](0,e);return{x:j,y:k,width:H[w](0,d)-j,height:H[w](0,e)-k}},null,function(a){return{x:a.x,y:a.y,width:a.width,height:a.height}}),bE=function(a){var b=[];if(!k.is(a,O)||!k.is(a&&a[0],O))a=k.parsePathString(a);for(var c=0,d=a.length;c<d;c++){b[c]=[];for(var e=0,f=a[c].length;e<f;e++)b[c][e]=a[c][e]}return b.toString=k._path2string,b},bF=k._pathToRelative=i(function(a){if(!k.is(a,O)||!k.is(a&&a[0],O))a=k.parsePathString(a);var b=[],c=0,d=0,e=0,f=0,g=0;a[0][0]=="M"&&(c=a[0][1],d=a[0][2],e=c,f=d,g++,b.push(["M",c,d]));for(var h=g,i=a.length;h<i;h++){var j=b[h]=[],l=a[h];if(l[0]!=F.call(l[0])){j[0]=F.call(l[0]);switch(j[0]){case"a":j[1]=l[1],j[2]=l[2],j[3]=l[3],j[4]=l[4],j[5]=l[5],j[6]=+(l[6]-c).toFixed(3),j[7]=+(l[7]-d).toFixed(3);break;case"v":j[1]=+(l[1]-d).toFixed(3);break;case"m":e=l[1],f=l[2];default:for(var m=1,n=l.length;m<n;m++)j[m]=+(l[m]-(m%2?c:d)).toFixed(3)}}else{j=b[h]=[],l[0]=="m"&&(e=l[1]+c,f=l[2]+d);for(var o=0,p=l.length;o<p;o++)b[h][o]=l[o]}var q=b[h].length;switch(b[h][0]){case"z":c=e,d=f;break;case"h":c+=+b[h][q-1];break;case"v":d+=+b[h][q-1];break;default:c+=+b[h][q-2],d+=+b[h][q-1]}}return b.toString=k._path2string,b},0,bE),bG=k._pathToAbsolute=i(function(a){if(!k.is(a,O)||!k.is(a&&a[0],O))a=k.parsePathString(a);if(!a||!a.length)return[["M",0,0]];var b=[],c=0,d=0,e=0,f=0,h=0;a[0][0]=="M"&&(c=+a[0][1],d=+a[0][2],e=c,f=d,h++,b[0]=["M",c,d]);for(var i,j,l=h,m=a.length;l<m;l++){b.push(i=[]),j=a[l];if(j[0]!=ba.call(j[0])){i[0]=ba.call(j[0]);switch(i[0]){case"A":i[1]=j[1],i[2]=j[2],i[3]=j[3],i[4]=j[4],i[5]=j[5],i[6]=+(j[6]+c),i[7]=+(j[7]+d);break;case"V":i[1]=+j[1]+d;break;case"H":i[1]=+j[1]+c;break;case"R":var n=[c,d][x](j.slice(1));for(var o=2,p=n.length;o<p;o++)n[o]=+n[o]+c,n[++o]=+n[o]+d;b.pop(),b=b[x](g(n));break;case"M":e=+j[1]+c,f=+j[2]+d;default:for(o=1,p=j.length;o<p;o++)i[o]=+j[o]+(o%2?c:d)}}else if(j[0]=="R")n=[c,d][x](j.slice(1)),b.pop(),b=b[x](g(n)),i=["R"][x](j.slice(-2));else for(var q=0,r=j.length;q<r;q++)i[q]=j[q];switch(i[0]){case"Z":c=e,d=f;break;case"H":c=i[1];break;case"V":d=i[1];break;case"M":e=i[i.length-2],f=i[i.length-1];default:c=i[i.length-2],d=i[i.length-1]}}return b.toString=k._path2string,b},null,bE),bH=function(a,b,c,d){return[a,b,c,d,c,d]},bI=function(a,b,c,d,e,f){var g=1/3,h=2/3;return[g*a+h*c,g*b+h*d,g*e+h*c,g*f+h*d,e,f]},bJ=function(a,b,c,d,e,f,g,h,j,k){var l=L*120/180,m=L/180*(+e||0),n=[],o,p=i(function(a,b,c){var d=a*G.cos(c)-b*G.sin(c),e=a*G.sin(c)+b*G.cos(c);return{x:d,y:e}});if(!k){o=p(a,b,-m),a=o.x,b=o.y,o=p(h,j,-m),h=o.x,j=o.y;var q=G.cos(L/180*e),r=G.sin(L/180*e),s=(a-h)/2,t=(b-j)/2,u=s*s/(c*c)+t*t/(d*d);u>1&&(u=G.sqrt(u),c=u*c,d=u*d);var v=c*c,w=d*d,y=(f==g?-1:1)*G.sqrt(J((v*w-v*t*t-w*s*s)/(v*t*t+w*s*s))),z=y*c*t/d+(a+h)/2,A=y*-d*s/c+(b+j)/2,B=G.asin(((b-A)/d).toFixed(9)),D=G.asin(((j-A)/d).toFixed(9));B=a<z?L-B:B,D=h<z?L-D:D,B<0&&(B=L*2+B),D<0&&(D=L*2+D),g&&B>D&&(B-=L*2),!g&&D>B&&(D-=L*2)}else B=k[0],D=k[1],z=k[2],A=k[3];var E=D-B;if(J(E)>l){var F=D,H=h,I=j;D=B+l*(g&&D>B?1:-1),h=z+c*G.cos(D),j=A+d*G.sin(D),n=bJ(h,j,c,d,e,0,g,H,I,[D,F,z,A])}E=D-B;var K=G.cos(B),M=G.sin(B),N=G.cos(D),O=G.sin(D),P=G.tan(E/4),Q=4/3*c*P,R=4/3*d*P,S=[a,b],T=[a+Q*M,b-R*K],U=[h+Q*O,j-R*N],V=[h,j];T[0]=2*S[0]-T[0],T[1]=2*S[1]-T[1];if(k)return[T,U,V][x](n);n=[T,U,V][x](n).join()[C](",");var W=[];for(var X=0,Y=n.length;X<Y;X++)W[X]=X%2?p(n[X-1],n[X],m).y:p(n[X],n[X+1],m).x;return W},bK=function(a,b,c,d,e,f,g,h,i){var j=1-i;return{x:K(j,3)*a+K(j,2)*3*i*c+j*3*i*i*e+K(i,3)*g,y:K(j,3)*b+K(j,2)*3*i*d+j*3*i*i*f+K(i,3)*h}},bL=i(function(a,b,c,d,e,f,g,h){var i=e-2*c+a-(g-2*e+c),j=2*(c-a)-2*(e-c),k=a-c,l=(-j+G.sqrt(j*j-4*i*k))/2/i,m=(-j-G.sqrt(j*j-4*i*k))/2/i,n=[b,h],o=[a,g],p;return J(l)>"1e12"&&(l=.5),J(m)>"1e12"&&(m=.5),l>0&&l<1&&(p=bK(a,b,c,d,e,f,g,h,l),o.push(p.x),n.push(p.y)),m>0&&m<1&&(p=bK(a,b,c,d,e,f,g,h,m),o.push(p.x),n.push(p.y)),i=f-2*d+b-(h-2*f+d),j=2*(d-b)-2*(f-d),k=b-d,l=(-j+G.sqrt(j*j-4*i*k))/2/i,m=(-j-G.sqrt(j*j-4*i*k))/2/i,J(l)>"1e12"&&(l=.5),J(m)>"1e12"&&(m=.5),l>0&&l<1&&(p=bK(a,b,c,d,e,f,g,h,l),o.push(p.x),n.push(p.y)),m>0&&m<1&&(p=bK(a,b,c,d,e,f,g,h,m),o.push(p.x),n.push(p.y)),{min:{x:I[w](0,o),y:I[w](0,n)},max:{x:H[w](0,o),y:H[w](0,n)}}}),bM=k._path2curve=i(function(a,b){var c=bG(a),d=b&&bG(b),e={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},f={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},g=function(a,b){var c,d;if(!a)return["C",b.x,b.y,b.x,b.y,b.x,b.y];!(a[0]in{T:1,Q:1})&&(b.qx=b.qy=null);switch(a[0]){case"M":b.X=a[1],b.Y=a[2];break;case"A":a=["C"][x](bJ[w](0,[b.x,b.y][x](a.slice(1))));break;case"S":c=b.x+(b.x-(b.bx||b.x)),d=b.y+(b.y-(b.by||b.y)),a=["C",c,d][x](a.slice(1));break;case"T":b.qx=b.x+(b.x-(b.qx||b.x)),b.qy=b.y+(b.y-(b.qy||b.y)),a=["C"][x](bI(b.x,b.y,b.qx,b.qy,a[1],a[2]));break;case"Q":b.qx=a[1],b.qy=a[2],a=["C"][x](bI(b.x,b.y,a[1],a[2],a[3],a[4]));break;case"L":a=["C"][x](bH(b.x,b.y,a[1],a[2]));break;case"H":a=["C"][x](bH(b.x,b.y,a[1],b.y));break;case"V":a=["C"][x](bH(b.x,b.y,b.x,a[1]));break;case"Z":a=["C"][x](bH(b.x,b.y,b.X,b.Y))}return a},h=function(a,b){if(a[b].length>7){a[b].shift();var e=a[b];while(e.length)a.splice(b++,0,["C"][x](e.splice(0,6)));a.splice(b,1),k=H(c.length,d&&d.length||0)}},i=function(a,b,e,f,g){a&&b&&a[g][0]=="M"&&b[g][0]!="M"&&(b.splice(g,0,["M",f.x,f.y]),e.bx=0,e.by=0,e.x=a[g][1],e.y=a[g][2],k=H(c.length,d&&d.length||0))};for(var j=0,k=H(c.length,d&&d.length||0);j<k;j++){c[j]=g(c[j],e),h(c,j),d&&(d[j]=g(d[j],f)),d&&h(d,j),i(c,d,e,f,j),i(d,c,f,e,j);var l=c[j],m=d&&d[j],n=l.length,o=d&&m.length;e.x=l[n-2],e.y=l[n-1],e.bx=$(l[n-4])||e.x,e.by=$(l[n-3])||e.y,f.bx=d&&($(m[o-4])||f.x),f.by=d&&($(m[o-3])||f.y),f.x=d&&m[o-2],f.y=d&&m[o-1]}return d?[c,d]:c},null,bE),bN=k._parseDots=i(function(a){var b=[];for(var c=0,d=a.length;c<d;c++){var e={},f=a[c].match(/^([^:]*):?([\d\.]*)/);e.color=k.getRGB(f[1]);if(e.color.error)return null;e.color=e.color.hex,f[2]&&(e.offset=f[2]+"%"),b.push(e)}for(c=1,d=b.length-1;c<d;c++)if(!b[c].offset){var g=$(b[c-1].offset||0),h=0;for(var i=c+1;i<d;i++)if(b[i].offset){h=b[i].offset;break}h||(h=100,i=d),h=$(h);var j=(h-g)/(i-c+1);for(;c<i;c++)g+=j,b[c].offset=g+"%"}return b}),bO=k._tear=function(a,b){a==b.top&&(b.top=a.prev),a==b.bottom&&(b.bottom=a.next),a.next&&(a.next.prev=a.prev),a.prev&&(a.prev.next=a.next)},bP=k._tofront=function(a,b){b.top!==a&&(bO(a,b),a.next=null,a.prev=b.top,b.top.next=a,b.top=a)},bQ=k._toback=function(a,b){b.bottom!==a&&(bO(a,b),a.next=b.bottom,a.prev=null,b.bottom.prev=a,b.bottom=a)},bR=k._insertafter=function(a,b,c){bO(a,c),b==c.top&&(c.top=a),b.next&&(b.next.prev=a),a.next=b.next,a.prev=b,b.next=a},bS=k._insertbefore=function(a,b,c){bO(a,c),b==c.bottom&&(c.bottom=a),b.prev&&(b.prev.next=a),a.prev=b.prev,b.prev=a,a.next=b},bT=k._extractTransform=function(a,b){if(b==null)return a._.transform;b=B(b).replace(/\.{3}|\u2026/g,a._.transform||z);var c=k.parseTransformString(b),d=0,e=0,g=0,h=1,i=1,j=a._,l=new f;j.transform=c||[];if(c)for(var m=0,n=c.length;m<n;m++){var o=c[m],p=o.length,q=B(o[0]).toLowerCase(),r=o[0]!=q,s=r?l.invert():0,t,u,v,w,x;q=="t"&&p==3?r?(t=s.x(0,0),u=s.y(0,0),v=s.x(o[1],o[2]),w=s.y(o[1],o[2]),l.translate(v-t,w-u)):l.translate(o[1],o[2]):q=="r"?p==2?(x=x||a.getBBox(1),l.rotate(o[1],x.x+x.width/2,x.y+x.height/2),d+=o[1]):p==4&&(r?(v=s.x(o[2],o[3]),w=s.y(o[2],o[3]),l.rotate(o[1],v,w)):l.rotate(o[1],o[2],o[3]),d+=o[1]):q=="s"?p==2||p==3?(x=x||a.getBBox(1),l.scale(o[1],o[p-1],x.x+x.width/2,x.y+x.height/2),h*=o[1],i*=o[p-1]):p==5&&(r?(v=s.x(o[3],o[4]),w=s.y(o[3],o[4]),l.scale(o[1],o[2],v,w)):l.scale(o[1],o[2],o[3],o[4]),h*=o[1],i*=o[2]):q=="m"&&p==7&&l.add(o[1],o[2],o[3],o[4],o[5],o[6]),j.dirtyT=1,a.matrix=l}a.matrix=l,j.sx=h,j.sy=i,j.deg=d,j.dx=e=l.e,j.dy=g=l.f,h==1&&i==1&&!d&&j.bbox?(j.bbox.x+=+e,j.bbox.y+=+g):j.dirtyT=1},bU=function(a){var b=a[0];switch(b.toLowerCase()){case"t":return[b,0,0];case"m":return[b,1,0,0,1,0,0];case"r":return a.length==4?[b,0,a[2],a[3]]:[b,0];case"s":return a.length==5?[b,1,1,a[3],a[4]]:a.length==3?[b,1,1]:[b,1]}},bV=k._equaliseTransform=function(a,b){b=B(b).replace(/\.{3}|\u2026/g,a),a=k.parseTransformString(a)||[],b=k.parseTransformString(b)||[];var c=H(a.length,b.length),d=[],e=[],f=0,g,h,i,j;for(;f<c;f++){i=a[f]||bU(b[f]),j=b[f]||bU(i);if(i[0]!=j[0]||i[0].toLowerCase()=="r"&&(i[2]!=j[2]||i[3]!=j[3])||i[0].toLowerCase()=="s"&&(i[3]!=j[3]||i[4]!=j[4]))return;d[f]=[],e[f]=[];for(g=0,h=H(i.length,j.length);g<h;g++)g in i&&(d[f][g]=i[g]),g in j&&(e[f][g]=j[g])}return{from:d,to:e}};k._getContainer=function(a,b,c,d){var e;e=d==null&&!k.is(a,"object")?r.doc.getElementById(a):a;if(e!=null)return e.tagName?b==null?{container:e,width:e.style.pixelWidth||e.offsetWidth,height:e.style.pixelHeight||e.offsetHeight}:{container:e,width:b,height:c}:{container:1,x:a,y:b,width:c,height:d}},k.pathToRelative=bF,k._engine={},k.path2curve=bM,k.matrix=function(a,b,c,d,e,g){return new f(a,b,c,d,e,g)},function(a){function b(a){var b=G.sqrt(c(a));a[0]&&(a[0]/=b),a[1]&&(a[1]/=b)}function c(a){return a[0]*a[0]+a[1]*a[1]}a.add=function(a,b,c,d,e,g){var h=[[],[],[]],i=[[this.a,this.c,this.e],[this.b,this.d,this.f],[0,0,1]],j=[[a,c,e],[b,d,g],[0,0,1]],k,l,m,n;a&&a instanceof f&&(j=[[a.a,a.c,a.e],[a.b,a.d,a.f],[0,0,1]]);for(k=0;k<3;k++)for(l=0;l<3;l++){n=0;for(m=0;m<3;m++)n+=i[k][m]*j[m][l];h[k][l]=n}this.a=h[0][0],this.b=h[1][0],this.c=h[0][1],this.d=h[1][1],this.e=h[0][2],this.f=h[1][2]},a.invert=function(){var a=this,b=a.a*a.d-a.b*a.c;return new f(a.d/b,-a.b/b,-a.c/b,a.a/b,(a.c*a.f-a.d*a.e)/b,(a.b*a.e-a.a*a.f)/b)},a.clone=function(){return new f(this.a,this.b,this.c,this.d,this.e,this.f)},a.translate=function(a,b){this.add(1,0,0,1,a,b)},a.scale=function(a,b,c,d){b==null&&(b=a),(c||d)&&this.add(1,0,0,1,c,d),this.add(a,0,0,b,0,0),(c||d)&&this.add(1,0,0,1,-c,-d)},a.rotate=function(a,b,c){a=k.rad(a),b=b||0,c=c||0;var d=+G.cos(a).toFixed(9),e=+G.sin(a).toFixed(9);this.add(d,e,-e,d,b,c),this.add(1,0,0,1,-b,-c)},a.x=function(a,b){return a*this.a+b*this.c+this.e},a.y=function(a,b){return a*this.b+b*this.d+this.f},a.get=function(a){return+this[B.fromCharCode(97+a)].toFixed(4)},a.toString=function(){return k.svg?"matrix("+[this.get(0),this.get(1),this.get(2),this.get(3),this.get(4),this.get(5)].join()+")":[this.get(0),this.get(2),this.get(1),this.get(3),0,0].join()},a.toFilter=function(){return"progid:DXImageTransform.Microsoft.Matrix(M11="+this.get(0)+", M12="+this.get(2)+", M21="+this.get(1)+", M22="+this.get(3)+", Dx="+this.get(4)+", Dy="+this.get(5)+", sizingmethod='auto expand')"},a.offset=function(){return[this.e.toFixed(4),this.f.toFixed(4)]},a.split=function(){var a={};a.dx=this.e,a.dy=this.f;var d=[[this.a,this.c],[this.b,this.d]];a.scalex=G.sqrt(c(d[0])),b(d[0]),a.shear=d[0][0]*d[1][0]+d[0][1]*d[1][1],d[1]=[d[1][0]-d[0][0]*a.shear,d[1][1]-d[0][1]*a.shear],a.scaley=G.sqrt(c(d[1])),b(d[1]),a.shear/=a.scaley;var e=-d[0][1],f=d[1][1];return f<0?(a.rotate=k.deg(G.acos(f)),e<0&&(a.rotate=360-a.rotate)):a.rotate=k.deg(G.asin(e)),a.isSimple=!+a.shear.toFixed(9)&&(a.scalex.toFixed(9)==a.scaley.toFixed(9)||!a.rotate),a.isSuperSimple=!+a.shear.toFixed(9)&&a.scalex.toFixed(9)==a.scaley.toFixed(9)&&!a.rotate,a.noRotation=!+a.shear.toFixed(9)&&!a.rotate,a},a.toTransformString=function(a){var b=a||this[C]();return b.isSimple?(b.scalex=+b.scalex.toFixed(4),b.scaley=+b.scaley.toFixed(4),b.rotate=+b.rotate.toFixed(4),(b.dx&&b.dy?"t"+[b.dx,b.dy]:z)+(b.scalex!=1||b.scaley!=1?"s"+[b.scalex,b.scaley,0,0]:z)+(b.rotate?"r"+[b.rotate,0,0]:z)):"m"+[this.get(0),this.get(1),this.get(2),this.get(3),this.get(4),this.get(5)]}}(f.prototype);var bW=navigator.userAgent.match(/Version\/(.*?)\s/)||navigator.userAgent.match(/Chrome\/(\d+)/);navigator.vendor=="Apple Computer, Inc."&&(bW&&bW[1]<4||navigator.platform.slice(0,2)=="iP")||navigator.vendor=="Google Inc."&&bW&&bW[1]<8?u.safari=function(){var a=this.rect(-99,-99,this.width+99,this.height+99).attr({stroke:"none"});setTimeout(function(){a.remove()})}:u.safari=bn;var bX=function(){this.returnValue=!1},bY=function(){return this.originalEvent.preventDefault()},bZ=function(){this.cancelBubble=!0},b$=function(){return this.originalEvent.stopPropagation()},b_=function(){if(r.doc.addEventListener)return function(a,b,c,d){var e=y&&E[b]?E[b]:b,f=function(e){var f=r.doc.documentElement.scrollTop||r.doc.body.scrollTop,g=r.doc.documentElement.scrollLeft||r.doc.body.scrollLeft,h=e.clientX+g,i=e.clientY+f;if(y&&E[q](b))for(var j=0,k=e.targetTouches&&e.targetTouches.length;j<k;j++)if(e.targetTouches[j].target==a){var l=e;e=e.targetTouches[j],e.originalEvent=l,e.preventDefault=bY,e.stopPropagation=b$;break}return c.call(d,e,h,i)};return a.addEventListener(e,f,!1),function(){return a.removeEventListener(e,f,!1),!0}};if(r.doc.attachEvent)return function(a,b,c,d){var e=function(a){a=a||r.win.event;var b=r.doc.documentElement.scrollTop||r.doc.body.scrollTop,e=r.doc.documentElement.scrollLeft||r.doc.body.scrollLeft,f=a.clientX+e,g=a.clientY+b;return a.preventDefault=a.preventDefault||bX,a.stopPropagation=a.stopPropagation||bZ,c.call(d,a,f,g)};a.attachEvent("on"+b,e);var f=function(){return a.detachEvent("on"+b,e),!0};return f}}(),ca=[],cb=function(a){var b=a.clientX,c=a.clientY,d=r.doc.documentElement.scrollTop||r.doc.body.scrollTop,e=r.doc.documentElement.scrollLeft||r.doc.body.scrollLeft,f,g=ca.length;while(g--){f=ca[g];if(y){var h=a.touches.length,i;while(h--){i=a.touches[h];if(i.identifier==f.el._drag.id){b=i.clientX,c=i.clientY,(a.originalEvent?a.originalEvent:a).preventDefault();break}}}else a.preventDefault();var j=f.el.node,k,l=j.nextSibling,m=j.parentNode,n=j.style.display;r.win.opera&&m.removeChild(j),j.style.display="none",k=f.el.paper.getElementByPoint(b,c),j.style.display=n,r.win.opera&&(l?m.insertBefore(j,l):m.appendChild(j)),k&&eve("drag.over."+f.el.id,f.el,k),b+=e,c+=d,eve("drag.move."+f.el.id,f.move_scope||f.el,b-f.el._drag.x,c-f.el._drag.y,b,c,a)}},cc=function(a){k.unmousemove(cb).unmouseup(cc);var b=ca.length,c;while(b--)c=ca[b],c.el._drag={},eve("drag.end."+c.el.id,c.end_scope||c.start_scope||c.move_scope||c.el,a);ca=[]},cd=k.el={};for(var ce=D.length;ce--;)(function(a){k[a]=cd[a]=function(b,c){return k.is(b,"function"
)&&(this.events=this.events||[],this.events.push({name:a,f:b,unbind:b_(this.shape||this.node||r.doc,a,b,c||this)})),this},k["un"+a]=cd["un"+a]=function(b){var c=this.events,d=c.length;while(d--)if(c[d].name==a&&c[d].f==b)return c[d].unbind(),c.splice(d,1),!c.length&&delete this.events,this;return this}})(D[ce]);cd.data=function(a,b){var c=bk[this.id]=bk[this.id]||{};if(arguments.length==1){if(k.is(a,"object")){for(var d in a)a[q](d)&&this.data(d,a[d]);return this}return eve("data.get."+this.id,this,c[a],a),c[a]}return c[a]=b,eve("data.set."+this.id,this,b,a),this},cd.removeData=function(a){return a==null?bk[this.id]={}:bk[this.id]&&delete bk[this.id][a],this},cd.hover=function(a,b,c,d){return this.mouseover(a,c).mouseout(b,d||c)},cd.unhover=function(a,b){return this.unmouseover(a).unmouseout(b)};var cf=[];cd.drag=function(a,b,c,d,e,f){function g(g){(g.originalEvent||g).preventDefault();var h=r.doc.documentElement.scrollTop||r.doc.body.scrollTop,i=r.doc.documentElement.scrollLeft||r.doc.body.scrollLeft;this._drag.x=g.clientX+i,this._drag.y=g.clientY+h,this._drag.id=g.identifier,!ca.length&&k.mousemove(cb).mouseup(cc),ca.push({el:this,move_scope:d,start_scope:e,end_scope:f}),b&&eve.on("drag.start."+this.id,b),a&&eve.on("drag.move."+this.id,a),c&&eve.on("drag.end."+this.id,c),eve("drag.start."+this.id,e||d||this,g.clientX+i,g.clientY+h,g)}return this._drag={},cf.push({el:this,start:g}),this.mousedown(g),this},cd.onDragOver=function(a){a?eve.on("drag.over."+this.id,a):eve.unbind("drag.over."+this.id)},cd.undrag=function(){var a=cf.length;while(a--)cf[a].el==this&&(this.unmousedown(cf[a].start),cf.splice(a,1),eve.unbind("drag.*."+this.id));!cf.length&&k.unmousemove(cb).unmouseup(cc)},u.circle=function(a,b,c){var d=k._engine.circle(this,a||0,b||0,c||0);return this.__set__&&this.__set__.push(d),d},u.rect=function(a,b,c,d,e){var f=k._engine.rect(this,a||0,b||0,c||0,d||0,e||0);return this.__set__&&this.__set__.push(f),f},u.ellipse=function(a,b,c,d){var e=k._engine.ellipse(this,a||0,b||0,c||0,d||0);return this.__set__&&this.__set__.push(e),e},u.path=function(a){a&&!k.is(a,N)&&!k.is(a[0],O)&&(a+=z);var b=k._engine.path(k.format[w](k,arguments),this);return this.__set__&&this.__set__.push(b),b},u.image=function(a,b,c,d,e){var f=k._engine.image(this,a||"about:blank",b||0,c||0,d||0,e||0);return this.__set__&&this.__set__.push(f),f},u.text=function(a,b,c){var d=k._engine.text(this,a||0,b||0,B(c));return this.__set__&&this.__set__.push(d),d},u.set=function(a){!k.is(a,"array")&&(a=Array.prototype.splice.call(arguments,0,arguments.length));var b=new cs(a);return this.__set__&&this.__set__.push(b),b},u.setStart=function(a){this.__set__=a||this.set()},u.setFinish=function(a){var b=this.__set__;return delete this.__set__,b},u.setSize=function(a,b){return k._engine.setSize.call(this,a,b)},u.setViewBox=function(a,b,c,d,e){return k._engine.setViewBox.call(this,a,b,c,d,e)},u.top=u.bottom=null,u.raphael=k;var cg=function(a){var b=a.getBoundingClientRect(),c=a.ownerDocument,d=c.body,e=c.documentElement,f=e.clientTop||d.clientTop||0,g=e.clientLeft||d.clientLeft||0,h=b.top+(r.win.pageYOffset||e.scrollTop||d.scrollTop)-f,i=b.left+(r.win.pageXOffset||e.scrollLeft||d.scrollLeft)-g;return{y:h,x:i}};u.getElementByPoint=function(a,b){var c=this,d=c.canvas,e=r.doc.elementFromPoint(a,b);if(r.win.opera&&e.tagName=="svg"){var f=cg(d),g=d.createSVGRect();g.x=a-f.x,g.y=b-f.y,g.width=g.height=1;var h=d.getIntersectionList(g,null);h.length&&(e=h[h.length-1])}if(!e)return null;while(e.parentNode&&e!=d.parentNode&&!e.raphael)e=e.parentNode;return e==c.canvas.parentNode&&(e=d),e=e&&e.raphael?c.getById(e.raphaelid):null,e},u.getById=function(a){var b=this.bottom;while(b){if(b.id==a)return b;b=b.next}return null},u.forEach=function(a,b){var c=this.bottom;while(c){if(a.call(b,c)===!1)return this;c=c.next}return this},cd.getBBox=function(a){if(this.removed)return{};var b=this._;if(a){if(b.dirty||!b.bboxwt)this.realPath=br[this.type](this),b.bboxwt=bD(this.realPath),b.bboxwt.toString=d,b.dirty=0;return b.bboxwt}if(b.dirty||b.dirtyT||!b.bbox){if(b.dirty||!this.realPath)b.bboxwt=0,this.realPath=br[this.type](this);b.bbox=bD(bs(this.realPath,this.matrix)),b.bbox.toString=d,b.dirty=b.dirtyT=0}return b.bbox},cd.clone=function(){if(this.removed)return null;var a=this.paper[this.type]().attr(this.attr());return this.__set__&&this.__set__.push(a),a},cd.glow=function(a){if(this.type=="text")return null;a=a||{};var b={width:(a.width||10)+(+this.attr("stroke-width")||1),fill:a.fill||!1,opacity:a.opacity||.5,offsetx:a.offsetx||0,offsety:a.offsety||0,color:a.color||"#000"},c=b.width/2,d=this.paper,e=d.set(),f=this.realPath||br[this.type](this);f=this.matrix?bs(f,this.matrix):f;for(var g=1;g<c+1;g++)e.push(d.path(f).attr({stroke:b.color,fill:b.fill?b.color:"none","stroke-linejoin":"round","stroke-linecap":"round","stroke-width":+(b.width/c*g).toFixed(3),opacity:+(b.opacity/c).toFixed(3)}));return e.insertBefore(this).translate(b.offsetx,b.offsety)};var ch={},ci=function(a,b,c,d,e,f,g,h,i){var j=0,l=100,m=[a,b,c,d,e,f,g,h].join(),n=ch[m],o,p;!n&&(ch[m]=n={data:[]}),n.timer&&clearTimeout(n.timer),n.timer=setTimeout(function(){delete ch[m]},2e3);if(i!=null&&!n.precision){var q=ci(a,b,c,d,e,f,g,h);n.precision=~~q*10,n.data=[]}l=n.precision||l;for(var r=0;r<l+1;r++){n.data[r*l]?p=n.data[r*l]:(p=k.findDotsAtSegment(a,b,c,d,e,f,g,h,r/l),n.data[r*l]=p),r&&(j+=K(K(o.x-p.x,2)+K(o.y-p.y,2),.5));if(i!=null&&j>=i)return p;o=p}if(i==null)return j},cj=function(a,b){return function(c,d,e){c=bM(c);var f,g,h,i,j="",l={},m,n=0;for(var o=0,p=c.length;o<p;o++){h=c[o];if(h[0]=="M")f=+h[1],g=+h[2];else{i=ci(f,g,h[1],h[2],h[3],h[4],h[5],h[6]);if(n+i>d){if(b&&!l.start){m=ci(f,g,h[1],h[2],h[3],h[4],h[5],h[6],d-n),j+=["C"+m.start.x,m.start.y,m.m.x,m.m.y,m.x,m.y];if(e)return j;l.start=j,j=["M"+m.x,m.y+"C"+m.n.x,m.n.y,m.end.x,m.end.y,h[5],h[6]].join(),n+=i,f=+h[5],g=+h[6];continue}if(!a&&!b)return m=ci(f,g,h[1],h[2],h[3],h[4],h[5],h[6],d-n),{x:m.x,y:m.y,alpha:m.alpha}}n+=i,f=+h[5],g=+h[6]}j+=h.shift()+h}return l.end=j,m=a?n:b?l:k.findDotsAtSegment(f,g,h[0],h[1],h[2],h[3],h[4],h[5],1),m.alpha&&(m={x:m.x,y:m.y,alpha:m.alpha}),m}},ck=cj(1),cl=cj(),cm=cj(0,1);k.getTotalLength=ck,k.getPointAtLength=cl,k.getSubpath=function(a,b,c){if(this.getTotalLength(a)-c<1e-6)return cm(a,b).end;var d=cm(a,c,1);return b?cm(d,b).end:d},cd.getTotalLength=function(){if(this.type=="path")return this.node.getTotalLength?this.node.getTotalLength():ck(this.attrs.path)},cd.getPointAtLength=function(a){if(this.type=="path")return cl(this.attrs.path,a)},cd.getSubpath=function(a,b){if(this.type=="path")return k.getSubpath(this.attrs.path,a,b)};var cn=k.easing_formulas={linear:function(a){return a},"<":function(a){return K(a,1.7)},">":function(a){return K(a,.48)},"<>":function(a){var b=.48-a/1.04,c=G.sqrt(.1734+b*b),d=c-b,e=K(J(d),1/3)*(d<0?-1:1),f=-c-b,g=K(J(f),1/3)*(f<0?-1:1),h=e+g+.5;return(1-h)*3*h*h+h*h*h},backIn:function(a){var b=1.70158;return a*a*((b+1)*a-b)},backOut:function(a){a-=1;var b=1.70158;return a*a*((b+1)*a+b)+1},elastic:function(a){return a==!!a?a:K(2,-10*a)*G.sin((a-.075)*2*L/.3)+1},bounce:function(a){var b=7.5625,c=2.75,d;return a<1/c?d=b*a*a:a<2/c?(a-=1.5/c,d=b*a*a+.75):a<2.5/c?(a-=2.25/c,d=b*a*a+.9375):(a-=2.625/c,d=b*a*a+.984375),d}};cn.easeIn=cn["ease-in"]=cn["<"],cn.easeOut=cn["ease-out"]=cn[">"],cn.easeInOut=cn["ease-in-out"]=cn["<>"],cn["back-in"]=cn.backIn,cn["back-out"]=cn.backOut;var co=[],cp=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(a){setTimeout(a,16)},cq=function(){var b=+(new Date),c=0;for(;c<co.length;c++){var d=co[c];if(d.el.removed||d.paused)continue;var e=b-d.start,f=d.ms,g=d.easing,h=d.from,i=d.diff,j=d.to,l=d.t,m=d.el,n={},o,p={},r;d.initstatus?(e=(d.initstatus*d.anim.top-d.prev)/(d.percent-d.prev)*f,d.status=d.initstatus,delete d.initstatus,d.stop&&co.splice(c--,1)):d.status=(d.prev+(d.percent-d.prev)*(e/f))/d.anim.top;if(e<0)continue;if(e<f){var s=g(e/f);for(var t in h)if(h[q](t)){switch(bc[t]){case M:o=+h[t]+s*f*i[t];break;case"colour":o="rgb("+[cr(Y(h[t].r+s*f*i[t].r)),cr(Y(h[t].g+s*f*i[t].g)),cr(Y(h[t].b+s*f*i[t].b))].join(",")+")";break;case"path":o=[];for(var u=0,v=h[t].length;u<v;u++){o[u]=[h[t][u][0]];for(var w=1,y=h[t][u].length;w<y;w++)o[u][w]=+h[t][u][w]+s*f*i[t][u][w];o[u]=o[u].join(A)}o=o.join(A);break;case"transform":if(i[t].real){o=[];for(u=0,v=h[t].length;u<v;u++){o[u]=[h[t][u][0]];for(w=1,y=h[t][u].length;w<y;w++)o[u][w]=h[t][u][w]+s*f*i[t][u][w]}}else{var z=function(a){return+h[t][a]+s*f*i[t][a]};o=[["m",z(0),z(1),z(2),z(3),z(4),z(5)]]}break;case"csv":if(t=="clip-rect"){o=[],u=4;while(u--)o[u]=+h[t][u]+s*f*i[t][u]}break;default:var B=[][x](h[t]);o=[],u=m.paper.customAttributes[t].length;while(u--)o[u]=+B[u]+s*f*i[t][u]}n[t]=o}m.attr(n),function(a,b,c){setTimeout(function(){eve("anim.frame."+a,b,c)})}(m.id,m,d.anim)}else{(function(a,b,c){setTimeout(function(){eve("anim.frame."+b.id,b,c),eve("anim.finish."+b.id,b,c),k.is(a,"function")&&a.call(b)})})(d.callback,m,d.anim),m.attr(j),co.splice(c--,1);if(d.repeat>1&&!d.next){for(r in j)j[q](r)&&(p[r]=d.totalOrigin[r]);d.el.attr(p),a(d.anim,d.el,d.anim.percents[0],null,d.totalOrigin,d.repeat-1)}d.next&&!d.stop&&a(d.anim,d.el,d.next,null,d.totalOrigin,d.repeat)}}k.svg&&m&&m.paper&&m.paper.safari(),co.length&&cp(cq)},cr=function(a){return a>255?255:a<0?0:a};cd.animateWith=function(a,b,c,d,e,f){var g=c?k.animation(c,d,e,f):b,h=a.status(b);return this.animate(g).status(g,h*b.ms/g.ms)},cd.onAnimation=function(a){return a?eve.on("anim.frame."+this.id,a):eve.unbind("anim.frame."+this.id),this},b.prototype.delay=function(a){var c=new b(this.anim,this.ms);return c.times=this.times,c.del=+a||0,c},b.prototype.repeat=function(a){var c=new b(this.anim,this.ms);return c.del=this.del,c.times=G.floor(H(a,0))||1,c},k.animation=function(a,c,d,e){if(a instanceof b)return a;if(k.is(d,"function")||!d)e=e||d||null,d=null;a=Object(a),c=+c||0;var f={},g,h;for(h in a)a[q](h)&&$(h)!=h&&$(h)+"%"!=h&&(g=!0,f[h]=a[h]);return g?(d&&(f.easing=d),e&&(f.callback=e),new b({100:f},c)):new b(a,c)},cd.animate=function(c,d,e,f){var g=this;if(g.removed)return f&&f.call(g),g;var h=c instanceof b?c:k.animation(c,d,e,f);return a(h,g,h.percents[0],null,g.attr()),g},cd.setTime=function(a,b){return a&&b!=null&&this.status(a,I(b,a.ms)/a.ms),this},cd.status=function(b,c){var d=[],e=0,f,g;if(c!=null)return a(b,this,-1,I(c,1)),this;f=co.length;for(;e<f;e++){g=co[e];if(g.el.id==this.id&&(!b||g.anim==b)){if(b)return g.status;d.push({anim:g.anim,status:g.status})}}return b?0:d},cd.pause=function(a){for(var b=0;b<co.length;b++)co[b].el.id==this.id&&(!a||co[b].anim==a)&&eve("anim.pause."+this.id,this,co[b].anim)!==!1&&(co[b].paused=!0);return this},cd.resume=function(a){for(var b=0;b<co.length;b++)if(co[b].el.id==this.id&&(!a||co[b].anim==a)){var c=co[b];eve("anim.resume."+this.id,this,c.anim)!==!1&&(delete c.paused,this.status(c.anim,c.status))}return this},cd.stop=function(a){for(var b=0;b<co.length;b++)co[b].el.id==this.id&&(!a||co[b].anim==a)&&eve("anim.stop."+this.id,this,co[b].anim)!==!1&&co.splice(b--,1);return this},cd.toString=function(){return"Raphaël’s object"};var cs=function(a){this.items=[],this.length=0,this.type="set";if(a)for(var b=0,c=a.length;b<c;b++)a[b]&&(a[b].constructor==cd.constructor||a[b].constructor==cs)&&(this[this.items.length]=this.items[this.items.length]=a[b],this.length++)},ct=cs.prototype;ct.push=function(){var a,b;for(var c=0,d=arguments.length;c<d;c++)a=arguments[c],a&&(a.constructor==cd.constructor||a.constructor==cs)&&(b=this.items.length,this[b]=this.items[b]=a,this.length++);return this},ct.pop=function(){return this.length&&delete this[this.length--],this.items.pop()},ct.forEach=function(a,b){for(var c=0,d=this.items.length;c<d;c++)if(a.call(b,this.items[c],c)===!1)return this;return this};for(var cu in cd)cd[q](cu)&&(ct[cu]=function(a){return function(){var b=arguments;return this.forEach(function(c){c[a][w](c,b)})}}(cu));ct.attr=function(a,b){if(a&&k.is(a,O)&&k.is(a[0],"object"))for(var c=0,d=a.length;c<d;c++)this.items[c].attr(a[c]);else for(var e=0,f=this.items.length;e<f;e++)this.items[e].attr(a,b);return this},ct.clear=function(){while(this.length)this.pop()},ct.splice=function(a,b,c){a=a<0?H(this.length+a,0):a,b=H(0,I(this.length-a,b));var d=[],e=[],f=[],g;for(g=2;g<arguments.length;g++)f.push(arguments[g]);for(g=0;g<b;g++)e.push(this[a+g]);for(;g<this.length-a;g++)d.push(this[a+g]);var h=f.length;for(g=0;g<h+d.length;g++)this.items[a+g]=this[a+g]=g<h?f[g]:d[g-h];g=this.items.length=this.length-=b-h;while(this[g])delete this[g++];return new cs(e)},ct.exclude=function(a){for(var b=0,c=this.length;b<c;b++)if(this[b]==a)return this.splice(b,1),!0},ct.animate=function(a,b,c,d){(k.is(c,"function")||!c)&&(d=c||null);var e=this.items.length,f=e,g,h=this,i;if(!e)return this;d&&(i=function(){!--e&&d.call(h)}),c=k.is(c,N)?c:i;var j=k.animation(a,b,c,i);g=this.items[--f].animate(j);while(f--)this.items[f]&&!this.items[f].removed&&this.items[f].animateWith(g,j);return this},ct.insertAfter=function(a){var b=this.items.length;while(b--)this.items[b].insertAfter(a);return this},ct.getBBox=function(){var a=[],b=[],c=[],d=[];for(var e=this.items.length;e--;)if(!this.items[e].removed){var f=this.items[e].getBBox();a.push(f.x),b.push(f.y),c.push(f.x+f.width),d.push(f.y+f.height)}return a=I[w](0,a),b=I[w](0,b),{x:a,y:b,width:H[w](0,c)-a,height:H[w](0,d)-b}},ct.clone=function(a){a=new cs;for(var b=0,c=this.items.length;b<c;b++)a.push(this.items[b].clone());return a},ct.toString=function(){return"Raphaël‘s set"},k.registerFont=function(a){if(!a.face)return a;this.fonts=this.fonts||{};var b={w:a.w,face:{},glyphs:{}},c=a.face["font-family"];for(var d in a.face)a.face[q](d)&&(b.face[d]=a.face[d]);this.fonts[c]?this.fonts[c].push(b):this.fonts[c]=[b];if(!a.svg){b.face["units-per-em"]=_(a.face["units-per-em"],10);for(var e in a.glyphs)if(a.glyphs[q](e)){var f=a.glyphs[e];b.glyphs[e]={w:f.w,k:{},d:f.d&&"M"+f.d.replace(/[mlcxtrv]/g,function(a){return{l:"L",c:"C",x:"z",t:"m",r:"l",v:"c"}[a]||"M"})+"z"};if(f.k)for(var g in f.k)f[q](g)&&(b.glyphs[e].k[g]=f.k[g])}}return a},u.getFont=function(a,b,c,d){d=d||"normal",c=c||"normal",b=+b||{normal:400,bold:700,lighter:300,bolder:800}[b]||400;if(!!k.fonts){var e=k.fonts[a];if(!e){var f=new RegExp("(^|\\s)"+a.replace(/[^\w\d\s+!~.:_-]/g,z)+"(\\s|$)","i");for(var g in k.fonts)if(k.fonts[q](g)&&f.test(g)){e=k.fonts[g];break}}var h;if(e)for(var i=0,j=e.length;i<j;i++){h=e[i];if(h.face["font-weight"]==b&&(h.face["font-style"]==c||!h.face["font-style"])&&h.face["font-stretch"]==d)break}return h}},u.print=function(a,b,c,d,e,f,g){f=f||"middle",g=H(I(g||0,1),-1);var h=this.set(),i=B(c)[C](z),j=0,l=z,n;k.is(d,c)&&(d=this.getFont(d));if(d){n=(e||16)/d.face["units-per-em"];var o=d.face.bbox[C](m),p=+o[0],q=+o[1]+(f=="baseline"?o[3]-o[1]+ +d.face.descent:(o[3]-o[1])/2);for(var r=0,s=i.length;r<s;r++){var t=r&&d.glyphs[i[r-1]]||{},u=d.glyphs[i[r]];j+=r?(t.w||d.w)+(t.k&&t.k[i[r]]||0)+d.w*g:0,u&&u.d&&h.push(this.path(u.d).attr({fill:"#000",stroke:"none",transform:[["t",j*n,0]]}))}h.transform(["...s",n,n,p,q,"t",(a-p)/n,(b-q)/n])}return h},u.add=function(a){if(k.is(a,"array")){var b=this.set(),c=0,d=a.length,e;for(;c<d;c++)e=a[c]||{},n[q](e.type)&&b.push(this[e.type]().attr(e))}return b},k.format=function(a,b){var c=k.is(b,O)?[0][x](b):arguments;return a&&k.is(a,N)&&c.length-1&&(a=a.replace(o,function(a,b){return c[++b]==null?z:c[b]})),a||z},k.fullfill=function(){var a=/\{([^\}]+)\}/g,b=/(?:(?:^|\.)(.+?)(?=\[|\.|$|\()|\[('|")(.+?)\2\])(\(\))?/g,c=function(a,c,d){var e=d;return c.replace(b,function(a,b,c,d,f){b=b||d,e&&(b in e&&(e=e[b]),typeof e=="function"&&f&&(e=e()))}),e=(e==null||e==d?a:e)+"",e};return function(b,d){return String(b).replace(a,function(a,b){return c(a,b,d)})}}(),k.ninja=function(){return s.was?r.win.Raphael=s.is:delete Raphael,k},k.st=ct,function(a,b,c){function d(){/in/.test(a.readyState)?setTimeout(d,9):k.eve("DOMload")}a.readyState==null&&a.addEventListener&&(a.addEventListener(b,c=function(){a.removeEventListener(b,c,!1),a.readyState="complete"},!1),a.readyState="loading"),d()}(document,"DOMContentLoaded"),s.was?r.win.Raphael=k:Raphael=k,eve.on("DOMload",function(){l=!0})}(),window.Raphael.svg&&function(a){var b="hasOwnProperty",c=String,d=parseFloat,e=parseInt,f=Math,g=f.max,h=f.abs,i=f.pow,j=/[, ]+/,k=a.eve,l="",m=" ",n="http://www.w3.org/1999/xlink",o={block:"M5,0 0,2.5 5,5z",classic:"M5,0 0,2.5 5,5 3.5,3 3.5,2z",diamond:"M2.5,0 5,2.5 2.5,5 0,2.5z",open:"M6,1 1,3.5 6,6",oval:"M2.5,0A2.5,2.5,0,0,1,2.5,5 2.5,2.5,0,0,1,2.5,0z"},p={};a.toString=function(){return"Your browser supports SVG.\nYou are running Raphaël "+this.version};var q=function(d,e){if(e){typeof d=="string"&&(d=q(d));for(var f in e)e[b](f)&&(f.substring(0,6)=="xlink:"?d.setAttributeNS(n,f.substring(6),c(e[f])):d.setAttribute(f,c(e[f])))}else d=a._g.doc.createElementNS("http://www.w3.org/2000/svg",d),d.style&&(d.style.webkitTapHighlightColor="rgba(0,0,0,0)");return d},r=function(b,e){var j="linear",k=b.id+e,m=.5,n=.5,o=b.node,p=b.paper,r=o.style,s=a._g.doc.getElementById(k);if(!s){e=c(e).replace(a._radial_gradient,function(a,b,c){j="radial";if(b&&c){m=d(b),n=d(c);var e=(n>.5)*2-1;i(m-.5,2)+i(n-.5,2)>.25&&(n=f.sqrt(.25-i(m-.5,2))*e+.5)&&n!=.5&&(n=n.toFixed(5)-1e-5*e)}return l}),e=e.split(/\s*\-\s*/);if(j=="linear"){var t=e.shift();t=-d(t);if(isNaN(t))return null;var u=[0,0,f.cos(a.rad(t)),f.sin(a.rad(t))],v=1/(g(h(u[2]),h(u[3]))||1);u[2]*=v,u[3]*=v,u[2]<0&&(u[0]=-u[2],u[2]=0),u[3]<0&&(u[1]=-u[3],u[3]=0)}var w=a._parseDots(e);if(!w)return null;k=k.replace(/[\(\)\s,\xb0#]/g,"_"),b.gradient&&k!=b.gradient.id&&(p.defs.removeChild(b.gradient),delete b.gradient);if(!b.gradient){s=q(j+"Gradient",{id:k}),b.gradient=s,q(s,j=="radial"?{fx:m,fy:n}:{x1:u[0],y1:u[1],x2:u[2],y2:u[3],gradientTransform:b.matrix.invert()}),p.defs.appendChild(s);for(var x=0,y=w.length;x<y;x++)s.appendChild(q("stop",{offset:w[x].offset?w[x].offset:x?"100%":"0%","stop-color":w[x].color||"#fff"}))}}return q(o,{fill:"url(#"+k+")",opacity:1,"fill-opacity":1}),r.fill=l,r.opacity=1,r.fillOpacity=1,1},s=function(a){var b=a.getBBox(1);q(a.pattern,{patternTransform:a.matrix.invert()+" translate("+b.x+","+b.y+")"})},t=function(d,e,f){if(d.type=="path"){var g=c(e).toLowerCase().split("-"),h=d.paper,i=f?"end":"start",j=d.node,k=d.attrs,l=k["stroke-width"],n=g.length,r="classic",s,t,u,v,w,x=3,y=3,z=5;while(n--)switch(g[n]){case"block":case"classic":case"oval":case"diamond":case"open":case"none":r=g[n];break;case"wide":y=5;break;case"narrow":y=2;break;case"long":x=5;break;case"short":x=2}r=="open"?(x+=2,y+=2,z+=2,u=1,v=f?4:1,w={fill:"none",stroke:k.stroke}):(v=u=x/2,w={fill:k.stroke,stroke:"none"}),d._.arrows?f?(d._.arrows.endPath&&p[d._.arrows.endPath]--,d._.arrows.endMarker&&p[d._.arrows.endMarker]--):(d._.arrows.startPath&&p[d._.arrows.startPath]--,d._.arrows.startMarker&&p[d._.arrows.startMarker]--):d._.arrows={};if(r!="none"){var A="raphael-marker-"+r,B="raphael-marker-"+i+r+x+y;a._g.doc.getElementById(A)?p[A]++:(h.defs.appendChild(q(q("path"),{"stroke-linecap":"round",d:o[r],id:A})),p[A]=1);var C=a._g.doc.getElementById(B),D;C?(p[B]++,D=C.getElementsByTagName("use")[0]):(C=q(q("marker"),{id:B,markerHeight:y,markerWidth:x,orient:"auto",refX:v,refY:y/2}),D=q(q("use"),{"xlink:href":"#"+A,transform:(f?" rotate(180 "+x/2+" "+y/2+") ":m)+"scale("+x/z+","+y/z+")","stroke-width":1/((x/z+y/z)/2)}),C.appendChild(D),h.defs.appendChild(C),p[B]=1),q(D,w);var E=u*(r!="diamond"&&r!="oval");f?(s=d._.arrows.startdx*l||0,t=a.getTotalLength(k.path)-E*l):(s=E*l,t=a.getTotalLength(k.path)-(d._.arrows.enddx*l||0)),w={},w["marker-"+i]="url(#"+B+")";if(t||s)w.d=Raphael.getSubpath(k.path,s,t);q(j,w),d._.arrows[i+"Path"]=A,d._.arrows[i+"Marker"]=B,d._.arrows[i+"dx"]=E,d._.arrows[i+"Type"]=r,d._.arrows[i+"String"]=e}else f?(s=d._.arrows.startdx*l||0,t=a.getTotalLength(k.path)-s):(s=0,t=a.getTotalLength(k.path)-(d._.arrows.enddx*l||0)),d._.arrows[i+"Path"]&&q(j,{d:Raphael.getSubpath(k.path,s,t)}),delete d._.arrows[i+"Path"],delete d._.arrows[i+"Marker"],delete d._.arrows[i+"dx"],delete d._.arrows[i+"Type"],delete d._.arrows[i+"String"];for(w in p)if(p[b](w)&&!p[w]){var F=a._g.doc.getElementById(w);F&&F.parentNode.removeChild(F)}}},u={"":[0],none:[0],"-":[3,1],".":[1,1],"-.":[3,1,1,1],"-..":[3,1,1,1,1,1],". ":[1,3],"- ":[4,3],"--":[8,3],"- .":[4,3,1,3],"--.":[8,3,1,3],"--..":[8,3,1,3,1,3]},v=function(a,b,d){b=u[c(b).toLowerCase()];if(b){var e=a.attrs["stroke-width"]||"1",f={round:e,square:e,butt:0}[a.attrs["stroke-linecap"]||d["stroke-linecap"]]||0,g=[],h=b.length;while(h--)g[h]=b[h]*e+(h%2?1:-1)*f;q(a.node,{"stroke-dasharray":g.join(",")})}},w=function(d,f){var i=d.node,k=d.attrs,m=i.style.visibility;i.style.visibility="hidden";for(var o in f)if(f[b](o)){if(!a._availableAttrs[b](o))continue;var p=f[o];k[o]=p;switch(o){case"blur":d.blur(p);break;case"href":case"title":case"target":var u=i.parentNode;if(u.tagName.toLowerCase()!="a"){var w=q("a");u.insertBefore(w,i),w.appendChild(i),u=w}o=="target"&&p=="blank"?u.setAttributeNS(n,"show","new"):u.setAttributeNS(n,o,p);break;case"cursor":i.style.cursor=p;break;case"transform":d.transform(p);break;case"arrow-start":t(d,p);break;case"arrow-end":t(d,p,1);break;case"clip-rect":var x=c(p).split(j);if(x.length==4){d.clip&&d.clip.parentNode.parentNode.removeChild(d.clip.parentNode);var z=q("clipPath"),A=q("rect");z.id=a.createUUID(),q(A,{x:x[0],y:x[1],width:x[2],height:x[3]}),z.appendChild(A),d.paper.defs.appendChild(z),q(i,{"clip-path":"url(#"+z.id+")"}),d.clip=A}if(!p){var B=i.getAttribute("clip-path");if(B){var C=a._g.doc.getElementById(B.replace(/(^url\(#|\)$)/g,l));C&&C.parentNode.removeChild(C),q(i,{"clip-path":l}),delete d.clip}}break;case"path":d.type=="path"&&(q(i,{d:p?k.path=a._pathToAbsolute(p):"M0,0"}),d._.dirty=1,d._.arrows&&("startString"in d._.arrows&&t(d,d._.arrows.startString),"endString"in d._.arrows&&t(d,d._.arrows.endString,1)));break;case"width":i.setAttribute(o,p),d._.dirty=1;if(k.fx)o="x",p=k.x;else break;case"x":k.fx&&(p=-k.x-(k.width||0));case"rx":if(o=="rx"&&d.type=="rect")break;case"cx":i.setAttribute(o,p),d.pattern&&s(d),d._.dirty=1;break;case"height":i.setAttribute(o,p),d._.dirty=1;if(k.fy)o="y",p=k.y;else break;case"y":k.fy&&(p=-k.y-(k.height||0));case"ry":if(o=="ry"&&d.type=="rect")break;case"cy":i.setAttribute(o,p),d.pattern&&s(d),d._.dirty=1;break;case"r":d.type=="rect"?q(i,{rx:p,ry:p}):i.setAttribute(o,p),d._.dirty=1;break;case"src":d.type=="image"&&i.setAttributeNS(n,"href",p);break;case"stroke-width":if(d._.sx!=1||d._.sy!=1)p/=g(h(d._.sx),h(d._.sy))||1;d.paper._vbSize&&(p*=d.paper._vbSize),i.setAttribute(o,p),k["stroke-dasharray"]&&v(d,k["stroke-dasharray"],f),d._.arrows&&("startString"in d._.arrows&&t(d,d._.arrows.startString),"endString"in d._.arrows&&t(d,d._.arrows.endString,1));break;case"stroke-dasharray":v(d,p,f);break;case"fill":var D=c(p).match(a._ISURL);if(D){z=q("pattern");var E=q("image");z.id=a.createUUID(),q(z,{x:0,y:0,patternUnits:"userSpaceOnUse",height:1,width:1}),q(E,{x:0,y:0,"xlink:href":D[1]}),z.appendChild(E),function(b){a._preload(D[1],function(){var a=this.offsetWidth,c=this.offsetHeight;q(b,{width:a,height:c}),q(E,{width:a,height:c}),d.paper.safari()})}(z),d.paper.defs.appendChild(z),i.style.fill="url(#"+z.id+")",q(i,{fill:"url(#"+z.id+")"}),d.pattern=z,d.pattern&&s(d);break}var F=a.getRGB(p);if(!F.error)delete f.gradient,delete k.gradient,!a.is(k.opacity,"undefined")&&a.is(f.opacity,"undefined")&&q(i,{opacity:k.opacity}),!a.is(k["fill-opacity"],"undefined")&&a.is(f["fill-opacity"],"undefined")&&q(i,{"fill-opacity":k["fill-opacity"]});else if((d.type=="circle"||d.type=="ellipse"||c(p).charAt()!="r")&&r(d,p)){if("opacity"in k||"fill-opacity"in k){var G=a._g.doc.getElementById(i.getAttribute("fill").replace(/^url\(#|\)$/g,l));if(G){var H=G.getElementsByTagName("stop");q(H[H.length-1],{"stop-opacity":("opacity"in k?k.opacity:1)*("fill-opacity"in k?k["fill-opacity"]:1)})}}k.gradient=p,k.fill="none";break}F[b]("opacity")&&q(i,{"fill-opacity":F.opacity>1?F.opacity/100:F.opacity});case"stroke":F=a.getRGB(p),i.setAttribute(o,F.hex),o=="stroke"&&F[b]("opacity")&&q(i,{"stroke-opacity":F.opacity>1?F.opacity/100:F.opacity}),o=="stroke"&&d._.arrows&&("startString"in d._.arrows&&t(d,d._.arrows.startString),"endString"in d._.arrows&&t(d,d._.arrows.endString,1));break;case"gradient":(d.type=="circle"||d.type=="ellipse"||c(p).charAt()!="r")&&r(d,p);break;case"opacity":k.gradient&&!k[b]("stroke-opacity")&&q(i,{"stroke-opacity":p>1?p/100:p});case"fill-opacity":if(k.gradient){G=a._g.doc.getElementById(i.getAttribute("fill").replace(/^url\(#|\)$/g,l)),G&&(H=G.getElementsByTagName("stop"),q(H[H.length-1],{"stop-opacity":p}));break};default:o=="font-size"&&(p=e(p,10)+"px");var I=o.replace(/(\-.)/g,function(a){return a.substring(1).toUpperCase()});i.style[I]=p,d._.dirty=1,i.setAttribute(o,p)}}y(d,f),i.style.visibility=m},x=1.2,y=function(d,f){if(d.type=="text"&&!!(f[b]("text")||f[b]("font")||f[b]("font-size")||f[b]("x")||f[b]("y"))){var g=d.attrs,h=d.node,i=h.firstChild?e(a._g.doc.defaultView.getComputedStyle(h.firstChild,l).getPropertyValue("font-size"),10):10;if(f[b]("text")){g.text=f.text;while(h.firstChild)h.removeChild(h.firstChild);var j=c(f.text).split("\n"),k=[],m;for(var n=0,o=j.length;n<o;n++)m=q("tspan"),n&&q(m,{dy:i*x,x:g.x}),m.appendChild(a._g.doc.createTextNode(j[n])),h.appendChild(m),k[n]=m}else{k=h.getElementsByTagName("tspan");for(n=0,o=k.length;n<o;n++)n?q(k[n],{dy:i*x,x:g.x}):q(k[0],{dy:0})}q(h,{x:g.x,y:g.y}),d._.dirty=1;var p=d._getBBox(),r=g.y-(p.y+p.height/2);r&&a.is(r,"finite")&&q(k[0],{dy:r})}},z=function(b,c){var d=0,e=0;this[0]=this.node=b,b.raphael=!0,this.id=a._oid++,b.raphaelid=this.id,this.matrix=a.matrix(),this.realPath=null,this.paper=c,this.attrs=this.attrs||{},this._={transform:[],sx:1,sy:1,deg:0,dx:0,dy:0,dirty:1},!c.bottom&&(c.bottom=this),this.prev=c.top,c.top&&(c.top.next=this),c.top=this,this.next=null},A=a.el;z.prototype=A,A.constructor=z,a._engine.path=function(a,b){var c=q("path");b.canvas&&b.canvas.appendChild(c);var d=new z(c,b);return d.type="path",w(d,{fill:"none",stroke:"#000",path:a}),d},A.rotate=function(a,b,e){if(this.removed)return this;a=c(a).split(j),a.length-1&&(b=d(a[1]),e=d(a[2])),a=d(a[0]),e==null&&(b=e);if(b==null||e==null){var f=this.getBBox(1);b=f.x+f.width/2,e=f.y+f.height/2}return this.transform(this._.transform.concat([["r",a,b,e]])),this},A.scale=function(a,b,e,f){if(this.removed)return this;a=c(a).split(j),a.length-1&&(b=d(a[1]),e=d(a[2]),f=d(a[3])),a=d(a[0]),b==null&&(b=a),f==null&&(e=f);if(e==null||f==null)var g=this.getBBox(1);return e=e==null?g.x+g.width/2:e,f=f==null?g.y+g.height/2:f,this.transform(this._.transform.concat([["s",a,b,e,f]])),this},A.translate=function(a,b){return this.removed?this:(a=c(a).split(j),a.length-1&&(b=d(a[1])),a=d(a[0])||0,b=+b||0,this.transform(this._.transform.concat([["t",a,b]])),this)},A.transform=function(c){var d=this._;if(c==null)return d.transform;a._extractTransform(this,c),this.clip&&q(this.clip,{transform:this.matrix.invert()}),this.pattern&&s(this),this.node&&q(this.node,{transform:this.matrix});if(d.sx!=1||d.sy!=1){var e=this.attrs[b]("stroke-width")?this.attrs["stroke-width"]:1;this.attr({"stroke-width":e})}return this},A.hide=function(){return!this.removed&&this.paper.safari(this.node.style.display="none"),this},A.show=function(){return!this.removed&&this.paper.safari(this.node.style.display=""),this},A.remove=function(){if(!this.removed){var b=this.paper;b.__set__&&b.__set__.exclude(this),k.unbind("*.*."+this.id),this.gradient&&b.defs.removeChild(this.gradient),a._tear(this,b),this.node.parentNode.removeChild(this.node);for(var c in this)this[c]=typeof this[c]=="function"?a._removedFactory(c):null;this.removed=!0}},A._getBBox=function(){if(this.node.style.display=="none"){this.show();var a=!0}var b={};try{b=this.node.getBBox()}catch(c){}finally{b=b||{}}return a&&this.hide(),b},A.attr=function(c,d){if(this.removed)return this;if(c==null){var e={};for(var f in this.attrs)this.attrs[b](f)&&(e[f]=this.attrs[f]);return e.gradient&&e.fill=="none"&&(e.fill=e.gradient)&&delete e.gradient,e.transform=this._.transform,e}if(d==null&&a.is(c,"string")){if(c=="fill"&&this.attrs.fill=="none"&&this.attrs.gradient)return this.attrs.gradient;if(c=="transform")return this._.transform;var g=c.split(j),h={};for(var i=0,l=g.length;i<l;i++)c=g[i],c in this.attrs?h[c]=this.attrs[c]:a.is(this.paper.customAttributes[c],"function")?h[c]=this.paper.customAttributes[c].def:h[c]=a._availableAttrs[c];return l-1?h:h[g[0]]}if(d==null&&a.is(c,"array")){h={};for(i=0,l=c.length;i<l;i++)h[c[i]]=this.attr(c[i]);return h}if(d!=null){var m={};m[c]=d}else c!=null&&a.is(c,"object")&&(m=c);for(var n in m)k("attr."+n+"."+this.id,this,m[n]);for(n in this.paper.customAttributes)if(this.paper.customAttributes[b](n)&&m[b](n)&&a.is(this.paper.customAttributes[n],"function")){var o=this.paper.customAttributes[n].apply(this,[].concat(m[n]));this.attrs[n]=m[n];for(var p in o)o[b](p)&&(m[p]=o[p])}return w(this,m),this},A.toFront=function(){if(this.removed)return this;this.node.parentNode.tagName.toLowerCase()=="a"?this.node.parentNode.parentNode.appendChild(this.node.parentNode):this.node.parentNode.appendChild(this.node);var b=this.paper;return b.top!=this&&a._tofront(this,b),this},A.toBack=function(){if(this.removed)return this;var b=this.node.parentNode;b.tagName.toLowerCase()=="a"?b.parentNode.insertBefore(this.node.parentNode,this.node.parentNode.parentNode.firstChild):b.firstChild!=this.node&&b.insertBefore(this.node,this.node.parentNode.firstChild),a._toback(this,this.paper);var c=this.paper;return this},A.insertAfter=function(b){if(this.removed)return this;var c=b.node||b[b.length-1].node;return c.nextSibling?c.parentNode.insertBefore(this.node,c.nextSibling):c.parentNode.appendChild(this.node),a._insertafter(this,b,this.paper),this},A.insertBefore=function(b){if(this.removed)return this;var c=b.node||b[0].node;return c.parentNode.insertBefore(this.node,c),a._insertbefore(this,b,this.paper),this},A.blur=function(b){var c=this;if(+b!==0){var d=q("filter"),e=q("feGaussianBlur");c.attrs.blur=b,d.id=a.createUUID(),q(e,{stdDeviation:+b||1.5}),d.appendChild(e),c.paper.defs.appendChild(d),c._blur=d,q(c.node,{filter:"url(#"+d.id+")"})}else c._blur&&(c._blur.parentNode.removeChild(c._blur),delete c._blur,delete c.attrs.blur),c.node.removeAttribute("filter")},a._engine.circle=function(a,b,c,d){var e=q("circle");a.canvas&&a.canvas.appendChild(e);var f=new z(e,a);return f.attrs={cx:b,cy:c,r:d,fill:"none",stroke:"#000"},f.type="circle",q(e,f.attrs),f},a._engine.rect=function(a,b,c,d,e,f){var g=q("rect");a.canvas&&a.canvas.appendChild(g);var h=new z(g,a);return h.attrs={x:b,y:c,width:d,height:e,r:f||0,rx:f||0,ry:f||0,fill:"none",stroke:"#000"},h.type="rect",q(g,h.attrs),h},a._engine.ellipse=function(a,b,c,d,e){var f=q("ellipse");a.canvas&&a.canvas.appendChild(f);var g=new z(f,a);return g.attrs={cx:b,cy:c,rx:d,ry:e,fill:"none",stroke:"#000"},g.type="ellipse",q(f,g.attrs),g},a._engine.image=function(a,b,c,d,e,f){var g=q("image");q(g,{x:c,y:d,width:e,height:f,preserveAspectRatio:"none"}),g.setAttributeNS(n,"href",b),a.canvas&&a.canvas.appendChild(g);var h=new z(g,a);return h.attrs={x:c,y:d,width:e,height:f,src:b},h.type="image",h},a._engine.text=function(b,c,d,e){var f=q("text");b.canvas&&b.canvas.appendChild(f);var g=new z(f,b);return g.attrs={x:c,y:d,"text-anchor":"middle",text:e,font:a._availableAttrs.font,stroke:"none",fill:"#000"},g.type="text",w(g,g.attrs),g},a._engine.setSize=function(a,b){return this.width=a||this.width,this.height=b||this.height,this.canvas.setAttribute("width",this.width),this.canvas.setAttribute("height",this.height),this._viewBox&&this.setViewBox.apply(this,this._viewBox),this},a._engine.create=function(){var b=a._getContainer.apply(0,arguments),c=b&&b.container,d=b.x,e=b.y,f=b.width,g=b.height;if(!c)throw new Error("SVG container not found.");var h=q("svg"),i="overflow:hidden;",j;return d=d||0,e=e||0,f=f||512,g=g||342,q(h,{height:g,version:1.1,width:f,xmlns:"http://www.w3.org/2000/svg"}),c==1?(h.style.cssText=i+"position:absolute;left:"+d+"px;top:"+e+"px",a._g.doc.body.appendChild(h),j=1):(h.style.cssText=i+"position:relative",c.firstChild?c.insertBefore(h,c.firstChild):c.appendChild(h)),c=new a._Paper,c.width=f,c.height=g,c.canvas=h,c.clear(),c._left=c._top=0,j&&(c.renderfix=function(){}),c.renderfix(),c},a._engine.setViewBox=function(a,b,c,d,e){k("setViewBox",this,this._viewBox,[a,b,c,d,e]);var f=g(c/this.width,d/this.height),h=this.top,i=e?"meet":"xMinYMin",j,l;a==null?(this._vbSize&&(f=1),delete this._vbSize,j="0 0 "+this.width+m+this.height):(this._vbSize=f,j=a+m+b+m+c+
m+d),q(this.canvas,{viewBox:j,preserveAspectRatio:i});while(f&&h)l="stroke-width"in h.attrs?h.attrs["stroke-width"]:1,h.attr({"stroke-width":l}),h._.dirty=1,h._.dirtyT=1,h=h.prev;return this._viewBox=[a,b,c,d,!!e],this},a.prototype.renderfix=function(){var a=this.canvas,b=a.style,c=a.getScreenCTM()||a.createSVGMatrix(),d=-c.e%1,e=-c.f%1;if(d||e)d&&(this._left=(this._left+d)%1,b.left=this._left+"px"),e&&(this._top=(this._top+e)%1,b.top=this._top+"px")},a.prototype.clear=function(){a.eve("clear",this);var b=this.canvas;while(b.firstChild)b.removeChild(b.firstChild);this.bottom=this.top=null,(this.desc=q("desc")).appendChild(a._g.doc.createTextNode("Created with Raphaël "+a.version)),b.appendChild(this.desc),b.appendChild(this.defs=q("defs"))},a.prototype.remove=function(){k("remove",this),this.canvas.parentNode&&this.canvas.parentNode.removeChild(this.canvas);for(var b in this)this[b]=typeof this[b]=="function"?a._removedFactory(b):null};var B=a.st;for(var C in A)A[b](C)&&!B[b](C)&&(B[C]=function(a){return function(){var b=arguments;return this.forEach(function(c){c[a].apply(c,b)})}}(C))}(window.Raphael),window.Raphael.vml&&function(a){var b="hasOwnProperty",c=String,d=parseFloat,e=Math,f=e.round,g=e.max,h=e.min,i=e.abs,j="fill",k=/[, ]+/,l=a.eve,m=" progid:DXImageTransform.Microsoft",n=" ",o="",p={M:"m",L:"l",C:"c",Z:"x",m:"t",l:"r",c:"v",z:"x"},q=/([clmz]),?([^clmz]*)/gi,r=/ progid:\S+Blur\([^\)]+\)/g,s=/-?[^,\s-]+/g,t="position:absolute;left:0;top:0;width:1px;height:1px",u=21600,v={path:1,rect:1,image:1},w={circle:1,ellipse:1},x=function(b){var d=/[ahqstv]/ig,e=a._pathToAbsolute;c(b).match(d)&&(e=a._path2curve),d=/[clmz]/g;if(e==a._pathToAbsolute&&!c(b).match(d)){var g=c(b).replace(q,function(a,b,c){var d=[],e=b.toLowerCase()=="m",g=p[b];return c.replace(s,function(a){e&&d.length==2&&(g+=d+p[b=="m"?"l":"L"],d=[]),d.push(f(a*u))}),g+d});return g}var h=e(b),i,j;g=[];for(var k=0,l=h.length;k<l;k++){i=h[k],j=h[k][0].toLowerCase(),j=="z"&&(j="x");for(var m=1,r=i.length;m<r;m++)j+=f(i[m]*u)+(m!=r-1?",":o);g.push(j)}return g.join(n)},y=function(b,c,d){var e=a.matrix();return e.rotate(-b,.5,.5),{dx:e.x(c,d),dy:e.y(c,d)}},z=function(a,b,c,d,e,f){var g=a._,h=a.matrix,k=g.fillpos,l=a.node,m=l.style,o=1,p="",q,r=u/b,s=u/c;m.visibility="hidden";if(!!b&&!!c){l.coordsize=i(r)+n+i(s),m.rotation=f*(b*c<0?-1:1);if(f){var t=y(f,d,e);d=t.dx,e=t.dy}b<0&&(p+="x"),c<0&&(p+=" y")&&(o=-1),m.flip=p,l.coordorigin=d*-r+n+e*-s;if(k||g.fillsize){var v=l.getElementsByTagName(j);v=v&&v[0],l.removeChild(v),k&&(t=y(f,h.x(k[0],k[1]),h.y(k[0],k[1])),v.position=t.dx*o+n+t.dy*o),g.fillsize&&(v.size=g.fillsize[0]*i(b)+n+g.fillsize[1]*i(c)),l.appendChild(v)}m.visibility="visible"}};a.toString=function(){return"Your browser doesn’t support SVG. Falling down to VML.\nYou are running Raphaël "+this.version};var A=function(a,b,d){var e=c(b).toLowerCase().split("-"),f=d?"end":"start",g=e.length,h="classic",i="medium",j="medium";while(g--)switch(e[g]){case"block":case"classic":case"oval":case"diamond":case"open":case"none":h=e[g];break;case"wide":case"narrow":j=e[g];break;case"long":case"short":i=e[g]}var k=a.node.getElementsByTagName("stroke")[0];k[f+"arrow"]=h,k[f+"arrowlength"]=i,k[f+"arrowwidth"]=j},B=function(e,i){e.attrs=e.attrs||{};var l=e.node,m=e.attrs,p=l.style,q,r=v[e.type]&&(i.x!=m.x||i.y!=m.y||i.width!=m.width||i.height!=m.height||i.cx!=m.cx||i.cy!=m.cy||i.rx!=m.rx||i.ry!=m.ry||i.r!=m.r),s=w[e.type]&&(m.cx!=i.cx||m.cy!=i.cy||m.r!=i.r||m.rx!=i.rx||m.ry!=i.ry),t=e;for(var y in i)i[b](y)&&(m[y]=i[y]);r&&(m.path=a._getPath[e.type](e),e._.dirty=1),i.href&&(l.href=i.href),i.title&&(l.title=i.title),i.target&&(l.target=i.target),i.cursor&&(p.cursor=i.cursor),"blur"in i&&e.blur(i.blur);if(i.path&&e.type=="path"||r)l.path=x(~c(m.path).toLowerCase().indexOf("r")?a._pathToAbsolute(m.path):m.path),e.type=="image"&&(e._.fillpos=[m.x,m.y],e._.fillsize=[m.width,m.height],z(e,1,1,0,0,0));"transform"in i&&e.transform(i.transform);if(s){var B=+m.cx,D=+m.cy,E=+m.rx||+m.r||0,G=+m.ry||+m.r||0;l.path=a.format("ar{0},{1},{2},{3},{4},{1},{4},{1}x",f((B-E)*u),f((D-G)*u),f((B+E)*u),f((D+G)*u),f(B*u))}if("clip-rect"in i){var H=c(i["clip-rect"]).split(k);if(H.length==4){H[2]=+H[2]+ +H[0],H[3]=+H[3]+ +H[1];var I=l.clipRect||a._g.doc.createElement("div"),J=I.style;J.clip=a.format("rect({1}px {2}px {3}px {0}px)",H),l.clipRect||(J.position="absolute",J.top=0,J.left=0,J.width=e.paper.width+"px",J.height=e.paper.height+"px",l.parentNode.insertBefore(I,l),I.appendChild(l),l.clipRect=I)}i["clip-rect"]||l.clipRect&&(l.clipRect.style.clip="auto")}if(e.textpath){var K=e.textpath.style;i.font&&(K.font=i.font),i["font-family"]&&(K.fontFamily='"'+i["font-family"].split(",")[0].replace(/^['"]+|['"]+$/g,o)+'"'),i["font-size"]&&(K.fontSize=i["font-size"]),i["font-weight"]&&(K.fontWeight=i["font-weight"]),i["font-style"]&&(K.fontStyle=i["font-style"])}"arrow-start"in i&&A(t,i["arrow-start"]),"arrow-end"in i&&A(t,i["arrow-end"],1);if(i.opacity!=null||i["stroke-width"]!=null||i.fill!=null||i.src!=null||i.stroke!=null||i["stroke-width"]!=null||i["stroke-opacity"]!=null||i["fill-opacity"]!=null||i["stroke-dasharray"]!=null||i["stroke-miterlimit"]!=null||i["stroke-linejoin"]!=null||i["stroke-linecap"]!=null){var L=l.getElementsByTagName(j),M=!1;L=L&&L[0],!L&&(M=L=F(j)),e.type=="image"&&i.src&&(L.src=i.src),i.fill&&(L.on=!0);if(L.on==null||i.fill=="none"||i.fill===null)L.on=!1;if(L.on&&i.fill){var N=c(i.fill).match(a._ISURL);if(N){L.parentNode==l&&l.removeChild(L),L.rotate=!0,L.src=N[1],L.type="tile";var O=e.getBBox(1);L.position=O.x+n+O.y,e._.fillpos=[O.x,O.y],a._preload(N[1],function(){e._.fillsize=[this.offsetWidth,this.offsetHeight]})}else L.color=a.getRGB(i.fill).hex,L.src=o,L.type="solid",a.getRGB(i.fill).error&&(t.type in{circle:1,ellipse:1}||c(i.fill).charAt()!="r")&&C(t,i.fill,L)&&(m.fill="none",m.gradient=i.fill,L.rotate=!1)}if("fill-opacity"in i||"opacity"in i){var P=((+m["fill-opacity"]+1||2)-1)*((+m.opacity+1||2)-1)*((+a.getRGB(i.fill).o+1||2)-1);P=h(g(P,0),1),L.opacity=P,L.src&&(L.color="none")}l.appendChild(L);var Q=l.getElementsByTagName("stroke")&&l.getElementsByTagName("stroke")[0],R=!1;!Q&&(R=Q=F("stroke"));if(i.stroke&&i.stroke!="none"||i["stroke-width"]||i["stroke-opacity"]!=null||i["stroke-dasharray"]||i["stroke-miterlimit"]||i["stroke-linejoin"]||i["stroke-linecap"])Q.on=!0;(i.stroke=="none"||i.stroke===null||Q.on==null||i.stroke==0||i["stroke-width"]==0)&&(Q.on=!1);var S=a.getRGB(i.stroke);Q.on&&i.stroke&&(Q.color=S.hex),P=((+m["stroke-opacity"]+1||2)-1)*((+m.opacity+1||2)-1)*((+S.o+1||2)-1);var T=(d(i["stroke-width"])||1)*.75;P=h(g(P,0),1),i["stroke-width"]==null&&(T=m["stroke-width"]),i["stroke-width"]&&(Q.weight=T),T&&T<1&&(P*=T)&&(Q.weight=1),Q.opacity=P,i["stroke-linejoin"]&&(Q.joinstyle=i["stroke-linejoin"]||"miter"),Q.miterlimit=i["stroke-miterlimit"]||8,i["stroke-linecap"]&&(Q.endcap=i["stroke-linecap"]=="butt"?"flat":i["stroke-linecap"]=="square"?"square":"round");if(i["stroke-dasharray"]){var U={"-":"shortdash",".":"shortdot","-.":"shortdashdot","-..":"shortdashdotdot",". ":"dot","- ":"dash","--":"longdash","- .":"dashdot","--.":"longdashdot","--..":"longdashdotdot"};Q.dashstyle=U[b](i["stroke-dasharray"])?U[i["stroke-dasharray"]]:o}R&&l.appendChild(Q)}if(t.type=="text"){t.paper.canvas.style.display=o;var V=t.paper.span,W=100,X=m.font&&m.font.match(/\d+(?:\.\d*)?(?=px)/);p=V.style,m.font&&(p.font=m.font),m["font-family"]&&(p.fontFamily=m["font-family"]),m["font-weight"]&&(p.fontWeight=m["font-weight"]),m["font-style"]&&(p.fontStyle=m["font-style"]),X=d(m["font-size"]||X&&X[0])||10,p.fontSize=X*W+"px",t.textpath.string&&(V.innerHTML=c(t.textpath.string).replace(/</g,"&#60;").replace(/&/g,"&#38;").replace(/\n/g,"<br>"));var Y=V.getBoundingClientRect();t.W=m.w=(Y.right-Y.left)/W,t.H=m.h=(Y.bottom-Y.top)/W,t.X=m.x,t.Y=m.y+t.H/2,("x"in i||"y"in i)&&(t.path.v=a.format("m{0},{1}l{2},{1}",f(m.x*u),f(m.y*u),f(m.x*u)+1));var Z=["x","y","text","font","font-family","font-weight","font-style","font-size"];for(var $=0,_=Z.length;$<_;$++)if(Z[$]in i){t._.dirty=1;break}switch(m["text-anchor"]){case"start":t.textpath.style["v-text-align"]="left",t.bbx=t.W/2;break;case"end":t.textpath.style["v-text-align"]="right",t.bbx=-t.W/2;break;default:t.textpath.style["v-text-align"]="center",t.bbx=0}t.textpath.style["v-text-kern"]=!0}},C=function(b,f,g){b.attrs=b.attrs||{};var h=b.attrs,i=Math.pow,j,k,l="linear",m=".5 .5";b.attrs.gradient=f,f=c(f).replace(a._radial_gradient,function(a,b,c){return l="radial",b&&c&&(b=d(b),c=d(c),i(b-.5,2)+i(c-.5,2)>.25&&(c=e.sqrt(.25-i(b-.5,2))*((c>.5)*2-1)+.5),m=b+n+c),o}),f=f.split(/\s*\-\s*/);if(l=="linear"){var p=f.shift();p=-d(p);if(isNaN(p))return null}var q=a._parseDots(f);if(!q)return null;b=b.shape||b.node;if(q.length){b.removeChild(g),g.on=!0,g.method="none",g.color=q[0].color,g.color2=q[q.length-1].color;var r=[];for(var s=0,t=q.length;s<t;s++)q[s].offset&&r.push(q[s].offset+n+q[s].color);g.colors=r.length?r.join():"0% "+g.color,l=="radial"?(g.type="gradientTitle",g.focus="100%",g.focussize="0 0",g.focusposition=m,g.angle=0):(g.type="gradient",g.angle=(270-p)%360),b.appendChild(g)}return 1},D=function(b,c){this[0]=this.node=b,b.raphael=!0,this.id=a._oid++,b.raphaelid=this.id,this.X=0,this.Y=0,this.attrs={},this.paper=c,this.matrix=a.matrix(),this._={transform:[],sx:1,sy:1,dx:0,dy:0,deg:0,dirty:1,dirtyT:1},!c.bottom&&(c.bottom=this),this.prev=c.top,c.top&&(c.top.next=this),c.top=this,this.next=null},E=a.el;D.prototype=E,E.constructor=D,E.transform=function(b){if(b==null)return this._.transform;var d=this.paper._viewBoxShift,e=d?"s"+[d.scale,d.scale]+"-1-1t"+[d.dx,d.dy]:o,f;d&&(f=b=c(b).replace(/\.{3}|\u2026/g,this._.transform||o)),a._extractTransform(this,e+b);var g=this.matrix.clone(),h=this.skew,i=this.node,j,k=~c(this.attrs.fill).indexOf("-"),l=!c(this.attrs.fill).indexOf("url(");g.translate(-0.5,-0.5);if(l||k||this.type=="image"){h.matrix="1 0 0 1",h.offset="0 0",j=g.split();if(k&&j.noRotation||!j.isSimple){i.style.filter=g.toFilter();var m=this.getBBox(),p=this.getBBox(1),q=m.x-p.x,r=m.y-p.y;i.coordorigin=q*-u+n+r*-u,z(this,1,1,q,r,0)}else i.style.filter=o,z(this,j.scalex,j.scaley,j.dx,j.dy,j.rotate)}else i.style.filter=o,h.matrix=c(g),h.offset=g.offset();return f&&(this._.transform=f),this},E.rotate=function(a,b,e){if(this.removed)return this;if(a!=null){a=c(a).split(k),a.length-1&&(b=d(a[1]),e=d(a[2])),a=d(a[0]),e==null&&(b=e);if(b==null||e==null){var f=this.getBBox(1);b=f.x+f.width/2,e=f.y+f.height/2}return this._.dirtyT=1,this.transform(this._.transform.concat([["r",a,b,e]])),this}},E.translate=function(a,b){return this.removed?this:(a=c(a).split(k),a.length-1&&(b=d(a[1])),a=d(a[0])||0,b=+b||0,this._.bbox&&(this._.bbox.x+=a,this._.bbox.y+=b),this.transform(this._.transform.concat([["t",a,b]])),this)},E.scale=function(a,b,e,f){if(this.removed)return this;a=c(a).split(k),a.length-1&&(b=d(a[1]),e=d(a[2]),f=d(a[3]),isNaN(e)&&(e=null),isNaN(f)&&(f=null)),a=d(a[0]),b==null&&(b=a),f==null&&(e=f);if(e==null||f==null)var g=this.getBBox(1);return e=e==null?g.x+g.width/2:e,f=f==null?g.y+g.height/2:f,this.transform(this._.transform.concat([["s",a,b,e,f]])),this._.dirtyT=1,this},E.hide=function(){return!this.removed&&(this.node.style.display="none"),this},E.show=function(){return!this.removed&&(this.node.style.display=o),this},E._getBBox=function(){return this.removed?{}:{x:this.X+(this.bbx||0)-this.W/2,y:this.Y-this.H,width:this.W,height:this.H}},E.remove=function(){if(!this.removed){this.paper.__set__&&this.paper.__set__.exclude(this),a.eve.unbind("*.*."+this.id),a._tear(this,this.paper),this.node.parentNode.removeChild(this.node),this.shape&&this.shape.parentNode.removeChild(this.shape);for(var b in this)this[b]=typeof this[b]=="function"?a._removedFactory(b):null;this.removed=!0}},E.attr=function(c,d){if(this.removed)return this;if(c==null){var e={};for(var f in this.attrs)this.attrs[b](f)&&(e[f]=this.attrs[f]);return e.gradient&&e.fill=="none"&&(e.fill=e.gradient)&&delete e.gradient,e.transform=this._.transform,e}if(d==null&&a.is(c,"string")){if(c==j&&this.attrs.fill=="none"&&this.attrs.gradient)return this.attrs.gradient;var g=c.split(k),h={};for(var i=0,m=g.length;i<m;i++)c=g[i],c in this.attrs?h[c]=this.attrs[c]:a.is(this.paper.customAttributes[c],"function")?h[c]=this.paper.customAttributes[c].def:h[c]=a._availableAttrs[c];return m-1?h:h[g[0]]}if(this.attrs&&d==null&&a.is(c,"array")){h={};for(i=0,m=c.length;i<m;i++)h[c[i]]=this.attr(c[i]);return h}var n;d!=null&&(n={},n[c]=d),d==null&&a.is(c,"object")&&(n=c);for(var o in n)l("attr."+o+"."+this.id,this,n[o]);if(n){for(o in this.paper.customAttributes)if(this.paper.customAttributes[b](o)&&n[b](o)&&a.is(this.paper.customAttributes[o],"function")){var p=this.paper.customAttributes[o].apply(this,[].concat(n[o]));this.attrs[o]=n[o];for(var q in p)p[b](q)&&(n[q]=p[q])}n.text&&this.type=="text"&&(this.textpath.string=n.text),B(this,n)}return this},E.toFront=function(){return!this.removed&&this.node.parentNode.appendChild(this.node),this.paper&&this.paper.top!=this&&a._tofront(this,this.paper),this},E.toBack=function(){return this.removed?this:(this.node.parentNode.firstChild!=this.node&&(this.node.parentNode.insertBefore(this.node,this.node.parentNode.firstChild),a._toback(this,this.paper)),this)},E.insertAfter=function(b){return this.removed?this:(b.constructor==a.st.constructor&&(b=b[b.length-1]),b.node.nextSibling?b.node.parentNode.insertBefore(this.node,b.node.nextSibling):b.node.parentNode.appendChild(this.node),a._insertafter(this,b,this.paper),this)},E.insertBefore=function(b){return this.removed?this:(b.constructor==a.st.constructor&&(b=b[0]),b.node.parentNode.insertBefore(this.node,b.node),a._insertbefore(this,b,this.paper),this)},E.blur=function(b){var c=this.node.runtimeStyle,d=c.filter;d=d.replace(r,o),+b!==0?(this.attrs.blur=b,c.filter=d+n+m+".Blur(pixelradius="+(+b||1.5)+")",c.margin=a.format("-{0}px 0 0 -{0}px",f(+b||1.5))):(c.filter=d,c.margin=0,delete this.attrs.blur)},a._engine.path=function(a,b){var c=F("shape");c.style.cssText=t,c.coordsize=u+n+u,c.coordorigin=b.coordorigin;var d=new D(c,b),e={fill:"none",stroke:"#000"};a&&(e.path=a),d.type="path",d.path=[],d.Path=o,B(d,e),b.canvas.appendChild(c);var f=F("skew");return f.on=!0,c.appendChild(f),d.skew=f,d.transform(o),d},a._engine.rect=function(b,c,d,e,f,g){var h=a._rectPath(c,d,e,f,g),i=b.path(h),j=i.attrs;return i.X=j.x=c,i.Y=j.y=d,i.W=j.width=e,i.H=j.height=f,j.r=g,j.path=h,i.type="rect",i},a._engine.ellipse=function(a,b,c,d,e){var f=a.path(),g=f.attrs;return f.X=b-d,f.Y=c-e,f.W=d*2,f.H=e*2,f.type="ellipse",B(f,{cx:b,cy:c,rx:d,ry:e}),f},a._engine.circle=function(a,b,c,d){var e=a.path(),f=e.attrs;return e.X=b-d,e.Y=c-d,e.W=e.H=d*2,e.type="circle",B(e,{cx:b,cy:c,r:d}),e},a._engine.image=function(b,c,d,e,f,g){var h=a._rectPath(d,e,f,g),i=b.path(h).attr({stroke:"none"}),k=i.attrs,l=i.node,m=l.getElementsByTagName(j)[0];return k.src=c,i.X=k.x=d,i.Y=k.y=e,i.W=k.width=f,i.H=k.height=g,k.path=h,i.type="image",m.parentNode==l&&l.removeChild(m),m.rotate=!0,m.src=c,m.type="tile",i._.fillpos=[d,e],i._.fillsize=[f,g],l.appendChild(m),z(i,1,1,0,0,0),i},a._engine.text=function(b,d,e,g){var h=F("shape"),i=F("path"),j=F("textpath");d=d||0,e=e||0,g=g||"",i.v=a.format("m{0},{1}l{2},{1}",f(d*u),f(e*u),f(d*u)+1),i.textpathok=!0,j.string=c(g),j.on=!0,h.style.cssText=t,h.coordsize=u+n+u,h.coordorigin="0 0";var k=new D(h,b),l={fill:"#000",stroke:"none",font:a._availableAttrs.font,text:g};k.shape=h,k.path=i,k.textpath=j,k.type="text",k.attrs.text=c(g),k.attrs.x=d,k.attrs.y=e,k.attrs.w=1,k.attrs.h=1,B(k,l),h.appendChild(j),h.appendChild(i),b.canvas.appendChild(h);var m=F("skew");return m.on=!0,h.appendChild(m),k.skew=m,k.transform(o),k},a._engine.setSize=function(b,c){var d=this.canvas.style;return this.width=b,this.height=c,b==+b&&(b+="px"),c==+c&&(c+="px"),d.width=b,d.height=c,d.clip="rect(0 "+b+" "+c+" 0)",this._viewBox&&a._engine.setViewBox.apply(this,this._viewBox),this},a._engine.setViewBox=function(b,c,d,e,f){a.eve("setViewBox",this,this._viewBox,[b,c,d,e,f]);var h=this.width,i=this.height,j=1/g(d/h,e/i),k,l;return f&&(k=i/e,l=h/d,d*k<h&&(b-=(h-d*k)/2/k),e*l<i&&(c-=(i-e*l)/2/l)),this._viewBox=[b,c,d,e,!!f],this._viewBoxShift={dx:-b,dy:-c,scale:j},this.forEach(function(a){a.transform("...")}),this};var F;a._engine.initWin=function(a){var b=a.document;b.createStyleSheet().addRule(".rvml","behavior:url(#default#VML)");try{!b.namespaces.rvml&&b.namespaces.add("rvml","urn:schemas-microsoft-com:vml"),F=function(a){return b.createElement("<rvml:"+a+' class="rvml">')}}catch(c){F=function(a){return b.createElement("<"+a+' xmlns="urn:schemas-microsoft.com:vml" class="rvml">')}}},a._engine.initWin(a._g.win),a._engine.create=function(){var b=a._getContainer.apply(0,arguments),c=b.container,d=b.height,e,f=b.width,g=b.x,h=b.y;if(!c)throw new Error("VML container not found.");var i=new a._Paper,j=i.canvas=a._g.doc.createElement("div"),k=j.style;return g=g||0,h=h||0,f=f||512,d=d||342,i.width=f,i.height=d,f==+f&&(f+="px"),d==+d&&(d+="px"),i.coordsize=u*1e3+n+u*1e3,i.coordorigin="0 0",i.span=a._g.doc.createElement("span"),i.span.style.cssText="position:absolute;left:-9999em;top:-9999em;padding:0;margin:0;line-height:1;",j.appendChild(i.span),k.cssText=a.format("top:0;left:0;width:{0};height:{1};display:inline-block;position:relative;clip:rect(0 {0} {1} 0);overflow:hidden",f,d),c==1?(a._g.doc.body.appendChild(j),k.left=g+"px",k.top=h+"px",k.position="absolute"):c.firstChild?c.insertBefore(j,c.firstChild):c.appendChild(j),i.renderfix=function(){},i},a.prototype.clear=function(){a.eve("clear",this),this.canvas.innerHTML=o,this.span=a._g.doc.createElement("span"),this.span.style.cssText="position:absolute;left:-9999em;top:-9999em;padding:0;margin:0;line-height:1;display:inline;",this.canvas.appendChild(this.span),this.bottom=this.top=null},a.prototype.remove=function(){a.eve("remove",this),this.canvas.parentNode.removeChild(this.canvas);for(var b in this)this[b]=typeof this[b]=="function"?a._removedFactory(b):null;return!0};var G=a.st;for(var H in E)E[b](H)&&!G[b](H)&&(G[H]=function(a){return function(){var b=arguments;return this.forEach(function(c){c[a].apply(c,b)})}}(H))}(window.Raphael),function(){this.MooTools={version:"1.3.2",build:"c9f1ff10e9e7facb65e9481049ed1b450959d587"};var a=this.typeOf=function(a){if(a==null)return"null";if(a.$family)return a.$family();if(a.nodeName){if(a.nodeType==1)return"element";if(a.nodeType==3)return/\S/.test(a.nodeValue)?"textnode":"whitespace"}else if(typeof a.length=="number"){if(a.callee)return"arguments";if("item"in a)return"collection"}return typeof a},b=this.instanceOf=function(a,b){if(a==null)return!1;var c=a.$constructor||a.constructor;while(c){if(c===b)return!0;c=c.parent}return a instanceof b},c=this.Function,d=!0;for(var e in{toString:1})d=null;d&&(d=["hasOwnProperty","valueOf","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","constructor"]),c.prototype.overloadSetter=function(a){var b=this;return function(c,e){if(c==null)return this;if(a||typeof c!="string"){for(var f in c)b.call(this,f,c[f]);if(d)for(var g=d.length;g--;)f=d[g],c.hasOwnProperty(f)&&b.call(this,f,c[f])}else b.call(this,c,e);return this}},c.prototype.overloadGetter=function(a){var b=this;return function(c){var d,e;a||typeof c!="string"?d=c:arguments.length>1&&(d=arguments);if(d){e={};for(var f=0;f<d.length;f++)e[d[f]]=b.call(this,d[f])}else e=b.call(this,c);return e}},c.prototype.extend=function(a,b){this[a]=b}.overloadSetter(),c.prototype.implement=function(a,b){this.prototype[a]=b}.overloadSetter();var f=Array.prototype.slice;c.from=function(b){return a(b)=="function"?b:function(){return b}},Array.from=function(b){return b==null?[]:g.isEnumerable(b)&&typeof b!="string"?a(b)=="array"?b:f.call(b):[b]},Number.from=function(a){var b=parseFloat(a);return isFinite(b)?b:null},String.from=function(a){return a+""},c.implement({hide:function(){return this.$hidden=!0,this},protect:function(){return this.$protected=!0,this}});var g=this.Type=function(b,c){if(b){var d=b.toLowerCase(),e=function(b){return a(b)==d};g["is"+b]=e,c!=null&&(c.prototype.$family=function(){return d}.hide())}return c==null?null:(c.extend(this),c.$constructor=g,c.prototype.$constructor=c,c)},h=Object.prototype.toString;g.isEnumerable=function(a){return a!=null&&typeof a.length=="number"&&h.call(a)!="[object Function]"};var i={},j=function(b){var c=a(b.prototype);return i[c]||(i[c]=[])},k=function(b,c){if(c&&c.$hidden)return;var d=j(this);for(var e=0;e<d.length;e++){var g=d[e];a(g)=="type"?k.call(g,b,c):g.call(this,b,c)}var h=this.prototype[b];if(h==null||!h.$protected)this.prototype[b]=c;this[b]==null&&a(c)=="function"&&l.call(this,b,function(a){return c.apply(a,f.call(arguments,1))})},l=function(a,b){if(b&&b.$hidden)return;var c=this[a];if(c==null||!c.$protected)this[a]=b};g.implement({implement:k.overloadSetter(),extend:l.overloadSetter(),alias:function(a,b){k.call(this,a,this.prototype[b])}.overloadSetter(),mirror:function(a){return j(this).push(a),this}}),new g("Type",g);var m=function(a,b,c){var d=b!=Object,e=b.prototype;d&&(b=new g(a,b));for(var f=0,h=c.length;f<h;f++){var i=c[f],j=b[i],k=e[i];j&&j.protect(),d&&k&&(delete e[i],e[i]=k.protect())}return d&&b.implement(e),m};m("String",String,["charAt","charCodeAt","concat","indexOf","lastIndexOf","match","quote","replace","search","slice","split","substr","substring","toLowerCase","toUpperCase"])("Array",Array,["pop","push","reverse","shift","sort","splice","unshift","concat","join","slice","indexOf","lastIndexOf","filter","forEach","every","map","some","reduce","reduceRight"])("Number",Number,["toExponential","toFixed","toLocaleString","toPrecision"])("Function",c,["apply","call","bind"])("RegExp",RegExp,["exec","test"])("Object",Object,["create","defineProperty","defineProperties","keys","getPrototypeOf","getOwnPropertyDescriptor","getOwnPropertyNames","preventExtensions","isExtensible","seal","isSealed","freeze","isFrozen"])("Date",Date,["now"]),Object.extend=l.overloadSetter(),Date.extend("now",function(){return+(new Date)}),new g("Boolean",Boolean),Number.prototype.$family=function(){return isFinite(this)?"number":"null"}.hide(),Number.extend("random",function(a,b){return Math.floor(Math.random()*(b-a+1)+a)});var n=Object.prototype.hasOwnProperty;Object.extend("forEach",function(a,b,c){for(var d in a)n.call(a,d)&&b.call(c,a[d],d,a)}),Object.each=Object.forEach,Array.implement({forEach:function(a,b){for(var c=0,d=this.length;c<d;c++)c in this&&a.call(b,this[c],c,this)},each:function(a,b){return Array.forEach(this,a,b),this}});var o=function(b){switch(a(b)){case"array":return b.clone();case"object":return Object.clone(b);default:return b}};Array.implement("clone",function(){var a=this.length,b=new Array(a);while(a--)b[a]=o(this[a]);return b});var p=function(b,c,d){switch(a(d)){case"object":a(b[c])=="object"?Object.merge(b[c],d):b[c]=Object.clone(d);break;case"array":b[c]=d.clone();break;default:b[c]=d}return b};Object.extend({merge:function(b,c,d){if(a(c)=="string")return p(b,c,d);for(var e=1,f=arguments.length;e<f;e++){var g=arguments[e];for(var h in g)p(b,h,g[h])}return b},clone:function(a){var b={};for(var c in a)b[c]=o(a[c]);return b},append:function(a){for(var b=1,c=arguments.length;b<c;b++){var d=arguments[b]||{};for(var e in d)a[e]=d[e]}return a}}),["Object","WhiteSpace","TextNode","Collection","Arguments"].each(function(a){new g(a)});var q=Date.now();String.extend("uniqueID",function(){return(q++).toString(36)})}(),Array.implement({every:function(a,b){for(var c=0,d=this.length;c<d;c++)if(c in this&&!a.call(b,this[c],c,this))return!1;return!0},filter:function(a,b){var c=[];for(var d=0,e=this.length;d<e;d++)d in this&&a.call(b,this[d],d,this)&&c.push(this[d]);return c},indexOf:function(a,b){var c=this.length;for(var d=b<0?Math.max(0,c+b):b||0;d<c;d++)if(this[d]===a)return d;return-1},map:function(a,b){var c=[];for(var d=0,e=this.length;d<e;d++)d in this&&(c[d]=a.call(b,this[d],d,this));return c},some:function(a,b){for(var c=0,d=this.length;c<d;c++)if(c in this&&a.call(b,this[c],c,this))return!0;return!1},clean:function(){return this.filter(function(a){return a!=null})},invoke:function(a){var b=Array.slice(arguments,1);return this.map(function(c){return c[a].apply(c,b)})},associate:function(a){var b={},c=Math.min(this.length,a.length);for(var d=0;d<c;d++)b[a[d]]=this[d];return b},link:function(a){var b={};for(var c=0,d=this.length;c<d;c++)for(var e in a)if(a[e](this[c])){b[e]=this[c],delete a[e];break}return b},contains:function(a,b){return this.indexOf(a,b)!=-1},append:function(a){return this.push.apply(this,a),this},getLast:function(){return this.length?this[this.length-1]:null},getRandom:function(){return this.length?this[Number.random(0,this.length-1)]:null},include:function(a){return this.contains(a)||this.push(a),this},combine:function(a){for(var b=0,c=a.length;b<c;b++)this.include(a[b]);return this},erase:function(a){for(var b=this.length;b--;)this[b]===a&&this.splice(b,1);return this},empty:function(){return this.length=0,this},flatten:function(){var a=[];for(var b=0,c=this.length;b<c;b++){var d=typeOf(this[b]);if(d=="null")continue;a=a.concat(d=="array"||d=="collection"||d=="arguments"||instanceOf(this[b],Array)?Array.flatten(this[b]):this[b])}return a},pick:function(){for(var a=0,b=this.length;a<b;a++)if(this[a]!=null)return this[a];return null},hexToRgb:function(a){if(this.length!=3)return null;var b=this.map(function(a){return a.length==1&&(a+=a),a.toInt(16)});return a?b:"rgb("+b+")"},rgbToHex:function(a){if(this.length<3)return null;if(this.length==4&&this[3]==0&&!a)return"transparent";var b=[];for(var c=0;c<3;c++){var d=(this[c]-0).toString(16);b.push(d.length==1?"0"+d:d)}return a?b:"#"+b.join("")}}),String.implement({test:function(a,b){return(typeOf(a)=="regexp"?a:new RegExp(""+a,b)).test(this)},contains:function(a,b){return b?(b+this+b).indexOf(b+a+b)>-1:this.indexOf(a)>-1},trim:function(){return this.replace(/^\s+|\s+$/g,"")},clean:function(){return this.replace(/\s+/g," ").trim()},camelCase:function(){return this.replace(/-\D/g,function(a){return a.charAt(1).toUpperCase()})},hyphenate:function(){return this.replace(/[A-Z]/g,function(a){return"-"+a.charAt(0).toLowerCase()})},capitalize:function(){return this.replace(/\b[a-z]/g,function(a){return a.toUpperCase()})},escapeRegExp:function(){return this.replace(/([-.*+?^${}()|[\]\/\\])/g,"\\$1")},toInt:function(a){return parseInt(this,a||10)},toFloat:function(){return parseFloat(this)},hexToRgb:function(a){var b=this.match(/^#?(\w{1,2})(\w{1,2})(\w{1,2})$/);return b?b.slice(1).hexToRgb(a):null},rgbToHex:function(a){var b=this.match(/\d{1,3}/g);return b?b.rgbToHex(a):null},substitute:function(a,b){return this.replace(b||/\\?\{([^{}]+)\}/g,function(b,c){return b.charAt(0)=="\\"?b.slice(1):a[c]!=null?a[c]:""})}}),Number.implement({limit:function(a,b){return Math.min(b,Math.max(a,this))},round:function(a){return a=Math.pow(10,a||0).toFixed(a<0?-a:0),Math.round(this*a)/a},times:function(a,b){for(var c=0;c<this;c++)a.call(b,c,this)},toFloat:function(){return parseFloat(this)},toInt:function(a){return parseInt(this,a||10)}}),Number.alias("each","times"),function(a){var b={};a.each(function(a){Number[a]||(b[a]=function(){return Math[a].apply(null,[this].concat(Array.from(arguments)))})}),Number.implement(b)}(["abs","acos","asin","atan","atan2","ceil","cos","exp","floor","log","max","min","pow","sin","sqrt","tan"]),Function.extend({attempt:function(){for(var a=0,b=arguments.length;a<b;a++)try{return arguments[a]()}catch(c){}return null}}),Function.implement({attempt:function(a,b){try{return this.apply(b,Array.from(a))}catch(c){}return null},bind:function(a){var b=this,c=arguments.length>1?Array.slice(arguments,1):null;return function(){return!c&&!arguments.length?b.call(a):c&&arguments.length?b.apply(a,c.concat(Array.from(arguments))):b.apply(a,c||arguments)}},pass:function(a,b){var c=this;return a!=null&&(a=Array.from(a)),function(){return c.apply(b,a||arguments)}},delay:function(a,b,c){return setTimeout(this.pass(c==null?[]:c,b),a)},periodical:function(a,b,c){return setInterval(this.pass(c==null?[]:c,b),a)}}),function(){var a=Object.prototype.hasOwnProperty;Object.extend({subset:function(a,b){var c={};for(var d=0,e=b.length;d<e;d++){var f=b[d];f in a&&(c[f]=a[f])}return c},map:function(b,c,d){var e={};for(var f in b)a.call(b,f)&&(e[f]=c.call(d,b[f],f,b));return e},filter:function(b,c,d){var e={};for(var f in b){var g=b[f];a.call(b,f)&&c.call(d,g,f,b)&&(e[f]=g)}return e},every:function(b,c,d){for(var e in b)if(a.call(b,e)&&!c.call(d,b[e],e))return!1;return!0},some:function(b,c,d){for(var e in b)if(a.call(b,e)&&c.call(d,b[e],e))return!0;return!1},keys:function(b){var c=[];for(var d in b)a.call(b,d)&&c.push(d);return c},values:function(b){var c=[];for(var d in b)a.call(b,d)&&c.push(b[d]);return c},getLength:function(a){return Object.keys(a).length},keyOf:function(b,c){for(var d in b)if(a.call(b,d)&&b[d]===c)return d;return null},contains:function(a,b){return Object.keyOf(a,b)!=null},toQueryString:function(a,b){var c=[];return Object.each(a,function(a,e){b&&(e=b+"["+e+"]");var f;switch(typeOf(a)){case"object":f=Object.toQueryString(a,e);break;case"array":var g={};a.each(function(a,b){g[b]=a}),f=Object.toQueryString(g,e);break;default:f=e+"="+encodeURIComponent(a)}a!=null&&c.push(f)}),c.join("&")}})}(),function(){var a=this.document,b=a.window=this,c=1;this.$uid=b.ActiveXObject?function(a){return(a.uid||(a.uid=[c++]))[0]}:function(a){return a.uid||(a.uid=c++)},$uid(b),$uid(a);var d=navigator.userAgent.toLowerCase(),e=navigator.platform.toLowerCase(),f=d.match(/(opera|ie|firefox|chrome|version)[\s\/:]([\w\d\.]+)?.*?(safari|version[\s\/:]([\w\d\.]+)|$)/)||[null,"unknown",0],g=f[1]=="ie"&&a.documentMode,h=this.Browser={extend:Function.prototype.extend,name:f[1]=="version"?f[3]:f[1],version:g||parseFloat(f[1]=="opera"&&f[4]?f[4]:f[2]),Platform:{name:d.match(/ip(?:ad|od|hone)/)?"ios":(d.match(/(?:webos|android)/)||e.match(/mac|win|linux/)||["other"])[0]},Features:{xpath:!!a.evaluate,air:!!b.runtime,query:!!a.querySelector,json:!!b.JSON},Plugins:{}};h[h.name]=!0,h[h.name+parseInt(h.version,10)]=!0,h.Platform[h.Platform.name]=!0,h.Request=function(){var a=function(){return new XMLHttpRequest},b=function(){return new ActiveXObject("MSXML2.XMLHTTP")},c=function(){return new ActiveXObject("Microsoft.XMLHTTP")};return Function.attempt(function(){return a(),a},function(){return b(),b},function(){return c(),c})}(),h.Features.xhr=!!h.Request;var i=(Function.attempt(function(){return navigator.plugins["Shockwave Flash"].description},function(){return(new ActiveXObject("ShockwaveFlash.ShockwaveFlash")).GetVariable("$version")})||"0 r0").match(/\d+/g);h.Plugins.Flash={version:Number(i[0]||"0."+i[1])||0,build:Number(i[2])||0},h.exec=function(c){if(!c)return c;if(b.execScript)b.execScript(c);else{var d=a.createElement("script");d.setAttribute("type","text/javascript"),d.text=c,a.head.appendChild(d),a.head.removeChild(d)}return c},String.implement("stripScripts",function(a){var b="",c=this.replace(/<script[^>]*>([\s\S]*?)<\/script>/gi,function(a,c){return b+=c+"\n",""});return a===!0?h.exec(b):typeOf(a)=="function"&&a(b,c),c}),h.extend({Document:this.Document,Window:this.Window,Element:this.Element,Event:this.Event}),this.Window=this.$constructor=new Type("Window",function(){}),this.$family=Function.from("window").hide(),Window.mirror(function(a,c){b[a]=c}),this.Document=a.$constructor=new Type("Document",function(){}),a.$family=Function.from("document").hide(),Document.mirror(function(b,c){a[b]=c}),a.html=a.documentElement,a.head||(a.head=a.getElementsByTagName("head")[0]);if(a.execCommand)try{a.execCommand("BackgroundImageCache",!1,!0)}catch(j){}if(this.attachEvent&&!this.addEventListener){var k=function(){this.detachEvent("onunload",k),a.head=a.html=a.window=null};this.attachEvent("onunload",k)}var l=Array.from;try{l(a.html.childNodes)}catch(j){Array.from=function(a){if(typeof a!="string"&&Type.isEnumerable(a)&&typeOf(a)!="array"){var b=a.length,c=new Array(b);while(b--)c[b]=a[b];return c}return l(a)};var m=Array.prototype,n=m.slice;["pop","push","reverse","shift","sort","splice","unshift","concat","join","slice"].each(function(a){var b=m[a];Array[a]=function(a){return b.apply(Array.from(a),n.call(arguments,1))}})}}();var Event=new Type("Event",function(a,b){b||(b=window);var c=b.document;a=a||b.event;if(a.$extended)return a;this.$extended=!0;var d=a.type,e=a.target||a.srcElement,f={},g={},h=null,i,j,k,l;while(e&&e.nodeType==3)e=e.parentNode;if(d.indexOf("key")!=-1){k=a.which||a.keyCode,l=Object.keyOf(Event.Keys,k);if(d=="keydown"){var m=k-111;m>0&&m<13&&(l="f"+m)}l||(l=String.fromCharCode(k).toLowerCase())}else if(/click|mouse|menu/i.test(d)){c=!c.compatMode||c.compatMode=="CSS1Compat"?c.html:c.body
,f={x:a.pageX!=null?a.pageX:a.clientX+c.scrollLeft,y:a.pageY!=null?a.pageY:a.clientY+c.scrollTop},g={x:a.pageX!=null?a.pageX-b.pageXOffset:a.clientX,y:a.pageY!=null?a.pageY-b.pageYOffset:a.clientY},/DOMMouseScroll|mousewheel/.test(d)&&(j=a.wheelDelta?a.wheelDelta/120:-(a.detail||0)/3),i=a.which==3||a.button==2;if(/over|out/.test(d)){h=a.relatedTarget||a[(d=="mouseover"?"from":"to")+"Element"];var n=function(){while(h&&h.nodeType==3)h=h.parentNode;return!0},o=Browser.firefox2?n.attempt():n();h=o?h:null}}else if(/gesture|touch/i.test(d)){this.rotation=a.rotation,this.scale=a.scale,this.targetTouches=a.targetTouches,this.changedTouches=a.changedTouches;var p=this.touches=a.touches;if(p&&p[0]){var q=p[0];f={x:q.pageX,y:q.pageY},g={x:q.clientX,y:q.clientY}}}return Object.append(this,{event:a,type:d,page:f,client:g,rightClick:i,wheel:j,relatedTarget:document.id(h),target:document.id(e),code:k,key:l,shift:a.shiftKey,control:a.ctrlKey,alt:a.altKey,meta:a.metaKey})});Event.Keys={enter:13,up:38,down:40,left:37,right:39,esc:27,space:32,backspace:8,tab:9,"delete":46},Event.implement({stop:function(){return this.stopPropagation().preventDefault()},stopPropagation:function(){return this.event.stopPropagation?this.event.stopPropagation():this.event.cancelBubble=!0,this},preventDefault:function(){return this.event.preventDefault?this.event.preventDefault():this.event.returnValue=!1,this}}),function(){var a=this.Class=new Type("Class",function(d){instanceOf(d,Function)&&(d={initialize:d});var e=function(){c(this);if(e.$prototyping)return this;this.$caller=null;var a=this.initialize?this.initialize.apply(this,arguments):this;return this.$caller=this.caller=null,a}.extend(this).implement(d);return e.$constructor=a,e.prototype.$constructor=e,e.prototype.parent=b,e}),b=function(){if(!this.$caller)throw new Error('The method "parent" cannot be called.');var a=this.$caller.$name,b=this.$caller.$owner.parent,c=b?b.prototype[a]:null;if(!c)throw new Error('The method "'+a+'" has no parent.');return c.apply(this,arguments)},c=function(a){for(var b in a){var d=a[b];switch(typeOf(d)){case"object":var e=function(){};e.prototype=d,a[b]=c(new e);break;case"array":a[b]=d.clone()}}return a},d=function(a,b,c){c.$origin&&(c=c.$origin);var d=function(){if(c.$protected&&this.$caller==null)throw new Error('The method "'+b+'" cannot be called.');var a=this.caller,e=this.$caller;this.caller=e,this.$caller=d;var f=c.apply(this,arguments);return this.$caller=e,this.caller=a,f}.extend({$owner:a,$origin:c,$name:b});return d},e=function(b,c,e){if(a.Mutators.hasOwnProperty(b)){c=a.Mutators[b].call(this,c);if(c==null)return this}if(typeOf(c)=="function"){if(c.$hidden)return this;this.prototype[b]=e?c:d(this,b,c)}else Object.merge(this.prototype,b,c);return this},f=function(a){a.$prototyping=!0;var b=new a;return delete a.$prototyping,b};a.implement("implement",e.overloadSetter()),a.Mutators={Extends:function(a){this.parent=a,this.prototype=f(a)},Implements:function(a){Array.from(a).each(function(a){var b=new a;for(var c in b)e.call(this,c,b[c],!0)},this)}}}(),function(){this.Chain=new Class({$chain:[],chain:function(){return this.$chain.append(Array.flatten(arguments)),this},callChain:function(){return this.$chain.length?this.$chain.shift().apply(this,arguments):!1},clearChain:function(){return this.$chain.empty(),this}});var a=function(a){return a.replace(/^on([A-Z])/,function(a,b){return b.toLowerCase()})};this.Events=new Class({$events:{},addEvent:function(b,c,d){return b=a(b),this.$events[b]=(this.$events[b]||[]).include(c),d&&(c.internal=!0),this},addEvents:function(a){for(var b in a)this.addEvent(b,a[b]);return this},fireEvent:function(b,c,d){b=a(b);var e=this.$events[b];return e?(c=Array.from(c),e.each(function(a){d?a.delay(d,this,c):a.apply(this,c)},this),this):this},removeEvent:function(b,c){b=a(b);var d=this.$events[b];if(d&&!c.internal){var e=d.indexOf(c);e!=-1&&delete d[e]}return this},removeEvents:function(b){var c;if(typeOf(b)=="object"){for(c in b)this.removeEvent(c,b[c]);return this}b&&(b=a(b));for(c in this.$events){if(b&&b!=c)continue;var d=this.$events[c];for(var e=d.length;e--;)e in d&&this.removeEvent(c,d[e])}return this}}),this.Options=new Class({setOptions:function(){var a=this.options=Object.merge.apply(null,[{},this.options].append(arguments));if(this.addEvent)for(var b in a){if(typeOf(a[b])!="function"||!/^on[A-Z]/.test(b))continue;this.addEvent(b,a[b]),delete a[b]}return this}})}(),function(){function m(e,f,h,j,l,m,n,o,p,q,r,s,t,u,v,w){if(f||b===-1){a.expressions[++b]=[],c=-1;if(f)return""}if(h||j||c===-1){h=h||" ";var x=a.expressions[b];d&&x[c]&&(x[c].reverseCombinator=i(h)),x[++c]={combinator:h,tag:"*"}}var y=a.expressions[b][c];if(l)y.tag=l.replace(g,"");else if(m)y.id=m.replace(g,"");else if(n)n=n.replace(g,""),y.classList||(y.classList=[]),y.classes||(y.classes=[]),y.classList.push(n),y.classes.push({value:n,regexp:new RegExp("(^|\\s)"+k(n)+"(\\s|$)")});else if(t)w=w||v,w=w?w.replace(g,""):null,y.pseudos||(y.pseudos=[]),y.pseudos.push({key:t.replace(g,""),value:w,type:s.length==1?"class":"element"});else if(o){o=o.replace(g,""),r=(r||"").replace(g,"");var z,A;switch(p){case"^=":A=new RegExp("^"+k(r));break;case"$=":A=new RegExp(k(r)+"$");break;case"~=":A=new RegExp("(^|\\s)"+k(r)+"(\\s|$)");break;case"|=":A=new RegExp("^"+k(r)+"(-|$)");break;case"=":z=function(a){return r==a};break;case"*=":z=function(a){return a&&a.indexOf(r)>-1};break;case"!=":z=function(a){return r!=a};break;default:z=function(a){return!!a}}r==""&&/^[*$^]=$/.test(p)&&(z=function(){return!1}),z||(z=function(a){return a&&A.test(a)}),y.attributes||(y.attributes=[]),y.attributes.push({key:o,operator:p,value:r,test:z})}return""}var a,b,c,d,e={},f={},g=/\\/g,h=function(c,g){if(c==null)return null;if(c.Slick===!0)return c;c=(""+c).replace(/^\s+|\s+$/g,""),d=!!g;var i=d?f:e;if(i[c])return i[c];a={Slick:!0,expressions:[],raw:c,reverse:function(){return h(this.raw,!0)}},b=-1;while(c!=(c=c.replace(l,m)));return a.length=a.expressions.length,i[a.raw]=d?j(a):a},i=function(a){return a==="!"?" ":a===" "?"!":/^!/.test(a)?a.replace(/^!/,""):"!"+a},j=function(a){var b=a.expressions;for(var c=0;c<b.length;c++){var d=b[c],e={parts:[],tag:"*",combinator:i(d[0].combinator)};for(var f=0;f<d.length;f++){var g=d[f];g.reverseCombinator||(g.reverseCombinator=" "),g.combinator=g.reverseCombinator,delete g.reverseCombinator}d.reverse().push(e)}return a},k=function(a){return a.replace(/[-[\]{}()*+?.\\^$|,#\s]/g,function(a){return"\\"+a})},l=new RegExp("^(?:\\s*(,)\\s*|\\s*(<combinator>+)\\s*|(\\s+)|(<unicode>+|\\*)|\\#(<unicode>+)|\\.(<unicode>+)|\\[\\s*(<unicode1>+)(?:\\s*([*^$!~|]?=)(?:\\s*(?:([\"']?)(.*?)\\9)))?\\s*\\](?!\\])|(:+)(<unicode>+)(?:\\((?:(?:([\"'])([^\\13]*)\\13)|((?:\\([^)]+\\)|[^()]*)+))\\))?)".replace(/<combinator>/,"["+k(">+~`!@$%^&={}\\;</")+"]").replace(/<unicode>/g,"(?:[\\w\\u00a1-\\uFFFF-]|\\\\[^\\s0-9a-f])").replace(/<unicode1>/g,"(?:[:\\w\\u00a1-\\uFFFF-]|\\\\[^\\s0-9a-f])")),n=this.Slick||{};n.parse=function(a){return h(a)},n.escapeRegExp=k,this.Slick||(this.Slick=n)}.apply(typeof exports!="undefined"?exports:this),function(){var a={},b={},c=Object.prototype.toString;a.isNativeCode=function(a){return/\{\s*\[native code\]\s*\}/.test(""+a)},a.isXML=function(a){return!!a.xmlVersion||!!a.xml||c.call(a)=="[object XMLDocument]"||a.nodeType==9&&a.documentElement.nodeName!="HTML"},a.setDocument=function(a){var c=a.nodeType;if(c!=9)if(c)a=a.ownerDocument;else if(a.navigator)a=a.document;else return;if(this.document===a)return;this.document=a;var d=a.documentElement,e=this.getUIDXML(d),f=b[e],g;if(f){for(g in f)this[g]=f[g];return}f=b[e]={},f.root=d,f.isXMLDocument=this.isXML(a),f.brokenStarGEBTN=f.starSelectsClosedQSA=f.idGetsName=f.brokenMixedCaseQSA=f.brokenGEBCN=f.brokenCheckedQSA=f.brokenEmptyAttributeQSA=f.isHTMLDocument=f.nativeMatchesSelector=!1;var h,i,j,k,m,n,o="slick_uniqueid",p=a.createElement("div"),q=a.body||a.getElementsByTagName("body")[0]||d;q.appendChild(p);try{p.innerHTML='<a id="'+o+'"></a>',f.isHTMLDocument=!!a.getElementById(o)}catch(r){}if(f.isHTMLDocument){p.style.display="none",p.appendChild(a.createComment("")),i=p.getElementsByTagName("*").length>1;try{p.innerHTML="foo</foo>",n=p.getElementsByTagName("*"),h=n&&!!n.length&&n[0].nodeName.charAt(0)=="/"}catch(r){}f.brokenStarGEBTN=i||h;try{p.innerHTML='<a name="'+o+'"></a><b id="'+o+'"></b>',f.idGetsName=a.getElementById(o)===p.firstChild}catch(r){}if(p.getElementsByClassName){try{p.innerHTML='<a class="f"></a><a class="b"></a>',p.getElementsByClassName("b").length,p.firstChild.className="b",k=p.getElementsByClassName("b").length!=2}catch(r){}try{p.innerHTML='<a class="a"></a><a class="f b a"></a>',j=p.getElementsByClassName("a").length!=2}catch(r){}f.brokenGEBCN=k||j}if(p.querySelectorAll){try{p.innerHTML="foo</foo>",n=p.querySelectorAll("*"),f.starSelectsClosedQSA=n&&!!n.length&&n[0].nodeName.charAt(0)=="/"}catch(r){}try{p.innerHTML='<a class="MiX"></a>',f.brokenMixedCaseQSA=!p.querySelectorAll(".MiX").length}catch(r){}try{p.innerHTML='<select><option selected="selected">a</option></select>',f.brokenCheckedQSA=p.querySelectorAll(":checked").length==0}catch(r){}try{p.innerHTML='<a class=""></a>',f.brokenEmptyAttributeQSA=p.querySelectorAll('[class*=""]').length!=0}catch(r){}}try{p.innerHTML='<form action="s"><input id="action"/></form>',m=p.firstChild.getAttribute("action")!="s"}catch(r){}f.nativeMatchesSelector=d.matchesSelector||d.mozMatchesSelector||d.webkitMatchesSelector;if(f.nativeMatchesSelector)try{f.nativeMatchesSelector.call(d,":slick"),f.nativeMatchesSelector=null}catch(r){}}try{d.slick_expando=1,delete d.slick_expando,f.getUID=this.getUIDHTML}catch(r){f.getUID=this.getUIDXML}q.removeChild(p),p=n=q=null,f.getAttribute=f.isHTMLDocument&&m?function(a,b){var c=this.attributeGetters[b];if(c)return c.call(a);var d=a.getAttributeNode(b);return d?d.nodeValue:null}:function(a,b){var c=this.attributeGetters[b];return c?c.call(a):a.getAttribute(b)},f.hasAttribute=d&&this.isNativeCode(d.hasAttribute)?function(a,b){return a.hasAttribute(b)}:function(a,b){return a=a.getAttributeNode(b),!(!a||!a.specified&&!a.nodeValue)},f.contains=d&&this.isNativeCode(d.contains)?function(a,b){return a.contains(b)}:d&&d.compareDocumentPosition?function(a,b){return a===b||!!(a.compareDocumentPosition(b)&16)}:function(a,b){if(b)do if(b===a)return!0;while(b=b.parentNode);return!1},f.documentSorter=d.compareDocumentPosition?function(a,b){return!a.compareDocumentPosition||!b.compareDocumentPosition?0:a.compareDocumentPosition(b)&4?-1:a===b?0:1}:"sourceIndex"in d?function(a,b){return!a.sourceIndex||!b.sourceIndex?0:a.sourceIndex-b.sourceIndex}:a.createRange?function(a,b){if(!a.ownerDocument||!b.ownerDocument)return 0;var c=a.ownerDocument.createRange(),d=b.ownerDocument.createRange();return c.setStart(a,0),c.setEnd(a,0),d.setStart(b,0),d.setEnd(b,0),c.compareBoundaryPoints(Range.START_TO_END,d)}:null,d=null;for(g in f)this[g]=f[g]};var d=/^([#.]?)((?:[\w-]+|\*))$/,e=/\[.+[*$^]=(?:""|'')?\]/,f={};a.search=function(a,b,c,g){var h=this.found=g?null:c||[];if(!a)return h;if(a.navigator)a=a.document;else if(!a.nodeType)return h;var i,j,l=this.uniques={},m=!!c&&!!c.length,n=a.nodeType==9;this.document!==(n?a:a.ownerDocument)&&this.setDocument(a);if(m)for(j=h.length;j--;)l[this.getUID(h[j])]=!0;if(typeof b=="string"){var o=b.match(d);p:if(o){var q=o[1],r=o[2],s,t;if(!q){if(r=="*"&&this.brokenStarGEBTN)break p;t=a.getElementsByTagName(r);if(g)return t[0]||null;for(j=0;s=t[j++];)(!m||!l[this.getUID(s)])&&h.push(s)}else if(q=="#"){if(!this.isHTMLDocument||!n)break p;s=a.getElementById(r);if(!s)return h;if(this.idGetsName&&s.getAttributeNode("id").nodeValue!=r)break p;if(g)return s||null;(!m||!l[this.getUID(s)])&&h.push(s)}else if(q=="."){if(!this.isHTMLDocument||(!a.getElementsByClassName||this.brokenGEBCN)&&a.querySelectorAll)break p;if(a.getElementsByClassName&&!this.brokenGEBCN){t=a.getElementsByClassName(r);if(g)return t[0]||null;for(j=0;s=t[j++];)(!m||!l[this.getUID(s)])&&h.push(s)}else{var u=new RegExp("(^|\\s)"+k.escapeRegExp(r)+"(\\s|$)");t=a.getElementsByTagName("*");for(j=0;s=t[j++];){className=s.className;if(!className||!u.test(className))continue;if(g)return s;(!m||!l[this.getUID(s)])&&h.push(s)}}}return m&&this.sort(h),g?null:h}v:if(a.querySelectorAll){if(!this.isHTMLDocument||f[b]||this.brokenMixedCaseQSA||this.brokenCheckedQSA&&b.indexOf(":checked")>-1||this.brokenEmptyAttributeQSA&&e.test(b)||!n&&b.indexOf(",")>-1||k.disableQSA)break v;var w=b,x=a;if(!n){var y=x.getAttribute("id"),z="slickid__";x.setAttribute("id",z),w="#"+z+" "+w,a=x.parentNode}try{if(g)return a.querySelector(w)||null;t=a.querySelectorAll(w)}catch(A){f[b]=1;break v}finally{n||(y?x.setAttribute("id",y):x.removeAttribute("id"),a=x)}if(this.starSelectsClosedQSA)for(j=0;s=t[j++];)s.nodeName>"@"&&(!m||!l[this.getUID(s)])&&h.push(s);else for(j=0;s=t[j++];)(!m||!l[this.getUID(s)])&&h.push(s);return m&&this.sort(h),h}i=this.Slick.parse(b);if(!i.length)return h}else{if(b==null)return h;if(b.Slick)i=b;else return this.contains(a.documentElement||a,b)?(h?h.push(b):h=b,h):h}this.posNTH={},this.posNTHLast={},this.posNTHType={},this.posNTHTypeLast={},this.push=!m&&(g||i.length==1&&i.expressions[0].length==1)?this.pushArray:this.pushUID,h==null&&(h=[]);var B,C,D,E,F,G,H,I,J,K,L,M,N,O,P=i.expressions;Q:for(j=0;M=P[j];j++)for(B=0;N=M[B];B++){E="combinator:"+N.combinator;if(!this[E])continue Q;F=this.isXMLDocument?N.tag:N.tag.toUpperCase(),G=N.id,H=N.classList,I=N.classes,J=N.attributes,K=N.pseudos,O=B===M.length-1,this.bitUniques={},O?(this.uniques=l,this.found=h):(this.uniques={},this.found=[]);if(B===0){this[E](a,F,G,I,J,K,H);if(g&&O&&h.length)break Q}else if(g&&O)for(C=0,D=L.length;C<D;C++){this[E](L[C],F,G,I,J,K,H);if(h.length)break Q}else for(C=0,D=L.length;C<D;C++)this[E](L[C],F,G,I,J,K,H);L=this.found}return(m||i.expressions.length>1)&&this.sort(h),g?h[0]||null:h},a.uidx=1,a.uidk="slick-uniqueid",a.getUIDXML=function(a){var b=a.getAttribute(this.uidk);return b||(b=this.uidx++,a.setAttribute(this.uidk,b)),b},a.getUIDHTML=function(a){return a.uniqueNumber||(a.uniqueNumber=this.uidx++)},a.sort=function(a){return this.documentSorter?(a.sort(this.documentSorter),a):a},a.cacheNTH={},a.matchNTH=/^([+-]?\d*)?([a-z]+)?([+-]\d+)?$/,a.parseNTHArgument=function(a){var b=a.match(this.matchNTH);if(!b)return!1;var c=b[2]||!1,d=b[1]||1;d=="-"&&(d=-1);var e=+b[3]||0;return b=c=="n"?{a:d,b:e}:c=="odd"?{a:2,b:1}:c=="even"?{a:2,b:0}:{a:0,b:d},this.cacheNTH[a]=b},a.createNTHPseudo=function(a,b,c,d){return function(e,f){var g=this.getUID(e);if(!this[c][g]){var h=e.parentNode;if(!h)return!1;var i=h[a],j=1;if(d){var k=e.nodeName;do{if(i.nodeName!=k)continue;this[c][this.getUID(i)]=j++}while(i=i[b])}else do{if(i.nodeType!=1)continue;this[c][this.getUID(i)]=j++}while(i=i[b])}f=f||"n";var l=this.cacheNTH[f]||this.parseNTHArgument(f);if(!l)return!1;var p=l.a,q=l.b,r=this[c][g];if(p==0)return q==r;if(p>0){if(r<q)return!1}else if(q<r)return!1;return(r-q)%p==0}},a.pushArray=function(a,b,c,d,e,f){this.matchSelector(a,b,c,d,e,f)&&this.found.push(a)},a.pushUID=function(a,b,c,d,e,f){var g=this.getUID(a);!this.uniques[g]&&this.matchSelector(a,b,c,d,e,f)&&(this.uniques[g]=!0,this.found.push(a))},a.matchNode=function(a,b){if(this.isHTMLDocument&&this.nativeMatchesSelector)try{return this.nativeMatchesSelector.call(a,b.replace(/\[([^=]+)=\s*([^'"\]]+?)\s*\]/g,'[$1="$2"]'))}catch(c){}var d=this.Slick.parse(b);if(!d)return!0;var e=d.expressions,f,g=0,h;for(h=0;currentExpression=e[h];h++)if(currentExpression.length==1){var i=currentExpression[0];if(this.matchSelector(a,this.isXMLDocument?i.tag:i.tag.toUpperCase(),i.id,i.classes,i.attributes,i.pseudos))return!0;g++}if(g==d.length)return!1;var j=this.search(this.document,d),k;for(h=0;k=j[h++];)if(k===a)return!0;return!1},a.matchPseudo=function(a,b,c){var d="pseudo:"+b;if(this[d])return this[d](a,c);var e=this.getAttribute(a,b);return c?c==e:!!e},a.matchSelector=function(a,b,c,d,e,f){if(b){var g=this.isXMLDocument?a.nodeName:a.nodeName.toUpperCase();if(b=="*"){if(g<"@")return!1}else if(g!=b)return!1}if(c&&a.getAttribute("id")!=c)return!1;var h,i,j;if(d)for(h=d.length;h--;){j=a.getAttribute("class")||a.className;if(!j||!d[h].regexp.test(j))return!1}if(e)for(h=e.length;h--;){i=e[h];if(i.operator?!i.test(this.getAttribute(a,i.key)):!this.hasAttribute(a,i.key))return!1}if(f)for(h=f.length;h--;){i=f[h];if(!this.matchPseudo(a,i.key,i.value))return!1}return!0};var g={" ":function(a,b,c,d,e,f,g){var h,i,j;if(this.isHTMLDocument){k:if(c){i=this.document.getElementById(c);if(!i&&a.all||this.idGetsName&&i&&i.getAttributeNode("id").nodeValue!=c){j=a.all[c];if(!j)return;j[0]||(j=[j]);for(h=0;i=j[h++];){var l=i.getAttributeNode("id");if(l&&l.nodeValue==c){this.push(i,b,null,d,e,f);break}}return}if(!i){if(this.contains(this.root,a))return;break k}if(this.document!==a&&!this.contains(a,i))return;this.push(i,b,null,d,e,f);return}m:if(d&&a.getElementsByClassName&&!this.brokenGEBCN){j=a.getElementsByClassName(g.join(" "));if(!j||!j.length)break m;for(h=0;i=j[h++];)this.push(i,b,c,null,e,f);return}}n:{j=a.getElementsByTagName(b);if(!j||!j.length)break n;this.brokenStarGEBTN||(b=null);for(h=0;i=j[h++];)this.push(i,b,c,d,e,f)}},">":function(a,b,c,d,e,f){if(a=a.firstChild)do a.nodeType==1&&this.push(a,b,c,d,e,f);while(a=a.nextSibling)},"+":function(a,b,c,d,e,f){while(a=a.nextSibling)if(a.nodeType==1){this.push(a,b,c,d,e,f);break}},"^":function(a,b,c,d,e,f){a=a.firstChild,a&&(a.nodeType==1?this.push(a,b,c,d,e,f):this["combinator:+"](a,b,c,d,e,f))},"~":function(a,b,c,d,e,f){while(a=a.nextSibling){if(a.nodeType!=1)continue;var g=this.getUID(a);if(this.bitUniques[g])break;this.bitUniques[g]=!0,this.push(a,b,c,d,e,f)}},"++":function(a,b,c,d,e,f){this["combinator:+"](a,b,c,d,e,f),this["combinator:!+"](a,b,c,d,e,f)},"~~":function(a,b,c,d,e,f){this["combinator:~"](a,b,c,d,e,f),this["combinator:!~"](a,b,c,d,e,f)},"!":function(a,b,c,d,e,f){while(a=a.parentNode)a!==this.document&&this.push(a,b,c,d,e,f)},"!>":function(a,b,c,d,e,f){a=a.parentNode,a!==this.document&&this.push(a,b,c,d,e,f)},"!+":function(a,b,c,d,e,f){while(a=a.previousSibling)if(a.nodeType==1){this.push(a,b,c,d,e,f);break}},"!^":function(a,b,c,d,e,f){a=a.lastChild,a&&(a.nodeType==1?this.push(a,b,c,d,e,f):this["combinator:!+"](a,b,c,d,e,f))},"!~":function(a,b,c,d,e,f){while(a=a.previousSibling){if(a.nodeType!=1)continue;var g=this.getUID(a);if(this.bitUniques[g])break;this.bitUniques[g]=!0,this.push(a,b,c,d,e,f)}}};for(var h in g)a["combinator:"+h]=g[h];var i={empty:function(a){var b=a.firstChild;return(!b||b.nodeType!=1)&&!(a.innerText||a.textContent||"").length},not:function(a,b){return!this.matchNode(a,b)},contains:function(a,b){return(a.innerText||a.textContent||"").indexOf(b)>-1},"first-child":function(a){while(a=a.previousSibling)if(a.nodeType==1)return!1;return!0},"last-child":function(a){while(a=a.nextSibling)if(a.nodeType==1)return!1;return!0},"only-child":function(a){var b=a;while(b=b.previousSibling)if(b.nodeType==1)return!1;var c=a;while(c=c.nextSibling)if(c.nodeType==1)return!1;return!0},"nth-child":a.createNTHPseudo("firstChild","nextSibling","posNTH"),"nth-last-child":a.createNTHPseudo("lastChild","previousSibling","posNTHLast"),"nth-of-type":a.createNTHPseudo("firstChild","nextSibling","posNTHType",!0),"nth-last-of-type":a.createNTHPseudo("lastChild","previousSibling","posNTHTypeLast",!0),index:function(a,b){return this["pseudo:nth-child"](a,""+b+1)},even:function(a){return this["pseudo:nth-child"](a,"2n")},odd:function(a){return this["pseudo:nth-child"](a,"2n+1")},"first-of-type":function(a){var b=a.nodeName;while(a=a.previousSibling)if(a.nodeName==b)return!1;return!0},"last-of-type":function(a){var b=a.nodeName;while(a=a.nextSibling)if(a.nodeName==b)return!1;return!0},"only-of-type":function(a){var b=a,c=a.nodeName;while(b=b.previousSibling)if(b.nodeName==c)return!1;var d=a;while(d=d.nextSibling)if(d.nodeName==c)return!1;return!0},enabled:function(a){return!a.disabled},disabled:function(a){return a.disabled},checked:function(a){return a.checked||a.selected},focus:function(a){return this.isHTMLDocument&&this.document.activeElement===a&&(a.href||a.type||this.hasAttribute(a,"tabindex"))},root:function(a){return a===this.root},selected:function(a){return a.selected}};for(var j in i)a["pseudo:"+j]=i[j];a.attributeGetters={"class":function(){return this.getAttribute("class")||this.className},"for":function(){return"htmlFor"in this?this.htmlFor:this.getAttribute("for")},href:function(){return"href"in this?this.getAttribute("href",2):this.getAttribute("href")},style:function(){return this.style?this.style.cssText:this.getAttribute("style")},tabindex:function(){var a=this.getAttributeNode("tabindex");return a&&a.specified?a.nodeValue:null},type:function(){return this.getAttribute("type")}};var k=a.Slick=this.Slick||{};k.version="1.1.5",k.search=function(b,c,d){return a.search(b,c,d)},k.find=function(b,c){return a.search(b,c,null,!0)},k.contains=function(b,c){return a.setDocument(b),a.contains(b,c)},k.getAttribute=function(b,c){return a.getAttribute(b,c)},k.match=function(b,c){return!b||!c?!1:!c||c===b?!0:(a.setDocument(b),a.matchNode(b,c))},k.defineAttributeGetter=function(b,c){return a.attributeGetters[b]=c,this},k.lookupAttributeGetter=function(b){return a.attributeGetters[b]},k.definePseudo=function(b,c){return a["pseudo:"+b]=function(a,b){return c.call(a,b)},this},k.lookupPseudo=function(b){var c=a["pseudo:"+b];return c?function(a){return c.call(this,a)}:null},k.override=function(b,c){return a.override(b,c),this},k.isXML=a.isXML,k.uidOf=function(b){return a.getUIDHTML(b)},this.Slick||(this.Slick=k)}.apply(typeof exports!="undefined"?exports:this);var Element=function(a,b){var c=Element.Constructors[a];if(c)return c(b);if(typeof a!="string")return document.id(a).set(b);b||(b={});if(!/^[\w-]+$/.test(a)){var d=Slick.parse(a).expressions[0][0];a=d.tag=="*"?"div":d.tag,d.id&&b.id==null&&(b.id=d.id);var e=d.attributes;if(e)for(var f=0,g=e.length;f<g;f++){var h=e[f];if(b[h.key]!=null)continue;h.value!=null&&h.operator=="="?b[h.key]=h.value:!h.value&&!h.operator&&(b[h.key]=!0)}d.classList&&b["class"]==null&&(b["class"]=d.classList.join(" "))}return document.newElement(a,b)};Browser.Element&&(Element.prototype=Browser.Element.prototype),(new Type("Element",Element)).mirror(function(a){if(Array.prototype[a])return;var b={};b[a]=function(){var b=[],c=arguments,d=!0;for(var e=0,f=this.length;e<f;e++){var g=this[e],h=b[e]=g[a].apply(g,c);d=d&&typeOf(h)=="element"}return d?new Elements(b):b},Elements.implement(b)}),Browser.Element||(Element.parent=Object,Element.Prototype={$family:Function.from("element").hide()},Element.mirror(function(a,b){Element.Prototype[a]=b})),Element.Constructors={};var IFrame=new Type("IFrame",function(){var a=Array.link(arguments,{properties:Type.isObject,iframe:function(a){return a!=null}}),b=a.properties||{},c;a.iframe&&(c=document.id(a.iframe));var d=b.onload||function(){};delete b.onload,b.id=b.name=[b.id,b.name,c?c.id||c.name:"IFrame_"+String.uniqueID()].pick(),c=new Element(c||"iframe",b);var e=function(){d.call(c.contentWindow)};return window.frames[b.id]?e():c.addListener("load",e),c}),Elements=this.Elements=function(a){if(a&&a.length){var b={},c;for(var d=0;c=a[d++];){var e=Slick.uidOf(c);b[e]||(b[e]=!0,this.push(c))}}};Elements.prototype={length:0},Elements.parent=Array,(new Type("Elements",Elements)).implement({filter:function(a,b){return a?new Elements(Array.filter(this,typeOf(a)=="string"?function(b){return b.match(a)}:a,b)):this}.protect(),push:function(){var a=this.length;for(var b=0,c=arguments.length;b<c;b++){var d=document.id(arguments[b]);d&&(this[a++]=d)}return this.length=a}.protect(),unshift:function(){var a=[];for(var b=0,c=arguments.length;b<c;b++){var d=document.id(arguments[b]);d&&a.push(d)}return Array.prototype.unshift.apply(this,a)}.protect(),concat:function(){var a=new Elements(this);for(var b=0,c=arguments.length;b<c;b++){var d=arguments[b];Type.isEnumerable(d)?a.append(d):a.push(d)}return a}.protect(),append:function(a){for(var b=0,c=a.length;b<c;b++)this.push(a[b]);return this}.protect(),empty:function(){while(this.length)delete this[--this.length];return this}.protect()}),function(){var a=Array.prototype.splice,b={0:0,1:1,length:2};a.call(b,1,1),b[1]==1&&Elements.implement("splice",function(){var b=this.length;a.apply(this,arguments);while(b>=this.length)delete this[b--];return this}.protect()),Elements.implement(Array.prototype),Array.mirror(Elements);var c;try{var d=document.createElement("<input name=x>");c=d.name=="x"}catch(e){}var f=function(a){return(""+a).replace(/&/g,"&amp;").replace(/"/g,"&quot;")};Document.implement({newElement:function(a,b){return b&&b.checked!=null&&(b.defaultChecked=b.checked),c&&b&&(a="<"+a,b.name&&(a+=' name="'+f(b.name)+'"'),b.type&&(a+=' type="'+f(b.type)+'"'),a+=">",delete b.name,delete b.type),this.id(this.createElement(a)).set(b)}})}(),Document.implement({newTextNode:function(a){return this.createTextNode(a)},getDocument:function(){return this},getWindow:function(){return this.window},id:function(){var a={string:function(b,c,d){return b=Slick.find(d,"#"+b.replace(/(\W)/g,"\\$1")),b?a.element(b,c):null},element:function(a,b){return $uid(a),!b&&!a.$family&&!/^(?:object|embed)$/i.test(a.tagName)&&Object.append(a,Element.Prototype),a},object:function(b,c,d){return b.toElement?a.element(b.toElement(d),c):null}};return a.textnode=a.whitespace=a.window=a.document=function(a){return a},function(b,c,d){if(b&&b.$family&&b.uid)return b;var e=typeOf(b);return a[e]?a[e](b,c,d||document):null}}()}),window.$==null&&Window.implement("$",function(a,b){return document.id(a,b,this.document)}),Window.implement({getDocument:function(){return this.document},getWindow:function(){return this}}),[Document,Element].invoke("implement",{getElements:function(a){return Slick.search(this,a,new Elements)},getElement:function(a){return document.id(Slick.find(this,a))}}),window.$$==null&&Window.implement("$$",function(a){if(arguments.length==1){if(typeof a=="string")return Slick.search(this.document,a,new Elements);if(Type.isEnumerable(a))return new Elements(a)}return new Elements(arguments)}),function(){var a={},b={},c={input:"checked",option:"selected",textarea:"value"},d=function(a){return b[a]||(b[a]={})},e=function(c){var d=c.uid;return c.removeEvents&&c.removeEvents(),c.clearAttributes&&c.clearAttributes(),d!=null&&(delete a[d],delete b[d]),c},f=["defaultValue","accessKey","cellPadding","cellSpacing","colSpan","frameBorder","maxLength","readOnly","rowSpan","tabIndex","useMap"],g=["compact","nowrap","ismap","declare","noshade","checked","disabled","readOnly","multiple","selected","noresize","defer","defaultChecked"],h={html:"innerHTML","class":"className","for":"htmlFor",text:function(){var a=document.createElement("div");return a.textContent==null?"innerText":"textContent"}()},i=["type"],j=["value","defaultValue"],k=/^(?:href|src|usemap)$/i;g=g.associate(g),f=f.associate(f.map(String.toLowerCase)),i=i.associate(i),Object.append(h,j.associate(j));var l={before:function(a,b){var c=b.parentNode;c&&c.insertBefore(a,b)},after:function(a,b){var c=b.parentNode;c&&c.insertBefore(a,b.nextSibling)},bottom:function(a,b){b.appendChild(a)},top:function(a,b){b.insertBefore(a,b.firstChild)}};l.inside=l.bottom;var m=function(a,b){if(!a)return b;a=Object.clone(Slick.parse(a));var c=a.expressions;for(var d=c.length;d--;)c[d][0].combinator=b;return a};Element.implement({set:function(a,b){var c=Element.Properties[a];c&&c.set?c.set.call(this,b):this.setProperty(a,b)}.overloadSetter(),get:function(a){var b=Element.Properties[a];return b&&b.get?b.get.apply(this):this.getProperty(a)}.overloadGetter(),erase:function(a){var b=Element.Properties[a];return b&&b.erase?b.erase.apply(this):this.removeProperty(a),this},setProperty:function(a,b){a=f[a]||a;if(b==null)return this.removeProperty(a);var c=h[a];return c?this[c]=b:g[a]?this[a]=!!b:this.setAttribute(a,""+b),this},setProperties:function(a){for(var b in a)this.setProperty(b,a[b]);return this},getProperty:function(a){a=f[a]||a;var b=h[a]||i[a];return b?this[b]:g[a]?!!this[a]:(k.test(a)?this.getAttribute(a,2):(b=this.getAttributeNode(a))?b.nodeValue:null)||null},getProperties:function(){var a=Array.from(arguments);return a.map(this.getProperty,this).associate(a)},removeProperty:function(a){a=f[a]||a;var b=h[a];return b?this[b]="":g[a]?this[a]=!1:this.removeAttribute(a),this},removeProperties:function(){return Array.each(arguments,this.removeProperty,this),this},hasClass:function(a){return this.className.clean().contains(a," ")},addClass:function(a){return this.hasClass(a)||(this.className=(this.className+" "+a).clean()),this},removeClass:function(a){return this.className=this.className.replace(new RegExp("(^|\\s)"+a+"(?:\\s|$)"),"$1"),this},toggleClass:function(a,b){return b==null&&(b=!this.hasClass(a)),b?this.addClass(a):this.removeClass(a)},adopt:function(){var a=this,b,c=Array.flatten(arguments),d=c.length;d>1&&(a=b=document.createDocumentFragment());for(var e=0;e<d;e++){var f=document.id(c[e],!0);f&&a.appendChild(f)}return b&&this.appendChild(b),this},appendText:function(a,b){return this.grab(this.getDocument().newTextNode(a),b)},grab:function(a,b){return l[b||"bottom"](document.id(a,!0),this),this},inject:function(a,b){return l[b||"bottom"](this,document.id(a,!0)),this},replaces:function(a){return a=document.id(a,!0),a.parentNode.replaceChild(this,a),this},wraps:function(a,b){return a=document.id(a,!0),this.replaces(a).grab(a,b)},getPrevious:function(a){return document.id(Slick.find(this,m(a,"!~")))},getAllPrevious:function(a){return Slick.search(this,m(a,"!~"),new Elements)},getNext:function(a){return document.id(Slick.find(this,m(a,"~")))},getAllNext:function(a){return Slick.search(this,m(a,"~"),new Elements)},getFirst:function(a){return document.id(Slick.search(this,m(a,">"))[0])},getLast:function(a){return document.id(Slick.search(this,m(a,">")).getLast())},getParent:function(a){return document.id(Slick.find(this,m(a,"!")))},getParents:function(a){return Slick.search(this,m(a,"!"),new Elements)},getSiblings:function(a){return Slick.search(this,m(a,"~~"),new Elements)},getChildren:function(a){return Slick.search(this,m(a,">"),new Elements)},getWindow:function(){return this.ownerDocument.window},getDocument:function(){return this.ownerDocument},getElementById:function(a){return document.id(Slick.find(this,"#"+(""+a).replace(/(\W)/g,"\\$1")))},getSelected:function(){return this.selectedIndex,new Elements(Array.from(this.options).filter(function(a){return a.selected}))},toQueryString:function(){var a=[];return this.getElements("input, select, textarea").each(function(b){var c=b.type;if(!b.name||b.disabled||c=="submit"||c=="reset"||c=="file"||c=="image")return;var d=b.get("tag")=="select"?b.getSelected().map(function(a){return document.id(a).get("value")}):c!="radio"&&c!="checkbox"||!!b.checked?b.get("value"):null;Array.from(d).each(function(c){typeof c!="undefined"&&a.push(encodeURIComponent(b.name)+"="+encodeURIComponent(c))})}),a.join("&")},destroy:function(){var a=e(this).getElementsByTagName("*");return Array.each(a,e),Element.dispose(this),null},empty:function(){return Array.from(this.childNodes).each(Element.dispose),this},dispose:function(){return this.parentNode?this.parentNode.removeChild(this):this},match:function(a){return!a||Slick.match(this,a)}});var n=function(a,b,d){d||a.setAttributeNode(document.createAttribute("id"));if(a.clearAttributes){a.clearAttributes(),a.mergeAttributes(b),a.removeAttribute("uid");if(a.options){var e=a.options,f=b.options;for(var g=e.length;g--;)e[g].selected=f[g].selected}}var h=c[b.tagName.toLowerCase()];h&&b[h]&&(a[h]=b[h])};Element.implement("clone",function(a,b){a=a!==!1;var c=this.cloneNode(a),d;if(a){var e=c.getElementsByTagName("*"),f=this.getElementsByTagName("*");for(d=e.length;d--;)n(e[d],f[d],b)}n(c,this,b);if(Browser.ie){var g=c.getElementsByTagName("object"),h=this.getElementsByTagName("object");for(d=g.length;d--;)g[d].outerHTML=h[d].outerHTML}return document.id(c)});var o={contains:function(a){return Slick.contains(this,a)}};document.contains||Document.implement(o),document.createElement("div").contains||Element.implement(o),[Element,Window,Document].invoke("implement",{addListener:function(b,c){if(b=="unload"){var d=c,e=this;c=function(){e.removeListener("unload",c),d()}}else a[$uid(this)]=this;return this.addEventListener?this.addEventListener(b,c,!!arguments[2]):this.attachEvent("on"+b,c),this},removeListener:function(a,b){return this.removeEventListener?this.removeEventListener(a,b,!!arguments[2]):this.detachEvent("on"+a,b),this},retrieve:function(a,b){var c=d($uid(this)),e=c[a];return b!=null&&e==null&&(e=c[a]=b),e!=null?e:null},store:function(a,b){var c=d($uid(this));return c[a]=b,this}
,eliminate:function(a){var b=d($uid(this));return delete b[a],this}}),window.attachEvent&&!window.addEventListener&&window.addListener("unload",function(){Object.each(a,e),window.CollectGarbage&&CollectGarbage()})}(),Element.Properties={},Element.Properties.style={set:function(a){this.style.cssText=a},get:function(){return this.style.cssText},erase:function(){this.style.cssText=""}},Element.Properties.tag={get:function(){return this.tagName.toLowerCase()}},function(a){a!=null&&(Element.Properties.maxlength=Element.Properties.maxLength={get:function(){var b=this.getAttribute("maxLength");return b==a?null:b}})}(document.createElement("input").getAttribute("maxLength")),Element.Properties.html=function(){var a=Function.attempt(function(){var a=document.createElement("table");a.innerHTML="<tr><td></td></tr>"}),b=document.createElement("div"),c={table:[1,"<table>","</table>"],select:[1,"<select>","</select>"],tbody:[2,"<table><tbody>","</tbody></table>"],tr:[3,"<table><tbody><tr>","</tr></tbody></table>"]};c.thead=c.tfoot=c.tbody;var d={set:function(){var d=Array.flatten(arguments).join(""),e=!a&&c[this.get("tag")];if(e){var f=b;f.innerHTML=e[1]+d+e[2];for(var g=e[0];g--;)f=f.firstChild;this.empty().adopt(f.childNodes)}else this.innerHTML=d}};return d.erase=d.set,d}(),function(){var a=document.html;Element.Properties.styles={set:function(a){this.setStyles(a)}};var b=a.style.opacity!=null,c=/alpha\(opacity=([\d.]+)\)/i,d=function(a,d){if(!a.currentStyle||!a.currentStyle.hasLayout)a.style.zoom=1;if(b)a.style.opacity=d;else{d=(d*100).limit(0,100).round(),d=d==100?"":"alpha(opacity="+d+")";var e=a.style.filter||a.getComputedStyle("filter")||"";a.style.filter=c.test(e)?e.replace(c,d):e+d}};Element.Properties.opacity={set:function(a){var b=this.style.visibility;a==0&&b!="hidden"?this.style.visibility="hidden":a!=0&&b!="visible"&&(this.style.visibility="visible"),d(this,a)},get:b?function(){var a=this.style.opacity||this.getComputedStyle("opacity");return a==""?1:a}:function(){var a,b=this.style.filter||this.getComputedStyle("filter");return b&&(a=b.match(c)),a==null||b==null?1:a[1]/100}};var e=a.style.cssFloat==null?"styleFloat":"cssFloat";Element.implement({getComputedStyle:function(a){if(this.currentStyle)return this.currentStyle[a.camelCase()];var b=Element.getDocument(this).defaultView,c=b?b.getComputedStyle(this,null):null;return c?c.getPropertyValue(a==e?"float":a.hyphenate()):null},setOpacity:function(a){return d(this,a),this},getOpacity:function(){return this.get("opacity")},setStyle:function(a,b){switch(a){case"opacity":return this.set("opacity",parseFloat(b));case"float":a=e}a=a.camelCase();if(typeOf(b)!="string"){var c=(Element.Styles[a]||"@").split(" ");b=Array.from(b).map(function(a,b){return c[b]?typeOf(a)=="number"?c[b].replace("@",Math.round(a)):a:""}).join(" ")}else b==String(Number(b))&&(b=Math.round(b));return this.style[a]=b,this},getStyle:function(a){switch(a){case"opacity":return this.get("opacity");case"float":a=e}a=a.camelCase();var b=this.style[a];if(!b||a=="zIndex"){b=[];for(var c in Element.ShortStyles){if(a!=c)continue;for(var d in Element.ShortStyles[c])b.push(this.getStyle(d));return b.join(" ")}b=this.getComputedStyle(a)}if(b){b=String(b);var f=b.match(/rgba?\([\d\s,]+\)/);f&&(b=b.replace(f[0],f[0].rgbToHex()))}if(Browser.opera||Browser.ie&&isNaN(parseFloat(b))){if(/^(height|width)$/.test(a)){var g=a=="width"?["left","right"]:["top","bottom"],h=0;return g.each(function(a){h+=this.getStyle("border-"+a+"-width").toInt()+this.getStyle("padding-"+a).toInt()},this),this["offset"+a.capitalize()]-h+"px"}if(Browser.opera&&String(b).indexOf("px")!=-1)return b;if(/^border(.+)Width|margin|padding/.test(a))return"0px"}return b},setStyles:function(a){for(var b in a)this.setStyle(b,a[b]);return this},getStyles:function(){var a={};return Array.flatten(arguments).each(function(b){a[b]=this.getStyle(b)},this),a}}),Element.Styles={left:"@px",top:"@px",bottom:"@px",right:"@px",width:"@px",height:"@px",maxWidth:"@px",maxHeight:"@px",minWidth:"@px",minHeight:"@px",backgroundColor:"rgb(@, @, @)",backgroundPosition:"@px @px",color:"rgb(@, @, @)",fontSize:"@px",letterSpacing:"@px",lineHeight:"@px",clip:"rect(@px @px @px @px)",margin:"@px @px @px @px",padding:"@px @px @px @px",border:"@px @ rgb(@, @, @) @px @ rgb(@, @, @) @px @ rgb(@, @, @)",borderWidth:"@px @px @px @px",borderStyle:"@ @ @ @",borderColor:"rgb(@, @, @) rgb(@, @, @) rgb(@, @, @) rgb(@, @, @)",zIndex:"@",zoom:"@",fontWeight:"@",textIndent:"@px",opacity:"@"},Element.ShortStyles={margin:{},padding:{},border:{},borderWidth:{},borderStyle:{},borderColor:{}},["Top","Right","Bottom","Left"].each(function(a){var b=Element.ShortStyles,c=Element.Styles;["margin","padding"].each(function(d){var e=d+a;b[d][e]=c[e]="@px"});var d="border"+a;b.border[d]=c[d]="@px @ rgb(@, @, @)";var e=d+"Width",f=d+"Style",g=d+"Color";b[d]={},b.borderWidth[e]=b[d][e]=c[e]="@px",b.borderStyle[f]=b[d][f]=c[f]="@",b.borderColor[g]=b[d][g]=c[g]="rgb(@, @, @)"})}(),function(){Element.Properties.events={set:function(a){this.addEvents(a)}},[Element,Window,Document].invoke("implement",{addEvent:function(a,b){var c=this.retrieve("events",{});c[a]||(c[a]={keys:[],values:[]});if(c[a].keys.contains(b))return this;c[a].keys.push(b);var d=a,e=Element.Events[a],f=b,g=this;e&&(e.onAdd&&e.onAdd.call(this,b),e.condition&&(f=function(a){return e.condition.call(this,a)?b.call(this,a):!0}),d=e.base||d);var h=function(){return b.call(g)},i=Element.NativeEvents[d];return i&&(i==2&&(h=function(a){a=new Event(a,g.getWindow()),f.call(g,a)===!1&&a.stop()}),this.addListener(d,h,arguments[2])),c[a].values.push(h),this},removeEvent:function(a,b){var c=this.retrieve("events");if(!c||!c[a])return this;var d=c[a],e=d.keys.indexOf(b);if(e==-1)return this;var f=d.values[e];delete d.keys[e],delete d.values[e];var g=Element.Events[a];return g&&(g.onRemove&&g.onRemove.call(this,b),a=g.base||a),Element.NativeEvents[a]?this.removeListener(a,f,arguments[2]):this},addEvents:function(a){for(var b in a)this.addEvent(b,a[b]);return this},removeEvents:function(a){var b;if(typeOf(a)=="object"){for(b in a)this.removeEvent(b,a[b]);return this}var c=this.retrieve("events");if(!c)return this;if(!a){for(b in c)this.removeEvents(b);this.eliminate("events")}else c[a]&&(c[a].keys.each(function(b){this.removeEvent(a,b)},this),delete c[a]);return this},fireEvent:function(a,b,c){var d=this.retrieve("events");return!d||!d[a]?this:(b=Array.from(b),d[a].keys.each(function(a){c?a.delay(c,this,b):a.apply(this,b)},this),this)},cloneEvents:function(a,b){a=document.id(a);var c=a.retrieve("events");if(!c)return this;if(!b)for(var d in c)this.cloneEvents(a,d);else c[b]&&c[b].keys.each(function(a){this.addEvent(b,a)},this);return this}}),Element.NativeEvents={click:2,dblclick:2,mouseup:2,mousedown:2,contextmenu:2,mousewheel:2,DOMMouseScroll:2,mouseover:2,mouseout:2,mousemove:2,selectstart:2,selectend:2,keydown:2,keypress:2,keyup:2,orientationchange:2,touchstart:2,touchmove:2,touchend:2,touchcancel:2,gesturestart:2,gesturechange:2,gestureend:2,focus:2,blur:2,change:2,reset:2,select:2,submit:2,load:2,unload:1,beforeunload:2,resize:1,move:1,DOMContentLoaded:1,readystatechange:1,error:1,abort:1,scroll:1};var a=function(a){var b=a.relatedTarget;return b==null?!0:b?b!=this&&b.prefix!="xul"&&typeOf(this)!="document"&&!this.contains(b):!1};Element.Events={mouseenter:{base:"mouseover",condition:a},mouseleave:{base:"mouseout",condition:a},mousewheel:{base:Browser.firefox?"DOMMouseScroll":"mousewheel"}}}(),function(){function g(a,b){return f(a,b).toInt()||0}function h(a){return f(a,"-moz-box-sizing")=="border-box"}function i(a){return g(a,"border-top-width")}function j(a){return g(a,"border-left-width")}function k(a){return/^(?:body|html)$/i.test(a.tagName)}function l(a){var b=a.getDocument();return!b.compatMode||b.compatMode=="CSS1Compat"?b.html:b.body}var a=document.createElement("div"),b=document.createElement("div");a.style.height="0",a.appendChild(b);var c=b.offsetParent===a;a=b=null;var d=function(a){return f(a,"position")!="static"||k(a)},e=function(a){return d(a)||/^(?:table|td|th)$/i.test(a.tagName)};Element.implement({scrollTo:function(a,b){return k(this)?this.getWindow().scrollTo(a,b):(this.scrollLeft=a,this.scrollTop=b),this},getSize:function(){return k(this)?this.getWindow().getSize():{x:this.offsetWidth,y:this.offsetHeight}},getScrollSize:function(){return k(this)?this.getWindow().getScrollSize():{x:this.scrollWidth,y:this.scrollHeight}},getScroll:function(){return k(this)?this.getWindow().getScroll():{x:this.scrollLeft,y:this.scrollTop}},getScrolls:function(){var a=this.parentNode,b={x:0,y:0};while(a&&!k(a))b.x+=a.scrollLeft,b.y+=a.scrollTop,a=a.parentNode;return b},getOffsetParent:c?function(){var a=this;if(k(a)||f(a,"position")=="fixed")return null;var b=f(a,"position")=="static"?e:d;while(a=a.parentNode)if(b(a))return a;return null}:function(){var a=this;if(k(a)||f(a,"position")=="fixed")return null;try{return a.offsetParent}catch(b){}return null},getOffsets:function(){if(this.getBoundingClientRect&&!Browser.Platform.ios){var a=this.getBoundingClientRect(),b=document.id(this.getDocument().documentElement),c=b.getScroll(),d=this.getScrolls(),e=f(this,"position")=="fixed";return{x:a.left.toInt()+d.x+(e?0:c.x)-b.clientLeft,y:a.top.toInt()+d.y+(e?0:c.y)-b.clientTop}}var g=this,l={x:0,y:0};if(k(this))return l;while(g&&!k(g)){l.x+=g.offsetLeft,l.y+=g.offsetTop;if(Browser.firefox){h(g)||(l.x+=j(g),l.y+=i(g));var m=g.parentNode;m&&f(m,"overflow")!="visible"&&(l.x+=j(m),l.y+=i(m))}else g!=this&&Browser.safari&&(l.x+=j(g),l.y+=i(g));g=g.offsetParent}return Browser.firefox&&!h(this)&&(l.x-=j(this),l.y-=i(this)),l},getPosition:function(a){if(k(this))return{x:0,y:0};var b=this.getOffsets(),c=this.getScrolls(),d={x:b.x-c.x,y:b.y-c.y};if(a&&(a=document.id(a))){var e=a.getPosition();return{x:d.x-e.x-j(a),y:d.y-e.y-i(a)}}return d},getCoordinates:function(a){if(k(this))return this.getWindow().getCoordinates();var b=this.getPosition(a),c=this.getSize(),d={left:b.x,top:b.y,width:c.x,height:c.y};return d.right=d.left+d.width,d.bottom=d.top+d.height,d},computePosition:function(a){return{left:a.x-g(this,"margin-left"),top:a.y-g(this,"margin-top")}},setPosition:function(a){return this.setStyles(this.computePosition(a))}}),[Document,Window].invoke("implement",{getSize:function(){var a=l(this);return{x:a.clientWidth,y:a.clientHeight}},getScroll:function(){var a=this.getWindow(),b=l(this);return{x:a.pageXOffset||b.scrollLeft,y:a.pageYOffset||b.scrollTop}},getScrollSize:function(){var a=l(this),b=this.getSize(),c=this.getDocument().body;return{x:Math.max(a.scrollWidth,c.scrollWidth,b.x),y:Math.max(a.scrollHeight,c.scrollHeight,b.y)}},getPosition:function(){return{x:0,y:0}},getCoordinates:function(){var a=this.getSize();return{top:0,left:0,bottom:a.y,right:a.x,height:a.y,width:a.x}}});var f=Element.getComputedStyle}(),Element.alias({position:"setPosition"}),[Window,Document,Element].invoke("implement",{getHeight:function(){return this.getSize().y},getWidth:function(){return this.getSize().x},getScrollTop:function(){return this.getScroll().y},getScrollLeft:function(){return this.getScroll().x},getScrollHeight:function(){return this.getScrollSize().y},getScrollWidth:function(){return this.getScrollSize().x},getTop:function(){return this.getPosition().y},getLeft:function(){return this.getPosition().x}}),function(){var a=this.Fx=new Class({Implements:[Chain,Events,Options],options:{fps:60,unit:!1,duration:500,frames:null,frameSkip:!0,link:"ignore"},initialize:function(a){this.subject=this.subject||this,this.setOptions(a)},getTransition:function(){return function(a){return-(Math.cos(Math.PI*a)-1)/2}},step:function(a){if(this.options.frameSkip){var b=this.time!=null?a-this.time:0,c=b/this.frameInterval;this.time=a,this.frame+=c}else this.frame++;if(this.frame<this.frames){var d=this.transition(this.frame/this.frames);this.set(this.compute(this.from,this.to,d))}else this.frame=this.frames,this.set(this.compute(this.from,this.to,1)),this.stop()},set:function(a){return a},compute:function(b,c,d){return a.compute(b,c,d)},check:function(){if(!this.isRunning())return!0;switch(this.options.link){case"cancel":return this.cancel(),!0;case"chain":return this.chain(this.caller.pass(arguments,this)),!1}return!1},start:function(b,c){if(!this.check(b,c))return this;this.from=b,this.to=c,this.frame=this.options.frameSkip?0:-1,this.time=null,this.transition=this.getTransition();var d=this.options.frames,f=this.options.fps,g=this.options.duration;return this.duration=a.Durations[g]||g.toInt(),this.frameInterval=1e3/f,this.frames=d||Math.round(this.duration/this.frameInterval),this.fireEvent("start",this.subject),e.call(this,f),this},stop:function(){return this.isRunning()&&(this.time=null,f.call(this,this.options.fps),this.frames==this.frame?(this.fireEvent("complete",this.subject),this.callChain()||this.fireEvent("chainComplete",this.subject)):this.fireEvent("stop",this.subject)),this},cancel:function(){return this.isRunning()&&(this.time=null,f.call(this,this.options.fps),this.frame=this.frames,this.fireEvent("cancel",this.subject).clearChain()),this},pause:function(){return this.isRunning()&&(this.time=null,f.call(this,this.options.fps)),this},resume:function(){return this.frame<this.frames&&!this.isRunning()&&e.call(this,this.options.fps),this},isRunning:function(){var a=b[this.options.fps];return a&&a.contains(this)}});a.compute=function(a,b,c){return(b-a)*c+a},a.Durations={"short":250,normal:500,"long":1e3};var b={},c={},d=function(){var a=Date.now();for(var b=this.length;b--;){var c=this[b];c&&c.step(a)}},e=function(a){var e=b[a]||(b[a]=[]);e.push(this),c[a]||(c[a]=d.periodical(Math.round(1e3/a),e))},f=function(a){var d=b[a];d&&(d.erase(this),!d.length&&c[a]&&(delete b[a],c[a]=clearInterval(c[a])))}}(),Fx.CSS=new Class({Extends:Fx,prepare:function(a,b,c){c=Array.from(c),c[1]==null&&(c[1]=c[0],c[0]=a.getStyle(b));var d=c.map(this.parse);return{from:d[0],to:d[1]}},parse:function(a){return a=Function.from(a)(),a=typeof a=="string"?a.split(" "):Array.from(a),a.map(function(a){a=String(a);var b=!1;return Object.each(Fx.CSS.Parsers,function(d,e){if(b)return;var f=d.parse(a);if(f||f===0)b={value:f,parser:d}}),b=b||{value:a,parser:Fx.CSS.Parsers.String},b})},compute:function(a,b,c){var d=[];return Math.min(a.length,b.length).times(function(e){d.push({value:a[e].parser.compute(a[e].value,b[e].value,c),parser:a[e].parser})}),d.$family=Function.from("fx:css:value"),d},serve:function(a,b){typeOf(a)!="fx:css:value"&&(a=this.parse(a));var c=[];return a.each(function(a){c=c.concat(a.parser.serve(a.value,b))}),c},render:function(a,b,c,d){a.setStyle(b,this.serve(c,d))},search:function(a){if(Fx.CSS.Cache[a])return Fx.CSS.Cache[a];var b={},c=new RegExp("^"+a.escapeRegExp()+"$");return Array.each(document.styleSheets,function(a,d){var e=a.href;if(e&&e.contains("://")&&!e.contains(document.domain))return;var f=a.rules||a.cssRules;Array.each(f,function(a,d){if(!a.style)return;var e=a.selectorText?a.selectorText.replace(/^\w+/,function(a){return a.toLowerCase()}):null;if(!e||!c.test(e))return;Object.each(Element.Styles,function(c,d){if(!a.style[d]||Element.ShortStyles[d])return;c=String(a.style[d]),b[d]=/^rgb/.test(c)?c.rgbToHex():c})})}),Fx.CSS.Cache[a]=b}}),Fx.CSS.Cache={},Fx.CSS.Parsers={Color:{parse:function(a){return a.match(/^#[0-9a-f]{3,6}$/i)?a.hexToRgb(!0):(a=a.match(/(\d+),\s*(\d+),\s*(\d+)/))?[a[1],a[2],a[3]]:!1},compute:function(a,b,c){return a.map(function(d,e){return Math.round(Fx.compute(a[e],b[e],c))})},serve:function(a){return a.map(Number)}},Number:{parse:parseFloat,compute:Fx.compute,serve:function(a,b){return b?a+b:a}},String:{parse:Function.from(!1),compute:function(a,b){return b},serve:function(a){return a}}},Fx.Tween=new Class({Extends:Fx.CSS,initialize:function(a,b){this.element=this.subject=document.id(a),this.parent(b)},set:function(a,b){return arguments.length==1&&(b=a,a=this.property||this.options.property),this.render(this.element,a,b,this.options.unit),this},start:function(a,b,c){if(!this.check(a,b,c))return this;var d=Array.flatten(arguments);this.property=this.options.property||d.shift();var e=this.prepare(this.element,this.property,d);return this.parent(e.from,e.to)}}),Element.Properties.tween={set:function(a){return this.get("tween").cancel().setOptions(a),this},get:function(){var a=this.retrieve("tween");return a||(a=new Fx.Tween(this,{link:"cancel"}),this.store("tween",a)),a}},Element.implement({tween:function(a,b,c){return this.get("tween").start(arguments),this},fade:function(a){var b=this.get("tween"),c="opacity",d;a=[a,"toggle"].pick();switch(a){case"in":b.start(c,1);break;case"out":b.start(c,0);break;case"show":b.set(c,1);break;case"hide":b.set(c,0);break;case"toggle":var e=this.retrieve("fade:flag",this.get("opacity")==1);b.start(c,e?0:1),this.store("fade:flag",!e),d=!0;break;default:b.start(c,arguments)}return d||this.eliminate("fade:flag"),this},highlight:function(a,b){b||(b=this.retrieve("highlight:original",this.getStyle("background-color")),b=b=="transparent"?"#fff":b);var c=this.get("tween");return c.start("background-color",a||"#ffff88",b).chain(function(){this.setStyle("background-color",this.retrieve("highlight:original")),c.callChain()}.bind(this)),this}}),Fx.Morph=new Class({Extends:Fx.CSS,initialize:function(a,b){this.element=this.subject=document.id(a),this.parent(b)},set:function(a){typeof a=="string"&&(a=this.search(a));for(var b in a)this.render(this.element,b,a[b],this.options.unit);return this},compute:function(a,b,c){var d={};for(var e in a)d[e]=this.parent(a[e],b[e],c);return d},start:function(a){if(!this.check(a))return this;typeof a=="string"&&(a=this.search(a));var b={},c={};for(var d in a){var e=this.prepare(this.element,d,a[d]);b[d]=e.from,c[d]=e.to}return this.parent(b,c)}}),Element.Properties.morph={set:function(a){return this.get("morph").cancel().setOptions(a),this},get:function(){var a=this.retrieve("morph");return a||(a=new Fx.Morph(this,{link:"cancel"}),this.store("morph",a)),a}},Element.implement({morph:function(a){return this.get("morph").start(a),this}}),Fx.implement({getTransition:function(){var a=this.options.transition||Fx.Transitions.Sine.easeInOut;if(typeof a=="string"){var b=a.split(":");a=Fx.Transitions,a=a[b[0]]||a[b[0].capitalize()],b[1]&&(a=a["ease"+b[1].capitalize()+(b[2]?b[2].capitalize():"")])}return a}}),Fx.Transition=function(a,b){b=Array.from(b);var c=function(c){return a(c,b)};return Object.append(c,{easeIn:c,easeOut:function(c){return 1-a(1-c,b)},easeInOut:function(c){return(c<=.5?a(2*c,b):2-a(2*(1-c),b))/2}})},Fx.Transitions={linear:function(a){return a}},Fx.Transitions.extend=function(a){for(var b in a)Fx.Transitions[b]=new Fx.Transition(a[b])},Fx.Transitions.extend({Pow:function(a,b){return Math.pow(a,b&&b[0]||6)},Expo:function(a){return Math.pow(2,8*(a-1))},Circ:function(a){return 1-Math.sin(Math.acos(a))},Sine:function(a){return 1-Math.cos(a*Math.PI/2)},Back:function(a,b){return b=b&&b[0]||1.618,Math.pow(a,2)*((b+1)*a-b)},Bounce:function(a){var b;for(var c=0,d=1;1;c+=d,d/=2)if(a>=(7-4*c)/11){b=d*d-Math.pow((11-6*c-11*a)/4,2);break}return b},Elastic:function(a,b){return Math.pow(2,10*--a)*Math.cos(20*a*Math.PI*(b&&b[0]||1)/3)}}),["Quad","Cubic","Quart","Quint"].each(function(a,b){Fx.Transitions[a]=new Fx.Transition(function(a){return Math.pow(a,b+2)})}),function(){var a=function(){},b="onprogress"in new Browser.Request,c=this.Request=new Class({Implements:[Chain,Events,Options],options:{url:"",data:"",headers:{"X-Requested-With":"XMLHttpRequest",Accept:"text/javascript, text/html, application/xml, text/xml, */*"},async:!0,format:!1,method:"post",link:"ignore",isSuccess:null,emulation:!0,urlEncoded:!0,encoding:"utf-8",evalScripts:!1,evalResponse:!1,timeout:0,noCache:!1},initialize:function(a){this.xhr=new Browser.Request,this.setOptions(a),this.headers=this.options.headers},onStateChange:function(){var c=this.xhr;if(c.readyState!=4||!this.running)return;this.running=!1,this.status=0,Function.attempt(function(){var a=c.status;this.status=a==1223?204:a}.bind(this)),c.onreadystatechange=a,b&&(c.onprogress=c.onloadstart=a),clearTimeout(this.timer),this.response={text:this.xhr.responseText||"",xml:this.xhr.responseXML},this.options.isSuccess.call(this,this.status)?this.success(this.response.text,this.response.xml):this.failure()},isSuccess:function(){var a=this.status;return a>=200&&a<300},isRunning:function(){return!!this.running},processScripts:function(a){return this.options.evalResponse||/(ecma|java)script/.test(this.getHeader("Content-type"))?Browser.exec(a):a.stripScripts(this.options.evalScripts)},success:function(a,b){this.onSuccess(this.processScripts(a),b)},onSuccess:function(){this.fireEvent("complete",arguments).fireEvent("success",arguments).callChain()},failure:function(){this.onFailure()},onFailure:function(){this.fireEvent("complete").fireEvent("failure",this.xhr)},loadstart:function(a){this.fireEvent("loadstart",[a,this.xhr])},progress:function(a){this.fireEvent("progress",[a,this.xhr])},timeout:function(){this.fireEvent("timeout",this.xhr)},setHeader:function(a,b){return this.headers[a]=b,this},getHeader:function(a){return Function.attempt(function(){return this.xhr.getResponseHeader(a)}.bind(this))},check:function(){if(!this.running)return!0;switch(this.options.link){case"cancel":return this.cancel(),!0;case"chain":return this.chain(this.caller.pass(arguments,this)),!1}return!1},send:function(a){if(!this.check(a))return this;this.options.isSuccess=this.options.isSuccess||this.isSuccess,this.running=!0;var c=typeOf(a);if(c=="string"||c=="element")a={data:a};var d=this.options;a=Object.append({data:d.data,url:d.url,method:d.method},a);var e=a.data,f=String(a.url),g=a.method.toLowerCase();switch(typeOf(e)){case"element":e=document.id(e).toQueryString();break;case"object":case"hash":e=Object.toQueryString(e)}if(this.options.format){var h="format="+this.options.format;e=e?h+"&"+e:h}if(this.options.emulation&&!["get","post"].contains(g)){var i="_method="+g;e=e?i+"&"+e:i,g="post"}if(this.options.urlEncoded&&["post","put"].contains(g)){var j=this.options.encoding?"; charset="+this.options.encoding:"";this.headers["Content-type"]="application/x-www-form-urlencoded"+j}f||(f=document.location.pathname);var k=f.lastIndexOf("/");k>-1&&(k=f.indexOf("#"))>-1&&(f=f.substr(0,k)),this.options.noCache&&(f+=(f.contains("?")?"&":"?")+String.uniqueID()),e&&g=="get"&&(f+=(f.contains("?")?"&":"?")+e,e=null);var l=this.xhr;return b&&(l.onloadstart=this.loadstart.bind(this),l.onprogress=this.progress.bind(this)),l.open(g.toUpperCase(),f,this.options.async,this.options.user,this.options.password),this.options.user&&"withCredentials"in l&&(l.withCredentials=!0),l.onreadystatechange=this.onStateChange.bind(this),Object.each(this.headers,function(a,b){try{l.setRequestHeader(b,a)}catch(c){this.fireEvent("exception",[b,a])}},this),this.fireEvent("request"),l.send(e),this.options.async||this.onStateChange(),this.options.timeout&&(this.timer=this.timeout.delay(this.options.timeout,this)),this},cancel:function(){if(!this.running)return this;this.running=!1;var c=this.xhr;return c.abort(),clearTimeout(this.timer),c.onreadystatechange=a,b&&(c.onprogress=c.onloadstart=a),this.xhr=new Browser.Request,this.fireEvent("cancel"),this}}),d={};["get","post","put","delete","GET","POST","PUT","DELETE"].each(function(a){d[a]=function(b){var c={method:a};return b!=null&&(c.data=b),this.send(c)}}),c.implement(d),Element.Properties.send={set:function(a){var b=this.get("send").cancel();return b.setOptions(a),this},get:function(){var a=this.retrieve("send");return a||(a=new c({data:this,link:"cancel",method:this.get("method")||"post",url:this.get("action")}),this.store("send",a)),a}},Element.implement({send:function(a){var b=this.get("send");return b.send({data:this,url:a||b.options.url}),this}})}(),Request.HTML=new Class({Extends:Request,options:{update:!1,append:!1,evalScripts:!0,filter:!1,headers:{Accept:"text/html, application/xml, text/xml, */*"}},success:function(a){var b=this.options,c=this.response;c.html=a.stripScripts(function(a){c.javascript=a});var d=c.html.match(/<body[^>]*>([\s\S]*?)<\/body>/i);d&&(c.html=d[1]);var e=(new Element("div")).set("html",c.html);c.tree=e.childNodes,c.elements=e.getElements("*"),b.filter&&(c.tree=c.elements.filter(b.filter)),b.update?document.id(b.update).empty().set("html",c.html):b.append&&document.id(b.append).adopt(e.getChildren()),b.evalScripts&&Browser.exec(c.javascript),this.onSuccess(c.tree,c.elements,c.html,c.javascript)}}),Element.Properties.load={set:function(a){var b=this.get("load").cancel();return b.setOptions(a),this},get:function(){var a=this.retrieve("load");return a||(a=new Request.HTML({data:this,link:"cancel",update:this,method:"get"}),this.store("load",a)),a}},Element.implement({load:function(){return this.get("load").send(Array.link(arguments,{data:Type.isObject,url:Type.isString})),this}}),typeof JSON=="undefined"&&(this.JSON={}),function(){var special={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},escape=function(a){return special[a]||"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)};JSON.validate=function(a){return a=a.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,""),/^[\],:{}\s]*$/.test(a)},JSON.encode=JSON.stringify?function(a){return JSON.stringify(a)}:function(a){a&&a.toJSON&&(a=a.toJSON());switch(typeOf(a)){case"string":return'"'+a.replace(/[\x00-\x1f\\"]/g,escape)+'"';case"array":return"["+a.map(JSON.encode).clean()+"]";case"object":case"hash":var b=[];return Object.each(a,function(a,c){var d=JSON.encode(a);d&&b.push(JSON.encode(c)+":"+d)}),"{"+b+"}";case"number":case"boolean":return""+a;case"null":return"null"}return null},JSON.decode=function(string,secure){if(!string||typeOf(string)!="string")return null;if(secure||JSON.secure){if(JSON.parse)return JSON.parse(string);if(!JSON.validate(string))throw new Error("JSON could not decode the input; security is enabled and the value is not secure.")}return eval("("+string+")")}}(),Request.JSON=new Class({Extends:Request,options:{secure:!0},initialize:function(a){this.parent(a),Object.append(this.headers,{Accept:"application/json","X-Request":"JSON"})},success:function(a){var b;try{b=this.response.json=JSON.decode(a,this.options.secure)}catch(c){this.fireEvent("error",[a,c]);return}b==null?this.onFailure():this.onSuccess(b,a)}});var Cookie=new Class({Implements:Options,options:{path:"/",domain:!1,duration:!1,secure:!1,document:document,encode:!0},initialize:function(a,b){this.key=a,this.setOptions(b)},write:function(a){this.options.encode&&(a=encodeURIComponent(a)),this.options.domain&&(a+="; domain="+this.options.domain),this.options.path&&(a+="; path="+this.options.path);if(this.options.duration){var b=new Date;b.setTime(b.getTime()+this.options.duration*24*60*60*1e3),a+="; expires="+b.toGMTString()}return this.options.secure&&(a+="; secure"),this.options.document.cookie=this.key+"="+a,this},read:function(){var a=this.options.document.cookie.match("(?:^|;)\\s*"+this.key.escapeRegExp()+"=([^;]*)");return a?decodeURIComponent(a[1]):null},dispose:function(){return(new Cookie(this.key,Object.merge({},this.options,{duration:-1}))).write(""),this}});Cookie.write=function(a,b,c){return(new Cookie(a,c)).write(b)},Cookie.read=function(a){return(new Cookie(a)).read()},Cookie.dispose=function(a,b){return(new Cookie(a,b)).dispose()},function(a,b){var c,d,e=[],f,g,h=b.createElement("div"),i=function(){clearTimeout(g);if(c)return;Browser.loaded=c=!0,b.removeListener("DOMContentLoaded",i).removeListener("readystatechange",j),b.fireEvent("domready"),a.fireEvent("domready")},j=function(){for(var a=e.length;a--;)if(e[a]())return i(),!0;return!1},k=function(){clearTimeout(g),j()||(g=setTimeout(k,10))};b.addListener("DOMContentLoaded",i);var l=function(){try{return h.doScroll(),!0}catch(a){}return!1};h.doScroll&&!l()&&(e.push(l),f=!0),b.readyState&&e.push(function(){var a=b.readyState;return a=="loaded"||a=="complete"}),"onreadystatechange"in b?b.addListener("readystatechange",j):f=!0,f&&k(),Element.Events.domready={onAdd:function(a){c&&a.call(this)}},Element.Events.load={base:"load",onAdd:function(b){d&&this==a&&b.call(this)},condition:function(){return this==a&&(i(),delete Element.Events.load),!0}},a.addEvent("load",function(){d=!0})}(window,document),function(){var Swiff=this.Swiff=new Class({Implements:Options,options:{id:null,height:1,width:1,container:null,properties:{},params:{quality:"high",allowScriptAccess:"always",wMode:"window",swLiveConnect:!0},callBacks:{},vars:{}},toElement:function(){return this.object},initialize:function(a,b){this.instance="Swiff_"+String.uniqueID(),this.setOptions(b),b=this.options;var c=this.id=b.id||this.instance,d=document.id(b.container);Swiff.CallBacks[this.instance]={};var e=b.params,f=b.vars,g=b.callBacks,h=Object.append({height:b.height,width:b.width},b.properties),i=this;for(var j in g)Swiff.CallBacks[this.instance][j]=function(a){return function(){return a.apply(i.object,arguments)}}(g[j]),f[j]="Swiff.CallBacks."+this.instance+"."+j;e.flashVars=Object.toQueryString(f),Browser.ie?(h.classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",e.movie=a):h.type="application/x-shockwave-flash",h.data=a;var k='<object id="'+c+'"';for(var l in h)k+=" "+l+'="'+h[l]+'"';k+=">";for(var m in e)e[m]&&(k+='<param name="'+m+'" value="'+e[m]+'" />');k+="</object>",this.object=(d?d.empty():new Element("div")).set("html",k).firstChild},replaces:function(a){return a=document.id(a,!0),a.parentNode.replaceChild(this.toElement(),a),this},inject:function(a){return document.id(a,!0).appendChild(this.toElement()),this},remote:function(){return Swiff.remote.apply(Swiff,[this.toElement()].append(arguments))}});Swiff.CallBacks={},Swiff.remote=function(obj,fn){var rs=obj.CallFunction('<invoke name="'+fn+'" returntype="javascript">'+__flash__argumentsToXML(arguments,2)+"</invoke>");return eval(rs)}}(),Raphael.registerFont({w:199,face:{"font-family":"URWGothicL-Book","font-weight":400,"font-stretch":"normal","units-per-em":"360","panose-1":"2 0 5 3 0 0 0 0 0 0",ascent:"288",descent:"-72","x-height":"5",bbox:"-16 -292 419 739","underline-thickness":"20.88","underline-position":"-34.56",stemh:"24",stemv:"27","unicode-range":"U+0020-U+0163"},glyphs:{" ":{w:99},"!":{d:"40,0r0,-45r27,0r0,45r-27,0xm40,-71r0,-195r27,0r0,195r-27,0",w:106},'"':{d:"85,-185r-18,0r0,-81r18,0r0,81xm45,-185r-18,0r0,-81r18,0r0,81",w:111},"#":{d:"192,-107r0,22r-48,0r-16,85r-24,0r16,-85r-59,0r-16,85r-24,0r16,-85r-35,0r0,-22r40,0r10,-56r-44,0r0,-22r48,0r15,-81r23,0r-14,81r58,0r15,-81r24,0r-15,81r36,0r0,22r-40,0r-10,56r44,0xm134,-163r-58,0r-11,56r59,0"},$:{d:"88,20r0,-30v-41,-8,-62,-33,-61,-72r25,0v2,31,20,50,48,50v42,0,61,-58,31,-84v-16,-14,-75,-22,-81,-41v-29,-37,-10,-99,38,-105r0,-30r24,0r0,30v35,5,57,29,58,65r-25,0v-1,-27,-17,-42,-42,-42v-25,0,-40,16,-40,42v-11,39,77,45,90,66v38,38,15,119,-41,121r0,30r-24,0"},"%":{d:"185,-266r27,0r-121,266r-25,0xm208,-122v34,0,63,29,63,63v0,35,-29,64,-64,64v-35,0,-63,-28,-63,-63v0,-35,28,-64,64,-64xm208,-98v-22,0,-40,18,-40,40v0,22,18,39,39,39v21,0,39,-17,39,-39v0,-22,-17,-40,-38,-40xm68,-270v34,0,63,29,63,64v0,35,-28,63,-63,63v-35,0,-63,-28,-63,-63v0,-35,27,-64,63,-64xm68,-246v-22,0,-40,18,-40,40v0,22,18,39,40,39v21,0,39,-17,39,-39v0,-22,-18,-40,-39,-40",w:279},"&":{d:"179,-210v0,33,-21,47,-52,62r51,50r39,-75r29,0r-49,94r68,65r-19,19r-61,-60v-21,42,-46,60,-81,60v-47,1,-84,-37,-83,-82v0,-39,28,-63,61,-79v-53,-42,-31,-115,33,-115v37,0,64,26,64,61xm165,-74r-64,-63v-39,19,-54,36,-54,63v0,30,25,55,56,55v26,0,43,-15,62,-55xm108,-167v32,-12,46,-26,46,-45v0,-19,-16,-35,-38,-35v-47,0,-49,53,-8,80",w:272},"(":{d:"121,45v-100,-32,-136,-202,-49,-281v16,-14,28,-23,49,-30r0,23v-43,23,-74,77,-74,132v0,54,30,110,74,133r0,23",w:132},")":{d:"12,-266v55,17,101,89,100,156v-1,64,-41,137,-100,155r0,-23v43,-22,74,-77,74,-132v0,-54,-31,-109,-74,-133r0,-23",w:132},"*":{d:"96,-271r17,10r-20,33r37,-1r0,19r-37,-1r20,33r-17,10r-19,-33r-19,33r-18,-11r21,-32r-38,1r0,-19r38,1r-20,-33r17,-10r19,33",w:153},"+":{d:"95,-123r0,-78r28,0r0,78r77,0r0,27r-77,0r0,78r-28,0r0,-78r-77,0r0,-27r77,0",w:218},",":{d:"33,24r31,-69r27,0r-32,69r-26,0",w:99},"-":{d:"11,-107r98,0r0,23r-98,0r0,-23",w:119},".":{d:"36,0r0,-45r27,0r0,45r-27,0",w:99},"/":{d:"14,46r104,-312r25,0r-104,312r-25,0",w:157},0:{d:"102,5v-59,0,-91,-36,-91,-102r0,-75v-1,-63,31,-99,89,-99v55,0,89,34,89,99r0,75v1,66,-28,102,-87,102xm101,-19v69,0,62,-75,62,-147v0,-55,-20,-81,-63,-81v-44,0,-63,26,-63,81v0,73,-5,147,64,147"},1:{d:"101,0r0,-242r-45,0r0,-24r71,0r0,266r-26,0"},2:{d:"14,-180v-1,-58,34,-91,84,-91v49,0,84,34,84,81v-1,62,-96,122,-134,166r133,0r0,24r-169,0r0,-24r125,-123v38,-36,14,-101,-39,-100v-36,1,-59,25,-58,67r-26,0"
},3:{d:"155,-79v0,-39,-25,-65,-76,-61r0,-23v35,3,58,-11,58,-41v0,-25,-16,-43,-40,-43v-26,0,-41,17,-41,47r-26,0v1,-44,27,-71,67,-71v63,0,92,88,39,119v78,31,46,160,-38,157v-48,-2,-86,-33,-86,-88r26,0v1,40,25,64,59,64v32,0,58,-26,58,-60"},4:{d:"139,0r0,-49r-135,0r0,-24r130,-193r31,0r0,193r25,0r0,24r-25,0r0,49r-26,0xm139,-73r0,-156r-104,156r104,0"},5:{d:"24,-135r24,-131r120,0r0,24r-99,0r-13,74v62,-37,134,10,134,79v0,52,-39,94,-89,94v-49,0,-88,-34,-92,-89r26,0v5,38,32,65,65,65v36,0,63,-31,63,-70v0,-68,-83,-92,-118,-38"},6:{d:"107,-266r30,0r-62,92v60,-25,115,23,115,84v0,54,-37,95,-89,95v-53,0,-92,-40,-92,-93v0,-61,70,-128,98,-178xm100,-157v-36,0,-64,30,-64,68v0,40,28,70,65,70v36,0,63,-30,63,-70v0,-40,-27,-68,-64,-68"},7:{d:"40,0r109,-242r-126,0r0,-24r153,0r0,24r-108,242r-28,0"},8:{d:"60,-149v-57,-27,-27,-129,40,-122v67,-7,97,96,39,122v76,28,49,154,-38,154v-88,0,-118,-122,-41,-154xm100,-135v-34,0,-58,24,-58,57v0,34,23,59,58,59v33,0,58,-25,58,-59v0,-33,-25,-57,-58,-57xm100,-247v-26,0,-44,18,-44,43v0,26,19,44,45,44v24,0,43,-18,43,-43v0,-25,-18,-44,-44,-44"},9:{d:"93,0r-31,0r63,-93v-58,27,-116,-22,-116,-83v0,-54,38,-95,90,-95v88,0,113,95,60,173xm99,-247v-36,0,-63,30,-63,70v0,40,26,68,63,68v36,0,65,-30,65,-68v0,-40,-28,-70,-65,-70"},":":{d:"36,0r0,-45r27,0r0,45r-27,0xm36,-137r0,-46r27,0r0,46r-27,0",w:99},";":{d:"15,24r31,-69r27,0r-32,69r-26,0xm45,-137r0,-46r27,0r0,46r-27,0",w:99},"<":{d:"201,-203r0,28r-144,67r144,67r0,28r-183,-83r0,-24",w:218},"=":{d:"200,-157r0,27r-182,0r0,-27r182,0xm200,-86r0,27r-182,0r0,-27r182,0",w:218},">":{d:"17,-13r0,-28r145,-68r-145,-66r0,-28r184,83r0,23",w:218},"?":{d:"94,0r0,-45r27,0r0,45r-27,0xm108,-247v-35,0,-59,22,-59,64r-26,0v0,-56,35,-87,85,-88v47,0,81,33,81,78v9,45,-77,83,-69,124r-25,0v-12,-47,67,-86,67,-124v0,-31,-22,-54,-54,-54",w:212},"@":{d:"167,-213v21,0,35,7,41,24r6,-18r22,0r-41,128v0,6,6,10,13,10v34,-4,61,-51,61,-87v0,-54,-46,-96,-106,-96v-65,0,-119,54,-119,120v0,103,137,160,203,82r15,12v-22,26,-61,43,-100,43v-76,0,-136,-61,-136,-137v0,-77,61,-139,137,-139v64,0,124,50,124,115v0,48,-36,103,-84,106v-17,0,-26,-6,-32,-21v-30,36,-92,17,-92,-34v0,-55,43,-108,88,-108xm134,-73v32,0,59,-64,60,-92v0,-18,-10,-29,-26,-29v-32,0,-63,44,-63,88v0,20,12,33,29,33",w:312},A:{d:"4,0r114,-266r30,0r114,266r-29,0r-38,-90r-124,0r-39,90r-28,0xm81,-114r103,0r-51,-122",w:266},B:{d:"196,-76v0,81,-82,79,-169,76r0,-266v77,-2,154,-6,154,69v0,26,-9,43,-30,55v31,13,45,34,45,66xm169,-75v0,-55,-52,-53,-115,-52r0,103v58,0,115,4,115,-51xm154,-197v0,-49,-46,-46,-100,-45r0,90v53,1,100,4,100,-45",w:206},C:{d:"155,-20v42,0,71,-20,93,-50r29,0v-27,49,-67,75,-121,75v-80,0,-140,-59,-140,-137v0,-80,59,-139,138,-139v55,0,101,28,122,74r-30,0v-18,-32,-49,-49,-91,-49v-63,0,-112,49,-112,113v0,62,50,113,112,113",w:292},D:{d:"252,-132v0,81,-58,135,-153,132r-72,0r0,-266r63,0v105,-4,162,46,162,134xm225,-133v0,-86,-68,-118,-171,-109r0,218v104,8,171,-22,171,-109",w:267},E:{d:"27,0r0,-266r146,0r0,24r-119,0r0,95r115,0r0,25r-115,0r0,98r119,0r0,24r-146,0",w:192},F:{d:"27,0r0,-266r135,0r0,24r-108,0r0,96r104,0r0,24r-104,0r0,122r-27,0",w:174},G:{d:"299,-123v-3,68,-64,128,-138,128v-81,0,-145,-61,-145,-139v0,-77,62,-137,141,-137v58,0,108,31,126,76r-30,0v-18,-32,-53,-51,-94,-51v-66,0,-116,49,-116,113v0,97,129,150,196,82v15,-15,24,-31,28,-48r-149,0r0,-24r181,0",w:313},H:{d:"27,0r0,-266r27,0r0,117r138,0r0,-117r27,0r0,266r-27,0r0,-125r-138,0r0,125r-27,0",w:245},I:{d:"27,0r0,-266r27,0r0,266r-27,0",w:81},J:{d:"146,-83v1,52,-23,89,-71,88v-42,0,-69,-26,-71,-68r26,0v2,27,20,44,46,44v29,0,44,-22,44,-64r0,-183r26,0r0,183",w:173},K:{d:"27,0r0,-266r27,0r0,153r123,-153r34,0r-106,130r106,136r-34,0r-88,-115r-35,42r0,73r-27,0",w:212},L:{d:"27,0r0,-266r27,0r0,242r110,0r0,24r-137,0",w:166},M:{d:"27,0r0,-266r42,0r97,226r96,-226r41,0r0,266r-26,0r0,-237r-100,237r-23,0r-100,-237r0,237r-27,0",w:330},N:{d:"27,0r0,-266r36,0r149,221r0,-221r27,0r0,266r-27,0r-158,-234r0,234r-27,0",w:266},O:{d:"157,-271v77,0,140,62,140,138v0,75,-63,138,-140,138v-78,0,-141,-63,-141,-140v0,-74,65,-136,141,-136xm157,-246v-62,0,-114,51,-114,112v0,63,51,114,114,114v62,0,113,-50,113,-112v0,-62,-51,-114,-113,-114",w:312},P:{d:"203,-185v0,76,-66,81,-149,77r0,108r-27,0r0,-266v89,-1,176,-9,176,81xm176,-185v0,-63,-56,-57,-122,-57r0,110v60,0,122,7,122,-53",w:213},Q:{d:"298,-20r0,25v-25,0,-41,-6,-59,-23v-92,61,-223,-9,-223,-115v0,-79,62,-138,144,-138v81,0,142,58,142,137v0,41,-15,77,-44,101v17,11,23,13,40,13xm58,-78v22,47,104,79,160,42v-49,-43,-96,-60,-160,-42xm47,-100v76,-28,148,6,192,49v74,-66,24,-198,-80,-195v-76,2,-131,65,-112,146",w:313},R:{d:"27,-266v94,-4,181,-1,181,86v0,47,-28,76,-79,81r75,99r-33,0r-90,-121v66,2,98,-8,100,-60v3,-62,-60,-63,-127,-61r0,242r-27,0r0,-266",w:218},S:{d:"36,-75v2,35,25,53,56,55v47,5,71,-66,34,-91v-36,-25,-109,-24,-109,-88v0,-41,30,-72,73,-72v44,0,74,29,75,72r-28,0v-2,-29,-20,-47,-47,-47v-40,0,-60,50,-34,77v11,12,80,26,89,38v53,41,18,136,-54,136v-48,0,-80,-32,-83,-80r28,0",w:179},T:{d:"63,0r0,-242r-60,0r0,-24r148,0r0,24r-61,0r0,242r-27,0",w:153},U:{d:"118,5v-57,0,-91,-38,-91,-105r0,-166r27,0r0,166v-1,50,20,80,64,80v99,0,55,-153,64,-246r26,0r0,166v3,68,-32,105,-90,105",w:235},V:{d:"113,0r-109,-266r29,0r93,233r94,-233r29,0r-110,266r-26,0",w:252},W:{d:"80,0r-76,-266r27,0r65,231r64,-231r25,0r64,231r66,-231r27,0r-76,266r-35,0r-59,-218r-58,218r-34,0",w:345},X:{d:"3,0r90,-136r-85,-130r31,0r71,107r70,-107r31,0r-85,130r90,136r-31,0r-75,-114r-76,114r-31,0",w:219},Y:{d:"93,0r0,-89r-92,-177r29,0r76,149r77,-149r29,0r-92,177r0,89r-27,0",w:213},Z:{d:"6,0r0,-24r131,-218r-127,0r0,-24r157,0r0,24r-131,218r135,0r0,24r-165,0",w:172},"[":{d:"113,45v-43,-15,-75,-44,-73,-104v3,-69,-12,-145,27,-180v15,-13,27,-22,46,-27r0,27v-64,19,-47,100,-47,175v0,46,11,66,47,82r0,27",w:126},"\\":{d:"167,0r-25,0r-112,-266r25,0",w:217},"]":{d:"14,-266v44,13,74,45,72,104v-3,68,12,145,-26,180v-15,13,-27,22,-46,27r0,-27v64,-20,47,-100,47,-176v0,-46,-11,-65,-47,-81r0,-27",w:126},"^":{d:"212,-65r-29,0r-74,-173r-73,173r-30,0r88,-201r31,0",w:218},_:{d:"0,24r180,0r0,21r-180,0r0,-21",w:180},a:{d:"223,-197r0,197r-26,0r0,-35v-51,79,-182,31,-182,-63v0,-96,132,-143,182,-64r0,-35r26,0xm120,-177v-43,0,-78,34,-78,77v0,45,34,80,79,80v42,0,76,-34,76,-79v0,-44,-34,-78,-77,-78",w:245},b:{d:"23,0r0,-266r26,0r0,103v49,-75,181,-31,181,64v0,96,-131,141,-181,65r0,34r-26,0xm48,-99v0,43,35,79,78,79v44,0,77,-34,77,-79v0,-44,-33,-78,-77,-78v-44,0,-78,34,-78,78",w:245},c:{d:"219,-58v-19,40,-50,63,-97,63v-60,0,-107,-45,-107,-104v0,-57,47,-103,106,-103v44,0,82,25,98,65r-30,0v-34,-69,-147,-41,-147,39v0,77,107,108,147,40r30,0",w:232},d:{d:"224,-266r0,266r-27,0r0,-36v-48,81,-182,30,-182,-62v0,-94,127,-140,182,-68r0,-100r27,0xm119,-177v-43,0,-77,35,-77,78v0,45,35,79,80,79v42,0,76,-36,76,-79v0,-43,-35,-78,-79,-78",w:246},e:{d:"215,-65v-11,35,-52,71,-96,70v-58,0,-104,-46,-104,-104v0,-57,45,-103,102,-103v56,0,107,42,103,112r-178,0v1,76,121,95,145,25r28,0xm42,-114r151,0v-13,-82,-139,-82,-151,0",w:234},f:{d:"36,0r0,-173r-30,0r0,-24r30,0v-1,-46,25,-69,76,-69r0,24v-36,0,-49,12,-49,45r49,0r0,24r-49,0r0,173r-27,0",w:113},g:{d:"121,53v51,0,77,-34,72,-93v-40,86,-178,37,-178,-58v0,-96,128,-142,178,-64r0,-35r27,0r0,162v19,135,-173,146,-198,41r26,0v17,31,35,47,73,47xm117,-177v-44,0,-75,32,-75,77v0,46,33,80,76,80v43,0,75,-35,75,-81v0,-43,-34,-76,-76,-76",w:242},h:{d:"109,-177v-36,2,-60,24,-60,69r0,108r-26,0r0,-266r26,0r0,95v44,-60,148,-28,148,65r0,106r-27,0v-2,-77,18,-180,-61,-177",w:219},i:{d:"23,0r0,-197r26,0r0,197r-26,0xm23,-221r0,-45r26,0r0,45r-26,0",w:72},j:{d:"50,-197r0,183v2,58,-20,78,-66,83r0,-25v30,-2,40,-17,40,-58r0,-183r26,0xm24,-221r0,-45r26,0r0,45r-26,0",w:73},k:{d:"23,0r0,-266r26,0r0,189r92,-120r33,0r-77,99r82,98r-33,0r-66,-79r-31,38r0,41r-26,0",w:180},l:{d:"23,0r0,-266r26,0r0,266r-26,0",w:72},m:{d:"156,0v-4,-72,21,-177,-54,-177v-73,0,-50,107,-53,177r-26,0r0,-197r26,0r0,23v29,-42,99,-36,120,10v37,-66,146,-43,146,47r0,117r-27,0v-5,-71,24,-177,-52,-177v-75,0,-50,105,-54,177r-26,0",w:337},n:{d:"109,-177v-38,0,-60,24,-60,69r0,108r-26,0r0,-197r26,0r0,26v50,-61,148,-27,148,68r0,103r-27,0r0,-103v2,-50,-21,-74,-61,-74",w:219},o:{d:"118,-202v59,0,103,44,103,104v0,59,-42,103,-100,103v-61,0,-106,-45,-106,-105v0,-58,45,-102,103,-102xm118,-177v-44,0,-76,33,-76,78v0,46,33,79,78,79v43,0,74,-33,74,-78v0,-46,-33,-79,-76,-79",w:235},p:{d:"23,-197r26,0r0,34v49,-75,181,-32,181,65v0,94,-132,140,-181,64r0,103r-26,0r0,-266xm126,-177v-44,0,-78,34,-78,78v0,45,33,79,78,79v44,0,77,-34,77,-78v0,-45,-33,-79,-77,-79",w:245},q:{d:"223,-197r0,266r-27,0r0,-103v-48,76,-181,30,-181,-64v0,-94,132,-142,181,-65r0,-34r27,0xm120,-177v-44,0,-78,34,-78,79v0,44,34,78,78,78v44,0,78,-34,78,-77v0,-46,-33,-80,-78,-80",w:245},r:{d:"23,0r0,-197r26,0r0,28v10,-22,28,-32,56,-33r0,27v-79,2,-51,101,-56,175r-26,0",w:108},s:{d:"41,-149v0,43,89,33,89,92v0,36,-25,62,-60,62v-38,0,-64,-25,-64,-63r27,0v1,24,15,38,37,38v19,0,33,-14,33,-34v0,-53,-89,-33,-89,-92v0,-32,23,-56,55,-56v32,0,55,22,56,54r-27,0v-1,-19,-12,-29,-29,-29v-16,0,-28,12,-28,28",w:139},t:{d:"47,0r0,-173r-43,0r0,-24r43,0r0,-69r26,0r0,69r45,0r0,24r-45,0r0,173r-26,0",w:122},u:{d:"108,-20v41,-2,62,-27,62,-76r0,-101r26,0r0,197r-26,0r0,-31v-13,24,-33,36,-64,36v-54,-2,-83,-33,-83,-96r0,-106r26,0v3,75,-20,180,59,177",w:218},v:{d:"86,0r-83,-197r27,0r69,166r71,-166r27,0r-83,197r-28,0"},w:{d:"78,0r-75,-197r26,0r63,165r46,-141r22,0r47,141r64,-165r26,0r-77,197r-28,0r-43,-131r-42,131r-29,0",w:299},x:{d:"3,0r68,-100r-68,-97r30,0r53,76r53,-76r31,0r-69,97r69,100r-31,0r-53,-79r-53,79r-30,0",w:172},y:{d:"48,69r32,-75r-77,-191r29,0r63,157r66,-157r29,0r-114,266r-28,0",w:192},z:{d:"4,0r0,-24r108,-149r-105,0r0,-24r136,0r0,23r-108,150r114,0r0,24r-145,0",w:153},"{":{d:"98,-242v-68,-6,11,118,-61,132v44,5,32,60,32,106v0,19,8,24,29,25r0,24v-71,10,-56,-53,-56,-111v0,-22,-6,-28,-29,-32r0,-25v74,-1,-26,-151,85,-143r0,24",w:126},"|":{d:"132,-266r0,266r-23,0r0,-266r23,0",w:241},"}":{d:"14,21v67,4,-12,-118,60,-131v-42,-7,-31,-59,-32,-106v-1,-19,-5,-27,-28,-26r0,-24v71,-7,55,53,55,111v0,22,5,28,28,32r0,25v-73,1,28,151,-83,143r0,-24",w:126},"~":{d:"116,-93v-35,-18,-68,-22,-83,17r-15,-17v28,-72,83,-29,132,-18v12,0,22,-8,34,-29r16,17v-22,36,-43,51,-84,30",w:218},"'":{d:"45,-185r-18,0r0,-81r18,0r0,81",w:71},"`":{d:"38,-279r71,39r-11,20r-71,-38",w:136},"Ţ":{d:"176,0r0,672r-169,0r0,67r412,0r0,-67r-169,0r0,-672r-74,0xm139,-225r48,172r74,0r-48,-172r-74,0",w:426},"ţ":{d:"130,0r0,480r-118,0r0,67r118,0r0,192r74,0r0,-192r123,0r0,-67r-123,0r0,-480r-74,0xm95,-225r48,172r74,0r-48,-172r-74,0",w:339}," ":{w:99}}});var done=!1;window.onload=function(){Guillotine.start(),$("addCandidateButton")&&($("addCandidateButton").addEvent("click",function(){Guillotine.nouvelleDecapitation()}),$("candidateName").addEvent("blur",function(a){checkNewCandidateFied(a)}),$("guillotineTitle").addEvent("blur",function(a){checkNewCandidateFied(a)}))};var Guillotine={guillotine:null,montant:null,mouton:null,condamne:null,corps:null,tete:null,aumonier:null,titleStart:null,titleEnd:null,subtitle:null,storedHash:"",paper:null,URW:null,start:function(){this.initGuillotine(),window.location.hash.length!=0&&(Guillotine.storedHash=window.location.hash,Guillotine.hashChanged(Guillotine.storedHash)),window.setInterval(function(){window.location.hash!=Guillotine.storedHash&&(Guillotine.storedHash=window.location.hash,Guillotine.hashChanged(Guillotine.storedHash))},250)},hashChanged:function(a){a=a.substring(1,a.length);var b=a.split("&"),c=[];for(var d=0;d<b.length;d++){var e=b[d].split("=");e.length==2&&(c[e[0]]=e[1])}if(c.action)switch(c.action){case"decapite":Guillotine.customize(c.nom,c.titre);break;default:}},initGuillotine:function(){this.paper=Raphael("guillotineHolder",750,256),this.URW=this.paper.getFont("URWGothicL-Book"),Guillotine.montant=this.paper.set(this.paper.rect(5,5,5,135).attr({stroke:"none",fill:"#000"}),this.paper.rect(22,5,5,135).attr({stroke:"none",fill:"#000"}),this.paper.rect(3,0,26,5).attr({stroke:"none",fill:"#000"}),this.paper.rect(15,5,1,135).attr({stroke:"none",fill:"#999"})),Guillotine.mouton=Guillotine.paper.set(Guillotine.paper.rect(14,14,3,130).attr({stroke:"none",fill:"#fff"}),Guillotine.paper.path("M11 13L11 37L21 23L21 13").attr({fill:"#000"}),Guillotine.paper.rect(10,18,12,1).attr({stroke:"none",fill:"#fff"})),Guillotine.guillotine=this.paper.set(Guillotine.montant,Guillotine.mouton),Guillotine.guillotine.transform("t200,5"),Guillotine.tete=this.paper.print(229,160,"o",this.URW,64),Guillotine.aumonier=this.paper.print(272,160,"t",this.URW,64),Guillotine.subtitle=this.paper.print(237,150,"cutting edge technology",this.URW,13),Guillotine.titleStart=this.paper.print(28,160,"la gui",this.URW,64),Guillotine.titleEnd=this.paper.print(300,160,"ine",this.URW,64)},nouvelleDecapitation:function(){document.location="/#action=decapite&nom="+$("candidateName").value+"&titre="+$("guillotineTitle").value},customize:function(a,b){done=!1,Guillotine.titleStart&&(Guillotine.titleStart.remove(),Guillotine.titleStart=null,Guillotine.titleEnd.remove(),Guillotine.aumonier.remove(),Guillotine.tete.remove(),Guillotine.subtitle.remove()),Guillotine.condamne&&(Guillotine.condamne.remove(),Guillotine.subtitle.remove()),Guillotine.subtitle=this.paper.print(0,150,b,this.URW,13),Guillotine.corps=Guillotine.paper.print(0,160,a,Guillotine.URW,64,"middle",.55),Guillotine.condamne=Guillotine.paper.set(Guillotine.corps),Guillotine.tete=Guillotine.corps[Guillotine.corps.length-1],Guillotine.guillotine.transform("t"+(Guillotine.tete.getBBox(!1).x-26)+",00")}};MooTools.More={version:"1.3.2.1",build:"e586bcd2496e9b22acfde32e12f84d49ce09e59d"};var Asset={javascript:function(a,b){b||(b={});var c=new Element("script",{src:a,type:"text/javascript"}),d=b.document||document,e=0,f=b.onload||b.onLoad,g=f?function(){++e==1&&f.call(this)}:function(){};return delete b.onload,delete b.onLoad,delete b.document,c.addEvents({load:g,readystatechange:function(){["loaded","complete"].contains(this.readyState)&&g.call(this)}}).set(b).inject(d.head)},css:function(a,b){b||(b={});var c=new Element("link",{rel:"stylesheet",media:"screen",type:"text/css",href:a}),d=b.onload||b.onLoad,e=b.document||document;return delete b.onload,delete b.onLoad,delete b.document,d&&c.addEvent("load",d),c.set(b).inject(e.head)},image:function(a,b){b||(b={});var c=new Image,d=document.id(c)||new Element("img");return["load","abort","error"].each(function(a){var e="on"+a,f="on"+a.capitalize(),g=b[e]||b[f]||function(){};delete b[f],delete b[e],c[e]=function(){if(!c)return;d.parentNode||(d.width=c.width,d.height=c.height),c=c.onload=c.onabort=c.onerror=null,g.delay(1,d,d),d.fireEvent(a,d,1)}}),c.src=d.src=a,c&&c.complete&&c.onload.delay(1),d.set(b)},images:function(a,b){a=Array.from(a);var c=function(){},d=0;return b=Object.merge({onComplete:c,onProgress:c,onError:c,properties:{}},b),new Elements(a.map(function(c,e){return Asset.image(c,Object.append(b.properties,{onload:function(){d++,b.onProgress.call(this,d,e,c),d==a.length&&b.onComplete()},onerror:function(){d++,b.onError.call(this,d,e,c),d==a.length&&b.onComplete()}}))}))}};Raphael.fn.importSVG=function(a,b){try{if(typeof a=="undefined")throw"No data was provided.";a=a.replace(/\n|\r|\t/gi,"");if(!a.match(/<svg(.*?)>(.*)<\/svg>/i))throw"The data you entered doesn't contain valid SVG.";var c=new RegExp('([a-z-]+)="(.*?)"',"gi"),d=new RegExp("([a-z-]+) ?: ?([^ ;]+)[ ;]?","gi"),e=new RegExp("<(rect|polyline|circle|ellipse|path|polygon|image|text).*?/>","gi");while(match=e.exec(a)){var f,g,h={fill:"#000"},i=RegExp.$1;while(c.exec(match))switch(RegExp.$1){case"stroke-dasharray":h[RegExp.$1]="- ";break;case"style":g=RegExp.$2;break;default:h[RegExp.$1]=RegExp.$2}typeof h["stroke-width"]=="undefined"&&(h["stroke-width"]=typeof h.stroke=="undefined"?0:1);if(g)while(d.exec(g))h[RegExp.$1]=RegExp.$2;switch(i){case"rect":f=this.rect();break;case"circle":f=this.circle();break;case"ellipse":f=this.ellipse();break;case"path":f=this.path(h.d);break;case"polygon":f=this.polygon(h.points);break;case"image":f=this.image()}f.attr(h),typeof b!="undefined"&&b.push(f)}}catch(j){alert("The SVG data you entered was invalid! ("+j+")")}},Raphael.fn.polygon=function(a){var b=["M"],c=a.split(" ");for(var d=0;d<c.length;d++){var e=c[d].split(",");for(var f=0;f<e.length;f++){var g=parseFloat(e[f]);g&&b.push(g)}d==0&&b.push("L")}return b.push("Z"),this.path(b)}
