You are on page 1of 3

ENU:!0,OPTGROUP:!

0,OP
TION:!0,PROGRESS:!0,SE
LECT:!0,TEXTAREA:!0};v
ar
J=function(){this.v=this.o=n
ull},L=function(a,d){var
b=K;b.o=a;b.v=d;return
b};J.prototype.s=function(){v
ar
a=this.o;this.o&&this.o!=this
.v?this.o=this.o.__owner||this
.o.parentNode:this.o=null;ret
urn a};var
M=function(){this.w=[];this.
o=0;this.v=null;this.H=!1};M
.prototype.s=function(){if(thi
s.H)return
K.s();if(this.o!=this.w.length)
{var
a=this.w[this.o];this.o++;a!=t
his.v&&a&&a.__owner&&(t
his.H=!0,L(a.__owner,this.v)
);return a}return null};var
K=new J,O=new M;var
Q=function(){this.S=[];this.o
=[];this.s=[];this.H={};this.v
=null;this.w=[];P(this,"_cust
om")},da="undefined"!=type
of
navigator&&/iPhone|iPad|iPo
d/.test(navigator.userAgent),
R=String.prototype.trim?func
tion(a){return
a.trim()}:function(a){return
a.replace(/^\s+/,"").replace(/\
s+$/,"")},ea=/\s*;\s*/,ia=func
tion(a,d){return
function(b){var
c=d;if("_custom"==c){c=b.d
etail;if(!c||!c._type)return;c=c
._type}var
e;if("click"==c&&(C&&b.m
etaKey||!C&&b.ctrlKey||2==
b.which||null==b.which&&4
==b.button||b.shiftKey))c="cl
ickmod";else{var

f;f=b.which||b.keyCode||b.ke
y;D&&3==f&&(f=13);if(13!
=f&&32!=f)f=!1;else{var
m=B(b),q=(m.getAttribute("r
ole")||m.type||m.tagName).to
UpperCase(),h;(h="keydown
"!=b.type)||("getAttribute"in
m?(h=(m.getAttribute("role")
||m.tagName).toUpperCase(),
h=!I(m)&&("COMBOBOX"
!=h||"INPUT"!=h)&&!m.isC
ontentEditable):h=!1,h=!h);(
h=
h||b.ctrlKey||b.shiftKey||b.altKey||b.metaKey||H(m)&&32==f)||((h
=m.tagName in
E)||(h=m.getAttributeNode("tabindex"),h=null!=h&&h.specified)
,h=!(h&&!m.disabled));h?f=!1:(m="INPUT"!=m.tagName.toUpp
erCase()||m.type,h=!(q in
G)&&13==f,f=(0==G[q]%f||h)&&!!m)}f&&(c="clickkey")}q=b.
srcElement||b.target;f=S(c,b,q,"",null);var
g;b.path?(O.w=b.path,O.o=0,O.v=this,O.H=!1,m=O):m=L(q,this)
;for(;h=m.s();){e=h;var t;g=e;h=c;var
p=g.__jsaction;if(!p)if(t=null,"getAttribute"in
g&&(t=g.getAttribute("jsaction")),t){p=
u[t];if(!p){for(var
p={},y=t.split(ea),z=0,fa=y?y.length:0;z<fa;z++){var
r=y[z];if(r){var A=r.indexOf(":"),N=1!=A,ga=N?R(r.substr(0,A)):"click",r=N?R(r.substr(A+1)):r;p[ga
]=r}}u[t]=p}g.__jsaction=p}else
p=ha,g.__jsaction=p;"clickkey"==h?h="click":"click"!=h||p.click|
|(h="clickonly");g={R:h,action:p[h]||"",event:null,U:!1};f=S(g.R,
g.event||b,q,g.action||"",e,f.timeStamp);if(g.U||g.action)break}f&
&"touchend"==f.eventType&&(f.event._preventMouseEvents=F
);if(g&&g.action){if(g="clickkey"==c)g=B(b),g=
(g.type||g.tagName).toUpperCase(),(g=32==(b.which||b.keyCode|
|b.key)&&"CHECKBOX"!=g)||(g=B(b),q=(g.getAttribute("role")
||g.tagName).toUpperCase(),g=g.tagName.toUpperCase()in
ca&&"A"!=q&&!H(g)&&!I(g)||"BUTTON"==q);g&&(b.prevent
Default?b.preventDefault():b.returnValue=!1);if("mouseenter"==
c||"mouseleave"==c)if(g=b.relatedTarget,!("mouseover"==b.type
&&"mouseenter"==c||"mouseout"==b.type&&"mouseleave"==c)
||g&&(g===e||w(e,g)))f.action="",f.actionElement=null;else{var
c={},n;for(n in b)"function"!==typeof b[n]&&
"srcElement"!==n&&"target"!==n&&(c[n]=b[n]);c.type="mouse
over"==b.type?"mouseenter":"mouseleave";c.target=c.srcElemen

t=e;c.bubbles=!1;f.event=c;f.targetElement=e}}else
f.action="",f.actionElement=null;e=f;a.v&&(n=S(e.eventType,e.e
vent,

You might also like