e.requestFn ? e : null; })(), c = function (e) { (this.isFullWindow = !1), (this.isFullScreen = !1), (this.isFullScreenChanged = !1), (this._requestFullScreenTimer = null), (this._cancelFullScreenTimer = null), (this._player = e); var r = this, o = u; (this._fullscreenChanged = function (e) { if (null != r._player) { var t = document[o.isFullScreen]; if (void 0 !== t) r.isFullScreen = t; else { var i = document[o.fullscreenElement]; r.isFullScreen = null != i; } (r.isFullScreenChanged = !0) === r.isFullScreen ? r._player.trigger(s.Player.RequestFullScreen) : r._player.trigger(s.Player.CancelFullScreen); } }), o && a.on(document, o.eventName, this._fullscreenChanged); }; (c.prototype.requestFullScreen = function () { if (!r.isAndroidX5() || !this._player.paused()) { var e = u, t = this._player.el(), i = this; if (o.IS_IOS) return ( (t = this._player.tag)[e.requestFn](), i._player.trigger(s.Player.RequestFullScreen), this ); (this.isFullScreen = !0), (this.isFullScreenChanged = !1), (this._requestFullScreenTimer = null), this._cancelFullScreenTimer || clearTimeout(this._cancelFullScreenTimer);