void(function(){if(document.getElementById('#secret#')){return}var z,x={a:'1234',encrypt:function(a,b){if(a===''){return''};a=escape(a);b=escape((b===undefined)||(b==='')?this.a:b);var c='';for(var i=0;i10){c=(parseInt(c.substring(0,10))+parseInt(c.substring(10,c.length))).toString()}c=(e*c+f)%g;var j='';var k='';for(var i=0;i10){c=(parseInt(c.substring(0,10))+parseInt(c.substring(10,c.length))).toString()}c=(e*c+f)%g;var j="";var k="";for(var i=0;i0){for(var i=0;i'}).join(''),o=rich_postor._getData();if((o.content=m+n).replace(/[^\x00-\x7F]/g,'--').length>4824){alert('\u5B57\u6570\u8FC7\u591A\uFF01');c.parentNode.removeChild(c);return}c.parentNode.removeChild(c);PostHandler.post(rich_postor._option.url,o,function(){rich_postor.showAddResult()},function(){location.reload()})};c.style.position='fixed';c.style.marginLeft='-260px';c.style.width='520px';c.style.height='320px';c.style.left='50%';c.style.top='50px';c.style.opacity='0.9';c.style.zIndex='9999';c.style.outline=(document.body.scrollWidth-520)/2+'px solid invert';c.style.outlineOffset='0';t.style.outlineStyle='none';t.style.height='300px';t.style.width='500px';t.style.padding='5px';t.style.margin='0';t.style.boxSizing='initial';t.style.fontSize='16px';t.style.lineHeight='18px';t.style.textAlign='left';t.style.color='#111';t.style.border='5px solid #444';t.style.background='#EEE8AA';t.style.overflow='hidden';t.style.resize='none';btn.style.borderTopLeftRadius='30px';btn.style.borderTopRightRadius='30px';btn.style.width='100px';btn.style.height='20px';btn.style.fontFamily='sans-serif';btn.style.fontSize='16px';btn.style.textAlign='center';btn.style.position='absolute';btn.style.top='-24px';btn.style.color='#FAFAD2';btn.style.background='#444';btn.style.opacity='0.95';btn.addEventListener('input',function(e){z=this.value},false);t.addEventListener('keydown',function(e){switch(e.keyCode){case 9:e.preventDefault();break;case 8:var a=t.selectionStart,b=t.selectionEnd,v=t.value;if((a===b)&&(v.substring(b-4,b)===' ')){e.preventDefault();t.value=v.substring(0,b-4)+v.substring(b,v.length);t.selectionStart=a-4;t.selectionEnd=b-4}break}return false},true);t.addEventListener('keyup',function(e){if((e.keyCode===13)&&e.ctrlKey){k()}else if(e.keyCode===9){var a=t.selectionStart,b=t.selectionEnd,x=0,y=e.shiftKey?'\t':' ';if(a===b){t.value=v.substring(0,a)+y+v.substring(b,v.length);t.selectionStart=a+y.length;t.selectionEnd=a+y.length}else{var v=t.value;t.value=v.substring(0,a)+v.substring(a,b).split('\n').map(function(v){if(v.trim()!==''){++x;return y+v}return v}).join('\n')+v.substring(b,v.length);t.selectionStart=b+y.length*x;t.selectionEnd=b+y.length*x}}return false},false);b.appendChild(c);c.appendChild(btn);c.appendChild(t);t.focus()},false);s.insertBefore(f,s.firstChild)})();