h+k||1>a.Ka)throw Error('Malformed exponential pattern "'+b+'"');w=!1;break;default:c[0]--,w=!1}0==k&&0 >>0);function Wv(a){if("function"===typeof a)return a;a[bw]||(a[bw]=function(b){return a.handleEvent(b)});
return a[bw]}
;function cw(){Gv.call(this);this.ma=new Nv(this);this.mb=this;this.kb=null}
pb(cw,Gv);cw.prototype[Kv]=!0;n=cw.prototype;n.Oz=function(){return this.kb};
n.addEventListener=function(a,b,c,e){Uv(this,a,b,c,e)};
n.removeEventListener=function(a,b,c,e){$v(this,a,b,c,e)};
n.dispatchEvent=function(a){var b,c=this.Oz();if(c)for(b=[];c;c=c.Oz())b.push(c);c=this.mb;var e=a.type||a;if("string"===typeof a)a=new Iv(a,c);else if(a instanceof Iv)a.target=a.target||c;else{var f=a;a=new Iv(e,c);Pl(a,f)}f=!0;if(b)for(var h=b.length-1;!a.ma&&0<=h;h--){var k=a.i=b[h];f=k.Jr(e,!0,a)&&f}a.ma||(k=a.i=c,f=k.Jr(e,!0,a)&&f,a.ma||(f=k.Jr(e,!1,a)&&f));if(b)for(h=0;!a.ma&&h