|
@@ -1197,14 +1197,14 @@ function e() {
|
|
|
var e = null !== t && t.apply(this, arguments) || this;
|
|
var e = null !== t && t.apply(this, arguments) || this;
|
|
|
e.reawardAdState = 0;
|
|
e.reawardAdState = 0;
|
|
|
e.ifLoadShow = !1;
|
|
e.ifLoadShow = !1;
|
|
|
-e.ifWatchEnd = !1;
|
|
|
|
|
|
|
+e.canGet = !1;
|
|
|
return e;
|
|
return e;
|
|
|
}
|
|
}
|
|
|
e.prototype.init = function() {
|
|
e.prototype.init = function() {
|
|
|
this.ATRewardVideoJS = cc.ATRewardVideoJS;
|
|
this.ATRewardVideoJS = cc.ATRewardVideoJS;
|
|
|
this.ATRewardVideoJS.proxy = this;
|
|
this.ATRewardVideoJS.proxy = this;
|
|
|
this.ATRewardVideoJS.init();
|
|
this.ATRewardVideoJS.init();
|
|
|
-this.ifWatchEnd = !1;
|
|
|
|
|
|
|
+this.canGet = !1;
|
|
|
this.reawardAdState == i.Unload && this.loadAd();
|
|
this.reawardAdState == i.Unload && this.loadAd();
|
|
|
};
|
|
};
|
|
|
e.prototype.placementID = function() {
|
|
e.prototype.placementID = function() {
|
|
@@ -1250,9 +1250,7 @@ o ? o++ : o = 1;
|
|
|
mk.storage.setStorage("ad_videoEcpm", o);
|
|
mk.storage.setStorage("ad_videoEcpm", o);
|
|
|
o <= 300 && (o <= 50 ? mk.data.sendDataEventValue(r.DataEventId.ad_videoEcpm, "ad_video_ecpm" + o, n.adsource_price) : o % 10 == 0 && mk.data.sendDataEventValue(r.DataEventId.ad_videoEcpm, "ad_video_ecpm" + o, n.adsource_price));
|
|
o <= 300 && (o <= 50 ? mk.data.sendDataEventValue(r.DataEventId.ad_videoEcpm, "ad_video_ecpm" + o, n.adsource_price) : o % 10 == 0 && mk.data.sendDataEventValue(r.DataEventId.ad_videoEcpm, "ad_video_ecpm" + o, n.adsource_price));
|
|
|
};
|
|
};
|
|
|
-e.prototype.onRewardedVideoAdPlayEnd = function() {
|
|
|
|
|
-this.ifWatchEnd = !0;
|
|
|
|
|
-};
|
|
|
|
|
|
|
+e.prototype.onRewardedVideoAdPlayEnd = function() {};
|
|
|
e.prototype.onRewardedVideoAdPlayFailed = function(t, e, n) {
|
|
e.prototype.onRewardedVideoAdPlayFailed = function(t, e, n) {
|
|
|
mk.console.log("AnyThinkRewardedVideoDemo::onRewardedVideoAdPlayFailed placementId >> ", t);
|
|
mk.console.log("AnyThinkRewardedVideoDemo::onRewardedVideoAdPlayFailed placementId >> ", t);
|
|
|
mk.console.log("AnyThinkRewardedVideoDemo::onRewardedVideoAdPlayFailed errorInfo ", e);
|
|
mk.console.log("AnyThinkRewardedVideoDemo::onRewardedVideoAdPlayFailed errorInfo ", e);
|
|
@@ -1262,17 +1260,17 @@ gData.adData.updateADLog(5, t, o);
|
|
|
s.default.getInstance().watchVideoAdCallBack(s.AdPlayStateType.PlayFail);
|
|
s.default.getInstance().watchVideoAdCallBack(s.AdPlayStateType.PlayFail);
|
|
|
};
|
|
};
|
|
|
e.prototype.onRewardedVideoAdClosed = function() {
|
|
e.prototype.onRewardedVideoAdClosed = function() {
|
|
|
-if (this.ifWatchEnd) {
|
|
|
|
|
|
|
+if (this.canGet) {
|
|
|
s.default.getInstance().watchVideoAdCallBack(s.AdPlayStateType.WatchEnd);
|
|
s.default.getInstance().watchVideoAdCallBack(s.AdPlayStateType.WatchEnd);
|
|
|
mk.data.sendDataEvent(r.DataEventId.video_end, mk.ad.videoAdType);
|
|
mk.data.sendDataEvent(r.DataEventId.video_end, mk.ad.videoAdType);
|
|
|
} else s.default.getInstance().watchVideoAdCallBack(s.AdPlayStateType.Cancel);
|
|
} else s.default.getInstance().watchVideoAdCallBack(s.AdPlayStateType.Cancel);
|
|
|
-this.ifWatchEnd = !1;
|
|
|
|
|
|
|
+this.canGet = !1;
|
|
|
this.loadAd();
|
|
this.loadAd();
|
|
|
};
|
|
};
|
|
|
e.prototype.onRewardedVideoAdPlayClicked = function() {};
|
|
e.prototype.onRewardedVideoAdPlayClicked = function() {};
|
|
|
e.prototype.onReward = function() {
|
|
e.prototype.onReward = function() {
|
|
|
console.log("onReward ");
|
|
console.log("onReward ");
|
|
|
-this.ifWatchEnd = !0;
|
|
|
|
|
|
|
+this.canGet = !0;
|
|
|
};
|
|
};
|
|
|
return e;
|
|
return e;
|
|
|
}(c.zgSingleton);
|
|
}(c.zgSingleton);
|
|
@@ -10951,7 +10949,7 @@ value: !0
|
|
|
n.ServerUrl = n.HttpData = void 0;
|
|
n.ServerUrl = n.HttpData = void 0;
|
|
|
var o, a = function() {
|
|
var o, a = function() {
|
|
|
function t() {
|
|
function t() {
|
|
|
-this.serverType = 0;
|
|
|
|
|
|
|
+this.serverType = 1;
|
|
|
}
|
|
}
|
|
|
t.prototype.getServerUrl = function() {
|
|
t.prototype.getServerUrl = function() {
|
|
|
switch (this.serverType) {
|
|
switch (this.serverType) {
|
|
@@ -11532,7 +11530,7 @@ value: !0
|
|
|
n.LogTagColor = void 0;
|
|
n.LogTagColor = void 0;
|
|
|
var a, i = function() {
|
|
var a, i = function() {
|
|
|
function t() {
|
|
function t() {
|
|
|
-this.ifShowLog = !0;
|
|
|
|
|
|
|
+this.ifShowLog = !1;
|
|
|
this._tagChar = "...";
|
|
this._tagChar = "...";
|
|
|
this._frontChar = " ";
|
|
this._frontChar = " ";
|
|
|
this._keyValueChar = " = ";
|
|
this._keyValueChar = " = ";
|
|
@@ -19440,7 +19438,7 @@ return [ 4, mk.http.sendData("readyCash", {}) ];
|
|
|
|
|
|
|
|
case 2:
|
|
case 2:
|
|
|
if (0 != (n = a.sent()).errcode) {
|
|
if (0 != (n = a.sent()).errcode) {
|
|
|
-41002 == n.errcode ? n.data.count ? gData.tipPanelData.openCashFailTip(n.data.count) : mk.tip.pop("提现排队中,多看视频优先提现") : mk.tip.pop(n.errmsg);
|
|
|
|
|
|
|
+n.data.count ? gData.tipPanelData.openCashFailTip(n.data.count) : mk.tip.pop("提现排队中,多看视频优先提现");
|
|
|
return [ 2 ];
|
|
return [ 2 ];
|
|
|
}
|
|
}
|
|
|
0 == n.CashMode || n.CashMode;
|
|
0 == n.CashMode || n.CashMode;
|