Archived
1
0
Fork 0
This repository has been archived on 2018-09-13. You can view files and clone it, but cannot push or open issues or pull requests.
sjqg/js/jQuery.colorBlend.pack.js

1 line
No EOL
8.6 KiB
JavaScript

eval(function(p,a,c,k,e,r){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--)r[e(c)]=k[c]||e(c);k=[function(e){return r[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}('(8($){7 l=\'1.5.0\';7 m=[];7 q=0;$.X.Y=8(f){6(!f){f=[{}]}7 g=[];O.B(8(){g[g.n]=$.1t($(O).1u(0))});o O.B(8(){7 c=$.1t($(O).1u(0));7 d=$(O);7 e=9;6(14(m[c])){m[c]=[]}$.B(f,8(i,v){7 a=9;f[i]=$.1e({},$.X.Y.1v,f[i]);f[i].P=[];f[i].4=$.1e({},$.X.Y.4);f[i].A=d;6(f[i].x=="1w"){e=1x(f[i].15)}$.B(m[c],8(j,w){6(m[c][j].x.C()==f[i].x.C()||f[i].x.C()==\'1w\'){6(!m[c][j].4.F){m[c].1y(j,1,Z(f[i]))}a=p;o 9}});6(!a){m[c].1z(Z(f[i]))}});6(!e){$.B(m[c],8(i,v){7 a=m[c][i].4.F;7 b=m[c][i].4.G;$.B(f,8(j,w){6(m[c][i].x.C()!=f[j].x.C()){o p}17(f[j].15){t"18":t"1A":1f(m[c][i].4.J);m[c][i].4.G=p;b=p;6(f[j].15=="18"){m[c][i].4.F=9}y;t"1B":a=p;b=9;m[c][i].4.G=9;Q(m[c][i]);y;1S:6(!a){m[c][i]=Z(f[j])}K{6(m[c][i].1g&&m[c][i].10>0){m[c][i].P.1z(Z(f[j]))}}y}});6(!a&&!b){Q(m[c][i])}})}});8 1x(b){7 c=9;$.B(g,8(i,v){7 a=m[v];$.B(a,8(j,w){17(b){t"18":t"1A":c=p;1f(a[j].4.J);a[j].4.G=p;6(b=="18"){a[j].4.F=9}y;t"1B":c=p;a[j].4.G=9;Q(a[j]);y}})});o c}};$.X.Y.1v={1C:30,1h:1D,x:"1T-1U",10:0,R:9,19:p,z:"1i",u:"1j",1E:"S,S",15:"",1g:p};$.X.Y.4={11:[],1k:[],H:0,L:0,T:1,M:0,U:0,1F:9,1G:9,F:9,1l:9,J:0,G:9};8 Z(a){6(!a.4.F){7 b=a.1E.I(",");17(a.z.C()){t"1i":a.z=a.A.V(a.x);y;t"A":t"1m":a.z=1n(a.A,a.x);y;t"1j":a.z=1o(a.u);y;t"R":a.z=W();a.4.1F=p;y}17(a.u.C()){t"1i":a.u=a.A.V(a.x);y;t"A":t"1m":a.u=1n(a.A,a.x);y;t"1j":a.u=1o(a.z);y;t"R":a.u=W();a.4.1G=p;y}6(a.u==a.z){a.A.V(a.x,a.u)}a.4.L=a.10>0?a.10:0;a.4.M=D.E(a.1C*(a.1h/1D));a.4.U=D.E(a.1h/(a.4.M+1));6(a.R){a.19=9;a.z=W();a.u=W()}6(a.19){a.4.L=a.4.L*2;a.4.U=D.E(a.4.U/2);a.4.M=D.E(a.4.M/2)}6((b.n==1&&b[0]!=S)||(b.n==2&&(b[0]!=S||b[1]!=S))){6(b.n==2){6(12(b[0])!=12(b[1])){a.4.1l=p;a.4.1k=1H(b[0],b[1],a.4)}K{1a(a.A,b[0])}}K{6(12(b[0])){1a(a.A,b[0])}}}a.4.11=1p(a.z,a.u,a.4);o a}}8 Q(a){6(!a.4.G){7 b=9;a.4.F=p;6(a.z!=a.u){a.A.V(a.x,a.4.11[a.4.H])}6(a.4.1l){1a(a.A,a.4.1k[a.4.H])}a.4.H+=a.4.T;6(a.4.H<0||a.4.H>=a.4.11.n){a.4.L-=a.4.L!=0?1:0;a.4.T=a.4.T*-1;a.4.H+=a.4.T;6(a.R){a.z=a.u;a.u=W();a.4.11=1p(a.z,a.u,a.4)}6(!a.19){a.4.T=1;a.4.H=0}6(a.4.L==0&&a.10>0){b=p}}6(!b){a.4.J=1I(8(){Q(a)},a.4.U)}K{1f(a.4.J);a.4.J=0;6(a.1g&&a.P.n>0){7 c=a.P.1J();c.1y(0,1);a=$.1e(a,a.P.1V());a.P=c.1J();a.4.J=1I(8(){Q(a)},a.4.U)}K{a.4.F=9;a.4.G=p}}}}8 1a(a,b){a.V("1W",1X(b/S))}8 1H(a,b,c){7 d=c.M;7 e=0;7 f=[];7 h=0;13(e=0;e<=d;e++){h=D.E(a*((d-e)/d)+b*(e/d));f[f.n]=h}6(h!=b){f[f.n]=12(b)}o f}8 1p(a,c,d){7 e=d.M;7 f=0;7 r,g,b,h;7 i=[];a=1b(a);c=1b(c);7 j=1q(a).I(\', \');7 k=1q(c).I(\', \');13(f=0;f<=e;f++){r=D.E(j[0]*((e-f)/e)+k[0]*(f/e));g=D.E(j[1]*((e-f)/e)+k[1]*(f/e));b=D.E(j[2]*((e-f)/e)+k[2]*(f/e));h=1r(r,g,b);i[i.n]=h}6(h.C()!=c.C()){i[i.n]=c}o i}8 1K(a){o 1L()[a.C()]}8 1L(){7 a=[];a["1Y"]="1Z";a["20"]="21";a["22"]="1M";a["23"]="24";a["25"]="26";a["27"]="28";a["29"]="2a";a["2b"]="1N";a["2c"]="2d";a["2e"]="2f";a["2g"]="2h";a["2i"]="2j";a["2k"]="2l";a["2m"]="2n";a["2o"]="2p";a["2q"]="2r";a["2s"]="2t";a["2u"]="2v";a["2w"]="2x";a["2y"]="2z";a["2A"]="1M";a["2B"]="2C";a["2D"]="2E";a["2F"]="2G";a["2H"]="2I";a["2J"]="2K";a["2L"]="2M";a["2N"]="2O";a["2P"]="2Q";a["2R"]="2S";a["2T"]="2U";a["2V"]="2W";a["2X"]="2Y";a["2Z"]="31";a["32"]="33";a["34"]="35";a["36"]="37";a["38"]="39";a["3a"]="3b";a["3c"]="3d";a["3e"]="3f";a["3g"]="3h";a["3i"]="3j";a["3k"]="3l";a["3m"]="3n";a["3o"]="1O";a["3p"]="3q";a["3r"]="3s";a["3t"]="3u";a["3v"]="3w";a["3x"]="3y";a["3z"]="3A";a["3B"]="3C";a["3D"]="3E";a["3F"]="3G";a["3H"]="3I";a["3J"]="3K";a["3L"]="3M";a["3N"]="3O";a["3P"]="3Q";a["3R"]="3S";a["3T"]="3U";a["3V"]="3W";a["3X"]="3Y";a["3Z"]="40";a["41"]="42";a["43"]="44";a["45"]="46";a["47"]="48";a["49"]="4a";a["4b"]="4c";a["4d"]="4e";a["4f"]="4g";a["4h"]="4i";a["4j"]="4k";a["4l"]="4m";a["4n"]="4o";a["4p"]="4q";a["4r"]="4s";a["4t"]="1O";a["4u"]="4v";a["4w"]="4x";a["4y"]="4z";a["4A"]="4B";a["4C"]="4D";a["4E"]="4F";a["4G"]="4H";a["4I"]="4J";a["4K"]="4L";a["4M"]="4N";a["4O"]="4P";a["4Q"]="4R";a["4S"]="4T";a["4U"]="4V";a["4W"]="4X";a["4Y"]="4Z";a["50"]="51";a["52"]="53";a["54"]="55";a["56"]="57";a["58"]="59";a["5a"]="5b";a["5c"]="5d";a["5e"]="5f";a["5g"]="5h";a["5i"]="5j";a["5k"]="5l";a["5m"]="5n";a["5o"]="5p";a["5q"]="5r";a["5s"]="5t";a["5u"]="5v";a["5w"]="5x";a["5y"]="5z";a["5A"]="5B";a["5C"]="5D";a["5E"]="5F";a["5G"]="5H";a["5I"]="5J";a["5K"]="5L";a["5M"]="5N";a["5O"]="5P";a["5Q"]="5R";a["5S"]="5T";a["5U"]="5V";a["5W"]="5X";a["5Y"]="5Z";a["60"]="61";a["62"]="63";a["64"]="65";a["66"]="67";a["68"]="69";a["6a"]="6b";a["6c"]="6d";a["6e"]="6f";a["6g"]="6h";a["6i"]="1P";a["6j"]="6k";a["6l"]="6m";a["6n"]="6o";o a}8 1o(a){a=1b(a).I("#").N(\'\').I(\'\');7 b="6p";7 c=b.I(\'\').6q().N(\'\');7 d;13(7 i=0;i<a.n;i++){d=b.1s(a[i]);a[i]=c.6r(d,d+1)}o"#"+a.N(\'\')}8 1r(r,g,b){r=r.1c(16);6(r.n==1)r=\'0\'+r;g=g.1c(16);6(g.n==1)g=\'0\'+g;b=b.1c(16);6(b.n==1)b=\'0\'+b;o"#"+r+g+b}8 1q(a){7 b=[];a=a.1d("#","");13(7 i=0;i<3;i++){b[b.n]=12(a.6s(i*2,2),16)}o b.N(\', \')}8 1b(a){a=14(a)?"#1P":a;6(a.1s("1Q(")>-1){a=a.1d("1Q(","").1d(")","");a=6t(\'1r(\'+a+\')\')}K{6(a.1s("#")>-1){a=a.1d("#","");6(a.n==3){7 s=a.I(\'\');$.B(s,8(i){s[i]=s[i]+s[i]});a=s.N(\'\')}}K{7 b=1K(a);a=!14(b)?b:"1N"}}o"#"+a.6u().I(\'#\').N(\'\')}8 1n(b,c){7 d="#6v";$(b).6w().B(8(){7 a=$(O).V(c);6(a!=\'1m\'){d=a;o 9}});o d}8 W(){7 a=[];7 b;13(7 i=0;i<3;i++){b=1R(0,6x).1c(16);6(b.n==1)b=\'0\'+b;a[a.n]=b}o"#"+a.N(\'\')}8 1R(a,b){o D.E(D.R()*(b-a+1))+a}8 14(a){o 6y(a)==\'6z\'?p:9}})(6A);',62,409,'||||internals||if|var|function|false||||||||||||||length|return|true||||case|toColor|||param|break|fromColor|parent|each|toLowerCase|Math|floor|animating|isPOrS|pos|split|tId|else|currentCycle|frames|join|this|queue|go|random|100|direction|delay|css|rndColor|fn|colorBlend|setOptions|cycles|aniArray|parseInt|for|udf|action||switch|stop|isFade|setAlpha|toHexColor|toString|replace|extend|clearTimeout|isQueue|duration|current|opposite|alphaArry|isAlpha|transparent|checkParentColor|OppositeColor|buildAnimation|ColorHexToDec|ColorDecToHex|indexOf|data|get|defaults|all|FlagAll|splice|push|pause|resume|fps|1000|alpha|fromRand|toRand|buildAlphaAni|setTimeout|concat|getHexColorByName|allColorsByName|00FFFF|000000|FF00FF|FFFFFF|rgb|randRange|default|background|color|shift|opacity|parseFloat|aliceblue|F0F8FF|antiquewhite|FAEBD7|aqua|aquamarine|7FFFD4|azure|F0FFFF|beige|F5F5DC|bisque|FFE4C4|black|blanchedalmond|FFEBCD|blue|0000FF|blueviolet|8A2BE2|brown|A52A2A|burlywood|DEB887|cadetblue|5F9EA0|chartreuse|7FFF00|chocolate|D2691E|coral|FF7F50|cornflowerblue|6495ED|cornsilk|FFF8DC|crimson|DC143C|cyan|darkblue|00008B|darkcyan|008B8B|darkgoldenrod|B8860B|darkgray|A9A9A9|darkgreen|006400|darkkhaki|BDB76B|darkmagenta|8B008B|darkolivegreen|556B2F|darkorange|FF8C00|darkorchid|9932CC|darkred|8B0000|darksalmon|E9967A|darkseagreen||8FBC8F|darkslateblue|483D8B|darkslategray|2F4F4F|darkturquoise|00CED1|darkviolet|9400D3|deeppink|FF1493|deepskyblue|00BFFF|dimgray|696969|dodgerblue|1E90FF|firebrick|B22222|floralwhite|FFFAF0|forestgreen|228B22|fuchsia|gainsboro|DCDCDC|ghostwhite|F8F8FF|gold|FFD700|goldenrod|DAA520|gray|808080|green|008000|greenyellow|ADFF2F|honeydew|F0FFF0|hotpink|FF69B4|indianred|CD5C5C|indigo|4B0082|ivory|FFFFF0|khaki|F0E68C|lavender|E6E6FA|lavenderblush|FFF0F5|lawngreen|7CFC00|lemonchiffon|FFFACD|lightblue|ADD8E6|lightcoral|F08080|lightcyan|E0FFFF|lightgoldenrodyellow|FAFAD2|lightgreen|90EE90|lightgrey|D3D3D3|lightpink|FFB6C1|lightsalmon|FFA07A|lightseagreen|20B2AA|lightskyblue|87CEFA|lightslategray|778899|lightsteelblue|B0C4DE|lightyellow|FFFFE0|lime|00FF00|limegreen|32CD32|linen|FAF0E6|magenta|maroon|800000|mediumaquamarine|66CDAA|mediumblue|0000CD|mediumorchid|BA55D3|mediumpurple|9370DB|mediumseagreen|3CB371|mediumslateblue|7B68EE|mediumspringgreen|00FA9A|mediumturquoise|48D1CC|mediumvioletred|C71585|midnightblue|191970|mintcream|F5FFFA|mistyrose|FFE4E1|moccasin|FFE4B5|navajowhite|FFDEAD|navy|000080|oldlace|FDF5E6|olive|808000|olivedrab|6B8E23|orange|FFA500|orangered|FF4500|orchid|DA70D6|palegoldenrod|EEE8AA|palegreen|98FB98|paleturquoise|AFEEEE|palevioletred|DB7093|papayawhip|FFEFD5|peachpuff|FFDAB9|peru|CD853F|pink|FFC0CB|plum|DDA0DD|powderblue|B0E0E6|purple|800080|red|FF0000|rosybrown|BC8F8F|royalblue|4169E1|saddlebrown|8B4513|salmon|FA8072|sandybrown|F4A460|seagreen|2E8B57|seashell|FFF5EE|sienna|A0522D|silver|C0C0C0|skyblue|87CEEB|slateblue|6A5ACD|slategray|708090|snow|FFFAFA|springgreen|00FF7F|steelblue|4682B4|tan|D2B48C|teal|008080|thistle|D8BFD8|tomato|FF6347|turquoise|40E0D0|violet|EE82EE|wheat|F5DEB3|white|whitesmoke|F5F5F5|yellow|FFFF00|yellowgreen|9ACD32|0123456789ABCDEF|reverse|substring|substr|eval|toUpperCase|ffffff|parents|255|typeof|undefined|jQuery'.split('|'),0,{}))