<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">var __extends = this &amp;&amp; this.__extends || function() {
    var e = Object.setPrototypeOf || {
        __proto__: []
    } instanceof Array &amp;&amp; function(e, t) {
        e.__proto__ = t;
    } || function(e, t) {
        for (var n in t) t.hasOwnProperty(n) &amp;&amp; (e[n] = t[n]);
    };
    return function(t, n) {
        function a() {
            this.constructor = t;
        }
        e(t, n), t.prototype = null === n ? Object.create(n) : (a.prototype = n.prototype, 
        new a());
    };
}();

!function() {
    function e(t, n, a) {
        function i(r, s) {
            if (!n[r]) {
                if (!t[r]) {
                    var l = "function" == typeof require &amp;&amp; require;
                    if (!s &amp;&amp; l) return l(r, !0);
                    if (o) return o(r, !0);
                    var u = new Error("Cannot find module '" + r + "'");
                    throw u.code = "MODULE_NOT_FOUND", u;
                }
                var c = n[r] = {
                    exports: {}
                };
                t[r][0].call(c.exports, function(e) {
                    return i(t[r][1][e] || e);
                }, c, c.exports, e, t, n, a);
            }
            return n[r].exports;
        }
        for (var o = "function" == typeof require &amp;&amp; require, r = 0; r &lt; a.length; r++) i(a[r]);
        return i;
    }
    return e;
}()({
    1: [ function(e, t, n) {
        "use strict";
        function a(e) {
            return e &amp;&amp; e.__esModule ? e : {
                default: e
            };
        }
        Object.defineProperty(n, "__esModule", {
            value: !0
        });
        var i = function() {
            function e(e, t) {
                for (var n = 0; n &lt; t.length; n++) {
                    var a = t[n];
                    a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a &amp;&amp; (a.writable = !0), 
                    Object.defineProperty(e, a.key, a);
                }
            }
            return function(t, n, a) {
                return n &amp;&amp; e(t.prototype, n), a &amp;&amp; e(t, a), t;
            };
        }(), o = a(e("./script/Login")), r = a(e("./project/ui/cutdown/CutdownUI")), s = a(e("./project/ui/adIcon/DelayMoveCtrl")), l = a(e("./project/ui/adIcon/AppLite")), u = a(e("./project/ui/main/MainUI")), c = a(e("./project/ui/adIcon/LRAdIconCtrl")), h = a(e("./project/ui/adIcon/GameAppList")), f = a(e("./project/ui/main/PerfectScoreEffect")), d = a(e("./project/ui/main/ComboTipEffect")), y = a(e("./project/scene/BitmapFontManager")), p = a(e("./project/ui/over/OverUI")), m = a(e("./project/ui/base/TopWidget")), v = a(e("./project/ui/adIcon/TopBanner")), g = a(e("./project/ui/rank/RankUI")), b = a(e("./project/ui/shareFail/ShareFailUI")), w = a(e("./project/ui/skin/SkinUI")), k = a(e("./project/ui/star/StarUI")), _ = a(e("./project/ui/thinkYouLike/ThinkYouLikeUI")), S = a(e("./project/ui/adIcon/AdListCtrl")), L = function() {
            function e() {
                !function(e, t) {
                    if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
                }(this, e);
            }
            return i(e, null, [ {
                key: "init",
                value: function() {
                    var e = Laya.ClassUtils.regClass;
                    e("script/Login.js", o.default), e("project/ui/cutdown/CutdownUI.js", r.default), 
                    e("project/ui/adIcon/DelayMoveCtrl.js", s.default), e("project/ui/adIcon/AppLite.js", l.default), 
                    e("project/ui/main/MainUI.js", u.default), e("project/ui/adIcon/LRAdIconCtrl.js", c.default), 
                    e("project/ui/adIcon/GameAppList.js", h.default), e("project/ui/main/PerfectScoreEffect.js", f.default), 
                    e("project/ui/main/ComboTipEffect.js", d.default), e("project/scene/BitmapFontManager.js", y.default), 
                    e("project/ui/over/OverUI.js", p.default), e("project/ui/base/TopWidget.js", m.default), 
                    e("project/ui/adIcon/TopBanner.js", v.default), e("project/ui/rank/RankUI.js", g.default), 
                    e("project/ui/shareFail/ShareFailUI.js", b.default), e("project/ui/skin/SkinUI.js", w.default), 
                    e("project/ui/star/StarUI.js", k.default), e("project/ui/thinkYouLike/ThinkYouLikeUI.js", _.default), 
                    e("project/ui/adIcon/AdListCtrl.js", S.default);
                }
            } ]), e;
        }();
        n.default = L, L.width = 750, L.height = 1334, L.scaleMode = "fixedwidth", L.screenMode = "none", 
        L.alignV = "top", L.alignH = "left", L.startScene = "Loading.scene", L.sceneRoot = "", 
        L.debug = !0, L.stat = !1, L.physicsDebug = !1, L.exportSceneToJson = !0, L.init();
    }, {
        "./project/scene/BitmapFontManager": 8,
        "./project/ui/adIcon/AdListCtrl": 30,
        "./project/ui/adIcon/AppLite": 31,
        "./project/ui/adIcon/DelayMoveCtrl": 32,
        "./project/ui/adIcon/GameAppList": 33,
        "./project/ui/adIcon/LRAdIconCtrl": 34,
        "./project/ui/adIcon/TopBanner": 35,
        "./project/ui/base/TopWidget": 40,
        "./project/ui/cutdown/CutdownUI": 44,
        "./project/ui/main/ComboTipEffect": 45,
        "./project/ui/main/MainUI": 46,
        "./project/ui/main/PerfectScoreEffect": 47,
        "./project/ui/over/OverUI": 48,
        "./project/ui/rank/RankUI": 50,
        "./project/ui/shareFail/ShareFailUI": 51,
        "./project/ui/skin/SkinUI": 52,
        "./project/ui/star/StarUI": 53,
        "./project/ui/thinkYouLike/ThinkYouLikeUI": 55,
        "./script/Login": 67
    } ],
    2: [ function(e, t, n) {
        "use strict";
        function a(e) {
            return e &amp;&amp; e.__esModule ? e : {
                default: e
            };
        }
        var i = function() {
            function e(e, t) {
                for (var n = 0; n &lt; t.length; n++) {
                    var a = t[n];
                    a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a &amp;&amp; (a.writable = !0), 
                    Object.defineProperty(e, a.key, a);
                }
            }
            return function(t, n, a) {
                return n &amp;&amp; e(t.prototype, n), a &amp;&amp; e(t, a), t;
            };
        }(), o = a(e("./GameConfig"));
        a(e("./project/utils/ResManager"));
        new (function() {
            function e() {
                !function(e, t) {
                    if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
                }(this, e), window.Laya3D ? Laya3D.init(o.default.width, o.default.height) : Laya.init(o.default.width, o.default.height, Laya.WebGL), 
                Laya.Physics &amp;&amp; Laya.Physics.enable(), Laya.DebugPanel &amp;&amp; Laya.DebugPanel.enable(), 
                Laya.stage.scaleMode = "showall", Laya.stage.screenMode = "none", 
                Laya.stage.alignV = "middle", Laya.stage.alignH = "center", Laya.URL.exportSceneToJson = o.default.exportSceneToJson, 
                o.default.physicsDebug &amp;&amp; Laya.PhysicsDebugDraw &amp;&amp; Laya.PhysicsDebugDraw.enable(), 
                o.default.stat &amp;&amp; Laya.Stat.show(), Laya.alertGlobalError = !0, Laya.ResourceVersion.enable("version.json", Laya.Handler.create(this, this.onVersionLoaded), Laya.ResourceVersion.FILENAME_VERSION);
            }
            return i(e, [ {
                key: "onVersionLoaded",
                value: function() {
                    Laya.AtlasInfoManager.enable("fileconfig.json", Laya.Handler.create(this, this.onConfigLoaded));//zs
                }
            },
            {
                key: "onConfigLoaded",
                value: function() {
                    o.default.startScene &amp;&amp; Laya.Scene.open(o.default.startScene);
                }
            } ]), e;
        }())();
    }, {
        "./GameConfig": 1,
        "./project/utils/ResManager": 58
    } ],
    3: [ function(e, t, n) {
        "use strict";
        function a(e) {
            return e &amp;&amp; e.__esModule ? e : {
                default: e
            };
        }
        Object.defineProperty(n, "__esModule", {
            value: !0
        });
        var i = function() {
            function e(e, t) {
                for (var n = 0; n &lt; t.length; n++) {
                    var a = t[n];
                    a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a &amp;&amp; (a.writable = !0), 
                    Object.defineProperty(e, a.key, a);
                }
            }
            return function(t, n, a) {
                return n &amp;&amp; e(t.prototype, n), a &amp;&amp; e(t, a), t;
            };
        }(), o = a(e("./ScoreMaker")), r = a(e("../utils/UtilsCommon")), s = a(e("../utils/ShareHelper")), l = a(e("../utils/AdsManager")), u = a(e("./ProjectManager")), c = a(e("../utils/StatisticsManager")), h = (a(e("../scene/Actor")), 
        a(e("../scene/block/BlockQueueCtrl"))), f = (a(e("../ui/over/OverUI")), a(e("../scene/road/RoadManager"))), d = a(e("../ui/cutdown/CutdownUI")), y = a(e("../scene/break/BreakManager")), p = a(e("../scene/bullet/BulletManager")), m = a(e("../utils/ResManager")), v = a(e("../ui/shareFail/ShareFailUI")), g = a(e("../utils/EventDispatcher")), b = function() {
            function e() {
                !function(e, t) {
                    if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
                }(this, e), this.shootCd = 100, this.frameTime = 20, this.hit = 0;
            }
            return i(e, [ {
                key: "isGaming",
                value: function() {
                    return this.state == e.State.Ready &amp;&amp; !h.default.inst.isEmit;
                }
            }, {
                key: "isOver",
                value: function() {
                    return this.state == e.State.Over;
                }
            }, {
                key: "cotinueProgress",
                value: function() {
                    if (u.default.inst().isLocalGame) return c.default.reset(1), void this.start(1);
                    c.default.reset(1), this.start(1);
                }
            }, {
                key: "pauseGame",
                value: function() {
                    this.state = e.State.Pause;
                }
            }, {
                key: "continueGame",
                value: function() {
                    this.state != e.State.Over &amp;&amp; this.toReadyLaunch();
                }
            }, {
                key: "reviveGame",
                value: function() {
                    this.actor &amp;&amp; this.actor.revive(), this.toReadyLaunch(), this.onRevive &amp;&amp; this.onRevive();
                }
            }, {
                key: "restartGame",
                value: function() {
                    var e = arguments.length &gt; 0 &amp;&amp; void 0 !== arguments[0] &amp;&amp; arguments[0];
                    null != this.onRestart &amp;&amp; this.onRestart(), e || c.default.sendStatistics(0), c.default.reset(this.lvl), 
                    c.default.recordRestart(), this.lvl = 1, this.start(this.lvl);
                }
            }, {
                key: "start",
                value: function(t) {
                    this.state = e.State.UnStart, c.default.recordEnterGame(), trace("å¼€å§‹,ç­‰çº§=" + t), 
                    this.scoreMaker.reset(), this.scoreRate = 1, this.lvl = t, this.startTime = new Date().getTime(), 
                    this.goManager &amp;&amp; this.goManager.resetDisplay(t), this.mouseDown = !1, this.curCd = 0, 
                    this.hit = 0, this.cancelShootSe(), null != this.onStart &amp;&amp; this.onStart(t);
                }
            }, {
                key: "enterGame",
                value: function() {
                    this.toReadyLaunch();
                }
            }, {
                key: "Invincible",
                value: function() {
                    p.default.inst.startInvincible(1e4);
                }
            }, {
                key: "toNextLvl",
                value: function(e) {
                    this.scoreRate = e, y.default.inst.hide(), g.default.event("onNextLvl"), p.default.inst.cleanTrail();
                }
            }, {
                key: "_toNextLvl",
                value: function() {
                    var t = parseInt((new Date().getTime() - this.startTime) / 1e3);
                    LayaSample.wxMgr.settlementLevel(this.lvl, this.scoreMaker.score, t), this.goManager.playWinEff(), 
                    LayaSample.wxMgr.mobileShakingLong(), r.default.playSe(m.default.se_win), this.cancelShootSe(), 
                    this.playRoadWaittingEff(), this.lvl++, this.state = e.State.Move, this.toNextLvl(this.scoreRate);
                }
            }, {
                key: "toReadyLaunch",
                value: function() {
                    this.state = e.State.Ready, null != this.onReadyLaunch &amp;&amp; this.onReadyLaunch();
                }
            }, {
                key: "over",
                value: function() {
                    this.cancelShootSe(), this.state = e.State.Over;
                    this.scoreMaker.score;
                    var t = parseInt((new Date().getTime() - this.startTime) / 1e3);
                    LayaSample.wxMgr.settlementLevel(this.lvl, this.scoreMaker.score, t);
                }
            }, {
                key: "init",
                value: function() {
                    var t = this;
                    this.isInit || (this.isInit = !0, this.lvl = 0, this.state = e.State.UnStart, this.scoreMaker = new o.default(), 
                    this.curCd = 0, s.default.inst().onSuccess = this.onShareSuccess, s.default.inst().onFail = this.onShareFail, 
                    s.default.inst().onCancelFromTip = this.onCancelFromTip, h.default.inst.OnRemoveDownest = function(e) {
                        e ? t.scoreMaker.addScore(3 * t.scoreRate) : t.scoreMaker.addScore(1 * t.scoreRate), 
                        t.mouseDown &amp;&amp; t.hit++, LayaSample.wxMgr.mobileShakingShort(), r.default.excuteFunc(t.onScoreChange, t.scoreMaker.score, t.hit, e), 
                        0 == h.default.inst.getUnitCount() &amp;&amp; t._toNextLvl();
                    }, h.default.inst.OnEmitEnd = function() {
                        t.state == e.State.Build &amp;&amp; (t.state = e.State.Ready, f.default.inst.buildNewRoad());
                    }, p.default.inst.OnInvincibleStart = function(e) {
                        t.actor &amp;&amp; t.actor.playInvEff(), r.default.excuteFunc(t.OnInvincibleStart), r.default.playInvState(!0);
                    }, p.default.inst.OnInvincibleEnd = function(e) {
                        t.actor &amp;&amp; t.actor.hideInvEff(), r.default.excuteFunc(t.OnInvincibleEnd), r.default.playInvState(!1), 
                        t.cancelShootSe();
                    }, Laya.timer.frameLoop(1, this, this.update));
                }
            }, {
                key: "attachGoManager",
                value: function(t) {
                    var n = this;
                    this.goManager = t, this.actor = t.actor, this.actor.OnMoveEnd = function() {
                        n.state = e.State.Build, n.goManager.buildNewLvl(n.lvl);
                    }, this.actor.OnKillActor = function() {
                        n.goManager.playDead(n.actor.owner), Laya.timer.once(2e3, n, function() {
                            d.default.inst.setDataAndShow(n.scoreMaker.score);
                        }), null != n.onOver &amp;&amp; n.onOver(!1, n.scoreMaker.score, n.lvl);
                    }, y.default.inst.OnHide = function() {
                        e.inst().actor &amp;&amp; e.inst().actor.move();
                    };
                }
            }, {
                key: "onMouseDown",
                value: function() {
                    this.isGaming() &amp;&amp; (this.mouseDown = !0, this.playRoadWaittingEff(!1));
                }
            }, {
                key: "onMouseUp",
                value: function() {
                    this.mouseDown = !1, this.state == e.State.Ready &amp;&amp; (this.hit = 0), this.cancelShootSe(), 
                    this.playRoadWaittingEff();
                }
            }, {
                key: "playRoadWaittingEff",
                value: function() {
                    var e = !(arguments.length &gt; 0 &amp;&amp; void 0 !== arguments[0]) || arguments[0];
                    if (this.goManager) {
                        var t = this.goManager.getCurrentRoad();
                        t &amp;&amp; (e ? t.playWaitingEff() : t.cancelWaitingEff());
                    }
                }
            }, {
                key: "cancelShootSe",
                value: function() {
                    r.default.playNormalShoot(!1), r.default.playInvShoot(!1), this.isPlayingShootBGM = !1;
                }
            }, {
                key: "playShootSe",
                value: function() {
                    this.isPlayingShootBGM || (this.isPlayingShootBGM = !0, p.default.inst.isInvincibling() ? r.default.playInvShoot(!0) : r.default.playNormalShoot(!0));
                }
            }, {
                key: "isInvincibling",
                value: function() {
                    return p.default.inst.isInvincibling();
                }
            }, {
                key: "update",
                value: function() {
                    this.isGaming() &amp;&amp; (this.actor.isRotating ? this.actor.isNeedRotate &amp;&amp; this.mouseDown &amp;&amp; this.actor.startRotateToFire() : (this.curCd -= this.frameTime, 
                    this.mouseDown &amp;&amp; this.curCd &lt;= 0 &amp;&amp; (this.curCd = this.shootCd, this.actor.shoot(), 
                    this.playShootSe())));
                }
            }, {
                key: "onShareSuccess",
                value: function(e) {
                    switch (e) {
                      case l.default.reviveToken:
                    }
                }
            }, {
                key: "onShareFail",
                value: function(e) {
                    v.default.inst.show();
                }
            }, {
                key: "onCancelFromTip",
                value: function(e) {
                    switch (e) {
                      case l.default.reviveToken:
                        d.default.inst.isLookingVideo = !1;
                    }
                }
            } ]), e;
        }();
        n.default = b, b.inst = function() {
            return null == b._inst &amp;&amp; (b._inst = new b()), b._inst;
        }, b.State = {
            UnStart: 0,
            Ready: 1,
            Relax: 2,
            Move: 3,
            Build: 4,
            Over: 5,
            Pause: 6
        };
    }, {
        "../scene/Actor": 7,
        "../scene/block/BlockQueueCtrl": 13,
        "../scene/break/BreakManager": 16,
        "../scene/bullet/BulletManager": 21,
        "../scene/road/RoadManager": 25,
        "../ui/cutdown/CutdownUI": 44,
        "../ui/over/OverUI": 48,
        "../ui/shareFail/ShareFailUI": 51,
        "../utils/AdsManager": 56,
        "../utils/EventDispatcher": 57,
        "../utils/ResManager": 58,
        "../utils/ShareHelper": 59,
        "../utils/StatisticsManager": 62,
        "../utils/UtilsCommon": 64,
        "./ProjectManager": 5,
        "./ScoreMaker": 6
    } ],
    4: [ function(e, t, n) {
        "use strict";
        function a(e) {
            return e &amp;&amp; e.__esModule ? e : {
                default: e
            };
        }
        Object.defineProperty(n, "__esModule", {
            value: !0
        });
        var i = function() {
            function e(e, t) {
                for (var n = 0; n &lt; t.length; n++) {
                    var a = t[n];
                    a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a &amp;&amp; (a.writable = !0), 
                    Object.defineProperty(e, a.key, a);
                }
            }
            return function(t, n, a) {
                return n &amp;&amp; e(t.prototype, n), a &amp;&amp; e(t, a), t;
            };
        }(), o = (a(e("../utils/SimplePool")), a(e("../utils/UtilsCommon")), function() {
            function e() {
                !function(e, t) {
                    if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
                }(this, e), this.tokenSplit = ",";
            }
            return i(e, [ {
                key: "init",
                value: function() {
                    this.curLvl = 0;
                }
            }, {
                key: "setLvl",
                value: function(e) {
                    this.curLvl = e, Laya.Browser.onWeiXin &amp;&amp; wx.showLoading({
                        title: "Loading",
                        mask: !0
                    }), Laya.loader.load(this.getJsonPath(e), Laya.Handler.create(this, this._onLoaded, null, Laya.Loader.JSON));
                }
            }, {
                key: "_reload",
                value: function() {
                    Laya.loader.load(this.getJsonPath(this.curLvl), Laya.Handler.create(this, this._onLoaded, null, Laya.Loader.JSON));
                }
            }, {
                key: "_onLoaded",
                value: function(e) {
                    var t = this;
                    if (Laya.Browser.onWeiXin &amp;&amp; wx.hideLoading(), null != e) {
                        var n = Laya.loader.getRes(this.getJsonPath(this.curLvl));
                        this.returnPool(), null != this.OnLoaded &amp;&amp; this.OnLoaded(n);
                    } else Laya.Browser.onWeiXin &amp;&amp; wx.showModal({
                        title: "TIPS",
                        content: "Failed to load level",
                        showCancel: !1,
                        confirmText: "Reload",
                        success: function(e) {
                            e.confirm &amp;&amp; t._reload();
                        }
                    });
                }
            }, {
                key: "getJsonPath",
                value: function(e) {
                    return "data/level" + e + ".json";
                }
            }, {
                key: "returnPool",
                value: function() {}
            }, {
                key: "_returnPool",
                value: function(e, t) {}
            } ]), e;
        }());
        n.default = o, o.inst = function() {
            return null == o._inst &amp;&amp; (o._inst = new o()), o._inst;
        };
    }, {
        "../utils/SimplePool": 61,
        "../utils/UtilsCommon": 64
    } ],
    5: [ function(e, t, n) {
        "use strict";
        function a(e) {
            return e &amp;&amp; e.__esModule ? e : {
                default: e
            };
        }
        Object.defineProperty(n, "__esModule", {
            value: !0
        });
        var i = function() {
            function e(e, t) {
                for (var n = 0; n &lt; t.length; n++) {
                    var a = t[n];
                    a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a &amp;&amp; (a.writable = !0), 
                    Object.defineProperty(e, a.key, a);
                }
            }
            return function(t, n, a) {
                return n &amp;&amp; e(t.prototype, n), a &amp;&amp; e(t, a), t;
            };
        }(), o = (a(e("./LevelGameManager")), a(e("./GameManager"))), r = a(e("../utils/ShareHelper")), s = a(e("../utils/AdsManager")), l = function() {
            function e() {
                !function(e, t) {
                    if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
                }(this, e), this.isLocalGame = !1;
            }
            return i(e, [ {
                key: "init",
                value: function() {
                    this.shareHelper = r.default.inst(), r.default.inst().init(5e3, function(e) {
                        var t = r.default.shareTokenToType(e);
                        (t = LayaSample.wxMgr.getShareByType(t)) &amp;&amp; LayaSample.wxMgr.upShareInfo(t.share_id);
                    }), s.default.init(), o.default.inst().init();
                    var e = LayaSample.commonData.wxysysInfo;
                    e &amp;&amp; e.model &amp;&amp; e.model.startsWith("iPhone 6") ? this._isNoRankModel = !0 : this._isNoRankModel = !1, 
                    this.getSkinData();
                }
            }, {
                key: "isNoRankModel",
                value: function() {
                    return this._isNoRankModel;
                }
            }, {
                key: "getSkinData",
                value: function() {
                    this.isNoShowSkinToday = !1;
                    var e = Laya.LocalStorage.getItem("recordTime"), t = new Date(), n = t.getMonth() + "_" + t.getDate();
                    n == e ? this.isNoShowSkinToday = "1" == Laya.LocalStorage.getItem("isNoShowSkinToday") : (Laya.LocalStorage.setItem("recordTime", n), 
                    Laya.LocalStorage.setItem("isNoShowSkinToday", "0"));
                }
            }, {
                key: "setNoShowSkinToday",
                value: function(e) {
                    var t = new Date(), n = t.getMonth() + "_" + t.getDate();
                    Laya.LocalStorage.setItem("recordTime", n), this.isNoShowSkinToday = e, Laya.LocalStorage.setItem("isNoShowSkinToday", e ? "1" : "0");
                }
            } ]), e;
        }();
        n.default = l, l.inst = function() {
            return null == l._inst &amp;&amp; (l._inst = new l()), l._inst;
        };
    }, {
        "../utils/AdsManager": 56,
        "../utils/ShareHelper": 59,
        "./GameManager": 3,
        "./LevelGameManager": 4
    } ],
    6: [ function(e, t, n) {
        "use strict";
        Object.defineProperty(n, "__esModule", {
            value: !0
        });
        var a = function() {
            function e(e, t) {
                for (var n = 0; n &lt; t.length; n++) {
                    var a = t[n];
                    a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a &amp;&amp; (a.writable = !0), 
                    Object.defineProperty(e, a.key, a);
                }
            }
            return function(t, n, a) {
                return n &amp;&amp; e(t.prototype, n), a &amp;&amp; e(t, a), t;
            };
        }(), i = function() {
            function e() {
                !function(e, t) {
                    if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
                }(this, e);
            }
            return a(e, [ {
                key: "init",
                value: function() {
                    this.reset();
                }
            }, {
                key: "reset",
                value: function() {
                    this.score = 0;
                }
            }, {
                key: "addScore",
                value: function(e) {
                    this.score += e;
                }
            } ]), e;
        }();
        n.default = i;
    }, {} ],
    7: [ function(e, t, n) {
        "use strict";
        function a(e) {
            return e &amp;&amp; e.__esModule ? e : {
                default: e
            };
        }
        Object.defineProperty(n, "__esModule", {
            value: !0
        });
        var i = function() {
            function e(e, t) {
                for (var n = 0; n &lt; t.length; n++) {
                    var a = t[n];
                    a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a &amp;&amp; (a.writable = !0), 
                    Object.defineProperty(e, a.key, a);
                }
            }
            return function(t, n, a) {
                return n &amp;&amp; e(t.prototype, n), a &amp;&amp; e(t, a), t;
            };
        }(), o = a(e("../utils/Tween3DTool")), r = a(e("../utils/UtilsCommon")), s = a(e("./bullet/BulletManager")), l = a(e("./road/RoadManager")), u = a(e("../utils/UtilsGameObject")), c = function(e) {
            function t() {
                !function(e, t) {
                    if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
                }(this, t);
                var e = function(e, t) {
                    if (!e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
                    return !t || "object" != typeof t &amp;&amp; "function" != typeof t ? e : t;
                }(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this));
                return e.moveToCenterTime = 600, e.moveToStartTime = 700, e.rotateTime = 200, e.moveTool = new o.default(), 
                e.moveToolCam = new o.default(), e.startPos = new Laya.Vector3(), e.hasRotateAni = !1, 
                e.skins = null, e.curSkin = 0, e;
            }
            return function(e, t) {
                if ("function" != typeof t &amp;&amp; null !== t) throw new TypeError("Super expression must either be null or a function, not " + typeof t);
                e.prototype = Object.create(t &amp;&amp; t.prototype, {
                    constructor: {
                        value: e,
                        enumerable: !1,
                        writable: !0,
                        configurable: !0
                    }
                }), t &amp;&amp; (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);
            }(t, Laya.Script), i(t, [ {
                key: "init",
                value: function(e, t, n, a) {
                    this.actorGo = this.owner.getChildByName("actor"), this.firePort = this.actorGo.getChildByName("firePort"), 
                    this.unStartCamTf = this.actorGo.getChildByName("unStartCamTf"), this.startCamTf = this.actorGo.getChildByName("startCamTf"), 
                    this.invEff = this.actorGo.getChildByName("FX_DFKSkillCharge"), this.timePos = this.actorGo.getChildByName("timePos"), 
                    this.attachSkinRes(this.actorGo, a), this.startPos = e, this.startRot = t, this.camera = n, 
                    this.resetUnstartCam();
                }
            }, {
                key: "attachSkinRes",
                value: function(e, n) {
                    if (!this.skins &amp;&amp; null != e) if (this.skins = [], this.skins.push(e.getChildByName("qiu01")), 
                    null != n) {
                        t.hasSkinSrc = !0;
                        for (var a = n.getChildByName("skins"), i = 0; i &lt; a.numChildren; i++) {
                            var o = a.getChildAt(i);
                            this.skins.push(o), o &amp;&amp; (o.active = !1);
                        }
                        for (var r = 1; r &lt; this.skins.length; r++) {
                            var s = this.skins[r];
                            e.addChild(s);
                        }
                    } else t.hasSkinSrc = !1;
                }
            }, {
                key: "changeSkin",
                value: function(e) {
                    if (!r.default.isArrayIndexOut(this.skins, e)) {
                        var t = this.skins[e];
                        if (t) {
                            if (t.active = !0, e == this.curSkin) return;
                            var n = this.skins[this.curSkin];
                            n &amp;&amp; (n.active = !1), this.curSkin = e;
                        }
                    }
                }
            }, {
                key: "revive",
                value: function() {
                    this.actorGo.active = !0, s.default.inst.reset();
                }
            }, {
                key: "beKill",
                value: function() {
                    LayaSample.wxMgr.mobileShakingLong(), this.actorGo.active = !1, r.default.excuteFunc(this.OnKillActor);
                }
            }, {
                key: "move",
                value: function() {
                    var e = l.default.inst.getNextRoadPosesGo();
                    e &amp;&amp; this._move(e.p1, e.p2);
                }
            }, {
                key: "_move",
                value: function(e, t) {
                    var n = this;
                    this.moveTool.onPositionMoveTo(this.owner, e.transform.position, this.moveToCenterTime, Laya.Ease.linearIn, this, function() {
                        n.moveTool.onWorldRotationRotateTo(n.owner, t.transform.rotationEuler, n.rotateTime, Laya.Ease.linearIn, n, null), 
                        n.moveTool.onPositionMoveTo(n.owner, t.transform.position, n.moveToStartTime, Laya.Ease.linearIn, n, function() {
                            r.default.excuteFunc(n.OnMoveEnd);
                        }, !1);
                    }, !0);
                }
            }, {
                key: "playInvEff",
                value: function() {
                    this.invEff.active = !0;
                }
            }, {
                key: "hideInvEff",
                value: function() {
                    this.invEff.active = !1;
                }
            }, {
                key: "resetUnstartCam",
                value: function() {
                    u.default.samePosition(this.unStartCamTf, this.camera), u.default.sameRotation(this.unStartCamTf, this.camera);
                }
            }, {
                key: "reset",
                value: function() {
                    this.isRotating = !0, this.isNeedRotate = !0, this.owner.transform.rotationEuler = this.startRot.clone(), 
                    this.owner.transform.position = this.startPos.clone(), this.resetUnstartCam(), this.actorGo &amp;&amp; (this.actorGo.active = !0, 
                    this.changeSkin(0), this.hasRotateAni ? this.actorGo.transform.localRotationEuler = t.startRotation.clone() : this.actorGo.transform.localRotationEuler = new Laya.Vector3()), 
                    this.invEff.active = !1;
                }
            }, {
                key: "shoot",
                value: function() {
                    s.default.inst.fire(this.firePort);
                }
            }, {
                key: "startRotateToFire",
                value: function() {
                    var e = this;
                    if (null != this.actorGo) {
                        if (this.isNeedRotate = !1, this.hasRotateAni) {
                            this.isRotating = !0;
                            this.moveTool.onRotationRotateTo(this.actorGo, Laya.Vector3.ZERO, this.rotateTime, Laya.Ease.linearIn, this, function() {
                                e.isRotating = !1, r.default.excuteFunc(e.OnRotateEnd);
                            });
                        } else this.isRotating = !1, r.default.excuteFunc(this.OnRotateEnd);
                        this.moveToolCam.onPositionMoveTo(this.camera, this.startCamTf.transform.position, this.rotateTime, Laya.Ease.linearIn, this, function() {});
                    }
                }
            } ]), t;
        }();
        n.default = c, c.startRotation = new Laya.Vector3(0, 120, 0), c.hasSkinSrc = !1;
    }, {
        "../utils/Tween3DTool": 63,
        "../utils/UtilsCommon": 64,
        "../utils/UtilsGameObject": 66,
        "./bullet/BulletManager": 21,
        "./road/RoadManager": 25
    } ],
    8: [ function(e, t, n) {
        "use strict";
        function a(e) {
            return e &amp;&amp; e.__esModule ? e : {
                default: e
            };
        }
        Object.defineProperty(n, "__esModule", {
            value: !0
        });
        var i = function() {
            function e(e, t) {
                for (var n = 0; n &lt; t.length; n++) {
                    var a = t[n];
                    a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a &amp;&amp; (a.writable = !0), 
                    Object.defineProperty(e, a.key, a);
                }
            }
            return function(t, n, a) {
                return n &amp;&amp; e(t.prototype, n), a &amp;&amp; e(t, a), t;
            };
        }(), o = a(e("../utils/SimpleGoPool")), r = a(e("../utils/SimplePool")), s = function(e) {
            function t() {
                !function(e, t) {
                    if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
                }(this, t);
                var e = function(e, t) {
                    if (!e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
                    return !t || "object" != typeof t &amp;&amp; "function" != typeof t ? e : t;
                }(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this));
                return t.inst = e, e;
            }
            return function(e, t) {
                if ("function" != typeof t &amp;&amp; null !== t) throw new TypeError("Super expression must either be null or a function, not " + typeof t);
                e.prototype = Object.create(t &amp;&amp; t.prototype, {
                    constructor: {
                        value: e,
                        enumerable: !1,
                        writable: !0,
                        configurable: !0
                    }
                }), t &amp;&amp; (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);
            }(t, Laya.Sprite), i(t, [ {
                key: "init",
                value: function() {
                    if (!this.isInit) {
                        this.isInit = !0, this.dic = {}, this.dicPool = {}, this.space = 2;
                        for (var e = 0; e &lt; 10; e++) this.dic["" + e] = this["n" + e];
                        for (var t = 0; t &lt; 10; t++) this.dic["j" + t] = this["j" + t];
                        for (var n = 0; n &lt; 10; n++) this.dic["s" + n] = this["s" + n];
                        for (var a = 0; a &lt; 10; a++) this.dic["r" + a] = this["r" + a];
                        this.fontToken = "font", this.fontInfo = "fontInfo", this.nType = "n", this.sType = "s", 
                        this.jType = "j", this.rType = "r", this.dic.sc = this.combob;
                    }
                }
            }, {
                key: "disposeByToken",
                value: function(e) {
                    var t = this.dicPool[e];
                    if (null != t) for (var n = 0; n &lt; t.length; n++) {
                        var a = t[n];
                        o.default.inst().returnPool(a.v, a.k), r.default.inst().returnPool(a, this.fontInfo);
                    }
                    this.dicPool[e] = [];
                }
            }, {
                key: "showFont",
                value: function(e, t, n) {
                    var a = arguments.length &gt; 3 &amp;&amp; void 0 !== arguments[3] ? arguments[3] : 1, i = arguments.length &gt; 4 &amp;&amp; void 0 !== arguments[4] ? arguments[4] : "n";
                    if (null != e &amp;&amp; null != t &amp;&amp; null != n) {
                        this.disposeByToken(n);
                        for (var s = 0, l = e.length, u = null, c = null, h = [], f = 0; f &lt; l; f++) {
                            var d = e[f];
                            c = r.default.inst().getObjectFromPool(this.fontInfo), i != this.nType &amp;&amp; null != i &amp;&amp; (d = i + d), 
                            null != (u = o.default.inst().getFromPoolPrefab(this.dic[d], this.fontToken + d, t)) &amp;&amp; (u.x = s, 
                            s += u.width + this.space, c.v = u, c.k = this.fontToken + d, this.dicPool[n].push(c), 
                            h.push(u));
                        }
                        l = h.length;
                        for (var y = s / 2, p = 0; p &lt; l; p++) {
                            h[p].x -= y;
                        }
                        t.scale(a, a);
                    }
                }
            } ]), t;
        }();
        n.default = s;
    }, {
        "../utils/SimpleGoPool": 60,
        "../utils/SimplePool": 61
    } ],
    9: [ function(e, t, n) {
        "use strict";
        Object.defineProperty(n, "__esModule", {
            value: !0
        });
        n.default = function e() {
            !function(t, n) {
                if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function");
            }(this);
        };
    }, {} ],
    10: [ function(e, t, n) {
        "use strict";
        function a(e) {
            return e &amp;&amp; e.__esModule ? e : {
                default: e
            };
        }
        Object.defineProperty(n, "__esModule", {
            value: !0
        });
        var i = function() {
            function e(e, t) {
                for (var n = 0; n &lt; t.length; n++) {
                    var a = t[n];
                    a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a &amp;&amp; (a.writable = !0), 
                    Object.defineProperty(e, a.key, a);
                }
            }
            return function(t, n, a) {
                return n &amp;&amp; e(t.prototype, n), a &amp;&amp; e(t, a), t;
            };
        }(), o = a(e("../utils/SimplePool")), r = a(e("../utils/SimpleGoPool")), s = a(e("./EffectInfo")), l = function() {
            function e() {
                !function(e, t) {
                    if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
                }(this, e), this.effIds = [], this.effects = [], this.token = "effect_", this.checkStopTime = 2e3, 
                Laya.timer.loop(this.checkStopTime, this, this._checkStop), this.autoDestroyEffect = !0, 
                this.includeAnimator = !0;
            }
            return i(e, [ {
                key: "playEffect",
                value: function(e, t, n, a) {
                    if (null != this.getEffectRes) {
                        -1 == this.effIds.indexOf(e) &amp;&amp; this.effIds.push(e);
                        var i = o.default.inst().getFromPool(s.default, "EffectInfo"), l = r.default.inst().getFromPool(this.getEffectRes(e), this.token + e, t);
                        if (null != l) {
                            if (i.owner = l, i.effectId = e, i.playTime = a, i.emits = [], this.includeAnimator &amp;&amp; (i.ani = []), 
                            l.particleSystem &amp;&amp; i.emits.push(l.particleSystem), i.ani) {
                                (h = l.getComponent(Laya.Animation)) &amp;&amp; i.ani.push(h);
                            }
                            if (l.numChildren &gt; 0) for (var u = 0; u &lt; l.numChildren; u++) {
                                var c = l.getChildAt(u);
                                if (c.particleSystem &amp;&amp; i.emits.push(c.particleSystem), i.ani) {
                                    var h = c.getComponent(Laya.Animation);
                                    h &amp;&amp; i.ani.push(h);
                                }
                            }
                            i.emits.length &gt; 0 ? i.emit = i.emits[0] : i.emit = null, this.effects.push(i);
                            for (var f = 0; f &lt; i.emits.length; f++) {
                                i.emits[f].play();
                            }
                            l.transform.position = n;
                        } else trace("æ‰¾ä¸åˆ°å¯¹åº”ç‰¹æ€§id=" + e);
                    }
                }
            }, {
                key: "clearEffects",
                value: function() {
                    for (;this.effects.length &gt; 0; ) {
                        var e = this.effects[0];
                        this.removeEffect(e);
                    }
                    if (this.autoDestroyEffect) for (;this.effIds.length &gt; 0; ) {
                        var t = this.effIds.shift();
                        r.default.inst().destroyResFromPool(this.token + t, !0);
                    }
                }
            }, {
                key: "removeEffect",
                value: function(e, t) {
                    var n = this.effects.indexOf(e);
                    if (-1 != n &amp;&amp; (this.effects.splice(n, 1), null != e)) {
                        if (t &amp;&amp; null != e.emits) for (var a = 0; a &lt; e.emits.length; a++) {
                            e.emits[a].stop();
                        }
                        r.default.inst().returnPool(e.owner, this.token + e.effectId), e.owner = null, o.default.inst().returnPool(e, "EffectInfo");
                    }
                }
            }, {
                key: "_checkStop",
                value: function() {
                    for (var e = this.effects.length; e &gt;= 0; e--) {
                        var t = this.effects[e];
                        null != t &amp;&amp; (t.playTime &amp;&amp; (t.playTime -= this.checkStopTime), (null != t.emit &amp;&amp; !t.emit.isAlive || null == t.emit &amp;&amp; null == t.ani || null != t.playTime &amp;&amp; t.playTime &lt;= 0) &amp;&amp; this.removeEffect(t));
                    }
                }
            } ]), e;
        }();
        n.default = l, l.inst = function() {
            return null == l._inst &amp;&amp; (l._inst = new l()), l._inst;
        };
    }, {
        "../utils/SimpleGoPool": 60,
        "../utils/SimplePool": 61,
        "./EffectInfo": 9
    } ],
    11: [ function(e, t, n) {
        "use strict";
        function a(e) {
            return e &amp;&amp; e.__esModule ? e : {
                default: e
            };
        }
        Object.defineProperty(n, "__esModule", {
            value: !0
        });
        var i = function() {
            function e(e, t) {
                for (var n = 0; n &lt; t.length; n++) {
                    var a = t[n];
                    a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a &amp;&amp; (a.writable = !0), 
                    Object.defineProperty(e, a.key, a);
                }
            }
            return function(t, n, a) {
                return n &amp;&amp; e(t.prototype, n), a &amp;&amp; e(t, a), t;
            };
        }(), o = a(e("../utils/UtilsCommon")), r = a(e("./road/RoadManager")), s = a(e("./EffectManager")), l = a(e("../utils/UtilsGameObject")), u = a(e("./Actor")), c = a(e("./block/BlockQueueCtrl")), h = a(e("./break/BreakManager")), f = a(e("./bullet/BulletManager")), d = function() {
            function e() {
                !function(e, t) {
                    if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
                }(this, e);
            }
            return i(e, [ {
                key: "resetDisplay",
                value: function(e) {
                    r.default.inst.reset(), this.actor.reset(), this.buildNewLvl(e, !0), f.default.inst.reset();
                }
            }, {
                key: "buildNewLvl",
                value: function(e) {
                    var t = null;
                    (t = arguments.length &gt; 1 &amp;&amp; void 0 !== arguments[1] &amp;&amp; arguments[1] ? r.default.inst.getCurrentRoad() : r.default.inst.getNextRoad()) &amp;&amp; (c.default.inst.buildRandom(t.blockStartPos, e), 
                    c.default.inst.setTrigger(t.blockTrigger), c.default.inst.emit(), h.default.inst.buildRandom(t, e), 
                    h.default.inst.emit());
                }
            }, {
                key: "init",
                value: function(t, n, a) {
                    if (null != n) {
                        t.continuousCollisionDetection = !0, this.scene = t, Laya.stage.addChild(this.scene), 
                        this.blockColors = [];
                        for (var i = n.getChildByName("colors"), o = 0; o &lt; i.numChildren; o++) {
                            var h = i.getChildAt(o).meshRenderer.material.albedoColor;
                            h &amp;&amp; this.blockColors.push(h);
                        }
                        c.default.inst.resetColors(), r.default.inst.setParent(this.scene);
                        var d = this.scene.getChildByName("Main Camera");
                        this.camera = d, this.roadSrc = n.getChildByName("road"), this.bulletSrc = n.getChildByName("bullet"), 
                        this.bulletBigSrc = n.getChildByName("bullet_big"), f.default.inst.init(this.scene, this.bulletSrc, this.bulletBigSrc), 
                        this.actorGo = new Laya.Sprite3D("actor");
                        var y = n.getChildByName("actor");
                        y.transform.position = new Laya.Vector3(), this.actorGo.addChild(y), this.scene.addChild(this.actorGo), 
                        this.actorGo.addChild(d), this.actor = l.default.mayComponent(this.actorGo, u.default);
                        var p = this.roadSrc.getChildByName("firePos").transform;
                        this.actor.init(p.position, p.rotationEuler, d, a), this.blockSrcs = [];
                        for (var m = n.getChildByName("blocks"), v = 0; v &lt; m.numChildren; v++) {
                            var g = m.getChildAt(v);
                            this.blockSrcs.push(g);
                        }
                        this.breakSrcs = [];
                        for (var m = n.getChildByName("breaks"), b = 1; b &lt;= m.numChildren; b++) {
                            var w = m.getChildByName("dangban0" + b);
                            w &amp;&amp; this.breakSrcs.push(w);
                        }
                        this.block_mats = [];
                        for (var k = 1; k &lt;= 4; k++) {
                            var _ = n.getChildByName("block_mat" + k).meshRenderer.material;
                            this.block_mats.push(_);
                        }
                        this.break_mat1 = n.getChildByName("break_mat1").meshRenderer.material, this.break_mat2 = n.getChildByName("break_mat2").meshRenderer.material, 
                        this.effs = [];
                        for (var S = 1; S &lt;= 3; S++) {
                            var L = n.getChildByName("FX_DFKRibbon" + S);
                            this.effs.push(L);
                        }
                        this.effectManager = s.default.inst(), this.effectManager.getEffectRes = function(t) {
                            return e.inst.getEffectRes(t);
                        }, this.deadEff = n.getChildByName("FX_DFKActorDie"), this.effs.push(this.deadEff);
                    }
                }
            }, {
                key: "playDead",
                value: function(t) {
                    t &amp;&amp; this.effectManager.playEffect(e.DeadEffId, this.scene, t.transform.position);
                }
            }, {
                key: "getBlockSrc",
                value: function(e) {
                    return o.default.getIndexByArray(this.blockSrcs, e);
                }
            }, {
                key: "getCloudSrc",
                value: function(e) {
                    return o.default.getIndexByArray(this.cloudSrcs, e - 1);
                }
            }, {
                key: "getBreakSrc",
                value: function(e) {
                    return o.default.getIndexByArray(this.breakSrcs, e);
                }
            }, {
                key: "getEffectRes",
                value: function(e) {
                    return o.default.getIndexByArray(this.effs, e - 1);
                }
            }, {
                key: "setBlockMatColor",
                value: function(e, t) {
                    this.block_mats &amp;&amp; this.block_mats.length &gt; e &amp;&amp; (this.block_mats[e].albedoColor = t);
                }
            }, {
                key: "playWinEff",
                value: function() {
                    var e = r.default.inst.getCurrentRoad();
                    e &amp;&amp; e.playWinEff();
                }
            }, {
                key: "getCurrentRoad",
                value: function() {
                    return r.default.inst.getCurrentRoad();
                }
            }, {
                key: "onEnable",
                value: function() {}
            }, {
                key: "onDisable",
                value: function() {}
            }, {
                key: "worldPosToUIPos",
                value: function(e) {
                    var t = this.camera, n = new Laya.Vector3();
                    return null != t &amp;&amp; t.viewport.project(e, t.projectionViewMatrix, n), new Laya.Vector2(n.x / Laya.stage.clientScaleX, n.y / Laya.stage.clientScaleY);
                }
            } ], [ {
                key: "inst",
                get: function() {
                    return null == e._inst &amp;&amp; (e._inst = new e()), e._inst;
                }
            } ]), e;
        }();
        n.default = d, d.DeadEffId = 4;
    }, {
        "../utils/UtilsCommon": 64,
        "../utils/UtilsGameObject": 66,
        "./Actor": 7,
        "./EffectManager": 10,
        "./block/BlockQueueCtrl": 13,
        "./break/BreakManager": 16,
        "./bullet/BulletManager": 21,
        "./road/RoadManager": 25
    } ],
    12: [ function(e, t, n) {
        "use strict";
        function a(e) {
            return e &amp;&amp; e.__esModule ? e : {
                default: e
            };
        }
        Object.defineProperty(n, "__esModule", {
            value: !0
        });
        var i = function() {
            function e(e, t) {
                for (var n = 0; n &lt; t.length; n++) {
                    var a = t[n];
                    a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a &amp;&amp; (a.writable = !0), 
                    Object.defineProperty(e, a.key, a);
                }
            }
            return function(t, n, a) {
                return n &amp;&amp; e(t.prototype, n), a &amp;&amp; e(t, a), t;
            };
        }(), o = a(e("../utils/SimpleGoPool")), r = a(e("../utils/UtilsCommon")), s = function() {
            function e() {
                !function(e, t) {
                    if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
                }(this, e), this.token = "common", this.units = null, this.par = null;
            }
            return i(e, [ {
                key: "setParent",
                value: function(e) {
                    this.par = e;
                }
            }, {
                key: "clear",
                value: function() {
                    if (null != this.units) for (var e = 0; e &lt; this.units.length; e++) {
                        var t = this.units[e];
                        null != t &amp;&amp; t.returnPool &amp;&amp; t.returnPool();
                    }
                    this.units = null;
                }
            }, {
                key: "collect",
                value: function(e) {
                    e &amp;&amp; (r.default.removeFromArray(this.units, e), null != e &amp;&amp; e.returnPool &amp;&amp; e.returnPool());
                }
            }, {
                key: "getSrc",
                value: function(e) {
                    return null;
                }
            }, {
                key: "_getNewUnit",
                value: function(e) {
                    return o.default.inst().getFromPool(this.getSrc(e), this.token + e, this.par);
                }
            } ]), e;
        }();
        n.default = s;
    }, {
        "../utils/SimpleGoPool": 60,
        "../utils/UtilsCommon": 64
    } ],
    13: [ function(e, t, n) {
        "use strict";
        function a(e) {
            return e &amp;&amp; e.__esModule ? e : {
                default: e
            };
        }
        Object.defineProperty(n, "__esModule", {
            value: !0
        });
        var i = function() {
            function e(e, t) {
                for (var n = 0; n &lt; t.length; n++) {
                    var a = t[n];
                    a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a &amp;&amp; (a.writable = !0), 
                    Object.defineProperty(e, a.key, a);
                }
            }
            return function(t, n, a) {
                return n &amp;&amp; e(t.prototype, n), a &amp;&amp; e(t, a), t;
            };
        }(), o = a(e("../GameObjectManager")), r = (a(e("../../utils/SimpleGoPool")), a(e("./BlockUnit"))), s = a(e("../../utils/UtilsCommon")), l = a(e("../GoBaseManager")), u = function(e) {
            function t() {
                !function(e, t) {
                    if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
                }(this, t);
                var e = function(e, t) {
                    if (!e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
                    return !t || "object" != typeof t &amp;&amp; "function" != typeof t ? e : t;
                }(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this));
                return e.token = r.default.token, e;
            }
            return function(e, t) {
                if ("function" != typeof t &amp;&amp; null !== t) throw new TypeError("Super expression must either be null or a function, not " + typeof t);
                e.prototype = Object.create(t &amp;&amp; t.prototype, {
                    constructor: {
                        value: e,
                        enumerable: !1,
                        writable: !0,
                        configurable: !0
                    }
                }), t &amp;&amp; (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);
            }(t, l.default), i(t, [ {
                key: "resetColors",
                value: function() {
                    this.colors = this._getAllColors();
                }
            }, {
                key: "_init",
                value: function() {
                    this.p1 = new Laya.Sprite3D("blockBuild1"), this.p2 = new Laya.Sprite3D("blockBuild2");
                }
            }, {
                key: "getUnitCount",
                value: function() {
                    return this.units ? this.units.length : 0;
                }
            }, {
                key: "removeDownest",
                value: function(e) {
                    var t = s.default.getIndexByArray(this.units, 0);
                    if (t) {
                        this.units.splice(0, 1), t.playDead();
                        var n = this.p1.transform.position.clone();
                        n.y -= r.default.height, this.p1.transform.position = n, this.p2.transform.position = n, 
                        s.default.excuteFunc(this.OnRemoveDownest, e);
                    }
                }
            }, {
                key: "setTrigger",
                value: function(e) {
                    this.trigger = e;
                }
            }, {
                key: "buildRandom",
                value: function(e, n) {
                    if (null != o.default.inst.blockSrcs) {
                        var a = Math.floor(Math.random() * o.default.inst.blockSrcs.length), i = t.firstLvlCount;
                        n &gt; 1 &amp;&amp; (i = Math.floor(Math.random() * t.randomRange) + t.minCount);
                        var r = t.RotateType.OneDir;
                        n &gt;= t.TwoDirMinLvl &amp;&amp; Math.random() &gt; .5 &amp;&amp; (r = t.RotateType.TwoDir), this.build(e, a, i, r, t.rotateOffset);
                    }
                }
            }, {
                key: "getCurrentCount",
                value: function() {
                    return null == this.units ? 0 : this.units.length;
                }
            }, {
                key: "build",
                value: function(e, n, a, i, s) {
                    if (Laya.timer.clearAll(this), null != e) {
                        this.rotateType = i;
                        var l = Math.floor(Math.random() * t.DisplayType.Max);
                        this._isOnlyOneDir(l) ? this.rotateType = t.RotateType.OneDir : this._isOnlyTwoDir(l) &amp;&amp; (this.rotateType = t.RotateType.TwoDir), 
                        n = this.resetConflitType(n, this.rotateType, l), trace("æ˜¾ç¤ºç±»åž‹=" + l), e.addChild(this.p1), 
                        e.addChild(this.p2), this.p1.transform.localPosition = new Laya.Vector3(0, -a * r.default.height, 0), 
                        this.p2.transform.localPosition = new Laya.Vector3(0, -a * r.default.height, 0), 
                        this.clear(), this.units = [];
                        var u = this._getRandomColor();
                        o.default.inst.setBlockMatColor(0, u[0]), o.default.inst.setBlockMatColor(1, u[1]), 
                        o.default.inst.setBlockMatColor(2, u[0]), o.default.inst.setBlockMatColor(3, u[1]);
                        for (var c = t.minScale + Math.random() * t.scaleRange, h = t.minScale + Math.random() * t.scaleRange, f = c, d = 0; d &lt; a; d++) {
                            if (this.rotateType == t.RotateType.TwoDir &amp;&amp; d % 2 == 1 ? this.par = this.p2 : this.par = this.p1, 
                            l == t.DisplayType.Normal || l == t.DisplayType.Snake) f = d % 2 == 0 ? c : h; else if (l == t.DisplayType.GZT) {
                                y = Math.abs(d - a / 2) / (a / 2);
                                f = t.GZTMinScale + (t.GZTMaxScale - t.GZTMinScale) * y;
                            } else if (l == t.DisplayType.MoreTaper) {
                                var y;
                                f = t.TaperMaxScale - (t.TaperMaxScale - t.TaperMinScale) * (y = d % t.TaperCount / t.TaperCount);
                            } else l == t.DisplayType.TwoCyline &amp;&amp; (f = t.minScale + t.scaleRange);
                            var p = this._getNewUnit(n);
                            if (null != p) {
                                if (l == t.DisplayType.TwoCyline) {
                                    var m = .05, v = 0;
                                    d % 2 == 0 &amp;&amp; (v = -10), d % 2 == 0 &amp;&amp; (m = -.05), p.transform.localPosition = new Laya.Vector3(m, d * r.default.height, 0), 
                                    p.transform.localRotationEuler = new Laya.Vector3(0, s * Math.floor(d / 2) + v, 0);
                                } else if (l == t.DisplayType.Snake) {
                                    m = .1;
                                    p.transform.localRotationEuler = new Laya.Vector3(0, s * d, 0), p.transform.localPosition = new Laya.Vector3(m * Math.sin(s * d / 36), d * r.default.height, m * Math.cos(s * d / 36));
                                } else p.transform.localPosition = new Laya.Vector3(0, d * r.default.height, 0), 
                                p.transform.localRotationEuler = new Laya.Vector3(0, s * d, 0);
                                var g = p.getComponent(r.default);
                                null == g &amp;&amp; (g = p.addComponent(r.default)), g.reset(n, d, f), this.units.push(g), 
                                p.active = !1;
                            }
                        }
                    } else trace("å»ºç­‘çˆ¶çº§ä¸ºç©º");
                }
            }, {
                key: "resetConflitType",
                value: function(e, n, a) {
                    for (;this.unUseType(e); ) e = Math.floor(Math.random() * o.default.inst.blockSrcs.length);
                    if (5 == e &amp;&amp; n == t.DisplayType.TwoCyline) for (;5 == e || this.unUseType(e); ) e = Math.floor(Math.random() * o.default.inst.blockSrcs.length); else if (5 == e &amp;&amp; a == t.DisplayType.Snake) for (;5 == e || this.unUseType(e); ) e = Math.floor(Math.random() * o.default.inst.blockSrcs.length); else if (9 == e &amp;&amp; a == t.DisplayType.MoreTaper) for (;9 == e || this.unUseType(e); ) e = Math.floor(Math.random() * o.default.inst.blockSrcs.length);
                    return e;
                }
            }, {
                key: "unUseType",
                value: function(e) {
                    return 4 == e || 6 == e || 10 == e || 8 == e;
                }
            }, {
                key: "emit",
                value: function() {
                    this.p1 &amp;&amp; (this.isEmit = !0, Laya.timer.frameLoop(2, this, this._emit));
                }
            }, {
                key: "startRotate",
                value: function() {
                    Laya.timer.frameLoop(2, this, this._startRotate);
                }
            }, {
                key: "getSrc",
                value: function(e) {
                    return o.default.inst.getBlockSrc(e);
                }
            }, {
                key: "_getRandomColor",
                value: function() {
                    if (null != this.colors || 0 != this.colors.length) {
                        null == this.tempCurIndex &amp;&amp; (this.tempCurIndex = 0);
                        var e = this.tempCurIndex;
                        return this.tempCurIndex++, this.tempCurIndex &gt;= this.colors.length &amp;&amp; (this.tempCurIndex = 0), 
                        s.default.getIndexByArray(this.colors, e);
                    }
                    return [ new Laya.Vector4(208 / 255, 212 / 255, 100 / 255, 1), new Laya.Vector4(217 / 255, 79 / 255, 93 / 255, 1) ];
                }
            }, {
                key: "_getAllColors",
                value: function() {
                    var e = o.default.inst.blockColors;
                    if (e &amp;&amp; e.length &gt; 0) {
                        for (var t = [], n = 0; n &lt; e.length / 2; n++) t.push([ e[2 * n], e[2 * n + 1] ]);
                        return t;
                    }
                    return trace("cs == null"), [ [ new Laya.Vector4(217 / 255, 218 / 255, 66 / 255, 1), new Laya.Vector4(227 / 255, 103 / 255, 112 / 255, 1) ], [ new Laya.Vector4(169 / 255, 144 / 255, 245 / 255, 1), new Laya.Vector4(210 / 255, 234 / 255, 171 / 255, 1) ], [ new Laya.Vector4(146 / 255, 209 / 255, 244 / 255, 1), new Laya.Vector4(52 / 255, 113 / 255, 176 / 255, 1) ], [ new Laya.Vector4(242 / 255, 174 / 255, 186 / 255, 1), new Laya.Vector4(163 / 255, 123 / 255, 173 / 255, 1) ], [ new Laya.Vector4(1, 251 / 255, 177 / 255, 1), new Laya.Vector4(235 / 255, 137 / 255, 124 / 255, 1) ], [ new Laya.Vector4(242 / 255, 174 / 255, 185 / 255, 1), new Laya.Vector4(163 / 255, 123 / 255, 173 / 255, 1) ], [ new Laya.Vector4(183 / 255, 221 / 255, 200 / 255, 1), new Laya.Vector4(87 / 255, 150 / 255, .8, 1) ], [ new Laya.Vector4(214 / 255, 167 / 255, 201 / 255, 1), new Laya.Vector4(1, 235 / 255, 68 / 255, 1) ], [ new Laya.Vector4(243 / 255, 176 / 255, 170 / 255, 1), new Laya.Vector4(.6, 188 / 255, 226 / 255, 1) ], [ new Laya.Vector4(252 / 255, 237 / 255, 136 / 255, 1), new Laya.Vector4(154 / 255, 207 / 255, 127 / 255, 1) ] ];
                }
            }, {
                key: "_emit",
                value: function() {
                    if (this.p1.transform.localPosition.y &lt; 0) {
                        var e = this.p1.transform.localPosition;
                        e.y += r.default.height, this.p1.transform.localPosition = e, (e = this.p2.transform.localPosition).y += r.default.height, 
                        this.p2.transform.localPosition = e;
                        var n = this.p1.transform.localRotationEuler;
                        Laya.Vector3.add(n, t.EmitRotation, n), this.p1.transform.localRotationEuler = n, 
                        n = this.p2.transform.localRotationEuler, Laya.Vector3.add(n, t.EmitRotation, n), 
                        this.p2.transform.localRotationEuler = n;
                        for (var a = 0; a &lt; this.units.length; a++) {
                            var i = this.units[a];
                            i.owner.active &amp;&amp; i.owner.transform.position.y &lt; -.35 ? i.owner.active = !1 : !i.owner.active &amp;&amp; i.owner.transform.position.y &gt;= -.35 &amp;&amp; (i.owner.active = !0);
                        }
                    } else this.isEmit = !1, this.startRotate(), s.default.excuteFunc(this.OnEmitEnd), 
                    Laya.timer.clear(this, this._emit);
                }
            }, {
                key: "_startRotate",
                value: function() {
                    var e = this.p1.transform.localRotationEuler;
                    Laya.Vector3.add(e, t.GameRotation, e), this.p1.transform.localRotationEuler = e, 
                    this.rotateType == t.RotateType.OneDir ? (e = this.p2.transform.localRotationEuler, 
                    Laya.Vector3.add(e, t.GameRotation, e), this.p2.transform.localRotationEuler = e) : (e = this.p2.transform.localRotationEuler, 
                    Laya.Vector3.add(e, t.GameRotation2, e), this.p2.transform.localRotationEuler = e);
                }
            }, {
                key: "_isOnlyOneDir",
                value: function(e) {
                    return e == t.DisplayType.MoreTaper;
                }
            }, {
                key: "_isOnlyTwoDir",
                value: function(e) {
                    return !1;
                }
            } ], [ {
                key: "inst",
                get: function() {
                    return null == t._inst &amp;&amp; (t._inst = new t())._init(), t._inst;
                }
            } ]), t;
        }();
        n.default = u, u.firstLvlCount = 28, u.rotateOffset = 5, u.minCount = 35, u.randomRange = 20, 
        u.minScale = .75, u.scaleRange = .15, u.EmitRotation = new Laya.Vector3(0, -15, 0), 
        u.GameRotation = new Laya.Vector3(0, 1.2, 0), u.GameRotation2 = new Laya.Vector3(0, -1.2, 0), 
        u.RotateType = {
            OneDir: 0,
            TwoDir: 1
        }, u.DisplayType = {
            Normal: 0,
            MoreTaper: 1,
            GZT: 2,
            TwoCyline: 3,
            Snake: 4,
            Max: 5
        }, u.GZTMinScale = .64, u.GZTMaxScale = .9, u.TaperMinScale = .5, u.TaperMaxScale = .9, 
        u.TaperCount = 7, u.TwoDirMinLvl = 1e3;
    }, {
        "../../utils/SimpleGoPool": 60,
        "../../utils/UtilsCommon": 64,
        "../GameObjectManager": 11,
        "../GoBaseManager": 12,
        "./BlockUnit": 14
    } ],
    14: [ function(e, t, n) {
        "use strict";
        function a(e) {
            return e &amp;&amp; e.__esModule ? e : {
                default: e
            };
        }
        Object.defineProperty(n, "__esModule", {
            value: !0
        });
        var i = function() {
            function e(e, t) {
                for (var n = 0; n &lt; t.length; n++) {
                    var a = t[n];
                    a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a &amp;&amp; (a.writable = !0), 
                    Object.defineProperty(e, a.key, a);
                }
            }
            return function(t, n, a) {
                return n &amp;&amp; e(t.prototype, n), a &amp;&amp; e(t, a), t;
            };
        }(), o = (a(e("../../utils/UtilsGameObject")), a(e("../GameObjectManager"))), r = a(e("../../utils/SimpleGoPool")), s = function(e) {
            function t() {
                !function(e, t) {
                    if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
                }(this, t);
                var e = function(e, t) {
                    if (!e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
                    return !t || "object" != typeof t &amp;&amp; "function" != typeof t ? e : t;
                }(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this));
                return e.type = -1, e.curFrame = 0, e.scale = 1, e;
            }
            return function(e, t) {
                if ("function" != typeof t &amp;&amp; null !== t) throw new TypeError("Super expression must either be null or a function, not " + typeof t);
                e.prototype = Object.create(t &amp;&amp; t.prototype, {
                    constructor: {
                        value: e,
                        enumerable: !1,
                        writable: !0,
                        configurable: !0
                    }
                }), t &amp;&amp; (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);
            }(t, Laya.Script), i(t, [ {
                key: "reset",
                value: function(e, n, a) {
                    this.type = e, this.ind = n;
                    var i = 0;
                    n % 2 == 0 &amp;&amp; (i = 1), this.owner.meshRenderer.material = o.default.inst.block_mats[i], 
                    a *= t.BlockScaleOffset[e] * t.AllScale, this.owner.transform.localScale = new Laya.Vector3(a, 1.3, a), 
                    this.scale = a;
                }
            }, {
                key: "playDead",
                value: function() {
                    var e = this;
                    if (this.owner.parent &amp;&amp; this.owner.parent.parent) {
                        var n = this.owner.transform.position.clone(), a = this.owner.transform.rotation.clone();
                        this.owner.parent.parent.addChild(this.owner), this.owner.transform.position = n, 
                        this.owner.transform.rotation = a;
                    }
                    var i = 2;
                    this.ind % 2 == 0 &amp;&amp; (i = 3), this.owner.meshRenderer.material = o.default.inst.block_mats[i], 
                    this.cAlpha = 1, this.isDead = !0, Laya.Tween.to(this, {
                        cAlpha: .75
                    }, t.deadTime, Laya.Ease.linearIn, Laya.Handler.create(this, function() {
                        e.returnPool();
                    }));
                }
            }, {
                key: "returnPool",
                value: function() {
                    this.isDead = !1, r.default.inst().returnPool(this.owner, t.token + this.type);
                }
            }, {
                key: "onUpdate",
                value: function() {
                    if (this.isDead &amp;&amp; (this.curFrame++, this.curFrame % 2 == 0)) {
                        this.curFrame = 0;
                        var e = this.owner.meshRenderer.material, n = e.albedoColor;
                        n.w = this.cAlpha, e.albedoColor = n;
                        var a = this.owner.transform.localScale, i = (t.deadScale * t.BlockScaleOffset[this.type] * t.AllScale - this.scale) * (1 - this.cAlpha) * 4 + this.scale;
                        a.x = i, a.z = i, this.owner.transform.localScale = a;
                    }
                }
            } ]), t;
        }();
        n.default = s, s.height = .13, s.deadTime = 300, s.token = "block_", s.deadScale = 1.2, 
        s.AllScale = 1.16, s.BlockScaleOffset = [ 1, 1.2, 1, 1, 1, 1.1, 1, 1.3, 1.1, 1.1, 1.1, 1, 1, 1, 1 ];
    }, {
        "../../utils/SimpleGoPool": 60,
        "../../utils/UtilsGameObject": 66,
        "../GameObjectManager": 11
    } ],
    15: [ function(e, t, n) {
        "use strict";
        function a(e) {
            return e &amp;&amp; e.__esModule ? e : {
                default: e
            };
        }
        Object.defineProperty(n, "__esModule", {
            value: !0
        });
        var i = function() {
            function e(e, t) {
                for (var n = 0; n &lt; t.length; n++) {
                    var a = t[n];
                    a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a &amp;&amp; (a.writable = !0), 
                    Object.defineProperty(e, a.key, a);
                }
            }
            return function(t, n, a) {
                return n &amp;&amp; e(t.prototype, n), a &amp;&amp; e(t, a), t;
            };
        }(), o = a(e("../../utils/Tween3DTool")), r = a(e("../../utils/UtilsCommon")), s = a(e("../../utils/UtilsGameObject")), l = a(e("./BreakManager")), u = a(e("./BreakRotateEaseRule")), c = function() {
            function e() {
                !function(e, t) {
                    if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
                }(this, e), this.tweenTool = new o.default(), this.tweenToolRot = new o.default(), 
                this.moveTime = 500, this.height = .15, this.rotateType = 0, this.constSpeed = new Laya.Vector3(), 
                this.changeSpeedSameDir = !0, this.changeSpeedTime = 0, this.changeSpeedOffsetRotation = new Laya.Vector3(), 
                this.ease = Laya.Ease.backInOut, this.delayOppTime = 0;
            }
            return i(e, [ {
                key: "attach",
                value: function(e, t) {
                    var n = arguments.length &gt; 2 &amp;&amp; void 0 !== arguments[2] ? arguments[2] : 1;
                    this.go = e, this.id = t, this.scale = n;
                }
            }, {
                key: "attachGuiDao",
                value: function(e, t) {
                    this.guidao = e, t.addChild(this.go), Laya.Tween.clearAll(this.tweenTool), Laya.Tween.clearAll(this.tweenToolRot), 
                    Laya.timer.clearAll(this), this.go.transform.localPosition = new Laya.Vector3();
                }
            }, {
                key: "setRotateType",
                value: function() {
                    if (Math.random() &lt;= e.rotateTypeRate.ConstSpeed) this.rotateType = e.rotateType.ConstSpeed, 
                    this.constSpeed.y = 2 * Math.random() + 1; else {
                        this.rotateType = e.rotateType.ChangeSpeed;
                        var t = l.default.inst.getLvl();
                        this.changeSpeedSameDir = !0, t &gt; e.hasOppDirLvl &amp;&amp; Math.random() &gt; .5 &amp;&amp; (this.changeSpeedSameDir = !1), 
                        this.changeSpeedOffsetRotation.y = Math.random() * e.changeSpeedRotateYRange + e.minChangeSpeedRotateY, 
                        this.changeSpeedTime = Math.random() * e.changeSpeedTimeRange + e.minChangeSpeedTime, 
                        this.ease = this._getChangeSpeedEase(), this.changeSpeedSameDir || this.ease == Laya.Ease.linearIn ? (this.changeSpeedSameDir || this.ease != Laya.Ease.linearIn || (this.changeSpeedSameDir = !0), 
                        this.delayOppTime = 0) : this.delayOppTime = e.delayOppMin + Math.random() * e.delayOppRange, 
                        this.changeRotate();
                    }
                }
            }, {
                key: "shareBreaks",
                value: function(e) {
                    if (this.go) {
                        var t = 0, n = 0, a = 0;
                        if (e) {
                            this.setRotateType();
                            for (var i = e.length, o = 0; o &lt; i; o++) {
                                var r = e[o];
                                r &amp;&amp; (t += r.scaleRate, a = Math.random(), r.recordSpace(a), n += a);
                            }
                            var s = 1 - t, u = 0, c = 1, h = 0;
                            this.go.transform.scale = new Laya.Vector3(1, 1, 1);
                            for (var f = 0; f &lt; i; f++) {
                                var d = e[f];
                                if (d &amp;&amp; d.parent != this.go) {
                                    this.go.addChild(d.owner), d.owner.transform.localPosition = new Laya.Vector3(), 
                                    d.recordSpace(d.space / n * s), d.space &gt; u &amp;&amp; (u = d.space), d.scaleRate &lt; c &amp;&amp; (c = d.scaleRate);
                                    var y = 360 * (d.scaleRate + d.space) + h;
                                    h = y, d.owner.transform.rotationEuler = new Laya.Vector3(0, y, 0);
                                }
                            }
                            if (this.go.transform.scale = new Laya.Vector3(this.scale, 1, this.scale), u &lt; l.default.breakRates[0] &amp;&amp; c &lt; i) {
                                var p = e[c];
                                p &amp;&amp; p.returnPool(), e.splice(c, 1);
                            }
                        }
                    }
                }
            }, {
                key: "rotate",
                value: function() {
                    this.rotateType == e.rotateType.ConstSpeed &amp;&amp; this.isRotating &amp;&amp; s.default.rotate(this.go, new Laya.Vector3(0, this.constSpeed, 0));
                }
            }, {
                key: "changeRotate",
                value: function() {
                    var t = this;
                    if (this.rotateType == e.rotateType.ChangeSpeed) {
                        var n = new Laya.Vector3();
                        this.changeSpeedSameDir || (this.changeSpeedOffsetRotation.y = -this.changeSpeedOffsetRotation.y), 
                        Laya.Vector3.add(this.go.transform.localRotationEuler, this.changeSpeedOffsetRotation, n), 
                        this.tweenToolRot.onRotationRotateTo(this.go, n, this.changeSpeedTime, this.ease, this.go, function() {
                            0 != t.delayOppTime ? Laya.timer.once(t.delayOppTime, t, t.changeRotate) : t.changeRotate();
                        }, !1);
                    }
                }
            }, {
                key: "_getChangeSpeedEase",
                value: function() {
                    return u.default.getEase(l.default.inst.getLvl());
                }
            }, {
                key: "emit",
                value: function(e) {
                    if (this.isHide = !1, this.guidao &amp;&amp; this.go) {
                        this.guidao.active = !0;
                        var t = e.clone();
                        t.y -= this.height, this.go.transform.position = t, this.tweenTool.onPositionMoveTo(this.go, e, this.moveTime, Laya.Ease.linearIn, this, function() {}), 
                        this.rotate(), this.isRotating = !0;
                    }
                }
            }, {
                key: "hide",
                value: function() {
                    var e = this;
                    if (this.isHide = !0, this.guidao &amp;&amp; this.go) {
                        this.guidao.active = !1;
                        var t = this.go.transform.position.clone();
                        t.y -= this.height, this.tweenTool.onPositionMoveTo(this.go, t, this.moveTime, Laya.Ease.linearIn, this, function() {
                            1 == e.id &amp;&amp; r.default.excuteFunc(e.onHide), e.isRotating = !1;
                        });
                    }
                }
            } ]), e;
        }();
        n.default = c, c.rotateType = {
            ConstSpeed: 0,
            ChangeSpeed: 1
        }, c.rotateTypeRate = {
            ConstSpeed: -1,
            ChangeSpeed: 1
        }, c.minChangeSpeedTime = 5e3, c.changeSpeedTimeRange = 4e3, c.minChangeSpeedRotateY = 270, 
        c.changeSpeedRotateYRange = 180, c.delayOppMin = 1e3, c.delayOppRange = 1e3, c.hasOppDirLvl = 4;
    }, {
        "../../utils/Tween3DTool": 63,
        "../../utils/UtilsCommon": 64,
        "../../utils/UtilsGameObject": 66,
        "./BreakManager": 16,
        "./BreakRotateEaseRule": 18
    } ],
    16: [ function(e, t, n) {
        "use strict";
        function a(e) {
            return e &amp;&amp; e.__esModule ? e : {
                default: e
            };
        }
        Object.defineProperty(n, "__esModule", {
            value: !0
        });
        var i = function() {
            function e(e, t) {
                for (var n = 0; n &lt; t.length; n++) {
                    var a = t[n];
                    a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a &amp;&amp; (a.writable = !0), 
                    Object.defineProperty(e, a.key, a);
                }
            }
            return function(t, n, a) {
                return n &amp;&amp; e(t.prototype, n), a &amp;&amp; e(t, a), t;
            };
        }(), o = a(e("../GoBaseManager")), r = a(e("./BreakCircleCtrl")), s = a(e("../GameObjectManager")), l = a(e("../../utils/UtilsGameObject")), u = a(e("./BreakUnit")), c = a(e("../../utils/UtilsCommon")), h = a(e("../../game/GameManager")), f = function(e) {
            function t() {
                !function(e, t) {
                    if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
                }(this, t);
                var e = function(e, t) {
                    if (!e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
                    return !t || "object" != typeof t &amp;&amp; "function" != typeof t ? e : t;
                }(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this));
                return e.token = u.default.token, e;
            }
            return function(e, t) {
                if ("function" != typeof t &amp;&amp; null !== t) throw new TypeError("Super expression must either be null or a function, not " + typeof t);
                e.prototype = Object.create(t &amp;&amp; t.prototype, {
                    constructor: {
                        value: e,
                        enumerable: !1,
                        writable: !0,
                        configurable: !0
                    }
                }), t &amp;&amp; (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);
            }(t, o.default), i(t, [ {
                key: "_init",
                value: function() {
                    var e = this;
                    this.cc1 = new r.default();
                    var t = new Laya.Sprite3D("cc1");
                    this.cc1.attach(t, 1, 1.21), this.cc1.onHide = function() {
                        c.default.excuteFunc(e.OnHide);
                    }, this.cc2 = new r.default();
                    var n = new Laya.Sprite3D("cc2");
                    this.cc2.attach(n, 2, 1.08), Laya.timer.frameLoop(2, this, this._rotate);
                }
            }, {
                key: "buildRandom",
                value: function(e, n) {
                    var a = 0;
                    n &gt;= t.minTwoDirLvl &amp;&amp; (a = Math.min(Math.floor(2 * Math.random()), t.RotateType.TwoDir)), 
                    this.build(e, n, a);
                }
            }, {
                key: "build",
                value: function(e, n, a) {
                    this.clear(), this.road = e, this.cc1.attachGuiDao(e.guidao1, e.breakStartPos), 
                    this.cc2.attachGuiDao(e.guidao2, e.breakStartPos);
                    var i = this.getBreaks(n), o = Math.floor(Math.random() * i.length);
                    i.length - o &lt;= 1 &amp;&amp; (a = t.RotateType.OneDir), this.roteType = a;
                    var r = [];
                    if (a == t.RotateType.TwoDir) {
                        for (var s = [], l = 0; l &lt; i.length; l++) {
                            var u = i[l];
                            o &gt;= l &amp;&amp; s.push(u) || r.push(u);
                        }
                        this.cc1.shareBreaks(r), this.cc2.shareBreaks(s);
                    } else {
                        for (var c = 0; c &lt; i.length; c++) {
                            var h = i[c];
                            r.push(h);
                        }
                        this.cc1.shareBreaks(r);
                    }
                }
            }, {
                key: "getBreaks",
                value: function(e) {
                    this.units = [];
                    var n = Math.random() * t.randomRate + Math.min(e / t.maxLvl, 1) * t.maxLvlRate;
                    n = Math.max(n, t.breakRates[0]), 1 == e &amp;&amp; (n = .15);
                    for (var a = 0; n &gt;= t.breakRates[0]; ) {
                        for (var i = 0; i &lt; t.breakRates.length; i++) if (n &lt; t.breakRates[i]) {
                            a = i - 1;
                            break;
                        }
                        var o = Math.floor(Math.random() * a);
                        n -= t.breakRates[o];
                        var r = this._getNewUnit(o), s = l.default.mayComponent(r, u.default);
                        s &amp;&amp; (this.units.push(s), s.reset(o));
                    }
                    return this.units;
                }
            }, {
                key: "emit",
                value: function() {
                    var e = this.road.breakStartPos.transform.position;
                    this.cc1.emit(e), this.roteType == t.RotateType.TwoDir &amp;&amp; this.cc2.emit(e);
                }
            }, {
                key: "hide",
                value: function() {
                    this.cc1.hide(), this.cc2.hide();
                }
            }, {
                key: "_rotate",
                value: function() {
                    this.cc1.rotate(), this.cc2.rotate();
                }
            }, {
                key: "getSrc",
                value: function(e) {
                    return s.default.inst.getBreakSrc(e);
                }
            }, {
                key: "getLvl",
                value: function() {
                    return h.default.inst().lvl;
                }
            } ], [ {
                key: "inst",
                get: function() {
                    return null == t._inst &amp;&amp; (t._inst = new t())._init(), t._inst;
                }
            } ]), t;
        }();
        n.default = f, f.RotateType = {
            OneDir: 0,
            TwoDir: 1
        }, f.breakRates = [ 1 / 24, 1 / 12, 1 / 8, 1 / 6, .2, .25, 1 / 3 ], f.minLvlRate = .1, 
        f.randomRate = .2, f.maxLvlRate = .6, f.maxLvl = 50, f.minTwoDirLvl = 3;
    }, {
        "../../game/GameManager": 3,
        "../../utils/UtilsCommon": 64,
        "../../utils/UtilsGameObject": 66,
        "../GameObjectManager": 11,
        "../GoBaseManager": 12,
        "./BreakCircleCtrl": 15,
        "./BreakUnit": 19
    } ],
    17: [ function(e, t, n) {
        "use strict";
        function a(e) {
            return e &amp;&amp; e.__esModule ? e : {
                default: e
            };
        }
        Object.defineProperty(n, "__esModule", {
            value: !0
        });
        var i = function() {
            function e(e, t) {
                for (var n = 0; n &lt; t.length; n++) {
                    var a = t[n];
                    a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a &amp;&amp; (a.writable = !0), 
                    Object.defineProperty(e, a.key, a);
                }
            }
            return function(t, n, a) {
                return n &amp;&amp; e(t.prototype, n), a &amp;&amp; e(t, a), t;
            };
        }(), o = a(e("../bullet/Bullet")), r = (a(e("../../utils/UtilsCommon")), a(e("../../utils/ResManager")), 
        a(e("../../game/GameManager"))), s = function(e) {
            function t() {
                return function(e, t) {
                    if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
                }(this, t), function(e, t) {
                    if (!e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
                    return !t || "object" != typeof t &amp;&amp; "function" != typeof t ? e : t;
                }(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this));
            }
            return function(e, t) {
                if ("function" != typeof t &amp;&amp; null !== t) throw new TypeError("Super expression must either be null or a function, not " + typeof t);
                e.prototype = Object.create(t &amp;&amp; t.prototype, {
                    constructor: {
                        value: e,
                        enumerable: !1,
                        writable: !0,
                        configurable: !0
                    }
                }), t &amp;&amp; (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);
            }(t, Laya.Script3D), i(t, [ {
                key: "onTriggerEnter",
                value: function(e) {
                    if (!this.isDead &amp;&amp; r.default.inst().isGaming()) {
                        var t = e.owner.getComponent(o.default);
                        t &amp;&amp; (t.isInvincible || (t.isPerfect = !0));
                    }
                }
            } ]), t;
        }();
        n.default = s;
    }, {
        "../../game/GameManager": 3,
        "../../utils/ResManager": 58,
        "../../utils/UtilsCommon": 64,
        "../bullet/Bullet": 20
    } ],
    18: [ function(e, t, n) {
        "use strict";
        Object.defineProperty(n, "__esModule", {
            value: !0
        });
        var a = function() {
            function e(e, t) {
                for (var n = 0; n &lt; t.length; n++) {
                    var a = t[n];
                    a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a &amp;&amp; (a.writable = !0), 
                    Object.defineProperty(e, a.key, a);
                }
            }
            return function(t, n, a) {
                return n &amp;&amp; e(t.prototype, n), a &amp;&amp; e(t, a), t;
            };
        }(), i = function() {
            function e() {
                !function(e, t) {
                    if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
                }(this, e);
            }
            return a(e, null, [ {
                key: "getEase",
                value: function(e) {
                    var t = Math.random();
                    return e &lt;= 2 ? Laya.Ease.linearIn : e &lt; 4 ? t &lt;= .7 ? Laya.Ease.linearIn : Laya.Ease.sineInOut : e &lt; 7 ? t &lt;= .3 ? Laya.Ease.linearIn : Laya.Ease.quadInOut : e &lt; 10 ? t &lt;= .3 ? Laya.Ease.linearIn : t &lt;= .7 ? Laya.Ease.sineInOut : Laya.Ease.quadInOut : t &lt;= .1 ? Laya.Ease.linearIn : t &lt;= .5 ? Laya.Ease.quadInOut : t &lt;= .9 ? Laya.Ease.sineInOut : Laya.Ease.backInOut;
                }
            } ]), e;
        }();
        n.default = i;
    }, {} ],
    19: [ function(e, t, n) {
        "use strict";
        function a(e) {
            return e &amp;&amp; e.__esModule ? e : {
                default: e
            };
        }
        Object.defineProperty(n, "__esModule", {
            value: !0
        });
        var i = function() {
            function e(e, t) {
                for (var n = 0; n &lt; t.length; n++) {
                    var a = t[n];
                    a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a &amp;&amp; (a.writable = !0), 
                    Object.defineProperty(e, a.key, a);
                }
            }
            return function(t, n, a) {
                return n &amp;&amp; e(t.prototype, n), a &amp;&amp; e(t, a), t;
            };
        }(), o = a(e("../bullet/Bullet")), r = a(e("../bullet/BulletManager")), s = a(e("../../utils/SimpleGoPool")), l = a(e("./BreakManager")), u = a(e("../GameObjectManager")), c = a(e("../../utils/UtilsCommon")), h = a(e("../../utils/ResManager")), f = a(e("../../game/GameManager")), d = a(e("../../utils/UtilsGameObject")), y = a(e("./BreakPerfectCollision")), p = function(e) {
            function t() {
                !function(e, t) {
                    if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
                }(this, t);
                var e = function(e, t) {
                    if (!e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
                    return !t || "object" != typeof t &amp;&amp; "function" != typeof t ? e : t;
                }(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this));
                return e.curFrame = 0, e.scaleDestroy = 1, e;
            }
            return function(e, t) {
                if ("function" != typeof t &amp;&amp; null !== t) throw new TypeError("Super expression must either be null or a function, not " + typeof t);
                e.prototype = Object.create(t &amp;&amp; t.prototype, {
                    constructor: {
                        value: e,
                        enumerable: !1,
                        writable: !0,
                        configurable: !0
                    }
                }), t &amp;&amp; (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);
            }(t, Laya.Script3D), i(t, [ {
                key: "onTriggerEnter",
                value: function(e) {
                    if (!this.isDead &amp;&amp; f.default.inst().isGaming()) {
                        var t = e.owner.getComponent(o.default);
                        t &amp;&amp; (c.default.playSe(h.default.se_blockCollition), t.isInvincible ? this.playDestroy() : r.default.inst.playRebackBullet(e.owner.transform.position.clone()));
                    }
                }
            }, {
                key: "reset",
                value: function(e) {
                    null == this.perfectCollider &amp;&amp; (this.perfectCollider = this.owner.getChildAt(0), 
                    this.perfectCollider &amp;&amp; d.default.mayComponent(this.perfectCollider, y.default)), 
                    this.type = e, this.scaleRate = l.default.breakRates[e], this.owner.transform.localScale = new Laya.Vector3(1, 1, 1), 
                    this.owner.meshRenderer.material = u.default.inst.break_mat1;
                    var t = this.owner.meshRenderer.material.albedoColor;
                    t.w = 1, this.owner.meshRenderer.material.albedoColor = t, this.scale = 1, this.isDead = !1;
                }
            }, {
                key: "recordSpace",
                value: function(e) {
                    this.space = e;
                }
            }, {
                key: "playDestroy",
                value: function() {
                    var e = this;
                    this.isDead = !0, this.cAlpha = 1;
                    var n = this.owner.transform.position.clone(), a = this.owner.transform.rotation.clone(), i = this.owner.transform.scale.clone();
                    u.default.inst.scene.addChild(this.owner), this.owner.transform.position = n, this.owner.transform.rotation = a, 
                    this.owner.transform.scale = i, this.scaleDestroy = i.x, this.owner.meshRenderer.material = u.default.inst.break_mat2, 
                    Laya.Tween.to(this, {
                        cAlpha: 0
                    }, t.deadTime, Laya.Ease.linearNone, Laya.Handler.create(this, function() {
                        e.returnPool();
                    }));
                }
            }, {
                key: "returnPool",
                value: function() {
                    s.default.inst().returnPool(this.owner, t.token + this.type);
                }
            }, {
                key: "onUpdate",
                value: function() {
                    if (this.isDead &amp;&amp; (this.curFrame++, this.curFrame % 2 == 0)) {
                        this.curFrame = 0;
                        var e = this.owner.meshRenderer.material.albedoColor;
                        e.w = this.cAlpha, this.owner.meshRenderer.material.albedoColor = e;
                        var n = this.owner.transform.localScale, a = (t.deadScale - this.scale) * (1 - this.cAlpha) + this.scale;
                        a *= this.scaleDestroy, n.x = a, n.z = a, this.owner.transform.localScale = n;
                    }
                }
            } ]), t;
        }();
        n.default = p, p.deadTime = 500, p.deadScale = 1.1, p.token = "break_";
    }, {
        "../../game/GameManager": 3,
        "../../utils/ResManager": 58,
        "../../utils/SimpleGoPool": 60,
        "../../utils/UtilsCommon": 64,
        "../../utils/UtilsGameObject": 66,
        "../GameObjectManager": 11,
        "../bullet/Bullet": 20,
        "../bullet/BulletManager": 21,
        "./BreakManager": 16,
        "./BreakPerfectCollision": 17
    } ],
    20: [ function(e, t, n) {
        "use strict";
        function a(e) {
            return e &amp;&amp; e.__esModule ? e : {
                default: e
            };
        }
        Object.defineProperty(n, "__esModule", {
            value: !0
        });
        var i = function() {
            function e(e, t) {
                for (var n = 0; n &lt; t.length; n++) {
                    var a = t[n];
                    a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a &amp;&amp; (a.writable = !0), 
                    Object.defineProperty(e, a.key, a);
                }
            }
            return function(t, n, a) {
                return n &amp;&amp; e(t.prototype, n), a &amp;&amp; e(t, a), t;
            };
        }(), o = a(e("./BulletManager")), r = (a(e("../../utils/SimpleGoPool")), a(e("../block/BlockQueueCtrl"))), s = function(e) {
            function t() {
                return function(e, t) {
                    if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
                }(this, t), function(e, t) {
                    if (!e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
                    return !t || "object" != typeof t &amp;&amp; "function" != typeof t ? e : t;
                }(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this));
            }
            return function(e, t) {
                if ("function" != typeof t &amp;&amp; null !== t) throw new TypeError("Super expression must either be null or a function, not " + typeof t);
                e.prototype = Object.create(t &amp;&amp; t.prototype, {
                    constructor: {
                        value: e,
                        enumerable: !1,
                        writable: !0,
                        configurable: !0
                    }
                }), t &amp;&amp; (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);
            }(t, Laya.Script3D), i(t, [ {
                key: "init",
                value: function(e) {
                    this.isInvincible = e, this.rig = this.owner.getComponent(Laya.Rigidbody3D), this.rig.ccdMotionThreshold = .1, 
                    this.rig.ccdSweptSphereRadius = .01, this.rig.isTrigger = !0;
                }
            }, {
                key: "returnPool",
                value: function() {
                    if (this.isFire = !1, this.isInvincible) {
                        var e = this.owner.getChildAt(0);
                        e.removeSelf(), e.destroy();
                    }
                    Laya.timer.frameOnce(1, this, this.delayDestroy);
                }
            }, {
                key: "delayDestroy",
                value: function() {
                    this.owner &amp;&amp; this.owner.destroy();
                }
            }, {
                key: "fire",
                value: function() {
                    this.isPerfect = !1, this.curTime = 0, this.isPerfect = !1, Laya.timer.frameOnce(1, this, this._fire);
                }
            }, {
                key: "_fire",
                value: function() {
                    this.isFire = !0;
                }
            }, {
                key: "onUpdate",
                value: function() {
                    this.isFire &amp;&amp; (this.curTime += Laya.timer.delta, this.curTime &gt; t.Life ? o.default.inst.collectBullet(this) : this.owner.transform.translate(t.MoveSpeed));
                }
            }, {
                key: "onTriggerEnter",
                value: function(e) {
                    e.owner == r.default.inst.trigger &amp;&amp; (r.default.inst.removeDownest(this.isPerfect), 
                    o.default.inst.collectBullet(this));
                }
            } ]), t;
        }();
        n.default = s, s.Life = 1e3, s.MoveSpeed = new Laya.Vector3(0, 0, .2), s.token1 = "bullet1", 
        s.token2 = "bullet2", s.trailToken = "trailToken";
    }, {
        "../../utils/SimpleGoPool": 60,
        "../block/BlockQueueCtrl": 13,
        "./BulletManager": 21
    } ],
    21: [ function(e, t, n) {
        "use strict";
        function a(e) {
            return e &amp;&amp; e.__esModule ? e : {
                default: e
            };
        }
        Object.defineProperty(n, "__esModule", {
            value: !0
        });
        var i = function() {
            function e(e, t) {
                for (var n = 0; n &lt; t.length; n++) {
                    var a = t[n];
                    a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a &amp;&amp; (a.writable = !0), 
                    Object.defineProperty(e, a.key, a);
                }
            }
            return function(t, n, a) {
                return n &amp;&amp; e(t.prototype, n), a &amp;&amp; e(t, a), t;
            };
        }(), o = a(e("../GoBaseManager")), r = a(e("../../game/GameManager")), s = a(e("../../utils/UtilsCommon")), l = a(e("../../utils/UtilsGameObject")), u = a(e("./Bullet")), c = a(e("../../utils/SimpleGoPool")), h = function(e) {
            function t() {
                !function(e, t) {
                    if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
                }(this, t);
                var e = function(e, t) {
                    if (!e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
                    return !t || "object" != typeof t &amp;&amp; "function" != typeof t ? e : t;
                }(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this));
                return e.killMoveDir = new Laya.Vector3(), e.killBulletOldPos = new Laya.Vector3(), 
                e.killCurTime = 0, e.token = "bullet", e.normalN = 1, e.invincibleN = 2, e.killBullet = null, 
                e.killMaxHeight = .55, e.killTime = 400, e.invincibleTime = 0, e.checkTime = 100, 
                Laya.timer.loop(e.checkTime, e, function() {
                    e.invincibleTime &gt; 0 &amp;&amp; r.default.inst().isGaming() &amp;&amp; (e.invincibleTime -= e.checkTime, 
                    e.invincibleTime &lt;= 0 &amp;&amp; s.default.excuteFunc(e.OnInvincibleEnd));
                }), e;
            }
            return function(e, t) {
                if ("function" != typeof t &amp;&amp; null !== t) throw new TypeError("Super expression must either be null or a function, not " + typeof t);
                e.prototype = Object.create(t &amp;&amp; t.prototype, {
                    constructor: {
                        value: e,
                        enumerable: !1,
                        writable: !0,
                        configurable: !0
                    }
                }), t &amp;&amp; (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);
            }(t, o.default), i(t, [ {
                key: "isInvincibling",
                value: function() {
                    return this.invincibleTime &gt; 0;
                }
            }, {
                key: "reset",
                value: function() {
                    this.killBullet &amp;&amp; this.killBullet.parent &amp;&amp; this.killBullet.removeSelf(), this.clear(), 
                    this.cleanTrail(), this.units = [], this.invincibleTime = 0;
                }
            }, {
                key: "cleanTrail",
                value: function() {
                    this.trailSrc;
                }
            }, {
                key: "init",
                value: function(e, t, n) {
                    this.par = e, this.bulletSrc = t, this.killBullet = this._getNewUnit(this.normalN), 
                    this.killBullet.removeSelf(), n &amp;&amp; (this.bulletInvincibleSrc = c.default.inst().getFromPool(n, "bulletInvincibleSrc", this.par), 
                    this.bulletInvincibleSrc.removeSelf());
                }
            }, {
                key: "getSrc",
                value: function(e) {
                    return 1 == e ? this.bulletSrc : this.bulletInvincibleSrc;
                }
            }, {
                key: "startInvincible",
                value: function(e) {
                    this.invincibleTime = e, s.default.excuteFunc(this.OnInvincibleStart, Math.floor(e / 1e3));
                }
            }, {
                key: "fire",
                value: function(e) {
                    if (e &amp;&amp; r.default.inst().isGaming()) {
                        var t = null;
                        if (this.invincibleTime &gt; 0) {
                            if (t = this._getNewUnit(this.invincibleN), this.trailSrc) {
                                Laya.Sprite3D.instantiate(this.trailSrc, t, !0).transform.localPosition = new Laya.Vector3();
                            }
                        } else t = this._getNewUnit(this.normalN);
                        if (t) {
                            l.default.samePosition(e, t, !1), l.default.sameRotation(e, t, !1);
                            var n = l.default.mayComponent(t, u.default);
                            n.init(this.invincibleTime &gt; 0), n.fire(), this.units.push(n);
                        }
                    }
                }
            }, {
                key: "collectBullet",
                value: function(e) {
                    s.default.removeFromArray(this.units, e), null != e &amp;&amp; e.returnPool();
                }
            }, {
                key: "playRebackBullet",
                value: function(e) {
                    r.default.inst().over(), this.clear(), c.default.inst().clear(u.default.token2), 
                    c.default.inst().clear(u.default.token1), this.par &amp;&amp; this.killBullet ? (this.par.addChild(this.killBullet), 
                    this.killBullet.transform.position = e.clone(), Laya.Vector3.subtract(r.default.inst().actor.owner.transform.position, this.killBullet.transform.position, this.killMoveDir), 
                    Laya.Vector3.scale(this.killMoveDir, 20 / this.killTime, this.killMoveDir), this.killBulletOldPos = e, 
                    this.killCurTime = 0, Laya.timer.loop(20, this, this._killActor)) : (s.default.excuteFunc(this.OnKillActor), 
                    Laya.timer.clear(this, this._killActor));
                }
            }, {
                key: "_killActor",
                value: function() {
                    if (this.killCurTime += 20, this.killCurTime &gt; this.killTime) return this.killBullet.removeSelf(), 
                    r.default.inst().actor.beKill(), void Laya.timer.clear(this, this._killActor);
                    var e = this.killBullet.transform.position;
                    Laya.Vector3.add(e, this.killMoveDir, e), this.killBullet.transform.position = e;
                }
            } ], [ {
                key: "inst",
                get: function() {
                    return null == t._inst &amp;&amp; (t._inst = new t()), t._inst;
                }
            } ]), t;
        }();
        n.default = h;
    }, {
        "../../game/GameManager": 3,
        "../../utils/SimpleGoPool": 60,
        "../../utils/UtilsCommon": 64,
        "../../utils/UtilsGameObject": 66,
        "../GoBaseManager": 12,
        "./Bullet": 20
    } ],
    22: [ function(e, t, n) {
        "use strict";
        Object.defineProperty(n, "__esModule", {
            value: !0
        });
        var a = function() {
            function e(e, t) {
                for (var n = 0; n &lt; t.length; n++) {
                    var a = t[n];
                    a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a &amp;&amp; (a.writable = !0), 
                    Object.defineProperty(e, a.key, a);
                }
            }
            return function(t, n, a) {
                return n &amp;&amp; e(t.prototype, n), a &amp;&amp; e(t, a), t;
            };
        }(), i = function() {
            function e() {
                !function(e, t) {
                    if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
                }(this, e);
            }
            return a(e, [ {
                key: "attach",
                value: function(e) {
                    this.go = e, this.originPos = this.go.transform.localPosition.clone();
                }
            }, {
                key: "reset",
                value: function() {}
            }, {
                key: "play",
                value: function() {
                    var e = this.go.transform.localPosition;
                    Laya.Vector3.add(this.originPos, new Laya.Vector3(1.2 * Math.random(), 0, Math.random()), e), 
                    this.go.transform.localPosition = e;
                }
            } ]), e;
        }();
        n.default = i;
    }, {} ],
    23: [ function(e, t, n) {
        "use strict";
        function a(e) {
            return e &amp;&amp; e.__esModule ? e : {
                default: e
            };
        }
        Object.defineProperty(n, "__esModule", {
            value: !0
        });
        var i = function() {
            function e(e, t) {
                for (var n = 0; n &lt; t.length; n++) {
                    var a = t[n];
                    a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a &amp;&amp; (a.writable = !0), 
                    Object.defineProperty(e, a.key, a);
                }
            }
            return function(t, n, a) {
                return n &amp;&amp; e(t.prototype, n), a &amp;&amp; e(t, a), t;
            };
        }(), o = (a(e("../GameObjectManager")), a(e("./CloudUnit"))), r = (a(e("../../utils/UtilsGameObject")), 
        a(e("./BoatUnit"))), s = function() {
            function e() {
                !function(e, t) {
                    if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
                }(this, e), this.clouds = null, this.minCloud = 0, this.cloudComs = [], this.boats = null, 
                this.minBoat = 0, this.boatCom = [];
            }
            return i(e, [ {
                key: "attach",
                value: function(e) {
                    if (e) {
                        this.clouds = [];
                        for (var t = e.getChildByName("yunPar"), n = 0; n &lt; t.numChildren; n++) {
                            var a = t.getChildAt(n);
                            if (this.clouds.push(a), null == this.cloudComs[n]) {
                                l = new o.default();
                                this.cloudComs[n] = l;
                            }
                            this.cloudComs[n].attach(a);
                        }
                        this.boats = [], t = e.getChildByName("xiaochuanPar");
                        for (var i = 0; i &lt; t.numChildren; i++) {
                            var s = t.getChildAt(i);
                            if (this.boats.push(s), null == this.boatCom[i]) {
                                var l = new r.default();
                                this.boatCom[i] = l;
                            }
                            this.boatCom[i].attach(s);
                        }
                    }
                }
            }, {
                key: "show",
                value: function() {
                    if (null != this.clouds) {
                        for (var e = null, t = 0; t &lt; this.clouds.length; t++) (e = this.clouds[t]) &amp;&amp; (Math.random() &gt; .7 &amp;&amp; t &gt; 0 ? (e.active = !0, 
                        this.cloudComs[t] &amp;&amp; this.cloudComs[t].play()) : e.active = !1);
                        if (null != this.boats) for (var n = 0; n &lt; this.boats.length; n++) (e = this.boats[n]) &amp;&amp; (Math.random() &gt; .6 ? (e.active = !0, 
                        this.boatCom[n] &amp;&amp; this.boatCom[n].play()) : e.active = !1);
                    }
                }
            }, {
                key: "hide",
                value: function() {
                    for (var e = 0; e &lt; this.cloudComs.length; e++) {
                        var t = this.cloudComs[e];
                        t &amp;&amp; t.reset();
                    }
                    for (var n = 0; n &lt; this.boatCom.length; n++) {
                        var a = this.boatCom[n];
                        a &amp;&amp; a.reset();
                    }
                }
            } ]), e;
        }();
        n.default = s;
    }, {
        "../../utils/UtilsGameObject": 66,
        "../GameObjectManager": 11,
        "./BoatUnit": 22,
        "./CloudUnit": 24
    } ],
    24: [ function(e, t, n) {
        "use strict";
        Object.defineProperty(n, "__esModule", {
            value: !0
        });
        var a = function() {
            function e(e, t) {
                for (var n = 0; n &lt; t.length; n++) {
                    var a = t[n];
                    a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a &amp;&amp; (a.writable = !0), 
                    Object.defineProperty(e, a.key, a);
                }
            }
            return function(t, n, a) {
                return n &amp;&amp; e(t.prototype, n), a &amp;&amp; e(t, a), t;
            };
        }(), i = (function(e) {
            e &amp;&amp; e.__esModule;
        }(e("../GameObjectManager")), function() {
            function e() {
                !function(e, t) {
                    if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
                }(this, e);
            }
            return a(e, [ {
                key: "attach",
                value: function(e) {
                    this.go = e, this.originPos = this.go.transform.localPosition, this.mintweenTime = 2e3, 
                    this.tweenTimerange = 2e3, this.dir = 1, this.updateCd = 40, this.maxXoffset = .01;
                }
            }, {
                key: "reset",
                value: function() {
                    Laya.timer.clearAll(this), Laya.Tween.clearAll(this), this.go &amp;&amp; (this.go.transform.localPosition = this.originPos);
                }
            }, {
                key: "play",
                value: function() {
                    Laya.timer.loop(this.updateCd, this, this.update), this._play();
                }
            }, {
                key: "_play",
                value: function() {
                    var e = this;
                    this.tweenc = 0, this.dir = -this.dir;
                    var t = this.mintweenTime + Math.random() * this.tweenTimerange;
                    Laya.Tween.to(this, {
                        tweenc: this.dir
                    }, t, Laya.Ease.linearIn, Laya.Handler.create(this, function() {
                        e._play();
                    }));
                }
            }, {
                key: "update",
                value: function() {
                    var e = this.go.transform.localPosition;
                    e.x = this.originPos.x + this.tweenc * this.maxXoffset, this.go.transform.localPosition = e;
                }
            } ]), e;
        }());
        n.default = i;
    }, {
        "../GameObjectManager": 11
    } ],
    25: [ function(e, t, n) {
        "use strict";
        function a(e) {
            return e &amp;&amp; e.__esModule ? e : {
                default: e
            };
        }
        Object.defineProperty(n, "__esModule", {
            value: !0
        });
        var i = function() {
            function e(e, t) {
                for (var n = 0; n &lt; t.length; n++) {
                    var a = t[n];
                    a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a &amp;&amp; (a.writable = !0), 
                    Object.defineProperty(e, a.key, a);
                }
            }
            return function(t, n, a) {
                return n &amp;&amp; e(t.prototype, n), a &amp;&amp; e(t, a), t;
            };
        }(), o = a(e("../GoBaseManager")), r = a(e("../GameObjectManager")), s = (a(e("../../utils/UtilsGameObject")), 
        a(e("./RoadUnit"))), l = a(e("../../utils/SimplePool")), u = a(e("../../utils/UtilsCommon")), c = a(e("../../utils/Tween3DTool")), h = function(e) {
            function t() {
                !function(e, t) {
                    if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
                }(this, t);
                var e = function(e, t) {
                    if (!e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
                    return !t || "object" != typeof t &amp;&amp; "function" != typeof t ? e : t;
                }(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this));
                return e.combineTime = 300, e.maxCount = 4, e.token = "road", e.tweenTool = new c.default(), 
                e;
            }
            return function(e, t) {
                if ("function" != typeof t &amp;&amp; null !== t) throw new TypeError("Super expression must either be null or a function, not " + typeof t);
                e.prototype = Object.create(t &amp;&amp; t.prototype, {
                    constructor: {
                        value: e,
                        enumerable: !1,
                        writable: !0,
                        configurable: !0
                    }
                }), t &amp;&amp; (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);
            }(t, o.default), i(t, [ {
                key: "reset",
                value: function() {
                    this.roadId = 0, this.curRoadId = 0, this.clear(), this.units = [];
                    for (var e = 0; e &lt; this.maxCount; e++) this.buildNewRoad();
                }
            }, {
                key: "getCurrentRoad",
                value: function() {
                    return u.default.getIndexByArray(this.units, this.curRoadId);
                }
            }, {
                key: "getNextRoad",
                value: function() {
                    return u.default.getIndexByArray(this.units, this.curRoadId + 1);
                }
            }, {
                key: "getNextRoadPosesGo",
                value: function() {
                    var e = u.default.getIndexByArray(this.units, this.curRoadId), t = u.default.getIndexByArray(this.units, this.curRoadId + 1);
                    return e &amp;&amp; t ? {
                        p1: e.center,
                        p2: t.firePos
                    } : null;
                }
            }, {
                key: "getSrc",
                value: function(e) {
                    return r.default.inst.roadSrc;
                }
            }, {
                key: "buildNewRoad",
                value: function() {
                    var e = this._getNewUnit(0);
                    if (null != e) {
                        var t = l.default.inst().getFromPool(s.default);
                        t.init(e), this.units.push(t);
                        var n = null;
                        if (0 != this.roadId &amp;&amp; (n = this.units[this.roadId - 1]), n) {
                            var a = null;
                            a = this.roadId % 2 == 0 ? n.endPos1 : n.endPos2;
                            var i = e.transform.rotationEuler;
                            a.transform.rotationEuler.cloneTo(i), e.transform.rotationEuler = i;
                            var o = new Laya.Vector3();
                            a.transform.position.cloneTo(o), this.roadId &gt; this.maxCount - 1 ? (t.endMovePos = o, 
                            t.startMovePos = n.center.transform.position.clone(), e.transform.position = t.startMovePos.clone(), 
                            t.moveToEndPos(), this.dismantle(this.curRoadId), this.curRoadId++) : e.transform.position = o;
                        } else e.transform.position = new Laya.Vector3(), e.transform.rotationEuler = new Laya.Vector3();
                    }
                    this.roadId++;
                }
            }, {
                key: "dismantle",
                value: function(e) {
                    var t = this.units[e];
                    t &amp;&amp; (t.hide(), t.returnPool());
                }
            }, {
                key: "playCombineAni",
                value: function(e) {}
            } ], [ {
                key: "inst",
                get: function() {
                    return null == t._inst &amp;&amp; (t._inst = new t()), t._inst;
                }
            } ]), t;
        }();
        n.default = h;
    }, {
        "../../utils/SimplePool": 61,
        "../../utils/Tween3DTool": 63,
        "../../utils/UtilsCommon": 64,
        "../../utils/UtilsGameObject": 66,
        "../GameObjectManager": 11,
        "../GoBaseManager": 12,
        "./RoadUnit": 26
    } ],
    26: [ function(e, t, n) {
        "use strict";
        function a(e) {
            return e &amp;&amp; e.__esModule ? e : {
                default: e
            };
        }
        Object.defineProperty(n, "__esModule", {
            value: !0
        });
        var i = function() {
            function e(e, t) {
                for (var n = 0; n &lt; t.length; n++) {
                    var a = t[n];
                    a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a &amp;&amp; (a.writable = !0), 
                    Object.defineProperty(e, a.key, a);
                }
            }
            return function(t, n, a) {
                return n &amp;&amp; e(t.prototype, n), a &amp;&amp; e(t, a), t;
            };
        }(), o = a(e("../../utils/SimpleGoPool")), r = a(e("../EffectManager")), s = a(e("../../utils/SimplePool")), l = a(e("../../utils/Tween3DTool")), u = a(e("../cloud/CloudBoatCtrl")), c = function() {
            function e() {
                !function(e, t) {
                    if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
                }(this, e), this.startPos = null, this.endPos1 = null, this.endPos2 = null, this.blockStartPos = null, 
                this.guidao1 = null, this.guidao2 = null, this.breakStartPos = null, this.firePos = null, 
                this.startMovePos = null, this.endMovePos = null, this.moveTool = new l.default(), 
                this.moveTime = 1e3, this.cloudCtrl = new u.default();
            }
            return i(e, [ {
                key: "init",
                value: function(e) {
                    if (Laya.timer.clearAll(this), Laya.Tween.clearAll(this.moveTool), null != e) {
                        if (e != this.road) {
                            this.road = e, this.cloudCtrl.attach(e), this.center = e.getChildByName("center"), 
                            this.blockTrigger = e.getChildByName("blockTrigger"), this.startPos = e.getChildByName("startPos"), 
                            this.endPos1 = e.getChildByName("endPos0"), this.endPos2 = e.getChildByName("endPos1"), 
                            this.blockStartPos = e.getChildByName("blockStartPos"), this.guidao1 = e.getChildByName("guidao1"), 
                            this.guidao2 = e.getChildByName("guidao2"), this.breakStartPos = e.getChildByName("breakStartPos"), 
                            this.firePos = e.getChildByName("firePos"), this.countPos = e.getChildByName("countPos"), 
                            this.perfectPos = e.getChildByName("perfectPos"), this.roadLength = Laya.Vector3.scalarLength(this.startPos.transform.localPosition), 
                            this.effPoses = [];
                            for (var t = e.getChildByName("effPos"), n = 0; n &lt; t.numChildren; n++) {
                                var a = t.getChildAt(n);
                                this.effPoses.push(a);
                            }
                            this.lubiaos = [];
                            for (var i = e.getChildByName("lubiaos"), o = i.numChildren, r = 0; r &lt; o; r++) {
                                var s = i.getChildAt(o - r - 1);
                                this.lubiaos.push(s);
                            }
                        }
                        this.guidao1.active = !1, this.guidao2.active = !1, this.cloudCtrl.show();
                    }
                }
            }, {
                key: "hide",
                value: function() {
                    Laya.timer.clearAll(this), this.cloudCtrl.hide();
                }
            }, {
                key: "setData",
                value: function(e) {
                    this.index = e;
                }
            }, {
                key: "returnPool",
                value: function() {
                    o.default.inst().returnPool(this.road, "road0"), s.default.inst().returnPool(this, "RoadUnit");
                }
            }, {
                key: "playWinEff",
                value: function() {
                    if (this.road &amp;&amp; this.road.parent) for (var e = 1; e &lt;= this.effPoses.length; e++) r.default.inst().playEffect(e, this.road.parent, this.effPoses[e - 1].transform.position.clone());
                }
            }, {
                key: "playWaitingEff",
                value: function() {
                    return;
                }
            }, {
                key: "update",
                value: function() {}
            }, {
                key: "_playwaitingEff",
                value: function(t) {
                    var n = this;
                    if (this.lubiaos) {
                        if (t &gt;= this.lubiaos.length) return t = 0, void this.playWaitingEff();
                        this.lubiaos[t] &amp;&amp; (this.lubiaos[t].meshRenderer.material.albedoColor = e.LubiaoColor.clone()), 
                        this.cTimer = 0, Laya.timer.once(e.LubiaoTweenTime, this, function() {
                            n._playwaitingEff(t + 1);
                        });
                    }
                }
            }, {
                key: "cancelWaitingEff",
                value: function() {
                    return;
                }
            }, {
                key: "moveToEndPos",
                value: function() {
                    this.moveTool.onPositionMoveTo(this.road, this.endMovePos, this.moveTime);
                }
            } ]), e;
        }();
        n.default = c, c.LubiaoColor = new Laya.Vector4(195 / 255, 1, 207 / 255, 1), c.WaitColor = new Laya.Vector4(1, 1, 1, 1), 
        c.LubiaoTweenTime = 100;
    }, {
        "../../utils/SimpleGoPool": 60,
        "../../utils/SimplePool": 61,
        "../../utils/Tween3DTool": 63,
        "../EffectManager": 10,
        "../cloud/CloudBoatCtrl": 23
    } ],
    27: [ function(e, t, n) {
        "use strict";
        function a(e) {
            return e &amp;&amp; e.__esModule ? e : {
                default: e
            };
        }
        Object.defineProperty(n, "__esModule", {
            value: !0
        });
        var i = function() {
            function e(e, t) {
                for (var n = 0; n &lt; t.length; n++) {
                    var a = t[n];
                    a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a &amp;&amp; (a.writable = !0), 
                    Object.defineProperty(e, a.key, a);
                }
            }
            return function(t, n, a) {
                return n &amp;&amp; e(t.prototype, n), a &amp;&amp; e(t, a), t;
            };
        }(), o = a(e("./AdIconItem2")), r = a(e("../../utils/UtilsData")), s = function(e) {
            function t() {
                !function(e, t) {
                    if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
                }(this, t);
                var e = function(e, t) {
                    if (!e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
                    return !t || "object" != typeof t &amp;&amp; "function" != typeof t ? e : t;
                }(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this));
                return e.init(), e.maxCount = 6, e;
            }
            return function(e, t) {
                if ("function" != typeof t &amp;&amp; null !== t) throw new TypeError("Super expression must either be null or a function, not " + typeof t);
                e.prototype = Object.create(t &amp;&amp; t.prototype, {
                    constructor: {
                        value: e,
                        enumerable: !1,
                        writable: !0,
                        configurable: !0
                    }
                }), t &amp;&amp; (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);
            }(t, Laya.Script), i(t, [ {
                key: "init",
                value: function() {
                    Laya.loader.load(o.default.prefabPath, Laya.Handler.create(this, this.initList), null, Laya.Loader.PREFAB);
                }
            }, {
                key: "close",
                value: function() {}
            }, {
                key: "freshList",
                value: function() {
                    var e = [];
                    this.data = e;
                    var t = LayaSample.commonData.wxappList[r.default.PassUI], n = 0;
                    if (null != t) for (var a in t) {
                        var i = t[a];
                        for (var o in i) null == i[o] || Laya.Browser.onIOS &amp;&amp; i[o].is_box || (e.push(i[o]), 
                        n += i[o].weight);
                    }
                    var s = null;
                    if (e.length &gt; this.maxCount) if (0 == n) e.splice(this.maxCount, e.length - this.maxCount); else {
                        for (var l = 100, u = [], c = 0, h = !0; h; ) {
                            for (;-1 != u.indexOf(c); ) c++;
                            for (c &gt;= e.length &amp;&amp; (c = 0); -1 != u.indexOf(c); ) c++;
                            (e[c].weight / n &gt; Math.random() || l &lt;= 0) &amp;&amp; (u.push(c), u.length &gt;= this.maxCount &amp;&amp; (h = !1)), 
                            l--, c++;
                        }
                        this.data = [];
                        for (var f = 0; f &lt; u.length; f++) {
                            var d = u[f];
                            this.data.push(e[d]);
                        }
                        e = this.data;
                    }
                    for (var y = 0; y &lt; e.length; y++) for (var p = 1; p &lt; e.length; p++) e[p].weight &gt; e[y].weight &amp;&amp; (s = e[y], 
                    e[y] = e[p], e[p] = s);
                    this.isInit &amp;&amp; this._setData();
                }
            }, {
                key: "_setData",
                value: function() {
                    this.ind = 0, null != this.listBg &amp;&amp; (null == this.data || 0 == this.data.length ? this.listBg.visible = !1 : this.listBg.visible = !0), 
                    this.list.array = this.data;
                }
            }, {
                key: "updateItem",
                value: function(e, t) {
                    e.setData(e.dataSource);
                }
            }, {
                key: "onSelect",
                value: function(e) {
                    if (-1 != e) {
                        var t = this.list.getItem(e);
                        null != t &amp;&amp; (LayaSample.wxMgr.wxEnterOtherGame(t.app_id, t.category, t.position), 
                        this.list.selectedIndex = -1);
                    }
                }
            }, {
                key: "initList",
                value: function() {
                    null != this.list &amp;&amp; (this.isInit = !0, this.list.itemRender = o.default, this.list.cacheContent = !1, 
                    this.renderCount = this.list.repeatX, this.list.selectEnable = !0, this.list.selectHandler = new Laya.Handler(this, this.onSelect), 
                    this.list.renderHandler = new Laya.Handler(this, this.updateItem), null != this.data &amp;&amp; this._setData(this.data));
                }
            } ]), t;
        }();
        n.default = s;
    }, {
        "../../utils/UtilsData": 65,
        "./AdIconItem2": 29
    } ],
    28: [ function(e, t, n) {
        "use strict";
        Object.defineProperty(n, "__esModule", {
            value: !0
        });
        var a = function() {
            function e(e, t) {
                for (var n = 0; n &lt; t.length; n++) {
                    var a = t[n];
                    a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a &amp;&amp; (a.writable = !0), 
                    Object.defineProperty(e, a.key, a);
                }
            }
            return function(t, n, a) {
                return n &amp;&amp; e(t.prototype, n), a &amp;&amp; e(t, a), t;
            };
        }(), i = (function(e) {
            e &amp;&amp; e.__esModule;
        }(e("../../../script/Utils")), function(e) {
            function t() {
                !function(e, t) {
                    if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
                }(this, t);
                var e = function(e, t) {
                    if (!e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
                    return !t || "object" != typeof t &amp;&amp; "function" != typeof t ? e : t;
                }(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this));
                return e.width = 120, e.height = 144, e.labName = null, e.icon = null, e.size(e.width, e.height), 
                e.initUI(), e;
            }
            return function(e, t) {
                if ("function" != typeof t &amp;&amp; null !== t) throw new TypeError("Super expression must either be null or a function, not " + typeof t);
                e.prototype = Object.create(t &amp;&amp; t.prototype, {
                    constructor: {
                        value: e,
                        enumerable: !1,
                        writable: !0,
                        configurable: !0
                    }
                }), t &amp;&amp; (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);
            }(t, Laya.Box), a(t, [ {
                key: "initUI",
                value: function() {
                    var e = Laya.loader.getRes(t.prefabPath);
                    if (e) {
                        var n = Laya.Pool.getItemByCreateFun("adIconItem", e.create, e);
                        this.icon = n.getChildByName("icon"), this.labName = n.getChildByName("name"), this.addChild(n);
                    }
                }
            }, {
                key: "setData",
                value: function(e) {
                    null != e &amp;&amp; (this.icon.loadImage(e.app_img, 0, 0), this.appId = e.app_id);
                }
            } ]), t;
        }());
        n.default = i, i.prefabPath = "prefabs/adIconItem.json";
    }, {
        "../../../script/Utils": 68
    } ],
    29: [ function(e, t, n) {
        "use strict";
        Object.defineProperty(n, "__esModule", {
            value: !0
        });
        var a = function() {
            function e(e, t) {
                for (var n = 0; n &lt; t.length; n++) {
                    var a = t[n];
                    a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a &amp;&amp; (a.writable = !0), 
                    Object.defineProperty(e, a.key, a);
                }
            }
            return function(t, n, a) {
                return n &amp;&amp; e(t.prototype, n), a &amp;&amp; e(t, a), t;
            };
        }(), i = (function(e) {
            e &amp;&amp; e.__esModule;
        }(e("../../../script/Utils")), function(e) {
            function t() {
                !function(e, t) {
                    if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
                }(this, t);
                var e = function(e, t) {
                    if (!e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
                    return !t || "object" != typeof t &amp;&amp; "function" != typeof t ? e : t;
                }(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this));
                return e.width = 184, e.height = 244, e.labName = null, e.icon = null, e.size(e.width, e.height), 
                e.initUI(), e;
            }
            return function(e, t) {
                if ("function" != typeof t &amp;&amp; null !== t) throw new TypeError("Super expression must either be null or a function, not " + typeof t);
                e.prototype = Object.create(t &amp;&amp; t.prototype, {
                    constructor: {
                        value: e,
                        enumerable: !1,
                        writable: !0,
                        configurable: !0
                    }
                }), t &amp;&amp; (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);
            }(t, Laya.Box), a(t, [ {
                key: "initUI",
                value: function() {
                    var e = Laya.loader.getRes(t.prefabPath);
                    if (e) {
                        var n = Laya.Pool.getItemByCreateFun("adIconItem2", e.create, e);
                        this.icon = n, this.addChild(n);
                    }
                }
            }, {
                key: "setData",
                value: function(e) {
                    null != e &amp;&amp; (this.icon.loadImage(e.app_img, 0, 0), this.appId = e.app_id);
                }
            } ]), t;
        }());
        n.default = i, i.prefabPath = "prefabs/adIconItem2.json";
    }, {
        "../../../script/Utils": 68
    } ],
    30: [ function(e, t, n) {
        "use strict";
        function a(e) {
            return e &amp;&amp; e.__esModule ? e : {
                default: e
            };
        }
        Object.defineProperty(n, "__esModule", {
            value: !0
        });
        var i = function() {
            function e(e, t) {
                for (var n = 0; n &lt; t.length; n++) {
                    var a = t[n];
                    a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a &amp;&amp; (a.writable = !0), 
                    Object.defineProperty(e, a.key, a);
                }
            }
            return function(t, n, a) {
                return n &amp;&amp; e(t.prototype, n), a &amp;&amp; e(t, a), t;
            };
        }(), o = a(e("./AdIconItem")), r = a(e("../../utils/UtilsData")), s = function(e) {
            function t() {
                !function(e, t) {
                    if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
                }(this, t);
                var e = function(e, t) {
                    if (!e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
                    return !t || "object" != typeof t &amp;&amp; "function" != typeof t ? e : t;
                }(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this));
                return e.renderCount = 4, e.endIndex = -1, e.speed = 3e3, e.init(), e;
            }
            return function(e, t) {
                if ("function" != typeof t &amp;&amp; null !== t) throw new TypeError("Super expression must either be null or a function, not " + typeof t);
                e.prototype = Object.create(t &amp;&amp; t.prototype, {
                    constructor: {
                        value: e,
                        enumerable: !1,
                        writable: !0,
                        configurable: !0
                    }
                }), t &amp;&amp; (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);
            }(t, Laya.Script), i(t, [ {
                key: "init",
                value: function() {
                    Laya.loader.load(o.default.prefabPath, Laya.Handler.create(this, this.initList), null, Laya.Loader.PREFAB);
                }
            }, {
                key: "close",
                value: function() {
                    Laya.timer.clearAll(this);
                }
            }, {
                key: "freshList",
                value: function() {
                    if (null == this.data) {
                        var e = [];
                        this.data = e;
                        var t = LayaSample.commonData.wxappList[r.default.PassUI];
                        if (console.log(list), null != t) for (var n in t) {
                            var a = t[n];
                            for (var i in a) null == a[i] || Laya.Browser.onIOS &amp;&amp; a[i].is_box || e.push(a[i]);
                        }
                        this._copyEndDataToStart(e);
                    }
                    this.isInit &amp;&amp; this._setData(e);
                }
            }, {
                key: "_copyEndDataToStart",
                value: function(e) {
                    if (this.endIndex = e.length, e.length &gt; this.renderCount) for (var t = 0; t &lt; this.renderCount; t++) {
                        var n = e[e.length - t - 1];
                        e.unshift(n);
                    }
                }
            }, {
                key: "_setData",
                value: function(e) {
                    this.ind = 0, null != this.listBg &amp;&amp; (null == this.data || 0 == this.data.length ? this.listBg.visible = !1 : this.listBg.visible = !0), 
                    this.list.array = this.data, this.data.length &gt; this.renderCount &amp;&amp; Laya.timer.frameOnce(1, this, this._tweenToNext);
                }
            }, {
                key: "startRun",
                value: function() {
                    this.data.length &gt; this.renderCount &amp;&amp; (Laya.timer.clearAll(this), Laya.timer.frameOnce(1, this, this._tweenToNext));
                }
            }, {
                key: "_tweenToNext",
                value: function() {
                    Laya.timer.clearAll(this), this.ind = Math.max(1, this.list.startIndex + 1), this.ind == this.prevInd &amp;&amp; this.ind++, 
                    this.ind &gt; this.endIndex &amp;&amp; (this.list.scrollTo(0), this.ind = 1), this.prevInd = this.ind, 
                    this.list.tweenTo(this.ind, this.speed), Laya.timer.once(this.speed, this, this._tweenToNext);
                }
            }, {
                key: "updateItem",
                value: function(e, t) {
                    e.setData(e.dataSource);
                }
            }, {
                key: "onSelect",
                value: function(e) {
                    if (-1 != e) {
                        var t = this.list.getItem(e);
                        null != t &amp;&amp; (LayaSample.wxMgr.wxEnterOtherGame(t.app_id, t.category, t.position), 
                        this.list.selectedIndex = -1);
                    }
                }
            }, {
                key: "initList",
                value: function() {
                    null != this.list &amp;&amp; (this.isInit = !0, this.list.itemRender = o.default, this.list.cacheContent = !1, 
                    this.renderCount = this.list.repeatX, this.list.selectEnable = !0, this.list.selectHandler = new Laya.Handler(this, this.onSelect), 
                    this.list.renderHandler = new Laya.Handler(this, this.updateItem), this.list.hScrollBarSkin = "", 
                    null != this.data &amp;&amp; this._setData(this.data));
                }
            } ]), t;
        }();
        n.default = s;
    }, {
        "../../utils/UtilsData": 65,
        "./AdIconItem": 28
    } ],
    31: [ function(e, t, n) {
        "use strict";
        Object.defineProperty(n, "__esModule", {
            value: !0
        });
        var a = function() {
            function e(e, t) {
                for (var n = 0; n &lt; t.length; n++) {
                    var a = t[n];
                    a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a &amp;&amp; (a.writable = !0), 
                    Object.defineProperty(e, a.key, a);
                }
            }
            return function(t, n, a) {
                return n &amp;&amp; e(t.prototype, n), a &amp;&amp; e(t, a), t;
            };
        }(), i = function(e) {
            return e &amp;&amp; e.__esModule ? e : {
                default: e
            };
        }(e("./WxappItem")), o = function(e) {
            function t() {
                return function(e, t) {
                    if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
                }(this, t), function(e, t) {
                    if (!e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
                    return !t || "object" != typeof t &amp;&amp; "function" != typeof t ? e : t;
                }(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this));
            }
            return function(e, t) {
                if ("function" != typeof t &amp;&amp; null !== t) throw new TypeError("Super expression must either be null or a function, not " + typeof t);
                e.prototype = Object.create(t &amp;&amp; t.prototype, {
                    constructor: {
                        value: e,
                        enumerable: !1,
                        writable: !0,
                        configurable: !0
                    }
                }), t &amp;&amp; (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);
            }(t, Laya.Script), a(t, [ {
                key: "closeComp",
                value: function() {
                    Laya.timer.clearAll(this), this.parentNode.visible = !1, this.isHide = !0;
                }
            }, {
                key: "onDisable",
                value: function() {}
            }, {
                key: "onStart",
                value: function() {
                    this.isHide || (this.initData(), this.initUI(), this.initList(), this.ind = 0, this.prevInd = 0, 
                    this.renderCount = 4, this.speed = 3e3);
                }
            }, {
                key: "initUI",
                value: function() {
                    this.appCount;
                    this.listNode.visible = !0, this.parentNode.visible = !0;
                }
            }, {
                key: "initData",
                value: function() {
                    // if (i.default.appWidth = this.appWidth, i.default.appHeight = this.appHeight, i.default.appPrefab = this.appPrefab, 
                    // this.data = LayaSample.commonData.wxappList[2][0], this.appCount = this.data.length, 
                    // !(this.appCount &lt;= 6)) {
                    //     var e = 0, t = 0;
                    //     for (e = 0; e &lt; this.appCount; ++e) t += this.data[e].weight;
                    //     var n = [], a = 0;
                    //     for (e = 0; e &lt; this.appCount; ++e) a += this.data[e].weight, n[e] = {}, n[e].index = e, 
                    //     n[e].weight = a / t;
                    //     for (var o = [], r = 0, s = !1, l = 0, u = 0; u &lt; this.appCount; ++u) {
                    //         for (r = Math.random() * n[n.length - 1].weight, s = !1, e = 0; e &lt; n.length; ++e) !s &amp;&amp; r &lt;= n[e].weight &amp;&amp; (s = !0, 
                    //         o.push(this.data[n[e].index]), e + 1 &lt; n.length &amp;&amp; (l = n[e + 1].weight - n[e].weight)), 
                    //         s &amp;&amp; e + 1 &lt; n.length &amp;&amp; (n[e + 1].weight -= l, n[e] = n[e + 1]);
                    //         n.length -= 1;
                    //     }
                    //     this.data = o;
                    // }
                }
            }, {
                key: "getData",
                value: function(e, t) {
                    for (var n = 0; n &lt; e.length; ++n) e[n];
                }
            }, {
                key: "initList",
                value: function() {
                    var e = this.listNode;
                    null != e &amp;&amp; (e.itemRender = i.default, e.vScrollBarSkin = "", e.selectEnable = !0, 
                    e.selectHandler = new Laya.Handler(this, this.onSelect), e.renderHandler = new Laya.Handler(this, this.updateItem), 
                    this.renderCount = e.repeatX * e.repeatY), null != this.data &amp;&amp; (this._copyEndDataToStart(this.data), 
                    this._setData(this.data)), e.array = this.data;
                }
            }, {
                key: "updateItem",
                value: function(e, t) {
                    e.setItemInfo(e.dataSource);
                }
            }, {
                key: "onSelect",
                value: function(e) {
                    if (!(e &lt; 0)) {
                        var t = this.listNode.getItem(e);
                        null != t &amp;&amp; LayaSample.wxMgr.wxEnterOtherGame(t.app_id, t.category), this.listNode.selectedIndex = -1;
                    }
                }
            }, {
                key: "_setData",
                value: function(e) {
                    this.ind = 0, this.listNode.array = this.data, this.data.length &gt; this.renderCount &amp;&amp; Laya.timer.frameOnce(1, this, this._tweenToNext);
                }
            }, {
                key: "_tweenToNext",
                value: function() {
                    Laya.timer.clearAll(this), this.ind = Math.max(this.listNode.repeatX, this.listNode.startIndex), 
                    this.ind == this.prevInd &amp;&amp; (this.ind += this.listNode.repeatX), this.ind &gt;= 6 &amp;&amp; (this.listNode.scrollTo(0), 
                    this.ind = this.listNode.repeatX), this.prevInd = this.ind, this.listNode.tweenTo(this.ind, this.speed - 10), 
                    Laya.timer.once(this.speed, this, this._tweenToNext);
                }
            }, {
                key: "_copyEndDataToStart",
                value: function(e) {
                    if (this.appCount = e.length, e.length &gt; this.renderCount) for (var t = 0; t &lt; this.renderCount; t++) {
                        var n = e[e.length - t - 1];
                        if (e.length &gt;= 12) return;
                        e.unshift(n);
                    }
                }
            } ]), t;
        }();
        n.default = o;
    }, {
        "./WxappItem": 38
    } ],
    32: [ function(e, t, n) {
        "use strict";
        function a(e) {
            return e &amp;&amp; e.__esModule ? e : {
                default: e
            };
        }
        Object.defineProperty(n, "__esModule", {
            value: !0
        });
        var i = function() {
            function e(e, t) {
                for (var n = 0; n &lt; t.length; n++) {
                    var a = t[n];
                    a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a &amp;&amp; (a.writable = !0), 
                    Object.defineProperty(e, a.key, a);
                }
            }
            return function(t, n, a) {
                return n &amp;&amp; e(t.prototype, n), a &amp;&amp; e(t, a), t;
            };
        }(), o = a(e("../../utils/UtilsCommon")), r = a(e("../../utils/AdsManager")), s = a(e("../base/WindowManager")), l = a(e("../thinkYouLike/ThinkYouLikeUI")), u = a(e("./TopBanner")), c = a(e("../../utils/EventDispatcher")), h = function(e) {
            function t() {
                !function(e, t) {
                    if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
                }(this, t);
                var e = function(e, t) {
                    if (!e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
                    return !t || "object" != typeof t &amp;&amp; "function" != typeof t ? e : t;
                }(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this));
                return LayaSample.commonData &amp;&amp; (e.delayMilSec = LayaSample.commonData.bannerAdDelay, 
                e.moveMilSec = LayaSample.commonData.uibottomTweenTimer, e.isDelayOffsetX = LayaSample.commonData.delayOffsetX), 
                e.needDelay = !0, e.needDelayDefault = !0, e.offy = 0, (null == e.delayMilSec || 0 == e.delayMilSec &amp;&amp; 0 == e.moveMilSec) &amp;&amp; (e.delayMilSec = 0, 
                e.moveMilSec = 0, e.needDelay = !1, e.needDelayDefault = !1), e.moveOffset = -80, 
                e.isDefaultHideBanner = !0, e.needShowBannerNoDelay = !0, e.isUIMiddle = !0, e.adHeight = e._getAdHeight(), 
                c.default.on("onSelfBannerShow", e, e.onSelfBannerShow), e;
            }
            return function(e, t) {
                if ("function" != typeof t &amp;&amp; null !== t) throw new TypeError("Super expression must either be null or a function, not " + typeof t);
                e.prototype = Object.create(t &amp;&amp; t.prototype, {
                    constructor: {
                        value: e,
                        enumerable: !1,
                        writable: !0,
                        configurable: !0
                    }
                }), t &amp;&amp; (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);
            }(t, Laya.Script), i(t, [ {
                key: "onSelfBannerShow",
                value: function() {
                    t.isDlaying = !1, this.delayParent &amp;&amp; ("ui/Skin.scene" == this.owner.url &amp;&amp; (this.offy = 50), 
                    this.delayParent.y = this.adHeight - this.offy);
                }
            }, {
                key: "setIsUIMiddle",
                value: function(e) {
                    this.isUIMiddle = e, this.adHeight = this._getAdHeight();
                }
            }, {
                key: "setIsDlaying",
                value: function(e) {
                    t.isDlaying = e;
                }
            }, {
                key: "excute",
                value: function() {
                    if (this.delayParent) {
                        if (Laya.Tween.clearAll(this.delayParent), this.isDefaultHideBanner &amp;&amp; this.needDelay &amp;&amp; (s.default.inst().isShowing(l.default.inst) || (r.default.isHasBanner ? r.default.hideBaner() : u.default.inst &amp;&amp; u.default.inst.hide())), 
                        t.isDlaying = !0, this.needDelay = this.needDelayDefault &amp;&amp; r.default.isHasBanner, 
                        "ui/Skin.scene" == this.owner.url &amp;&amp; (this.offy = 50), this.delayParent.y = Laya.stage.height + this.moveOffset - this._getMiddleOffset() - this.offy, 
                        this.needDelay) {
                            if (this.isDelayOffsetX) {
                                null == this.randomOffsetX &amp;&amp; (this.randomOffsetX = 0);
                                var e = Math.random() * this.randomOffsetX * 2;
                                this.delayParent.x = this.randomOffsetX - e;
                            }
                        } else this.onSelfBannerShow();
                        r.default.getBanner(), this.needDelay &amp;&amp; this.delayMilSec &gt;= t.showBannerSecOffset ? Laya.timer.once(this.delayMilSec - t.showBannerSecOffset, this, this.delayShowBanner) : this.delayShowBanner(), 
                        Laya.timer.once(this.delayMilSec, this, this.delayToMove);
                    }
                }
            }, {
                key: "delayShowBanner",
                value: function() {
                    if (this.isDefaultHideBanner &amp;&amp; !s.default.inst().isShowing(l.default.inst)) if (r.default.isHasBanner) r.default.showBaner(); else if (u.default.inst) {
                        if ("ui/Main.scene" == this.url) return void console.log(this.url);
                        u.default.inst.show();
                    }
                }
            }, {
                key: "delayToMove",
                value: function() {
                    this.needDelay &amp;&amp; o.default.excuteFunc(this.OnDelay), "ui/Skin.scene" == this.owner.url &amp;&amp; (this.offy = 50), 
                    Laya.Tween.to(this.delayParent, {
                        y: this.adHeight - this.offy
                    }, this.moveMilSec, Laya.Ease.linearIn, Laya.Handler.create(this, this._moveEnd));
                }
            }, {
                key: "_moveEnd",
                value: function() {
                    t.isDlaying = !1;
                }
            }, {
                key: "_getAdHeight",
                value: function() {
                    var e = 260;
                    if (e += this._getMiddleOffset(), Laya.Browser.onWeiXin) {
                        var t = LayaSample.commonData.wxysysInfo;
                        null != t &amp;&amp; t.model.startsWith("iPhone X") &amp;&amp; (e += 56 / Laya.Browser.height * LayaSample.ui.desigeHeight);
                    }
                    return Laya.stage.height - e;
                }
            }, {
                key: "_getMiddleOffset",
                value: function() {
                    var e = 0;
                    return Laya.stage.height / Laya.stage.designHeight &gt; 1 &amp;&amp; this.isUIMiddle &amp;&amp; (e = (Laya.stage.height - Laya.stage.designHeight) / 2), 
                    e;
                }
            } ]), t;
        }();
        n.default = h, h.showBannerSecOffset = 100;
    }, {
        "../../utils/AdsManager": 56,
        "../../utils/EventDispatcher": 57,
        "../../utils/UtilsCommon": 64,
        "../base/WindowManager": 41,
        "../thinkYouLike/ThinkYouLikeUI": 55,
        "./TopBanner": 35
    } ],
    33: [ function(e, t, n) {
        "use strict";
        Object.defineProperty(n, "__esModule", {
            value: !0
        });
        var a = function() {
            function e(e, t) {
                for (var n = 0; n &lt; t.length; n++) {
                    var a = t[n];
                    a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a &amp;&amp; (a.writable = !0), 
                    Object.defineProperty(e, a.key, a);
                }
            }
            return function(t, n, a) {
                return n &amp;&amp; e(t.prototype, n), a &amp;&amp; e(t, a), t;
            };
        }(), i = function(e) {
            return e &amp;&amp; e.__esModule ? e : {
                default: e
            };
        }(e("./WxAppItem")), o = function(e) {
            function t() {
                return function(e, t) {
                    if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
                }(this, t), function(e, t) {
                    if (!e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
                    return !t || "object" != typeof t &amp;&amp; "function" != typeof t ? e : t;
                }(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this));
            }
            return function(e, t) {
                if ("function" != typeof t &amp;&amp; null !== t) throw new TypeError("Super expression must either be null or a function, not " + typeof t);
                e.prototype = Object.create(t &amp;&amp; t.prototype, {
                    constructor: {
                        value: e,
                        enumerable: !1,
                        writable: !0,
                        configurable: !0
                    }
                }), t &amp;&amp; (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);
            }(t, Laya.Script), a(t, [ {
                key: "onStart",
                value: function() {
                    this.initData(), this.initList();
                }
            }, {
                key: "initData",
                value: function() {
                    i.default.appWidth = this.appWidth, i.default.appHeight = this.appHeight, i.default.appPrefab = this.appPrefab;
                    // this.data =
                    //  LayaSample.commonData.wxappList[this.category][0], this.appCount = this.data.length;
                }
            }, {
                key: "initList",
                value: function() {
                    var e = this.listNode;
                    null != e &amp;&amp; (e.itemRender = i.default, e.hScrollBarSkin = "", e.selectEnable = !0, 
                    e.selectHandler = new Laya.Handler(this, this.onSelect), e.renderHandler = new Laya.Handler(this, this.updateItem), 
                    e.mouseHandler = new Laya.Handler(this, this.onMouseHandler), this.repeatX = e.repeatX, 
                    this.appCount &gt; 0 &amp;&amp; (e.array = this.data)), Laya.timer.once(1e3, this, this.moveList);
                }
            }, {
                key: "onMouseHandler",
                value: function(e, t) {
                    this.listNode.startIndex &lt; 5 ? Laya.timer.once(200, this, this.moveList) : Laya.timer.once(200, this, this.moveList1);
                }
            }, {
                key: "updateItem",
                value: function(e, t) {
                    e.setItemInfo(e.dataSource);
                }
            }, {
                key: "onSelect",
                value: function(e) {
                    if (!(e &lt; 0)) {
                        var t = this.listNode.getItem(e);
                        null != t &amp;&amp; LayaSample.wxMgr.wxEnterOtherGame(t.app_id, t.category), this.listNode.selectedIndex = -1;
                    }
                }
            }, {
                key: "moveList",
                value: function() {
                    // this.listNode.tweenTo(this.data.length - 5, 12e3, new Laya.Handler(this, this.moveList1));
                }
            }, {
                key: "moveList1",
                value: function() {
                    this.listNode.tweenTo(0, 12e3, new Laya.Handler(this, this.moveList));
                }
            } ]), t;
        }();
        n.default = o;
    }, {
        "./WxAppItem": 37
    } ],
    34: [ function(e, t, n) {
        "use strict";
        function a(e) {
            return e &amp;&amp; e.__esModule ? e : {
                default: e
            };
        }
        Object.defineProperty(n, "__esModule", {
            value: !0
        });
        var i = function() {
            function e(e, t) {
                for (var n = 0; n &lt; t.length; n++) {
                    var a = t[n];
                    a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a &amp;&amp; (a.writable = !0), 
                    Object.defineProperty(e, a.key, a);
                }
            }
            return function(t, n, a) {
                return n &amp;&amp; e(t.prototype, n), a &amp;&amp; e(t, a), t;
            };
        }(), o = (a(e("../../utils/UtilsCommon")), a(e("../../utils/UtilsData"))), r = function(e) {
            function t() {
                !function(e, t) {
                    if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
                }(this, t);
                var e = function(e, t) {
                    if (!e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
                    return !t || "object" != typeof t &amp;&amp; "function" != typeof t ? e : t;
                }(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this));
                return e.defaultChangeTime = 10, e.curIndex = 0, e.rot = e.defaultRot = 15, e.rotateTime = 800, 
                e.scaleTime = 400, e;
            }
            return function(e, t) {
                if ("function" != typeof t &amp;&amp; null !== t) throw new TypeError("Super expression must either be null or a function, not " + typeof t);
                e.prototype = Object.create(t &amp;&amp; t.prototype, {
                    constructor: {
                        value: e,
                        enumerable: !1,
                        writable: !0,
                        configurable: !0
                    }
                }), t &amp;&amp; (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);
            }(t, Laya.Script), i(t, [ {
                key: "onAwake",
                value: function() {
                    this.icon ? this.icon.on(Laya.Event.MOUSE_UP, this, this.clickIcon) : trace("æ²¡æœ‰æ‰¾åˆ°å·¦å³å¹¿å‘Šå›¾æ&nbsp;‡");
                }
            }, {
                key: "clickIcon",
                value: function() {
                    var e = this.curData;
                    null != e &amp;&amp; LayaSample.wxMgr.wxEnterOtherGame(e.app_id, e.category, e.position);
                }
            }, {
                key: "onEnable",
                value: function() {
                    null == this.changeTime &amp;&amp; (this.changeTime = 10), Laya.timer.loop(this.changeTime, this, this.startChangeIcon), 
                    Laya.Tween.clearAll(this.icon), this.rot = -this.defaultRot, this.icon &amp;&amp; (this.icon.rotation = 0, 
                    this.icon.scaleX = 1, this.icon.scaleY = 1, this.startRot()), this.changeIcon(!0);
                }
            }, {
                key: "startRot",
                value: function() {
                    this.rot = -this.rot, Laya.Tween.to(this.icon, {
                        rotation: this.rot
                    }, this.rotateTime, Laya.Ease.linearIn, Laya.Handler.create(this, this.startRot));
                }
            }, {
                key: "startChangeIcon",
                value: function() {
                    Laya.Tween.to(this.icon, {
                        scaleX: 0,
                        scaleY: 0
                    }, this.scaleTime, Laya.Ease.linearIn, Laya.Handler.create(this, this.changeIcon));
                }
            }, {
                key: "changeIcon",
                value: function(e) {
                    if (this.icon) {
                        if (null == this.datas) {
                            this.datas = [];
                            var t = LayaSample.commonData.wxappList;
                            if (t) {
                                var n = o.default.Left;
                                this.isLeft || (n = o.default.Right);
                                var a = t[n];
                                if (null != a) for (var i in a) {
                                    var r = a[i];
                                    for (var s in r) null == r[s] || Laya.Browser.onIOS &amp;&amp; r[s].is_box || this.datas.push(r[s]);
                                }
                            }
                        }
                        0 != this.datas.length ? (this.icon.visible = !0, this.curData = this.datas[this.curIndex], 
                        this.curIndex++, this.curIndex &gt;= this.datas.length &amp;&amp; (this.curIndex = 0), this.icon.loadImage(this.curData.app_img, 0, 0), 
                        e || Laya.Tween.to(this.icon, {
                            scaleX: 1,
                            scaleY: 1
                        }, this.scaleTime)) : this.icon.visible = !1;
                    }
                }
            } ]), t;
        }();
        n.default = r;
    }, {
        "../../utils/UtilsCommon": 64,
        "../../utils/UtilsData": 65
    } ],
    35: [ function(e, t, n) {
        "use strict";
        function a(e) {
            return e &amp;&amp; e.__esModule ? e : {
                default: e
            };
        }
        Object.defineProperty(n, "__esModule", {
            value: !0
        });
        var i = function() {
            function e(e, t) {
                for (var n = 0; n &lt; t.length; n++) {
                    var a = t[n];
                    a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a &amp;&amp; (a.writable = !0), 
                    Object.defineProperty(e, a.key, a);
                }
            }
            return function(t, n, a) {
                return n &amp;&amp; e(t.prototype, n), a &amp;&amp; e(t, a), t;
            };
        }(), o = a(e("../base/WindowManager")), r = (a(e("../over/OverUI")), a(e("../thinkYouLike/ThinkYouLikeUI")), 
        a(e("../cutdown/CutdownUI")), a(e("../../utils/UtilsData"))), s = a(e("./AdListCtrl")), l = a(e("../main/MainUI")), u = a(e("../../utils/EventDispatcher")), c = function(e) {
            function t() {
                !function(e, t) {
                    if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
                }(this, t);
                var e = function(e, t) {
                    if (!e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
                    return !t || "object" != typeof t &amp;&amp; "function" != typeof t ? e : t;
                }(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this));
                return t.inst = e, e.bannerHeight = 260, e.bannerIndex = -1, e.minScaling = .8, 
                o.default.inst().OnWindowTop = function(e) {
                    t.inst.isShowing &amp;&amp; (t.inst.isBannerWindow(e) ? t.inst._showBanner(e) : t.inst._showMarquee(), 
                    t.inst._resetTop());
                }, e;
            }
            return function(e, t) {
                if ("function" != typeof t &amp;&amp; null !== t) throw new TypeError("Super expression must either be null or a function, not " + typeof t);
                e.prototype = Object.create(t &amp;&amp; t.prototype, {
                    constructor: {
                        value: e,
                        enumerable: !1,
                        writable: !0,
                        configurable: !0
                    }
                }), t &amp;&amp; (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);
            }(t, Laya.Scene), i(t, [ {
                key: "isBannerWindow",
                value: function(e) {
                    return !0;
                }
            } ]), i(t, [ {
                key: "_hideList",
                value: function() {
                    this.listCtrl &amp;&amp; this.listCtrl.list &amp;&amp; this.listCtrl.list.parent &amp;&amp; this.listCtrl.list.removeSelf();
                }
            }, {
                key: "_showBanner",
                value: function(e) {
                    this.marqueeBg.visible = !1;
                    var n = r.default.getAppListData(r.default.Banner, !0);
                    if (null == n || 0 == n.length) this.iconBanner.visible = !1; else {
                        var a = this._getBannerScale(e);
                        this.iconBanner.visible = !0, this.iconBanner.scaleX = this.iconBanner.scaleY = a, 
                        this.bannerIndex++, this.bannerIndex &gt;= n.length &amp;&amp; (this.bannerIndex = 0);
                        var i = n[this.bannerIndex];
                        this.curBannerData = i, null != i &amp;&amp; this.iconBanner.loadImage(i.app_img, 0, 0);
                    }
                    t.inst._hideList();
                }
            }, {
                key: "_showMarquee",
                value: function() {
                    this.iconBanner.visible = !1;
                    var e = r.default.getAppListData(r.default.Main, !0);
                    if (null == e || 0 == e.length) this.marqueeBg.visible = !1; else if (this.marqueeBg.visible = !0, 
                    this.listCtrl &amp;&amp; this.listCtrl.list &amp;&amp; !this.listCtrl.list.parent &amp;&amp; this.marqueeBg.addChild(this.listCtrl.list), 
                    null == this.listCtrl || this.isInitMarquee) null != this.listCtrl &amp;&amp; this.listCtrl.startRun(); else {
                        this.isInitMarquee = !0;
                        for (var t = [], n = 0; n &lt; e.length; n++) {
                            var a = e[n];
                            t.push(a);
                        }
                        this.listCtrl.endIndex = t.length, this._copyEndDataToStart(t), this.listCtrl.data = t, 
                        this.listCtrl.freshList();
                    }
                }
            }, {
                key: "_getBannerScale",
                value: function(e) {
                    return this._bannerNeedScalingWin(e) ? this.minScaling : 1;
                }
            }, {
                key: "_bannerNeedScalingWin",
                value: function(e) {
                    return e == l.default.inst;
                }
            }, {
                key: "_copyEndDataToStart",
                value: function(e) {
                    if (e.length &gt; this.listCtrl.renderCount) for (var t = 0; t &lt; this.listCtrl.renderCount; t++) {
                        var n = e[e.length - t - 1];
                        e.unshift(n);
                    }
                }
            }, {
                key: "_resetTop",
                value: function() {
                    this.isShowing &amp;&amp; (this.removeSelf(), Laya.stage.addChild(this));
                }
            }, {
                key: "show",
                value: function() {
                    if (this.isShowing) {
                        e = o.default.inst().getTopWindow();
                        t.inst.isBannerWindow(e) &amp;&amp; (t.inst._showBanner(e), u.default.event("onSelfBannerShow"));
                    } else {
                        this.isShowing = !0;
                        var e = o.default.inst().getTopWindow();
                        t.inst.isBannerWindow(e) ? (t.inst._showBanner(e), u.default.event("onSelfBannerShow")) : t.inst._showMarquee(), 
                        Laya.stage.addChild(this);
                    }
                }
            }, {
                key: "hide",
                value: function() {
                    this.isShowing &amp;&amp; (this.isShowing = !1, this.removeSelf(), this.listCtrl &amp;&amp; (this.listCtrl.close(), 
                    this._hideList()));
                }
            }, {
                key: "onAwake",
                value: function() {
                    if (this.listCtrl = this.getComponent(s.default), this._fixUI(), this.isShowing) {
                        var e = o.default.inst().getTopWindow();
                        t.inst.isBannerWindow(e) ? this._showBanner(e) : this._showMarquee();
                    }
                    this.iconBanner.on(Laya.Event.CLICK, this, function() {
                        var e = t.inst.curBannerData;
                        null != e &amp;&amp; LayaSample.wxMgr.wxEnterOtherGame(e.app_id, e.category, e.position);
                    });
                }
            }, {
                key: "_fixUI",
                value: function() {
                    var e = this.bannerHeight;
                    if (Laya.Browser.onWeiXin) {
                        var t = LayaSample.commonData.wxysysInfo;
                        null != t &amp;&amp; t.model.startsWith("iPhone X") &amp;&amp; (e += 56 / Laya.Browser.height * LayaSample.ui.desigeHeight);
                    }
                    var n = Laya.stage.height - e;
                    this.y = n;
                }
            } ]), t;
        }();
        n.default = c;
    }, {
        "../../utils/EventDispatcher": 57,
        "../../utils/UtilsData": 65,
        "../base/WindowManager": 41,
        "../cutdown/CutdownUI": 44,
        "../main/MainUI": 46,
        "../over/OverUI": 48,
        "../thinkYouLike/ThinkYouLikeUI": 55,
        "./AdListCtrl": 30
    } ],
    36: [ function(e, t, n) {
        "use strict";
        Object.defineProperty(n, "__esModule", {
            value: !0
        });
        var a = function() {
            function e(e, t) {
                for (var n = 0; n &lt; t.length; n++) {
                    var a = t[n];
                    a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a &amp;&amp; (a.writable = !0), 
                    Object.defineProperty(e, a.key, a);
                }
            }
            return function(t, n, a) {
                return n &amp;&amp; e(t.prototype, n), a &amp;&amp; e(t, a), t;
            };
        }(), i = function(e) {
            return e &amp;&amp; e.__esModule ? e : {
                default: e
            };
        }(e("../../utils/UtilsCommon")), o = function() {
            function e() {
                !function(e, t) {
                    if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
                }(this, e);
            }
            return a(e, null, [ {
                key: "init",
                value: function() {
                    Laya.loader.load("game.json", Laya.Handler.create(this, function(t) {
                        e.isInit = !0, null == t ? (e.whiteList = null, trace("åŠ&nbsp;è½½game.jsonå¤±è´¥")) : e.whiteList = t.navigateToMiniProgramAppIdList, 
                        i.default.excuteFunc(e.OnInit);
                    }));
                }
            }, {
                key: "filter",
                value: function(t) {
                    if (!t) return [];
                    if (!e.whiteList) return t;
                    for (var n, a = [], i = 0; i &lt; t.length; i++) {
                        var o = t[i];
                        o &amp;&amp; (n = o.app_id.replace(" ", ""), -1 != e.whiteList.indexOf(n) &amp;&amp; a.push(o));
                    }
                    return a;
                }
            } ]), e;
        }();
        n.default = o;
    }, {
        "../../utils/UtilsCommon": 64
    } ],
    37: [ function(e, t, n) {
        "use strict";
        Object.defineProperty(n, "__esModule", {
            value: !0
        });
        var a = function() {
            function e(e, t) {
                for (var n = 0; n &lt; t.length; n++) {
                    var a = t[n];
                    a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a &amp;&amp; (a.writable = !0), 
                    Object.defineProperty(e, a.key, a);
                }
            }
            return function(t, n, a) {
                return n &amp;&amp; e(t.prototype, n), a &amp;&amp; e(t, a), t;
            };
        }(), i = (function(e) {
            e &amp;&amp; e.__esModule;
        }(e("../../../script/Utils")), function(e) {
            function t() {
                !function(e, t) {
                    if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
                }(this, t);
                var e = function(e, t) {
                    if (!e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
                    return !t || "object" != typeof t &amp;&amp; "function" != typeof t ? e : t;
                }(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this));
                return e.icon = null, e.initItem(), e;
            }
            return function(e, t) {
                if ("function" != typeof t &amp;&amp; null !== t) throw new TypeError("Super expression must either be null or a function, not " + typeof t);
                e.prototype = Object.create(t &amp;&amp; t.prototype, {
                    constructor: {
                        value: e,
                        enumerable: !1,
                        writable: !0,
                        configurable: !0
                    }
                }), t &amp;&amp; (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);
            }(t, Laya.Box), a(t, [ {
                key: "onDisable",
                value: function() {}
            }, {
                key: "initItem",
                value: function() {
                    if (t.appPrefab) {
                        var e = Laya.Pool.getItemByCreateFun("WxAppItem", t.appPrefab.create, t.appPrefab);
                        this.icon = e.getChildByName("icon"), this.icon.width = t.appWidth, this.icon.height = t.appHeight, 
                        e.size(t.appWidth, t.appHeight), this.addChild(e);
                    } else console.error("app prefab is null");
                }
            }, {
                key: "setItemInfo",
                value: function(e) {
                    null != e &amp;&amp; (this.icon.loadImage(e.app_img, 0, 0), this.appId = e.app_id);
                }
            } ]), t;
        }());
        n.default = i, i.appWidth = 120, i.appHeight = 160, i.appPrefab = null;
    }, {
        "../../../script/Utils": 68
    } ],
    38: [ function(e, t, n) {
        "use strict";
        Object.defineProperty(n, "__esModule", {
            value: !0
        });
        var a = function() {
            function e(e, t) {
                for (var n = 0; n &lt; t.length; n++) {
                    var a = t[n];
                    a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a &amp;&amp; (a.writable = !0), 
                    Object.defineProperty(e, a.key, a);
                }
            }
            return function(t, n, a) {
                return n &amp;&amp; e(t.prototype, n), a &amp;&amp; e(t, a), t;
            };
        }(), i = (function(e) {
            e &amp;&amp; e.__esModule;
        }(e("../../../script/Utils")), function(e) {
            function t() {
                !function(e, t) {
                    if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
                }(this, t);
                var e = function(e, t) {
                    if (!e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
                    return !t || "object" != typeof t &amp;&amp; "function" != typeof t ? e : t;
                }(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this));
                return e.icon = null, e.initItem(), e;
            }
            return function(e, t) {
                if ("function" != typeof t &amp;&amp; null !== t) throw new TypeError("Super expression must either be null or a function, not " + typeof t);
                e.prototype = Object.create(t &amp;&amp; t.prototype, {
                    constructor: {
                        value: e,
                        enumerable: !1,
                        writable: !0,
                        configurable: !0
                    }
                }), t &amp;&amp; (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);
            }(t, Laya.Box), a(t, [ {
                key: "onDisable",
                value: function() {}
            }, {
                key: "initItem",
                value: function() {
                    if (t.appPrefab) {
                        var e = Laya.Pool.getItemByCreateFun("WxAppItem", t.appPrefab.create, t.appPrefab);
                        this.icon = e.getChildByName("icon"), this.icon.width = t.appWidth, this.icon.height = t.appHeight, 
                        e.size(t.appWidth, t.appHeight), this.addChild(e);
                    } else console.error("app prefab is null");
                }
            }, {
                key: "setItemInfo",
                value: function(e) {
                    null != e &amp;&amp; (this.icon.loadImage(e.app_img, 0, 0), this.appId = e.app_id);
                }
            } ]), t;
        }());
        n.default = i, i.appWidth = 120, i.appHeight = 160, i.appPrefab = null;
    }, {
        "../../../script/Utils": 68
    } ],
    39: [ function(e, t, n) {
        "use strict";
        function a(e) {
            return e &amp;&amp; e.__esModule ? e : {
                default: e
            };
        }
        Object.defineProperty(n, "__esModule", {
            value: !0
        });
        var i = function() {
            function e(e, t) {
                for (var n = 0; n &lt; t.length; n++) {
                    var a = t[n];
                    a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a &amp;&amp; (a.writable = !0), 
                    Object.defineProperty(e, a.key, a);
                }
            }
            return function(t, n, a) {
                return n &amp;&amp; e(t.prototype, n), a &amp;&amp; e(t, a), t;
            };
        }(), o = a(e("./WindowManager")), r = a(e("../../../script/Utils")), s = function(e) {
            function t() {
                !function(e, t) {
                    if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
                }(this, t);
                var e = function(e, t) {
                    if (!e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
                    return !t || "object" != typeof t &amp;&amp; "function" != typeof t ? e : t;
                }(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this));
                return e.disposeWhenHide = !1, e.needMiddle = !0, e;
            }
            return function(e, t) {
                if ("function" != typeof t &amp;&amp; null !== t) throw new TypeError("Super expression must either be null or a function, not " + typeof t);
                e.prototype = Object.create(t &amp;&amp; t.prototype, {
                    constructor: {
                        value: e,
                        enumerable: !1,
                        writable: !0,
                        configurable: !0
                    }
                }), t &amp;&amp; (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);
            }(t, Laya.Scene), i(t, [ {
                key: "doShow",
                value: function() {}
            }, {
                key: "doHide",
                value: function() {}
            }, {
                key: "doFocusTop",
                value: function() {}
            }, {
                key: "addClickEvent",
                value: function(e, t) {
                    var n = arguments.length &gt; 2 &amp;&amp; void 0 !== arguments[2] ? arguments[2] : 14;
                    r.default.inst.addClickEvent(e, this, t, n);
                }
            }, {
                key: "isTop",
                value: function() {
                    return o.default.inst().isTop(this);
                }
            }, {
                key: "setDataAndShow",
                value: function(e) {}
            }, {
                key: "initShowBefor",
                value: function() {}
            }, {
                key: "show",
                value: function() {
                    this.height = Laya.stage.height, Laya.stage.addChild(this);
                    Laya.Browser.width, Laya.stage.width;
                    return this.needMiddle &amp;&amp; (this.y = (Laya.stage.height - Laya.stage.designHeight) / 2), 
                    o.default.inst().addWindow(this), this.doShow(), this.delayMove &amp;&amp; this.delayMove.excute(), 
                    null != this.onShow &amp;&amp; this.onShow(this), !0;
                }
            }, {
                key: "hide",
                value: function() {
                    this.disposeWhenHide ? this.dispose() : (this.removeSelf(), o.default.inst().removeWindow(this, !0), 
                    this.doHide(), this.delayMove &amp;&amp; this.delayMove.setIsDlaying(!1), null != this.onHide &amp;&amp; this.onHide(this));
                }
            }, {
                key: "dispose",
                value: function() {
                    o.default.inst().isShowing(this) &amp;&amp; (o.default.inst().removeWindow(this, !0), this.doHide(), 
                    null != this.onHide &amp;&amp; this.onHide(this)), this.autoDestroyAtClosed = !0, this.close();
                }
            } ]), t;
        }();
        n.default = s;
    }, {
        "../../../script/Utils": 68,
        "./WindowManager": 41
    } ],
    40: [ function(e, t, n) {
        "use strict";
        Object.defineProperty(n, "__esModule", {
            value: !0
        });
        var a = function() {
            function e(e, t) {
                for (var n = 0; n &lt; t.length; n++) {
                    var a = t[n];
                    a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a &amp;&amp; (a.writable = !0), 
                    Object.defineProperty(e, a.key, a);
                }
            }
            return function(t, n, a) {
                return n &amp;&amp; e(t.prototype, n), a &amp;&amp; e(t, a), t;
            };
        }(), i = function(e) {
            function t() {
                return function(e, t) {
                    if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
                }(this, t), function(e, t) {
                    if (!e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
                    return !t || "object" != typeof t &amp;&amp; "function" != typeof t ? e : t;
                }(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this));
            }
            return function(e, t) {
                if ("function" != typeof t &amp;&amp; null !== t) throw new TypeError("Super expression must either be null or a function, not " + typeof t);
                e.prototype = Object.create(t &amp;&amp; t.prototype, {
                    constructor: {
                        value: e,
                        enumerable: !1,
                        writable: !0,
                        configurable: !0
                    }
                }), t &amp;&amp; (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);
            }(t, Laya.Script), a(t, [ {
                key: "onEnable",
                value: function() {
                    this.topScene &amp;&amp; Laya.stage.addChild(this.topScene), this.isAutoRun &amp;&amp; this.resetPosition(this.isUIMiddle);
                }
            }, {
                key: "onDisable",
                value: function() {
                    this.topScene &amp;&amp; this.topScene.removeSelf();
                }
            }, {
                key: "onAwake",
                value: function() {
                    this.isNeedTopScene &amp;&amp; this.topNode &amp;&amp; (this.selfUI = this.topNode.parent, this.topScene = new Laya.Scene(), 
                    this.topScene.addChild(this.topNode), this.isUIMiddle = !1);
                }
            }, {
                key: "resetPosition",
                value: function(e) {
                    var t = 0;
                    if (Laya.Browser.onWeiXin &amp;&amp; LayaSample.commonData.wxysysInfo) {
                        var n = LayaSample.commonData.wxysysInfo;
                        Laya.Browser.width / Laya.Browser.height &lt; 9 / 17 &amp;&amp; n.statusBarHeight &gt; 30 &amp;&amp; (t = 70);
                    }
                    var a = 0;
                    Laya.stage.height / Laya.stage.designHeight &gt; 1 &amp;&amp; this.isUIMiddle &amp;&amp; (a = (Laya.stage.height - Laya.stage.designHeight) / 2), 
                    t -= a, this.topNode &amp;&amp; (this.topNode.y = t);
                }
            } ]), t;
        }();
        n.default = i;
    }, {} ],
    41: [ function(e, t, n) {
        "use strict";
        Object.defineProperty(n, "__esModule", {
            value: !0
        });
        var a = function() {
            function e(e, t) {
                for (var n = 0; n &lt; t.length; n++) {
                    var a = t[n];
                    a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a &amp;&amp; (a.writable = !0), 
                    Object.defineProperty(e, a.key, a);
                }
            }
            return function(t, n, a) {
                return n &amp;&amp; e(t.prototype, n), a &amp;&amp; e(t, a), t;
            };
        }(), i = (function(e) {
            e &amp;&amp; e.__esModule;
        }(e("./BaseWindow")), function() {
            function e() {
                !function(e, t) {
                    if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
                }(this, e), this.arr = [];
            }
            return a(e, [ {
                key: "onFocus",
                value: function() {
                    var e = this.getTopWindow();
                    null != e &amp;&amp; e.doFocusTop();
                }
            }, {
                key: "openWindow",
                value: function(e, t) {
                    null != e &amp;&amp; (null == e.inst ? Laya.Scene.load("ui/" + e.name.replace("UI", "") + ".scene", Laya.Handler.create(this, function(n) {
                        null != e.inst &amp;&amp; (null == t &amp;&amp; e.inst.show() || e.inst.setDataAndShow(t));
                    })) : null == t &amp;&amp; e.inst.show() || e.inst.setDataAndShow(t));
                }
            }, {
                key: "_getWinInstDo",
                value: function(e, t) {}
            }, {
                key: "isShowing",
                value: function(e) {
                    return null != e &amp;&amp; -1 != this.arr.indexOf(e);
                }
            }, {
                key: "isTop",
                value: function(e) {
                    return null != e &amp;&amp; 0 != this.arr.length &amp;&amp; e == this.arr[this.arr.length - 1];
                }
            }, {
                key: "isShowingType",
                value: function(e) {
                    if (null == e) return !1;
                    for (var t = 0; t &lt; this.arr.length; t++) {
                        if (this.arr[t].__proto__.constructor.name == e.name) return !0;
                    }
                    return !1;
                }
            }, {
                key: "isTopType",
                value: function(e) {
                    if (null == e || 0 == this.arr.length) return !1;
                    var t = this.arr[this.arr.length - 1];
                    return null != t &amp;&amp; t.__proto__.constructor.name == e.name;
                }
            }, {
                key: "addWindow",
                value: function(e) {
                    null != e &amp;&amp; (this.removeWindow(e, !1), this.arr.push(e), null != this.OnWindowTop &amp;&amp; this.OnWindowTop(e));
                }
            }, {
                key: "getTopWindow",
                value: function() {
                    return null == this.arr || 0 == this.arr.length ? null : this.arr[this.arr.length - 1];
                }
            }, {
                key: "removeWindow",
                value: function(e, t) {
                    if (null != e) {
                        var n = !1;
                        t &amp;&amp; e == this.getTopWindow() &amp;&amp; (n = !0);
                        var a = this.arr.indexOf(e);
                        -1 != a &amp;&amp; this.arr.splice(a, 1), n &amp;&amp; null != this.OnWindowTop &amp;&amp; this.OnWindowTop(this.getTopWindow());
                    }
                }
            }, {
                key: "getScreenHight",
                value: function() {
                    return Laya.stage.height;
                }
            }, {
                key: "getScreenWidth",
                value: function() {
                    return Laya.stage.width;
                }
            } ]), e;
        }());
        n.default = i, i.inst = function() {
            return null == i._inst &amp;&amp; (i._inst = new i()), i._inst;
        };
    }, {
        "./BaseWindow": 39
    } ],
    42: [ function(e, t, n) {
        "use strict";
        Object.defineProperty(n, "__esModule", {
            value: !0
        });
        var a = function() {
            function e(e, t) {
                for (var n = 0; n &lt; t.length; n++) {
                    var a = t[n];
                    a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a &amp;&amp; (a.writable = !0), 
                    Object.defineProperty(e, a.key, a);
                }
            }
            return function(t, n, a) {
                return n &amp;&amp; e(t.prototype, n), a &amp;&amp; e(t, a), t;
            };
        }(), i = function(e) {
            function t() {
                return function(e, t) {
                    if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
                }(this, t), function(e, t) {
                    if (!e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
                    return !t || "object" != typeof t &amp;&amp; "function" != typeof t ? e : t;
                }(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this));
            }
            return function(e, t) {
                if ("function" != typeof t &amp;&amp; null !== t) throw new TypeError("Super expression must either be null or a function, not " + typeof t);
                e.prototype = Object.create(t &amp;&amp; t.prototype, {
                    constructor: {
                        value: e,
                        enumerable: !1,
                        writable: !0,
                        configurable: !0
                    }
                }), t &amp;&amp; (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);
            }(t, Laya.Script), a(t, [ {
                key: "addTweenObj",
                value: function(e) {
                    null == this.tws &amp;&amp; (this.tws = []), -1 == this.tws.indexOf(e) &amp;&amp; this.tws.push(e);
                }
            }, {
                key: "play",
                value: function(e) {
                    if (Laya.timer.clearAll(this), this.data = e, null != this.tws &amp;&amp; 0 != this.tws.length) for (var t = this.tws.length, n = t - 1, a = 0; a &lt; t; a++) {
                        var i = this.tws[a];
                        null != i &amp;&amp; (this.clearTween(i), this.excuteStart(i), this.isSameTime || 0 == a ? this.excuteTween(i, a == n, a) : Laya.timer.once(a * this.twSpace, this, this.callNext, [ a - 1 ], !1));
                    } else this.doEnd();
                }
            }, {
                key: "excuteTween",
                value: function(e, t, n) {}
            }, {
                key: "excuteStart",
                value: function(e) {}
            }, {
                key: "callNext",
                value: function(e) {
                    e++;
                    var t = this.tws[e];
                    null != t &amp;&amp; this.excuteTween(t, e == this.tws.length - 1, e);
                }
            }, {
                key: "clearTween",
                value: function(e) {
                    Laya.Tween.clearAll(e);
                }
            }, {
                key: "doEnd",
                value: function() {
                    null != this.onTweensEnd &amp;&amp; this.onTweensEnd(this.data);
                }
            } ]), t;
        }();
        n.default = i;
    }, {} ],
    43: [ function(e, t, n) {
        "use strict";
        Object.defineProperty(n, "__esModule", {
            value: !0
        });
        var a = function() {
            function e(e, t) {
                for (var n = 0; n &lt; t.length; n++) {
                    var a = t[n];
                    a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a &amp;&amp; (a.writable = !0), 
                    Object.defineProperty(e, a.key, a);
                }
            }
            return function(t, n, a) {
                return n &amp;&amp; e(t.prototype, n), a &amp;&amp; e(t, a), t;
            };
        }(), i = function(e) {
            return e &amp;&amp; e.__esModule ? e : {
                default: e
            };
        }(e("./TweenGroupBase")), o = function(e) {
            function t() {
                return function(e, t) {
                    if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
                }(this, t), function(e, t) {
                    if (!e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
                    return !t || "object" != typeof t &amp;&amp; "function" != typeof t ? e : t;
                }(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this));
            }
            return function(e, t) {
                if ("function" != typeof t &amp;&amp; null !== t) throw new TypeError("Super expression must either be null or a function, not " + typeof t);
                e.prototype = Object.create(t &amp;&amp; t.prototype, {
                    constructor: {
                        value: e,
                        enumerable: !1,
                        writable: !0,
                        configurable: !0
                    }
                }), t &amp;&amp; (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);
            }(t, i.default), a(t, [ {
                key: "excuteTween",
                value: function(e, t, n) {
                    var a = null;
                    t &amp;&amp; (a = Laya.Handler.create(this, function() {
                        this.doEnd();
                    })), Laya.Tween.to(e, {
                        scaleX: this.endScale,
                        scaleY: this.endScale
                    }, this.twTime, Laya.Ease.backOut, a, this.delayOne);
                }
            }, {
                key: "excuteStart",
                value: function(e) {
                    e.scaleX = this.startScale, e.scaleY = this.startScale;
                }
            } ]), t;
        }();
        n.default = o;
    }, {
        "./TweenGroupBase": 42
    } ],
    44: [ function(e, t, n) {
        "use strict";
        function a(e) {
            return e &amp;&amp; e.__esModule ? e : {
                default: e
            };
        }
        Object.defineProperty(n, "__esModule", {
            value: !0
        });
        var i = function() {
            function e(e, t) {
                for (var n = 0; n &lt; t.length; n++) {
                    var a = t[n];
                    a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a &amp;&amp; (a.writable = !0), 
                    Object.defineProperty(e, a.key, a);
                }
            }
            return function(t, n, a) {
                return n &amp;&amp; e(t.prototype, n), a &amp;&amp; e(t, a), t;
            };
        }(), o = a(e("../base/BaseWindow")), r = a(e("../over/OverUI")), s = a(e("../../scene/BitmapFontManager")), l = a(e("../../utils/AdsManager")), u = a(e("../../game/GameManager")), c = a(e("../../utils/UtilsCommon")), h = (a(e("../../utils/StatisticsManager")), 
        a(e("../../utils/ShareHelper"))), f = a(e("../../utils/ResManager")), d = a(e("../adIcon/DelayMoveCtrl")), y = a(e("../../game/ProjectManager")), p = function(e) {
            function t() {
                !function(e, t) {
                    if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
                }(this, t);
                var e = function(e, t) {
                    if (!e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
                    return !t || "object" != typeof t &amp;&amp; "function" != typeof t ? e : t;
                }(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this));
                return t.inst = e, e.maxSec = 9, e.maxCd = 1e3 * e.maxSec, e.cdSpace = 100, e;
            }
            return function(e, t) {
                if ("function" != typeof t &amp;&amp; null !== t) throw new TypeError("Super expression must either be null or a function, not " + typeof t);
                e.prototype = Object.create(t &amp;&amp; t.prototype, {
                    constructor: {
                        value: e,
                        enumerable: !1,
                        writable: !0,
                        configurable: !0
                    }
                }), t &amp;&amp; (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);
            }(t, o.default), i(t, [ {
                key: "onAwake",
                value: function() {
                    this.addClickEvent(this.btnContinue, this.onContinueClick), this.addClickEvent(this.btnContinueShare, this.onContinueShareClick), 
                    this.addClickEvent(this.btnOver, this.onOverClick), this.delayMove = this.getComponent(d.default), 
                    this.openDataViwer &amp;&amp; (this.openDataViwer.visible = !y.default.inst().isNoRankModel());
                    platform.getInstance().initList(this.list_gameList);
                }
            }, {
                key: "onContinueClick",
                value: function() {
                    platform.getInstance().showReward(()=&gt;{//zs
                        this.isLookingVideo = !1, l.default.isLoadVideo &amp;&amp; (this.isLookingVideo = !0), l.default.lookAdsDo(this.toNext, l.default.reviveToken);//zs
                    },null)
                }
            }, {
                key: "onContinueShareClick",
                value: function() {
                    this.isLookingVideo = !0, h.default.inst().startShare(l.default.reviveToken, function() {
                        LayaSample.wxMgr.shareFriend(h.default.shareTokenToType(l.default.reviveToken), h.default.inst().useCustomCallback);
                    }, this.toNext);
                }
            }, {
                key: "onOverClick",
                value: function() {
                    var e = !0;
                    d.default.isDlaying &amp;&amp; Math.random() &gt; .6 &amp;&amp; (e = !1), e &amp;&amp; (this.hide(), r.default.inst.setDataAndShow({
                        score: this.score,
                        isWin: !1
                    }));
                }
            }, {
                key: "toNext",
                value: function() {
                    u.default.inst().reviveGame(), t.inst.hide();
                }
            }, {
                key: "setDataAndShow",
                value: function(e) {
                    this.score = e, this.show();
                }
            }, {
                key: "freshCd",
                value: function() {
                    var e = this.cd / this.maxCd;
                    this.sp_pre.graphics.clear(), this.sp_pre.graphics.drawPie(151, 151, 200, -90, 360 * e - 90, "#00ffff");
                    var t = Math.min(parseInt(.001 * this.cd + 1), this.maxSec);
                    t != this.prevSec &amp;&amp; (this.prevSec = t, t % 2 == 1 &amp;&amp; (c.default.playSe(f.default.se_cutDown1) || !0) || c.default.playSe(f.default.se_cutDown2)), 
                    this.labScore ? this.labScore.text = "" + t : s.default.inst.showFont("" + t, this.cutDownParent, "OverSocre", 1.2, "j");
                }
            }, {
                key: "doShow",
                value: function() {
                    this.isLookingVideo = !1, this.cd = this.maxCd, this.prevSec = 0, this.freshCd(), 
                     this.freshOver();//Laya.timer.loop(this.cdSpace, this, this.onCutDown),
                }
            }, {
                key: "freshOver",
                value: function() {
                    if (window.wx &amp;&amp; window.sharedCanvas) {
                        window.sharedCanvas.width = 750, window.sharedCanvas.height = 1334;
                    }
                    LayaSample.wxMgr.showOverFriendTips(!0);
                }
            }, {
                key: "doHide",
                value: function() {
                    Laya.timer.clear(this, this.onCutDown);
                }
            }, {
                key: "onCutDown",
                value: function() {
                    this.isLookingVideo || (this.cd -= this.cdSpace, this.freshCd(), 0 == this.cd &amp;&amp; (this.hide(), 
                    r.default.inst.setDataAndShow({
                        score: this.score,
                        isWin: !1
                    })));
                }
            } ]), t;
        }();
        n.default = p;
    }, {
        "../../game/GameManager": 3,
        "../../game/ProjectManager": 5,
        "../../scene/BitmapFontManager": 8,
        "../../utils/AdsManager": 56,
        "../../utils/ResManager": 58,
        "../../utils/ShareHelper": 59,
        "../../utils/StatisticsManager": 62,
        "../../utils/UtilsCommon": 64,
        "../adIcon/DelayMoveCtrl": 32,
        "../base/BaseWindow": 39,
        "../over/OverUI": 48
    } ],
    45: [ function(e, t, n) {
        "use strict";
        function a(e) {
            return e &amp;&amp; e.__esModule ? e : {
                default: e
            };
        }
        Object.defineProperty(n, "__esModule", {
            value: !0
        });
        var i = function() {
            function e(e, t) {
                for (var n = 0; n &lt; t.length; n++) {
                    var a = t[n];
                    a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a &amp;&amp; (a.writable = !0), 
                    Object.defineProperty(e, a.key, a);
                }
            }
            return function(t, n, a) {
                return n &amp;&amp; e(t.prototype, n), a &amp;&amp; e(t, a), t;
            };
        }(), o = (a(e("../../utils/SimpleGoPool")), a(e("../../utils/UtilsCommon")), function(e) {
            function t() {
                return function(e, t) {
                    if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
                }(this, t), function(e, t) {
                    if (!e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
                    return !t || "object" != typeof t &amp;&amp; "function" != typeof t ? e : t;
                }(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this));
            }
            return function(e, t) {
                if ("function" != typeof t &amp;&amp; null !== t) throw new TypeError("Super expression must either be null or a function, not " + typeof t);
                e.prototype = Object.create(t &amp;&amp; t.prototype, {
                    constructor: {
                        value: e,
                        enumerable: !1,
                        writable: !0,
                        configurable: !0
                    }
                }), t &amp;&amp; (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);
            }(t, Laya.Script), i(t, [ {
                key: "play",
                value: function(e) {
                    this.ttype = e - 1, this._showTxt();
                }
            }, {
                key: "_showTxt",
                value: function() {
                    Laya.Tween.clearAll(this), Laya.timer.clearAll(this);
                    var e = this.eff;
                    if (e.visible = !0, null != e) {
                        for (var t = e.numChildren, n = 0; n &lt; t; n++) {
                            var a = e.getChildAt(n);
                            a &amp;&amp; (a.visible = n == this.ttype);
                        }
                        e.scaleX = this.minscale, e.scaleY = this.minscale, Laya.Tween.to(e, {
                            scaleX: 1,
                            scaleY: 1
                        }, this.life, Laya.Ease.backOut, Laya.Handler.create(this, function() {
                            Laya.timer.once(this.staylife, this, function() {
                                e.visible = !1;
                            });
                        }), 0);
                    }
                }
            }, {
                key: "hide",
                value: function() {
                    this.eff.visible = !1;
                }
            } ]), t;
        }());
        n.default = o;
    }, {
        "../../utils/SimpleGoPool": 60,
        "../../utils/UtilsCommon": 64
    } ],
    46: [ function(e, t, n) {
        "use strict";
        function a(e) {
            return e &amp;&amp; e.__esModule ? e : {
                default: e
            };
        }
        Object.defineProperty(n, "__esModule", {
            value: !0
        });
        var i = function() {
            function e(e, t) {
                for (var n = 0; n &lt; t.length; n++) {
                    var a = t[n];
                    a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a &amp;&amp; (a.writable = !0), 
                    Object.defineProperty(e, a.key, a);
                }
            }
            return function(t, n, a) {
                return n &amp;&amp; e(t.prototype, n), a &amp;&amp; e(t, a), t;
            };
        }(), o = a(e("../../game/GameManager")), r = a(e("../base/BaseWindow")), s = a(e("../../utils/AdsManager")), l = a(e("../base/WindowManager")), u = a(e("../../scene/GameObjectManager")), c = a(e("../../utils/ShareHelper")), h = (a(e("../../utils/StatisticsManager")), 
        a(e("../cutdown/CutdownUI"))), f = a(e("../../utils/UtilsCommon")), d = a(e("../rank/RankUI")), y = a(e("../../scene/BitmapFontManager")), p = a(e("../star/StarUI")), m = a(e("../adIcon/AdIconItem")), v = a(e("../../scene/block/BlockQueueCtrl")), g = a(e("../../scene/bullet/BulletManager")), b = a(e("../adIcon/TopBanner")), w = a(e("../thinkYouLike/ThinkYouLikeUI")), k = a(e("../adIcon/DelayMoveCtrl")), _ = a(e("../../utils/UtilsData")), S = a(e("./PerfectScoreEffect")), L = a(e("./ComboTipEffect")), T = a(e("../../utils/EventDispatcher")), C = a(e("../../game/ProjectManager")), M = a(e("../skin/SkinUI")), O = a(e("../../scene/Actor")), P = function(e) {
            function t() {
                !function(e, t) {
                    if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
                }(this, t);
                var e = function(e, t) {
                    if (!e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
                    return !t || "object" != typeof t &amp;&amp; "function" != typeof t ? e : t;
                }(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this));
                return e.comboStr = "c", e.adHeight = e.getAdHeight(), e.needMiddle = !1, t.inst = e, 
                e.curAdTime = 0, e.replaceAdTime = 5e3, LayaSample.commonData &amp;&amp; (e.replaceAdTime = LayaSample.commonData.bannerChangeTime), 
                e.shakeIconTime = 15e3, e.adTime = 0, s.default.OnLoadBanner = function(t) {
                    k.default.isDlaying || (e.curAdTime = 0, b.default.inst.hide());
                }, s.default.OnLoadBannerError = function(e) {
                    t.inst.canChangeBanner() &amp;&amp; l.default.inst().isShowing(w.default.inst), s.default.hideBaner();
                }, s.default.OnLookVideoComplected = function(e, t) {
                    switch (e) {
                      case s.default.reviveToken:
                        t || (h.default.inst.isLookingVideo = !1);
                    }
                    t || e == s.default.bossLvlEndToken || f.default.showTip("äº²ï¼Œå®Œæ•´çœ‹å®Œè§†é¢‘ï¼Œå³å¯èŽ·å¾—å¥–åŠ±");
                }, o.default.inst().OnInvincibleStart = function() {
                    e.freshInvCd(), t.inst.stopBreathLight(1), e.btnInvincible.rotation = 0;
                }, o.default.inst().OnInvincibleEnd = function() {
                    e.invTimePar.visible = !1, t.inst.breathLight(), e.btnInvincible.rotation = 0;
                }, o.default.inst().onStart = function(e) {
                    t.inst.resetDownCountPos(), t.inst.setProgress(o.default.inst().scoreMaker.score, o.default.inst().hit);
                }, o.default.inst().onReadyLaunch = function() {
                    t.inst.needResetPerfectPos = !0;
                }, o.default.inst().onRevive = function() {
                    s.default.hideBaner();
                    if(b&amp;&amp;b.default.inst){
                        b.default.inst.hide();
                    }
                }, o.default.inst().onScoreChange = function(e, n, a) {
                    t.inst.setProgress(e, n), t.inst.playComboTip(n), a &amp;&amp; t.inst.playPerfectEff();
                }, e.per = 0, Laya.Browser.onPC &amp;&amp; Laya.stage.on(Laya.Event.RESIZE, e, e.onRisize), 
                e.tempV3 = new Laya.Vector3(), e;
            }
            return function(e, t) {
                if ("function" != typeof t &amp;&amp; null !== t) throw new TypeError("Super expression must either be null or a function, not " + typeof t);
                e.prototype = Object.create(t &amp;&amp; t.prototype, {
                    constructor: {
                        value: e,
                        enumerable: !1,
                        writable: !0,
                        configurable: !0
                    }
                }), t &amp;&amp; (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);
            }(t, r.default), i(t, [ {
                key: "getAdHeight",
                value: function() {
                    var e = 260 * Laya.stage.height / Laya.stage.designHeight;
                    if (Laya.Browser.onWeiXin) {
                        var t = LayaSample.commonData.wxysysInfo;
                        null != t &amp;&amp; t.model.startsWith("iPhone X") &amp;&amp; (e += 46 / Laya.Browser.height * LayaSample.ui.desigeHeight);
                    }
                    return Laya.stage.height - e;
                }
            }, {
                key: "_resetBtnPos",
                value: function() {
                    this.bottomNode2.y = Laya.stage.height, this.gameList.y = Laya.stage.height - 200, 
                    this.bottomNode.y = this.adHeight;
                }
            }, {
                key: "doShow",
                value: function() {
                    this.refresh(), this.showHome(), this.addApp.visible = 1089 != _.default.getEnterScene();
                }
            }, {
                key: "showHome",
                value: function() {
                    this.highscore.value=LayaSample.storageMgr.getHighscore();//zs
                    this.gameHide.visible = !0, this.gameShow.visible = !1, s.default.getBanner(), this.curAdTime = 0;
                }
            }, {
                key: "showGame",
                value: function() {
                    C.default.inst().isNoShowSkinToday || O.default.hasSkinSrc &amp;&amp; M.default.inst.setDataAndShow(), 
                    this.gameHide.visible = !1, this.gameShow.visible = !0, this.tipFire.visible = !0, 
                    this.invinciblePar.visible = !1, this.btnInvincible.rotation = 0, this.breathLight(), 
                    this.rankPanel.visible = !1, this.overTxt.visible = !1, s.default.isHasBanner ? s.default.hideBaner() : b.default.inst &amp;&amp; b.default.inst.hide();
                }
            }, {
                key: "canChangeBanner",
                value: function() {
                    return !(!this.isTop() || !this.gameHide.visible);
                }
            }, {
                key: "onEnable",
                value: function() {
                    this.onRisize();
                }
            }, {
                key: "onRisize",
                value: function() {
                    var e = 0;
                    if (Laya.Browser.onWeiXin &amp;&amp; LayaSample.commonData.wxysysInfo) {
                        var t = LayaSample.commonData.wxysysInfo;
                        Laya.Browser.width / Laya.Browser.height &lt; 9 / 17 &amp;&amp; t.statusBarHeight &gt; 30 &amp;&amp; (e = 70);
                    }
                    this.topNode &amp;&amp; (this.topNode.y = e), this._resetBtnPos();
                }
            }, {
                key: "onAwake",
                value: function() {
                    var e = this;
                    LayaSample.storageMgr.setShake(!1);
                    Laya.timer.loop(5e3, this, function() {
                        t.inst.canChangeBanner() &amp;&amp; (e.curAdTime += 5e3, e.curAdTime &gt; e.replaceAdTime &amp;&amp; (e.curAdTime = 0, 
                        s.default.hideBaner(), s.default.getBanner()));
                    }), this.perfectAni = this.getComponent(S.default), this.comboTipEff = this.getComponent(L.default), 
                    this.comboTipEff &amp;&amp; this.comboTipEff.hide(), Laya.timer.frameLoop(2, this, this.onUpdate), 
                    this.addClickEvent(this.btnShare, this.onShareClick), this.addClickEvent(this.btnRank, this.onRankClick), 
                    this.btnFire.on(Laya.Event.MOUSE_DOWN, this, this.onMouseDown), this.btnFire.on(Laya.Event.MOUSE_UP, this, this.onMouseUp), 
                    this.btnFire.on(Laya.Event.MOUSE_OUT, this, this.onMouseUp), this.addClickEvent(this.btnService, function() {
                        Laya.Browser.onWeiXin &amp;&amp; wx.openCustomerServiceConversation({});
                    }), this.addClickEvent(this.btnStar, function() {
                        p.default.inst.show();
                    }), this.addClickEvent(this.btnStartGame, function() {
                        platform.getInstance().showInterstitial(()=&gt;{
                            o.default.inst().enterGame(), e.showGame();
                        });
                    }), this.btnInvincible.on(Laya.Event.MOUSE_DOWN, this, function() {
                        platform.getInstance().showReward(()=&gt;{//zs
                            o.default.inst().isGaming() &amp;&amp; s.default.lookAdsDo(function() {
                                o.default.inst().Invincible();
                            }, s.default.invincibleToken);
                        },null)
                    }), this.addClickEvent(this.btnShake1, function() {
                        LayaSample.storageMgr.setShake(!1), this.freshShakeBtn();
                    }), this.addClickEvent(this.btnShake2, function() {
                        LayaSample.storageMgr.setShake(!0), this.freshShakeBtn();
                    }), this.addClickEvent(this.btnSound1, function() {
                        LayaSample.storageMgr.setPlaySound(!1), this.freshSoundBtn();
                    }), this.addClickEvent(this.btnSound2, function() {
                        LayaSample.storageMgr.setPlaySound(!0), this.freshSoundBtn();
                    }), Laya.loader.load(m.default.prefabPath, Laya.Handler.create(this, this.initAdsIcon), null, Laya.Loader.PREFAB), 
                    Laya.timer.loop(this.shakeIconTime, this, this.shakeBtnInv);
                    var n = new Laya.Texture();
                    if (!Laya.Texture2D) throw new Error("WXOpenDataViewer:webgl not found!");
                    n.bitmap = new Laya.Texture2D(), this.rankTexture = n, this.rankPanel.texture = this.rankTexture, 
                    T.default.on("onNextLvl", this, this.onNextLvl), y.default.inst.init(), C.default.inst().isNoRankModel() &amp;&amp; (this.btnRank.visible = !1, 
                    this.btnService.x -= 64, this.btnStar.x -= 64, this.btnShare.x -= 64);
                }
            }, {
                key: "onNextLvl",
                value: function() {
                    Global.gameScore = o.default.inst().scoreMaker.score, this.tweeFriendRank();
                }
            }, {
                key: "initAdsIcon",
                value: function() {}
            }, {
                key: "refresh",
                value: function() {
                    var e = o.default.inst();
                    this.setProgress(e.scoreMaker.score, e.hit), this.freshSoundBtn(), this.freshShakeBtn();
                }
            }, {
                key: "onMouseDown",
                value: function() {
                    this.tipFire.visible &amp;&amp; (this.tipFire.visible = !1), 0 == this.invinciblePar.visible &amp;&amp; (this.invinciblePar.visible = !0), 
                    o.default.inst().onMouseDown();
                }
            }, {
                key: "onMouseUp",
                value: function() {
                    o.default.inst().onMouseUp();
                }
            }, {
                key: "onShareClick",
                value: function() {
                    this.isTop() &amp;&amp; c.default.inst().startShare(c.default.shareToken, function() {
                        LayaSample.wxMgr.shareFriend(c.default.shareTokenToType(c.default.shareToken), c.default.inst().useCustomCallback);
                    });
                }
            }, {
                key: "onRankClick",
                value: function() {
                    this.isTop() &amp;&amp; l.default.inst().openWindow(d.default);
                }
            }, {
                key: "setProgress",
                value: function(e, t) {
                    null == e &amp;&amp; (e = 0), y.default.inst.showFont("" + e, this.scorePar, "MainSocre"), 
                    0 != t ? (this.comboPar.visible = !0, y.default.inst.showFont("" + t + this.comboStr, this.comboPar, "MainCombo", 1, y.default.inst.sType)) : this.comboPar.visible = !1;
                    var n = v.default.inst.getCurrentCount();
                    0 != n ? (this.downCountPar.visible = !0, y.default.inst.showFont("" + n, this.downCountPar, "MainDownCount", .8, y.default.inst.rType)) : this.downCountPar.visible = !1;
                }
            }, {
                key: "playComboTip",
                value: function(e) {}
            }, {
                key: "freshInvCd",
                value: function() {
                    var e = Math.ceil(g.default.inst.invincibleTime / 1e3);
                    if (0 != e) {
                        var t = o.default.inst().actor;
                        t &amp;&amp; (t = t.timePos.transform.position, t = u.default.inst.worldPosToUIPos(t), this.invTimePar.x = t.x, 
                        this.invTimePar.y = t.y), this.invTimePar.visible = !0, y.default.inst.showFont("" + e, this.invTimePar, "MainInvCD", 1, y.default.inst.jType);
                    } else this.invTimePar.visible = !1;
                }
            }, {
                key: "onUpdate",
                value: function() {
                    
                    this.resetDownCountPos(), this.freshInvCd();
                }
            }, {
                key: "playPerfectEff",
                value: function() {
                    this.needResetPerfectPos &amp;&amp; (this.resetPerfectPos(), this.needResetPerfectPos = !1), 
                    this.perfectAni.play();
                }
            }, {
                key: "resetPerfectPos",
                value: function() {
                    var e = u.default.inst.getCurrentRoad(), t = null;
                    e &amp;&amp; (t = e.perfectPos.transform.position), null != t &amp;&amp; (t = u.default.inst.worldPosToUIPos(t), 
                    this.perfectPar.x = t.x, this.perfectPar.y = t.y);
                }
            }, {
                key: "resetDownCountPos",
                value: function() {
                    if (this.downCountPar.visible) {
                        var e = u.default.inst.getCurrentRoad(), t = null;
                        e &amp;&amp; (t = e.countPos.transform.position), null != t &amp;&amp; (t = u.default.inst.worldPosToUIPos(t), 
                        this.downCountPar.x = t.x, this.downCountPar.y = t.y);
                    }
                }
            }, {
                key: "freshSoundBtn",
                value: function() {
                    var e = LayaSample.storageMgr.isPlaySound();
                    this.btnSound1.visible = e, this.btnSound2.visible = !e;
                }
            }, {
                key: "freshShakeBtn",
                value: function() {
                    var e = LayaSample.storageMgr.isShake();
                    this.btnShake1.visible = this.btnShake2.visible = false;
                }
            }, {
                key: "shakeBtnInv",
                value: function() {
                    this.invinciblePar &amp;&amp; !o.default.inst().isInvincibling() &amp;&amp; (this.stopBreathLight(), 
                    f.default.shakeIconStrong(this.invinciblePar, function() {
                        o.default.inst().isInvincibling() || t.inst.breathLight();
                    }));
                }
            }, {
                key: "breathLight",
                value: function() {
                    f.default.breathLight(this.btnInvincible, -1);
                }
            }, {
                key: "stopBreathLight",
                value: function(e) {
                    f.default.stopBreathLight(this.btnInvincible);
                }
            }, {
                key: "tweeFriendRank",
                value: function() {
                    this.rankPanel &amp;&amp; !C.default.inst().isNoRankModel() &amp;&amp; (window.sharedCanvas &amp;&amp; (window.sharedCanvas.width = this.rankPanel.width, 
                    window.sharedCanvas.height = this.rankPanel.height), LayaSample.wxMgr.showLoopFriendTips(!0), 
                    Laya.timer.once(2e3, this, this.showGameRank), Laya.timer.once(4e3, this, this.closeGameRank));
                }
            }, {
                key: "showGameRank",
                value: function() {
                    this.rankPanel.visible = !0, this.overTxt.visible = !0, window.sharedCanvas &amp;&amp; this.rankTexture.bitmap.loadImageSource(window.sharedCanvas);
                }
            }, {
                key: "closeGameRank",
                value: function() {
                    this.rankPanel.visible = !1, this.overTxt.visible = !1;
                }
            } ]), t;
        }();
        n.default = P;
    }, {
        "../../game/GameManager": 3,
        "../../game/ProjectManager": 5,
        "../../scene/Actor": 7,
        "../../scene/BitmapFontManager": 8,
        "../../scene/GameObjectManager": 11,
        "../../scene/block/BlockQueueCtrl": 13,
        "../../scene/bullet/BulletManager": 21,
        "../../utils/AdsManager": 56,
        "../../utils/EventDispatcher": 57,
        "../../utils/ShareHelper": 59,
        "../../utils/StatisticsManager": 62,
        "../../utils/UtilsCommon": 64,
        "../../utils/UtilsData": 65,
        "../adIcon/AdIconItem": 28,
        "../adIcon/DelayMoveCtrl": 32,
        "../adIcon/TopBanner": 35,
        "../base/BaseWindow": 39,
        "../base/WindowManager": 41,
        "../cutdown/CutdownUI": 44,
        "../rank/RankUI": 50,
        "../skin/SkinUI": 52,
        "../star/StarUI": 53,
        "../thinkYouLike/ThinkYouLikeUI": 55,
        "./ComboTipEffect": 45,
        "./PerfectScoreEffect": 47
    } ],
    47: [ function(e, t, n) {
        "use strict";
        function a(e) {
            return e &amp;&amp; e.__esModule ? e : {
                default: e
            };
        }
        Object.defineProperty(n, "__esModule", {
            value: !0
        });
        var i = function() {
            function e(e, t) {
                for (var n = 0; n &lt; t.length; n++) {
                    var a = t[n];
                    a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a &amp;&amp; (a.writable = !0), 
                    Object.defineProperty(e, a.key, a);
                }
            }
            return function(t, n, a) {
                return n &amp;&amp; e(t.prototype, n), a &amp;&amp; e(t, a), t;
            };
        }(), o = a(e("../../utils/SimpleGoPool")), r = a(e("../../utils/UtilsCommon")), s = function(e) {
            function t() {
                !function(e, t) {
                    if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
                }(this, t);
                var e = function(e, t) {
                    if (!e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
                    return !t || "object" != typeof t &amp;&amp; "function" != typeof t ? e : t;
                }(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this));
                return e.unitToken = "perfectEffUnit", e;
            }
            return function(e, t) {
                if ("function" != typeof t &amp;&amp; null !== t) throw new TypeError("Super expression must either be null or a function, not " + typeof t);
                e.prototype = Object.create(t &amp;&amp; t.prototype, {
                    constructor: {
                        value: e,
                        enumerable: !1,
                        writable: !0,
                        configurable: !0
                    }
                }), t &amp;&amp; (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);
            }(t, Laya.Script), i(t, [ {
                key: "onEnable",
                value: function() {}
            }, {
                key: "play",
                value: function() {
                    this._showTxt();
                }
            }, {
                key: "_showTxt",
                value: function() {
                    var e = o.default.inst().getFromPoolPrefab(this.eff, this.unitToken, this.effs);
                    null != e &amp;&amp; (e.y = 0, e.scaleX = 1, e.scaleY = 1, e.x = 0, Laya.Tween.to(e, {
                        y: -this.distance
                    }, this.life), Laya.Tween.to(e, {
                        scaleX: .8,
                        scaleY: .8
                    }, this.life, Laya.Ease.linearIn, Laya.Handler.create(this, function() {
                        o.default.inst().returnPool(e, this.unitToken);
                    }), 0));
                }
            }, {
                key: "hide",
                value: function() {
                    var e = arguments.length &gt; 0 &amp;&amp; void 0 !== arguments[0] &amp;&amp; arguments[0];
                    Laya.timer.clearAll(this), e ? r.default.excuteFunc(this.onPlayComplected) : o.default.inst().returnAllToPool(this.unitToken);
                }
            } ]), t;
        }();
        n.default = s;
    }, {
        "../../utils/SimpleGoPool": 60,
        "../../utils/UtilsCommon": 64
    } ],
    48: [ function(e, t, n) {
        "use strict";
        function a(e) {
            return e &amp;&amp; e.__esModule ? e : {
                default: e
            };
        }
        Object.defineProperty(n, "__esModule", {
            value: !0
        });
        var i = function() {
            function e(e, t) {
                for (var n = 0; n &lt; t.length; n++) {
                    var a = t[n];
                    a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a &amp;&amp; (a.writable = !0), 
                    Object.defineProperty(e, a.key, a);
                }
            }
            return function(t, n, a) {
                return n &amp;&amp; e(t.prototype, n), a &amp;&amp; e(t, a), t;
            };
        }(), o = a(e("../../game/GameManager")), r = a(e("../base/BaseWindow")), s = a(e("../../utils/AdsManager")), l = a(e("../base/tween/TweenGroupScale")),
         u = a(e("../../utils/UtilsCommon")), c = a(e("../../utils/StatisticsManager")), h = a(e("../../utils/ShareHelper")),
         f = a(e("../main/MainUI")), 
         d = a(e("../rank/RankUI")), y = a(e("../../utils/ResManager")), p = a(e("../../utils/UtilsData")),
         m = a(e("../thinkYouLike/ThinkYouLikeUI")), v = a(e("../adIcon/AdFixedCountListCtrl")), g = a(e("../adIcon/DelayMoveCtrl")), b = function(e) {
            function t() {
                !function(e, t) {
                    if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
                }(this, t);
                var e = function(e, t) {
                    if (!e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
                    return !t || "object" != typeof t &amp;&amp; "function" != typeof t ? e : t;
                }(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this));
                return t.inst = e, e;
            }
            return function(e, t) {
                if ("function" != typeof t &amp;&amp; null !== t) throw new TypeError("Super expression must either be null or a function, not " + typeof t);
                e.prototype = Object.create(t &amp;&amp; t.prototype, {
                    constructor: {
                        value: e,
                        enumerable: !1,
                        writable: !0,
                        configurable: !0
                    }
                }), t &amp;&amp; (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);
            }(t, r.default), i(t, [ {
                key: "waitToShowOpenDataView",
                value: function() {}
            }, {
                key: "onAwake",
                value: function() {
                    this.listCtrl = this.getComponent(v.default), this.addClickEvent(this.btnHome, this.onHomeClick), 
                    this.addClickEvent(this.btnShare, this.onShareClick), this.addClickEvent(this.btnRestart, this.onReplayClick), 
                    this.addClickEvent(this.btnNext, this.onNextClick), this.addClickEvent(this.btnNextDouble, this.onNextClickDouble);
                    var e = this.getComponent(l.default);
                    this.tweenGroup = e, null != e &amp;&amp; (e.onTweensEnd = function(e) {
                        t.inst.isTween = !1;
                    }, e.addTweenObj(this.title), e.addTweenObj(this.twLvl), e.addTweenObj(this.pParent), 
                    e.addTweenObj(this.btnReplay), e.addTweenObj(this.btnNext)), this.rankBg &amp;&amp; (this.rankBg.alpha = 0), 
                    this.delayMove = this.getComponent(g.default);
                    platform.getInstance().initList(this.list_gameList);//zs
                    
                }
            }, {
                key: "onHomeClick",
                value: function() {
                    // platform.getInstance().navigate("FireBalls_OVERUI","HOME",e.dataSource.id);
                    // s.default.hideBaner(), s.default.getBanner(), this.doFocusTop(), this.hide();
                    // zs.default.event("onNextLvl"), this.hide();
                    // this.onReplayClick()
                    o.default.inst().restartGame(!0), this.hide(),f.default.inst.showHome();//zs
                }
            }, {
                key: "onShareClick",
                value: function() {
                    this.isTween || h.default.inst().startShare(h.default.shareToken, function() {
                        LayaSample.wxMgr.shareFriend(h.default.shareTokenToType(h.default.shareToken), h.default.inst().useCustomCallback);
                    });
                }
            }, {
                key: "onRankClick",
                value: function() {
                    this.isTween || d.default.inst.show();
                }
            }, {
                key: "onReplayClick",
                value: function() {
                    platform.getInstance().showInterstitial(()=&gt;{
                        this.isTween || (o.default.inst().restartGame(!0), o.default.inst().enterGame(), 
                        f.default.inst.showGame(), this.hide());
                    })
                    
                }
            }, {
                key: "onNextClick",
                value: function() {
                    this.isTween || this.toNext(1);
                }
            }, {
                key: "onNextClickDouble",
                value: function() {
                    s.default.lookAdsDo(function() {
                        t.inst.toNext(2);
                    }, s.default.skipToken);
                }
            }, {
                key: "toNext",
                value: function() {
                    var e = arguments.length &gt; 0 &amp;&amp; void 0 !== arguments[0] ? arguments[0] : 1;
                    o.default.inst().toNextLvl(e), t.inst.hide();
                }
            }, {
                key: "setDataAndShow",
                value: function(e) {
                    var t = e.score;
                    if(parseInt(t)&gt;parseInt(LayaSample.storageMgr.getHighscore())){
                        LayaSample.storageMgr.setHighscore(t);
                    }
                    this.highscore.value=LayaSample.storageMgr.getHighscore(),//zs
                    this.newScore.value = "" + t, this.show(), e.isWin ? (u.default.playSe(y.default.se_win),
                    this.showWin()) : (u.default.playSe(y.default.se_lose), this.showLose(), c.default.sendStatistics(null));
                }
            }, {
                key: "doShow",
                value: function() {
                    this.isshow = !0, this.listCtrl &amp;&amp; this.listCtrl.freshList();
                }
            }, {
                key: "showWin",
                value: function() {
                    this.win.visible = !0, this.lose.visible = !1;
                }
            }, {
                key: "showLose",
                value: function() {
                    this.win.visible = !1, this.lose.visible = !0;
                }
            }, {
                key: "doHide",
                value: function() {
                    this.isshow = !1, this.listCtrl &amp;&amp; this.listCtrl.close();
                }
            }, {
                key: "doFocusTop",
                value: function() {
                    if (this.isshow) {
                        var e = p.default.getAppListData(p.default.ThinkYouLike, !0);
                        null != e &amp;&amp; 0 != e.length &amp;&amp; (m.default.inst.setDataAndShow({
                            isWin: !1,
                            listData: e
                        }), t.inst.hide());
                    }
                }
            } ]), t;
        }();
        n.default = b;
    }, {
        "../../game/GameManager": 3,
        "../../utils/AdsManager": 56,
        "../../utils/ResManager": 58,
        "../../utils/ShareHelper": 59,
        "../../utils/StatisticsManager": 62,
        "../../utils/UtilsCommon": 64,
        "../../utils/UtilsData": 65,
        "../adIcon/AdFixedCountListCtrl": 27,
        "../adIcon/DelayMoveCtrl": 32,
        "../base/BaseWindow": 39,
        "../base/tween/TweenGroupScale": 43,
        "../main/MainUI": 46,
        "../rank/RankUI": 50,
        "../thinkYouLike/ThinkYouLikeUI": 55
    } ],
    49: [ function(e, t, n) {
        "use strict";
        Object.defineProperty(n, "__esModule", {
            value: !0
        });
        var a = function() {
            function e(e, t) {
                for (var n = 0; n &lt; t.length; n++) {
                    var a = t[n];
                    a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a &amp;&amp; (a.writable = !0), 
                    Object.defineProperty(e, a.key, a);
                }
            }
            return function(t, n, a) {
                return n &amp;&amp; e(t.prototype, n), a &amp;&amp; e(t, a), t;
            };
        }(), i = function(e) {
            return e &amp;&amp; e.__esModule ? e : {
                default: e
            };
        }(e("./RankUI")), o = function(e) {
            function t() {
                !function(e, t) {
                    if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
                }(this, t);
                var e = function(e, t) {
                    if (!e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
                    return !t || "object" != typeof t &amp;&amp; "function" != typeof t ? e : t;
                }(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this));
                return e.width = 592, e.height = 82, e.lblName = null, e.lblScore = null, e.lblRank = null, 
                e.avatar = null, e.size(e.width, e.height), e.initUI(), e;
            }
            return function(e, t) {
                if ("function" != typeof t &amp;&amp; null !== t) throw new TypeError("Super expression must either be null or a function, not " + typeof t);
                e.prototype = Object.create(t &amp;&amp; t.prototype, {
                    constructor: {
                        value: e,
                        enumerable: !1,
                        writable: !0,
                        configurable: !0
                    }
                }), t &amp;&amp; (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);
            }(t, Laya.Box), a(t, [ {
                key: "initUI",
                value: function() {
                    var e = Laya.loader.getRes("prefabs/rankItem.json");
                    if (e) {
                        var t = Laya.Pool.getItemByCreateFun("rankItem", e.create, e);
                        this.imgBg = t.getChildByName("bg"), this.lblName = t.getChildByName("lblName"), 
                        this.lblScore = t.getChildByName("lblScore"), this.lblRank = t.getChildByName("lblRank"), 
                        this.lblRank2 = t.getChildByName("lblRank2"), this.imgAvatar = t.getChildByName("avatar"), 
                        this.champSp = t.getChildByName("champ"), this.selfImg = t.getChildByName("selfImg"), 
                        this.addChild(t);
                    }
                }
            }, {
                key: "setRankItem",
                value: function(e) {
                    var t = arguments.length &gt; 1 &amp;&amp; void 0 !== arguments[1] &amp;&amp; arguments[1], n = e.user_nickname.length &gt; 6 ? e.user_nickname.substr(0, 8) : e.user_nickname;
                    this.lblName.text = "" != n ? n : "ç¥žç§˜çŽ©å®¶", this.lblRank.text = e.rank, e.max_score ? this.lblScore.text = e.max_score : this.lblScore.text = 0;
                    var a = "" != e.avatar ? e.avatar : "rank/icon_avater.png";
                    this.imgBg.visible = !t, 1 == e.rank ? (this.champSp.visible = !0, this.lblRank.visible = !1, 
                    this.lblRank2.visible = !1) : (this.champSp.visible = !1, this.lblRank.visible = 0 != e.rank, 
                    this.lblRank2.visible = 0 == e.rank), this.selfImg &amp;&amp; (this.selfImg.visible = i.default.selfId == e.userId), 
                    this.imgAvatar.loadImage(a, 0, 0);
                }
            } ]), t;
        }();
        n.default = o;
    }, {
        "./RankUI": 50
    } ],
    50: [ function(e, t, n) {
        "use strict";
        function a(e) {
            return e &amp;&amp; e.__esModule ? e : {
                default: e
            };
        }
        Object.defineProperty(n, "__esModule", {
            value: !0
        });
        var i = function() {
            function e(e, t) {
                for (var n = 0; n &lt; t.length; n++) {
                    var a = t[n];
                    a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a &amp;&amp; (a.writable = !0), 
                    Object.defineProperty(e, a.key, a);
                }
            }
            return function(t, n, a) {
                return n &amp;&amp; e(t.prototype, n), a &amp;&amp; e(t, a), t;
            };
        }(), o = a(e("./RankItem")), r = a(e("../base/BaseWindow")), s = a(e("../../utils/ShareHelper")), l = a(e("../over/OverUI")), u = a(e("../base/WindowManager")), c = function(e) {
            function t() {
                !function(e, t) {
                    if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
                }(this, t);
                var e = function(e, t) {
                    if (!e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
                    return !t || "object" != typeof t &amp;&amp; "function" != typeof t ? e : t;
                }(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this));
                return t.inst = e, e.rankList = null, e.rankMe = null, e.btnBack = null, e.tabRank = null, 
                e.contextView = null, e.listWidth = 592, e.listHeight = 700, e.existWorldRank = !0, 
                e.worldLoading = 0, t.selfId = -1, e;
            }
            return function(e, t) {
                if ("function" != typeof t &amp;&amp; null !== t) throw new TypeError("Super expression must either be null or a function, not " + typeof t);
                e.prototype = Object.create(t &amp;&amp; t.prototype, {
                    constructor: {
                        value: e,
                        enumerable: !1,
                        writable: !0,
                        configurable: !0
                    }
                }), t &amp;&amp; (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);
            }(t, r.default), i(t, [ {
                key: "onAwake",
                value: function() {
                    this.initUI();
                }
            }, {
                key: "initUI",
                value: function() {
                    var e = this.getChildByName("middle");
                    this._tab = e.getChildByName("tab"), this.tabRank = this._tab.getChildByName("tabRank"), 
                    this._world = e.getChildByName("world"), this.rankList = this._world.getChildByName("rankList"), 
                    this.rankMe = this._world.getChildByName("rankMe"), this._friend = e.getChildByName("friend"), 
                    this.contextView = this._friend.getChildAt(0), this.touchArea = this._friend.getChildAt(1), 
                    this.contextView.alpha = 1, this.touchArea.alpha = 0;
                    var t = new Laya.Texture();
                    if (!Laya.Texture2D) throw new Error("WXOpenDataViewer:webgl not found!");
                    t.bitmap = new Laya.Texture2D(), this.texture2 = t, this.contextView.texture = this.texture2, 
                    this.addClickEvent(this.btnBack, this.onCloseClick);
                }
            }, {
                key: "initEvent",
                value: function() {
                    this.tabRank.selectHandler = new Laya.Handler(this, this.onRankClick), LayaSample.glEvent.on("draw_world_rank_event", this, this.onDrawWorldrankEvent);
                }
            }, {
                key: "doShow",
                value: function() {
                    this.initEvent(), Laya.loader.load("prefabs/rankItem.json", Laya.Handler.create(this, this.initList), null, Laya.Loader.PREFAB), 
                    this.onRankFriend(), this.tabRank.selectedIndex = 0, this.pageWorldRank = 1, this.isLoadedWorldRank = !1, 
                    this.rankData = null, LayaSample.wxMgr.worldRank(1);
                }
            }, {
                key: "doHide",
                value: function() {
                    LayaSample.glEvent.off("draw_world_rank_event", this, this.onDrawWorldrankEvent), 
                    Laya.loader.clearRes("prefabs/rankItem.json"), this.clear(), u.default.inst().isShowing(l.default.inst) &amp;&amp; l.default.inst.rankPanel &amp;&amp; l.default.inst.waitToShowOpenDataView();
                }
            }, {
                key: "initRankEvent",
                value: function(e) {
                    if (!e) return this.touchArea.offAllCaller(this), this.touchArea.visible = !1, void (this.contextView.visible = !1);
                    this.touchArea.visible = !0, this.contextView.visible = !0;
                    var t = 0, n = 0, a = 0, i = 0;
                    Laya.Browser.onWeiXin &amp;&amp; (this.touchArea.on(Laya.Event.MOUSE_DOWN, this, function(e) {
                        e.stopPropagation(), a = 0, n = e.nativeEvent.timeStamp, t = e.nativeEvent.changedTouches[0].clientY, 
                        LayaSample.wxMgr.onFrientMouseEvent({
                            cmd: "touch_start"
                        });
                    }), this.touchArea.on(Laya.Event.MOUSE_MOVE, this, function(e) {
                        e.stopPropagation(), a = e.nativeEvent.changedTouches[0].clientY - t, LayaSample.wxMgr.onFrientMouseEvent({
                            cmd: "touch_move",
                            deltaY: a
                        });
                    }), this.touchArea.on(Laya.Event.MOUSE_UP, this, function(e) {
                        e.stopPropagation(), i = a / (e.nativeEvent.timeStamp - n), LayaSample.wxMgr.onFrientMouseEvent({
                            cmd: "touch_end",
                            speed: i
                        });
                    }), this.touchArea.on(Laya.Event.MOUSE_OUT, this, function(e) {
                        e.stopPropagation(), i = a / (e.nativeEvent.timeStamp - n), LayaSample.wxMgr.onFrientMouseEvent({
                            cmd: "touch_cancel",
                            speed: i
                        });
                    }));
                }
            }, {
                key: "showList",
                value: function(e) {
                    var t = e ? 1 : 0;
                    this.rankList.alpha = t, this.rankMe.alpha = t;
                }
            }, {
                key: "initList",
                value: function() {
                    if (!this.isInitList) {
                        this.isInitList = !0;
                        var e = this.rankList;
                        e.itemRender = o.default, e.cacheContent = !1, e.repeatX = 1, e.repeatY = 7, e.spaceY = 20, 
                        e.width = this.listWidth, e.height = this.listHeight, e.vScrollBarSkin = "", e.selectEnable = !1, 
                        e.selectHandler = new Laya.Handler(this, this.onSelect), e.renderHandler = new Laya.Handler(this, this.updateItem), 
                        e.refresh(), this.worldLoading++;
                    }
                }
            }, {
                key: "refreshList",
                value: function() {
                    this.worldLoading &gt;= 2 &amp;&amp; (this.rankList.refresh(), 0 == this.rankMe.numChildren &amp;&amp; this.rankMe.addChild(new o.default()), 
                    this.rankMe.getChildAt(0).setRankItem(this.userRank, !0), Laya.timer.clear(this, this.refreshList));
                }
            }, {
                key: "onRankClick",
                value: function(e) {
                    1 == e ? this.onRankWorld() : this.onRankFriend();
                }
            }, {
                key: "onRankFriend",
                value: function() {
                    if (this._world.visible = !1, this._friend.visible = !0, this.showList(!1), this.initRankEvent(!0), 
                    LayaSample.wxMgr.showFriendRank(!0), window.wx &amp;&amp; window.sharedCanvas) {
                        var e = this.contextView.width, t = this.contextView.height;
                        window.sharedCanvas.width = e, window.sharedCanvas.height = t, Laya.timer.frameLoop(1, this, this._onLoop);
                    }
                }
            }, {
                key: "onRankWorld",
                value: function() {
                    this._world.visible = !0, this._friend.visible = !1, this.showList(!0), this.initRankEvent(!1), 
                    Laya.timer.clear(this, this._onLoop), LayaSample.wxMgr.showFriendRank(!1), Laya.timer.loop(100, this, this.refreshList);
                }
            }, {
                key: "onDrawWorldrankEvent",
                value: function(e) {
                    this.worldLoading++;
                    var n = e.page, a = {}, i = [];
                    if (e.data instanceof Array) i = e.data, a.data = {
                        list: i,
                        page: n
                    }; else {
                        if (!e.data) return void console.error("rank data is null.");
                        a = e, i = e.data.list, e.data.userInfo &amp;&amp; (e.data.userInfo.userId = e.data.userInfo.id, 
                        delete e.data.userInfo.id, this.userRank = e.data.userInfo, t.selfId = this.userRank.userId);
                    }
                    if (i) {
                        this.existWorldRank = i.length &gt;= 20;
                        for (var o = a.data.list.length, r = 0; r &lt; o; ++r) a.data.list[r].userId = a.data.list[r].id, 
                        delete a.data.list[r].id;
                        this.rankData || (this.rankData = {}), this.pageWorldRank = n, this.rankData[n] = a;
                        var s = [];
                        for (var l in this.rankData) s.push.apply(s, this.rankData[l].data.list);
                        this.rankList.updateArray(s), this.isLoadedWorldRank = !0;
                    } else this.existWorldRank = !1;
                }
            }, {
                key: "updateItem",
                value: function(e, t) {
                    e.setRankItem(e.dataSource);
                    this.pageWorldRank;
                }
            }, {
                key: "onSelect",
                value: function(e) {
                    console.log("å½“å‰é€‰æ‹©çš„ç´¢å¼•ï¼š" + e);
                }
            }, {
                key: "onCloseClick",
                value: function() {
                    this.hide();
                }
            }, {
                key: "onShareClick",
                value: function() {
                    s.default.inst().startShare(s.default.rankToken, function() {
                        LayaSample.wxMgr.shareFriend(s.default.shareTokenToType(s.default.rankToken), s.default.inst().useCustomCallback);
                    });
                }
            }, {
                key: "_onLoop",
                value: function() {
                    if (!this.sharedCanvas) {
                        var e = this.contextView.width, t = this.contextView.height, n = wx.getOpenDataContext();
                        sharedCanvas = n.canvas, sharedCanvas.width = e, sharedCanvas.height = t, this.sharedCanvas = sharedCanvas;
                    }
                    this.texture2.bitmap.loadImageSource(this.sharedCanvas);
                }
            }, {
                key: "clear",
                value: function() {
                    LayaSample.wxMgr.showFriendRank(!1), Laya.timer.clear(this, this._onLoop), this.touchArea.offAllCaller(this);
                    for (var e, t = this.rankList.array, n = 0; n &lt; t.length; n++) null != (e = this.rankList.getCell(n)) &amp;&amp; e.imgAvatar &amp;&amp; (e.imgAvatar.texture = null);
                    this.rankList.array = [];
                }
            } ]), t;
        }();
        n.default = c;
    }, {
        "../../utils/ShareHelper": 59,
        "../base/BaseWindow": 39,
        "../base/WindowManager": 41,
        "../over/OverUI": 48,
        "./RankItem": 49
    } ],
    51: [ function(e, t, n) {
        "use strict";
        function a(e) {
            return e &amp;&amp; e.__esModule ? e : {
                default: e
            };
        }
        Object.defineProperty(n, "__esModule", {
            value: !0
        });
        var i = function() {
            function e(e, t) {
                for (var n = 0; n &lt; t.length; n++) {
                    var a = t[n];
                    a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a &amp;&amp; (a.writable = !0), 
                    Object.defineProperty(e, a.key, a);
                }
            }
            return function(t, n, a) {
                return n &amp;&amp; e(t.prototype, n), a &amp;&amp; e(t, a), t;
            };
        }(), o = a(e("../base/BaseWindow")), r = a(e("../../utils/ShareHelper")), s = a(e("../../utils/UtilsCommon")), l = function(e) {
            function t() {
                !function(e, t) {
                    if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
                }(this, t);
                var e = function(e, t) {
                    if (!e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
                    return !t || "object" != typeof t &amp;&amp; "function" != typeof t ? e : t;
                }(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this));
                return t.inst = e, e.showTime = 1500, e.hasTween = !1, e;
            }
            return function(e, t) {
                if ("function" != typeof t &amp;&amp; null !== t) throw new TypeError("Super expression must either be null or a function, not " + typeof t);
                e.prototype = Object.create(t &amp;&amp; t.prototype, {
                    constructor: {
                        value: e,
                        enumerable: !1,
                        writable: !0,
                        configurable: !0
                    }
                }), t &amp;&amp; (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);
            }(t, o.default), i(t, [ {
                key: "onAwake",
                value: function() {
                    this.bg.on(Laya.Event.MOUSE_DOWN, this, function() {});
                }
            }, {
                key: "doShow",
                value: function() {
                    var e = this;
                    Laya.Tween.clearAll(this.tip), Laya.timer.clearAll(this);
                    new Laya.Sprite();
                    this.tip.alpha = 1, Laya.timer.once(this.showTime, this, function() {
                        e.hide(), s.default.excuteFunc(r.default.inst().onCancelFromTip, r.default.inst().curToken);
                    }), this.hasTween &amp;&amp; Laya.Tween.to(this.tip, {
                        alpha: 0
                    }, this.showTime, Laya.Ease.linearIn);
                }
            } ]), t;
        }();
        n.default = l;
    }, {
        "../../utils/ShareHelper": 59,
        "../../utils/UtilsCommon": 64,
        "../base/BaseWindow": 39
    } ],
    52: [ function(e, t, n) {
        "use strict";
        function a(e) {
            return e &amp;&amp; e.__esModule ? e : {
                default: e
            };
        }
        Object.defineProperty(n, "__esModule", {
            value: !0
        });
        var i = function() {
            function e(e, t) {
                for (var n = 0; n &lt; t.length; n++) {
                    var a = t[n];
                    a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a &amp;&amp; (a.writable = !0), 
                    Object.defineProperty(e, a.key, a);
                }
            }
            return function(t, n, a) {
                return n &amp;&amp; e(t.prototype, n), a &amp;&amp; e(t, a), t;
            };
        }(), o = a(e("../base/BaseWindow")), r = a(e("../../utils/AdsManager")), s = a(e("../../utils/UtilsCommon")), l = a(e("../../scene/GameObjectManager")), u = (a(e("../../game/GameManager")), 
        a(e("../../game/ProjectManager"))), c = a(e("../adIcon/DelayMoveCtrl")), h = function(e) {
            function t() {
                !function(e, t) {
                    if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
                }(this, t);
                var e = function(e, t) {
                    if (!e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
                    return !t || "object" != typeof t &amp;&amp; "function" != typeof t ? e : t;
                }(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this));
                return t.inst = e, e.showJumpTime = 0, e;
            }
            return function(e, t) {
                if ("function" != typeof t &amp;&amp; null !== t) throw new TypeError("Super expression must either be null or a function, not " + typeof t);
                e.prototype = Object.create(t &amp;&amp; t.prototype, {
                    constructor: {
                        value: e,
                        enumerable: !1,
                        writable: !0,
                        configurable: !0
                    }
                }), t &amp;&amp; (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);
            }(t, o.default), i(t, [ {
                key: "setDataAndShow",
                value: function(e) {
                    this.closeCallBack = e, this.show();
                }
            }, {
                key: "onAwake",
                value: function() {
                    var e = this;
                    this.skinBtns = [];
                    var t = this.skins.numChildren;
                    this.delayMove = this.getComponent(c.default);
                    for (var n = function(t) {
                        var n = e.skins.getChildAt(t);
                        e.skinBtns.push(n), n &amp;&amp; e.addClickEvent(n, function() {
                            var t = e.skinBtns.indexOf(n);
                            e.onClickSkin(t);
                        });
                    }, a = 0; a &lt; t; a++) n(a);
                    this.addClickEvent(this.btnRandom, function() {
                        var n = Math.floor(Math.random() * t);
                        e.onClickSkin(n);
                    }), this.addClickEvent(this.btnJump, function() {
                        e.continueGame();
                    }), this.checkBox.on(Laya.Event.CHANGE, this, this.onCheck);
                }
            }, {
                key: "onCheck",
                value: function() {
                    trace(this.checkBox.selected), u.default.inst().setNoShowSkinToday(this.checkBox.selected);
                }
            }, {
                key: "doShow",
                value: function() {
                    this.showJumpTime &lt;= 0 ? this.showBtnJump() : (this.btnJump.visible = !1, Laya.timer.clearAll(this), 
                    Laya.timer.once(this.showJumpTime, this, this.showBtnJump));
                }
            }, {
                key: "doHide",
                value: function() {
                    r.default.hideBaner(), s.default.excuteFunc(this.closeCallBack);
                }
            }, {
                key: "onClickSkin",
                value: function(e) {
                    var t = this;
                    platform.getInstance().showReward(()=&gt;{//zs
                        r.default.lookAdsDo(function() {
                            t.setSkin(e), t.continueGame();
                        }, r.default.skinToken);
                    },null)
                }
            }, {
                key: "setSkin",
                value: function(e) {
                    l.default.inst.actor &amp;&amp; l.default.inst.actor.changeSkin(e + 1);
                }
            }, {
                key: "continueGame",
                value: function() {
                    this.hide();
                }
            }, {
                key: "showBtnJump",
                value: function() {
                    this.btnJump.visible = !0;
                }
            } ]), t;
        }();
        n.default = h;
    }, {
        "../../game/GameManager": 3,
        "../../game/ProjectManager": 5,
        "../../scene/GameObjectManager": 11,
        "../../utils/AdsManager": 56,
        "../../utils/UtilsCommon": 64,
        "../adIcon/DelayMoveCtrl": 32,
        "../base/BaseWindow": 39
    } ],
    53: [ function(e, t, n) {
        "use strict";
        Object.defineProperty(n, "__esModule", {
            value: !0
        });
        var a = function() {
            function e(e, t) {
                for (var n = 0; n &lt; t.length; n++) {
                    var a = t[n];
                    a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a &amp;&amp; (a.writable = !0), 
                    Object.defineProperty(e, a.key, a);
                }
            }
            return function(t, n, a) {
                return n &amp;&amp; e(t.prototype, n), a &amp;&amp; e(t, a), t;
            };
        }(), i = function(e) {
            return e &amp;&amp; e.__esModule ? e : {
                default: e
            };
        }(e("../base/BaseWindow")), o = function(e) {
            function t() {
                !function(e, t) {
                    if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
                }(this, t);
                var e = function(e, t) {
                    if (!e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
                    return !t || "object" != typeof t &amp;&amp; "function" != typeof t ? e : t;
                }(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this));
                return t.inst = e, e;
            }
            return function(e, t) {
                if ("function" != typeof t &amp;&amp; null !== t) throw new TypeError("Super expression must either be null or a function, not " + typeof t);
                e.prototype = Object.create(t &amp;&amp; t.prototype, {
                    constructor: {
                        value: e,
                        enumerable: !1,
                        writable: !0,
                        configurable: !0
                    }
                }), t &amp;&amp; (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);
            }(t, i.default), a(t, [ {
                key: "onAwake",
                value: function() {
                    var e = this;
                    this.addClickEvent(this.btnIKown, function() {
                        e.hide();
                    }), this.addClickEvent(this.btnBack, function() {
                        e.hide();
                    });
                }
            } ]), t;
        }();
        n.default = o;
    }, {
        "../base/BaseWindow": 39
    } ],
    54: [ function(e, t, n) {
        "use strict";
        Object.defineProperty(n, "__esModule", {
            value: !0
        });
        var a = function() {
            function e(e, t) {
                for (var n = 0; n &lt; t.length; n++) {
                    var a = t[n];
                    a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a &amp;&amp; (a.writable = !0), 
                    Object.defineProperty(e, a.key, a);
                }
            }
            return function(t, n, a) {
                return n &amp;&amp; e(t.prototype, n), a &amp;&amp; e(t, a), t;
            };
        }(), i = (function(e) {
            e &amp;&amp; e.__esModule;
        }(e("../../../script/Utils")), function(e) {
            function t() {
                !function(e, t) {
                    if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
                }(this, t);
                var e = function(e, t) {
                    if (!e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
                    return !t || "object" != typeof t &amp;&amp; "function" != typeof t ? e : t;
                }(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this));
                return e.width = 184, e.height = 244, e.labName = null, e.icon = null, e.size(e.width, e.height), 
                e.initUI(), e;
            }
            return function(e, t) {
                if ("function" != typeof t &amp;&amp; null !== t) throw new TypeError("Super expression must either be null or a function, not " + typeof t);
                e.prototype = Object.create(t &amp;&amp; t.prototype, {
                    constructor: {
                        value: e,
                        enumerable: !1,
                        writable: !0,
                        configurable: !0
                    }
                }), t &amp;&amp; (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);
            }(t, Laya.Box), a(t, [ {
                key: "initUI",
                value: function() {
                    var e = Laya.loader.getRes(t.prefabPath);
                    if (e) {
                        var n = Laya.Pool.getItemByCreateFun("thinkYouLikeItem", e.create, e);
                        this.icon = n, this.addChild(n);
                    }
                }
            }, {
                key: "setData",
                value: function(e) {
                    null != e &amp;&amp; (this.icon.loadImage(e.app_img, 0, 0), this.icon.width = 184, this.icon.height = 244, 
                    this.appId = e.app_id);
                }
            } ]), t;
        }());
        n.default = i, i.prefabPath = "prefabs/thinkYouLikeItem.json";
    }, {
        "../../../script/Utils": 68
    } ],
    55: [ function(e, t, n) {
        "use strict";
        function a(e) {
            return e &amp;&amp; e.__esModule ? e : {
                default: e
            };
        }
        Object.defineProperty(n, "__esModule", {
            value: !0
        });
        var i = function() {
            function e(e, t) {
                for (var n = 0; n &lt; t.length; n++) {
                    var a = t[n];
                    a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a &amp;&amp; (a.writable = !0), 
                    Object.defineProperty(e, a.key, a);
                }
            }
            return function(t, n, a) {
                return n &amp;&amp; e(t.prototype, n), a &amp;&amp; e(t, a), t;
            };
        }(), o = a(e("../base/BaseWindow")), r = a(e("../../game/GameManager")), s = a(e("./ThinkYouLikeIconItem")), l = a(e("../../utils/ShareHelper")), u = a(e("../../utils/StatisticsManager")), c = a(e("../../utils/AdsManager")), h = a(e("../adIcon/TopBanner")), f = a(e("../../utils/UtilsData")), d = a(e("../main/MainUI")), y = (a(e("../adIcon/WxappItem")), 
        function(e) {
            function t() {
                !function(e, t) {
                    if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
                }(this, t);
                var e = function(e, t) {
                    if (!e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
                    return !t || "object" != typeof t &amp;&amp; "function" != typeof t ? e : t;
                }(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this));
                return t.inst = e, e.needMiddle = !1, e.maxCount = 6, e.ind = 0, e.prevInd = 0, 
                e.renderCount = 3, e.speed = 3e3, e.init(), e;
            }
            return function(e, t) {
                if ("function" != typeof t &amp;&amp; null !== t) throw new TypeError("Super expression must either be null or a function, not " + typeof t);
                e.prototype = Object.create(t &amp;&amp; t.prototype, {
                    constructor: {
                        value: e,
                        enumerable: !1,
                        writable: !0,
                        configurable: !0
                    }
                }), t &amp;&amp; (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);
            }(t, o.default), i(t, [ {
                key: "init",
                value: function() {
                    Laya.loader.load(s.default.prefabPath, Laya.Handler.create(this, this.initList), null, Laya.Loader.PREFAB);
                }
            }, {
                key: "onAwake",
                value: function() {
                    this.topScene = new Laya.Scene(), this.topScene.addChild(this.top), this.y = (Laya.stage.height - Laya.stage.designHeight) / 2, 
                    this.addClickEvent(this.btnRestart, function() {
                        r.default.inst().restartGame(!0), r.default.inst().enterGame(), d.default.inst.showGame(), 
                        this.hide();
                        
                    }), this.addClickEvent(this.btnNext, this.onNextClick), this.addClickEvent(this.btnHome, this.onHome);
                }
            }, {
                key: "onShareClick",
                value: function() {
                    l.default.inst().startShare(l.default.shareToken, function() {
                        LayaSample.wxMgr.shareFriend(l.default.shareTokenToType(l.default.shareToken), l.default.inst().useCustomCallback);
                    });
                }
            }, {
                key: "onNextClick",
                value: function() {
                    this._resetStatis(), this.next(0);
                }
            }, {
                key: "onHome",
                value: function() {
                    r.default.inst().restartGame(!0), this.hide(), d.default.inst.showHome();
                }
            }, {
                key: "setDataAndShow",
                value: function(e) {
                    this.isWin = e.isWin, this.data = e.listData, this.show(), this.freshList();
                }
            }, {
                key: "doShow",
                value: function() {
                    this.btnRestart.visible = !this.isWin, this.btnNext.visible = this.isWin, c.default.hideBaner(), 
                    h.default.inst.hide(), Laya.stage.addChild(this.topScene), this.resetPosition();
                }
            }, {
                key: "doHide",
                value: function() {
                    c.default.getBanner(), this.topScene.removeSelf();
                }
            }, {
                key: "_resetStatis",
                value: function() {
                    var e = r.default.inst().lvl + 1;
                    e &gt; r.default.inst().maxLvl &amp;&amp; (this.lvl = r.default.inst().maxLvl), u.default.reset(e);
                }
            }, {
                key: "next",
                value: function(e) {
                    r.default.inst().toNextLvl(!1, e), t.inst.hide();
                }
            }, {
                key: "freshList",
                value: function() {
                    if (null == this.data) {
                        var e = [];
                        this.data = e;
                        var t = LayaSample.commonData.wxappList[f.default.ThinkYouLike];
                        if (null != t) for (var n in t) {
                            var a = t[n];
                            for (var i in a) null == a[i] || Laya.Browser.onIOS &amp;&amp; a[i].is_box || e.push(a[i]);
                        }
                    }
                    this._copyEndDataToStart(this.data), null != this.list &amp;&amp; (this.list.array = this.data, 
                    Laya.timer.frameOnce(1, this, this._tweenToNext));
                }
            }, {
                key: "initList",
                value: function() {
                    null == this.list &amp;&amp; (this.isInit = !0, this.list = this.adList, this.list.itemRender = s.default, 
                    this.list.selectEnable = !0, this.list.selectHandler = new Laya.Handler(this, this.onSelect), 
                    this.list.renderHandler = new Laya.Handler(this, this.updateItem), this.list.vScrollBarSkin = "", 
                    null != this.data &amp;&amp; (this.list.array = this.data));
                }
            }, {
                key: "resetPosition",
                value: function() {
                    var e = 0;
                    if (Laya.Browser.onWeiXin &amp;&amp; LayaSample.commonData.wxysysInfo) {
                        var t = LayaSample.commonData.wxysysInfo;
                        Laya.Browser.width / Laya.Browser.height &lt; 9 / 17 &amp;&amp; t.statusBarHeight &gt; 30 &amp;&amp; (e = 55);
                    }
                    trace(e);
                    var n = 0;
                    Laya.stage.height / Laya.stage.designHeight &gt; 1 &amp;&amp; this.needMiddle &amp;&amp; (n = (Laya.stage.height - Laya.stage.designHeight) / 2), 
                    e -= n, trace(e), this.top &amp;&amp; (this.top.y = e);
                }
            }, {
                key: "updateItem",
                value: function(e, t) {
                    e.setData(e.dataSource);
                }
            }, {
                key: "onSelect",
                value: function(e) {
                    if (-1 != e) {
                        var t = this.list.getItem(e);
                        null != t &amp;&amp; (LayaSample.wxMgr.wxEnterOtherGame(t.app_id, t.category, t.position), 
                        this.list.selectedIndex = -1);
                    }
                }
            }, {
                key: "_tweenToNext",
                value: function() {
                    Laya.timer.clearAll(this), this.ind = Math.max(this.adList.repeatX, this.adList.startIndex), 
                    this.ind == this.prevInd &amp;&amp; (this.ind += this.adList.repeatX), this.ind &gt;= this.appCount - 3 &amp;&amp; (this.adList.scrollTo(0), 
                    this.ind = this.adList.repeatX), this.prevInd = this.ind, this.adList.tweenTo(this.ind, this.speed - 10), 
                    Laya.timer.once(this.speed, this, this._tweenToNext);
                }
            }, {
                key: "_copyEndDataToStart",
                value: function(e) {
                    if (this.appCount = e.length, e.length &gt; 3) for (var t = 0; t &lt; 3; t++) {
                        var n = e[e.length - t - 1];
                        if (e.length &gt;= 12) return void (this.data = e);
                        e.unshift(n);
                    }
                }
            } ]), t;
        }());
        n.default = y;
    }, {
        "../../game/GameManager": 3,
        "../../utils/AdsManager": 56,
        "../../utils/ShareHelper": 59,
        "../../utils/StatisticsManager": 62,
        "../../utils/UtilsData": 65,
        "../adIcon/TopBanner": 35,
        "../adIcon/WxappItem": 38,
        "../base/BaseWindow": 39,
        "../main/MainUI": 46,
        "./ThinkYouLikeIconItem": 54
    } ],
    56: [ function(e, t, n) {
        "use strict";
        function a(e) {
            return e &amp;&amp; e.__esModule ? e : {
                default: e
            };
        }
        Object.defineProperty(n, "__esModule", {
            value: !0
        });
        var i = a(e("./ShareHelper")), o = a(e("./UtilsCommon")), r = function e() {
            !function(e, t) {
                if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
            }(this, e);
        };
        n.default = r, r.isHasBanner = !1, r.changeToShare = !0, r.isLoadVideo = !1, r.isLoadVideoError = !1, 
        r.init = function() {
            LayaSample.wxMgr.onShowVideoFail = function() {
                r.isLoadVideo = !1, r.isLoadVideoError = !1, i.default.inst().startShare(token, function() {
                    LayaSample.wxMgr.shareFriend(i.default.shareTokenToType(r.curToken), i.default.inst().useCustomCallback);
                }, r.successCallBack), r.successCallBack = null;
            }, r.getVideo(), LayaSample.glEvent.on("ad_load_event", r, r.onLoadAd), LayaSample.glEvent.on("ad_video_close_event", r, r.onLookVideoComplected);
        }, r.getVideo = function() {
            r.isLoadVideo = !1, r.isLoadVideoError = !1, LayaSample.commonData.existVideoAd &amp;&amp; LayaSample.wxMgr.getVideoAd();
        }, r.onLoadAd = function(e) {
            "banner" == e.adtype ? (r.isHasBanner = e.isLoad, e.isLoad ? o.default.excuteFunc(r.OnLoadBanner) : o.default.excuteFunc(r.OnLoadBannerError)) : "video" == e.adtype &amp;&amp; (e.isLoad ? (r.isLoadVideo = !0, 
            r.isLoadVideoError = !1) : (r.isLoadVideo = !1, r.isLoadVideoError = !0));
        }, r.getBanner = function() {
            if (LayaSample.commonData.existBannerAd) return LayaSample.wxMgr.getBannerAd();
            o.default.excuteFunc(r.OnLoadBannerError);
        }, r.showBaner = function() {
            LayaSample.commonData.existBannerAd &amp;&amp; LayaSample.wxMgr.showBannerAd();
        }, r.hideBaner = function() {
            LayaSample.commonData.existBannerAd &amp;&amp; LayaSample.wxMgr.hideBannerAd();
        }, r.onLookVideoComplected = function(e) {
            var t = e.isEnded;
            t &amp;&amp; o.default.excuteFunc(r.successCallBack), o.default.excuteFunc(r.OnLookVideoComplected, r.curToken, t);
        }, r.isUnForceAds = function(e) {
            return e == r.bossLvlEndToken;
        }, r.lookAdsDo = function(e, t) {
            Laya.Browser.onWeiXin ? !r.changeToShare || LayaSample.commonData.existVideoAd &amp;&amp; r.isLoadVideo ? LayaSample.commonData.existVideoAd &amp;&amp; (r.curToken = t, 
            r.successCallBack = e, LayaSample.wxMgr.showVideoAd(r.tokenToType(t))) : (r.isUnForceAds(t) ? null != e &amp;&amp; e() : i.default.inst().startShare(t, function() {
                LayaSample.wxMgr.shareFriend(i.default.shareTokenToType(t), i.default.inst().useCustomCallback);
            }, e), r.isLoadVideoError &amp;&amp; (r.isLoadVideoError = !1, LayaSample.wxMgr.loadVideo())) : (trace("éžå¾®ä¿¡å¹³å°ï¼Œç›´æŽ¥æ‰§è¡Œ"), 
            null != e &amp;&amp; e());
        }, r.tokenToType = function(e) {
            var t = 1;
            switch (e) {
              case r.reviveToken:
                t = 1;
                break;

              case r.invincibleToken:
                t = 0;
            }
            return t;
        }, r.reviveToken = "revive", r.invincibleToken = "inv", r.skipToken = "skip", r.nextAddBallToken = "nextAddBall", 
        r.bossLvlEndToken = "bossLvl";
    }, {
        "./ShareHelper": 59,
        "./UtilsCommon": 64
    } ],
    57: [ function(e, t, n) {
        "use strict";
        Object.defineProperty(n, "__esModule", {
            value: !0
        });
        var a = function() {
            function e(e, t) {
                for (var n = 0; n &lt; t.length; n++) {
                    var a = t[n];
                    a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a &amp;&amp; (a.writable = !0), 
                    Object.defineProperty(e, a.key, a);
                }
            }
            return function(t, n, a) {
                return n &amp;&amp; e(t.prototype, n), a &amp;&amp; e(t, a), t;
            };
        }(), i = function() {
            function e() {
                !function(e, t) {
                    if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
                }(this, e);
            }
            return a(e, null, [ {
                key: "init",
                value: function() {
                    e.isInit || (e.isInit = !0, (e.glEvent = new Laya.Sprite()).size(0, 0));
                }
            }, {
                key: "on",
                value: function(t, n, a, i) {
                    e.init(), e.glEvent.on(t, n, a, i);
                }
            }, {
                key: "off",
                value: function(t, n, a) {
                    var i = arguments.length &gt; 3 &amp;&amp; void 0 !== arguments[3] &amp;&amp; arguments[3];
                    e.init(), e.glEvent.off(t, n, a, i);
                }
            }, {
                key: "event",
                value: function(t, n) {
                    e.init(), e.glEvent.event(t, n);
                }
            } ]), e;
        }();
        n.default = i;
    }, {} ],
    58: [ function(e, t, n) {
        "use strict";
        function a(e) {
            return e &amp;&amp; e.__esModule ? e : {
                default: e
            };
        }
        Object.defineProperty(n, "__esModule", {
            value: !0
        });
        var i = a(e("../../script/manager/NetMgr")), o = a(e("./UtilsCommon")), r = function e() {
            !function(e, t) {
                if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
            }(this, e);
        };
        n.default = r, r.resVersion = 22, r.init = function() {
            r.isInit || (r.isInit = !0,  
                // Laya.URL.basePathLaya.URL.basePath = i.default.resService + r.resVersion + "/", 
            Laya.Browser.onWeiXin &amp;&amp; (Laya.MiniAdpter.nativefiles = [ "res/atlas", "res/3dres", "font", "ui", "load", "game.json", "rank" ]));
        }, r.getReloadRes = function() {
            return [ {
                url: "res/3dres/resources.lh",
                clas: Laya.Sprite3D,
                priority: 1
            }, {
                url: "res/3dres/gameScene.ls",
                clas: Laya.Scene,
                priority: 2
            }, {
                url: "res/skinRes/resourcesExtends.lh",
                clas: Laya.Scene,
                priority: 3
            } ];
        }, r.getReloadUIs = function() {
            return [ "ui/Main.scene", "ui/Skin.scene", "ui/ThinkYouLike.scene", "ui/Over.scene", "ui/Star.scene", "ui/CutDown.scene", "ui/Rank.scene", "ui/ShareFail.scene", "ui/TopBanner.scene" ];
        }, r.loadSceneAndRuntime = function(e, t) {
            if (null != e &amp;&amp; 0 != e.length) {
                r._loadSceneAndRuntime1(e, t, 0, []);
            } else t &amp;&amp; t([]);
        }, r._loadSceneAndRuntime1 = function(e, t, n, a) {
            if (e.length &lt;= n &amp;&amp; t) t(a); else {
                var i = e[n];
                if (n++, null == i) return a.push(null), void r._loadSceneAndRuntime1(e, t, n, a);
                r._loadSceneAndRuntime2(i, function(i) {
                    a.push(i), r._loadSceneAndRuntime1(e, t, n, a);
                });
            }
        }, r._loadSceneAndRuntime2 = function(e, t) {
            Laya.Scene.load(e, Laya.Handler.create(this, function(e) {
                null != t &amp;&amp; null != e &amp;&amp; t(e);
            }));
        }, r.loadSubPackages = function(e, t) {
            r.isHasSubPlatform() || o.default.excuteFunc(t, !0), null != e ? Laya.Browser.onWeiXin &amp;&amp; r._wxloadSubPackages(e, 0, t, !0) : o.default.excuteFunc(t, !1);
        }, r.isHasSubPlatform = function() {
            return Laya.Browser.onWeiXin;
        }, r._wxloadSubPackages = function(e, t, n, a) {
            if (t &gt;= e.length) o.default.excuteFunc(n, a); else if (null != e[t] &amp;&amp; wx.loadSubpackage) wx.loadSubpackage({
                name: e[t],
                success: function(a) {
                    trace("success" + e[t]), r._wxloadSubPackages(e, t + 1, n, !0);
                },
                fail: function(a) {
                    trace("error" + e[t]), o.default.excuteFunc(n, !1);
                }
            }); else o.default.excuteFunc(n, !1);
        }, r.getSePaths = function(e) {
            for (var t = [], n = r.ses, a = 0; a &lt; n.length; a++) {
                var i = n[a];
                t.push({
                    url: i,
                    clas: Laya.Loader.SOUND,
                    priority: e + a
                });
            }
            return t;
        }, (r.ses = [])[0] = r.se_win = "res/Sounds/win.mp3", r.ses[1] = r.se_blockCollition = "res/Sounds/blockCollition.mp3", 
        r.ses[2] = r.se_scoreDestroy1 = "res/Sounds/scoreDestroy1.mp3", r.ses[3] = r.se_scoreDestroy2 = "res/Sounds/scoreDestroy1.mp3", 
        r.ses[4] = r.se_cutDown1 = "res/Sounds/cutDown1.mp3", r.ses[5] = r.se_cutDown2 = "res/Sounds/cutDown1.mp3", 
        r.ses[6] = r.se_invShoot = "res/Sounds/inv.mp3";
    }, {
        "../../script/manager/NetMgr": 70,
        "./UtilsCommon": 64
    } ],
    59: [ function(e, t, n) {
        "use strict";
        function a(e) {
            return e &amp;&amp; e.__esModule ? e : {
                default: e
            };
        }
        Object.defineProperty(n, "__esModule", {
            value: !0
        });
        var i = function() {
            function e(e, t) {
                for (var n = 0; n &lt; t.length; n++) {
                    var a = t[n];
                    a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a &amp;&amp; (a.writable = !0), 
                    Object.defineProperty(e, a.key, a);
                }
            }
            return function(t, n, a) {
                return n &amp;&amp; e(t.prototype, n), a &amp;&amp; e(t, a), t;
            };
        }(), o = a(e("../utils/UtilsCommon")), r = a(e("./AdsManager")), s = a(e("../game/ProjectManager")), l = function() {
            function e() {
                !function(e, t) {
                    if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
                }(this, e), this.shareTime = 2e4, this.shareIndex = 0, this.useCustomCallback = !1, 
                this.useFailTip = !1;
            }
            return i(e, [ {
                key: "init",
                value: function(e, t) {
                    this.shareTime = e, this.commonSuccessCallBack = t;
                }
            }, {
                key: "startShare",
                value: function(e, t, n) {
                    if (s.default.inst().isLocalGame) o.default.excuteFunc(n); else {
                        if (!LayaSample.commonData.showRevivalCard &amp;&amp; !this._isNoRewardShare(e)) return o.default.excuteFunc(n), 
                        void o.default.excuteFunc(this.commonSuccessCallBack, this.curToken);
                        this.shareIndex++, this.curToken = e, this.isSharing = !0, this.sysTime = new Date().getTime(), 
                        this.shareFunc = t, this.successFunc = n, o.default.excuteFunc(t);
                    }
                }
            }, {
                key: "onShareSuccess",
                value: function() {
                    o.default.excuteFunc(this.onSuccess, this.curToken), o.default.excuteFunc(this.successFunc), 
                    o.default.excuteFunc(this.commonSuccessCallBack, this.curToken);
                }
            }, {
                key: "onShareFail",
                value: function() {
                    o.default.excuteFunc(this.onFail, this.curToken), this.useFailTip &amp;&amp; this._showFailTip();
                }
            }, {
                key: "onFocus",
                value: function() {
                    if (!this.useCustomCallback &amp;&amp; this.isSharing) {
                        var e = this._isShareSuccess();
                        this.isSharing = !1, e ? this.onShareSuccess() : this.onShareFail();
                    }
                }
            }, {
                key: "onBlur",
                value: function() {}
            }, {
                key: "_isNoRewardShare",
                value: function(t) {
                    return t == e.shareToken || t == e.rankToken;
                }
            }, {
                key: "_isShareSuccess",
                value: function() {
                    return !!this.isSharing &amp;&amp; (!LayaSample.commonData.showRevivalCard || this.shareIndex % 2 == 0 &amp;&amp; new Date().getTime() - this.sysTime &gt; this.shareTime);
                }
            }, {
                key: "_showFailTip",
                value: function() {
                    Laya.Browser.onWeiXin &amp;&amp; wx.showModal({
                        title: "æç¤º",
                        content: "åˆ†äº«å¤±è´¥ï¼Œè¯·é‡æ–°åˆ†äº«è¯•è¯•",
                        cancelText: "çŸ¥é“äº†",
                        confirmText: "é‡æ–°åˆ†äº«",
                        success: function(t) {
                            t.confirm ? e.inst().startShare(e.inst().curToken, e.inst().shareFunc, e.inst().successFunc) : o.default.excuteFunc(e.inst().onCancelFromTip, e.inst().curToken);
                        }
                    });
                }
            } ], [ {
                key: "shareTokenToType",
                value: function(t) {
                    var n = 1;
                    switch (t) {
                      case r.default.reviveToken:
                        n = 2;
                        break;

                      case e.rankToken:
                        n = 3;
                        break;

                      case r.default.invincibleToken:
                        n = 4;
                    }
                    return n;
                }
            } ]), e;
        }();
        n.default = l, l.shareToken = "share", l.rankToken = "rank", l.inst = function() {
            return null == l._inst &amp;&amp; (l._inst = new l()), l._inst;
        };
    }, {
        "../game/ProjectManager": 5,
        "../utils/UtilsCommon": 64,
        "./AdsManager": 56
    } ],
    60: [ function(e, t, n) {
        "use strict";
        Object.defineProperty(n, "__esModule", {
            value: !0
        });
        var a = function() {
            function e(e, t) {
                for (var n = 0; n &lt; t.length; n++) {
                    var a = t[n];
                    a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a &amp;&amp; (a.writable = !0), 
                    Object.defineProperty(e, a.key, a);
                }
            }
            return function(t, n, a) {
                return n &amp;&amp; e(t.prototype, n), a &amp;&amp; e(t, a), t;
            };
        }(), i = function() {
            function e() {
                !function(e, t) {
                    if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
                }(this, e), this.dic = {}, this.used = {};
            }
            return a(e, [ {
                key: "getFromPoolPrefab",
                value: function(e, t, n) {
                    return this._getFromPoolCommon(e, t, n, this._getFromPrefab);
                }
            }, {
                key: "getFromPool",
                value: function(e, t, n) {
                    return this._getFromPoolCommon(e, t, n, this._getFrome3D);
                }
            }, {
                key: "returnPool",
                value: function(e, t) {
                    if (null != e) {
                        if (null == this.dic[t] &amp;&amp; (this.dic[t] = []), null == this.used[t] &amp;&amp; (this.used[t] = []), 
                        -1 == this.dic[t].indexOf(e)) {
                            this.dic[t].push(e);
                            var n = this.used[t].indexOf(e);
                            -1 != n &amp;&amp; this.used[t].splice(n, 1);
                        }
                        e.removeSelf();
                    }
                }
            }, {
                key: "returnAllToPool",
                value: function(e) {
                    if (null != e &amp;&amp; null != this.used[e]) {
                        null == this.dic[e] &amp;&amp; (this.dic[e] = []);
                        for (var t = this.used[e].length, n = 0; n &lt; t; n++) {
                            var a = this.used[e].shift();
                            a.removeSelf(), this.dic[e].push(a);
                        }
                    }
                }
            }, {
                key: "destroyResFromPool",
                value: function(e) {
                    var t = arguments.length &gt; 1 &amp;&amp; void 0 !== arguments[1] &amp;&amp; arguments[1];
                    null != e &amp;&amp; (this._destroyArr(this.dic[e]), t &amp;&amp; this._destroyArr(this.used[e]));
                }
            }, {
                key: "_destroyArr",
                value: function(e) {
                    if (null != e) for (var t = e.length, n = 0; n &lt; t; n++) {
                        var a = e.shift();
                        null != a &amp;&amp; a.destroy();
                    }
                }
            }, {
                key: "_getFromPrefab",
                value: function(e, t, n) {
                    if (!e) return null;
                    var a = Laya.Pool.getItemByCreateFun(t, e.create, e);
                    return null != a &amp;&amp; null != n &amp;&amp; n.addChild(a), a;
                }
            }, {
                key: "_getFrome3D",
                value: function(e, t, n) {
                    return Laya.Sprite3D.instantiate(e, n, !0);
                }
            }, {
                key: "_getFromPoolCommon",
                value: function(e, t, n, a) {
                    if (null != t) {
                        if (null == this.used[t] &amp;&amp; (this.used[t] = []), null == this.dic[t] || 0 == this.dic[t].length) {
                            var i = a(e, t, n);
                            return this.used[t].push(i), i;
                        }
                        var o = this.dic[t].shift();
                        return null != n &amp;&amp; n.addChild(o), this.used[t].push(o), o;
                    }
                }
            }, {
                key: "clear",
                value: function(e) {
                    null != e &amp;&amp; (null != this.used[e] &amp;&amp; (this.used[e] = null), null != this.dic[e] &amp;&amp; (this.dic[e] = null));
                }
            } ]), e;
        }();
        n.default = i, i.inst = function() {
            return null == i._inst &amp;&amp; (i._inst = new i()), i._inst;
        };
    }, {} ],
    61: [ function(e, t, n) {
        "use strict";
        Object.defineProperty(n, "__esModule", {
            value: !0
        });
        var a = function() {
            function e(e, t) {
                for (var n = 0; n &lt; t.length; n++) {
                    var a = t[n];
                    a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a &amp;&amp; (a.writable = !0), 
                    Object.defineProperty(e, a.key, a);
                }
            }
            return function(t, n, a) {
                return n &amp;&amp; e(t.prototype, n), a &amp;&amp; e(t, a), t;
            };
        }(), i = function() {
            function e() {
                !function(e, t) {
                    if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
                }(this, e), this.dic = {}, this.used = {};
            }
            return a(e, [ {
                key: "getFromPool",
                value: function(e, t) {
                    if (null != e) {
                        var n = e.name;
                        if (null != t &amp;&amp; (n = t), null == this.used[n] &amp;&amp; (this.used[n] = []), null == this.dic[n] || 0 == this.dic[n].length) {
                            var a = new e();
                            return this.used[n].push(a), a;
                        }
                        var i = this.dic[n].shift();
                        return this.used[n].push(i), i;
                    }
                }
            }, {
                key: "getObjectFromPool",
                value: function(e) {
                    if (null != e) {
                        var t = e;
                        if (null == this.used[t] &amp;&amp; (this.used[t] = []), null == this.dic[t] || 0 == this.dic[t].length) {
                            var n = {};
                            return this.used[t].push(n), n;
                        }
                        var a = this.dic[t].shift();
                        return this.used[t].push(a), a;
                    }
                }
            }, {
                key: "returnPool",
                value: function(e, t) {
                    if (null != e &amp;&amp; (null == t &amp;&amp; (t = e.__proto__.constructor.name), null == this.dic[t] &amp;&amp; (this.dic[t] = []), 
                    null == this.used[t] &amp;&amp; (this.used[t] = []), -1 == this.dic[t].indexOf(e))) {
                        this.dic[t].push(e);
                        var n = this.used[t].indexOf(e);
                        -1 != n &amp;&amp; this.used[t].splice(n, 1);
                    }
                }
            }, {
                key: "returnAllToPool",
                value: function(e) {
                    if (null != e) {
                        var t = e.name;
                        if (null != this.used[t]) {
                            null == this.dic[t] &amp;&amp; (this.dic[t] = []);
                            for (var n = this.used[t].length, a = 0; a &lt; n; a++) {
                                var i = this.used[t].shift();
                                this.dic[t].push(i);
                            }
                        }
                    }
                }
            } ]), e;
        }();
        n.default = i, i.inst = function() {
            return null == i._inst &amp;&amp; (i._inst = new i()), i._inst;
        };
    }, {} ],
    62: [ function(e, t, n) {
        "use strict";
        Object.defineProperty(n, "__esModule", {
            value: !0
        });
        var a = function() {
            function e(e, t) {
                for (var n = 0; n &lt; t.length; n++) {
                    var a = t[n];
                    a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a &amp;&amp; (a.writable = !0), 
                    Object.defineProperty(e, a.key, a);
                }
            }
            return function(t, n, a) {
                return n &amp;&amp; e(t.prototype, n), a &amp;&amp; e(t, a), t;
            };
        }(), i = (function(e) {
            e &amp;&amp; e.__esModule;
        }(e("../game/ProjectManager")), function() {
            function e() {
                !function(e, t) {
                    if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
                }(this, e);
            }
            return a(e, null, [ {
                key: "reset",
                value: function(t) {
                    e._log("é‡ç½®ç»Ÿè®¡"), (e.param = {}).pass = t, e.param.ball = 0, e.param.ball_num = 0, 
                    e.param.is_ball = 0, e.param.restart = 0, e.param.skip = 0, e.param.is_skip = 0;
                }
            }, {
                key: "recordBtnSkip",
                value: function() {
                    e._log("è®°å½•ç‚¹å‡»è·³è¿‡"), e.param.skip++;
                }
            }, {
                key: "recordBtnAddBall",
                value: function() {
                    e._log("è®°å½•ç‚¹å‡»åŠ&nbsp;çƒ"), e.param.ball++;
                }
            }, {
                key: "recordExpendBall",
                value: function() {
                    e._log("è®°å½•æ¶ˆè€—çƒæ•°"), e.param.ball_num++;
                }
            }, {
                key: "recordAddBall",
                value: function() {
                    e._log("è®°å½•åŠ&nbsp;çƒ"), e.param.is_ball = 1;
                }
            }, {
                key: "recordRestart",
                value: function() {
                    e._log("è®°å½•é‡å¼€"), e.param.restart++;
                }
            }, {
                key: "recordEnterGame",
                value: function() {
                    e._log("è®°å½•è¿›å…¥æ¸¸æˆ");
                }
            }, {
                key: "sendStatistics",
                value: function(e) {
                    arguments.length &gt; 1 &amp;&amp; void 0 !== arguments[1] &amp;&amp; arguments[1];
                    return;
                }
            }, {
                key: "_log",
                value: function(t) {
                    e.isDebug &amp;&amp; console.log(t);
                }
            } ]), e;
        }());
        n.default = i, i.isDebug = !1;
    }, {
        "../game/ProjectManager": 5
    } ],
    63: [ function(e, t, n) {
        "use strict";
        Object.defineProperty(n, "__esModule", {
            value: !0
        });
        var a = function() {
            function e(e, t) {
                for (var n = 0; n &lt; t.length; n++) {
                    var a = t[n];
                    a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a &amp;&amp; (a.writable = !0), 
                    Object.defineProperty(e, a.key, a);
                }
            }
            return function(t, n, a) {
                return n &amp;&amp; e(t.prototype, n), a &amp;&amp; e(t, a), t;
            };
        }(), i = function() {
            function e() {
                !function(e, t) {
                    if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
                }(this, e), this.frompostion = new Laya.Vector3(), this.tempV3 = new Laya.Vector3(), 
                this.topostion = new Laya.Vector3(), this.moveDistance = new Laya.Vector3(), this.moveObjcet = null, 
                this.moveTime = 0, this.moveValue = 0, this.rotateDistance = new Laya.Vector3(), 
                this.rotateDistance2 = new Laya.Vector3(), this.fromRot = new Laya.Vector3(), this.fromRot2 = new Laya.Vector3(), 
                this.scaleDistance = new Laya.Vector3(), this.fromScale = new Laya.Vector3();
            }
            return a(e, [ {
                key: "onPositionMoveTo",
                value: function(e, t, n, a, i, o) {
                    var r = !(arguments.length &gt; 6 &amp;&amp; void 0 !== arguments[6]) || arguments[6];
                    this.moveDistance = new Laya.Vector3(t.x - e.transform.position.x, t.y - e.transform.position.y, t.z - e.transform.position.z), 
                    e.transform.position.cloneTo(this.frompostion), this.topostion = t.clone(), this.moveObjcet = e, 
                    this.moveTime = n, 0 != n ? (this.startMove(), o ? Laya.Tween.to(this, {
                        moveValue: 1
                    }, this.moveTime, a, Laya.Handler.create(this, this.endMove, [ Laya.Handler.create(i, o) ]), 0, r) : Laya.Tween.to(this, {
                        moveValue: 1
                    }, this.moveTime, a, Laya.Handler.create(this, this.endMove), 0, r)) : this.moveObjcet.transform.position = this.topostion;
                }
            }, {
                key: "startMove",
                value: function() {
                    this.moveValue = 0, Laya.timer.frameLoop(1, this, this.moveUpdate);
                }
            }, {
                key: "endMove",
                value: function(e) {
                    Laya.timer.clear(this, this.moveUpdate), this.moveObjcet.transform.position = this.topostion, 
                    e &amp;&amp; e.method();
                }
            }, {
                key: "moveUpdate",
                value: function() {
                    this.moveObjcet.transform.position = new Laya.Vector3(this.frompostion.x + this.moveDistance.x * this.moveValue, this.frompostion.y + this.moveDistance.y * this.moveValue, this.frompostion.z + this.moveDistance.z * this.moveValue);
                }
            }, {
                key: "onRotationRotateTo",
                value: function(e, t, n, a, i, o) {
                    var r = !(arguments.length &gt; 6 &amp;&amp; void 0 !== arguments[6]) || arguments[6];
                    Laya.Vector3.subtract(t, e.transform.localRotationEuler, this.rotateDistance), e.transform.localRotationEuler.cloneTo(this.fromRot), 
                    this.toRot = t.clone(), this.rotateObjcet = e, this.rotateTime = n, 0 != n ? (this.startRotate(), 
                    o ? Laya.Tween.to(this, {
                        rotateValue: 1
                    }, this.rotateTime, a, Laya.Handler.create(this, this.endRotate, [ Laya.Handler.create(i, o) ]), 0, r) : Laya.Tween.to(this, {
                        rotateValue: 1
                    }, this.rotateTime, a, Laya.Handler.create(this, this.endRotate), 0, r)) : this.rotateObjcet.transform.localRotationEuler = this.toRot;
                }
            }, {
                key: "startRotate",
                value: function() {
                    this.rotateValue = 0, Laya.timer.frameLoop(1, this, this.rotateUpdate);
                }
            }, {
                key: "endRotate",
                value: function(e) {
                    Laya.timer.clear(this, this.rotateUpdate), this.rotateObjcet.transform.localRotationEuler = this.toRot, 
                    e &amp;&amp; e.method();
                }
            }, {
                key: "rotateUpdate",
                value: function() {
                    Laya.Vector3.scale(this.rotateDistance, this.rotateValue, this.tempV3), Laya.Vector3.add(this.fromRot, this.tempV3, this.tempV3);
                    var e = this.rotateObjcet.transform.localRotationEuler;
                    this.tempV3.cloneTo(e), this.rotateObjcet.transform.localRotationEuler = e;
                }
            }, {
                key: "onWorldRotationRotateTo",
                value: function(e, t, n, a, i, o) {
                    var r = !(arguments.length &gt; 6 &amp;&amp; void 0 !== arguments[6]) || arguments[6];
                    Laya.Vector3.subtract(t, e.transform.rotationEuler, this.rotateDistance2), e.transform.rotationEuler.cloneTo(this.fromRot2), 
                    this.toRot2 = t.clone(), this.rotateObjcet = e, this.rotateTime2 = n, 0 != n ? (this.startWorldRotate(), 
                    o ? Laya.Tween.to(this, {
                        wrotateValue: 1
                    }, this.rotateTime2, a, Laya.Handler.create(this, this.endWorldRotate, [ Laya.Handler.create(i, o) ]), 0, r) : Laya.Tween.to(this, {
                        wrotateValue: 1
                    }, this.rotateTime2, a, Laya.Handler.create(this, this.endWorldRotate), 0, r)) : this.rotateObjcet.transform.rotationEuler = this.toRot2;
                }
            }, {
                key: "startWorldRotate",
                value: function() {
                    this.wrotateValue = 0, Laya.timer.frameLoop(1, this, this.WorldRotateUpdate);
                }
            }, {
                key: "endWorldRotate",
                value: function(e) {
                    Laya.timer.clear(this, this.WorldRotateUpdate), this.rotateObjcet.transform.rotationEuler = this.toRot2, 
                    e &amp;&amp; e.method();
                }
            }, {
                key: "WorldRotateUpdate",
                value: function() {
                    Laya.Vector3.scale(this.rotateDistance2, this.wrotateValue, this.tempV3), Laya.Vector3.add(this.fromRot2, this.tempV3, this.tempV3);
                    var e = this.rotateObjcet.transform.rotationEuler;
                    this.tempV3.cloneTo(e), this.rotateObjcet.transform.rotationEuler = e;
                }
            }, {
                key: "onScaleTo",
                value: function(e, t, n, a, i, o) {
                    var r = !(arguments.length &gt; 6 &amp;&amp; void 0 !== arguments[6]) || arguments[6];
                    Laya.Vector3.subtract(t, e.transform.localScale, this.scaleDistance), e.transform.localScale.cloneTo(this.fromScale), 
                    this.toScale = t.clone(), this.scaleObjcet = e, this.scaleTime = n, 0 != n ? (this.startScale(), 
                    o ? Laya.Tween.to(this, {
                        scaleValue: 1
                    }, this.scaleTime, a, Laya.Handler.create(this, this.endScale, [ Laya.Handler.create(i, o) ]), 0, r) : Laya.Tween.to(this, {
                        scaleValue: 1
                    }, this.scaleTime, a, Laya.Handler.create(this, this.endScale), 0, r)) : this.scaleObjcet.transform.localScale = this.toScale;
                }
            }, {
                key: "startScale",
                value: function() {
                    this.scaleValue = 0, Laya.timer.frameLoop(1, this, this.scaleUpdate);
                }
            }, {
                key: "endScale",
                value: function(e) {
                    Laya.timer.clear(this, this.scaleUpdate), this.scaleObjcet.transform.localScale = this.toScale, 
                    e &amp;&amp; e.method();
                }
            }, {
                key: "scaleUpdate",
                value: function() {
                    Laya.Vector3.scale(this.scaleDistance, this.scaleValue, this.tempV3), Laya.Vector3.add(this.fromScale, this.tempV3, this.tempV3);
                    var e = this.scaleObjcet.transform.localScale;
                    this.tempV3.cloneTo(e), this.scaleObjcet.transform.localScale = e;
                }
            } ]), e;
        }();
        n.default = i;
    }, {} ],
    64: [ function(e, t, n) {
        "use strict";
        Object.defineProperty(n, "__esModule", {
            value: !0
        });
        var a = function e() {
            !function(e, t) {
                if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
            }(this, e);
        };
        n.default = a, a.isArrayIndexOut = function(e, t) {
            return null == e || (t &lt; 0 || t &gt;= e.length);
        }, a.getIndexByArray = function(e, t) {
            return a.isArrayIndexOut(e, t) ? null : e[t];
        }, a.removeFromArray = function(e, t) {
            if (e &amp;&amp; t) {
                var n = e.indexOf(t);
                -1 != n &amp;&amp; e.splice(n, 1);
            }
        }, a.tokenSplit = ",", a.parseColor = function(e, t) {
            if (null == e) return t;
            var n = e.split(a.tokenSplit);
            return n.length &lt; 3 ? t : (t.x = parseFloat(n[0]), t.y = parseFloat(n[1]), t.z = parseFloat(n[2]), 
            t);
        }, a.excuteFunc = function(e, t, n, a, i) {
            null != e &amp;&amp; e(t, n, a, i);
        }, a.showTip = function(e) {
            Laya.Browser.onWeiXin ? wx.showToast({
                icon: "none",
                title: e,
                mask: !0
            }) : alert(e);
        }, a.numberRound = function(e, t, n) {
            return e &gt; n ? e = e - n + t : e &lt; t &amp;&amp; (e = n - (t - e)), e;
        }, a.showService = function() {
            Laya.Browser.onWeiXin &amp;&amp; wx.openCustomerServiceConversation({});
        }, a.shakeRots = [ {
            t: 160,
            r: -10
        }, {
            t: 140,
            r: 8
        }, {
            t: 120,
            r: -6
        }, {
            t: 80,
            r: 3
        }, {
            t: 60,
            r: -1
        }, {
            t: 20,
            r: 0
        } ], a.shakeRotsStrong = [ {
            t: 100,
            r: -10
        }, {
            t: 100,
            r: 10
        }, {
            t: 100,
            r: -10
        }, {
            t: 100,
            r: 10
        }, {
            t: 100,
            r: -10
        }, {
            t: 100,
            r: 10
        }, {
            t: 100,
            r: -10
        }, {
            t: 100,
            r: 10
        }, {
            t: 80,
            r: -9
        }, {
            t: 80,
            r: 8
        }, {
            t: 70,
            r: -7
        }, {
            t: 70,
            r: 6
        }, {
            t: 50,
            r: -5
        }, {
            t: 50,
            r: 4
        }, {
            t: 30,
            r: -3
        }, {
            t: 30,
            r: 2
        }, {
            t: 20,
            r: -1
        }, {
            t: 20,
            r: 0
        } ], a._shakeToNext = function(e, t, n, i) {
            if (t.length &lt;= n) i &amp;&amp; i(); else {
                var o = t[n];
                Laya.Tween.to(e, {
                    rotation: o.r
                }, o.t, Laya.Ease.linearIn, Laya.Handler.create(e, function() {
                    a._shakeToNext(e, t, n + 1, i);
                }));
            }
        }, a.shakeIcon = function(e, t) {
            e &amp;&amp; (Laya.Tween.clearAll(e), a._shakeToNext(e, a.shakeRots, 0, t));
        }, a.shakeIconStrong = function(e, t) {
            e &amp;&amp; (Laya.Tween.clearAll(e), a._shakeToNext(e, a.shakeRotsStrong, 0, t));
        }, a.breathLightScales = [ {
            t: 600,
            s: 1
        }, {
            t: 600,
            s: .9
        } ], a._scaleToNext = function(e, t, n, i) {
            if (t.length &lt;= n) i &amp;&amp; i(); else {
                var o = t[n];
                Laya.Tween.to(e, {
                    scaleX: o.s,
                    scaleY: o.s
                }, o.t, Laya.Ease.linearIn, Laya.Handler.create(e, function() {
                    a._scaleToNext(e, t, n + 1, i);
                }));
            }
        }, a.breathLight = function(e, t, n) {
            e &amp;&amp; (Laya.Tween.clearAll(e), a._scaleToNext(e, a.breathLightScales, 0, function() {
                -1 == t ? a.breathLight(e, t, n) : --t &gt; 0 ? a.breathLight(e, t, n) : a.excuteFunc(n);
            }));
        }, a.stopBreathLight = function(e, t) {
            e &amp;&amp; (Laya.Tween.clearAll(e), t &amp;&amp; (e.scaleX = e.scaleY = t));
        }, a.playNormalShoot = function(e) {
            LayaSample.soundMgr.playNormalShoot(e);
        }, a.playInvShoot = function(e) {
            LayaSample.soundMgr.playInvShoot(e);
        }, a.playInvState = function(e) {
            LayaSample.soundMgr.playInvState(e);
        }, a.playSe = function(e) {
            LayaSample.soundMgr.play(e);
        };
    }, {} ],
    65: [ function(e, t, n) {
        "use strict";
        Object.defineProperty(n, "__esModule", {
            value: !0
        });
        var a = function e() {
            !function(e, t) {
                if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
            }(this, e);
        };
        n.default = a, a.Left = 0, a.Right = 1, a.ThinkYouLike = 2, a.PassUI = 2, a.Main = 4, 
        a.Banner = 3, a.getAppListData = function(e, t) {
            if (t &amp;&amp; null != a["appList" + e]) return a["appList" + e];
            var n = [], i = LayaSample.commonData.wxappList[e];
            if (null != i) for (var o in i) {
                var r = i[o];
                for (var s in r) null == r[s] || Laya.Browser.onIOS &amp;&amp; r[s].is_box || n.push(r[s]);
            }
            return a["appList" + e] = n, n;
        }, a._enterScene = null, a.getEnterScene = function() {
            return a._enterScene ? a._enterScene : a._enterScene = LayaSample.commonData &amp;&amp; LayaSample.commonData.launchOptions ? LayaSample.commonData.launchOptions.scene : 0;
        };
    }, {} ],
    66: [ function(e, t, n) {
        "use strict";
        Object.defineProperty(n, "__esModule", {
            value: !0
        });
        var a = function e() {
            !function(e, t) {
                if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
            }(this, e);
        };
        n.default = a, a.mayComponent = function(e, t) {
            if (null != e) {
                var n = e.getComponent(t);
                return null == n &amp;&amp; (n = e.addComponent(t)), n;
            }
        }, a.getMaterial = function(e) {
            return e &amp;&amp; e.meshRenderer ? e.meshRenderer.material : null;
        }, a.samePosition = function(e, t) {
            var n = !(arguments.length &gt; 2 &amp;&amp; void 0 !== arguments[2]) || arguments[2];
            if (e &amp;&amp; t) if (n) {
                var a = t.transform.localPosition;
                e.transform.localPosition.cloneTo(a), t.transform.localPosition = a;
            } else t.transform.position = e.transform.position.clone();
        }, a.sameRotation = function(e, t) {
            var n = !(arguments.length &gt; 2 &amp;&amp; void 0 !== arguments[2]) || arguments[2];
            if (e &amp;&amp; t) if (n) {
                a = t.transform.localRotationEuler;
                e.transform.localRotationEuler.cloneTo(a), t.transform.localRotationEuler = a;
            } else {
                var a = t.transform.rotationEuler;
                e.transform.rotationEuler.cloneTo(a), t.transform.rotationEuler = a;
            }
        }, a.sameScale = function(e, t) {
            var n = !(arguments.length &gt; 2 &amp;&amp; void 0 !== arguments[2]) || arguments[2];
            if (e &amp;&amp; t) if (n) {
                a = t.transform.localScale;
                e.transform.localScale.cloneTo(a), t.transform.localScale = a;
            } else {
                var a = t.transform.scale;
                e.transform.scale.cloneTo(a), t.transform.scale = a;
            }
        }, a.rotate = function(e, t) {
            var n = !(arguments.length &gt; 2 &amp;&amp; void 0 !== arguments[2]) || arguments[2];
            if (null != e) if (n) {
                a = e.transform.localRotationEuler;
                Laya.Vector3.add(a, t, a), e.transform.localRotationEuler = a;
            } else {
                var a = e.transform.rotationEuler;
                Laya.Vector3.add(a, t, a), e.transform.rotationEuler = a;
            }
        }, a.setRotationEuler = function(e, t) {
            if (!(arguments.length &gt; 2 &amp;&amp; void 0 !== arguments[2]) || arguments[2]) {
                n = e.transform.localRotationEuler;
                t.cloneTo(n), e.transform.localRotationEuler = n;
            } else {
                var n = e.transform.rotationEuler;
                t.cloneTo(n), e.transform.rotationEuler = n;
            }
        }, a.setPosition = function(e, t) {
            if (!(arguments.length &gt; 2 &amp;&amp; void 0 !== arguments[2]) || arguments[2]) {
                n = e.transform.localPosition;
                t.cloneTo(n), e.transform.localPosition = n;
            } else {
                var n = e.transform.position;
                rotEuler.cloneTo(n), e.transform.position = n;
            }
        };
    }, {} ],
    67: [ function(e, t, n) {
        "use strict";
        function a(e) {
            return e &amp;&amp; e.__esModule ? e : {
                default: e
            };
        }
        Object.defineProperty(n, "__esModule", {
            value: !0
        });
        var i = function() {
            function e(e, t) {
                for (var n = 0; n &lt; t.length; n++) {
                    var a = t[n];
                    a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a &amp;&amp; (a.writable = !0), 
                    Object.defineProperty(e, a.key, a);
                }
            }
            return function(t, n, a) {
                return n &amp;&amp; e(t.prototype, n), a &amp;&amp; e(t, a), t;
            };
        }(), o = a(e("../project/game/GameManager")), r = a(e("../project/game/ProjectManager")), s = a(e("../project/ui/base/WindowManager")), l = a(e("../script/manager/StorageMgr")), u = a(e("../script/manager/ConfigMgr")), c = a(e("../script/manager/NetMgr")), h = a(e("../script/manager/WxMgr")), f = a(e("../script/manager/SoundMgr")), d = a(e("../script/Utils")), y = a(e("../project/utils/ResManager")), p = a(e("../project/scene/GameObjectManager")), m = a(e("../project/ui/main/MainUI")), v = a(e("../GameConfig")), g = (a(e("../project/ui/adIcon/WxAppAdFilter")), 
        a(e("../project/utils/UtilsCommon")), function(e) {
            function t() {
                !function(e, t) {
                    if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
                }(this, t);
                var e = function(e, t) {
                    if (!e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
                    return !t || "object" != typeof t &amp;&amp; "function" != typeof t ? e : t;
                }(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this));
                window.LayaSample = {}, window.Global = {}, LayaSample.ui = {};
                var n = Laya.Browser.clientWidth / v.default.width;
                return LayaSample.ui.offsetTop = Laya.Browser.clientHeight - v.default.height * n, 
                LayaSample.ui.bannerAdWidth = 750, LayaSample.ui.bannerAdHeight = 250, LayaSample.ui.desigeHeight = 1338, 
                LayaSample.glEvent = new Laya.Sprite(), LayaSample.glEvent.size(0, 0), LayaSample.storageMgr = new l.default(), 
                LayaSample.configMgr = new u.default(), LayaSample.commonData = l.default.commonData, 
                LayaSample.netMgr = c.default, LayaSample.wxMgr = h.default, LayaSample.wxMgr.init(!r.default.inst().isLocalGame), 
                LayaSample.soundMgr = f.default, LayaSample.soundMgr.init(), LayaSample.utils = new d.default(), 
                e._loadCount = 1, Laya.Browser.onWeiXin &amp;&amp; !r.default.inst().isLocalGame &amp;&amp; (e._loadCount += .1), 
                e._loadNum = 0, e;
            }
            return function(e, t) {
                if ("function" != typeof t &amp;&amp; null !== t) throw new TypeError("Super expression must either be null or a function, not " + typeof t);
                e.prototype = Object.create(t &amp;&amp; t.prototype, {
                    constructor: {
                        value: e,
                        enumerable: !1,
                        writable: !0,
                        configurable: !0
                    }
                }), t &amp;&amp; (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);
            }(t, Laya.Scene), i(t, [ {
                key: "onAwake",
                value: function() {
                    this.initData(), this.initUI(), this.initEvent();
                }
            }, {
                key: "initData",
                value: function() {}
            }, {
                key: "initUI",
                value: function() {
                    this.startBg = this.getChildByName("start"), this.labProgress.text = "0%", this.barProgress.value = 0;
                }
            }, {
                key: "initEvent",
                value: function() {
                    var e = this;
                    Laya.stage.on(Laya.Event.MOUSE_DOWN, this, this.onMouseDown), Laya.stage.on(Laya.Event.MOUSE_MOVE, this, this.onMouseMove), 
                    Laya.stage.on(Laya.Event.MOUSE_UP, this, this.onMouseUp), Laya.Browser.onWeiXin ? (wx.onShow(function() {
                        e.onFocus();
                    }), wx.onHide(function() {
                        e.onBlur();
                    })) : (this.stage.on(Laya.Event.FOCUS, this, this.onFocus), this.stage.on(Laya.Event.BLUR, this, this.onBlur)), 
                    LayaSample.glEvent.on("load_finish_event", this, this.onLoadFinish), LayaSample.glEvent.on("share_back_event", this, this.onShareBackEvent), 
                    r.default.inst().isLocalGame || LayaSample.wxMgr.login();
                }
            }, {
                key: "onOpened",
                value: function() {
                    this.loadSubPackage(), Laya.timer.frameLoop(1, this, this.onFrame), this._fixUI();
                }
            }, {
                key: "_fixUI",
                value: function() {
                    var e = this.stage.height / this.stage.designHeight;
                    e &gt; 1 &amp;&amp; (this.bg &amp;&amp; (this.bg.scaleX = e, this.bg.scaleY = e), this.middle &amp;&amp; (this.middle.y = this.stage.designHeight / 2 * e), 
                    this.bottom &amp;&amp; (this.bottom.y = this.stage.designHeight * e));
                }
            }, {
                key: "loadRes",
                value: function() {
                    var e = this;
                    y.default.init(), this.res = y.default.getReloadRes();
                    var t = this.res;
                    Laya.timer.frameOnce(1, this, function() {
                        Laya.loader.create(t, Laya.Handler.create(e, e.onLoadFinish, [ {
                            target: "3dres"
                        } ], !1), Laya.Handler.create(e, e.onLoading, null, !1));
                    }), Laya.loader.on(Laya.Event.ERROR, this, function(e) {
                        console.error("load 3dres error:", e);
                    });
                }
            }, {
                key: "onLoadFinish",
                value: function(e) {
                    "3dres" == e.target ? this._loadNum++ : this._loadNum += .1;
                }
            }, {
                key: "onShareBackEvent",
                value: function(e) {
                    null != r.default.inst().shareHelper &amp;&amp; r.default.inst().shareHelper.useCustomCallback &amp;&amp; (e.isShare ? r.default.inst().shareHelper.onShareSuccess() : r.default.inst().shareHelper.onShareFail());
                }
            }, {
                key: "onLoading",
                value: function(e) {
                    var t = (this._loadNum + e) / this._loadCount;
                    if(t&gt;=1){
                        this.labProgress.text = "99%";
                    }else{
                        this.labProgress.text = Math.floor(100 * t) + "%";
                    }
                     this.barProgress.value = t;
                }
            }, {
                key: "onFrame",
                value: function() {
                    this._loadNum &gt;= this._loadCount &amp;&amp; (this.loadEnterGameRes(), Laya.timer.clear(this, this.onFrame));
                }
            }, {
                key: "loadSubPackage",
                value: function() {
                    this.loadRes();
                }
            }, {
                key: "loadEnterGameRes",
                value: function() {
                    this.barProgress.value = 0.99;
                    this.labProgress.text = 99 + "%";
                    Laya.loader.load("cnf.json",Laya.Handler.create(this,(res)=&gt;{
                        platform.getInstance().yadstartup('Fire-Balls',()=&gt;(this.onConfigLoaded()));//zs
                    }))
                   
                    
                }
            }, {
                key: "onConfigLoaded",
                value: function() {
                    var yad  = new Laya.Image();//zs
                    yad.scale(0.8,0.8);
                    yad.skin = "common/yad.png";
                    yad.centerX = 0;
                    yad.bottom = 10;
                    yad.zOrder = 1e3;
                    yad.on(Laya.Event.MOUSE_DOWN,yad,()=&gt;{platform.getInstance().navigate("GAME","LOGO")})
                    Laya.stage.addChild(yad);
                    window.yad   = yad;
                    var e = this, t = y.default.getReloadUIs();
                    y.default.loadSceneAndRuntime(t, function(t) {
                        var n = Laya.loader.getRes("res/3dres/gameScene.ls"), a = Laya.loader.getRes("res/3dres/resources.lh"), i = Laya.loader.getRes("res/skinRes/resourcesExtends.lh");
                        r.default.inst().init(), p.default.inst.init(n, a, i), o.default.inst().attachGoManager(p.default.inst), 
                        m.default.inst.show(), e.removeSelf(), o.default.inst().cotinueProgress();
                    });
                }
            }, {
                key: "onMouseDown",
                value: function() {}
            }, {
                key: "onMouseMove",
                value: function() {}
            }, {
                key: "onMouseUp",
                value: function() {}
            }, {
                key: "onFocus",
                value: function() {
                    null != r.default.inst().shareHelper &amp;&amp; r.default.inst().shareHelper.onFocus(), 
                    s.default.inst().onFocus();
                }
            }, {
                key: "onBlur",
                value: function() {
                    null != r.default.inst().shareHelper &amp;&amp; r.default.inst().shareHelper.onBlur();
                }
            }, {
                key: "isCanControllerGame",
                value: function() {
                    return !1;
                }
            } ]), t;
        }());
        n.default = g;
    }, {
        "../GameConfig": 1,
        "../project/game/GameManager": 3,
        "../project/game/ProjectManager": 5,
        "../project/scene/GameObjectManager": 11,
        "../project/ui/adIcon/WxAppAdFilter": 36,
        "../project/ui/base/WindowManager": 41,
        "../project/ui/main/MainUI": 46,
        "../project/utils/ResManager": 58,
        "../project/utils/UtilsCommon": 64,
        "../script/Utils": 68,
        "../script/manager/ConfigMgr": 69,
        "../script/manager/NetMgr": 70,
        "../script/manager/SoundMgr": 71,
        "../script/manager/StorageMgr": 72,
        "../script/manager/WxMgr": 73
    } ],
    68: [ function(e, t, n) {
        "use strict";
        Object.defineProperty(n, "__esModule", {
            value: !0
        });
        var a = function() {
            function e(e, t) {
                for (var n = 0; n &lt; t.length; n++) {
                    var a = t[n];
                    a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a &amp;&amp; (a.writable = !0), 
                    Object.defineProperty(e, a.key, a);
                }
            }
            return function(t, n, a) {
                return n &amp;&amp; e(t.prototype, n), a &amp;&amp; e(t, a), t;
            };
        }(), i = function() {
            function e() {
                !function(e, t) {
                    if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
                }(this, e), e.inst = this;
            }
            return a(e, [ {
                key: "addClickEvent",
                value: function(e, t, n, a) {
                    if (e.offAllCaller(t), e instanceof Laya.Button) {
                        e.on(Laya.Event.CLICK, t, function(e) {
                            e.stopPropagation(), n &amp;&amp; n.call(t, e), (0 === a || a) &amp;&amp; LayaSample.soundMgr.playRootMusic(a);
                        });
                    } else {
                        e.anchorX, e.anchorY, e.x, e.y;
                        var i = 1 * e.scaleX, o = 1 * e.scaleX;
                        e.on(Laya.Event.MOUSE_DOWN, t, function(t) {
                            t.stopPropagation(), Laya.Tween.to(e, {
                                scaleX: .9,
                                scaleY: .9
                            }, 60);
                        });
                        e.on(Laya.Event.MOUSE_UP, t, function(r) {
                            r.stopPropagation(), Laya.Tween.to(e, {
                                scaleX: i,
                                scaleY: o
                            }, 60), n &amp;&amp; n.call(t, r), (0 === a || a) &amp;&amp; LayaSample.soundMgr.playRootMusic(a);
                        });
                        e.on(Laya.Event.MOUSE_OUT, t, function(t) {
                            t.stopPropagation(), Laya.Tween.to(e, {
                                scaleX: i,
                                scaleY: o
                            }, 60);
                        });
                    }
                }
            }, {
                key: "tweenShake",
                value: function(e, t) {
                    var n = new Laya.TimeLine(), a = e.pivotX;
                    e.pivotX = e.width / 2, n.addLabel("shake1", 0).to(e, {
                        rotation: e.rotation + 5
                    }, 50, null, 0).addLabel("shake2", 0).to(e, {
                        rotation: e.rotation - 6
                    }, 50, null, 0).addLabel("shake3", 0).to(e, {
                        rotation: e.rotation - 13
                    }, 50, null, 0).addLabel("shake4", 0).to(e, {
                        rotation: e.rotation + 3
                    }, 50, null, 0).addLabel("shake5", 0).to(e, {
                        rotation: e.rotation - 5
                    }, 50, null, 0).addLabel("shake6", 0).to(e, {
                        rotation: e.rotation + 2
                    }, 50, null, 0).addLabel("shake7", 0).to(e, {
                        rotation: e.rotation - 8
                    }, 50, null, 0).addLabel("shake8", 0).to(e, {
                        rotation: e.rotation + 3
                    }, 50, null, 0).addLabel("shake9", 0).to(e, {
                        rotation: 0
                    }, 50, null, 0), t ? Laya.timer.once(500, this, function() {
                        n.destroy(), e.rotation = 0, e.pivotX = a;
                    }) : n.on(Laya.Event.COMPLETE, this, function() {
                        n.destroy(), e.rotation = 0, e.pivotX = a;
                    }), n.play(0, !0);
                }
            } ]), e;
        }();
        n.default = i;
    }, {} ],
    69: [ function(e, t, n) {
        "use strict";
        Object.defineProperty(n, "__esModule", {
            value: !0
        });
        var a = function() {
            function e(e, t) {
                for (var n = 0; n &lt; t.length; n++) {
                    var a = t[n];
                    a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a &amp;&amp; (a.writable = !0), 
                    Object.defineProperty(e, a.key, a);
                }
            }
            return function(t, n, a) {
                return n &amp;&amp; e(t.prototype, n), a &amp;&amp; e(t, a), t;
            };
        }(), i = function() {
            function e() {
                !function(e, t) {
                    if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
                }(this, e);
            }
            return a(e, [ {
                key: "init",
                value: function() {}
            }, {
                key: "load3DRes",
                value: function(e, t) {
                    Laya.loader.create(e, null, Laya.Handler.create(this, this.onLoading, null, !1), !1), 
                    Laya.loader.on(Laya.Event.ERROR, this, null);
                }
            }, {
                key: "clear3DRes",
                value: function(e, t) {
                    for (var n = 0; n &lt; e.length; ++n) {
                        var a = Laya.loader.getRes(e[n].url);
                        a &amp;&amp; a.releaseResource(!0), Laya.Loader.clearRes(e[n].url, !0);
                    }
                }
            } ]), e;
        }();
        n.default = i;
    }, {} ],
    70: [ function(e, t, n) {
        "use strict";
        function a(e) {
            return e &amp;&amp; e.__esModule ? e : {
                default: e
            };
        }
        Object.defineProperty(n, "__esModule", {
            value: !0
        });
        var i = function() {
            function e(e, t) {
                for (var n = 0; n &lt; t.length; n++) {
                    var a = t[n];
                    a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a &amp;&amp; (a.writable = !0), 
                    Object.defineProperty(e, a.key, a);
                }
            }
            return function(t, n, a) {
                return n &amp;&amp; e(t.prototype, n), a &amp;&amp; e(t, a), t;
            };
        }(), o = a(e("../plug/MD5")), r = a(e("../plug/Dict")), s = function() {
            function e() {
                !function(e, t) {
                    if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
                }(this, e);
            }
            return i(e, null, [ {
                key: "Request",
                value: function(t, n, a) {
                    if (e.token || -1 != t.indexOf("temporaryLogin")) {
                        var i = new Laya.HttpRequest();
                        i.once(Laya.Event.COMPLETE, this, this.Response), i.once(Laya.Event.ERROR, this, this.errorHandler), 
                        i.on(Laya.Event.PROGRESS, this, this.progressHandler), e.messageDict.set(t, {
                            method: t,
                            parm: n,
                            cb: a,
                            httpObj: i
                        });
                        var o = this.host + t, r = this.setParmData(n);
                        i.send(o, r, "post", "text");
                    }
                }
            }, {
                key: "setParmData",
                value: function(t) {
                    var n = this.apiKey;
                    t.apiKey = n, t.version = this.version, t.timestamp = Date.parse(new Date()) / 1e3, 
                    t.apiSign = "", e.token &amp;&amp; (t.token = e.token);
                    var a = "", i = new Array();
                    for (var r in t) i.push(r);
                    i = i.sort();
                    for (var s = 0; s &lt; i.length; s++) a += encodeURIComponent(t[i[s]]);
                    var l = o.default.hex_hmac_md5(this.apiSecret, a);
                    return t.apiSign = l, t;
                }
            }, {
                key: "errorHandler",
                value: function(e) {
                    console.error("HTTP é”™è¯¯ï¼š", e), LayaSample.wxMgr &amp;&amp; (console.log("é‡è¿ž..."), this.reLogin());
                }
            }, {
                key: "clearRequist",
                value: function(t) {
                    for (var n in e.httpQueue) n == t &amp;&amp; delete e.httpQueue[n];
                }
            }, {
                key: "reLogin",
                value: function() {
                    this._reqCount += 1, this._reqCount &lt; 7 ? (console.error("ç½‘ç»œé”™è¯¯ï¼Œå°è¯•é‡è¿žç¬¬ " + this._reqCount + " æ¬¡"), 
                    setTimeout(function(e) {
                        LayaSample.wxMgr.login();
                    }, 1e3 * this._reqCount)) : LayaSample.wxMgr.showToast("ç½‘ç»œå‡ºçŽ°é”™è¯¯ï¼Œè¯·ç¨åŽå†è¯•", 7e3);
                }
            }, {
                key: "progressHandler",
                value: function(e) {}
            }, {
                key: "Response",
                value: function(t) {
                    var n = JSON.parse(t), a = n.path, i = e.messageDict.get(a);
                    i &amp;&amp; i.cb &amp;&amp; i.cb(n), 200 == n.code &amp;&amp; "v20/common/temporaryLogin" != a ? (this._requData = i, 
                    this.reLogin()) : ("v20/common/temporaryLogin" == a &amp;&amp; 0 == n.code &amp;&amp; this._requData &amp;&amp; (this._requData.httpObj.http.abort(), 
                    LayaSample.netMgr.Request(this._requData.method, this._requData.parm, this._requData.cb)), 
                    this._requData = null, this.clearRequist(a)), this._reqCount = 0;
                }
            } ]), e;
        }();
        n.default = s, s.httpQueue = {}, s._reqCount = 0, s.version = 10, s.host = "",
        s.resService = "", s.apiKey = "tFMi9IClBkAmj462nMMydc6fIOnE2bUqxHf", 
        s.apiSecret = "T8CdUIEGLptDsrMgaWVNgGTcW3JNFh7iu9h", s.token = null, s.messageDict = new r.default();
    }, {
        "../plug/Dict": 74,
        "../plug/MD5": 75
    } ],
    71: [ function(e, t, n) {
        "use strict";
        function a(e) {
            return e &amp;&amp; e.__esModule ? e : {
                default: e
            };
        }
        Object.defineProperty(n, "__esModule", {
            value: !0
        });
        var i = function() {
            function e(e, t) {
                for (var n = 0; n &lt; t.length; n++) {
                    var a = t[n];
                    a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a &amp;&amp; (a.writable = !0), 
                    Object.defineProperty(e, a.key, a);
                }
            }
            return function(t, n, a) {
                return n &amp;&amp; e(t.prototype, n), a &amp;&amp; e(t, a), t;
            };
        }(), o = a(e("../../project/utils/UtilsCommon")), r = a(e("./NetMgr")), s = a(e("../../project/utils/ResManager")), l = function() {
            function e() {
                !function(e, t) {
                    if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
                }(this, e);
            }
            return i(e, null, [ {
                key: "init",
                value: function() {
                    var t = this;
                    if (e.musicStr = r.default.resService + s.default.resVersion + "/", e.normalShootStr = r.default.resService + s.default.resVersion + "/res/Sounds/scoreDestroy.mp3", 
                    e.invShootStr = r.default.resService + s.default.resVersion + "/res/Sounds/invShoot.mp3", 
                    e.invStateStr = r.default.resService + s.default.resVersion + "/res/Sounds/xuli.mp3", 
                    Laya.Browser.onWeiXin) {
                        e.bgm = wx.createInnerAudioContext(), (e.normalShoot = wx.createInnerAudioContext()).loop = !0, 
                        e.normalShoot.onPlay(function() {
                            t.isStopNormal &amp;&amp; e.stopFixedSe(e.normalShoot);
                        }), (e.invShoot = wx.createInnerAudioContext()).loop = !0, e.invShoot.onPlay(function() {
                            t.isStopInv &amp;&amp; e.stopFixedSe(e.invShoot);
                        }), (e.invState = wx.createInnerAudioContext()).loop = !0, e.invState.volume = .5, 
                        e.ses = [], e.sesCount = 4, e.wxSeIndex = 0;
                        for (var n = 0; n &lt; e.sesCount; n++) e.ses.push(wx.createInnerAudioContext());
                    }
                    Laya.SoundManager.autoReleaseSound = !1;
                }
            }, {
                key: "playNormalShoot",
                value: function(t) {
                    t ? (this.isStopNormal = !1, e.playFixedSe(e.normalShoot, e.normalShootStr)) : (this.isStopNormal = !0, 
                    e.stopFixedSe(e.normalShoot));
                }
            }, {
                key: "playInvShoot",
                value: function(t) {
                    t ? (this.isStopInv = !1, e.playFixedSe(e.invShoot, e.invShootStr)) : (this.isStopInv = !0, 
                    e.stopFixedSe(e.invShoot));
                }
            }, {
                key: "playInvState",
                value: function(t) {
                    t ? e.playFixedSe(e.invState, e.invStateStr) : e.stopFixedSe(e.invState);
                }
            }, {
                key: "playFixedSe",
                value: function(e, t) {
                    LayaSample.storageMgr.isPlaySound() &amp;&amp; Laya.Browser.onWeiXin &amp;&amp; e &amp;&amp; (e.src || (e.src = t), 
                    e.play());
                }
            }, {
                key: "stopFixedSe",
                value: function(e) {
                    Laya.Browser.onWeiXin &amp;&amp; e &amp;&amp; e.stop();
                }
            }, {
                key: "play",
                value: function(t) {
                    if (LayaSample.storageMgr.isPlaySound()) if (Laya.Browser.onWeiXin) {
                        var n = e.ses[e.wxSeIndex];
                        null != n &amp;&amp; (n.src = e.musicStr + t, n.play()), e.wxSeIndex++, e.wxSeIndex = o.default.numberRound(e.wxSeIndex, 0, e.sesCount - 1);
                    } else Laya.SoundManager.playSound(t, 1);
                }
            }, {
                key: "playRootMusic",
                value: function(e) {}
            }, {
                key: "playBgm",
                value: function(e) {
                    LayaSample.storageMgr.isPlaySound() &amp;&amp; (trace(e), Laya.SoundManager.playMusic(e, 0));
                }
            }, {
                key: "stop",
                value: function(e) {
                    Laya.Browser.onWeiXin &amp;&amp; 0 == e &amp;&amp; this._attackMusic.stop();
                }
            } ]), e;
        }();
        n.default = l;
    }, {
        "../../project/utils/ResManager": 58,
        "../../project/utils/UtilsCommon": 64,
        "./NetMgr": 70
    } ],
    72: [ function(e, t, n) {
        "use strict";
        Object.defineProperty(n, "__esModule", {
            value: !0
        });
        var a = function() {
            function e(e, t) {
                for (var n = 0; n &lt; t.length; n++) {
                    var a = t[n];
                    a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a &amp;&amp; (a.writable = !0), 
                    Object.defineProperty(e, a.key, a);
                }
            }
            return function(t, n, a) {
                return n &amp;&amp; e(t.prototype, n), a &amp;&amp; e(t, a), t;
            };
        }(), i = function() {
            function e() {
                !function(e, t) {
                    if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
                }(this, e), this._userData = null, this._userDataKey = "userData", this.init();
            }
            return a(e, [ {
                key: "init",
                value: function() {
                    this._userData = {
                        isPlaySound: !0,
                        isNoAds: !1,
                        levelID: 0,
                        isShake: !1,
                        highscore:0
                    }, this.readStorage(), this.initGameStatus(), void 0 == this._userData.isNoAds &amp;&amp; (this._userData.isNoAds = !1);
                }
            }, {
                key: "readStorage",
                value: function() {
                    var e = Laya.LocalStorage.getItem(this._userDataKey);
                    e &amp;&amp; (this._userData = JSON.parse(e));
                }
            }, {
                key: "writeStorage",
                value: function() {
                    this._userData &amp;&amp; Laya.LocalStorage.setItem(this._userDataKey, JSON.stringify(this._userData));
                }
            }, {
                key: "removeStorage",
                value: function() {
                    Laya.LocalStorage.removeItem(this._userDataKey);
                }
            }, {
                key: "isNoAds",
                value: function() {
                    return this._userData.isNoAds;
                }
            }, {
                key: "setNoAds",
                value: function(e) {
                    this._userData.isNoAds = e, this.writeStorage();
                }
            }, {
                key: "isShake",
                value: function() {
                    return this._userData.isShake;
                }
            }, {
                key: "setShake",
                value: function(e) {
                    this._userData.isShake = e, this.writeStorage();
                }
            }, {
                key: "setHighscore",
                value: function(e) {
                    this._userData.highsocre = e, this.writeStorage();
                }
            }, {
                key: "getHighscore",
                value: function() {
                    if(!this._userData.highsocre){
                        this._userData.highsocre = 0;
                    }
                    return this._userData.highsocre;
                }
            }, {
                key: "isPlaySound",
                value: function() {
                    return this._userData.isPlaySound;
                }
            }, {
                key: "setPlaySound",
                value: function(e) {
                    this._userData.isPlaySound = e, this.writeStorage();
                }
            }, {
                key: "initGameStatus",
                value: function() {
                    this._userData.gameStatus || (this._userData.gameStatus = {
                        level: 1,
                        score: 0,
                        gold: 0
                    }), this._userData.signinTime || (this._userData.signinTime = 0), this.writeStorage();
                }
            }, {
                key: "isSignin",
                value: function() {
                    var e = !0, t = this._userData.signinTime;
                    return e = t &lt; 2 || !(t &lt; 3) &amp;&amp; Math.floor(t / 86400) == Math.floor(Date.parse(new Date()) / 864e5), 
                    e;
                }
            }, {
                key: "setSigninTime",
                value: function(e) {
                    this._userData.signinTime = e, this.writeStorage();
                }
            }, {
                key: "getSigninTime",
                value: function() {
                    return this._userData.signinTime;
                }
            }, {
                key: "getGameStatus",
                value: function() {
                    return this._userData.gameStatus;
                }
            }, {
                key: "setLevel",
                value: function(e) {
                    e &gt; this._userData.gameStatus.lv &amp;&amp; (this._userData.gameStatus.lv = e, this.writeStorage());
                }
            }, {
                key: "addGold",
                value: function(e) {
                    this._userData.gameStatus.gold += e, this.writeStorage();
                }
            }, {
                key: "setScore",
                value: function(e) {
                    e &gt; this._userData.gameStatus.score &amp;&amp; (this._userData.gameStatus.score = e, this.writeStorage());
                }
            } ]), e;
        }();
        n.default = i, i.commonData = {
            currentVersion: 2,
            showRevivalCard: !1,
            needWxAuthorize: !0,
            userInfo: {},
            existVideoAd: !0,
            existBannerAd: !0,
            bannerAdID: "adunit-55f2c8ebad60acd6",
            videoAdID: "adunit-621ea86be1449994",
            bannerChangeTime: 5e3,
            isNoAds: !1,
            uibottomTweenTimer: 0,
            bannerAdDelay: 0,
            shareInfo: {},
            launchOptions: {},
            wxappList: {},
            wxysysInfo: {},
            roleSkinList: [],
            pillarSkinList: [],
            signin: null,
            isCheckSignin: !1,
            score: 0
        };
    }, {} ],
    73: [ function(e, t, n) {
        "use strict";
        function a(e) {
            return e &amp;&amp; e.__esModule ? e : {
                default: e
            };
        }
        Object.defineProperty(n, "__esModule", {
            value: !0
        });
        var i = function() {
            function e(e, t) {
                for (var n = 0; n &lt; t.length; n++) {
                    var a = t[n];
                    a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a &amp;&amp; (a.writable = !0), 
                    Object.defineProperty(e, a.key, a);
                }
            }
            return function(t, n, a) {
                return n &amp;&amp; e(t.prototype, n), a &amp;&amp; e(t, a), t;
            };
        }(), o = a(e("../../project/ui/adIcon/WxAppAdFilter")), r = a(e("../../project/ui/over/OverUI")), s = function() {
            function e() {
                !function(e, t) {
                    if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
                }(this, e);
            }
            return i(e, null, [ {
                key: "init",
                value: function() {
                    var e = !(arguments.length &gt; 0 &amp;&amp; void 0 !== arguments[0]) || arguments[0];
                    if (this.preTime = 0, this.buttonAuthorize1 = null, this.videoAd = null, this.bannerAd = null, 
                    this._onShowEvent = [], this._shareStartTime = new Date().getTime() + 86e3, Laya.Browser.onWeiXin) {
                        var t = wx.getSystemInfoSync();
                        LayaSample.commonData.wxysysInfo = t, Global.statusBarHeight = t.statusBarHeight, 
                        console.log("benchmarkLevel:", t.benchmarkLevel), this._regisiterWXCallback(), this.getLaunchOption(), 
                        this.showShareMenuWithTicket(!0), e &amp;&amp; this.createWxInfoBtn1();
                    }
                }
            }, {
                key: "subShowEvent",
                value: function(e, t) {
                    var n = {
                        cb: e,
                        self: t
                    };
                    this._onShowEvent.push(n);
                }
            }, {
                key: "unsubShowEvent",
                value: function(e) {
                    for (var t in this._onShowEvent) this._onShowEvent[t].cb == e &amp;&amp; this._onShowEvent.splice(t, 1);
                }
            }, {
                key: "login",
                value: function() {
                    if (Laya.Browser.onWeiXin) {
                        var e = this;
                        wx.login({
                            success: function(t) {
                                var n = t.code, a = LayaSample.commonData.launchOptions, i = {};
                                i.code = n, a.scene &amp;&amp; (i.scene_id = a.scene);
                                a.referrerInfo &amp;&amp; a.referrerInfo.appId &amp;&amp; (i.appid = a.referrerInfo.appId), a.query &amp;&amp; (a.query.channel ? i.channel = a.query.channel : a.referrerInfo &amp;&amp; a.referrerInfo.extraData &amp;&amp; a.referrerInfo.extraData.channel &amp;&amp; (i.channel = a.referrerInfo.extraData.channel), 
                                a.query.share_id &amp;&amp; (i.share_id = parseInt(a.query.share_id)), a.query.id &amp;&amp; (i.share_user_id = parseInt(a.query.id))), 
                                i.late_version = LayaSample.commonData.currentVersion, LayaSample.netMgr.Request("v20/common/temporaryLogin", i, function(t) {
                                    if (0 !== t.code) console.error("code login fault. code:" + t.code); else {
                                        var n = t.result;
                                        "" == n.userInfo.avatar ? LayaSample.commonData.needWxAuthorize = !0 : (LayaSample.commonData.needWxAuthorize = !1, 
                                        e.showAuthorizeBtn(!1)), Global.obtain_prop = n.shareConfig.obtain_prop, e.setLoginInfo(n), 
                                        e.setUserInfo(n), e.getSkinData(), e._regisiterWXShareCallback(), LayaSample.glEvent.event("load_finish_event", {
                                            target: "login"
                                        });
                                    }
                                });
                            }
                        });
                    }
                }
            }, {
                key: "createWxInfoBtn1",
                value: function() {
                    var e = this, t = LayaSample.commonData.wxysysInfo, n = t.screenWidth, a = t.screenHeight, i = (t.screenWidth - n) / 2, o = (t.screenHeight - a) / 2;
                    trace("åˆ›å»ºç™»å½•ç•Œé¢"), wx.login({
                        success: function(t) {
                            trace("å¾®ä¿¡ç™»å½•æˆåŠŸ");
                            var r = {
                                left: i,
                                top: o,
                                width: n,
                                height: a,
                                lineHeight: a,
                                backgroundColor: "#00000000",
                                color: "#ffffffff",
                                textAlign: "center",
                                fontSize: 16,
                                borderRadius: 4
                            };
                            wx.createUserInfoButton &amp;&amp; (e.buttonAuthorize1 = wx.createUserInfoButton({
                                type: "text",
                                text: "",
                                style: r
                            }), e.buttonAuthorize1.onTap(function(t) {
                                var n = new Date().getTime(), a = Math.floor((n - e.preTime) / 1e3);
                                if (e.preTime = n, !(a &lt; 1)) if (t.userInfo) {
                                    console.log("ç”¨æˆ·æŽˆæƒç™»å½•");
                                    var i = {};
                                    i.encrypted_data = t.encryptedData, i.iv = t.iv, LayaSample.commonData.needWxAuthorize = !1;
                                    LayaSample.netMgr.Request("v10/common/authorizedLogin", i, function(t) {
                                        0 !== t.code ? console.error("authorized login fault. code:" + t.code) : e.setUserInfo(t.result);
                                    }), e.showAuthorizeBtn(!1);
                                } else console.log("æŽˆæƒå–æ¶ˆ"), LayaSample.commonData.needWxAuthorize = !1, e.showAuthorizeBtn(!1);
                            }));
                        }
                    });
                }
            }, {
                key: "getSkinData",
                value: function(e) {
                    return;
                }
            }, {
                key: "setLoginInfo",
                value: function(e) {
                    var t = e.shareConfig;
                    LayaSample.commonData.showRevivalCard = !0, LayaSample.commonData.showRevivalCard = "0" != t.share, 
                    LayaSample.commonData.uibottomTweenTimer = 0 == t.user_delay ? t.move_time : 0, 
                    LayaSample.commonData.bannerAdDelay = 0 == t.user_delay ? t.latency_time : 0, LayaSample.commonData.delayOffsetX = 0 == t.late_way, 
                    LayaSample.commonData.bannerAdID = null == t.banner_id ? "adunit-55f2c8ebad60acd6" : t.banner_id, 
                    LayaSample.commonData.videoAdID = null == t.video_id ? "adunit-621ea86be1449994" : t.video_id, 
                    LayaSample.commonData.bannerChangeTime = null == t.banner_interval ? 5e3 : t.banner_interval;
                    var n = e.shareContent, a = n.length, i = 0;
                    LayaSample.commonData.shareInfo = {};
                    for (var r = 0; r &lt; a; ++r) i = n[r].share_type, LayaSample.commonData.shareInfo[i] || (LayaSample.commonData.shareInfo[i] = []), 
                    LayaSample.commonData.shareInfo[i].push(n[r]);
                    LayaSample.commonData.wxappList = {};
                    var s = o.default.filter(e.wxappList), l = !0, u = !1, c = void 0;
                    try {
                        for (var h, f = s[Symbol.iterator](); !(l = (h = f.next()).done); l = !0) {
                            var d = h.value, y = LayaSample.commonData.wxappList[d.category];
                            y || (y = {}, LayaSample.commonData.wxappList[d.category] = y), null == d.position ? (null == y[0] &amp;&amp; (y[0] = []), 
                            y[0].push(d)) : (y[d.position] || (y[d.position] = []), console.log(d), this.Judge(d.app_id) &amp;&amp; y[d.position].push(d));
                        }
                    } catch (e) {
                        u = !0, c = e;
                    } finally {
                        try {
                            !l &amp;&amp; f.return &amp;&amp; f.return();
                        } finally {
                            if (u) throw c;
                        }
                    }
                    if (null != e.userSkin) for (var p = 0; p &lt; e.userSkin.length; ++p) 0 == e.userSkin[p].skin_type &amp;&amp; (Global.roleId = e.userSkin[p].skin_id - 1, 
                    Global.oriRoleId = Global.roleId), 1 == e.userSkin[p].skin_type &amp;&amp; (Global.guardId = e.userSkin[p].skin_id - 1, 
                    Global.oriGuardId = Global.guardId);
                }
            }, {
                key: "Judge",
                value: function(e) {
                    return -1 == Laya.loader.getRes("game.json").navigateToMiniProgramAppIdList.indexOf(e) &amp;&amp; console.error("åº•éƒ¨Bannerå‰ç«¯ç™½åå•ä¸åŒ…å«åŽ"), 
                    !1;
                }
            }, {
                key: "setUserInfo",
                value: function(e) {
                    LayaSample.netMgr.token = e.token, LayaSample.commonData.userInfo = e.userInfo, 
                    Global.gameCoin = e.userInfo.gold, Global.userSkin = e.userSkin, 0 != e.userInfo.last_sign_time &amp;&amp; LayaSample.storageMgr.setSigninTime(e.userInfo.last_sign_time), 
                    LayaSample.commonData.isCheckSignin = !0;
                    var t = LayaSample.storageMgr.getGameStatus(), n = e.userInfo.pass &lt; t.level ? t.level : e.userInfo.pass, a = 0;
                    a = null == e.userInfo.max_score ? t.score : e.userInfo.max_score &lt; t.score ? t.score : e.userInfo.max_score, 
                    Global.gameLevel = n, LayaSample.glEvent.event("updateCoin", {}), 0 != n ? this.settlementLevel(n, a) : this._submitScroe(a);
                }
            }, {
                key: "showAuthorizeBtn",
                value: function(e) {
                    this.buttonAuthorize1 &amp;&amp; (e ? this.buttonAuthorize1.show() : this.buttonAuthorize1.hide());
                }
            }, {
                key: "postMessage",
                value: function(e) {
                    Laya.Browser.onWeiXin &amp;&amp; wx.postMessage(e);
                }
            }, {
                key: "getLaunchOption",
                value: function() {
                    LayaSample.commonData.launchOptions = wx.getLaunchOptionsSync();
                }
            }, {
                key: "showToast",
                value: function(e, t) {
                    window.wx &amp;&amp; wx.showToast({
                        title: e,
                        duration: t,
                        icon: "none"
                    });
                }
            }, {
                key: "hideToast",
                value: function() {
                    window.wx &amp;&amp; wx.hideToast();
                }
            }, {
                key: "_regisiterWXShareCallback",
                value: function() {
                    var e = this;
                    Laya.Browser.onWeiXin &amp;&amp; LayaSample.netMgr.token &amp;&amp; wx.onShareAppMessage(function() {
                        var t = e.getShareByType(1), n = {
                            title: t.share_title,
                            imageUrl: t.share_img,
                            query: "share_id=" + t.share_id + "&amp;share_type=" + t.share_type + "&amp;id=" + LayaSample.commonData.userInfo.id,
                            success: function(e) {},
                            fail: function() {}
                        };
                        return e.upShareInfo(t.share_id), n;
                    });
                }
            }, {
                key: "settlementLevel",
                value: function(e, t, n) {
                    var a = LayaSample.storageMgr.getGameStatus();
                    if (a.score &lt;= t || a.level &lt;= e || a.gold &gt; 0) {
                        var i = {};
                        i.pass = e, i.score = t, i.use_time = n, LayaSample.storageMgr.setLevel(e), LayaSample.netMgr.Request("v10/user/pass", i, function(t) {
                            0 == t.code &amp;&amp; (Global.gameCoin = t.result.total_gold, LayaSample.glEvent.event("updateCoin", {}), 
                            LayaSample.commonData.userInfo.pass = e, LayaSample.commonData.userInfo.max_score = t.result);
                        });
                    }
                    a.score &lt;= t &amp;&amp; (this._submitScroe(t), LayaSample.storageMgr.setScore(t));
                }
            }, {
                key: "buySkin",
                value: function(e, t) {
                    var n = {};
                    n.type = e, LayaSample.netMgr.Request("v10/skin/randBuy", n, function(e) {
                        void 0 != t &amp;&amp; t(e);
                    });
                }
            }, {
                key: "changeSkin",
                value: function(e, t) {
                    var n = {};
                    n.skin_type = e, n.skin_id = t, LayaSample.netMgr.Request("v10/skin/switchSkin", n, function(e) {});
                }
            }, {
                key: "worldRank",
                value: function(e) {
                    LayaSample.netMgr.Request("v20/user/worldRanking", {}, function(t) {
                        0 == t.code ? LayaSample.glEvent.event("draw_world_rank_event", {
                            data: t.result,
                            page: e
                        }) : console.error("get world ranking error:", t, e);
                    });
                }
            }, {
                key: "getMobileInfo",
                value: function() {
                    Laya.Browser.onWeiXin &amp;&amp; wx.getSystemInfo({});
                }
            }, {
                key: "_submitScroe",
                value: function(e) {
                    if (Laya.Browser.onWeiXin) {
                        trace("æäº¤åˆ†æ•°åˆ°å¾®ä¿¡æŽ’è¡Œæ¦œ");
                        wx.getOpenDataContext().postMessage({
                            cmd: "submit_scroe",
                            score: e
                        }), LayaSample.glEvent.event("submit_scroe_event", {});
                    }
                }
            }, {
                key: "showFriendRank",
                value: function(e) {
                    if (Laya.Browser.onWeiXin) {
                        var t = e ? "open_friend_rank" : "close_friend_rank";
                        wx.getOpenDataContext().postMessage({
                            cmd: t
                        }), LayaSample.glEvent.event("show_friend_rank_event", {
                            isShow: e
                        });
                    }
                }
            }, {
                key: "destroyFriendRank",
                value: function() {
                    if (Laya.Browser.onWeiXin) {
                        wx.getOpenDataContext().postMessage({
                            cmd: "destroy_friend_rank"
                        });
                    }
                }
            }, {
                key: "showLiteRank",
                value: function(e) {
                    if (Laya.Browser.onWeiXin) {
                        var t = e ? "open_lite_rank" : "close_lite_rank";
                        wx.getOpenDataContext().postMessage({
                            cmd: t
                        }), LayaSample.glEvent.event("show_lite_rank_event", {
                            isShow: e
                        });
                    }
                }
            }, {
                key: "showOverFriendTips",
                value: function(e) {
                    if (Laya.Browser.onWeiXin) {
                        var t = e ? "open_over_friend" : "close_over_friend";
                        wx.getOpenDataContext().postMessage({
                            cmd: t,
                            score: Global.gameScore
                        }), LayaSample.glEvent.event("over_friend_event", {
                            isShow: e
                        });
                    }
                }
            }, {
                key: "showLoopFriendTips",
                value: function(e) {
                    if (Laya.Browser.onWeiXin) {
                        var t = e ? "open_loop_friend" : "close_loop_friend";
                        wx.getOpenDataContext().postMessage({
                            cmd: t,
                            score: Global.gameScore
                        }), LayaSample.glEvent.event("loop_over_event", {
                            isShow: e
                        });
                    }
                }
            }, {
                key: "onFrientMouseEvent",
                value: function(e) {
                    Laya.Browser.onWeiXin &amp;&amp; wx.getOpenDataContext().postMessage(e);
                }
            }, {
                key: "mobileShakingShort",
                value: function() {
                    LayaSample.storageMgr.isShake() &amp;&amp; Laya.Browser.onWeiXin &amp;&amp; wx.vibrateShort({
                        success: function(e) {}
                    });
                }
            }, {
                key: "mobileShakingLong",
                value: function() {
                    LayaSample.storageMgr.isShake() &amp;&amp; Laya.Browser.onWeiXin &amp;&amp; wx.vibrateLong({
                        success: function(e) {}
                    });
                }
            }, {
                key: "showShareMenuWithTicket",
                value: function(e) {
                    window.wx &amp;&amp; wx.showShareMenu({
                        withShareTicket: e
                    });
                }
            }, {
                key: "_regisiterWXCallback",
                value: function() {
                    Laya.Browser.onWeiXin &amp;&amp; (wx.offShow(this.onShowEvent), wx.onShow(this.onShowEvent), 
                    wx.offHide(this.onHideEvent), wx.onHide(this.onHideEvent));
                }
            }, {
                key: "onShowEvent",
                value: function(e) {
                    var t = LayaSample.wxMgr;
                    if (LayaSample.glEvent.event("wx_wake_event", {}), t._statuShareGame) {
                        t._statuShareGame = !1;
                        var n = !(new Date().getTime() - t._shareStartTime &lt; 2e3);
                        n &amp;&amp; t.upShareInfo(t._shareId), LayaSample.glEvent.event("share_back_event", {
                            isShare: n,
                            shareId: t._shareId
                        }), t._shareStartTime = new Date().getTime() + 86e3;
                    }
                    var a = !0, i = !1, o = void 0;
                    try {
                        for (var r, s = t._onShowEvent[Symbol.iterator](); !(a = (r = s.next()).done); a = !0) {
                            var l = r.value;
                            l.cb.call(l.self);
                        }
                    } catch (e) {
                        i = !0, o = e;
                    } finally {
                        try {
                            !a &amp;&amp; s.return &amp;&amp; s.return();
                        } finally {
                            if (i) throw o;
                        }
                    }
                }
            }, {
                key: "onHideEvent",
                value: function() {
                    LayaSample.wxMgr;
                    LayaSample.glEvent.event("wx_sleep_event", {});
                }
            }, {
                key: "showBannerAd",
                value: function() {
                    Laya.Browser.onWeiXin &amp;&amp; (this.bannerAd || this.prevBanner) &amp;&amp; (LayaSample.commonData.isNoAds || (this.prevBanner ? this.prevBanner.show().then(function() {
                        LayaSample.glEvent.event("ad_show_event", {
                            adtype: "banner"
                        });
                    }).catch(function(e) {}) : this.bannerAd.show().then(function() {
                        LayaSample.glEvent.event("ad_show_event", {
                            adtype: "banner"
                        });
                    }).catch(function(e) {})));
                }
            }, {
                key: "hideBannerAd",
                value: function() {
                    this.prevBanner &amp;&amp; this.prevBanner.hide(), this.bannerAd &amp;&amp; this.bannerAd.hide();
                }
            }, {
                key: "showVideoAd",
                value: function(t) {
                    var n = this;
                    Laya.Browser.onWeiXin &amp;&amp; n.videoAd &amp;&amp; (n._show_video_type = t, n.upViewVideoInfo(t, 0), 
                    n.videoAd.show().then(function() {}).catch(function(t) {
                        n.videoAd.load(), e.onShowVideoFail &amp;&amp; e.onShowVideoFail();
                    }));
                }
            }, {
                key: "loadVideo",
                value: function() {
                    this.videoAd &amp;&amp; this.videoAd.load();
                }
            }, {
                key: "setBannerAdWidth",
                value: function(e) {
                    if (this.bannerAd &amp;&amp; e) {
                        var t = (LayaSample.commonData.wxysysInfo.screenWidth - e) / 2;
                        this.bannerAd.style.width = e, this.bannerAd.style.left = t;
                    }
                }
            }, {
                key: "setBannerAdTop",
                value: function(e) {
                    this.bannerAd &amp;&amp; void 0 !== e &amp;&amp; (this.bannerAd.style.top = e);
                }
            }, {
                key: "getBannerAd",
                value: function() {
                    if (Laya.Browser.onWeiXin) {
                        if (LayaSample.commonData.isNoAds) {
                            if (this._onceBannerAd) return;
                            this._onceBannerAd = !0;
                        } else this._onceBannerAd = !1;
                        void 0 != this.prevBanner &amp;&amp; this.prevBanner.destroy(), this.prevBanner = this.bannerAd, 
                        this.bannerAd = null;
                        var e = LayaSample.commonData.wxysysInfo, t = e.screenWidth, n = (e.screenWidth - t) / 2, a = .806 * e.screenHeight;
                        void 0 != this.bannerAd &amp;&amp; this.bannerAd.destroy(), this.bannerAd = wx.createBannerAd({
                            adUnitId: LayaSample.commonData.bannerAdID,
                            style: {
                                left: n,
                                top: a,
                                width: t
                            }
                        }), this.bannerAd.onLoad(function() {
                            console.log("banneråŠ&nbsp;è½½æˆåŠŸ"), LayaSample.glEvent.event("ad_load_event", {
                                adtype: "banner",
                                isLoad: !0
                            });
                        }), this.bannerAd.onError(function(e) {
                            console.error("banneråŠ&nbsp;è½½é”™è¯¯ï¼š", e), LayaSample.glEvent.event("ad_load_event", {
                                adtype: "banner",
                                isLoad: !1
                            });
                        });
                        var i = this.bannerAd;
                        this.bannerAd.onResize(function(t) {
                            if (i) {
                                var n = i.style.realHeight + .1;
                                if (!e.model.startsWith("iPhone X")) {
                                    var a = 212 * Laya.stage.height / Laya.stage.designHeight, o = i.style.realHeight * Laya.stage.height / e.screenHeight / a;
                                    o &gt; 1 &amp;&amp; (i.style.width = i.style.realWidth / o, n /= o, i.style.height = i.style.realHeight / o, 
                                    i.style.width &gt;= 300 ? i.style.left = (e.screenWidth - i.style.width) / 2 : i.style.left = (e.screenWidth - 300) / 2);
                                }
                                e.model.startsWith("iPhone X") &amp;&amp; (n += 40 / Laya.Browser.height * LayaSample.ui.desigeHeight), 
                                n += 20 / Laya.Browser.height * LayaSample.ui.desigeHeight, i.style.top = e.screenHeight - n, 
                                LayaSample.ui.bannerAdWidth = i.style.realWidth, LayaSample.ui.bannerAdHeight = n, 
                                LayaSample.glEvent.event("ad_resize_event", {
                                    adtype: "banner",
                                    bannerAdHeight: n,
                                    bannerAdWidth: i.style.realWidth
                                });
                            }
                        });
                    }
                }
            }, {
                key: "getVideoAd",
                value: function() {
                    var e = this;
                    Laya.Browser.onWeiXin &amp;&amp; (e.videoAd || (e.videoAd = wx.createRewardedVideoAd({
                        adUnitId: LayaSample.commonData.videoAdID
                    }), e.videoAd.onLoad(function() {
                        console.log("videoåŠ&nbsp;è½½æˆåŠŸ"), LayaSample.glEvent.event("ad_load_event", {
                            adtype: "video",
                            isLoad: !0
                        });
                    }), e.videoAd.onError(function(e) {
                        console.error("videoåŠ&nbsp;è½½é”™è¯¯:", e), LayaSample.glEvent.event("ad_load_event", {
                            adtype: "video",
                            isLoad: !1
                        });
                    }), e.videoAd.onClose(function(t) {
                        var n = !!(t &amp;&amp; t.isEnded || void 0 === t);
                        n &amp;&amp; e.upViewVideoInfo(e._show_video_type, 1), LayaSample.glEvent.event("ad_video_close_event", {
                            isEnded: n
                        });
                    })));
                }
            }, {
                key: "wxEnterOtherGame",
                value: function(e, t, n) {
                    if (Laya.Browser.onWeiXin) {
                        var a = LayaSample.commonData.wxappList[t], i = null, o = "", s = -1, l = -1, u = null;
                        if (null == n &amp;&amp; (n = 0), a &amp;&amp; (u = a[n]), u) {
                            var c = !0, h = !1, f = void 0;
                            try {
                                for (var d, y = u[Symbol.iterator](); !(c = (d = y.next()).done); c = !0) {
                                    var p = d.value;
                                    if (p.app_id == e) {
                                        s = p.wx_id, l = p.ad_id, i = p.parameter, o = p.app_path;
                                        break;
                                    }
                                }
                            } catch (e) {
                                h = !0, f = e;
                            } finally {
                                try {
                                    !c &amp;&amp; y.return &amp;&amp; y.return();
                                } finally {
                                    if (h) throw f;
                                }
                            }
                        }
                        var m = {};
                        if (null != i) {
                            var v = i.split("=");
                            v.length &gt; 1 &amp;&amp; (m[v[0]] = v[1]);
                        }
                        var g = e.replace(" ", "");
                        wx.navigateToMiniProgram({
                            appId: g,
                            path: o,
                            extraData: m,
                            success: function(e) {
                                -1 != s || -1 != l ? LayaSample.netMgr.Request("v10/common/clickWxapp", {
                                    wx_id: s,
                                    ad_id: l,
                                    type: 1
                                }, function(e) {
                                    0 !== e.code &amp;&amp; console.error("log goto wxapp fault. code:" + e.code);
                                }) : console.error("v10/common/clickWxapp not find id,for appid:", g);
                            },
                            fail: function(e) {
                                r.default.inst.doFocusTop(), -1 != s || -1 != l ? LayaSample.netMgr.Request("v10/common/clickWxapp", {
                                    wx_id: s,
                                    ad_id: l,
                                    type: 0
                                }, function(e) {
                                    0 !== e.code &amp;&amp; console.error("log goto wxapp fault. code:" + e.code);
                                }) : console.error("v10/common/clickWxapp not find id,for appid:", g);
                            }
                        });
                    }
                }
            }, {
                key: "shareFriend",
                value: function(e, t) {
                    if (Laya.Browser.onWeiXin) {
                        var n = void 0, a = this.getShareByType(e);
                        t &amp;&amp; (this._shareStartTime = new Date().getTime(), this._statuShareGame = !0, this._shareId = a.share_id), 
                        n = {
                            title: a.share_title,
                            imageUrl: a.share_img,
                            query: "share_id=" + a.share_id + "&amp;share_type=" + a.share_type + "&amp;id=" + LayaSample.commonData.userInfo.id,
                            success: function(e) {},
                            fail: function() {},
                            complete: function() {}
                        }, wx.shareAppMessage(n);
                    }
                }
            }, {
                key: "getShareByType",
                value: function(e) {
                    var t = LayaSample.commonData.shareInfo[e], n = {
                        share_title: "",
                        share_img: "",
                        share_id: 1
                    };
                    return t &amp;&amp; (n = t[Math.floor(Math.random() * t.length)]), n;
                }
            }, {
                key: "upViewVideoInfo",
                value: function(e, t) {
                    var n = {};
                    n.ad_type = e, n.type = 0 === t ? 0 : 1, LayaSample.netMgr.Request("v10/user/viewVideo", n, function(e) {
                        0 !== e.code &amp;&amp; console.error("upload video info error.");
                    });
                }
            }, {
                key: "upShareInfo",
                value: function(e) {
                    var t = {};
                    t.share_id = e, LayaSample.netMgr.Request("v10/user/recordShare", t, function(e) {
                        0 !== e.code &amp;&amp; console.error("upload user share fault.");
                    });
                }
            }, {
                key: "getSignData",
                value: function(e, t) {
                    LayaSample.netMgr.Request("v10/activity/signPrize", {}, function(n) {
                        0 !== n.code ? console.error("get sign data fault.") : (LayaSample.commonData.signin = n.result, 
                        t &amp;&amp; t.call(e, n.result));
                    });
                }
            }, {
                key: "getSignPrize",
                value: function(e, t, n) {
                    var a = this, i = {};
                    i.double = n ? 1 : 0, LayaSample.netMgr.Request("v10/activity/getSignPrize", i, function(n) {
                        0 !== n.code ? a.showToast(n.msg, 2e3) : (LayaSample.commonData.signin = n.result, 
                        t &amp;&amp; t.call(e, n.result));
                    });
                }
            }, {
                key: "getDiskData",
                value: function(e, t) {
                    var n = this;
                    LayaSample.netMgr.Request("v10/activity/turntablePrize", {}, function(a) {
                        0 !== a.code ? n.showToast(a.msg, 2e3) : t &amp;&amp; t.call(e, a.result);
                    });
                }
            }, {
                key: "getDiskPrize",
                value: function(e, t, n, a) {
                    var i = this, o = {};
                    o.type = n, 1 == n &amp;&amp; (o.share_content_id = a), LayaSample.netMgr.Request("v10/activity/luckDraw", o, function(n) {
                        0 !== n.code ? i.showToast(n.msg, 2e3) : t &amp;&amp; t.call(e, n.result);
                    });
                }
            }, {
                key: "getDiskDouble",
                value: function(e, t, n) {
                    var a = this;
                    LayaSample.netMgr.Request("v10/activity/prizeDouble", n, function(n) {
                        0 !== n.code ? a.showToast(n.msg, 2e3) : t &amp;&amp; t.call(e, n.result);
                    });
                }
            } ]), e;
        }();
        n.default = s;
    }, {
        "../../project/ui/adIcon/WxAppAdFilter": 36,
        "../../project/ui/over/OverUI": 48
    } ],
    74: [ function(e, t, n) {
        "use strict";
        Object.defineProperty(n, "__esModule", {
            value: !0
        });
        var a = function() {
            function e(e, t) {
                for (var n = 0; n &lt; t.length; n++) {
                    var a = t[n];
                    a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a &amp;&amp; (a.writable = !0), 
                    Object.defineProperty(e, a.key, a);
                }
            }
            return function(t, n, a) {
                return n &amp;&amp; e(t.prototype, n), a &amp;&amp; e(t, a), t;
            };
        }(), i = function() {
            function e() {
                !function(e, t) {
                    if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
                }(this, e), this.items = {};
            }
            return a(e, [ {
                key: "has",
                value: function(e) {
                    return e in this.items;
                }
            }, {
                key: "set",
                value: function(e, t) {
                    this.items[e] = t;
                }
            }, {
                key: "remove",
                value: function(e) {
                    return !!this.has(e) &amp;&amp; (delete this.items[e], !0);
                }
            }, {
                key: "get",
                value: function(e) {
                    return this.has(e) ? this.items[e] : void 0;
                }
            }, {
                key: "values",
                value: function() {
                    var e = [];
                    for (var t in this.items) this.has(t) &amp;&amp; e.push(this.items[t]);
                    return e;
                }
            }, {
                key: "getItems",
                value: function() {
                    return this.items;
                }
            }, {
                key: "size",
                value: function() {
                    return Object.keys(this.items).length;
                }
            }, {
                key: "clear",
                value: function() {
                    this.items = {};
                }
            }, {
                key: "keys",
                value: function() {
                    return Object.keys(this.items);
                }
            } ]), e;
        }();
        n.default = i;
    }, {} ],
    75: [ function(e, t, n) {
        "use strict";
        Object.defineProperty(n, "__esModule", {
            value: !0
        });
        var a = function() {
            function e(e, t) {
                for (var n = 0; n &lt; t.length; n++) {
                    var a = t[n];
                    a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a &amp;&amp; (a.writable = !0), 
                    Object.defineProperty(e, a.key, a);
                }
            }
            return function(t, n, a) {
                return n &amp;&amp; e(t.prototype, n), a &amp;&amp; e(t, a), t;
            };
        }(), i = function() {
            function e() {
                !function(e, t) {
                    if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
                }(this, e);
            }
            return a(e, null, [ {
                key: "hex_md5",
                value: function(e) {
                    return this.binl2hex(this.core_md5(this.str2binl(e), e.length * this.chrsz));
                }
            }, {
                key: "b64_md5",
                value: function(e) {
                    return this.binl2b64(this.core_md5(this.str2binl(e), e.length * this.chrsz));
                }
            }, {
                key: "str_md5",
                value: function(e) {
                    return this.binl2str(this.core_md5(this.str2binl(e), e.length * this.chrsz));
                }
            }, {
                key: "hex_hmac_md5",
                value: function(e, t) {
                    return this.binl2hex(this.core_hmac_md5(e, t));
                }
            }, {
                key: "b64_hmac_md5",
                value: function(e, t) {
                    return this.binl2b64(this.core_hmac_md5(e, t));
                }
            }, {
                key: "str_hmac_md5",
                value: function(e, t) {
                    return this.binl2str(this.core_hmac_md5(e, t));
                }
            }, {
                key: "md5_vm_test",
                value: function() {
                    return "900150983cd24fb0d6963f7d28e17f72" == this.hex_md5("abc");
                }
            }, {
                key: "core_md5",
                value: function(e, t) {
                    e[t &gt;&gt; 5] |= 128 &lt;&lt; t % 32, e[14 + (t + 64 &gt;&gt;&gt; 9 &lt;&lt; 4)] = t;
                    for (var n = 1732584193, a = -271733879, i = -1732584194, o = 271733878, r = 0; r &lt; e.length; r += 16) {
                        var s = n, l = a, u = i, c = o;
                        n = this.md5_ff(n, a, i, o, e[r + 0], 7, -680876936), o = this.md5_ff(o, n, a, i, e[r + 1], 12, -389564586), 
                        i = this.md5_ff(i, o, n, a, e[r + 2], 17, 606105819), a = this.md5_ff(a, i, o, n, e[r + 3], 22, -1044525330), 
                        n = this.md5_ff(n, a, i, o, e[r + 4], 7, -176418897), o = this.md5_ff(o, n, a, i, e[r + 5], 12, 1200080426), 
                        i = this.md5_ff(i, o, n, a, e[r + 6], 17, -1473231341), a = this.md5_ff(a, i, o, n, e[r + 7], 22, -45705983), 
                        n = this.md5_ff(n, a, i, o, e[r + 8], 7, 1770035416), o = this.md5_ff(o, n, a, i, e[r + 9], 12, -1958414417), 
                        i = this.md5_ff(i, o, n, a, e[r + 10], 17, -42063), a = this.md5_ff(a, i, o, n, e[r + 11], 22, -1990404162), 
                        n = this.md5_ff(n, a, i, o, e[r + 12], 7, 1804603682), o = this.md5_ff(o, n, a, i, e[r + 13], 12, -40341101), 
                        i = this.md5_ff(i, o, n, a, e[r + 14], 17, -1502002290), a = this.md5_ff(a, i, o, n, e[r + 15], 22, 1236535329), 
                        n = this.md5_gg(n, a, i, o, e[r + 1], 5, -165796510), o = this.md5_gg(o, n, a, i, e[r + 6], 9, -1069501632), 
                        i = this.md5_gg(i, o, n, a, e[r + 11], 14, 643717713), a = this.md5_gg(a, i, o, n, e[r + 0], 20, -373897302), 
                        n = this.md5_gg(n, a, i, o, e[r + 5], 5, -701558691), o = this.md5_gg(o, n, a, i, e[r + 10], 9, 38016083), 
                        i = this.md5_gg(i, o, n, a, e[r + 15], 14, -660478335), a = this.md5_gg(a, i, o, n, e[r + 4], 20, -405537848), 
                        n = this.md5_gg(n, a, i, o, e[r + 9], 5, 568446438), o = this.md5_gg(o, n, a, i, e[r + 14], 9, -1019803690), 
                        i = this.md5_gg(i, o, n, a, e[r + 3], 14, -187363961), a = this.md5_gg(a, i, o, n, e[r + 8], 20, 1163531501), 
                        n = this.md5_gg(n, a, i, o, e[r + 13], 5, -1444681467), o = this.md5_gg(o, n, a, i, e[r + 2], 9, -51403784), 
                        i = this.md5_gg(i, o, n, a, e[r + 7], 14, 1735328473), a = this.md5_gg(a, i, o, n, e[r + 12], 20, -1926607734), 
                        n = this.md5_hh(n, a, i, o, e[r + 5], 4, -378558), o = this.md5_hh(o, n, a, i, e[r + 8], 11, -2022574463), 
                        i = this.md5_hh(i, o, n, a, e[r + 11], 16, 1839030562), a = this.md5_hh(a, i, o, n, e[r + 14], 23, -35309556), 
                        n = this.md5_hh(n, a, i, o, e[r + 1], 4, -1530992060), o = this.md5_hh(o, n, a, i, e[r + 4], 11, 1272893353), 
                        i = this.md5_hh(i, o, n, a, e[r + 7], 16, -155497632), a = this.md5_hh(a, i, o, n, e[r + 10], 23, -1094730640), 
                        n = this.md5_hh(n, a, i, o, e[r + 13], 4, 681279174), o = this.md5_hh(o, n, a, i, e[r + 0], 11, -358537222), 
                        i = this.md5_hh(i, o, n, a, e[r + 3], 16, -722521979), a = this.md5_hh(a, i, o, n, e[r + 6], 23, 76029189), 
                        n = this.md5_hh(n, a, i, o, e[r + 9], 4, -640364487), o = this.md5_hh(o, n, a, i, e[r + 12], 11, -421815835), 
                        i = this.md5_hh(i, o, n, a, e[r + 15], 16, 530742520), a = this.md5_hh(a, i, o, n, e[r + 2], 23, -995338651), 
                        n = this.md5_ii(n, a, i, o, e[r + 0], 6, -198630844), o = this.md5_ii(o, n, a, i, e[r + 7], 10, 1126891415), 
                        i = this.md5_ii(i, o, n, a, e[r + 14], 15, -1416354905), a = this.md5_ii(a, i, o, n, e[r + 5], 21, -57434055), 
                        n = this.md5_ii(n, a, i, o, e[r + 12], 6, 1700485571), o = this.md5_ii(o, n, a, i, e[r + 3], 10, -1894986606), 
                        i = this.md5_ii(i, o, n, a, e[r + 10], 15, -1051523), a = this.md5_ii(a, i, o, n, e[r + 1], 21, -2054922799), 
                        n = this.md5_ii(n, a, i, o, e[r + 8], 6, 1873313359), o = this.md5_ii(o, n, a, i, e[r + 15], 10, -30611744), 
                        i = this.md5_ii(i, o, n, a, e[r + 6], 15, -1560198380), a = this.md5_ii(a, i, o, n, e[r + 13], 21, 1309151649), 
                        n = this.md5_ii(n, a, i, o, e[r + 4], 6, -145523070), o = this.md5_ii(o, n, a, i, e[r + 11], 10, -1120210379), 
                        i = this.md5_ii(i, o, n, a, e[r + 2], 15, 718787259), a = this.md5_ii(a, i, o, n, e[r + 9], 21, -343485551), 
                        n = this.safe_add(n, s), a = this.safe_add(a, l), i = this.safe_add(i, u), o = this.safe_add(o, c);
                    }
                    return Array(n, a, i, o);
                }
            }, {
                key: "md5_cmn",
                value: function(e, t, n, a, i, o) {
                    return this.safe_add(this.bit_rol(this.safe_add(this.safe_add(t, e), this.safe_add(a, o)), i), n);
                }
            }, {
                key: "md5_ff",
                value: function(e, t, n, a, i, o, r) {
                    return this.md5_cmn(t &amp; n | ~t &amp; a, e, t, i, o, r);
                }
            }, {
                key: "md5_gg",
                value: function(e, t, n, a, i, o, r) {
                    return this.md5_cmn(t &amp; a | n &amp; ~a, e, t, i, o, r);
                }
            }, {
                key: "md5_hh",
                value: function(e, t, n, a, i, o, r) {
                    return this.md5_cmn(t ^ n ^ a, e, t, i, o, r);
                }
            }, {
                key: "md5_ii",
                value: function(e, t, n, a, i, o, r) {
                    return this.md5_cmn(n ^ (t | ~a), e, t, i, o, r);
                }
            }, {
                key: "core_hmac_md5",
                value: function(e, t) {
                    var n = this.str2binl(e);
                    n.length &gt; 16 &amp;&amp; (n = this.core_md5(n, e.length * this.chrsz));
                    for (var a = Array(16), i = Array(16), o = 0; o &lt; 16; o++) a[o] = 909522486 ^ n[o], 
                    i[o] = 1549556828 ^ n[o];
                    var r = this.core_md5(a.concat(this.str2binl(t)), 512 + t.length * this.chrsz);
                    return this.core_md5(i.concat(r), 640);
                }
            }, {
                key: "safe_add",
                value: function(e, t) {
                    var n = (65535 &amp; e) + (65535 &amp; t);
                    return (e &gt;&gt; 16) + (t &gt;&gt; 16) + (n &gt;&gt; 16) &lt;&lt; 16 | 65535 &amp; n;
                }
            }, {
                key: "bit_rol",
                value: function(e, t) {
                    return e &lt;&lt; t | e &gt;&gt;&gt; 32 - t;
                }
            }, {
                key: "str2binl",
                value: function(e) {
                    for (var t = Array(), n = (1 &lt;&lt; this.chrsz) - 1, a = 0; a &lt; e.length * this.chrsz; a += this.chrsz) t[a &gt;&gt; 5] |= (e.charCodeAt(a / this.chrsz) &amp; n) &lt;&lt; a % 32;
                    return t;
                }
            }, {
                key: "binl2str",
                value: function(e) {
                    for (var t = "", n = (1 &lt;&lt; this.chrsz) - 1, a = 0; a &lt; 32 * e.length; a += this.chrsz) t += String.fromCharCode(e[a &gt;&gt; 5] &gt;&gt;&gt; a % 32 &amp; n);
                    return t;
                }
            }, {
                key: "binl2hex",
                value: function(e) {
                    for (var t = this.hexcase ? "0123456789ABCDEF" : "0123456789abcdef", n = "", a = 0; a &lt; 4 * e.length; a++) n += t.charAt(e[a &gt;&gt; 2] &gt;&gt; a % 4 * 8 + 4 &amp; 15) + t.charAt(e[a &gt;&gt; 2] &gt;&gt; a % 4 * 8 &amp; 15);
                    return n;
                }
            }, {
                key: "binl2b64",
                value: function(e) {
                    for (var t = "", n = 0; n &lt; 4 * e.length; n += 3) for (var a = (e[n &gt;&gt; 2] &gt;&gt; n % 4 * 8 &amp; 255) &lt;&lt; 16 | (e[n + 1 &gt;&gt; 2] &gt;&gt; (n + 1) % 4 * 8 &amp; 255) &lt;&lt; 8 | e[n + 2 &gt;&gt; 2] &gt;&gt; (n + 2) % 4 * 8 &amp; 255, i = 0; i &lt; 4; i++) 8 * n + 6 * i &gt; 32 * e.length ? t += this.b64pad : t += "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(a &gt;&gt; 6 * (3 - i) &amp; 63);
                    return t;
                }
            } ]), e;
        }();
        n.default = i, i.hexcase = 0, i.b64pad = "", i.chrsz = 8;
    }, {} ]
}, {}, [ 2 ]);</pre></body></html>