PyukiWiki CVS Commit
pyuki****@lists*****
2012年 8月 3日 (金) 04:48:07 JST
Index: PyukiWiki-Devel-UTF8/skin/twitter.js diff -u PyukiWiki-Devel-UTF8/skin/twitter.js:1.408 PyukiWiki-Devel-UTF8/skin/twitter.js:1.409 --- PyukiWiki-Devel-UTF8/skin/twitter.js:1.408 Wed Aug 1 03:46:53 2012 +++ PyukiWiki-Devel-UTF8/skin/twitter.js Fri Aug 3 04:48:07 2012 @@ -1,5 +1,5 @@ /* "PyukiWiki" ver 0.2.1-alpha2-dev3 $$ - * $Id: twitter.js,v 1.408 2012/07/31 18:46:53 papu Exp $ + * $Id: twitter.js,v 1.409 2012/08/02 19:48:07 papu Exp $ */ -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}('5 1i(j,m,l,n,e,k,f,g,h,b,a,c){3.1i(j,m,l,n,e,k,f,g,h,b,a,c)}u 3={G:0,Q:3t,29:"3s",28:"3r",27:"3q",1R:13,1Q:"1A",1O:13,1N:"2e",1L:11,1K:"2e",1J:12,1k:"2d",10:0,1m:0,L:"",B:"B://",3:"1e.3p",1h:"&3o;",F:"3n",1r:0,1q:"",1n:/2d([8][8][8]|[8][8][8][8][8][8])/1a,1f:5(a){6 d.3m(a)},1i:5(k,n,m,o,e,l,f,g,j,b,a,c){u h;h=\'<15 19="\'+b+\'" x="K-v:\'+3.t(f)+"; 1U:3l 3k "+3.t(o)+\';">\';h=h+\'<I><2c 19="M%" x="K-v:\'+3.t(e)+"; v:"+3.t(l)+\';">\'+n+"</2c></I>";h=h+\'<I><J 19="M%" x="K-v:\'+3.t(f)+"; v:"+3.t(g)+\';"><E 1V="1e"></E></J></I>\';h=h+"</15>";h=h.z(3.1n,"#$1");3.Q=m;7(a==1){3.10=1}7(c==1){3.1m=1}7(k.T(/^@/)){k=k.z(/^@/,"");3.25(k)}y{3.2b(k)}1t(3.1f("1i"),h)},2 a:5(b,e,c){u a=3.B+"14."+3.3+"/14.26?3j="+3.Q+3.1h+"q="+1G(b);7(O e===3.F){a=a+3.1h+"1g=?"}y{a=a+3.1h+"1g="+e}6 a},2b:5(a){3.L=3.2a(a,"3.1c");3.1b(3.L,5(b){3.1c(b)});3.1s("14")},1c:5(j){u p,k="",l=3.29,c=3.28,o=3.27;1j(i=0;i<3.Q;i++){3i{p=j.3h[i];u q=p.D,h=p.3g,n=p.3f,g=p.23,f=p.22,b=p.21;k=k+3.1p(h,n,g,q,l,c,o,f,b)}3e(m){}}1t(3.1f("1e"),k)},24:5(b,e,c){u a=3.B+3.3+"/3d/3c/"+b+".26";7(O e===3.F){a=a+"?1g=?"}y{a=a+"?1g="+e}6 a},25:5(a){3.L=3.24(a,"3.1d");3.1b(3.L,5(b){3.1d(b)});3.1s("C")},1d:5(e){u a="",b="",c="",f="";1j(i=0;i<3.Q;i++){a=a+3.1p(e[i].C.3b,e[i].C.3a,e[i].C.23,e[i].D,b?b:e[i].C.39,c?c:e[i].C.38,f?37:e[i].C.36,e[i].22,e[i].21)}1t(3.1f("1e"),a)},1s:5(a){3.1q=a;7(O w.1Z!=3.F){w.1Z("35",3.P)}y{7(O d.1Y!==3.F){d.1Y("33",3.P,32)}y{d.31(30(\'%2Z 1o="\'+3.P+\'" 2Y="D/2X"%1X%2W/1W%1X\'))}}},P:5(){2V(3.P,1x*1y);7(3.1r==0){3.1r=1}y{u a=3.1b(3.L,5(c){u b;7(3.1q=="C"){b=3.1d(c)}y{b=3.1c(c)}})}},1b:5(a,c){u b=d.2U("1W");b.1o=a;b.1V="2T";2S.2R.2Q(b)},1p:5(o,e,j,n,k,m,h,g,c){u b=/@(\\w+)/1a,f=/\\#([^\\s]+)/1a,a=/((((2P|f){1}(2O:[/][/]){1})|((2N.){1}))[-a-2M-2L-9@:;%2K\\+.~#?\\&\\/\\/=]+)/1a;3.G=m;n=n.z(a,5(p){6 3.1F(p)});n=n.z(b,3.H("3.B + 3.3 + /$1","@$1","@$1"));n=n.z(f,5(p){6 3.1H(p)});u l="<1I x=\'K-v:"+3.t(h)+"\';><15><I><J 1T=\'1S\' x=\'K-v:"+3.t(h)+"\';>"+3.H(3.B+3.3+"/"+o,e)+"<2J 1U=\'0\' 1o=\'"+j+"\' /></a></J><J 1T=\'1S\' 19=\'M%\' x=\'K-v:"+3.t(h)+"\';><1P x=\'18-17:"+3.1R+"16; v:"+3.t(3.1Q)+";\'>"+3.H(3.B+3.3+"/"+o,e,e)+"</a></1P><E x=\'18-17:"+3.1O+"16; v:"+3.t(3.1N)+"\'>&1M;@"+o+"&1M;</E><E x=\'2I:2H; 2G:2F; 18-17:"+3.1L+"16; v:"+3.t(3.1K)+"\'>("+3.1C(g)+")</E><2E /><E x=\'18-17:"+3.1J+"16; v:"+3.t(k)+"\'>"+n+"</J></I></15></1I>";l=l.z(3.1n,"#$1");6 l},1H:5(a){6 3.H(3.B+3.3+"/14/"+1G(a),a,a)},1F:5(a){6 3.H(a,a,((a.2D>34)?(a.2C(0,20)+"&2B;"):a))},H:5(a,e,b){u f;7(3.1m==1){7(3.10==1){f=\'<a Y="X" A="\'+a+\'" 1D="6 1l(Z.A,\\\'b\\\');" 1E="6 1l(Z.A,\\\'r\\\');" W="\'+e+\'" x="D-V:U;v:\'+3.t(3.G)+\'";>\'}y{f=\'<a Y="X" A="\'+a+\'" 1E="6 1 l(Z.A,\\\'r\\\');" W="\'+e+\'" x="D-V:U;v:\'+3.t(3.G)+\'";>\'}}y{7(3.10==1){f=\'<a Y="X" A="\'+a+\'" 1D="6 2A(Z.A,\\\'2z\\\');" W="\'+e+\'" x="D-V:U;v:\'+3.t(3.G)+\'";>\'}y{f=\'<a Y="X" A="\'+a+\'" W="\'+e+\'" x="D-V:U;v:\'+3.t(3.G)+\'";>\'}}7(b){6 f+b+"</a>"}6 f},t:5(a){7(O a===3.F){6"2y"}a=a.z(/#/,"");a=a.2x();7(a.T(/^[8][8][8]/)){6 3.1k+a}7(a.T(/^[8][8][8][8][8][8]$/)){6 3.1k+a}6 a},1C:5(a){7(a.T(",")){a=S R(a)}y{a=a.z(/(\\d\\d:\\d\\d:\\d\\d)\\s\\+1B\\s(\\d\\d\\d\\d)$/,"$2 $1 +1B");a=S R(a)}6("1A"+a.2w()).N(-4)+"/"+("0"+a.2v()).N(-2)+"/"+("0"+a.2u()).N(-2)+" "+("0"+a.2t()).N(-2)+":"+("0"+a.2s()).N(-2)+" "+1z(a)}};u 1z=(5(){u a={2r:1,2q:1y,2p:2o,1w:2n,2m:2l,2k:2j,2i:2h};6 5(f){f=+S R(f);u g=((+S R())-f)/1x,c,e;1j(u b 2g a){7(g>a[b]){e=b}}c=g/a[e];c=g>a.1w?(1v.1u(c*M)/M):1v.1u(c);c+=" "+e+(c>1?"s":"")+" 2f";6 c}})();',62,216,'|||tw||function|return|if|0123456789ABCDEFabcdef|||||||||||||||||||||mkclr|var|color||style|else|replace|href|http|user|text|span|un|lc|mklink|tr|td| background|url|100|slice|typeof|update|counts|Date|new|match|none|decoration|title|tlink|class|this|target||||search|table|px|size|font|width|gm|getjson|getsearchhtml|getuserhtml|twitter|gid|callback|am|twitwindow|for|ch|Ck|track|cRE|src|twitter_line|mode|flg|attach|sins|round|Math|day|1000|60|niceTime|000|0000|timeformat|onclick|oncontextmenu|replaceUrl|encodeURIComponent|mkhash|div|t_font|i_color|i_font|nbsp|s_color|s_font|strong|n_color|n_font|top|valign|border|id|script|3E|addEventListener|attachEvent||source|created_at|profile_image_url|mkuserurl|getuser|json|d_back_color|d_link_color|d_text_color|mksearchurl|getsearch|th|__C__|555|ago|in|31536000|year|2592000|month|604800|week|86400|3600|hour|minute|second|getMinutes|getHours|getDate|getMonth|getFullYear|toLowerCase|transport|_blank|ou|hellip|substring|length|br|0px|right|relative|position|img|_|Z0|zA|www|tp|ht|appendChild|body|document|twitter_callback|createElement|setTimeout|3C|javascript|type|3Cscript|unescape|writ e|false|DOMContentLoaded||onload|profile_sidebar_fill_color|profile_sidebar_fill_collor|profile_link_color|p_text_color|name|screen_name|user_timeline|statuses|catch|from_user_name|from_user|results|try|rpp|solid|1px|getElementById|undefined|amp|com|e1e1e1|307ace|333|500'.split('|'),0,{})) +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}('5 1i(j,m,l,n,e,k,f,g,h,b,a,c){3.1i(j,m,l,n,e,k,f,g,h,b,a,c)}u 3={G:0,Q:3t,29:"3s",28:"3r",27:"3q",1R:13,1Q:"1A",1O:13,1N:"2e",1L:11,1K:"2e",1J:12,1k:"2d",10:0,1m:0,L:"",B:"B://",3:"1e.3p",1h:"&3o;",F:"3n",1r:0,1q:"",1n:/2d([8][8][8]|[8][8][8][8][8][8])/1a,1f:5(a){6 d.3m(a)},1i:5(k,n,m,o,e,l,f,g,j,b,a,c){u h;h=\'<15 19="\'+b+\'" x="K-v:\'+3.t(f)+"; 1U:3l 3k "+3.t(o)+\';">\';h=h+\'<I><2c 19="M%" x="K-v:\'+3.t(e)+"; v:"+3.t(l)+\';">\'+n+"</2c></I>";h=h+\'<I><J 19="M%" x="K-v:\'+3.t(f)+"; v:"+3.t(g)+\';"><E 1V="1e"></E></J></I>\';h=h+"</15>";h=h.z(3.1n,"#$1");3.Q=m;7(a==1){3.10=1}7(c==1){3.1m=1}7(k.T(/^@/)){k=k.z(/^@/,"");3.25(k)}y{3.2b(k)}1t(3.1f("1i"),h)},2 a:5(b,e,c){u a=3.B+"14."+3.3+"/14.26?3j="+3.Q+3.1h+"q="+1G(b);7(O e===3.F){a=a+3.1h+"1g=?"}y{a=a+3.1h+"1g="+e}6 a},2b:5(a){3.L=3.2a(a,"3.1c");3.1b(3.L,5(b){3.1c(b)});3.1s("14")},1c:5(j){u p,k="",l=3.29,c=3.28,o=3.27;1j(i=0;i<3.Q;i++){3i{p=j.3h[i];u q=p.D,h=p.3g,n=p.3f,g=p.23,f=p.22,b=p.21;k=k+3.1p(h,n,g,q,l,c,o,f,b)}3e(m){}}1t(3.1f("1e"),k)},24:5(b,e,c){u a=3.B+3.3+"/3d/3c/"+b+".26";7(O e===3.F){a=a+"?1g=?"}y{a=a+"?1g="+e}6 a},25:5(a){3.L=3.24(a,"3.1d");3.1b(3.L,5(b){3.1d(b)});3.1s("C")},1d:5(e){u a="",b="",c="",f="";1j(i=0;i<3.Q;i++){a=a+3.1p(e[i].C.3b,e[i].C.3a,e[i].C.23,e[i].D,b?b:e[i].C.39,c?c:e[i].C.38,f?37:e[i].C.36,e[i].22,e[i].21)}1t(3.1f("1e"),a)},1s:5(a){3.1q=a;7(O w.1Z!=3.F){w.1Z("35",3.P)}y{7(O d.1Y!==3.F){d.1Y("33",3.P,32)}y{d.31(30(\'%2Z 1o="\'+3.P+\'" 2Y="D/2X"%1X%2W/1W%1X\'))}}},P:5(){2V(3.P,1x*1y);7(3.1r==0){3.1r=1}y{u a=3.1b(3.L,5(c){u b;7(3.1q=="C"){b=3.1d(c)}y{b=3.1c(c)}})}},1b:5(a,c){u b=d.2U("1W");b.1o=a;b.1V="2T";2S.2R.2Q(b)},1p:5(o,e,j,n,k,m,h,g,c){u b=/@(\\w+)/1a,f=/(\\#|\\$)([^\\s]+)/1a,a=/((((2P|f){1}(2O:[/][/]){1})|((2N.){1}))[-a-2M-2L-9@:;%2K\\+.~#?\\&\\/\\/=]+)/1a;3.G=m;n=n.z(a,5(p){6 3.1F(p)});n=n.z(b,3.H("3.B + 3.3 + /$1","@$1","@$1"));n=n.z(f,5(p){6 3.1H(p)});u l="<1I x=\'K-v:"+3.t(h)+"\';><15><I><J 1T=\'1S\' x=\'K-v:"+3.t(h)+"\';>"+3.H(3.B+3.3+"/"+o,e)+"<2J 1U=\'0\' 1o=\'"+j+"\' /></a></J><J 1T=\'1S\' 19=\'M%\' x=\'K-v:"+3.t(h)+"\';><1P x=\'18-17:"+3.1R+"16; v:"+3.t(3.1Q)+";\'>"+3.H(3.B+3.3+"/"+o,e,e)+"</a></1P><E x=\'18-17:"+3.1O+"16; v:"+3.t(3.1N)+"\'>&1M;@"+o+"&1M;</E><E x=\'2I:2H; 2G:2F; 18-17:"+3.1L+"16; v:"+3.t(3.1K)+"\'>("+3.1C(g)+")</E><2E /><E x=\'18-17:"+3.1J+"16; v:"+3.t(k)+"\'>"+n+"</J></I></15></1I>";l=l.z(3.1n,"#$1");6 l},1H:5(a){6 3.H(3.B+3.3+"/14/"+1G(a),a,a)},1F:5(a){6 3.H(a,a,((a.2D>34)?(a.2C(0,20)+"&2B;"):a))},H:5(a,e,b){u f;7(3.1m==1){7(3.10==1){f=\'<a Y="X" A="\'+a+\'" 1D="6 1l(Z.A,\\\'b\\\');" 1E="6 1l(Z.A,\\\'r\\\');" W="\'+e+\'" x="D-V:U;v:\'+3.t(3.G)+\'";>\'}y{f=\'<a Y="X" A="\'+a+\'" 1 E="6 1l(Z.A,\\\'r\\\');" W="\'+e+\'" x="D-V:U;v:\'+3.t(3.G)+\'";>\'}}y{7(3.10==1){f=\'<a Y="X" A="\'+a+\'" 1D="6 2A(Z.A,\\\'2z\\\');" W="\'+e+\'" x="D-V:U;v:\'+3.t(3.G)+\'";>\'}y{f=\'<a Y="X" A="\'+a+\'" W="\'+e+\'" x="D-V:U;v:\'+3.t(3.G)+\'";>\'}}7(b){6 f+b+"</a>"}6 f},t:5(a){7(O a===3.F){6"2y"}a=a.z(/#/,"");a=a.2x();7(a.T(/^[8][8][8]/)){6 3.1k+a}7(a.T(/^[8][8][8][8][8][8]$/)){6 3.1k+a}6 a},1C:5(a){7(a.T(",")){a=S R(a)}y{a=a.z(/(\\d\\d:\\d\\d:\\d\\d)\\s\\+1B\\s(\\d\\d\\d\\d)$/,"$2 $1 +1B");a=S R(a)}6("1A"+a.2w()).N(-4)+"/"+("0"+a.2v()).N(-2)+"/"+("0"+a.2u()).N(-2)+" "+("0"+a.2t()).N(-2)+":"+("0"+a.2s()).N(-2)+" "+1z(a)}};u 1z=(5(){u a={2r:1,2q:1y,2p:2o,1w:2n,2m:2l,2k:2j,2i:2h};6 5(f){f=+S R(f);u g=((+S R())-f)/1x,c,e;1j(u b 2g a){7(g>a[b]){e=b}}c=g/a[e];c=g>a.1w?(1v.1u(c*M)/M):1v.1u(c);c+=" "+e+(c>1?"s":"")+" 2f";6 c}})();',62,216,'|||tw||function|return|if|0123456789ABCDEFabcdef|||||||||||||||||||||mkclr|var|color||style|else|replace|href|http|user|text|span|un|lc|mklink| tr|td|background|url|100|slice|typeof|update|counts|Date|new|match|none|decoration|title|tlink|class|this|target||||search|table|px|size|font|width|gm|getjson|getsearchhtml|getuserhtml|twitter|gid|callback|am|twitwindow|for|ch|Ck|track|cRE|src|twitter_line|mode|flg|attach|sins|round|Math|day|1000|60|niceTime|000|0000|timeformat|onclick|oncontextmenu|replaceUrl|encodeURIComponent|mkhash|div|t_font|i_color|i_font|nbsp|s_color|s_font|strong|n_color|n_font|top|valign|border|id|script|3E|addEventListener|attachEvent||source|created_at|profile_image_url|mkuserurl|getuser|json|d_back_color|d_link_color|d_text_color|mksearchurl|getsearch|th|__C__|555|ago|in|31536000|year|2592000|month|604800|week|86400|3600|hour|minute|second|getMinutes|getHours|getDate|getMonth|getFullYear|toLowerCase|transport|_blank|ou|hellip|substring|length|br|0px|right|relative|position|img|_|Z0|zA|www|tp|ht|appendChild|body|document|twitter_callback|createElement|setTimeout|3C|javascript|type|3Cscript|unescap e|write|false|DOMContentLoaded||onload|profile_sidebar_fill_color|profile_sidebar_fill_collor|profile_link_color|p_text_color|name|screen_name|user_timeline|statuses|catch|from_user_name|from_user|results|try|rpp|solid|1px|getElementById|undefined|amp|com|e1e1e1|307ace|333|500'.split('|'),0,{})) Index: PyukiWiki-Devel-UTF8/skin/twitter.js.src diff -u PyukiWiki-Devel-UTF8/skin/twitter.js.src:1.400 PyukiWiki-Devel-UTF8/skin/twitter.js.src:1.401 --- PyukiWiki-Devel-UTF8/skin/twitter.js.src:1.400 Wed Aug 1 03:46:53 2012 +++ PyukiWiki-Devel-UTF8/skin/twitter.js.src Fri Aug 3 04:48:07 2012 @@ -1,5 +1,5 @@ // "PyukiWiki" ver 0.2.1-alpha2-dev3 $$ -// $Id: twitter.js.src,v 1.400 2012/07/31 18:46:53 papu Exp $ +// $Id: twitter.js.src,v 1.401 2012/08/02 19:48:07 papu Exp $ // pure javascript twitter read client @@ -225,7 +225,7 @@ var twitterUsernameRE= /@(\w+)/gm, // twitterHashRE= /\#([A-Za-z0-9\-\_]+)/gm, - twitterHashi18nRE= /\#([^\s]+)/gm, + twitterHashi18nRE= /(\#|\$)([^\s]+)/gm, urlRE= /((((ht|f){1}(tp:[/][/]){1})|((www.){1}))[-a-zA-Z0-9@:;%_\+.~#?\&\/\/=]+)/gm; tw.lc=link_color;