try{ var s_ILb=function(a){this.Uk=a}; }catch(e){_DumpException(e)} try{ var s_nm=function(a){s_I.call(this,a.Ka);var b=this;this.window=a.service.window.get();this.wa=this.Uk();this.oa=window.orientation;this.ka=function(){var c=b.Uk(),d=b.Yib()&&90===Math.abs(window.orientation)&&b.oa===-1*window.orientation;b.oa=window.orientation;if(c!==b.wa||d){b.wa=c;d=s_f(b.Ce);for(var e=d.next();!e.done;e=d.next()){e=e.value;var f=new s_ILb(c);try{e(f)}catch(g){s_ca(g)}}}};this.Ce=new Set;this.window.addEventListener("resize",this.ka);this.Yib()&&this.window.addEventListener("orientationchange", this.ka)};s_w(s_nm,s_I);s_nm.nb=s_I.nb;s_nm.Fa=function(){return{service:{window:s_0i}}};s_nm.prototype.addListener=function(a){this.Ce.add(a)};s_nm.prototype.removeListener=function(a){this.Ce.delete(a)}; s_nm.prototype.Uk=function(){if(s_JLb()){var a=s_ph(this.window);a=new s_7g(a.width,Math.round(a.width*this.window.innerHeight/this.window.innerWidth))}else a=this.wc()||(s_oa()?s_JLb():this.window.visualViewport)?s_ph(this.window):new s_7g(this.window.innerWidth,this.window.innerHeight);return a.height