firefly-iii/public/assets/javascript/highslide.js
James Cole 0bcda34738 - Full move to high charts.
- Cleanup homepage.
- Expanded libraries
- Added limits (for budgets)
- Extended models
- Added popups for charts.
- [skip-ci]
2014-07-17 20:52:54 +02:00

10 lines
11 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/**
* Name: Highslide JS
* Version: 4.1.13 (2011-10-06)
* Config: default -outlines -overlays -navigation -dragging -preloading -autosize -multiple -hideelements +packed
* Author: Torstein Hønsi
* Support: www.highslide.com/support
* License: www.highslide.com/#license
*/
eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('j(!f){m f={1a:{5v:\'3R\',3E:\'5E...\',3q:\'3s 1q 5N\',3m:\'3s 1q 1B 2G\'},2T:\'W/5t/\',2j:\'5x.3u\',3e:\'5O.3u\',4s:3b,4o:3b,6e:15,62:15,5R:15,5X:15,23:4R,3y:0.4V,3U:3X,3z:3X,r:[],2B:[\'3Z\',\'3U\',\'3z\',\'2d\',\'2C\',\'4v\',\'4I\',\'P\',\'41\',\'40\',\'U\'],1r:[],5n:{},29:[],1y:/5k\\/4\\.0/.2X(37.34)?8:3a((37.34.2o().3Q(/.+(?:53|4Z|6c|1c)[\\/: ]([\\d.]+)/)||[0,\'0\'])[1]),1c:(v.56&&!1l.44),49:/57/.2X(37.34),$:k(1f){j(1f)o v.55(1f)},2D:k(39,1p){39[39.17]=1p},19:k(3D,1N,1o,3d,3C){m h=v.19(3D);j(1N)f.25(h,1N);j(3C)f.T(h,{4Y:0,51:\'2N\',2I:0});j(1o)f.T(h,1o);j(3d)3d.1M(h);o h},25:k(h,1N){S(m x 1U 1N)h[x]=1N[x];o h},T:k(h,1o){S(m x 1U 1o){j(f.1w&&x==\'Z\'){j(1o[x]>0.5a)h.z.5b(\'2g\');O h.z.2g=\'3v(Z=\'+(1o[x]*2p)+\')\'}O h.z[x]=1o[x]}},2Q:k(h,u,12){m 1x,1P,1D;j(H 12!=\'4j\'||12===A){m 1T=4l;12={1F:1T[2],P:1T[3],2F:1T[4]}}j(H 12.1F!=\'3K\')12.1F=3b;12.P=1s[12.P]||1s.3G;12.2t=f.25({},u);S(m 16 1U u){m e=1E f.C(h,12,16);1x=3a(f.33(h,16))||0;1P=3a(u[16]);1D=16!=\'Z\'?\'K\':\'\';e.1m(1x,1P,1D)}},33:k(h,u){j(h.z[u]){o h.z[u]}O j(v.3t){o v.3t.5h(h,A).5d(u)}O{j(u==\'Z\')u=\'2g\';m 1p=h.5c[u.1Z(/\\-(\\w)/g,k(a,b){o b.5e()})];j(u==\'2g\')1p=1p.1Z(/3v\\(Z=([0-9]+)\\)/,k(a,b){o b/2p});o 1p===\'\'?1:1p}},2l:k(){m d=v,w=1l,1S=d.3c&&d.3c!=\'4f\'?d.1K:d.2f,1w=f.1c&&(f.1y<9||H 3Y==\'1g\');m V=1w?1S.3B:(d.1K.3B||2c.4C),14=1w?1S.4B:2c.4D;f.1Q={V:V,14:14,2V:1w?1S.2V:3Y,2S:1w?1S.2S:4J};o f.1Q},4u:k(h){m p={x:h.3F,y:h.3T};2Z(h.3S){h=h.3S;p.x+=h.3F;p.y+=h.3T;j(h!=v.2f&&h!=v.1K){p.x-=h.2V;p.y-=h.2S}}o p},4W:k(a,R,1m,4k){j(!a)a=f.19(\'a\',A,{2H:\'2N\'},f.1i);j(H a.1Y==\'k\')o R;10{1E f.1X(a,R,1m);o 18}X(e){o L}},3I:k(a,20){a.1Y=a.1W;m p=a.1Y?a.1Y():A;a.1Y=A;o(p&&H p[20]!=\'1g\')?p[20]:(H f[20]!=\'1g\'?f[20]:A)},4T:k(a){m U=f.3I(a,\'U\');j(U)o U;o a.2e},2R:k(d){j(d)f.3o.1M(d);f.3o.3r=\'\'},3M:k(3f,2v){m h,31=/^W-B-([0-9]+)$/;h=3f;2Z(h.2i){j(h.1f&&31.2X(h.1f))o h.1f.1Z(31,"$1");h=h.2i}j(!2v){h=3f;2Z(h.2i){j(h.4M&&f.3L(h)){S(m E=0;E<f.r.17;E++){m q=f.r[E];j(q&&q.a==h)o E}}h=h.2i}}o A},3x:k(h,2v){j(H h==\'1g\')o f.r[f.1R]||A;j(H h==\'3K\')o f.r[h]||A;j(H h==\'4O\')h=f.$(h);o f.r[f.3M(h,2v)]||A},3L:k(a){o(a.1W&&a.1W.5o().1Z(/\\s/g,\' \').3Q(/f.(61|e)5W/))},1v:k(h,11,1d){j(h==v&&11==\'1I\'){f.2D(f.29,1d)}10{h.1v(11,1d,18)}X(e){10{h.3H(\'1V\'+11,1d);h.5V(\'1V\'+11,1d)}X(e){h[\'1V\'+11]=1d}}},3J:k(h,11,1d){10{h.3J(11,1d,18)}X(e){10{h.3H(\'1V\'+11,1d)}X(e){h[\'1V\'+11]=A}}},4w:k(){j(!f.1i){f.4d=f.1c&&f.1y<7;f.1w=f.1c&&f.1y<9;f.2l();S(m x 1U f.2m){j(H f[x]!=\'1g\')f.1a[x]=f[x];O j(H f.1a[x]==\'1g\'&&H f.2m[x]!=\'1g\')f.1a[x]=f.2m[x]}f.1i=f.19(\'2A\',{1z:\'W-1i\'},{2s:\'2k\',1C:0,1h:0,V:\'2p%\',1L:f.23,6b:\'3R\'},v.2f,L);f.I=f.19(\'a\',{1z:\'W-I\',3n:f.1a.3q,3r:f.1a.3E,2e:\'69:;\'},{2s:\'2k\',1h:\'-2r\',Z:f.3y,1L:1},f.1i);f.3o=f.19(\'2A\',A,{2H:\'2N\'},f.1i);1s.67=k(t,b,c,d){o c*t/d+b};1s.3G=k(t,b,c,d){o c*(t/=d)*t+b}}},1I:k(){j(f.2O)o;f.2O=L;S(m i=0;i<f.29.17;i++)f.29[i]()},1B:k(h){m q=f.3x(h);j(q)q.1B();o 18}};f.C=k(N,G,u){5.G=G;5.N=N;5.u=u;j(!G.3w)G.3w={}};f.C.2P={2L:k(){(f.C.1n[5.u]||f.C.1n.3P)(5);j(5.G.1n)5.G.1n.3N(5.N,5.1J,5)},1m:k(3p,1q,1D){5.2K=(1E 3V()).3O();5.1x=3p;5.1P=1q;5.1D=1D;5.1J=5.1x;5.D=5.2M=0;m 2c=5;k t(2q){o 2c.1n(2q)}t.N=5.N;j(t()&&f.1r.2D(t)==1){f.3W=5u(k(){m 1r=f.1r;S(m i=0;i<1r.17;i++)j(!1r[i]())1r.5q(i--,1);j(!1r.17){5r(f.3W)}},13)}},1n:k(2q){m t=(1E 3V()).3O();j(2q||t>=5.G.1F+5.2K){5.1J=5.1P;5.D=5.2M=1;5.2L();5.G.2t[5.u]=L;m 2E=L;S(m i 1U 5.G.2t)j(5.G.2t[i]!==L)2E=18;j(2E){j(5.G.2F)5.G.2F.3N(5.N)}o 18}O{m n=t-5.2K;5.2M=n/5.G.1F;5.D=5.G.P(n,0,1,5.G.1F);5.1J=5.1x+((5.1P-5.1x)*5.D);5.2L()}o L}};f.25(f.C,{1n:{Z:k(C){f.T(C.N,{Z:C.1J})},3P:k(C){10{j(C.N.z&&C.N.z[C.u]!=A)C.N.z[C.u]=C.1J+C.1D;O C.N[C.u]=C.1J}X(e){}}}});f.2n=k(q,1b){5.q=q;5.1b=1b;5.1H=1b==\'x\'?\'5A\':\'5y\';5.1t=5.1H.2o();5.24=1b==\'x\'?\'65\':\'6d\';5.4y=5.24.2o();5.2z=1b==\'x\'?\'63\':\'5U\';5.5T=5.2z.2o()};f.2n.2P={M:k(E){5Q(E){1O\'2J\':o 5.Q+5.1u+(5.t-f.I[\'2h\'+5.1H])/2;1O\'1e\':o 5.21+2*5.1j;1O\'3g\':o 5.2a-5.1A-5.2b;1O\'60\':o 5.M(\'3g\')-2*5.1j;1O\'5f\':o 5.D;1O\'4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=5.x=1E f.2n(5,\'x\');x.2y();m y=5.y=1E f.2n(5,\'y\');y.2y();5.B=f.19(\'2A\',{1f:\'W-B-\'+5.E,1z:\'W-B \'+5.3Z},{26:\'4r\',2s:\'2k\',1L:f.23+=2},A,L);5[5.22+\'5Y\']();o L};f.1X.2P={4c:k(e){j(f.5H)5G(\'5F \'+e.5D+\': \'+e.5I);O 1l.5J.2e=5.U},48:k(){j(5.27||5.I)o;5.I=f.I;m q=5;5.I.1W=k(){q.3h()};m q=5,l=5.x.M(\'2J\')+\'K\',t=5.y.M(\'2J\')+\'K\';32(k(){j(q.I)f.T(q.I,{1C:l,1h:t,1L:f.23++})},2p)},5M:k(){m q=5;m J=v.19(\'J\');5.F=J;J.4b=k(){j(f.r[q.E])q.4a()};J.1W=k(){10{q.1B()}X(e){}};j(f.5L)J.5K=k(){o 18};J.1z=\'W-2G\';f.T(J,{26:\'4r\',2H:\'5C\',2s:\'2k\',2d:\'2r\',1L:3});J.3n=f.1a.3m;j(f.49&&f.1y<5s)f.1i.1M(J);j(f.1c&&f.5p)J.U=A;J.U=5.U;5.48()},4a:k(){10{j(!5.F)o;5.F.4b=A;j(5.27)o;O 5.27=L;m x=5.x,y=5.y;j(5.I){f.T(5.I,{1h:\'-2r\'});5.I=A}x.Y=5.F.V;y.Y=5.F.14;f.T(5.F,{V:x.t+\'K\',14:y.t+\'K\'});5.B.1M(5.F);f.1i.1M(5.B);x.2w();y.2w();f.T(5.B,{1C:(x.Q+x.1u-x.1j)+\'K\',1h:(y.Q+x.1u-y.1j)+\'K\'});m 5z=x.Y/y.Y;x.2x();5.28(x);y.2x();5.28(y);5.46()}X(e){5.4c(e)}},28:k(p,47){m 5w,68=p.66,1b=p==5.x?\'x\':\'y\';m 3l=18;p.D=1s.64(p.D-((p.M(\'1e\')-p.t)/2));j(p.D<p.1k+p.1A){p.D=p.1k+p.1A;3l=L}j(p.D+p.M(\'1e\')>p.1k+p.2a-p.2b){j(!47&&3l){}O j(p.M(\'1e\')<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\'z\',{4k:\'5i/33\'},A,v.4g(\'5l\')[0]),4h=v.3c==\'4f\';k 2u(35,36){j(f.1c&&(f.1y<9||4h)){m 38=v.4i[v.4i.17-1];j(H(38.2u)=="4j")38.2u(35,36)}O{z.1M(v.59(35+" {"+36+"}"))}}k 58(u){o\'4E( ( ( 4K = v.1K.\'+u+\' ? v.1K.\'+u+\' : v.2f.\'+u+\' ) ) + \\\'K\\\' );\'}j(f.2j)2u(\'.W J\',\'2U: 4m(\'+f.2T+f.2j+\'), 3i !5P;\')}});f.1v(1l,\'5B\',k(){f.2l()})}',62,387,'|||||this||||||||||hs||el||if|function||var||return||exp|expanders|||prop|document||||style|null|wrapper|fx|pos|key|content|options|typeof|loading|img|px|true|get|elem|else|easing|tpos|params|for|setStyles|src|width|highslide|catch|full|opacity|try|event|opt||height||name|length|false|createElement|lang|dim|ie|func|wsize|id|undefined|top|container|cb|scroll|window|custom|step|styles|val|to|timers|Math|wh|tb|addEventListener|ieLt9|start|uaVersion|className|marginMin|close|left|unit|new|duration|up|ucwh|ready|now|documentElement|zIndex|appendChild|attribs|case|end|page|focusKey|iebody|args|in|on|onclick|Expander|getParams|replace|param|size|contentType|zIndexCounter|uclt|extend|visibility|onLoadStarted|justify|onReady|clientSize|marginMax|self|maxWidth|href|body|filter|offset|parentNode|expandCursor|absolute|getPageSize|langDefaults|Dimension|toLowerCase|100|gotoEnd|9999px|position|curAnim|addRule|expOnly|calcBorders|calcExpanded|calcThumb|ucrb|div|overrides|maxHeight|push|done|complete|image|display|margin|loadingPos|startTime|update|state|none|isReady|prototype|animate|discardElement|scrollTop|graphicsDir|cursor|scrollLeft|afterClose|test|styleRestoreCursor|while|changeSize|re|setTimeout|css|userAgent|sel|dec|navigator|last|arr|parseFloat|250|compatMode|parent|restoreCursor|element|fitsize|cancelLoading|pointer|dur|focus|hasMovedMin|restoreTitle|title|garbageBin|from|loadingTitle|innerHTML|Click|defaultView|cur|alpha|orig|getExpander|loadingOpacity|minHeight|min|clientWidth|nopad|tag|loadingText|offsetLeft|easeInQuad|detachEvent|getParam|removeEventListener|number|isHsAnchor|getWrapperKey|call|getTime|_default|match|ltr|offsetParent|offsetTop|minWidth|Date|timerId|200|pageXOffset|wrapperClassName|fadeInOut|easingClose|after|visible|opera|afterExpand|show|moveOnly|showLoading|safari|contentLoaded|onload|error|ieLt7|isExpanded|BackCompat|getElementsByTagName|backCompat|styleSheets|object|type|arguments|url|isClosing|restoreDuration|active|anchor|hidden|expandDuration|thumbnailId|getPosition|pageOrigin|init|thumb|lt|doScroll|HsExpander|clientHeight|innerWidth|innerHeight|expression|callee|auto|isHtml|slideshowGroup|pageYOffset|ignoreMe|osize|tagName|thumbsUserSetId|string|hand|default|1001|DOMContentLoaded|getSrc|parseInt|75|expand|isImage|padding|it||border|minSize|rv|setPos|getElementById|all|Safari|fix|createTextNode|99|removeAttribute|currentStyle|getPropertyValue|toUpperCase|opos|load|getComputedStyle|text|readyState|Trident|HEAD|max|clones|toString|flushImgSize|splice|clearInterval|525|graphics|setInterval|cssDirection|tgtArr|zoomin|Height|ratio|Width|resize|block|lineNumber|Loading|Line|alert|debug|message|location|oncontextmenu|blockRightClick|imageCreate|cancel|zoomout|important|switch|marginTop|allowSimultaneousLoading|rb|Bottom|attachEvent|xpand|marginBottom|Create|setSize|maxsize|htmlE|marginRight|Right|round|Left|target|linearTween|tgt|javascript|tmpMin|direction|ra|Top|marginLeft'.split('|'),0,{}))