အသုံးပြုသူ:Aung Maw Oo/common.js: တည်းဖြတ်မှု မူကွဲများ

Content deleted Content added
"(function(){var f=true,g=null,l=false;if(w..." အစချီသော စာလုံးတို့နှင့် စာမျက်နှာကို ဖန်တီးလိုက်သည်
 
(ကွဲပြားမှု မရှိ)

၁၀:၅၉၊ ၂၀ အောက်တိုဘာ ၂၀၁၄ က နောက်ဆုံး တည်းဖြတ်မူ

(function(){var f=true,g=null,l=false;if(window.console)var m=function(){console.log(arguments)},n=function(a){console.error(a)};else{m=function(){};n=function(){}}function p(a){var b=g;if(typeof a!=="object"){b=document.getElementById(a);return typeof b!=="object"?g:b}else return a}function q(a,b,c){if(a.addEventListener)a.addEventListener(b,c,l);else a.attachEvent&&c.call?a.attachEvent("on"+b,function(){return c.call(a,window.event)}):n("Can%27t add event listner")}function r(a,b,c){if(a.removeEventListener)a.removeEventListener(b,c,l);else a.detachEvent&&a.detachEvent("on"+b,c)}JKME={F:["TEXTAREA","INPUT"],r:{p:f,S:"jkMenu",I:"keymagic.png"},B:function(a){return new JKME.v(a)},detach:function(a){a=p(a);try{engine=a.h;r(a,"keypress",engine.onkeypress);r(a,"keydown",engine.onkeydown);r(a,"mousemove",engine.onmousemove);r(a,"mouseout",engine.onmouseout);document.body.removeChild(engine.f.d)}catch(b){n(b);return l}return f},A:function(a,b){el=p(a);el!==g&&el.h&&el.h.A(b)}};if(!JKME.b)JKME.b={H:window.KMKL,w:{keyboardchanged:[]},g:{Default:{path:"",loaded:f,b:{eat:l}}},addEventListener:function(a,b){this.w[a].push(b)},C:function(a,b){for(var c in this.w[a])this.w[a][c](b)},M:function(a,b,c){newKeyboard={path:a,loaded:l};this.g[b]=newKeyboard;if(c!==undefined){this.g[b].loaded=f;this.g[b].b=c}this.C("keyboardchanged")},load:function(a,b){var c=document.getElementsByTagName("body")[0];newjs=document.createElement("script");newjs.onreadystatechange=function(){if(newjs.readyState==="loaded"||newjs.readyState==="complete"){newjs.onreadystatechange=g;b("success")}};newjs.onerror=function(){if(newjs.readyState==="loaded"||newjs.readyState==="complete"){newjs.onreadystatechange=g;b("fail");c.removeChild(newjs)}};newjs.onload=function(){b("success")};newjs.onerror=function(){b("fail");c.removeChild(newjs)};newjs.src=a;newjs.type="text/javascript";c.appendChild(newjs)},R:function(a,b){var c=this.g[a];loading=f;c.loaded==l?this.load(c.path,function(e){if(e==="fail"){c.error=f;n("Failed to load keyboard. Invalid keyboard path?");b("fail")}else if(this.H==window.KMKL){c.error=f;n("Failed to load keyboard. Invalid keyboard file?");b("fail")}else{this.H=window.KMKL;c.b=window.KMKL;c.loaded=f;b("success")}JKME.b.C("keyboardchanged")}):b("success")},N:function(a,b){if(b===undefined)b=f;var c=document.createElement("option");c.selected=b;c.defaultSelected=b;c.innerHTML=a;c.value=a;return c},Q:function(a){var b=document.createElement("select"),c=l,e;for(e in this.g){var h=this.N(e,e==a);if(this.g[e].error)h.className+="error ";if(c)h.className+="alt ";b.appendChild(h);c=!c}return b}};JKME.f=function(a,b){this.d=document.createElement("div");this.d.className=JKME.r.S;this.d.id=b;this.d.style.display="none";this.d.h=a;this.l=g;imgDiv=document.createElement("div");m(imgDiv.style);imgDiv.style.backgroundImage="url("+JKME.r.I+")";imgDiv.style.width="20px";imgDiv.style.height="20px";imgDiv.style.margin="0 10px 0 5px";imgDiv.style.cssFloat="left";imgDiv.style.styleFloat="left";this.d.appendChild(imgDiv);selectDiv=document.createElement("div");selectDiv.style.cssFloat="left";selectDiv.style.styleFloat="left";this.K=selectDiv;this.d.appendChild(selectDiv);msgDiv=document.createElement("div");msgDiv.style.position="absolute";msgDiv.style.top="0";msgDiv.style.right="0";this.U=msgDiv;this.d.appendChild(msgDiv);var c=this.d,e=this;c.onclick=function(){e.p(c.parentNode)};c.onmouseout=function(h){m("menu > mouseout",h);e.s(1E3)};c.onmousemove=function(){m("menu > mousemove");e.p(c.parentNode)}};JKME.f.prototype={J:function(){},options:g,u:function(){this.options=options=JKME.b.Q(this.d.h.n);this.K.innerHTML="";this.K.appendChild(this.options);this.options.onchange=function(){menu=this.parentNode.parentNode.h.f;menu.J(this.value)}},p:function(a){m("menu > showMenu",this.l);if(JKME.r.p!==l){if(this.l){clearTimeout(this.l);this.l=g}for(var b=0;b<JKME.F.length;b++){tag=JKME.F[b];if(a.tagName==tag){offsetLeft=a.offsetLeft;offsetTop=a.offsetTop;if(a.offsetParent)for(offsetParentElement=a.offsetParent;offsetParentElement.offsetParent!=g;){offsetLeft+=offsetParentElement.offsetLeft;offsetTop+=offsetParentElement.offsetTop;offsetParentElement=offsetParentElement.offsetParent}this.d.style.left=offsetLeft+"px";if(this.d.currentStyle){styles=document.body.currentStyle;height=parseInt(styles.height)||0;marginT=parseInt(styles.paddingTop)||0;marginB=parseInt(styles.paddingBottom)||0}else{styles=document.defaultView.getComputedStyle(this.d,"");height=parseInt(styles.getPropertyValue("height"));marginT=parseInt(styles.getPropertyValue("padding-top"));marginB=parseInt(styles.getPropertyValue("padding-bottom"))}this.d.style.top=offsetTop-height-marginT-marginB-(this.d.h.e.j?20:10)+"px";this.d.style.display="block"}}}},s:function(a){m("menu > hideMenu");if(this.l){clearTimeout(this.l);this.l=g}if(a===undefined)a=100;var b=this.d;this.l=setTimeout(function(){b.style.display="none"},a)},t:function(a){this.U.innerHTML=a}};JKME.v=function(a){this.element=p(a);if(this.element===g)n("Can%27t find the element.");else{this.element.h&&JKME.detach(this.element);this.element.h=this;this.T="jkMenu"+Math.floor(Math.random()*1E5);var b=this.f=new JKME.f(this,this.T);document.body.appendChild(b.d);b.J=function(d){this.d.h.A(d)};b.u();JKME.b.addEventListener("keyboardchanged",function(){b.u()});var c=this;a=function(){b.p(this);b.s(1E3)};var e=function(){b.s(500)},h=function(d){return s(c,d)},j=function(d){if(d.keyCode==8&&(c.e.O||c.e.j))return s(c,d);else if(d.keyCode==32&&d.shiftKey){m(c.n,c.o);if(!(c.n=="Default"&&c.o!=g))c.o="Default";ob=c.o;c.o=c.n;c.n=ob;c.b=JKME.b.g[c.n].b;c.reset();c.f.u();b.p(d.srcElement||d.target);b.s(1E3);d.preventDefault&&d.preventDefault();return l}};this.onmousemove=a;this.onmouseout=e;this.onkeypress=h;this.onkeydown=j;q(this.element,"mousemove",a);q(this.element,"mouseout",e);q(this.element,"keypress",h);q(this.element,"keydown",j)}};JKME.v.prototype={n:"Default",b:JKME.b.g.Default.b,o:g,c:[],i:[],k:{},a:"",z:l,L:l,e:{O:/chrome|safari/i.test(navigator.userAgent),j:/MSIE/i.test(navigator.userAgent),opera:/opera/i.test(navigator.userAgent)},A:function(a){var b=this;b.f.t("Loading");JKME.b.g[a]&&JKME.b.R(a,function(c){m(c);if(c==="success"){b.f.t("");b.n=a;b.b=JKME.b.g[a].b;b.reset();b.f.u()}else{b.f.t("Failed to load");setTimeout(function(){b.f.t("")},2E3)}})},reset:function(){this.a="";this.k={};this.c=[]},D:function(a,b){m("commit",this.a,b);scrollTop=a.scrollHeight-a.scrollTop;scrollLeft=a.scrollWidth-a.scrollLeft;a.value=this.a+b;a.scrollTop=a.scrollHeight-scrollTop;a.scrollLeft=a.scrollWidth-scrollLeft;if(b===undefined||b.length==0){if(this.e.j){textInputRange=a.createTextRange();textInputRange.collapse(l);textInputRange.select()}}else if(b!=""&&this.e.j){textInputRange=a.createTextRange();textInputRange.collapse(l);fix=b.split("\n").length-1;textInputRange.moveStart("character",-b.length+fix);textInputRange.moveEnd("character",-b.length+fix);textInputRange.select()}else if(b!=""||this.e.opera){a.selectionStart=this.a.length;a.selectionEnd=this.a.length}},P:function(a){var b=0,c=0,e,h,j;if(typeof a.selectionStart=="number"&&typeof a.selectionEnd=="number"){b=a.selectionStart;c=a.selectionEnd}else if(document.selection!=undefined)if((h=document.selection.createRange())&&h.parentElement()==a){j=a.value.length;e=a.value.replace(/\r\n/g,"\n");c=a.createTextRange();c.moveToBookmark(h.getBookmark());a=a.createTextRange();a.collapse(l);if(c.compareEndPoints("StartToEnd",a)>-1)b=c=j;else{b=-c.moveStart("character",-j);b+=e.slice(0,b).split("\n").length-1;if(c.compareEndPoints("EndToEnd",a)>-1)c=j;else{c=-c.moveEnd("character",-j);c+=e.slice(0,c).split("\n").length-1}}}return{start:b,end:c}}};function s(a,b){m("processKeyEvent",b,a);if(a.e.opera)if(b.keyCode>=33&&b.keyCode<=40)return;if(a.V!==l){var c=a.e.j?b.srcElement:b.target,e=a.P(c),h=c.value.substr(0,e.start);e=c.value.substr(e.end,c.value.length);if(a.a!=h){a.reset();a.a=h}h=a.a;var j,d,k=l;d=a.e.j|a.e.opera?b.keyCode:b.charCode;m("getKeyCode",0,k);if(d>=65&&d<=90)k=f;else if(d>=97&&d<=122)d-=32;else if(!(d>=48&&d<=57))switch(d){case 96:d=192;break;case 126:d=192;k=f;break;case 33:d=49;k=f;break;case 64:d=50;k=f;break;case 35:d=51;k=f;break;case 36:d=52;k=f;break;case 37:d=53;k=f;break;case 94:d=54;k=f;break;case 38:d=55;k=f;break;case 42:d=56;k=f;break;case 40:d=57;k=f;break;case 41:d=48;k=f;break;case 45:d=189;break;case 95:d=189;k=f;break;case 61:d=187;break;case 43:d=187;k=f;break;case 91:d=219;break;case 123:d=219;k=f;break;case 93:d=221;break;case 125:d=221;k=f;break;case 92:d=220;break;case 124:d=220;k=f;break;case 59:d=186;break;case 58:d=186;k=f;break;case 39:d=222;break;case 34:d=222;k=f;break;case 44:d=188;break;case 60:d=188;k=f;break;case 60:d=190;break;case 62:d=190;k=f;break;case 47:d=191;break;case 63:d=191;k=f;break;default:d=b.keyCode}m("getKeyCode",d,k);j={G:d,shift:k};k={shift:j.shift,alt:b.altKey,m:b.ctrlKey,q:b.metaKey==undefined?l:b.metaKey};d=t(a,j.G,String.fromCharCode(a.e.j|a.e.opera?b.keyCode:b.charCode),k);if(!d&&j.G)a.k={};j=0;if(d){for(;d;)if(a.L){k={shift:l,alt:l,m:l,q:l};d=t(a,0,"",k);j++;if(j==20){n("Max loop exceeded.");return}if(d){if(b.keyCode==8&&a.c.length)if(a.a==a.c[a.c.length])a.c.pop();else a.c=[]}else{u(a,h);break}}else{if(b.keyCode==8&&a.c.length)if(a.a==a.c[a.c.length])mthis.c.pop();else a.c=[];else u(a,h);break}a.D(c,e);b.preventDefault&&b.preventDefault();return l}else if(!(k.alt||k.m||k.q)){if(b.keyCode==8){if(a.b.autobksp==f&&a.c.length!=0){a.a=a.c[a.c.length-1];a.c.pop();a.D(c,e);b.preventDefault&&b.preventDefault();return l}else if(a.a.length){a.a=a.a.substr(0,a.a.length-1);a.c=[]}return f}if(!(b.charCode<=32||b.keyCode<=32))if(a.b.eat){m("eaten");b.preventDefault&&b.preventDefault();return l}else{m("not eaten");a.a+=String.fromCharCode(a.e.j|a.e.opera?b.keyCode:b.charCode);u(a,h)}}}}function u(a,b){if(a.c.length==0)a.c.push(b);else b!=a.c[a.c.length-1]&&a.c.push(b)}function t(a,b,c,e){m("processInput",b,c,e);for(var h in a.b.rules){var j=a.b.rules[h];if(v(a,j,b,c,e)){m("matchRule=true",j);if(a.z===l)a.a+=c;if(b)a.k={};b=a;c=j.length;e="";h=void 0;for(itemIdx in j.rhs){var d=j.rhs[itemIdx];switch(d.type){case 0:e+=d.value;break;case 3:if(b.i.length<=d.index)continue;h=j.lhs[d.index].value.indexOf(b.i[d.index]);if(h!=-1)e+=d.value.charAt(h);break;case 4:if(b.i.length<=d.index)continue;e+=b.i[d.index];break;case 5:e+=String.fromCharCode(d.keyCode);break;case 7:m("switch"+d.switchId);b.k[d.switchId]=b.k[d.switchId]!==undefined?!b.k[d.switchId]:f}}m(b,b.a,e);b.a=b.a.substr(0,b.a.length-c);b.a+=e;b.L=e.length==0||e.length==1&&e.charCodeAt(0)>32&&e.charCodeAt(0)<127?l:f;m("processOutput=true",a.a);return f}}return l}function w(a,b,c){var e=0;b={shift:b.shift,m:b.m,alt:b.alt,q:b.q};for(var h in c){var j=c[h];if(j.type==5){switch(j.keyCode){case 16:if(b.shift==f)b.shift=l;else return-1;break;case 17:if(b.m==f)b.m=l;else return-1;break;case 18:if(b.alt==f)b.alt=l;else return-1;break;default:if(j.keyCode!=a)return-1}e++}}if(b.m==f||b.alt==f||b.q==f)return-1;return e}function v(a,b,c,e,h){var j=a.a;a.z=l;c=w(c,h,b.lhs);if(c==-1)return l;else if(c==0){if(e!="")j+=e}else a.z=f;e=b.length;c=j.length;if(e>c)return l;j=j.substr(c-e);e=0;a.i=[];for(var d in b.lhs){c=b.lhs[d];h=j.charAt(e);switch(c.type){case 0:for(var k=0;k<c.value.length;k++){var o=c.value.charAt(k);if(e==j.length)return l;if(o!=h)return l;h=j.charAt(++e)}a.i.push(c.value);break;case 1:if(c.value.indexOf(h)==-1)return l;else{a.i.push(h);e++}break;case 2:if(c.value.indexOf(h)!=-1)return l;else{a.i.push(h);e++}break;case 6:o=j.charAt(e++);if(o>="!"&&o<="}"||o>="\u00ff"&&o<"\uffff")e++;else return l;a.i.push(o);break;case 7:if(a.k[c.switchId]!==undefined){if(!a.k[c.switchId])return l}else return l}}return f};window.KMKL={name:"Myanmar3",autobksp:l,trackcaps:l,eat:l,rules:[{length:3,lhs:[{type:0,value:"\u1039"},{type:1,value:"\u1000\u1001\u1002\u1003\u1005\u1006\u1007\u1008\u1009\u100a\u100b\u100c\u100d\u100e\u100f\u1010\u1011\u1012\u1013\u1014\u1015\u1016\u1017\u1018\u1019\u101a\u101b\u101c\u101d\u101e\u101f\u1020\u1021"},{type:0,value:"\u1031"},{type:5,keyCode:8}],rhs:[{type:0,value:"\u1039"},{type:0,value:"\u200b"},{type:0,value:"\u1031"}]},{length:2,lhs:[{type:0,value:"\u1039"},{type:1,value:"\u1000\u1001\u1002\u1003\u1005\u1006\u1007\u1008\u1009\u100a\u100b\u100c\u100d\u100e\u100f\u1010\u1011\u1012\u1013\u1014\u1015\u1016\u1017\u1018\u1019\u101a\u101b\u101c\u101d\u101e\u101f\u1020\u1021"},{type:5,keyCode:8}],rhs:[{type:0,value:""}]},{length:2,lhs:[{type:1,value:"\u103b\u103c\u103e\u103d"},{type:0,value:"\u1031"},{type:5,keyCode:8}],rhs:[{type:0,value:"\u1031"}]},{length:2,lhs:[{type:1,value:"\u1006\u1010\u1014\u1019\u1021\u1015\u1000\u1004\u101e\u1005\u101f\u1016\u1011\u1001\u101c\u1018\u100a\u1008\u103f\u100f\u1027\u1017\u1012\u1013\u1007\u100c\u1003\u1020\u101a\u1009\u1026\u100d\u100b\u1052\u1053\u1054\u1055\u101b*\u1051_\u104f\u1029\u1050\u100e\u101d\u1023\u104e\u1024\u104c\u1025\u104d"},{type:0,value:"\u1031"},{type:5,keyCode:8}],rhs:[{type:0,value:"\u200b"},{type:0,value:"\u1031"}]},{length:2,lhs:[{type:0,value:"\u200b"},{type:0,value:"\u1031"},{type:5,keyCode:8}],rhs:[{type:0,value:""}]},{length:5,lhs:[{type:0,value:"\u101e"},{type:0,value:"\u103c"},{type:0,value:"\u1031"},{type:0,value:"\u102c"},{type:1,value:"f"}],rhs:[{type:0,value:"\u102a"}]},{length:4,lhs:[{type:1,value:"\u103d"},{type:1,value:"\u103e"},{type:0,value:"\u1031"},{type:1,value:"j"}],rhs:[{type:3,index:3,value:"\u103c"},{type:4,index:0},{type:4,index:1},{type:4,index:2}]},{length:4,lhs:[{type:1,value:"\u103d"},{type:1,value:"\u103e"},{type:0,value:"\u1031"},{type:1,value:"s"}],rhs:[{type:3,index:3,value:"\u103b"},{type:4,index:0},{type:4,index:1},{type:4,index:2}]},{length:3,lhs:[{type:0,value:"\u200b"},{type:0,value:"\u1031"},{type:1,value:"qwertyuiop[zxcvbnQOP{AKLZXCVBNM!#@$%^&*|_\\]`~WERTYUI"}],rhs:[{type:3,index:2,value:"\u1006\u1010\u1014\u1019\u1021\u1015\u1000\u1004\u101e\u1005\u101f\u1016\u1011\u1001\u101c\u1018\u100a\u1008\u103f\u100f\u1027\u1017\u1012\u1013\u1007\u100c\u1003\u1020\u101a\u1009\u1026\u100d\u100b\u1052\u1053\u1054\u1055\u101b*\u1051_\u104f\u1029\u1050\u100e\u101d\u1023\u104e\u1024\u104c\u1025\u104d"},{type:0,value:"\u1031"}]},{length:3,lhs:[{type:0,value:"\u1031"},{type:0,value:"\u1039"},{type:1,value:"qwertyuiop[zxcvbnQOP{AKLZXCVBNM!#@$%^&*|_\\]`~WERTYUI"}],rhs:[{type:0,value:"\u1039"},{type:3,index:2,value:"\u1006\u1010\u1014\u1019\u1021\u1015\u1000\u1004\u101e\u1005\u101f\u1016\u1011\u1001\u101c\u1018\u100a\u1008\u103f\u100f\u1027\u1017\u1012\u1013\u1007\u100c\u1003\u1020\u101a\u1009\u1026\u100d\u100b\u1052\u1053\u1054\u1055\u101b*\u1051_\u104f\u1029\u1050\u100e\u101d\u1023\u104e\u1024\u104c\u1025\u104d"},{type:0,value:"\u1031"}]},{length:3,lhs:[{type:1,value:"\u103d"},{type:1,value:"\u103e"},{type:1,value:"s"}],rhs:[{type:3,index:2,value:"\u103b"},{type:4,index:0},{type:4,index:1}]},{length:3,lhs:[{type:1,value:"\u103d"},{type:1,value:"\u103e"},{type:1,value:"j"}],rhs:[{type:3,index:2,value:"\u103c"},{type:4,index:0},{type:4,index:1}]},{length:3,lhs:[{type:1,value:"\u103d"},{type:0,value:"\u1031"},{type:1,value:"s"}],rhs:[{type:3,index:2,value:"\u103b"},{type:4,index:0},{type:4,index:1}]},{length:3,lhs:[{type:1,value:"\u103e"},{type:0,value:"\u1031"},{type:1,value:"s"}],rhs:[{type:3,index:2,value:"\u103b"},{type:4,index:0},{type:4,index:1}]},{length:3,lhs:[{type:1,value:"\u103d"},{type:0,value:"\u1031"},{type:1,value:"j"}],rhs:[{type:3,index:2,value:"\u103c"},{type:4,index:0},{type:4,index:1}]},{length:3,lhs:[{type:1,value:"\u103e"},{type:0,value:"\u1031"},{type:1,value:"j"}],rhs:[{type:3,index:2,value:"\u103c"},{type:4,index:0},{type:4,index:1}]},{length:3,lhs:[{type:1,value:"\u103e"},{type:0,value:"\u1031"},{type:1,value:"G"}],rhs:[{type:3,index:2,value:"\u103d"},{type:4,index:0},{type:4,index:1}]},{length:2,lhs:[{type:0,value:"\u1037"},{type:1,value:"JH"}],rhs:[{type:3,index:1,value:"\u1032\u1036"},{type:4,index:0}]},{length:2,lhs:[{type:0,value:"\u1037"},{type:1,value:"dD"}],rhs:[{type:3,index:1,value:"\u102d\u102e"},{type:4,index:0}]},{length:2,lhs:[{type:0,value:"\u1037"},{type:1,value:"kl"}],rhs:[{type:3,index:1,value:"\u102f\u1030"},{type:4,index:0}]},{length:2,lhs:[{type:0,value:"\u1036"},{type:0,value:"J"}],rhs:[{type:0,value:"\u1032"},{type:0,value:"\u1036"}]},{length:2,lhs:[{type:1,value:"\u1032\u1036"},{type:1,value:"dD"}],rhs:[{type:3,index:1,value:"\u102d\u102e"},{type:4,index:0}]},{length:2,lhs:[{type:1,value:"\u1032\u1036"},{type:1,value:"kl"}],rhs:[{type:3,index:1,value:"\u102f\u1030"},{type:4,index:0}]},{length:2,lhs:[{type:1,value:"\u102f\u1030"},{type:1,value:"dD"}],rhs:[{type:3,index:1,value:"\u102d\u102e"},{type:4,index:0}]},{length:2,lhs:[{type:0,value:"\u1025"},{type:0,value:"D"}],rhs:[{type:0,value:"\u1026"}]},{length:2,lhs:[{type:0,value:"\u1031"},{type:1,value:"sjSG"}],rhs:[{type:3,index:1,value:"\u103b\u103c\u103e\u103d"},{type:0,value:"\u1031"}]},{length:2,lhs:[{type:0,value:"\u1037"},{type:1,value:"gm"}],rhs:[{type:3,index:1,value:"\u102b\u102c"},{type:4,index:0}]},{length:2,lhs:[{type:0,value:"\u1038"},{type:1,value:"h"}],rhs:[{type:3,index:1,value:"\u1037"},{type:4,index:0}]},{length:2,lhs:[{type:1,value:"\u103d"},{type:1,value:"s"}],rhs:[{type:3,index:1,value:"\u103b"},{type:4,index:0}]},{length:2,lhs:[{type:1,value:"\u103e"},{type:1,value:"s"}],rhs:[{type:3,index:1,value:"\u103b"},{type:4,index:0}]},{length:2,lhs:[{type:1,value:"\u103d"},{type:1,value:"j"}],rhs:[{type:3,index:1,value:"\u103c"},{type:4,index:0}]},{length:2,lhs:[{type:1,value:"\u103e"},{type:1,value:"j"}],rhs:[{type:3,index:1,value:"\u103c"},{type:4,index:0}]},{length:2,lhs:[{type:1,value:"\u103e"},{type:1,value:"G"}],rhs:[{type:3,index:1,value:"\u103d"},{type:4,index:0}]},{length:2,lhs:[{type:0,value:"\u103a"},{type:0,value:"\u1037"}],rhs:[{type:4,index:1},{type:4,index:0}]},{length:1,lhs:[{type:0,value:"F"}],rhs:[{type:0,value:"\u1039"}]},{length:1,lhs:[{type:0,value:"a"}],rhs:[{type:0,value:"\u200b"},{type:0,value:"\u1031"}]},{length:1,lhs:[{type:1,value:",.]}<>:"}],rhs:[{type:3,index:0,value:",.\u1029\u102a\u104a\u104b\u1002"}]},{length:1,lhs:[{type:1,value:"1234567890"}],rhs:[{type:3,index:0,value:"\u1041\u1042\u1043\u1044\u1045\u1046\u1047\u1048\u1049\u1040"}]},{length:1,lhs:[{type:1,value:"qwertyuiop[zxcvbnQOP{AKLZXCVBNM!#@$%^&*|_\\]`~WERTYUI"}],rhs:[{type:3,index:0,value:"\u1006\u1010\u1014\u1019\u1021\u1015\u1000\u1004\u101e\u1005\u101f\u1016\u1011\u1001\u101c\u1018\u100a\u1008\u103f\u100f\u1027\u1017\u1012\u1013\u1007\u100c\u1003\u1020\u101a\u1009\u1026\u100d\u100b\u1052\u1053\u1054\u1055\u101b*\u1051_\u104f\u1029\u1050\u100e\u101d\u1023\u104e\u1024\u104c\u1025\u104d"}]},{length:1,lhs:[{type:1,value:"gmh;"}],rhs:[{type:3,index:0,value:"\u102b\u102c\u1037\u1038"}]},{length:1,lhs:[{type:0,value:"f"}],rhs:[{type:0,value:"\u103a"}]},{length:1,lhs:[{type:1,value:"kl"}],rhs:[{type:3,index:0,value:"\u102f\u1030"}]},{length:1,lhs:[{type:1,value:"dD"}],rhs:[{type:3,index:0,value:"\u102d\u102e"}]},{length:1,lhs:[{type:1,value:"JH"}],rhs:[{type:3,index:0,value:"\u1032\u1036"}]},{length:1,lhs:[{type:1,value:"sjSG"}],rhs:[{type:3,index:0,value:"\u103b\u103c\u103e\u103d"}]}]};JKME.r.I="http://ttkz.me/jkeymagic/keymagic.png";JKME.b.M("",KMKL.name,KMKL);JKME.v.prototype.o=KMKL.name;elements=document.getElementsByTagName("textarea");for(i=0;i<elements.length;i++)elements[i].readOnly==l&&JKME.B(elements[i]);elements=document.getElementsByTagName("input");for(i=0;i<elements.length;i++)elements[i].type=="text"&&JKME.B(elements[i]);var x=document.createElement("style");x.innerHTML=".jkMenu {background: rgb(220,220,220);background: -moz-linear-gradient(top, rgba(220,220,220,.5), rgba(150,150,150,.5));background: -webkit-gradient(linear, left top, left bottom, from(rgba(220,220,220,.5)), to(rgba(150,150,150,.5)));border: 1px solid gray;font-size: 11px;height: 20px;padding: 5px;position: absolute;text-align: center;width: 180px;margin: 0;z-index: 999;}.jkMenu:hover {background: -moz-linear-gradient(top, rgba(220,220,220,1), rgba(150,150,150,1));background: -webkit-gradient(linear, left top, left bottom, from(rgba(220,220,220,1)), to(rgba(150,150,150,1)));}.jkMenu select {border-radius: 2px;-webkit-border-radius: 2px;-moz-border-radius: 2px;background-color: rgba(220,220,220,.5);border: 1px solid white;height: 20px;width: 140px;}.jkMenu:hover select {background-color: rgba(220,220,220,1);}select option {background-color: rgba(240,240,240,.9);}select option.alt {background-color: rgba(250,250,250,.9);}select option.error {text-decoration: line-through;color: gray;}";document.getElementsByTagName("head")[0].appendChild(x);})();