vines-web 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -19,7 +19,7 @@ task :assets do
19
19
  env.append_path 'app/assets/stylesheets'
20
20
  env.js_compressor = :uglifier
21
21
 
22
- assets = %w[application.js vendor.js lib.js application.css]
22
+ assets = %w[application.js application.css]
23
23
  assets.each do |asset|
24
24
  env[asset].write_to "public/assets/#{asset}"
25
25
  end
@@ -1,6 +1,6 @@
1
1
  class @Session
2
- constructor: ->
3
- @xmpp = new Strophe.Connection '/xmpp'
2
+ constructor: (url = '/xmpp') ->
3
+ @xmpp = new Strophe.Connection url
4
4
  @roster = {}
5
5
  @listeners =
6
6
  card: []
@@ -51,7 +51,7 @@ class @Session
51
51
  if card && card.photo
52
52
  "data:#{card.photo.type};base64,#{card.photo.binval}"
53
53
  else
54
- '/lib/images/default-user.png'
54
+ '/images/default-user.png'
55
55
 
56
56
  loadCard: (jid) ->
57
57
  jid = jid.split('/')[0]
@@ -2,3 +2,22 @@ require 'fileutils'
2
2
  require 'vines/web/version'
3
3
  require 'vines/web/command/init'
4
4
  require 'vines/web/command/install'
5
+
6
+ module Vines
7
+ module Web
8
+ # Return javascript and stylesheet asset paths to be added to a sprockets
9
+ # environment. This allows the lib and vendor javascript bundles to be
10
+ # shared by other apps.
11
+ #
12
+ # env = Sprockets::Environment.new
13
+ # Vines::Web.paths.each {|path| env.append_path path }
14
+ #
15
+ # Returns an Array of String paths.
16
+ def self.paths
17
+ root = File.expand_path('../../..', __FILE__)
18
+ js = '%s/app/assets/javascripts' % root
19
+ css = '%s/app/assets/stylesheets' % root
20
+ [js, css]
21
+ end
22
+ end
23
+ end
@@ -1,5 +1,5 @@
1
1
  module Vines
2
2
  module Web
3
- VERSION = '0.1.0'
3
+ VERSION = '0.1.1'
4
4
  end
5
5
  end
@@ -5,5 +5,5 @@ var ICONS={"?":"M16,1.466C7.973,1.466,1.466,7.973,1.466,16c0,8.027,6.507,14.534,
5
5
  h&&(_.start=new Date-_.ms*s),1==Ye.length&&Qe(Ze)}eve("anim.start."+e.id,e,t)}}function e(t,e){var n=[],r={};if(this.ms=e,this.times=1,t){for(var i in t)t[g](i)&&(r[V(i)]=t[i],n.push(V(i)));n.sort(ee)}this.anim=r,this.top=n[n.length-1],this.percents=n}function n(t,e,n,r,i,s){function o(t,e){var n,r,i,s,o,a;for(i=t,a=0;8>a;a++){if(s=c(i)-t,E(s)<e)return i;if(o=(3*h*i+2*u)*i+l,E(o)<1e-6)break;i-=s/o}if(n=0,r=1,i=t,n>i)return n;if(i>r)return r;for(;r>n;){if(s=c(i),E(s-t)<e)return i;t>s?n=i:r=i,i=(r-n)/2+n}return i}function a(t,e){var n=o(t,e);return((p*n+f)*n+d)*n}function c(t){return((h*t+u)*t+l)*t}var l=3*e,u=3*(r-e)-l,h=1-l-u,d=3*n,f=3*(i-n)-d,p=1-d-f;return a(t,1/(200*s))}function r(){return this.x+w+this.y+w+this.width+" × "+this.height}function i(t,e,n,r,i,s){null!=t?(this.a=+t,this.b=+e,this.c=+n,this.d=+r,this.e=+i,this.f=+s):(this.a=1,this.b=0,this.c=0,this.d=1,this.e=0,this.f=0)}function s(t){for(var e=[],n=0,r=t.length;r-2>n;n+=2){var i=[{x:+t[n],y:+t[n+1]},{x:+t[n],y:+t[n+1]},{x:+t[n+2],y:+t[n+3]},{x:+t[n+4],y:+t[n+5]}];r-4==n?(i[0]={x:+t[n-2],y:+t[n-1]},i[3]=i[2]):n&&(i[0]={x:+t[n-2],y:+t[n-1]}),e.push(["C",(-i[0].x+6*i[1].x+i[2].x)/6,(-i[0].y+6*i[1].y+i[2].y)/6,(i[1].x+6*i[2].x-i[3].x)/6,(i[1].y+6*i[2].y-i[3].y)/6,i[2].x,i[2].y])}return e}function o(){return this.hex}function a(t,e,n){function r(){var i=Array.prototype.slice.call(arguments,0),s=i.join("␀"),o=r.cache=r.cache||{},a=r.count=r.count||[];return o[g](s)?(c(a,s),n?n(o[s]):o[s]):(a.length>=1e3&&delete o[a.shift()],a.push(s),o[s]=t[b](e,i),n?n(o[s]):o[s])}return r}function c(t,e){for(var n=0,r=t.length;r>n;n++)if(t[n]===e)return t.push(t.splice(n,1)[0])}function l(t){if(l.is(t,"function"))return u?t():eve.on("DOMload",t);if(l.is(t,B))return l._engine.create[b](l,t.splice(0,3+l.is(t[0],q))).add(t);var e=Array.prototype.slice.call(arguments,0);if(l.is(e[e.length-1],"function")){var n=e.pop();return u?n.call(l._engine.create[b](l,e)):eve.on("DOMload",function(){n.call(l._engine.create[b](l,e))})}return l._engine.create[b](l,arguments)}l.version="2.0.1",l.eve=eve;var u,h,d=/[, ]+/,f={circle:1,rect:1,path:1,ellipse:1,text:1,image:1},p=/\{(\d+)\}/g,g="hasOwnProperty",m={doc:document,win:window},v={was:Object.prototype[g].call(m.win,"Raphael"),is:m.win.Raphael},y=function(){this.ca=this.customAttributes={}},b="apply",x="concat",C="createTouch"in m.doc,_="",w=" ",M=String,T="split",S="click dblclick mousedown mousemove mouseout mouseover mouseup touchstart touchmove touchend touchcancel"[T](w),N={mousedown:"touchstart",mousemove:"touchmove",mouseup:"touchend"},z=M.prototype.toLowerCase,k=Math,L=k.max,A=k.min,E=k.abs,H=k.pow,j=k.PI,q="number",D="string",B="array",I=Object.prototype.toString,F=(l._ISURL=/^url\(['"]?([^\)]+?)['"]?\)$/i,/^\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),O={NaN:1,Infinity:1,"-Infinity":1},$=/^(?:cubic-)?bezier\(([^,]+),([^,]+),([^,]+),([^\)]+)\)/,R=k.round,V=parseFloat,P=parseInt,W=M.prototype.toUpperCase,X=l._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},U=l._availableAnimAttrs={blur:q,"clip-rect":"csv",cx:q,cy:q,fill:"colour","fill-opacity":q,"font-size":q,height:q,opacity:q,path:"path",r:q,rx:q,ry:q,stroke:"colour","stroke-opacity":q,"stroke-width":q,transform:"transform",width:q,x:q,y:q},G=/\s*,\s*/,J={hs:1,rg:1},Y=/,?([achlmqrstvxz]),?/gi,Q=/([achlmrqstvz])[\s,]*((-?\d*\.?\d*(?:e[\-+]?\d+)?\s*,?\s*)+)/gi,Z=/([rstm])[\s,]*((-?\d*\.?\d*(?:e[\-+]?\d+)?\s*,?\s*)+)/gi,K=/(-?\d*\.?\d*(?:e[\-+]?\d+)?)\s*,?\s*/gi,te=(l._radial_gradient=/^r(?:\(([^,]+?)\s*,\s*([^\)]+?)\))?/,{}),ee=function(t,e){return V(t)-V(e)},ne=function(){},re=function(t){return t},ie=l._rectPath=function(t,e,n,r,i){return i?[["M",t+i,e],["l",n-2*i,0],["a",i,i,0,0,1,i,i],["l",0,r-2*i],["a",i,i,0,0,1,-i,i],["l",2*i-n,0],["a",i,i,0,0,1,-i,-i],["l",0,2*i-r],["a",i,i,0,0,1,i,-i],["z"]]:[["M",t,e],["l",n,0],["l",0,r],["l",-n,0],["z"]]},se=function(t,e,n,r){return null==r&&(r=n),[["M",t,e],["m",0,-r],["a",n,r,0,1,1,0,2*r],["a",n,r,0,1,1,0,-2*r],["z"]]},oe=l._getPath={path:function(t){return t.attr("path")},circle:function(t){var e=t.attrs;return se(e.cx,e.cy,e.r)},ellipse:function(t){var e=t.attrs;return se(e.cx,e.cy,e.rx,e.ry)},rect:function(t){var e=t.attrs;return ie(e.x,e.y,e.width,e.height,e.r)},image:function(t){var e=t.attrs;return ie(e.x,e.y,e.width,e.height)},text:function(t){var e=t._getBBox();return ie(e.x,e.y,e.width,e.height)}},ae=l.mapPath=function(t,e){if(!e)return t;var n,r,i,s,o,a,c;for(t=Te(t),i=0,o=t.length;o>i;i++)for(c=t[i],s=1,a=c.length;a>s;s+=2)n=e.x(c[s],c[s+1]),r=e.y(c[s],c[s+1]),c[s]=n,c[s+1]=r;return t};if(l._g=m,l.type=m.win.SVGAngle||m.doc.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure","1.1")?"SVG":"VML","VML"==l.type){var ce,le=m.doc.createElement("div");if(le.innerHTML='<v:shape adj="1"/>',ce=le.firstChild,ce.style.behavior="url(#default#VML)",!ce||"object"!=typeof ce.adj)return l.type=_;le=null}l.svg=!(l.vml="VML"==l.type),l._Paper=y,l.fn=h=y.prototype=l.prototype,l._id=0,l._oid=0,l.is=function(t,e){return e=z.call(e),"finite"==e?!O[g](+t):"array"==e?t instanceof Array:"null"==e&&null===t||e==typeof t&&null!==t||"object"==e&&t===Object(t)||"array"==e&&Array.isArray&&Array.isArray(t)||I.call(t).slice(8,-1).toLowerCase()==e},l.angle=function(t,e,n,r,i,s){if(null==i){var o=t-n,a=e-r;return o||a?(180+180*k.atan2(-a,-o)/j+360)%360:0}return l.angle(t,e,i,s)-l.angle(n,r,i,s)},l.rad=function(t){return t%360*j/180},l.deg=function(t){return 180*t/j%360},l.snapTo=function(t,e,n){if(n=l.is(n,"finite")?n:10,l.is(t,B)){for(var r=t.length;r--;)if(E(t[r]-e)<=n)return t[r]}else{t=+t;var i=e%t;if(n>i)return e-i;if(i>t-n)return e-i+t}return e},l.createUUID=function(t,e){return function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(t,e).toUpperCase()}}(/[xy]/g,function(t){var e=0|16*k.random(),n="x"==t?e:8|3&e;return n.toString(16)}),l.setWindow=function(t){eve("setWindow",l,m.win,t),m.win=t,m.doc=m.win.document,l._engine.initWin&&l._engine.initWin(m.win)};var ue=function(t){if(l.vml){var e,n=/^\s+|\s+$/g;try{var r=new ActiveXObject("htmlfile");r.write("<body>"),r.close(),e=r.body}catch(i){e=createPopup().document.body}var s=e.createTextRange();ue=a(function(t){try{e.style.color=M(t).replace(n,_);var r=s.queryCommandValue("ForeColor");return r=(255&r)<<16|65280&r|(16711680&r)>>>16,"#"+("000000"+r.toString(16)).slice(-6)}catch(i){return"none"}})}else{var o=m.doc.createElement("i");o.title="Raphaël Colour Picker",o.style.display="none",m.doc.body.appendChild(o),ue=a(function(t){return o.style.color=t,m.doc.defaultView.getComputedStyle(o,_).getPropertyValue("color")})}return ue(t)},he=function(){return"hsb("+[this.h,this.s,this.b]+")"},de=function(){return"hsl("+[this.h,this.s,this.l]+")"},fe=function(){return this.hex},pe=function(t,e,n){if(null==e&&l.is(t,"object")&&"r"in t&&"g"in t&&"b"in t&&(n=t.b,e=t.g,t=t.r),null==e&&l.is(t,D)){var r=l.getRGB(t);t=r.r,e=r.g,n=r.b}return(t>1||e>1||n>1)&&(t/=255,e/=255,n/=255),[t,e,n]},ge=function(t,e,n,r){t*=255,e*=255,n*=255;var i={r:t,g:e,b:n,hex:l.rgb(t,e,n),toString:fe};return l.is(r,"finite")&&(i.opacity=r),i};l.color=function(t){var e;return l.is(t,"object")&&"h"in t&&"s"in t&&"b"in t?(e=l.hsb2rgb(t),t.r=e.r,t.g=e.g,t.b=e.b,t.hex=e.hex):l.is(t,"object")&&"h"in t&&"s"in t&&"l"in t?(e=l.hsl2rgb(t),t.r=e.r,t.g=e.g,t.b=e.b,t.hex=e.hex):(l.is(t,"string")&&(t=l.getRGB(t)),l.is(t,"object")&&"r"in t&&"g"in t&&"b"in t?(e=l.rgb2hsl(t),t.h=e.h,t.s=e.s,t.l=e.l,e=l.rgb2hsb(t),t.v=e.b):(t={hex:"none"},t.r=t.g=t.b=t.h=t.s=t.v=t.l=-1)),t.toString=fe,t},l.hsb2rgb=function(t,e,n,r){this.is(t,"object")&&"h"in t&&"s"in t&&"b"in t&&(n=t.b,e=t.s,t=t.h,r=t.o),t*=360;var i,s,o,a,c;return t=t%360/60,c=n*e,a=c*(1-E(t%2-1)),i=s=o=n-c,t=~~t,i+=[c,a,0,0,a,c][t],s+=[a,c,c,a,0,0][t],o+=[0,0,a,c,c,a][t],ge(i,s,o,r)},l.hsl2rgb=function(t,e,n,r){this.is(t,"object")&&"h"in t&&"s"in t&&"l"in t&&(n=t.l,e=t.s,t=t.h),(t>1||e>1||n>1)&&(t/=360,e/=100,n/=100),t*=360;var i,s,o,a,c;return t=t%360/60,c=2*e*(.5>n?n:1-n),a=c*(1-E(t%2-1)),i=s=o=n-c/2,t=~~t,i+=[c,a,0,0,a,c][t],s+=[a,c,c,a,0,0][t],o+=[0,0,a,c,c,a][t],ge(i,s,o,r)},l.rgb2hsb=function(t,e,n){n=pe(t,e,n),t=n[0],e=n[1],n=n[2];var r,i,s,o;return s=L(t,e,n),o=s-A(t,e,n),r=0==o?null:s==t?(e-n)/o:s==e?(n-t)/o+2:(t-e)/o+4,r=60*((r+360)%6)/360,i=0==o?0:o/s,{h:r,s:i,b:s,toString:he}},l.rgb2hsl=function(t,e,n){n=pe(t,e,n),t=n[0],e=n[1],n=n[2];var r,i,s,o,a,c;return o=L(t,e,n),a=A(t,e,n),c=o-a,r=0==c?null:o==t?(e-n)/c:o==e?(n-t)/c+2:(t-e)/c+4,r=60*((r+360)%6)/360,s=(o+a)/2,i=0==c?0:.5>s?c/(2*s):c/(2-2*s),{h:r,s:i,l:s,toString:de}},l._path2string=function(){return this.join(",").replace(Y,"$1")},l._preload=function(t,e){var n=m.doc.createElement("img");n.style.cssText="position:absolute;left:-9999em;top:-9999em",n.onload=function(){e.call(this),this.onload=null,m.doc.body.removeChild(this)},n.onerror=function(){m.doc.body.removeChild(this)},m.doc.body.appendChild(n),n.src=t},l.getRGB=a(function(t){if(!t||(t=M(t)).indexOf("-")+1)return{r:-1,g:-1,b:-1,hex:"none",error:1,toString:o};if("none"==t)return{r:-1,g:-1,b:-1,hex:"none",toString:o};!J[g](t.toLowerCase().substring(0,2))&&"#"!=t.charAt()&&(t=ue(t));var e,n,r,i,s,a,c=t.match(F);return c?(c[2]&&(r=P(c[2].substring(5),16),n=P(c[2].substring(3,5),16),e=P(c[2].substring(1,3),16)),c[3]&&(r=P((s=c[3].charAt(3))+s,16),n=P((s=c[3].charAt(2))+s,16),e=P((s=c[3].charAt(1))+s,16)),c[4]&&(a=c[4][T](G),e=V(a[0]),"%"==a[0].slice(-1)&&(e*=2.55),n=V(a[1]),"%"==a[1].slice(-1)&&(n*=2.55),r=V(a[2]),"%"==a[2].slice(-1)&&(r*=2.55),"rgba"==c[1].toLowerCase().slice(0,4)&&(i=V(a[3])),a[3]&&"%"==a[3].slice(-1)&&(i/=100)),c[5]?(a=c[5][T](G),e=V(a[0]),"%"==a[0].slice(-1)&&(e*=2.55),n=V(a[1]),"%"==a[1].slice(-1)&&(n*=2.55),r=V(a[2]),"%"==a[2].slice(-1)&&(r*=2.55),("deg"==a[0].slice(-3)||"°"==a[0].slice(-1))&&(e/=360),"hsba"==c[1].toLowerCase().slice(0,4)&&(i=V(a[3])),a[3]&&"%"==a[3].slice(-1)&&(i/=100),l.hsb2rgb(e,n,r,i)):c[6]?(a=c[6][T](G),e=V(a[0]),"%"==a[0].slice(-1)&&(e*=2.55),n=V(a[1]),"%"==a[1].slice(-1)&&(n*=2.55),r=V(a[2]),"%"==a[2].slice(-1)&&(r*=2.55),("deg"==a[0].slice(-3)||"°"==a[0].slice(-1))&&(e/=360),"hsla"==c[1].toLowerCase().slice(0,4)&&(i=V(a[3])),a[3]&&"%"==a[3].slice(-1)&&(i/=100),l.hsl2rgb(e,n,r,i)):(c={r:e,g:n,b:r,toString:o},c.hex="#"+(16777216|r|n<<8|e<<16).toString(16).slice(1),l.is(i,"finite")&&(c.opacity=i),c)):{r:-1,g:-1,b:-1,hex:"none",error:1,toString:o}},l),l.hsb=a(function(t,e,n){return l.hsb2rgb(t,e,n).hex}),l.hsl=a(function(t,e,n){return l.hsl2rgb(t,e,n).hex}),l.rgb=a(function(t,e,n){return"#"+(16777216|n|e<<8|t<<16).toString(16).slice(1)}),l.getColor=function(t){var e=this.getColor.start=this.getColor.start||{h:0,s:1,b:t||.75},n=this.hsb2rgb(e.h,e.s,e.b);return e.h+=.075,e.h>1&&(e.h=0,e.s-=.2,e.s<=0&&(this.getColor.start={h:0,s:1,b:e.b})),n.hex},l.getColor.reset=function(){delete this.start},l.parsePathString=a(function(t){if(!t)return null;var e={a:7,c:6,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,z:0},n=[];return l.is(t,B)&&l.is(t[0],B)&&(n=ve(t)),n.length||M(t).replace(Q,function(t,r,i){var s=[],o=r.toLowerCase();if(i.replace(K,function(t,e){e&&s.push(+e)}),"m"==o&&s.length>2&&(n.push([r][x](s.splice(0,2))),o="l",r="m"==r?"l":"L"),"r"==o)n.push([r][x](s));else for(;s.length>=e[o]&&(n.push([r][x](s.splice(0,e[o]))),e[o]););}),n.toString=l._path2string,n}),l.parseTransformString=a(function(t){if(!t)return null;var e=[];return l.is(t,B)&&l.is(t[0],B)&&(e=ve(t)),e.length||M(t).replace(Z,function(t,n,r){var i=[];z.call(n),r.replace(K,function(t,e){e&&i.push(+e)}),e.push([n][x](i))}),e.toString=l._path2string,e}),l.findDotsAtSegment=function(t,e,n,r,i,s,o,a,c){var l=1-c,u=H(l,3),h=H(l,2),d=c*c,f=d*c,p=u*t+3*h*c*n+3*l*c*c*i+f*o,g=u*e+3*h*c*r+3*l*c*c*s+f*a,m=t+2*c*(n-t)+d*(i-2*n+t),v=e+2*c*(r-e)+d*(s-2*r+e),y=n+2*c*(i-n)+d*(o-2*i+n),b=r+2*c*(s-r)+d*(a-2*s+r),x=l*t+c*n,C=l*e+c*r,_=l*i+c*o,w=l*s+c*a,M=90-180*k.atan2(m-y,v-b)/j;return(m>y||b>v)&&(M+=180),{x:p,y:g,m:{x:m,y:v},n:{x:y,y:b},start:{x:x,y:C},end:{x:_,y:w},alpha:M}},l._removedFactory=function(t){return function(){throw new Error("Raphaël: you are calling to method “"+t+"” of removed object")}};var me=a(function(t){if(!t)return{x:0,y:0,width:0,height:0};t=Te(t);for(var e,n=0,r=0,i=[],s=[],o=0,a=t.length;a>o;o++)if(e=t[o],"M"==e[0])n=e[1],r=e[2],i.push(n),s.push(r);else{var c=Me(n,r,e[1],e[2],e[3],e[4],e[5],e[6]);i=i[x](c.min.x,c.max.x),s=s[x](c.min.y,c.max.y),n=e[5],r=e[6]}var l=A[b](0,i),u=A[b](0,s);return{x:l,y:u,width:L[b](0,i)-l,height:L[b](0,s)-u}},null,function(t){return{x:t.x,y:t.y,width:t.width,height:t.height}}),ve=function(t){var e=[];l.is(t,B)&&l.is(t&&t[0],B)||(t=l.parsePathString(t));for(var n=0,r=t.length;r>n;n++){e[n]=[];for(var i=0,s=t[n].length;s>i;i++)e[n][i]=t[n][i]}return e.toString=l._path2string,e},ye=l._pathToRelative=a(function(t){l.is(t,B)&&l.is(t&&t[0],B)||(t=l.parsePathString(t));var e=[],n=0,r=0,i=0,s=0,o=0;"M"==t[0][0]&&(n=t[0][1],r=t[0][2],i=n,s=r,o++,e.push(["M",n,r]));for(var a=o,c=t.length;c>a;a++){var u=e[a]=[],h=t[a];if(h[0]!=z.call(h[0]))switch(u[0]=z.call(h[0]),u[0]){case"a":u[1]=h[1],u[2]=h[2],u[3]=h[3],u[4]=h[4],u[5]=h[5],u[6]=+(h[6]-n).toFixed(3),u[7]=+(h[7]-r).toFixed(3);break;case"v":u[1]=+(h[1]-r).toFixed(3);break;case"m":i=h[1],s=h[2];default:for(var d=1,f=h.length;f>d;d++)u[d]=+(h[d]-(d%2?n:r)).toFixed(3)}else{u=e[a]=[],"m"==h[0]&&(i=h[1]+n,s=h[2]+r);for(var p=0,g=h.length;g>p;p++)e[a][p]=h[p]}var m=e[a].length;switch(e[a][0]){case"z":n=i,r=s;break;case"h":n+=+e[a][m-1];break;case"v":r+=+e[a][m-1];break;default:n+=+e[a][m-2],r+=+e[a][m-1]}}return e.toString=l._path2string,e},0,ve),be=l._pathToAbsolute=a(function(t){if(l.is(t,B)&&l.is(t&&t[0],B)||(t=l.parsePathString(t)),!t||!t.length)return[["M",0,0]];var e=[],n=0,r=0,i=0,o=0,a=0;"M"==t[0][0]&&(n=+t[0][1],r=+t[0][2],i=n,o=r,a++,e[0]=["M",n,r]);for(var c,u,h=a,d=t.length;d>h;h++){if(e.push(c=[]),u=t[h],u[0]!=W.call(u[0]))switch(c[0]=W.call(u[0]),c[0]){case"A":c[1]=u[1],c[2]=u[2],c[3]=u[3],c[4]=u[4],c[5]=u[5],c[6]=+(u[6]+n),c[7]=+(u[7]+r);break;case"V":c[1]=+u[1]+r;break;case"H":c[1]=+u[1]+n;break;case"R":for(var f=[n,r][x](u.slice(1)),p=2,g=f.length;g>p;p++)f[p]=+f[p]+n,f[++p]=+f[p]+r;e.pop(),e=e[x](s(f));break;case"M":i=+u[1]+n,o=+u[2]+r;default:for(p=1,g=u.length;g>p;p++)c[p]=+u[p]+(p%2?n:r)}else if("R"==u[0])f=[n,r][x](u.slice(1)),e.pop(),e=e[x](s(f)),c=["R"][x](u.slice(-2));else for(var m=0,v=u.length;v>m;m++)c[m]=u[m];switch(c[0]){case"Z":n=i,r=o;break;case"H":n=c[1];break;case"V":r=c[1];break;case"M":i=c[c.length-2],o=c[c.length-1];default:n=c[c.length-2],r=c[c.length-1]}}return e.toString=l._path2string,e},null,ve),xe=function(t,e,n,r){return[t,e,n,r,n,r]},Ce=function(t,e,n,r,i,s){var o=1/3,a=2/3;return[o*t+a*n,o*e+a*r,o*i+a*n,o*s+a*r,i,s]},_e=function(t,e,n,r,i,s,o,c,l,u){var h,d=120*j/180,f=j/180*(+i||0),p=[],g=a(function(t,e,n){var r=t*k.cos(n)-e*k.sin(n),i=t*k.sin(n)+e*k.cos(n);return{x:r,y:i}});if(u)S=u[0],N=u[1],w=u[2],M=u[3];else{h=g(t,e,-f),t=h.x,e=h.y,h=g(c,l,-f),c=h.x,l=h.y;var m=(k.cos(j/180*i),k.sin(j/180*i),(t-c)/2),v=(e-l)/2,y=m*m/(n*n)+v*v/(r*r);y>1&&(y=k.sqrt(y),n=y*n,r=y*r);var b=n*n,C=r*r,_=(s==o?-1:1)*k.sqrt(E((b*C-b*v*v-C*m*m)/(b*v*v+C*m*m))),w=_*n*v/r+(t+c)/2,M=_*-r*m/n+(e+l)/2,S=k.asin(((e-M)/r).toFixed(9)),N=k.asin(((l-M)/r).toFixed(9));S=w>t?j-S:S,N=w>c?j-N:N,0>S&&(S=2*j+S),0>N&&(N=2*j+N),o&&S>N&&(S-=2*j),!o&&N>S&&(N-=2*j)}var z=N-S;if(E(z)>d){var L=N,A=c,H=l;N=S+d*(o&&N>S?1:-1),c=w+n*k.cos(N),l=M+r*k.sin(N),p=_e(c,l,n,r,i,0,o,A,H,[N,L,w,M])}z=N-S;var q=k.cos(S),D=k.sin(S),B=k.cos(N),I=k.sin(N),F=k.tan(z/4),O=4/3*n*F,$=4/3*r*F,R=[t,e],V=[t+O*D,e-$*q],P=[c+O*I,l-$*B],W=[c,l];if(V[0]=2*R[0]-V[0],V[1]=2*R[1]-V[1],u)return[V,P,W][x](p);p=[V,P,W][x](p).join()[T](",");for(var X=[],U=0,G=p.length;G>U;U++)X[U]=U%2?g(p[U-1],p[U],f).y:g(p[U],p[U+1],f).x;return X},we=function(t,e,n,r,i,s,o,a,c){var l=1-c;return{x:H(l,3)*t+3*H(l,2)*c*n+3*l*c*c*i+H(c,3)*o,y:H(l,3)*e+3*H(l,2)*c*r+3*l*c*c*s+H(c,3)*a}},Me=a(function(t,e,n,r,i,s,o,a){var c,l=i-2*n+t-(o-2*i+n),u=2*(n-t)-2*(i-n),h=t-n,d=(-u+k.sqrt(u*u-4*l*h))/2/l,f=(-u-k.sqrt(u*u-4*l*h))/2/l,p=[e,a],g=[t,o];return E(d)>"1e12"&&(d=.5),E(f)>"1e12"&&(f=.5),d>0&&1>d&&(c=we(t,e,n,r,i,s,o,a,d),g.push(c.x),p.push(c.y)),f>0&&1>f&&(c=we(t,e,n,r,i,s,o,a,f),g.push(c.x),p.push(c.y)),l=s-2*r+e-(a-2*s+r),u=2*(r-e)-2*(s-r),h=e-r,d=(-u+k.sqrt(u*u-4*l*h))/2/l,f=(-u-k.sqrt(u*u-4*l*h))/2/l,E(d)>"1e12"&&(d=.5),E(f)>"1e12"&&(f=.5),d>0&&1>d&&(c=we(t,e,n,r,i,s,o,a,d),g.push(c.x),p.push(c.y)),f>0&&1>f&&(c=we(t,e,n,r,i,s,o,a,f),g.push(c.x),p.push(c.y)),{min:{x:A[b](0,g),y:A[b](0,p)},max:{x:L[b](0,g),y:L[b](0,p)}}}),Te=l._path2curve=a(function(t,e){for(var n=be(t),r=e&&be(e),i={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},s={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},o=(function(t,e){var n,r;if(!t)return["C",e.x,e.y,e.x,e.y,e.x,e.y];switch(!(t[0]in{T:1,Q:1})&&(e.qx=e.qy=null),t[0]){case"M":e.X=t[1],e.Y=t[2];break;case"A":t=["C"][x](_e[b](0,[e.x,e.y][x](t.slice(1))));break;case"S":n=e.x+(e.x-(e.bx||e.x)),r=e.y+(e.y-(e.by||e.y)),t=["C",n,r][x](t.slice(1));break;case"T":e.qx=e.x+(e.x-(e.qx||e.x)),e.qy=e.y+(e.y-(e.qy||e.y)),t=["C"][x](Ce(e.x,e.y,e.qx,e.qy,t[1],t[2]));break;case"Q":e.qx=t[1],e.qy=t[2],t=["C"][x](Ce(e.x,e.y,t[1],t[2],t[3],t[4]));break;case"L":t=["C"][x](xe(e.x,e.y,t[1],t[2]));break;case"H":t=["C"][x](xe(e.x,e.y,t[1],e.y));break;case"V":t=["C"][x](xe(e.x,e.y,e.x,t[1]));break;case"Z":t=["C"][x](xe(e.x,e.y,e.X,e.Y))}return t}),a=function(t,e){if(t[e].length>7){t[e].shift();for(var i=t[e];i.length;)t.splice(e++,0,["C"][x](i.splice(0,6)));t.splice(e,1),u=L(n.length,r&&r.length||0)}},c=function(t,e,i,s,o){t&&e&&"M"==t[o][0]&&"M"!=e[o][0]&&(e.splice(o,0,["M",s.x,s.y]),i.bx=0,i.by=0,i.x=t[o][1],i.y=t[o][2],u=L(n.length,r&&r.length||0))},l=0,u=L(n.length,r&&r.length||0);u>l;l++){n[l]=o(n[l],i),a(n,l),r&&(r[l]=o(r[l],s)),r&&a(r,l),c(n,r,i,s,l),c(r,n,s,i,l);var h=n[l],d=r&&r[l],f=h.length,p=r&&d.length;i.x=h[f-2],i.y=h[f-1],i.bx=V(h[f-4])||i.x,i.by=V(h[f-3])||i.y,s.bx=r&&(V(d[p-4])||s.x),s.by=r&&(V(d[p-3])||s.y),s.x=r&&d[p-2],s.y=r&&d[p-1]}return r?[n,r]:n},null,ve),Se=(l._parseDots=a(function(t){for(var e=[],n=0,r=t.length;r>n;n++){var i={},s=t[n].match(/^([^:]*):?([\d\.]*)/);if(i.color=l.getRGB(s[1]),i.color.error)return null;i.color=i.color.hex,s[2]&&(i.offset=s[2]+"%"),e.push(i)}for(n=1,r=e.length-1;r>n;n++)if(!e[n].offset){for(var o=V(e[n-1].offset||0),a=0,c=n+1;r>c;c++)if(e[c].offset){a=e[c].offset;break}a||(a=100,c=r),a=V(a);for(var u=(a-o)/(c-n+1);c>n;n++)o+=u,e[n].offset=o+"%"}return e}),l._tear=function(t,e){t==e.top&&(e.top=t.prev),t==e.bottom&&(e.bottom=t.next),t.next&&(t.next.prev=t.prev),t.prev&&(t.prev.next=t.next)}),Ne=(l._tofront=function(t,e){e.top!==t&&(Se(t,e),t.next=null,t.prev=e.top,e.top.next=t,e.top=t)},l._toback=function(t,e){e.bottom!==t&&(Se(t,e),t.next=e.bottom,t.prev=null,e.bottom.prev=t,e.bottom=t)},l._insertafter=function(t,e,n){Se(t,n),e==n.top&&(n.top=t),e.next&&(e.next.prev=t),t.next=e.next,t.prev=e,e.next=t},l._insertbefore=function(t,e,n){Se(t,n),e==n.bottom&&(n.bottom=t),e.prev&&(e.prev.next=t),t.prev=e.prev,e.prev=t,t.next=e},l._extractTransform=function(t,e){if(null==e)return t._.transform;e=M(e).replace(/\.{3}|\u2026/g,t._.transform||_);var n=l.parseTransformString(e),r=0,s=0,o=0,a=1,c=1,u=t._,h=new i;if(u.transform=n||[],n)for(var d=0,f=n.length;f>d;d++){var p,g,m,v,y,b=n[d],x=b.length,C=M(b[0]).toLowerCase(),w=b[0]!=C,T=w?h.invert():0;"t"==C&&3==x?w?(p=T.x(0,0),g=T.y(0,0),m=T.x(b[1],b[2]),v=T.y(b[1],b[2]),h.translate(m-p,v-g)):h.translate(b[1],b[2]):"r"==C?2==x?(y=y||t.getBBox(1),h.rotate(b[1],y.x+y.width/2,y.y+y.height/2),r+=b[1]):4==x&&(w?(m=T.x(b[2],b[3]),v=T.y(b[2],b[3]),h.rotate(b[1],m,v)):h.rotate(b[1],b[2],b[3]),r+=b[1]):"s"==C?2==x||3==x?(y=y||t.getBBox(1),h.scale(b[1],b[x-1],y.x+y.width/2,y.y+y.height/2),a*=b[1],c*=b[x-1]):5==x&&(w?(m=T.x(b[3],b[4]),v=T.y(b[3],b[4]),h.scale(b[1],b[2],m,v)):h.scale(b[1],b[2],b[3],b[4]),a*=b[1],c*=b[2]):"m"==C&&7==x&&h.add(b[1],b[2],b[3],b[4],b[5],b[6]),u.dirtyT=1,t.matrix=h}t.matrix=h,u.sx=a,u.sy=c,u.deg=r,u.dx=s=h.e,u.dy=o=h.f,1==a&&1==c&&!r&&u.bbox?(u.bbox.x+=+s,u.bbox.y+=+o):u.dirtyT=1}),ze=function(t){var e=t[0];switch(e.toLowerCase()){case"t":return[e,0,0];case"m":return[e,1,0,0,1,0,0];case"r":return 4==t.length?[e,0,t[2],t[3]]:[e,0];case"s":return 5==t.length?[e,1,1,t[3],t[4]]:3==t.length?[e,1,1]:[e,1]}},ke=l._equaliseTransform=function(t,e){e=M(e).replace(/\.{3}|\u2026/g,t),t=l.parseTransformString(t)||[],e=l.parseTransformString(e)||[];for(var n,r,i,s,o=L(t.length,e.length),a=[],c=[],u=0;o>u;u++){if(i=t[u]||ze(e[u]),s=e[u]||ze(i),i[0]!=s[0]||"r"==i[0].toLowerCase()&&(i[2]!=s[2]||i[3]!=s[3])||"s"==i[0].toLowerCase()&&(i[3]!=s[3]||i[4]!=s[4]))return;for(a[u]=[],c[u]=[],n=0,r=L(i.length,s.length);r>n;n++)n in i&&(a[u][n]=i[n]),n in s&&(c[u][n]=s[n])}return{from:a,to:c}};l._getContainer=function(t,e,n,r){var i;return i=null!=r||l.is(t,"object")?t:m.doc.getElementById(t),null!=i?i.tagName?null==e?{container:i,width:i.style.pixelWidth||i.offsetWidth,height:i.style.pixelHeight||i.offsetHeight}:{container:i,width:e,height:n}:{container:1,x:t,y:e,width:n,height:r}:void 0},l.pathToRelative=ye,l._engine={},l.path2curve=Te,l.matrix=function(t,e,n,r,s,o){return new i(t,e,n,r,s,o)},function(t){function e(t){var e=k.sqrt(n(t));t[0]&&(t[0]/=e),t[1]&&(t[1]/=e)}function n(t){return t[0]*t[0]+t[1]*t[1]}t.add=function(t,e,n,r,s,o){var a,c,l,u,h=[[],[],[]],d=[[this.a,this.c,this.e],[this.b,this.d,this.f],[0,0,1]],f=[[t,n,s],[e,r,o],[0,0,1]];for(t&&t instanceof i&&(f=[[t.a,t.c,t.e],[t.b,t.d,t.f],[0,0,1]]),a=0;3>a;a++)for(c=0;3>c;c++){for(u=0,l=0;3>l;l++)u+=d[a][l]*f[l][c];h[a][c]=u}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]},t.invert=function(){var t=this,e=t.a*t.d-t.b*t.c;return new i(t.d/e,-t.b/e,-t.c/e,t.a/e,(t.c*t.f-t.d*t.e)/e,(t.b*t.e-t.a*t.f)/e)},t.clone=function(){return new i(this.a,this.b,this.c,this.d,this.e,this.f)},t.translate=function(t,e){this.add(1,0,0,1,t,e)},t.scale=function(t,e,n,r){null==e&&(e=t),(n||r)&&this.add(1,0,0,1,n,r),this.add(t,0,0,e,0,0),(n||r)&&this.add(1,0,0,1,-n,-r)},t.rotate=function(t,e,n){t=l.rad(t),e=e||0,n=n||0;var r=+k.cos(t).toFixed(9),i=+k.sin(t).toFixed(9);this.add(r,i,-i,r,e,n),this.add(1,0,0,1,-e,-n)},t.x=function(t,e){return t*this.a+e*this.c+this.e},t.y=function(t,e){return t*this.b+e*this.d+this.f},t.get=function(t){return+this[M.fromCharCode(97+t)].toFixed(4)},t.toString=function(){return l.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()},t.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')"},t.offset=function(){return[this.e.toFixed(4),this.f.toFixed(4)]},t.split=function(){var t={};t.dx=this.e,t.dy=this.f;var r=[[this.a,this.c],[this.b,this.d]];t.scalex=k.sqrt(n(r[0])),e(r[0]),t.shear=r[0][0]*r[1][0]+r[0][1]*r[1][1],r[1]=[r[1][0]-r[0][0]*t.shear,r[1][1]-r[0][1]*t.shear],t.scaley=k.sqrt(n(r[1])),e(r[1]),t.shear/=t.scaley;var i=-r[0][1],s=r[1][1];return 0>s?(t.rotate=l.deg(k.acos(s)),0>i&&(t.rotate=360-t.rotate)):t.rotate=l.deg(k.asin(i)),t.isSimple=!(+t.shear.toFixed(9)||t.scalex.toFixed(9)!=t.scaley.toFixed(9)&&t.rotate),t.isSuperSimple=!+t.shear.toFixed(9)&&t.scalex.toFixed(9)==t.scaley.toFixed(9)&&!t.rotate,t.noRotation=!+t.shear.toFixed(9)&&!t.rotate,t},t.toTransformString=function(t){var e=t||this[T]();return e.isSimple?(e.scalex=+e.scalex.toFixed(4),e.scaley=+e.scaley.toFixed(4),e.rotate=+e.rotate.toFixed(4),(e.dx&&e.dy?"t"+[e.dx,e.dy]:_)+(1!=e.scalex||1!=e.scaley?"s"+[e.scalex,e.scaley,0,0]:_)+(e.rotate?"r"+[e.rotate,0,0]:_)):"m"+[this.get(0),this.get(1),this.get(2),this.get(3),this.get(4),this.get(5)]}}(i.prototype);var Le=navigator.userAgent.match(/Version\/(.*?)\s/)||navigator.userAgent.match(/Chrome\/(\d+)/);h.safari="Apple Computer, Inc."==navigator.vendor&&(Le&&Le[1]<4||"iP"==navigator.platform.slice(0,2))||"Google Inc."==navigator.vendor&&Le&&Le[1]<8?function(){var t=this.rect(-99,-99,this.width+99,this.height+99).attr({stroke:"none"});setTimeout(function(){t.remove()})}:ne;for(var Ae=function(){this.returnValue=!1},Ee=function(){return this.originalEvent.preventDefault()},He=function(){this.cancelBubble=!0},je=function(){return this.originalEvent.stopPropagation()},qe=function(){return m.doc.addEventListener?function(t,e,n,r){var i=C&&N[e]?N[e]:e,s=function(i){var s=m.doc.documentElement.scrollTop||m.doc.body.scrollTop,o=m.doc.documentElement.scrollLeft||m.doc.body.scrollLeft,a=i.clientX+o,c=i.clientY+s;if(C&&N[g](e))for(var l=0,u=i.targetTouches&&i.targetTouches.length;u>l;l++)if(i.targetTouches[l].target==t){var h=i;i=i.targetTouches[l],i.originalEvent=h,i.preventDefault=Ee,i.stopPropagation=je;break}return n.call(r,i,a,c)};return t.addEventListener(i,s,!1),function(){return t.removeEventListener(i,s,!1),!0}}:m.doc.attachEvent?function(t,e,n,r){var i=function(t){t=t||m.win.event;var e=m.doc.documentElement.scrollTop||m.doc.body.scrollTop,i=m.doc.documentElement.scrollLeft||m.doc.body.scrollLeft,s=t.clientX+i,o=t.clientY+e;return t.preventDefault=t.preventDefault||Ae,t.stopPropagation=t.stopPropagation||He,n.call(r,t,s,o)};t.attachEvent("on"+e,i);var s=function(){return t.detachEvent("on"+e,i),!0};return s}:void 0}(),De=[],Be=function(t){for(var e,n=t.clientX,r=t.clientY,i=m.doc.documentElement.scrollTop||m.doc.body.scrollTop,s=m.doc.documentElement.scrollLeft||m.doc.body.scrollLeft,o=De.length;o--;){if(e=De[o],C){for(var a,c=t.touches.length;c--;)if(a=t.touches[c],a.identifier==e.el._drag.id){n=a.clientX,r=a.clientY,(t.originalEvent?t.originalEvent:t).preventDefault();break}}else t.preventDefault();var l,u=e.el.node,h=u.nextSibling,d=u.parentNode,f=u.style.display;m.win.opera&&d.removeChild(u),u.style.display="none",l=e.el.paper.getElementByPoint(n,r),u.style.display=f,m.win.opera&&(h?d.insertBefore(u,h):d.appendChild(u)),l&&eve("drag.over."+e.el.id,e.el,l),n+=s,r+=i,eve("drag.move."+e.el.id,e.move_scope||e.el,n-e.el._drag.x,r-e.el._drag.y,n,r,t)}},Ie=function(t){l.unmousemove(Be).unmouseup(Ie);for(var e,n=De.length;n--;)e=De[n],e.el._drag={},eve("drag.end."+e.el.id,e.end_scope||e.start_scope||e.move_scope||e.el,t);De=[]},Fe=l.el={},Oe=S.length;Oe--;)!function(t){l[t]=Fe[t]=function(e,n){return l.is(e,"function")&&(this.events=this.events||[],this.events.push({name:t,f:e,unbind:qe(this.shape||this.node||m.doc,t,e,n||this)})),this},l["un"+t]=Fe["un"+t]=function(e){for(var n=this.events,r=n.length;r--;)if(n[r].name==t&&n[r].f==e)return n[r].unbind(),n.splice(r,1),!n.length&&delete this.events,this;return this}}(S[Oe]);Fe.data=function(t,e){var n=te[this.id]=te[this.id]||{};if(1==arguments.length){if(l.is(t,"object")){for(var r in t)t[g](r)&&this.data(r,t[r]);return this}return eve("data.get."+this.id,this,n[t],t),n[t]}return n[t]=e,eve("data.set."+this.id,this,e,t),this},Fe.removeData=function(t){return null==t?te[this.id]={}:te[this.id]&&delete te[this.id][t],this},Fe.hover=function(t,e,n,r){return this.mouseover(t,n).mouseout(e,r||n)},Fe.unhover=function(t,e){return this.unmouseover(t).unmouseout(e)};var $e=[];Fe.drag=function(t,e,n,r,i,s){function o(o){(o.originalEvent||o).preventDefault();var a=m.doc.documentElement.scrollTop||m.doc.body.scrollTop,c=m.doc.documentElement.scrollLeft||m.doc.body.scrollLeft;this._drag.x=o.clientX+c,this._drag.y=o.clientY+a,this._drag.id=o.identifier,!De.length&&l.mousemove(Be).mouseup(Ie),De.push({el:this,move_scope:r,start_scope:i,end_scope:s}),e&&eve.on("drag.start."+this.id,e),t&&eve.on("drag.move."+this.id,t),n&&eve.on("drag.end."+this.id,n),eve("drag.start."+this.id,i||r||this,o.clientX+c,o.clientY+a,o)}return this._drag={},$e.push({el:this,start:o}),this.mousedown(o),this},Fe.onDragOver=function(t){t?eve.on("drag.over."+this.id,t):eve.unbind("drag.over."+this.id)},Fe.undrag=function(){for(var t=$e.length;t--;)$e[t].el==this&&(this.unmousedown($e[t].start),$e.splice(t,1),eve.unbind("drag.*."+this.id));!$e.length&&l.unmousemove(Be).unmouseup(Ie)},h.circle=function(t,e,n){var r=l._engine.circle(this,t||0,e||0,n||0);return this.__set__&&this.__set__.push(r),r},h.rect=function(t,e,n,r,i){var s=l._engine.rect(this,t||0,e||0,n||0,r||0,i||0);return this.__set__&&this.__set__.push(s),s},h.ellipse=function(t,e,n,r){var i=l._engine.ellipse(this,t||0,e||0,n||0,r||0);return this.__set__&&this.__set__.push(i),i},h.path=function(t){t&&!l.is(t,D)&&!l.is(t[0],B)&&(t+=_);var e=l._engine.path(l.format[b](l,arguments),this);return this.__set__&&this.__set__.push(e),e},h.image=function(t,e,n,r,i){var s=l._engine.image(this,t||"about:blank",e||0,n||0,r||0,i||0);return this.__set__&&this.__set__.push(s),s},h.text=function(t,e,n){var r=l._engine.text(this,t||0,e||0,M(n));return this.__set__&&this.__set__.push(r),r},h.set=function(t){!l.is(t,"array")&&(t=Array.prototype.splice.call(arguments,0,arguments.length));var e=new tn(t);return this.__set__&&this.__set__.push(e),e},h.setStart=function(t){this.__set__=t||this.set()},h.setFinish=function(){var t=this.__set__;return delete this.__set__,t},h.setSize=function(t,e){return l._engine.setSize.call(this,t,e)},h.setViewBox=function(t,e,n,r,i){return l._engine.setViewBox.call(this,t,e,n,r,i)},h.top=h.bottom=null,h.raphael=l;var Re=function(t){var e=t.getBoundingClientRect(),n=t.ownerDocument,r=n.body,i=n.documentElement,s=i.clientTop||r.clientTop||0,o=i.clientLeft||r.clientLeft||0,a=e.top+(m.win.pageYOffset||i.scrollTop||r.scrollTop)-s,c=e.left+(m.win.pageXOffset||i.scrollLeft||r.scrollLeft)-o;return{y:a,x:c}};h.getElementByPoint=function(t,e){var n=this,r=n.canvas,i=m.doc.elementFromPoint(t,e);if(m.win.opera&&"svg"==i.tagName){var s=Re(r),o=r.createSVGRect();o.x=t-s.x,o.y=e-s.y,o.width=o.height=1;var a=r.getIntersectionList(o,null);a.length&&(i=a[a.length-1])}if(!i)return null;for(;i.parentNode&&i!=r.parentNode&&!i.raphael;)i=i.parentNode;return i==n.canvas.parentNode&&(i=r),i=i&&i.raphael?n.getById(i.raphaelid):null},h.getById=function(t){for(var e=this.bottom;e;){if(e.id==t)return e;e=e.next}return null},h.forEach=function(t,e){for(var n=this.bottom;n;){if(t.call(e,n)===!1)return this;n=n.next}return this},Fe.getBBox=function(t){if(this.removed)return{};var e=this._;return t?((e.dirty||!e.bboxwt)&&(this.realPath=oe[this.type](this),e.bboxwt=me(this.realPath),e.bboxwt.toString=r,e.dirty=0),e.bboxwt):((e.dirty||e.dirtyT||!e.bbox)&&((e.dirty||!this.realPath)&&(e.bboxwt=0,this.realPath=oe[this.type](this)),e.bbox=me(ae(this.realPath,this.matrix)),e.bbox.toString=r,e.dirty=e.dirtyT=0),e.bbox)},Fe.clone=function(){if(this.removed)return null;var t=this.paper[this.type]().attr(this.attr());return this.__set__&&this.__set__.push(t),t},Fe.glow=function(t){if("text"==this.type)return null;t=t||{};var e={width:(t.width||10)+(+this.attr("stroke-width")||1),fill:t.fill||!1,opacity:t.opacity||.5,offsetx:t.offsetx||0,offsety:t.offsety||0,color:t.color||"#000"},n=e.width/2,r=this.paper,i=r.set(),s=this.realPath||oe[this.type](this);s=this.matrix?ae(s,this.matrix):s;for(var o=1;n+1>o;o++)i.push(r.path(s).attr({stroke:e.color,fill:e.fill?e.color:"none","stroke-linejoin":"round","stroke-linecap":"round","stroke-width":+(e.width/n*o).toFixed(3),opacity:+(e.opacity/n).toFixed(3)}));return i.insertBefore(this).translate(e.offsetx,e.offsety)};var Ve={},Pe=function(t,e,n,r,i,s,o,a,c){var u,h,d=0,f=100,p=[t,e,n,r,i,s,o,a].join(),g=Ve[p];if(!g&&(Ve[p]=g={data:[]}),g.timer&&clearTimeout(g.timer),g.timer=setTimeout(function(){delete Ve[p]},2e3),null!=c&&!g.precision){var m=Pe(t,e,n,r,i,s,o,a);g.precision=10*~~m,g.data=[]}f=g.precision||f;for(var v=0;f+1>v;v++){if(g.data[v*f]?h=g.data[v*f]:(h=l.findDotsAtSegment(t,e,n,r,i,s,o,a,v/f),g.data[v*f]=h),v&&(d+=H(H(u.x-h.x,2)+H(u.y-h.y,2),.5)),null!=c&&d>=c)return h;u=h}return null==c?d:void 0},We=function(t,e){return function(n,r,i){n=Te(n);for(var s,o,a,c,u,h="",d={},f=0,p=0,g=n.length;g>p;p++){if(a=n[p],"M"==a[0])s=+a[1],o=+a[2];else{if(c=Pe(s,o,a[1],a[2],a[3],a[4],a[5],a[6]),f+c>r){if(e&&!d.start){if(u=Pe(s,o,a[1],a[2],a[3],a[4],a[5],a[6],r-f),h+=["C"+u.start.x,u.start.y,u.m.x,u.m.y,u.x,u.y],i)return h;
6
6
  d.start=h,h=["M"+u.x,u.y+"C"+u.n.x,u.n.y,u.end.x,u.end.y,a[5],a[6]].join(),f+=c,s=+a[5],o=+a[6];continue}if(!t&&!e)return u=Pe(s,o,a[1],a[2],a[3],a[4],a[5],a[6],r-f),{x:u.x,y:u.y,alpha:u.alpha}}f+=c,s=+a[5],o=+a[6]}h+=a.shift()+a}return d.end=h,u=t?f:e?d:l.findDotsAtSegment(s,o,a[0],a[1],a[2],a[3],a[4],a[5],1),u.alpha&&(u={x:u.x,y:u.y,alpha:u.alpha}),u}},Xe=We(1),Ue=We(),Ge=We(0,1);l.getTotalLength=Xe,l.getPointAtLength=Ue,l.getSubpath=function(t,e,n){if(this.getTotalLength(t)-n<1e-6)return Ge(t,e).end;var r=Ge(t,n,1);return e?Ge(r,e).end:r},Fe.getTotalLength=function(){return"path"==this.type?this.node.getTotalLength?this.node.getTotalLength():Xe(this.attrs.path):void 0},Fe.getPointAtLength=function(t){return"path"==this.type?Ue(this.attrs.path,t):void 0},Fe.getSubpath=function(t,e){return"path"==this.type?l.getSubpath(this.attrs.path,t,e):void 0};var Je=l.easing_formulas={linear:function(t){return t},"<":function(t){return H(t,1.7)},">":function(t){return H(t,.48)},"<>":function(t){var e=.48-t/1.04,n=k.sqrt(.1734+e*e),r=n-e,i=H(E(r),1/3)*(0>r?-1:1),s=-n-e,o=H(E(s),1/3)*(0>s?-1:1),a=i+o+.5;return 3*(1-a)*a*a+a*a*a},backIn:function(t){var e=1.70158;return t*t*((e+1)*t-e)},backOut:function(t){t-=1;var e=1.70158;return t*t*((e+1)*t+e)+1},elastic:function(t){return t==!!t?t:H(2,-10*t)*k.sin(2*(t-.075)*j/.3)+1},bounce:function(t){var e,n=7.5625,r=2.75;return 1/r>t?e=n*t*t:2/r>t?(t-=1.5/r,e=n*t*t+.75):2.5/r>t?(t-=2.25/r,e=n*t*t+.9375):(t-=2.625/r,e=n*t*t+.984375),e}};Je.easeIn=Je["ease-in"]=Je["<"],Je.easeOut=Je["ease-out"]=Je[">"],Je.easeInOut=Je["ease-in-out"]=Je["<>"],Je["back-in"]=Je.backIn,Je["back-out"]=Je.backOut;var Ye=[],Qe=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(t){setTimeout(t,16)},Ze=function(){for(var e=+new Date,n=0;n<Ye.length;n++){var r=Ye[n];if(!r.el.removed&&!r.paused){var i,s,o=e-r.start,a=r.ms,c=r.easing,u=r.from,h=r.diff,d=r.to,f=(r.t,r.el),p={},m={};if(r.initstatus?(o=(r.initstatus*r.anim.top-r.prev)/(r.percent-r.prev)*a,r.status=r.initstatus,delete r.initstatus,r.stop&&Ye.splice(n--,1)):r.status=(r.prev+(r.percent-r.prev)*(o/a))/r.anim.top,!(0>o))if(a>o){var v=c(o/a);for(var y in u)if(u[g](y)){switch(U[y]){case q:i=+u[y]+v*a*h[y];break;case"colour":i="rgb("+[Ke(R(u[y].r+v*a*h[y].r)),Ke(R(u[y].g+v*a*h[y].g)),Ke(R(u[y].b+v*a*h[y].b))].join(",")+")";break;case"path":i=[];for(var b=0,C=u[y].length;C>b;b++){i[b]=[u[y][b][0]];for(var _=1,M=u[y][b].length;M>_;_++)i[b][_]=+u[y][b][_]+v*a*h[y][b][_];i[b]=i[b].join(w)}i=i.join(w);break;case"transform":if(h[y].real)for(i=[],b=0,C=u[y].length;C>b;b++)for(i[b]=[u[y][b][0]],_=1,M=u[y][b].length;M>_;_++)i[b][_]=u[y][b][_]+v*a*h[y][b][_];else{var T=function(t){return+u[y][t]+v*a*h[y][t]};i=[["m",T(0),T(1),T(2),T(3),T(4),T(5)]]}break;case"csv":if("clip-rect"==y)for(i=[],b=4;b--;)i[b]=+u[y][b]+v*a*h[y][b];break;default:var S=[][x](u[y]);for(i=[],b=f.paper.customAttributes[y].length;b--;)i[b]=+S[b]+v*a*h[y][b]}p[y]=i}f.attr(p),function(t,e,n){setTimeout(function(){eve("anim.frame."+t,e,n)})}(f.id,f,r.anim)}else{if(function(t,e,n){setTimeout(function(){eve("anim.frame."+e.id,e,n),eve("anim.finish."+e.id,e,n),l.is(t,"function")&&t.call(e)})}(r.callback,f,r.anim),f.attr(d),Ye.splice(n--,1),r.repeat>1&&!r.next){for(s in d)d[g](s)&&(m[s]=r.totalOrigin[s]);r.el.attr(m),t(r.anim,r.el,r.anim.percents[0],null,r.totalOrigin,r.repeat-1)}r.next&&!r.stop&&t(r.anim,r.el,r.next,null,r.totalOrigin,r.repeat)}}}l.svg&&f&&f.paper&&f.paper.safari(),Ye.length&&Qe(Ze)},Ke=function(t){return t>255?255:0>t?0:t};Fe.animateWith=function(t,e,n,r,i,s){var o=n?l.animation(n,r,i,s):e,a=t.status(e);return this.animate(o).status(o,a*e.ms/o.ms)},Fe.onAnimation=function(t){return t?eve.on("anim.frame."+this.id,t):eve.unbind("anim.frame."+this.id),this},e.prototype.delay=function(t){var n=new e(this.anim,this.ms);return n.times=this.times,n.del=+t||0,n},e.prototype.repeat=function(t){var n=new e(this.anim,this.ms);return n.del=this.del,n.times=k.floor(L(t,0))||1,n},l.animation=function(t,n,r,i){if(t instanceof e)return t;(l.is(r,"function")||!r)&&(i=i||r||null,r=null),t=Object(t),n=+n||0;var s,o,a={};for(o in t)t[g](o)&&V(o)!=o&&V(o)+"%"!=o&&(s=!0,a[o]=t[o]);return s?(r&&(a.easing=r),i&&(a.callback=i),new e({100:a},n)):new e(t,n)},Fe.animate=function(n,r,i,s){var o=this;if(o.removed)return s&&s.call(o),o;var a=n instanceof e?n:l.animation(n,r,i,s);return t(a,o,a.percents[0],null,o.attr()),o},Fe.setTime=function(t,e){return t&&null!=e&&this.status(t,A(e,t.ms)/t.ms),this},Fe.status=function(e,n){var r,i,s=[],o=0;if(null!=n)return t(e,this,-1,A(n,1)),this;for(r=Ye.length;r>o;o++)if(i=Ye[o],i.el.id==this.id&&(!e||i.anim==e)){if(e)return i.status;s.push({anim:i.anim,status:i.status})}return e?0:s},Fe.pause=function(t){for(var e=0;e<Ye.length;e++)Ye[e].el.id==this.id&&(!t||Ye[e].anim==t)&&eve("anim.pause."+this.id,this,Ye[e].anim)!==!1&&(Ye[e].paused=!0);return this},Fe.resume=function(t){for(var e=0;e<Ye.length;e++)if(Ye[e].el.id==this.id&&(!t||Ye[e].anim==t)){var n=Ye[e];eve("anim.resume."+this.id,this,n.anim)!==!1&&(delete n.paused,this.status(n.anim,n.status))}return this},Fe.stop=function(t){for(var e=0;e<Ye.length;e++)Ye[e].el.id==this.id&&(!t||Ye[e].anim==t)&&eve("anim.stop."+this.id,this,Ye[e].anim)!==!1&&Ye.splice(e--,1);return this},Fe.toString=function(){return"Raphaël’s object"};var tn=function(t){if(this.items=[],this.length=0,this.type="set",t)for(var e=0,n=t.length;n>e;e++)t[e]&&(t[e].constructor==Fe.constructor||t[e].constructor==tn)&&(this[this.items.length]=this.items[this.items.length]=t[e],this.length++)},en=tn.prototype;en.push=function(){for(var t,e,n=0,r=arguments.length;r>n;n++)t=arguments[n],t&&(t.constructor==Fe.constructor||t.constructor==tn)&&(e=this.items.length,this[e]=this.items[e]=t,this.length++);return this},en.pop=function(){return this.length&&delete this[this.length--],this.items.pop()},en.forEach=function(t,e){for(var n=0,r=this.items.length;r>n;n++)if(t.call(e,this.items[n],n)===!1)return this;return this};for(var nn in Fe)Fe[g](nn)&&(en[nn]=function(t){return function(){var e=arguments;return this.forEach(function(n){n[t][b](n,e)})}}(nn));en.attr=function(t,e){if(t&&l.is(t,B)&&l.is(t[0],"object"))for(var n=0,r=t.length;r>n;n++)this.items[n].attr(t[n]);else for(var i=0,s=this.items.length;s>i;i++)this.items[i].attr(t,e);return this},en.clear=function(){for(;this.length;)this.pop()},en.splice=function(t,e){t=0>t?L(this.length+t,0):t,e=L(0,A(this.length-t,e));var n,r=[],i=[],s=[];for(n=2;n<arguments.length;n++)s.push(arguments[n]);for(n=0;e>n;n++)i.push(this[t+n]);for(;n<this.length-t;n++)r.push(this[t+n]);var o=s.length;for(n=0;n<o+r.length;n++)this.items[t+n]=this[t+n]=o>n?s[n]:r[n-o];for(n=this.items.length=this.length-=e-o;this[n];)delete this[n++];return new tn(i)},en.exclude=function(t){for(var e=0,n=this.length;n>e;e++)if(this[e]==t)return this.splice(e,1),!0},en.animate=function(t,e,n,r){(l.is(n,"function")||!n)&&(r=n||null);var i,s,o=this.items.length,a=o,c=this;if(!o)return this;r&&(s=function(){!--o&&r.call(c)}),n=l.is(n,D)?n:s;var u=l.animation(t,e,n,s);for(i=this.items[--a].animate(u);a--;)this.items[a]&&!this.items[a].removed&&this.items[a].animateWith(i,u);return this},en.insertAfter=function(t){for(var e=this.items.length;e--;)this.items[e].insertAfter(t);return this},en.getBBox=function(){for(var t=[],e=[],n=[],r=[],i=this.items.length;i--;)if(!this.items[i].removed){var s=this.items[i].getBBox();t.push(s.x),e.push(s.y),n.push(s.x+s.width),r.push(s.y+s.height)}return t=A[b](0,t),e=A[b](0,e),{x:t,y:e,width:L[b](0,n)-t,height:L[b](0,r)-e}},en.clone=function(t){t=new tn;for(var e=0,n=this.items.length;n>e;e++)t.push(this.items[e].clone());return t},en.toString=function(){return"Raphaël‘s set"},l.registerFont=function(t){if(!t.face)return t;this.fonts=this.fonts||{};var e={w:t.w,face:{},glyphs:{}},n=t.face["font-family"];for(var r in t.face)t.face[g](r)&&(e.face[r]=t.face[r]);if(this.fonts[n]?this.fonts[n].push(e):this.fonts[n]=[e],!t.svg){e.face["units-per-em"]=P(t.face["units-per-em"],10);for(var i in t.glyphs)if(t.glyphs[g](i)){var s=t.glyphs[i];if(e.glyphs[i]={w:s.w,k:{},d:s.d&&"M"+s.d.replace(/[mlcxtrv]/g,function(t){return{l:"L",c:"C",x:"z",t:"m",r:"l",v:"c"}[t]||"M"})+"z"},s.k)for(var o in s.k)s[g](o)&&(e.glyphs[i].k[o]=s.k[o])}}return t},h.getFont=function(t,e,n,r){if(r=r||"normal",n=n||"normal",e=+e||{normal:400,bold:700,lighter:300,bolder:800}[e]||400,l.fonts){var i=l.fonts[t];if(!i){var s=new RegExp("(^|\\s)"+t.replace(/[^\w\d\s+!~.:_-]/g,_)+"(\\s|$)","i");for(var o in l.fonts)if(l.fonts[g](o)&&s.test(o)){i=l.fonts[o];break}}var a;if(i)for(var c=0,u=i.length;u>c&&(a=i[c],a.face["font-weight"]!=e||a.face["font-style"]!=n&&a.face["font-style"]||a.face["font-stretch"]!=r);c++);return a}},h.print=function(t,e,n,r,i,s,o){s=s||"middle",o=L(A(o||0,1),-1);var a,c=this.set(),u=M(n)[T](_),h=0;if(l.is(r,n)&&(r=this.getFont(r)),r){a=(i||16)/r.face["units-per-em"];for(var f=r.face.bbox[T](d),p=+f[0],g=+f[1]+("baseline"==s?f[3]-f[1]+ +r.face.descent:(f[3]-f[1])/2),m=0,v=u.length;v>m;m++){var y=m&&r.glyphs[u[m-1]]||{},b=r.glyphs[u[m]];h+=m?(y.w||r.w)+(y.k&&y.k[u[m]]||0)+r.w*o:0,b&&b.d&&c.push(this.path(b.d).attr({fill:"#000",stroke:"none",transform:[["t",h*a,0]]}))}c.transform(["...s",a,a,p,g,"t",(t-p)/a,(e-g)/a])}return c},h.add=function(t){if(l.is(t,"array"))for(var e,n=this.set(),r=0,i=t.length;i>r;r++)e=t[r]||{},f[g](e.type)&&n.push(this[e.type]().attr(e));return n},l.format=function(t,e){var n=l.is(e,B)?[0][x](e):arguments;return t&&l.is(t,D)&&n.length-1&&(t=t.replace(p,function(t,e){return null==n[++e]?_:n[e]})),t||_},l.fullfill=function(){var t=/\{([^\}]+)\}/g,e=/(?:(?:^|\.)(.+?)(?=\[|\.|$|\()|\[('|")(.+?)\2\])(\(\))?/g,n=function(t,n,r){var i=r;return n.replace(e,function(t,e,n,r,s){e=e||r,i&&(e in i&&(i=i[e]),"function"==typeof i&&s&&(i=i()))}),i=(null==i||i==r?t:i)+""};return function(e,r){return String(e).replace(t,function(t,e){return n(t,e,r)})}}(),l.ninja=function(){return v.was?m.win.Raphael=v.is:delete Raphael,l},l.st=en,function(t,e,n){function r(){/in/.test(t.readyState)?setTimeout(r,9):l.eve("DOMload")}null==t.readyState&&t.addEventListener&&(t.addEventListener(e,n=function(){t.removeEventListener(e,n,!1),t.readyState="complete"},!1),t.readyState="loading"),r()}(document,"DOMContentLoaded"),v.was?m.win.Raphael=l:Raphael=l,eve.on("DOMload",function(){u=!0})}(),window.Raphael.svg&&function(t){var e="hasOwnProperty",n=String,r=parseFloat,i=parseInt,s=Math,o=s.max,a=s.abs,c=s.pow,l=/[, ]+/,u=t.eve,h="",d=" ",f="http://www.w3.org/1999/xlink",p={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"},g={};t.toString=function(){return"Your browser supports SVG.\nYou are running Raphaël "+this.version};var m=function(r,i){if(i){"string"==typeof r&&(r=m(r));for(var s in i)i[e](s)&&("xlink:"==s.substring(0,6)?r.setAttributeNS(f,s.substring(6),n(i[s])):r.setAttribute(s,n(i[s])))}else r=t._g.doc.createElementNS("http://www.w3.org/2000/svg",r),r.style&&(r.style.webkitTapHighlightColor="rgba(0,0,0,0)");return r},v=function(e,i){var l="linear",u=e.id+i,d=.5,f=.5,p=e.node,g=e.paper,v=p.style,y=t._g.doc.getElementById(u);if(!y){if(i=n(i).replace(t._radial_gradient,function(t,e,n){if(l="radial",e&&n){d=r(e),f=r(n);var i=2*(f>.5)-1;c(d-.5,2)+c(f-.5,2)>.25&&(f=s.sqrt(.25-c(d-.5,2))*i+.5)&&.5!=f&&(f=f.toFixed(5)-1e-5*i)}return h}),i=i.split(/\s*\-\s*/),"linear"==l){var b=i.shift();if(b=-r(b),isNaN(b))return null;var x=[0,0,s.cos(t.rad(b)),s.sin(t.rad(b))],C=1/(o(a(x[2]),a(x[3]))||1);x[2]*=C,x[3]*=C,x[2]<0&&(x[0]=-x[2],x[2]=0),x[3]<0&&(x[1]=-x[3],x[3]=0)}var _=t._parseDots(i);if(!_)return null;if(u=u.replace(/[\(\)\s,\xb0#]/g,"_"),e.gradient&&u!=e.gradient.id&&(g.defs.removeChild(e.gradient),delete e.gradient),!e.gradient){y=m(l+"Gradient",{id:u}),e.gradient=y,m(y,"radial"==l?{fx:d,fy:f}:{x1:x[0],y1:x[1],x2:x[2],y2:x[3],gradientTransform:e.matrix.invert()}),g.defs.appendChild(y);for(var w=0,M=_.length;M>w;w++)y.appendChild(m("stop",{offset:_[w].offset?_[w].offset:w?"100%":"0%","stop-color":_[w].color||"#fff"}))}}return m(p,{fill:"url(#"+u+")",opacity:1,"fill-opacity":1}),v.fill=h,v.opacity=1,v.fillOpacity=1,1},y=function(t){var e=t.getBBox(1);m(t.pattern,{patternTransform:t.matrix.invert()+" translate("+e.x+","+e.y+")"})},b=function(r,i,s){if("path"==r.type){for(var o,a,c,l,u,h=n(i).toLowerCase().split("-"),f=r.paper,v=s?"end":"start",y=r.node,b=r.attrs,x=b["stroke-width"],C=h.length,_="classic",w=3,M=3,T=5;C--;)switch(h[C]){case"block":case"classic":case"oval":case"diamond":case"open":case"none":_=h[C];break;case"wide":M=5;break;case"narrow":M=2;break;case"long":w=5;break;case"short":w=2}if("open"==_?(w+=2,M+=2,T+=2,c=1,l=s?4:1,u={fill:"none",stroke:b.stroke}):(l=c=w/2,u={fill:b.stroke,stroke:"none"}),r._.arrows?s?(r._.arrows.endPath&&g[r._.arrows.endPath]--,r._.arrows.endMarker&&g[r._.arrows.endMarker]--):(r._.arrows.startPath&&g[r._.arrows.startPath]--,r._.arrows.startMarker&&g[r._.arrows.startMarker]--):r._.arrows={},"none"!=_){var S="raphael-marker-"+_,N="raphael-marker-"+v+_+w+M;t._g.doc.getElementById(S)?g[S]++:(f.defs.appendChild(m(m("path"),{"stroke-linecap":"round",d:p[_],id:S})),g[S]=1);var z,k=t._g.doc.getElementById(N);k?(g[N]++,z=k.getElementsByTagName("use")[0]):(k=m(m("marker"),{id:N,markerHeight:M,markerWidth:w,orient:"auto",refX:l,refY:M/2}),z=m(m("use"),{"xlink:href":"#"+S,transform:(s?" rotate(180 "+w/2+" "+M/2+") ":d)+"scale("+w/T+","+M/T+")","stroke-width":1/((w/T+M/T)/2)}),k.appendChild(z),f.defs.appendChild(k),g[N]=1),m(z,u);var L=c*("diamond"!=_&&"oval"!=_);s?(o=r._.arrows.startdx*x||0,a=t.getTotalLength(b.path)-L*x):(o=L*x,a=t.getTotalLength(b.path)-(r._.arrows.enddx*x||0)),u={},u["marker-"+v]="url(#"+N+")",(a||o)&&(u.d=Raphael.getSubpath(b.path,o,a)),m(y,u),r._.arrows[v+"Path"]=S,r._.arrows[v+"Marker"]=N,r._.arrows[v+"dx"]=L,r._.arrows[v+"Type"]=_,r._.arrows[v+"String"]=i}else s?(o=r._.arrows.startdx*x||0,a=t.getTotalLength(b.path)-o):(o=0,a=t.getTotalLength(b.path)-(r._.arrows.enddx*x||0)),r._.arrows[v+"Path"]&&m(y,{d:Raphael.getSubpath(b.path,o,a)}),delete r._.arrows[v+"Path"],delete r._.arrows[v+"Marker"],delete r._.arrows[v+"dx"],delete r._.arrows[v+"Type"],delete r._.arrows[v+"String"];for(u in g)if(g[e](u)&&!g[u]){var A=t._g.doc.getElementById(u);A&&A.parentNode.removeChild(A)}}},x={"":[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]},C=function(t,e,r){if(e=x[n(e).toLowerCase()]){for(var i=t.attrs["stroke-width"]||"1",s={round:i,square:i,butt:0}[t.attrs["stroke-linecap"]||r["stroke-linecap"]]||0,o=[],a=e.length;a--;)o[a]=e[a]*i+(a%2?1:-1)*s;m(t.node,{"stroke-dasharray":o.join(",")})}},_=function(r,s){var c=r.node,u=r.attrs,d=c.style.visibility;c.style.visibility="hidden";for(var p in s)if(s[e](p)){if(!t._availableAttrs[e](p))continue;var g=s[p];switch(u[p]=g,p){case"blur":r.blur(g);break;case"href":case"title":case"target":var x=c.parentNode;if("a"!=x.tagName.toLowerCase()){var _=m("a");x.insertBefore(_,c),_.appendChild(c),x=_}"target"==p&&"blank"==g?x.setAttributeNS(f,"show","new"):x.setAttributeNS(f,p,g);break;case"cursor":c.style.cursor=g;break;case"transform":r.transform(g);break;case"arrow-start":b(r,g);break;case"arrow-end":b(r,g,1);break;case"clip-rect":var w=n(g).split(l);if(4==w.length){r.clip&&r.clip.parentNode.parentNode.removeChild(r.clip.parentNode);var T=m("clipPath"),S=m("rect");T.id=t.createUUID(),m(S,{x:w[0],y:w[1],width:w[2],height:w[3]}),T.appendChild(S),r.paper.defs.appendChild(T),m(c,{"clip-path":"url(#"+T.id+")"}),r.clip=S}if(!g){var N=c.getAttribute("clip-path");if(N){var z=t._g.doc.getElementById(N.replace(/(^url\(#|\)$)/g,h));z&&z.parentNode.removeChild(z),m(c,{"clip-path":h}),delete r.clip}}break;case"path":"path"==r.type&&(m(c,{d:g?u.path=t._pathToAbsolute(g):"M0,0"}),r._.dirty=1,r._.arrows&&("startString"in r._.arrows&&b(r,r._.arrows.startString),"endString"in r._.arrows&&b(r,r._.arrows.endString,1)));break;case"width":if(c.setAttribute(p,g),r._.dirty=1,!u.fx)break;p="x",g=u.x;case"x":u.fx&&(g=-u.x-(u.width||0));case"rx":if("rx"==p&&"rect"==r.type)break;case"cx":c.setAttribute(p,g),r.pattern&&y(r),r._.dirty=1;break;case"height":if(c.setAttribute(p,g),r._.dirty=1,!u.fy)break;p="y",g=u.y;case"y":u.fy&&(g=-u.y-(u.height||0));case"ry":if("ry"==p&&"rect"==r.type)break;case"cy":c.setAttribute(p,g),r.pattern&&y(r),r._.dirty=1;break;case"r":"rect"==r.type?m(c,{rx:g,ry:g}):c.setAttribute(p,g),r._.dirty=1;break;case"src":"image"==r.type&&c.setAttributeNS(f,"href",g);break;case"stroke-width":(1!=r._.sx||1!=r._.sy)&&(g/=o(a(r._.sx),a(r._.sy))||1),r.paper._vbSize&&(g*=r.paper._vbSize),c.setAttribute(p,g),u["stroke-dasharray"]&&C(r,u["stroke-dasharray"],s),r._.arrows&&("startString"in r._.arrows&&b(r,r._.arrows.startString),"endString"in r._.arrows&&b(r,r._.arrows.endString,1));break;case"stroke-dasharray":C(r,g,s);break;case"fill":var k=n(g).match(t._ISURL);if(k){T=m("pattern");var L=m("image");T.id=t.createUUID(),m(T,{x:0,y:0,patternUnits:"userSpaceOnUse",height:1,width:1}),m(L,{x:0,y:0,"xlink:href":k[1]}),T.appendChild(L),function(e){t._preload(k[1],function(){var t=this.offsetWidth,n=this.offsetHeight;m(e,{width:t,height:n}),m(L,{width:t,height:n}),r.paper.safari()})}(T),r.paper.defs.appendChild(T),c.style.fill="url(#"+T.id+")",m(c,{fill:"url(#"+T.id+")"}),r.pattern=T,r.pattern&&y(r);break}var A=t.getRGB(g);if(A.error){if(("circle"==r.type||"ellipse"==r.type||"r"!=n(g).charAt())&&v(r,g)){if("opacity"in u||"fill-opacity"in u){var E=t._g.doc.getElementById(c.getAttribute("fill").replace(/^url\(#|\)$/g,h));if(E){var H=E.getElementsByTagName("stop");m(H[H.length-1],{"stop-opacity":("opacity"in u?u.opacity:1)*("fill-opacity"in u?u["fill-opacity"]:1)})}}u.gradient=g,u.fill="none";break}}else delete s.gradient,delete u.gradient,!t.is(u.opacity,"undefined")&&t.is(s.opacity,"undefined")&&m(c,{opacity:u.opacity}),!t.is(u["fill-opacity"],"undefined")&&t.is(s["fill-opacity"],"undefined")&&m(c,{"fill-opacity":u["fill-opacity"]});A[e]("opacity")&&m(c,{"fill-opacity":A.opacity>1?A.opacity/100:A.opacity});case"stroke":A=t.getRGB(g),c.setAttribute(p,A.hex),"stroke"==p&&A[e]("opacity")&&m(c,{"stroke-opacity":A.opacity>1?A.opacity/100:A.opacity}),"stroke"==p&&r._.arrows&&("startString"in r._.arrows&&b(r,r._.arrows.startString),"endString"in r._.arrows&&b(r,r._.arrows.endString,1));break;case"gradient":("circle"==r.type||"ellipse"==r.type||"r"!=n(g).charAt())&&v(r,g);break;case"opacity":u.gradient&&!u[e]("stroke-opacity")&&m(c,{"stroke-opacity":g>1?g/100:g});case"fill-opacity":if(u.gradient){E=t._g.doc.getElementById(c.getAttribute("fill").replace(/^url\(#|\)$/g,h)),E&&(H=E.getElementsByTagName("stop"),m(H[H.length-1],{"stop-opacity":g}));break}default:"font-size"==p&&(g=i(g,10)+"px");var j=p.replace(/(\-.)/g,function(t){return t.substring(1).toUpperCase()});c.style[j]=g,r._.dirty=1,c.setAttribute(p,g)}}M(r,s),c.style.visibility=d},w=1.2,M=function(r,s){if("text"==r.type&&(s[e]("text")||s[e]("font")||s[e]("font-size")||s[e]("x")||s[e]("y"))){var o=r.attrs,a=r.node,c=a.firstChild?i(t._g.doc.defaultView.getComputedStyle(a.firstChild,h).getPropertyValue("font-size"),10):10;if(s[e]("text")){for(o.text=s.text;a.firstChild;)a.removeChild(a.firstChild);for(var l,u=n(s.text).split("\n"),d=[],f=0,p=u.length;p>f;f++)l=m("tspan"),f&&m(l,{dy:c*w,x:o.x}),l.appendChild(t._g.doc.createTextNode(u[f])),a.appendChild(l),d[f]=l}else for(d=a.getElementsByTagName("tspan"),f=0,p=d.length;p>f;f++)f?m(d[f],{dy:c*w,x:o.x}):m(d[0],{dy:0});m(a,{x:o.x,y:o.y}),r._.dirty=1;var g=r._getBBox(),v=o.y-(g.y+g.height/2);v&&t.is(v,"finite")&&m(d[0],{dy:v})}},T=function(e,n){this[0]=this.node=e,e.raphael=!0,this.id=t._oid++,e.raphaelid=this.id,this.matrix=t.matrix(),this.realPath=null,this.paper=n,this.attrs=this.attrs||{},this._={transform:[],sx:1,sy:1,deg:0,dx:0,dy:0,dirty:1},!n.bottom&&(n.bottom=this),this.prev=n.top,n.top&&(n.top.next=this),n.top=this,this.next=null},S=t.el;T.prototype=S,S.constructor=T,t._engine.path=function(t,e){var n=m("path");e.canvas&&e.canvas.appendChild(n);var r=new T(n,e);return r.type="path",_(r,{fill:"none",stroke:"#000",path:t}),r},S.rotate=function(t,e,i){if(this.removed)return this;if(t=n(t).split(l),t.length-1&&(e=r(t[1]),i=r(t[2])),t=r(t[0]),null==i&&(e=i),null==e||null==i){var s=this.getBBox(1);e=s.x+s.width/2,i=s.y+s.height/2}return this.transform(this._.transform.concat([["r",t,e,i]])),this},S.scale=function(t,e,i,s){if(this.removed)return this;if(t=n(t).split(l),t.length-1&&(e=r(t[1]),i=r(t[2]),s=r(t[3])),t=r(t[0]),null==e&&(e=t),null==s&&(i=s),null==i||null==s)var o=this.getBBox(1);return i=null==i?o.x+o.width/2:i,s=null==s?o.y+o.height/2:s,this.transform(this._.transform.concat([["s",t,e,i,s]])),this},S.translate=function(t,e){return this.removed?this:(t=n(t).split(l),t.length-1&&(e=r(t[1])),t=r(t[0])||0,e=+e||0,this.transform(this._.transform.concat([["t",t,e]])),this)},S.transform=function(n){var r=this._;if(null==n)return r.transform;if(t._extractTransform(this,n),this.clip&&m(this.clip,{transform:this.matrix.invert()}),this.pattern&&y(this),this.node&&m(this.node,{transform:this.matrix}),1!=r.sx||1!=r.sy){var i=this.attrs[e]("stroke-width")?this.attrs["stroke-width"]:1;this.attr({"stroke-width":i})}return this},S.hide=function(){return!this.removed&&this.paper.safari(this.node.style.display="none"),this},S.show=function(){return!this.removed&&this.paper.safari(this.node.style.display=""),this},S.remove=function(){if(!this.removed){var e=this.paper;e.__set__&&e.__set__.exclude(this),u.unbind("*.*."+this.id),this.gradient&&e.defs.removeChild(this.gradient),t._tear(this,e),this.node.parentNode.removeChild(this.node);for(var n in this)this[n]="function"==typeof this[n]?t._removedFactory(n):null;this.removed=!0}},S._getBBox=function(){if("none"==this.node.style.display){this.show();var t=!0}var e={};try{e=this.node.getBBox()}catch(n){}finally{e=e||{}}return t&&this.hide(),e},S.attr=function(n,r){if(this.removed)return this;if(null==n){var i={};for(var s in this.attrs)this.attrs[e](s)&&(i[s]=this.attrs[s]);return i.gradient&&"none"==i.fill&&(i.fill=i.gradient)&&delete i.gradient,i.transform=this._.transform,i}if(null==r&&t.is(n,"string")){if("fill"==n&&"none"==this.attrs.fill&&this.attrs.gradient)return this.attrs.gradient;if("transform"==n)return this._.transform;for(var o=n.split(l),a={},c=0,h=o.length;h>c;c++)n=o[c],a[n]=n in this.attrs?this.attrs[n]:t.is(this.paper.customAttributes[n],"function")?this.paper.customAttributes[n].def:t._availableAttrs[n];return h-1?a:a[o[0]]}if(null==r&&t.is(n,"array")){for(a={},c=0,h=n.length;h>c;c++)a[n[c]]=this.attr(n[c]);return a}if(null!=r){var d={};d[n]=r}else null!=n&&t.is(n,"object")&&(d=n);for(var f in d)u("attr."+f+"."+this.id,this,d[f]);for(f in this.paper.customAttributes)if(this.paper.customAttributes[e](f)&&d[e](f)&&t.is(this.paper.customAttributes[f],"function")){var p=this.paper.customAttributes[f].apply(this,[].concat(d[f]));this.attrs[f]=d[f];for(var g in p)p[e](g)&&(d[g]=p[g])}return _(this,d),this},S.toFront=function(){if(this.removed)return this;"a"==this.node.parentNode.tagName.toLowerCase()?this.node.parentNode.parentNode.appendChild(this.node.parentNode):this.node.parentNode.appendChild(this.node);var e=this.paper;return e.top!=this&&t._tofront(this,e),this},S.toBack=function(){if(this.removed)return this;var e=this.node.parentNode;return"a"==e.tagName.toLowerCase()?e.parentNode.insertBefore(this.node.parentNode,this.node.parentNode.parentNode.firstChild):e.firstChild!=this.node&&e.insertBefore(this.node,this.node.parentNode.firstChild),t._toback(this,this.paper),this.paper,this},S.insertAfter=function(e){if(this.removed)return this;var n=e.node||e[e.length-1].node;return n.nextSibling?n.parentNode.insertBefore(this.node,n.nextSibling):n.parentNode.appendChild(this.node),t._insertafter(this,e,this.paper),this},S.insertBefore=function(e){if(this.removed)return this;var n=e.node||e[0].node;return n.parentNode.insertBefore(this.node,n),t._insertbefore(this,e,this.paper),this},S.blur=function(e){var n=this;if(0!==+e){var r=m("filter"),i=m("feGaussianBlur");n.attrs.blur=e,r.id=t.createUUID(),m(i,{stdDeviation:+e||1.5}),r.appendChild(i),n.paper.defs.appendChild(r),n._blur=r,m(n.node,{filter:"url(#"+r.id+")"})}else n._blur&&(n._blur.parentNode.removeChild(n._blur),delete n._blur,delete n.attrs.blur),n.node.removeAttribute("filter")},t._engine.circle=function(t,e,n,r){var i=m("circle");t.canvas&&t.canvas.appendChild(i);var s=new T(i,t);return s.attrs={cx:e,cy:n,r:r,fill:"none",stroke:"#000"},s.type="circle",m(i,s.attrs),s},t._engine.rect=function(t,e,n,r,i,s){var o=m("rect");t.canvas&&t.canvas.appendChild(o);var a=new T(o,t);return a.attrs={x:e,y:n,width:r,height:i,r:s||0,rx:s||0,ry:s||0,fill:"none",stroke:"#000"},a.type="rect",m(o,a.attrs),a},t._engine.ellipse=function(t,e,n,r,i){var s=m("ellipse");t.canvas&&t.canvas.appendChild(s);var o=new T(s,t);return o.attrs={cx:e,cy:n,rx:r,ry:i,fill:"none",stroke:"#000"},o.type="ellipse",m(s,o.attrs),o},t._engine.image=function(t,e,n,r,i,s){var o=m("image");m(o,{x:n,y:r,width:i,height:s,preserveAspectRatio:"none"}),o.setAttributeNS(f,"href",e),t.canvas&&t.canvas.appendChild(o);var a=new T(o,t);return a.attrs={x:n,y:r,width:i,height:s,src:e},a.type="image",a},t._engine.text=function(e,n,r,i){var s=m("text");e.canvas&&e.canvas.appendChild(s);var o=new T(s,e);return o.attrs={x:n,y:r,"text-anchor":"middle",text:i,font:t._availableAttrs.font,stroke:"none",fill:"#000"},o.type="text",_(o,o.attrs),o},t._engine.setSize=function(t,e){return this.width=t||this.width,this.height=e||this.height,this.canvas.setAttribute("width",this.width),this.canvas.setAttribute("height",this.height),this._viewBox&&this.setViewBox.apply(this,this._viewBox),this},t._engine.create=function(){var e=t._getContainer.apply(0,arguments),n=e&&e.container,r=e.x,i=e.y,s=e.width,o=e.height;if(!n)throw new Error("SVG container not found.");var a,c=m("svg"),l="overflow:hidden;";return r=r||0,i=i||0,s=s||512,o=o||342,m(c,{height:o,version:1.1,width:s,xmlns:"http://www.w3.org/2000/svg"}),1==n?(c.style.cssText=l+"position:absolute;left:"+r+"px;top:"+i+"px",t._g.doc.body.appendChild(c),a=1):(c.style.cssText=l+"position:relative",n.firstChild?n.insertBefore(c,n.firstChild):n.appendChild(c)),n=new t._Paper,n.width=s,n.height=o,n.canvas=c,n.clear(),n._left=n._top=0,a&&(n.renderfix=function(){}),n.renderfix(),n},t._engine.setViewBox=function(t,e,n,r,i){u("setViewBox",this,this._viewBox,[t,e,n,r,i]);var s,a,c=o(n/this.width,r/this.height),l=this.top,h=i?"meet":"xMinYMin";for(null==t?(this._vbSize&&(c=1),delete this._vbSize,s="0 0 "+this.width+d+this.height):(this._vbSize=c,s=t+d+e+d+n+d+r),m(this.canvas,{viewBox:s,preserveAspectRatio:h});c&&l;)a="stroke-width"in l.attrs?l.attrs["stroke-width"]:1,l.attr({"stroke-width":a}),l._.dirty=1,l._.dirtyT=1,l=l.prev;return this._viewBox=[t,e,n,r,!!i],this},t.prototype.renderfix=function(){var t=this.canvas,e=t.style,n=t.getScreenCTM()||t.createSVGMatrix(),r=-n.e%1,i=-n.f%1;(r||i)&&(r&&(this._left=(this._left+r)%1,e.left=this._left+"px"),i&&(this._top=(this._top+i)%1,e.top=this._top+"px"))},t.prototype.clear=function(){t.eve("clear",this);for(var e=this.canvas;e.firstChild;)e.removeChild(e.firstChild);this.bottom=this.top=null,(this.desc=m("desc")).appendChild(t._g.doc.createTextNode("Created with Raphaël "+t.version)),e.appendChild(this.desc),e.appendChild(this.defs=m("defs"))},t.prototype.remove=function(){u("remove",this),this.canvas.parentNode&&this.canvas.parentNode.removeChild(this.canvas);for(var e in this)this[e]="function"==typeof this[e]?t._removedFactory(e):null};var N=t.st;for(var z in S)S[e](z)&&!N[e](z)&&(N[z]=function(t){return function(){var e=arguments;return this.forEach(function(n){n[t].apply(n,e)})}}(z))}(window.Raphael),window.Raphael.vml&&function(t){var e="hasOwnProperty",n=String,r=parseFloat,i=Math,s=i.round,o=i.max,a=i.min,c=i.abs,l="fill",u=/[, ]+/,h=t.eve,d=" progid:DXImageTransform.Microsoft",f=" ",p="",g={M:"m",L:"l",C:"c",Z:"x",m:"t",l:"r",c:"v",z:"x"},m=/([clmz]),?([^clmz]*)/gi,v=/ progid:\S+Blur\([^\)]+\)/g,y=/-?[^,\s-]+/g,b="position:absolute;left:0;top:0;width:1px;height:1px",x=21600,C={path:1,rect:1,image:1},_={circle:1,ellipse:1},w=function(e){var r=/[ahqstv]/gi,i=t._pathToAbsolute;if(n(e).match(r)&&(i=t._path2curve),r=/[clmz]/g,i==t._pathToAbsolute&&!n(e).match(r)){var o=n(e).replace(m,function(t,e,n){var r=[],i="m"==e.toLowerCase(),o=g[e];return n.replace(y,function(t){i&&2==r.length&&(o+=r+g["m"==e?"l":"L"],r=[]),r.push(s(t*x))}),o+r});return o}var a,c,l=i(e);o=[];for(var u=0,h=l.length;h>u;u++){a=l[u],c=l[u][0].toLowerCase(),"z"==c&&(c="x");for(var d=1,v=a.length;v>d;d++)c+=s(a[d]*x)+(d!=v-1?",":p);o.push(c)}return o.join(f)},M=function(e,n,r){var i=t.matrix();return i.rotate(-e,.5,.5),{dx:i.x(n,r),dy:i.y(n,r)}},T=function(t,e,n,r,i,s){var o=t._,a=t.matrix,u=o.fillpos,h=t.node,d=h.style,p=1,g="",m=x/e,v=x/n;if(d.visibility="hidden",e&&n){if(h.coordsize=c(m)+f+c(v),d.rotation=s*(0>e*n?-1:1),s){var y=M(s,r,i);r=y.dx,i=y.dy}if(0>e&&(g+="x"),0>n&&(g+=" y")&&(p=-1),d.flip=g,h.coordorigin=r*-m+f+i*-v,u||o.fillsize){var b=h.getElementsByTagName(l);b=b&&b[0],h.removeChild(b),u&&(y=M(s,a.x(u[0],u[1]),a.y(u[0],u[1])),b.position=y.dx*p+f+y.dy*p),o.fillsize&&(b.size=o.fillsize[0]*c(e)+f+o.fillsize[1]*c(n)),h.appendChild(b)}d.visibility="visible"}};t.toString=function(){return"Your browser doesn’t support SVG. Falling down to VML.\nYou are running Raphaël "+this.version};var S=function(t,e,r){for(var i=n(e).toLowerCase().split("-"),s=r?"end":"start",o=i.length,a="classic",c="medium",l="medium";o--;)switch(i[o]){case"block":case"classic":case"oval":case"diamond":case"open":case"none":a=i[o];break;case"wide":case"narrow":l=i[o];break;case"long":case"short":c=i[o]}var u=t.node.getElementsByTagName("stroke")[0];u[s+"arrow"]=a,u[s+"arrowlength"]=c,u[s+"arrowwidth"]=l},N=function(i,c){i.attrs=i.attrs||{};var h=i.node,d=i.attrs,g=h.style,m=C[i.type]&&(c.x!=d.x||c.y!=d.y||c.width!=d.width||c.height!=d.height||c.cx!=d.cx||c.cy!=d.cy||c.rx!=d.rx||c.ry!=d.ry||c.r!=d.r),v=_[i.type]&&(d.cx!=c.cx||d.cy!=c.cy||d.r!=c.r||d.rx!=c.rx||d.ry!=c.ry),y=i;for(var b in c)c[e](b)&&(d[b]=c[b]);if(m&&(d.path=t._getPath[i.type](i),i._.dirty=1),c.href&&(h.href=c.href),c.title&&(h.title=c.title),c.target&&(h.target=c.target),c.cursor&&(g.cursor=c.cursor),"blur"in c&&i.blur(c.blur),(c.path&&"path"==i.type||m)&&(h.path=w(~n(d.path).toLowerCase().indexOf("r")?t._pathToAbsolute(d.path):d.path),"image"==i.type&&(i._.fillpos=[d.x,d.y],i._.fillsize=[d.width,d.height],T(i,1,1,0,0,0))),"transform"in c&&i.transform(c.transform),v){var M=+d.cx,N=+d.cy,k=+d.rx||+d.r||0,L=+d.ry||+d.r||0;h.path=t.format("ar{0},{1},{2},{3},{4},{1},{4},{1}x",s((M-k)*x),s((N-L)*x),s((M+k)*x),s((N+L)*x),s(M*x))}if("clip-rect"in c){var E=n(c["clip-rect"]).split(u);if(4==E.length){E[2]=+E[2]+ +E[0],E[3]=+E[3]+ +E[1];var H=h.clipRect||t._g.doc.createElement("div"),j=H.style;j.clip=t.format("rect({1}px {2}px {3}px {0}px)",E),h.clipRect||(j.position="absolute",j.top=0,j.left=0,j.width=i.paper.width+"px",j.height=i.paper.height+"px",h.parentNode.insertBefore(H,h),H.appendChild(h),h.clipRect=H)}c["clip-rect"]||h.clipRect&&(h.clipRect.style.clip="auto")}if(i.textpath){var q=i.textpath.style;c.font&&(q.font=c.font),c["font-family"]&&(q.fontFamily='"'+c["font-family"].split(",")[0].replace(/^['"]+|['"]+$/g,p)+'"'),c["font-size"]&&(q.fontSize=c["font-size"]),c["font-weight"]&&(q.fontWeight=c["font-weight"]),c["font-style"]&&(q.fontStyle=c["font-style"])}if("arrow-start"in c&&S(y,c["arrow-start"]),"arrow-end"in c&&S(y,c["arrow-end"],1),null!=c.opacity||null!=c["stroke-width"]||null!=c.fill||null!=c.src||null!=c.stroke||null!=c["stroke-width"]||null!=c["stroke-opacity"]||null!=c["fill-opacity"]||null!=c["stroke-dasharray"]||null!=c["stroke-miterlimit"]||null!=c["stroke-linejoin"]||null!=c["stroke-linecap"]){var D=h.getElementsByTagName(l),B=!1;if(D=D&&D[0],!D&&(B=D=A(l)),"image"==i.type&&c.src&&(D.src=c.src),c.fill&&(D.on=!0),(null==D.on||"none"==c.fill||null===c.fill)&&(D.on=!1),D.on&&c.fill){var I=n(c.fill).match(t._ISURL);if(I){D.parentNode==h&&h.removeChild(D),D.rotate=!0,D.src=I[1],D.type="tile";var F=i.getBBox(1);D.position=F.x+f+F.y,i._.fillpos=[F.x,F.y],t._preload(I[1],function(){i._.fillsize=[this.offsetWidth,this.offsetHeight]})}else D.color=t.getRGB(c.fill).hex,D.src=p,D.type="solid",t.getRGB(c.fill).error&&(y.type in{circle:1,ellipse:1}||"r"!=n(c.fill).charAt())&&z(y,c.fill,D)&&(d.fill="none",d.gradient=c.fill,D.rotate=!1)}if("fill-opacity"in c||"opacity"in c){var O=((+d["fill-opacity"]+1||2)-1)*((+d.opacity+1||2)-1)*((+t.getRGB(c.fill).o+1||2)-1);
7
7
  O=a(o(O,0),1),D.opacity=O,D.src&&(D.color="none")}h.appendChild(D);var $=h.getElementsByTagName("stroke")&&h.getElementsByTagName("stroke")[0],R=!1;!$&&(R=$=A("stroke")),(c.stroke&&"none"!=c.stroke||c["stroke-width"]||null!=c["stroke-opacity"]||c["stroke-dasharray"]||c["stroke-miterlimit"]||c["stroke-linejoin"]||c["stroke-linecap"])&&($.on=!0),("none"==c.stroke||null===c.stroke||null==$.on||0==c.stroke||0==c["stroke-width"])&&($.on=!1);var V=t.getRGB(c.stroke);$.on&&c.stroke&&($.color=V.hex),O=((+d["stroke-opacity"]+1||2)-1)*((+d.opacity+1||2)-1)*((+V.o+1||2)-1);var P=.75*(r(c["stroke-width"])||1);if(O=a(o(O,0),1),null==c["stroke-width"]&&(P=d["stroke-width"]),c["stroke-width"]&&($.weight=P),P&&1>P&&(O*=P)&&($.weight=1),$.opacity=O,c["stroke-linejoin"]&&($.joinstyle=c["stroke-linejoin"]||"miter"),$.miterlimit=c["stroke-miterlimit"]||8,c["stroke-linecap"]&&($.endcap="butt"==c["stroke-linecap"]?"flat":"square"==c["stroke-linecap"]?"square":"round"),c["stroke-dasharray"]){var W={"-":"shortdash",".":"shortdot","-.":"shortdashdot","-..":"shortdashdotdot",". ":"dot","- ":"dash","--":"longdash","- .":"dashdot","--.":"longdashdot","--..":"longdashdotdot"};$.dashstyle=W[e](c["stroke-dasharray"])?W[c["stroke-dasharray"]]:p}R&&h.appendChild($)}if("text"==y.type){y.paper.canvas.style.display=p;var X=y.paper.span,U=100,G=d.font&&d.font.match(/\d+(?:\.\d*)?(?=px)/);g=X.style,d.font&&(g.font=d.font),d["font-family"]&&(g.fontFamily=d["font-family"]),d["font-weight"]&&(g.fontWeight=d["font-weight"]),d["font-style"]&&(g.fontStyle=d["font-style"]),G=r(d["font-size"]||G&&G[0])||10,g.fontSize=G*U+"px",y.textpath.string&&(X.innerHTML=n(y.textpath.string).replace(/</g,"&#60;").replace(/&/g,"&#38;").replace(/\n/g,"<br>"));var J=X.getBoundingClientRect();y.W=d.w=(J.right-J.left)/U,y.H=d.h=(J.bottom-J.top)/U,y.X=d.x,y.Y=d.y+y.H/2,("x"in c||"y"in c)&&(y.path.v=t.format("m{0},{1}l{2},{1}",s(d.x*x),s(d.y*x),s(d.x*x)+1));for(var Y=["x","y","text","font","font-family","font-weight","font-style","font-size"],Q=0,Z=Y.length;Z>Q;Q++)if(Y[Q]in c){y._.dirty=1;break}switch(d["text-anchor"]){case"start":y.textpath.style["v-text-align"]="left",y.bbx=y.W/2;break;case"end":y.textpath.style["v-text-align"]="right",y.bbx=-y.W/2;break;default:y.textpath.style["v-text-align"]="center",y.bbx=0}y.textpath.style["v-text-kern"]=!0}},z=function(e,s,o){e.attrs=e.attrs||{};var a=(e.attrs,Math.pow),c="linear",l=".5 .5";if(e.attrs.gradient=s,s=n(s).replace(t._radial_gradient,function(t,e,n){return c="radial",e&&n&&(e=r(e),n=r(n),a(e-.5,2)+a(n-.5,2)>.25&&(n=i.sqrt(.25-a(e-.5,2))*(2*(n>.5)-1)+.5),l=e+f+n),p}),s=s.split(/\s*\-\s*/),"linear"==c){var u=s.shift();if(u=-r(u),isNaN(u))return null}var h=t._parseDots(s);if(!h)return null;if(e=e.shape||e.node,h.length){e.removeChild(o),o.on=!0,o.method="none",o.color=h[0].color,o.color2=h[h.length-1].color;for(var d=[],g=0,m=h.length;m>g;g++)h[g].offset&&d.push(h[g].offset+f+h[g].color);o.colors=d.length?d.join():"0% "+o.color,"radial"==c?(o.type="gradientTitle",o.focus="100%",o.focussize="0 0",o.focusposition=l,o.angle=0):(o.type="gradient",o.angle=(270-u)%360),e.appendChild(o)}return 1},k=function(e,n){this[0]=this.node=e,e.raphael=!0,this.id=t._oid++,e.raphaelid=this.id,this.X=0,this.Y=0,this.attrs={},this.paper=n,this.matrix=t.matrix(),this._={transform:[],sx:1,sy:1,dx:0,dy:0,deg:0,dirty:1,dirtyT:1},!n.bottom&&(n.bottom=this),this.prev=n.top,n.top&&(n.top.next=this),n.top=this,this.next=null},L=t.el;k.prototype=L,L.constructor=k,L.transform=function(e){if(null==e)return this._.transform;var r,i=this.paper._viewBoxShift,s=i?"s"+[i.scale,i.scale]+"-1-1t"+[i.dx,i.dy]:p;i&&(r=e=n(e).replace(/\.{3}|\u2026/g,this._.transform||p)),t._extractTransform(this,s+e);var o,a=this.matrix.clone(),c=this.skew,l=this.node,u=~n(this.attrs.fill).indexOf("-"),h=!n(this.attrs.fill).indexOf("url(");if(a.translate(-.5,-.5),h||u||"image"==this.type)if(c.matrix="1 0 0 1",c.offset="0 0",o=a.split(),u&&o.noRotation||!o.isSimple){l.style.filter=a.toFilter();var d=this.getBBox(),g=this.getBBox(1),m=d.x-g.x,v=d.y-g.y;l.coordorigin=m*-x+f+v*-x,T(this,1,1,m,v,0)}else l.style.filter=p,T(this,o.scalex,o.scaley,o.dx,o.dy,o.rotate);else l.style.filter=p,c.matrix=n(a),c.offset=a.offset();return r&&(this._.transform=r),this},L.rotate=function(t,e,i){if(this.removed)return this;if(null!=t){if(t=n(t).split(u),t.length-1&&(e=r(t[1]),i=r(t[2])),t=r(t[0]),null==i&&(e=i),null==e||null==i){var s=this.getBBox(1);e=s.x+s.width/2,i=s.y+s.height/2}return this._.dirtyT=1,this.transform(this._.transform.concat([["r",t,e,i]])),this}},L.translate=function(t,e){return this.removed?this:(t=n(t).split(u),t.length-1&&(e=r(t[1])),t=r(t[0])||0,e=+e||0,this._.bbox&&(this._.bbox.x+=t,this._.bbox.y+=e),this.transform(this._.transform.concat([["t",t,e]])),this)},L.scale=function(t,e,i,s){if(this.removed)return this;if(t=n(t).split(u),t.length-1&&(e=r(t[1]),i=r(t[2]),s=r(t[3]),isNaN(i)&&(i=null),isNaN(s)&&(s=null)),t=r(t[0]),null==e&&(e=t),null==s&&(i=s),null==i||null==s)var o=this.getBBox(1);return i=null==i?o.x+o.width/2:i,s=null==s?o.y+o.height/2:s,this.transform(this._.transform.concat([["s",t,e,i,s]])),this._.dirtyT=1,this},L.hide=function(){return!this.removed&&(this.node.style.display="none"),this},L.show=function(){return!this.removed&&(this.node.style.display=p),this},L._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}},L.remove=function(){if(!this.removed){this.paper.__set__&&this.paper.__set__.exclude(this),t.eve.unbind("*.*."+this.id),t._tear(this,this.paper),this.node.parentNode.removeChild(this.node),this.shape&&this.shape.parentNode.removeChild(this.shape);for(var e in this)this[e]="function"==typeof this[e]?t._removedFactory(e):null;this.removed=!0}},L.attr=function(n,r){if(this.removed)return this;if(null==n){var i={};for(var s in this.attrs)this.attrs[e](s)&&(i[s]=this.attrs[s]);return i.gradient&&"none"==i.fill&&(i.fill=i.gradient)&&delete i.gradient,i.transform=this._.transform,i}if(null==r&&t.is(n,"string")){if(n==l&&"none"==this.attrs.fill&&this.attrs.gradient)return this.attrs.gradient;for(var o=n.split(u),a={},c=0,d=o.length;d>c;c++)n=o[c],a[n]=n in this.attrs?this.attrs[n]:t.is(this.paper.customAttributes[n],"function")?this.paper.customAttributes[n].def:t._availableAttrs[n];return d-1?a:a[o[0]]}if(this.attrs&&null==r&&t.is(n,"array")){for(a={},c=0,d=n.length;d>c;c++)a[n[c]]=this.attr(n[c]);return a}var f;null!=r&&(f={},f[n]=r),null==r&&t.is(n,"object")&&(f=n);for(var p in f)h("attr."+p+"."+this.id,this,f[p]);if(f){for(p in this.paper.customAttributes)if(this.paper.customAttributes[e](p)&&f[e](p)&&t.is(this.paper.customAttributes[p],"function")){var g=this.paper.customAttributes[p].apply(this,[].concat(f[p]));this.attrs[p]=f[p];for(var m in g)g[e](m)&&(f[m]=g[m])}f.text&&"text"==this.type&&(this.textpath.string=f.text),N(this,f)}return this},L.toFront=function(){return!this.removed&&this.node.parentNode.appendChild(this.node),this.paper&&this.paper.top!=this&&t._tofront(this,this.paper),this},L.toBack=function(){return this.removed?this:(this.node.parentNode.firstChild!=this.node&&(this.node.parentNode.insertBefore(this.node,this.node.parentNode.firstChild),t._toback(this,this.paper)),this)},L.insertAfter=function(e){return this.removed?this:(e.constructor==t.st.constructor&&(e=e[e.length-1]),e.node.nextSibling?e.node.parentNode.insertBefore(this.node,e.node.nextSibling):e.node.parentNode.appendChild(this.node),t._insertafter(this,e,this.paper),this)},L.insertBefore=function(e){return this.removed?this:(e.constructor==t.st.constructor&&(e=e[0]),e.node.parentNode.insertBefore(this.node,e.node),t._insertbefore(this,e,this.paper),this)},L.blur=function(e){var n=this.node.runtimeStyle,r=n.filter;r=r.replace(v,p),0!==+e?(this.attrs.blur=e,n.filter=r+f+d+".Blur(pixelradius="+(+e||1.5)+")",n.margin=t.format("-{0}px 0 0 -{0}px",s(+e||1.5))):(n.filter=r,n.margin=0,delete this.attrs.blur)},t._engine.path=function(t,e){var n=A("shape");n.style.cssText=b,n.coordsize=x+f+x,n.coordorigin=e.coordorigin;var r=new k(n,e),i={fill:"none",stroke:"#000"};t&&(i.path=t),r.type="path",r.path=[],r.Path=p,N(r,i),e.canvas.appendChild(n);var s=A("skew");return s.on=!0,n.appendChild(s),r.skew=s,r.transform(p),r},t._engine.rect=function(e,n,r,i,s,o){var a=t._rectPath(n,r,i,s,o),c=e.path(a),l=c.attrs;return c.X=l.x=n,c.Y=l.y=r,c.W=l.width=i,c.H=l.height=s,l.r=o,l.path=a,c.type="rect",c},t._engine.ellipse=function(t,e,n,r,i){var s=t.path();return s.attrs,s.X=e-r,s.Y=n-i,s.W=2*r,s.H=2*i,s.type="ellipse",N(s,{cx:e,cy:n,rx:r,ry:i}),s},t._engine.circle=function(t,e,n,r){var i=t.path();return i.attrs,i.X=e-r,i.Y=n-r,i.W=i.H=2*r,i.type="circle",N(i,{cx:e,cy:n,r:r}),i},t._engine.image=function(e,n,r,i,s,o){var a=t._rectPath(r,i,s,o),c=e.path(a).attr({stroke:"none"}),u=c.attrs,h=c.node,d=h.getElementsByTagName(l)[0];return u.src=n,c.X=u.x=r,c.Y=u.y=i,c.W=u.width=s,c.H=u.height=o,u.path=a,c.type="image",d.parentNode==h&&h.removeChild(d),d.rotate=!0,d.src=n,d.type="tile",c._.fillpos=[r,i],c._.fillsize=[s,o],h.appendChild(d),T(c,1,1,0,0,0),c},t._engine.text=function(e,r,i,o){var a=A("shape"),c=A("path"),l=A("textpath");r=r||0,i=i||0,o=o||"",c.v=t.format("m{0},{1}l{2},{1}",s(r*x),s(i*x),s(r*x)+1),c.textpathok=!0,l.string=n(o),l.on=!0,a.style.cssText=b,a.coordsize=x+f+x,a.coordorigin="0 0";var u=new k(a,e),h={fill:"#000",stroke:"none",font:t._availableAttrs.font,text:o};u.shape=a,u.path=c,u.textpath=l,u.type="text",u.attrs.text=n(o),u.attrs.x=r,u.attrs.y=i,u.attrs.w=1,u.attrs.h=1,N(u,h),a.appendChild(l),a.appendChild(c),e.canvas.appendChild(a);var d=A("skew");return d.on=!0,a.appendChild(d),u.skew=d,u.transform(p),u},t._engine.setSize=function(e,n){var r=this.canvas.style;return this.width=e,this.height=n,e==+e&&(e+="px"),n==+n&&(n+="px"),r.width=e,r.height=n,r.clip="rect(0 "+e+" "+n+" 0)",this._viewBox&&t._engine.setViewBox.apply(this,this._viewBox),this},t._engine.setViewBox=function(e,n,r,i,s){t.eve("setViewBox",this,this._viewBox,[e,n,r,i,s]);var a,c,l=this.width,u=this.height,h=1/o(r/l,i/u);return s&&(a=u/i,c=l/r,l>r*a&&(e-=(l-r*a)/2/a),u>i*c&&(n-=(u-i*c)/2/c)),this._viewBox=[e,n,r,i,!!s],this._viewBoxShift={dx:-e,dy:-n,scale:h},this.forEach(function(t){t.transform("...")}),this};var A;t._engine.initWin=function(t){var e=t.document;e.createStyleSheet().addRule(".rvml","behavior:url(#default#VML)");try{!e.namespaces.rvml&&e.namespaces.add("rvml","urn:schemas-microsoft-com:vml"),A=function(t){return e.createElement("<rvml:"+t+' class="rvml">')}}catch(n){A=function(t){return e.createElement("<"+t+' xmlns="urn:schemas-microsoft.com:vml" class="rvml">')}}},t._engine.initWin(t._g.win),t._engine.create=function(){var e=t._getContainer.apply(0,arguments),n=e.container,r=e.height,i=e.width,s=e.x,o=e.y;if(!n)throw new Error("VML container not found.");var a=new t._Paper,c=a.canvas=t._g.doc.createElement("div"),l=c.style;return s=s||0,o=o||0,i=i||512,r=r||342,a.width=i,a.height=r,i==+i&&(i+="px"),r==+r&&(r+="px"),a.coordsize=1e3*x+f+1e3*x,a.coordorigin="0 0",a.span=t._g.doc.createElement("span"),a.span.style.cssText="position:absolute;left:-9999em;top:-9999em;padding:0;margin:0;line-height:1;",c.appendChild(a.span),l.cssText=t.format("top:0;left:0;width:{0};height:{1};display:inline-block;position:relative;clip:rect(0 {0} {1} 0);overflow:hidden",i,r),1==n?(t._g.doc.body.appendChild(c),l.left=s+"px",l.top=o+"px",l.position="absolute"):n.firstChild?n.insertBefore(c,n.firstChild):n.appendChild(c),a.renderfix=function(){},a},t.prototype.clear=function(){t.eve("clear",this),this.canvas.innerHTML=p,this.span=t._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},t.prototype.remove=function(){t.eve("remove",this),this.canvas.parentNode.removeChild(this.canvas);for(var e in this)this[e]="function"==typeof this[e]?t._removedFactory(e):null;return!0};var E=t.st;for(var H in L)L[e](H)&&!E[e](H)&&(E[H]=function(t){return function(){var e=arguments;return this.forEach(function(n){n[t].apply(n,e)})}}(H))}(window.Raphael);var Base64=function(){var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",e={encode:function(e){var n,r,i,s,o,a,c,l="",u=0;do n=e.charCodeAt(u++),r=e.charCodeAt(u++),i=e.charCodeAt(u++),s=n>>2,o=(3&n)<<4|r>>4,a=(15&r)<<2|i>>6,c=63&i,isNaN(r)?a=c=64:isNaN(i)&&(c=64),l=l+t.charAt(s)+t.charAt(o)+t.charAt(a)+t.charAt(c);while(u<e.length);return l},decode:function(e){var n,r,i,s,o,a,c,l="",u=0;e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"");do s=t.indexOf(e.charAt(u++)),o=t.indexOf(e.charAt(u++)),a=t.indexOf(e.charAt(u++)),c=t.indexOf(e.charAt(u++)),n=s<<2|o>>4,r=(15&o)<<4|a>>2,i=(3&a)<<6|c,l+=String.fromCharCode(n),64!=a&&(l+=String.fromCharCode(r)),64!=c&&(l+=String.fromCharCode(i));while(u<e.length);return l}};return e}(),MD5=function(){var t=0,e="",n=8,r=function(t,e){var n=(65535&t)+(65535&e),r=(t>>16)+(e>>16)+(n>>16);return r<<16|65535&n},i=function(t,e){return t<<e|t>>>32-e},s=function(t){for(var e=[],r=(1<<n)-1,i=0;i<t.length*n;i+=n)e[i>>5]|=(t.charCodeAt(i/n)&r)<<i%32;return e},o=function(t){for(var e="",r=(1<<n)-1,i=0;i<32*t.length;i+=n)e+=String.fromCharCode(t[i>>5]>>>i%32&r);return e},a=function(e){for(var n=t?"0123456789ABCDEF":"0123456789abcdef",r="",i=0;i<4*e.length;i++)r+=n.charAt(15&e[i>>2]>>8*(i%4)+4)+n.charAt(15&e[i>>2]>>8*(i%4));return r},c=function(t){for(var n,r,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s="",o=0;o<4*t.length;o+=3)for(n=(255&t[o>>2]>>8*(o%4))<<16|(255&t[o+1>>2]>>8*((o+1)%4))<<8|255&t[o+2>>2]>>8*((o+2)%4),r=0;4>r;r++)s+=8*o+6*r>32*t.length?e:i.charAt(63&n>>6*(3-r));return s},l=function(t,e,n,s,o,a){return r(i(r(r(e,t),r(s,a)),o),n)},u=function(t,e,n,r,i,s,o){return l(e&n|~e&r,t,e,i,s,o)},h=function(t,e,n,r,i,s,o){return l(e&r|n&~r,t,e,i,s,o)},d=function(t,e,n,r,i,s,o){return l(e^n^r,t,e,i,s,o)},f=function(t,e,n,r,i,s,o){return l(n^(e|~r),t,e,i,s,o)},p=function(t,e){t[e>>5]|=128<<e%32,t[(e+64>>>9<<4)+14]=e;for(var n,i,s,o,a=1732584193,c=-271733879,l=-1732584194,p=271733878,g=0;g<t.length;g+=16)n=a,i=c,s=l,o=p,a=u(a,c,l,p,t[g+0],7,-680876936),p=u(p,a,c,l,t[g+1],12,-389564586),l=u(l,p,a,c,t[g+2],17,606105819),c=u(c,l,p,a,t[g+3],22,-1044525330),a=u(a,c,l,p,t[g+4],7,-176418897),p=u(p,a,c,l,t[g+5],12,1200080426),l=u(l,p,a,c,t[g+6],17,-1473231341),c=u(c,l,p,a,t[g+7],22,-45705983),a=u(a,c,l,p,t[g+8],7,1770035416),p=u(p,a,c,l,t[g+9],12,-1958414417),l=u(l,p,a,c,t[g+10],17,-42063),c=u(c,l,p,a,t[g+11],22,-1990404162),a=u(a,c,l,p,t[g+12],7,1804603682),p=u(p,a,c,l,t[g+13],12,-40341101),l=u(l,p,a,c,t[g+14],17,-1502002290),c=u(c,l,p,a,t[g+15],22,1236535329),a=h(a,c,l,p,t[g+1],5,-165796510),p=h(p,a,c,l,t[g+6],9,-1069501632),l=h(l,p,a,c,t[g+11],14,643717713),c=h(c,l,p,a,t[g+0],20,-373897302),a=h(a,c,l,p,t[g+5],5,-701558691),p=h(p,a,c,l,t[g+10],9,38016083),l=h(l,p,a,c,t[g+15],14,-660478335),c=h(c,l,p,a,t[g+4],20,-405537848),a=h(a,c,l,p,t[g+9],5,568446438),p=h(p,a,c,l,t[g+14],9,-1019803690),l=h(l,p,a,c,t[g+3],14,-187363961),c=h(c,l,p,a,t[g+8],20,1163531501),a=h(a,c,l,p,t[g+13],5,-1444681467),p=h(p,a,c,l,t[g+2],9,-51403784),l=h(l,p,a,c,t[g+7],14,1735328473),c=h(c,l,p,a,t[g+12],20,-1926607734),a=d(a,c,l,p,t[g+5],4,-378558),p=d(p,a,c,l,t[g+8],11,-2022574463),l=d(l,p,a,c,t[g+11],16,1839030562),c=d(c,l,p,a,t[g+14],23,-35309556),a=d(a,c,l,p,t[g+1],4,-1530992060),p=d(p,a,c,l,t[g+4],11,1272893353),l=d(l,p,a,c,t[g+7],16,-155497632),c=d(c,l,p,a,t[g+10],23,-1094730640),a=d(a,c,l,p,t[g+13],4,681279174),p=d(p,a,c,l,t[g+0],11,-358537222),l=d(l,p,a,c,t[g+3],16,-722521979),c=d(c,l,p,a,t[g+6],23,76029189),a=d(a,c,l,p,t[g+9],4,-640364487),p=d(p,a,c,l,t[g+12],11,-421815835),l=d(l,p,a,c,t[g+15],16,530742520),c=d(c,l,p,a,t[g+2],23,-995338651),a=f(a,c,l,p,t[g+0],6,-198630844),p=f(p,a,c,l,t[g+7],10,1126891415),l=f(l,p,a,c,t[g+14],15,-1416354905),c=f(c,l,p,a,t[g+5],21,-57434055),a=f(a,c,l,p,t[g+12],6,1700485571),p=f(p,a,c,l,t[g+3],10,-1894986606),l=f(l,p,a,c,t[g+10],15,-1051523),c=f(c,l,p,a,t[g+1],21,-2054922799),a=f(a,c,l,p,t[g+8],6,1873313359),p=f(p,a,c,l,t[g+15],10,-30611744),l=f(l,p,a,c,t[g+6],15,-1560198380),c=f(c,l,p,a,t[g+13],21,1309151649),a=f(a,c,l,p,t[g+4],6,-145523070),p=f(p,a,c,l,t[g+11],10,-1120210379),l=f(l,p,a,c,t[g+2],15,718787259),c=f(c,l,p,a,t[g+9],21,-343485551),a=r(a,n),c=r(c,i),l=r(l,s),p=r(p,o);return[a,c,l,p]},g=function(t,e){var r=s(t);r.length>16&&(r=p(r,t.length*n));for(var i=new Array(16),o=new Array(16),a=0;16>a;a++)i[a]=909522486^r[a],o[a]=1549556828^r[a];var c=p(i.concat(s(e)),512+e.length*n);return p(o.concat(c),640)},m={hexdigest:function(t){return a(p(s(t),t.length*n))},b64digest:function(t){return c(p(s(t),t.length*n))},hash:function(t){return o(p(s(t),t.length*n))},hmac_hexdigest:function(t,e){return a(g(t,e))},hmac_b64digest:function(t,e){return c(g(t,e))},hmac_hash:function(t,e){return o(g(t,e))},test:function(){return"900150983cd24fb0d6963f7d28e17f72"===MD5.hexdigest("abc")}};return m}();Function.prototype.bind||(Function.prototype.bind=function(t){var e=this,n=Array.prototype.slice,r=Array.prototype.concat,i=n.call(arguments,1);return function(){return e.apply(t?t:this,r.call(i,n.call(arguments,0)))}}),Array.prototype.indexOf||(Array.prototype.indexOf=function(t){var e=this.length,n=Number(arguments[1])||0;for(n=0>n?Math.ceil(n):Math.floor(n),0>n&&(n+=e);e>n;n++)if(n in this&&this[n]===t)return n;return-1}),function(t){function e(t,e){return new s.Builder(t,e)}function n(t){return new s.Builder("message",t)}function r(t){return new s.Builder("iq",t)}function i(t){return new s.Builder("presence",t)}var s;s={VERSION:"1.0.2",NS:{HTTPBIND:"http://jabber.org/protocol/httpbind",BOSH:"urn:xmpp:xbosh",CLIENT:"jabber:client",AUTH:"jabber:iq:auth",ROSTER:"jabber:iq:roster",PROFILE:"jabber:iq:profile",DISCO_INFO:"http://jabber.org/protocol/disco#info",DISCO_ITEMS:"http://jabber.org/protocol/disco#items",MUC:"http://jabber.org/protocol/muc",SASL:"urn:ietf:params:xml:ns:xmpp-sasl",STREAM:"http://etherx.jabber.org/streams",BIND:"urn:ietf:params:xml:ns:xmpp-bind",SESSION:"urn:ietf:params:xml:ns:xmpp-session",VERSION:"jabber:iq:version",STANZAS:"urn:ietf:params:xml:ns:xmpp-stanzas"},addNamespace:function(t,e){s.NS[t]=e},Status:{ERROR:0,CONNECTING:1,CONNFAIL:2,AUTHENTICATING:3,AUTHFAIL:4,CONNECTED:5,DISCONNECTED:6,DISCONNECTING:7,ATTACHED:8},LogLevel:{DEBUG:0,INFO:1,WARN:2,ERROR:3,FATAL:4},ElementType:{NORMAL:1,TEXT:3,CDATA:4},TIMEOUT:1.1,SECONDARY_TIMEOUT:.1,forEachChild:function(t,e,n){var r,i;for(r=0;r<t.childNodes.length;r++)i=t.childNodes[r],i.nodeType!=s.ElementType.NORMAL||e&&!this.isTagEqual(i,e)||n(i)},isTagEqual:function(t,e){return t.tagName.toLowerCase()==e.toLowerCase()},_xmlGenerator:null,_makeGenerator:function(){var t;return void 0===document.implementation.createDocument?(t=this._getIEXmlDom(),t.appendChild(t.createElement("strophe"))):t=document.implementation.createDocument("jabber:client","strophe",null),t},xmlGenerator:function(){return s._xmlGenerator||(s._xmlGenerator=s._makeGenerator()),s._xmlGenerator},_getIEXmlDom:function(){for(var t=null,e=["Msxml2.DOMDocument.6.0","Msxml2.DOMDocument.5.0","Msxml2.DOMDocument.4.0","MSXML2.DOMDocument.3.0","MSXML2.DOMDocument","MSXML.DOMDocument","Microsoft.XMLDOM"],n=0;n<e.length&&null===t;n++)try{t=new ActiveXObject(e[n])}catch(r){t=null}return t},xmlElement:function(t){if(!t)return null;var e,n,r,i=s.xmlGenerator().createElement(t);for(e=1;e<arguments.length;e++)if(arguments[e])if("string"==typeof arguments[e]||"number"==typeof arguments[e])i.appendChild(s.xmlTextNode(arguments[e]));else if("object"==typeof arguments[e]&&"function"==typeof arguments[e].sort)for(n=0;n<arguments[e].length;n++)"object"==typeof arguments[e][n]&&"function"==typeof arguments[e][n].sort&&i.setAttribute(arguments[e][n][0],arguments[e][n][1]);else if("object"==typeof arguments[e])for(r in arguments[e])arguments[e].hasOwnProperty(r)&&i.setAttribute(r,arguments[e][r]);return i},xmlescape:function(t){return t=t.replace(/\&/g,"&amp;"),t=t.replace(/</g,"&lt;"),t=t.replace(/>/g,"&gt;"),t=t.replace(/'/g,"&apos;"),t=t.replace(/"/g,"&quot;")},xmlTextNode:function(t){return t=s.xmlescape(t),s.xmlGenerator().createTextNode(t)},getText:function(t){if(!t)return null;var e="";0===t.childNodes.length&&t.nodeType==s.ElementType.TEXT&&(e+=t.nodeValue);for(var n=0;n<t.childNodes.length;n++)t.childNodes[n].nodeType==s.ElementType.TEXT&&(e+=t.childNodes[n].nodeValue);return e},copyElement:function(t){var e,n;if(t.nodeType==s.ElementType.NORMAL){for(n=s.xmlElement(t.tagName),e=0;e<t.attributes.length;e++)n.setAttribute(t.attributes[e].nodeName.toLowerCase(),t.attributes[e].value);for(e=0;e<t.childNodes.length;e++)n.appendChild(s.copyElement(t.childNodes[e]))}else t.nodeType==s.ElementType.TEXT&&(n=s.xmlGenerator().createTextNode(t.nodeValue));return n},escapeNode:function(t){return t.replace(/^\s+|\s+$/g,"").replace(/\\/g,"\\5c").replace(/ /g,"\\20").replace(/\"/g,"\\22").replace(/\&/g,"\\26").replace(/\'/g,"\\27").replace(/\//g,"\\2f").replace(/:/g,"\\3a").replace(/</g,"\\3c").replace(/>/g,"\\3e").replace(/@/g,"\\40")},unescapeNode:function(t){return t.replace(/\\20/g," ").replace(/\\22/g,'"').replace(/\\26/g,"&").replace(/\\27/g,"'").replace(/\\2f/g,"/").replace(/\\3a/g,":").replace(/\\3c/g,"<").replace(/\\3e/g,">").replace(/\\40/g,"@").replace(/\\5c/g,"\\")},getNodeFromJid:function(t){return t.indexOf("@")<0?null:t.split("@")[0]},getDomainFromJid:function(t){var e=s.getBareJidFromJid(t);if(e.indexOf("@")<0)return e;var n=e.split("@");return n.splice(0,1),n.join("@")},getResourceFromJid:function(t){var e=t.split("/");return e.length<2?null:(e.splice(0,1),e.join("/"))},getBareJidFromJid:function(t){return t?t.split("/")[0]:null},log:function(){},debug:function(t){this.log(this.LogLevel.DEBUG,t)},info:function(t){this.log(this.LogLevel.INFO,t)},warn:function(t){this.log(this.LogLevel.WARN,t)},error:function(t){this.log(this.LogLevel.ERROR,t)},fatal:function(t){this.log(this.LogLevel.FATAL,t)},serialize:function(t){var e;if(!t)return null;"function"==typeof t.tree&&(t=t.tree());var n,r,i=t.nodeName;for(t.getAttribute("_realname")&&(i=t.getAttribute("_realname")),e="<"+i,n=0;n<t.attributes.length;n++)"_realname"!=t.attributes[n].nodeName&&(e+=" "+t.attributes[n].nodeName.toLowerCase()+"='"+t.attributes[n].value.replace(/&/g,"&amp;").replace(/\'/g,"&apos;").replace(/</g,"&lt;")+"'");if(t.childNodes.length>0){for(e+=">",n=0;n<t.childNodes.length;n++)switch(r=t.childNodes[n],r.nodeType){case s.ElementType.NORMAL:e+=s.serialize(r);break;case s.ElementType.TEXT:e+=s.xmlescape(r.nodeValue);break;case s.ElementType.CDATA:e+="<![CDATA["+r.nodeValue+"]]>"}e+="</"+i+">"}else e+="/>";return e},_requestId:0,_connectionPlugins:{},addConnectionPlugin:function(t,e){s._connectionPlugins[t]=e}},s.Builder=function(t,e){("presence"==t||"message"==t||"iq"==t)&&(e&&!e.xmlns?e.xmlns=s.NS.CLIENT:e||(e={xmlns:s.NS.CLIENT})),this.nodeTree=s.xmlElement(t,e),this.node=this.nodeTree},s.Builder.prototype={tree:function(){return this.nodeTree},toString:function(){return s.serialize(this.nodeTree)},up:function(){return this.node=this.node.parentNode,this},attrs:function(t){for(var e in t)t.hasOwnProperty(e)&&this.node.setAttribute(e,t[e]);return this},c:function(t,e,n){var r=s.xmlElement(t,e,n);return this.node.appendChild(r),n||(this.node=r),this},cnode:function(t){var e=s.xmlGenerator();try{var n=void 0!==e.importNode}catch(r){var n=!1}var i=n?e.importNode(t,!0):s.copyElement(t);return this.node.appendChild(i),this.node=i,this},t:function(t){var e=s.xmlTextNode(t);return this.node.appendChild(e),this}},s.Handler=function(t,e,n,r,i,o,a){this.handler=t,this.ns=e,this.name=n,this.type=r,this.id=i,this.options=a||{matchbare:!1},this.options.matchBare||(this.options.matchBare=!1),this.from=this.options.matchBare?o?s.getBareJidFromJid(o):null:o,this.user=!0},s.Handler.prototype={isMatch:function(t){var e,n=null;if(n=this.options.matchBare?s.getBareJidFromJid(t.getAttribute("from")):t.getAttribute("from"),e=!1,this.ns){var r=this;s.forEachChild(t,null,function(t){t.getAttribute("xmlns")==r.ns&&(e=!0)}),e=e||t.getAttribute("xmlns")==this.ns}else e=!0;return!e||this.name&&!s.isTagEqual(t,this.name)||this.type&&t.getAttribute("type")!=this.type||this.id&&t.getAttribute("id")!=this.id||this.from&&n!=this.from?!1:!0},run:function(t){var e=null;try{e=this.handler(t)}catch(n){throw n.sourceURL?s.fatal("error: "+this.handler+" "+n.sourceURL+":"+n.line+" - "+n.name+": "+n.message):n.fileName?("undefined"!=typeof console&&(console.trace(),console.error(this.handler," - error - ",n,n.message)),s.fatal("error: "+this.handler+" "+n.fileName+":"+n.lineNumber+" - "+n.name+": "+n.message)):s.fatal("error: "+this.handler),n}return e},toString:function(){return"{Handler: "+this.handler+"("+this.name+","+this.id+","+this.ns+")}"}},s.TimedHandler=function(t,e){this.period=t,this.handler=e,this.lastCalled=(new Date).getTime(),this.user=!0},s.TimedHandler.prototype={run:function(){return this.lastCalled=(new Date).getTime(),this.handler()},reset:function(){this.lastCalled=(new Date).getTime()},toString:function(){return"{TimedHandler: "+this.handler+"("+this.period+")}"}},s.Request=function(t,e,n,r){this.id=++s._requestId,this.xmlData=t,this.data=s.serialize(t),this.origFunc=e,this.func=e,this.rid=n,this.date=0/0,this.sends=r||0,this.abort=!1,this.dead=null,this.age=function(){if(!this.date)return 0;var t=new Date;return(t-this.date)/1e3},this.timeDead=function(){if(!this.dead)return 0;var t=new Date;return(t-this.dead)/1e3},this.xhr=this._newXHR()},s.Request.prototype={getResponse:function(){var t=null;if(this.xhr.responseXML&&this.xhr.responseXML.documentElement){if(t=this.xhr.responseXML.documentElement,"parsererror"==t.tagName)throw s.error("invalid response received"),s.error("responseText: "+this.xhr.responseText),s.error("responseXML: "+s.serialize(this.xhr.responseXML)),"parsererror"}else this.xhr.responseText&&(s.error("invalid response received"),s.error("responseText: "+this.xhr.responseText),s.error("responseXML: "+s.serialize(this.xhr.responseXML)));return t},_newXHR:function(){var t=null;return window.XMLHttpRequest?(t=new XMLHttpRequest,t.overrideMimeType&&t.overrideMimeType("text/xml")):window.ActiveXObject&&(t=new ActiveXObject("Microsoft.XMLHTTP")),t.onreadystatechange=this.func.bind(null,this),t}},s.Connection=function(t){this.service=t,this.jid="",this.rid=Math.floor(4294967295*Math.random()),this.sid=null,this.streamId=null,this.features=null,this.do_session=!1,this.do_bind=!1,this.timedHandlers=[],this.handlers=[],this.removeTimeds=[],this.removeHandlers=[],this.addTimeds=[],this.addHandlers=[],this._idleTimeout=null,this._disconnectTimeout=null,this.authenticated=!1,this.disconnecting=!1,this.connected=!1,this.errors=0,this.paused=!1,this.hold=1,this.wait=60,this.window=5,this._data=[],this._requests=[],this._uniqueId=Math.round(1e4*Math.random()),this._sasl_success_handler=null,this._sasl_failure_handler=null,this._sasl_challenge_handler=null,this._idleTimeout=setTimeout(this._onIdle.bind(this),100);for(var e in s._connectionPlugins)if(s._connectionPlugins.hasOwnProperty(e)){var n=s._connectionPlugins[e],r=function(){};r.prototype=n,this[e]=new r,this[e].init(this)}},s.Connection.prototype={reset:function(){this.rid=Math.floor(4294967295*Math.random()),this.sid=null,this.streamId=null,this.do_session=!1,this.do_bind=!1,this.timedHandlers=[],this.handlers=[],this.removeTimeds=[],this.removeHandlers=[],this.addTimeds=[],this.addHandlers=[],this.authenticated=!1,this.disconnecting=!1,this.connected=!1,this.errors=0,this._requests=[],this._uniqueId=Math.round(1e4*Math.random())},pause:function(){this.paused=!0},resume:function(){this.paused=!1},getUniqueId:function(t){return"string"==typeof t||"number"==typeof t?++this._uniqueId+":"+t:++this._uniqueId+""},connect:function(t,e,n,r,i){this.jid=t,this.pass=e,this.connect_callback=n,this.disconnecting=!1,this.connected=!1,this.authenticated=!1,this.errors=0,this.wait=r||this.wait,this.hold=i||this.hold,this.domain=s.getDomainFromJid(this.jid);var o=this._buildBody().attrs({to:this.domain,"xml:lang":"en",wait:this.wait,hold:this.hold,content:"text/xml; charset=utf-8",ver:"1.6","xmpp:version":"1.0","xmlns:xmpp":s.NS.BOSH});this._changeConnectStatus(s.Status.CONNECTING,null),this._requests.push(new s.Request(o.tree(),this._onRequestStateChange.bind(this,this._connect_cb.bind(this)),o.tree().getAttribute("rid"))),this._throttledRequestHandler()},attach:function(t,e,n,r,i,o,a){this.jid=t,this.sid=e,this.rid=n,this.connect_callback=r,this.domain=s.getDomainFromJid(this.jid),this.authenticated=!0,this.connected=!0,this.wait=i||this.wait,this.hold=o||this.hold,this.window=a||this.window,this._changeConnectStatus(s.Status.ATTACHED,null)},xmlInput:function(){},xmlOutput:function(){},rawInput:function(){},rawOutput:function(){},send:function(t){if(null!==t){if("function"==typeof t.sort)for(var e=0;e<t.length;e++)this._queueData(t[e]);else"function"==typeof t.tree?this._queueData(t.tree()):this._queueData(t);this._throttledRequestHandler(),clearTimeout(this._idleTimeout),this._idleTimeout=setTimeout(this._onIdle.bind(this),100)}},flush:function(){clearTimeout(this._idleTimeout),this._onIdle()},sendIQ:function(t,e,n,r){var i=null,s=this;"function"==typeof t.tree&&(t=t.tree());var o=t.getAttribute("id");o||(o=this.getUniqueId("sendIQ"),t.setAttribute("id",o));var a=this.addHandler(function(t){i&&s.deleteTimedHandler(i);var r=t.getAttribute("type");if("result"==r)e&&e(t);else{if("error"!=r)throw{name:"StropheError",message:"Got bad IQ type of "+r};n&&n(t)}},null,"iq",null,o);return r&&(i=this.addTimedHandler(r,function(){return s.deleteHandler(a),n&&n(null),!1})),this.send(t),o},_queueData:function(t){if(null===t||!t.tagName||!t.childNodes)throw{name:"StropheError",message:"Cannot queue non-DOMElement."};this._data.push(t)},_sendRestart:function(){this._data.push("restart"),this._throttledRequestHandler(),clearTimeout(this._idleTimeout),this._idleTimeout=setTimeout(this._onIdle.bind(this),100)},addTimedHandler:function(t,e){var n=new s.TimedHandler(t,e);return this.addTimeds.push(n),n},deleteTimedHandler:function(t){this.removeTimeds.push(t)},addHandler:function(t,e,n,r,i,o,a){var c=new s.Handler(t,e,n,r,i,o,a);return this.addHandlers.push(c),c},deleteHandler:function(t){this.removeHandlers.push(t)},disconnect:function(t){this._changeConnectStatus(s.Status.DISCONNECTING,t),s.info("Disconnect was called because: "+t),this.connected&&(this._disconnectTimeout=this._addSysTimedHandler(3e3,this._onDisconnectTimeout.bind(this)),this._sendTerminate())},_changeConnectStatus:function(t,e){for(var n in s._connectionPlugins)if(s._connectionPlugins.hasOwnProperty(n)){var r=this[n];if(r.statusChanged)try{r.statusChanged(t,e)}catch(i){s.error(""+n+" plugin caused an exception changing status: "+i)}}if(this.connect_callback)try{this.connect_callback(t,e)}catch(o){s.error("User connection callback caused an exception: "+o)}},_buildBody:function(){var t=e("body",{rid:this.rid++,xmlns:s.NS.HTTPBIND});return null!==this.sid&&t.attrs({sid:this.sid}),t},_removeRequest:function(t){s.debug("removing request");var e;for(e=this._requests.length-1;e>=0;e--)t==this._requests[e]&&this._requests.splice(e,1);t.xhr.onreadystatechange=function(){},this._throttledRequestHandler()},_restartRequest:function(t){var e=this._requests[t];null===e.dead&&(e.dead=new Date),this._processRequest(t)},_processRequest:function(t){var e=this._requests[t],n=-1;try{4==e.xhr.readyState&&(n=e.xhr.status)}catch(r){s.error("caught an error in _requests["+t+"], reqStatus: "+n)}if("undefined"==typeof n&&(n=-1),e.sends>5)return this._onDisconnectTimeout(),void 0;var i=e.age(),o=!isNaN(i)&&i>Math.floor(s.TIMEOUT*this.wait),a=null!==e.dead&&e.timeDead()>Math.floor(s.SECONDARY_TIMEOUT*this.wait),c=4==e.xhr.readyState&&(1>n||n>=500);if((o||a||c)&&(a&&s.error("Request "+this._requests[t].id+" timed out (secondary), restarting"),e.abort=!0,e.xhr.abort(),e.xhr.onreadystatechange=function(){},this._requests[t]=new s.Request(e.xmlData,e.origFunc,e.rid,e.sends),e=this._requests[t]),0===e.xhr.readyState){s.debug("request id "+e.id+"."+e.sends+" posting");try{e.xhr.open("POST",this.service,!0)}catch(l){return s.error("XHR open failed."),this.connected||this._changeConnectStatus(s.Status.CONNFAIL,"bad-service"),this.disconnect(),void 0}var u=function(){e.date=new Date,e.xhr.send(e.data)};if(e.sends>1){var h=1e3*Math.min(Math.floor(s.TIMEOUT*this.wait),Math.pow(e.sends,3));setTimeout(u,h)}else u();e.sends++,this.xmlOutput!==s.Connection.prototype.xmlOutput&&this.xmlOutput(e.xmlData),this.rawOutput!==s.Connection.prototype.rawOutput&&this.rawOutput(e.data)}else s.debug("_processRequest: "+(0===t?"first":"second")+" request has readyState of "+e.xhr.readyState)
8
- },_throttledRequestHandler:function(){this._requests?s.debug("_throttledRequestHandler called with "+this._requests.length+" requests"):s.debug("_throttledRequestHandler called with undefined requests"),this._requests&&0!==this._requests.length&&(this._requests.length>0&&this._processRequest(0),this._requests.length>1&&Math.abs(this._requests[0].rid-this._requests[1].rid)<this.window&&this._processRequest(1))},_onRequestStateChange:function(t,e){if(s.debug("request id "+e.id+"."+e.sends+" state changed to "+e.xhr.readyState),e.abort)return e.abort=!1,void 0;var n;if(4==e.xhr.readyState){n=0;try{n=e.xhr.status}catch(r){}if("undefined"==typeof n&&(n=0),this.disconnecting&&n>=400)return this._hitError(n),void 0;var i=this._requests[0]==e,o=this._requests[1]==e;(n>0&&500>n||e.sends>5)&&(this._removeRequest(e),s.debug("request id "+e.id+" should now be removed")),200==n?((o||i&&this._requests.length>0&&this._requests[0].age()>Math.floor(s.SECONDARY_TIMEOUT*this.wait))&&this._restartRequest(0),s.debug("request id "+e.id+"."+e.sends+" got 200"),t(e),this.errors=0):(s.error("request id "+e.id+"."+e.sends+" error "+n+" happened"),(0===n||n>=400&&600>n||n>=12e3)&&(this._hitError(n),n>=400&&500>n&&(this._changeConnectStatus(s.Status.DISCONNECTING,null),this._doDisconnect()))),n>0&&500>n||e.sends>5||this._throttledRequestHandler()}},_hitError:function(t){this.errors++,s.warn("request errored, status: "+t+", number of errors: "+this.errors),this.errors>4&&this._onDisconnectTimeout()},_doDisconnect:function(){s.info("_doDisconnect was called"),this.authenticated=!1,this.disconnecting=!1,this.sid=null,this.streamId=null,this.rid=Math.floor(4294967295*Math.random()),this.connected&&(this._changeConnectStatus(s.Status.DISCONNECTED,null),this.connected=!1),this.handlers=[],this.timedHandlers=[],this.removeTimeds=[],this.removeHandlers=[],this.addTimeds=[],this.addHandlers=[]},_dataRecv:function(t){try{var e=t.getResponse()}catch(n){if("parsererror"!=n)throw n;this.disconnect("strophe-parsererror")}if(null!==e){this.xmlInput!==s.Connection.prototype.xmlInput&&this.xmlInput(e),this.rawInput!==s.Connection.prototype.rawInput&&this.rawInput(s.serialize(e));for(var r,i;this.removeHandlers.length>0;)i=this.removeHandlers.pop(),r=this.handlers.indexOf(i),r>=0&&this.handlers.splice(r,1);for(;this.addHandlers.length>0;)this.handlers.push(this.addHandlers.pop());if(this.disconnecting&&0===this._requests.length)return this.deleteTimedHandler(this._disconnectTimeout),this._disconnectTimeout=null,this._doDisconnect(),void 0;var o,a,c=e.getAttribute("type");if(null!==c&&"terminate"==c){if(this.disconnecting)return;return o=e.getAttribute("condition"),a=e.getElementsByTagName("conflict"),null!==o?("remote-stream-error"==o&&a.length>0&&(o="conflict"),this._changeConnectStatus(s.Status.CONNFAIL,o)):this._changeConnectStatus(s.Status.CONNFAIL,"unknown"),this.disconnect(),void 0}var l=this;s.forEachChild(e,null,function(t){var e,n;for(n=l.handlers,l.handlers=[],e=0;e<n.length;e++){var r=n[e];try{!r.isMatch(t)||!l.authenticated&&r.user?l.handlers.push(r):r.run(t)&&l.handlers.push(r)}catch(i){}}})}},_sendTerminate:function(){s.info("_sendTerminate was called");var t=this._buildBody().attrs({type:"terminate"});this.authenticated&&t.c("presence",{xmlns:s.NS.CLIENT,type:"unavailable"}),this.disconnecting=!0;var e=new s.Request(t.tree(),this._onRequestStateChange.bind(this,this._dataRecv.bind(this)),t.tree().getAttribute("rid"));this._requests.push(e),this._throttledRequestHandler()},_connect_cb:function(t){s.info("_connect_cb was called"),this.connected=!0;var n=t.getResponse();if(n){this.xmlInput!==s.Connection.prototype.xmlInput&&this.xmlInput(n),this.rawInput!==s.Connection.prototype.rawInput&&this.rawInput(s.serialize(n));var i,o,a=n.getAttribute("type");if(null!==a&&"terminate"==a)return i=n.getAttribute("condition"),o=n.getElementsByTagName("conflict"),null!==i?("remote-stream-error"==i&&o.length>0&&(i="conflict"),this._changeConnectStatus(s.Status.CONNFAIL,i)):this._changeConnectStatus(s.Status.CONNFAIL,"unknown"),void 0;this.sid||(this.sid=n.getAttribute("sid")),this.stream_id||(this.stream_id=n.getAttribute("authid"));var c=n.getAttribute("requests");c&&(this.window=parseInt(c,10));var l=n.getAttribute("hold");l&&(this.hold=parseInt(l,10));var u=n.getAttribute("wait");u&&(this.wait=parseInt(u,10));var h,d,f,p,g=!1,m=!1,v=!1,y=n.getElementsByTagName("mechanism");if(!(y.length>0)){var b=this._buildBody();return this._requests.push(new s.Request(b.tree(),this._onRequestStateChange.bind(this,this._connect_cb.bind(this)),b.tree().getAttribute("rid"))),this._throttledRequestHandler(),void 0}for(h=0;h<y.length;h++)d=s.getText(y[h]),"DIGEST-MD5"==d?m=!0:"PLAIN"==d?g=!0:"ANONYMOUS"==d&&(v=!0);null===s.getNodeFromJid(this.jid)&&v?(this._changeConnectStatus(s.Status.AUTHENTICATING,null),this._sasl_success_handler=this._addSysHandler(this._sasl_success_cb.bind(this),null,"success",null,null),this._sasl_failure_handler=this._addSysHandler(this._sasl_failure_cb.bind(this),null,"failure",null,null),this.send(e("auth",{xmlns:s.NS.SASL,mechanism:"ANONYMOUS"}).tree())):null===s.getNodeFromJid(this.jid)?(this._changeConnectStatus(s.Status.CONNFAIL,"x-strophe-bad-non-anon-jid"),this.disconnect()):m?(this._changeConnectStatus(s.Status.AUTHENTICATING,null),this._sasl_challenge_handler=this._addSysHandler(this._sasl_challenge1_cb.bind(this),null,"challenge",null,null),this._sasl_failure_handler=this._addSysHandler(this._sasl_failure_cb.bind(this),null,"failure",null,null),this.send(e("auth",{xmlns:s.NS.SASL,mechanism:"DIGEST-MD5"}).tree())):g?(f=s.getBareJidFromJid(this.jid),f+="\0",f+=s.getNodeFromJid(this.jid),f+="\0",f+=this.pass,this._changeConnectStatus(s.Status.AUTHENTICATING,null),this._sasl_success_handler=this._addSysHandler(this._sasl_success_cb.bind(this),null,"success",null,null),this._sasl_failure_handler=this._addSysHandler(this._sasl_failure_cb.bind(this),null,"failure",null,null),p=Base64.encode(f),this.send(e("auth",{xmlns:s.NS.SASL,mechanism:"PLAIN"}).t(p).tree())):(this._changeConnectStatus(s.Status.AUTHENTICATING,null),this._addSysHandler(this._auth1_cb.bind(this),null,null,null,"_auth_1"),this.send(r({type:"get",to:this.domain,id:"_auth_1"}).c("query",{xmlns:s.NS.AUTH}).c("username",{}).t(s.getNodeFromJid(this.jid)).tree()))}},_sasl_challenge1_cb:function(t){var n,r=/([a-z]+)=("[^"]+"|[^,"]+)(?:,|$)/,i=Base64.decode(s.getText(t)),o=MD5.hexdigest(""+1234567890*Math.random()),a="",c=null,l="",u="";for(this.deleteHandler(this._sasl_failure_handler);i.match(r);)switch(n=i.match(r),i=i.replace(n[0],""),n[2]=n[2].replace(/^"(.+)"$/,"$1"),n[1]){case"realm":a=n[2];break;case"nonce":l=n[2];break;case"qop":u=n[2];break;case"host":c=n[2]}var h="xmpp/"+this.domain;null!==c&&(h=h+"/"+c);var d=MD5.hash(s.getNodeFromJid(this.jid)+":"+a+":"+this.pass)+":"+l+":"+o,f="AUTHENTICATE:"+h,p="";return p+="username="+this._quote(s.getNodeFromJid(this.jid))+",",p+="realm="+this._quote(a)+",",p+="nonce="+this._quote(l)+",",p+="cnonce="+this._quote(o)+",",p+='nc="00000001",',p+='qop="auth",',p+="digest-uri="+this._quote(h)+",",p+="response="+this._quote(MD5.hexdigest(MD5.hexdigest(d)+":"+l+":00000001:"+o+":auth:"+MD5.hexdigest(f)))+",",p+='charset="utf-8"',this._sasl_challenge_handler=this._addSysHandler(this._sasl_challenge2_cb.bind(this),null,"challenge",null,null),this._sasl_success_handler=this._addSysHandler(this._sasl_success_cb.bind(this),null,"success",null,null),this._sasl_failure_handler=this._addSysHandler(this._sasl_failure_cb.bind(this),null,"failure",null,null),this.send(e("response",{xmlns:s.NS.SASL}).t(Base64.encode(p)).tree()),!1},_quote:function(t){return'"'+t.replace(/\\/g,"\\\\").replace(/"/g,'\\"')+'"'},_sasl_challenge2_cb:function(){return this.deleteHandler(this._sasl_success_handler),this.deleteHandler(this._sasl_failure_handler),this._sasl_success_handler=this._addSysHandler(this._sasl_success_cb.bind(this),null,"success",null,null),this._sasl_failure_handler=this._addSysHandler(this._sasl_failure_cb.bind(this),null,"failure",null,null),this.send(e("response",{xmlns:s.NS.SASL}).tree()),!1},_auth1_cb:function(){var t=r({type:"set",id:"_auth_2"}).c("query",{xmlns:s.NS.AUTH}).c("username",{}).t(s.getNodeFromJid(this.jid)).up().c("password").t(this.pass);return s.getResourceFromJid(this.jid)||(this.jid=s.getBareJidFromJid(this.jid)+"/strophe"),t.up().c("resource",{}).t(s.getResourceFromJid(this.jid)),this._addSysHandler(this._auth2_cb.bind(this),null,null,null,"_auth_2"),this.send(t.tree()),!1},_sasl_success_cb:function(){return s.info("SASL authentication succeeded."),this.deleteHandler(this._sasl_failure_handler),this._sasl_failure_handler=null,this._sasl_challenge_handler&&(this.deleteHandler(this._sasl_challenge_handler),this._sasl_challenge_handler=null),this._addSysHandler(this._sasl_auth1_cb.bind(this),null,"stream:features",null,null),this._sendRestart(),!1},_sasl_auth1_cb:function(t){this.features=t;var e,n;for(e=0;e<t.childNodes.length;e++)n=t.childNodes[e],"bind"==n.nodeName&&(this.do_bind=!0),"session"==n.nodeName&&(this.do_session=!0);if(!this.do_bind)return this._changeConnectStatus(s.Status.AUTHFAIL,null),!1;this._addSysHandler(this._sasl_bind_cb.bind(this),null,null,null,"_bind_auth_2");var i=s.getResourceFromJid(this.jid);return i?this.send(r({type:"set",id:"_bind_auth_2"}).c("bind",{xmlns:s.NS.BIND}).c("resource",{}).t(i).tree()):this.send(r({type:"set",id:"_bind_auth_2"}).c("bind",{xmlns:s.NS.BIND}).tree()),!1},_sasl_bind_cb:function(t){if("error"==t.getAttribute("type"))return s.info("SASL binding failed."),this._changeConnectStatus(s.Status.AUTHFAIL,null),!1;var e,n=t.getElementsByTagName("bind");return n.length>0?(e=n[0].getElementsByTagName("jid"),e.length>0&&(this.jid=s.getText(e[0]),this.do_session?(this._addSysHandler(this._sasl_session_cb.bind(this),null,null,null,"_session_auth_2"),this.send(r({type:"set",id:"_session_auth_2"}).c("session",{xmlns:s.NS.SESSION}).tree())):(this.authenticated=!0,this._changeConnectStatus(s.Status.CONNECTED,null))),void 0):(s.info("SASL binding failed."),this._changeConnectStatus(s.Status.AUTHFAIL,null),!1)},_sasl_session_cb:function(t){if("result"==t.getAttribute("type"))this.authenticated=!0,this._changeConnectStatus(s.Status.CONNECTED,null);else if("error"==t.getAttribute("type"))return s.info("Session creation failed."),this._changeConnectStatus(s.Status.AUTHFAIL,null),!1;return!1},_sasl_failure_cb:function(){return this._sasl_success_handler&&(this.deleteHandler(this._sasl_success_handler),this._sasl_success_handler=null),this._sasl_challenge_handler&&(this.deleteHandler(this._sasl_challenge_handler),this._sasl_challenge_handler=null),this._changeConnectStatus(s.Status.AUTHFAIL,null),!1},_auth2_cb:function(t){return"result"==t.getAttribute("type")?(this.authenticated=!0,this._changeConnectStatus(s.Status.CONNECTED,null)):"error"==t.getAttribute("type")&&(this._changeConnectStatus(s.Status.AUTHFAIL,null),this.disconnect()),!1},_addSysTimedHandler:function(t,e){var n=new s.TimedHandler(t,e);return n.user=!1,this.addTimeds.push(n),n},_addSysHandler:function(t,e,n,r,i){var o=new s.Handler(t,e,n,r,i);return o.user=!1,this.addHandlers.push(o),o},_onDisconnectTimeout:function(){s.info("_onDisconnectTimeout was called");for(var t;this._requests.length>0;)t=this._requests.pop(),t.abort=!0,t.xhr.abort(),t.xhr.onreadystatechange=function(){};return this._doDisconnect(),!1},_onIdle:function(){for(var t,e,n,r;this.addTimeds.length>0;)this.timedHandlers.push(this.addTimeds.pop());for(;this.removeTimeds.length>0;)e=this.removeTimeds.pop(),t=this.timedHandlers.indexOf(e),t>=0&&this.timedHandlers.splice(t,1);var i=(new Date).getTime();for(r=[],t=0;t<this.timedHandlers.length;t++)e=this.timedHandlers[t],(this.authenticated||!e.user)&&(n=e.lastCalled+e.period,0>=n-i?e.run()&&r.push(e):r.push(e));this.timedHandlers=r;var o,a;if(this.authenticated&&0===this._requests.length&&0===this._data.length&&!this.disconnecting&&(s.info("no requests during idle cycle, sending blank request"),this._data.push(null)),this._requests.length<2&&this._data.length>0&&!this.paused){for(o=this._buildBody(),t=0;t<this._data.length;t++)null!==this._data[t]&&("restart"===this._data[t]?o.attrs({to:this.domain,"xml:lang":"en","xmpp:restart":"true","xmlns:xmpp":s.NS.BOSH}):o.cnode(this._data[t]).up());delete this._data,this._data=[],this._requests.push(new s.Request(o.tree(),this._onRequestStateChange.bind(this,this._dataRecv.bind(this)),o.tree().getAttribute("rid"))),this._processRequest(this._requests.length-1)}this._requests.length>0&&(a=this._requests[0].age(),null!==this._requests[0].dead&&this._requests[0].timeDead()>Math.floor(s.SECONDARY_TIMEOUT*this.wait)&&this._throttledRequestHandler(),a>Math.floor(s.TIMEOUT*this.wait)&&(s.warn("Request "+this._requests[0].id+" timed out, over "+Math.floor(s.TIMEOUT*this.wait)+" seconds since last activity"),this._throttledRequestHandler())),clearTimeout(this._idleTimeout),this.connected&&(this._idleTimeout=setTimeout(this._onIdle.bind(this),100))}},t&&t(s,e,n,r,i)}(function(){window.Strophe=arguments[0],window.$build=arguments[1],window.$msg=arguments[2],window.$iq=arguments[3],window.$pres=arguments[4]}),function(){this.Button=function(){function t(t,e,n){this.node=$(t),this.path=e,this.options=n||{},null==this.options.animate&&(this.options.animate=!0),this.draw()}return t.prototype.draw=function(){var t,e,n;return e=Raphael(this.node.get(0)),n="s"+(this.options.scale||.85),this.options.translation&&(n+=",t"+this.options.translation),t=e.path(this.path).attr({fill:this.options.fill||"#000",stroke:this.options.stroke||"#fff","stroke-width":this.options["stroke-width"]||.3,opacity:this.options.opacity||.6,transform:n}),this.options.animate?this.node.hover(function(){return t.animate({opacity:1},200)},function(){return t.animate({opacity:.6},200)}):void 0},t}()}.call(this),function(){this.Contact=function(){function t(t){t=$(t),this.jid=t.attr("jid"),this.name=t.attr("name"),this.ask=t.attr("ask"),this.subscription=t.attr("subscription"),this.groups=$("group",t).map(function(){return $(this).text()}).get(),this.presence=[]}return t.prototype.online=function(){return this.presence.length>0},t.prototype.offline=function(){return 0===this.presence.length},t.prototype.available=function(){var t;return this.online()&&function(){var e,n,r,i;for(r=this.presence,i=[],e=0,n=r.length;n>e;e++)t=r[e],t.away||i.push(t);return i}.call(this).length>0},t.prototype.away=function(){return!this.available()},t.prototype.status=function(){var t,e,n;return t=function(){var t,e,r,i;for(r=this.presence,i=[],t=0,e=r.length;e>t;t++)n=r[t],n.status&&!n.away&&i.push(n.status);return i}.call(this)[0]||"Available",e=function(){var t,e,r,i;for(r=this.presence,i=[],t=0,e=r.length;e>t;t++)n=r[t],n.status&&n.away&&i.push(n.status);return i}.call(this)[0]||"Away",this.offline()?"Offline":this.away()?e:t},t.prototype.update=function(t){var e;return this.presence=function(){var n,r,i,s;for(i=this.presence,s=[],n=0,r=i.length;r>n;n++)e=i[n],e.from!==t.from&&s.push(e);return s}.call(this),t.type||this.presence.push(t),"unsubscribed"===t.type?this.presence=[]:void 0},t}()}.call(this),function(){this.Filter=function(){function t(t){this.list=t.list,this.icon=t.icon,this.form=t.form,this.attrs=t.attrs,this.open=t.open,this.close=t.close,this.draw()}return t.prototype.draw=function(){var t,e,n=this;return $(this.icon).addClass("filter-button"),t=$('<form class="filter-form" style="display:none;"></form>').appendTo(this.form),e=$('<input class="filter-text" type="search" placeholder="Filter" results="5"/>').appendTo(t),this.icon&&new Button(this.icon,ICONS.search,{scale:.5,translation:"-16,-16"}),t.submit(function(){return!1}),e.keyup(function(){return n.filter(e)}),e.change(function(){return n.filter(e)}),e.click(function(){return n.filter(e)}),$(this.icon).click(function(){if(t.is(":hidden")){if(n.filter(e),t.show(),n.open)return n.open()}else if(t.hide(),t[0].reset(),n.filter(e),n.close)return n.close()})},t.prototype.filter=function(t){var e,n,r=this;return n=t.val().toLowerCase(),""===n?($("li",this.list).show(),void 0):(e=function(t,e){var r;return r=(t.attr(e)||"").toLowerCase(),-1!==r.indexOf(n)},$("> li",this.list).each(function(t,n){var i,s;return n=$(n),s=function(){var t,r,s,o;for(s=this.attrs,o=[],t=0,r=s.length;r>t;t++)i=s[t],e(n,i)&&o.push(!0);return o}.call(r),s.length>0?n.show():n.hide()}))},t}()}.call(this),function(){this.Layout=function(){function t(t){var e=this;this.fn=t,this.resize(),this.listen(),setTimeout(function(){return e.resize()},250)}return t.prototype.resize=function(){return this.fill(".x-fill","outerWidth","width"),this.fill(".y-fill","outerHeight","height"),this.fn()},t.prototype.fill=function(t,e,n){var r=this;return $(t).filter(":visible").each(function(i,s){var o,a,c;return s=$(s),a=s[e],c=a.call(s.parent(),!0),o=r.fixed(s,t,function(t){return a.call(t,!0)}),s[n].call(s,c-o)})},t.prototype.fixed=function(t,e,n){return t.siblings().not(e).not(".float").filter(":visible").map(function(){return n($(this))}).get().reduce(function(t,e){return t+e},0)},t.prototype.listen=function(){var t,e=this;return t=null,$(window).resize(function(){return clearTimeout(t),t=setTimeout(function(){return e.resize()},10),e.resize()})},t}()}.call(this),function(){this.LoginPage=function(){function t(t,e){this.session=t,this.startPage=e}return t.prototype.start=function(){var t,e,n,r,i=this;return $("#error").hide(),r=function(){var e,n,r,i;for(r=["#jid","#password"],i=[],e=0,n=r.length;n>e;e++)t=r[e],i.push($(t).val().trim());return i}(),e=r[0],n=r[1],0===e.length||0===n.length||-1===e.indexOf("@")?($("#error").show(),void 0):this.session.connect(e,n,function(t){return t?(localStorage.jid=e,$("#current-user-name").text(i.session.bareJid()),$("#current-user-avatar").attr("src",i.session.avatar(i.session.jid())),$("#current-user-avatar").attr("alt",i.session.bareJid()),$("#container").fadeOut(200,function(){return $("#navbar").show(),window.location.hash=i.startPage})):(i.session.disconnect(),$("#error").show(),$("#password").val("").focus(),void 0)})},t.prototype.draw=function(){var t,e=this;return this.session.disconnect(),t=localStorage.jid||"",$("#navbar").hide(),$("body").attr("id","login-page"),$("#container").hide().empty(),$('<form id="login-form">\n <div id="icon"></div>\n <h1>vines</h1>\n <fieldset id="login-form-controls">\n <input id="jid" name="jid" type="email" maxlength="1024" value="'+t+'" placeholder="Your user name"/>\n <input id="password" name="password" type="password" maxlength="1024" placeholder="Your password"/>\n <input id="start" type="submit" value="Sign in"/>\n </fieldset>\n <p id="error" style="display:none;">User name and password not found.</p>\n</form>').appendTo("#container"),$("#container").fadeIn(1e3),$("#login-form").submit(function(){return e.start(),!1}),$("#jid").keydown(function(){return $("#error").fadeOut()}),$("#password").keydown(function(){return $("#error").fadeOut()}),this.resize(),this.icon()},t.prototype.icon=function(){var t;return t={fill:"90-#ccc-#fff",stroke:"#fff","stroke-width":1.1,opacity:.95,scale:3,translation:"10,8",animate:!1},new Button("#icon",ICONS.chat,t)},t.prototype.resize=function(){var t,e,n;return n=$(window),t=$("#login-form"),e=function(){return t.css("top",n.height()/2-t.height()/2)},n.resize(e),e()},t}()}.call(this),function(){this.LogoutPage=function(){function t(t){this.session=t}return t.prototype.draw=function(){return window.location.hash="",window.location.reload()},t}()}.call(this),function(){this.NavBar=function(){function t(t){var e=this;this.session=t,this.session.onCard(function(t){return t.jid===e.session.bareJid()?$("#current-user-avatar").attr("src",e.session.avatar(t.jid)):void 0})}return t.prototype.draw=function(){var t=this;return $('<header id="navbar" class="x-fill">\n <h1 id="logo">vines&gt;</h1>\n <div id="current-user">\n <img id="current-user-avatar" alt="'+this.session.bareJid()+'" src="'+this.session.avatar(this.session.jid())+'"/>\n <div id="current-user-info">\n <h1 id="current-user-name">'+this.session.bareJid()+'</h1>\n <form id="current-user-presence-form">\n <span class="select">\n <span class="text">Available</span>\n <select id="current-user-presence">\n <optgroup label="Available">\n <option>Available</option>\n <option>Surfing the web</option>\n <option>Reading email</option>\n </optgroup>\n <optgroup label="Away">\n <option value="xa">Away</option>\n <option value="xa">Out to lunch</option>\n <option value="xa">On the phone</option>\n <option value="xa">In a meeting</option>\n </optgroup>\n </select>\n </span>\n </form>\n </div>\n </div>\n <nav id="app-nav" class="x-fill">\n <ul id="nav-links"></ul>\n </nav>\n</header>').appendTo("body"),$('<div id="container" class="x-fill y-fill"></div>').appendTo("body"),$("#current-user-presence").change(function(e){var n;return n=$("option:selected",e.currentTarget),$("#current-user-presence-form .text").text(n.text()),t.session.sendPresence("xa"===n.val(),n.text())})},t.prototype.addButton=function(t,e){var n,r,i=this;return n="nav-link-"+t.toLowerCase(),r=$('<li>\n <a id="'+n+'" href="#/'+t.toLowerCase()+'">\n <span>'+t+"</span>\n </a>\n</li>").appendTo("#nav-links"),this.button(n,e),r.click(function(t){return i.select(t.currentTarget)})},t.prototype.select=function(t){var e,n;return t=$(t),$("#nav-links li").removeClass("selected"),$("#nav-links li a").removeClass("selected"),t.addClass("selected"),$("a",t).addClass("selected"),e=$("#nav-links svg path"),e.attr("opacity","0.6"),e.css("opacity","0.6"),n=$("svg path",t),n.attr("opacity","1.0"),n.css("opacity","1.0")},t.prototype.button=function(t,e){var n,r,i;return i=Raphael(t),n=i.path(e).attr({fill:"#fff",stroke:"#000","stroke-width":.3,opacity:.6}),r=$("#"+t),r.hover(function(){return n.animate({opacity:1},200)},function(){return r.hasClass("selected")?void 0:n.animate({opacity:.6},200)}),r.get(0)},t}()}.call(this),function(){this.Notification=function(){function t(t){this.text=t,this.draw()}return t.prototype.draw=function(){var t,e,n,r;return n=$('<div class="notification float" style="display:none;"></div>').appendTo("body"),n.text(this.text),r=n.outerHeight()/2,e=n.outerWidth()/2,n.css({marginTop:"-"+r+"px",marginLeft:"-"+e+"px"}),n.fadeIn(200),t=function(){return n.fadeOut(200,function(){return n.remove()})},setTimeout(t,1500)},t}()}.call(this),function(){this.Router=function(){function t(t){var e=this;this.pages=t,this.routes=this.build(),$(window).bind("hashchange",function(){return e.draw()})}return t.prototype.build=function(){var t,e,n,r,i,s,o,a;o=[],a=this.pages;for(i in a)r=a[i],o.push(s={args:[],page:r,re:null}),"default"!==i?(e=function(){var e,n,r,s;for(r=i.split("/"),s=[],e=0,n=r.length;n>e;e++)t=r[e],t.length>0&&s.push(t);return s}(),n=function(t){return":"===t[0]?(s.args.push(t.replace(":","")),"(/[^/]+)?"):"/"+t},s.re=new RegExp("#"+function(){var r,i,s;for(s=[],r=0,i=e.length;i>r;r++)t=e[r],s.push(n(t));return s}().join(""))):s.re=i;return o},t.prototype.draw=function(){var t,e,n,r,i,s,o,a,c,l;if(a=this.match(),i=a[0],t=a[1],i||(i=this.defaultRoute()),i){for(c=[{},0],r=c[0],e=c[1],l=i.args,s=0,o=l.length;o>s;s++)n=l[s],r[n]=t[e++];return i.page.draw(r)}},t.prototype.match=function(){var t,e,n,r,i,s,o;for(o=this.routes,i=0,s=o.length;s>i;i++)if(r=o[i],n=window.location.hash.match(r.re))return e=function(){var e,r,i,s;for(i=n.slice(1),s=[],e=0,r=i.length;r>e;e++)t=i[e],s.push(t.replace("/",""));return s}(),[r,e];return[]},t.prototype.defaultRoute=function(){var t,e,n,r;for(r=this.routes,e=0,n=r.length;n>e;e++)if(t=r[e],"default"===t.re)return t},t}()}.call(this),function(){this.Session=function(){function t(){this.xmpp=new Strophe.Connection("/xmpp"),this.roster={},this.listeners={card:[],message:[],presence:[],roster:[]}}return t.prototype.connect=function(t,e,n){var r=this;return this.xmpp.connect(t,e,function(t){switch(t){case Strophe.Status.AUTHFAIL:case Strophe.Status.CONNFAIL:return n(!1);case Strophe.Status.CONNECTED:return r.xmpp.addHandler(function(t){return r.handleIq(t)},null,"iq"),r.xmpp.addHandler(function(t){return r.handleMessage(t)},null,"message"),r.xmpp.addHandler(function(t){return r.handlePresence(t)},null,"presence"),n(!0),r.findRoster(function(){return r.notify("roster"),r.xmpp.send(r.xml("<presence/>")),r.findCards()})}})},t.prototype.disconnect=function(){return this.xmpp.disconnect()},t.prototype.onCard=function(t){return this.listeners.card.push(t)},t.prototype.onRoster=function(t){return this.listeners.roster.push(t)},t.prototype.onMessage=function(t){return this.listeners.message.push(t)},t.prototype.onPresence=function(t){return this.listeners.presence.push(t)},t.prototype.connected=function(){return this.xmpp.jid&&this.xmpp.jid.length>0},t.prototype.jid=function(){return this.xmpp.jid},t.prototype.bareJid=function(){return this.xmpp.jid.split("/")[0]},t.prototype.uniqueId=function(){return this.xmpp.getUniqueId()},t.prototype.avatar=function(t){var e;return e=this.loadCard(t),e&&e.photo?"data:"+e.photo.type+";base64,"+e.photo.binval:"/lib/images/default-user.png"},t.prototype.loadCard=function(t){var e;return t=t.split("/")[0],e=localStorage["vcard:"+t],e?JSON.parse(e):void 0},t.prototype.storeCard=function(t){return localStorage["vcard:"+t.jid]=JSON.stringify(t)},t.prototype.findCards=function(){var t,e,n,r,i=this;return n=function(){var n,r;n=this.roster,r=[];for(e in n)t=n[e],this.loadCard(e)||r.push(e);return r}.call(this),this.loadCard(this.bareJid())||n.push(this.bareJid()),r=function(t){return i.findCard(n.shift(),r),t?(i.storeCard(t),i.notify("card",t)):void 0},this.findCard(n.shift(),r)},t.prototype.findCard=function(t,e){var n;if(t)return n=this.xml('<iq id="'+this.uniqueId()+'" to="'+t+'" type="get">\n <vCard xmlns="vcard-temp"/>\n</iq>'),this.sendIQ(n,function(n){var r,i,s,o,a;return i=$("vCard",n),s=$("PHOTO",i),o=$("TYPE",s).text(),r=$("BINVAL",s).text(),s=o&&r?{type:o,binval:r.replace(/\n/g,"")}:null,a={jid:t,photo:s,retrieved:new Date},e(i.size()>0?a:null)})},t.prototype.parseRoster=function(t){return $("item",t).map(function(){return new Contact(this)}).get()},t.prototype.findRoster=function(t){var e,n=this;return e=this.xml("<iq id='"+this.uniqueId()+'\' type="get">\n <query xmlns="jabber:iq:roster"/>\n</iq>'),this.sendIQ(e,function(e){var r,i,s,o;for(i=n.parseRoster(e),s=0,o=i.length;o>s;s++)r=i[s],n.roster[r.jid]=r;return t()})},t.prototype.sendMessage=function(t,e){var n;return n=this.xml('<message id="'+this.uniqueId()+'" to="'+t+'" type="chat">\n <body></body>\n</message>'),$("body",n).text(e),this.xmpp.send(n)},t.prototype.sendPresence=function(t,e){var n;return n=$(this.xml("<presence/>")),t?(n.append($(this.xml("<show>xa</show>"))),"Away"!==e&&n.append($(this.xml("<status/>")).text(e))):"Available"!==e&&n.append($(this.xml("<status/>")).text(e)),this.xmpp.send(n)},t.prototype.sendIQ=function(t,e){return this.xmpp.sendIQ(t,e,e,5e3)},t.prototype.updateContact=function(t,e){var n,r,i,s,o;for(r=this.xml('<iq id="'+this.uniqueId()+'" type="set">\n <query xmlns="jabber:iq:roster">\n <item name="" jid="'+t.jid+'"/>\n </query>\n</iq>'),$("item",r).attr("name",t.name),o=t.groups,i=0,s=o.length;s>i;i++)n=o[i],$("item",r).append($(this.xml("<group></group>")).text(n));return this.xmpp.send(r),e?this.sendSubscribe(t.jid):void 0},t.prototype.removeContact=function(t){var e;return e=this.xml('<iq id="'+this.uniqueId()+'" type="set">\n <query xmlns="jabber:iq:roster">\n <item jid="'+t+'" subscription="remove"/>\n </query>\n</iq>'),this.xmpp.send(e)},t.prototype.sendSubscribe=function(t){return this.xmpp.send(this.presence(t,"subscribe"))},t.prototype.sendSubscribed=function(t){return this.xmpp.send(this.presence(t,"subscribed"))},t.prototype.sendUnsubscribed=function(t){return this.xmpp.send(this.presence(t,"unsubscribed"))},t.prototype.presence=function(t,e){return this.xml('<presence\n id="'+this.uniqueId()+'"\n to="'+t+'"\n type="'+e+'"/>')},t.prototype.handleIq=function(t){var e,n,r,i,s,o,a;if(t=$(t),s=t.attr("type"),r=t.find("query").attr("xmlns"),"set"===s&&"jabber:iq:roster"===r){for(n=this.parseRoster(t),o=0,a=n.length;a>o;o++)e=n[o],"remove"===e.subscription?delete this.roster[e.jid]:(i=this.roster[e.jid],i&&(e.presence=i.presence),this.roster[e.jid]=e);this.notify("roster")}return!0},t.prototype.handleMessage=function(t){var e,n,r,i,s;return t=$(t),i=t.attr("to"),n=t.attr("from"),s=t.attr("type"),r=t.find("thread").first(),e=t.find("body").first(),this.notify("message",{to:i,from:n,type:s,thread:r.text(),text:e.text(),received:new Date,node:t}),!0},t.prototype.handlePresence=function(t){var e,n,r,i,s,o,a;return t=$(t),o=t.attr("to"),n=t.attr("from"),a=t.attr("type"),i=t.find("show").first(),s=t.find("status").first(),r={to:o,from:n,status:s.text(),show:i.text(),type:a,offline:"unavailable"===a||"error"===a,away:"away"===i.text()||"xa"===i.text(),dnd:"dnd"===i.text(),node:t},e=this.roster[n.split("/")[0]],e&&e.update(r),this.notify("presence",r),!0},t.prototype.notify=function(t,e){var n,r,i,s,o;for(s=this.listeners[t]||[],o=[],r=0,i=s.length;i>r;r++)n=s[r],o.push(n(e));return o},t.prototype.xml=function(t){return $.parseXML(t).documentElement},t}()}.call(this),function(){this.Transfer=function(){function t(t){this.session=t.session,this.file=t.file,this.to=t.to,this.progress=t.progress,this.complete=t.complete,this.chunks=new e(this.file),this.opened=!1,this.closed=!1,this.sid=this.session.uniqueId(),this.seq=0,this.sent=0}var e;return t.prototype.start=function(){var t,e=this;return t=$('<iq id="'+this.session.uniqueId()+'" to="'+this.to+'" type="set">\n <si xmlns="http://jabber.org/protocol/si" id="'+this.session.uniqueId()+'" profile="http://jabber.org/protocol/si/profile/file-transfer">\n <file xmlns="http://jabber.org/protocol/si/profile/file-transfer" name="" size="'+this.file.size+'"/>\n <feature xmlns="http://jabber.org/protocol/feature-neg">\n <x xmlns="jabber:x:data" type="form">\n <field var="stream-method" type="list-single">\n <option><value>http://jabber.org/protocol/ibb</value></option>\n </field>\n </x>\n </feature>\n </si>\n</iq>'),$("file",t).attr("name",this.file.name),this.session.sendIQ(t.get(0),function(t){var n,r,i;return r=$('si feature x field[var="stream-method"] value',t),i=function(){var t,e,i;for(i=[],t=0,e=r.length;e>t;t++)n=r[t],"http://jabber.org/protocol/ibb"===$(n).text()&&i.push(!0);return i}().length>0,i?e.open():void 0})},t.prototype.open=function(){var t,e=this;return t=$('<iq id="'+this.session.uniqueId()+'" to="'+this.to+'" type="set">\n <open xmlns="http://jabber.org/protocol/ibb" sid="'+this.sid+'" block-size="4096"/>\n</iq>'),this.session.sendIQ(t.get(0),function(t){return e.ok(t)?(e.opened=!0,e.sendChunk()):void 0})},t.prototype.sendChunk=function(){var t=this;if(!this.closed)return this.chunks.chunk(function(e){var n;return e?(n=$('<iq id="'+t.session.uniqueId()+'" to="'+t.to+'" type="set">\n <data xmlns="http://jabber.org/protocol/ibb" sid="'+t.sid+'" seq="'+t.seq++ +'">'+e+"</data>\n</iq>"),t.seq>65535&&(t.seq=0),t.session.sendIQ(n.get(0),function(e){var n;if(t.ok(e))return n=Math.ceil(100*(++t.sent/t.chunks.total)),t.progress(n),t.sendChunk()})):(t.close(),void 0)})},t.prototype.close=function(){var t;if(!this.closed)return this.closed=!0,t=$('<iq id="'+this.session.uniqueId()+'" to="'+this.to+'" type="set">\n <close xmlns="http://jabber.org/protocol/ibb" sid="'+this.sid+'"/>\n</iq>'),this.session.sendIQ(t.get(0),function(){}),this.complete()},t.prototype.stop=function(){return this.opened?this.close():this.complete()},t.prototype.ok=function(t){return"result"===$(t).attr("type")},e=function(){function t(t){this.file=t,this.total=Math.ceil(this.file.size/e),this.slice=this.file.slice||this.file.webkitSlice||this.file.mozSlice,this.pos=0}var e;return e=3072,t.prototype.chunk=function(t){var n,r,i,s;return s=this.pos,r=this.pos+e,this.pos=r,s>this.file.size?t(null):(n=this.slice.call(this.file,s,r),i=new FileReader,i.onload=function(e){return t(btoa(e.target.result))},i.readAsBinaryString(n))},t}(),t}()}.call(this),function(){}.call(this),function(){this.ChatPage=function(){function t(t){var e=this;this.session=t,this.session.onRoster(function(){return e.roster()}),this.session.onCard(function(t){return e.card(t)}),this.session.onMessage(function(t){return e.message(t)}),this.session.onPresence(function(t){return e.presence(t)}),this.chats={},this.currentContact=null,this.layout=null}return t.prototype.datef=function(t){var e,n,r,i;return e=new Date(t),r=e.getHours()>=12?" pm":" am",n=e.getHours()>12?e.getHours()-12:e.getHours(),0===n&&(n=12),i=e.getMinutes()+"",1===i.length&&(i="0"+i),n+":"+i+r
8
+ },_throttledRequestHandler:function(){this._requests?s.debug("_throttledRequestHandler called with "+this._requests.length+" requests"):s.debug("_throttledRequestHandler called with undefined requests"),this._requests&&0!==this._requests.length&&(this._requests.length>0&&this._processRequest(0),this._requests.length>1&&Math.abs(this._requests[0].rid-this._requests[1].rid)<this.window&&this._processRequest(1))},_onRequestStateChange:function(t,e){if(s.debug("request id "+e.id+"."+e.sends+" state changed to "+e.xhr.readyState),e.abort)return e.abort=!1,void 0;var n;if(4==e.xhr.readyState){n=0;try{n=e.xhr.status}catch(r){}if("undefined"==typeof n&&(n=0),this.disconnecting&&n>=400)return this._hitError(n),void 0;var i=this._requests[0]==e,o=this._requests[1]==e;(n>0&&500>n||e.sends>5)&&(this._removeRequest(e),s.debug("request id "+e.id+" should now be removed")),200==n?((o||i&&this._requests.length>0&&this._requests[0].age()>Math.floor(s.SECONDARY_TIMEOUT*this.wait))&&this._restartRequest(0),s.debug("request id "+e.id+"."+e.sends+" got 200"),t(e),this.errors=0):(s.error("request id "+e.id+"."+e.sends+" error "+n+" happened"),(0===n||n>=400&&600>n||n>=12e3)&&(this._hitError(n),n>=400&&500>n&&(this._changeConnectStatus(s.Status.DISCONNECTING,null),this._doDisconnect()))),n>0&&500>n||e.sends>5||this._throttledRequestHandler()}},_hitError:function(t){this.errors++,s.warn("request errored, status: "+t+", number of errors: "+this.errors),this.errors>4&&this._onDisconnectTimeout()},_doDisconnect:function(){s.info("_doDisconnect was called"),this.authenticated=!1,this.disconnecting=!1,this.sid=null,this.streamId=null,this.rid=Math.floor(4294967295*Math.random()),this.connected&&(this._changeConnectStatus(s.Status.DISCONNECTED,null),this.connected=!1),this.handlers=[],this.timedHandlers=[],this.removeTimeds=[],this.removeHandlers=[],this.addTimeds=[],this.addHandlers=[]},_dataRecv:function(t){try{var e=t.getResponse()}catch(n){if("parsererror"!=n)throw n;this.disconnect("strophe-parsererror")}if(null!==e){this.xmlInput!==s.Connection.prototype.xmlInput&&this.xmlInput(e),this.rawInput!==s.Connection.prototype.rawInput&&this.rawInput(s.serialize(e));for(var r,i;this.removeHandlers.length>0;)i=this.removeHandlers.pop(),r=this.handlers.indexOf(i),r>=0&&this.handlers.splice(r,1);for(;this.addHandlers.length>0;)this.handlers.push(this.addHandlers.pop());if(this.disconnecting&&0===this._requests.length)return this.deleteTimedHandler(this._disconnectTimeout),this._disconnectTimeout=null,this._doDisconnect(),void 0;var o,a,c=e.getAttribute("type");if(null!==c&&"terminate"==c){if(this.disconnecting)return;return o=e.getAttribute("condition"),a=e.getElementsByTagName("conflict"),null!==o?("remote-stream-error"==o&&a.length>0&&(o="conflict"),this._changeConnectStatus(s.Status.CONNFAIL,o)):this._changeConnectStatus(s.Status.CONNFAIL,"unknown"),this.disconnect(),void 0}var l=this;s.forEachChild(e,null,function(t){var e,n;for(n=l.handlers,l.handlers=[],e=0;e<n.length;e++){var r=n[e];try{!r.isMatch(t)||!l.authenticated&&r.user?l.handlers.push(r):r.run(t)&&l.handlers.push(r)}catch(i){}}})}},_sendTerminate:function(){s.info("_sendTerminate was called");var t=this._buildBody().attrs({type:"terminate"});this.authenticated&&t.c("presence",{xmlns:s.NS.CLIENT,type:"unavailable"}),this.disconnecting=!0;var e=new s.Request(t.tree(),this._onRequestStateChange.bind(this,this._dataRecv.bind(this)),t.tree().getAttribute("rid"));this._requests.push(e),this._throttledRequestHandler()},_connect_cb:function(t){s.info("_connect_cb was called"),this.connected=!0;var n=t.getResponse();if(n){this.xmlInput!==s.Connection.prototype.xmlInput&&this.xmlInput(n),this.rawInput!==s.Connection.prototype.rawInput&&this.rawInput(s.serialize(n));var i,o,a=n.getAttribute("type");if(null!==a&&"terminate"==a)return i=n.getAttribute("condition"),o=n.getElementsByTagName("conflict"),null!==i?("remote-stream-error"==i&&o.length>0&&(i="conflict"),this._changeConnectStatus(s.Status.CONNFAIL,i)):this._changeConnectStatus(s.Status.CONNFAIL,"unknown"),void 0;this.sid||(this.sid=n.getAttribute("sid")),this.stream_id||(this.stream_id=n.getAttribute("authid"));var c=n.getAttribute("requests");c&&(this.window=parseInt(c,10));var l=n.getAttribute("hold");l&&(this.hold=parseInt(l,10));var u=n.getAttribute("wait");u&&(this.wait=parseInt(u,10));var h,d,f,p,g=!1,m=!1,v=!1,y=n.getElementsByTagName("mechanism");if(!(y.length>0)){var b=this._buildBody();return this._requests.push(new s.Request(b.tree(),this._onRequestStateChange.bind(this,this._connect_cb.bind(this)),b.tree().getAttribute("rid"))),this._throttledRequestHandler(),void 0}for(h=0;h<y.length;h++)d=s.getText(y[h]),"DIGEST-MD5"==d?m=!0:"PLAIN"==d?g=!0:"ANONYMOUS"==d&&(v=!0);null===s.getNodeFromJid(this.jid)&&v?(this._changeConnectStatus(s.Status.AUTHENTICATING,null),this._sasl_success_handler=this._addSysHandler(this._sasl_success_cb.bind(this),null,"success",null,null),this._sasl_failure_handler=this._addSysHandler(this._sasl_failure_cb.bind(this),null,"failure",null,null),this.send(e("auth",{xmlns:s.NS.SASL,mechanism:"ANONYMOUS"}).tree())):null===s.getNodeFromJid(this.jid)?(this._changeConnectStatus(s.Status.CONNFAIL,"x-strophe-bad-non-anon-jid"),this.disconnect()):m?(this._changeConnectStatus(s.Status.AUTHENTICATING,null),this._sasl_challenge_handler=this._addSysHandler(this._sasl_challenge1_cb.bind(this),null,"challenge",null,null),this._sasl_failure_handler=this._addSysHandler(this._sasl_failure_cb.bind(this),null,"failure",null,null),this.send(e("auth",{xmlns:s.NS.SASL,mechanism:"DIGEST-MD5"}).tree())):g?(f=s.getBareJidFromJid(this.jid),f+="\0",f+=s.getNodeFromJid(this.jid),f+="\0",f+=this.pass,this._changeConnectStatus(s.Status.AUTHENTICATING,null),this._sasl_success_handler=this._addSysHandler(this._sasl_success_cb.bind(this),null,"success",null,null),this._sasl_failure_handler=this._addSysHandler(this._sasl_failure_cb.bind(this),null,"failure",null,null),p=Base64.encode(f),this.send(e("auth",{xmlns:s.NS.SASL,mechanism:"PLAIN"}).t(p).tree())):(this._changeConnectStatus(s.Status.AUTHENTICATING,null),this._addSysHandler(this._auth1_cb.bind(this),null,null,null,"_auth_1"),this.send(r({type:"get",to:this.domain,id:"_auth_1"}).c("query",{xmlns:s.NS.AUTH}).c("username",{}).t(s.getNodeFromJid(this.jid)).tree()))}},_sasl_challenge1_cb:function(t){var n,r=/([a-z]+)=("[^"]+"|[^,"]+)(?:,|$)/,i=Base64.decode(s.getText(t)),o=MD5.hexdigest(""+1234567890*Math.random()),a="",c=null,l="",u="";for(this.deleteHandler(this._sasl_failure_handler);i.match(r);)switch(n=i.match(r),i=i.replace(n[0],""),n[2]=n[2].replace(/^"(.+)"$/,"$1"),n[1]){case"realm":a=n[2];break;case"nonce":l=n[2];break;case"qop":u=n[2];break;case"host":c=n[2]}var h="xmpp/"+this.domain;null!==c&&(h=h+"/"+c);var d=MD5.hash(s.getNodeFromJid(this.jid)+":"+a+":"+this.pass)+":"+l+":"+o,f="AUTHENTICATE:"+h,p="";return p+="username="+this._quote(s.getNodeFromJid(this.jid))+",",p+="realm="+this._quote(a)+",",p+="nonce="+this._quote(l)+",",p+="cnonce="+this._quote(o)+",",p+='nc="00000001",',p+='qop="auth",',p+="digest-uri="+this._quote(h)+",",p+="response="+this._quote(MD5.hexdigest(MD5.hexdigest(d)+":"+l+":00000001:"+o+":auth:"+MD5.hexdigest(f)))+",",p+='charset="utf-8"',this._sasl_challenge_handler=this._addSysHandler(this._sasl_challenge2_cb.bind(this),null,"challenge",null,null),this._sasl_success_handler=this._addSysHandler(this._sasl_success_cb.bind(this),null,"success",null,null),this._sasl_failure_handler=this._addSysHandler(this._sasl_failure_cb.bind(this),null,"failure",null,null),this.send(e("response",{xmlns:s.NS.SASL}).t(Base64.encode(p)).tree()),!1},_quote:function(t){return'"'+t.replace(/\\/g,"\\\\").replace(/"/g,'\\"')+'"'},_sasl_challenge2_cb:function(){return this.deleteHandler(this._sasl_success_handler),this.deleteHandler(this._sasl_failure_handler),this._sasl_success_handler=this._addSysHandler(this._sasl_success_cb.bind(this),null,"success",null,null),this._sasl_failure_handler=this._addSysHandler(this._sasl_failure_cb.bind(this),null,"failure",null,null),this.send(e("response",{xmlns:s.NS.SASL}).tree()),!1},_auth1_cb:function(){var t=r({type:"set",id:"_auth_2"}).c("query",{xmlns:s.NS.AUTH}).c("username",{}).t(s.getNodeFromJid(this.jid)).up().c("password").t(this.pass);return s.getResourceFromJid(this.jid)||(this.jid=s.getBareJidFromJid(this.jid)+"/strophe"),t.up().c("resource",{}).t(s.getResourceFromJid(this.jid)),this._addSysHandler(this._auth2_cb.bind(this),null,null,null,"_auth_2"),this.send(t.tree()),!1},_sasl_success_cb:function(){return s.info("SASL authentication succeeded."),this.deleteHandler(this._sasl_failure_handler),this._sasl_failure_handler=null,this._sasl_challenge_handler&&(this.deleteHandler(this._sasl_challenge_handler),this._sasl_challenge_handler=null),this._addSysHandler(this._sasl_auth1_cb.bind(this),null,"stream:features",null,null),this._sendRestart(),!1},_sasl_auth1_cb:function(t){this.features=t;var e,n;for(e=0;e<t.childNodes.length;e++)n=t.childNodes[e],"bind"==n.nodeName&&(this.do_bind=!0),"session"==n.nodeName&&(this.do_session=!0);if(!this.do_bind)return this._changeConnectStatus(s.Status.AUTHFAIL,null),!1;this._addSysHandler(this._sasl_bind_cb.bind(this),null,null,null,"_bind_auth_2");var i=s.getResourceFromJid(this.jid);return i?this.send(r({type:"set",id:"_bind_auth_2"}).c("bind",{xmlns:s.NS.BIND}).c("resource",{}).t(i).tree()):this.send(r({type:"set",id:"_bind_auth_2"}).c("bind",{xmlns:s.NS.BIND}).tree()),!1},_sasl_bind_cb:function(t){if("error"==t.getAttribute("type"))return s.info("SASL binding failed."),this._changeConnectStatus(s.Status.AUTHFAIL,null),!1;var e,n=t.getElementsByTagName("bind");return n.length>0?(e=n[0].getElementsByTagName("jid"),e.length>0&&(this.jid=s.getText(e[0]),this.do_session?(this._addSysHandler(this._sasl_session_cb.bind(this),null,null,null,"_session_auth_2"),this.send(r({type:"set",id:"_session_auth_2"}).c("session",{xmlns:s.NS.SESSION}).tree())):(this.authenticated=!0,this._changeConnectStatus(s.Status.CONNECTED,null))),void 0):(s.info("SASL binding failed."),this._changeConnectStatus(s.Status.AUTHFAIL,null),!1)},_sasl_session_cb:function(t){if("result"==t.getAttribute("type"))this.authenticated=!0,this._changeConnectStatus(s.Status.CONNECTED,null);else if("error"==t.getAttribute("type"))return s.info("Session creation failed."),this._changeConnectStatus(s.Status.AUTHFAIL,null),!1;return!1},_sasl_failure_cb:function(){return this._sasl_success_handler&&(this.deleteHandler(this._sasl_success_handler),this._sasl_success_handler=null),this._sasl_challenge_handler&&(this.deleteHandler(this._sasl_challenge_handler),this._sasl_challenge_handler=null),this._changeConnectStatus(s.Status.AUTHFAIL,null),!1},_auth2_cb:function(t){return"result"==t.getAttribute("type")?(this.authenticated=!0,this._changeConnectStatus(s.Status.CONNECTED,null)):"error"==t.getAttribute("type")&&(this._changeConnectStatus(s.Status.AUTHFAIL,null),this.disconnect()),!1},_addSysTimedHandler:function(t,e){var n=new s.TimedHandler(t,e);return n.user=!1,this.addTimeds.push(n),n},_addSysHandler:function(t,e,n,r,i){var o=new s.Handler(t,e,n,r,i);return o.user=!1,this.addHandlers.push(o),o},_onDisconnectTimeout:function(){s.info("_onDisconnectTimeout was called");for(var t;this._requests.length>0;)t=this._requests.pop(),t.abort=!0,t.xhr.abort(),t.xhr.onreadystatechange=function(){};return this._doDisconnect(),!1},_onIdle:function(){for(var t,e,n,r;this.addTimeds.length>0;)this.timedHandlers.push(this.addTimeds.pop());for(;this.removeTimeds.length>0;)e=this.removeTimeds.pop(),t=this.timedHandlers.indexOf(e),t>=0&&this.timedHandlers.splice(t,1);var i=(new Date).getTime();for(r=[],t=0;t<this.timedHandlers.length;t++)e=this.timedHandlers[t],(this.authenticated||!e.user)&&(n=e.lastCalled+e.period,0>=n-i?e.run()&&r.push(e):r.push(e));this.timedHandlers=r;var o,a;if(this.authenticated&&0===this._requests.length&&0===this._data.length&&!this.disconnecting&&(s.info("no requests during idle cycle, sending blank request"),this._data.push(null)),this._requests.length<2&&this._data.length>0&&!this.paused){for(o=this._buildBody(),t=0;t<this._data.length;t++)null!==this._data[t]&&("restart"===this._data[t]?o.attrs({to:this.domain,"xml:lang":"en","xmpp:restart":"true","xmlns:xmpp":s.NS.BOSH}):o.cnode(this._data[t]).up());delete this._data,this._data=[],this._requests.push(new s.Request(o.tree(),this._onRequestStateChange.bind(this,this._dataRecv.bind(this)),o.tree().getAttribute("rid"))),this._processRequest(this._requests.length-1)}this._requests.length>0&&(a=this._requests[0].age(),null!==this._requests[0].dead&&this._requests[0].timeDead()>Math.floor(s.SECONDARY_TIMEOUT*this.wait)&&this._throttledRequestHandler(),a>Math.floor(s.TIMEOUT*this.wait)&&(s.warn("Request "+this._requests[0].id+" timed out, over "+Math.floor(s.TIMEOUT*this.wait)+" seconds since last activity"),this._throttledRequestHandler())),clearTimeout(this._idleTimeout),this.connected&&(this._idleTimeout=setTimeout(this._onIdle.bind(this),100))}},t&&t(s,e,n,r,i)}(function(){window.Strophe=arguments[0],window.$build=arguments[1],window.$msg=arguments[2],window.$iq=arguments[3],window.$pres=arguments[4]}),function(){this.Button=function(){function t(t,e,n){this.node=$(t),this.path=e,this.options=n||{},null==this.options.animate&&(this.options.animate=!0),this.draw()}return t.prototype.draw=function(){var t,e,n;return e=Raphael(this.node.get(0)),n="s"+(this.options.scale||.85),this.options.translation&&(n+=",t"+this.options.translation),t=e.path(this.path).attr({fill:this.options.fill||"#000",stroke:this.options.stroke||"#fff","stroke-width":this.options["stroke-width"]||.3,opacity:this.options.opacity||.6,transform:n}),this.options.animate?this.node.hover(function(){return t.animate({opacity:1},200)},function(){return t.animate({opacity:.6},200)}):void 0},t}()}.call(this),function(){this.Contact=function(){function t(t){t=$(t),this.jid=t.attr("jid"),this.name=t.attr("name"),this.ask=t.attr("ask"),this.subscription=t.attr("subscription"),this.groups=$("group",t).map(function(){return $(this).text()}).get(),this.presence=[]}return t.prototype.online=function(){return this.presence.length>0},t.prototype.offline=function(){return 0===this.presence.length},t.prototype.available=function(){var t;return this.online()&&function(){var e,n,r,i;for(r=this.presence,i=[],e=0,n=r.length;n>e;e++)t=r[e],t.away||i.push(t);return i}.call(this).length>0},t.prototype.away=function(){return!this.available()},t.prototype.status=function(){var t,e,n;return t=function(){var t,e,r,i;for(r=this.presence,i=[],t=0,e=r.length;e>t;t++)n=r[t],n.status&&!n.away&&i.push(n.status);return i}.call(this)[0]||"Available",e=function(){var t,e,r,i;for(r=this.presence,i=[],t=0,e=r.length;e>t;t++)n=r[t],n.status&&n.away&&i.push(n.status);return i}.call(this)[0]||"Away",this.offline()?"Offline":this.away()?e:t},t.prototype.update=function(t){var e;return this.presence=function(){var n,r,i,s;for(i=this.presence,s=[],n=0,r=i.length;r>n;n++)e=i[n],e.from!==t.from&&s.push(e);return s}.call(this),t.type||this.presence.push(t),"unsubscribed"===t.type?this.presence=[]:void 0},t}()}.call(this),function(){this.Filter=function(){function t(t){this.list=t.list,this.icon=t.icon,this.form=t.form,this.attrs=t.attrs,this.open=t.open,this.close=t.close,this.draw()}return t.prototype.draw=function(){var t,e,n=this;return $(this.icon).addClass("filter-button"),t=$('<form class="filter-form" style="display:none;"></form>').appendTo(this.form),e=$('<input class="filter-text" type="search" placeholder="Filter" results="5"/>').appendTo(t),this.icon&&new Button(this.icon,ICONS.search,{scale:.5,translation:"-16,-16"}),t.submit(function(){return!1}),e.keyup(function(){return n.filter(e)}),e.change(function(){return n.filter(e)}),e.click(function(){return n.filter(e)}),$(this.icon).click(function(){if(t.is(":hidden")){if(n.filter(e),t.show(),n.open)return n.open()}else if(t.hide(),t[0].reset(),n.filter(e),n.close)return n.close()})},t.prototype.filter=function(t){var e,n,r=this;return n=t.val().toLowerCase(),""===n?($("li",this.list).show(),void 0):(e=function(t,e){var r;return r=(t.attr(e)||"").toLowerCase(),-1!==r.indexOf(n)},$("> li",this.list).each(function(t,n){var i,s;return n=$(n),s=function(){var t,r,s,o;for(s=this.attrs,o=[],t=0,r=s.length;r>t;t++)i=s[t],e(n,i)&&o.push(!0);return o}.call(r),s.length>0?n.show():n.hide()}))},t}()}.call(this),function(){this.Layout=function(){function t(t){var e=this;this.fn=t,this.resize(),this.listen(),setTimeout(function(){return e.resize()},250)}return t.prototype.resize=function(){return this.fill(".x-fill","outerWidth","width"),this.fill(".y-fill","outerHeight","height"),this.fn()},t.prototype.fill=function(t,e,n){var r=this;return $(t).filter(":visible").each(function(i,s){var o,a,c;return s=$(s),a=s[e],c=a.call(s.parent(),!0),o=r.fixed(s,t,function(t){return a.call(t,!0)}),s[n].call(s,c-o)})},t.prototype.fixed=function(t,e,n){return t.siblings().not(e).not(".float").filter(":visible").map(function(){return n($(this))}).get().reduce(function(t,e){return t+e},0)},t.prototype.listen=function(){var t,e=this;return t=null,$(window).resize(function(){return clearTimeout(t),t=setTimeout(function(){return e.resize()},10),e.resize()})},t}()}.call(this),function(){this.LoginPage=function(){function t(t,e){this.session=t,this.startPage=e}return t.prototype.start=function(){var t,e,n,r,i=this;return $("#error").hide(),r=function(){var e,n,r,i;for(r=["#jid","#password"],i=[],e=0,n=r.length;n>e;e++)t=r[e],i.push($(t).val().trim());return i}(),e=r[0],n=r[1],0===e.length||0===n.length||-1===e.indexOf("@")?($("#error").show(),void 0):this.session.connect(e,n,function(t){return t?(localStorage.jid=e,$("#current-user-name").text(i.session.bareJid()),$("#current-user-avatar").attr("src",i.session.avatar(i.session.jid())),$("#current-user-avatar").attr("alt",i.session.bareJid()),$("#container").fadeOut(200,function(){return $("#navbar").show(),window.location.hash=i.startPage})):(i.session.disconnect(),$("#error").show(),$("#password").val("").focus(),void 0)})},t.prototype.draw=function(){var t,e=this;return this.session.disconnect(),t=localStorage.jid||"",$("#navbar").hide(),$("body").attr("id","login-page"),$("#container").hide().empty(),$('<form id="login-form">\n <div id="icon"></div>\n <h1>vines</h1>\n <fieldset id="login-form-controls">\n <input id="jid" name="jid" type="email" maxlength="1024" value="'+t+'" placeholder="Your user name"/>\n <input id="password" name="password" type="password" maxlength="1024" placeholder="Your password"/>\n <input id="start" type="submit" value="Sign in"/>\n </fieldset>\n <p id="error" style="display:none;">User name and password not found.</p>\n</form>').appendTo("#container"),$("#container").fadeIn(1e3),$("#login-form").submit(function(){return e.start(),!1}),$("#jid").keydown(function(){return $("#error").fadeOut()}),$("#password").keydown(function(){return $("#error").fadeOut()}),this.resize(),this.icon()},t.prototype.icon=function(){var t;return t={fill:"90-#ccc-#fff",stroke:"#fff","stroke-width":1.1,opacity:.95,scale:3,translation:"10,8",animate:!1},new Button("#icon",ICONS.chat,t)},t.prototype.resize=function(){var t,e,n;return n=$(window),t=$("#login-form"),e=function(){return t.css("top",n.height()/2-t.height()/2)},n.resize(e),e()},t}()}.call(this),function(){this.LogoutPage=function(){function t(t){this.session=t}return t.prototype.draw=function(){return window.location.hash="",window.location.reload()},t}()}.call(this),function(){this.NavBar=function(){function t(t){var e=this;this.session=t,this.session.onCard(function(t){return t.jid===e.session.bareJid()?$("#current-user-avatar").attr("src",e.session.avatar(t.jid)):void 0})}return t.prototype.draw=function(){var t=this;return $('<header id="navbar" class="x-fill">\n <h1 id="logo">vines&gt;</h1>\n <div id="current-user">\n <img id="current-user-avatar" alt="'+this.session.bareJid()+'" src="'+this.session.avatar(this.session.jid())+'"/>\n <div id="current-user-info">\n <h1 id="current-user-name">'+this.session.bareJid()+'</h1>\n <form id="current-user-presence-form">\n <span class="select">\n <span class="text">Available</span>\n <select id="current-user-presence">\n <optgroup label="Available">\n <option>Available</option>\n <option>Surfing the web</option>\n <option>Reading email</option>\n </optgroup>\n <optgroup label="Away">\n <option value="xa">Away</option>\n <option value="xa">Out to lunch</option>\n <option value="xa">On the phone</option>\n <option value="xa">In a meeting</option>\n </optgroup>\n </select>\n </span>\n </form>\n </div>\n </div>\n <nav id="app-nav" class="x-fill">\n <ul id="nav-links"></ul>\n </nav>\n</header>').appendTo("body"),$('<div id="container" class="x-fill y-fill"></div>').appendTo("body"),$("#current-user-presence").change(function(e){var n;return n=$("option:selected",e.currentTarget),$("#current-user-presence-form .text").text(n.text()),t.session.sendPresence("xa"===n.val(),n.text())})},t.prototype.addButton=function(t,e){var n,r,i=this;return n="nav-link-"+t.toLowerCase(),r=$('<li>\n <a id="'+n+'" href="#/'+t.toLowerCase()+'">\n <span>'+t+"</span>\n </a>\n</li>").appendTo("#nav-links"),this.button(n,e),r.click(function(t){return i.select(t.currentTarget)})},t.prototype.select=function(t){var e,n;return t=$(t),$("#nav-links li").removeClass("selected"),$("#nav-links li a").removeClass("selected"),t.addClass("selected"),$("a",t).addClass("selected"),e=$("#nav-links svg path"),e.attr("opacity","0.6"),e.css("opacity","0.6"),n=$("svg path",t),n.attr("opacity","1.0"),n.css("opacity","1.0")},t.prototype.button=function(t,e){var n,r,i;return i=Raphael(t),n=i.path(e).attr({fill:"#fff",stroke:"#000","stroke-width":.3,opacity:.6}),r=$("#"+t),r.hover(function(){return n.animate({opacity:1},200)},function(){return r.hasClass("selected")?void 0:n.animate({opacity:.6},200)}),r.get(0)},t}()}.call(this),function(){this.Notification=function(){function t(t){this.text=t,this.draw()}return t.prototype.draw=function(){var t,e,n,r;return n=$('<div class="notification float" style="display:none;"></div>').appendTo("body"),n.text(this.text),r=n.outerHeight()/2,e=n.outerWidth()/2,n.css({marginTop:"-"+r+"px",marginLeft:"-"+e+"px"}),n.fadeIn(200),t=function(){return n.fadeOut(200,function(){return n.remove()})},setTimeout(t,1500)},t}()}.call(this),function(){this.Router=function(){function t(t){var e=this;this.pages=t,this.routes=this.build(),$(window).bind("hashchange",function(){return e.draw()})}return t.prototype.build=function(){var t,e,n,r,i,s,o,a;o=[],a=this.pages;for(i in a)r=a[i],o.push(s={args:[],page:r,re:null}),"default"!==i?(e=function(){var e,n,r,s;for(r=i.split("/"),s=[],e=0,n=r.length;n>e;e++)t=r[e],t.length>0&&s.push(t);return s}(),n=function(t){return":"===t[0]?(s.args.push(t.replace(":","")),"(/[^/]+)?"):"/"+t},s.re=new RegExp("#"+function(){var r,i,s;for(s=[],r=0,i=e.length;i>r;r++)t=e[r],s.push(n(t));return s}().join(""))):s.re=i;return o},t.prototype.draw=function(){var t,e,n,r,i,s,o,a,c,l;if(a=this.match(),i=a[0],t=a[1],i||(i=this.defaultRoute()),i){for(c=[{},0],r=c[0],e=c[1],l=i.args,s=0,o=l.length;o>s;s++)n=l[s],r[n]=t[e++];return i.page.draw(r)}},t.prototype.match=function(){var t,e,n,r,i,s,o;for(o=this.routes,i=0,s=o.length;s>i;i++)if(r=o[i],n=window.location.hash.match(r.re))return e=function(){var e,r,i,s;for(i=n.slice(1),s=[],e=0,r=i.length;r>e;e++)t=i[e],s.push(t.replace("/",""));return s}(),[r,e];return[]},t.prototype.defaultRoute=function(){var t,e,n,r;for(r=this.routes,e=0,n=r.length;n>e;e++)if(t=r[e],"default"===t.re)return t},t}()}.call(this),function(){this.Session=function(){function t(t){null==t&&(t="/xmpp"),this.xmpp=new Strophe.Connection(t),this.roster={},this.listeners={card:[],message:[],presence:[],roster:[]}}return t.prototype.connect=function(t,e,n){var r=this;return this.xmpp.connect(t,e,function(t){switch(t){case Strophe.Status.AUTHFAIL:case Strophe.Status.CONNFAIL:return n(!1);case Strophe.Status.CONNECTED:return r.xmpp.addHandler(function(t){return r.handleIq(t)},null,"iq"),r.xmpp.addHandler(function(t){return r.handleMessage(t)},null,"message"),r.xmpp.addHandler(function(t){return r.handlePresence(t)},null,"presence"),n(!0),r.findRoster(function(){return r.notify("roster"),r.xmpp.send(r.xml("<presence/>")),r.findCards()})}})},t.prototype.disconnect=function(){return this.xmpp.disconnect()},t.prototype.onCard=function(t){return this.listeners.card.push(t)},t.prototype.onRoster=function(t){return this.listeners.roster.push(t)},t.prototype.onMessage=function(t){return this.listeners.message.push(t)},t.prototype.onPresence=function(t){return this.listeners.presence.push(t)},t.prototype.connected=function(){return this.xmpp.jid&&this.xmpp.jid.length>0},t.prototype.jid=function(){return this.xmpp.jid},t.prototype.bareJid=function(){return this.xmpp.jid.split("/")[0]},t.prototype.uniqueId=function(){return this.xmpp.getUniqueId()},t.prototype.avatar=function(t){var e;return e=this.loadCard(t),e&&e.photo?"data:"+e.photo.type+";base64,"+e.photo.binval:"/images/default-user.png"},t.prototype.loadCard=function(t){var e;return t=t.split("/")[0],e=localStorage["vcard:"+t],e?JSON.parse(e):void 0},t.prototype.storeCard=function(t){return localStorage["vcard:"+t.jid]=JSON.stringify(t)},t.prototype.findCards=function(){var t,e,n,r,i=this;return n=function(){var n,r;n=this.roster,r=[];for(e in n)t=n[e],this.loadCard(e)||r.push(e);return r}.call(this),this.loadCard(this.bareJid())||n.push(this.bareJid()),r=function(t){return i.findCard(n.shift(),r),t?(i.storeCard(t),i.notify("card",t)):void 0},this.findCard(n.shift(),r)},t.prototype.findCard=function(t,e){var n;if(t)return n=this.xml('<iq id="'+this.uniqueId()+'" to="'+t+'" type="get">\n <vCard xmlns="vcard-temp"/>\n</iq>'),this.sendIQ(n,function(n){var r,i,s,o,a;return i=$("vCard",n),s=$("PHOTO",i),o=$("TYPE",s).text(),r=$("BINVAL",s).text(),s=o&&r?{type:o,binval:r.replace(/\n/g,"")}:null,a={jid:t,photo:s,retrieved:new Date},e(i.size()>0?a:null)})},t.prototype.parseRoster=function(t){return $("item",t).map(function(){return new Contact(this)}).get()},t.prototype.findRoster=function(t){var e,n=this;return e=this.xml("<iq id='"+this.uniqueId()+'\' type="get">\n <query xmlns="jabber:iq:roster"/>\n</iq>'),this.sendIQ(e,function(e){var r,i,s,o;for(i=n.parseRoster(e),s=0,o=i.length;o>s;s++)r=i[s],n.roster[r.jid]=r;return t()})},t.prototype.sendMessage=function(t,e){var n;return n=this.xml('<message id="'+this.uniqueId()+'" to="'+t+'" type="chat">\n <body></body>\n</message>'),$("body",n).text(e),this.xmpp.send(n)},t.prototype.sendPresence=function(t,e){var n;return n=$(this.xml("<presence/>")),t?(n.append($(this.xml("<show>xa</show>"))),"Away"!==e&&n.append($(this.xml("<status/>")).text(e))):"Available"!==e&&n.append($(this.xml("<status/>")).text(e)),this.xmpp.send(n)},t.prototype.sendIQ=function(t,e){return this.xmpp.sendIQ(t,e,e,5e3)},t.prototype.updateContact=function(t,e){var n,r,i,s,o;for(r=this.xml('<iq id="'+this.uniqueId()+'" type="set">\n <query xmlns="jabber:iq:roster">\n <item name="" jid="'+t.jid+'"/>\n </query>\n</iq>'),$("item",r).attr("name",t.name),o=t.groups,i=0,s=o.length;s>i;i++)n=o[i],$("item",r).append($(this.xml("<group></group>")).text(n));return this.xmpp.send(r),e?this.sendSubscribe(t.jid):void 0},t.prototype.removeContact=function(t){var e;return e=this.xml('<iq id="'+this.uniqueId()+'" type="set">\n <query xmlns="jabber:iq:roster">\n <item jid="'+t+'" subscription="remove"/>\n </query>\n</iq>'),this.xmpp.send(e)},t.prototype.sendSubscribe=function(t){return this.xmpp.send(this.presence(t,"subscribe"))},t.prototype.sendSubscribed=function(t){return this.xmpp.send(this.presence(t,"subscribed"))},t.prototype.sendUnsubscribed=function(t){return this.xmpp.send(this.presence(t,"unsubscribed"))},t.prototype.presence=function(t,e){return this.xml('<presence\n id="'+this.uniqueId()+'"\n to="'+t+'"\n type="'+e+'"/>')},t.prototype.handleIq=function(t){var e,n,r,i,s,o,a;if(t=$(t),s=t.attr("type"),r=t.find("query").attr("xmlns"),"set"===s&&"jabber:iq:roster"===r){for(n=this.parseRoster(t),o=0,a=n.length;a>o;o++)e=n[o],"remove"===e.subscription?delete this.roster[e.jid]:(i=this.roster[e.jid],i&&(e.presence=i.presence),this.roster[e.jid]=e);this.notify("roster")}return!0},t.prototype.handleMessage=function(t){var e,n,r,i,s;return t=$(t),i=t.attr("to"),n=t.attr("from"),s=t.attr("type"),r=t.find("thread").first(),e=t.find("body").first(),this.notify("message",{to:i,from:n,type:s,thread:r.text(),text:e.text(),received:new Date,node:t}),!0},t.prototype.handlePresence=function(t){var e,n,r,i,s,o,a;return t=$(t),o=t.attr("to"),n=t.attr("from"),a=t.attr("type"),i=t.find("show").first(),s=t.find("status").first(),r={to:o,from:n,status:s.text(),show:i.text(),type:a,offline:"unavailable"===a||"error"===a,away:"away"===i.text()||"xa"===i.text(),dnd:"dnd"===i.text(),node:t},e=this.roster[n.split("/")[0]],e&&e.update(r),this.notify("presence",r),!0},t.prototype.notify=function(t,e){var n,r,i,s,o;for(s=this.listeners[t]||[],o=[],r=0,i=s.length;i>r;r++)n=s[r],o.push(n(e));return o},t.prototype.xml=function(t){return $.parseXML(t).documentElement},t}()}.call(this),function(){this.Transfer=function(){function t(t){this.session=t.session,this.file=t.file,this.to=t.to,this.progress=t.progress,this.complete=t.complete,this.chunks=new e(this.file),this.opened=!1,this.closed=!1,this.sid=this.session.uniqueId(),this.seq=0,this.sent=0}var e;return t.prototype.start=function(){var t,e=this;return t=$('<iq id="'+this.session.uniqueId()+'" to="'+this.to+'" type="set">\n <si xmlns="http://jabber.org/protocol/si" id="'+this.session.uniqueId()+'" profile="http://jabber.org/protocol/si/profile/file-transfer">\n <file xmlns="http://jabber.org/protocol/si/profile/file-transfer" name="" size="'+this.file.size+'"/>\n <feature xmlns="http://jabber.org/protocol/feature-neg">\n <x xmlns="jabber:x:data" type="form">\n <field var="stream-method" type="list-single">\n <option><value>http://jabber.org/protocol/ibb</value></option>\n </field>\n </x>\n </feature>\n </si>\n</iq>'),$("file",t).attr("name",this.file.name),this.session.sendIQ(t.get(0),function(t){var n,r,i;return r=$('si feature x field[var="stream-method"] value',t),i=function(){var t,e,i;for(i=[],t=0,e=r.length;e>t;t++)n=r[t],"http://jabber.org/protocol/ibb"===$(n).text()&&i.push(!0);return i}().length>0,i?e.open():void 0})},t.prototype.open=function(){var t,e=this;return t=$('<iq id="'+this.session.uniqueId()+'" to="'+this.to+'" type="set">\n <open xmlns="http://jabber.org/protocol/ibb" sid="'+this.sid+'" block-size="4096"/>\n</iq>'),this.session.sendIQ(t.get(0),function(t){return e.ok(t)?(e.opened=!0,e.sendChunk()):void 0})},t.prototype.sendChunk=function(){var t=this;if(!this.closed)return this.chunks.chunk(function(e){var n;return e?(n=$('<iq id="'+t.session.uniqueId()+'" to="'+t.to+'" type="set">\n <data xmlns="http://jabber.org/protocol/ibb" sid="'+t.sid+'" seq="'+t.seq++ +'">'+e+"</data>\n</iq>"),t.seq>65535&&(t.seq=0),t.session.sendIQ(n.get(0),function(e){var n;if(t.ok(e))return n=Math.ceil(100*(++t.sent/t.chunks.total)),t.progress(n),t.sendChunk()})):(t.close(),void 0)})},t.prototype.close=function(){var t;if(!this.closed)return this.closed=!0,t=$('<iq id="'+this.session.uniqueId()+'" to="'+this.to+'" type="set">\n <close xmlns="http://jabber.org/protocol/ibb" sid="'+this.sid+'"/>\n</iq>'),this.session.sendIQ(t.get(0),function(){}),this.complete()},t.prototype.stop=function(){return this.opened?this.close():this.complete()},t.prototype.ok=function(t){return"result"===$(t).attr("type")},e=function(){function t(t){this.file=t,this.total=Math.ceil(this.file.size/e),this.slice=this.file.slice||this.file.webkitSlice||this.file.mozSlice,this.pos=0}var e;return e=3072,t.prototype.chunk=function(t){var n,r,i,s;return s=this.pos,r=this.pos+e,this.pos=r,s>this.file.size?t(null):(n=this.slice.call(this.file,s,r),i=new FileReader,i.onload=function(e){return t(btoa(e.target.result))},i.readAsBinaryString(n))},t}(),t}()}.call(this),function(){}.call(this),function(){this.ChatPage=function(){function t(t){var e=this;this.session=t,this.session.onRoster(function(){return e.roster()}),this.session.onCard(function(t){return e.card(t)}),this.session.onMessage(function(t){return e.message(t)}),this.session.onPresence(function(t){return e.presence(t)}),this.chats={},this.currentContact=null,this.layout=null}return t.prototype.datef=function(t){var e,n,r,i;return e=new Date(t),r=e.getHours()>=12?" pm":" am",n=e.getHours()>12?e.getHours()-12:e.getHours(),0===n&&(n=12),i=e.getMinutes()+"",1===i.length&&(i="0"+i),n+":"+i+r
9
9
  },t.prototype.card=function(t){var e=this;return this.eachContact(t.jid,function(n){return $(".vcard-img",n).attr("src",e.session.avatar(t.jid))})},t.prototype.roster=function(){var t,e,n,r,i,s,o,a,c=this;i=$("#roster"),$("li",i).each(function(t,e){var n;return n=$(e).attr("data-jid"),c.session.roster[n]?void 0:$(e).remove()}),s=function(t,e){return $(".text",t).text(e.name||e.jid),t.attr("data-name",e.name||"")},o=this.session.roster,a=[];for(n in o)t=o[n],e=$("#roster li[data-jid='"+n+"']"),s(e,t),0===e.length?(r=$('<li data-jid="'+n+'" data-name="" class="offline">\n <span class="text"></span>\n <span class="status-msg">Offline</span>\n <span class="unread" style="display:none;"></span>\n <img class="vcard-img" alt="'+n+'" src="'+this.session.avatar(n)+'"/>\n</li>').appendTo(i),s(r,t),a.push(r.click(function(t){return c.selectContact(t)}))):a.push(void 0);return a},t.prototype.message=function(t){var e,n,r,i;if("chat"===t.type&&t.text)return this.queueMessage(t),i=t.from===this.session.jid(),r=t.from.split("/")[0],i||r===this.currentContact?(e=this.atBottom(),this.appendMessage(t),e?this.scroll():void 0):(n=this.chat(t.from),n.unread++,this.eachContact(r,function(t){return $(".unread",t).text(n.unread).show()}))},t.prototype.eachContact=function(t,e){var n,r,i,s,o;for(s=$("#roster li[data-jid='"+t+"']").get(),o=[],r=0,i=s.length;i>r;r++)n=s[r],o.push(e($(n)));return o},t.prototype.appendMessage=function(t){var e,n,r,i;return n=t.from.split("/")[0],e=this.session.roster[n],r=e?e.name||n:n,t.from===this.session.jid()&&(r="Me"),i=$('<li data-jid="'+n+'" style="display:none;">\n <p></p>\n <img alt="'+n+'" src="'+this.session.avatar(n)+'"/>\n <footer>\n <span class="author"></span>\n <span class="time">'+this.datef(t.received)+"</span>\n </footer>\n</li>").appendTo("#messages"),$("p",i).text(t.text),$(".author",i).text(r),i.fadeIn(200)},t.prototype.queueMessage=function(t){var e,n,r;return r=t.from===this.session.jid(),n=t[r?"to":"from"],e=this.chat(n),e.jid=n,e.messages.push(t)},t.prototype.chat=function(t){var e,n;return e=t.split("/")[0],n=this.chats[e],n||(n={jid:t,messages:[],unread:0},this.chats[e]=n),n},t.prototype.presence=function(t){var e,n,r,i=this;return n=t.from.split("/")[0],n!==this.session.bareJid()?((!t.type||t.offline)&&(e=this.session.roster[n],this.eachContact(n,function(t){return $(".status-msg",t).text(e.status()),e.offline()?t.addClass("offline"):t.removeClass("offline")})),t.offline&&(this.chat(n).jid=n),"subscribe"===t.type?(r=$('<li data-jid="'+t.from+'" style="display:none;">\n <form class="inset">\n <h2>Buddy Approval</h2>\n <p>'+t.from+' wants to add you as a buddy.</p>\n <fieldset class="buttons">\n <input type="button" value="Decline"/>\n <input type="submit" value="Accept"/>\n </fieldset>\n </form>\n</li>').appendTo("#notifications"),r.fadeIn(200),$("form",r).submit(function(){return i.acceptContact(r,t.from)}),$('input[type="button"]',r).click(function(){return i.rejectContact(r,t.from)})):void 0):void 0},t.prototype.acceptContact=function(t,e){return t.fadeOut(200,function(){return t.remove()}),this.session.sendSubscribed(e),this.session.sendSubscribe(e),!1},t.prototype.rejectContact=function(t,e){return t.fadeOut(200,function(){return t.remove()}),this.session.sendUnsubscribed(e)},t.prototype.selectContact=function(t){var e,n,r,i,s,o,a;if(r=$(t.currentTarget).attr("data-jid"),n=this.session.roster[r],this.currentContact!==r){for(this.currentContact=r,$("#roster li").removeClass("selected"),$(t.currentTarget).addClass("selected"),$("#chat-title").text("Chat with "+(n.name||n.jid)),$("#messages").empty(),e=this.chats[r],i=[],e&&(i=e.messages,e.unread=0,this.eachContact(r,function(t){return $(".unread",t).text("").hide()})),o=0,a=i.length;a>o;o++)s=i[o],this.appendMessage(s);return this.scroll(),$("#remove-contact-msg").html("Are you sure you want to remove "+("<strong>"+this.currentContact+"</strong> from your buddy list?")),$("#remove-contact-form .buttons").fadeIn(200),$("#edit-contact-jid").text(this.currentContact),$("#edit-contact-name").val(this.session.roster[this.currentContact].name),$("#edit-contact-form input").fadeIn(200),$("#edit-contact-form .buttons").fadeIn(200)}},t.prototype.scroll=function(){var t;return t=$("#messages"),t.animate({scrollTop:t.prop("scrollHeight")},400)},t.prototype.atBottom=function(){var t,e;return e=$("#messages"),t=e.prop("scrollHeight")-e.outerHeight(),e.scrollTop()>=t},t.prototype.send=function(){var t,e,n,r;return this.currentContact?(e=$("#message"),r=e.val().trim(),r&&(t=this.chats[this.currentContact],n=t?t.jid:this.currentContact,this.message({from:this.session.jid(),text:r,to:n,type:"chat",received:new Date}),this.session.sendMessage(n,r)),e.val(""),!1):!1},t.prototype.addContact=function(){var t;return this.toggleForm("#add-contact-form"),t={jid:$("#add-contact-jid").val(),name:$("#add-contact-name").val(),groups:["Buddies"]},t.jid&&this.session.updateContact(t,!0),!1},t.prototype.removeContact=function(){return this.toggleForm("#remove-contact-form"),this.session.removeContact(this.currentContact),this.currentContact=null,$("#chat-title").text("Select a buddy to chat"),$("#messages").empty(),$("#remove-contact-msg").html("Select a buddy in the list above to remove."),$("#remove-contact-form .buttons").hide(),$("#edit-contact-jid").text("Select a buddy in the list above to update."),$("#edit-contact-name").val(""),$("#edit-contact-form input").hide(),$("#edit-contact-form .buttons").hide(),!1},t.prototype.updateContact=function(){var t;return this.toggleForm("#edit-contact-form"),t={jid:this.currentContact,name:$("#edit-contact-name").val(),groups:this.session.roster[this.currentContact].groups},this.session.updateContact(t),!1},t.prototype.toggleForm=function(t,e){var n=this;return t=$(t),$("form.overlay").each(function(){return this.id!==t.attr("id")?$(this).hide():void 0}),t.is(":hidden")?(e&&e(),t.fadeIn(100)):t.fadeOut(100,function(){return t[0].reset(),n.layout.resize(),e?e():void 0})},t.prototype.draw=function(){var t,e=this;return this.session.connected()?($("body").attr("id","chat-page"),$("#container").hide().empty(),$('<div id="alpha" class="sidebar column y-fill">\n <h2>Buddies <div id="search-roster-icon"></div></h2>\n <div id="search-roster-form"></div>\n <ul id="roster" class="selectable scroll y-fill"></ul>\n <div id="alpha-controls" class="controls">\n <div id="add-contact"></div>\n <div id="remove-contact"></div>\n <div id="edit-contact"></div>\n </div>\n <form id="add-contact-form" class="overlay" style="display:none;">\n <h2>Add Buddy</h2>\n <input id="add-contact-jid" type="email" maxlength="1024" placeholder="Account name"/>\n <input id="add-contact-name" type="text" maxlength="1024" placeholder="Real name"/>\n <fieldset class="buttons">\n <input id="add-contact-cancel" type="button" value="Cancel"/>\n <input id="add-contact-ok" type="submit" value="Add"/>\n </fieldset>\n </form>\n <form id="remove-contact-form" class="overlay" style="display:none;">\n <h2>Remove Buddy</h2>\n <p id="remove-contact-msg">Select a buddy in the list above to remove.</p>\n <fieldset class="buttons" style="display:none;">\n <input id="remove-contact-cancel" type="button" value="Cancel"/>\n <input id="remove-contact-ok" type="submit" value="Remove"/>\n </fieldset>\n </form>\n <form id="edit-contact-form" class="overlay" style="display:none;">\n <h2>Update Profile</h2>\n <p id="edit-contact-jid">Select a buddy in the list above to update.</p>\n <input id="edit-contact-name" type="text" maxlength="1024" placeholder="Real name" style="display:none;"/>\n <fieldset class="buttons" style="display:none;">\n <input id="edit-contact-cancel" type="button" value="Cancel"/>\n <input id="edit-contact-ok" type="submit" value="Save"/>\n </fieldset>\n </form>\n</div>\n<div id="beta" class="primary column x-fill y-fill">\n <h2 id="chat-title">Select a buddy to chat</h2>\n <ul id="messages" class="scroll y-fill"></ul>\n <form id="message-form">\n <input id="message" name="message" type="text" maxlength="1024" placeholder="Type a message and press enter to send"/>\n </form>\n</div>\n<div id="charlie" class="sidebar column y-fill">\n <h2>Notifications</h2>\n <ul id="notifications" class="scroll y-fill"></ul>\n <div id="charlie-controls" class="controls">\n <div id="clear-notices"></div>\n </div>\n</div>').appendTo("#container"),this.roster(),new Button("#clear-notices",ICONS.no),new Button("#add-contact",ICONS.plus),new Button("#remove-contact",ICONS.minus),new Button("#edit-contact",ICONS.user),$("#message").focus(function(){return $("form.overlay").fadeOut()}),$("#message-form").submit(function(){return e.send()}),$("#clear-notices").click(function(){return $("#notifications li").fadeOut(200)}),$("#add-contact").click(function(){return e.toggleForm("#add-contact-form")}),$("#remove-contact").click(function(){return e.toggleForm("#remove-contact-form")}),$("#edit-contact").click(function(){return e.toggleForm("#edit-contact-form",function(){return e.currentContact?($("#edit-contact-jid").text(e.currentContact),$("#edit-contact-name").val(e.session.roster[e.currentContact].name)):void 0})}),$("#add-contact-cancel").click(function(){return e.toggleForm("#add-contact-form")}),$("#remove-contact-cancel").click(function(){return e.toggleForm("#remove-contact-form")}),$("#edit-contact-cancel").click(function(){return e.toggleForm("#edit-contact-form")}),$("#add-contact-form").submit(function(){return e.addContact()}),$("#remove-contact-form").submit(function(){return e.removeContact()}),$("#edit-contact-form").submit(function(){return e.updateContact()}),$("#container").fadeIn(200),this.layout=this.resize(),t=function(){return e.layout.resize(),e.layout.resize()},new Filter({list:"#roster",icon:"#search-roster-icon",form:"#search-roster-form",attrs:["data-jid","data-name"],open:t,close:t})):(window.location.hash="",void 0)},t.prototype.resize=function(){var t,e,n,r,i;return t=$("#alpha"),e=$("#beta"),n=$("#charlie"),i=$("#message"),r=$("#message-form"),new Layout(function(){return n.css("left",t.width()+e.width()),i.width(r.width()-32)})},t}()}.call(this),function(){$(function(){var t,e,n,r,i,s;s=new Session,r=new NavBar(s),r.draw(),t={Messages:ICONS.chat,Logout:ICONS.power};for(n in t)e=t[n],r.addButton(n,e);return i={"/messages":new ChatPage(s),"/logout":new LogoutPage(s),"default":new LoginPage(s,"/messages/")},new Router(i).draw(),r.select($("#nav-link-messages").parent())})}.call(this);
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vines-web
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -167,8 +167,6 @@ files:
167
167
  - lib/vines/web.rb
168
168
  - public/assets/application.css
169
169
  - public/assets/application.js
170
- - public/assets/lib.js
171
- - public/assets/vendor.js
172
170
  - public/images/dark-gray.png
173
171
  - public/images/default-user.png
174
172
  - public/images/light-gray.png
@@ -197,7 +195,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
197
195
  version: '0'
198
196
  segments:
199
197
  - 0
200
- hash: 3400280797089473171
198
+ hash: -1388571909868132762
201
199
  requirements: []
202
200
  rubyforge_project:
203
201
  rubygems_version: 1.8.23
@@ -1 +0,0 @@
1
- !function(){this.Button=function(){function t(t,e,n){this.node=$(t),this.path=e,this.options=n||{},null==this.options.animate&&(this.options.animate=!0),this.draw()}return t.prototype.draw=function(){var t,e,n;return e=Raphael(this.node.get(0)),n="s"+(this.options.scale||.85),this.options.translation&&(n+=",t"+this.options.translation),t=e.path(this.path).attr({fill:this.options.fill||"#000",stroke:this.options.stroke||"#fff","stroke-width":this.options["stroke-width"]||.3,opacity:this.options.opacity||.6,transform:n}),this.options.animate?this.node.hover(function(){return t.animate({opacity:1},200)},function(){return t.animate({opacity:.6},200)}):void 0},t}()}.call(this),function(){this.Contact=function(){function t(t){t=$(t),this.jid=t.attr("jid"),this.name=t.attr("name"),this.ask=t.attr("ask"),this.subscription=t.attr("subscription"),this.groups=$("group",t).map(function(){return $(this).text()}).get(),this.presence=[]}return t.prototype.online=function(){return this.presence.length>0},t.prototype.offline=function(){return 0===this.presence.length},t.prototype.available=function(){var t;return this.online()&&function(){var e,n,i,r;for(i=this.presence,r=[],e=0,n=i.length;n>e;e++)t=i[e],t.away||r.push(t);return r}.call(this).length>0},t.prototype.away=function(){return!this.available()},t.prototype.status=function(){var t,e,n;return t=function(){var t,e,i,r;for(i=this.presence,r=[],t=0,e=i.length;e>t;t++)n=i[t],n.status&&!n.away&&r.push(n.status);return r}.call(this)[0]||"Available",e=function(){var t,e,i,r;for(i=this.presence,r=[],t=0,e=i.length;e>t;t++)n=i[t],n.status&&n.away&&r.push(n.status);return r}.call(this)[0]||"Away",this.offline()?"Offline":this.away()?e:t},t.prototype.update=function(t){var e;return this.presence=function(){var n,i,r,s;for(r=this.presence,s=[],n=0,i=r.length;i>n;n++)e=r[n],e.from!==t.from&&s.push(e);return s}.call(this),t.type||this.presence.push(t),"unsubscribed"===t.type?this.presence=[]:void 0},t}()}.call(this),function(){this.Filter=function(){function t(t){this.list=t.list,this.icon=t.icon,this.form=t.form,this.attrs=t.attrs,this.open=t.open,this.close=t.close,this.draw()}return t.prototype.draw=function(){var t,e,n=this;return $(this.icon).addClass("filter-button"),t=$('<form class="filter-form" style="display:none;"></form>').appendTo(this.form),e=$('<input class="filter-text" type="search" placeholder="Filter" results="5"/>').appendTo(t),this.icon&&new Button(this.icon,ICONS.search,{scale:.5,translation:"-16,-16"}),t.submit(function(){return!1}),e.keyup(function(){return n.filter(e)}),e.change(function(){return n.filter(e)}),e.click(function(){return n.filter(e)}),$(this.icon).click(function(){if(t.is(":hidden")){if(n.filter(e),t.show(),n.open)return n.open()}else if(t.hide(),t[0].reset(),n.filter(e),n.close)return n.close()})},t.prototype.filter=function(t){var e,n,i=this;return n=t.val().toLowerCase(),""===n?($("li",this.list).show(),void 0):(e=function(t,e){var i;return i=(t.attr(e)||"").toLowerCase(),-1!==i.indexOf(n)},$("> li",this.list).each(function(t,n){var r,s;return n=$(n),s=function(){var t,i,s,o;for(s=this.attrs,o=[],t=0,i=s.length;i>t;t++)r=s[t],e(n,r)&&o.push(!0);return o}.call(i),s.length>0?n.show():n.hide()}))},t}()}.call(this),function(){this.Layout=function(){function t(t){var e=this;this.fn=t,this.resize(),this.listen(),setTimeout(function(){return e.resize()},250)}return t.prototype.resize=function(){return this.fill(".x-fill","outerWidth","width"),this.fill(".y-fill","outerHeight","height"),this.fn()},t.prototype.fill=function(t,e,n){var i=this;return $(t).filter(":visible").each(function(r,s){var o,a,u;return s=$(s),a=s[e],u=a.call(s.parent(),!0),o=i.fixed(s,t,function(t){return a.call(t,!0)}),s[n].call(s,u-o)})},t.prototype.fixed=function(t,e,n){return t.siblings().not(e).not(".float").filter(":visible").map(function(){return n($(this))}).get().reduce(function(t,e){return t+e},0)},t.prototype.listen=function(){var t,e=this;return t=null,$(window).resize(function(){return clearTimeout(t),t=setTimeout(function(){return e.resize()},10),e.resize()})},t}()}.call(this),function(){this.LoginPage=function(){function t(t,e){this.session=t,this.startPage=e}return t.prototype.start=function(){var t,e,n,i,r=this;return $("#error").hide(),i=function(){var e,n,i,r;for(i=["#jid","#password"],r=[],e=0,n=i.length;n>e;e++)t=i[e],r.push($(t).val().trim());return r}(),e=i[0],n=i[1],0===e.length||0===n.length||-1===e.indexOf("@")?($("#error").show(),void 0):this.session.connect(e,n,function(t){return t?(localStorage.jid=e,$("#current-user-name").text(r.session.bareJid()),$("#current-user-avatar").attr("src",r.session.avatar(r.session.jid())),$("#current-user-avatar").attr("alt",r.session.bareJid()),$("#container").fadeOut(200,function(){return $("#navbar").show(),window.location.hash=r.startPage})):(r.session.disconnect(),$("#error").show(),$("#password").val("").focus(),void 0)})},t.prototype.draw=function(){var t,e=this;return this.session.disconnect(),t=localStorage.jid||"",$("#navbar").hide(),$("body").attr("id","login-page"),$("#container").hide().empty(),$('<form id="login-form">\n <div id="icon"></div>\n <h1>vines</h1>\n <fieldset id="login-form-controls">\n <input id="jid" name="jid" type="email" maxlength="1024" value="'+t+'" placeholder="Your user name"/>\n <input id="password" name="password" type="password" maxlength="1024" placeholder="Your password"/>\n <input id="start" type="submit" value="Sign in"/>\n </fieldset>\n <p id="error" style="display:none;">User name and password not found.</p>\n</form>').appendTo("#container"),$("#container").fadeIn(1e3),$("#login-form").submit(function(){return e.start(),!1}),$("#jid").keydown(function(){return $("#error").fadeOut()}),$("#password").keydown(function(){return $("#error").fadeOut()}),this.resize(),this.icon()},t.prototype.icon=function(){var t;return t={fill:"90-#ccc-#fff",stroke:"#fff","stroke-width":1.1,opacity:.95,scale:3,translation:"10,8",animate:!1},new Button("#icon",ICONS.chat,t)},t.prototype.resize=function(){var t,e,n;return n=$(window),t=$("#login-form"),e=function(){return t.css("top",n.height()/2-t.height()/2)},n.resize(e),e()},t}()}.call(this),function(){this.LogoutPage=function(){function t(t){this.session=t}return t.prototype.draw=function(){return window.location.hash="",window.location.reload()},t}()}.call(this),function(){this.NavBar=function(){function t(t){var e=this;this.session=t,this.session.onCard(function(t){return t.jid===e.session.bareJid()?$("#current-user-avatar").attr("src",e.session.avatar(t.jid)):void 0})}return t.prototype.draw=function(){var t=this;return $('<header id="navbar" class="x-fill">\n <h1 id="logo">vines&gt;</h1>\n <div id="current-user">\n <img id="current-user-avatar" alt="'+this.session.bareJid()+'" src="'+this.session.avatar(this.session.jid())+'"/>\n <div id="current-user-info">\n <h1 id="current-user-name">'+this.session.bareJid()+'</h1>\n <form id="current-user-presence-form">\n <span class="select">\n <span class="text">Available</span>\n <select id="current-user-presence">\n <optgroup label="Available">\n <option>Available</option>\n <option>Surfing the web</option>\n <option>Reading email</option>\n </optgroup>\n <optgroup label="Away">\n <option value="xa">Away</option>\n <option value="xa">Out to lunch</option>\n <option value="xa">On the phone</option>\n <option value="xa">In a meeting</option>\n </optgroup>\n </select>\n </span>\n </form>\n </div>\n </div>\n <nav id="app-nav" class="x-fill">\n <ul id="nav-links"></ul>\n </nav>\n</header>').appendTo("body"),$('<div id="container" class="x-fill y-fill"></div>').appendTo("body"),$("#current-user-presence").change(function(e){var n;return n=$("option:selected",e.currentTarget),$("#current-user-presence-form .text").text(n.text()),t.session.sendPresence("xa"===n.val(),n.text())})},t.prototype.addButton=function(t,e){var n,i,r=this;return n="nav-link-"+t.toLowerCase(),i=$('<li>\n <a id="'+n+'" href="#/'+t.toLowerCase()+'">\n <span>'+t+"</span>\n </a>\n</li>").appendTo("#nav-links"),this.button(n,e),i.click(function(t){return r.select(t.currentTarget)})},t.prototype.select=function(t){var e,n;return t=$(t),$("#nav-links li").removeClass("selected"),$("#nav-links li a").removeClass("selected"),t.addClass("selected"),$("a",t).addClass("selected"),e=$("#nav-links svg path"),e.attr("opacity","0.6"),e.css("opacity","0.6"),n=$("svg path",t),n.attr("opacity","1.0"),n.css("opacity","1.0")},t.prototype.button=function(t,e){var n,i,r;return r=Raphael(t),n=r.path(e).attr({fill:"#fff",stroke:"#000","stroke-width":.3,opacity:.6}),i=$("#"+t),i.hover(function(){return n.animate({opacity:1},200)},function(){return i.hasClass("selected")?void 0:n.animate({opacity:.6},200)}),i.get(0)},t}()}.call(this),function(){this.Notification=function(){function t(t){this.text=t,this.draw()}return t.prototype.draw=function(){var t,e,n,i;return n=$('<div class="notification float" style="display:none;"></div>').appendTo("body"),n.text(this.text),i=n.outerHeight()/2,e=n.outerWidth()/2,n.css({marginTop:"-"+i+"px",marginLeft:"-"+e+"px"}),n.fadeIn(200),t=function(){return n.fadeOut(200,function(){return n.remove()})},setTimeout(t,1500)},t}()}.call(this),function(){this.Router=function(){function t(t){var e=this;this.pages=t,this.routes=this.build(),$(window).bind("hashchange",function(){return e.draw()})}return t.prototype.build=function(){var t,e,n,i,r,s,o,a;o=[],a=this.pages;for(r in a)i=a[r],o.push(s={args:[],page:i,re:null}),"default"!==r?(e=function(){var e,n,i,s;for(i=r.split("/"),s=[],e=0,n=i.length;n>e;e++)t=i[e],t.length>0&&s.push(t);return s}(),n=function(t){return":"===t[0]?(s.args.push(t.replace(":","")),"(/[^/]+)?"):"/"+t},s.re=new RegExp("#"+function(){var i,r,s;for(s=[],i=0,r=e.length;r>i;i++)t=e[i],s.push(n(t));return s}().join(""))):s.re=r;return o},t.prototype.draw=function(){var t,e,n,i,r,s,o,a,u,p;if(a=this.match(),r=a[0],t=a[1],r||(r=this.defaultRoute()),r){for(u=[{},0],i=u[0],e=u[1],p=r.args,s=0,o=p.length;o>s;s++)n=p[s],i[n]=t[e++];return r.page.draw(i)}},t.prototype.match=function(){var t,e,n,i,r,s,o;for(o=this.routes,r=0,s=o.length;s>r;r++)if(i=o[r],n=window.location.hash.match(i.re))return e=function(){var e,i,r,s;for(r=n.slice(1),s=[],e=0,i=r.length;i>e;e++)t=r[e],s.push(t.replace("/",""));return s}(),[i,e];return[]},t.prototype.defaultRoute=function(){var t,e,n,i;for(i=this.routes,e=0,n=i.length;n>e;e++)if(t=i[e],"default"===t.re)return t},t}()}.call(this),function(){this.Session=function(){function t(){this.xmpp=new Strophe.Connection("/xmpp"),this.roster={},this.listeners={card:[],message:[],presence:[],roster:[]}}return t.prototype.connect=function(t,e,n){var i=this;return this.xmpp.connect(t,e,function(t){switch(t){case Strophe.Status.AUTHFAIL:case Strophe.Status.CONNFAIL:return n(!1);case Strophe.Status.CONNECTED:return i.xmpp.addHandler(function(t){return i.handleIq(t)},null,"iq"),i.xmpp.addHandler(function(t){return i.handleMessage(t)},null,"message"),i.xmpp.addHandler(function(t){return i.handlePresence(t)},null,"presence"),n(!0),i.findRoster(function(){return i.notify("roster"),i.xmpp.send(i.xml("<presence/>")),i.findCards()})}})},t.prototype.disconnect=function(){return this.xmpp.disconnect()},t.prototype.onCard=function(t){return this.listeners.card.push(t)},t.prototype.onRoster=function(t){return this.listeners.roster.push(t)},t.prototype.onMessage=function(t){return this.listeners.message.push(t)},t.prototype.onPresence=function(t){return this.listeners.presence.push(t)},t.prototype.connected=function(){return this.xmpp.jid&&this.xmpp.jid.length>0},t.prototype.jid=function(){return this.xmpp.jid},t.prototype.bareJid=function(){return this.xmpp.jid.split("/")[0]},t.prototype.uniqueId=function(){return this.xmpp.getUniqueId()},t.prototype.avatar=function(t){var e;return e=this.loadCard(t),e&&e.photo?"data:"+e.photo.type+";base64,"+e.photo.binval:"/lib/images/default-user.png"},t.prototype.loadCard=function(t){var e;return t=t.split("/")[0],e=localStorage["vcard:"+t],e?JSON.parse(e):void 0},t.prototype.storeCard=function(t){return localStorage["vcard:"+t.jid]=JSON.stringify(t)},t.prototype.findCards=function(){var t,e,n,i,r=this;return n=function(){var n,i;n=this.roster,i=[];for(e in n)t=n[e],this.loadCard(e)||i.push(e);return i}.call(this),this.loadCard(this.bareJid())||n.push(this.bareJid()),i=function(t){return r.findCard(n.shift(),i),t?(r.storeCard(t),r.notify("card",t)):void 0},this.findCard(n.shift(),i)},t.prototype.findCard=function(t,e){var n;if(t)return n=this.xml('<iq id="'+this.uniqueId()+'" to="'+t+'" type="get">\n <vCard xmlns="vcard-temp"/>\n</iq>'),this.sendIQ(n,function(n){var i,r,s,o,a;return r=$("vCard",n),s=$("PHOTO",r),o=$("TYPE",s).text(),i=$("BINVAL",s).text(),s=o&&i?{type:o,binval:i.replace(/\n/g,"")}:null,a={jid:t,photo:s,retrieved:new Date},e(r.size()>0?a:null)})},t.prototype.parseRoster=function(t){return $("item",t).map(function(){return new Contact(this)}).get()},t.prototype.findRoster=function(t){var e,n=this;return e=this.xml("<iq id='"+this.uniqueId()+'\' type="get">\n <query xmlns="jabber:iq:roster"/>\n</iq>'),this.sendIQ(e,function(e){var i,r,s,o;for(r=n.parseRoster(e),s=0,o=r.length;o>s;s++)i=r[s],n.roster[i.jid]=i;return t()})},t.prototype.sendMessage=function(t,e){var n;return n=this.xml('<message id="'+this.uniqueId()+'" to="'+t+'" type="chat">\n <body></body>\n</message>'),$("body",n).text(e),this.xmpp.send(n)},t.prototype.sendPresence=function(t,e){var n;return n=$(this.xml("<presence/>")),t?(n.append($(this.xml("<show>xa</show>"))),"Away"!==e&&n.append($(this.xml("<status/>")).text(e))):"Available"!==e&&n.append($(this.xml("<status/>")).text(e)),this.xmpp.send(n)},t.prototype.sendIQ=function(t,e){return this.xmpp.sendIQ(t,e,e,5e3)},t.prototype.updateContact=function(t,e){var n,i,r,s,o;for(i=this.xml('<iq id="'+this.uniqueId()+'" type="set">\n <query xmlns="jabber:iq:roster">\n <item name="" jid="'+t.jid+'"/>\n </query>\n</iq>'),$("item",i).attr("name",t.name),o=t.groups,r=0,s=o.length;s>r;r++)n=o[r],$("item",i).append($(this.xml("<group></group>")).text(n));return this.xmpp.send(i),e?this.sendSubscribe(t.jid):void 0},t.prototype.removeContact=function(t){var e;return e=this.xml('<iq id="'+this.uniqueId()+'" type="set">\n <query xmlns="jabber:iq:roster">\n <item jid="'+t+'" subscription="remove"/>\n </query>\n</iq>'),this.xmpp.send(e)},t.prototype.sendSubscribe=function(t){return this.xmpp.send(this.presence(t,"subscribe"))},t.prototype.sendSubscribed=function(t){return this.xmpp.send(this.presence(t,"subscribed"))},t.prototype.sendUnsubscribed=function(t){return this.xmpp.send(this.presence(t,"unsubscribed"))},t.prototype.presence=function(t,e){return this.xml('<presence\n id="'+this.uniqueId()+'"\n to="'+t+'"\n type="'+e+'"/>')},t.prototype.handleIq=function(t){var e,n,i,r,s,o,a;if(t=$(t),s=t.attr("type"),i=t.find("query").attr("xmlns"),"set"===s&&"jabber:iq:roster"===i){for(n=this.parseRoster(t),o=0,a=n.length;a>o;o++)e=n[o],"remove"===e.subscription?delete this.roster[e.jid]:(r=this.roster[e.jid],r&&(e.presence=r.presence),this.roster[e.jid]=e);this.notify("roster")}return!0},t.prototype.handleMessage=function(t){var e,n,i,r,s;return t=$(t),r=t.attr("to"),n=t.attr("from"),s=t.attr("type"),i=t.find("thread").first(),e=t.find("body").first(),this.notify("message",{to:r,from:n,type:s,thread:i.text(),text:e.text(),received:new Date,node:t}),!0},t.prototype.handlePresence=function(t){var e,n,i,r,s,o,a;return t=$(t),o=t.attr("to"),n=t.attr("from"),a=t.attr("type"),r=t.find("show").first(),s=t.find("status").first(),i={to:o,from:n,status:s.text(),show:r.text(),type:a,offline:"unavailable"===a||"error"===a,away:"away"===r.text()||"xa"===r.text(),dnd:"dnd"===r.text(),node:t},e=this.roster[n.split("/")[0]],e&&e.update(i),this.notify("presence",i),!0},t.prototype.notify=function(t,e){var n,i,r,s,o;for(s=this.listeners[t]||[],o=[],i=0,r=s.length;r>i;i++)n=s[i],o.push(n(e));return o},t.prototype.xml=function(t){return $.parseXML(t).documentElement},t}()}.call(this),function(){this.Transfer=function(){function t(t){this.session=t.session,this.file=t.file,this.to=t.to,this.progress=t.progress,this.complete=t.complete,this.chunks=new e(this.file),this.opened=!1,this.closed=!1,this.sid=this.session.uniqueId(),this.seq=0,this.sent=0}var e;return t.prototype.start=function(){var t,e=this;return t=$('<iq id="'+this.session.uniqueId()+'" to="'+this.to+'" type="set">\n <si xmlns="http://jabber.org/protocol/si" id="'+this.session.uniqueId()+'" profile="http://jabber.org/protocol/si/profile/file-transfer">\n <file xmlns="http://jabber.org/protocol/si/profile/file-transfer" name="" size="'+this.file.size+'"/>\n <feature xmlns="http://jabber.org/protocol/feature-neg">\n <x xmlns="jabber:x:data" type="form">\n <field var="stream-method" type="list-single">\n <option><value>http://jabber.org/protocol/ibb</value></option>\n </field>\n </x>\n </feature>\n </si>\n</iq>'),$("file",t).attr("name",this.file.name),this.session.sendIQ(t.get(0),function(t){var n,i,r;return i=$('si feature x field[var="stream-method"] value',t),r=function(){var t,e,r;for(r=[],t=0,e=i.length;e>t;t++)n=i[t],"http://jabber.org/protocol/ibb"===$(n).text()&&r.push(!0);return r}().length>0,r?e.open():void 0})},t.prototype.open=function(){var t,e=this;return t=$('<iq id="'+this.session.uniqueId()+'" to="'+this.to+'" type="set">\n <open xmlns="http://jabber.org/protocol/ibb" sid="'+this.sid+'" block-size="4096"/>\n</iq>'),this.session.sendIQ(t.get(0),function(t){return e.ok(t)?(e.opened=!0,e.sendChunk()):void 0})},t.prototype.sendChunk=function(){var t=this;if(!this.closed)return this.chunks.chunk(function(e){var n;return e?(n=$('<iq id="'+t.session.uniqueId()+'" to="'+t.to+'" type="set">\n <data xmlns="http://jabber.org/protocol/ibb" sid="'+t.sid+'" seq="'+t.seq++ +'">'+e+"</data>\n</iq>"),t.seq>65535&&(t.seq=0),t.session.sendIQ(n.get(0),function(e){var n;if(t.ok(e))return n=Math.ceil(100*(++t.sent/t.chunks.total)),t.progress(n),t.sendChunk()})):(t.close(),void 0)})},t.prototype.close=function(){var t;if(!this.closed)return this.closed=!0,t=$('<iq id="'+this.session.uniqueId()+'" to="'+this.to+'" type="set">\n <close xmlns="http://jabber.org/protocol/ibb" sid="'+this.sid+'"/>\n</iq>'),this.session.sendIQ(t.get(0),function(){}),this.complete()},t.prototype.stop=function(){return this.opened?this.close():this.complete()},t.prototype.ok=function(t){return"result"===$(t).attr("type")},e=function(){function t(t){this.file=t,this.total=Math.ceil(this.file.size/e),this.slice=this.file.slice||this.file.webkitSlice||this.file.mozSlice,this.pos=0}var e;return e=3072,t.prototype.chunk=function(t){var n,i,r,s;return s=this.pos,i=this.pos+e,this.pos=i,s>this.file.size?t(null):(n=this.slice.call(this.file,s,i),r=new FileReader,r.onload=function(e){return t(btoa(e.target.result))},r.readAsBinaryString(n))},t}(),t}()}.call(this),function(){}.call(this);
@@ -1,8 +0,0 @@
1
- var ICONS={"?":"M16,1.466C7.973,1.466,1.466,7.973,1.466,16c0,8.027,6.507,14.534,14.534,14.534c8.027,0,14.534-6.507,14.534-14.534C30.534,7.973,24.027,1.466,16,1.466z M17.328,24.371h-2.707v-2.596h2.707V24.371zM17.328,19.003v0.858h-2.707v-1.057c0-3.19,3.63-3.696,3.63-5.963c0-1.034-0.924-1.826-2.134-1.826c-1.254,0-2.354,0.924-2.354,0.924l-1.541-1.915c0,0,1.519-1.584,4.137-1.584c2.487,0,4.796,1.54,4.796,4.136C21.156,16.208,17.328,16.627,17.328,19.003z",i:"M16,1.466C7.973,1.466,1.466,7.973,1.466,16c0,8.027,6.507,14.534,14.534,14.534c8.027,0,14.534-6.507,14.534-14.534C30.534,7.973,24.027,1.466,16,1.466z M14.757,8h2.42v2.574h-2.42V8z M18.762,23.622H16.1c-1.034,0-1.475-0.44-1.475-1.496v-6.865c0-0.33-0.176-0.484-0.484-0.484h-0.88V12.4h2.662c1.035,0,1.474,0.462,1.474,1.496v6.887c0,0.309,0.176,0.484,0.484,0.484h0.88V23.622z",$:"M16,1.466C7.973,1.466,1.466,7.973,1.466,16c0,8.027,6.507,14.534,14.534,14.534c8.027,0,14.534-6.507,14.534-14.534C30.534,7.973,24.027,1.466,16,1.466z M17.255,23.88v2.047h-1.958v-2.024c-3.213-0.44-4.621-3.08-4.621-3.08l2.002-1.673c0,0,1.276,2.223,3.586,2.223c1.276,0,2.244-0.683,2.244-1.849c0-2.729-7.349-2.398-7.349-7.459c0-2.2,1.738-3.785,4.137-4.159V5.859h1.958v2.046c1.672,0.22,3.652,1.1,3.652,2.993v1.452h-2.596v-0.704c0-0.726-0.925-1.21-1.959-1.21c-1.32,0-2.288,0.66-2.288,1.584c0,2.794,7.349,2.112,7.349,7.415C21.413,21.614,19.785,23.506,17.255,23.88z",undo:"M12.981,9.073V6.817l-12.106,6.99l12.106,6.99v-2.422c3.285-0.002,9.052,0.28,9.052,2.269c0,2.78-6.023,4.263-6.023,4.263v2.132c0,0,13.53,0.463,13.53-9.823C29.54,9.134,17.952,8.831,12.981,9.073z",merge:"M26.92,10.928l-3.574-2.064v2.297h-6.414c-1.123,0.084-3.062-1.19-5.218-2.881C9.543,6.676,7.062,4.709,3.74,4.656H1.505v3.662H3.74c1.627-0.047,3.633,1.232,5.769,2.883c0.796,0.577,1.599,1.213,2.45,1.788c-0.851,0.575-1.653,1.212-2.45,1.789c-2.136,1.646-4.142,2.929-5.767,2.882H1.505v3.668h2.236c3.315-0.047,5.797-2.02,7.975-3.621c2.156-1.691,4.094-2.966,5.218-2.883h6.412v2.297l3.574-2.062l3.576-2.064L26.92,10.928z",split:"M23.346,23.979l3.576-2.062l3.574-2.062l-3.576-2.064l-3.574-2.062v2.293c-0.876,0-1.894,0-2.235,0c-1.626,0.046-3.633-1.233-5.768-2.883c-0.796-0.578-1.599-1.214-2.45-1.789c0.851-0.575,1.653-1.211,2.45-1.789c2.135-1.647,4.142-2.929,5.766-2.882l2.237-0.001v2.296l3.574-2.063l3.576-2.064L26.92,4.78l-3.574-2.064v2.295H21.11c-3.321,0.047-5.803,2.019-7.975,3.622c-2.156,1.691-4.094,2.965-5.218,2.882H1.505v3.664h6.414c1.123-0.083,3.062,1.191,5.218,2.882c2.171,1.604,4.652,3.575,7.974,3.622h2.235V23.979L23.346,23.979z",fork:"M26.268,22.562l3.514-2.03l-3.514-2.028l-3.515-2.028v2.256c-0.922-0.002-2.45-0.002-2.883-0.002c-1.28-0.03-2.12-0.431-2.994-1.148c-1.303-1.07-2.415-2.997-3.756-4.853c-0.682-0.923-1.442-1.839-2.454-2.575C9.664,9.415,8.355,8.902,6.9,8.912H0.593v3.604H6.9c0.877,0.016,1.432,0.302,2.189,1.012c1.12,1.055,2.212,3.072,3.718,4.983c1.476,1.893,3.747,3.804,7.041,3.823h2.905v2.256L26.268,22.562zM11.401,8.912c0.04,0.028,0.082,0.053,0.121,0.082c1.202,0.874,2.07,1.947,2.757,2.88c0.158,0.218,0.298,0.428,0.448,0.642h8.026v2.257l3.515-2.028l3.514-2.029l-3.514-2.029l-3.515-2.03v2.255H11.401z",shuffle:"M9.089,13.133c0.346,0.326,0.69,0.75,1.043,1.228c0.051-0.073,0.099-0.144,0.15-0.219c0.511-0.75,1.09-1.599,1.739-2.421c0.103-0.133,0.211-0.245,0.316-0.371c-0.487-0.572-1.024-1.12-1.672-1.592C9.663,9.02,8.354,8.506,6.899,8.517H0.593v3.604H6.9C7.777,12.138,8.333,12.422,9.089,13.133zM22.753,16.082v2.256c-0.922-0.002-2.45-0.002-2.883-0.002c-1.28-0.03-2.12-0.438-2.994-1.148c-0.378-0.311-0.74-0.7-1.097-1.133c-0.268,0.376-0.538,0.764-0.813,1.168c-0.334,0.488-0.678,0.99-1.037,1.484c-0.089,0.121-0.189,0.246-0.283,0.369c1.455,1.528,3.473,2.846,6.202,2.862h2.905v2.256l3.515-2.026l3.521-2.03l-3.521-2.028L22.753,16.082zM16.876,13.27c0.874-0.712,1.714-1.118,2.994-1.148c0.433,0,1.961,0,2.883-0.002v2.256l3.515-2.026l3.521-2.028l-3.521-2.029l-3.515-2.027V8.52h-2.905c-3.293,0.02-5.563,1.93-7.041,3.822c-1.506,1.912-2.598,3.929-3.718,4.982C8.332,18.033,7.777,18.32,6.9,18.336H0.593v3.604H6.9c1.455,0.011,2.764-0.502,3.766-1.242c1.012-0.735,1.772-1.651,2.454-2.573C14.461,16.267,15.574,14.34,16.876,13.27z",refresh:"M15.999,4.308c1.229,0.001,2.403,0.214,3.515,0.57L18.634,6.4h6.247l-1.562-2.706L21.758,0.99l-0.822,1.425c-1.54-0.563-3.2-0.878-4.936-0.878c-7.991,0-14.468,6.477-14.468,14.468c0,3.317,1.128,6.364,3.005,8.805l2.2-1.689c-1.518-1.973-2.431-4.435-2.436-7.115C4.312,9.545,9.539,4.318,15.999,4.308zM27.463,7.203l-2.2,1.69c1.518,1.972,2.431,4.433,2.435,7.114c-0.011,6.46-5.238,11.687-11.698,11.698c-1.145-0.002-2.24-0.188-3.284-0.499l0.828-1.432H7.297l1.561,2.704l1.562,2.707l0.871-1.511c1.477,0.514,3.058,0.801,4.709,0.802c7.992-0.002,14.468-6.479,14.47-14.47C30.468,12.689,29.339,9.643,27.463,7.203z",smile2:"M16,1.466C7.973,1.466,1.466,7.973,1.466,16c0,8.027,6.507,14.534,14.534,14.534c8.027,0,14.534-6.507,14.534-14.534C30.534,7.973,24.027,1.466,16,1.466zM16,29.534C8.539,29.534,2.466,23.462,2.466,16C2.466,8.539,8.539,2.466,16,2.466c7.462,0,13.535,6.072,13.535,13.533C29.534,23.462,23.462,29.534,16,29.534zM11.104,14c0.932,0,1.688-1.483,1.688-3.312s-0.755-3.312-1.688-3.312s-1.688,1.483-1.688,3.312S10.172,14,11.104,14zM20.729,14c0.934,0,1.688-1.483,1.688-3.312s-0.756-3.312-1.688-3.312c-0.932,0-1.688,1.483-1.688,3.312S19.798,14,20.729,14zM8.143,21.189C10.458,24.243,13.148,26,16.021,26c2.969,0,5.745-1.868,8.11-5.109c-2.515,1.754-5.292,2.734-8.215,2.734C13.164,23.625,10.54,22.756,8.143,21.189z",smile:"M16,1.466C7.973,1.466,1.466,7.973,1.466,16c0,8.027,6.507,14.534,14.534,14.534c8.027,0,14.534-6.507,14.534-14.534C30.534,7.973,24.027,1.466,16,1.466zM20.729,7.375c0.934,0,1.688,1.483,1.688,3.312S21.661,14,20.729,14c-0.932,0-1.688-1.483-1.688-3.312S19.798,7.375,20.729,7.375zM11.104,7.375c0.932,0,1.688,1.483,1.688,3.312S12.037,14,11.104,14s-1.688-1.483-1.688-3.312S10.172,7.375,11.104,7.375zM16.021,26c-2.873,0-5.563-1.757-7.879-4.811c2.397,1.564,5.021,2.436,7.774,2.436c2.923,0,5.701-0.98,8.215-2.734C21.766,24.132,18.99,26,16.021,26z",alarm:"M15.499,5.125c-0.553,0-0.999,0.448-0.999,1v9.221L8.454,17.99c-0.506,0.222-0.736,0.812-0.514,1.318c0.164,0.375,0.53,0.599,0.915,0.599c0.134,0,0.271-0.027,0.401-0.085l6.626-2.898c0.005-0.002,0.009-0.004,0.013-0.006l0.004-0.002c0.015-0.006,0.023-0.02,0.037-0.025c0.104-0.052,0.201-0.113,0.279-0.195c0.034-0.034,0.053-0.078,0.079-0.117c0.048-0.064,0.101-0.127,0.13-0.204c0.024-0.06,0.026-0.125,0.038-0.189c0.013-0.064,0.038-0.121,0.038-0.186V6.124C16.5,5.573,16.052,5.125,15.499,5.125zM31.125,6.832c0-3.832-3.105-6.938-6.938-6.938c-1.938,0-3.686,0.796-4.94,2.077C18.05,1.652,16.798,1.466,15.5,1.466c-1.334,0-2.62,0.195-3.847,0.531c-1.259-1.295-3.016-2.103-4.965-2.103C2.856-0.106-0.25,3-0.25,6.832c0,1.845,0.726,3.517,1.901,4.76c-0.443,1.39-0.685,2.87-0.685,4.408c0,8.027,6.507,14.534,14.534,14.534c8.027,0,14.534-6.507,14.534-14.534c0-1.575-0.259-3.087-0.722-4.508C30.436,10.261,31.125,8.629,31.125,6.832zM15.5,27.533C9.139,27.533,3.966,22.359,3.966,16c0-6.36,5.173-11.534,11.534-11.534c6.361,0,11.533,5.173,11.533,11.534C27.033,22.361,21.859,27.533,15.5,27.533z",clock:"M16,1.466C7.973,1.466,1.466,7.973,1.466,16c0,8.027,6.507,14.534,14.534,14.534c8.027,0,14.534-6.507,14.534-14.534C30.534,7.973,24.027,1.466,16,1.466zM16,27.533C9.639,27.533,4.466,22.359,4.466,16C4.466,9.64,9.639,4.466,16,4.466c6.361,0,11.533,5.173,11.533,11.534C27.533,22.361,22.359,27.533,16,27.533zM15.999,5.125c-0.553,0-0.999,0.448-0.999,1v9.221L8.954,17.99c-0.506,0.222-0.736,0.812-0.514,1.318c0.164,0.375,0.53,0.599,0.915,0.599c0.134,0,0.271-0.027,0.401-0.085l6.626-2.898c0.005-0.002,0.009-0.004,0.013-0.006l0.004-0.002c0.015-0.006,0.023-0.02,0.037-0.025c0.104-0.052,0.201-0.113,0.279-0.195c0.034-0.034,0.053-0.078,0.079-0.117c0.048-0.064,0.101-0.127,0.13-0.204c0.024-0.06,0.026-0.125,0.038-0.189C16.975,16.121,17,16.064,17,15.999V6.124C17,5.573,16.552,5.125,15.999,5.125z",globeAlt2:"M16,1.466C7.973,1.466,1.466,7.973,1.466,16c0,8.027,6.507,14.534,14.534,14.534c8.027,0,14.534-6.507,14.534-14.534C30.534,7.973,24.027,1.466,16,1.466zM8.251,7.48c0.122,0.055,0.255,0.104,0.28,0.137C8.57,7.668,8.621,7.823,8.557,7.861C8.492,7.9,8.39,7.887,8.376,7.771c-0.013-0.115-0.026-0.128-0.18-0.18c-0.022-0.007-0.035-0.01-0.051-0.015C8.18,7.544,8.216,7.512,8.251,7.48zM7.733,7.974c0.031,0.087,0.113,0.125,0,0.17C7.673,8.168,7.611,8.172,7.559,8.165C7.617,8.102,7.672,8.035,7.733,7.974zM16,27.533C9.639,27.533,4.466,22.36,4.466,16c0-0.085,0.011-0.168,0.013-0.254c0.004-0.003,0.008-0.006,0.012-0.009c0.129-0.102,0.283-0.359,0.334-0.45c0.052-0.089,0.181-0.154,0.116-0.256c-0.059-0.096-0.292-0.23-0.407-0.261c0.01-0.099,0.032-0.195,0.045-0.294c0.063,0.077,0.137,0.17,0.208,0.194c0.115,0.038,0.501,0.052,0.566,0.052c0.063,0,0.334,0.014,0.386-0.064c0.051-0.077,0.09-0.077,0.154-0.077c0.064,0,0.18,0.231,0.271,0.257c0.089,0.026,0.257,0.013,0.244,0.181c-0.012,0.166,0.077,0.309,0.167,0.321c0.09,0.013,0.296-0.194,0.296-0.194s0,0.322-0.012,0.438C6.846,15.698,7,16.124,7,16.124s0.193,0.397,0.244,0.488c0.052,0.09,0.27,0.36,0.27,0.476c0,0.117,0.026,0.297,0.104,0.297s0.155-0.206,0.244-0.335c0.091-0.128,0.117-0.31,0.155-0.438c0.039-0.129,0.039-0.36,0.039-0.45c0-0.091,0.076-0.168,0.257-0.245c0.181-0.077,0.309-0.296,0.463-0.412c0.155-0.116,0.142-0.309,0.452-0.309c0.308,0,0.282,0,0.36-0.078c0.077-0.077,0.154-0.128,0.192,0.013c0.039,0.142,0.257,0.347,0.296,0.399c0.039,0.052,0.116,0.193,0.104,0.348c-0.013,0.153,0.012,0.334,0.077,0.334c0.064,0,0.193-0.219,0.193-0.219s0.283-0.192,0.27,0.014c-0.014,0.205,0.025,0.425,0.025,0.552c0,0.13,0.232,0.438,0.232,0.362c0-0.079,0.103-0.296,0.103-0.413c0-0.114,0.064-0.063,0.231,0.051c0.167,0.116,0.283,0.349,0.283,0.349s0.168,0.154,0.193,0.219c0.026,0.064,0.206-0.025,0.244-0.104c0.039-0.076,0.065-0.115,0.167-0.141c0.104-0.026,0.231-0.026,0.271-0.168c0.039-0.142,0.154-0.308,0-0.502c-0.154-0.193-0.232-0.321-0.347-0.412c-0.117-0.09-0.206-0.322-0.206-0.322s0.244-0.218,0.321-0.296c0.079-0.077,0.193-0.025,0.207,0.064c0.013,0.091-0.115,0.168-0.141,0.361c-0.026,0.192,0.154,0.257,0.206,0.192c0.051-0.065,0.18-0.219,0.18-0.257c0-0.039-0.089-0.026-0.102-0.167c-0.013-0.142,0.166-0.245,0.23-0.207c0.066,0.039,0.477-0.051,0.67-0.154s0.308-0.322,0.425-0.412c0.116-0.089,0.515-0.386,0.489-0.527c-0.026-0.142,0.012-0.334-0.09-0.515c-0.103-0.18-0.232-0.295-0.283-0.373c-0.051-0.077,0.219-0.09,0.347-0.206c0.129-0.116,0-0.219-0.064-0.206c-0.064,0.013-0.232,0.052-0.296,0.039c-0.064-0.013-0.103-0.077-0.206-0.155c-0.102-0.077,0.026-0.192,0.091-0.179c0.064,0.013,0.23-0.129,0.308-0.193c0.077-0.064,0.193-0.115,0.154-0.051c-0.038,0.064-0.128,0.296-0.026,0.309c0.104,0.013,0.348-0.193,0.388-0.18c0.038,0.013,0.102,0.18,0.064,0.257c-0.039,0.077-0.039,0.206,0.013,0.193c0.051-0.013,0.154-0.129,0.18-0.09c0.027,0.039,0.154,0.116,0.09,0.257c-0.063,0.142-0.193,0.193-0.039,0.284c0.154,0.089,0.206,0.012,0.322-0.052c0.115-0.064,0.193-0.347,0.128-0.438c-0.064-0.09-0.218-0.27-0.218-0.334c0-0.064,0.257-0.064,0.257-0.167s0.09-0.18,0.18-0.219c0.091-0.039,0.206-0.206,0.244-0.154c0.039,0.052,0.271,0.116,0.334,0.039c0.064-0.077,0.4-0.36,0.605-0.515c0.206-0.154,0.283-0.334,0.336-0.515c0.051-0.18,0.128-0.296,0.102-0.437v0c0.077,0.18,0.09,0.309,0.077,0.45c-0.013,0.142,0,0.438,0.026,0.476c0.025,0.039,0.129,0.128,0.192,0.103c0.064-0.025-0.025-0.283-0.025-0.334c0-0.052,0.09-0.129,0.142-0.142c0.052-0.013,0-0.231-0.065-0.322c-0.063-0.09-0.154-0.142-0.102-0.154c0.051-0.013,0.115-0.116,0.077-0.142c-0.039-0.025-0.014-0.116-0.103-0.09c-0.065,0.019-0.241-0.015-0.235,0.095c-0.037-0.11-0.116-0.183-0.216-0.172c-0.116,0.013-0.181,0.077-0.296,0.077s-0.025-0.18-0.077-0.18c-0.051,0-0.168,0.167-0.231,0.077c-0.064-0.09,0.18-0.206,0.373-0.27c0.192-0.064,0.514-0.438,0.644-0.451c0.128-0.013,0.45,0.026,0.733,0.013c0.283-0.013,0.373-0.129,0.463-0.064s0.283,0.142,0.399,0.129c0.116-0.014,0.064,0,0.244-0.129c0.18-0.129,0.348-0.193,0.438-0.296c0.09-0.103,0.335-0.18,0.348-0.077c0.014,0.103-0.026,0.206,0.077,0.206s0.258-0.103,0.386-0.154c0.129-0.051,0.231-0.116,0.231-0.116s-0.527,0.36-0.655,0.438c-0.129,0.077-0.438,0.129-0.567,0.283c-0.128,0.155-0.205,0.206-0.192,0.374c0.014,0.167,0.231,0.386,0.128,0.54c-0.103,0.154-0.141,0.373-0.141,0.373s0.154-0.219,0.373-0.36s0.348-0.334,0.425-0.412s0.309-0.091,0.309-0.181s0.064-0.206,0.104-0.309c0.038-0.103-0.077-0.078,0-0.206c0.076-0.129,0.064-0.232,0.45-0.232s0.257,0.026,0.566,0.013c0.309-0.013,0.424-0.167,0.72-0.245c0.296-0.077,0.527-0.128,0.618-0.089c0.09,0.038,0.232,0.012,0.141-0.078c-0.089-0.09-0.295-0.219-0.193-0.245c0.104-0.026,0.207-0.039,0.246-0.142c0.039-0.103-0.142-0.283-0.039-0.386c0.104-0.103-0.077-0.231-0.207-0.257c-0.128-0.025-0.63,0.026-0.731-0.025c-0.104-0.052-0.271-0.116-0.322-0.078c-0.052,0.039-0.168,0.245-0.168,0.245s-0.09,0.025-0.168-0.09c-0.076-0.116-0.5-0.103-0.629-0.103s-0.271,0.025-0.413,0.039c-0.141,0.013-0.219,0.052-0.322-0.039c-0.102-0.09-0.243-0.129-0.296-0.167c-0.051-0.039-0.334-0.039-0.553-0.012c-0.218,0.025-0.438,0.025-0.438,0.025s-0.104-0.039-0.257-0.129c-0.154-0.09-0.309-0.154-0.361-0.154c-0.051,0-0.449,0.064-0.539,0c-0.091-0.064-0.181-0.103-0.245-0.103s-0.115-0.103-0.038-0.103s0.437-0.103,0.437-0.103s-0.103-0.142-0.231-0.142c-0.128,0-0.359-0.064-0.424-0.064s-0.014,0.064-0.142,0.039c-0.13-0.026-0.258-0.078-0.335-0.026c-0.076,0.051-0.258,0.128-0.064,0.18c0.193,0.052,0.373,0,0.425,0.078c0.052,0.077,0,0.115,0,0.167s-0.103,0.193-0.167,0.219c-0.064,0.025-0.143-0.039-0.27,0.025c-0.129,0.064-0.451,0.013-0.49,0.052c-0.038,0.039-0.115-0.103-0.18-0.077c-0.064,0.025-0.232,0.193-0.322,0.18c-0.089-0.013-0.206-0.103-0.206-0.206s-0.038-0.232-0.077-0.258c-0.038-0.025-0.322-0.039-0.425-0.025c-0.103,0.013-0.424,0.038-0.477,0.09c-0.052,0.052-0.193,0.09-0.283,0.09s-0.167-0.09-0.36-0.116c-0.192-0.026-0.617-0.039-0.669-0.026s-0.218-0.025-0.155-0.077c0.065-0.051,0.257-0.219,0.143-0.295c-0.117-0.078-0.375-0.078-0.489-0.09c-0.117-0.013-0.232-0.039-0.413-0.013c-0.181,0.026-0.219,0.116-0.296,0.039c-0.077-0.077,0.193,0.039-0.077-0.077c-0.27-0.116-0.399-0.103-0.477-0.064c-0.077,0.039,0.013,0.025-0.192,0.103c-0.206,0.078-0.322,0.116-0.374,0.129c-0.051,0.012-0.372-0.065-0.411-0.091c-0.038-0.025-0.181,0.013-0.309,0.064S9.895,7.025,9.767,7C9.638,6.973,9.432,6.973,9.303,7.025C9.174,7.076,9.084,7.076,8.956,7.166c-0.13,0.09-0.373,0.142-0.373,0.142S8.522,7.305,8.448,7.301C10.474,5.541,13.111,4.466,16,4.466c6.361,0,11.534,5.173,11.534,11.534S22.36,27.533,16,27.533zM14.888,19.92c0,0,0.207-0.026,0.207-0.117c0-0.089-0.207-0.205-0.282-0.102c-0.078,0.102-0.219,0.205-0.207,0.296C14.625,20.138,14.888,19.92,14.888,19.92zM14.875,17.023c-0.181,0.233-0.167,0.182-0.296,0.128c-0.128-0.05-0.334,0.116-0.296,0.182c0.039,0.064,0.322-0.014,0.386,0.102c0.065,0.116,0.065,0.129,0.193,0.104c0.128-0.026,0.257-0.205,0.219-0.295C15.043,17.151,14.875,17.023,14.875,17.023zM14.837,18.245c-0.051,0-0.412,0.064-0.451,0.079c-0.039,0.013-0.27-0.025-0.27-0.025c-0.09,0.089-0.026,0.179,0.116,0.166s0.438-0.052,0.502-0.052C14.799,18.413,14.888,18.245,14.837,18.245zM14.284,14.668c-0.19,0.03-0.308,0.438-0.155,0.425C14.284,15.081,14.451,14.643,14.284,14.668zM14.734,16.959c-0.052-0.064-0.181-0.271-0.323-0.219c-0.042,0.017-0.153,0.245-0.012,0.245C14.541,16.985,14.786,17.023,14.734,16.959zM14.85,16.805c0.232-0.013,0.167-0.245-0.013-0.257C14.786,16.544,14.618,16.818,14.85,16.805zM17.591,18.928c-0.193-0.039-0.244-0.102-0.45-0.205c-0.207-0.103-0.67-0.103-0.682-0.039c-0.014,0.064,0,0-0.155-0.05c-0.153-0.054-0.271,0-0.309-0.091c-0.038-0.091-0.128-0.117-0.244-0.002c-0.097,0.097-0.142,0.104,0.078,0.143c0.218,0.039,0.283,0.039,0.192,0.141c-0.09,0.104-0.154,0.233-0.077,0.244c0.077,0.015,0.309-0.05,0.334,0c0.026,0.054-0.051,0.064,0.207,0.105c0.258,0.037,0.309,0.128,0.359,0.178c0.051,0.052,0.206,0.22,0.104,0.22c-0.104,0-0.219,0.128-0.142,0.143c0.077,0.013,0.309-0.039,0.321,0c0.014,0.037,0.143,0.283,0.271,0.271c0.129-0.013,0.206-0.244,0.27-0.31c0.065-0.064,0.322-0.104,0.349,0.012c0.026,0.116,0.104,0.233,0.257,0.311c0.154,0.076,0.335,0.154,0.348,0.089c0.013-0.064-0.077-0.309-0.181-0.346c-0.103-0.041-0.282-0.259-0.282-0.348c0-0.091-0.155-0.117-0.232-0.182C17.849,19.147,17.784,18.967,17.591,18.928zM8.042,17.023c-0.084,0.037-0.155,0.476,0,0.527c0.154,0.052,0.244-0.205,0.193-0.271C8.183,17.218,8.158,16.973,8.042,17.023zM15.429,18.117c-0.118-0.05-0.335,0.424-0.181,0.463C15.403,18.62,15.518,18.156,15.429,18.117zM15.687,13.703c0.077,0,0.18-0.051,0.18-0.193c0-0.142,0.18,0,0.27-0.013s0.141-0.103,0.18-0.206c0.005-0.013,0.008-0.021,0.009-0.027c-0.003,0.024-0.001,0.093,0.095,0.117c0.154,0.038,0.205-0.064,0.205-0.103s0.283-0.103,0.336-0.142c0.051-0.038,0.258-0.103,0.27-0.154c0.013-0.051,0-0.348,0.064-0.373c0.064-0.026,0.154-0.026,0.052-0.206c-0.104-0.181-0.104-0.348-0.232-0.271c-0.095,0.057-0.038,0.284-0.115,0.438s-0.142,0.296-0.193,0.296s-0.321,0.103-0.399,0.18c-0.076,0.077-0.45-0.064-0.501,0c-0.052,0.064-0.154,0.141-0.219,0.193c-0.065,0.051-0.245,0.013-0.207,0.167C15.518,13.562,15.609,13.703,15.687,13.703zM17.449,12.056c0.18-0.013,0.348-0.064,0.348-0.064s0.271,0.013,0.232-0.116c-0.04-0.128-0.322-0.141-0.375-0.128c-0.051,0.013-0.142-0.142-0.244-0.116c-0.096,0.023-0.128,0.155-0.128,0.193c0,0.039-0.36,0.115-0.245,0.219C17.153,12.146,17.27,12.069,17.449,12.056zM13.91,19.058c0.104,0.064,0.296-0.219,0.349-0.13c0.051,0.091-0.013,0.13,0.076,0.246c0.091,0.114,0.258,0.102,0.258,0.102s-0.013-0.309-0.155-0.387c-0.142-0.077-0.232-0.166-0.064-0.141c0.167,0.026,0.257-0.039,0.219-0.114c-0.039-0.078-0.283-0.039-0.361-0.026s-0.193-0.052-0.193-0.052c-0.077,0.024-0.063,0.089-0.09,0.219C13.923,18.902,13.807,18.992,13.91,19.058zM20.924,21.618c-0.231-0.052-0.077,0.039,0,0.154c0.077,0.116,0.232,0.176,0.258,0.05C21.193,21.759,21.155,21.67,20.924,21.618zM21.915,24.744c-0.077,0.064,0,0.091-0.219,0.22c-0.22,0.13-0.49,0.271-0.541,0.386c-0.052,0.116,0.051,0.181,0.258,0.192c0.206,0.013,0.154,0.053,0.296-0.103s0.271-0.244,0.438-0.373c0.168-0.128,0.168-0.322,0.168-0.322s-0.181-0.178-0.193-0.141C22.1,24.665,21.992,24.681,21.915,24.744zM18.504,21.618c0.014-0.116-0.219-0.116-0.334-0.207c-0.116-0.089-0.128-0.359-0.193-0.515c-0.064-0.153-0.192-0.257-0.322-0.397c-0.128-0.143-0.192-0.465-0.23-0.438c-0.039,0.025-0.154,0.399-0.064,0.515c0.09,0.116-0.039,0.348-0.103,0.503c-0.065,0.153-0.22-0.026-0.349-0.104c-0.129-0.078-0.308-0.128-0.398-0.219c-0.09-0.091,0.155-0.335,0.091-0.426c-0.065-0.09-0.412-0.013-0.45-0.013c-0.039,0-0.116-0.128-0.194-0.128c-0.077,0-0.064,0.258-0.064,0.258s-0.078-0.091-0.193-0.207c-0.117-0.115,0.012,0.077-0.103,0.193c-0.117,0.117-0.079,0.078-0.129,0.206c-0.051,0.129-0.167,0.077-0.283-0.052c-0.116-0.128-0.179-0.037-0.258,0c-0.077,0.039-0.141,0.259-0.18,0.309c-0.039,0.052-0.309,0.117-0.374,0.182c-0.064,0.062-0.09,0.27-0.09,0.322c0,0.05-0.271,0.023-0.361,0.089c-0.09,0.064-0.23,0.025-0.321,0.025c-0.09,0-0.399,0.244-0.502,0.308c-0.103,0.066-0.103,0.298-0.051,0.362c0.051,0.063,0.154,0.219,0.09,0.244c-0.064,0.026-0.104,0.206,0.051,0.359c0.154,0.155,0.103,0.194,0.115,0.271c0.014,0.077,0.078,0.104,0.181,0.232c0.102,0.128-0.181,0.231-0.219,0.31c-0.039,0.076,0.091,0.192,0.167,0.257c0.077,0.063,0.271,0.026,0.386-0.013c0.117-0.039,0.245-0.143,0.321-0.155c0.079-0.013,0.438-0.026,0.438-0.026s0.129-0.192,0.219-0.296c0.089-0.102,0.372-0.013,0.372-0.013s0.117-0.076,0.426-0.141c0.309-0.065,0.179,0.064,0.296,0.104c0.115,0.037,0.27,0.062,0.359,0.128c0.09,0.064,0,0.218-0.012,0.283c-0.014,0.064,0.219,0.038,0.23-0.026c0.014-0.064,0.077-0.128,0.207-0.205c0.128-0.078,0.025,0.114,0.076,0.231c0.052,0.116,0.129-0.157,0.129-0.026c0,0.039,0.039,0.078,0.051,0.116c0.014,0.039,0.181,0.052,0.181,0.18c0,0.13,0,0.207,0.039,0.231c0.038,0.026,0.244,0,0.335,0.155c0.089,0.154,0.154,0.013,0.205-0.052c0.052-0.064,0.231,0.026,0.283,0.078c0.052,0.05,0.193-0.104,0.387-0.155c0.192-0.051,0.167-0.039,0.219-0.115c0.051-0.078,0.09-0.283,0.205-0.438c0.115-0.153,0.271-0.424,0.271-0.631c0-0.206-0.014-0.682-0.155-0.899C18.761,21.953,18.492,21.733,18.504,21.618zM18.029,24.77c-0.065-0.013-0.207-0.062-0.207-0.062c-0.142,0.141,0.142,0.141,0.104,0.283c-0.039,0.141,0.193,0.089,0.257,0.064c0.063-0.027,0.22-0.323,0.193-0.399C18.351,24.577,18.093,24.783,18.029,24.77zM22.803,24.178c-0.052,0-0.077,0.064-0.192,0c-0.117-0.063-0.091-0.037-0.168-0.167c-0.077-0.127-0.091-0.296-0.219-0.23c-0.051,0.025,0,0.168,0.051,0.218c0.053,0.052,0.077,0.231,0.064,0.283c-0.012,0.052-0.231,0.116-0.129,0.18c0.104,0.064,0.297,0,0.271,0.078c-0.025,0.077-0.129,0.179-0.013,0.205c0.115,0.025,0.154-0.089,0.207-0.178c0.051-0.093,0.089-0.169,0.179-0.221C22.944,24.294,22.854,24.178,22.803,24.178zM22.815,21.18c0.168,0.064,0.464-0.231,0.347-0.27C23.047,20.871,22.815,21.18,22.815,21.18zM13.923,19.906c-0.029,0.115,0.193,0.167,0.206,0.039C14.141,19.816,13.949,19.803,13.923,19.906zM14.27,16.47c-0.064,0.065-0.257,0.193-0.283,0.31c-0.025,0.115,0.309-0.182,0.399-0.296c0.091-0.117,0.27-0.052,0.308-0.117c0.04-0.063,0.04-0.063,0.04-0.063s-0.142-0.025-0.257-0.063c-0.117-0.039-0.258,0.102-0.193-0.104c0.064-0.206,0.257-0.167,0.219-0.322c-0.039-0.154-0.168-0.193-0.207-0.193c-0.09,0,0.013,0.141-0.116,0.231c-0.128,0.09-0.271,0.128-0.193,0.283C14.064,16.29,14.334,16.405,14.27,16.47zM13.254,19.751c0.013-0.076-0.142-0.192-0.206-0.192c-0.065,0-0.386-0.077-0.386-0.077c-0.058,0.023-0.135,0.045-0.158,0.077c-0.007-0.011-0.022-0.024-0.049-0.039c-0.142-0.075-0.309,0-0.361-0.102c-0.05-0.104-0.127-0.104-0.179-0.039c-0.094,0.117,0.025,0.206,0.063,0.231c0.038,0.024,0.181,0.052,0.309,0.039c0.08-0.008,0.181-0.027,0.21-0.059c0.004,0.014,0.016,0.027,0.035,0.044c0.103,0.092,0.167,0.13,0.321,0.116C13.009,19.74,13.241,19.829,13.254,19.751zM12.881,18.992c0.065,0,0.193,0,0.283,0.026c0.09,0.025,0.386,0.05,0.373-0.064c-0.013-0.115-0.038-0.297,0.089-0.411c0.13-0.117,0.257-0.18,0.193-0.348c-0.063-0.167-0.193-0.271-0.103-0.349c0.09-0.076,0.192-0.102,0.192-0.166c0-0.065-0.217,0.18-0.244-0.246c-0.005-0.091-0.206,0.025-0.219,0.116c-0.012,0.091,0.142,0.167-0.103,0.167c-0.245,0-0.257,0.194-0.309,0.232c-0.052,0.039-0.103,0.051-0.207,0.076c-0.102,0.026-0.127,0.13-0.153,0.194c-0.025,0.063-0.206-0.116-0.257-0.064c-0.051,0.052-0.013,0.296,0.077,0.501C12.585,18.863,12.816,18.992,12.881,18.992zM11.979,18.928c0.065-0.077,0.038-0.192-0.063-0.18c-0.103,0.013-0.193-0.168-0.36-0.283c-0.168-0.114-0.296-0.194-0.451-0.36c-0.154-0.167-0.347-0.271-0.45-0.359c-0.104-0.091-0.257-0.13-0.322-0.116c-0.159,0.032,0.231,0.309,0.271,0.346c0.039,0.041,0.387,0.335,0.387,0.478s0.231,0.476,0.296,0.527c0.064,0.052,0.385,0.244,0.437,0.348c0.052,0.103,0.167,0.13,0.167-0.013C11.89,19.174,11.916,19.006,11.979,18.928zM11.002,17.474c0.064,0.232,0.193,0.464,0.244,0.555c0.052,0.089,0.271,0.217,0.348,0.281c0.077,0.064,0.192-0.024,0.143-0.102c-0.052-0.078-0.155-0.192-0.167-0.283c-0.013-0.091-0.078-0.233-0.181-0.387c-0.102-0.153-0.192-0.192-0.257-0.295c-0.064-0.104-0.296-0.297-0.296-0.297c-0.102,0.013-0.102,0.205-0.051,0.271C10.834,17.28,10.938,17.243,11.002,17.474z",globeAlt:"M16,1.466C7.973,1.466,1.466,7.973,1.466,16c0,8.027,6.507,14.534,14.534,14.534c8.027,0,14.534-6.507,14.534-14.534C30.534,7.973,24.027,1.466,16,1.466zM27.436,17.39c0.001,0.002,0.004,0.002,0.005,0.004c-0.022,0.187-0.054,0.37-0.085,0.554c-0.015-0.012-0.034-0.025-0.047-0.036c-0.103-0.09-0.254-0.128-0.318-0.115c-0.157,0.032,0.229,0.305,0.267,0.342c0.009,0.009,0.031,0.03,0.062,0.058c-1.029,5.312-5.709,9.338-11.319,9.338c-4.123,0-7.736-2.18-9.776-5.441c0.123-0.016,0.24-0.016,0.28-0.076c0.051-0.077,0.102-0.241,0.178-0.331c0.077-0.089,0.165-0.229,0.127-0.292c-0.039-0.064,0.101-0.344,0.088-0.419c-0.013-0.076-0.127-0.256,0.064-0.407s0.394-0.382,0.407-0.444c0.012-0.063,0.166-0.331,0.152-0.458c-0.012-0.127-0.152-0.28-0.24-0.318c-0.09-0.037-0.28-0.05-0.356-0.151c-0.077-0.103-0.292-0.203-0.368-0.178c-0.076,0.025-0.204,0.05-0.305-0.015c-0.102-0.062-0.267-0.139-0.33-0.189c-0.065-0.05-0.229-0.088-0.305-0.088c-0.077,0-0.065-0.052-0.178,0.101c-0.114,0.153,0,0.204-0.204,0.177c-0.204-0.023,0.025-0.036,0.141-0.189c0.113-0.152-0.013-0.242-0.141-0.203c-0.126,0.038-0.038,0.115-0.241,0.153c-0.203,0.036-0.203-0.09-0.076-0.115s0.355-0.139,0.355-0.19c0-0.051-0.025-0.191-0.127-0.191s-0.077-0.126-0.229-0.291c-0.092-0.101-0.196-0.164-0.299-0.204c-0.09-0.579-0.15-1.167-0.15-1.771c0-2.844,1.039-5.446,2.751-7.458c0.024-0.02,0.048-0.034,0.069-0.036c0.084-0.009,0.31-0.025,0.51-0.059c0.202-0.034,0.418-0.161,0.489-0.153c0.069,0.008,0.241,0.008,0.186-0.042C8.417,8.2,8.339,8.082,8.223,8.082S8.215,7.896,8.246,7.896c0.03,0,0.186,0.025,0.178,0.11C8.417,8.091,8.471,8.2,8.625,8.167c0.156-0.034,0.132-0.162,0.102-0.195C8.695,7.938,8.672,7.853,8.642,7.794c-0.031-0.06-0.023-0.136,0.14-0.153C8.944,7.625,9.168,7.708,9.16,7.573s0-0.28,0.046-0.356C9.253,7.142,9.354,7.09,9.299,7.065C9.246,7.04,9.176,7.099,9.121,6.972c-0.054-0.127,0.047-0.22,0.108-0.271c0.02-0.015,0.067-0.06,0.124-0.112C11.234,5.257,13.524,4.466,16,4.466c3.213,0,6.122,1.323,8.214,3.45c-0.008,0.022-0.01,0.052-0.031,0.056c-0.077,0.013-0.166,0.063-0.179-0.051c-0.013-0.114-0.013-0.331-0.102-0.203c-0.089,0.127-0.127,0.127-0.127,0.191c0,0.063,0.076,0.127,0.051,0.241C23.8,8.264,23.8,8.341,23.84,8.341c0.036,0,0.126-0.115,0.239-0.141c0.116-0.025,0.319-0.088,0.332,0.026c0.013,0.115,0.139,0.152,0.013,0.203c-0.128,0.051-0.267,0.026-0.293-0.051c-0.025-0.077-0.114-0.077-0.203-0.013c-0.088,0.063-0.279,0.292-0.279,0.292s-0.306,0.139-0.343,0.114c-0.04-0.025,0.101-0.165,0.203-0.228c0.102-0.064,0.178-0.204,0.14-0.242c-0.038-0.038-0.088-0.279-0.063-0.343c0.025-0.063,0.139-0.152,0.013-0.216c-0.127-0.063-0.217-0.14-0.318-0.178s-0.216,0.152-0.305,0.204c-0.089,0.051-0.076,0.114-0.191,0.127c-0.114,0.013-0.189,0.165,0,0.254c0.191,0.089,0.255,0.152,0.204,0.204c-0.051,0.051-0.267-0.025-0.267-0.025s-0.165-0.076-0.268-0.076c-0.101,0-0.229-0.063-0.33-0.076c-0.102-0.013-0.306-0.013-0.355,0.038c-0.051,0.051-0.179,0.203-0.28,0.152c-0.101-0.051-0.101-0.102-0.241-0.051c-0.14,0.051-0.279-0.038-0.355,0.038c-0.077,0.076-0.013,0.076-0.255,0c-0.241-0.076-0.189,0.051-0.419,0.089s-0.368-0.038-0.432,0.038c-0.064,0.077-0.153,0.217-0.19,0.127c-0.038-0.088,0.126-0.241,0.062-0.292c-0.062-0.051-0.33-0.025-0.367,0.013c-0.039,0.038-0.014,0.178,0.011,0.229c0.026,0.05,0.064,0.254-0.011,0.216c-0.077-0.038-0.064-0.166-0.141-0.152c-0.076,0.013-0.165,0.051-0.203,0.077c-0.038,0.025-0.191,0.025-0.229,0.076c-0.037,0.051,0.014,0.191-0.051,0.203c-0.063,0.013-0.114,0.064-0.254-0.025c-0.14-0.089-0.14-0.038-0.178-0.012c-0.038,0.025-0.216,0.127-0.229,0.012c-0.013-0.114,0.025-0.152-0.089-0.229c-0.115-0.076-0.026-0.076,0.127-0.025c0.152,0.05,0.343,0.075,0.622-0.013c0.28-0.089,0.395-0.127,0.28-0.178c-0.115-0.05-0.229-0.101-0.406-0.127c-0.179-0.025-0.42-0.025-0.7-0.127c-0.279-0.102-0.343-0.14-0.457-0.165c-0.115-0.026-0.813-0.14-1.132-0.089c-0.317,0.051-1.193,0.28-1.245,0.318s-0.128,0.19-0.292,0.318c-0.165,0.127-0.47,0.419-0.712,0.47c-0.241,0.051-0.521,0.254-0.521,0.305c0,0.051,0.101,0.242,0.076,0.28c-0.025,0.038,0.05,0.229,0.191,0.28c0.139,0.05,0.381,0.038,0.393-0.039c0.014-0.076,0.204-0.241,0.217-0.127c0.013,0.115,0.14,0.292,0.114,0.368c-0.025,0.077,0,0.153,0.09,0.14c0.088-0.012,0.559-0.114,0.559-0.114s0.153-0.064,0.127-0.166c-0.026-0.101,0.166-0.241,0.203-0.279c0.038-0.038,0.178-0.191,0.014-0.241c-0.167-0.051-0.293-0.064-0.115-0.216s0.292,0,0.521-0.229c0.229-0.229-0.051-0.292,0.191-0.305c0.241-0.013,0.496-0.025,0.444,0.051c-0.05,0.076-0.342,0.242-0.508,0.318c-0.166,0.077-0.14,0.216-0.076,0.292c0.063,0.076,0.09,0.254,0.204,0.229c0.113-0.025,0.254-0.114,0.38-0.101c0.128,0.012,0.383-0.013,0.42-0.013c0.039,0,0.216,0.178,0.114,0.203c-0.101,0.025-0.229,0.013-0.445,0.025c-0.215,0.013-0.456,0.013-0.456,0.051c0,0.039,0.292,0.127,0.19,0.191c-0.102,0.063-0.203-0.013-0.331-0.026c-0.127-0.012-0.203,0.166-0.241,0.267c-0.039,0.102,0.063,0.28-0.127,0.216c-0.191-0.063-0.331-0.063-0.381-0.038c-0.051,0.025-0.203,0.076-0.331,0.114c-0.126,0.038-0.076-0.063-0.242-0.063c-0.164,0-0.164,0-0.164,0l-0.103,0.013c0,0-0.101-0.063-0.114-0.165c-0.013-0.102,0.05-0.216-0.013-0.241c-0.064-0.026-0.292,0.012-0.33,0.088c-0.038,0.076-0.077,0.216-0.026,0.28c0.052,0.063,0.204,0.19,0.064,0.152c-0.14-0.038-0.317-0.051-0.419,0.026c-0.101,0.076-0.279,0.241-0.279,0.241s-0.318,0.025-0.318,0.102c0,0.077,0,0.178-0.114,0.191c-0.115,0.013-0.268,0.05-0.42,0.076c-0.153,0.025-0.139,0.088-0.317,0.102s-0.204,0.089-0.038,0.114c0.165,0.025,0.418,0.127,0.431,0.241c0.014,0.114-0.013,0.242-0.076,0.356c-0.043,0.079-0.305,0.026-0.458,0.026c-0.152,0-0.456-0.051-0.584,0c-0.127,0.051-0.102,0.305-0.064,0.419c0.039,0.114-0.012,0.178-0.063,0.216c-0.051,0.038-0.065,0.152,0,0.204c0.063,0.051,0.114,0.165,0.166,0.178c0.051,0.013,0.215-0.038,0.279,0.025c0.064,0.064,0.127,0.216,0.165,0.178c0.039-0.038,0.089-0.203,0.153-0.166c0.064,0.039,0.216-0.012,0.331-0.025s0.177-0.14,0.292-0.204c0.114-0.063,0.05-0.063,0.013-0.14c-0.038-0.076,0.114-0.165,0.204-0.254c0.088-0.089,0.253-0.013,0.292-0.115c0.038-0.102,0.051-0.279,0.151-0.267c0.103,0.013,0.243,0.076,0.331,0.076c0.089,0,0.279-0.14,0.332-0.165c0.05-0.025,0.241-0.013,0.267,0.102c0.025,0.114,0.241,0.254,0.292,0.279c0.051,0.025,0.381,0.127,0.433,0.165c0.05,0.038,0.126,0.153,0.152,0.254c0.025,0.102,0.114,0.102,0.128,0.013c0.012-0.089-0.065-0.254,0.025-0.242c0.088,0.013,0.191-0.026,0.191-0.026s-0.243-0.165-0.331-0.203c-0.088-0.038-0.255-0.114-0.331-0.241c-0.076-0.127-0.267-0.153-0.254-0.279c0.013-0.127,0.191-0.051,0.292,0.051c0.102,0.102,0.356,0.241,0.445,0.33c0.088,0.089,0.229,0.127,0.267,0.242c0.039,0.114,0.152,0.241,0.19,0.292c0.038,0.051,0.165,0.331,0.204,0.394c0.038,0.063,0.165-0.012,0.229-0.063c0.063-0.051,0.179-0.076,0.191-0.178c0.013-0.102-0.153-0.178-0.203-0.216c-0.051-0.038,0.127-0.076,0.191-0.127c0.063-0.05,0.177-0.14,0.228-0.063c0.051,0.077,0.026,0.381,0.051,0.432c0.025,0.051,0.279,0.127,0.331,0.191c0.05,0.063,0.267,0.089,0.304,0.051c0.039-0.038,0.242,0.026,0.294,0.038c0.049,0.013,0.202-0.025,0.304-0.05c0.103-0.025,0.204-0.102,0.191,0.063c-0.013,0.165-0.051,0.419-0.179,0.546c-0.127,0.127-0.076,0.191-0.202,0.191c-0.06,0-0.113,0-0.156,0.021c-0.041-0.065-0.098-0.117-0.175-0.097c-0.152,0.038-0.344,0.038-0.47,0.19c-0.128,0.153-0.178,0.165-0.204,0.114c-0.025-0.051,0.369-0.267,0.317-0.331c-0.05-0.063-0.355-0.038-0.521-0.038c-0.166,0-0.305-0.102-0.433-0.127c-0.126-0.025-0.292,0.127-0.418,0.254c-0.128,0.127-0.216,0.038-0.331,0.038c-0.115,0-0.331-0.165-0.331-0.165s-0.216-0.089-0.305-0.089c-0.088,0-0.267-0.165-0.318-0.165c-0.05,0-0.19-0.115-0.088-0.166c0.101-0.05,0.202,0.051,0.101-0.229c-0.101-0.279-0.33-0.216-0.419-0.178c-0.088,0.039-0.724,0.025-0.775,0.025c-0.051,0-0.419,0.127-0.533,0.178c-0.116,0.051-0.318,0.115-0.369,0.14c-0.051,0.025-0.318-0.051-0.433,0.013c-0.151,0.084-0.291,0.216-0.33,0.216c-0.038,0-0.153,0.089-0.229,0.28c-0.077,0.19,0.013,0.355-0.128,0.419c-0.139,0.063-0.394,0.204-0.495,0.305c-0.102,0.101-0.229,0.458-0.355,0.623c-0.127,0.165,0,0.317,0.025,0.419c0.025,0.101,0.114,0.292-0.025,0.471c-0.14,0.178-0.127,0.266-0.191,0.279c-0.063,0.013,0.063,0.063,0.088,0.19c0.025,0.128-0.114,0.255,0.128,0.369c0.241,0.113,0.355,0.217,0.418,0.367c0.064,0.153,0.382,0.407,0.382,0.407s0.229,0.205,0.344,0.293c0.114,0.089,0.152,0.038,0.177-0.05c0.025-0.09,0.178-0.104,0.355-0.104c0.178,0,0.305,0.04,0.483,0.014c0.178-0.025,0.356-0.141,0.42-0.166c0.063-0.025,0.279-0.164,0.443-0.063c0.166,0.103,0.141,0.241,0.23,0.332c0.088,0.088,0.24,0.037,0.355-0.051c0.114-0.09,0.064-0.052,0.203,0.025c0.14,0.075,0.204,0.151,0.077,0.267c-0.128,0.113-0.051,0.293-0.128,0.47c-0.076,0.178-0.063,0.203,0.077,0.278c0.14,0.076,0.394,0.548,0.47,0.638c0.077,0.088-0.025,0.342,0.064,0.495c0.089,0.151,0.178,0.254,0.077,0.331c-0.103,0.075-0.28,0.216-0.292,0.47s0.051,0.431,0.102,0.521s0.177,0.331,0.241,0.419c0.064,0.089,0.14,0.305,0.152,0.445c0.013,0.14-0.024,0.306,0.039,0.381c0.064,0.076,0.102,0.191,0.216,0.292c0.115,0.103,0.152,0.318,0.152,0.318s0.039,0.089,0.051,0.229c0.012,0.14,0.025,0.228,0.152,0.292c0.126,0.063,0.215,0.076,0.28,0.013c0.063-0.063,0.381-0.077,0.546-0.063c0.165,0.013,0.355-0.075,0.521-0.19s0.407-0.419,0.496-0.508c0.089-0.09,0.292-0.255,0.268-0.356c-0.025-0.101-0.077-0.203,0.024-0.254c0.102-0.052,0.344-0.152,0.356-0.229c0.013-0.077-0.09-0.395-0.115-0.457c-0.024-0.064,0.064-0.18,0.165-0.306c0.103-0.128,0.421-0.216,0.471-0.267c0.051-0.053,0.191-0.267,0.217-0.433c0.024-0.167-0.051-0.369,0-0.457c0.05-0.09,0.013-0.165-0.103-0.268c-0.114-0.102-0.089-0.407-0.127-0.457c-0.037-0.051-0.013-0.319,0.063-0.345c0.076-0.023,0.242-0.279,0.344-0.393c0.102-0.114,0.394-0.47,0.534-0.496c0.139-0.025,0.355-0.229,0.368-0.343c0.013-0.115,0.38-0.547,0.394-0.635c0.013-0.09,0.166-0.42,0.102-0.497c-0.062-0.076-0.559,0.115-0.622,0.141c-0.064,0.025-0.241,0.127-0.446,0.113c-0.202-0.013-0.114-0.177-0.127-0.254c-0.012-0.076-0.228-0.368-0.279-0.381c-0.051-0.012-0.203-0.166-0.267-0.317c-0.063-0.153-0.152-0.343-0.254-0.458c-0.102-0.114-0.165-0.38-0.268-0.559c-0.101-0.178-0.189-0.407-0.279-0.572c-0.021-0.041-0.045-0.079-0.067-0.117c0.118-0.029,0.289-0.082,0.31-0.009c0.024,0.088,0.165,0.279,0.19,0.419s0.165,0.089,0.178,0.216c0.014,0.128,0.14,0.433,0.19,0.47c0.052,0.038,0.28,0.242,0.318,0.318c0.038,0.076,0.089,0.178,0.127,0.369c0.038,0.19,0.076,0.444,0.179,0.482c0.102,0.038,0.444-0.064,0.508-0.102s0.482-0.242,0.635-0.255c0.153-0.012,0.179-0.115,0.368-0.152c0.191-0.038,0.331-0.177,0.458-0.28c0.127-0.101,0.28-0.355,0.33-0.444c0.052-0.088,0.179-0.152,0.115-0.253c-0.063-0.103-0.331-0.254-0.433-0.268c-0.102-0.012-0.089-0.178-0.152-0.178s-0.051,0.088-0.178,0.153c-0.127,0.063-0.255,0.19-0.344,0.165s0.026-0.089-0.113-0.203s-0.192-0.14-0.192-0.228c0-0.089-0.278-0.255-0.304-0.382c-0.026-0.127,0.19-0.305,0.254-0.19c0.063,0.114,0.115,0.292,0.279,0.368c0.165,0.076,0.318,0.204,0.395,0.229c0.076,0.025,0.267-0.14,0.33-0.114c0.063,0.024,0.191,0.253,0.306,0.292c0.113,0.038,0.495,0.051,0.559,0.051s0.33,0.013,0.381-0.063c0.051-0.076,0.089-0.076,0.153-0.076c0.062,0,0.177,0.229,0.267,0.254c0.089,0.025,0.254,0.013,0.241,0.179c-0.012,0.164,0.076,0.305,0.165,0.317c0.09,0.012,0.293-0.191,0.293-0.191s0,0.318-0.012,0.433c-0.014,0.113,0.139,0.534,0.139,0.534s0.19,0.393,0.241,0.482s0.267,0.355,0.267,0.47c0,0.115,0.025,0.293,0.103,0.293c0.076,0,0.152-0.203,0.24-0.331c0.091-0.126,0.116-0.305,0.153-0.432c0.038-0.127,0.038-0.356,0.038-0.444c0-0.09,0.075-0.166,0.255-0.242c0.178-0.076,0.304-0.292,0.456-0.407c0.153-0.115,0.141-0.305,0.446-0.305c0.305,0,0.278,0,0.355-0.077c0.076-0.076,0.151-0.127,0.19,0.013c0.038,0.14,0.254,0.343,0.292,0.394c0.038,0.052,0.114,0.191,0.103,0.344c-0.013,0.152,0.012,0.33,0.075,0.33s0.191-0.216,0.191-0.216s0.279-0.189,0.267,0.013c-0.014,0.203,0.025,0.419,0.025,0.545c0,0.053,0.042,0.135,0.088,0.21c-0.005,0.059-0.004,0.119-0.009,0.178C27.388,17.153,27.387,17.327,27.436,17.39zM20.382,12.064c0.076,0.05,0.102,0.127,0.152,0.203c0.052,0.076,0.14,0.05,0.203,0.114c0.063,0.064-0.178,0.14-0.075,0.216c0.101,0.077,0.151,0.381,0.165,0.458c0.013,0.076-0.279,0.114-0.369,0.102c-0.089-0.013-0.354-0.102-0.445-0.127c-0.089-0.026-0.139-0.343-0.025-0.331c0.116,0.013,0.141-0.025,0.267-0.139c0.128-0.115-0.189-0.166-0.278-0.191c-0.089-0.025-0.268-0.305-0.331-0.394c-0.062-0.089-0.014-0.228,0.141-0.331c0.076-0.051,0.279,0.063,0.381,0c0.101-0.063,0.203-0.14,0.241-0.165c0.039-0.025,0.293,0.038,0.33,0.114c0.039,0.076,0.191,0.191,0.141,0.229c-0.052,0.038-0.281,0.076-0.356,0c-0.075-0.077-0.255,0.012-0.268,0.152C20.242,12.115,20.307,12.013,20.382,12.064zM16.875,12.28c-0.077-0.025,0.025-0.178,0.102-0.229c0.075-0.051,0.164-0.178,0.241-0.305c0.076-0.127,0.178-0.14,0.241-0.127c0.063,0.013,0.203,0.241,0.241,0.318c0.038,0.076,0.165-0.026,0.217-0.051c0.05-0.025,0.127-0.102,0.14-0.165s0.127-0.102,0.254-0.102s0.013,0.102-0.076,0.127c-0.09,0.025-0.038,0.077,0.113,0.127c0.153,0.051,0.293,0.191,0.459,0.279c0.165,0.089,0.19,0.267,0.088,0.292c-0.101,0.025-0.406,0.051-0.521,0.038c-0.114-0.013-0.254-0.127-0.419-0.153c-0.165-0.025-0.369-0.013-0.433,0.077s-0.292,0.05-0.395,0.05c-0.102,0-0.228,0.127-0.253,0.077C16.875,12.534,16.951,12.306,16.875,12.28zM17.307,9.458c0.063-0.178,0.419,0.038,0.355,0.127C17.599,9.675,17.264,9.579,17.307,9.458zM17.802,18.584c0.063,0.102-0.14,0.431-0.254,0.407c-0.113-0.027-0.076-0.318-0.038-0.382C17.548,18.545,17.769,18.529,17.802,18.584zM13.189,12.674c0.025-0.051-0.039-0.153-0.127-0.013C13.032,12.71,13.164,12.725,13.189,12.674zM20.813,8.035c0.141,0.076,0.339,0.107,0.433,0.013c0.076-0.076,0.013-0.204-0.05-0.216c-0.064-0.013-0.104-0.115,0.062-0.203c0.165-0.089,0.343-0.204,0.534-0.229c0.19-0.025,0.622-0.038,0.774,0c0.152,0.039,0.382-0.166,0.445-0.254s-0.203-0.152-0.279-0.051c-0.077,0.102-0.444,0.076-0.521,0.051c-0.076-0.025-0.686,0.102-0.812,0.102c-0.128,0-0.179,0.152-0.356,0.229c-0.179,0.076-0.42,0.191-0.509,0.229c-0.088,0.038-0.177,0.19-0.101,0.216C20.509,7.947,20.674,7.959,20.813,8.035zM14.142,12.674c0.064-0.089-0.051-0.217-0.114-0.217c-0.12,0-0.178,0.191-0.103,0.254C14.002,12.776,14.078,12.763,14.142,12.674zM14.714,13.017c0.064,0.025,0.114,0.102,0.165,0.114c0.052,0.013,0.217,0,0.167-0.127s-0.167-0.127-0.204-0.127c-0.038,0-0.203-0.038-0.267,0C14.528,12.905,14.65,12.992,14.714,13.017zM11.308,10.958c0.101,0.013,0.217-0.063,0.305-0.101c0.088-0.038,0.216-0.114,0.216-0.229c0-0.114-0.025-0.216-0.077-0.267c-0.051-0.051-0.14-0.064-0.216-0.051c-0.115,0.02-0.127,0.14-0.203,0.14c-0.076,0-0.165,0.025-0.14,0.114s0.077,0.152,0,0.19C11.117,10.793,11.205,10.946,11.308,10.958zM11.931,10.412c0.127,0.051,0.394,0.102,0.292,0.153c-0.102,0.051-0.28,0.19-0.305,0.267s0.216,0.153,0.216,0.153s-0.077,0.089-0.013,0.114c0.063,0.025,0.102-0.089,0.203-0.089c0.101,0,0.304,0.063,0.406,0.063c0.103,0,0.267-0.14,0.254-0.229c-0.013-0.089-0.14-0.229-0.254-0.28c-0.113-0.051-0.241-0.28-0.317-0.331c-0.076-0.051,0.076-0.178-0.013-0.267c-0.09-0.089-0.153-0.076-0.255-0.14c-0.102-0.063-0.191,0.013-0.254,0.089c-0.063,0.076-0.14-0.013-0.217,0.012c-0.102,0.035-0.063,0.166-0.012,0.229C11.714,10.221,11.804,10.361,11.931,10.412zM24.729,17.198c-0.083,0.037-0.153,0.47,0,0.521c0.152,0.052,0.241-0.202,0.191-0.267C24.868,17.39,24.843,17.147,24.729,17.198zM20.114,20.464c-0.159-0.045-0.177,0.166-0.304,0.306c-0.128,0.141-0.267,0.254-0.317,0.241c-0.052-0.013-0.331,0.089-0.242,0.279c0.089,0.191,0.076,0.382-0.013,0.472c-0.089,0.088,0.076,0.342,0.052,0.482c-0.026,0.139,0.037,0.229,0.215,0.229s0.242-0.064,0.318-0.229c0.076-0.166,0.088-0.331,0.164-0.47c0.077-0.141,0.141-0.434,0.179-0.51c0.038-0.075,0.114-0.316,0.102-0.457C20.254,20.669,20.204,20.489,20.114,20.464zM10.391,8.802c-0.069-0.06-0.229-0.102-0.306-0.11c-0.076-0.008-0.152,0.06-0.321,0.06c-0.168,0-0.279,0.067-0.347,0C9.349,8.684,9.068,8.65,9.042,8.692C9.008,8.749,8.941,8.751,9.008,8.87c0.069,0.118,0.12,0.186,0.179,0.178s0.262-0.017,0.288,0.051C9.5,9.167,9.569,9.226,9.712,9.184c0.145-0.042,0.263-0.068,0.296-0.119c0.033-0.051,0.263-0.059,0.263-0.059S10.458,8.861,10.391,8.802z",globe:"M16,1.466C7.973,1.466,1.466,7.973,1.466,16c0,8.027,6.507,14.534,14.534,14.534c8.027,0,14.534-6.507,14.534-14.534C30.534,7.973,24.027,1.466,16,1.466zM19.158,23.269c-0.079,0.064-0.183,0.13-0.105,0.207c0.078,0.078-0.09,0.131-0.09,0.17s0.104,0.246,0.052,0.336c-0.052,0.092-0.091,0.223-0.13,0.301c-0.039,0.077-0.131,0.155-0.104,0.272c0.025,0.116-0.104,0.077-0.104,0.194c0,0.116,0.116,0.065,0.09,0.208c-0.025,0.144-0.09,0.183-0.09,0.285c0,0.104,0.064,0.247,0.064,0.286s-0.064,0.17-0.155,0.272c-0.092,0.104-0.155,0.17-0.144,0.233c0.014,0.065,0.104,0.144,0.091,0.184c-0.013,0.037-0.129,0.168-0.116,0.259c0.014,0.09,0.129,0.053,0.155,0.116c0.026,0.065-0.155,0.118-0.078,0.183c0.078,0.064,0.183,0.051,0.156,0.208c-0.019,0.112,0.064,0.163,0.126,0.198c-0.891,0.221-1.818,0.352-2.777,0.352C9.639,27.533,4.466,22.36,4.466,16c0-2.073,0.557-4.015,1.518-5.697c0.079-0.042,0.137-0.069,0.171-0.062c0.065,0.013,0.079,0.104,0.183,0.13c0.104,0.026,0.195-0.078,0.26-0.117c0.064-0.039,0.116-0.195,0.051-0.182c-0.065,0.013-0.234,0-0.234,0s0.183-0.104,0.183-0.169s0.025-0.169,0.129-0.208C6.83,9.655,6.83,9.681,6.765,9.837C6.7,9.993,6.896,9.928,6.973,9.863s0.13-0.013,0.272-0.104c0.143-0.091,0.143-0.143,0.221-0.143c0.078,0,0.221,0.143,0.299,0.091c0.077-0.052,0.299,0.065,0.429,0.065c0.129,0,0.545,0.169,0.624,0.169c0.078,0,0.312,0.09,0.325,0.259c0.013,0.169,0.09,0.156,0.168,0.156s0.26,0.065,0.26,0.13c0,0.065-0.052,0.325,0.078,0.39c0.129,0.064,0.247,0.169,0.299,0.143c0.052-0.026,0-0.233-0.064-0.26c-0.065-0.026-0.027-0.117-0.052-0.169c-0.026-0.051,0.078-0.051,0.117,0.039c0.039,0.091,0.143,0.26,0.208,0.26c0.064,0,0.208,0.156,0.168,0.247c-0.039,0.091,0.039,0.221,0.156,0.221c0.116,0,0.26,0.182,0.312,0.195c0.052,0.013,0.117,0.078,0.117,0.117c0,0.04,0.065,0.26,0.065,0.351c0,0.09-0.04,0.454-0.053,0.597s0.104,0.39,0.234,0.52c0.129,0.13,0.246,0.377,0.324,0.429c0.079,0.052,0.13,0.195,0.247,0.182c0.117-0.013,0.195,0.078,0.299,0.26c0.104,0.182,0.208,0.48,0.286,0.506c0.078,0.026,0.208,0.117,0.142,0.182c-0.064,0.064-0.168,0.208-0.051,0.208c0.117,0,0.156-0.065,0.247,0.053c0.09,0.116,0.208,0.181,0.194,0.26c-0.013,0.077,0.104,0.103,0.156,0.116c0.052,0.013,0.169,0.247,0.286,0.143c0.117-0.104-0.155-0.259-0.234-0.326c-0.078-0.064,0-0.207-0.182-0.35c-0.182-0.143-0.156-0.247-0.286-0.351c-0.13-0.104-0.233-0.195-0.104-0.286c0.13-0.091,0.143,0.091,0.195,0.208c0.052,0.116,0.324,0.351,0.441,0.454c0.117,0.104,0.326,0.468,0.39,0.468s0.247,0.208,0.247,0.208s0.103,0.168,0.064,0.22c-0.039,0.052,0.053,0.247,0.144,0.299c0.09,0.052,0.455,0.22,0.507,0.247c0.052,0.027,0.155,0.221,0.299,0.221c0.142,0,0.247,0.014,0.286,0.053c0.039,0.038,0.155,0.194,0.234,0.104c0.078-0.092,0.09-0.131,0.208-0.131c0.117,0,0.168,0.091,0.233,0.156c0.065,0.065,0.247,0.235,0.338,0.222c0.091-0.013,0.208,0.104,0.273,0.064s0.169,0.025,0.22,0.052c0.054,0.026,0.234,0.118,0.222,0.272c-0.013,0.157,0.103,0.195,0.182,0.234c0.078,0.039,0.182,0.13,0.248,0.195c0.064,0.063,0.206,0.077,0.246,0.116c0.039,0.039,0.065,0.117,0.182,0.052c0.116-0.064,0.092-0.181,0.092-0.181s0.129-0.026,0.194,0.026c0.064,0.05,0.104,0.22,0.144,0.246c0.038,0.026,0.115,0.221,0.063,0.362c-0.051,0.145-0.038,0.286-0.091,0.286c-0.052,0-0.116,0.17-0.195,0.209c-0.076,0.039-0.285,0.221-0.272,0.286c0.013,0.063,0.131,0.258,0.104,0.35c-0.025,0.091-0.194,0.195-0.154,0.338c0.038,0.144,0.312,0.183,0.323,0.312c0.014,0.131,0.209,0.417,0.235,0.546c0.025,0.13,0.246,0.272,0.246,0.453c0,0.184,0.312,0.3,0.377,0.312c0.063,0.013,0.182,0.131,0.272,0.17s0.169,0.116,0.233,0.221s0.053,0.261,0.053,0.299c0,0.039-0.039,0.44-0.078,0.674C19.145,23.021,19.235,23.203,19.158,23.269zM10.766,11.188c0.039,0.013,0.117,0.091,0.156,0.091c0.04,0,0.234,0.156,0.286,0.208c0.053,0.052,0.053,0.195-0.013,0.208s-0.104-0.143-0.117-0.208c-0.013-0.065-0.143-0.065-0.208-0.104C10.805,11.344,10.66,11.152,10.766,11.188zM27.51,16.41c-0.144,0.182-0.13,0.272-0.195,0.286c-0.064,0.013,0.065,0.065,0.09,0.194c0.022,0.112-0.065,0.224,0.063,0.327c-0.486,4.619-3.71,8.434-8.016,9.787c-0.007-0.011-0.019-0.025-0.021-0.034c-0.027-0.078-0.027-0.233,0.064-0.285c0.091-0.053,0.312-0.233,0.363-0.272c0.052-0.04,0.13-0.221,0.091-0.247c-0.038-0.026-0.232,0-0.26-0.039c-0.026-0.039-0.026-0.092,0.104-0.182c0.13-0.091,0.195-0.222,0.247-0.26c0.052-0.039,0.155-0.117,0.195-0.209c0.038-0.09-0.041-0.039-0.118-0.039s-0.117-0.142-0.117-0.207s0.195,0.026,0.339,0.052c0.143,0.024,0.077-0.065,0.064-0.142c-0.013-0.078,0.026-0.209,0.105-0.17c0.076,0.039,0.479-0.013,0.531-0.026c0.052-0.013,0.194-0.246,0.246-0.312c0.053-0.065,0.064-0.129,0-0.168c-0.065-0.04-0.143-0.184-0.168-0.221c-0.026-0.041-0.039-0.274-0.013-0.34c0.025-0.063,0,0.377,0.181,0.43c0.183,0.052,0.286,0.078,0.455-0.078c0.169-0.155,0.298-0.26,0.312-0.363c0.013-0.104,0.052-0.209,0.117-0.246c0.065-0.039,0.104,0.103,0.182-0.065c0.078-0.17,0.156-0.157,0.234-0.299c0.077-0.144-0.13-0.325,0.024-0.43c0.157-0.103,0.43-0.233,0.43-0.233s0.078-0.039,0.234-0.078c0.155-0.038,0.324-0.014,0.376-0.09c0.052-0.079,0.104-0.247,0.182-0.338c0.079-0.092,0.169-0.234,0.13-0.299c-0.039-0.065,0.104-0.352,0.091-0.429c-0.013-0.078-0.13-0.261,0.065-0.416s0.402-0.391,0.416-0.454c0.012-0.065,0.169-0.338,0.154-0.469c-0.012-0.129-0.154-0.285-0.245-0.325c-0.092-0.037-0.286-0.05-0.364-0.154s-0.299-0.208-0.377-0.182c-0.077,0.026-0.208,0.051-0.312-0.015c-0.104-0.063-0.272-0.143-0.337-0.194c-0.066-0.051-0.234-0.09-0.312-0.09s-0.065-0.053-0.182,0.103c-0.117,0.157,0,0.209-0.208,0.182c-0.209-0.024,0.025-0.038,0.144-0.194c0.115-0.155-0.014-0.247-0.144-0.207c-0.13,0.039-0.039,0.117-0.247,0.156c-0.207,0.038-0.207-0.092-0.077-0.117c0.13-0.026,0.363-0.143,0.363-0.194c0-0.053-0.026-0.196-0.13-0.196s-0.078-0.129-0.233-0.297c-0.156-0.17-0.351-0.274-0.508-0.249c-0.154,0.026-0.272,0.065-0.35-0.076c-0.078-0.144-0.169-0.17-0.222-0.247c-0.051-0.078-0.182,0-0.221-0.039s-0.039-0.039-0.039-0.039s-0.169,0.039-0.077-0.078c0.09-0.117,0.129-0.338,0.09-0.325c-0.038,0.013-0.104,0.196-0.168,0.183c-0.064-0.013-0.014-0.04-0.144-0.117c-0.13-0.078-0.337-0.013-0.337,0.052c0,0.065-0.065,0.117-0.065,0.117s-0.039-0.038-0.078-0.117c-0.039-0.078-0.221-0.091-0.312-0.013c-0.09,0.078-0.142-0.196-0.207-0.196s-0.194,0.065-0.26,0.184c-0.064,0.116-0.038,0.285-0.092,0.272c-0.05-0.013-0.063-0.233-0.05-0.312c0.012-0.079,0.155-0.208,0.05-0.234c-0.103-0.026-0.259,0.13-0.323,0.143c-0.065,0.013-0.195,0.104-0.273,0.209c-0.077,0.103-0.116,0.168-0.195,0.207c-0.077,0.039-0.193,0-0.167-0.039c0.025-0.039-0.222-0.181-0.261-0.13c-0.04,0.052-0.155,0.091-0.272,0.144c-0.117,0.052-0.222-0.065-0.247-0.117s-0.079-0.064-0.091-0.234c-0.013-0.168,0.027-0.351,0.065-0.454c0.038-0.104-0.195-0.312-0.286-0.3c-0.091,0.015-0.182,0.105-0.272,0.091c-0.092-0.012-0.052-0.038-0.195-0.038c-0.143,0-0.026-0.025,0-0.143c0.025-0.116-0.052-0.273,0.092-0.377c0.142-0.104,0.091-0.351,0-0.363c-0.092-0.014-0.261,0.039-0.377,0.026c-0.116-0.014-0.208,0.091-0.169,0.207c0.039,0.117-0.065,0.195-0.104,0.183c-0.039-0.013-0.09-0.078-0.234,0.026c-0.142,0.103-0.194,0.064-0.337-0.052c-0.143-0.118-0.299-0.234-0.325-0.416c-0.026-0.182-0.04-0.364,0.013-0.468c0.051-0.104,0.051-0.285-0.026-0.312c-0.078-0.025,0.09-0.155,0.181-0.181c0.092-0.026,0.234-0.143,0.26-0.195c0.026-0.052,0.156-0.04,0.298-0.04c0.143,0,0.169,0,0.312,0.078c0.143,0.078,0.169-0.039,0.169-0.078c0-0.039,0.052-0.117,0.208-0.104c0.156,0.013,0.376-0.052,0.416-0.013s0.116,0.195,0.194,0.143c0.079-0.051,0.104-0.143,0.131,0.014c0.025,0.155,0.09,0.39,0.208,0.429c0.116,0.039,0.052,0.194,0.168,0.207c0.115,0.013,0.17-0.246,0.131-0.337c-0.04-0.09-0.118-0.363-0.183-0.428c-0.064-0.065-0.064-0.234,0.064-0.286c0.13-0.052,0.442-0.312,0.532-0.389c0.092-0.079,0.338-0.144,0.261-0.248c-0.078-0.104-0.104-0.168-0.104-0.247s0.078-0.052,0.117,0s0.194-0.078,0.155-0.143c-0.038-0.064-0.026-0.155,0.065-0.143c0.091,0.013,0.116-0.065,0.078-0.117c-0.039-0.052,0.091-0.117,0.182-0.091c0.092,0.026,0.325-0.013,0.364-0.065c0.038-0.052-0.078-0.104-0.078-0.208c0-0.104,0.155-0.195,0.247-0.208c0.091-0.013,0.207,0,0.221-0.039c0.012-0.039,0.143-0.143,0.155-0.052c0.014,0.091,0,0.247,0.104,0.247c0.104,0,0.232-0.117,0.272-0.129c0.038-0.013,0.286-0.065,0.338-0.078c0.052-0.013,0.363-0.039,0.325-0.13c-0.039-0.09-0.078-0.181-0.118-0.22c-0.039-0.039-0.077,0.013-0.13,0.078c-0.051,0.065-0.143,0.065-0.168,0.013c-0.026-0.051,0.012-0.207-0.078-0.156c-0.092,0.052-0.104,0.104-0.157,0.078c-0.052-0.026-0.103-0.117-0.103-0.117s0.129-0.064,0.038-0.182c-0.09-0.117-0.221-0.091-0.35-0.025c-0.13,0.064-0.118,0.051-0.273,0.09s-0.234,0.078-0.234,0.078s0.209-0.129,0.299-0.208c0.091-0.078,0.209-0.117,0.286-0.195c0.078-0.078,0.285,0.039,0.285,0.039s0.105-0.104,0.105-0.039s-0.027,0.234,0.051,0.234c0.079,0,0.299-0.104,0.21-0.131c-0.093-0.026,0.129,0,0.219-0.065c0.092-0.065,0.194-0.065,0.247-0.09c0.052-0.026,0.092-0.143,0.182-0.143c0.092,0,0.13,0.117,0,0.195s-0.143,0.273-0.208,0.325c-0.064,0.052-0.026,0.117,0.078,0.104c0.104-0.013,0.194,0.013,0.286-0.013s0.143,0.026,0.168,0.065c0.026,0.039,0.104-0.039,0.104-0.039s0.169-0.039,0.221,0.026c0.053,0.064,0.092-0.039,0.053-0.104c-0.039-0.064-0.092-0.129-0.13-0.208c-0.039-0.078-0.091-0.104-0.194-0.078c-0.104,0.026-0.13-0.026-0.195-0.064c-0.065-0.04-0.118,0.052-0.065-0.04c0.053-0.09,0.078-0.117,0.117-0.195c0.039-0.078,0.209-0.221,0.039-0.259c-0.169-0.04-0.222-0.065-0.247-0.143c-0.026-0.078-0.221-0.221-0.272-0.221c-0.053,0-0.233,0-0.247-0.065c-0.013-0.065-0.143-0.208-0.208-0.273c-0.064-0.065-0.312-0.351-0.351-0.377c-0.039-0.026-0.091-0.013-0.208,0.143c-0.116,0.157-0.22,0.183-0.312,0.144c-0.091-0.039-0.104-0.026-0.193-0.13c-0.093-0.104,0.09-0.117,0.051-0.182c-0.04-0.064-0.247-0.091-0.377-0.104c-0.13-0.013-0.221-0.156-0.416-0.169c-0.194-0.013-0.428,0.026-0.493,0.026c-0.064,0-0.064,0.091-0.09,0.234c-0.027,0.143,0.09,0.182-0.027,0.208c-0.116,0.026-0.169,0.039-0.052,0.091c0.117,0.052,0.273,0.26,0.273,0.26s0,0.117-0.092,0.182c-0.09,0.065-0.182,0.13-0.233,0.053c-0.053-0.079-0.195-0.065-0.155,0.013c0.038,0.078,0.116,0.117,0.116,0.195c0,0.077,0.117,0.272,0.039,0.337c-0.078,0.065-0.168,0.014-0.233,0.026s-0.131-0.104-0.078-0.13c0.051-0.026-0.014-0.221-0.014-0.221s-0.155,0.221-0.143,0.104c0.014-0.117-0.064-0.13-0.064-0.221c0-0.091-0.079-0.13-0.194-0.104c-0.118,0.026-0.26-0.04-0.482-0.079c-0.22-0.039-0.311-0.064-0.493-0.156c-0.182-0.091-0.247-0.026-0.338-0.013c-0.091,0.013-0.052-0.182-0.169-0.207c-0.116-0.027-0.181,0.025-0.207-0.144c-0.026-0.168,0.039-0.208,0.324-0.39c0.286-0.182,0.247-0.26,0.468-0.286c0.22-0.026,0.325,0.026,0.325-0.039s0.052-0.325,0.052-0.195S16.95,9.109,16.832,9.2c-0.116,0.091-0.052,0.104,0.04,0.104c0.091,0,0.259-0.091,0.259-0.091s0.208-0.091,0.26-0.013c0.053,0.078,0.053,0.156,0.144,0.156s0.285-0.104,0.116-0.195c-0.168-0.091-0.272-0.078-0.376-0.182s-0.078-0.065-0.195-0.039c-0.116,0.026-0.116-0.039-0.156-0.039s-0.104,0.026-0.13-0.026c-0.025-0.052,0.014-0.065,0.145-0.065c0.129,0,0.285,0.039,0.285,0.039s0.155-0.052,0.194-0.065c0.039-0.013,0.247-0.039,0.208-0.155c-0.04-0.117-0.169-0.117-0.208-0.156s0.078-0.09,0.143-0.117c0.065-0.026,0.247,0,0.247,0s0.117,0.013,0.117-0.039S17.897,8.2,17.976,8.239s0,0.156,0.117,0.13c0.116-0.026,0.143,0,0.207,0.039c0.065,0.039-0.013,0.195-0.077,0.221c-0.065,0.025-0.169,0.077-0.026,0.09c0.144,0.014,0.246,0.014,0.246,0.014s0.092-0.091,0.131-0.169c0.038-0.078,0.104-0.026,0.155,0c0.052,0.025,0.247,0.065,0.065,0.117c-0.183,0.052-0.221,0.117-0.26,0.182c-0.038,0.065-0.053,0.104-0.221,0.065c-0.17-0.039-0.26-0.026-0.299,0.039c-0.039,0.064-0.013,0.273,0.053,0.247c0.063-0.026,0.129-0.026,0.207-0.052c0.078-0.026,0.39,0.026,0.467,0.013c0.078-0.013,0.209,0.13,0.248,0.104c0.039-0.026,0.117,0.052,0.194,0.104c0.078,0.052,0.052-0.117,0.194-0.013c0.144,0.104,0.065,0.104,0.144,0.104c0.076,0,0.246,0.013,0.246,0.013s0.014-0.129,0.144-0.104c0.13,0.026,0.245,0.169,0.232,0.064c-0.012-0.103,0.013-0.181-0.09-0.259c-0.104-0.078-0.272-0.13-0.299-0.169c-0.026-0.039-0.052-0.091-0.013-0.117c0.039-0.025,0.221,0.013,0.324,0.079c0.104,0.065,0.195,0.13,0.273,0.078c0.077-0.052,0.17-0.078,0.208-0.117c0.038-0.04,0.13-0.156,0.13-0.156s-0.391-0.051-0.441-0.117c-0.053-0.065-0.235-0.156-0.287-0.156s-0.194,0.091-0.246-0.039s-0.052-0.286-0.105-0.299c-0.05-0.013-0.597-0.091-0.674-0.13c-0.078-0.039-0.39-0.13-0.507-0.195s-0.286-0.156-0.389-0.156c-0.104,0-0.533,0.052-0.611,0.039c-0.078-0.013-0.312,0.026-0.403,0.039c-0.091,0.013,0.117,0.182-0.077,0.221c-0.195,0.039-0.169,0.065-0.13-0.13c0.038-0.195-0.131-0.247-0.299-0.169c-0.169,0.078-0.442,0.13-0.377,0.221c0.065,0.091-0.012,0.157,0.117,0.247c0.13,0.091,0.183,0.117,0.35,0.104c0.17-0.013,0.339,0.025,0.339,0.025s0,0.157-0.064,0.182c-0.065,0.026-0.169,0.026-0.196,0.104c-0.025,0.078-0.155,0.117-0.155,0.078s0.065-0.169-0.026-0.234c-0.09-0.065-0.117-0.078-0.221-0.013c-0.104,0.065-0.116,0.091-0.169-0.013C16.053,8.291,15.897,8.2,15.897,8.2s-0.104-0.129-0.182-0.194c-0.077-0.065-0.22-0.052-0.234,0.013c-0.013,0.064,0.026,0.129,0.078,0.247c0.052,0.117,0.104,0.337,0.013,0.351c-0.091,0.013-0.104,0.026-0.195,0.052c-0.091,0.026-0.13-0.039-0.13-0.143s-0.04-0.195-0.013-0.234c0.026-0.039-0.104,0.027-0.234,0c-0.13-0.025-0.233,0.052-0.104,0.092c0.13,0.039,0.157,0.194,0.039,0.233c-0.117,0.039-0.559,0-0.702,0s-0.35,0.039-0.39-0.039c-0.039-0.078,0.118-0.129,0.208-0.129c0.091,0,0.363,0.012,0.467-0.13c0.104-0.143-0.13-0.169-0.233-0.169c-0.104,0-0.183-0.039-0.299-0.155c-0.118-0.117,0.078-0.195,0.052-0.247c-0.026-0.052-0.156-0.014-0.272-0.014c-0.117,0-0.299-0.09-0.299,0.014c0,0.104,0.143,0.402,0.052,0.337c-0.091-0.064-0.078-0.156-0.143-0.234c-0.065-0.078-0.168-0.065-0.299-0.052c-0.129,0.013-0.35,0.052-0.415,0.039c-0.064-0.013-0.013-0.013-0.156-0.078c-0.142-0.065-0.208-0.052-0.312-0.117C12.091,7.576,12.182,7.551,12,7.538c-0.181-0.013-0.168,0.09-0.35,0.065c-0.182-0.026-0.234,0.013-0.416,0c-0.182-0.013-0.272-0.026-0.299,0.065c-0.025,0.091-0.078,0.247-0.156,0.247c-0.077,0-0.169,0.091,0.078,0.104c0.247,0.013,0.105,0.129,0.325,0.117c0.221-0.013,0.416-0.013,0.468-0.117c0.052-0.104,0.091-0.104,0.117-0.065c0.025,0.039,0.22,0.272,0.22,0.272s0.131,0.104,0.183,0.13c0.051,0.026-0.052,0.143-0.156,0.078c-0.104-0.065-0.299-0.051-0.377-0.116c-0.078-0.065-0.429-0.065-0.52-0.052c-0.09,0.013-0.247-0.039-0.299-0.039c-0.051,0-0.221,0.13-0.221,0.13S10.532,8.252,10.494,8.2c-0.039-0.052-0.104,0.052-0.156,0.065c-0.052,0.013-0.208-0.104-0.364-0.052C9.818,8.265,9.87,8.317,9.649,8.304s-0.272-0.052-0.35-0.039C9.22,8.278,9.22,8.278,9.22,8.278S9.233,8.33,9.143,8.382C9.052,8.434,8.986,8.499,8.921,8.421C8.857,8.343,8.818,8.343,8.779,8.33c-0.04-0.013-0.118-0.078-0.286-0.04C8.324,8.33,8.064,8.239,8.013,8.239c-0.04,0-0.313-0.015-0.491-0.033c2.109-2.292,5.124-3.74,8.478-3.74c2.128,0,4.117,0.589,5.83,1.598c-0.117,0.072-0.319,0.06-0.388,0.023c-0.078-0.043-0.158-0.078-0.475-0.061c-0.317,0.018-0.665,0.122-0.595,0.226c0.072,0.104-0.142,0.165-0.197,0.113c-0.055-0.052-0.309,0.06-0.293,0.165c0.016,0.104-0.039,0.225-0.175,0.199c-0.134-0.027-0.229,0.06-0.237,0.146c-0.007,0.087-0.309,0.147-0.332,0.147c-0.024,0-0.412-0.008-0.27,0.095c0.097,0.069,0.15,0.027,0.27,0.052c0.119,0.026,0.214,0.217,0.277,0.243c0.062,0.026,0.15,0,0.189-0.052c0.04-0.052,0.095-0.234,0.095-0.234s0,0.173,0.097,0.208c0.095,0.035,0.331-0.026,0.395-0.017c0.064,0.008,0.437,0.061,0.538,0.112c0.104,0.052,0.356,0.087,0.428,0.199c0.071,0.113,0.08,0.503,0.119,0.546c0.04,0.043,0.174-0.139,0.205-0.182c0.031-0.044,0.198-0.018,0.254,0.042c0.056,0.061,0.182,0.208,0.175,0.269C21.9,8.365,21.877,8.459,21.83,8.425c-0.048-0.034-0.127-0.025-0.096-0.095c0.032-0.069,0.048-0.217-0.015-0.217c-0.064,0-0.119,0-0.119,0s-0.12-0.035-0.199,0.095s-0.015,0.26,0.04,0.26s0.184,0,0.184,0.034c0,0.035-0.136,0.139-0.128,0.2c0.009,0.061,0.11,0.268,0.144,0.312c0.031,0.043,0.197,0.086,0.244,0.096c0.049,0.008-0.111,0.017-0.07,0.077c0.04,0.061,0.102,0.208,0.189,0.243c0.087,0.035,0.333,0.19,0.363,0.26c0.032,0.069,0.222-0.052,0.262-0.061c0.04-0.008,0.032,0.182,0.143,0.191c0.11,0.008,0.15-0.018,0.245-0.096s0.072-0.182,0.079-0.26c0.009-0.078,0-0.138,0.104-0.113c0.104,0.026,0.158-0.018,0.15-0.104c-0.008-0.087-0.095-0.191,0.07-0.217c0.167-0.026,0.254-0.138,0.357-0.138c0.103,0,0.389,0.043,0.419,0c0.032-0.043,0.167-0.243,0.254-0.251c0.067-0.007,0.224-0.021,0.385-0.042c1.582,1.885,2.561,4.284,2.673,6.905c-0.118,0.159-0.012,0.305,0.021,0.408c0.001,0.03,0.005,0.058,0.005,0.088c0,0.136-0.016,0.269-0.021,0.404C27.512,16.406,27.512,16.408,27.51,16.41zM17.794,12.084c-0.064,0.013-0.169-0.052-0.169-0.143s-0.091,0.169-0.04,0.247c0.053,0.078-0.104,0.169-0.155,0.169s-0.091-0.116-0.078-0.233c0.014-0.117-0.077-0.221-0.221-0.208c-0.143,0.014-0.208,0.13-0.259,0.169c-0.053,0.039-0.053,0.259-0.04,0.312s0.013,0.235-0.116,0.221c-0.118-0.013-0.092-0.233-0.079-0.312c0.014-0.078-0.039-0.273,0.014-0.376c0.053-0.104,0.207-0.143,0.312-0.156s0.324,0.065,0.363,0.052c0.04-0.014,0.222-0.014,0.312,0C17.729,11.837,17.858,12.071,17.794,12.084zM18.027,12.123c0.04,0.026,0.311-0.039,0.364,0.026c0.051,0.065-0.054,0.078-0.183,0.13c-0.129,0.052-0.169,0.039-0.221,0.104s-0.221,0.09-0.299,0.168c-0.078,0.079-0.217,0.125-0.246,0.065c-0.04-0.078,0.013-0.039,0.025-0.078c0.013-0.039,0.245-0.129,0.245-0.129S17.988,12.097,18.027,12.123zM16.988,11.668c-0.038,0.013-0.182-0.026-0.3-0.026c-0.116,0-0.091-0.078-0.143-0.064c-0.051,0.013-0.168,0.039-0.247,0.078c-0.078,0.039-0.208,0.03-0.208-0.04c0-0.104,0.052-0.078,0.221-0.143c0.169-0.065,0.352-0.247,0.429-0.169c0.078,0.078,0.221,0.169,0.312,0.182C17.144,11.5,17.026,11.655,16.988,11.668zM15.659,7.637c-0.079,0.026-0.347,0.139-0.321,0.199c0.01,0.023,0.078,0.069,0.19,0.052c0.113-0.018,0.276-0.035,0.355-0.043c0.078-0.009,0.095-0.139,0.009-0.147C15.805,7.689,15.736,7.611,15.659,7.637zM14.698,7.741c-0.061,0.026-0.243-0.043-0.338,0.018c-0.061,0.038-0.026,0.164,0.07,0.172c0.095,0.009,0.259-0.06,0.276-0.008c0.018,0.052,0.078,0.286,0.234,0.208c0.156-0.078,0.147-0.147,0.19-0.156c0.043-0.009-0.008-0.199-0.078-0.243C14.983,7.689,14.758,7.715,14.698,7.741zM14.385,7.005c0.017,0.044-0.008,0.078,0.113,0.095c0.121,0.018,0.173,0.035,0.243,0.035c0.069,0,0.042-0.113-0.018-0.19c-0.061-0.078-0.043-0.069-0.199-0.113c-0.156-0.043-0.312-0.043-0.416-0.035c-0.104,0.009-0.217-0.017-0.243,0.104c-0.013,0.062,0.07,0.112,0.174,0.112S14.368,6.962,14.385,7.005zM14.611,7.481c0.043,0.095,0.043,0.051,0.165,0.061C14.896,7.551,14.991,7.421,15,7.378c0.009-0.044-0.061-0.13-0.225-0.113c-0.165,0.017-0.667-0.026-0.736,0.034c-0.066,0.058,0,0.233-0.026,0.251c-0.026,0.017,0.009,0.095,0.077,0.078c0.069-0.017,0.104-0.182,0.157-0.182C14.299,7.447,14.568,7.386,14.611,7.481zM12.982,7.126c0.052,0.043,0.183,0.008,0.173-0.035c-0.008-0.043,0.053-0.217-0.051-0.225C13,6.858,12.854,6.962,12.697,7.014c-0.101,0.033-0.078,0.13-0.009,0.13S12.931,7.083,12.982,7.126zM13.72,7.282c-0.087,0.043-0.114,0.069-0.191,0.052c-0.078-0.017-0.078-0.156-0.217-0.13c-0.138,0.026-0.164,0.104-0.207,0.139s-0.139,0.061-0.173,0.043c-0.034-0.017-0.234-0.129-0.234-0.129s-0.416-0.018-0.433-0.07c-0.017-0.052-0.086-0.138-0.277-0.121s-0.52,0.13-0.572,0.13c-0.052,0,0.062,0.104-0.009,0.104c-0.069,0-0.155-0.008-0.181,0.069c-0.018,0.053,0.078,0.052,0.189,0.052c0.112,0,0.295,0,0.347-0.026c0.052-0.026,0.312-0.087,0.303-0.009c-0.009,0.079,0.104,0.199,0.164,0.182c0.061-0.017,0.183-0.13,0.243-0.086c0.061,0.043,0.07,0.146,0.13,0.173c0.061,0.025,0.226,0.025,0.304,0c0.077-0.027,0.294-0.027,0.389-0.009c0.095,0.018,0.373,0.069,0.399,0.018c0.026-0.053,0.104-0.061,0.112-0.113s0.051-0.216,0.051-0.216S13.806,7.239,13.72,7.282zM18.105,16.239c-0.119,0.021-0.091,0.252,0.052,0.21C18.3,16.407,18.223,16.217,18.105,16.239zM19.235,15.929c-0.104-0.026-0.221,0-0.299,0.013c-0.078,0.013-0.299,0.208-0.299,0.208s0.143,0.026,0.233,0.026c0.092,0,0.144,0.051,0.221,0.09c0.078,0.04,0.221-0.052,0.272-0.052c0.053,0,0.118,0.156,0.131-0.013C19.508,16.032,19.339,15.955,19.235,15.929zM15.616,7.507c-0.043-0.104-0.259-0.139-0.304-0.035C15.274,7.563,15.659,7.611,15.616,7.507zM18.093,15.292c0.143-0.026,0.064-0.144-0.053-0.13C17.922,15.175,17.949,15.318,18.093,15.292zM19.82,16.095c-0.119,0.022-0.092,0.253,0.051,0.211C20.015,16.264,19.937,16.074,19.82,16.095zM18.247,15.708c-0.09,0.013-0.285-0.09-0.389-0.182c-0.104-0.091-0.299-0.091-0.377-0.091c-0.077,0-0.39,0.091-0.39,0.091c-0.013,0.13,0.117,0.091,0.273,0.091s0.429-0.026,0.479,0.039c0.053,0.064,0.286,0.168,0.352,0.221c0.064,0.052,0.272,0.065,0.285,0.013S18.338,15.695,18.247,15.708zM16.698,7.412c-0.13-0.009-0.295-0.009-0.399,0c-0.104,0.008-0.182-0.069-0.26-0.113c-0.077-0.043-0.251-0.182-0.354-0.199c-0.104-0.017-0.086-0.017-0.303-0.069c-0.11-0.027-0.294-0.061-0.294-0.086c0-0.026-0.052,0.121,0.043,0.165c0.095,0.043,0.251,0.121,0.363,0.164c0.114,0.043,0.329,0.052,0.399,0.139c0.069,0.086,0.303,0.156,0.303,0.156l0.277,0.026c0,0,0.191-0.043,0.39-0.026c0.199,0.017,0.493,0.043,0.659,0.035c0.163-0.008,0.189-0.061,0.208-0.095c0.016-0.035-0.304-0.104-0.383-0.095C17.271,7.42,16.827,7.42,16.698,7.412zM17.182,9.404c-0.034,0.039,0.157,0.095,0.191,0.043C17.407,9.396,17.271,9.309,17.182,9.404zM17.764,9.585c0.086-0.035,0.043-0.139-0.079-0.104C17.547,9.521,17.676,9.62,17.764,9.585z",warning:"M29.225,23.567l-3.778-6.542c-1.139-1.972-3.002-5.2-4.141-7.172l-3.778-6.542c-1.14-1.973-3.003-1.973-4.142,0L9.609,9.853c-1.139,1.972-3.003,5.201-4.142,7.172L1.69,23.567c-1.139,1.974-0.207,3.587,2.071,3.587h23.391C29.432,27.154,30.363,25.541,29.225,23.567zM16.536,24.58h-2.241v-2.151h2.241V24.58zM16.428,20.844h-2.023l-0.201-9.204h2.407L16.428,20.844z",arrowleftalt:"M16,30.534c8.027,0,14.534-6.507,14.534-14.534c0-8.027-6.507-14.534-14.534-14.534C7.973,1.466,1.466,7.973,1.466,16C1.466,24.027,7.973,30.534,16,30.534zM18.335,6.276l3.536,3.538l-6.187,6.187l6.187,6.187l-3.536,3.537l-9.723-9.724L18.335,6.276z",arrowalt:"M16,1.466C7.973,1.466,1.466,7.973,1.466,16c0,8.027,6.507,14.534,14.534,14.534c8.027,0,14.534-6.507,14.534-14.534C30.534,7.973,24.027,1.466,16,1.466zM13.665,25.725l-3.536-3.539l6.187-6.187l-6.187-6.187l3.536-3.536l9.724,9.723L13.665,25.725z",code:"M8.982,7.107L0.322,15.77l8.661,8.662l3.15-3.15L6.621,15.77l5.511-5.511L8.982,7.107zM21.657,7.107l-3.148,3.151l5.511,5.511l-5.511,5.511l3.148,3.15l8.662-8.662L21.657,7.107z",arrowleft:"M21.871,9.814 15.684,16.001 21.871,22.188 18.335,25.725 8.612,16.001 18.335,6.276z",arrow:"M10.129,22.186 16.316,15.999 10.129,9.812 13.665,6.276 23.389,15.999 13.665,25.725z",pensil:"M25.31,2.872l-3.384-2.127c-0.854-0.536-1.979-0.278-2.517,0.576l-1.334,2.123l6.474,4.066l1.335-2.122C26.42,4.533,26.164,3.407,25.31,2.872zM6.555,21.786l6.474,4.066L23.581,9.054l-6.477-4.067L6.555,21.786zM5.566,26.952l-0.143,3.819l3.379-1.787l3.14-1.658l-6.246-3.925L5.566,26.952z",pen:"M13.587,12.074c-0.049-0.074-0.11-0.147-0.188-0.202c-0.333-0.243-0.803-0.169-1.047,0.166c-0.244,0.336-0.167,0.805,0.167,1.048c0.303,0.22,0.708,0.167,0.966-0.091l-7.086,9.768l-2.203,7.997l6.917-4.577L26.865,4.468l-4.716-3.42l-1.52,2.096c-0.087-0.349-0.281-0.676-0.596-0.907c-0.73-0.529-1.751-0.369-2.28,0.363C14.721,6.782,16.402,7.896,13.587,12.074zM10.118,25.148L6.56,27.503l1.133-4.117L10.118,25.148zM14.309,11.861c2.183-3.225,1.975-4.099,3.843-6.962c0.309,0.212,0.664,0.287,1.012,0.269L14.309,11.861z",plus:"M25.979,12.896 19.312,12.896 19.312,6.229 12.647,6.229 12.647,12.896 5.979,12.896 5.979,19.562 12.647,19.562 12.647,26.229 19.312,26.229 19.312,19.562 25.979,19.562z",minus:"M25.979,12.896,19.312,12.896,5.979,12.896,5.979,19.562,25.979,19.562z",tshirt:"M20.1,4.039c-0.681,1.677-2.32,2.862-4.24,2.862c-1.921,0-3.56-1.185-4.24-2.862L1.238,8.442l2.921,6.884l3.208-1.361V28h17.099V14.015l3.093,1.312l2.922-6.884L20.1,4.039z",page:"M23.024,5.673c-1.744-1.694-3.625-3.051-5.168-3.236c-0.084-0.012-0.171-0.019-0.263-0.021H7.438c-0.162,0-0.322,0.063-0.436,0.18C6.889,2.71,6.822,2.87,6.822,3.033v25.75c0,0.162,0.063,0.317,0.18,0.435c0.117,0.116,0.271,0.179,0.436,0.179h18.364c0.162,0,0.317-0.062,0.434-0.179c0.117-0.117,0.182-0.272,0.182-0.435V11.648C26.382,9.659,24.824,7.49,23.024,5.673zM25.184,28.164H8.052V3.646h9.542v0.002c0.416-0.025,0.775,0.386,1.05,1.326c0.25,0.895,0.313,2.062,0.312,2.871c0.002,0.593-0.027,0.991-0.027,0.991l-0.049,0.652l0.656,0.007c0.003,0,1.516,0.018,3,0.355c1.426,0.308,2.541,0.922,2.645,1.617c0.004,0.062,0.005,0.124,0.004,0.182V28.164z",page2:"M23.024,5.673c-1.744-1.694-3.625-3.051-5.168-3.236c-0.084-0.012-0.171-0.019-0.263-0.021H7.438c-0.162,0-0.322,0.063-0.436,0.18C6.889,2.71,6.822,2.87,6.822,3.033v25.75c0,0.162,0.063,0.317,0.18,0.435c0.117,0.116,0.271,0.179,0.436,0.179h18.364c0.162,0,0.317-0.062,0.434-0.179c0.117-0.117,0.182-0.272,0.182-0.435V11.648C26.382,9.659,24.824,7.49,23.024,5.673zM22.157,6.545c0.805,0.786,1.529,1.676,2.069,2.534c-0.468-0.185-0.959-0.322-1.42-0.431c-1.015-0.228-2.008-0.32-2.625-0.357c0.003-0.133,0.004-0.283,0.004-0.446c0-0.869-0.055-2.108-0.356-3.2c-0.003-0.01-0.005-0.02-0.009-0.03C20.584,5.119,21.416,5.788,22.157,6.545zM25.184,28.164H8.052V3.646h9.542v0.002c0.416-0.025,0.775,0.386,1.05,1.326c0.25,0.895,0.313,2.062,0.312,2.871c0.002,0.593-0.027,0.991-0.027,0.991l-0.049,0.652l0.656,0.007c0.003,0,1.516,0.018,3,0.355c1.426,0.308,2.541,0.922,2.645,1.617c0.004,0.062,0.005,0.124,0.004,0.182V28.164z",plugin:"M26.33,15.836l-3.893-1.545l3.136-7.9c0.28-0.705-0.064-1.505-0.771-1.785c-0.707-0.28-1.506,0.065-1.785,0.771l-3.136,7.9l-4.88-1.937l3.135-7.9c0.281-0.706-0.064-1.506-0.77-1.786c-0.706-0.279-1.506,0.065-1.785,0.771l-3.136,7.9L8.554,8.781l-1.614,4.066l2.15,0.854l-2.537,6.391c-0.61,1.54,0.143,3.283,1.683,3.895l1.626,0.646L8.985,26.84c-0.407,1.025,0.095,2.188,1.122,2.596l0.93,0.369c1.026,0.408,2.188-0.095,2.596-1.121l0.877-2.207l1.858,0.737c1.54,0.611,3.284-0.142,3.896-1.682l2.535-6.391l1.918,0.761L26.33,15.836z",bookmark:"M17.396,1.841L6.076,25.986l7.341-4.566l1.186,8.564l11.32-24.146L17.396,1.841zM19.131,9.234c-0.562-0.264-0.805-0.933-0.541-1.495c0.265-0.562,0.934-0.805,1.496-0.541s0.805,0.934,0.541,1.496S19.694,9.498,19.131,9.234z",hammer:"M7.831,29.354c0.685,0.353,1.62,1.178,2.344,0.876c0.475-0.195,0.753-1.301,1.048-1.883c2.221-4.376,4.635-9.353,6.392-13.611c0-0.19,0.101-0.337-0.049-0.595c0.983-1.6,1.65-3.358,2.724-5.138c0.34-0.566,0.686-1.351,1.163-1.577l0.881-0.368c1.12-0.288,1.938-0.278,2.719,0.473c0.396,0.383,0.578,1.015,0.961,1.395c0.259,0.26,1.246,0.899,1.613,0.8c0.285-0.077,0.52-0.364,0.72-0.728l0.696-1.286c0.195-0.366,0.306-0.718,0.215-0.999c-0.117-0.362-1.192-0.84-1.552-0.915c-0.528-0.113-1.154,0.081-1.692-0.041c-1.057-0.243-1.513-0.922-1.883-2.02c-2.608-1.533-6.119-2.53-10.207-1.244c-1.109,0.349-2.172,0.614-2.901,1.323c-0.146,0.412,0.143,0.494,0.446,0.489c-0.237,0.216-0.62,0.341-0.399,0.848c2.495-1.146,7.34-1.542,7.669,0.804c0.072,0.522-0.395,1.241-0.682,1.835c-0.905,1.874-2.011,3.394-2.813,5.091c-0.298,0.017-0.366,0.18-0.525,0.287c-2.604,3.8-5.451,8.541-7.9,12.794c-0.326,0.566-1.098,1.402-1.002,1.906C5.961,28.641,7.146,29,7.831,29.354z",users:"M21.053,20.8c-1.132-0.453-1.584-1.698-1.584-1.698s-0.51,0.282-0.51-0.51s0.51,0.51,1.02-2.548c0,0,1.414-0.397,1.132-3.68h-0.34c0,0,0.849-3.51,0-4.699c-0.85-1.189-1.189-1.981-3.058-2.548s-1.188-0.454-2.547-0.396c-1.359,0.057-2.492,0.792-2.492,1.188c0,0-0.849,0.057-1.188,0.397c-0.34,0.34-0.906,1.924-0.906,2.321s0.283,3.058,0.566,3.624l-0.337,0.113c-0.283,3.283,1.132,3.68,1.132,3.68c0.509,3.058,1.019,1.756,1.019,2.548s-0.51,0.51-0.51,0.51s-0.452,1.245-1.584,1.698c-1.132,0.452-7.416,2.886-7.927,3.396c-0.511,0.511-0.453,2.888-0.453,2.888h26.947c0,0,0.059-2.377-0.452-2.888C28.469,23.686,22.185,21.252,21.053,20.8zM8.583,20.628c-0.099-0.18-0.148-0.31-0.148-0.31s-0.432,0.239-0.432-0.432s0.432,0.432,0.864-2.159c0,0,1.199-0.336,0.959-3.119H9.538c0,0,0.143-0.591,0.237-1.334c-0.004-0.308,0.006-0.636,0.037-0.996l0.038-0.426c-0.021-0.492-0.107-0.939-0.312-1.226C8.818,9.619,8.53,8.947,6.947,8.467c-1.583-0.48-1.008-0.385-2.159-0.336C3.636,8.179,2.676,8.802,2.676,9.139c0,0-0.72,0.048-1.008,0.336c-0.271,0.271-0.705,1.462-0.757,1.885v0.281c0.047,0.653,0.258,2.449,0.469,2.872l-0.286,0.096c-0.239,2.783,0.959,3.119,0.959,3.119c0.432,2.591,0.864,1.488,0.864,2.159s-0.432,0.432-0.432,0.432s-0.383,1.057-1.343,1.439c-0.061,0.024-0.139,0.056-0.232,0.092v5.234h0.575c-0.029-1.278,0.077-2.927,0.746-3.594C2.587,23.135,3.754,22.551,8.583,20.628zM30.913,11.572c-0.04-0.378-0.127-0.715-0.292-0.946c-0.719-1.008-1.008-1.679-2.59-2.159c-1.584-0.48-1.008-0.385-2.16-0.336C24.72,8.179,23.76,8.802,23.76,9.139c0,0-0.719,0.048-1.008,0.336c-0.271,0.272-0.709,1.472-0.758,1.891h0.033l0.08,0.913c0.02,0.231,0.022,0.436,0.027,0.645c0.09,0.666,0.21,1.35,0.33,1.589l-0.286,0.096c-0.239,2.783,0.96,3.119,0.96,3.119c0.432,2.591,0.863,1.488,0.863,2.159s-0.432,0.432-0.432,0.432s-0.053,0.142-0.163,0.338c4.77,1.9,5.927,2.48,6.279,2.834c0.67,0.667,0.775,2.315,0.746,3.594h0.48v-5.306c-0.016-0.006-0.038-0.015-0.052-0.021c-0.959-0.383-1.343-1.439-1.343-1.439s-0.433,0.239-0.433-0.432s0.433,0.432,0.864-2.159c0,0,0.804-0.229,0.963-1.841v-1.227c-0.001-0.018-0.001-0.033-0.003-0.051h-0.289c0,0,0.215-0.89,0.292-1.861V11.572z",user:"M20.771,12.364c0,0,0.849-3.51,0-4.699c-0.85-1.189-1.189-1.981-3.058-2.548s-1.188-0.454-2.547-0.396c-1.359,0.057-2.492,0.792-2.492,1.188c0,0-0.849,0.057-1.188,0.397c-0.34,0.34-0.906,1.924-0.906,2.321s0.283,3.058,0.566,3.624l-0.337,0.113c-0.283,3.283,1.132,3.68,1.132,3.68c0.509,3.058,1.019,1.756,1.019,2.548s-0.51,0.51-0.51,0.51s-0.452,1.245-1.584,1.698c-1.132,0.452-7.416,2.886-7.927,3.396c-0.511,0.511-0.453,2.888-0.453,2.888h26.947c0,0,0.059-2.377-0.452-2.888c-0.512-0.511-6.796-2.944-7.928-3.396c-1.132-0.453-1.584-1.698-1.584-1.698s-0.51,0.282-0.51-0.51s0.51,0.51,1.02-2.548c0,0,1.414-0.397,1.132-3.68H20.771z",mail:"M28.516,7.167H3.482l12.517,7.108L28.516,7.167zM16.74,17.303C16.51,17.434,16.255,17.5,16,17.5s-0.51-0.066-0.741-0.197L2.5,10.06v14.773h27V10.06L16.74,17.303z",bubble:"M16,5.333c-7.732,0-14,4.701-14,10.5c0,1.982,0.741,3.833,2.016,5.414L2,25.667l5.613-1.441c2.339,1.317,5.237,2.107,8.387,2.107c7.732,0,14-4.701,14-10.5C30,10.034,23.732,5.333,16,5.333z",codetalk:"M16,4.938c-7.732,0-14,4.701-14,10.5c0,1.981,0.741,3.833,2.016,5.414L2,25.272l5.613-1.44c2.339,1.316,5.237,2.106,8.387,2.106c7.732,0,14-4.701,14-10.5S23.732,4.938,16,4.938zM13.704,19.47l-2.338,2.336l-6.43-6.431l6.429-6.432l2.339,2.341l-4.091,4.091L13.704,19.47zM20.775,21.803l-2.337-2.339l4.092-4.09l-4.092-4.092l2.337-2.339l6.43,6.426L20.775,21.803z",talkq:"M16,4.938c-7.732,0-14,4.701-14,10.5c0,1.981,0.741,3.833,2.016,5.414L2,25.272l5.613-1.44c2.339,1.316,5.237,2.106,8.387,2.106c7.732,0,14-4.701,14-10.5S23.732,4.938,16,4.938zM16.868,21.375h-1.969v-1.889h1.969V21.375zM16.772,18.094h-1.777l-0.176-8.083h2.113L16.772,18.094z",talke:"M16,4.938c-7.732,0-14,4.701-14,10.5c0,1.981,0.741,3.833,2.016,5.414L2,25.272l5.613-1.44c2.339,1.316,5.237,2.106,8.387,2.106c7.732,0,14-4.701,14-10.5S23.732,4.938,16,4.938zM16.982,21.375h-1.969v-1.889h1.969V21.375zM16.982,17.469v0.625h-1.969v-0.769c0-2.321,2.641-2.689,2.641-4.337c0-0.752-0.672-1.329-1.553-1.329c-0.912,0-1.713,0.672-1.713,0.672l-1.12-1.393c0,0,1.104-1.153,3.009-1.153c1.81,0,3.49,1.121,3.49,3.009C19.768,15.437,16.982,15.741,16.982,17.469z",home:"M27.812,16l-3.062-3.062V5.625h-2.625v4.688L16,4.188L4.188,16L7,15.933v11.942h17.875V16H27.812zM16,26.167h-5.833v-7H16V26.167zM21.667,23.167h-3.833v-4.042h3.833V23.167z",lock:"M22.335,12.833V9.999h-0.001C22.333,6.501,19.498,3.666,16,3.666S9.666,6.502,9.666,10h0v2.833H7.375V25h17.25V12.833H22.335zM11.667,10C11.667,10,11.667,10,11.667,10c0-2.39,1.944-4.334,4.333-4.334c2.391,0,4.335,1.944,4.335,4.333c0,0,0,0,0,0v2.834h-8.668V10z",clip:"M23.898,6.135c-1.571-1.125-3.758-0.764-4.884,0.808l-8.832,12.331c-0.804,1.122-0.546,2.684,0.577,3.488c1.123,0.803,2.684,0.545,3.488-0.578l6.236-8.706l-0.813-0.583l-6.235,8.707h0c-0.483,0.672-1.42,0.828-2.092,0.347c-0.673-0.481-0.827-1.419-0.345-2.093h0l8.831-12.33l0.001-0.001l-0.002-0.001c0.803-1.119,2.369-1.378,3.489-0.576c1.12,0.803,1.379,2.369,0.577,3.489v-0.001l-9.68,13.516l0.001,0.001c-1.124,1.569-3.316,1.931-4.885,0.808c-1.569-1.125-1.93-3.315-0.807-4.885l7.035-9.822l-0.813-0.582l-7.035,9.822c-1.447,2.02-0.982,4.83,1.039,6.277c2.021,1.448,4.831,0.982,6.278-1.037l9.68-13.516C25.83,9.447,25.47,7.261,23.898,6.135z",star:"M15.999,22.77l-8.884,6.454l3.396-10.44l-8.882-6.454l10.979,0.002l2.918-8.977l0.476-1.458l3.39,10.433h10.982l-8.886,6.454l3.397,10.443L15.999,22.77L15.999,22.77z",star2:"M30.373,12.329H19.391l-3.39-10.433l-0.476,1.458l-2.918,8.977L1.628,12.329l8.882,6.454l-3.396,10.44l8.884-6.454l8.886,6.457l-3.397-10.443L30.373,12.329z M17.175,21.151L16,20.298l-1.175,0.854l-3.902,2.834l1.49-4.584l0.45-1.382l-1.177-0.855l-3.9-2.834h6.275l0.45-1.381L16,8.366l1.489,4.581l0.449,1.381h6.281l-3.906,2.836l-1.178,0.854l0.449,1.384l1.493,4.584L17.175,21.151z",chat:"M15.985,5.972c-7.563,0-13.695,4.077-13.695,9.106c0,2.877,2.013,5.44,5.147,7.108c-0.446,1.479-1.336,3.117-3.056,4.566c0,0,4.015-0.266,6.851-3.143c0.163,0.04,0.332,0.07,0.497,0.107c-0.155-0.462-0.246-0.943-0.246-1.443c0-3.393,3.776-6.05,8.599-6.05c3.464,0,6.379,1.376,7.751,3.406c1.168-1.34,1.847-2.892,1.847-4.552C29.68,10.049,23.548,5.972,15.985,5.972zM27.68,22.274c0-2.79-3.401-5.053-7.599-5.053c-4.196,0-7.599,2.263-7.599,5.053c0,2.791,3.403,5.053,7.599,5.053c0.929,0,1.814-0.116,2.637-0.319c1.573,1.597,3.801,1.744,3.801,1.744c-0.954-0.804-1.447-1.713-1.695-2.534C26.562,25.293,27.68,23.871,27.68,22.274z",quote:"M14.505,5.873c-3.937,2.52-5.904,5.556-5.904,9.108c0,1.104,0.192,1.656,0.576,1.656l0.396-0.107c0.312-0.12,0.563-0.18,0.756-0.18c1.128,0,2.07,0.411,2.826,1.229c0.756,0.82,1.134,1.832,1.134,3.037c0,1.157-0.408,2.14-1.224,2.947c-0.816,0.807-1.801,1.211-2.952,1.211c-1.608,0-2.935-0.661-3.979-1.984c-1.044-1.321-1.565-2.98-1.565-4.977c0-2.259,0.443-4.327,1.332-6.203c0.888-1.875,2.243-3.57,4.067-5.085c1.824-1.514,2.988-2.272,3.492-2.272c0.336,0,0.612,0.162,0.828,0.486c0.216,0.324,0.324,0.606,0.324,0.846L14.505,5.873zM27.465,5.873c-3.937,2.52-5.904,5.556-5.904,9.108c0,1.104,0.192,1.656,0.576,1.656l0.396-0.107c0.312-0.12,0.563-0.18,0.756-0.18c1.104,0,2.04,0.411,2.808,1.229c0.769,0.82,1.152,1.832,1.152,3.037c0,1.157-0.408,2.14-1.224,2.947c-0.816,0.807-1.801,1.211-2.952,1.211c-1.608,0-2.935-0.661-3.979-1.984c-1.044-1.321-1.565-2.98-1.565-4.977c0-2.284,0.449-4.369,1.35-6.256c0.9-1.887,2.256-3.577,4.068-5.067c1.812-1.49,2.97-2.236,3.474-2.236c0.336,0,0.612,0.162,0.828,0.486c0.216,0.324,0.324,0.606,0.324,0.846L27.465,5.873z",gear2:"M17.047,27.945c-0.34,0.032-0.688,0.054-1.046,0.054l0,0c-0.32,0-0.631-0.017-0.934-0.043l0,0l-2.626,3.375l-0.646-0.183c-0.758-0.213-1.494-0.48-2.202-0.8l0,0L8.979,30.07l0.158-4.24c-0.558-0.39-1.079-0.825-1.561-1.302l0,0L3.424,25.42l-0.379-0.557c-0.445-0.654-0.824-1.339-1.16-2.032l0,0l-0.292-0.605l2.819-3.12c-0.176-0.661-0.293-1.343-0.353-2.038l0,0l-3.736-1.975l0.068-0.669c0.08-0.801,0.235-1.567,0.42-2.303l0,0l0.165-0.653l4.167-0.577c0.297-0.627,0.647-1.221,1.041-1.78l0,0l-1.59-3.914l0.48-0.47c0.564-0.55,1.168-1.048,1.798-1.503l0,0l0.546-0.394l3.597,2.259c0.606-0.279,1.24-0.509,1.897-0.685l0,0l1.304-4.046l0.672-0.051c0.362-0.027,0.751-0.058,1.174-0.058l0,0c0.422,0,0.81,0.031,1.172,0.058l0,0l0.672,0.051l1.318,4.088c0.632,0.176,1.244,0.401,1.831,0.674l0,0l3.647-2.291l0.548,0.394c0.63,0.455,1.235,0.954,1.798,1.501l0,0l0.482,0.47l-1.639,4.031c0.357,0.519,0.679,1.068,0.954,1.646l0,0l4.297,0.595l0.167,0.653c0.188,0.735,0.342,1.501,0.42,2.303l0,0l0.068,0.669l-3.866,2.044c-0.058,0.634-0.161,1.258-0.315,1.866l0,0l2.913,3.218l-0.293,0.608c-0.335,0.695-0.712,1.382-1.159,2.034l0,0l-0.379,0.555l-4.255-0.912c-0.451,0.451-0.939,0.866-1.461,1.241l0,0l0.162,4.323l-0.615,0.278c-0.709,0.319-1.444,0.587-2.202,0.8l0,0l-0.648,0.183L17.047,27.945L17.047,27.945zM20.424,29.028c0.227-0.076,0.45-0.157,0.671-0.244l0,0l-0.152-4.083l0.479-0.307c0.717-0.466,1.37-1.024,1.95-1.658l0,0l0.386-0.423l4.026,0.862c0.121-0.202,0.238-0.409,0.351-0.62l0,0l-2.754-3.045l0.171-0.544c0.243-0.783,0.381-1.623,0.422-2.5l0,0l0.025-0.571l3.658-1.933c-0.038-0.234-0.082-0.467-0.132-0.7l0,0l-4.07-0.563l-0.219-0.527c-0.327-0.787-0.76-1.524-1.277-2.204l0,0l-0.342-0.453l1.548-3.808c-0.179-0.157-0.363-0.31-0.552-0.458l0,0l-3.455,2.169L20.649,7.15c-0.754-0.397-1.569-0.698-2.429-0.894l0,0l-0.556-0.127l-1.248-3.87c-0.121-0.006-0.239-0.009-0.354-0.009l0,0c-0.117,0-0.235,0.003-0.357,0.009l0,0l-1.239,3.845l-0.564,0.12c-0.875,0.188-1.709,0.494-2.486,0.896l0,0l-0.508,0.264L7.509,5.249c-0.188,0.148-0.372,0.301-0.55,0.458l0,0l1.507,3.708L8.112,9.869c-0.552,0.709-1.011,1.485-1.355,2.319l0,0l-0.218,0.529l-3.939,0.545c-0.05,0.233-0.094,0.466-0.131,0.7l0,0l3.531,1.867l0.022,0.575c0.037,0.929,0.192,1.82,0.459,2.653l0,0l0.175,0.548l-2.667,2.95c0.112,0.212,0.229,0.419,0.351,0.621l0,0l3.916-0.843l0.39,0.423c0.601,0.657,1.287,1.229,2.043,1.703l0,0l0.488,0.305l-0.149,4.02c0.221,0.087,0.445,0.168,0.672,0.244l0,0l2.479-3.188l0.566,0.07c0.427,0.054,0.843,0.089,1.257,0.089l0,0c0.445,0,0.894-0.039,1.353-0.104l0,0l0.571-0.08L20.424,29.028L20.424,29.028zM21.554,20.75l0.546,0.839l-3.463,2.253l-1.229-1.891l0,0c-0.447,0.109-0.917,0.173-1.406,0.173l0,0c-3.384,0-6.126-2.743-6.126-6.123l0,0c0-3.384,2.742-6.126,6.126-6.126l0,0c3.38,0,6.123,2.742,6.123,6.126l0,0c0,1.389-0.467,2.676-1.25,3.704l0,0L21.554,20.75M19.224,21.073l0.108-0.069l-0.987-1.519l0.572-0.572c0.748-0.75,1.207-1.773,1.207-2.912l0,0c-0.004-2.278-1.848-4.122-4.123-4.126l0,0c-2.28,0.004-4.122,1.846-4.126,4.126l0,0c0.004,2.275,1.848,4.119,4.126,4.123l0,0c0.509,0,0.999-0.104,1.473-0.286l0,0l0.756-0.29L19.224,21.073L19.224,21.073z",gear:"M26.974,16.514l3.765-1.991c-0.074-0.738-0.217-1.454-0.396-2.157l-4.182-0.579c-0.362-0.872-0.84-1.681-1.402-2.423l1.594-3.921c-0.524-0.511-1.09-0.977-1.686-1.406l-3.551,2.229c-0.833-0.438-1.73-0.77-2.672-0.984l-1.283-3.976c-0.364-0.027-0.728-0.056-1.099-0.056s-0.734,0.028-1.099,0.056l-1.271,3.941c-0.967,0.207-1.884,0.543-2.738,0.986L7.458,4.037C6.863,4.466,6.297,4.932,5.773,5.443l1.55,3.812c-0.604,0.775-1.11,1.629-1.49,2.55l-4.05,0.56c-0.178,0.703-0.322,1.418-0.395,2.157l3.635,1.923c0.041,1.013,0.209,1.994,0.506,2.918l-2.742,3.032c0.319,0.661,0.674,1.303,1.085,1.905l4.037-0.867c0.662,0.72,1.416,1.351,2.248,1.873l-0.153,4.131c0.663,0.299,1.352,0.549,2.062,0.749l2.554-3.283C15.073,26.961,15.532,27,16,27c0.507,0,1.003-0.046,1.491-0.113l2.567,3.301c0.711-0.2,1.399-0.45,2.062-0.749l-0.156-4.205c0.793-0.513,1.512-1.127,2.146-1.821l4.142,0.889c0.411-0.602,0.766-1.243,1.085-1.905l-2.831-3.131C26.778,18.391,26.93,17.467,26.974,16.514zM20.717,21.297l-1.785,1.162l-1.098-1.687c-0.571,0.22-1.186,0.353-1.834,0.353c-2.831,0-5.125-2.295-5.125-5.125c0-2.831,2.294-5.125,5.125-5.125c2.83,0,5.125,2.294,5.125,5.125c0,1.414-0.573,2.693-1.499,3.621L20.717,21.297z",wrench:"M26.834,14.693c1.816-2.088,2.181-4.938,1.193-7.334l-3.646,4.252l-3.594-0.699L19.596,7.45l3.637-4.242c-2.502-0.63-5.258,0.13-7.066,2.21c-1.907,2.193-2.219,5.229-1.039,7.693L5.624,24.04c-1.011,1.162-0.888,2.924,0.274,3.935c1.162,1.01,2.924,0.888,3.935-0.274l9.493-10.918C21.939,17.625,24.918,16.896,26.834,14.693z",magic:"M23.043,4.649l-0.404-2.312l-1.59,1.727l-2.323-0.33l1.151,2.045l-1.032,2.108l2.302-0.463l1.686,1.633l0.271-2.332l2.074-1.099L23.043,4.649zM26.217,18.198l-0.182-1.25l-0.882,0.905l-1.245-0.214l0.588,1.118l-0.588,1.118l1.245-0.214l0.882,0.905l0.182-1.25l1.133-0.56L26.217,18.198zM4.92,7.672L5.868,7.3l0.844,0.569L6.65,6.853l0.802-0.627L6.467,5.97L6.118,5.013L5.571,5.872L4.553,5.908l0.647,0.786L4.92,7.672zM10.439,10.505l1.021-1.096l1.481,0.219l-0.727-1.31l0.667-1.341l-1.47,0.287l-1.069-1.048L10.16,7.703L8.832,8.396l1.358,0.632L10.439,10.505zM17.234,12.721c-0.588-0.368-1.172-0.618-1.692-0.729c-0.492-0.089-1.039-0.149-1.425,0.374L2.562,30.788h6.68l9.669-15.416c0.303-0.576,0.012-1.041-0.283-1.447C18.303,13.508,17.822,13.09,17.234,12.721zM13.613,21.936c-0.254-0.396-0.74-0.857-1.373-1.254c-0.632-0.396-1.258-0.634-1.726-0.69l4.421-7.052c0.064-0.013,0.262-0.021,0.543,0.066c0.346,0.092,0.785,0.285,1.225,0.562c0.504,0.313,0.908,0.677,1.133,0.97c0.113,0.145,0.178,0.271,0.195,0.335c0.002,0.006,0.004,0.011,0.004,0.015L13.613,21.936z",download:"M16,1.466C7.973,1.466,1.466,7.973,1.466,16c0,8.027,6.507,14.534,14.534,14.534c8.027,0,14.534-6.507,14.534-14.534C30.534,7.973,24.027,1.466,16,1.466zM16,28.792c-1.549,0-2.806-1.256-2.806-2.806s1.256-2.806,2.806-2.806c1.55,0,2.806,1.256,2.806,2.806S17.55,28.792,16,28.792zM16,21.087l-7.858-6.562h3.469V5.747h8.779v8.778h3.468L16,21.087z",view:"M16,8.286C8.454,8.286,2.5,16,2.5,16s5.954,7.715,13.5,7.715c5.771,0,13.5-7.715,13.5-7.715S21.771,8.286,16,8.286zM16,20.807c-2.649,0-4.807-2.157-4.807-4.807s2.158-4.807,4.807-4.807s4.807,2.158,4.807,4.807S18.649,20.807,16,20.807zM16,13.194c-1.549,0-2.806,1.256-2.806,2.806c0,1.55,1.256,2.806,2.806,2.806c1.55,0,2.806-1.256,2.806-2.806C18.806,14.451,17.55,13.194,16,13.194z",noview:"M11.478,17.568c-0.172-0.494-0.285-1.017-0.285-1.568c0-2.65,2.158-4.807,4.807-4.807c0.552,0,1.074,0.113,1.568,0.285l2.283-2.283C18.541,8.647,17.227,8.286,16,8.286C8.454,8.286,2.5,16,2.5,16s2.167,2.791,5.53,5.017L11.478,17.568zM23.518,11.185l-3.056,3.056c0.217,0.546,0.345,1.138,0.345,1.76c0,2.648-2.158,4.807-4.807,4.807c-0.622,0-1.213-0.128-1.76-0.345l-2.469,2.47c1.327,0.479,2.745,0.783,4.229,0.783c5.771,0,13.5-7.715,13.5-7.715S26.859,13.374,23.518,11.185zM25.542,4.917L4.855,25.604L6.27,27.02L26.956,6.332L25.542,4.917z",cloud:"M24.345,13.904c0.019-0.195,0.03-0.392,0.03-0.591c0-3.452-2.798-6.25-6.25-6.25c-2.679,0-4.958,1.689-5.847,4.059c-0.589-0.646-1.429-1.059-2.372-1.059c-1.778,0-3.219,1.441-3.219,3.219c0,0.21,0.023,0.415,0.062,0.613c-2.372,0.391-4.187,2.436-4.187,4.918c0,2.762,2.239,5,5,5h15.875c2.762,0,5-2.238,5-5C28.438,16.362,26.672,14.332,24.345,13.904z",cloud2:"M7.562,24.812c-3.313,0-6-2.687-6-6l0,0c0.002-2.659,1.734-4.899,4.127-5.684l0,0c0.083-2.26,1.937-4.064,4.216-4.066l0,0c0.73,0,1.415,0.19,2.01,0.517l0,0c1.266-2.105,3.57-3.516,6.208-3.517l0,0c3.947,0.002,7.157,3.155,7.248,7.079l0,0c2.362,0.804,4.062,3.034,4.064,5.671l0,0c0,3.313-2.687,6-6,6l0,0H7.562L7.562,24.812zM24.163,14.887c-0.511-0.095-0.864-0.562-0.815-1.079l0,0c0.017-0.171,0.027-0.336,0.027-0.497l0,0c-0.007-2.899-2.352-5.245-5.251-5.249l0,0c-2.249-0.002-4.162,1.418-4.911,3.41l0,0c-0.122,0.323-0.406,0.564-0.748,0.63l0,0c-0.34,0.066-0.694-0.052-0.927-0.309l0,0c-0.416-0.453-0.986-0.731-1.633-0.731l0,0c-1.225,0.002-2.216,0.993-2.22,2.218l0,0c0,0.136,0.017,0.276,0.045,0.424l0,0c0.049,0.266-0.008,0.54-0.163,0.762l0,0c-0.155,0.223-0.392,0.371-0.657,0.414l0,0c-1.9,0.313-3.352,1.949-3.35,3.931l0,0c0.004,2.209,1.792,3.995,4.001,4.001l0,0h15.874c2.209-0.006,3.994-1.792,3.999-4.001l0,0C27.438,16.854,26.024,15.231,24.163,14.887L24.163,14.887",cloudDown:"M24.345,13.904c0.019-0.195,0.03-0.392,0.03-0.591c0-3.452-2.798-6.25-6.25-6.25c-2.679,0-4.958,1.689-5.847,4.059c-0.589-0.646-1.429-1.059-2.372-1.059c-1.778,0-3.219,1.441-3.219,3.219c0,0.21,0.023,0.415,0.062,0.613c-2.372,0.391-4.187,2.436-4.187,4.918c0,2.762,2.239,5,5,5h3.404l-0.707-0.707c-0.377-0.377-0.585-0.879-0.585-1.413c0-0.533,0.208-1.035,0.585-1.412l0.556-0.557c0.4-0.399,0.937-0.628,1.471-0.628c0.027,0,0.054,0,0.08,0.002v-0.472c0-1.104,0.898-2.002,2-2.002h3.266c1.103,0,2,0.898,2,2.002v0.472c0.027-0.002,0.054-0.002,0.081-0.002c0.533,0,1.07,0.229,1.47,0.63l0.557,0.552c0.78,0.781,0.78,2.05,0,2.828l-0.706,0.707h2.403c2.762,0,5-2.238,5-5C28.438,16.362,26.672,14.332,24.345,13.904z M21.033,20.986l-0.556-0.555c-0.39-0.389-0.964-0.45-1.276-0.137c-0.312,0.312-0.568,0.118-0.568-0.432v-1.238c0-0.55-0.451-1-1-1h-3.265c-0.55,0-1,0.45-1,1v1.238c0,0.55-0.256,0.744-0.569,0.432c-0.312-0.313-0.887-0.252-1.276,0.137l-0.556,0.555c-0.39,0.389-0.39,1.024-0.001,1.413l4.328,4.331c0.194,0.194,0.451,0.291,0.707,0.291s0.512-0.097,0.707-0.291l4.327-4.331C21.424,22.011,21.423,21.375,21.033,20.986z",cloudUp:"M24.345,13.904c0.019-0.195,0.03-0.392,0.03-0.591c0-3.452-2.798-6.25-6.25-6.25c-2.679,0-4.958,1.689-5.847,4.059c-0.589-0.646-1.429-1.059-2.372-1.059c-1.778,0-3.219,1.441-3.219,3.219c0,0.21,0.023,0.415,0.062,0.613c-2.372,0.391-4.187,2.436-4.187,4.918c0,2.762,2.239,5,5,5h2.312c-0.126-0.266-0.2-0.556-0.2-0.859c0-0.535,0.208-1.04,0.587-1.415l4.325-4.329c0.375-0.377,0.877-0.585,1.413-0.585c0.54,0,1.042,0.21,1.417,0.587l4.323,4.329c0.377,0.373,0.585,0.878,0.585,1.413c0,0.304-0.073,0.594-0.2,0.859h1.312c2.762,0,5-2.238,5-5C28.438,16.362,26.672,14.332,24.345,13.904z M16.706,17.916c-0.193-0.195-0.45-0.291-0.706-0.291s-0.512,0.096-0.707,0.291l-4.327,4.33c-0.39,0.389-0.389,1.025,0.001,1.414l0.556,0.555c0.39,0.389,0.964,0.449,1.276,0.137s0.568-0.119,0.568,0.432v1.238c0,0.549,0.451,1,1,1h3.265c0.551,0,1-0.451,1-1v-1.238c0-0.551,0.256-0.744,0.569-0.432c0.312,0.312,0.887,0.252,1.276-0.137l0.556-0.555c0.39-0.389,0.39-1.025,0.001-1.414L16.706,17.916z",location:"M16,3.5c-4.142,0-7.5,3.358-7.5,7.5c0,4.143,7.5,18.121,7.5,18.121S23.5,15.143,23.5,11C23.5,6.858,20.143,3.5,16,3.5z M16,14.584c-1.979,0-3.584-1.604-3.584-3.584S14.021,7.416,16,7.416S19.584,9.021,19.584,11S17.979,14.584,16,14.584z",key:"M18.386,16.009l0.009-0.006l-0.58-0.912c1.654-2.226,1.876-5.319,0.3-7.8c-2.043-3.213-6.303-4.161-9.516-2.118c-3.212,2.042-4.163,6.302-2.12,9.517c1.528,2.402,4.3,3.537,6.944,3.102l0.424,0.669l0.206,0.045l0.779-0.447l-0.305,1.377l2.483,0.552l-0.296,1.325l1.903,0.424l-0.68,3.06l1.406,0.313l-0.424,1.906l4.135,0.918l0.758-3.392L18.386,16.009z M10.996,8.944c-0.685,0.436-1.593,0.233-2.029-0.452C8.532,7.807,8.733,6.898,9.418,6.463s1.594-0.233,2.028,0.452C11.883,7.6,11.68,8.509,10.996,8.944z",ruler:"M6.63,21.796l-5.122,5.121h25.743V1.175L6.63,21.796zM18.702,10.48c0.186-0.183,0.48-0.183,0.664,0l1.16,1.159c0.184,0.183,0.186,0.48,0.002,0.663c-0.092,0.091-0.213,0.137-0.332,0.137c-0.121,0-0.24-0.046-0.33-0.137l-1.164-1.159C18.519,10.96,18.519,10.664,18.702,10.48zM17.101,12.084c0.184-0.183,0.48-0.183,0.662,0l2.156,2.154c0.184,0.183,0.184,0.48,0.002,0.661c-0.092,0.092-0.213,0.139-0.334,0.139s-0.24-0.046-0.33-0.137l-2.156-2.154C16.917,12.564,16.917,12.267,17.101,12.084zM15.497,13.685c0.184-0.183,0.48-0.183,0.664,0l1.16,1.161c0.184,0.183,0.182,0.48-0.002,0.663c-0.092,0.092-0.211,0.138-0.33,0.138c-0.121,0-0.24-0.046-0.332-0.138l-1.16-1.16C15.314,14.166,15.314,13.868,15.497,13.685zM13.896,15.288c0.184-0.183,0.48-0.181,0.664,0.002l1.158,1.159c0.183,0.184,0.183,0.48,0,0.663c-0.092,0.092-0.212,0.138-0.332,0.138c-0.119,0-0.24-0.046-0.332-0.138l-1.158-1.161C13.713,15.767,13.713,15.471,13.896,15.288zM12.293,16.892c0.183-0.184,0.479-0.184,0.663,0l2.154,2.153c0.184,0.184,0.184,0.481,0,0.665c-0.092,0.092-0.211,0.138-0.33,0.138c-0.121,0-0.242-0.046-0.334-0.138l-2.153-2.155C12.11,17.371,12.11,17.075,12.293,16.892zM10.302,24.515c-0.091,0.093-0.212,0.139-0.332,0.139c-0.119,0-0.238-0.045-0.33-0.137l-2.154-2.153c-0.184-0.183-0.184-0.479,0-0.663s0.479-0.184,0.662,0l2.154,2.153C10.485,24.036,10.485,24.332,10.302,24.515zM10.912,21.918c-0.093,0.093-0.214,0.139-0.333,0.139c-0.12,0-0.24-0.045-0.33-0.137l-1.162-1.161c-0.184-0.183-0.184-0.479,0-0.66c0.184-0.185,0.48-0.187,0.664-0.003l1.161,1.162C11.095,21.438,11.095,21.735,10.912,21.918zM12.513,20.316c-0.092,0.092-0.211,0.138-0.332,0.138c-0.119,0-0.239-0.046-0.331-0.138l-1.159-1.16c-0.184-0.184-0.184-0.48,0-0.664s0.48-0.182,0.663,0.002l1.159,1.161C12.696,19.838,12.696,20.135,12.513,20.316zM22.25,21.917h-8.67l8.67-8.67V21.917zM22.13,10.7c-0.09,0.092-0.211,0.138-0.33,0.138c-0.121,0-0.242-0.046-0.334-0.138l-1.16-1.159c-0.184-0.183-0.184-0.479,0-0.663c0.182-0.183,0.479-0.183,0.662,0l1.16,1.159C22.312,10.221,22.313,10.517,22.13,10.7zM24.726,10.092c-0.092,0.092-0.213,0.137-0.332,0.137s-0.24-0.045-0.33-0.137l-2.154-2.154c-0.184-0.183-0.184-0.481,0-0.664s0.482-0.181,0.664,0.002l2.154,2.154C24.911,9.613,24.909,9.91,24.726,10.092z",power:"M21.816,3.999c-0.993-0.481-2.189-0.068-2.673,0.927c-0.482,0.995-0.066,2.191,0.927,2.673c3.115,1.516,5.265,4.705,5.263,8.401c-0.01,5.154-4.18,9.324-9.333,9.333c-5.154-0.01-9.324-4.18-9.334-9.333c-0.002-3.698,2.149-6.89,5.267-8.403c0.995-0.482,1.408-1.678,0.927-2.673c-0.482-0.993-1.676-1.409-2.671-0.927C5.737,6.152,2.667,10.72,2.665,16C2.667,23.364,8.634,29.332,16,29.334c7.365-0.002,13.333-5.97,13.334-13.334C29.332,10.722,26.266,6.157,21.816,3.999z M16,13.833c1.104,0,1.999-0.894,1.999-2V2.499C17.999,1.394,17.104,0.5,16,0.5c-1.106,0-2,0.895-2,1.999v9.333C14,12.938,14.894,13.833,16,13.833z",unlock:"M20.375,12.833h-2.209V10c0,0,0,0,0-0.001c0-2.389,1.945-4.333,4.334-4.333c2.391,0,4.335,1.944,4.335,4.333c0,0,0,0,0,0v2.834h2V9.999h-0.001c-0.001-3.498-2.836-6.333-6.334-6.333S16.166,6.502,16.166,10v2.833H3.125V25h17.25V12.833z",flag:"M26.04,9.508c0.138-0.533,0.15-1.407,0.028-1.943l-0.404-1.771c-0.122-0.536-0.665-1.052-1.207-1.146l-3.723-0.643c-0.542-0.094-1.429-0.091-1.97,0.007l-4.033,0.726c-0.542,0.098-1.429,0.108-1.973,0.023L8.812,4.146C8.817,4.165,8.826,4.182,8.83,4.201l2.701,12.831l1.236,0.214c0.542,0.094,1.428,0.09,1.97-0.007l4.032-0.727c0.541-0.097,1.429-0.107,1.973-0.022l4.329,0.675c0.544,0.085,0.906-0.288,0.807-0.829l-0.485-2.625c-0.1-0.541-0.069-1.419,0.068-1.952L26.04,9.508zM6.667,3.636C6.126,3.75,5.78,4.279,5.894,4.819l5.763,27.378H13.7L7.852,4.409C7.736,3.867,7.207,3.521,6.667,3.636z",tag:"M14.263,2.826H7.904L2.702,8.028v6.359L18.405,30.09l11.561-11.562L14.263,2.826zM6.495,8.859c-0.619-0.619-0.619-1.622,0-2.24C7.114,6,8.117,6,8.736,6.619c0.62,0.62,0.619,1.621,0,2.241C8.117,9.479,7.114,9.479,6.495,8.859z",search:"M29.772,26.433l-7.126-7.126c0.96-1.583,1.523-3.435,1.524-5.421C24.169,8.093,19.478,3.401,13.688,3.399C7.897,3.401,3.204,8.093,3.204,13.885c0,5.789,4.693,10.481,10.484,10.481c1.987,0,3.839-0.563,5.422-1.523l7.128,7.127L29.772,26.433zM7.203,13.885c0.006-3.582,2.903-6.478,6.484-6.486c3.579,0.008,6.478,2.904,6.484,6.486c-0.007,3.58-2.905,6.476-6.484,6.484C10.106,20.361,7.209,17.465,7.203,13.885z",zoomout:"M22.646,19.307c0.96-1.583,1.523-3.435,1.524-5.421C24.169,8.093,19.478,3.401,13.688,3.399C7.897,3.401,3.204,8.093,3.204,13.885c0,5.789,4.693,10.481,10.484,10.481c1.987,0,3.839-0.563,5.422-1.523l7.128,7.127l3.535-3.537L22.646,19.307zM13.688,20.369c-3.582-0.008-6.478-2.904-6.484-6.484c0.006-3.582,2.903-6.478,6.484-6.486c3.579,0.008,6.478,2.904,6.484,6.486C20.165,17.465,17.267,20.361,13.688,20.369zM8.854,11.884v4.001l9.665-0.001v-3.999L8.854,11.884z",zoomin:"M22.646,19.307c0.96-1.583,1.523-3.435,1.524-5.421C24.169,8.093,19.478,3.401,13.688,3.399C7.897,3.401,3.204,8.093,3.204,13.885c0,5.789,4.693,10.481,10.484,10.481c1.987,0,3.839-0.563,5.422-1.523l7.128,7.127l3.535-3.537L22.646,19.307zM13.688,20.369c-3.582-0.008-6.478-2.904-6.484-6.484c0.006-3.582,2.903-6.478,6.484-6.486c3.579,0.008,6.478,2.904,6.484,6.486C20.165,17.465,17.267,20.361,13.688,20.369zM15.687,9.051h-4v2.833H8.854v4.001h2.833v2.833h4v-2.834h2.832v-3.999h-2.833V9.051z",cross:"M24.778,21.419 19.276,15.917 24.777,10.415 21.949,7.585 16.447,13.087 10.945,7.585 8.117,10.415 13.618,15.917 8.116,21.419 10.946,24.248 16.447,18.746 21.948,24.248z",check:"M2.379,14.729 5.208,11.899 12.958,19.648 25.877,6.733 28.707,9.561 12.958,25.308z",settings:"M16.015,12.03c-2.156,0-3.903,1.747-3.903,3.903c0,2.155,1.747,3.903,3.903,3.903c0.494,0,0.962-0.102,1.397-0.27l0.836,1.285l1.359-0.885l-0.831-1.276c0.705-0.706,1.142-1.681,1.142-2.757C19.918,13.777,18.171,12.03,16.015,12.03zM16,1.466C7.973,1.466,1.466,7.973,1.466,16c0,8.027,6.507,14.534,14.534,14.534c8.027,0,14.534-6.507,14.534-14.534C30.534,7.973,24.027,1.466,16,1.466zM26.174,20.809c-0.241,0.504-0.513,0.99-0.826,1.45L22.19,21.58c-0.481,0.526-1.029,0.994-1.634,1.385l0.119,3.202c-0.507,0.23-1.028,0.421-1.569,0.57l-1.955-2.514c-0.372,0.051-0.75,0.086-1.136,0.086c-0.356,0-0.706-0.029-1.051-0.074l-1.945,2.5c-0.541-0.151-1.065-0.342-1.57-0.569l0.117-3.146c-0.634-0.398-1.208-0.88-1.712-1.427L6.78,22.251c-0.313-0.456-0.583-0.944-0.826-1.448l2.088-2.309c-0.226-0.703-0.354-1.451-0.385-2.223l-2.768-1.464c0.055-0.563,0.165-1.107,0.301-1.643l3.084-0.427c0.29-0.702,0.675-1.352,1.135-1.942L8.227,7.894c0.399-0.389,0.83-0.744,1.283-1.07l2.663,1.672c0.65-0.337,1.349-0.593,2.085-0.75l0.968-3.001c0.278-0.021,0.555-0.042,0.837-0.042c0.282,0,0.56,0.022,0.837,0.042l0.976,3.028c0.72,0.163,1.401,0.416,2.036,0.75l2.704-1.697c0.455,0.326,0.887,0.681,1.285,1.07l-1.216,2.986c0.428,0.564,0.793,1.181,1.068,1.845l3.185,0.441c0.135,0.535,0.247,1.081,0.302,1.643l-2.867,1.516c-0.034,0.726-0.15,1.43-0.355,2.1L26.174,20.809z",settingsalt:"M16,1.466C7.973,1.466,1.466,7.973,1.466,16c0,8.027,6.507,14.534,14.534,14.534c8.027,0,14.534-6.507,14.534-14.534C30.534,7.973,24.027,1.466,16,1.466zM24.386,14.968c-1.451,1.669-3.706,2.221-5.685,1.586l-7.188,8.266c-0.766,0.88-2.099,0.97-2.979,0.205s-0.973-2.099-0.208-2.979l7.198-8.275c-0.893-1.865-0.657-4.164,0.787-5.824c1.367-1.575,3.453-2.151,5.348-1.674l-2.754,3.212l0.901,2.621l2.722,0.529l2.761-3.22C26.037,11.229,25.762,13.387,24.386,14.968z",feed:"M4.135,16.762c3.078,0,5.972,1.205,8.146,3.391c2.179,2.187,3.377,5.101,3.377,8.202h4.745c0-9.008-7.299-16.335-16.269-16.335V16.762zM4.141,8.354c10.973,0,19.898,8.975,19.898,20.006h4.743c0-13.646-11.054-24.749-24.642-24.749V8.354zM10.701,25.045c0,1.815-1.471,3.287-3.285,3.287s-3.285-1.472-3.285-3.287c0-1.813,1.471-3.285,3.285-3.285S10.701,23.231,10.701,25.045z",bug:"M28.589,10.903l-5.828,1.612c-0.534-1.419-1.338-2.649-2.311-3.628l3.082-5.44c0.271-0.48,0.104-1.092-0.38-1.365c-0.479-0.271-1.09-0.102-1.36,0.377l-2.924,5.162c-0.604-0.383-1.24-0.689-1.9-0.896c-0.416-1.437-1.652-2.411-3.058-2.562c-0.001-0.004-0.002-0.008-0.003-0.012c-0.061-0.242-0.093-0.46-0.098-0.65c-0.005-0.189,0.012-0.351,0.046-0.479c0.037-0.13,0.079-0.235,0.125-0.317c0.146-0.26,0.34-0.43,0.577-0.509c0.023,0.281,0.142,0.482,0.352,0.601c0.155,0.088,0.336,0.115,0.546,0.086c0.211-0.031,0.376-0.152,0.496-0.363c0.105-0.186,0.127-0.389,0.064-0.607c-0.064-0.219-0.203-0.388-0.414-0.507c-0.154-0.087-0.314-0.131-0.482-0.129c-0.167,0.001-0.327,0.034-0.481,0.097c-0.153,0.063-0.296,0.16-0.429,0.289c-0.132,0.129-0.241,0.271-0.33,0.426c-0.132,0.234-0.216,0.496-0.25,0.783c-0.033,0.286-0.037,0.565-0.009,0.84c0.017,0.16,0.061,0.301,0.094,0.449c-0.375-0.021-0.758,0.002-1.14,0.108c-0.482,0.133-0.913,0.36-1.28,0.653c-0.052-0.172-0.098-0.344-0.18-0.518c-0.116-0.249-0.263-0.486-0.438-0.716c-0.178-0.229-0.384-0.41-0.618-0.543C9.904,3.059,9.737,2.994,9.557,2.951c-0.18-0.043-0.352-0.052-0.516-0.027s-0.318,0.08-0.463,0.164C8.432,3.172,8.318,3.293,8.23,3.445C8.111,3.656,8.08,3.873,8.136,4.092c0.058,0.221,0.181,0.384,0.367,0.49c0.21,0.119,0.415,0.138,0.611,0.056C9.31,4.556,9.451,4.439,9.539,4.283c0.119-0.21,0.118-0.443-0.007-0.695c0.244-0.055,0.497-0.008,0.757,0.141c0.081,0.045,0.171,0.115,0.27,0.208c0.097,0.092,0.193,0.222,0.286,0.388c0.094,0.166,0.179,0.368,0.251,0.608c0.013,0.044,0.023,0.098,0.035,0.146c-0.911,0.828-1.357,2.088-1.098,3.357c-0.582,0.584-1.072,1.27-1.457,2.035l-5.16-2.926c-0.48-0.271-1.092-0.102-1.364,0.377C1.781,8.404,1.95,9.016,2.43,9.289l5.441,3.082c-0.331,1.34-0.387,2.807-0.117,4.297l-5.828,1.613c-0.534,0.147-0.846,0.699-0.698,1.231c0.147,0.53,0.697,0.843,1.231,0.694l5.879-1.627c0.503,1.057,1.363,2.28,2.371,3.443l-3.194,5.639c-0.272,0.481-0.104,1.092,0.378,1.363c0.239,0.137,0.512,0.162,0.758,0.094c0.248-0.068,0.469-0.229,0.604-0.471l2.895-5.109c2.7,2.594,5.684,4.123,5.778,1.053c1.598,2.56,3.451-0.338,4.502-3.976l5.203,2.947c0.24,0.138,0.514,0.162,0.762,0.094c0.246-0.067,0.467-0.229,0.603-0.471c0.272-0.479,0.104-1.091-0.377-1.362l-5.701-3.229c0.291-1.505,0.422-2.983,0.319-4.138l5.886-1.627c0.53-0.147,0.847-0.697,0.696-1.229C29.673,11.068,29.121,10.756,28.589,10.903z",link:"M15.667,4.601c-1.684,1.685-2.34,3.985-2.025,6.173l3.122-3.122c0.004-0.005,0.014-0.008,0.016-0.012c0.21-0.403,0.464-0.789,0.802-1.126c1.774-1.776,4.651-1.775,6.428,0c1.775,1.773,1.777,4.652,0.002,6.429c-0.34,0.34-0.727,0.593-1.131,0.804c-0.004,0.002-0.006,0.006-0.01,0.01l-3.123,3.123c2.188,0.316,4.492-0.34,6.176-2.023c2.832-2.832,2.83-7.423,0-10.255C23.09,1.77,18.499,1.77,15.667,4.601zM14.557,22.067c-0.209,0.405-0.462,0.791-0.801,1.131c-1.775,1.774-4.656,1.774-6.431,0c-1.775-1.774-1.775-4.653,0-6.43c0.339-0.338,0.725-0.591,1.128-0.8c0.004-0.006,0.005-0.012,0.011-0.016l3.121-3.123c-2.187-0.316-4.489,0.342-6.172,2.024c-2.831,2.831-2.83,7.423,0,10.255c2.833,2.831,7.424,2.831,10.257,0c1.684-1.684,2.342-3.986,2.023-6.175l-3.125,3.123C14.565,22.063,14.561,22.065,14.557,22.067zM9.441,18.885l2.197,2.197c0.537,0.537,1.417,0.537,1.953,0l8.302-8.302c0.539-0.536,0.539-1.417,0.002-1.952l-2.199-2.197c-0.536-0.539-1.416-0.539-1.952-0.002l-8.302,8.303C8.904,17.469,8.904,18.349,9.441,18.885z",calendar:"M11.758,15.318c0.312-0.3,0.408-0.492,0.408-0.492h0.024c0,0-0.012,0.264-0.012,0.528v5.469h-1.871v1.031h4.87v-1.031H13.33v-7.436h-1.055l-2.027,1.967l0.719,0.744L11.758,15.318zM16.163,21.207c0,0.205,0.024,0.42,0.06,0.647h5.457v-1.031h-4.197c0.023-1.931,4.065-2.362,4.065-5.146c0-1.463-1.114-2.436-2.674-2.436c-1.907,0-2.675,1.607-2.675,1.607l0.875,0.587c0,0,0.6-1.08,1.716-1.08c0.887,0,1.522,0.563,1.522,1.403C20.312,17.754,16.163,18.186,16.163,21.207zM12,3.604h-2v3.335h2V3.604zM23,4.77v3.17h-4V4.77h-6v3.168H9.002V4.77H6.583v21.669h18.833V4.77H23zM24.417,25.438H7.584V10.522h16.833V25.438zM22,3.604h-2v3.335h2V3.604z",picker:"M22.221,10.853c-0.111-0.414-0.261-0.412,0.221-1.539l1.66-3.519c0.021-0.051,0.2-0.412,0.192-0.946c0.015-0.529-0.313-1.289-1.119-1.642c-1.172-0.555-1.17-0.557-2.344-1.107c-0.784-0.396-1.581-0.171-1.979,0.179c-0.42,0.333-0.584,0.7-0.609,0.75L16.58,6.545c-0.564,1.084-0.655,0.97-1.048,1.147c-0.469,0.129-1.244,0.558-1.785,1.815c-1.108,2.346-1.108,2.346-1.108,2.346l-0.276,0.586l1.17,0.553l-3.599,7.623c-0.38,0.828-0.166,1.436-0.166,2.032c0.01,0.627-0.077,1.509-0.876,3.21l-0.276,0.586l3.517,1.661l0.276-0.585c0.808-1.699,1.431-2.326,1.922-2.717c0.46-0.381,1.066-0.6,1.465-1.42l3.599-7.618l1.172,0.554l0.279-0.589c0,0,0,0,1.105-2.345C22.578,12.166,22.419,11.301,22.221,10.853zM14.623,22.83c-0.156,0.353-0.413,0.439-1.091,0.955c-0.577,0.448-1.264,1.172-2.009,2.6l-1.191-0.562c0.628-1.48,0.75-2.474,0.73-3.203c-0.031-0.851-0.128-1.104,0.045-1.449l3.599-7.621l3.517,1.662L14.623,22.83z",no:"M16,2.939C9.006,2.942,3.338,8.61,3.335,15.605C3.335,22.6,9.005,28.268,16,28.27c6.994-0.002,12.662-5.67,12.664-12.664C28.663,8.61,22.995,2.939,16,2.939zM25.663,15.605c-0.003,1.943-0.583,3.748-1.569,5.264L10.736,7.513c1.515-0.988,3.32-1.569,5.265-1.573C21.337,5.951,25.654,10.269,25.663,15.605zM6.335,15.605c0.004-1.943,0.584-3.75,1.573-5.266l13.355,13.357c-1.516,0.986-3.32,1.566-5.264,1.569C10.664,25.26,6.346,20.941,6.335,15.605z",commandline:"M2.021,9.748L2.021,9.748V9.746V9.748zM2.022,9.746l5.771,5.773l-5.772,5.771l2.122,2.123l7.894-7.895L4.143,7.623L2.022,9.746zM12.248,23.269h14.419V20.27H12.248V23.269zM16.583,17.019h10.084V14.02H16.583V17.019zM12.248,7.769v3.001h14.419V7.769H12.248z",photo:"M24.25,10.25H20.5v-1.5h-9.375v1.5h-3.75c-1.104,0-2,0.896-2,2v10.375c0,1.104,0.896,2,2,2H24.25c1.104,0,2-0.896,2-2V12.25C26.25,11.146,25.354,10.25,24.25,10.25zM15.812,23.499c-3.342,0-6.06-2.719-6.06-6.061c0-3.342,2.718-6.062,6.06-6.062s6.062,2.72,6.062,6.062C21.874,20.78,19.153,23.499,15.812,23.499zM15.812,13.375c-2.244,0-4.062,1.819-4.062,4.062c0,2.244,1.819,4.062,4.062,4.062c2.244,0,4.062-1.818,4.062-4.062C19.875,15.194,18.057,13.375,15.812,13.375z","export":"M24.086,20.904c-1.805,3.113-5.163,5.212-9.023,5.219c-5.766-0.01-10.427-4.672-10.438-10.435C4.636,9.922,9.297,5.261,15.063,5.25c3.859,0.007,7.216,2.105,9.022,5.218l3.962,2.284l0.143,0.082C26.879,6.784,21.504,2.25,15.063,2.248C7.64,2.25,1.625,8.265,1.624,15.688c0.002,7.42,6.017,13.435,13.439,13.437c6.442-0.002,11.819-4.538,13.127-10.589l-0.141,0.081L24.086,20.904zM28.4,15.688l-7.15-4.129v2.297H10.275v3.661H21.25v2.297L28.4,15.688z","import":"M15.067,2.25c-5.979,0-11.035,3.91-12.778,9.309h3.213c1.602-3.705,5.271-6.301,9.565-6.309c5.764,0.01,10.428,4.674,10.437,10.437c-0.009,5.764-4.673,10.428-10.437,10.438c-4.294-0.007-7.964-2.605-9.566-6.311H2.289c1.744,5.399,6.799,9.31,12.779,9.312c7.419-0.002,13.437-6.016,13.438-13.438C28.504,8.265,22.486,2.252,15.067,2.25zM10.918,19.813l7.15-4.126l-7.15-4.129v2.297H-0.057v3.661h10.975V19.813z",run:"M17.41,20.395l-0.778-2.723c0.228-0.2,0.442-0.414,0.644-0.643l2.721,0.778c0.287-0.418,0.534-0.862,0.755-1.323l-2.025-1.96c0.097-0.288,0.181-0.581,0.241-0.883l2.729-0.684c0.02-0.252,0.039-0.505,0.039-0.763s-0.02-0.51-0.039-0.762l-2.729-0.684c-0.061-0.302-0.145-0.595-0.241-0.883l2.026-1.96c-0.222-0.46-0.469-0.905-0.756-1.323l-2.721,0.777c-0.201-0.228-0.416-0.442-0.644-0.643l0.778-2.722c-0.418-0.286-0.863-0.534-1.324-0.755l-1.96,2.026c-0.287-0.097-0.581-0.18-0.883-0.241l-0.683-2.73c-0.253-0.019-0.505-0.039-0.763-0.039s-0.51,0.02-0.762,0.039l-0.684,2.73c-0.302,0.061-0.595,0.144-0.883,0.241l-1.96-2.026C7.048,3.463,6.604,3.71,6.186,3.997l0.778,2.722C6.736,6.919,6.521,7.134,6.321,7.361L3.599,6.583C3.312,7.001,3.065,7.446,2.844,7.907l2.026,1.96c-0.096,0.288-0.18,0.581-0.241,0.883l-2.73,0.684c-0.019,0.252-0.039,0.505-0.039,0.762s0.02,0.51,0.039,0.763l2.73,0.684c0.061,0.302,0.145,0.595,0.241,0.883l-2.026,1.96c0.221,0.46,0.468,0.905,0.755,1.323l2.722-0.778c0.2,0.229,0.415,0.442,0.643,0.643l-0.778,2.723c0.418,0.286,0.863,0.533,1.323,0.755l1.96-2.026c0.288,0.097,0.581,0.181,0.883,0.241l0.684,2.729c0.252,0.02,0.505,0.039,0.763,0.039s0.51-0.02,0.763-0.039l0.683-2.729c0.302-0.061,0.596-0.145,0.883-0.241l1.96,2.026C16.547,20.928,16.992,20.681,17.41,20.395zM11.798,15.594c-1.877,0-3.399-1.522-3.399-3.399s1.522-3.398,3.399-3.398s3.398,1.521,3.398,3.398S13.675,15.594,11.798,15.594zM27.29,22.699c0.019-0.547-0.06-1.104-0.23-1.654l1.244-1.773c-0.188-0.35-0.4-0.682-0.641-0.984l-2.122,0.445c-0.428-0.364-0.915-0.648-1.436-0.851l-0.611-2.079c-0.386-0.068-0.777-0.105-1.173-0.106l-0.974,1.936c-0.279,0.054-0.558,0.128-0.832,0.233c-0.257,0.098-0.497,0.22-0.727,0.353L17.782,17.4c-0.297,0.262-0.568,0.545-0.813,0.852l0.907,1.968c-0.259,0.495-0.437,1.028-0.519,1.585l-1.891,1.06c0.019,0.388,0.076,0.776,0.164,1.165l2.104,0.519c0.231,0.524,0.541,0.993,0.916,1.393l-0.352,2.138c0.32,0.23,0.66,0.428,1.013,0.6l1.715-1.32c0.536,0.141,1.097,0.195,1.662,0.15l1.452,1.607c0.2-0.057,0.399-0.118,0.596-0.193c0.175-0.066,0.34-0.144,0.505-0.223l0.037-2.165c0.455-0.339,0.843-0.747,1.152-1.206l2.161-0.134c0.152-0.359,0.279-0.732,0.368-1.115L27.29,22.699zM23.127,24.706c-1.201,0.458-2.545-0.144-3.004-1.345s0.143-2.546,1.344-3.005c1.201-0.458,2.547,0.144,3.006,1.345C24.931,22.902,24.328,24.247,23.127,24.706z",magnet:"M20.812,19.5h5.002v-6.867c-0.028-1.706-0.61-3.807-2.172-5.841c-1.539-2.014-4.315-3.72-7.939-3.687C12.076,3.073,9.3,4.779,7.762,6.792C6.2,8.826,5.617,10.928,5.588,12.634V19.5h5v-6.866c-0.027-0.377,0.303-1.789,1.099-2.748c0.819-0.979,1.848-1.747,4.014-1.778c2.165,0.032,3.195,0.799,4.013,1.778c0.798,0.959,1.126,2.372,1.099,2.748V19.5L20.812,19.5zM25.814,25.579c0,0,0-2.354,0-5.079h-5.002c0,2.727,0,5.08,0,5.08l5.004-0.001H25.814zM5.588,25.58h5c0,0,0-2.354,0-5.08h-5C5.588,23.227,5.588,25.58,5.588,25.58z",nomagnet:"M10.59,17.857v-5.225c-0.027-0.376,0.303-1.789,1.099-2.748c0.819-0.979,1.849-1.748,4.014-1.778c1.704,0.026,2.699,0.508,3.447,1.189l3.539-3.539c-1.616-1.526-4.01-2.679-6.986-2.652C12.077,3.073,9.3,4.779,7.762,6.793C6.2,8.826,5.617,10.928,5.59,12.634V19.5h3.357L10.59,17.857zM5.59,20.5v2.357L7.947,20.5H5.59zM20.812,13.29v6.21h5.002v-6.866c-0.021-1.064-0.252-2.283-0.803-3.542L20.812,13.29zM25.339,4.522L4.652,25.209l1.415,1.416L26.753,5.937L25.339,4.522zM20.812,25.58h5.002c0,0,0-2.354,0-5.08h-5.002C20.812,23.227,20.812,25.58,20.812,25.58zM10.59,25.58c0,0,0-0.827,0-2.064L8.525,25.58H10.59z",flip:"M15.5,21.082h1.001v-2.001H15.5V21.082zM15.5,25.082h1.001v-2H15.5V25.082zM15.5,29.082h1.001v-2H15.5V29.082zM15.5,32.127h1.001v-1.045H15.5V32.127zM15.5,17.083h1.001v-2H15.5V17.083zM15.5,1.083h1.001v-2H15.5V1.083zM15.5,5.083h1.001v-2H15.5V5.083zM15.5,9.083h1.001v-2H15.5V9.083zM15.5,13.083h1.001v-2H15.5V13.083zM18.832,1.203v25.962h14.093L18.832,1.203zM19.832,5.136l11.41,21.03h-11.41V5.136zM13.113,27.165V1.203L-0.979,27.165H13.113z",flipv:"M21.45,16.078v-1.001h-2.001v1.001H21.45zM25.45,16.078v-1.001h-2v1.001H25.45zM29.45,16.078v-1.001h-2v1.001H29.45zM32.495,16.078v-1.001H31.45v1.001H32.495zM17.451,16.078v-1.001h-2v1.001H17.451zM1.451,16.078v-1.001h-2v1.001H1.451zM5.451,16.078v-1.001h-2v1.001H5.451zM9.452,16.078v-1.001h-2v1.001H9.452zM13.452,16.078v-1.001h-2v1.001H13.452zM1.571,12.745h25.962V-1.348L1.571,12.745zM5.504,11.745l21.03-11.41v11.41H5.504zM27.533,18.464H1.571l25.962,14.093V18.464z",connect:"M25.06,13.719c-0.944-5.172-5.461-9.094-10.903-9.094v4c3.917,0.006,7.085,3.176,7.094,7.094c-0.009,3.917-3.177,7.085-7.094,7.093v4.002c5.442-0.004,9.959-3.926,10.903-9.096h4.69v-3.999H25.06zM20.375,15.719c0-3.435-2.784-6.219-6.219-6.219c-2.733,0-5.05,1.766-5.884,4.218H1.438v4.001h6.834c0.833,2.452,3.15,4.219,5.884,4.219C17.591,21.938,20.375,19.153,20.375,15.719z",disconnect:"M9.219,9.5c-2.733,0-5.05,1.766-5.884,4.218H1.438v4.001h1.897c0.833,2.452,3.15,4.219,5.884,4.219c3.435,0,6.219-2.784,6.219-6.219S12.653,9.5,9.219,9.5zM27.685,13.719c-0.944-5.172-5.461-9.094-10.903-9.094v4c3.917,0.006,7.085,3.176,7.094,7.094c-0.009,3.917-3.177,7.085-7.094,7.093v4.002c5.442-0.004,9.959-3.926,10.903-9.096h2.065v-3.999H27.685z",man:"M21.021,16.349c-0.611-1.104-1.359-1.998-2.109-2.623c-0.875,0.641-1.941,1.031-3.103,1.031c-1.164,0-2.231-0.391-3.105-1.031c-0.75,0.625-1.498,1.519-2.111,2.623c-1.422,2.563-1.578,5.192-0.35,5.874c0.55,0.307,1.127,0.078,1.723-0.496c-0.105,0.582-0.166,1.213-0.166,1.873c0,2.932,1.139,5.307,2.543,5.307c0.846,0,1.265-0.865,1.466-2.189c0.201,1.324,0.62,2.189,1.463,2.189c1.406,0,2.545-2.375,2.545-5.307c0-0.66-0.061-1.291-0.168-1.873c0.598,0.574,1.174,0.803,1.725,0.496C22.602,21.541,22.443,18.912,21.021,16.349zM15.808,13.757c2.362,0,4.278-1.916,4.278-4.279s-1.916-4.279-4.278-4.279c-2.363,0-4.28,1.916-4.28,4.279S13.445,13.757,15.808,13.757z",woman:"M21.022,16.349c-0.611-1.104-1.359-1.998-2.109-2.623c-0.875,0.641-1.941,1.031-3.104,1.031c-1.164,0-2.231-0.391-3.105-1.031c-0.75,0.625-1.498,1.519-2.111,2.623c-1.422,2.563-1.579,5.192-0.351,5.874c0.55,0.307,1.127,0.078,1.723-0.496c-0.105,0.582-0.167,1.213-0.167,1.873c0,2.932,1.139,5.307,2.543,5.307c0.846,0,1.265-0.865,1.466-2.189c0.201,1.324,0.62,2.189,1.464,2.189c1.406,0,2.545-2.375,2.545-5.307c0-0.66-0.061-1.291-0.168-1.873c0.598,0.574,1.174,0.803,1.725,0.496C22.603,21.541,22.444,18.912,21.022,16.349zM15.808,13.757c2.363,0,4.279-1.916,4.279-4.279s-1.916-4.279-4.279-4.279c-2.363,0-4.28,1.916-4.28,4.279S13.445,13.757,15.808,13.757zM18.731,4.974c1.235,0.455,0.492-0.725,0.492-1.531s0.762-1.792-0.492-1.391c-1.316,0.422-2.383,0.654-2.383,1.461S17.415,4.489,18.731,4.974zM15.816,4.4c0.782,0,0.345-0.396,0.345-0.884c0-0.488,0.438-0.883-0.345-0.883s-0.374,0.396-0.374,0.883C15.442,4.005,15.034,4.4,15.816,4.4zM12.884,4.974c1.316-0.484,2.383-0.654,2.383-1.461S14.2,2.474,12.884,2.052c-1.254-0.402-0.492,0.584-0.492,1.391S11.648,5.428,12.884,4.974z",notebook:"M24.875,1.375H8c-1.033,0-1.874,0.787-1.979,1.792h1.604c1.102,0,2,0.898,2,2c0,1.102-0.898,2-2,2H6v0.999h1.625c1.104,0,2.002,0.898,2.002,2.002c0,1.104-0.898,2.001-2.002,2.001H6v0.997h1.625c1.102,0,2,0.898,2,2c0,1.104-0.898,2.004-2,2.004H6v0.994h1.625c1.102,0,2,0.898,2,2.002s-0.898,2.002-2,2.002H6v0.997h1.624c1.104,0,2.002,0.897,2.002,2.001c0,1.104-0.898,2.002-2.002,2.002H6.004C6.027,28.252,6.91,29.125,8,29.125h16.875c1.104,0,2-0.896,2-2V3.375C26.875,2.271,25.979,1.375,24.875,1.375zM25.25,8.375c0,0.552-0.447,1-1,1H14c-0.553,0-1-0.448-1-1V4c0-0.552,0.447-1,1-1h10.25c0.553,0,1,0.448,1,1V8.375zM8.625,25.166c0-0.554-0.449-1.001-1-1.001h-3.25c-0.552,0-1,0.447-1,1.001c0,0.552,0.449,1,1,1h3.25C8.176,26.166,8.625,25.718,8.625,25.166zM4.375,6.166h3.251c0.551,0,0.999-0.448,0.999-0.999c0-0.555-0.448-1-0.999-1H4.375c-0.553,0-1,0.445-1,1C3.374,5.718,3.822,6.166,4.375,6.166zM4.375,11.167h3.25c0.553,0,1-0.448,1-1s-0.448-1-1-1h-3.25c-0.553,0-1,0.448-1,1S3.822,11.167,4.375,11.167zM4.375,16.167h3.25c0.551,0,1-0.448,1-1.001s-0.448-0.999-1-0.999h-3.25c-0.553,0-1.001,0.446-1.001,0.999S3.822,16.167,4.375,16.167zM3.375,20.165c0,0.553,0.446,1.002,1,1.002h3.25c0.551,0,1-0.449,1-1.002c0-0.552-0.448-1-1-1h-3.25C3.821,19.165,3.375,19.613,3.375,20.165z",diagram:"M6.812,17.202l7.396-3.665v-2.164h-0.834c-0.414,0-0.808-0.084-1.167-0.237v1.159l-7.396,3.667v2.912h2V17.202zM26.561,18.875v-2.913l-7.396-3.666v-1.158c-0.358,0.152-0.753,0.236-1.166,0.236h-0.832l-0.001,2.164l7.396,3.666v1.672H26.561zM16.688,18.875v-7.501h-2v7.501H16.688zM27.875,19.875H23.25c-1.104,0-2,0.896-2,2V26.5c0,1.104,0.896,2,2,2h4.625c1.104,0,2-0.896,2-2v-4.625C29.875,20.771,28.979,19.875,27.875,19.875zM8.125,19.875H3.5c-1.104,0-2,0.896-2,2V26.5c0,1.104,0.896,2,2,2h4.625c1.104,0,2-0.896,2-2v-4.625C10.125,20.771,9.229,19.875,8.125,19.875zM13.375,10.375H18c1.104,0,2-0.896,2-2V3.75c0-1.104-0.896-2-2-2h-4.625c-1.104,0-2,0.896-2,2v4.625C11.375,9.479,12.271,10.375,13.375,10.375zM18,19.875h-4.625c-1.104,0-2,0.896-2,2V26.5c0,1.104,0.896,2,2,2H18c1.104,0,2-0.896,2-2v-4.625C20,20.771,19.104,19.875,18,19.875z",barchart:"M21.25,8.375V28h6.5V8.375H21.25zM12.25,28h6.5V4.125h-6.5V28zM3.25,28h6.5V12.625h-6.5V28z",piechart:"M15.583,15.917l1.648-10.779C16.692,5.056,16.145,5,15.583,5C9.554,5,4.666,9.888,4.666,15.917c0,6.029,4.888,10.917,10.917,10.917S26.5,21.946,26.5,15.917c0-0.256-0.021-0.507-0.038-0.759L15.583,15.917zM19.437,3.127l-1.648,10.779l10.879-0.759C28.313,8.026,24.436,3.886,19.437,3.127z",linechart:"M3.625,25.062c-0.539-0.115-0.885-0.646-0.77-1.187l0,0L6.51,6.584l2.267,9.259l1.923-5.188l3.581,3.741l3.883-13.103l2.934,11.734l1.96-1.509l5.271,11.74c0.226,0.504,0,1.095-0.505,1.321l0,0c-0.505,0.227-1.096,0-1.322-0.504l0,0l-4.23-9.428l-2.374,1.826l-1.896-7.596l-2.783,9.393l-3.754-3.924L8.386,22.66l-1.731-7.083l-1.843,8.711c-0.101,0.472-0.515,0.794-0.979,0.794l0,0C3.765,25.083,3.695,25.076,3.625,25.062L3.625,25.062z",windows:"M20.023,17.484c-1.732-0.205-3.022-0.908-4.212-1.701l0,0l-0.559,0.279l-2.578,8.924l0,0c1.217,0.805,2.905,1.707,4.682,1.914c2.686,0.312,5.56-0.744,6.391-1.195l2.617-9.061l-0.559-0.279C25.805,16.365,23.193,17.857,20.023,17.484zM14.424,14.825c-1.267-0.87-2.578-1.652-4.375-1.816c-0.318-0.029-0.627-0.042-0.925-0.042c-3.011,0-4.948,1.347-4.948,1.347l-2.565,8.877l0,0l0.526,0.281c0.981-0.476,2.78-1.145,5.09-0.984c1.665,0.113,2.92,0.781,4.117,1.531l0.507-0.26l0,0L14.424,14.825zM10.201,12.094c1.664,0.114,2.921,0.78,4.117,1.533l0.509-0.26l0,0L17.4,4.431c-1.27-0.87-2.579-1.653-4.377-1.816c-0.318-0.029-0.626-0.042-0.924-0.042C9.088,2.573,7.15,3.92,7.15,3.92l-2.566,8.878L5.11,13.08C6.092,12.604,7.891,11.936,10.201,12.094zM28.779,5.971L28.779,5.971c0,0.001-2.609,1.492-5.779,1.119c-1.734-0.204-3.023-0.907-4.213-1.701L18.227,5.67l-2.576,8.923l0,0c1.215,0.803,2.906,1.709,4.68,1.915c2.687,0.312,5.558-0.745,6.392-1.197l2.615-9.059L28.779,5.971z",apple:"M24.32,10.85c-1.743,1.233-2.615,2.719-2.615,4.455c0,2.079,1.078,3.673,3.232,4.786c-0.578,1.677-1.416,3.134-2.514,4.375c-1.097,1.241-2.098,1.862-3.004,1.862c-0.427,0-1.009-0.143-1.748-0.423l-0.354-0.138c-0.725-0.281-1.363-0.423-1.92-0.423c-0.525,0-1.1,0.11-1.725,0.331l-0.445,0.16l-0.56,0.229c-0.441,0.176-0.888,0.264-1.337,0.264c-1.059,0-2.228-0.872-3.507-2.616c-1.843-2.498-2.764-5.221-2.764-8.167c0-2.095,0.574-3.781,1.725-5.061c1.149-1.279,2.673-1.92,4.568-1.92c0.709,0,1.371,0.13,1.988,0.389l0.423,0.172l0.445,0.183c0.396,0.167,0.716,0.251,0.959,0.251c0.312,0,0.659-0.072,1.04-0.217l0.582-0.229l0.435-0.16c0.693-0.251,1.459-0.377,2.297-0.377C21.512,8.576,23.109,9.334,24.32,10.85zM19.615,3.287c0.021,0.267,0.033,0.473,0.033,0.617c0,1.317-0.479,2.473-1.438,3.467s-2.075,1.49-3.347,1.49c-0.038-0.297-0.058-0.51-0.058-0.639c0-1.12,0.445-2.171,1.337-3.153c0.891-0.982,1.922-1.558,3.096-1.725C19.32,3.329,19.447,3.311,19.615,3.287z",linux:"M11.791,25.229c1.027-0.104,1.162-1.191,0.68-1.666c-0.398-0.392-2.598-2.022-3.171-2.664C9.033,20.6,8.673,20.454,8.52,20.12c-0.352-0.771-0.598-1.869-0.151-2.658c0.081-0.144,0.133-0.078,0.071,0.22c-0.351,1.684,0.746,3.059,0.986,2.354c0.167-0.487,0.013-1.358,0.102-2.051c0.158-1.226,1.273-3.577,1.763-3.712c-0.755-1.398,0.886-2.494,0.866-3.723c-0.014-0.798,0.701,0.982,1.419,1.359c0.802,0.422,1.684-0.794,2.936-1.41c0.354-0.176,0.809-0.376,0.776-0.524c-0.146-0.718-1.644,0.886-2.979,0.939c-0.61,0.024-0.837-0.12-1.072-0.347c-0.712-0.689,0.073-0.115,1.132-0.307c0.471-0.085,0.629-0.163,1.128-0.365c0.5-0.201,1.069-0.5,1.636-0.654c0.395-0.106,0.361-0.402,0.208-0.491c-0.088-0.051-0.219-0.046-0.321,0.133c-0.244,0.419-1.383,0.661-1.74,0.771c-0.457,0.14-0.962,0.271-1.634,0.243c-1.021-0.042-0.782-0.509-1.513-0.928c-0.213-0.122-0.156-0.444,0.129-0.729c0.148-0.148,0.557-0.232,0.76-0.572c0.028-0.047,0.289-0.32,0.494-0.461c0.07-0.049,0.076-1.295-0.562-1.32c-0.543-0.021-0.697,0.398-0.675,0.818c0.022,0.419,0.245,0.765,0.393,0.764c0.285-0.004,0.019,0.311-0.138,0.361c-0.237,0.078-0.562-0.934-0.525-1.418c0.039-0.506,0.303-1.4,0.942-1.383c0.576,0.016,0.993,0.737,0.973,1.983c-0.003,0.211,0.935-0.101,1.247,0.229c0.224,0.236-0.767-2.207,1.438-2.375c0.582,0.111,1.14,0.305,1.371,1.641c-0.086,0.139,0.146,1.07-0.215,1.182c-0.438,0.135-0.707-0.02-0.453-0.438c0.172-0.418,0.004-1.483-0.882-1.42c-0.887,0.064-0.769,1.637-0.526,1.668c0.243,0.031,0.854,0.465,1.282,0.549c1.401,0.271,0.371,1.075,0.555,2.048c0.205,1.099,0.929,0.809,1.578,3.717c0.137,0.177,0.676,0.345,1.199,2.579c0.473,2.011-0.195,3.473,0.938,3.353c0.256-0.026,0.629-0.1,0.792-0.668c0.425-1.489-0.213-3.263-0.855-4.46c-0.375-0.698-0.729-1.174-0.916-1.337c0.738,0.436,1.683,1.829,1.898,2.862c0.286,1.358,0.49,1.934,0.059,3.37c0.25,0.125,0.871,0.39,0.871,0.685c-0.647-0.53-2.629-0.625-2.68,0.646c-0.338,0.008-0.594,0.034-0.811,0.293c-0.797,0.944-0.059,2.842-0.139,3.859c-0.07,0.896-0.318,1.783-0.46,2.683c-0.474-0.019-0.428-0.364-0.274-0.852c0.135-0.431,0.351-0.968,0.365-1.484c0.012-0.467-0.039-0.759-0.156-0.831c-0.118-0.072-0.303,0.074-0.559,0.485c-0.543,0.875-1.722,1.261-2.821,1.397c-1.099,0.138-2.123,0.028-2.664-0.578c-0.186-0.207-0.492,0.058-0.529,0.111c-0.049,0.074,0.18,0.219,0.352,0.533c0.251,0.461,0.49,1.159-0.105,1.479C12.83,26.314,12.316,26.221,11.791,25.229L11.791,25.229zM11.398,25.188c0.395,0.621,1.783,3.232-0.652,3.571c-0.814,0.114-2.125-0.474-3.396-0.784c-1.142-0.279-2.301-0.444-2.949-0.627c-0.391-0.108-0.554-0.25-0.588-0.414c-0.091-0.434,0.474-1.041,0.503-1.555c0.028-0.514-0.188-0.779-0.364-1.199c-0.177-0.42-0.224-0.734-0.081-0.914c0.109-0.141,0.334-0.199,0.698-0.164c0.462,0.047,1.02-0.049,1.319-0.23c0.505-0.309,0.742-0.939,0.516-1.699c0,0.744-0.244,1.025-0.855,1.366c-0.577,0.319-1.467,0.062-1.875,0.416c-0.492,0.427,0.175,1.528,0.12,2.338c-0.042,0.622-0.69,1.322-0.401,1.946c0.291,0.627,1.648,0.695,3.064,0.99c2.012,0.422,3.184,1.153,4.113,1.188c1.356,0.05,1.564-1.342,3.693-1.36c0.621-0.033,1.229-0.052,1.835-0.06c0.688-0.009,1.375-0.003,2.079,0.014c1.417,0.034,0.931,0.773,1.851,1.246c0.774,0.397,2.17,0.241,2.504-0.077c0.451-0.431,1.662-1.467,2.592-1.935c1.156-0.583,3.876-1.588,1.902-2.812c-0.461-0.285-1.547-0.588-1.639-2.676c-0.412,0.366-0.365,2.312,0.784,2.697c1.283,0.431,2.085,1.152-0.301,1.969c-1.58,0.54-1.849,0.706-3.099,1.747c-1.267,1.054-3.145,0.636-2.815-1.582c0.171-1.155,0.269-2.11-0.019-3.114c-0.142-0.49-0.211-1.119-0.114-1.562c0.187-0.858,0.651-1.117,1.106-0.293c0.285,0.519,0.385,1.122,1.408,1.171c1.607,0.077,1.926-1.553,2.439-1.627c0.343-0.05,0.686-1.02,0.425-2.589c-0.28-1.681-1.269-4.332-2.536-5.677c-1.053-1.118-1.717-2.098-2.135-3.497c-0.352-1.175-0.547-2.318-0.475-3.412c0.094-1.417-0.691-3.389-1.943-4.316c-0.782-0.581-2.011-0.893-3.122-0.88c-0.623,0.007-1.21,0.099-1.661,0.343c-1.855,1.008-2.113,2.445-2.086,4.088c0.025,1.543,0.078,3.303,0.254,4.977c-0.208,0.77-1.288,2.227-1.979,3.114C8.59,14.233,8.121,16.01,7.52,17.561c-0.321,0.828-0.862,1.2-0.908,2.265C6.6,20.122,6.61,20.891,6.894,20.672C7.98,19.829,9.343,21.95,11.398,25.188L11.398,25.188zM17.044,2.953c-0.06,0.176-0.3,0.321-0.146,0.443c0.152,0.123,0.24-0.171,0.549-0.281c0.08-0.028,0.449,0.012,0.519-0.164c0.03-0.077-0.19-0.164-0.321-0.291c-0.133-0.125-0.262-0.236-0.386-0.229C16.938,2.451,17.096,2.798,17.044,2.953L17.044,2.953zM18.934,9.35c0.115-0.121,0.174,0.207,0.483,0.402c0.244,0.154,0.481,0.04,0.545,0.354c0.044,0.225-0.097,0.467-0.284,0.436C19.35,10.486,18.596,9.705,18.934,9.35L18.934,9.35zM13.832,7.375c-0.508-0.037-0.543,0.33-0.375,0.324C13.629,7.693,13.523,7.408,13.832,7.375L13.832,7.375zM12.96,6.436c0.06-0.013,0.146,0.09,0.119,0.233c-0.037,0.199-0.021,0.324,0.117,0.325c0.022,0,0.048-0.005,0.056-0.057c0.066-0.396-0.14-0.688-0.225-0.711C12.834,6.178,12.857,6.458,12.96,6.436L12.96,6.436zM16.663,6.268c0.129,0.039,0.253,0.262,0.28,0.504c0.002,0.021,0.168-0.035,0.17-0.088c0.011-0.389-0.321-0.571-0.408-0.562C16.506,6.139,16.562,6.238,16.663,6.268L16.663,6.268zM14.765,7.423c0.463-0.214,0.625,0.118,0.465,0.171C15.066,7.648,15.065,7.345,14.765,7.423L14.765,7.423zM9.178,15.304c-0.219-0.026,0.063-0.19,0.184-0.397c0.131-0.227,0.105-0.511,0.244-0.469s0.061,0.2-0.033,0.461C9.491,15.121,9.258,15.313,9.178,15.304L9.178,15.304z",apps:"M24.359,18.424L22.033,19.639C22.741,20.813,23.417,21.919999999999998,23.877000000000002,22.672L25.92,21.606C25.538,20.822,24.966,19.652,24.359,18.424ZM19.143,14.688C19.588,15.528,20.485,17.055,21.417,18.614L23.831000000000003,17.353C22.959000000000003,15.584000000000001,22.111000000000004,13.895000000000001,21.744000000000003,13.231000000000002C20.848000000000003,11.610000000000001,19.762000000000004,10.123000000000001,18.290000000000003,7.814000000000002C16.617000000000004,5.189000000000002,14.828000000000003,2.322000000000002,14.238000000000003,2.8670000000000018C13.044000000000004,3.2510000000000017,15.475000000000003,6.961000000000002,16.114000000000004,8.582C16.73,10.147,17.991,12.512,19.143,14.688ZM26.457,22.673L24.496000000000002,23.694999999999997L26.478,28.292999999999996C26.478,28.292999999999996,27.289,28.976999999999997,28.398000000000003,28.505999999999997C29.502000000000002,28.036999999999995,29.208000000000002,26.799999999999997,29.208000000000002,26.799999999999997L26.457,22.673ZM24.35,15.711C24.518,16.05,27.274,21.641,27.274,21.641H29.257V15.710999999999999H24.35ZM18.34,15.704H13.614L10.190000000000001,21.639H21.85C21.559,21.159,18.771,16.479,18.34,15.704ZM3.231,21.613L6.667999999999999,15.710999999999999H2.083V21.641H3.216L3.231,21.613ZM15.048,10.145C15.048,9.215,14.294,8.459999999999999,13.363,8.459999999999999C12.702,8.459999999999999,12.132,8.841,11.856,9.395999999999999L14.832,10.968C14.97,10.725,15.048,10.444,15.048,10.145ZM14.343,12.06L11.155,10.376000000000001L9.62,13.012L12.817,14.701L14.343,12.06ZM3.192,26.886L2.8080000000000003,27.994V28.293L3.1060000000000003,28.165L3.8310000000000004,27.269L6.828,24.915L3.6910000000000003,23.264L3.192,26.886ZM9.02,14.044L4.263,22.214L7.493,23.919999999999998L12.221,15.733999999999998L9.02,14.044Z",locked:"M15.505,0.975c-8.02,0-14.521,6.501-14.521,14.521s6.501,14.521,14.521,14.521c8.02,0,14.521-6.501,14.521-14.521S23.525,0.975,15.505,0.975zM25.016,14.302c0.747,0,1.387,0.619,1.65,1.271l-3.317,0.045C23.601,14.942,24.252,14.302,25.016,14.302zM6.042,14.302c0.747,0,1.386,0.619,1.649,1.271l-3.317,0.045C4.626,14.942,5.278,14.302,6.042,14.302zM6.042,17.81c-0.818,0-1.508-0.343-1.715-1.096l3.446-0.063C7.588,17.435,6.883,17.81,6.042,17.81zM16.641,15.288c-0.178,0.068,1.135,5.804,1.135,5.804l-4.531,0.031c0,0,1.452-5.679,1.111-5.795c-1.326-0.452-2.279-1.708-2.279-3.187c0-1.859,1.507-3.366,3.366-3.366s3.366,1.507,3.366,3.366C18.808,13.578,17.908,14.805,16.641,15.288zM25.016,17.81c-0.817,0-1.507-0.343-1.714-1.096l3.445-0.063C26.562,17.435,25.857,17.81,25.016,17.81z",ppt:"M16.604,1.914c0-0.575-0.466-1.041-1.041-1.041s-1.041,0.466-1.041,1.041v1.04h2.082V1.914zM16.604,22.717h-2.082v3.207c0,0.574-4.225,4.031-4.225,4.031l2.468-0.003l2.807-2.673l3.013,2.693l2.272-0.039l-4.254-4.011V22.717L16.604,22.717zM28.566,7.113c0.86,0,1.56-0.698,1.56-1.56c0-0.861-0.698-1.56-1.56-1.56H2.561c-0.861,0-1.56,0.699-1.56,1.56c0,0.862,0.699,1.56,1.56,1.56h1.583v12.505l-0.932-0.022c-0.861,0-1.213,0.467-1.213,1.04c0,0.576,0.352,1.041,1.213,1.041h24.597c0.86,0,1.299-0.465,1.299-1.041c0-1.094-1.299-1.04-1.299-1.04l-0.804,0.109V7.113H28.566zM11.435,17.516c-3.771,0-4.194-4.191-4.194-4.191c0-4.096,4.162-4.161,4.162-4.161v4.161h4.193C15.596,17.516,11.435,17.516,11.435,17.516zM18.716,13.388h-1.071v-1.073h1.071V13.388zM18.716,10.267h-1.071V9.194h1.071V10.267zM23.314,13.388H20.26c-0.296,0-0.535-0.24-0.535-0.536c0-0.297,0.239-0.537,0.535-0.537h3.057c0.297,0,0.535,0.24,0.535,0.537C23.852,13.147,23.611,13.388,23.314,13.388zM23.314,10.267H20.26c-0.296,0-0.535-0.239-0.535-0.535c0-0.297,0.239-0.537,0.535-0.537h3.057c0.297,0,0.535,0.24,0.535,0.537C23.852,10.027,23.611,10.267,23.314,10.267z",lab:"M22.562,25.85l-4.729-6.564v-5.647h0.88c0,0,1.017,0.333,1.017-0.918v-1.016c0,0-0.06-0.879-1.076-0.879l-5.411,0.039c0,0-1.016,0.333-1.016,0.879v0.977c0,0-0.079,0.899,0.938,0.899h0.978v5.725l-4.787,6.584c0,0-4.015,4.553,0.146,4.611h13.002C22.504,30.538,26.725,30.898,22.562,25.85zM15.535,8.948c0.277,0,0.502-0.225,0.502-0.503c0-0.278-0.225-0.503-0.502-0.503c-0.278,0-0.503,0.225-0.503,0.503C15.032,8.723,15.256,8.948,15.535,8.948zM12.706,7.111c0.793,0,1.437-0.643,1.437-1.436c0-0.792-0.644-1.436-1.437-1.436S11.27,4.882,11.27,5.675C11.27,6.469,11.913,7.111,12.706,7.111zM18.342,6.096c1.297,0,2.346-1.05,2.346-2.344c0-1.295-1.049-2.345-2.346-2.345c-1.294,0-2.344,1.049-2.344,2.345C15.998,5.046,17.048,6.096,18.342,6.096z",umbrella:"M17.081,4.065V3.137c0,0,0.104-0.872-0.881-0.872c-0.928,0-0.891,0.9-0.891,0.9v0.9C4.572,3.925,2.672,15.783,2.672,15.783c1.237-2.98,4.462-2.755,4.462-2.755c4.05,0,4.481,2.681,4.481,2.681c0.984-2.953,4.547-2.662,4.547-2.662c3.769,0,4.509,2.719,4.509,2.719s0.787-2.812,4.557-2.756c3.262,0,4.443,2.7,4.443,2.7v-0.058C29.672,4.348,17.081,4.065,17.081,4.065zM15.328,24.793c0,1.744-1.8,1.801-1.8,1.801c-1.885,0-1.8-1.801-1.8-1.801s0.028-0.928-0.872-0.928c-0.9,0-0.957,0.9-0.957,0.9c0,3.628,3.6,3.572,3.6,3.572c3.6,0,3.572-3.545,3.572-3.545V13.966h-1.744V24.793z",landscape1:"M19.883,5.71H2.746c-0.163,0-0.319,0.071-0.435,0.188c-0.118,0.117-0.18,0.272-0.18,0.435v18.364c0,0.164,0.063,0.318,0.18,0.436c0.123,0.117,0.287,0.18,0.435,0.18h25.75c0.164,0,0.324-0.066,0.438-0.18c0.118-0.114,0.182-0.273,0.182-0.436V14.551c-0.002-0.102-0.01-0.188-0.021-0.271c-0.186-1.543-1.543-3.424-3.236-5.168C24.039,7.31,21.869,5.753,19.883,5.71zM26.914,12.314c-0.008-0.005-0.019-0.007-0.029-0.01c-1.092-0.293-2.33-0.355-3.199-0.355c-0.162,0-0.312,0.002-0.445,0.004c-0.037-0.604-0.129-1.604-0.356-2.625c-0.11-0.461-0.246-0.94-0.433-1.42c0.857,0.541,1.748,1.264,2.535,2.068C25.74,10.718,26.41,11.551,26.914,12.314zM3.365,6.947h16.517c0.058,0,0.12,0,0.183,0.004c0.694,0.105,1.307,1.221,1.616,2.646c0.335,1.484,0.354,2.997,0.354,3l0.007,0.656l0.651-0.051c0,0,0.398-0.027,0.99-0.025c0.809,0,1.977,0.062,2.871,0.312c0.939,0.275,1.352,0.635,1.326,1.051h0.002v9.542H3.365V6.951V6.947z",landscape2:"M19.883,5.71H2.746c-0.163,0-0.319,0.071-0.435,0.188c-0.118,0.117-0.18,0.272-0.18,0.435v18.364c0,0.164,0.063,0.318,0.18,0.436c0.123,0.117,0.287,0.18,0.435,0.18h25.75c0.164,0,0.324-0.066,0.438-0.18c0.118-0.114,0.182-0.273,0.182-0.436V14.551c-0.002-0.102-0.01-0.188-0.021-0.271c-0.186-1.543-1.543-3.424-3.236-5.168C24.039,7.31,21.869,5.753,19.883,5.71zM3.365,6.947h16.517c0.058,0,0.12,0,0.183,0.004c0.694,0.105,1.307,1.221,1.616,2.646c0.335,1.484,0.354,2.997,0.354,3l0.007,0.656l0.651-0.051c0,0,0.398-0.027,0.99-0.025c0.809,0,1.977,0.062,2.871,0.312c0.939,0.275,1.352,0.635,1.326,1.051h0.002v9.542H3.365V6.951V6.947z",twitterbird:"M14.605,13.11c0.913-2.851,2.029-4.698,3.313-6.038c0.959-1,1.453-1.316,0.891-0.216c0.25-0.199,0.606-0.464,0.885-0.605c1.555-0.733,1.442-0.119,0.373,0.54c2.923-1.045,2.82,0.286-0.271,0.949c2.527,0.047,5.214,1.656,5.987,5.077c0.105,0.474-0.021,0.428,0.464,0.514c1.047,0.186,2.03,0.174,2.991-0.13c-0.104,0.708-1.039,1.167-2.497,1.471c-0.541,0.112-0.651,0.083-0.005,0.229c0.799,0.179,1.69,0.226,2.634,0.182c-0.734,0.846-1.905,1.278-3.354,1.296c-0.904,3.309-2.976,5.678-5.596,7.164c-6.152,3.492-15.108,2.984-19.599-3.359c2.947,2.312,7.312,2.821,10.555-0.401c-2.125,0-2.674-1.591-0.99-2.449c-1.595-0.017-2.608-0.521-3.203-1.434c-0.226-0.347-0.229-0.374,0.14-0.64c0.405-0.293,0.958-0.423,1.528-0.467c-1.651-0.473-2.66-1.335-3.009-2.491c-0.116-0.382-0.134-0.363,0.256-0.462c0.38-0.097,0.87-0.148,1.309-0.17C6.11,10.88,5.336,9.917,5.139,8.852c-0.186-1.006,0.005-0.748,0.758-0.46C9.263,9.68,12.619,11.062,14.605,13.11L14.605,13.11z",ipad:"M25.221,1.417H6.11c-0.865,0-1.566,0.702-1.566,1.566v25.313c0,0.865,0.701,1.565,1.566,1.565h19.111c0.865,0,1.565-0.7,1.565-1.565V2.984C26.787,2.119,26.087,1.417,25.221,1.417zM15.666,29.299c-0.346,0-0.626-0.279-0.626-0.625s0.281-0.627,0.626-0.627c0.346,0,0.627,0.281,0.627,0.627S16.012,29.299,15.666,29.299zM24.376,26.855c0,0.174-0.142,0.312-0.313,0.312H7.27c-0.173,0-0.313-0.142-0.313-0.312V4.3c0-0.173,0.14-0.313,0.313-0.313h16.792c0.172,0,0.312,0.14,0.312,0.313L24.376,26.855L24.376,26.855z",iphone:"M20.755,1H10.62C9.484,1,8.562,1.921,8.562,3.058v24.385c0,1.136,0.921,2.058,2.058,2.058h10.135c1.136,0,2.058-0.922,2.058-2.058V3.058C22.812,1.921,21.891,1,20.755,1zM14.659,3.264h2.057c0.101,0,0.183,0.081,0.183,0.18c0,0.1-0.082,0.18-0.183,0.18h-2.057c-0.1,0-0.181-0.081-0.181-0.18C14.478,3.344,14.559,3.264,14.659,3.264zM13.225,3.058c0.199,0,0.359,0.162,0.359,0.36c0,0.198-0.161,0.36-0.359,0.36c-0.2,0-0.36-0.161-0.36-0.36S13.025,3.058,13.225,3.058zM15.688,28.473c-0.796,0-1.44-0.646-1.44-1.438c0-0.799,0.645-1.439,1.44-1.439s1.44,0.646,1.44,1.439S16.483,28.473,15.688,28.473zM22.041,24.355c0,0.17-0.139,0.309-0.309,0.309H9.642c-0.17,0-0.308-0.139-0.308-0.309V6.042c0-0.17,0.138-0.309,0.308-0.309h12.09c0.17,0,0.309,0.138,0.309,0.309V24.355z"};
2
- !function(t,e){function n(t){return q.isWindow(t)?t:9===t.nodeType?t.defaultView||t.parentWindow:!1}function r(t){if(!bn[t]){var e=E.body,n=q("<"+t+">").appendTo(e),r=n.css("display");n.remove(),("none"===r||""===r)&&(gn||(gn=E.createElement("iframe"),gn.frameBorder=gn.width=gn.height=0),e.appendChild(gn),mn&&gn.createElement||(mn=(gn.contentWindow||gn.contentDocument).document,mn.write((q.support.boxModel?"<!doctype html>":"")+"<html><body>"),mn.close()),n=mn.createElement(t),mn.body.appendChild(n),r=q.css(n,"display"),e.removeChild(gn)),bn[t]=r}return bn[t]}function i(t,e){var n={};return q.each(Cn.concat.apply([],Cn.slice(0,e)),function(){n[this]=t}),n}function s(){yn=e}function c(){return setTimeout(s,0),yn=q.now()}function a(){try{return new t.ActiveXObject("Microsoft.XMLHTTP")}catch(e){}}function o(){try{return new t.XMLHttpRequest}catch(e){}}function l(t,n){t.dataFilter&&(n=t.dataFilter(n,t.dataType));var r,i,s,c,a,o,l,u,h=t.dataTypes,d={},f=h.length,p=h[0];for(r=1;f>r;r++){if(1===r)for(i in t.converters)"string"==typeof i&&(d[i.toLowerCase()]=t.converters[i]);if(c=p,p=h[r],"*"===p)p=c;else if("*"!==c&&c!==p){if(a=c+" "+p,o=d[a]||d["* "+p],!o){u=e;for(l in d)if(s=l.split(" "),(s[0]===c||"*"===s[0])&&(u=d[s[1]+" "+p])){l=d[l],l===!0?o=u:u===!0&&(o=l);break}}!o&&!u&&q.error("No conversion from "+a.replace(" "," to ")),o!==!0&&(n=o?o(n):u(l(n)))}}return n}function u(t,n,r){var i,s,c,a,o=t.contents,l=t.dataTypes,u=t.responseFields;for(s in u)s in r&&(n[u[s]]=r[s]);for(;"*"===l[0];)l.shift(),i===e&&(i=t.mimeType||n.getResponseHeader("content-type"));if(i)for(s in o)if(o[s]&&o[s].test(i)){l.unshift(s);break}if(l[0]in r)c=l[0];else{for(s in r){if(!l[0]||t.converters[s+" "+l[0]]){c=s;break}a||(a=s)}c=c||a}return c?(c!==l[0]&&l.unshift(c),r[c]):void 0}function h(t,e,n,r){if(q.isArray(e))q.each(e,function(e,i){n||We.test(t)?r(t,i):h(t+"["+("object"==typeof i?e:"")+"]",i,n,r)});else if(n||"object"!==q.type(e))r(t,e);else for(var i in e)h(t+"["+i+"]",e[i],n,r)}function d(t,n){var r,i,s=q.ajaxSettings.flatOptions||{};for(r in n)n[r]!==e&&((s[r]?t:i||(i={}))[r]=n[r]);i&&q.extend(!0,t,i)}function f(t,n,r,i,s,c){s=s||n.dataTypes[0],c=c||{},c[s]=!0;for(var a,o=t[s],l=0,u=o?o.length:0,h=t===cn;u>l&&(h||!a);l++)a=o[l](n,r,i),"string"==typeof a&&(!h||c[a]?a=e:(n.dataTypes.unshift(a),a=f(t,n,r,i,a,c)));return(h||!a)&&!c["*"]&&(a=f(t,n,r,i,"*",c)),a}function p(t){return function(e,n){if("string"!=typeof e&&(n=e,e="*"),q.isFunction(n))for(var r,i,s,c=e.toLowerCase().split(en),a=0,o=c.length;o>a;a++)r=c[a],s=/^\+/.test(r),s&&(r=r.substr(1)||"*"),i=t[r]=t[r]||[],i[s?"unshift":"push"](n)}}function g(t,e,n){var r="width"===e?t.offsetWidth:t.offsetHeight,i="width"===e?1:0,s=4;if(r>0){if("border"!==n)for(;s>i;i+=2)n||(r-=parseFloat(q.css(t,"padding"+Ie[i]))||0),"margin"===n?r+=parseFloat(q.css(t,n+Ie[i]))||0:r-=parseFloat(q.css(t,"border"+Ie[i]+"Width"))||0;return r+"px"}if(r=Le(t,e),(0>r||null==r)&&(r=t.style[e]),Be.test(r))return r;if(r=parseFloat(r)||0,n)for(;s>i;i+=2)r+=parseFloat(q.css(t,"padding"+Ie[i]))||0,"padding"!==n&&(r+=parseFloat(q.css(t,"border"+Ie[i]+"Width"))||0),"margin"===n&&(r+=parseFloat(q.css(t,n+Ie[i]))||0);return r+"px"}function m(t){var e=E.createElement("div");return ze.appendChild(e),e.innerHTML=t.outerHTML,e.firstChild}function v(t){var e=(t.nodeName||"").toLowerCase();"input"===e?y(t):"script"!==e&&"undefined"!=typeof t.getElementsByTagName&&q.grep(t.getElementsByTagName("input"),y)}function y(t){("checkbox"===t.type||"radio"===t.type)&&(t.defaultChecked=t.checked)}function b(t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName("*"):"undefined"!=typeof t.querySelectorAll?t.querySelectorAll("*"):[]}function x(t,e){var n;1===e.nodeType&&(e.clearAttributes&&e.clearAttributes(),e.mergeAttributes&&e.mergeAttributes(t),n=e.nodeName.toLowerCase(),"object"===n?e.outerHTML=t.outerHTML:"input"!==n||"checkbox"!==t.type&&"radio"!==t.type?"option"===n?e.selected=t.defaultSelected:"input"===n||"textarea"===n?e.defaultValue=t.defaultValue:"script"===n&&e.text!==t.text&&(e.text=t.text):(t.checked&&(e.defaultChecked=e.checked=t.checked),e.value!==t.value&&(e.value=t.value)),e.removeAttribute(q.expando),e.removeAttribute("_submit_attached"),e.removeAttribute("_change_attached"))}function _(t,e){if(1===e.nodeType&&q.hasData(t)){var n,r,i,s=q._data(t),c=q._data(e,s),a=s.events;if(a){delete c.handle,c.events={};for(n in a)for(r=0,i=a[n].length;i>r;r++)q.event.add(e,n,a[n][r])}c.data&&(c.data=q.extend({},c.data))}}function C(t){return q.nodeName(t,"table")?t.getElementsByTagName("tbody")[0]||t.appendChild(t.ownerDocument.createElement("tbody")):t}function w(t){var e=pe.split("|"),n=t.createDocumentFragment();if(n.createElement)for(;e.length;)n.createElement(e.pop());return n}function M(t,e,n){if(e=e||0,q.isFunction(e))return q.grep(t,function(t,r){var i=!!e.call(t,r,t);return i===n});if(e.nodeType)return q.grep(t,function(t){return t===e===n});if("string"==typeof e){var r=q.grep(t,function(t){return 1===t.nodeType});if(ue.test(e))return q.filter(e,r,!n);e=q.filter(e,r)}return q.grep(t,function(t){return q.inArray(t,e)>=0===n})}function T(t){return!t||!t.parentNode||11===t.parentNode.nodeType}function S(){return!0}function N(){return!1}function z(t,e,n){var r=e+"defer",i=e+"queue",s=e+"mark",c=q._data(t,r);!(!c||"queue"!==n&&q._data(t,i)||"mark"!==n&&q._data(t,s)||!setTimeout(function(){!q._data(t,i)&&!q._data(t,s)&&(q.removeData(t,r,!0),c.fire())},0))}function L(t){for(var e in t)if(("data"!==e||!q.isEmptyObject(t[e]))&&"toJSON"!==e)return!1;return!0}function k(t,n,r){if(r===e&&1===t.nodeType){var i="data-"+n.replace(O,"-$1").toLowerCase();if(r=t.getAttribute(i),"string"==typeof r){try{r="true"===r?!0:"false"===r?!1:"null"===r?null:q.isNumeric(r)?+r:j.test(r)?q.parseJSON(r):r}catch(s){}q.data(t,n,r)}else r=e}return r}function A(t){var e,n,r=B[t]={};for(t=t.split(/\s+/),e=0,n=t.length;n>e;e++)r[t[e]]=!0;return r}var E=t.document,H=t.navigator,D=t.location,q=function(){function n(){if(!a.isReady){try{E.documentElement.doScroll("left")}catch(t){return setTimeout(n,1),void 0}a.ready()}}var r,i,s,c,a=function(t,e){return new a.fn.init(t,e,r)},o=t.jQuery,l=t.$,u=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,h=/\S/,d=/^\s+/,f=/\s+$/,p=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,g=/^[\],:{}\s]*$/,m=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,v=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,y=/(?:^|:|,)(?:\s*\[)+/g,b=/(webkit)[ \/]([\w.]+)/,x=/(opera)(?:.*version)?[ \/]([\w.]+)/,_=/(msie) ([\w.]+)/,C=/(mozilla)(?:.*? rv:([\w.]+))?/,w=/-([a-z]|[0-9])/gi,M=/^-ms-/,T=function(t,e){return(e+"").toUpperCase()},S=H.userAgent,N=Object.prototype.toString,z=Object.prototype.hasOwnProperty,L=Array.prototype.push,k=Array.prototype.slice,A=String.prototype.trim,D=Array.prototype.indexOf,q={};return a.fn=a.prototype={constructor:a,init:function(t,n,r){var i,s,c,o;if(!t)return this;if(t.nodeType)return this.context=this[0]=t,this.length=1,this;if("body"===t&&!n&&E.body)return this.context=E,this[0]=E.body,this.selector=t,this.length=1,this;if("string"==typeof t){if(i="<"!==t.charAt(0)||">"!==t.charAt(t.length-1)||t.length<3?u.exec(t):[null,t,null],i&&(i[1]||!n)){if(i[1])return n=n instanceof a?n[0]:n,o=n?n.ownerDocument||n:E,c=p.exec(t),c?a.isPlainObject(n)?(t=[E.createElement(c[1])],a.fn.attr.call(t,n,!0)):t=[o.createElement(c[1])]:(c=a.buildFragment([i[1]],[o]),t=(c.cacheable?a.clone(c.fragment):c.fragment).childNodes),a.merge(this,t);if(s=E.getElementById(i[2]),s&&s.parentNode){if(s.id!==i[2])return r.find(t);this.length=1,this[0]=s}return this.context=E,this.selector=t,this}return!n||n.jquery?(n||r).find(t):this.constructor(n).find(t)}return a.isFunction(t)?r.ready(t):(t.selector!==e&&(this.selector=t.selector,this.context=t.context),a.makeArray(t,this))},selector:"",jquery:"1.7.2",length:0,size:function(){return this.length},toArray:function(){return k.call(this,0)},get:function(t){return null==t?this.toArray():0>t?this[this.length+t]:this[t]},pushStack:function(t,e,n){var r=this.constructor();return a.isArray(t)?L.apply(r,t):a.merge(r,t),r.prevObject=this,r.context=this.context,"find"===e?r.selector=this.selector+(this.selector?" ":"")+n:e&&(r.selector=this.selector+"."+e+"("+n+")"),r},each:function(t,e){return a.each(this,t,e)},ready:function(t){return a.bindReady(),s.add(t),this},eq:function(t){return t=+t,-1===t?this.slice(t):this.slice(t,t+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(k.apply(this,arguments),"slice",k.call(arguments).join(","))},map:function(t){return this.pushStack(a.map(this,function(e,n){return t.call(e,n,e)}))},end:function(){return this.prevObject||this.constructor(null)},push:L,sort:[].sort,splice:[].splice},a.fn.init.prototype=a.fn,a.extend=a.fn.extend=function(){var t,n,r,i,s,c,o=arguments[0]||{},l=1,u=arguments.length,h=!1;for("boolean"==typeof o&&(h=o,o=arguments[1]||{},l=2),"object"!=typeof o&&!a.isFunction(o)&&(o={}),u===l&&(o=this,--l);u>l;l++)if(null!=(t=arguments[l]))for(n in t)r=o[n],i=t[n],o!==i&&(h&&i&&(a.isPlainObject(i)||(s=a.isArray(i)))?(s?(s=!1,c=r&&a.isArray(r)?r:[]):c=r&&a.isPlainObject(r)?r:{},o[n]=a.extend(h,c,i)):i!==e&&(o[n]=i));return o},a.extend({noConflict:function(e){return t.$===a&&(t.$=l),e&&t.jQuery===a&&(t.jQuery=o),a},isReady:!1,readyWait:1,holdReady:function(t){t?a.readyWait++:a.ready(!0)},ready:function(t){if(t===!0&&!--a.readyWait||t!==!0&&!a.isReady){if(!E.body)return setTimeout(a.ready,1);if(a.isReady=!0,t!==!0&&--a.readyWait>0)return;s.fireWith(E,[a]),a.fn.trigger&&a(E).trigger("ready").off("ready")}},bindReady:function(){if(!s){if(s=a.Callbacks("once memory"),"complete"===E.readyState)return setTimeout(a.ready,1);if(E.addEventListener)E.addEventListener("DOMContentLoaded",c,!1),t.addEventListener("load",a.ready,!1);else if(E.attachEvent){E.attachEvent("onreadystatechange",c),t.attachEvent("onload",a.ready);var e=!1;try{e=null==t.frameElement}catch(r){}E.documentElement.doScroll&&e&&n()}}},isFunction:function(t){return"function"===a.type(t)},isArray:Array.isArray||function(t){return"array"===a.type(t)},isWindow:function(t){return null!=t&&t==t.window},isNumeric:function(t){return!isNaN(parseFloat(t))&&isFinite(t)},type:function(t){return null==t?String(t):q[N.call(t)]||"object"},isPlainObject:function(t){if(!t||"object"!==a.type(t)||t.nodeType||a.isWindow(t))return!1;try{if(t.constructor&&!z.call(t,"constructor")&&!z.call(t.constructor.prototype,"isPrototypeOf"))return!1}catch(n){return!1}var r;for(r in t);return r===e||z.call(t,r)},isEmptyObject:function(t){for(var e in t)return!1;return!0},error:function(t){throw new Error(t)},parseJSON:function(e){return"string"==typeof e&&e?(e=a.trim(e),t.JSON&&t.JSON.parse?t.JSON.parse(e):g.test(e.replace(m,"@").replace(v,"]").replace(y,""))?new Function("return "+e)():(a.error("Invalid JSON: "+e),void 0)):null},parseXML:function(n){if("string"!=typeof n||!n)return null;var r,i;try{t.DOMParser?(i=new DOMParser,r=i.parseFromString(n,"text/xml")):(r=new ActiveXObject("Microsoft.XMLDOM"),r.async="false",r.loadXML(n))}catch(s){r=e}return(!r||!r.documentElement||r.getElementsByTagName("parsererror").length)&&a.error("Invalid XML: "+n),r},noop:function(){},globalEval:function(e){e&&h.test(e)&&(t.execScript||function(e){t.eval.call(t,e)})(e)},camelCase:function(t){return t.replace(M,"ms-").replace(w,T)},nodeName:function(t,e){return t.nodeName&&t.nodeName.toUpperCase()===e.toUpperCase()},each:function(t,n,r){var i,s=0,c=t.length,o=c===e||a.isFunction(t);if(r)if(o){for(i in t)if(n.apply(t[i],r)===!1)break}else for(;c>s&&n.apply(t[s++],r)!==!1;);else if(o){for(i in t)if(n.call(t[i],i,t[i])===!1)break}else for(;c>s&&n.call(t[s],s,t[s++])!==!1;);return t},trim:A?function(t){return null==t?"":A.call(t)}:function(t){return null==t?"":(t+"").replace(d,"").replace(f,"")},makeArray:function(t,e){var n=e||[];if(null!=t){var r=a.type(t);null==t.length||"string"===r||"function"===r||"regexp"===r||a.isWindow(t)?L.call(n,t):a.merge(n,t)}return n},inArray:function(t,e,n){var r;if(e){if(D)return D.call(e,t,n);for(r=e.length,n=n?0>n?Math.max(0,r+n):n:0;r>n;n++)if(n in e&&e[n]===t)return n}return-1},merge:function(t,n){var r=t.length,i=0;if("number"==typeof n.length)for(var s=n.length;s>i;i++)t[r++]=n[i];else for(;n[i]!==e;)t[r++]=n[i++];return t.length=r,t},grep:function(t,e,n){var r,i=[];n=!!n;for(var s=0,c=t.length;c>s;s++)r=!!e(t[s],s),n!==r&&i.push(t[s]);return i},map:function(t,n,r){var i,s,c=[],o=0,l=t.length,u=t instanceof a||l!==e&&"number"==typeof l&&(l>0&&t[0]&&t[l-1]||0===l||a.isArray(t));if(u)for(;l>o;o++)i=n(t[o],o,r),null!=i&&(c[c.length]=i);else for(s in t)i=n(t[s],s,r),null!=i&&(c[c.length]=i);return c.concat.apply([],c)},guid:1,proxy:function(t,n){if("string"==typeof n){var r=t[n];n=t,t=r}if(!a.isFunction(t))return e;var i=k.call(arguments,2),s=function(){return t.apply(n,i.concat(k.call(arguments)))};return s.guid=t.guid=t.guid||s.guid||a.guid++,s},access:function(t,n,r,i,s,c,o){var l,u=null==r,h=0,d=t.length;if(r&&"object"==typeof r){for(h in r)a.access(t,n,h,r[h],1,c,i);s=1}else if(i!==e){if(l=o===e&&a.isFunction(i),u&&(l?(l=n,n=function(t,e,n){return l.call(a(t),n)}):(n.call(t,i),n=null)),n)for(;d>h;h++)n(t[h],r,l?i.call(t[h],h,n(t[h],r)):i,o);s=1}return s?t:u?n.call(t):d?n(t[0],r):c},now:function(){return(new Date).getTime()},uaMatch:function(t){t=t.toLowerCase();var e=b.exec(t)||x.exec(t)||_.exec(t)||t.indexOf("compatible")<0&&C.exec(t)||[];return{browser:e[1]||"",version:e[2]||"0"}},sub:function(){function t(e,n){return new t.fn.init(e,n)}a.extend(!0,t,this),t.superclass=this,t.fn=t.prototype=this(),t.fn.constructor=t,t.sub=this.sub,t.fn.init=function(n,r){return r&&r instanceof a&&!(r instanceof t)&&(r=t(r)),a.fn.init.call(this,n,r,e)},t.fn.init.prototype=t.fn;var e=t(E);return t},browser:{}}),a.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(t,e){q["[object "+e+"]"]=e.toLowerCase()}),i=a.uaMatch(S),i.browser&&(a.browser[i.browser]=!0,a.browser.version=i.version),a.browser.webkit&&(a.browser.safari=!0),h.test(" ")&&(d=/^[\s\xA0]+/,f=/[\s\xA0]+$/),r=a(E),E.addEventListener?c=function(){E.removeEventListener("DOMContentLoaded",c,!1),a.ready()}:E.attachEvent&&(c=function(){"complete"===E.readyState&&(E.detachEvent("onreadystatechange",c),a.ready())}),a}(),B={};q.Callbacks=function(t){t=t?B[t]||A(t):{};var n,r,i,s,c,a,o=[],l=[],u=function(e){var n,r,i,s;for(n=0,r=e.length;r>n;n++)i=e[n],s=q.type(i),"array"===s?u(i):"function"===s&&(!t.unique||!d.has(i))&&o.push(i)},h=function(e,u){for(u=u||[],n=!t.memory||[e,u],r=!0,i=!0,a=s||0,s=0,c=o.length;o&&c>a;a++)if(o[a].apply(e,u)===!1&&t.stopOnFalse){n=!0;break}i=!1,o&&(t.once?n===!0?d.disable():o=[]:l&&l.length&&(n=l.shift(),d.fireWith(n[0],n[1])))},d={add:function(){if(o){var t=o.length;u(arguments),i?c=o.length:n&&n!==!0&&(s=t,h(n[0],n[1]))}return this},remove:function(){if(o)for(var e=arguments,n=0,r=e.length;r>n;n++)for(var s=0;s<o.length&&(e[n]!==o[s]||(i&&c>=s&&(c--,a>=s&&a--),o.splice(s--,1),!t.unique));s++);return this},has:function(t){if(o)for(var e=0,n=o.length;n>e;e++)if(t===o[e])return!0;return!1},empty:function(){return o=[],this},disable:function(){return o=l=n=e,this},disabled:function(){return!o},lock:function(){return l=e,(!n||n===!0)&&d.disable(),this},locked:function(){return!l},fireWith:function(e,r){return l&&(i?t.once||l.push([e,r]):(!t.once||!n)&&h(e,r)),this},fire:function(){return d.fireWith(this,arguments),this},fired:function(){return!!r}};return d};var F=[].slice;q.extend({Deferred:function(t){var e,n=q.Callbacks("once memory"),r=q.Callbacks("once memory"),i=q.Callbacks("memory"),s="pending",c={resolve:n,reject:r,notify:i},a={done:n.add,fail:r.add,progress:i.add,state:function(){return s},isResolved:n.fired,isRejected:r.fired,then:function(t,e,n){return o.done(t).fail(e).progress(n),this},always:function(){return o.done.apply(o,arguments).fail.apply(o,arguments),this},pipe:function(t,e,n){return q.Deferred(function(r){q.each({done:[t,"resolve"],fail:[e,"reject"],progress:[n,"notify"]},function(t,e){var n,i=e[0],s=e[1];q.isFunction(i)?o[t](function(){n=i.apply(this,arguments),n&&q.isFunction(n.promise)?n.promise().then(r.resolve,r.reject,r.notify):r[s+"With"](this===o?r:this,[n])}):o[t](r[s])})}).promise()},promise:function(t){if(null==t)t=a;else for(var e in a)t[e]=a[e];return t}},o=a.promise({});for(e in c)o[e]=c[e].fire,o[e+"With"]=c[e].fireWith;return o.done(function(){s="resolved"},r.disable,i.lock).fail(function(){s="rejected"},n.disable,i.lock),t&&t.call(o,o),o},when:function(t){function e(t){return function(e){c[t]=arguments.length>1?F.call(arguments,0):e,o.notifyWith(l,c)}}function n(t){return function(e){r[t]=arguments.length>1?F.call(arguments,0):e,--a||o.resolveWith(o,r)}}var r=F.call(arguments,0),i=0,s=r.length,c=Array(s),a=s,o=1>=s&&t&&q.isFunction(t.promise)?t:q.Deferred(),l=o.promise();if(s>1){for(;s>i;i++)r[i]&&r[i].promise&&q.isFunction(r[i].promise)?r[i].promise().then(n(i),o.reject,e(i)):--a;a||o.resolveWith(o,r)}else o!==t&&o.resolveWith(o,s?[t]:[]);return l}}),q.support=function(){var e,n,r,i,s,c,a,o,l,u,h,d=E.createElement("div");if(E.documentElement,d.setAttribute("className","t"),d.innerHTML=" <link/><table></table><a href='/a' style='top:1px;float:left;opacity:.55;'>a</a><input type='checkbox'/>",n=d.getElementsByTagName("*"),r=d.getElementsByTagName("a")[0],!n||!n.length||!r)return{};i=E.createElement("select"),s=i.appendChild(E.createElement("option")),c=d.getElementsByTagName("input")[0],e={leadingWhitespace:3===d.firstChild.nodeType,tbody:!d.getElementsByTagName("tbody").length,htmlSerialize:!!d.getElementsByTagName("link").length,style:/top/.test(r.getAttribute("style")),hrefNormalized:"/a"===r.getAttribute("href"),opacity:/^0.55/.test(r.style.opacity),cssFloat:!!r.style.cssFloat,checkOn:"on"===c.value,optSelected:s.selected,getSetAttribute:"t"!==d.className,enctype:!!E.createElement("form").enctype,html5Clone:"<:nav></:nav>"!==E.createElement("nav").cloneNode(!0).outerHTML,submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0,pixelMargin:!0},q.boxModel=e.boxModel="CSS1Compat"===E.compatMode,c.checked=!0,e.noCloneChecked=c.cloneNode(!0).checked,i.disabled=!0,e.optDisabled=!s.disabled;try{delete d.test}catch(f){e.deleteExpando=!1}if(!d.addEventListener&&d.attachEvent&&d.fireEvent&&(d.attachEvent("onclick",function(){e.noCloneEvent=!1}),d.cloneNode(!0).fireEvent("onclick")),c=E.createElement("input"),c.value="t",c.setAttribute("type","radio"),e.radioValue="t"===c.value,c.setAttribute("checked","checked"),c.setAttribute("name","t"),d.appendChild(c),a=E.createDocumentFragment(),a.appendChild(d.lastChild),e.checkClone=a.cloneNode(!0).cloneNode(!0).lastChild.checked,e.appendChecked=c.checked,a.removeChild(c),a.appendChild(d),d.attachEvent)for(u in{submit:1,change:1,focusin:1})l="on"+u,h=l in d,h||(d.setAttribute(l,"return;"),h="function"==typeof d[l]),e[u+"Bubbles"]=h;return a.removeChild(d),a=i=s=d=c=null,q(function(){var n,r,i,s,c,a,l,u,f,p,g,m,v=E.getElementsByTagName("body")[0];!v||(l=1,m="padding:0;margin:0;border:",p="position:absolute;top:0;left:0;width:1px;height:1px;",g=m+"0;visibility:hidden;",u="style='"+p+m+"5px solid #000;",f="<div "+u+"display:block;'><div style='"+m+"0;display:block;overflow:hidden;'></div></div>"+"<table "+u+"' cellpadding='0' cellspacing='0'>"+"<tr><td></td></tr></table>",n=E.createElement("div"),n.style.cssText=g+"width:0;height:0;position:static;top:0;margin-top:"+l+"px",v.insertBefore(n,v.firstChild),d=E.createElement("div"),n.appendChild(d),d.innerHTML="<table><tr><td style='"+m+"0;display:none'></td><td>t</td></tr></table>",o=d.getElementsByTagName("td"),h=0===o[0].offsetHeight,o[0].style.display="",o[1].style.display="none",e.reliableHiddenOffsets=h&&0===o[0].offsetHeight,t.getComputedStyle&&(d.innerHTML="",a=E.createElement("div"),a.style.width="0",a.style.marginRight="0",d.style.width="2px",d.appendChild(a),e.reliableMarginRight=0===(parseInt((t.getComputedStyle(a,null)||{marginRight:0}).marginRight,10)||0)),"undefined"!=typeof d.style.zoom&&(d.innerHTML="",d.style.width=d.style.padding="1px",d.style.border=0,d.style.overflow="hidden",d.style.display="inline",d.style.zoom=1,e.inlineBlockNeedsLayout=3===d.offsetWidth,d.style.display="block",d.style.overflow="visible",d.innerHTML="<div style='width:5px;'></div>",e.shrinkWrapBlocks=3!==d.offsetWidth),d.style.cssText=p+g,d.innerHTML=f,r=d.firstChild,i=r.firstChild,s=r.nextSibling.firstChild.firstChild,c={doesNotAddBorder:5!==i.offsetTop,doesAddBorderForTableAndCells:5===s.offsetTop},i.style.position="fixed",i.style.top="20px",c.fixedPosition=20===i.offsetTop||15===i.offsetTop,i.style.position=i.style.top="",r.style.overflow="hidden",r.style.position="relative",c.subtractsBorderForOverflowNotVisible=-5===i.offsetTop,c.doesNotIncludeMarginInBodyOffset=v.offsetTop!==l,t.getComputedStyle&&(d.style.marginTop="1%",e.pixelMargin="1%"!==(t.getComputedStyle(d,null)||{marginTop:0}).marginTop),"undefined"!=typeof n.style.zoom&&(n.style.zoom=1),v.removeChild(n),a=d=n=null,q.extend(e,c))}),e}();var j=/^(?:\{.*\}|\[.*\])$/,O=/([A-Z])/g;q.extend({cache:{},uuid:0,expando:"jQuery"+(q.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(t){return t=t.nodeType?q.cache[t[q.expando]]:t[q.expando],!!t&&!L(t)},data:function(t,n,r,i){if(q.acceptData(t)){var s,c,a,o=q.expando,l="string"==typeof n,u=t.nodeType,h=u?q.cache:t,d=u?t[o]:t[o]&&o,f="events"===n;if(!(d&&h[d]&&(f||i||h[d].data)||!l||r!==e))return;return d||(u?t[o]=d=++q.uuid:d=o),h[d]||(h[d]={},u||(h[d].toJSON=q.noop)),("object"==typeof n||"function"==typeof n)&&(i?h[d]=q.extend(h[d],n):h[d].data=q.extend(h[d].data,n)),s=c=h[d],i||(c.data||(c.data={}),c=c.data),r!==e&&(c[q.camelCase(n)]=r),f&&!c[n]?s.events:(l?(a=c[n],null==a&&(a=c[q.camelCase(n)])):a=c,a)}},removeData:function(t,e,n){if(q.acceptData(t)){var r,i,s,c=q.expando,a=t.nodeType,o=a?q.cache:t,l=a?t[c]:c;if(!o[l])return;if(e&&(r=n?o[l]:o[l].data)){q.isArray(e)||(e in r?e=[e]:(e=q.camelCase(e),e=e in r?[e]:e.split(" ")));for(i=0,s=e.length;s>i;i++)delete r[e[i]];if(!(n?L:q.isEmptyObject)(r))return}if(!n&&(delete o[l].data,!L(o[l])))return;q.support.deleteExpando||!o.setInterval?delete o[l]:o[l]=null,a&&(q.support.deleteExpando?delete t[c]:t.removeAttribute?t.removeAttribute(c):t[c]=null)}},_data:function(t,e,n){return q.data(t,e,n,!0)},acceptData:function(t){if(t.nodeName){var e=q.noData[t.nodeName.toLowerCase()];if(e)return e!==!0&&t.getAttribute("classid")===e}return!0}}),q.fn.extend({data:function(t,n){var r,i,s,c,a,o=this[0],l=0,u=null;if(t===e){if(this.length&&(u=q.data(o),1===o.nodeType&&!q._data(o,"parsedAttrs"))){for(s=o.attributes,a=s.length;a>l;l++)c=s[l].name,0===c.indexOf("data-")&&(c=q.camelCase(c.substring(5)),k(o,c,u[c]));q._data(o,"parsedAttrs",!0)}return u}return"object"==typeof t?this.each(function(){q.data(this,t)}):(r=t.split(".",2),r[1]=r[1]?"."+r[1]:"",i=r[1]+"!",q.access(this,function(n){return n===e?(u=this.triggerHandler("getData"+i,[r[0]]),u===e&&o&&(u=q.data(o,t),u=k(o,t,u)),u===e&&r[1]?this.data(r[0]):u):(r[1]=n,this.each(function(){var e=q(this);e.triggerHandler("setData"+i,r),q.data(this,t,n),e.triggerHandler("changeData"+i,r)}),void 0)},null,n,arguments.length>1,null,!1))},removeData:function(t){return this.each(function(){q.removeData(this,t)})}}),q.extend({_mark:function(t,e){t&&(e=(e||"fx")+"mark",q._data(t,e,(q._data(t,e)||0)+1))},_unmark:function(t,e,n){if(t!==!0&&(n=e,e=t,t=!1),e){n=n||"fx";var r=n+"mark",i=t?0:(q._data(e,r)||1)-1;i?q._data(e,r,i):(q.removeData(e,r,!0),z(e,n,"mark"))}},queue:function(t,e,n){var r;return t?(e=(e||"fx")+"queue",r=q._data(t,e),n&&(!r||q.isArray(n)?r=q._data(t,e,q.makeArray(n)):r.push(n)),r||[]):void 0},dequeue:function(t,e){e=e||"fx";var n=q.queue(t,e),r=n.shift(),i={};"inprogress"===r&&(r=n.shift()),r&&("fx"===e&&n.unshift("inprogress"),q._data(t,e+".run",i),r.call(t,function(){q.dequeue(t,e)},i)),n.length||(q.removeData(t,e+"queue "+e+".run",!0),z(t,e,"queue"))}}),q.fn.extend({queue:function(t,n){var r=2;return"string"!=typeof t&&(n=t,t="fx",r--),arguments.length<r?q.queue(this[0],t):n===e?this:this.each(function(){var e=q.queue(this,t,n);"fx"===t&&"inprogress"!==e[0]&&q.dequeue(this,t)})},dequeue:function(t){return this.each(function(){q.dequeue(this,t)})},delay:function(t,e){return t=q.fx?q.fx.speeds[t]||t:t,e=e||"fx",this.queue(e,function(e,n){var r=setTimeout(e,t);n.stop=function(){clearTimeout(r)}})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,n){function r(){--o||s.resolveWith(c,[c])}"string"!=typeof t&&(n=t,t=e),t=t||"fx";for(var i,s=q.Deferred(),c=this,a=c.length,o=1,l=t+"defer",u=t+"queue",h=t+"mark";a--;)(i=q.data(c[a],l,e,!0)||(q.data(c[a],u,e,!0)||q.data(c[a],h,e,!0))&&q.data(c[a],l,q.Callbacks("once memory"),!0))&&(o++,i.add(r));return r(),s.promise(n)}});var I,R,V,P=/[\n\t\r]/g,W=/\s+/,X=/\r/g,$=/^(?:button|input)$/i,U=/^(?:button|input|object|select|textarea)$/i,G=/^a(?:rea)?$/i,Y=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,J=q.support.getSetAttribute;q.fn.extend({attr:function(t,e){return q.access(this,q.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each(function(){q.removeAttr(this,t)})},prop:function(t,e){return q.access(this,q.prop,t,e,arguments.length>1)},removeProp:function(t){return t=q.propFix[t]||t,this.each(function(){try{this[t]=e,delete this[t]}catch(n){}})},addClass:function(t){var e,n,r,i,s,c,a;if(q.isFunction(t))return this.each(function(e){q(this).addClass(t.call(this,e,this.className))});if(t&&"string"==typeof t)for(e=t.split(W),n=0,r=this.length;r>n;n++)if(i=this[n],1===i.nodeType)if(i.className||1!==e.length){for(s=" "+i.className+" ",c=0,a=e.length;a>c;c++)~s.indexOf(" "+e[c]+" ")||(s+=e[c]+" ");i.className=q.trim(s)}else i.className=t;return this},removeClass:function(t){var n,r,i,s,c,a,o;if(q.isFunction(t))return this.each(function(e){q(this).removeClass(t.call(this,e,this.className))});if(t&&"string"==typeof t||t===e)for(n=(t||"").split(W),r=0,i=this.length;i>r;r++)if(s=this[r],1===s.nodeType&&s.className)if(t){for(c=(" "+s.className+" ").replace(P," "),a=0,o=n.length;o>a;a++)c=c.replace(" "+n[a]+" "," ");s.className=q.trim(c)}else s.className="";return this},toggleClass:function(t,e){var n=typeof t,r="boolean"==typeof e;return q.isFunction(t)?this.each(function(n){q(this).toggleClass(t.call(this,n,this.className,e),e)}):this.each(function(){if("string"===n)for(var i,s=0,c=q(this),a=e,o=t.split(W);i=o[s++];)a=r?a:!c.hasClass(i),c[a?"addClass":"removeClass"](i);else("undefined"===n||"boolean"===n)&&(this.className&&q._data(this,"__className__",this.className),this.className=this.className||t===!1?"":q._data(this,"__className__")||"")})},hasClass:function(t){for(var e=" "+t+" ",n=0,r=this.length;r>n;n++)if(1===this[n].nodeType&&(" "+this[n].className+" ").replace(P," ").indexOf(e)>-1)return!0;return!1},val:function(t){var n,r,i,s=this[0];return arguments.length?(i=q.isFunction(t),this.each(function(r){var s,c=q(this);1===this.nodeType&&(s=i?t.call(this,r,c.val()):t,null==s?s="":"number"==typeof s?s+="":q.isArray(s)&&(s=q.map(s,function(t){return null==t?"":t+""})),n=q.valHooks[this.type]||q.valHooks[this.nodeName.toLowerCase()],n&&"set"in n&&n.set(this,s,"value")!==e||(this.value=s))})):s?(n=q.valHooks[s.type]||q.valHooks[s.nodeName.toLowerCase()],n&&"get"in n&&(r=n.get(s,"value"))!==e?r:(r=s.value,"string"==typeof r?r.replace(X,""):null==r?"":r)):void 0}}),q.extend({valHooks:{option:{get:function(t){var e=t.attributes.value;return!e||e.specified?t.value:t.text}},select:{get:function(t){var e,n,r,i,s=t.selectedIndex,c=[],a=t.options,o="select-one"===t.type;if(0>s)return null;for(n=o?s:0,r=o?s+1:a.length;r>n;n++)if(i=a[n],!(!i.selected||(q.support.optDisabled?i.disabled:null!==i.getAttribute("disabled"))||i.parentNode.disabled&&q.nodeName(i.parentNode,"optgroup"))){if(e=q(i).val(),o)return e;c.push(e)}return o&&!c.length&&a.length?q(a[s]).val():c},set:function(t,e){var n=q.makeArray(e);return q(t).find("option").each(function(){this.selected=q.inArray(q(this).val(),n)>=0}),n.length||(t.selectedIndex=-1),n}}},attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attr:function(t,n,r,i){var s,c,a,o=t.nodeType;return t&&3!==o&&8!==o&&2!==o?i&&n in q.attrFn?q(t)[n](r):"undefined"==typeof t.getAttribute?q.prop(t,n,r):(a=1!==o||!q.isXMLDoc(t),a&&(n=n.toLowerCase(),c=q.attrHooks[n]||(Y.test(n)?R:I)),r!==e?null===r?(q.removeAttr(t,n),void 0):c&&"set"in c&&a&&(s=c.set(t,r,n))!==e?s:(t.setAttribute(n,""+r),r):c&&"get"in c&&a&&null!==(s=c.get(t,n))?s:(s=t.getAttribute(n),null===s?e:s)):void 0},removeAttr:function(t,e){var n,r,i,s,c,a=0;if(e&&1===t.nodeType)for(r=e.toLowerCase().split(W),s=r.length;s>a;a++)i=r[a],i&&(n=q.propFix[i]||i,c=Y.test(i),c||q.attr(t,i,""),t.removeAttribute(J?i:n),c&&n in t&&(t[n]=!1))},attrHooks:{type:{set:function(t,e){if($.test(t.nodeName)&&t.parentNode)q.error("type property can't be changed");else if(!q.support.radioValue&&"radio"===e&&q.nodeName(t,"input")){var n=t.value;return t.setAttribute("type",e),n&&(t.value=n),e}}},value:{get:function(t,e){return I&&q.nodeName(t,"button")?I.get(t,e):e in t?t.value:null},set:function(t,e,n){return I&&q.nodeName(t,"button")?I.set(t,e,n):(t.value=e,void 0)}}},propFix:{tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(t,n,r){var i,s,c,a=t.nodeType;return t&&3!==a&&8!==a&&2!==a?(c=1!==a||!q.isXMLDoc(t),c&&(n=q.propFix[n]||n,s=q.propHooks[n]),r!==e?s&&"set"in s&&(i=s.set(t,r,n))!==e?i:t[n]=r:s&&"get"in s&&null!==(i=s.get(t,n))?i:t[n]):void 0},propHooks:{tabIndex:{get:function(t){var n=t.getAttributeNode("tabindex");return n&&n.specified?parseInt(n.value,10):U.test(t.nodeName)||G.test(t.nodeName)&&t.href?0:e}}}}),q.attrHooks.tabindex=q.propHooks.tabIndex,R={get:function(t,n){var r,i=q.prop(t,n);return i===!0||"boolean"!=typeof i&&(r=t.getAttributeNode(n))&&r.nodeValue!==!1?n.toLowerCase():e},set:function(t,e,n){var r;return e===!1?q.removeAttr(t,n):(r=q.propFix[n]||n,r in t&&(t[r]=!0),t.setAttribute(n,n.toLowerCase())),n}},J||(V={name:!0,id:!0,coords:!0},I=q.valHooks.button={get:function(t,n){var r;return r=t.getAttributeNode(n),r&&(V[n]?""!==r.nodeValue:r.specified)?r.nodeValue:e},set:function(t,e,n){var r=t.getAttributeNode(n);return r||(r=E.createAttribute(n),t.setAttributeNode(r)),r.nodeValue=e+""}},q.attrHooks.tabindex.set=I.set,q.each(["width","height"],function(t,e){q.attrHooks[e]=q.extend(q.attrHooks[e],{set:function(t,n){return""===n?(t.setAttribute(e,"auto"),n):void 0}})}),q.attrHooks.contenteditable={get:I.get,set:function(t,e,n){""===e&&(e="false"),I.set(t,e,n)}}),q.support.hrefNormalized||q.each(["href","src","width","height"],function(t,n){q.attrHooks[n]=q.extend(q.attrHooks[n],{get:function(t){var r=t.getAttribute(n,2);return null===r?e:r}})}),q.support.style||(q.attrHooks.style={get:function(t){return t.style.cssText.toLowerCase()||e},set:function(t,e){return t.style.cssText=""+e}}),q.support.optSelected||(q.propHooks.selected=q.extend(q.propHooks.selected,{get:function(t){var e=t.parentNode;return e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex),null}})),q.support.enctype||(q.propFix.enctype="encoding"),q.support.checkOn||q.each(["radio","checkbox"],function(){q.valHooks[this]={get:function(t){return null===t.getAttribute("value")?"on":t.value}}}),q.each(["radio","checkbox"],function(){q.valHooks[this]=q.extend(q.valHooks[this],{set:function(t,e){return q.isArray(e)?t.checked=q.inArray(q(t).val(),e)>=0:void 0}})});var Z=/^(?:textarea|input|select)$/i,Q=/^([^\.]*)?(?:\.(.+))?$/,K=/(?:^|\s)hover(\.\S+)?\b/,te=/^key/,ee=/^(?:mouse|contextmenu)|click/,ne=/^(?:focusinfocus|focusoutblur)$/,re=/^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/,ie=function(t){var e=re.exec(t);return e&&(e[1]=(e[1]||"").toLowerCase(),e[3]=e[3]&&new RegExp("(?:^|\\s)"+e[3]+"(?:\\s|$)")),e},se=function(t,e){var n=t.attributes||{};return!(e[1]&&t.nodeName.toLowerCase()!==e[1]||e[2]&&(n.id||{}).value!==e[2]||e[3]&&!e[3].test((n["class"]||{}).value))},ce=function(t){return q.event.special.hover?t:t.replace(K,"mouseenter$1 mouseleave$1")};q.event={add:function(t,n,r,i,s){var c,a,o,l,u,h,d,f,p,g,m;if(3!==t.nodeType&&8!==t.nodeType&&n&&r&&(c=q._data(t))){for(r.handler&&(p=r,r=p.handler,s=p.selector),r.guid||(r.guid=q.guid++),o=c.events,o||(c.events=o={}),a=c.handle,a||(c.handle=a=function(t){return"undefined"==typeof q||t&&q.event.triggered===t.type?e:q.event.dispatch.apply(a.elem,arguments)
3
- },a.elem=t),n=q.trim(ce(n)).split(" "),l=0;l<n.length;l++)u=Q.exec(n[l])||[],h=u[1],d=(u[2]||"").split(".").sort(),m=q.event.special[h]||{},h=(s?m.delegateType:m.bindType)||h,m=q.event.special[h]||{},f=q.extend({type:h,origType:u[1],data:i,handler:r,guid:r.guid,selector:s,quick:s&&ie(s),namespace:d.join(".")},p),g=o[h],g||(g=o[h]=[],g.delegateCount=0,m.setup&&m.setup.call(t,i,d,a)!==!1||(t.addEventListener?t.addEventListener(h,a,!1):t.attachEvent&&t.attachEvent("on"+h,a))),m.add&&(m.add.call(t,f),f.handler.guid||(f.handler.guid=r.guid)),s?g.splice(g.delegateCount++,0,f):g.push(f),q.event.global[h]=!0;t=null}},global:{},remove:function(t,e,n,r,i){var s,c,a,o,l,u,h,d,f,p,g,m,v=q.hasData(t)&&q._data(t);if(v&&(d=v.events)){for(e=q.trim(ce(e||"")).split(" "),s=0;s<e.length;s++)if(c=Q.exec(e[s])||[],a=o=c[1],l=c[2],a){for(f=q.event.special[a]||{},a=(r?f.delegateType:f.bindType)||a,g=d[a]||[],u=g.length,l=l?new RegExp("(^|\\.)"+l.split(".").sort().join("\\.(?:.*\\.)?")+"(\\.|$)"):null,h=0;h<g.length;h++)m=g[h],!(!i&&o!==m.origType||n&&n.guid!==m.guid||l&&!l.test(m.namespace)||r&&r!==m.selector&&("**"!==r||!m.selector)||(g.splice(h--,1),m.selector&&g.delegateCount--,!f.remove||!f.remove.call(t,m)));0===g.length&&u!==g.length&&((!f.teardown||f.teardown.call(t,l)===!1)&&q.removeEvent(t,a,v.handle),delete d[a])}else for(a in d)q.event.remove(t,a+e[s],n,r,!0);q.isEmptyObject(d)&&(p=v.handle,p&&(p.elem=null),q.removeData(t,["events","handle"],!0))}},customEvent:{getData:!0,setData:!0,changeData:!0},trigger:function(n,r,i,s){if(!i||3!==i.nodeType&&8!==i.nodeType){var c,a,o,l,u,h,d,f,p,g,m=n.type||n,v=[];if(ne.test(m+q.event.triggered))return;if(m.indexOf("!")>=0&&(m=m.slice(0,-1),a=!0),m.indexOf(".")>=0&&(v=m.split("."),m=v.shift(),v.sort()),(!i||q.event.customEvent[m])&&!q.event.global[m])return;if(n="object"==typeof n?n[q.expando]?n:new q.Event(m,n):new q.Event(m),n.type=m,n.isTrigger=!0,n.exclusive=a,n.namespace=v.join("."),n.namespace_re=n.namespace?new RegExp("(^|\\.)"+v.join("\\.(?:.*\\.)?")+"(\\.|$)"):null,h=m.indexOf(":")<0?"on"+m:"",!i){c=q.cache;for(o in c)c[o].events&&c[o].events[m]&&q.event.trigger(n,r,c[o].handle.elem,!0);return}if(n.result=e,n.target||(n.target=i),r=null!=r?q.makeArray(r):[],r.unshift(n),d=q.event.special[m]||{},d.trigger&&d.trigger.apply(i,r)===!1)return;if(p=[[i,d.bindType||m]],!s&&!d.noBubble&&!q.isWindow(i)){for(g=d.delegateType||m,l=ne.test(g+m)?i:i.parentNode,u=null;l;l=l.parentNode)p.push([l,g]),u=l;u&&u===i.ownerDocument&&p.push([u.defaultView||u.parentWindow||t,g])}for(o=0;o<p.length&&!n.isPropagationStopped();o++)l=p[o][0],n.type=p[o][1],f=(q._data(l,"events")||{})[n.type]&&q._data(l,"handle"),f&&f.apply(l,r),f=h&&l[h],f&&q.acceptData(l)&&f.apply(l,r)===!1&&n.preventDefault();return n.type=m,!(s||n.isDefaultPrevented()||d._default&&d._default.apply(i.ownerDocument,r)!==!1||"click"===m&&q.nodeName(i,"a")||!q.acceptData(i)||!h||!i[m]||("focus"===m||"blur"===m)&&0===n.target.offsetWidth||q.isWindow(i)||(u=i[h],u&&(i[h]=null),q.event.triggered=m,i[m](),q.event.triggered=e,!u||!(i[h]=u))),n.result}},dispatch:function(n){n=q.event.fix(n||t.event);var r,i,s,c,a,o,l,u,h,d,f=(q._data(this,"events")||{})[n.type]||[],p=f.delegateCount,g=[].slice.call(arguments,0),m=!n.exclusive&&!n.namespace,v=q.event.special[n.type]||{},y=[];if(g[0]=n,n.delegateTarget=this,!v.preDispatch||v.preDispatch.call(this,n)!==!1){if(p&&(!n.button||"click"!==n.type))for(c=q(this),c.context=this.ownerDocument||this,s=n.target;s!=this;s=s.parentNode||this)if(s.disabled!==!0){for(o={},u=[],c[0]=s,r=0;p>r;r++)h=f[r],d=h.selector,o[d]===e&&(o[d]=h.quick?se(s,h.quick):c.is(d)),o[d]&&u.push(h);u.length&&y.push({elem:s,matches:u})}for(f.length>p&&y.push({elem:this,matches:f.slice(p)}),r=0;r<y.length&&!n.isPropagationStopped();r++)for(l=y[r],n.currentTarget=l.elem,i=0;i<l.matches.length&&!n.isImmediatePropagationStopped();i++)h=l.matches[i],(m||!n.namespace&&!h.namespace||n.namespace_re&&n.namespace_re.test(h.namespace))&&(n.data=h.data,n.handleObj=h,a=((q.event.special[h.origType]||{}).handle||h.handler).apply(l.elem,g),a!==e&&(n.result=a,a===!1&&(n.preventDefault(),n.stopPropagation())));return v.postDispatch&&v.postDispatch.call(this,n),n.result}},props:"attrChange attrName relatedNode srcElement altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(t,e){return null==t.which&&(t.which=null!=e.charCode?e.charCode:e.keyCode),t}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(t,n){var r,i,s,c=n.button,a=n.fromElement;return null==t.pageX&&null!=n.clientX&&(r=t.target.ownerDocument||E,i=r.documentElement,s=r.body,t.pageX=n.clientX+(i&&i.scrollLeft||s&&s.scrollLeft||0)-(i&&i.clientLeft||s&&s.clientLeft||0),t.pageY=n.clientY+(i&&i.scrollTop||s&&s.scrollTop||0)-(i&&i.clientTop||s&&s.clientTop||0)),!t.relatedTarget&&a&&(t.relatedTarget=a===t.target?n.toElement:a),!t.which&&c!==e&&(t.which=1&c?1:2&c?3:4&c?2:0),t}},fix:function(t){if(t[q.expando])return t;var n,r,i=t,s=q.event.fixHooks[t.type]||{},c=s.props?this.props.concat(s.props):this.props;for(t=q.Event(i),n=c.length;n;)r=c[--n],t[r]=i[r];return t.target||(t.target=i.srcElement||E),3===t.target.nodeType&&(t.target=t.target.parentNode),t.metaKey===e&&(t.metaKey=t.ctrlKey),s.filter?s.filter(t,i):t},special:{ready:{setup:q.bindReady},load:{noBubble:!0},focus:{delegateType:"focusin"},blur:{delegateType:"focusout"},beforeunload:{setup:function(t,e,n){q.isWindow(this)&&(this.onbeforeunload=n)},teardown:function(t,e){this.onbeforeunload===e&&(this.onbeforeunload=null)}}},simulate:function(t,e,n,r){var i=q.extend(new q.Event,n,{type:t,isSimulated:!0,originalEvent:{}});r?q.event.trigger(i,null,e):q.event.dispatch.call(e,i),i.isDefaultPrevented()&&n.preventDefault()}},q.event.handle=q.event.dispatch,q.removeEvent=E.removeEventListener?function(t,e,n){t.removeEventListener&&t.removeEventListener(e,n,!1)}:function(t,e,n){t.detachEvent&&t.detachEvent("on"+e,n)},q.Event=function(t,e){return this instanceof q.Event?(t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||t.returnValue===!1||t.getPreventDefault&&t.getPreventDefault()?S:N):this.type=t,e&&q.extend(this,e),this.timeStamp=t&&t.timeStamp||q.now(),this[q.expando]=!0,void 0):new q.Event(t,e)},q.Event.prototype={preventDefault:function(){this.isDefaultPrevented=S;var t=this.originalEvent;!t||(t.preventDefault?t.preventDefault():t.returnValue=!1)},stopPropagation:function(){this.isPropagationStopped=S;var t=this.originalEvent;!t||(t.stopPropagation&&t.stopPropagation(),t.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=S,this.stopPropagation()},isDefaultPrevented:N,isPropagationStopped:N,isImmediatePropagationStopped:N},q.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(t,e){q.event.special[t]={delegateType:e,bindType:e,handle:function(t){var n,r=this,i=t.relatedTarget,s=t.handleObj;return s.selector,(!i||i!==r&&!q.contains(r,i))&&(t.type=s.origType,n=s.handler.apply(this,arguments),t.type=e),n}}}),q.support.submitBubbles||(q.event.special.submit={setup:function(){return q.nodeName(this,"form")?!1:(q.event.add(this,"click._submit keypress._submit",function(t){var n=t.target,r=q.nodeName(n,"input")||q.nodeName(n,"button")?n.form:e;r&&!r._submit_attached&&(q.event.add(r,"submit._submit",function(t){t._submit_bubble=!0}),r._submit_attached=!0)}),void 0)},postDispatch:function(t){t._submit_bubble&&(delete t._submit_bubble,this.parentNode&&!t.isTrigger&&q.event.simulate("submit",this.parentNode,t,!0))},teardown:function(){return q.nodeName(this,"form")?!1:(q.event.remove(this,"._submit"),void 0)}}),q.support.changeBubbles||(q.event.special.change={setup:function(){return Z.test(this.nodeName)?(("checkbox"===this.type||"radio"===this.type)&&(q.event.add(this,"propertychange._change",function(t){"checked"===t.originalEvent.propertyName&&(this._just_changed=!0)}),q.event.add(this,"click._change",function(t){this._just_changed&&!t.isTrigger&&(this._just_changed=!1,q.event.simulate("change",this,t,!0))})),!1):(q.event.add(this,"beforeactivate._change",function(t){var e=t.target;Z.test(e.nodeName)&&!e._change_attached&&(q.event.add(e,"change._change",function(t){this.parentNode&&!t.isSimulated&&!t.isTrigger&&q.event.simulate("change",this.parentNode,t,!0)}),e._change_attached=!0)}),void 0)},handle:function(t){var e=t.target;return this!==e||t.isSimulated||t.isTrigger||"radio"!==e.type&&"checkbox"!==e.type?t.handleObj.handler.apply(this,arguments):void 0},teardown:function(){return q.event.remove(this,"._change"),Z.test(this.nodeName)}}),q.support.focusinBubbles||q.each({focus:"focusin",blur:"focusout"},function(t,e){var n=0,r=function(t){q.event.simulate(e,t.target,q.event.fix(t),!0)};q.event.special[e]={setup:function(){0===n++&&E.addEventListener(t,r,!0)},teardown:function(){0===--n&&E.removeEventListener(t,r,!0)}}}),q.fn.extend({on:function(t,n,r,i,s){var c,a;if("object"==typeof t){"string"!=typeof n&&(r=r||n,n=e);for(a in t)this.on(a,n,r,t[a],s);return this}if(null==r&&null==i?(i=n,r=n=e):null==i&&("string"==typeof n?(i=r,r=e):(i=r,r=n,n=e)),i===!1)i=N;else if(!i)return this;return 1===s&&(c=i,i=function(t){return q().off(t),c.apply(this,arguments)},i.guid=c.guid||(c.guid=q.guid++)),this.each(function(){q.event.add(this,t,i,r,n)})},one:function(t,e,n,r){return this.on(t,e,n,r,1)},off:function(t,n,r){if(t&&t.preventDefault&&t.handleObj){var i=t.handleObj;return q(t.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this}if("object"==typeof t){for(var s in t)this.off(s,n,t[s]);return this}return(n===!1||"function"==typeof n)&&(r=n,n=e),r===!1&&(r=N),this.each(function(){q.event.remove(this,t,r,n)})},bind:function(t,e,n){return this.on(t,null,e,n)},unbind:function(t,e){return this.off(t,null,e)},live:function(t,e,n){return q(this.context).on(t,this.selector,e,n),this},die:function(t,e){return q(this.context).off(t,this.selector||"**",e),this},delegate:function(t,e,n,r){return this.on(e,t,n,r)},undelegate:function(t,e,n){return 1==arguments.length?this.off(t,"**"):this.off(e,t,n)},trigger:function(t,e){return this.each(function(){q.event.trigger(t,e,this)})},triggerHandler:function(t,e){return this[0]?q.event.trigger(t,e,this[0],!0):void 0},toggle:function(t){var e=arguments,n=t.guid||q.guid++,r=0,i=function(n){var i=(q._data(this,"lastToggle"+t.guid)||0)%r;return q._data(this,"lastToggle"+t.guid,i+1),n.preventDefault(),e[i].apply(this,arguments)||!1};for(i.guid=n;r<e.length;)e[r++].guid=n;return this.click(i)},hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)}}),q.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(t,e){q.fn[e]=function(t,n){return null==n&&(n=t,t=null),arguments.length>0?this.on(e,null,t,n):this.trigger(e)},q.attrFn&&(q.attrFn[e]=!0),te.test(e)&&(q.event.fixHooks[e]=q.event.keyHooks),ee.test(e)&&(q.event.fixHooks[e]=q.event.mouseHooks)}),function(){function t(t,e,n,r,s,c){for(var a=0,o=r.length;o>a;a++){var l=r[a];if(l){var u=!1;for(l=l[t];l;){if(l[i]===n){u=r[l.sizset];break}if(1===l.nodeType)if(c||(l[i]=n,l.sizset=a),"string"!=typeof e){if(l===e){u=!0;break}}else if(d.filter(e,[l]).length>0){u=l;break}l=l[t]}r[a]=u}}}function n(t,e,n,r,s,c){for(var a=0,o=r.length;o>a;a++){var l=r[a];if(l){var u=!1;for(l=l[t];l;){if(l[i]===n){u=r[l.sizset];break}if(1===l.nodeType&&!c&&(l[i]=n,l.sizset=a),l.nodeName.toLowerCase()===e){u=l;break}l=l[t]}r[a]=u}}}var r=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,i="sizcache"+(Math.random()+"").replace(".",""),s=0,c=Object.prototype.toString,a=!1,o=!0,l=/\\/g,u=/\r\n/g,h=/\W/;[0,0].sort(function(){return o=!1,0});var d=function(t,e,n,i){n=n||[],e=e||E;var s=e;if(1!==e.nodeType&&9!==e.nodeType)return[];if(!t||"string"!=typeof t)return n;var a,o,l,u,h,f,m,v,b=!0,x=d.isXML(e),_=[],w=t;do if(r.exec(""),a=r.exec(w),a&&(w=a[3],_.push(a[1]),a[2])){u=a[3];break}while(a);if(_.length>1&&g.exec(t))if(2===_.length&&p.relative[_[0]])o=C(_[0]+_[1],e,i);else for(o=p.relative[_[0]]?[e]:d(_.shift(),e);_.length;)t=_.shift(),p.relative[t]&&(t+=_.shift()),o=C(t,o,i);else if(!i&&_.length>1&&9===e.nodeType&&!x&&p.match.ID.test(_[0])&&!p.match.ID.test(_[_.length-1])&&(h=d.find(_.shift(),e,x),e=h.expr?d.filter(h.expr,h.set)[0]:h.set[0]),e)for(h=i?{expr:_.pop(),set:y(i)}:d.find(_.pop(),1!==_.length||"~"!==_[0]&&"+"!==_[0]||!e.parentNode?e:e.parentNode,x),o=h.expr?d.filter(h.expr,h.set):h.set,_.length>0?l=y(o):b=!1;_.length;)f=_.pop(),m=f,p.relative[f]?m=_.pop():f="",null==m&&(m=e),p.relative[f](l,m,x);else l=_=[];if(l||(l=o),l||d.error(f||t),"[object Array]"===c.call(l))if(b)if(e&&1===e.nodeType)for(v=0;null!=l[v];v++)l[v]&&(l[v]===!0||1===l[v].nodeType&&d.contains(e,l[v]))&&n.push(o[v]);else for(v=0;null!=l[v];v++)l[v]&&1===l[v].nodeType&&n.push(o[v]);else n.push.apply(n,l);else y(l,n);return u&&(d(u,s,n,i),d.uniqueSort(n)),n};d.uniqueSort=function(t){if(x&&(a=o,t.sort(x),a))for(var e=1;e<t.length;e++)t[e]===t[e-1]&&t.splice(e--,1);return t},d.matches=function(t,e){return d(t,null,null,e)},d.matchesSelector=function(t,e){return d(e,null,null,[t]).length>0},d.find=function(t,e,n){var r,i,s,c,a,o;if(!t)return[];for(i=0,s=p.order.length;s>i;i++)if(a=p.order[i],(c=p.leftMatch[a].exec(t))&&(o=c[1],c.splice(1,1),"\\"!==o.substr(o.length-1)&&(c[1]=(c[1]||"").replace(l,""),r=p.find[a](c,e,n),null!=r))){t=t.replace(p.match[a],"");break}return r||(r="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName("*"):[]),{set:r,expr:t}},d.filter=function(t,n,r,i){for(var s,c,a,o,l,u,h,f,g,m=t,v=[],y=n,b=n&&n[0]&&d.isXML(n[0]);t&&n.length;){for(a in p.filter)if(null!=(s=p.leftMatch[a].exec(t))&&s[2]){if(u=p.filter[a],h=s[1],c=!1,s.splice(1,1),"\\"===h.substr(h.length-1))continue;if(y===v&&(v=[]),p.preFilter[a])if(s=p.preFilter[a](s,y,r,v,i,b)){if(s===!0)continue}else c=o=!0;if(s)for(f=0;null!=(l=y[f]);f++)l&&(o=u(l,s,f,y),g=i^o,r&&null!=o?g?c=!0:y[f]=!1:g&&(v.push(l),c=!0));if(o!==e){if(r||(y=v),t=t.replace(p.match[a],""),!c)return[];break}}if(t===m){if(null!=c)break;d.error(t)}m=t}return y},d.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)};var f=d.getText=function(t){var e,n,r=t.nodeType,i="";if(r){if(1===r||9===r||11===r){if("string"==typeof t.textContent)return t.textContent;if("string"==typeof t.innerText)return t.innerText.replace(u,"");for(t=t.firstChild;t;t=t.nextSibling)i+=f(t)}else if(3===r||4===r)return t.nodeValue}else for(e=0;n=t[e];e++)8!==n.nodeType&&(i+=f(n));return i},p=d.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(?:(['"])(.*?)\3|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(t){return t.getAttribute("href")},type:function(t){return t.getAttribute("type")}},relative:{"+":function(t,e){var n="string"==typeof e,r=n&&!h.test(e),i=n&&!r;r&&(e=e.toLowerCase());for(var s,c=0,a=t.length;a>c;c++)if(s=t[c]){for(;(s=s.previousSibling)&&1!==s.nodeType;);t[c]=i||s&&s.nodeName.toLowerCase()===e?s||!1:s===e}i&&d.filter(e,t,!0)},">":function(t,e){var n,r="string"==typeof e,i=0,s=t.length;if(r&&!h.test(e)){for(e=e.toLowerCase();s>i;i++)if(n=t[i]){var c=n.parentNode;t[i]=c.nodeName.toLowerCase()===e?c:!1}}else{for(;s>i;i++)n=t[i],n&&(t[i]=r?n.parentNode:n.parentNode===e);r&&d.filter(e,t,!0)}},"":function(e,r,i){var c,a=s++,o=t;"string"==typeof r&&!h.test(r)&&(r=r.toLowerCase(),c=r,o=n),o("parentNode",r,a,e,c,i)},"~":function(e,r,i){var c,a=s++,o=t;"string"==typeof r&&!h.test(r)&&(r=r.toLowerCase(),c=r,o=n),o("previousSibling",r,a,e,c,i)}},find:{ID:function(t,e,n){if("undefined"!=typeof e.getElementById&&!n){var r=e.getElementById(t[1]);return r&&r.parentNode?[r]:[]}},NAME:function(t,e){if("undefined"!=typeof e.getElementsByName){for(var n=[],r=e.getElementsByName(t[1]),i=0,s=r.length;s>i;i++)r[i].getAttribute("name")===t[1]&&n.push(r[i]);return 0===n.length?null:n}},TAG:function(t,e){return"undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t[1]):void 0}},preFilter:{CLASS:function(t,e,n,r,i,s){if(t=" "+t[1].replace(l,"")+" ",s)return t;for(var c,a=0;null!=(c=e[a]);a++)c&&(i^(c.className&&(" "+c.className+" ").replace(/[\t\n\r]/g," ").indexOf(t)>=0)?n||r.push(c):n&&(e[a]=!1));return!1},ID:function(t){return t[1].replace(l,"")},TAG:function(t){return t[1].replace(l,"").toLowerCase()},CHILD:function(t){if("nth"===t[1]){t[2]||d.error(t[0]),t[2]=t[2].replace(/^\+|\s*/g,"");var e=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec("even"===t[2]&&"2n"||"odd"===t[2]&&"2n+1"||!/\D/.test(t[2])&&"0n+"+t[2]||t[2]);t[2]=e[1]+(e[2]||1)-0,t[3]=e[3]-0}else t[2]&&d.error(t[0]);return t[0]=s++,t},ATTR:function(t,e,n,r,i,s){var c=t[1]=t[1].replace(l,"");return!s&&p.attrMap[c]&&(t[1]=p.attrMap[c]),t[4]=(t[4]||t[5]||"").replace(l,""),"~="===t[2]&&(t[4]=" "+t[4]+" "),t},PSEUDO:function(t,e,n,i,s){if("not"===t[1]){if(!((r.exec(t[3])||"").length>1||/^\w/.test(t[3]))){var c=d.filter(t[3],e,n,!0^s);return n||i.push.apply(i,c),!1}t[3]=d(t[3],null,null,e)}else if(p.match.POS.test(t[0])||p.match.CHILD.test(t[0]))return!0;return t},POS:function(t){return t.unshift(!0),t}},filters:{enabled:function(t){return t.disabled===!1&&"hidden"!==t.type},disabled:function(t){return t.disabled===!0},checked:function(t){return t.checked===!0},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,t.selected===!0},parent:function(t){return!!t.firstChild},empty:function(t){return!t.firstChild},has:function(t,e,n){return!!d(n[3],t).length},header:function(t){return/h\d/i.test(t.nodeName)},text:function(t){var e=t.getAttribute("type"),n=t.type;return"input"===t.nodeName.toLowerCase()&&"text"===n&&(e===n||null===e)},radio:function(t){return"input"===t.nodeName.toLowerCase()&&"radio"===t.type},checkbox:function(t){return"input"===t.nodeName.toLowerCase()&&"checkbox"===t.type},file:function(t){return"input"===t.nodeName.toLowerCase()&&"file"===t.type},password:function(t){return"input"===t.nodeName.toLowerCase()&&"password"===t.type},submit:function(t){var e=t.nodeName.toLowerCase();return("input"===e||"button"===e)&&"submit"===t.type},image:function(t){return"input"===t.nodeName.toLowerCase()&&"image"===t.type},reset:function(t){var e=t.nodeName.toLowerCase();return("input"===e||"button"===e)&&"reset"===t.type},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},input:function(t){return/input|select|textarea|button/i.test(t.nodeName)},focus:function(t){return t===t.ownerDocument.activeElement}},setFilters:{first:function(t,e){return 0===e},last:function(t,e,n,r){return e===r.length-1},even:function(t,e){return 0===e%2},odd:function(t,e){return 1===e%2},lt:function(t,e,n){return e<n[3]-0},gt:function(t,e,n){return e>n[3]-0},nth:function(t,e,n){return n[3]-0===e},eq:function(t,e,n){return n[3]-0===e}},filter:{PSEUDO:function(t,e,n,r){var i=e[1],s=p.filters[i];if(s)return s(t,n,e,r);if("contains"===i)return(t.textContent||t.innerText||f([t])||"").indexOf(e[3])>=0;if("not"===i){for(var c=e[3],a=0,o=c.length;o>a;a++)if(c[a]===t)return!1;return!0}d.error(i)},CHILD:function(t,e){var n,r,s,c,a,o,l=e[1],u=t;switch(l){case"only":case"first":for(;u=u.previousSibling;)if(1===u.nodeType)return!1;if("first"===l)return!0;u=t;case"last":for(;u=u.nextSibling;)if(1===u.nodeType)return!1;return!0;case"nth":if(n=e[2],r=e[3],1===n&&0===r)return!0;if(s=e[0],c=t.parentNode,c&&(c[i]!==s||!t.nodeIndex)){for(a=0,u=c.firstChild;u;u=u.nextSibling)1===u.nodeType&&(u.nodeIndex=++a);c[i]=s}return o=t.nodeIndex-r,0===n?0===o:0===o%n&&o/n>=0}},ID:function(t,e){return 1===t.nodeType&&t.getAttribute("id")===e},TAG:function(t,e){return"*"===e&&1===t.nodeType||!!t.nodeName&&t.nodeName.toLowerCase()===e},CLASS:function(t,e){return(" "+(t.className||t.getAttribute("class"))+" ").indexOf(e)>-1},ATTR:function(t,e){var n=e[1],r=d.attr?d.attr(t,n):p.attrHandle[n]?p.attrHandle[n](t):null!=t[n]?t[n]:t.getAttribute(n),i=r+"",s=e[2],c=e[4];return null==r?"!="===s:!s&&d.attr?null!=r:"="===s?i===c:"*="===s?i.indexOf(c)>=0:"~="===s?(" "+i+" ").indexOf(c)>=0:c?"!="===s?i!==c:"^="===s?0===i.indexOf(c):"$="===s?i.substr(i.length-c.length)===c:"|="===s?i===c||i.substr(0,c.length+1)===c+"-":!1:i&&r!==!1},POS:function(t,e,n,r){var i=e[2],s=p.setFilters[i];return s?s(t,n,e,r):void 0}}},g=p.match.POS,m=function(t,e){return"\\"+(e-0+1)};for(var v in p.match)p.match[v]=new RegExp(p.match[v].source+/(?![^\[]*\])(?![^\(]*\))/.source),p.leftMatch[v]=new RegExp(/(^(?:.|\r|\n)*?)/.source+p.match[v].source.replace(/\\(\d+)/g,m));p.match.globalPOS=g;var y=function(t,e){return t=Array.prototype.slice.call(t,0),e?(e.push.apply(e,t),e):t};try{Array.prototype.slice.call(E.documentElement.childNodes,0)[0].nodeType}catch(b){y=function(t,e){var n=0,r=e||[];if("[object Array]"===c.call(t))Array.prototype.push.apply(r,t);else if("number"==typeof t.length)for(var i=t.length;i>n;n++)r.push(t[n]);else for(;t[n];n++)r.push(t[n]);return r}}var x,_;E.documentElement.compareDocumentPosition?x=function(t,e){return t===e?(a=!0,0):t.compareDocumentPosition&&e.compareDocumentPosition?4&t.compareDocumentPosition(e)?-1:1:t.compareDocumentPosition?-1:1}:(x=function(t,e){if(t===e)return a=!0,0;if(t.sourceIndex&&e.sourceIndex)return t.sourceIndex-e.sourceIndex;var n,r,i=[],s=[],c=t.parentNode,o=e.parentNode,l=c;if(c===o)return _(t,e);if(!c)return-1;if(!o)return 1;for(;l;)i.unshift(l),l=l.parentNode;for(l=o;l;)s.unshift(l),l=l.parentNode;n=i.length,r=s.length;for(var u=0;n>u&&r>u;u++)if(i[u]!==s[u])return _(i[u],s[u]);return u===n?_(t,s[u],-1):_(i[u],e,1)},_=function(t,e,n){if(t===e)return n;for(var r=t.nextSibling;r;){if(r===e)return-1;r=r.nextSibling}return 1}),function(){var t=E.createElement("div"),n="script"+(new Date).getTime(),r=E.documentElement;t.innerHTML="<a name='"+n+"'/>",r.insertBefore(t,r.firstChild),E.getElementById(n)&&(p.find.ID=function(t,n,r){if("undefined"!=typeof n.getElementById&&!r){var i=n.getElementById(t[1]);return i?i.id===t[1]||"undefined"!=typeof i.getAttributeNode&&i.getAttributeNode("id").nodeValue===t[1]?[i]:e:[]}},p.filter.ID=function(t,e){var n="undefined"!=typeof t.getAttributeNode&&t.getAttributeNode("id");return 1===t.nodeType&&n&&n.nodeValue===e}),r.removeChild(t),r=t=null}(),function(){var t=E.createElement("div");t.appendChild(E.createComment("")),t.getElementsByTagName("*").length>0&&(p.find.TAG=function(t,e){var n=e.getElementsByTagName(t[1]);if("*"===t[1]){for(var r=[],i=0;n[i];i++)1===n[i].nodeType&&r.push(n[i]);n=r}return n}),t.innerHTML="<a href='#'></a>",t.firstChild&&"undefined"!=typeof t.firstChild.getAttribute&&"#"!==t.firstChild.getAttribute("href")&&(p.attrHandle.href=function(t){return t.getAttribute("href",2)}),t=null}(),E.querySelectorAll&&function(){var t=d,e=E.createElement("div"),n="__sizzle__";if(e.innerHTML="<p class='TEST'></p>",!e.querySelectorAll||0!==e.querySelectorAll(".TEST").length){d=function(e,r,i,s){if(r=r||E,!s&&!d.isXML(r)){var c=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(e);if(c&&(1===r.nodeType||9===r.nodeType)){if(c[1])return y(r.getElementsByTagName(e),i);if(c[2]&&p.find.CLASS&&r.getElementsByClassName)return y(r.getElementsByClassName(c[2]),i)}if(9===r.nodeType){if("body"===e&&r.body)return y([r.body],i);if(c&&c[3]){var a=r.getElementById(c[3]);if(!a||!a.parentNode)return y([],i);if(a.id===c[3])return y([a],i)}try{return y(r.querySelectorAll(e),i)}catch(o){}}else if(1===r.nodeType&&"object"!==r.nodeName.toLowerCase()){var l=r,u=r.getAttribute("id"),h=u||n,f=r.parentNode,g=/^\s*[+~]/.test(e);u?h=h.replace(/'/g,"\\$&"):r.setAttribute("id",h),g&&f&&(r=r.parentNode);try{if(!g||f)return y(r.querySelectorAll("[id='"+h+"'] "+e),i)}catch(m){}finally{u||l.removeAttribute("id")}}}return t(e,r,i,s)};for(var r in t)d[r]=t[r];e=null}}(),function(){var t=E.documentElement,e=t.matchesSelector||t.mozMatchesSelector||t.webkitMatchesSelector||t.msMatchesSelector;if(e){var n=!e.call(E.createElement("div"),"div"),r=!1;try{e.call(E.documentElement,"[test!='']:sizzle")}catch(i){r=!0}d.matchesSelector=function(t,i){if(i=i.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']"),!d.isXML(t))try{if(r||!p.match.PSEUDO.test(i)&&!/!=/.test(i)){var s=e.call(t,i);if(s||!n||t.document&&11!==t.document.nodeType)return s}}catch(c){}return d(i,null,null,[t]).length>0}}}(),function(){var t=E.createElement("div");if(t.innerHTML="<div class='test e'></div><div class='test'></div>",t.getElementsByClassName&&0!==t.getElementsByClassName("e").length){if(t.lastChild.className="e",1===t.getElementsByClassName("e").length)return;p.order.splice(1,0,"CLASS"),p.find.CLASS=function(t,e,n){return"undefined"==typeof e.getElementsByClassName||n?void 0:e.getElementsByClassName(t[1])},t=null}}(),d.contains=E.documentElement.contains?function(t,e){return t!==e&&(t.contains?t.contains(e):!0)}:E.documentElement.compareDocumentPosition?function(t,e){return!!(16&t.compareDocumentPosition(e))}:function(){return!1},d.isXML=function(t){var e=(t?t.ownerDocument||t:0).documentElement;return e?"HTML"!==e.nodeName:!1};var C=function(t,e,n){for(var r,i=[],s="",c=e.nodeType?[e]:e;r=p.match.PSEUDO.exec(t);)s+=r[0],t=t.replace(p.match.PSEUDO,"");t=p.relative[t]?t+"*":t;for(var a=0,o=c.length;o>a;a++)d(t,c[a],i,n);return d.filter(s,i)};d.attr=q.attr,d.selectors.attrMap={},q.find=d,q.expr=d.selectors,q.expr[":"]=q.expr.filters,q.unique=d.uniqueSort,q.text=d.getText,q.isXMLDoc=d.isXML,q.contains=d.contains}();var ae=/Until$/,oe=/^(?:parents|prevUntil|prevAll)/,le=/,/,ue=/^.[^:#\[\.,]*$/,he=Array.prototype.slice,de=q.expr.match.globalPOS,fe={children:!0,contents:!0,next:!0,prev:!0};q.fn.extend({find:function(t){var e,n,r=this;if("string"!=typeof t)return q(t).filter(function(){for(e=0,n=r.length;n>e;e++)if(q.contains(r[e],this))return!0});var i,s,c,a=this.pushStack("","find",t);for(e=0,n=this.length;n>e;e++)if(i=a.length,q.find(t,this[e],a),e>0)for(s=i;s<a.length;s++)for(c=0;i>c;c++)if(a[c]===a[s]){a.splice(s--,1);break}return a},has:function(t){var e=q(t);return this.filter(function(){for(var t=0,n=e.length;n>t;t++)if(q.contains(this,e[t]))return!0})},not:function(t){return this.pushStack(M(this,t,!1),"not",t)},filter:function(t){return this.pushStack(M(this,t,!0),"filter",t)},is:function(t){return!!t&&("string"==typeof t?de.test(t)?q(t,this.context).index(this[0])>=0:q.filter(t,this).length>0:this.filter(t).length>0)},closest:function(t,e){var n,r,i=[],s=this[0];if(q.isArray(t)){for(var c=1;s&&s.ownerDocument&&s!==e;){for(n=0;n<t.length;n++)q(s).is(t[n])&&i.push({selector:t[n],elem:s,level:c});s=s.parentNode,c++}return i}var a=de.test(t)||"string"!=typeof t?q(t,e||this.context):0;for(n=0,r=this.length;r>n;n++)for(s=this[n];s;){if(a?a.index(s)>-1:q.find.matchesSelector(s,t)){i.push(s);break}if(s=s.parentNode,!s||!s.ownerDocument||s===e||11===s.nodeType)break}return i=i.length>1?q.unique(i):i,this.pushStack(i,"closest",t)},index:function(t){return t?"string"==typeof t?q.inArray(this[0],q(t)):q.inArray(t.jquery?t[0]:t,this):this[0]&&this[0].parentNode?this.prevAll().length:-1},add:function(t,e){var n="string"==typeof t?q(t,e):q.makeArray(t&&t.nodeType?[t]:t),r=q.merge(this.get(),n);return this.pushStack(T(n[0])||T(r[0])?r:q.unique(r))},andSelf:function(){return this.add(this.prevObject)}}),q.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return q.dir(t,"parentNode")},parentsUntil:function(t,e,n){return q.dir(t,"parentNode",n)},next:function(t){return q.nth(t,2,"nextSibling")},prev:function(t){return q.nth(t,2,"previousSibling")},nextAll:function(t){return q.dir(t,"nextSibling")},prevAll:function(t){return q.dir(t,"previousSibling")},nextUntil:function(t,e,n){return q.dir(t,"nextSibling",n)},prevUntil:function(t,e,n){return q.dir(t,"previousSibling",n)},siblings:function(t){return q.sibling((t.parentNode||{}).firstChild,t)},children:function(t){return q.sibling(t.firstChild)},contents:function(t){return q.nodeName(t,"iframe")?t.contentDocument||t.contentWindow.document:q.makeArray(t.childNodes)}},function(t,e){q.fn[t]=function(n,r){var i=q.map(this,e,n);return ae.test(t)||(r=n),r&&"string"==typeof r&&(i=q.filter(r,i)),i=this.length>1&&!fe[t]?q.unique(i):i,(this.length>1||le.test(r))&&oe.test(t)&&(i=i.reverse()),this.pushStack(i,t,he.call(arguments).join(","))}}),q.extend({filter:function(t,e,n){return n&&(t=":not("+t+")"),1===e.length?q.find.matchesSelector(e[0],t)?[e[0]]:[]:q.find.matches(t,e)},dir:function(t,n,r){for(var i=[],s=t[n];s&&9!==s.nodeType&&(r===e||1!==s.nodeType||!q(s).is(r));)1===s.nodeType&&i.push(s),s=s[n];return i},nth:function(t,e,n){e=e||1;for(var r=0;t&&(1!==t.nodeType||++r!==e);t=t[n]);return t},sibling:function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n}});var pe="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",ge=/ jQuery\d+="(?:\d+|null)"/g,me=/^\s+/,ve=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,ye=/<([\w:]+)/,be=/<tbody/i,xe=/<|&#?\w+;/,_e=/<(?:script|style)/i,Ce=/<(?:script|object|embed|option|style)/i,we=new RegExp("<(?:"+pe+")[\\s/>]","i"),Me=/checked\s*(?:[^=]|=\s*.checked.)/i,Te=/\/(java|ecma)script/i,Se=/^\s*<!(?:\[CDATA\[|\-\-)/,Ne={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]},ze=w(E);Ne.optgroup=Ne.option,Ne.tbody=Ne.tfoot=Ne.colgroup=Ne.caption=Ne.thead,Ne.th=Ne.td,q.support.htmlSerialize||(Ne._default=[1,"div<div>","</div>"]),q.fn.extend({text:function(t){return q.access(this,function(t){return t===e?q.text(this):this.empty().append((this[0]&&this[0].ownerDocument||E).createTextNode(t))},null,t,arguments.length)},wrapAll:function(t){if(q.isFunction(t))return this.each(function(e){q(this).wrapAll(t.call(this,e))});if(this[0]){var e=q(t,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var t=this;t.firstChild&&1===t.firstChild.nodeType;)t=t.firstChild;return t}).append(this)}return this},wrapInner:function(t){return q.isFunction(t)?this.each(function(e){q(this).wrapInner(t.call(this,e))}):this.each(function(){var e=q(this),n=e.contents();n.length?n.wrapAll(t):e.append(t)})},wrap:function(t){var e=q.isFunction(t);return this.each(function(n){q(this).wrapAll(e?t.call(this,n):t)})},unwrap:function(){return this.parent().each(function(){q.nodeName(this,"body")||q(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(t){1===this.nodeType&&this.appendChild(t)})},prepend:function(){return this.domManip(arguments,!0,function(t){1===this.nodeType&&this.insertBefore(t,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(t){this.parentNode.insertBefore(t,this)});if(arguments.length){var t=q.clean(arguments);return t.push.apply(t,this.toArray()),this.pushStack(t,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(t){this.parentNode.insertBefore(t,this.nextSibling)});if(arguments.length){var t=this.pushStack(this,"after",arguments);return t.push.apply(t,q.clean(arguments)),t}},remove:function(t,e){for(var n,r=0;null!=(n=this[r]);r++)(!t||q.filter(t,[n]).length)&&(!e&&1===n.nodeType&&(q.cleanData(n.getElementsByTagName("*")),q.cleanData([n])),n.parentNode&&n.parentNode.removeChild(n));return this},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)for(1===t.nodeType&&q.cleanData(t.getElementsByTagName("*"));t.firstChild;)t.removeChild(t.firstChild);return this},clone:function(t,e){return t=null==t?!1:t,e=null==e?t:e,this.map(function(){return q.clone(this,t,e)
4
- })},html:function(t){return q.access(this,function(t){var n=this[0]||{},r=0,i=this.length;if(t===e)return 1===n.nodeType?n.innerHTML.replace(ge,""):null;if(!("string"!=typeof t||_e.test(t)||!q.support.leadingWhitespace&&me.test(t)||Ne[(ye.exec(t)||["",""])[1].toLowerCase()])){t=t.replace(ve,"<$1></$2>");try{for(;i>r;r++)n=this[r]||{},1===n.nodeType&&(q.cleanData(n.getElementsByTagName("*")),n.innerHTML=t);n=0}catch(s){}}n&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(t){return this[0]&&this[0].parentNode?q.isFunction(t)?this.each(function(e){var n=q(this),r=n.html();n.replaceWith(t.call(this,e,r))}):("string"!=typeof t&&(t=q(t).detach()),this.each(function(){var e=this.nextSibling,n=this.parentNode;q(this).remove(),e?q(e).before(t):q(n).append(t)})):this.length?this.pushStack(q(q.isFunction(t)?t():t),"replaceWith",t):this},detach:function(t){return this.remove(t,!0)},domManip:function(t,n,r){var i,s,c,a,o=t[0],l=[];if(!q.support.checkClone&&3===arguments.length&&"string"==typeof o&&Me.test(o))return this.each(function(){q(this).domManip(t,n,r,!0)});if(q.isFunction(o))return this.each(function(i){var s=q(this);t[0]=o.call(this,i,n?s.html():e),s.domManip(t,n,r)});if(this[0]){if(a=o&&o.parentNode,i=q.support.parentNode&&a&&11===a.nodeType&&a.childNodes.length===this.length?{fragment:a}:q.buildFragment(t,this,l),c=i.fragment,s=1===c.childNodes.length?c=c.firstChild:c.firstChild,s){n=n&&q.nodeName(s,"tr");for(var u=0,h=this.length,d=h-1;h>u;u++)r.call(n?C(this[u],s):this[u],i.cacheable||h>1&&d>u?q.clone(c,!0,!0):c)}l.length&&q.each(l,function(t,e){e.src?q.ajax({type:"GET",global:!1,url:e.src,async:!1,dataType:"script"}):q.globalEval((e.text||e.textContent||e.innerHTML||"").replace(Se,"/*$0*/")),e.parentNode&&e.parentNode.removeChild(e)})}return this}}),q.buildFragment=function(t,e,n){var r,i,s,c,a=t[0];return e&&e[0]&&(c=e[0].ownerDocument||e[0]),c.createDocumentFragment||(c=E),1===t.length&&"string"==typeof a&&a.length<512&&c===E&&"<"===a.charAt(0)&&!Ce.test(a)&&(q.support.checkClone||!Me.test(a))&&(q.support.html5Clone||!we.test(a))&&(i=!0,s=q.fragments[a],s&&1!==s&&(r=s)),r||(r=c.createDocumentFragment(),q.clean(t,c,r,n)),i&&(q.fragments[a]=s?r:1),{fragment:r,cacheable:i}},q.fragments={},q.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,e){q.fn[t]=function(n){var r=[],i=q(n),s=1===this.length&&this[0].parentNode;if(s&&11===s.nodeType&&1===s.childNodes.length&&1===i.length)return i[e](this[0]),this;for(var c=0,a=i.length;a>c;c++){var o=(c>0?this.clone(!0):this).get();q(i[c])[e](o),r=r.concat(o)}return this.pushStack(r,t,i.selector)}}),q.extend({clone:function(t,e,n){var r,i,s,c=q.support.html5Clone||q.isXMLDoc(t)||!we.test("<"+t.nodeName+">")?t.cloneNode(!0):m(t);if(!(q.support.noCloneEvent&&q.support.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||q.isXMLDoc(t)))for(x(t,c),r=b(t),i=b(c),s=0;r[s];++s)i[s]&&x(r[s],i[s]);if(e&&(_(t,c),n))for(r=b(t),i=b(c),s=0;r[s];++s)_(r[s],i[s]);return r=i=null,c},clean:function(t,e,n,r){var i,s,c,a=[];e=e||E,"undefined"==typeof e.createElement&&(e=e.ownerDocument||e[0]&&e[0].ownerDocument||E);for(var o,l=0;null!=(o=t[l]);l++)if("number"==typeof o&&(o+=""),o){if("string"==typeof o)if(xe.test(o)){o=o.replace(ve,"<$1></$2>");var u,h=(ye.exec(o)||["",""])[1].toLowerCase(),d=Ne[h]||Ne._default,f=d[0],p=e.createElement("div"),g=ze.childNodes;for(e===E?ze.appendChild(p):w(e).appendChild(p),p.innerHTML=d[1]+o+d[2];f--;)p=p.lastChild;if(!q.support.tbody){var m=be.test(o),y="table"!==h||m?"<table>"!==d[1]||m?[]:p.childNodes:p.firstChild&&p.firstChild.childNodes;for(c=y.length-1;c>=0;--c)q.nodeName(y[c],"tbody")&&!y[c].childNodes.length&&y[c].parentNode.removeChild(y[c])}!q.support.leadingWhitespace&&me.test(o)&&p.insertBefore(e.createTextNode(me.exec(o)[0]),p.firstChild),o=p.childNodes,p&&(p.parentNode.removeChild(p),g.length>0&&(u=g[g.length-1],u&&u.parentNode&&u.parentNode.removeChild(u)))}else o=e.createTextNode(o);var b;if(!q.support.appendChecked)if(o[0]&&"number"==typeof(b=o.length))for(c=0;b>c;c++)v(o[c]);else v(o);o.nodeType?a.push(o):a=q.merge(a,o)}if(n)for(i=function(t){return!t.type||Te.test(t.type)},l=0;a[l];l++)if(s=a[l],r&&q.nodeName(s,"script")&&(!s.type||Te.test(s.type)))r.push(s.parentNode?s.parentNode.removeChild(s):s);else{if(1===s.nodeType){var x=q.grep(s.getElementsByTagName("script"),i);a.splice.apply(a,[l+1,0].concat(x))}n.appendChild(s)}return a},cleanData:function(t){for(var e,n,r,i=q.cache,s=q.event.special,c=q.support.deleteExpando,a=0;null!=(r=t[a]);a++)if((!r.nodeName||!q.noData[r.nodeName.toLowerCase()])&&(n=r[q.expando])){if(e=i[n],e&&e.events){for(var o in e.events)s[o]?q.event.remove(r,o):q.removeEvent(r,o,e.handle);e.handle&&(e.handle.elem=null)}c?delete r[q.expando]:r.removeAttribute&&r.removeAttribute(q.expando),delete i[n]}}});var Le,ke,Ae,Ee=/alpha\([^)]*\)/i,He=/opacity=([^)]*)/,De=/([A-Z]|^ms)/g,qe=/^[\-+]?(?:\d*\.)?\d+$/i,Be=/^-?(?:\d*\.)?\d+(?!px)[^\d\s]+$/i,Fe=/^([\-+])=([\-+.\de]+)/,je=/^margin/,Oe={position:"absolute",visibility:"hidden",display:"block"},Ie=["Top","Right","Bottom","Left"];q.fn.css=function(t,n){return q.access(this,function(t,n,r){return r!==e?q.style(t,n,r):q.css(t,n)},t,n,arguments.length>1)},q.extend({cssHooks:{opacity:{get:function(t,e){if(e){var n=Le(t,"opacity");return""===n?"1":n}return t.style.opacity}}},cssNumber:{fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":q.support.cssFloat?"cssFloat":"styleFloat"},style:function(t,n,r,i){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var s,c,a=q.camelCase(n),o=t.style,l=q.cssHooks[a];if(n=q.cssProps[a]||a,r===e)return l&&"get"in l&&(s=l.get(t,!1,i))!==e?s:o[n];if(c=typeof r,"string"===c&&(s=Fe.exec(r))&&(r=+(s[1]+1)*+s[2]+parseFloat(q.css(t,n)),c="number"),null==r||"number"===c&&isNaN(r))return;if("number"===c&&!q.cssNumber[a]&&(r+="px"),!(l&&"set"in l&&(r=l.set(t,r))===e))try{o[n]=r}catch(u){}}},css:function(t,n,r){var i,s;return n=q.camelCase(n),s=q.cssHooks[n],n=q.cssProps[n]||n,"cssFloat"===n&&(n="float"),s&&"get"in s&&(i=s.get(t,!0,r))!==e?i:Le?Le(t,n):void 0},swap:function(t,e,n){var r,i,s={};for(i in e)s[i]=t.style[i],t.style[i]=e[i];r=n.call(t);for(i in e)t.style[i]=s[i];return r}}),q.curCSS=q.css,E.defaultView&&E.defaultView.getComputedStyle&&(ke=function(t,e){var n,r,i,s,c=t.style;return e=e.replace(De,"-$1").toLowerCase(),(r=t.ownerDocument.defaultView)&&(i=r.getComputedStyle(t,null))&&(n=i.getPropertyValue(e),""===n&&!q.contains(t.ownerDocument.documentElement,t)&&(n=q.style(t,e))),!q.support.pixelMargin&&i&&je.test(e)&&Be.test(n)&&(s=c.width,c.width=n,n=i.width,c.width=s),n}),E.documentElement.currentStyle&&(Ae=function(t,e){var n,r,i,s=t.currentStyle&&t.currentStyle[e],c=t.style;return null==s&&c&&(i=c[e])&&(s=i),Be.test(s)&&(n=c.left,r=t.runtimeStyle&&t.runtimeStyle.left,r&&(t.runtimeStyle.left=t.currentStyle.left),c.left="fontSize"===e?"1em":s,s=c.pixelLeft+"px",c.left=n,r&&(t.runtimeStyle.left=r)),""===s?"auto":s}),Le=ke||Ae,q.each(["height","width"],function(t,e){q.cssHooks[e]={get:function(t,n,r){return n?0!==t.offsetWidth?g(t,e,r):q.swap(t,Oe,function(){return g(t,e,r)}):void 0},set:function(t,e){return qe.test(e)?e+"px":e}}}),q.support.opacity||(q.cssHooks.opacity={get:function(t,e){return He.test((e&&t.currentStyle?t.currentStyle.filter:t.style.filter)||"")?parseFloat(RegExp.$1)/100+"":e?"1":""},set:function(t,e){var n=t.style,r=t.currentStyle,i=q.isNumeric(e)?"alpha(opacity="+100*e+")":"",s=r&&r.filter||n.filter||"";n.zoom=1,e>=1&&""===q.trim(s.replace(Ee,""))&&(n.removeAttribute("filter"),r&&!r.filter)||(n.filter=Ee.test(s)?s.replace(Ee,i):s+" "+i)}}),q(function(){q.support.reliableMarginRight||(q.cssHooks.marginRight={get:function(t,e){return q.swap(t,{display:"inline-block"},function(){return e?Le(t,"margin-right"):t.style.marginRight})}})}),q.expr&&q.expr.filters&&(q.expr.filters.hidden=function(t){var e=t.offsetWidth,n=t.offsetHeight;return 0===e&&0===n||!q.support.reliableHiddenOffsets&&"none"===(t.style&&t.style.display||q.css(t,"display"))},q.expr.filters.visible=function(t){return!q.expr.filters.hidden(t)}),q.each({margin:"",padding:"",border:"Width"},function(t,e){q.cssHooks[t+e]={expand:function(n){var r,i="string"==typeof n?n.split(" "):[n],s={};for(r=0;4>r;r++)s[t+Ie[r]+e]=i[r]||i[r-2]||i[0];return s}}});var Re,Ve,Pe=/%20/g,We=/\[\]$/,Xe=/\r?\n/g,$e=/#.*$/,Ue=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Ge=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,Ye=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,Je=/^(?:GET|HEAD)$/,Ze=/^\/\//,Qe=/\?/,Ke=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,tn=/^(?:select|textarea)/i,en=/\s+/,nn=/([?&])_=[^&]*/,rn=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,sn=q.fn.load,cn={},an={},on=["*/"]+["*"];try{Re=D.href}catch(ln){Re=E.createElement("a"),Re.href="",Re=Re.href}Ve=rn.exec(Re.toLowerCase())||[],q.fn.extend({load:function(t,n,r){if("string"!=typeof t&&sn)return sn.apply(this,arguments);if(!this.length)return this;var i=t.indexOf(" ");if(i>=0){var s=t.slice(i,t.length);t=t.slice(0,i)}var c="GET";n&&(q.isFunction(n)?(r=n,n=e):"object"==typeof n&&(n=q.param(n,q.ajaxSettings.traditional),c="POST"));var a=this;return q.ajax({url:t,type:c,dataType:"html",data:n,complete:function(t,e,n){n=t.responseText,t.isResolved()&&(t.done(function(t){n=t}),a.html(s?q("<div>").append(n.replace(Ke,"")).find(s):n)),r&&a.each(r,[n,e,t])}}),this},serialize:function(){return q.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?q.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||tn.test(this.nodeName)||Ge.test(this.type))}).map(function(t,e){var n=q(this).val();return null==n?null:q.isArray(n)?q.map(n,function(t){return{name:e.name,value:t.replace(Xe,"\r\n")}}):{name:e.name,value:n.replace(Xe,"\r\n")}}).get()}}),q.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(t,e){q.fn[e]=function(t){return this.on(e,t)}}),q.each(["get","post"],function(t,n){q[n]=function(t,r,i,s){return q.isFunction(r)&&(s=s||i,i=r,r=e),q.ajax({type:n,url:t,data:r,success:i,dataType:s})}}),q.extend({getScript:function(t,n){return q.get(t,e,n,"script")},getJSON:function(t,e,n){return q.get(t,e,n,"json")},ajaxSetup:function(t,e){return e?d(t,q.ajaxSettings):(e=t,t=q.ajaxSettings),d(t,e),t},ajaxSettings:{url:Re,isLocal:Ye.test(Ve[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded; charset=UTF-8",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":on},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":t.String,"text html":!0,"text json":q.parseJSON,"text xml":q.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:p(cn),ajaxTransport:p(an),ajax:function(t,n){function r(t,n,r,c){if(2!==w){w=2,o&&clearTimeout(o),a=e,s=c||"",M.readyState=t>0?4:0;var h,f,p,_,C,T=n,S=r?u(g,M,r):e;if(t>=200&&300>t||304===t)if(g.ifModified&&((_=M.getResponseHeader("Last-Modified"))&&(q.lastModified[i]=_),(C=M.getResponseHeader("Etag"))&&(q.etag[i]=C)),304===t)T="notmodified",h=!0;else try{f=l(g,S),T="success",h=!0}catch(N){T="parsererror",p=N}else p=T,(!T||t)&&(T="error",0>t&&(t=0));M.status=t,M.statusText=""+(n||T),h?y.resolveWith(m,[f,T,M]):y.rejectWith(m,[M,T,p]),M.statusCode(x),x=e,d&&v.trigger("ajax"+(h?"Success":"Error"),[M,g,h?f:p]),b.fireWith(m,[M,T]),d&&(v.trigger("ajaxComplete",[M,g]),--q.active||q.event.trigger("ajaxStop"))}}"object"==typeof t&&(n=t,t=e),n=n||{};var i,s,c,a,o,h,d,p,g=q.ajaxSetup({},n),m=g.context||g,v=m!==g&&(m.nodeType||m instanceof q)?q(m):q.event,y=q.Deferred(),b=q.Callbacks("once memory"),x=g.statusCode||{},_={},C={},w=0,M={readyState:0,setRequestHeader:function(t,e){if(!w){var n=t.toLowerCase();t=C[n]=C[n]||t,_[t]=e}return this},getAllResponseHeaders:function(){return 2===w?s:null},getResponseHeader:function(t){var n;if(2===w){if(!c)for(c={};n=Ue.exec(s);)c[n[1].toLowerCase()]=n[2];n=c[t.toLowerCase()]}return n===e?null:n},overrideMimeType:function(t){return w||(g.mimeType=t),this},abort:function(t){return t=t||"abort",a&&a.abort(t),r(0,t),this}};if(y.promise(M),M.success=M.done,M.error=M.fail,M.complete=b.add,M.statusCode=function(t){if(t){var e;if(2>w)for(e in t)x[e]=[x[e],t[e]];else e=t[M.status],M.then(e,e)}return this},g.url=((t||g.url)+"").replace($e,"").replace(Ze,Ve[1]+"//"),g.dataTypes=q.trim(g.dataType||"*").toLowerCase().split(en),null==g.crossDomain&&(h=rn.exec(g.url.toLowerCase()),g.crossDomain=!(!h||h[1]==Ve[1]&&h[2]==Ve[2]&&(h[3]||("http:"===h[1]?80:443))==(Ve[3]||("http:"===Ve[1]?80:443)))),g.data&&g.processData&&"string"!=typeof g.data&&(g.data=q.param(g.data,g.traditional)),f(cn,g,n,M),2===w)return!1;if(d=g.global,g.type=g.type.toUpperCase(),g.hasContent=!Je.test(g.type),d&&0===q.active++&&q.event.trigger("ajaxStart"),!g.hasContent&&(g.data&&(g.url+=(Qe.test(g.url)?"&":"?")+g.data,delete g.data),i=g.url,g.cache===!1)){var T=q.now(),S=g.url.replace(nn,"$1_="+T);g.url=S+(S===g.url?(Qe.test(g.url)?"&":"?")+"_="+T:"")}(g.data&&g.hasContent&&g.contentType!==!1||n.contentType)&&M.setRequestHeader("Content-Type",g.contentType),g.ifModified&&(i=i||g.url,q.lastModified[i]&&M.setRequestHeader("If-Modified-Since",q.lastModified[i]),q.etag[i]&&M.setRequestHeader("If-None-Match",q.etag[i])),M.setRequestHeader("Accept",g.dataTypes[0]&&g.accepts[g.dataTypes[0]]?g.accepts[g.dataTypes[0]]+("*"!==g.dataTypes[0]?", "+on+"; q=0.01":""):g.accepts["*"]);for(p in g.headers)M.setRequestHeader(p,g.headers[p]);if(g.beforeSend&&(g.beforeSend.call(m,M,g)===!1||2===w))return M.abort(),!1;for(p in{success:1,error:1,complete:1})M[p](g[p]);if(a=f(an,g,n,M)){M.readyState=1,d&&v.trigger("ajaxSend",[M,g]),g.async&&g.timeout>0&&(o=setTimeout(function(){M.abort("timeout")},g.timeout));try{w=1,a.send(_,r)}catch(N){if(!(2>w))throw N;r(-1,N)}}else r(-1,"No Transport");return M},param:function(t,n){var r=[],i=function(t,e){e=q.isFunction(e)?e():e,r[r.length]=encodeURIComponent(t)+"="+encodeURIComponent(e)};if(n===e&&(n=q.ajaxSettings.traditional),q.isArray(t)||t.jquery&&!q.isPlainObject(t))q.each(t,function(){i(this.name,this.value)});else for(var s in t)h(s,t[s],n,i);return r.join("&").replace(Pe,"+")}}),q.extend({active:0,lastModified:{},etag:{}});var un=q.now(),hn=/(\=)\?(&|$)|\?\?/i;q.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return q.expando+"_"+un++}}),q.ajaxPrefilter("json jsonp",function(e,n,r){var i="string"==typeof e.data&&/^application\/x\-www\-form\-urlencoded/.test(e.contentType);if("jsonp"===e.dataTypes[0]||e.jsonp!==!1&&(hn.test(e.url)||i&&hn.test(e.data))){var s,c=e.jsonpCallback=q.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a=t[c],o=e.url,l=e.data,u="$1"+c+"$2";return e.jsonp!==!1&&(o=o.replace(hn,u),e.url===o&&(i&&(l=l.replace(hn,u)),e.data===l&&(o+=(/\?/.test(o)?"&":"?")+e.jsonp+"="+c))),e.url=o,e.data=l,t[c]=function(t){s=[t]},r.always(function(){t[c]=a,s&&q.isFunction(a)&&t[c](s[0])}),e.converters["script json"]=function(){return s||q.error(c+" was not called"),s[0]},e.dataTypes[0]="json","script"}}),q.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(t){return q.globalEval(t),t}}}),q.ajaxPrefilter("script",function(t){t.cache===e&&(t.cache=!1),t.crossDomain&&(t.type="GET",t.global=!1)}),q.ajaxTransport("script",function(t){if(t.crossDomain){var n,r=E.head||E.getElementsByTagName("head")[0]||E.documentElement;return{send:function(i,s){n=E.createElement("script"),n.async="async",t.scriptCharset&&(n.charset=t.scriptCharset),n.src=t.url,n.onload=n.onreadystatechange=function(t,i){(i||!n.readyState||/loaded|complete/.test(n.readyState))&&(n.onload=n.onreadystatechange=null,r&&n.parentNode&&r.removeChild(n),n=e,i||s(200,"success"))},r.insertBefore(n,r.firstChild)},abort:function(){n&&n.onload(0,1)}}}});var dn,fn=t.ActiveXObject?function(){for(var t in dn)dn[t](0,1)}:!1,pn=0;q.ajaxSettings.xhr=t.ActiveXObject?function(){return!this.isLocal&&o()||a()}:o,function(t){q.extend(q.support,{ajax:!!t,cors:!!t&&"withCredentials"in t})}(q.ajaxSettings.xhr()),q.support.ajax&&q.ajaxTransport(function(n){if(!n.crossDomain||q.support.cors){var r;return{send:function(i,s){var c,a,o=n.xhr();if(n.username?o.open(n.type,n.url,n.async,n.username,n.password):o.open(n.type,n.url,n.async),n.xhrFields)for(a in n.xhrFields)o[a]=n.xhrFields[a];n.mimeType&&o.overrideMimeType&&o.overrideMimeType(n.mimeType),!n.crossDomain&&!i["X-Requested-With"]&&(i["X-Requested-With"]="XMLHttpRequest");try{for(a in i)o.setRequestHeader(a,i[a])}catch(l){}o.send(n.hasContent&&n.data||null),r=function(t,i){var a,l,u,h,d;try{if(r&&(i||4===o.readyState))if(r=e,c&&(o.onreadystatechange=q.noop,fn&&delete dn[c]),i)4!==o.readyState&&o.abort();else{a=o.status,u=o.getAllResponseHeaders(),h={},d=o.responseXML,d&&d.documentElement&&(h.xml=d);try{h.text=o.responseText}catch(t){}try{l=o.statusText}catch(f){l=""}a||!n.isLocal||n.crossDomain?1223===a&&(a=204):a=h.text?200:404}}catch(p){i||s(-1,p)}h&&s(a,l,h,u)},n.async&&4!==o.readyState?(c=++pn,fn&&(dn||(dn={},q(t).unload(fn)),dn[c]=r),o.onreadystatechange=r):r()},abort:function(){r&&r(0,1)}}}});var gn,mn,vn,yn,bn={},xn=/^(?:toggle|show|hide)$/,_n=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,Cn=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];q.fn.extend({show:function(t,e,n){var s,c;if(t||0===t)return this.animate(i("show",3),t,e,n);for(var a=0,o=this.length;o>a;a++)s=this[a],s.style&&(c=s.style.display,!q._data(s,"olddisplay")&&"none"===c&&(c=s.style.display=""),(""===c&&"none"===q.css(s,"display")||!q.contains(s.ownerDocument.documentElement,s))&&q._data(s,"olddisplay",r(s.nodeName)));for(a=0;o>a;a++)s=this[a],s.style&&(c=s.style.display,(""===c||"none"===c)&&(s.style.display=q._data(s,"olddisplay")||""));return this},hide:function(t,e,n){if(t||0===t)return this.animate(i("hide",3),t,e,n);for(var r,s,c=0,a=this.length;a>c;c++)r=this[c],r.style&&(s=q.css(r,"display"),"none"!==s&&!q._data(r,"olddisplay")&&q._data(r,"olddisplay",s));for(c=0;a>c;c++)this[c].style&&(this[c].style.display="none");return this},_toggle:q.fn.toggle,toggle:function(t,e,n){var r="boolean"==typeof t;return q.isFunction(t)&&q.isFunction(e)?this._toggle.apply(this,arguments):null==t||r?this.each(function(){var e=r?t:q(this).is(":hidden");q(this)[e?"show":"hide"]()}):this.animate(i("toggle",3),t,e,n),this},fadeTo:function(t,e,n,r){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:e},t,n,r)},animate:function(t,e,n,i){function s(){c.queue===!1&&q._mark(this);var e,n,i,s,a,o,l,u,h,d,f,p=q.extend({},c),g=1===this.nodeType,m=g&&q(this).is(":hidden");p.animatedProperties={};for(i in t)if(e=q.camelCase(i),i!==e&&(t[e]=t[i],delete t[i]),(a=q.cssHooks[e])&&"expand"in a){o=a.expand(t[e]),delete t[e];for(i in o)i in t||(t[i]=o[i])}for(e in t){if(n=t[e],q.isArray(n)?(p.animatedProperties[e]=n[1],n=t[e]=n[0]):p.animatedProperties[e]=p.specialEasing&&p.specialEasing[e]||p.easing||"swing","hide"===n&&m||"show"===n&&!m)return p.complete.call(this);g&&("height"===e||"width"===e)&&(p.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY],"inline"===q.css(this,"display")&&"none"===q.css(this,"float")&&(q.support.inlineBlockNeedsLayout&&"inline"!==r(this.nodeName)?this.style.zoom=1:this.style.display="inline-block"))}null!=p.overflow&&(this.style.overflow="hidden");for(i in t)s=new q.fx(this,p,i),n=t[i],xn.test(n)?(f=q._data(this,"toggle"+i)||("toggle"===n?m?"show":"hide":0),f?(q._data(this,"toggle"+i,"show"===f?"hide":"show"),s[f]()):s[n]()):(l=_n.exec(n),u=s.cur(),l?(h=parseFloat(l[2]),d=l[3]||(q.cssNumber[i]?"":"px"),"px"!==d&&(q.style(this,i,(h||1)+d),u=(h||1)/s.cur()*u,q.style(this,i,u+d)),l[1]&&(h=("-="===l[1]?-1:1)*h+u),s.custom(u,h,d)):s.custom(u,n,""));return!0}var c=q.speed(e,n,i);return q.isEmptyObject(t)?this.each(c.complete,[!1]):(t=q.extend({},t),c.queue===!1?this.each(s):this.queue(c.queue,s))},stop:function(t,n,r){return"string"!=typeof t&&(r=n,n=t,t=e),n&&t!==!1&&this.queue(t||"fx",[]),this.each(function(){function e(t,e,n){var i=e[n];q.removeData(t,n,!0),i.stop(r)}var n,i=!1,s=q.timers,c=q._data(this);if(r||q._unmark(!0,this),null==t)for(n in c)c[n]&&c[n].stop&&n.indexOf(".run")===n.length-4&&e(this,c,n);else c[n=t+".run"]&&c[n].stop&&e(this,c,n);for(n=s.length;n--;)s[n].elem===this&&(null==t||s[n].queue===t)&&(r?s[n](!0):s[n].saveState(),i=!0,s.splice(n,1));(!r||!i)&&q.dequeue(this,t)})}}),q.each({slideDown:i("show",1),slideUp:i("hide",1),slideToggle:i("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,e){q.fn[t]=function(t,n,r){return this.animate(e,t,n,r)}}),q.extend({speed:function(t,e,n){var r=t&&"object"==typeof t?q.extend({},t):{complete:n||!n&&e||q.isFunction(t)&&t,duration:t,easing:n&&e||e&&!q.isFunction(e)&&e};return r.duration=q.fx.off?0:"number"==typeof r.duration?r.duration:r.duration in q.fx.speeds?q.fx.speeds[r.duration]:q.fx.speeds._default,(null==r.queue||r.queue===!0)&&(r.queue="fx"),r.old=r.complete,r.complete=function(t){q.isFunction(r.old)&&r.old.call(this),r.queue?q.dequeue(this,r.queue):t!==!1&&q._unmark(this)},r},easing:{linear:function(t){return t},swing:function(t){return-Math.cos(t*Math.PI)/2+.5}},timers:[],fx:function(t,e,n){this.options=e,this.elem=t,this.prop=n,e.orig=e.orig||{}}}),q.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this),(q.fx.step[this.prop]||q.fx.step._default)(this)},cur:function(){if(null!=this.elem[this.prop]&&(!this.elem.style||null==this.elem.style[this.prop]))return this.elem[this.prop];var t,e=q.css(this.elem,this.prop);return isNaN(t=parseFloat(e))?e&&"auto"!==e?e:0:t},custom:function(t,n,r){function i(t){return s.step(t)}var s=this,a=q.fx;this.startTime=yn||c(),this.end=n,this.now=this.start=t,this.pos=this.state=0,this.unit=r||this.unit||(q.cssNumber[this.prop]?"":"px"),i.queue=this.options.queue,i.elem=this.elem,i.saveState=function(){q._data(s.elem,"fxshow"+s.prop)===e&&(s.options.hide?q._data(s.elem,"fxshow"+s.prop,s.start):s.options.show&&q._data(s.elem,"fxshow"+s.prop,s.end))},i()&&q.timers.push(i)&&!vn&&(vn=setInterval(a.tick,a.interval))},show:function(){var t=q._data(this.elem,"fxshow"+this.prop);this.options.orig[this.prop]=t||q.style(this.elem,this.prop),this.options.show=!0,t!==e?this.custom(this.cur(),t):this.custom("width"===this.prop||"height"===this.prop?1:0,this.cur()),q(this.elem).show()},hide:function(){this.options.orig[this.prop]=q._data(this.elem,"fxshow"+this.prop)||q.style(this.elem,this.prop),this.options.hide=!0,this.custom(this.cur(),0)},step:function(t){var e,n,r,i=yn||c(),s=!0,a=this.elem,o=this.options;if(t||i>=o.duration+this.startTime){this.now=this.end,this.pos=this.state=1,this.update(),o.animatedProperties[this.prop]=!0;for(e in o.animatedProperties)o.animatedProperties[e]!==!0&&(s=!1);if(s){if(null!=o.overflow&&!q.support.shrinkWrapBlocks&&q.each(["","X","Y"],function(t,e){a.style["overflow"+e]=o.overflow[t]}),o.hide&&q(a).hide(),o.hide||o.show)for(e in o.animatedProperties)q.style(a,e,o.orig[e]),q.removeData(a,"fxshow"+e,!0),q.removeData(a,"toggle"+e,!0);r=o.complete,r&&(o.complete=!1,r.call(a))}return!1}return 1/0==o.duration?this.now=i:(n=i-this.startTime,this.state=n/o.duration,this.pos=q.easing[o.animatedProperties[this.prop]](this.state,n,0,1,o.duration),this.now=this.start+(this.end-this.start)*this.pos),this.update(),!0}},q.extend(q.fx,{tick:function(){for(var t,e=q.timers,n=0;n<e.length;n++)t=e[n],!t()&&e[n]===t&&e.splice(n--,1);e.length||q.fx.stop()},interval:13,stop:function(){clearInterval(vn),vn=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(t){q.style(t.elem,"opacity",t.now)},_default:function(t){t.elem.style&&null!=t.elem.style[t.prop]?t.elem.style[t.prop]=t.now+t.unit:t.elem[t.prop]=t.now}}}),q.each(Cn.concat.apply([],Cn),function(t,e){e.indexOf("margin")&&(q.fx.step[e]=function(t){q.style(t.elem,e,Math.max(0,t.now)+t.unit)})}),q.expr&&q.expr.filters&&(q.expr.filters.animated=function(t){return q.grep(q.timers,function(e){return t===e.elem}).length});var wn,Mn=/^t(?:able|d|h)$/i,Tn=/^(?:body|html)$/i;wn="getBoundingClientRect"in E.documentElement?function(t,e,r,i){try{i=t.getBoundingClientRect()}catch(s){}if(!i||!q.contains(r,t))return i?{top:i.top,left:i.left}:{top:0,left:0};var c=e.body,a=n(e),o=r.clientTop||c.clientTop||0,l=r.clientLeft||c.clientLeft||0,u=a.pageYOffset||q.support.boxModel&&r.scrollTop||c.scrollTop,h=a.pageXOffset||q.support.boxModel&&r.scrollLeft||c.scrollLeft,d=i.top+u-o,f=i.left+h-l;return{top:d,left:f}}:function(t,e,n){for(var r,i=t.offsetParent,s=t,c=e.body,a=e.defaultView,o=a?a.getComputedStyle(t,null):t.currentStyle,l=t.offsetTop,u=t.offsetLeft;(t=t.parentNode)&&t!==c&&t!==n&&(!q.support.fixedPosition||"fixed"!==o.position);)r=a?a.getComputedStyle(t,null):t.currentStyle,l-=t.scrollTop,u-=t.scrollLeft,t===i&&(l+=t.offsetTop,u+=t.offsetLeft,q.support.doesNotAddBorder&&(!q.support.doesAddBorderForTableAndCells||!Mn.test(t.nodeName))&&(l+=parseFloat(r.borderTopWidth)||0,u+=parseFloat(r.borderLeftWidth)||0),s=i,i=t.offsetParent),q.support.subtractsBorderForOverflowNotVisible&&"visible"!==r.overflow&&(l+=parseFloat(r.borderTopWidth)||0,u+=parseFloat(r.borderLeftWidth)||0),o=r;return("relative"===o.position||"static"===o.position)&&(l+=c.offsetTop,u+=c.offsetLeft),q.support.fixedPosition&&"fixed"===o.position&&(l+=Math.max(n.scrollTop,c.scrollTop),u+=Math.max(n.scrollLeft,c.scrollLeft)),{top:l,left:u}},q.fn.offset=function(t){if(arguments.length)return t===e?this:this.each(function(e){q.offset.setOffset(this,t,e)});var n=this[0],r=n&&n.ownerDocument;return r?n===r.body?q.offset.bodyOffset(n):wn(n,r,r.documentElement):null},q.offset={bodyOffset:function(t){var e=t.offsetTop,n=t.offsetLeft;return q.support.doesNotIncludeMarginInBodyOffset&&(e+=parseFloat(q.css(t,"marginTop"))||0,n+=parseFloat(q.css(t,"marginLeft"))||0),{top:e,left:n}},setOffset:function(t,e,n){var r=q.css(t,"position");"static"===r&&(t.style.position="relative");var i,s,c=q(t),a=c.offset(),o=q.css(t,"top"),l=q.css(t,"left"),u=("absolute"===r||"fixed"===r)&&q.inArray("auto",[o,l])>-1,h={},d={};u?(d=c.position(),i=d.top,s=d.left):(i=parseFloat(o)||0,s=parseFloat(l)||0),q.isFunction(e)&&(e=e.call(t,n,a)),null!=e.top&&(h.top=e.top-a.top+i),null!=e.left&&(h.left=e.left-a.left+s),"using"in e?e.using.call(t,h):c.css(h)}},q.fn.extend({position:function(){if(!this[0])return null;var t=this[0],e=this.offsetParent(),n=this.offset(),r=Tn.test(e[0].nodeName)?{top:0,left:0}:e.offset();return n.top-=parseFloat(q.css(t,"marginTop"))||0,n.left-=parseFloat(q.css(t,"marginLeft"))||0,r.top+=parseFloat(q.css(e[0],"borderTopWidth"))||0,r.left+=parseFloat(q.css(e[0],"borderLeftWidth"))||0,{top:n.top-r.top,left:n.left-r.left}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent||E.body;t&&!Tn.test(t.nodeName)&&"static"===q.css(t,"position");)t=t.offsetParent;return t})}}),q.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,r){var i=/Y/.test(r);q.fn[t]=function(s){return q.access(this,function(t,s,c){var a=n(t);return c===e?a?r in a?a[r]:q.support.boxModel&&a.document.documentElement[s]||a.document.body[s]:t[s]:(a?a.scrollTo(i?q(a).scrollLeft():c,i?c:q(a).scrollTop()):t[s]=c,void 0)},t,s,arguments.length,null)}}),q.each({Height:"height",Width:"width"},function(t,n){var r="client"+t,i="scroll"+t,s="offset"+t;q.fn["inner"+t]=function(){var t=this[0];return t?t.style?parseFloat(q.css(t,n,"padding")):this[n]():null},q.fn["outer"+t]=function(t){var e=this[0];return e?e.style?parseFloat(q.css(e,n,t?"margin":"border")):this[n]():null},q.fn[n]=function(t){return q.access(this,function(t,n,c){var a,o,l,u;return q.isWindow(t)?(a=t.document,o=a.documentElement[r],q.support.boxModel&&o||a.body&&a.body[r]||o):9===t.nodeType?(a=t.documentElement,a[r]>=a[i]?a[r]:Math.max(t.body[i],a[i],t.body[s],a[s])):c===e?(l=q.css(t,n),u=parseFloat(l),q.isNumeric(u)?u:l):(q(t).css(n,c),void 0)},n,t,arguments.length,null)}}),t.jQuery=t.$=q,"function"==typeof define&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return q})}(window),function(t){var e,n,r="0.4.0",i="hasOwnProperty",s=/[\.\/]/,c="*",a=function(){},o=function(t,e){return t-e},l={n:{}},u=function(t,r){var i,s=n,c=Array.prototype.slice.call(arguments,2),a=u.listeners(t),l=0,h=[],d={},f=[];e=t,n=0;for(var p=0,g=a.length;g>p;p++)"zIndex"in a[p]&&(h.push(a[p].zIndex),a[p].zIndex<0&&(d[a[p].zIndex]=a[p]));for(h.sort(o);h[l]<0;)if(i=d[h[l++]],f.push(i.apply(r,c)),n)return n=s,f;for(p=0;g>p;p++)if(i=a[p],"zIndex"in i)if(i.zIndex==h[l]){if(f.push(i.apply(r,c)),n)return n=s,f;do if(l++,i=d[h[l]],i&&f.push(i.apply(r,c)),n)return n=s,f;while(i)}else d[i.zIndex]=i;else if(f.push(i.apply(r,c)),n)return n=s,f;return n=s,f.length?f:null};u.listeners=function(t){var e,n,r,i,a,o,u,h,d=t.split(s),f=l,p=[f],g=[];for(i=0,a=d.length;a>i;i++){for(h=[],o=0,u=p.length;u>o;o++)for(f=p[o].n,n=[f[d[i]],f[c]],r=2;r--;)e=n[r],e&&(h.push(e),g=g.concat(e.f||[]));p=h}return g},u.on=function(t,e){for(var n=t.split(s),r=l,i=0,c=n.length;c>i;i++)r=r.n,!r[n[i]]&&(r[n[i]]={n:{}}),r=r[n[i]];for(r.f=r.f||[],i=0,c=r.f.length;c>i;i++)if(r.f[i]==e)return a;return r.f.push(e),function(t){+t==+t&&(e.zIndex=+t)}},u.stop=function(){n=1},u.nt=function(t){return t?new RegExp("(?:\\.|\\/|^)"+t+"(?:\\.|\\/|$)").test(e):e},u.unbind=function(t,e){var n,r,a,o,u,h,d,f=t.split(s),p=[l];for(o=0,u=f.length;u>o;o++)for(h=0;h<p.length;h+=a.length-2){if(a=[h,1],n=p[h].n,f[o]!=c)n[f[o]]&&a.push(n[f[o]]);else for(r in n)n[i](r)&&a.push(n[r]);p.splice.apply(p,a)}for(o=0,u=p.length;u>o;o++)for(n=p[o];n.n;){if(e){if(n.f){for(h=0,d=n.f.length;d>h;h++)if(n.f[h]==e){n.f.splice(h,1);break}!n.f.length&&delete n.f}for(r in n.n)if(n.n[i](r)&&n.n[r].f){var g=n.n[r].f;for(h=0,d=g.length;d>h;h++)if(g[h]==e){g.splice(h,1);break}!g.length&&delete n.n[r].f}}else{delete n.f;for(r in n.n)n.n[i](r)&&n.n[r].f&&delete n.n[r].f}n=n.n}},u.once=function(t,e){var n=function(){e.apply(this,arguments),u.unbind(t,n)};return u.on(t,n)},u.version=r,u.toString=function(){return"You are running Eve "+r},"undefined"!=typeof module&&module.exports?module.exports=u:t.eve=u}(this),function(){function t(t,e,r,s,c,a){r=P(r);var o,u,h,f,p,m,v=t.ms,y={},b={},_={};if(s)for(w=0,S=Je.length;S>w;w++){var C=Je[w];if(C.el.id==e.id&&C.anim==t){C.percent!=r?(Je.splice(w,1),h=1):u=C,e.attr(C.totalOrigin);break}}else s=+b;for(var w=0,S=t.percents.length;S>w;w++){if(t.percents[w]==r||t.percents[w]>s*t.top){r=t.percents[w],p=t.percents[w-1]||0,v=v/t.top*(r-p),f=t.percents[w+1],o=t.anim[r];break}s&&e.attr(t.anim[t.percents[w]])}if(o){if(u)u.initstatus=s,u.start=new Date-u.ms*s;else{for(var N in o)if(o[g](N)&&(U[g](N)||e.paper.customAttributes[g](N)))switch(y[N]=e.attr(N),null==y[N]&&(y[N]=$[N]),b[N]=o[N],U[N]){case q:_[N]=(b[N]-y[N])/v;break;case"colour":y[N]=l.getRGB(y[N]);var z=l.getRGB(b[N]);_[N]={r:(z.r-y[N].r)/v,g:(z.g-y[N].g)/v,b:(z.b-y[N].b)/v};break;case"path":var L=Te(y[N],b[N]),k=L[1];for(y[N]=L[0],_[N]=[],w=0,S=y[N].length;S>w;w++){_[N][w]=[0];for(var A=1,E=y[N][w].length;E>A;A++)_[N][w][A]=(k[w][A]-y[N][w][A])/v}break;case"transform":var H=e._,D=Le(H[N],b[N]);if(D)for(y[N]=D.from,b[N]=D.to,_[N]=[],_[N].real=!0,w=0,S=y[N].length;S>w;w++)for(_[N][w]=[y[N][w][0]],A=1,E=y[N][w].length;E>A;A++)_[N][w][A]=(b[N][w][A]-y[N][w][A])/v;else{var B=e.matrix||new i,F={_:{transform:H.transform},getBBox:function(){return e.getBBox(1)}};y[N]=[B.a,B.b,B.c,B.d,B.e,B.f],Ne(F,b[N]),b[N]=F._.transform,_[N]=[(F.matrix.a-B.a)/v,(F.matrix.b-B.b)/v,(F.matrix.c-B.c)/v,(F.matrix.d-B.d)/v,(F.matrix.e-B.e)/v,(F.matrix.e-B.f)/v]}break;case"csv":var j=M(o[N])[T](d),O=M(y[N])[T](d);if("clip-rect"==N)for(y[N]=O,_[N]=[],w=O.length;w--;)_[N][w]=(j[w]-y[N][w])/v;b[N]=j;break;default:for(j=[][x](o[N]),O=[][x](y[N]),_[N]=[],w=e.paper.customAttributes[N].length;w--;)_[N][w]=((j[w]||0)-(O[w]||0))/v}var I=o.easing,V=l.easing_formulas[I];if(!V)if(V=M(I).match(R),V&&5==V.length){var W=V;V=function(t){return n(t,+W[1],+W[2],+W[3],+W[4],v)}}else V=re;if(m=o.start||t.start||+new Date,C={anim:t,percent:r,timestamp:m,start:m+(t.del||0),status:0,initstatus:s||0,stop:!1,ms:v,easing:V,from:y,diff:_,to:b,el:e,callback:o.callback,prev:p,next:f,repeat:a||t.times,origin:e.attr(),totalOrigin:c},Je.push(C),s&&!u&&!h&&(C.stop=!0,C.start=new Date-v*s,1==Je.length))return Qe();
5
- h&&(C.start=new Date-C.ms*s),1==Je.length&&Ze(Qe)}eve("anim.start."+e.id,e,t)}}function e(t,e){var n=[],r={};if(this.ms=e,this.times=1,t){for(var i in t)t[g](i)&&(r[P(i)]=t[i],n.push(P(i)));n.sort(ee)}this.anim=r,this.top=n[n.length-1],this.percents=n}function n(t,e,n,r,i,s){function c(t,e){var n,r,i,s,c,a;for(i=t,a=0;8>a;a++){if(s=o(i)-t,E(s)<e)return i;if(c=(3*h*i+2*u)*i+l,E(c)<1e-6)break;i-=s/c}if(n=0,r=1,i=t,n>i)return n;if(i>r)return r;for(;r>n;){if(s=o(i),E(s-t)<e)return i;t>s?n=i:r=i,i=(r-n)/2+n}return i}function a(t,e){var n=c(t,e);return((p*n+f)*n+d)*n}function o(t){return((h*t+u)*t+l)*t}var l=3*e,u=3*(r-e)-l,h=1-l-u,d=3*n,f=3*(i-n)-d,p=1-d-f;return a(t,1/(200*s))}function r(){return this.x+w+this.y+w+this.width+" × "+this.height}function i(t,e,n,r,i,s){null!=t?(this.a=+t,this.b=+e,this.c=+n,this.d=+r,this.e=+i,this.f=+s):(this.a=1,this.b=0,this.c=0,this.d=1,this.e=0,this.f=0)}function s(t){for(var e=[],n=0,r=t.length;r-2>n;n+=2){var i=[{x:+t[n],y:+t[n+1]},{x:+t[n],y:+t[n+1]},{x:+t[n+2],y:+t[n+3]},{x:+t[n+4],y:+t[n+5]}];r-4==n?(i[0]={x:+t[n-2],y:+t[n-1]},i[3]=i[2]):n&&(i[0]={x:+t[n-2],y:+t[n-1]}),e.push(["C",(-i[0].x+6*i[1].x+i[2].x)/6,(-i[0].y+6*i[1].y+i[2].y)/6,(i[1].x+6*i[2].x-i[3].x)/6,(i[1].y+6*i[2].y-i[3].y)/6,i[2].x,i[2].y])}return e}function c(){return this.hex}function a(t,e,n){function r(){var i=Array.prototype.slice.call(arguments,0),s=i.join("␀"),c=r.cache=r.cache||{},a=r.count=r.count||[];return c[g](s)?(o(a,s),n?n(c[s]):c[s]):(a.length>=1e3&&delete c[a.shift()],a.push(s),c[s]=t[b](e,i),n?n(c[s]):c[s])}return r}function o(t,e){for(var n=0,r=t.length;r>n;n++)if(t[n]===e)return t.push(t.splice(n,1)[0])}function l(t){if(l.is(t,"function"))return u?t():eve.on("DOMload",t);if(l.is(t,F))return l._engine.create[b](l,t.splice(0,3+l.is(t[0],q))).add(t);var e=Array.prototype.slice.call(arguments,0);if(l.is(e[e.length-1],"function")){var n=e.pop();return u?n.call(l._engine.create[b](l,e)):eve.on("DOMload",function(){n.call(l._engine.create[b](l,e))})}return l._engine.create[b](l,arguments)}l.version="2.0.1",l.eve=eve;var u,h,d=/[, ]+/,f={circle:1,rect:1,path:1,ellipse:1,text:1,image:1},p=/\{(\d+)\}/g,g="hasOwnProperty",m={doc:document,win:window},v={was:Object.prototype[g].call(m.win,"Raphael"),is:m.win.Raphael},y=function(){this.ca=this.customAttributes={}},b="apply",x="concat",_="createTouch"in m.doc,C="",w=" ",M=String,T="split",S="click dblclick mousedown mousemove mouseout mouseover mouseup touchstart touchmove touchend touchcancel"[T](w),N={mousedown:"touchstart",mousemove:"touchmove",mouseup:"touchend"},z=M.prototype.toLowerCase,L=Math,k=L.max,A=L.min,E=L.abs,H=L.pow,D=L.PI,q="number",B="string",F="array",j=Object.prototype.toString,O=(l._ISURL=/^url\(['"]?([^\)]+?)['"]?\)$/i,/^\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),I={NaN:1,Infinity:1,"-Infinity":1},R=/^(?:cubic-)?bezier\(([^,]+),([^,]+),([^,]+),([^\)]+)\)/,V=L.round,P=parseFloat,W=parseInt,X=M.prototype.toUpperCase,$=l._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},U=l._availableAnimAttrs={blur:q,"clip-rect":"csv",cx:q,cy:q,fill:"colour","fill-opacity":q,"font-size":q,height:q,opacity:q,path:"path",r:q,rx:q,ry:q,stroke:"colour","stroke-opacity":q,"stroke-width":q,transform:"transform",width:q,x:q,y:q},G=/\s*,\s*/,Y={hs:1,rg:1},J=/,?([achlmqrstvxz]),?/gi,Z=/([achlmrqstvz])[\s,]*((-?\d*\.?\d*(?:e[\-+]?\d+)?\s*,?\s*)+)/gi,Q=/([rstm])[\s,]*((-?\d*\.?\d*(?:e[\-+]?\d+)?\s*,?\s*)+)/gi,K=/(-?\d*\.?\d*(?:e[\-+]?\d+)?)\s*,?\s*/gi,te=(l._radial_gradient=/^r(?:\(([^,]+?)\s*,\s*([^\)]+?)\))?/,{}),ee=function(t,e){return P(t)-P(e)},ne=function(){},re=function(t){return t},ie=l._rectPath=function(t,e,n,r,i){return i?[["M",t+i,e],["l",n-2*i,0],["a",i,i,0,0,1,i,i],["l",0,r-2*i],["a",i,i,0,0,1,-i,i],["l",2*i-n,0],["a",i,i,0,0,1,-i,-i],["l",0,2*i-r],["a",i,i,0,0,1,i,-i],["z"]]:[["M",t,e],["l",n,0],["l",0,r],["l",-n,0],["z"]]},se=function(t,e,n,r){return null==r&&(r=n),[["M",t,e],["m",0,-r],["a",n,r,0,1,1,0,2*r],["a",n,r,0,1,1,0,-2*r],["z"]]},ce=l._getPath={path:function(t){return t.attr("path")},circle:function(t){var e=t.attrs;return se(e.cx,e.cy,e.r)},ellipse:function(t){var e=t.attrs;return se(e.cx,e.cy,e.rx,e.ry)},rect:function(t){var e=t.attrs;return ie(e.x,e.y,e.width,e.height,e.r)},image:function(t){var e=t.attrs;return ie(e.x,e.y,e.width,e.height)},text:function(t){var e=t._getBBox();return ie(e.x,e.y,e.width,e.height)}},ae=l.mapPath=function(t,e){if(!e)return t;var n,r,i,s,c,a,o;for(t=Te(t),i=0,c=t.length;c>i;i++)for(o=t[i],s=1,a=o.length;a>s;s+=2)n=e.x(o[s],o[s+1]),r=e.y(o[s],o[s+1]),o[s]=n,o[s+1]=r;return t};if(l._g=m,l.type=m.win.SVGAngle||m.doc.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure","1.1")?"SVG":"VML","VML"==l.type){var oe,le=m.doc.createElement("div");if(le.innerHTML='<v:shape adj="1"/>',oe=le.firstChild,oe.style.behavior="url(#default#VML)",!oe||"object"!=typeof oe.adj)return l.type=C;le=null}l.svg=!(l.vml="VML"==l.type),l._Paper=y,l.fn=h=y.prototype=l.prototype,l._id=0,l._oid=0,l.is=function(t,e){return e=z.call(e),"finite"==e?!I[g](+t):"array"==e?t instanceof Array:"null"==e&&null===t||e==typeof t&&null!==t||"object"==e&&t===Object(t)||"array"==e&&Array.isArray&&Array.isArray(t)||j.call(t).slice(8,-1).toLowerCase()==e},l.angle=function(t,e,n,r,i,s){if(null==i){var c=t-n,a=e-r;return c||a?(180+180*L.atan2(-a,-c)/D+360)%360:0}return l.angle(t,e,i,s)-l.angle(n,r,i,s)},l.rad=function(t){return t%360*D/180},l.deg=function(t){return 180*t/D%360},l.snapTo=function(t,e,n){if(n=l.is(n,"finite")?n:10,l.is(t,F)){for(var r=t.length;r--;)if(E(t[r]-e)<=n)return t[r]}else{t=+t;var i=e%t;if(n>i)return e-i;if(i>t-n)return e-i+t}return e},l.createUUID=function(t,e){return function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(t,e).toUpperCase()}}(/[xy]/g,function(t){var e=0|16*L.random(),n="x"==t?e:8|3&e;return n.toString(16)}),l.setWindow=function(t){eve("setWindow",l,m.win,t),m.win=t,m.doc=m.win.document,l._engine.initWin&&l._engine.initWin(m.win)};var ue=function(t){if(l.vml){var e,n=/^\s+|\s+$/g;try{var r=new ActiveXObject("htmlfile");r.write("<body>"),r.close(),e=r.body}catch(i){e=createPopup().document.body}var s=e.createTextRange();ue=a(function(t){try{e.style.color=M(t).replace(n,C);var r=s.queryCommandValue("ForeColor");return r=(255&r)<<16|65280&r|(16711680&r)>>>16,"#"+("000000"+r.toString(16)).slice(-6)}catch(i){return"none"}})}else{var c=m.doc.createElement("i");c.title="Raphaël Colour Picker",c.style.display="none",m.doc.body.appendChild(c),ue=a(function(t){return c.style.color=t,m.doc.defaultView.getComputedStyle(c,C).getPropertyValue("color")})}return ue(t)},he=function(){return"hsb("+[this.h,this.s,this.b]+")"},de=function(){return"hsl("+[this.h,this.s,this.l]+")"},fe=function(){return this.hex},pe=function(t,e,n){if(null==e&&l.is(t,"object")&&"r"in t&&"g"in t&&"b"in t&&(n=t.b,e=t.g,t=t.r),null==e&&l.is(t,B)){var r=l.getRGB(t);t=r.r,e=r.g,n=r.b}return(t>1||e>1||n>1)&&(t/=255,e/=255,n/=255),[t,e,n]},ge=function(t,e,n,r){t*=255,e*=255,n*=255;var i={r:t,g:e,b:n,hex:l.rgb(t,e,n),toString:fe};return l.is(r,"finite")&&(i.opacity=r),i};l.color=function(t){var e;return l.is(t,"object")&&"h"in t&&"s"in t&&"b"in t?(e=l.hsb2rgb(t),t.r=e.r,t.g=e.g,t.b=e.b,t.hex=e.hex):l.is(t,"object")&&"h"in t&&"s"in t&&"l"in t?(e=l.hsl2rgb(t),t.r=e.r,t.g=e.g,t.b=e.b,t.hex=e.hex):(l.is(t,"string")&&(t=l.getRGB(t)),l.is(t,"object")&&"r"in t&&"g"in t&&"b"in t?(e=l.rgb2hsl(t),t.h=e.h,t.s=e.s,t.l=e.l,e=l.rgb2hsb(t),t.v=e.b):(t={hex:"none"},t.r=t.g=t.b=t.h=t.s=t.v=t.l=-1)),t.toString=fe,t},l.hsb2rgb=function(t,e,n,r){this.is(t,"object")&&"h"in t&&"s"in t&&"b"in t&&(n=t.b,e=t.s,t=t.h,r=t.o),t*=360;var i,s,c,a,o;return t=t%360/60,o=n*e,a=o*(1-E(t%2-1)),i=s=c=n-o,t=~~t,i+=[o,a,0,0,a,o][t],s+=[a,o,o,a,0,0][t],c+=[0,0,a,o,o,a][t],ge(i,s,c,r)},l.hsl2rgb=function(t,e,n,r){this.is(t,"object")&&"h"in t&&"s"in t&&"l"in t&&(n=t.l,e=t.s,t=t.h),(t>1||e>1||n>1)&&(t/=360,e/=100,n/=100),t*=360;var i,s,c,a,o;return t=t%360/60,o=2*e*(.5>n?n:1-n),a=o*(1-E(t%2-1)),i=s=c=n-o/2,t=~~t,i+=[o,a,0,0,a,o][t],s+=[a,o,o,a,0,0][t],c+=[0,0,a,o,o,a][t],ge(i,s,c,r)},l.rgb2hsb=function(t,e,n){n=pe(t,e,n),t=n[0],e=n[1],n=n[2];var r,i,s,c;return s=k(t,e,n),c=s-A(t,e,n),r=0==c?null:s==t?(e-n)/c:s==e?(n-t)/c+2:(t-e)/c+4,r=60*((r+360)%6)/360,i=0==c?0:c/s,{h:r,s:i,b:s,toString:he}},l.rgb2hsl=function(t,e,n){n=pe(t,e,n),t=n[0],e=n[1],n=n[2];var r,i,s,c,a,o;return c=k(t,e,n),a=A(t,e,n),o=c-a,r=0==o?null:c==t?(e-n)/o:c==e?(n-t)/o+2:(t-e)/o+4,r=60*((r+360)%6)/360,s=(c+a)/2,i=0==o?0:.5>s?o/(2*s):o/(2-2*s),{h:r,s:i,l:s,toString:de}},l._path2string=function(){return this.join(",").replace(J,"$1")},l._preload=function(t,e){var n=m.doc.createElement("img");n.style.cssText="position:absolute;left:-9999em;top:-9999em",n.onload=function(){e.call(this),this.onload=null,m.doc.body.removeChild(this)},n.onerror=function(){m.doc.body.removeChild(this)},m.doc.body.appendChild(n),n.src=t},l.getRGB=a(function(t){if(!t||(t=M(t)).indexOf("-")+1)return{r:-1,g:-1,b:-1,hex:"none",error:1,toString:c};if("none"==t)return{r:-1,g:-1,b:-1,hex:"none",toString:c};!Y[g](t.toLowerCase().substring(0,2))&&"#"!=t.charAt()&&(t=ue(t));var e,n,r,i,s,a,o=t.match(O);return o?(o[2]&&(r=W(o[2].substring(5),16),n=W(o[2].substring(3,5),16),e=W(o[2].substring(1,3),16)),o[3]&&(r=W((s=o[3].charAt(3))+s,16),n=W((s=o[3].charAt(2))+s,16),e=W((s=o[3].charAt(1))+s,16)),o[4]&&(a=o[4][T](G),e=P(a[0]),"%"==a[0].slice(-1)&&(e*=2.55),n=P(a[1]),"%"==a[1].slice(-1)&&(n*=2.55),r=P(a[2]),"%"==a[2].slice(-1)&&(r*=2.55),"rgba"==o[1].toLowerCase().slice(0,4)&&(i=P(a[3])),a[3]&&"%"==a[3].slice(-1)&&(i/=100)),o[5]?(a=o[5][T](G),e=P(a[0]),"%"==a[0].slice(-1)&&(e*=2.55),n=P(a[1]),"%"==a[1].slice(-1)&&(n*=2.55),r=P(a[2]),"%"==a[2].slice(-1)&&(r*=2.55),("deg"==a[0].slice(-3)||"°"==a[0].slice(-1))&&(e/=360),"hsba"==o[1].toLowerCase().slice(0,4)&&(i=P(a[3])),a[3]&&"%"==a[3].slice(-1)&&(i/=100),l.hsb2rgb(e,n,r,i)):o[6]?(a=o[6][T](G),e=P(a[0]),"%"==a[0].slice(-1)&&(e*=2.55),n=P(a[1]),"%"==a[1].slice(-1)&&(n*=2.55),r=P(a[2]),"%"==a[2].slice(-1)&&(r*=2.55),("deg"==a[0].slice(-3)||"°"==a[0].slice(-1))&&(e/=360),"hsla"==o[1].toLowerCase().slice(0,4)&&(i=P(a[3])),a[3]&&"%"==a[3].slice(-1)&&(i/=100),l.hsl2rgb(e,n,r,i)):(o={r:e,g:n,b:r,toString:c},o.hex="#"+(16777216|r|n<<8|e<<16).toString(16).slice(1),l.is(i,"finite")&&(o.opacity=i),o)):{r:-1,g:-1,b:-1,hex:"none",error:1,toString:c}},l),l.hsb=a(function(t,e,n){return l.hsb2rgb(t,e,n).hex}),l.hsl=a(function(t,e,n){return l.hsl2rgb(t,e,n).hex}),l.rgb=a(function(t,e,n){return"#"+(16777216|n|e<<8|t<<16).toString(16).slice(1)}),l.getColor=function(t){var e=this.getColor.start=this.getColor.start||{h:0,s:1,b:t||.75},n=this.hsb2rgb(e.h,e.s,e.b);return e.h+=.075,e.h>1&&(e.h=0,e.s-=.2,e.s<=0&&(this.getColor.start={h:0,s:1,b:e.b})),n.hex},l.getColor.reset=function(){delete this.start},l.parsePathString=a(function(t){if(!t)return null;var e={a:7,c:6,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,z:0},n=[];return l.is(t,F)&&l.is(t[0],F)&&(n=ve(t)),n.length||M(t).replace(Z,function(t,r,i){var s=[],c=r.toLowerCase();if(i.replace(K,function(t,e){e&&s.push(+e)}),"m"==c&&s.length>2&&(n.push([r][x](s.splice(0,2))),c="l",r="m"==r?"l":"L"),"r"==c)n.push([r][x](s));else for(;s.length>=e[c]&&(n.push([r][x](s.splice(0,e[c]))),e[c]););}),n.toString=l._path2string,n}),l.parseTransformString=a(function(t){if(!t)return null;var e=[];return l.is(t,F)&&l.is(t[0],F)&&(e=ve(t)),e.length||M(t).replace(Q,function(t,n,r){var i=[];z.call(n),r.replace(K,function(t,e){e&&i.push(+e)}),e.push([n][x](i))}),e.toString=l._path2string,e}),l.findDotsAtSegment=function(t,e,n,r,i,s,c,a,o){var l=1-o,u=H(l,3),h=H(l,2),d=o*o,f=d*o,p=u*t+3*h*o*n+3*l*o*o*i+f*c,g=u*e+3*h*o*r+3*l*o*o*s+f*a,m=t+2*o*(n-t)+d*(i-2*n+t),v=e+2*o*(r-e)+d*(s-2*r+e),y=n+2*o*(i-n)+d*(c-2*i+n),b=r+2*o*(s-r)+d*(a-2*s+r),x=l*t+o*n,_=l*e+o*r,C=l*i+o*c,w=l*s+o*a,M=90-180*L.atan2(m-y,v-b)/D;return(m>y||b>v)&&(M+=180),{x:p,y:g,m:{x:m,y:v},n:{x:y,y:b},start:{x:x,y:_},end:{x:C,y:w},alpha:M}},l._removedFactory=function(t){return function(){throw new Error("Raphaël: you are calling to method “"+t+"” of removed object")}};var me=a(function(t){if(!t)return{x:0,y:0,width:0,height:0};t=Te(t);for(var e,n=0,r=0,i=[],s=[],c=0,a=t.length;a>c;c++)if(e=t[c],"M"==e[0])n=e[1],r=e[2],i.push(n),s.push(r);else{var o=Me(n,r,e[1],e[2],e[3],e[4],e[5],e[6]);i=i[x](o.min.x,o.max.x),s=s[x](o.min.y,o.max.y),n=e[5],r=e[6]}var l=A[b](0,i),u=A[b](0,s);return{x:l,y:u,width:k[b](0,i)-l,height:k[b](0,s)-u}},null,function(t){return{x:t.x,y:t.y,width:t.width,height:t.height}}),ve=function(t){var e=[];l.is(t,F)&&l.is(t&&t[0],F)||(t=l.parsePathString(t));for(var n=0,r=t.length;r>n;n++){e[n]=[];for(var i=0,s=t[n].length;s>i;i++)e[n][i]=t[n][i]}return e.toString=l._path2string,e},ye=l._pathToRelative=a(function(t){l.is(t,F)&&l.is(t&&t[0],F)||(t=l.parsePathString(t));var e=[],n=0,r=0,i=0,s=0,c=0;"M"==t[0][0]&&(n=t[0][1],r=t[0][2],i=n,s=r,c++,e.push(["M",n,r]));for(var a=c,o=t.length;o>a;a++){var u=e[a]=[],h=t[a];if(h[0]!=z.call(h[0]))switch(u[0]=z.call(h[0]),u[0]){case"a":u[1]=h[1],u[2]=h[2],u[3]=h[3],u[4]=h[4],u[5]=h[5],u[6]=+(h[6]-n).toFixed(3),u[7]=+(h[7]-r).toFixed(3);break;case"v":u[1]=+(h[1]-r).toFixed(3);break;case"m":i=h[1],s=h[2];default:for(var d=1,f=h.length;f>d;d++)u[d]=+(h[d]-(d%2?n:r)).toFixed(3)}else{u=e[a]=[],"m"==h[0]&&(i=h[1]+n,s=h[2]+r);for(var p=0,g=h.length;g>p;p++)e[a][p]=h[p]}var m=e[a].length;switch(e[a][0]){case"z":n=i,r=s;break;case"h":n+=+e[a][m-1];break;case"v":r+=+e[a][m-1];break;default:n+=+e[a][m-2],r+=+e[a][m-1]}}return e.toString=l._path2string,e},0,ve),be=l._pathToAbsolute=a(function(t){if(l.is(t,F)&&l.is(t&&t[0],F)||(t=l.parsePathString(t)),!t||!t.length)return[["M",0,0]];var e=[],n=0,r=0,i=0,c=0,a=0;"M"==t[0][0]&&(n=+t[0][1],r=+t[0][2],i=n,c=r,a++,e[0]=["M",n,r]);for(var o,u,h=a,d=t.length;d>h;h++){if(e.push(o=[]),u=t[h],u[0]!=X.call(u[0]))switch(o[0]=X.call(u[0]),o[0]){case"A":o[1]=u[1],o[2]=u[2],o[3]=u[3],o[4]=u[4],o[5]=u[5],o[6]=+(u[6]+n),o[7]=+(u[7]+r);break;case"V":o[1]=+u[1]+r;break;case"H":o[1]=+u[1]+n;break;case"R":for(var f=[n,r][x](u.slice(1)),p=2,g=f.length;g>p;p++)f[p]=+f[p]+n,f[++p]=+f[p]+r;e.pop(),e=e[x](s(f));break;case"M":i=+u[1]+n,c=+u[2]+r;default:for(p=1,g=u.length;g>p;p++)o[p]=+u[p]+(p%2?n:r)}else if("R"==u[0])f=[n,r][x](u.slice(1)),e.pop(),e=e[x](s(f)),o=["R"][x](u.slice(-2));else for(var m=0,v=u.length;v>m;m++)o[m]=u[m];switch(o[0]){case"Z":n=i,r=c;break;case"H":n=o[1];break;case"V":r=o[1];break;case"M":i=o[o.length-2],c=o[o.length-1];default:n=o[o.length-2],r=o[o.length-1]}}return e.toString=l._path2string,e},null,ve),xe=function(t,e,n,r){return[t,e,n,r,n,r]},_e=function(t,e,n,r,i,s){var c=1/3,a=2/3;return[c*t+a*n,c*e+a*r,c*i+a*n,c*s+a*r,i,s]},Ce=function(t,e,n,r,i,s,c,o,l,u){var h,d=120*D/180,f=D/180*(+i||0),p=[],g=a(function(t,e,n){var r=t*L.cos(n)-e*L.sin(n),i=t*L.sin(n)+e*L.cos(n);return{x:r,y:i}});if(u)S=u[0],N=u[1],w=u[2],M=u[3];else{h=g(t,e,-f),t=h.x,e=h.y,h=g(o,l,-f),o=h.x,l=h.y;var m=(L.cos(D/180*i),L.sin(D/180*i),(t-o)/2),v=(e-l)/2,y=m*m/(n*n)+v*v/(r*r);y>1&&(y=L.sqrt(y),n=y*n,r=y*r);var b=n*n,_=r*r,C=(s==c?-1:1)*L.sqrt(E((b*_-b*v*v-_*m*m)/(b*v*v+_*m*m))),w=C*n*v/r+(t+o)/2,M=C*-r*m/n+(e+l)/2,S=L.asin(((e-M)/r).toFixed(9)),N=L.asin(((l-M)/r).toFixed(9));S=w>t?D-S:S,N=w>o?D-N:N,0>S&&(S=2*D+S),0>N&&(N=2*D+N),c&&S>N&&(S-=2*D),!c&&N>S&&(N-=2*D)}var z=N-S;if(E(z)>d){var k=N,A=o,H=l;N=S+d*(c&&N>S?1:-1),o=w+n*L.cos(N),l=M+r*L.sin(N),p=Ce(o,l,n,r,i,0,c,A,H,[N,k,w,M])}z=N-S;var q=L.cos(S),B=L.sin(S),F=L.cos(N),j=L.sin(N),O=L.tan(z/4),I=4/3*n*O,R=4/3*r*O,V=[t,e],P=[t+I*B,e-R*q],W=[o+I*j,l-R*F],X=[o,l];if(P[0]=2*V[0]-P[0],P[1]=2*V[1]-P[1],u)return[P,W,X][x](p);p=[P,W,X][x](p).join()[T](",");for(var $=[],U=0,G=p.length;G>U;U++)$[U]=U%2?g(p[U-1],p[U],f).y:g(p[U],p[U+1],f).x;return $},we=function(t,e,n,r,i,s,c,a,o){var l=1-o;return{x:H(l,3)*t+3*H(l,2)*o*n+3*l*o*o*i+H(o,3)*c,y:H(l,3)*e+3*H(l,2)*o*r+3*l*o*o*s+H(o,3)*a}},Me=a(function(t,e,n,r,i,s,c,a){var o,l=i-2*n+t-(c-2*i+n),u=2*(n-t)-2*(i-n),h=t-n,d=(-u+L.sqrt(u*u-4*l*h))/2/l,f=(-u-L.sqrt(u*u-4*l*h))/2/l,p=[e,a],g=[t,c];return E(d)>"1e12"&&(d=.5),E(f)>"1e12"&&(f=.5),d>0&&1>d&&(o=we(t,e,n,r,i,s,c,a,d),g.push(o.x),p.push(o.y)),f>0&&1>f&&(o=we(t,e,n,r,i,s,c,a,f),g.push(o.x),p.push(o.y)),l=s-2*r+e-(a-2*s+r),u=2*(r-e)-2*(s-r),h=e-r,d=(-u+L.sqrt(u*u-4*l*h))/2/l,f=(-u-L.sqrt(u*u-4*l*h))/2/l,E(d)>"1e12"&&(d=.5),E(f)>"1e12"&&(f=.5),d>0&&1>d&&(o=we(t,e,n,r,i,s,c,a,d),g.push(o.x),p.push(o.y)),f>0&&1>f&&(o=we(t,e,n,r,i,s,c,a,f),g.push(o.x),p.push(o.y)),{min:{x:A[b](0,g),y:A[b](0,p)},max:{x:k[b](0,g),y:k[b](0,p)}}}),Te=l._path2curve=a(function(t,e){for(var n=be(t),r=e&&be(e),i={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},s={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},c=(function(t,e){var n,r;if(!t)return["C",e.x,e.y,e.x,e.y,e.x,e.y];switch(!(t[0]in{T:1,Q:1})&&(e.qx=e.qy=null),t[0]){case"M":e.X=t[1],e.Y=t[2];break;case"A":t=["C"][x](Ce[b](0,[e.x,e.y][x](t.slice(1))));break;case"S":n=e.x+(e.x-(e.bx||e.x)),r=e.y+(e.y-(e.by||e.y)),t=["C",n,r][x](t.slice(1));break;case"T":e.qx=e.x+(e.x-(e.qx||e.x)),e.qy=e.y+(e.y-(e.qy||e.y)),t=["C"][x](_e(e.x,e.y,e.qx,e.qy,t[1],t[2]));break;case"Q":e.qx=t[1],e.qy=t[2],t=["C"][x](_e(e.x,e.y,t[1],t[2],t[3],t[4]));break;case"L":t=["C"][x](xe(e.x,e.y,t[1],t[2]));break;case"H":t=["C"][x](xe(e.x,e.y,t[1],e.y));break;case"V":t=["C"][x](xe(e.x,e.y,e.x,t[1]));break;case"Z":t=["C"][x](xe(e.x,e.y,e.X,e.Y))}return t}),a=function(t,e){if(t[e].length>7){t[e].shift();for(var i=t[e];i.length;)t.splice(e++,0,["C"][x](i.splice(0,6)));t.splice(e,1),u=k(n.length,r&&r.length||0)}},o=function(t,e,i,s,c){t&&e&&"M"==t[c][0]&&"M"!=e[c][0]&&(e.splice(c,0,["M",s.x,s.y]),i.bx=0,i.by=0,i.x=t[c][1],i.y=t[c][2],u=k(n.length,r&&r.length||0))},l=0,u=k(n.length,r&&r.length||0);u>l;l++){n[l]=c(n[l],i),a(n,l),r&&(r[l]=c(r[l],s)),r&&a(r,l),o(n,r,i,s,l),o(r,n,s,i,l);var h=n[l],d=r&&r[l],f=h.length,p=r&&d.length;i.x=h[f-2],i.y=h[f-1],i.bx=P(h[f-4])||i.x,i.by=P(h[f-3])||i.y,s.bx=r&&(P(d[p-4])||s.x),s.by=r&&(P(d[p-3])||s.y),s.x=r&&d[p-2],s.y=r&&d[p-1]}return r?[n,r]:n},null,ve),Se=(l._parseDots=a(function(t){for(var e=[],n=0,r=t.length;r>n;n++){var i={},s=t[n].match(/^([^:]*):?([\d\.]*)/);if(i.color=l.getRGB(s[1]),i.color.error)return null;i.color=i.color.hex,s[2]&&(i.offset=s[2]+"%"),e.push(i)}for(n=1,r=e.length-1;r>n;n++)if(!e[n].offset){for(var c=P(e[n-1].offset||0),a=0,o=n+1;r>o;o++)if(e[o].offset){a=e[o].offset;break}a||(a=100,o=r),a=P(a);for(var u=(a-c)/(o-n+1);o>n;n++)c+=u,e[n].offset=c+"%"}return e}),l._tear=function(t,e){t==e.top&&(e.top=t.prev),t==e.bottom&&(e.bottom=t.next),t.next&&(t.next.prev=t.prev),t.prev&&(t.prev.next=t.next)}),Ne=(l._tofront=function(t,e){e.top!==t&&(Se(t,e),t.next=null,t.prev=e.top,e.top.next=t,e.top=t)},l._toback=function(t,e){e.bottom!==t&&(Se(t,e),t.next=e.bottom,t.prev=null,e.bottom.prev=t,e.bottom=t)},l._insertafter=function(t,e,n){Se(t,n),e==n.top&&(n.top=t),e.next&&(e.next.prev=t),t.next=e.next,t.prev=e,e.next=t},l._insertbefore=function(t,e,n){Se(t,n),e==n.bottom&&(n.bottom=t),e.prev&&(e.prev.next=t),t.prev=e.prev,e.prev=t,t.next=e},l._extractTransform=function(t,e){if(null==e)return t._.transform;e=M(e).replace(/\.{3}|\u2026/g,t._.transform||C);var n=l.parseTransformString(e),r=0,s=0,c=0,a=1,o=1,u=t._,h=new i;if(u.transform=n||[],n)for(var d=0,f=n.length;f>d;d++){var p,g,m,v,y,b=n[d],x=b.length,_=M(b[0]).toLowerCase(),w=b[0]!=_,T=w?h.invert():0;"t"==_&&3==x?w?(p=T.x(0,0),g=T.y(0,0),m=T.x(b[1],b[2]),v=T.y(b[1],b[2]),h.translate(m-p,v-g)):h.translate(b[1],b[2]):"r"==_?2==x?(y=y||t.getBBox(1),h.rotate(b[1],y.x+y.width/2,y.y+y.height/2),r+=b[1]):4==x&&(w?(m=T.x(b[2],b[3]),v=T.y(b[2],b[3]),h.rotate(b[1],m,v)):h.rotate(b[1],b[2],b[3]),r+=b[1]):"s"==_?2==x||3==x?(y=y||t.getBBox(1),h.scale(b[1],b[x-1],y.x+y.width/2,y.y+y.height/2),a*=b[1],o*=b[x-1]):5==x&&(w?(m=T.x(b[3],b[4]),v=T.y(b[3],b[4]),h.scale(b[1],b[2],m,v)):h.scale(b[1],b[2],b[3],b[4]),a*=b[1],o*=b[2]):"m"==_&&7==x&&h.add(b[1],b[2],b[3],b[4],b[5],b[6]),u.dirtyT=1,t.matrix=h}t.matrix=h,u.sx=a,u.sy=o,u.deg=r,u.dx=s=h.e,u.dy=c=h.f,1==a&&1==o&&!r&&u.bbox?(u.bbox.x+=+s,u.bbox.y+=+c):u.dirtyT=1}),ze=function(t){var e=t[0];switch(e.toLowerCase()){case"t":return[e,0,0];case"m":return[e,1,0,0,1,0,0];case"r":return 4==t.length?[e,0,t[2],t[3]]:[e,0];case"s":return 5==t.length?[e,1,1,t[3],t[4]]:3==t.length?[e,1,1]:[e,1]}},Le=l._equaliseTransform=function(t,e){e=M(e).replace(/\.{3}|\u2026/g,t),t=l.parseTransformString(t)||[],e=l.parseTransformString(e)||[];for(var n,r,i,s,c=k(t.length,e.length),a=[],o=[],u=0;c>u;u++){if(i=t[u]||ze(e[u]),s=e[u]||ze(i),i[0]!=s[0]||"r"==i[0].toLowerCase()&&(i[2]!=s[2]||i[3]!=s[3])||"s"==i[0].toLowerCase()&&(i[3]!=s[3]||i[4]!=s[4]))return;for(a[u]=[],o[u]=[],n=0,r=k(i.length,s.length);r>n;n++)n in i&&(a[u][n]=i[n]),n in s&&(o[u][n]=s[n])}return{from:a,to:o}};l._getContainer=function(t,e,n,r){var i;return i=null!=r||l.is(t,"object")?t:m.doc.getElementById(t),null!=i?i.tagName?null==e?{container:i,width:i.style.pixelWidth||i.offsetWidth,height:i.style.pixelHeight||i.offsetHeight}:{container:i,width:e,height:n}:{container:1,x:t,y:e,width:n,height:r}:void 0},l.pathToRelative=ye,l._engine={},l.path2curve=Te,l.matrix=function(t,e,n,r,s,c){return new i(t,e,n,r,s,c)},function(t){function e(t){var e=L.sqrt(n(t));t[0]&&(t[0]/=e),t[1]&&(t[1]/=e)}function n(t){return t[0]*t[0]+t[1]*t[1]}t.add=function(t,e,n,r,s,c){var a,o,l,u,h=[[],[],[]],d=[[this.a,this.c,this.e],[this.b,this.d,this.f],[0,0,1]],f=[[t,n,s],[e,r,c],[0,0,1]];for(t&&t instanceof i&&(f=[[t.a,t.c,t.e],[t.b,t.d,t.f],[0,0,1]]),a=0;3>a;a++)for(o=0;3>o;o++){for(u=0,l=0;3>l;l++)u+=d[a][l]*f[l][o];h[a][o]=u}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]},t.invert=function(){var t=this,e=t.a*t.d-t.b*t.c;return new i(t.d/e,-t.b/e,-t.c/e,t.a/e,(t.c*t.f-t.d*t.e)/e,(t.b*t.e-t.a*t.f)/e)},t.clone=function(){return new i(this.a,this.b,this.c,this.d,this.e,this.f)},t.translate=function(t,e){this.add(1,0,0,1,t,e)},t.scale=function(t,e,n,r){null==e&&(e=t),(n||r)&&this.add(1,0,0,1,n,r),this.add(t,0,0,e,0,0),(n||r)&&this.add(1,0,0,1,-n,-r)},t.rotate=function(t,e,n){t=l.rad(t),e=e||0,n=n||0;var r=+L.cos(t).toFixed(9),i=+L.sin(t).toFixed(9);this.add(r,i,-i,r,e,n),this.add(1,0,0,1,-e,-n)},t.x=function(t,e){return t*this.a+e*this.c+this.e},t.y=function(t,e){return t*this.b+e*this.d+this.f},t.get=function(t){return+this[M.fromCharCode(97+t)].toFixed(4)},t.toString=function(){return l.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()},t.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')"},t.offset=function(){return[this.e.toFixed(4),this.f.toFixed(4)]},t.split=function(){var t={};t.dx=this.e,t.dy=this.f;var r=[[this.a,this.c],[this.b,this.d]];t.scalex=L.sqrt(n(r[0])),e(r[0]),t.shear=r[0][0]*r[1][0]+r[0][1]*r[1][1],r[1]=[r[1][0]-r[0][0]*t.shear,r[1][1]-r[0][1]*t.shear],t.scaley=L.sqrt(n(r[1])),e(r[1]),t.shear/=t.scaley;var i=-r[0][1],s=r[1][1];return 0>s?(t.rotate=l.deg(L.acos(s)),0>i&&(t.rotate=360-t.rotate)):t.rotate=l.deg(L.asin(i)),t.isSimple=!(+t.shear.toFixed(9)||t.scalex.toFixed(9)!=t.scaley.toFixed(9)&&t.rotate),t.isSuperSimple=!+t.shear.toFixed(9)&&t.scalex.toFixed(9)==t.scaley.toFixed(9)&&!t.rotate,t.noRotation=!+t.shear.toFixed(9)&&!t.rotate,t},t.toTransformString=function(t){var e=t||this[T]();return e.isSimple?(e.scalex=+e.scalex.toFixed(4),e.scaley=+e.scaley.toFixed(4),e.rotate=+e.rotate.toFixed(4),(e.dx&&e.dy?"t"+[e.dx,e.dy]:C)+(1!=e.scalex||1!=e.scaley?"s"+[e.scalex,e.scaley,0,0]:C)+(e.rotate?"r"+[e.rotate,0,0]:C)):"m"+[this.get(0),this.get(1),this.get(2),this.get(3),this.get(4),this.get(5)]}}(i.prototype);var ke=navigator.userAgent.match(/Version\/(.*?)\s/)||navigator.userAgent.match(/Chrome\/(\d+)/);h.safari="Apple Computer, Inc."==navigator.vendor&&(ke&&ke[1]<4||"iP"==navigator.platform.slice(0,2))||"Google Inc."==navigator.vendor&&ke&&ke[1]<8?function(){var t=this.rect(-99,-99,this.width+99,this.height+99).attr({stroke:"none"});setTimeout(function(){t.remove()})}:ne;for(var Ae=function(){this.returnValue=!1},Ee=function(){return this.originalEvent.preventDefault()},He=function(){this.cancelBubble=!0},De=function(){return this.originalEvent.stopPropagation()},qe=function(){return m.doc.addEventListener?function(t,e,n,r){var i=_&&N[e]?N[e]:e,s=function(i){var s=m.doc.documentElement.scrollTop||m.doc.body.scrollTop,c=m.doc.documentElement.scrollLeft||m.doc.body.scrollLeft,a=i.clientX+c,o=i.clientY+s;if(_&&N[g](e))for(var l=0,u=i.targetTouches&&i.targetTouches.length;u>l;l++)if(i.targetTouches[l].target==t){var h=i;i=i.targetTouches[l],i.originalEvent=h,i.preventDefault=Ee,i.stopPropagation=De;break}return n.call(r,i,a,o)};return t.addEventListener(i,s,!1),function(){return t.removeEventListener(i,s,!1),!0}}:m.doc.attachEvent?function(t,e,n,r){var i=function(t){t=t||m.win.event;var e=m.doc.documentElement.scrollTop||m.doc.body.scrollTop,i=m.doc.documentElement.scrollLeft||m.doc.body.scrollLeft,s=t.clientX+i,c=t.clientY+e;return t.preventDefault=t.preventDefault||Ae,t.stopPropagation=t.stopPropagation||He,n.call(r,t,s,c)};t.attachEvent("on"+e,i);var s=function(){return t.detachEvent("on"+e,i),!0};return s}:void 0}(),Be=[],Fe=function(t){for(var e,n=t.clientX,r=t.clientY,i=m.doc.documentElement.scrollTop||m.doc.body.scrollTop,s=m.doc.documentElement.scrollLeft||m.doc.body.scrollLeft,c=Be.length;c--;){if(e=Be[c],_){for(var a,o=t.touches.length;o--;)if(a=t.touches[o],a.identifier==e.el._drag.id){n=a.clientX,r=a.clientY,(t.originalEvent?t.originalEvent:t).preventDefault();break}}else t.preventDefault();var l,u=e.el.node,h=u.nextSibling,d=u.parentNode,f=u.style.display;m.win.opera&&d.removeChild(u),u.style.display="none",l=e.el.paper.getElementByPoint(n,r),u.style.display=f,m.win.opera&&(h?d.insertBefore(u,h):d.appendChild(u)),l&&eve("drag.over."+e.el.id,e.el,l),n+=s,r+=i,eve("drag.move."+e.el.id,e.move_scope||e.el,n-e.el._drag.x,r-e.el._drag.y,n,r,t)}},je=function(t){l.unmousemove(Fe).unmouseup(je);for(var e,n=Be.length;n--;)e=Be[n],e.el._drag={},eve("drag.end."+e.el.id,e.end_scope||e.start_scope||e.move_scope||e.el,t);Be=[]},Oe=l.el={},Ie=S.length;Ie--;)!function(t){l[t]=Oe[t]=function(e,n){return l.is(e,"function")&&(this.events=this.events||[],this.events.push({name:t,f:e,unbind:qe(this.shape||this.node||m.doc,t,e,n||this)})),this},l["un"+t]=Oe["un"+t]=function(e){for(var n=this.events,r=n.length;r--;)if(n[r].name==t&&n[r].f==e)return n[r].unbind(),n.splice(r,1),!n.length&&delete this.events,this;return this}}(S[Ie]);Oe.data=function(t,e){var n=te[this.id]=te[this.id]||{};if(1==arguments.length){if(l.is(t,"object")){for(var r in t)t[g](r)&&this.data(r,t[r]);return this}return eve("data.get."+this.id,this,n[t],t),n[t]}return n[t]=e,eve("data.set."+this.id,this,e,t),this},Oe.removeData=function(t){return null==t?te[this.id]={}:te[this.id]&&delete te[this.id][t],this},Oe.hover=function(t,e,n,r){return this.mouseover(t,n).mouseout(e,r||n)},Oe.unhover=function(t,e){return this.unmouseover(t).unmouseout(e)};var Re=[];Oe.drag=function(t,e,n,r,i,s){function c(c){(c.originalEvent||c).preventDefault();var a=m.doc.documentElement.scrollTop||m.doc.body.scrollTop,o=m.doc.documentElement.scrollLeft||m.doc.body.scrollLeft;this._drag.x=c.clientX+o,this._drag.y=c.clientY+a,this._drag.id=c.identifier,!Be.length&&l.mousemove(Fe).mouseup(je),Be.push({el:this,move_scope:r,start_scope:i,end_scope:s}),e&&eve.on("drag.start."+this.id,e),t&&eve.on("drag.move."+this.id,t),n&&eve.on("drag.end."+this.id,n),eve("drag.start."+this.id,i||r||this,c.clientX+o,c.clientY+a,c)}return this._drag={},Re.push({el:this,start:c}),this.mousedown(c),this},Oe.onDragOver=function(t){t?eve.on("drag.over."+this.id,t):eve.unbind("drag.over."+this.id)},Oe.undrag=function(){for(var t=Re.length;t--;)Re[t].el==this&&(this.unmousedown(Re[t].start),Re.splice(t,1),eve.unbind("drag.*."+this.id));!Re.length&&l.unmousemove(Fe).unmouseup(je)},h.circle=function(t,e,n){var r=l._engine.circle(this,t||0,e||0,n||0);return this.__set__&&this.__set__.push(r),r},h.rect=function(t,e,n,r,i){var s=l._engine.rect(this,t||0,e||0,n||0,r||0,i||0);return this.__set__&&this.__set__.push(s),s},h.ellipse=function(t,e,n,r){var i=l._engine.ellipse(this,t||0,e||0,n||0,r||0);return this.__set__&&this.__set__.push(i),i},h.path=function(t){t&&!l.is(t,B)&&!l.is(t[0],F)&&(t+=C);var e=l._engine.path(l.format[b](l,arguments),this);return this.__set__&&this.__set__.push(e),e},h.image=function(t,e,n,r,i){var s=l._engine.image(this,t||"about:blank",e||0,n||0,r||0,i||0);return this.__set__&&this.__set__.push(s),s},h.text=function(t,e,n){var r=l._engine.text(this,t||0,e||0,M(n));return this.__set__&&this.__set__.push(r),r},h.set=function(t){!l.is(t,"array")&&(t=Array.prototype.splice.call(arguments,0,arguments.length));var e=new tn(t);return this.__set__&&this.__set__.push(e),e},h.setStart=function(t){this.__set__=t||this.set()},h.setFinish=function(){var t=this.__set__;return delete this.__set__,t},h.setSize=function(t,e){return l._engine.setSize.call(this,t,e)},h.setViewBox=function(t,e,n,r,i){return l._engine.setViewBox.call(this,t,e,n,r,i)},h.top=h.bottom=null,h.raphael=l;var Ve=function(t){var e=t.getBoundingClientRect(),n=t.ownerDocument,r=n.body,i=n.documentElement,s=i.clientTop||r.clientTop||0,c=i.clientLeft||r.clientLeft||0,a=e.top+(m.win.pageYOffset||i.scrollTop||r.scrollTop)-s,o=e.left+(m.win.pageXOffset||i.scrollLeft||r.scrollLeft)-c;return{y:a,x:o}};h.getElementByPoint=function(t,e){var n=this,r=n.canvas,i=m.doc.elementFromPoint(t,e);if(m.win.opera&&"svg"==i.tagName){var s=Ve(r),c=r.createSVGRect();c.x=t-s.x,c.y=e-s.y,c.width=c.height=1;var a=r.getIntersectionList(c,null);a.length&&(i=a[a.length-1])}if(!i)return null;for(;i.parentNode&&i!=r.parentNode&&!i.raphael;)i=i.parentNode;return i==n.canvas.parentNode&&(i=r),i=i&&i.raphael?n.getById(i.raphaelid):null},h.getById=function(t){for(var e=this.bottom;e;){if(e.id==t)return e;e=e.next}return null},h.forEach=function(t,e){for(var n=this.bottom;n;){if(t.call(e,n)===!1)return this;n=n.next}return this},Oe.getBBox=function(t){if(this.removed)return{};var e=this._;return t?((e.dirty||!e.bboxwt)&&(this.realPath=ce[this.type](this),e.bboxwt=me(this.realPath),e.bboxwt.toString=r,e.dirty=0),e.bboxwt):((e.dirty||e.dirtyT||!e.bbox)&&((e.dirty||!this.realPath)&&(e.bboxwt=0,this.realPath=ce[this.type](this)),e.bbox=me(ae(this.realPath,this.matrix)),e.bbox.toString=r,e.dirty=e.dirtyT=0),e.bbox)},Oe.clone=function(){if(this.removed)return null;var t=this.paper[this.type]().attr(this.attr());return this.__set__&&this.__set__.push(t),t},Oe.glow=function(t){if("text"==this.type)return null;t=t||{};var e={width:(t.width||10)+(+this.attr("stroke-width")||1),fill:t.fill||!1,opacity:t.opacity||.5,offsetx:t.offsetx||0,offsety:t.offsety||0,color:t.color||"#000"},n=e.width/2,r=this.paper,i=r.set(),s=this.realPath||ce[this.type](this);s=this.matrix?ae(s,this.matrix):s;for(var c=1;n+1>c;c++)i.push(r.path(s).attr({stroke:e.color,fill:e.fill?e.color:"none","stroke-linejoin":"round","stroke-linecap":"round","stroke-width":+(e.width/n*c).toFixed(3),opacity:+(e.opacity/n).toFixed(3)}));return i.insertBefore(this).translate(e.offsetx,e.offsety)};var Pe={},We=function(t,e,n,r,i,s,c,a,o){var u,h,d=0,f=100,p=[t,e,n,r,i,s,c,a].join(),g=Pe[p];if(!g&&(Pe[p]=g={data:[]}),g.timer&&clearTimeout(g.timer),g.timer=setTimeout(function(){delete Pe[p]},2e3),null!=o&&!g.precision){var m=We(t,e,n,r,i,s,c,a);g.precision=10*~~m,g.data=[]}f=g.precision||f;for(var v=0;f+1>v;v++){if(g.data[v*f]?h=g.data[v*f]:(h=l.findDotsAtSegment(t,e,n,r,i,s,c,a,v/f),g.data[v*f]=h),v&&(d+=H(H(u.x-h.x,2)+H(u.y-h.y,2),.5)),null!=o&&d>=o)return h;u=h}return null==o?d:void 0},Xe=function(t,e){return function(n,r,i){n=Te(n);for(var s,c,a,o,u,h="",d={},f=0,p=0,g=n.length;g>p;p++){if(a=n[p],"M"==a[0])s=+a[1],c=+a[2];else{if(o=We(s,c,a[1],a[2],a[3],a[4],a[5],a[6]),f+o>r){if(e&&!d.start){if(u=We(s,c,a[1],a[2],a[3],a[4],a[5],a[6],r-f),h+=["C"+u.start.x,u.start.y,u.m.x,u.m.y,u.x,u.y],i)return h;
6
- d.start=h,h=["M"+u.x,u.y+"C"+u.n.x,u.n.y,u.end.x,u.end.y,a[5],a[6]].join(),f+=o,s=+a[5],c=+a[6];continue}if(!t&&!e)return u=We(s,c,a[1],a[2],a[3],a[4],a[5],a[6],r-f),{x:u.x,y:u.y,alpha:u.alpha}}f+=o,s=+a[5],c=+a[6]}h+=a.shift()+a}return d.end=h,u=t?f:e?d:l.findDotsAtSegment(s,c,a[0],a[1],a[2],a[3],a[4],a[5],1),u.alpha&&(u={x:u.x,y:u.y,alpha:u.alpha}),u}},$e=Xe(1),Ue=Xe(),Ge=Xe(0,1);l.getTotalLength=$e,l.getPointAtLength=Ue,l.getSubpath=function(t,e,n){if(this.getTotalLength(t)-n<1e-6)return Ge(t,e).end;var r=Ge(t,n,1);return e?Ge(r,e).end:r},Oe.getTotalLength=function(){return"path"==this.type?this.node.getTotalLength?this.node.getTotalLength():$e(this.attrs.path):void 0},Oe.getPointAtLength=function(t){return"path"==this.type?Ue(this.attrs.path,t):void 0},Oe.getSubpath=function(t,e){return"path"==this.type?l.getSubpath(this.attrs.path,t,e):void 0};var Ye=l.easing_formulas={linear:function(t){return t},"<":function(t){return H(t,1.7)},">":function(t){return H(t,.48)},"<>":function(t){var e=.48-t/1.04,n=L.sqrt(.1734+e*e),r=n-e,i=H(E(r),1/3)*(0>r?-1:1),s=-n-e,c=H(E(s),1/3)*(0>s?-1:1),a=i+c+.5;return 3*(1-a)*a*a+a*a*a},backIn:function(t){var e=1.70158;return t*t*((e+1)*t-e)},backOut:function(t){t-=1;var e=1.70158;return t*t*((e+1)*t+e)+1},elastic:function(t){return t==!!t?t:H(2,-10*t)*L.sin(2*(t-.075)*D/.3)+1},bounce:function(t){var e,n=7.5625,r=2.75;return 1/r>t?e=n*t*t:2/r>t?(t-=1.5/r,e=n*t*t+.75):2.5/r>t?(t-=2.25/r,e=n*t*t+.9375):(t-=2.625/r,e=n*t*t+.984375),e}};Ye.easeIn=Ye["ease-in"]=Ye["<"],Ye.easeOut=Ye["ease-out"]=Ye[">"],Ye.easeInOut=Ye["ease-in-out"]=Ye["<>"],Ye["back-in"]=Ye.backIn,Ye["back-out"]=Ye.backOut;var Je=[],Ze=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(t){setTimeout(t,16)},Qe=function(){for(var e=+new Date,n=0;n<Je.length;n++){var r=Je[n];if(!r.el.removed&&!r.paused){var i,s,c=e-r.start,a=r.ms,o=r.easing,u=r.from,h=r.diff,d=r.to,f=(r.t,r.el),p={},m={};if(r.initstatus?(c=(r.initstatus*r.anim.top-r.prev)/(r.percent-r.prev)*a,r.status=r.initstatus,delete r.initstatus,r.stop&&Je.splice(n--,1)):r.status=(r.prev+(r.percent-r.prev)*(c/a))/r.anim.top,!(0>c))if(a>c){var v=o(c/a);for(var y in u)if(u[g](y)){switch(U[y]){case q:i=+u[y]+v*a*h[y];break;case"colour":i="rgb("+[Ke(V(u[y].r+v*a*h[y].r)),Ke(V(u[y].g+v*a*h[y].g)),Ke(V(u[y].b+v*a*h[y].b))].join(",")+")";break;case"path":i=[];for(var b=0,_=u[y].length;_>b;b++){i[b]=[u[y][b][0]];for(var C=1,M=u[y][b].length;M>C;C++)i[b][C]=+u[y][b][C]+v*a*h[y][b][C];i[b]=i[b].join(w)}i=i.join(w);break;case"transform":if(h[y].real)for(i=[],b=0,_=u[y].length;_>b;b++)for(i[b]=[u[y][b][0]],C=1,M=u[y][b].length;M>C;C++)i[b][C]=u[y][b][C]+v*a*h[y][b][C];else{var T=function(t){return+u[y][t]+v*a*h[y][t]};i=[["m",T(0),T(1),T(2),T(3),T(4),T(5)]]}break;case"csv":if("clip-rect"==y)for(i=[],b=4;b--;)i[b]=+u[y][b]+v*a*h[y][b];break;default:var S=[][x](u[y]);for(i=[],b=f.paper.customAttributes[y].length;b--;)i[b]=+S[b]+v*a*h[y][b]}p[y]=i}f.attr(p),function(t,e,n){setTimeout(function(){eve("anim.frame."+t,e,n)})}(f.id,f,r.anim)}else{if(function(t,e,n){setTimeout(function(){eve("anim.frame."+e.id,e,n),eve("anim.finish."+e.id,e,n),l.is(t,"function")&&t.call(e)})}(r.callback,f,r.anim),f.attr(d),Je.splice(n--,1),r.repeat>1&&!r.next){for(s in d)d[g](s)&&(m[s]=r.totalOrigin[s]);r.el.attr(m),t(r.anim,r.el,r.anim.percents[0],null,r.totalOrigin,r.repeat-1)}r.next&&!r.stop&&t(r.anim,r.el,r.next,null,r.totalOrigin,r.repeat)}}}l.svg&&f&&f.paper&&f.paper.safari(),Je.length&&Ze(Qe)},Ke=function(t){return t>255?255:0>t?0:t};Oe.animateWith=function(t,e,n,r,i,s){var c=n?l.animation(n,r,i,s):e,a=t.status(e);return this.animate(c).status(c,a*e.ms/c.ms)},Oe.onAnimation=function(t){return t?eve.on("anim.frame."+this.id,t):eve.unbind("anim.frame."+this.id),this},e.prototype.delay=function(t){var n=new e(this.anim,this.ms);return n.times=this.times,n.del=+t||0,n},e.prototype.repeat=function(t){var n=new e(this.anim,this.ms);return n.del=this.del,n.times=L.floor(k(t,0))||1,n},l.animation=function(t,n,r,i){if(t instanceof e)return t;(l.is(r,"function")||!r)&&(i=i||r||null,r=null),t=Object(t),n=+n||0;var s,c,a={};for(c in t)t[g](c)&&P(c)!=c&&P(c)+"%"!=c&&(s=!0,a[c]=t[c]);return s?(r&&(a.easing=r),i&&(a.callback=i),new e({100:a},n)):new e(t,n)},Oe.animate=function(n,r,i,s){var c=this;if(c.removed)return s&&s.call(c),c;var a=n instanceof e?n:l.animation(n,r,i,s);return t(a,c,a.percents[0],null,c.attr()),c},Oe.setTime=function(t,e){return t&&null!=e&&this.status(t,A(e,t.ms)/t.ms),this},Oe.status=function(e,n){var r,i,s=[],c=0;if(null!=n)return t(e,this,-1,A(n,1)),this;for(r=Je.length;r>c;c++)if(i=Je[c],i.el.id==this.id&&(!e||i.anim==e)){if(e)return i.status;s.push({anim:i.anim,status:i.status})}return e?0:s},Oe.pause=function(t){for(var e=0;e<Je.length;e++)Je[e].el.id==this.id&&(!t||Je[e].anim==t)&&eve("anim.pause."+this.id,this,Je[e].anim)!==!1&&(Je[e].paused=!0);return this},Oe.resume=function(t){for(var e=0;e<Je.length;e++)if(Je[e].el.id==this.id&&(!t||Je[e].anim==t)){var n=Je[e];eve("anim.resume."+this.id,this,n.anim)!==!1&&(delete n.paused,this.status(n.anim,n.status))}return this},Oe.stop=function(t){for(var e=0;e<Je.length;e++)Je[e].el.id==this.id&&(!t||Je[e].anim==t)&&eve("anim.stop."+this.id,this,Je[e].anim)!==!1&&Je.splice(e--,1);return this},Oe.toString=function(){return"Raphaël’s object"};var tn=function(t){if(this.items=[],this.length=0,this.type="set",t)for(var e=0,n=t.length;n>e;e++)t[e]&&(t[e].constructor==Oe.constructor||t[e].constructor==tn)&&(this[this.items.length]=this.items[this.items.length]=t[e],this.length++)},en=tn.prototype;en.push=function(){for(var t,e,n=0,r=arguments.length;r>n;n++)t=arguments[n],t&&(t.constructor==Oe.constructor||t.constructor==tn)&&(e=this.items.length,this[e]=this.items[e]=t,this.length++);return this},en.pop=function(){return this.length&&delete this[this.length--],this.items.pop()},en.forEach=function(t,e){for(var n=0,r=this.items.length;r>n;n++)if(t.call(e,this.items[n],n)===!1)return this;return this};for(var nn in Oe)Oe[g](nn)&&(en[nn]=function(t){return function(){var e=arguments;return this.forEach(function(n){n[t][b](n,e)})}}(nn));en.attr=function(t,e){if(t&&l.is(t,F)&&l.is(t[0],"object"))for(var n=0,r=t.length;r>n;n++)this.items[n].attr(t[n]);else for(var i=0,s=this.items.length;s>i;i++)this.items[i].attr(t,e);return this},en.clear=function(){for(;this.length;)this.pop()},en.splice=function(t,e){t=0>t?k(this.length+t,0):t,e=k(0,A(this.length-t,e));var n,r=[],i=[],s=[];for(n=2;n<arguments.length;n++)s.push(arguments[n]);for(n=0;e>n;n++)i.push(this[t+n]);for(;n<this.length-t;n++)r.push(this[t+n]);var c=s.length;for(n=0;n<c+r.length;n++)this.items[t+n]=this[t+n]=c>n?s[n]:r[n-c];for(n=this.items.length=this.length-=e-c;this[n];)delete this[n++];return new tn(i)},en.exclude=function(t){for(var e=0,n=this.length;n>e;e++)if(this[e]==t)return this.splice(e,1),!0},en.animate=function(t,e,n,r){(l.is(n,"function")||!n)&&(r=n||null);var i,s,c=this.items.length,a=c,o=this;if(!c)return this;r&&(s=function(){!--c&&r.call(o)}),n=l.is(n,B)?n:s;var u=l.animation(t,e,n,s);for(i=this.items[--a].animate(u);a--;)this.items[a]&&!this.items[a].removed&&this.items[a].animateWith(i,u);return this},en.insertAfter=function(t){for(var e=this.items.length;e--;)this.items[e].insertAfter(t);return this},en.getBBox=function(){for(var t=[],e=[],n=[],r=[],i=this.items.length;i--;)if(!this.items[i].removed){var s=this.items[i].getBBox();t.push(s.x),e.push(s.y),n.push(s.x+s.width),r.push(s.y+s.height)}return t=A[b](0,t),e=A[b](0,e),{x:t,y:e,width:k[b](0,n)-t,height:k[b](0,r)-e}},en.clone=function(t){t=new tn;for(var e=0,n=this.items.length;n>e;e++)t.push(this.items[e].clone());return t},en.toString=function(){return"Raphaël‘s set"},l.registerFont=function(t){if(!t.face)return t;this.fonts=this.fonts||{};var e={w:t.w,face:{},glyphs:{}},n=t.face["font-family"];for(var r in t.face)t.face[g](r)&&(e.face[r]=t.face[r]);if(this.fonts[n]?this.fonts[n].push(e):this.fonts[n]=[e],!t.svg){e.face["units-per-em"]=W(t.face["units-per-em"],10);for(var i in t.glyphs)if(t.glyphs[g](i)){var s=t.glyphs[i];if(e.glyphs[i]={w:s.w,k:{},d:s.d&&"M"+s.d.replace(/[mlcxtrv]/g,function(t){return{l:"L",c:"C",x:"z",t:"m",r:"l",v:"c"}[t]||"M"})+"z"},s.k)for(var c in s.k)s[g](c)&&(e.glyphs[i].k[c]=s.k[c])}}return t},h.getFont=function(t,e,n,r){if(r=r||"normal",n=n||"normal",e=+e||{normal:400,bold:700,lighter:300,bolder:800}[e]||400,l.fonts){var i=l.fonts[t];if(!i){var s=new RegExp("(^|\\s)"+t.replace(/[^\w\d\s+!~.:_-]/g,C)+"(\\s|$)","i");for(var c in l.fonts)if(l.fonts[g](c)&&s.test(c)){i=l.fonts[c];break}}var a;if(i)for(var o=0,u=i.length;u>o&&(a=i[o],a.face["font-weight"]!=e||a.face["font-style"]!=n&&a.face["font-style"]||a.face["font-stretch"]!=r);o++);return a}},h.print=function(t,e,n,r,i,s,c){s=s||"middle",c=k(A(c||0,1),-1);var a,o=this.set(),u=M(n)[T](C),h=0;if(l.is(r,n)&&(r=this.getFont(r)),r){a=(i||16)/r.face["units-per-em"];for(var f=r.face.bbox[T](d),p=+f[0],g=+f[1]+("baseline"==s?f[3]-f[1]+ +r.face.descent:(f[3]-f[1])/2),m=0,v=u.length;v>m;m++){var y=m&&r.glyphs[u[m-1]]||{},b=r.glyphs[u[m]];h+=m?(y.w||r.w)+(y.k&&y.k[u[m]]||0)+r.w*c:0,b&&b.d&&o.push(this.path(b.d).attr({fill:"#000",stroke:"none",transform:[["t",h*a,0]]}))}o.transform(["...s",a,a,p,g,"t",(t-p)/a,(e-g)/a])}return o},h.add=function(t){if(l.is(t,"array"))for(var e,n=this.set(),r=0,i=t.length;i>r;r++)e=t[r]||{},f[g](e.type)&&n.push(this[e.type]().attr(e));return n},l.format=function(t,e){var n=l.is(e,F)?[0][x](e):arguments;return t&&l.is(t,B)&&n.length-1&&(t=t.replace(p,function(t,e){return null==n[++e]?C:n[e]})),t||C},l.fullfill=function(){var t=/\{([^\}]+)\}/g,e=/(?:(?:^|\.)(.+?)(?=\[|\.|$|\()|\[('|")(.+?)\2\])(\(\))?/g,n=function(t,n,r){var i=r;return n.replace(e,function(t,e,n,r,s){e=e||r,i&&(e in i&&(i=i[e]),"function"==typeof i&&s&&(i=i()))}),i=(null==i||i==r?t:i)+""};return function(e,r){return String(e).replace(t,function(t,e){return n(t,e,r)})}}(),l.ninja=function(){return v.was?m.win.Raphael=v.is:delete Raphael,l},l.st=en,function(t,e,n){function r(){/in/.test(t.readyState)?setTimeout(r,9):l.eve("DOMload")}null==t.readyState&&t.addEventListener&&(t.addEventListener(e,n=function(){t.removeEventListener(e,n,!1),t.readyState="complete"},!1),t.readyState="loading"),r()}(document,"DOMContentLoaded"),v.was?m.win.Raphael=l:Raphael=l,eve.on("DOMload",function(){u=!0})}(),window.Raphael.svg&&function(t){var e="hasOwnProperty",n=String,r=parseFloat,i=parseInt,s=Math,c=s.max,a=s.abs,o=s.pow,l=/[, ]+/,u=t.eve,h="",d=" ",f="http://www.w3.org/1999/xlink",p={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"},g={};t.toString=function(){return"Your browser supports SVG.\nYou are running Raphaël "+this.version};var m=function(r,i){if(i){"string"==typeof r&&(r=m(r));for(var s in i)i[e](s)&&("xlink:"==s.substring(0,6)?r.setAttributeNS(f,s.substring(6),n(i[s])):r.setAttribute(s,n(i[s])))}else r=t._g.doc.createElementNS("http://www.w3.org/2000/svg",r),r.style&&(r.style.webkitTapHighlightColor="rgba(0,0,0,0)");return r},v=function(e,i){var l="linear",u=e.id+i,d=.5,f=.5,p=e.node,g=e.paper,v=p.style,y=t._g.doc.getElementById(u);if(!y){if(i=n(i).replace(t._radial_gradient,function(t,e,n){if(l="radial",e&&n){d=r(e),f=r(n);var i=2*(f>.5)-1;o(d-.5,2)+o(f-.5,2)>.25&&(f=s.sqrt(.25-o(d-.5,2))*i+.5)&&.5!=f&&(f=f.toFixed(5)-1e-5*i)}return h}),i=i.split(/\s*\-\s*/),"linear"==l){var b=i.shift();if(b=-r(b),isNaN(b))return null;var x=[0,0,s.cos(t.rad(b)),s.sin(t.rad(b))],_=1/(c(a(x[2]),a(x[3]))||1);x[2]*=_,x[3]*=_,x[2]<0&&(x[0]=-x[2],x[2]=0),x[3]<0&&(x[1]=-x[3],x[3]=0)}var C=t._parseDots(i);if(!C)return null;if(u=u.replace(/[\(\)\s,\xb0#]/g,"_"),e.gradient&&u!=e.gradient.id&&(g.defs.removeChild(e.gradient),delete e.gradient),!e.gradient){y=m(l+"Gradient",{id:u}),e.gradient=y,m(y,"radial"==l?{fx:d,fy:f}:{x1:x[0],y1:x[1],x2:x[2],y2:x[3],gradientTransform:e.matrix.invert()}),g.defs.appendChild(y);for(var w=0,M=C.length;M>w;w++)y.appendChild(m("stop",{offset:C[w].offset?C[w].offset:w?"100%":"0%","stop-color":C[w].color||"#fff"}))}}return m(p,{fill:"url(#"+u+")",opacity:1,"fill-opacity":1}),v.fill=h,v.opacity=1,v.fillOpacity=1,1},y=function(t){var e=t.getBBox(1);m(t.pattern,{patternTransform:t.matrix.invert()+" translate("+e.x+","+e.y+")"})},b=function(r,i,s){if("path"==r.type){for(var c,a,o,l,u,h=n(i).toLowerCase().split("-"),f=r.paper,v=s?"end":"start",y=r.node,b=r.attrs,x=b["stroke-width"],_=h.length,C="classic",w=3,M=3,T=5;_--;)switch(h[_]){case"block":case"classic":case"oval":case"diamond":case"open":case"none":C=h[_];break;case"wide":M=5;break;case"narrow":M=2;break;case"long":w=5;break;case"short":w=2}if("open"==C?(w+=2,M+=2,T+=2,o=1,l=s?4:1,u={fill:"none",stroke:b.stroke}):(l=o=w/2,u={fill:b.stroke,stroke:"none"}),r._.arrows?s?(r._.arrows.endPath&&g[r._.arrows.endPath]--,r._.arrows.endMarker&&g[r._.arrows.endMarker]--):(r._.arrows.startPath&&g[r._.arrows.startPath]--,r._.arrows.startMarker&&g[r._.arrows.startMarker]--):r._.arrows={},"none"!=C){var S="raphael-marker-"+C,N="raphael-marker-"+v+C+w+M;t._g.doc.getElementById(S)?g[S]++:(f.defs.appendChild(m(m("path"),{"stroke-linecap":"round",d:p[C],id:S})),g[S]=1);var z,L=t._g.doc.getElementById(N);L?(g[N]++,z=L.getElementsByTagName("use")[0]):(L=m(m("marker"),{id:N,markerHeight:M,markerWidth:w,orient:"auto",refX:l,refY:M/2}),z=m(m("use"),{"xlink:href":"#"+S,transform:(s?" rotate(180 "+w/2+" "+M/2+") ":d)+"scale("+w/T+","+M/T+")","stroke-width":1/((w/T+M/T)/2)}),L.appendChild(z),f.defs.appendChild(L),g[N]=1),m(z,u);var k=o*("diamond"!=C&&"oval"!=C);s?(c=r._.arrows.startdx*x||0,a=t.getTotalLength(b.path)-k*x):(c=k*x,a=t.getTotalLength(b.path)-(r._.arrows.enddx*x||0)),u={},u["marker-"+v]="url(#"+N+")",(a||c)&&(u.d=Raphael.getSubpath(b.path,c,a)),m(y,u),r._.arrows[v+"Path"]=S,r._.arrows[v+"Marker"]=N,r._.arrows[v+"dx"]=k,r._.arrows[v+"Type"]=C,r._.arrows[v+"String"]=i}else s?(c=r._.arrows.startdx*x||0,a=t.getTotalLength(b.path)-c):(c=0,a=t.getTotalLength(b.path)-(r._.arrows.enddx*x||0)),r._.arrows[v+"Path"]&&m(y,{d:Raphael.getSubpath(b.path,c,a)}),delete r._.arrows[v+"Path"],delete r._.arrows[v+"Marker"],delete r._.arrows[v+"dx"],delete r._.arrows[v+"Type"],delete r._.arrows[v+"String"];for(u in g)if(g[e](u)&&!g[u]){var A=t._g.doc.getElementById(u);A&&A.parentNode.removeChild(A)}}},x={"":[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]},_=function(t,e,r){if(e=x[n(e).toLowerCase()]){for(var i=t.attrs["stroke-width"]||"1",s={round:i,square:i,butt:0}[t.attrs["stroke-linecap"]||r["stroke-linecap"]]||0,c=[],a=e.length;a--;)c[a]=e[a]*i+(a%2?1:-1)*s;m(t.node,{"stroke-dasharray":c.join(",")})}},C=function(r,s){var o=r.node,u=r.attrs,d=o.style.visibility;o.style.visibility="hidden";for(var p in s)if(s[e](p)){if(!t._availableAttrs[e](p))continue;var g=s[p];switch(u[p]=g,p){case"blur":r.blur(g);break;case"href":case"title":case"target":var x=o.parentNode;if("a"!=x.tagName.toLowerCase()){var C=m("a");x.insertBefore(C,o),C.appendChild(o),x=C}"target"==p&&"blank"==g?x.setAttributeNS(f,"show","new"):x.setAttributeNS(f,p,g);break;case"cursor":o.style.cursor=g;break;case"transform":r.transform(g);break;case"arrow-start":b(r,g);break;case"arrow-end":b(r,g,1);break;case"clip-rect":var w=n(g).split(l);if(4==w.length){r.clip&&r.clip.parentNode.parentNode.removeChild(r.clip.parentNode);var T=m("clipPath"),S=m("rect");T.id=t.createUUID(),m(S,{x:w[0],y:w[1],width:w[2],height:w[3]}),T.appendChild(S),r.paper.defs.appendChild(T),m(o,{"clip-path":"url(#"+T.id+")"}),r.clip=S}if(!g){var N=o.getAttribute("clip-path");if(N){var z=t._g.doc.getElementById(N.replace(/(^url\(#|\)$)/g,h));z&&z.parentNode.removeChild(z),m(o,{"clip-path":h}),delete r.clip}}break;case"path":"path"==r.type&&(m(o,{d:g?u.path=t._pathToAbsolute(g):"M0,0"}),r._.dirty=1,r._.arrows&&("startString"in r._.arrows&&b(r,r._.arrows.startString),"endString"in r._.arrows&&b(r,r._.arrows.endString,1)));break;case"width":if(o.setAttribute(p,g),r._.dirty=1,!u.fx)break;p="x",g=u.x;case"x":u.fx&&(g=-u.x-(u.width||0));case"rx":if("rx"==p&&"rect"==r.type)break;case"cx":o.setAttribute(p,g),r.pattern&&y(r),r._.dirty=1;break;case"height":if(o.setAttribute(p,g),r._.dirty=1,!u.fy)break;p="y",g=u.y;case"y":u.fy&&(g=-u.y-(u.height||0));case"ry":if("ry"==p&&"rect"==r.type)break;case"cy":o.setAttribute(p,g),r.pattern&&y(r),r._.dirty=1;break;case"r":"rect"==r.type?m(o,{rx:g,ry:g}):o.setAttribute(p,g),r._.dirty=1;break;case"src":"image"==r.type&&o.setAttributeNS(f,"href",g);break;case"stroke-width":(1!=r._.sx||1!=r._.sy)&&(g/=c(a(r._.sx),a(r._.sy))||1),r.paper._vbSize&&(g*=r.paper._vbSize),o.setAttribute(p,g),u["stroke-dasharray"]&&_(r,u["stroke-dasharray"],s),r._.arrows&&("startString"in r._.arrows&&b(r,r._.arrows.startString),"endString"in r._.arrows&&b(r,r._.arrows.endString,1));break;case"stroke-dasharray":_(r,g,s);break;case"fill":var L=n(g).match(t._ISURL);if(L){T=m("pattern");var k=m("image");T.id=t.createUUID(),m(T,{x:0,y:0,patternUnits:"userSpaceOnUse",height:1,width:1}),m(k,{x:0,y:0,"xlink:href":L[1]}),T.appendChild(k),function(e){t._preload(L[1],function(){var t=this.offsetWidth,n=this.offsetHeight;m(e,{width:t,height:n}),m(k,{width:t,height:n}),r.paper.safari()})}(T),r.paper.defs.appendChild(T),o.style.fill="url(#"+T.id+")",m(o,{fill:"url(#"+T.id+")"}),r.pattern=T,r.pattern&&y(r);break}var A=t.getRGB(g);if(A.error){if(("circle"==r.type||"ellipse"==r.type||"r"!=n(g).charAt())&&v(r,g)){if("opacity"in u||"fill-opacity"in u){var E=t._g.doc.getElementById(o.getAttribute("fill").replace(/^url\(#|\)$/g,h));if(E){var H=E.getElementsByTagName("stop");m(H[H.length-1],{"stop-opacity":("opacity"in u?u.opacity:1)*("fill-opacity"in u?u["fill-opacity"]:1)})}}u.gradient=g,u.fill="none";break}}else delete s.gradient,delete u.gradient,!t.is(u.opacity,"undefined")&&t.is(s.opacity,"undefined")&&m(o,{opacity:u.opacity}),!t.is(u["fill-opacity"],"undefined")&&t.is(s["fill-opacity"],"undefined")&&m(o,{"fill-opacity":u["fill-opacity"]});A[e]("opacity")&&m(o,{"fill-opacity":A.opacity>1?A.opacity/100:A.opacity});case"stroke":A=t.getRGB(g),o.setAttribute(p,A.hex),"stroke"==p&&A[e]("opacity")&&m(o,{"stroke-opacity":A.opacity>1?A.opacity/100:A.opacity}),"stroke"==p&&r._.arrows&&("startString"in r._.arrows&&b(r,r._.arrows.startString),"endString"in r._.arrows&&b(r,r._.arrows.endString,1));break;case"gradient":("circle"==r.type||"ellipse"==r.type||"r"!=n(g).charAt())&&v(r,g);break;case"opacity":u.gradient&&!u[e]("stroke-opacity")&&m(o,{"stroke-opacity":g>1?g/100:g});case"fill-opacity":if(u.gradient){E=t._g.doc.getElementById(o.getAttribute("fill").replace(/^url\(#|\)$/g,h)),E&&(H=E.getElementsByTagName("stop"),m(H[H.length-1],{"stop-opacity":g}));break}default:"font-size"==p&&(g=i(g,10)+"px");var D=p.replace(/(\-.)/g,function(t){return t.substring(1).toUpperCase()});o.style[D]=g,r._.dirty=1,o.setAttribute(p,g)}}M(r,s),o.style.visibility=d},w=1.2,M=function(r,s){if("text"==r.type&&(s[e]("text")||s[e]("font")||s[e]("font-size")||s[e]("x")||s[e]("y"))){var c=r.attrs,a=r.node,o=a.firstChild?i(t._g.doc.defaultView.getComputedStyle(a.firstChild,h).getPropertyValue("font-size"),10):10;if(s[e]("text")){for(c.text=s.text;a.firstChild;)a.removeChild(a.firstChild);for(var l,u=n(s.text).split("\n"),d=[],f=0,p=u.length;p>f;f++)l=m("tspan"),f&&m(l,{dy:o*w,x:c.x}),l.appendChild(t._g.doc.createTextNode(u[f])),a.appendChild(l),d[f]=l}else for(d=a.getElementsByTagName("tspan"),f=0,p=d.length;p>f;f++)f?m(d[f],{dy:o*w,x:c.x}):m(d[0],{dy:0});m(a,{x:c.x,y:c.y}),r._.dirty=1;var g=r._getBBox(),v=c.y-(g.y+g.height/2);v&&t.is(v,"finite")&&m(d[0],{dy:v})}},T=function(e,n){this[0]=this.node=e,e.raphael=!0,this.id=t._oid++,e.raphaelid=this.id,this.matrix=t.matrix(),this.realPath=null,this.paper=n,this.attrs=this.attrs||{},this._={transform:[],sx:1,sy:1,deg:0,dx:0,dy:0,dirty:1},!n.bottom&&(n.bottom=this),this.prev=n.top,n.top&&(n.top.next=this),n.top=this,this.next=null},S=t.el;T.prototype=S,S.constructor=T,t._engine.path=function(t,e){var n=m("path");e.canvas&&e.canvas.appendChild(n);var r=new T(n,e);return r.type="path",C(r,{fill:"none",stroke:"#000",path:t}),r},S.rotate=function(t,e,i){if(this.removed)return this;if(t=n(t).split(l),t.length-1&&(e=r(t[1]),i=r(t[2])),t=r(t[0]),null==i&&(e=i),null==e||null==i){var s=this.getBBox(1);e=s.x+s.width/2,i=s.y+s.height/2}return this.transform(this._.transform.concat([["r",t,e,i]])),this},S.scale=function(t,e,i,s){if(this.removed)return this;if(t=n(t).split(l),t.length-1&&(e=r(t[1]),i=r(t[2]),s=r(t[3])),t=r(t[0]),null==e&&(e=t),null==s&&(i=s),null==i||null==s)var c=this.getBBox(1);return i=null==i?c.x+c.width/2:i,s=null==s?c.y+c.height/2:s,this.transform(this._.transform.concat([["s",t,e,i,s]])),this},S.translate=function(t,e){return this.removed?this:(t=n(t).split(l),t.length-1&&(e=r(t[1])),t=r(t[0])||0,e=+e||0,this.transform(this._.transform.concat([["t",t,e]])),this)},S.transform=function(n){var r=this._;if(null==n)return r.transform;if(t._extractTransform(this,n),this.clip&&m(this.clip,{transform:this.matrix.invert()}),this.pattern&&y(this),this.node&&m(this.node,{transform:this.matrix}),1!=r.sx||1!=r.sy){var i=this.attrs[e]("stroke-width")?this.attrs["stroke-width"]:1;this.attr({"stroke-width":i})}return this},S.hide=function(){return!this.removed&&this.paper.safari(this.node.style.display="none"),this},S.show=function(){return!this.removed&&this.paper.safari(this.node.style.display=""),this},S.remove=function(){if(!this.removed){var e=this.paper;e.__set__&&e.__set__.exclude(this),u.unbind("*.*."+this.id),this.gradient&&e.defs.removeChild(this.gradient),t._tear(this,e),this.node.parentNode.removeChild(this.node);for(var n in this)this[n]="function"==typeof this[n]?t._removedFactory(n):null;this.removed=!0}},S._getBBox=function(){if("none"==this.node.style.display){this.show();var t=!0}var e={};try{e=this.node.getBBox()}catch(n){}finally{e=e||{}}return t&&this.hide(),e},S.attr=function(n,r){if(this.removed)return this;if(null==n){var i={};for(var s in this.attrs)this.attrs[e](s)&&(i[s]=this.attrs[s]);return i.gradient&&"none"==i.fill&&(i.fill=i.gradient)&&delete i.gradient,i.transform=this._.transform,i}if(null==r&&t.is(n,"string")){if("fill"==n&&"none"==this.attrs.fill&&this.attrs.gradient)return this.attrs.gradient;if("transform"==n)return this._.transform;for(var c=n.split(l),a={},o=0,h=c.length;h>o;o++)n=c[o],a[n]=n in this.attrs?this.attrs[n]:t.is(this.paper.customAttributes[n],"function")?this.paper.customAttributes[n].def:t._availableAttrs[n];return h-1?a:a[c[0]]}if(null==r&&t.is(n,"array")){for(a={},o=0,h=n.length;h>o;o++)a[n[o]]=this.attr(n[o]);return a}if(null!=r){var d={};d[n]=r}else null!=n&&t.is(n,"object")&&(d=n);for(var f in d)u("attr."+f+"."+this.id,this,d[f]);for(f in this.paper.customAttributes)if(this.paper.customAttributes[e](f)&&d[e](f)&&t.is(this.paper.customAttributes[f],"function")){var p=this.paper.customAttributes[f].apply(this,[].concat(d[f]));this.attrs[f]=d[f];for(var g in p)p[e](g)&&(d[g]=p[g])}return C(this,d),this},S.toFront=function(){if(this.removed)return this;"a"==this.node.parentNode.tagName.toLowerCase()?this.node.parentNode.parentNode.appendChild(this.node.parentNode):this.node.parentNode.appendChild(this.node);var e=this.paper;return e.top!=this&&t._tofront(this,e),this},S.toBack=function(){if(this.removed)return this;var e=this.node.parentNode;return"a"==e.tagName.toLowerCase()?e.parentNode.insertBefore(this.node.parentNode,this.node.parentNode.parentNode.firstChild):e.firstChild!=this.node&&e.insertBefore(this.node,this.node.parentNode.firstChild),t._toback(this,this.paper),this.paper,this},S.insertAfter=function(e){if(this.removed)return this;var n=e.node||e[e.length-1].node;return n.nextSibling?n.parentNode.insertBefore(this.node,n.nextSibling):n.parentNode.appendChild(this.node),t._insertafter(this,e,this.paper),this},S.insertBefore=function(e){if(this.removed)return this;var n=e.node||e[0].node;return n.parentNode.insertBefore(this.node,n),t._insertbefore(this,e,this.paper),this},S.blur=function(e){var n=this;if(0!==+e){var r=m("filter"),i=m("feGaussianBlur");n.attrs.blur=e,r.id=t.createUUID(),m(i,{stdDeviation:+e||1.5}),r.appendChild(i),n.paper.defs.appendChild(r),n._blur=r,m(n.node,{filter:"url(#"+r.id+")"})}else n._blur&&(n._blur.parentNode.removeChild(n._blur),delete n._blur,delete n.attrs.blur),n.node.removeAttribute("filter")},t._engine.circle=function(t,e,n,r){var i=m("circle");t.canvas&&t.canvas.appendChild(i);var s=new T(i,t);return s.attrs={cx:e,cy:n,r:r,fill:"none",stroke:"#000"},s.type="circle",m(i,s.attrs),s},t._engine.rect=function(t,e,n,r,i,s){var c=m("rect");t.canvas&&t.canvas.appendChild(c);var a=new T(c,t);return a.attrs={x:e,y:n,width:r,height:i,r:s||0,rx:s||0,ry:s||0,fill:"none",stroke:"#000"},a.type="rect",m(c,a.attrs),a},t._engine.ellipse=function(t,e,n,r,i){var s=m("ellipse");t.canvas&&t.canvas.appendChild(s);var c=new T(s,t);return c.attrs={cx:e,cy:n,rx:r,ry:i,fill:"none",stroke:"#000"},c.type="ellipse",m(s,c.attrs),c},t._engine.image=function(t,e,n,r,i,s){var c=m("image");m(c,{x:n,y:r,width:i,height:s,preserveAspectRatio:"none"}),c.setAttributeNS(f,"href",e),t.canvas&&t.canvas.appendChild(c);var a=new T(c,t);return a.attrs={x:n,y:r,width:i,height:s,src:e},a.type="image",a},t._engine.text=function(e,n,r,i){var s=m("text");e.canvas&&e.canvas.appendChild(s);var c=new T(s,e);return c.attrs={x:n,y:r,"text-anchor":"middle",text:i,font:t._availableAttrs.font,stroke:"none",fill:"#000"},c.type="text",C(c,c.attrs),c},t._engine.setSize=function(t,e){return this.width=t||this.width,this.height=e||this.height,this.canvas.setAttribute("width",this.width),this.canvas.setAttribute("height",this.height),this._viewBox&&this.setViewBox.apply(this,this._viewBox),this},t._engine.create=function(){var e=t._getContainer.apply(0,arguments),n=e&&e.container,r=e.x,i=e.y,s=e.width,c=e.height;if(!n)throw new Error("SVG container not found.");var a,o=m("svg"),l="overflow:hidden;";return r=r||0,i=i||0,s=s||512,c=c||342,m(o,{height:c,version:1.1,width:s,xmlns:"http://www.w3.org/2000/svg"}),1==n?(o.style.cssText=l+"position:absolute;left:"+r+"px;top:"+i+"px",t._g.doc.body.appendChild(o),a=1):(o.style.cssText=l+"position:relative",n.firstChild?n.insertBefore(o,n.firstChild):n.appendChild(o)),n=new t._Paper,n.width=s,n.height=c,n.canvas=o,n.clear(),n._left=n._top=0,a&&(n.renderfix=function(){}),n.renderfix(),n},t._engine.setViewBox=function(t,e,n,r,i){u("setViewBox",this,this._viewBox,[t,e,n,r,i]);var s,a,o=c(n/this.width,r/this.height),l=this.top,h=i?"meet":"xMinYMin";for(null==t?(this._vbSize&&(o=1),delete this._vbSize,s="0 0 "+this.width+d+this.height):(this._vbSize=o,s=t+d+e+d+n+d+r),m(this.canvas,{viewBox:s,preserveAspectRatio:h});o&&l;)a="stroke-width"in l.attrs?l.attrs["stroke-width"]:1,l.attr({"stroke-width":a}),l._.dirty=1,l._.dirtyT=1,l=l.prev;return this._viewBox=[t,e,n,r,!!i],this},t.prototype.renderfix=function(){var t=this.canvas,e=t.style,n=t.getScreenCTM()||t.createSVGMatrix(),r=-n.e%1,i=-n.f%1;(r||i)&&(r&&(this._left=(this._left+r)%1,e.left=this._left+"px"),i&&(this._top=(this._top+i)%1,e.top=this._top+"px"))},t.prototype.clear=function(){t.eve("clear",this);for(var e=this.canvas;e.firstChild;)e.removeChild(e.firstChild);this.bottom=this.top=null,(this.desc=m("desc")).appendChild(t._g.doc.createTextNode("Created with Raphaël "+t.version)),e.appendChild(this.desc),e.appendChild(this.defs=m("defs"))},t.prototype.remove=function(){u("remove",this),this.canvas.parentNode&&this.canvas.parentNode.removeChild(this.canvas);for(var e in this)this[e]="function"==typeof this[e]?t._removedFactory(e):null};var N=t.st;for(var z in S)S[e](z)&&!N[e](z)&&(N[z]=function(t){return function(){var e=arguments;return this.forEach(function(n){n[t].apply(n,e)})}}(z))}(window.Raphael),window.Raphael.vml&&function(t){var e="hasOwnProperty",n=String,r=parseFloat,i=Math,s=i.round,c=i.max,a=i.min,o=i.abs,l="fill",u=/[, ]+/,h=t.eve,d=" progid:DXImageTransform.Microsoft",f=" ",p="",g={M:"m",L:"l",C:"c",Z:"x",m:"t",l:"r",c:"v",z:"x"},m=/([clmz]),?([^clmz]*)/gi,v=/ progid:\S+Blur\([^\)]+\)/g,y=/-?[^,\s-]+/g,b="position:absolute;left:0;top:0;width:1px;height:1px",x=21600,_={path:1,rect:1,image:1},C={circle:1,ellipse:1},w=function(e){var r=/[ahqstv]/gi,i=t._pathToAbsolute;if(n(e).match(r)&&(i=t._path2curve),r=/[clmz]/g,i==t._pathToAbsolute&&!n(e).match(r)){var c=n(e).replace(m,function(t,e,n){var r=[],i="m"==e.toLowerCase(),c=g[e];return n.replace(y,function(t){i&&2==r.length&&(c+=r+g["m"==e?"l":"L"],r=[]),r.push(s(t*x))}),c+r});return c}var a,o,l=i(e);c=[];for(var u=0,h=l.length;h>u;u++){a=l[u],o=l[u][0].toLowerCase(),"z"==o&&(o="x");for(var d=1,v=a.length;v>d;d++)o+=s(a[d]*x)+(d!=v-1?",":p);c.push(o)}return c.join(f)},M=function(e,n,r){var i=t.matrix();return i.rotate(-e,.5,.5),{dx:i.x(n,r),dy:i.y(n,r)}},T=function(t,e,n,r,i,s){var c=t._,a=t.matrix,u=c.fillpos,h=t.node,d=h.style,p=1,g="",m=x/e,v=x/n;if(d.visibility="hidden",e&&n){if(h.coordsize=o(m)+f+o(v),d.rotation=s*(0>e*n?-1:1),s){var y=M(s,r,i);r=y.dx,i=y.dy}if(0>e&&(g+="x"),0>n&&(g+=" y")&&(p=-1),d.flip=g,h.coordorigin=r*-m+f+i*-v,u||c.fillsize){var b=h.getElementsByTagName(l);b=b&&b[0],h.removeChild(b),u&&(y=M(s,a.x(u[0],u[1]),a.y(u[0],u[1])),b.position=y.dx*p+f+y.dy*p),c.fillsize&&(b.size=c.fillsize[0]*o(e)+f+c.fillsize[1]*o(n)),h.appendChild(b)}d.visibility="visible"}};t.toString=function(){return"Your browser doesn’t support SVG. Falling down to VML.\nYou are running Raphaël "+this.version};var S=function(t,e,r){for(var i=n(e).toLowerCase().split("-"),s=r?"end":"start",c=i.length,a="classic",o="medium",l="medium";c--;)switch(i[c]){case"block":case"classic":case"oval":case"diamond":case"open":case"none":a=i[c];break;case"wide":case"narrow":l=i[c];break;case"long":case"short":o=i[c]}var u=t.node.getElementsByTagName("stroke")[0];u[s+"arrow"]=a,u[s+"arrowlength"]=o,u[s+"arrowwidth"]=l},N=function(i,o){i.attrs=i.attrs||{};var h=i.node,d=i.attrs,g=h.style,m=_[i.type]&&(o.x!=d.x||o.y!=d.y||o.width!=d.width||o.height!=d.height||o.cx!=d.cx||o.cy!=d.cy||o.rx!=d.rx||o.ry!=d.ry||o.r!=d.r),v=C[i.type]&&(d.cx!=o.cx||d.cy!=o.cy||d.r!=o.r||d.rx!=o.rx||d.ry!=o.ry),y=i;for(var b in o)o[e](b)&&(d[b]=o[b]);if(m&&(d.path=t._getPath[i.type](i),i._.dirty=1),o.href&&(h.href=o.href),o.title&&(h.title=o.title),o.target&&(h.target=o.target),o.cursor&&(g.cursor=o.cursor),"blur"in o&&i.blur(o.blur),(o.path&&"path"==i.type||m)&&(h.path=w(~n(d.path).toLowerCase().indexOf("r")?t._pathToAbsolute(d.path):d.path),"image"==i.type&&(i._.fillpos=[d.x,d.y],i._.fillsize=[d.width,d.height],T(i,1,1,0,0,0))),"transform"in o&&i.transform(o.transform),v){var M=+d.cx,N=+d.cy,L=+d.rx||+d.r||0,k=+d.ry||+d.r||0;h.path=t.format("ar{0},{1},{2},{3},{4},{1},{4},{1}x",s((M-L)*x),s((N-k)*x),s((M+L)*x),s((N+k)*x),s(M*x))}if("clip-rect"in o){var E=n(o["clip-rect"]).split(u);if(4==E.length){E[2]=+E[2]+ +E[0],E[3]=+E[3]+ +E[1];var H=h.clipRect||t._g.doc.createElement("div"),D=H.style;D.clip=t.format("rect({1}px {2}px {3}px {0}px)",E),h.clipRect||(D.position="absolute",D.top=0,D.left=0,D.width=i.paper.width+"px",D.height=i.paper.height+"px",h.parentNode.insertBefore(H,h),H.appendChild(h),h.clipRect=H)}o["clip-rect"]||h.clipRect&&(h.clipRect.style.clip="auto")}if(i.textpath){var q=i.textpath.style;o.font&&(q.font=o.font),o["font-family"]&&(q.fontFamily='"'+o["font-family"].split(",")[0].replace(/^['"]+|['"]+$/g,p)+'"'),o["font-size"]&&(q.fontSize=o["font-size"]),o["font-weight"]&&(q.fontWeight=o["font-weight"]),o["font-style"]&&(q.fontStyle=o["font-style"])}if("arrow-start"in o&&S(y,o["arrow-start"]),"arrow-end"in o&&S(y,o["arrow-end"],1),null!=o.opacity||null!=o["stroke-width"]||null!=o.fill||null!=o.src||null!=o.stroke||null!=o["stroke-width"]||null!=o["stroke-opacity"]||null!=o["fill-opacity"]||null!=o["stroke-dasharray"]||null!=o["stroke-miterlimit"]||null!=o["stroke-linejoin"]||null!=o["stroke-linecap"]){var B=h.getElementsByTagName(l),F=!1;if(B=B&&B[0],!B&&(F=B=A(l)),"image"==i.type&&o.src&&(B.src=o.src),o.fill&&(B.on=!0),(null==B.on||"none"==o.fill||null===o.fill)&&(B.on=!1),B.on&&o.fill){var j=n(o.fill).match(t._ISURL);if(j){B.parentNode==h&&h.removeChild(B),B.rotate=!0,B.src=j[1],B.type="tile";var O=i.getBBox(1);B.position=O.x+f+O.y,i._.fillpos=[O.x,O.y],t._preload(j[1],function(){i._.fillsize=[this.offsetWidth,this.offsetHeight]})}else B.color=t.getRGB(o.fill).hex,B.src=p,B.type="solid",t.getRGB(o.fill).error&&(y.type in{circle:1,ellipse:1}||"r"!=n(o.fill).charAt())&&z(y,o.fill,B)&&(d.fill="none",d.gradient=o.fill,B.rotate=!1)}if("fill-opacity"in o||"opacity"in o){var I=((+d["fill-opacity"]+1||2)-1)*((+d.opacity+1||2)-1)*((+t.getRGB(o.fill).o+1||2)-1);
7
- I=a(c(I,0),1),B.opacity=I,B.src&&(B.color="none")}h.appendChild(B);var R=h.getElementsByTagName("stroke")&&h.getElementsByTagName("stroke")[0],V=!1;!R&&(V=R=A("stroke")),(o.stroke&&"none"!=o.stroke||o["stroke-width"]||null!=o["stroke-opacity"]||o["stroke-dasharray"]||o["stroke-miterlimit"]||o["stroke-linejoin"]||o["stroke-linecap"])&&(R.on=!0),("none"==o.stroke||null===o.stroke||null==R.on||0==o.stroke||0==o["stroke-width"])&&(R.on=!1);var P=t.getRGB(o.stroke);R.on&&o.stroke&&(R.color=P.hex),I=((+d["stroke-opacity"]+1||2)-1)*((+d.opacity+1||2)-1)*((+P.o+1||2)-1);var W=.75*(r(o["stroke-width"])||1);if(I=a(c(I,0),1),null==o["stroke-width"]&&(W=d["stroke-width"]),o["stroke-width"]&&(R.weight=W),W&&1>W&&(I*=W)&&(R.weight=1),R.opacity=I,o["stroke-linejoin"]&&(R.joinstyle=o["stroke-linejoin"]||"miter"),R.miterlimit=o["stroke-miterlimit"]||8,o["stroke-linecap"]&&(R.endcap="butt"==o["stroke-linecap"]?"flat":"square"==o["stroke-linecap"]?"square":"round"),o["stroke-dasharray"]){var X={"-":"shortdash",".":"shortdot","-.":"shortdashdot","-..":"shortdashdotdot",". ":"dot","- ":"dash","--":"longdash","- .":"dashdot","--.":"longdashdot","--..":"longdashdotdot"};R.dashstyle=X[e](o["stroke-dasharray"])?X[o["stroke-dasharray"]]:p}V&&h.appendChild(R)}if("text"==y.type){y.paper.canvas.style.display=p;var $=y.paper.span,U=100,G=d.font&&d.font.match(/\d+(?:\.\d*)?(?=px)/);g=$.style,d.font&&(g.font=d.font),d["font-family"]&&(g.fontFamily=d["font-family"]),d["font-weight"]&&(g.fontWeight=d["font-weight"]),d["font-style"]&&(g.fontStyle=d["font-style"]),G=r(d["font-size"]||G&&G[0])||10,g.fontSize=G*U+"px",y.textpath.string&&($.innerHTML=n(y.textpath.string).replace(/</g,"&#60;").replace(/&/g,"&#38;").replace(/\n/g,"<br>"));var Y=$.getBoundingClientRect();y.W=d.w=(Y.right-Y.left)/U,y.H=d.h=(Y.bottom-Y.top)/U,y.X=d.x,y.Y=d.y+y.H/2,("x"in o||"y"in o)&&(y.path.v=t.format("m{0},{1}l{2},{1}",s(d.x*x),s(d.y*x),s(d.x*x)+1));for(var J=["x","y","text","font","font-family","font-weight","font-style","font-size"],Z=0,Q=J.length;Q>Z;Z++)if(J[Z]in o){y._.dirty=1;break}switch(d["text-anchor"]){case"start":y.textpath.style["v-text-align"]="left",y.bbx=y.W/2;break;case"end":y.textpath.style["v-text-align"]="right",y.bbx=-y.W/2;break;default:y.textpath.style["v-text-align"]="center",y.bbx=0}y.textpath.style["v-text-kern"]=!0}},z=function(e,s,c){e.attrs=e.attrs||{};var a=(e.attrs,Math.pow),o="linear",l=".5 .5";if(e.attrs.gradient=s,s=n(s).replace(t._radial_gradient,function(t,e,n){return o="radial",e&&n&&(e=r(e),n=r(n),a(e-.5,2)+a(n-.5,2)>.25&&(n=i.sqrt(.25-a(e-.5,2))*(2*(n>.5)-1)+.5),l=e+f+n),p}),s=s.split(/\s*\-\s*/),"linear"==o){var u=s.shift();if(u=-r(u),isNaN(u))return null}var h=t._parseDots(s);if(!h)return null;if(e=e.shape||e.node,h.length){e.removeChild(c),c.on=!0,c.method="none",c.color=h[0].color,c.color2=h[h.length-1].color;for(var d=[],g=0,m=h.length;m>g;g++)h[g].offset&&d.push(h[g].offset+f+h[g].color);c.colors=d.length?d.join():"0% "+c.color,"radial"==o?(c.type="gradientTitle",c.focus="100%",c.focussize="0 0",c.focusposition=l,c.angle=0):(c.type="gradient",c.angle=(270-u)%360),e.appendChild(c)}return 1},L=function(e,n){this[0]=this.node=e,e.raphael=!0,this.id=t._oid++,e.raphaelid=this.id,this.X=0,this.Y=0,this.attrs={},this.paper=n,this.matrix=t.matrix(),this._={transform:[],sx:1,sy:1,dx:0,dy:0,deg:0,dirty:1,dirtyT:1},!n.bottom&&(n.bottom=this),this.prev=n.top,n.top&&(n.top.next=this),n.top=this,this.next=null},k=t.el;L.prototype=k,k.constructor=L,k.transform=function(e){if(null==e)return this._.transform;var r,i=this.paper._viewBoxShift,s=i?"s"+[i.scale,i.scale]+"-1-1t"+[i.dx,i.dy]:p;i&&(r=e=n(e).replace(/\.{3}|\u2026/g,this._.transform||p)),t._extractTransform(this,s+e);var c,a=this.matrix.clone(),o=this.skew,l=this.node,u=~n(this.attrs.fill).indexOf("-"),h=!n(this.attrs.fill).indexOf("url(");if(a.translate(-.5,-.5),h||u||"image"==this.type)if(o.matrix="1 0 0 1",o.offset="0 0",c=a.split(),u&&c.noRotation||!c.isSimple){l.style.filter=a.toFilter();var d=this.getBBox(),g=this.getBBox(1),m=d.x-g.x,v=d.y-g.y;l.coordorigin=m*-x+f+v*-x,T(this,1,1,m,v,0)}else l.style.filter=p,T(this,c.scalex,c.scaley,c.dx,c.dy,c.rotate);else l.style.filter=p,o.matrix=n(a),o.offset=a.offset();return r&&(this._.transform=r),this},k.rotate=function(t,e,i){if(this.removed)return this;if(null!=t){if(t=n(t).split(u),t.length-1&&(e=r(t[1]),i=r(t[2])),t=r(t[0]),null==i&&(e=i),null==e||null==i){var s=this.getBBox(1);e=s.x+s.width/2,i=s.y+s.height/2}return this._.dirtyT=1,this.transform(this._.transform.concat([["r",t,e,i]])),this}},k.translate=function(t,e){return this.removed?this:(t=n(t).split(u),t.length-1&&(e=r(t[1])),t=r(t[0])||0,e=+e||0,this._.bbox&&(this._.bbox.x+=t,this._.bbox.y+=e),this.transform(this._.transform.concat([["t",t,e]])),this)},k.scale=function(t,e,i,s){if(this.removed)return this;if(t=n(t).split(u),t.length-1&&(e=r(t[1]),i=r(t[2]),s=r(t[3]),isNaN(i)&&(i=null),isNaN(s)&&(s=null)),t=r(t[0]),null==e&&(e=t),null==s&&(i=s),null==i||null==s)var c=this.getBBox(1);return i=null==i?c.x+c.width/2:i,s=null==s?c.y+c.height/2:s,this.transform(this._.transform.concat([["s",t,e,i,s]])),this._.dirtyT=1,this},k.hide=function(){return!this.removed&&(this.node.style.display="none"),this},k.show=function(){return!this.removed&&(this.node.style.display=p),this},k._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}},k.remove=function(){if(!this.removed){this.paper.__set__&&this.paper.__set__.exclude(this),t.eve.unbind("*.*."+this.id),t._tear(this,this.paper),this.node.parentNode.removeChild(this.node),this.shape&&this.shape.parentNode.removeChild(this.shape);for(var e in this)this[e]="function"==typeof this[e]?t._removedFactory(e):null;this.removed=!0}},k.attr=function(n,r){if(this.removed)return this;if(null==n){var i={};for(var s in this.attrs)this.attrs[e](s)&&(i[s]=this.attrs[s]);return i.gradient&&"none"==i.fill&&(i.fill=i.gradient)&&delete i.gradient,i.transform=this._.transform,i}if(null==r&&t.is(n,"string")){if(n==l&&"none"==this.attrs.fill&&this.attrs.gradient)return this.attrs.gradient;for(var c=n.split(u),a={},o=0,d=c.length;d>o;o++)n=c[o],a[n]=n in this.attrs?this.attrs[n]:t.is(this.paper.customAttributes[n],"function")?this.paper.customAttributes[n].def:t._availableAttrs[n];return d-1?a:a[c[0]]}if(this.attrs&&null==r&&t.is(n,"array")){for(a={},o=0,d=n.length;d>o;o++)a[n[o]]=this.attr(n[o]);return a}var f;null!=r&&(f={},f[n]=r),null==r&&t.is(n,"object")&&(f=n);for(var p in f)h("attr."+p+"."+this.id,this,f[p]);if(f){for(p in this.paper.customAttributes)if(this.paper.customAttributes[e](p)&&f[e](p)&&t.is(this.paper.customAttributes[p],"function")){var g=this.paper.customAttributes[p].apply(this,[].concat(f[p]));this.attrs[p]=f[p];for(var m in g)g[e](m)&&(f[m]=g[m])}f.text&&"text"==this.type&&(this.textpath.string=f.text),N(this,f)}return this},k.toFront=function(){return!this.removed&&this.node.parentNode.appendChild(this.node),this.paper&&this.paper.top!=this&&t._tofront(this,this.paper),this},k.toBack=function(){return this.removed?this:(this.node.parentNode.firstChild!=this.node&&(this.node.parentNode.insertBefore(this.node,this.node.parentNode.firstChild),t._toback(this,this.paper)),this)},k.insertAfter=function(e){return this.removed?this:(e.constructor==t.st.constructor&&(e=e[e.length-1]),e.node.nextSibling?e.node.parentNode.insertBefore(this.node,e.node.nextSibling):e.node.parentNode.appendChild(this.node),t._insertafter(this,e,this.paper),this)},k.insertBefore=function(e){return this.removed?this:(e.constructor==t.st.constructor&&(e=e[0]),e.node.parentNode.insertBefore(this.node,e.node),t._insertbefore(this,e,this.paper),this)},k.blur=function(e){var n=this.node.runtimeStyle,r=n.filter;r=r.replace(v,p),0!==+e?(this.attrs.blur=e,n.filter=r+f+d+".Blur(pixelradius="+(+e||1.5)+")",n.margin=t.format("-{0}px 0 0 -{0}px",s(+e||1.5))):(n.filter=r,n.margin=0,delete this.attrs.blur)},t._engine.path=function(t,e){var n=A("shape");n.style.cssText=b,n.coordsize=x+f+x,n.coordorigin=e.coordorigin;var r=new L(n,e),i={fill:"none",stroke:"#000"};t&&(i.path=t),r.type="path",r.path=[],r.Path=p,N(r,i),e.canvas.appendChild(n);var s=A("skew");return s.on=!0,n.appendChild(s),r.skew=s,r.transform(p),r},t._engine.rect=function(e,n,r,i,s,c){var a=t._rectPath(n,r,i,s,c),o=e.path(a),l=o.attrs;return o.X=l.x=n,o.Y=l.y=r,o.W=l.width=i,o.H=l.height=s,l.r=c,l.path=a,o.type="rect",o},t._engine.ellipse=function(t,e,n,r,i){var s=t.path();return s.attrs,s.X=e-r,s.Y=n-i,s.W=2*r,s.H=2*i,s.type="ellipse",N(s,{cx:e,cy:n,rx:r,ry:i}),s},t._engine.circle=function(t,e,n,r){var i=t.path();return i.attrs,i.X=e-r,i.Y=n-r,i.W=i.H=2*r,i.type="circle",N(i,{cx:e,cy:n,r:r}),i},t._engine.image=function(e,n,r,i,s,c){var a=t._rectPath(r,i,s,c),o=e.path(a).attr({stroke:"none"}),u=o.attrs,h=o.node,d=h.getElementsByTagName(l)[0];return u.src=n,o.X=u.x=r,o.Y=u.y=i,o.W=u.width=s,o.H=u.height=c,u.path=a,o.type="image",d.parentNode==h&&h.removeChild(d),d.rotate=!0,d.src=n,d.type="tile",o._.fillpos=[r,i],o._.fillsize=[s,c],h.appendChild(d),T(o,1,1,0,0,0),o},t._engine.text=function(e,r,i,c){var a=A("shape"),o=A("path"),l=A("textpath");r=r||0,i=i||0,c=c||"",o.v=t.format("m{0},{1}l{2},{1}",s(r*x),s(i*x),s(r*x)+1),o.textpathok=!0,l.string=n(c),l.on=!0,a.style.cssText=b,a.coordsize=x+f+x,a.coordorigin="0 0";var u=new L(a,e),h={fill:"#000",stroke:"none",font:t._availableAttrs.font,text:c};u.shape=a,u.path=o,u.textpath=l,u.type="text",u.attrs.text=n(c),u.attrs.x=r,u.attrs.y=i,u.attrs.w=1,u.attrs.h=1,N(u,h),a.appendChild(l),a.appendChild(o),e.canvas.appendChild(a);var d=A("skew");return d.on=!0,a.appendChild(d),u.skew=d,u.transform(p),u},t._engine.setSize=function(e,n){var r=this.canvas.style;return this.width=e,this.height=n,e==+e&&(e+="px"),n==+n&&(n+="px"),r.width=e,r.height=n,r.clip="rect(0 "+e+" "+n+" 0)",this._viewBox&&t._engine.setViewBox.apply(this,this._viewBox),this},t._engine.setViewBox=function(e,n,r,i,s){t.eve("setViewBox",this,this._viewBox,[e,n,r,i,s]);var a,o,l=this.width,u=this.height,h=1/c(r/l,i/u);return s&&(a=u/i,o=l/r,l>r*a&&(e-=(l-r*a)/2/a),u>i*o&&(n-=(u-i*o)/2/o)),this._viewBox=[e,n,r,i,!!s],this._viewBoxShift={dx:-e,dy:-n,scale:h},this.forEach(function(t){t.transform("...")}),this};var A;t._engine.initWin=function(t){var e=t.document;e.createStyleSheet().addRule(".rvml","behavior:url(#default#VML)");try{!e.namespaces.rvml&&e.namespaces.add("rvml","urn:schemas-microsoft-com:vml"),A=function(t){return e.createElement("<rvml:"+t+' class="rvml">')}}catch(n){A=function(t){return e.createElement("<"+t+' xmlns="urn:schemas-microsoft.com:vml" class="rvml">')}}},t._engine.initWin(t._g.win),t._engine.create=function(){var e=t._getContainer.apply(0,arguments),n=e.container,r=e.height,i=e.width,s=e.x,c=e.y;if(!n)throw new Error("VML container not found.");var a=new t._Paper,o=a.canvas=t._g.doc.createElement("div"),l=o.style;return s=s||0,c=c||0,i=i||512,r=r||342,a.width=i,a.height=r,i==+i&&(i+="px"),r==+r&&(r+="px"),a.coordsize=1e3*x+f+1e3*x,a.coordorigin="0 0",a.span=t._g.doc.createElement("span"),a.span.style.cssText="position:absolute;left:-9999em;top:-9999em;padding:0;margin:0;line-height:1;",o.appendChild(a.span),l.cssText=t.format("top:0;left:0;width:{0};height:{1};display:inline-block;position:relative;clip:rect(0 {0} {1} 0);overflow:hidden",i,r),1==n?(t._g.doc.body.appendChild(o),l.left=s+"px",l.top=c+"px",l.position="absolute"):n.firstChild?n.insertBefore(o,n.firstChild):n.appendChild(o),a.renderfix=function(){},a},t.prototype.clear=function(){t.eve("clear",this),this.canvas.innerHTML=p,this.span=t._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},t.prototype.remove=function(){t.eve("remove",this),this.canvas.parentNode.removeChild(this.canvas);for(var e in this)this[e]="function"==typeof this[e]?t._removedFactory(e):null;return!0};var E=t.st;for(var H in k)k[e](H)&&!E[e](H)&&(E[H]=function(t){return function(){var e=arguments;return this.forEach(function(n){n[t].apply(n,e)})}}(H))}(window.Raphael);var Base64=function(){var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",e={encode:function(e){var n,r,i,s,c,a,o,l="",u=0;do n=e.charCodeAt(u++),r=e.charCodeAt(u++),i=e.charCodeAt(u++),s=n>>2,c=(3&n)<<4|r>>4,a=(15&r)<<2|i>>6,o=63&i,isNaN(r)?a=o=64:isNaN(i)&&(o=64),l=l+t.charAt(s)+t.charAt(c)+t.charAt(a)+t.charAt(o);while(u<e.length);return l},decode:function(e){var n,r,i,s,c,a,o,l="",u=0;e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"");do s=t.indexOf(e.charAt(u++)),c=t.indexOf(e.charAt(u++)),a=t.indexOf(e.charAt(u++)),o=t.indexOf(e.charAt(u++)),n=s<<2|c>>4,r=(15&c)<<4|a>>2,i=(3&a)<<6|o,l+=String.fromCharCode(n),64!=a&&(l+=String.fromCharCode(r)),64!=o&&(l+=String.fromCharCode(i));while(u<e.length);return l}};return e}(),MD5=function(){var t=0,e="",n=8,r=function(t,e){var n=(65535&t)+(65535&e),r=(t>>16)+(e>>16)+(n>>16);return r<<16|65535&n},i=function(t,e){return t<<e|t>>>32-e},s=function(t){for(var e=[],r=(1<<n)-1,i=0;i<t.length*n;i+=n)e[i>>5]|=(t.charCodeAt(i/n)&r)<<i%32;return e},c=function(t){for(var e="",r=(1<<n)-1,i=0;i<32*t.length;i+=n)e+=String.fromCharCode(t[i>>5]>>>i%32&r);return e},a=function(e){for(var n=t?"0123456789ABCDEF":"0123456789abcdef",r="",i=0;i<4*e.length;i++)r+=n.charAt(15&e[i>>2]>>8*(i%4)+4)+n.charAt(15&e[i>>2]>>8*(i%4));return r},o=function(t){for(var n,r,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s="",c=0;c<4*t.length;c+=3)for(n=(255&t[c>>2]>>8*(c%4))<<16|(255&t[c+1>>2]>>8*((c+1)%4))<<8|255&t[c+2>>2]>>8*((c+2)%4),r=0;4>r;r++)s+=8*c+6*r>32*t.length?e:i.charAt(63&n>>6*(3-r));return s},l=function(t,e,n,s,c,a){return r(i(r(r(e,t),r(s,a)),c),n)},u=function(t,e,n,r,i,s,c){return l(e&n|~e&r,t,e,i,s,c)},h=function(t,e,n,r,i,s,c){return l(e&r|n&~r,t,e,i,s,c)},d=function(t,e,n,r,i,s,c){return l(e^n^r,t,e,i,s,c)},f=function(t,e,n,r,i,s,c){return l(n^(e|~r),t,e,i,s,c)},p=function(t,e){t[e>>5]|=128<<e%32,t[(e+64>>>9<<4)+14]=e;for(var n,i,s,c,a=1732584193,o=-271733879,l=-1732584194,p=271733878,g=0;g<t.length;g+=16)n=a,i=o,s=l,c=p,a=u(a,o,l,p,t[g+0],7,-680876936),p=u(p,a,o,l,t[g+1],12,-389564586),l=u(l,p,a,o,t[g+2],17,606105819),o=u(o,l,p,a,t[g+3],22,-1044525330),a=u(a,o,l,p,t[g+4],7,-176418897),p=u(p,a,o,l,t[g+5],12,1200080426),l=u(l,p,a,o,t[g+6],17,-1473231341),o=u(o,l,p,a,t[g+7],22,-45705983),a=u(a,o,l,p,t[g+8],7,1770035416),p=u(p,a,o,l,t[g+9],12,-1958414417),l=u(l,p,a,o,t[g+10],17,-42063),o=u(o,l,p,a,t[g+11],22,-1990404162),a=u(a,o,l,p,t[g+12],7,1804603682),p=u(p,a,o,l,t[g+13],12,-40341101),l=u(l,p,a,o,t[g+14],17,-1502002290),o=u(o,l,p,a,t[g+15],22,1236535329),a=h(a,o,l,p,t[g+1],5,-165796510),p=h(p,a,o,l,t[g+6],9,-1069501632),l=h(l,p,a,o,t[g+11],14,643717713),o=h(o,l,p,a,t[g+0],20,-373897302),a=h(a,o,l,p,t[g+5],5,-701558691),p=h(p,a,o,l,t[g+10],9,38016083),l=h(l,p,a,o,t[g+15],14,-660478335),o=h(o,l,p,a,t[g+4],20,-405537848),a=h(a,o,l,p,t[g+9],5,568446438),p=h(p,a,o,l,t[g+14],9,-1019803690),l=h(l,p,a,o,t[g+3],14,-187363961),o=h(o,l,p,a,t[g+8],20,1163531501),a=h(a,o,l,p,t[g+13],5,-1444681467),p=h(p,a,o,l,t[g+2],9,-51403784),l=h(l,p,a,o,t[g+7],14,1735328473),o=h(o,l,p,a,t[g+12],20,-1926607734),a=d(a,o,l,p,t[g+5],4,-378558),p=d(p,a,o,l,t[g+8],11,-2022574463),l=d(l,p,a,o,t[g+11],16,1839030562),o=d(o,l,p,a,t[g+14],23,-35309556),a=d(a,o,l,p,t[g+1],4,-1530992060),p=d(p,a,o,l,t[g+4],11,1272893353),l=d(l,p,a,o,t[g+7],16,-155497632),o=d(o,l,p,a,t[g+10],23,-1094730640),a=d(a,o,l,p,t[g+13],4,681279174),p=d(p,a,o,l,t[g+0],11,-358537222),l=d(l,p,a,o,t[g+3],16,-722521979),o=d(o,l,p,a,t[g+6],23,76029189),a=d(a,o,l,p,t[g+9],4,-640364487),p=d(p,a,o,l,t[g+12],11,-421815835),l=d(l,p,a,o,t[g+15],16,530742520),o=d(o,l,p,a,t[g+2],23,-995338651),a=f(a,o,l,p,t[g+0],6,-198630844),p=f(p,a,o,l,t[g+7],10,1126891415),l=f(l,p,a,o,t[g+14],15,-1416354905),o=f(o,l,p,a,t[g+5],21,-57434055),a=f(a,o,l,p,t[g+12],6,1700485571),p=f(p,a,o,l,t[g+3],10,-1894986606),l=f(l,p,a,o,t[g+10],15,-1051523),o=f(o,l,p,a,t[g+1],21,-2054922799),a=f(a,o,l,p,t[g+8],6,1873313359),p=f(p,a,o,l,t[g+15],10,-30611744),l=f(l,p,a,o,t[g+6],15,-1560198380),o=f(o,l,p,a,t[g+13],21,1309151649),a=f(a,o,l,p,t[g+4],6,-145523070),p=f(p,a,o,l,t[g+11],10,-1120210379),l=f(l,p,a,o,t[g+2],15,718787259),o=f(o,l,p,a,t[g+9],21,-343485551),a=r(a,n),o=r(o,i),l=r(l,s),p=r(p,c);return[a,o,l,p]},g=function(t,e){var r=s(t);r.length>16&&(r=p(r,t.length*n));for(var i=new Array(16),c=new Array(16),a=0;16>a;a++)i[a]=909522486^r[a],c[a]=1549556828^r[a];var o=p(i.concat(s(e)),512+e.length*n);return p(c.concat(o),640)},m={hexdigest:function(t){return a(p(s(t),t.length*n))},b64digest:function(t){return o(p(s(t),t.length*n))},hash:function(t){return c(p(s(t),t.length*n))},hmac_hexdigest:function(t,e){return a(g(t,e))},hmac_b64digest:function(t,e){return o(g(t,e))},hmac_hash:function(t,e){return c(g(t,e))},test:function(){return"900150983cd24fb0d6963f7d28e17f72"===MD5.hexdigest("abc")}};return m}();Function.prototype.bind||(Function.prototype.bind=function(t){var e=this,n=Array.prototype.slice,r=Array.prototype.concat,i=n.call(arguments,1);return function(){return e.apply(t?t:this,r.call(i,n.call(arguments,0)))}}),Array.prototype.indexOf||(Array.prototype.indexOf=function(t){var e=this.length,n=Number(arguments[1])||0;for(n=0>n?Math.ceil(n):Math.floor(n),0>n&&(n+=e);e>n;n++)if(n in this&&this[n]===t)return n;return-1}),function(t){function e(t,e){return new s.Builder(t,e)}function n(t){return new s.Builder("message",t)}function r(t){return new s.Builder("iq",t)}function i(t){return new s.Builder("presence",t)}var s;s={VERSION:"1.0.2",NS:{HTTPBIND:"http://jabber.org/protocol/httpbind",BOSH:"urn:xmpp:xbosh",CLIENT:"jabber:client",AUTH:"jabber:iq:auth",ROSTER:"jabber:iq:roster",PROFILE:"jabber:iq:profile",DISCO_INFO:"http://jabber.org/protocol/disco#info",DISCO_ITEMS:"http://jabber.org/protocol/disco#items",MUC:"http://jabber.org/protocol/muc",SASL:"urn:ietf:params:xml:ns:xmpp-sasl",STREAM:"http://etherx.jabber.org/streams",BIND:"urn:ietf:params:xml:ns:xmpp-bind",SESSION:"urn:ietf:params:xml:ns:xmpp-session",VERSION:"jabber:iq:version",STANZAS:"urn:ietf:params:xml:ns:xmpp-stanzas"},addNamespace:function(t,e){s.NS[t]=e},Status:{ERROR:0,CONNECTING:1,CONNFAIL:2,AUTHENTICATING:3,AUTHFAIL:4,CONNECTED:5,DISCONNECTED:6,DISCONNECTING:7,ATTACHED:8},LogLevel:{DEBUG:0,INFO:1,WARN:2,ERROR:3,FATAL:4},ElementType:{NORMAL:1,TEXT:3,CDATA:4},TIMEOUT:1.1,SECONDARY_TIMEOUT:.1,forEachChild:function(t,e,n){var r,i;for(r=0;r<t.childNodes.length;r++)i=t.childNodes[r],i.nodeType!=s.ElementType.NORMAL||e&&!this.isTagEqual(i,e)||n(i)},isTagEqual:function(t,e){return t.tagName.toLowerCase()==e.toLowerCase()},_xmlGenerator:null,_makeGenerator:function(){var t;return void 0===document.implementation.createDocument?(t=this._getIEXmlDom(),t.appendChild(t.createElement("strophe"))):t=document.implementation.createDocument("jabber:client","strophe",null),t},xmlGenerator:function(){return s._xmlGenerator||(s._xmlGenerator=s._makeGenerator()),s._xmlGenerator},_getIEXmlDom:function(){for(var t=null,e=["Msxml2.DOMDocument.6.0","Msxml2.DOMDocument.5.0","Msxml2.DOMDocument.4.0","MSXML2.DOMDocument.3.0","MSXML2.DOMDocument","MSXML.DOMDocument","Microsoft.XMLDOM"],n=0;n<e.length&&null===t;n++)try{t=new ActiveXObject(e[n])}catch(r){t=null}return t},xmlElement:function(t){if(!t)return null;var e,n,r,i=s.xmlGenerator().createElement(t);for(e=1;e<arguments.length;e++)if(arguments[e])if("string"==typeof arguments[e]||"number"==typeof arguments[e])i.appendChild(s.xmlTextNode(arguments[e]));else if("object"==typeof arguments[e]&&"function"==typeof arguments[e].sort)for(n=0;n<arguments[e].length;n++)"object"==typeof arguments[e][n]&&"function"==typeof arguments[e][n].sort&&i.setAttribute(arguments[e][n][0],arguments[e][n][1]);else if("object"==typeof arguments[e])for(r in arguments[e])arguments[e].hasOwnProperty(r)&&i.setAttribute(r,arguments[e][r]);return i},xmlescape:function(t){return t=t.replace(/\&/g,"&amp;"),t=t.replace(/</g,"&lt;"),t=t.replace(/>/g,"&gt;"),t=t.replace(/'/g,"&apos;"),t=t.replace(/"/g,"&quot;")},xmlTextNode:function(t){return t=s.xmlescape(t),s.xmlGenerator().createTextNode(t)},getText:function(t){if(!t)return null;var e="";0===t.childNodes.length&&t.nodeType==s.ElementType.TEXT&&(e+=t.nodeValue);for(var n=0;n<t.childNodes.length;n++)t.childNodes[n].nodeType==s.ElementType.TEXT&&(e+=t.childNodes[n].nodeValue);return e},copyElement:function(t){var e,n;if(t.nodeType==s.ElementType.NORMAL){for(n=s.xmlElement(t.tagName),e=0;e<t.attributes.length;e++)n.setAttribute(t.attributes[e].nodeName.toLowerCase(),t.attributes[e].value);for(e=0;e<t.childNodes.length;e++)n.appendChild(s.copyElement(t.childNodes[e]))}else t.nodeType==s.ElementType.TEXT&&(n=s.xmlGenerator().createTextNode(t.nodeValue));return n},escapeNode:function(t){return t.replace(/^\s+|\s+$/g,"").replace(/\\/g,"\\5c").replace(/ /g,"\\20").replace(/\"/g,"\\22").replace(/\&/g,"\\26").replace(/\'/g,"\\27").replace(/\//g,"\\2f").replace(/:/g,"\\3a").replace(/</g,"\\3c").replace(/>/g,"\\3e").replace(/@/g,"\\40")},unescapeNode:function(t){return t.replace(/\\20/g," ").replace(/\\22/g,'"').replace(/\\26/g,"&").replace(/\\27/g,"'").replace(/\\2f/g,"/").replace(/\\3a/g,":").replace(/\\3c/g,"<").replace(/\\3e/g,">").replace(/\\40/g,"@").replace(/\\5c/g,"\\")},getNodeFromJid:function(t){return t.indexOf("@")<0?null:t.split("@")[0]},getDomainFromJid:function(t){var e=s.getBareJidFromJid(t);if(e.indexOf("@")<0)return e;var n=e.split("@");return n.splice(0,1),n.join("@")},getResourceFromJid:function(t){var e=t.split("/");return e.length<2?null:(e.splice(0,1),e.join("/"))},getBareJidFromJid:function(t){return t?t.split("/")[0]:null},log:function(){},debug:function(t){this.log(this.LogLevel.DEBUG,t)},info:function(t){this.log(this.LogLevel.INFO,t)},warn:function(t){this.log(this.LogLevel.WARN,t)},error:function(t){this.log(this.LogLevel.ERROR,t)},fatal:function(t){this.log(this.LogLevel.FATAL,t)},serialize:function(t){var e;if(!t)return null;"function"==typeof t.tree&&(t=t.tree());var n,r,i=t.nodeName;for(t.getAttribute("_realname")&&(i=t.getAttribute("_realname")),e="<"+i,n=0;n<t.attributes.length;n++)"_realname"!=t.attributes[n].nodeName&&(e+=" "+t.attributes[n].nodeName.toLowerCase()+"='"+t.attributes[n].value.replace(/&/g,"&amp;").replace(/\'/g,"&apos;").replace(/</g,"&lt;")+"'");if(t.childNodes.length>0){for(e+=">",n=0;n<t.childNodes.length;n++)switch(r=t.childNodes[n],r.nodeType){case s.ElementType.NORMAL:e+=s.serialize(r);break;case s.ElementType.TEXT:e+=s.xmlescape(r.nodeValue);break;case s.ElementType.CDATA:e+="<![CDATA["+r.nodeValue+"]]>"}e+="</"+i+">"}else e+="/>";return e},_requestId:0,_connectionPlugins:{},addConnectionPlugin:function(t,e){s._connectionPlugins[t]=e}},s.Builder=function(t,e){("presence"==t||"message"==t||"iq"==t)&&(e&&!e.xmlns?e.xmlns=s.NS.CLIENT:e||(e={xmlns:s.NS.CLIENT})),this.nodeTree=s.xmlElement(t,e),this.node=this.nodeTree},s.Builder.prototype={tree:function(){return this.nodeTree},toString:function(){return s.serialize(this.nodeTree)},up:function(){return this.node=this.node.parentNode,this},attrs:function(t){for(var e in t)t.hasOwnProperty(e)&&this.node.setAttribute(e,t[e]);return this},c:function(t,e,n){var r=s.xmlElement(t,e,n);return this.node.appendChild(r),n||(this.node=r),this},cnode:function(t){var e=s.xmlGenerator();try{var n=void 0!==e.importNode}catch(r){var n=!1}var i=n?e.importNode(t,!0):s.copyElement(t);return this.node.appendChild(i),this.node=i,this},t:function(t){var e=s.xmlTextNode(t);return this.node.appendChild(e),this}},s.Handler=function(t,e,n,r,i,c,a){this.handler=t,this.ns=e,this.name=n,this.type=r,this.id=i,this.options=a||{matchbare:!1},this.options.matchBare||(this.options.matchBare=!1),this.from=this.options.matchBare?c?s.getBareJidFromJid(c):null:c,this.user=!0},s.Handler.prototype={isMatch:function(t){var e,n=null;if(n=this.options.matchBare?s.getBareJidFromJid(t.getAttribute("from")):t.getAttribute("from"),e=!1,this.ns){var r=this;s.forEachChild(t,null,function(t){t.getAttribute("xmlns")==r.ns&&(e=!0)}),e=e||t.getAttribute("xmlns")==this.ns}else e=!0;return!e||this.name&&!s.isTagEqual(t,this.name)||this.type&&t.getAttribute("type")!=this.type||this.id&&t.getAttribute("id")!=this.id||this.from&&n!=this.from?!1:!0},run:function(t){var e=null;try{e=this.handler(t)}catch(n){throw n.sourceURL?s.fatal("error: "+this.handler+" "+n.sourceURL+":"+n.line+" - "+n.name+": "+n.message):n.fileName?("undefined"!=typeof console&&(console.trace(),console.error(this.handler," - error - ",n,n.message)),s.fatal("error: "+this.handler+" "+n.fileName+":"+n.lineNumber+" - "+n.name+": "+n.message)):s.fatal("error: "+this.handler),n}return e},toString:function(){return"{Handler: "+this.handler+"("+this.name+","+this.id+","+this.ns+")}"}},s.TimedHandler=function(t,e){this.period=t,this.handler=e,this.lastCalled=(new Date).getTime(),this.user=!0},s.TimedHandler.prototype={run:function(){return this.lastCalled=(new Date).getTime(),this.handler()},reset:function(){this.lastCalled=(new Date).getTime()},toString:function(){return"{TimedHandler: "+this.handler+"("+this.period+")}"}},s.Request=function(t,e,n,r){this.id=++s._requestId,this.xmlData=t,this.data=s.serialize(t),this.origFunc=e,this.func=e,this.rid=n,this.date=0/0,this.sends=r||0,this.abort=!1,this.dead=null,this.age=function(){if(!this.date)return 0;var t=new Date;return(t-this.date)/1e3},this.timeDead=function(){if(!this.dead)return 0;var t=new Date;return(t-this.dead)/1e3},this.xhr=this._newXHR()},s.Request.prototype={getResponse:function(){var t=null;if(this.xhr.responseXML&&this.xhr.responseXML.documentElement){if(t=this.xhr.responseXML.documentElement,"parsererror"==t.tagName)throw s.error("invalid response received"),s.error("responseText: "+this.xhr.responseText),s.error("responseXML: "+s.serialize(this.xhr.responseXML)),"parsererror"}else this.xhr.responseText&&(s.error("invalid response received"),s.error("responseText: "+this.xhr.responseText),s.error("responseXML: "+s.serialize(this.xhr.responseXML)));return t},_newXHR:function(){var t=null;return window.XMLHttpRequest?(t=new XMLHttpRequest,t.overrideMimeType&&t.overrideMimeType("text/xml")):window.ActiveXObject&&(t=new ActiveXObject("Microsoft.XMLHTTP")),t.onreadystatechange=this.func.bind(null,this),t}},s.Connection=function(t){this.service=t,this.jid="",this.rid=Math.floor(4294967295*Math.random()),this.sid=null,this.streamId=null,this.features=null,this.do_session=!1,this.do_bind=!1,this.timedHandlers=[],this.handlers=[],this.removeTimeds=[],this.removeHandlers=[],this.addTimeds=[],this.addHandlers=[],this._idleTimeout=null,this._disconnectTimeout=null,this.authenticated=!1,this.disconnecting=!1,this.connected=!1,this.errors=0,this.paused=!1,this.hold=1,this.wait=60,this.window=5,this._data=[],this._requests=[],this._uniqueId=Math.round(1e4*Math.random()),this._sasl_success_handler=null,this._sasl_failure_handler=null,this._sasl_challenge_handler=null,this._idleTimeout=setTimeout(this._onIdle.bind(this),100);for(var e in s._connectionPlugins)if(s._connectionPlugins.hasOwnProperty(e)){var n=s._connectionPlugins[e],r=function(){};r.prototype=n,this[e]=new r,this[e].init(this)}},s.Connection.prototype={reset:function(){this.rid=Math.floor(4294967295*Math.random()),this.sid=null,this.streamId=null,this.do_session=!1,this.do_bind=!1,this.timedHandlers=[],this.handlers=[],this.removeTimeds=[],this.removeHandlers=[],this.addTimeds=[],this.addHandlers=[],this.authenticated=!1,this.disconnecting=!1,this.connected=!1,this.errors=0,this._requests=[],this._uniqueId=Math.round(1e4*Math.random())},pause:function(){this.paused=!0},resume:function(){this.paused=!1},getUniqueId:function(t){return"string"==typeof t||"number"==typeof t?++this._uniqueId+":"+t:++this._uniqueId+""},connect:function(t,e,n,r,i){this.jid=t,this.pass=e,this.connect_callback=n,this.disconnecting=!1,this.connected=!1,this.authenticated=!1,this.errors=0,this.wait=r||this.wait,this.hold=i||this.hold,this.domain=s.getDomainFromJid(this.jid);var c=this._buildBody().attrs({to:this.domain,"xml:lang":"en",wait:this.wait,hold:this.hold,content:"text/xml; charset=utf-8",ver:"1.6","xmpp:version":"1.0","xmlns:xmpp":s.NS.BOSH});this._changeConnectStatus(s.Status.CONNECTING,null),this._requests.push(new s.Request(c.tree(),this._onRequestStateChange.bind(this,this._connect_cb.bind(this)),c.tree().getAttribute("rid"))),this._throttledRequestHandler()},attach:function(t,e,n,r,i,c,a){this.jid=t,this.sid=e,this.rid=n,this.connect_callback=r,this.domain=s.getDomainFromJid(this.jid),this.authenticated=!0,this.connected=!0,this.wait=i||this.wait,this.hold=c||this.hold,this.window=a||this.window,this._changeConnectStatus(s.Status.ATTACHED,null)},xmlInput:function(){},xmlOutput:function(){},rawInput:function(){},rawOutput:function(){},send:function(t){if(null!==t){if("function"==typeof t.sort)for(var e=0;e<t.length;e++)this._queueData(t[e]);else"function"==typeof t.tree?this._queueData(t.tree()):this._queueData(t);this._throttledRequestHandler(),clearTimeout(this._idleTimeout),this._idleTimeout=setTimeout(this._onIdle.bind(this),100)}},flush:function(){clearTimeout(this._idleTimeout),this._onIdle()},sendIQ:function(t,e,n,r){var i=null,s=this;"function"==typeof t.tree&&(t=t.tree());var c=t.getAttribute("id");c||(c=this.getUniqueId("sendIQ"),t.setAttribute("id",c));var a=this.addHandler(function(t){i&&s.deleteTimedHandler(i);var r=t.getAttribute("type");if("result"==r)e&&e(t);else{if("error"!=r)throw{name:"StropheError",message:"Got bad IQ type of "+r};n&&n(t)}},null,"iq",null,c);return r&&(i=this.addTimedHandler(r,function(){return s.deleteHandler(a),n&&n(null),!1})),this.send(t),c},_queueData:function(t){if(null===t||!t.tagName||!t.childNodes)throw{name:"StropheError",message:"Cannot queue non-DOMElement."};this._data.push(t)},_sendRestart:function(){this._data.push("restart"),this._throttledRequestHandler(),clearTimeout(this._idleTimeout),this._idleTimeout=setTimeout(this._onIdle.bind(this),100)},addTimedHandler:function(t,e){var n=new s.TimedHandler(t,e);return this.addTimeds.push(n),n},deleteTimedHandler:function(t){this.removeTimeds.push(t)},addHandler:function(t,e,n,r,i,c,a){var o=new s.Handler(t,e,n,r,i,c,a);return this.addHandlers.push(o),o},deleteHandler:function(t){this.removeHandlers.push(t)},disconnect:function(t){this._changeConnectStatus(s.Status.DISCONNECTING,t),s.info("Disconnect was called because: "+t),this.connected&&(this._disconnectTimeout=this._addSysTimedHandler(3e3,this._onDisconnectTimeout.bind(this)),this._sendTerminate())},_changeConnectStatus:function(t,e){for(var n in s._connectionPlugins)if(s._connectionPlugins.hasOwnProperty(n)){var r=this[n];if(r.statusChanged)try{r.statusChanged(t,e)}catch(i){s.error(""+n+" plugin caused an exception changing status: "+i)}}if(this.connect_callback)try{this.connect_callback(t,e)}catch(c){s.error("User connection callback caused an exception: "+c)}},_buildBody:function(){var t=e("body",{rid:this.rid++,xmlns:s.NS.HTTPBIND});return null!==this.sid&&t.attrs({sid:this.sid}),t},_removeRequest:function(t){s.debug("removing request");var e;for(e=this._requests.length-1;e>=0;e--)t==this._requests[e]&&this._requests.splice(e,1);t.xhr.onreadystatechange=function(){},this._throttledRequestHandler()},_restartRequest:function(t){var e=this._requests[t];null===e.dead&&(e.dead=new Date),this._processRequest(t)},_processRequest:function(t){var e=this._requests[t],n=-1;try{4==e.xhr.readyState&&(n=e.xhr.status)}catch(r){s.error("caught an error in _requests["+t+"], reqStatus: "+n)}if("undefined"==typeof n&&(n=-1),e.sends>5)return this._onDisconnectTimeout(),void 0;var i=e.age(),c=!isNaN(i)&&i>Math.floor(s.TIMEOUT*this.wait),a=null!==e.dead&&e.timeDead()>Math.floor(s.SECONDARY_TIMEOUT*this.wait),o=4==e.xhr.readyState&&(1>n||n>=500);if((c||a||o)&&(a&&s.error("Request "+this._requests[t].id+" timed out (secondary), restarting"),e.abort=!0,e.xhr.abort(),e.xhr.onreadystatechange=function(){},this._requests[t]=new s.Request(e.xmlData,e.origFunc,e.rid,e.sends),e=this._requests[t]),0===e.xhr.readyState){s.debug("request id "+e.id+"."+e.sends+" posting");try{e.xhr.open("POST",this.service,!0)}catch(l){return s.error("XHR open failed."),this.connected||this._changeConnectStatus(s.Status.CONNFAIL,"bad-service"),this.disconnect(),void 0}var u=function(){e.date=new Date,e.xhr.send(e.data)};if(e.sends>1){var h=1e3*Math.min(Math.floor(s.TIMEOUT*this.wait),Math.pow(e.sends,3));setTimeout(u,h)}else u();e.sends++,this.xmlOutput!==s.Connection.prototype.xmlOutput&&this.xmlOutput(e.xmlData),this.rawOutput!==s.Connection.prototype.rawOutput&&this.rawOutput(e.data)}else s.debug("_processRequest: "+(0===t?"first":"second")+" request has readyState of "+e.xhr.readyState)
8
- },_throttledRequestHandler:function(){this._requests?s.debug("_throttledRequestHandler called with "+this._requests.length+" requests"):s.debug("_throttledRequestHandler called with undefined requests"),this._requests&&0!==this._requests.length&&(this._requests.length>0&&this._processRequest(0),this._requests.length>1&&Math.abs(this._requests[0].rid-this._requests[1].rid)<this.window&&this._processRequest(1))},_onRequestStateChange:function(t,e){if(s.debug("request id "+e.id+"."+e.sends+" state changed to "+e.xhr.readyState),e.abort)return e.abort=!1,void 0;var n;if(4==e.xhr.readyState){n=0;try{n=e.xhr.status}catch(r){}if("undefined"==typeof n&&(n=0),this.disconnecting&&n>=400)return this._hitError(n),void 0;var i=this._requests[0]==e,c=this._requests[1]==e;(n>0&&500>n||e.sends>5)&&(this._removeRequest(e),s.debug("request id "+e.id+" should now be removed")),200==n?((c||i&&this._requests.length>0&&this._requests[0].age()>Math.floor(s.SECONDARY_TIMEOUT*this.wait))&&this._restartRequest(0),s.debug("request id "+e.id+"."+e.sends+" got 200"),t(e),this.errors=0):(s.error("request id "+e.id+"."+e.sends+" error "+n+" happened"),(0===n||n>=400&&600>n||n>=12e3)&&(this._hitError(n),n>=400&&500>n&&(this._changeConnectStatus(s.Status.DISCONNECTING,null),this._doDisconnect()))),n>0&&500>n||e.sends>5||this._throttledRequestHandler()}},_hitError:function(t){this.errors++,s.warn("request errored, status: "+t+", number of errors: "+this.errors),this.errors>4&&this._onDisconnectTimeout()},_doDisconnect:function(){s.info("_doDisconnect was called"),this.authenticated=!1,this.disconnecting=!1,this.sid=null,this.streamId=null,this.rid=Math.floor(4294967295*Math.random()),this.connected&&(this._changeConnectStatus(s.Status.DISCONNECTED,null),this.connected=!1),this.handlers=[],this.timedHandlers=[],this.removeTimeds=[],this.removeHandlers=[],this.addTimeds=[],this.addHandlers=[]},_dataRecv:function(t){try{var e=t.getResponse()}catch(n){if("parsererror"!=n)throw n;this.disconnect("strophe-parsererror")}if(null!==e){this.xmlInput!==s.Connection.prototype.xmlInput&&this.xmlInput(e),this.rawInput!==s.Connection.prototype.rawInput&&this.rawInput(s.serialize(e));for(var r,i;this.removeHandlers.length>0;)i=this.removeHandlers.pop(),r=this.handlers.indexOf(i),r>=0&&this.handlers.splice(r,1);for(;this.addHandlers.length>0;)this.handlers.push(this.addHandlers.pop());if(this.disconnecting&&0===this._requests.length)return this.deleteTimedHandler(this._disconnectTimeout),this._disconnectTimeout=null,this._doDisconnect(),void 0;var c,a,o=e.getAttribute("type");if(null!==o&&"terminate"==o){if(this.disconnecting)return;return c=e.getAttribute("condition"),a=e.getElementsByTagName("conflict"),null!==c?("remote-stream-error"==c&&a.length>0&&(c="conflict"),this._changeConnectStatus(s.Status.CONNFAIL,c)):this._changeConnectStatus(s.Status.CONNFAIL,"unknown"),this.disconnect(),void 0}var l=this;s.forEachChild(e,null,function(t){var e,n;for(n=l.handlers,l.handlers=[],e=0;e<n.length;e++){var r=n[e];try{!r.isMatch(t)||!l.authenticated&&r.user?l.handlers.push(r):r.run(t)&&l.handlers.push(r)}catch(i){}}})}},_sendTerminate:function(){s.info("_sendTerminate was called");var t=this._buildBody().attrs({type:"terminate"});this.authenticated&&t.c("presence",{xmlns:s.NS.CLIENT,type:"unavailable"}),this.disconnecting=!0;var e=new s.Request(t.tree(),this._onRequestStateChange.bind(this,this._dataRecv.bind(this)),t.tree().getAttribute("rid"));this._requests.push(e),this._throttledRequestHandler()},_connect_cb:function(t){s.info("_connect_cb was called"),this.connected=!0;var n=t.getResponse();if(n){this.xmlInput!==s.Connection.prototype.xmlInput&&this.xmlInput(n),this.rawInput!==s.Connection.prototype.rawInput&&this.rawInput(s.serialize(n));var i,c,a=n.getAttribute("type");if(null!==a&&"terminate"==a)return i=n.getAttribute("condition"),c=n.getElementsByTagName("conflict"),null!==i?("remote-stream-error"==i&&c.length>0&&(i="conflict"),this._changeConnectStatus(s.Status.CONNFAIL,i)):this._changeConnectStatus(s.Status.CONNFAIL,"unknown"),void 0;this.sid||(this.sid=n.getAttribute("sid")),this.stream_id||(this.stream_id=n.getAttribute("authid"));var o=n.getAttribute("requests");o&&(this.window=parseInt(o,10));var l=n.getAttribute("hold");l&&(this.hold=parseInt(l,10));var u=n.getAttribute("wait");u&&(this.wait=parseInt(u,10));var h,d,f,p,g=!1,m=!1,v=!1,y=n.getElementsByTagName("mechanism");if(!(y.length>0)){var b=this._buildBody();return this._requests.push(new s.Request(b.tree(),this._onRequestStateChange.bind(this,this._connect_cb.bind(this)),b.tree().getAttribute("rid"))),this._throttledRequestHandler(),void 0}for(h=0;h<y.length;h++)d=s.getText(y[h]),"DIGEST-MD5"==d?m=!0:"PLAIN"==d?g=!0:"ANONYMOUS"==d&&(v=!0);null===s.getNodeFromJid(this.jid)&&v?(this._changeConnectStatus(s.Status.AUTHENTICATING,null),this._sasl_success_handler=this._addSysHandler(this._sasl_success_cb.bind(this),null,"success",null,null),this._sasl_failure_handler=this._addSysHandler(this._sasl_failure_cb.bind(this),null,"failure",null,null),this.send(e("auth",{xmlns:s.NS.SASL,mechanism:"ANONYMOUS"}).tree())):null===s.getNodeFromJid(this.jid)?(this._changeConnectStatus(s.Status.CONNFAIL,"x-strophe-bad-non-anon-jid"),this.disconnect()):m?(this._changeConnectStatus(s.Status.AUTHENTICATING,null),this._sasl_challenge_handler=this._addSysHandler(this._sasl_challenge1_cb.bind(this),null,"challenge",null,null),this._sasl_failure_handler=this._addSysHandler(this._sasl_failure_cb.bind(this),null,"failure",null,null),this.send(e("auth",{xmlns:s.NS.SASL,mechanism:"DIGEST-MD5"}).tree())):g?(f=s.getBareJidFromJid(this.jid),f+="\0",f+=s.getNodeFromJid(this.jid),f+="\0",f+=this.pass,this._changeConnectStatus(s.Status.AUTHENTICATING,null),this._sasl_success_handler=this._addSysHandler(this._sasl_success_cb.bind(this),null,"success",null,null),this._sasl_failure_handler=this._addSysHandler(this._sasl_failure_cb.bind(this),null,"failure",null,null),p=Base64.encode(f),this.send(e("auth",{xmlns:s.NS.SASL,mechanism:"PLAIN"}).t(p).tree())):(this._changeConnectStatus(s.Status.AUTHENTICATING,null),this._addSysHandler(this._auth1_cb.bind(this),null,null,null,"_auth_1"),this.send(r({type:"get",to:this.domain,id:"_auth_1"}).c("query",{xmlns:s.NS.AUTH}).c("username",{}).t(s.getNodeFromJid(this.jid)).tree()))}},_sasl_challenge1_cb:function(t){var n,r=/([a-z]+)=("[^"]+"|[^,"]+)(?:,|$)/,i=Base64.decode(s.getText(t)),c=MD5.hexdigest(""+1234567890*Math.random()),a="",o=null,l="",u="";for(this.deleteHandler(this._sasl_failure_handler);i.match(r);)switch(n=i.match(r),i=i.replace(n[0],""),n[2]=n[2].replace(/^"(.+)"$/,"$1"),n[1]){case"realm":a=n[2];break;case"nonce":l=n[2];break;case"qop":u=n[2];break;case"host":o=n[2]}var h="xmpp/"+this.domain;null!==o&&(h=h+"/"+o);var d=MD5.hash(s.getNodeFromJid(this.jid)+":"+a+":"+this.pass)+":"+l+":"+c,f="AUTHENTICATE:"+h,p="";return p+="username="+this._quote(s.getNodeFromJid(this.jid))+",",p+="realm="+this._quote(a)+",",p+="nonce="+this._quote(l)+",",p+="cnonce="+this._quote(c)+",",p+='nc="00000001",',p+='qop="auth",',p+="digest-uri="+this._quote(h)+",",p+="response="+this._quote(MD5.hexdigest(MD5.hexdigest(d)+":"+l+":00000001:"+c+":auth:"+MD5.hexdigest(f)))+",",p+='charset="utf-8"',this._sasl_challenge_handler=this._addSysHandler(this._sasl_challenge2_cb.bind(this),null,"challenge",null,null),this._sasl_success_handler=this._addSysHandler(this._sasl_success_cb.bind(this),null,"success",null,null),this._sasl_failure_handler=this._addSysHandler(this._sasl_failure_cb.bind(this),null,"failure",null,null),this.send(e("response",{xmlns:s.NS.SASL}).t(Base64.encode(p)).tree()),!1},_quote:function(t){return'"'+t.replace(/\\/g,"\\\\").replace(/"/g,'\\"')+'"'},_sasl_challenge2_cb:function(){return this.deleteHandler(this._sasl_success_handler),this.deleteHandler(this._sasl_failure_handler),this._sasl_success_handler=this._addSysHandler(this._sasl_success_cb.bind(this),null,"success",null,null),this._sasl_failure_handler=this._addSysHandler(this._sasl_failure_cb.bind(this),null,"failure",null,null),this.send(e("response",{xmlns:s.NS.SASL}).tree()),!1},_auth1_cb:function(){var t=r({type:"set",id:"_auth_2"}).c("query",{xmlns:s.NS.AUTH}).c("username",{}).t(s.getNodeFromJid(this.jid)).up().c("password").t(this.pass);return s.getResourceFromJid(this.jid)||(this.jid=s.getBareJidFromJid(this.jid)+"/strophe"),t.up().c("resource",{}).t(s.getResourceFromJid(this.jid)),this._addSysHandler(this._auth2_cb.bind(this),null,null,null,"_auth_2"),this.send(t.tree()),!1},_sasl_success_cb:function(){return s.info("SASL authentication succeeded."),this.deleteHandler(this._sasl_failure_handler),this._sasl_failure_handler=null,this._sasl_challenge_handler&&(this.deleteHandler(this._sasl_challenge_handler),this._sasl_challenge_handler=null),this._addSysHandler(this._sasl_auth1_cb.bind(this),null,"stream:features",null,null),this._sendRestart(),!1},_sasl_auth1_cb:function(t){this.features=t;var e,n;for(e=0;e<t.childNodes.length;e++)n=t.childNodes[e],"bind"==n.nodeName&&(this.do_bind=!0),"session"==n.nodeName&&(this.do_session=!0);if(!this.do_bind)return this._changeConnectStatus(s.Status.AUTHFAIL,null),!1;this._addSysHandler(this._sasl_bind_cb.bind(this),null,null,null,"_bind_auth_2");var i=s.getResourceFromJid(this.jid);return i?this.send(r({type:"set",id:"_bind_auth_2"}).c("bind",{xmlns:s.NS.BIND}).c("resource",{}).t(i).tree()):this.send(r({type:"set",id:"_bind_auth_2"}).c("bind",{xmlns:s.NS.BIND}).tree()),!1},_sasl_bind_cb:function(t){if("error"==t.getAttribute("type"))return s.info("SASL binding failed."),this._changeConnectStatus(s.Status.AUTHFAIL,null),!1;var e,n=t.getElementsByTagName("bind");return n.length>0?(e=n[0].getElementsByTagName("jid"),e.length>0&&(this.jid=s.getText(e[0]),this.do_session?(this._addSysHandler(this._sasl_session_cb.bind(this),null,null,null,"_session_auth_2"),this.send(r({type:"set",id:"_session_auth_2"}).c("session",{xmlns:s.NS.SESSION}).tree())):(this.authenticated=!0,this._changeConnectStatus(s.Status.CONNECTED,null))),void 0):(s.info("SASL binding failed."),this._changeConnectStatus(s.Status.AUTHFAIL,null),!1)},_sasl_session_cb:function(t){if("result"==t.getAttribute("type"))this.authenticated=!0,this._changeConnectStatus(s.Status.CONNECTED,null);else if("error"==t.getAttribute("type"))return s.info("Session creation failed."),this._changeConnectStatus(s.Status.AUTHFAIL,null),!1;return!1},_sasl_failure_cb:function(){return this._sasl_success_handler&&(this.deleteHandler(this._sasl_success_handler),this._sasl_success_handler=null),this._sasl_challenge_handler&&(this.deleteHandler(this._sasl_challenge_handler),this._sasl_challenge_handler=null),this._changeConnectStatus(s.Status.AUTHFAIL,null),!1},_auth2_cb:function(t){return"result"==t.getAttribute("type")?(this.authenticated=!0,this._changeConnectStatus(s.Status.CONNECTED,null)):"error"==t.getAttribute("type")&&(this._changeConnectStatus(s.Status.AUTHFAIL,null),this.disconnect()),!1},_addSysTimedHandler:function(t,e){var n=new s.TimedHandler(t,e);return n.user=!1,this.addTimeds.push(n),n},_addSysHandler:function(t,e,n,r,i){var c=new s.Handler(t,e,n,r,i);return c.user=!1,this.addHandlers.push(c),c},_onDisconnectTimeout:function(){s.info("_onDisconnectTimeout was called");for(var t;this._requests.length>0;)t=this._requests.pop(),t.abort=!0,t.xhr.abort(),t.xhr.onreadystatechange=function(){};return this._doDisconnect(),!1},_onIdle:function(){for(var t,e,n,r;this.addTimeds.length>0;)this.timedHandlers.push(this.addTimeds.pop());for(;this.removeTimeds.length>0;)e=this.removeTimeds.pop(),t=this.timedHandlers.indexOf(e),t>=0&&this.timedHandlers.splice(t,1);var i=(new Date).getTime();for(r=[],t=0;t<this.timedHandlers.length;t++)e=this.timedHandlers[t],(this.authenticated||!e.user)&&(n=e.lastCalled+e.period,0>=n-i?e.run()&&r.push(e):r.push(e));this.timedHandlers=r;var c,a;if(this.authenticated&&0===this._requests.length&&0===this._data.length&&!this.disconnecting&&(s.info("no requests during idle cycle, sending blank request"),this._data.push(null)),this._requests.length<2&&this._data.length>0&&!this.paused){for(c=this._buildBody(),t=0;t<this._data.length;t++)null!==this._data[t]&&("restart"===this._data[t]?c.attrs({to:this.domain,"xml:lang":"en","xmpp:restart":"true","xmlns:xmpp":s.NS.BOSH}):c.cnode(this._data[t]).up());delete this._data,this._data=[],this._requests.push(new s.Request(c.tree(),this._onRequestStateChange.bind(this,this._dataRecv.bind(this)),c.tree().getAttribute("rid"))),this._processRequest(this._requests.length-1)}this._requests.length>0&&(a=this._requests[0].age(),null!==this._requests[0].dead&&this._requests[0].timeDead()>Math.floor(s.SECONDARY_TIMEOUT*this.wait)&&this._throttledRequestHandler(),a>Math.floor(s.TIMEOUT*this.wait)&&(s.warn("Request "+this._requests[0].id+" timed out, over "+Math.floor(s.TIMEOUT*this.wait)+" seconds since last activity"),this._throttledRequestHandler())),clearTimeout(this._idleTimeout),this.connected&&(this._idleTimeout=setTimeout(this._onIdle.bind(this),100))}},t&&t(s,e,n,r,i)}(function(){window.Strophe=arguments[0],window.$build=arguments[1],window.$msg=arguments[2],window.$iq=arguments[3],window.$pres=arguments[4]});