<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">!function () {
    "use strict";
    !function (t) {
        var e = t.Laya, i = e.AmbientMode, s = e.Animator, n = e.AtlasInfoManager, a = e.BaseCamera, h = e.BlinnPhongMaterial, o = e.Box, r = (e.Button,
            e.Camera), c = e.ClassUtils, l = (e.Clip, e.DirectionLight), m = e.Ease, d = e.Event, g = (e.FrameAnimation,
                e.Handler), p = e.Image, u = e.Label, _ = e.Loader, I = e.MeshSprite3D, b = e.Pool, S = e.Quaternion, w = e.Rectangle, v = e.ResourceVersion, y = e.Rigidbody3D, f = e.Scene3D, C = e.Script3D, x = e.SoundManager, U = (e.Sprite,
                    e.Sprite3D), k = e.Stage, A = e.Stat, B = e.TimeLine, M = e.Tween, L = e.URL, T = e.Utils, D = (e.VScrollBar,
                        e.Vector3), P = e.Vector4, G = e.View;
        class E {
            constructor() { }
            static init() {
                c.regClass;
            }
        }
        e.GameConfig = E, E.width = 720, E.height = 1280, E.scaleMode = "showall", E.screenMode = "none",
            E.alignV = "middle", E.alignH = "center", E.startScene = "Views/LoadingView.scene", E.sceneRoot = "",
            E.debug = !1, E.stat = !1, E.physicsDebug = !1, E.exportSceneToJson = !0, E.__init$ = function () {
                E.init();
                FKGames.init({
                    debug: true,
                    appName: "",
                    gamemonetizeId: "9gkthc4hifqls98twj7ze3xq3rhxhy44",
                    gamedistributionId: "e3446ec3bba04a72b7f927847cfb9b17",
                    complete: () =&gt; {
                        console.log("----------åˆå§‹åŒ–æˆåŠŸ!!!----------");
                    }
                });
            };
        class X {
            constructor() { }
            static initAdapter() {
                this.getPlatform(), this.platform &amp;&amp; (e.Browser.window.zjSdk &amp;&amp; (this.isUseSDK = !0),
                    this.platform.onShow(() =&gt; { }), this.platform.onHide(() =&gt; { }));
            }
            static getPlatform() {
                e.Browser.window.wx &amp;&amp; !e.Browser.window.tt ? this.platform = e.Browser.window.wx : e.Browser.window.tt ? this.platform = e.Browser.window.tt : e.Browser.window.qg &amp;&amp; (e.Browser.onQGMiniGame || e.Browser.onVVMiniGame) ? this.platform = e.Browser.window.qg : e.Browser.window.qq &amp;&amp; e.Browser.onQQMiniGame &amp;&amp; (this.platform = e.Browser.window.qq);
            }
            static isPlatformIOS() {
                return (!this.platform || this.platform != e.Browser.window.qq || !e.Browser.onAndroid) &amp;&amp; (!this.platform || this.platform != e.Browser.window.qg);
            }
            static loadSubpackages(t) {
                X.subpackages.length &lt;= 0 ? t &amp;&amp; t() : this.platform &amp;&amp; (this.platform == e.Browser.window.wx || this.platform == e.Browser.window.qq || this.platform == e.Browser.window.tt || this.platform == e.Browser.window.qg) ? X.loadsubpackage(0, t) : t &amp;&amp; t();
            }
            static loadsubpackage(t, e) {
                this.platform.loadSubpackage({
                    name: X.subpackages[t],
                    success: function (i) {
                        (t += 1) &lt; X.subpackages.length ? X.loadsubpackage(t, e) : e &amp;&amp; e();
                    },
                    fail: function (t) { }
                });
            }
            static enginStart() {
                console.log("zjSdk -&gt; enginStart."), this.isUseSDK &amp;&amp; e.Browser.window.zjSdk.enginStart();
            }
            static gameBegin(t) {
                console.log("zjSdk -&gt; gameBegin."), this.isUseSDK ? e.Browser.window.zjSdk.gameBegin(t) : t &amp;&amp; t();
            }
            static showMain(t = {}) {
                console.log("zjSdk -&gt; showMainMenu. params: " + JSON.stringify(t)), this.isUseSDK &amp;&amp; e.Browser.window.zjSdk.showMain(t);
            }
            static hideMain() {
                console.log("zjSdk -&gt; hideMain."), this.isUseSDK &amp;&amp; e.Browser.window.zjSdk.hideMain();
            }
            static showRevive(t = {
                success: () =&gt; { }
            }) {
                console.log("zjSdk -&gt; showRevive. params: " + JSON.stringify(t)), this.isUseSDK ? e.Browser.window.zjSdk.showRevive(t) : t.success &amp;&amp; t.success();
            }
            static hideRevive() {
                console.log("zjSdk -&gt; hideRevive."), this.isUseSDK &amp;&amp; e.Browser.window.zjSdk.hideRevive();
            }
            static gameEnd(t) {
                console.log("zjSdk -&gt; endGame."), this.isUseSDK ? e.Browser.window.zjSdk.gameEnd(t) : t &amp;&amp; t();
            }
            static showGameOver(t = {
                success: () =&gt; { }
            }) {
                console.log("zjSdk -&gt; showGameOver. params: " + JSON.stringify(t)), this.isUseSDK ? e.Browser.window.zjSdk.showGameOver(t) : t.success &amp;&amp; t.success();
            }
            //static doPay(t) {
            //console.log("zjSdk -&gt; doPay. params: " + JSON.stringify(t)), this.isUseSDK ? e.Browser.window.zjSdk.doPay(t) : t.success &amp;&amp; t.success();
            //}
            static hideGameOver() {
                console.log("zjSdk -&gt; hideGameOver."), this.isUseSDK &amp;&amp; e.Browser.window.zjSdk.hideGameOver();
            }
            static popupDrawer(t = {}) {
                console.log("zjSdk -&gt; popupDrawer."), this.isUseSDK &amp;&amp; e.Browser.window.zjSdk.popupDrawer(t);
            }
            static checkCanShowVideo(t) {
                console.log("zjSdk -&gt; checkCanShowVideo."), this.isUseSDK ? e.Browser.window.zjSdk.checkCanShowVideo(t) : t &amp;&amp; t(!0);
            }
        }
        e.LayaSdkAdapter = X, X.platform = null, X.isUseSDK = !1, X.isVibrate = !1, e.static(X, ["subpackages", function () {
            return this.subpackages = ["res", "sub1", "sub2", "sub3", "sub4"];
        }]);
        e.showBannerAd = function (t) {
            console.log("zjSdk -&gt; showBannerAd."), this.isUseSDK ? e.Browser.window.zjSdk.showBannerAd(t) : t.success &amp;&amp; t.success();
        }, e.hideBannerAd = function () {
            console.log("zjSdk -&gt; hideAdBanner."), this.isUseSDK &amp;&amp; e.Browser.window.zjSdk.hideBannerAd();
        }, e.sendEvent = function (t) {
            console.log("zjSdk -&gt; eventName. params: " + JSON.stringify(t)), this.isUseSDK &amp;&amp; e.Browser.window.zjSdk.sendEvent(t);
        }, e.vibrate = function (t) {
            if (this.platform &amp;&amp; !this.isVibrate) {
                this.isVibrate = !0;
                var e = {
                    success: () =&gt; {
                        this.isVibrate = !1;
                    },
                    fail: () =&gt; {
                        this.isVibrate = !1;
                    },
                    complete: () =&gt; {
                        this.isVibrate = !1;
                    }
                };
                t ? this.platform.vibrateLong(e) : this.platform.vibrateShort(e);
            }
        }, e.isShowIllegal = function () {
            return !!this.isUseSDK &amp;&amp; e.Browser.window.zjSdk.isShowIllegal();
        }, e.showKeepOutBanner = function (t) {
            console.log("zjSdk -&gt; showKeepOutBanner."), this.isUseSDK ? e.Browser.window.zjSdk.showKeepOutBanner(t) : t.success &amp;&amp; t.success();
        }, e.hideKeepOutBanner = function () {
            console.log("zjSdk -&gt; hideAdBanner."), this.isUseSDK &amp;&amp; e.Browser.window.zjSdk.hideKeepOutBanner();
        };
        class R {
            constructor() {
                t.Laya3D ? t.Laya3D.init(E.width, E.height) : e.init(E.width, E.height, e.WebGL),
                    e.Physics &amp;&amp; e.Physics.enable(), e.DebugPanel &amp;&amp; e.DebugPanel.enable(), e.stage.scaleMode = E.scaleMode,
                    e.stage.screenMode = E.screenMode, e.stage.alignV = E.alignV, e.stage.alignH = E.alignH,
                    L.exportSceneToJson = E.exportSceneToJson, (E.debug || "true" == T.getQueryString("debug")) &amp;&amp; e.enableDebugPanel(),
                    E.physicsDebug &amp;&amp; e.PhysicsDebugDraw &amp;&amp; e.PhysicsDebugDraw.enable(), E.stat &amp;&amp; A.show(),
                    e.alertGlobalError(!0), X.initAdapter(), v.enable("version.json", g.create(this, this.onVersionLoaded), v.FILENAME_VERSION);
            }
            onVersionLoaded() {
                n.enable("fileconfig.json", g.create(this, this.onConfigLoaded));
            }
            onConfigLoaded() {
                var t = this;
                this.loadingView = new rt(), e.stage.addChild(this.loadingView), e.timer.frameOnce(1, this, function () {
                    t.loadingView.width = e.stage.width, t.loadingView.height = e.stage.height;
                    X.loadSubpackages(function () {
                        t.onSubpackagesLoaded();
                    });
                });
            }
            onSubpackagesLoaded() {
                e.loader.load(["sub1/Configs/stage.json", "sub1/Configs/shop.json"], g.create(this, this.onStageCfgLoaded));
            }
            onStageCfgLoaded() {
                var t = this;
                F.stageCfg = _.getRes("sub1/Configs/stage.json"), F.shopCfg = _.getRes("sub1/Configs/shop.json");
                e.loader.load(["res/atlas/res/UI.atlas", "res/atlas/res/UI/Font.atlas"], g.create(this, function () {
                    X.enginStart(), t.loadingView.destroy();
                    new V();
                }));
            }
        }
        e.Main = R;
        class O {
            constructor() { }
            static ShowEffect(t, i, s, n) {
                U.load(i, g.create(this, function (i) {
                    var a = U.instantiate(i, t);
                    a.transform.localPosition = new D(0, 0, 0), a.transform.localRotation = new S(0, 0, 0, 1),
                        s &amp;&amp; (a.transform.position = s), n &amp;&amp; e.timer.once(n, this, function (t) {
                            a.destroy();
                        }, [a]);
                }));
            }
            static getChildByPath(t, e) {
                var i = e.split("."), s = null;
                if (i.length &gt; 0) {
                    s = t;
                    for (var n = 0; n &lt; i.length; n++) {
                        var a = s.getChildByName(i[n]);
                        if (null == a) return null;
                        s = a;
                    }
                }
                return s;
            }
            static getMinVector3(t, e) {
                var i = new D(0, 0, 0);
                return i.x = Math.min(t.x, e.x), i.y = Math.min(t.y, e.y), i.z = Math.min(t.z, e.z),
                    i;
            }
            static getMaxVector3(t, e) {
                var i = new D(0, 0, 0);
                return i.x = Math.max(t.x, e.x), i.y = Math.max(t.y, e.y), i.z = Math.max(t.z, e.z),
                    i;
            }
            static CreateLabel(t = "#ffffff", e = 18, i = "#000000", s = 2) {
                var n = new u();
                return n.mouseEnabled = !1, n.fontSize = e, n.color = t, i &amp;&amp; (n.stroke = s, n.strokeColor = i),
                    n;
            }
            static LoadGameData(t, i) {
                var s = i;
                return e.LocalStorage.getItem(t) ? s = e.LocalStorage.getItem(t) : e.LocalStorage.setItem(t, i),
                    s;
            }
            static SaveGameData(t, i) {
                e.LocalStorage.setItem(t, i);
            }
            static CreateColorMaterial(t) {
                var e = new h();
                return e.albedoColor = t, e.shininess = .4, e;
            }
        }
        e.MyUtils = O, e.static(O, ["Deg_one", function () {
            return this.Deg_one = Math.PI / 180;
        }, "Quaternion_zero", function () {
            return this.Quaternion_zero = new S(0, 0, 0, 1);
        }, "Vector3_zero", function () {
            return this.Vector3_zero = new D(0, 0, 0);
        }, "Vector3_one", function () {
            return this.Vector3_one = new D(1, 1, 1);
        }, "Vector3_up", function () {
            return this.Vector3_up = new D(0, 1, 0);
        }, "Vector3_down", function () {
            return this.Vector3_down = new D(0, -1, 0);
        }, "Vector3_left", function () {
            return this.Vector3_left = new D(1, 0, 0);
        }, "Vector3_right", function () {
            return this.Vector3_right = new D(-1, 0, 0);
        }, "Vector3_forward", function () {
            return this.Vector3_forward = new D(0, 0, 1);
        }, "Vector3_back", function () {
            return this.Vector3_back = new D(0, 0, -1);
        }]), t.script = {};
        class V {
            constructor() {
                this.gameLevel = 1, this.gameMoney = 0, this._bMouseDown = !1, this._mouseX = 0,
                    this._shopItems = [], this._combineItems = [], this.combineSelects = [], this._combineStage = [],
                    this._combinedSkin = 0, this._trySkin = 0, V.Instance = this, this.InitGameScore(),
                    this.InitGameUI(), this.InitGameSkin(), this.InitSceneStage(), e.Browser._isMiniGame ? x.playMusic("sub1/Audios/Musics/bgm.mp3", 0) : x.playSound("sub1/Audios/Musics/bgm.mp3", 0),
                    this.BeginGame(),
                    this.skinScene = new N();
            }
            playButtonSound() {
                x.playSound("sub1/Audios/Sounds/btnclick.wav", 1);
            }
            InitGameScore() {
                e.LocalStorage.getItem("L2048_gameMoney") ? this.gameMoney = Number(e.LocalStorage.getItem("L2048_gameMoney")) : e.LocalStorage.setItem("L2048_gameMoney", this.gameMoney),
                    e.LocalStorage.getItem("L2048_gameLevel") ? this.gameLevel = Number(e.LocalStorage.getItem("L2048_gameLevel")) : e.LocalStorage.setItem("L2048_gameLevel", this.gameLevel);
            }
            SaveGameData() {
                e.LocalStorage.setItem("L2048_gameMoney", this.gameMoney), e.LocalStorage.setItem("L2048_gameLevel", this.gameLevel);
            }
            InitGameSkin() {
                e.LocalStorage.setItem("L2048_skinItem_0", 1);
            }
            GetSkinState(t) {
                var i = e.LocalStorage.getItem("L2048_skinItem_" + t);
                return i ? Number(i) : 0;
            }
            SaveSkinState(t, i) {
                e.LocalStorage.setItem("L2048_skinItem_" + t, i);
            }
            GetActiveSkin() {
                var t = e.LocalStorage.getItem("L2048_activeSkin");
                return t ? Number(t) : 0;
            }
            SaveActiveSkin(t) {
                e.LocalStorage.setItem("L2048_activeSkin", t);
            }
            GetSkinMovie(t) {
                var i = e.LocalStorage.getItem("L2048_skinMovie_" + t);
                return i ? Number(i) : 0;
            }
            AddSkinMovie(t) {
                var i = 1, s = e.LocalStorage.getItem("L2048_skinMovie_" + t);
                return s &amp;&amp; (i += Number(s)), e.LocalStorage.setItem("L2048_skinMovie_" + t, i),
                    i;
            }
            GetSkinTimes(t) {
                var i = e.LocalStorage.getItem("L2048_skinTimes_" + t);
                return i ? Number(i) : 0;
            }
            AddSkinTimes(t, i) {
                var s = e.LocalStorage.getItem("L2048_skinTimes_" + t);
                return s &amp;&amp; (i += Number(s)), i = Math.max(0, i), e.LocalStorage.setItem("L2048_skinTimes_" + t, i),
                    i;
            }
            InitSceneStage() {
                this.stageScene = new Y();
            }
            InitGameUI() {
                this.mainUI = new ct(), this.mainUI.height = e.stage.height, this.mainUI.BeginView.visible = !1,
                    this.mainUI.startbtn.on(d.CLICK, this, this.onStartBtn),
                    this.mainUI.shopbtn.visible = !0,
                    this.mainUI.shopbtn2.visible = !0,
                    this.mainUI.shopbtn.on(d.CLICK, this, this.onShopBtn),
                    this.mainUI.shopbtn2.on(d.CLICK, this, this.onShopBtn2),
                    this.mainUI.combinebtn.visible = !0,
                    this.mainUI.combinebtn.on(d.CLICK, this, this.onCombineBtn),
                    this.mainUI.StartView.visible = !1,
                    this.mainUI.ShopView.visible = !1,
                    this.mainUI.shopitemList.height = e.stage.height - this.mainUI.shopitemList.top,
                    this.mainUI.shopclosebtn.on(d.CLICK, this, this.onShopCloseBtn),
                    this.mainUI.CombineView.visible = !1,
                    this.mainUI.CombineView.height = e.stage.height,
                    this._combineStage.push(this.mainUI.cstage0),
                    this._combineStage.push(this.mainUI.cstage1),
                    this.mainUI.combineItemList.height = e.stage.height - this.mainUI.combineItemList.top,
                    this.mainUI.combined.height = e.stage.height,
                    this.mainUI.combineclosebtn.on(d.CLICK, this, this.onCombineCloseBtn),
                    this.mainUI.combinenowbtn.on(d.CLICK, this, this.onCombineNowBtn),
                    this.mainUI.combinedokbtn.on(d.CLICK, this, this.onCombinedOkBtn),
                    this.mainUI.combinenowbtn.disabled = !0,
                    this.mainUI.combined.visible = !1, this.InitShopItemList(),
                    this.InitCombineItemList(),
                    this.mainUI.TrySkinView.visible = !1,
                    this.mainUI.denytrybtn.on(d.CLICK, this, this.onDenyTryBtn),
                    this.mainUI.tryokbtn.on(d.CLICK, this, this.onTrySkin),
                    this.mainUI.artTextImage.visible = !1,
                    this.mainUI.GameView.visible = !1,
                    this.mainUI.VictoryView.visible = !1,
                    this.mainUI.adawardbtn.on(d.CLICK, this, this.onAdAwardBtn),
                    this.mainUI.nextbtn.on(d.CLICK, this, this.onNextBtn),
                    this.mainUI.FailedView.visible = !1,
                    this.mainUI.restartbtn.on(d.CLICK, this, this.onRestartBtn);
                var t = this.mainUI.nextbtn.top + 58, i = .85 * e.stage.height - t;
                this.mainUI.adawardbtn.top += i, this.mainUI.nextbtn.top += i, this.mainUI.handsprite.x = 280,
                    this.HandMoveLeft(), this.UpdateLevel(), this.UpdateMoney(), e.stage.addChild(this.mainUI),
                    this.ShowAdMain(), console.log("InitGameUI -&gt; OK");
            }
            HandMoveLeft() {
                var t = this;
                M.to(this.mainUI.handsprite, {
                    x: 0
                }, 1200, m.cubicInOut, g.create(this, function () {
                    t.HandMoveRight();
                }));
            }
            HandMoveRight() {
                var t = this;
                M.to(this.mainUI.handsprite, {
                    x: 280
                }, 1200, m.cubicInOut, g.create(this, function () {
                    t.HandMoveLeft();
                }));
            }
            InitShopItemList() {
                var t = e.stage.width - 40, i = this.mainUI.shopitemList.height - 70, s = new at(1, 0, 40, t, i, !0);
                this.mainUI.shopitemList.addChild(s), s.centerX = 0;
                var n = new nt(t, k.ALIGN_CENTER);
                n.repeatX = 3, n.spaceX = 20, n.spaceY = 20, s.setItems([n]);
                for (var a = 0; a &lt; F.shopCfg.skins.length; a++) {
                    var h = new ot(a);
                    this._shopItems.push(h);
                }
                n.setItems(this._shopItems, 754), s.updateList();
            }
            UpdateShopItems() {
                for (var t = this._shopItems.length, e = 0; e &lt; t; e++) this.UpdateShopItem(e);
            }
            UpdateShopItem(t) {
                this._shopItems[t].UpdateItem();
            }
            InitCombineItemList() {
                var t = e.stage.width - 40, i = this.mainUI.combineItemList.height - 70, s = new at(1, 0, 40, t, i, !0);
                this.mainUI.combineItemList.addChild(s), s.centerX = 0;
                var n = new nt(t, k.ALIGN_CENTER);
                n.repeatX = 3, n.spaceX = 20, n.spaceY = 20, s.setItems([n]);
                for (var a = 0; a &lt; 3; a++) {
                    var h = new ht(a);
                    this._combineItems.push(h);
                }
                n.setItems(this._combineItems, 754), s.updateList();
            }
            UpdateLevel() {
                this.mainUI.levellabel.text = "Level: " + this.gameLevel, this.mainUI.blevellabel.text = "Level: " + this.gameLevel;
            }
            UpdateMoney() {
                this.mainUI.moneylabel.text = this.gameMoney;
            }
            onStartBtn(t = null) {
                X.gameBegin(function () {
                    V.Instance.BeginGame();
                });
            }
			onShopBtn2(t = null) {
				console.log("----------ç¬¬äºŒä¸ªå•†åŸŽæŒ‰é’®ç‚¹å‡»äº‹ä»¶----------");
				//this.btnStart.visible = false;
				FKGames.showInterstitial({
                    beforeShowAd: () =&gt; { },
                    afterShowAd: () =&gt; {
                        0 != Y.Instance.bInited &amp;&amp; 0 == Y.Instance.bGaming &amp;&amp; X.gameBegin(function () {
							V.Instance.succesStartGame();
		                });
                        console.log("----------å¼€å§‹æ¸¸æˆæŒ‰é’®æ’å±å¹¿å‘Š----æ˜¾ç¤ºæˆåŠŸ!!!----------");
                    },
                });
                //0 != Y.Instance.bInited &amp;&amp; 0 == Y.Instance.bGaming &amp;&amp; X.gameBegin(function () {
                    //V.Instance.succesStartGame();
                //});
            }
            onShopBtn(t = null) {
                N.Instance.loaded &amp;&amp; (e.timer.clear(this, this.DoShowTrySkinView), N.Instance.Enter(),
                    N.Instance.ChangeSkin(this.GetActiveSkin()), this.mainUI.sshowImage.source = new e.Texture(N.Instance.renderTexture),
                    this.mainUI.ShopView.visible = !this.mainUI.ShopView.visible);
            }
            onShopCloseBtn(t = null) {
				FKGames.showInterstitial({
                    beforeShowAd: () =&gt; { },
                    afterShowAd: () =&gt; {
                       this.mainUI.ShopView.visible = !1, this.mainUI.sshowImage.source = null, N.Instance.Remove();
                        console.log("----------å•†åŸŽå…³é—­æŒ‰é’®æ’å±å¹¿å‘Š----æ˜¾ç¤ºæˆåŠŸ!!!----------");
                    },
                });
                //this.mainUI.ShopView.visible = !1, this.mainUI.sshowImage.source = null, N.Instance.Remove();
            }
            GemNotEnoughTip() {
                var t = this;
                M.clearAll(this.mainUI.gemnotenough), this.mainUI.gemnotenough.bottom = 0, this.mainUI.gemnotenough.alpha = 1,
                    this.mainUI.gemnotenough.visible = !0, M.to(this.mainUI.gemnotenough, {
                        bottom: 180
                    }, 500, m.cubicOut, g.create(this.mainUI.gemnotenough, function () {
                        M.to(t.mainUI.gemnotenough, {
                            alpha: 0
                        }, 500, m.linearNone, g.create(t.mainUI.gemnotenough, function () {
                            t.mainUI.gemnotenough.visible = !1;
                        }));
                    }));
            }
            onCombineBtn(t = null) {
                N.Instance.loaded &amp;&amp; (this.mainUI.CombineView.visible || (e.timer.clear(this, this.DoShowTrySkinView),
                    this.ResetCombineView(), N.Instance.EnterSkin(), this.mainUI.showImage.source = new e.Texture(N.Instance.renderTexture)),
                    this.mainUI.CombineView.visible = !this.mainUI.CombineView.visible);
            }
            ResetCombineView() {
                N.Instance.ClearSkins();
                for (var t = 0; t &lt; 2; t++) this._combineStage[t].skin = "res/UI/NoChoice_bg.png";
                var e = this._combineItems.length;
                for (t = 0; t &lt; e; t++) {
                    this._combineItems[t].Reset();
                }
                this.combineSelects.length = 0, this.mainUI.combinenowbtn.disabled = !0;
            }
            onCombineCloseBtn(t = null) {
				FKGames.showInterstitial({
                    beforeShowAd: () =&gt; { },
                    afterShowAd: () =&gt; {
                       this.mainUI.CombineView.visible = !1, this.mainUI.showImage.source = null, N.Instance.Remove();
                        console.log("----------åˆæˆç•Œé¢å…³é—­æŒ‰é’®æ’å±å¹¿å‘Š----æ˜¾ç¤ºæˆåŠŸ!!!----------");
                    },
                });
                //this.mainUI.CombineView.visible = !1, this.mainUI.showImage.source = null, N.Instance.Remove();
            }
            onCombinedOkBtn(t = null) {
                this.mainUI.combined.visible = !1, M.clearAll(this.mainUI.combineLight), M.clearAll(this.mainUI.combineStar),
                    this.mainUI.cshowImage.source = null, N.Instance.CameraToChars(), this.mainUI.showImage.source = new e.Texture(N.Instance.renderTexture),
                    this._combinedSkin &gt; 0 &amp;&amp; (Y.Instance.gamePlayer.ActiveSkin(this._combinedSkin),
                        this._combinedSkin = 0);
            }
            CombineSelect(t) {
                return !(this.combineSelects.length &gt;= 2) &amp;&amp; (this.combineSelects.push(t), 2 == this.combineSelects.length &amp;&amp; (this.mainUI.combinenowbtn.disabled = !1),
                    !0);
            }
            CombineUnSelect(t) {
                var e = this.combineSelects.indexOf(t);
                return -1 != e &amp;&amp; (this.combineSelects.splice(e, 1), this.combineSelects.length &lt; 2 &amp;&amp; (this.mainUI.combinenowbtn.disabled = !0),
                    !0);
            }
            onCombineNowBtn(t = null) {
                FKGames.showReward({
                    beforeShowAd: () =&gt; { },
                    afterShowAd: () =&gt; { },
                    rewarded: () =&gt; {
                        this.DoCombineSkin();
                        console.log("----------åˆæˆç•Œé¢:ç«‹å³åˆæˆæŒ‰é’®æ¿€åŠ±è§†é¢‘å¹¿å‘Š----æ˜¾ç¤ºæˆåŠŸ!!!!----------");
                    },
                    dismiaaed: () =&gt; { },
                });
                //if (!(this.combineSelects.length &lt; 2)) {
                //var e = {
                //payType: 1,
                //success: () =&gt; {
                //this.DoCombineSkin();
                //},
                //fail: () =&gt; { }
                //};
                //X.doPay(e);
                //}
            }
            DoCombineSkin() {
                for (var t = this.combineSelects[0] + this.combineSelects[1] - 1 + 12, i = this._combineItems.length, s = 0; s &lt; i; s++) {
                    this._combineItems[s].Reset();
                }
                N.Instance.ClearSkins();
                for (s = 0; s &lt; 2; s++) this._combineStage[s].skin = "res/UI/NoChoice_bg.png";
                this.combineSelects.length = 0, this.mainUI.combinenowbtn.disabled = !0, this._combinedSkin = t,
                    this.mainUI.showImage.source = null, this.ResetCombineView(), N.Instance.CameraToChar(),
                    N.Instance.ChangeSkin(t), this.mainUI.cshowImage.source = new e.Texture(N.Instance.renderTexture),
                    this.mainUI.combineStar.alpha = 1, M.to(this.mainUI.combineStar, {
                        alpha: 0
                    }, 1e3, m.linearNone, null, 500), this.RotateCombineLight(), this.mainUI.combined.visible = !0,
                    this.AddSkinTimes(t, 1), this.UpdateShopItem(t);
            }
            RotateCombineLight() {
                var t = this;
                M.clearAll(this.mainUI.combineLight), this.mainUI.combineLight.rotation = 0, M.to(this.mainUI.combineLight, {
                    rotation: 360
                }, 12e3, m.linearNone, g.create(this.mainUI.combineLight, function () {
                    t.RotateCombineLight();
                }));
            }
            onNextBtn(t = null) {
                FKGames.showInterstitial({
                    beforeShowAd: () =&gt; { },
                    afterShowAd: () =&gt; {
                        this.playButtonSound(), this.mainUI.adawardbtn.visible = !1, this.mainUI.nextbtn.visible = !1,
                            this.ShowAddGemImages(1);
                        console.log("----------èƒœåˆ©ç•Œé¢:æŒ‘æˆ˜ä¸‹ä¸€å…³æŒ‰é’®æ’å±å¹¿å‘Š----æ˜¾ç¤ºæˆåŠŸ!!!!----------");
                    },
                });
                //this.playButtonSound(), this.mainUI.adawardbtn.visible = !1, this.mainUI.nextbtn.visible = !1,
                //this.ShowAddGemImages(1);
            }
            onRestartBtn(t = null) {
                FKGames.showInterstitial({
                    beforeShowAd: () =&gt; { },
                    afterShowAd: () =&gt; {
                        this.playButtonSound(), this.RestartGame();
                        console.log("----------å¤±è´¥ç•Œé¢:é‡æ–°å¼€å§‹æŒ‰é’®æ’å±å¹¿å‘Š----æ˜¾ç¤ºæˆåŠŸ!!!----------");
                    },
                });
                //this.playButtonSound(), this.RestartGame();
            }
            onAdAwardBtn(t = null) {
                FKGames.showReward({
                    beforeShowAd: () =&gt; { },
                    afterShowAd: () =&gt; { },
                    rewarded: () =&gt; {
                        V.Instance.AdAwardCallBack();
                        this.playButtonSound(), this.mainUI.adawardbtn.visible = !1, this.mainUI.nextbtn.visible = !1;
                        console.log("----------èƒœåˆ©ç•Œé¢:å¥–åŠ±æŒ‰é’®æ¿€åŠ±è§†é¢‘å¹¿å‘Š----æ˜¾ç¤ºæˆåŠŸ!!!!----------");
                    },
                    dismiaaed: () =&gt; {
                        V.Instance.ShowAddGemImages(1);
                    },
                });
                //var e = {
                //payType: 1,
                //success: () =&gt; {
                //V.Instance.AdAwardCallBack();
                //},
                //fail: () =&gt; {
                //V.Instance.ShowAddGemImages(1);
                //}
                //};
                //X.doPay(e);
            }
            AdAwardCallBack() {
                var t = Math.floor(5 * Y.Instance.gamePlayer.GetFinishPower());
                this.mainUI.amoneylabel.text = "+ " + t, this.ShowAddGemImages(5);
                //this.btnStart.visible = true;
            }
            ShowAddGemImages(t) {
                //this.btnStart.visible = true;
                for (var i = this, s = Math.floor(Y.Instance.gamePlayer.GetFinishPower() * t), n = Math.min(80, s), a = 0; a &lt; n; a++) {
                    var h = new p("res/UI/Gem.png");
                    h.centerX = 0, h.centerY = 0, h.scaleX = .5, h.scaleY = .5, this.mainUI.addChild(h);
                    var o = new B();
                    o.addLabel("outfly", 0).to(h, {
                        centerX: 400 * Math.random() - 200,
                        centerY: 400 * Math.random() - 200
                    }, 250, null, 0).addLabel("flytomoney", 0).to(h, {
                        x: 20,
                        y: 85
                    }, 250, null, 100), o.play(0, !1), o.on(d.COMPLETE, this, function (t) {
                        t.destroy(), t = null;
                    }, [h]);
                }
                this.gameMoney += s, this.SaveGameData(), e.timer.once(600, this, function () {
                    i.UpdateMoney();
                }), e.timer.once(1e3, this, function () {
                    i.RestartGame();
                }), this.UpdateShopItems();
            }
            ShowAdMain() {
                X.showMain({
                    x: 0,
                    y: 30,
                    scale: 1,
                    showCouplet: !0,
                    coupletNum: 8
                });
            }
            BeginGame() {
                this.mainUI.BeginView.visible = !1,
                    this.mainUI.StartView.visible = !0;
                this.mainUI.mouseBox.on(d.MOUSE_DOWN, this, this.onMouseDown);
            }
            onMouseDown(t) {
                //console.log("----------kaishiyouxidianjishijian----------");
                //this.btnStart.visible = false;
                //0 != Y.Instance.bInited &amp;&amp; 0 == Y.Instance.bGaming &amp;&amp; X.gameBegin(function () {
                    //V.Instance.succesStartGame();
                //});
            }
            succesStartGame() {
                e.timer.clear(this, this.DoShowTrySkinView), X.hideMain(), this.mainUI.StartView.visible = !1,
                    this.mainUI.artTextImage.visible = !1, this.mainUI.GameView.visible = !0, this._bMouseDown = !0,
                    this._mouseX = e.stage.mouseX, e.stage.on(d.MOUSE_DOWN, this, this.onGameMouseDown),
                    e.stage.on(d.MOUSE_MOVE, this, this.onGameMouseMove), e.stage.on(d.MOUSE_UP, this, this.onGameMouseUp),
                    e.stage.on(d.MOUSE_OUT, this, this.onGameMouseUp), Y.Instance.bGaming = !0, Y.Instance.gamePlayer.PlayAni("Run"),
                    Y.Instance.gamePlayer.SpendSkin();
            }
            RestartGame() {
                //this.btnStart.visible = true;
                X.hideGameOver(), this.mainUI.FailedView.visible = !1, this.mainUI.VictoryView.visible = !1,
                    this.mainUI.StartView.visible = !1, this.ShowAdMain(), Y.Instance.gamePlayer.CheckSkin(),
                    Y.Instance.Reset(), Y.Instance.InitNextStage(), this.BeginGame(), this.ShowTrySkinView();
            }
            onGameMouseDown(t = null) {
                0 == this._bMouseDown &amp;&amp; (this._bMouseDown = !0, this._mouseX = e.stage.mouseX,
                    e.stage.on(d.MOUSE_MOVE, this, this.onGameMouseMove), e.stage.on(d.MOUSE_UP, this, this.onGameMouseUp),
                    e.stage.on(d.MOUSE_OUT, this, this.onGameMouseUp));
            }
            onGameMouseMove(t = null) {
                var i = this._mouseX - e.stage.mouseX;
                this._mouseX = e.stage.mouseX, Y.Instance.gamePlayer.Move(i);
            }
            onGameMouseUp(t = null) {
                this._bMouseDown = !1, e.stage.off(d.MOUSE_MOVE, this, this.onGameMouseMove), e.stage.off(d.MOUSE_UP, this, this.onGameMouseUp),
                    e.stage.off(d.MOUSE_OUT, this, this.onGameMouseUp);
            }
            UpdateClickTip() { }
            EndGame() {
                this._bMouseDown = !1, e.stage.off(d.MOUSE_DOWN, this, this.onGameMouseDown), e.stage.off(d.MOUSE_MOVE, this, this.onGameMouseMove),
                    e.stage.off(d.MOUSE_UP, this, this.onGameMouseUp);
            }
            FailedGame() {
                this.EndGame(), x.playSound("sub1/Audios/Sounds/failed.wav", 1), X.gameEnd(function () {
                    V.Instance.succcesEndGame();
                });
            }
            succcesEndGame() {
                e.timer.once(1e3, this, function () {
                    this.mainUI.GameView.visible = !1, this.mainUI.FailedView.visible = !0, X.showGameOver();
                });
            }
            VictoryGame() {
                this.EndGame(), X.gameEnd(function () {
                    V.Instance.successVictoryGame();
                });
            }
            successVictoryGame() {
                e.timer.once(1e3, this, this.ShowVictoryView);
            }
            AwardNormalMoney() {
                this.gameMoney += Y.Instance.gamePlayer.GetFinishPower(), this.SaveGameData(), this.UpdateMoney(),
                    this.UpdateShopItems();
            }
            ShowVictoryView() {
                if (x.playSound("sub1/Audios/Sounds/victory.wav", 1), Y.Instance.gamePlayer.PlayAni("Idle"),
                    this.mainUI.GameView.visible = !1, Math.random() &lt; .5) {
                    var t = this.mainUI.adawardbtn.top;
                    this.mainUI.adawardbtn.top = this.mainUI.nextbtn.top, this.mainUI.nextbtn.top = t;
                }
                this.mainUI.adawardbtn.visible = !0, this.mainUI.nextbtn.visible = !0, this.mainUI.VictoryView.visible = !0,
                    this.mainUI.amoneylabel.text = "+ " + Y.Instance.gamePlayer.GetFinishPower(), this.gameLevel += 1,
                    this.SaveGameData(), this.UpdateLevel(), X.showGameOver({
                        success: () =&gt; { }
                    });
            }
            PopArtText(t) {
                var e = this;
                t &lt; 8 || (t &gt; 2048 &amp;&amp; (t = 2048), M.clearAll(this.mainUI.artTextImage), this.mainUI.artTextImage.skin = "res/UI/Font/Combine" + t + ".png",
                    this.mainUI.artTextImage.scaleX = 0, this.mainUI.artTextImage.scaleY = 0, this.mainUI.artTextImage.visible = !0,
                    M.to(this.mainUI.artTextImage, {
                        scaleX: 1.4,
                        scaleY: 1.4
                    }, 180, m.expoOut, g.create(this, function () {
                        M.to(e.mainUI.artTextImage, {
                            scaleX: .2,
                            scaleY: .2
                        }, 50, m.linearNone, g.create(this, function () {
                            e.mainUI.artTextImage.visible = !1;
                        }), 500);
                    })));
            }
            ShowTrySkinView(t = 1e3) {
                for (var i = [], s = 1; s &lt; F.CHAR_SKIN_CHAR.length; s++) 0 == this.GetSkinState(s) &amp;&amp; i.push(s);
                i.length &gt; 0 &amp;&amp; e.timer.once(t, this, this.DoShowTrySkinView, [i[Math.floor(Math.random() * i.length)]]);
            }
            DoShowTrySkinView(t) {
                this._trySkin = t, this.mainUI.denytrybtn.top = this.mainUI.adawardbtn.top, this.mainUI.tryokbtn.top = this.mainUI.nextbtn.top,
                    N.Instance.Enter(), N.Instance.ChangeSkin(t), this.mainUI.tshowImage.source = new e.Texture(N.Instance.renderTexture),
                    M.clearAll(this.mainUI.trySkinStar), this.mainUI.trySkinStar.alpha = 1, M.to(this.mainUI.trySkinStar, {
                        alpha: 0
                    }, 1e3, m.linearNone, null, 500), this.RotateTrySkinLight(), this.mainUI.TrySkinView.visible = !0;
            }
            RotateTrySkinLight() {
                var t = this;
                M.clearAll(this.mainUI.trySkinLight), this.mainUI.trySkinLight.rotation = 0, M.to(this.mainUI.trySkinLight, {
                    rotation: 360
                }, 12e3, m.linearNone, g.create(this.mainUI.trySkinLight, function () {
                    t.RotateTrySkinLight();
                }));
            }
            onDenyTryBtn() {
                FKGames.showInterstitial({
                    beforeShowAd: () =&gt; { },
                    afterShowAd: () =&gt; {
                        this.mainUI.TrySkinView.visible = !1, M.clearAll(this.mainUI.trySkinLight), M.clearAll(this.mainUI.trySkinStar),
                            this.mainUI.tshowImage.source = null, N.Instance.Remove();
                        console.log("----------è¯•ç”¨çš®è‚¤:å¿ç—›æ‹’ç»æŒ‰é’®æ’å±å¹¿å‘Š----æ˜¾ç¤ºæˆåŠŸ!!!----------");
                    },
                });
                //this.mainUI.TrySkinView.visible = !1, M.clearAll(this.mainUI.trySkinLight), M.clearAll(this.mainUI.trySkinStar),
                //this.mainUI.tshowImage.source = null, N.Instance.Remove();
            }
            onTrySkin() {
                FKGames.showReward({
                    payType: 1,
                    beforeShowAd: () =&gt; { },
                    afterShowAd: () =&gt; { },
                    rewarded: () =&gt; {
                        this.DoTrySkin();
                        console.log("----------è¯•ç”¨çš®è‚¤:ç«‹å³è¯•ç”¨æŒ‰é’®æ¿€åŠ±è§†é¢‘å¹¿å‘Š----æ˜¾ç¤ºæˆåŠŸ!!!----------");
                    },
                    dismiaaed: () =&gt; {
                        this.onDenyTryBtn();
                    },
                });
                //var t = {
                //payType: 1,
                //success: () =&gt; {
                //this.DoTrySkin();
                //},
                //fail: () =&gt; {
                //this.onDenyTryBtn();
                //}
                //};
                //X.doPay(t);
            }
            DoTrySkin() {
                this.onDenyTryBtn(), this._trySkin &gt; 0 &amp;&amp; (this.ActiveSkinTry(this._trySkin), this._trySkin = 0);
            }
            ActiveSkinTry(t) {
                this.GetActiveSkin() != t &amp;&amp; (this.SaveActiveSkin(t), Y.Instance.gamePlayer.ChangeSkin(t),
                    Y.Instance.endCharScript.ChangeSkin(t), script.GameUI.Instance.UpdateShopItems());
            }
        }
        script.GameUI = e.GameUI = V, V.Instance = null;
        class N {
            constructor() {
                this.loaded = !1, this.sprite3D = null, this._skin = -1, this.combineChars = [null, null],
                    this.renderTexture = null, this._translate3 = new e.Vector3(0, 0, -.2), this._translate4 = new e.Vector3(0, 0, .2),
                    this._translate5 = new e.Vector3(-.2, 0, 0), this._translate6 = new e.Vector3(.2, 0, 0),
                    N.Instance = this, this.InitScene();
            }
            InitScene() {
                this.scene = new f(), this.scene.ambientMode = i.SolidColor, this.scene.ambientColor = new D(.7, .7, .7),
                    this.scene.enableFog = !1, this.combineCenter = new U("Center"), this.combineCenter.transform.position = new D(5, 0, 0),
                    this.scene.addChild(this.combineCenter), this.InitCamera(), this.InitLight(), this.LoadStageResource(),
                    this.renderTexture = new e.RenderTexture(600, 600, e.RenderTextureFormat.R8G8B8A8, e.RenderTextureDepthFormat.DEPTH_16),
                    this.camera.renderTarget = this.renderTexture;
            }
            Enter() {
                e.stage.addChild(this.scene), this.CameraToChar();
            }
            EnterSkin() {
                e.stage.addChild(this.scene), this.CameraToChars();
            }
            Remove() {
                e.stage.removeChild(this.scene, 0);
            }
            CameraToChar() {
                this.myCamera.SetTarget(this.sprite3D), this.myCamera.wantedDistance = 1.1, this.myCamera.wantedHeight = .3,
                    this.myCamera.wantedAngleY = 180 * -O.Deg_one, this.myCamera.wantedAngleX = 0, this.myCamera._offsetX = 0,
                    this.myCamera.DampingFast();
            }
            CameraToChars() {
                this.myCamera.SetTarget(this.combineCenter), this.myCamera.wantedDistance = 1.3,
                    this.myCamera.wantedHeight = .3, this.myCamera.wantedAngleY = 180 * -O.Deg_one,
                    this.myCamera.wantedAngleX = 0, this.myCamera._offsetX = 5, this.myCamera.DampingFast();
            }
            InitCamera() {
                this.camera = new r(0, .1, 300), this.camera.useOcclusionCulling = !0, this.camera.fieldOfView = 60,
                    this.camera.clearFlag = a.CLEARFLAG_SOLIDCOLOR, this.camera.clearColor = new P(0, 0, 0, 0),
                    this.myCamera = this.camera.addComponent(H), this.scene.addChild(this.camera), e.timer.frameLoop(1, this, this.onKeyDown);
            }
            onKeyDown() {
                if (this.sprite3D) {
                    var t = this.sprite3D.transform;
                    e.KeyBoardManager.hasKeyDown(87) &amp;&amp; t.translate(this._translate3), e.KeyBoardManager.hasKeyDown(83) &amp;&amp; t.translate(this._translate4),
                        e.KeyBoardManager.hasKeyDown(65) &amp;&amp; (this.myCamera.wantedAngleY += 1 * O.Deg_one),
                        e.KeyBoardManager.hasKeyDown(68) &amp;&amp; (this.myCamera.wantedAngleY -= 1 * O.Deg_one);
                }
            }
            InitLight() {
                this.directionLight = this.scene.addChild(new l()), this.directionLight.color.setValue(1, 1, 1),
                    this.directionLight.intensity = .7, this.directionLight.transform.position = new D(0, 3, 0),
                    this.directionLight.transform.rotate(new D(-45, -35, 0), !0, !1);
            }
            LoadStageResource() { }
            onLoadedResources() { }
            ChangeSkin(t) {
                this._skin != t &amp;&amp; (this.sprite3D &amp;&amp; (this.scene.removeChild(this.sprite3D), this.sprite3D.destroy()),
                    this.sprite3D = U.instantiate(_.getRes(F.CHAR_SKIN_CHAR[t]).getChildAt(0), this.scene, !1, new D(0, 0, 0)),
                    this.CameraToChar(this.sprite3D), this._skin = t);
            }
            AddSkin(t) {
                for (var e = .38, i = 0; i &lt; this.combineChars.length; i++) if (e *= -1, null == this.combineChars[i]) return this.combineChars[i] = U.instantiate(_.getRes(F.CHAR_SKIN_CHAR[t]).getChildAt(0), this.combineCenter, !1, new D(5 + e, 0, 0)),
                    i;
                return -1;
            }
            DelSkin(t) {
                return null != this.combineChars[t] ? (this.combineCenter.removeChild(this.combineChars[t]),
                    this.combineChars[t].destroy(), this.combineChars[t] = null, t) : -1;
            }
            ClearSkins() {
                for (var t = 0; t &lt; this.combineChars.length; t++) this.combineChars[t] &amp;&amp; (this.combineCenter.removeChild(this.combineChars[t]),
                    this.combineChars[t].destroy(), this.combineChars[t] = null);
            }
        }
        script.SkinScene = e.SkinScene = N, N.Instance = null, N.CENTER_DISTANCE = 1.3,
            N.CENTER_OFFSET_X = 5, N.CENTER_DIST_X = .38;
        class Y {
            constructor() {
                this.elementArray = [], this.stageArray = [], this.elementResources = [], this.bInited = !1,
                    this.bGaming = !1, Y.Instance = this, this.InitScene();
            }
            InitScene() {
                this.gameScene = new f(), this.gameScene.ambientMode = i.SolidColor, this.gameScene.ambientColor = new D(.7, .7, .7),
                    this.gameScene.enableFog = !0, this.gameScene.fogColor = new D(.3, .66, .99), this.gameScene.fogStart = 20,
                    this.gameScene.fogRange = 80, e.stage.addChildAt(this.gameScene, 0), this.InitCamera(),
                    this.InitLight(), this.LoadStageResource();
            }
            CameraToBegin(t) {
                this.myCamera.wantedAngleY = 0, this.myCamera.wantedAngleX = 22 * O.Deg_one, this.myCamera.wantedDistance = 7,
                    this.myCamera.wantedHeight = 1.5, this.myCamera.SetTarget(t), this.myCamera.DampingFast(),
                    this.myCamera.UpdatePosition(new D(0, 1.5, 0));
            }
            CameraToEndChar() {
                this.myCamera.SetTarget(this.endCharScript._char), this.myCamera.wantedDistance = 14,
                    this.myCamera.wantedHeight = 5, this.myCamera.wantedAngleY = 90 * -O.Deg_one, this.myCamera.wantedAngleX = 0;
            }
            InitCamera() {
                this.camera = new r(0, .1, 300), this.camera.useOcclusionCulling = !0, this.camera.fieldOfView = 60,
                    this.camera.clearFlag = a.CLEARFLAG_SOLIDCOLOR, this.camera.clearColor = new P(.39, .72, .99, 1),
                    this.myCamera = this.camera.addComponent(H), this.gameScene.addChild(this.camera);
            }
            InitLight() {
                this.directionLight = this.gameScene.addChild(new l()), this.directionLight.color.setValue(1, 1, 1),
                    this.directionLight.intensity = .7, this.directionLight.transform.position = new D(0, 3, 0),
                    this.directionLight.transform.rotate(new D(-45, -115, 0), !0, !1);
            }
            LoadStageResource() {
                this.elementResources = ["sub3/Char.lh", "sub3/EndChar.lh", "sub2/Road_1.lh", "sub2/Road_2.lh", "sub2/Road_3.lh", "sub2/End.lh", "sub2/EndObjs.lh", "sub2/Box_N.lh", "sub2/Box_X.lh", "sub2/Door_1.lh", "sub2/Door_2.lh", "sub2/Door_3.lh", "sub2/Lurker.lh", "sub2/Lurker_B.lh", "sub2/Wall.lh", "sub3/lihua.lh", "sub3/shuzibianhua.lh", "sub3/hechengshandian.lh", "sub3/heti_Star.lh", "sub3/Char_1.lh", "sub3/Char_2.lh", "sub3/Char_3.lh", "sub4/Pf_1.lh", "sub4/Pf_2.lh", "sub4/Pf_3.lh", "sub4/Pf_4.lh", "sub4/Pf_5.lh", "sub4/Pf_6.lh", "sub4/Pf_7.lh", "sub4/Pf_8.lh", "sub4/Pf_9.lh", "sub3/Pf_10.lh", "sub3/Pf_11.lh", "sub3/Pf_12.lh"],
                    e.loader.create(this.elementResources, e.Handler.create(this, this.onLoadedResources));
            }
            onLoadedResources() {
                this.playerSprite3D = U.instantiate(_.getRes("sub3/Char.lh"), this.gameScene, !1, new D(0, 0, 0)),
                    this.gamePlayer = this.playerSprite3D.addComponent(Q), this.CameraToBegin(this.gamePlayer._player),
                    this.InitNextStage(), this.bInited = !0, N.Instance.loaded = !0, V.Instance.ShowTrySkinView();
            }
            GetElement(t) {
                var e = this.elementResources[t].url;
                return _.getRes(e);
            }
            InitNextStage() {
                var t = (V.Instance.gameLevel - 1) % (Object.keys(F.stageCfg).length - 1) + 1, e = F.stageCfg["stage" + t], i = new D(0, 0, -2);
                this.AddRoad(i, "Road_1"), i.z += 2;
                for (var s = 0; s &lt; e.roads.length; s++) for (var n = e.roads[s], a = 0; a &lt; n.count; a++) this.AddRoad(i, n.type),
                    i.z += 2;
                this.AddEnd(i);
                for (s = 0; s &lt; e.elements.length; s++) {
                    var h = e.elements[s];
                    switch (h.type) {
                        case "Box_N":
                            this.AddBoxN(h);
                            break;

                        case "Box_X":
                            this.AddBoxX(h);
                            break;

                        case "Door_1":
                        case "Door_2":
                        case "Door_3":
                            this.AddDoor(h);
                            break;

                        case "Wall":
                            this.AddWall(h);
                            break;

                        case "Lurker":
                            this.AddLurker(h);
                            break;

                        case "Lurker_B":
                            this.AddLurkerB(h);
                    }
                }
            }
            AddRoad(t, e) {
                var i = U.instantiate(_.getRes("sub2/" + e + ".lh"), this.gameScene, !1, t);
                "Road_1" != e &amp;&amp; i.getChildAt(0).addComponent(it), this.stageArray.push(i);
            }
            AddEnd(t) {
                var e = new D(t.x, t.y, t.z), i = U.instantiate(_.getRes("sub2/End.lh"), this.gameScene, !1, e);
                i.getChildAt(0).addComponent(Z), this.stageArray.push(i);
                for (var s = 0; s &lt; 75; s++) this.AddRoad(e, "Road_1"), e.z += 2;
                e.z = t.z + 5, this.endChar = U.instantiate(_.getRes("sub3/EndChar.lh"), this.gameScene, !1, e),
                    this.endCharScript = this.endChar.getChildAt(0).addComponent(q), this.endCharScript.Reset(),
                    this.stageArray.push(this.endChar), e.z = t.z + 15, this.endObjs = U.instantiate(_.getRes("sub2/EndObjs.lh"), this.gameScene, !1, e),
                    this.endObjsScript = this.endObjs.getChildAt(0).addComponent(J), this.stageArray.push(this.endObjs),
                    this.endObjsScript.ResetObjs();
            }
            AddBoxN(t) {
                var e = 2;
                null != t.number &amp;&amp; (e = t.number);
                var i = U.instantiate(_.getRes("sub2/" + t.type + ".lh"), this.gameScene);
                i.transform.position = new D(t.x, 0, t.z), i.getChildAt(0).addComponent(j).SetValue(e),
                    this.elementArray.push(i);
            }
            AddBoxX(t) {
                var e = U.instantiate(_.getRes("sub2/" + t.type + ".lh"), this.gameScene);
                e.transform.position = new D(t.x, 0, t.z);
                e.getChildAt(0).addComponent(K);
                this.elementArray.push(e);
            }
            AddDoor(t) {
                var e = U.instantiate(_.getRes("sub2/" + t.type + ".lh"), this.gameScene);
                switch (e.transform.position = new D(t.x, 0, t.z), t.type) {
                    case "Door_1":
                    case "Door_2":
                        e.getChildAt(0).addComponent(W);
                        break;

                    case "Door_3":
                        e.getChildAt(0).addComponent($);
                }
                this.elementArray.push(e);
            }
            AddWall(t) {
                var e = U.instantiate(_.getRes("sub2/" + t.type + ".lh"), this.gameScene);
                e.transform.position = new D(t.x, 0, t.z);
                e.getChildAt(0).addComponent(st);
                this.elementArray.push(e);
            }
            AddLurker(t) {
                var e = U.instantiate(_.getRes("sub2/" + t.type + ".lh"), this.gameScene);
                e.transform.position = new D(t.x, 0, t.z);
                e.getChildAt(0).addComponent(et);
                this.elementArray.push(e);
            }
            AddLurkerB(t) {
                var e = U.instantiate(_.getRes("sub2/" + t.type + ".lh"), this.gameScene);
                e.transform.position = new D(t.x, 0, t.z);
                e.getChildAt(0).addComponent(tt);
                this.elementArray.push(e);
            }
            ShowEffect(t, i, s, n, a = O.Vector3_one) {
                U.load(i, g.create(this, function (i) {
                    var a = U.instantiate(i, t);
                    a.transform.localPosition = s, e.timer.once(n, this, function (t) {
                        a.destroy();
                    }, [a]);
                }));
            }
            ClearElements() {
                for (var t = this.elementArray.length, e = 0; e &lt; t; e++) {
                    var i = this.elementArray.pop();
                    i.destroy(), i = null;
                }
                this.elementArray.length = 0;
            }
            Reset() {
                this.bGaming = !1, this.ClearElements();
                for (var t = this.stageArray.length, e = 0; e &lt; t; e++) {
                    var i = this.stageArray.pop();
                    i.destroy(), i = null;
                }
                this.stageArray.length = 0, this.gamePlayer.Reset(), this.CameraToBegin(this.gamePlayer._player);
            }
            VictoryGame() {
                this.bGaming &amp;&amp; (script.StageScene.Instance.bGaming = !1, this.gamePlayer.CloseAndCombine());
            }
            VictoryAfterCombined() {
                for (var t = this, i = Math.min(this.gamePlayer.GetFinishPower(), 2048), s = 0, n = 1, a = 2; a &lt;= i; a *= 2) e.timer.once(s, this, function (e, i) {
                    t.gamePlayer.FlyBoxTo(i), t.myCamera.wantedDistance = 6 + e, t.myCamera.wantedHeight = 1 + .5 * e;
                }, [n, a]), s += 150, n++;
                e.timer.once(s, this, function () {
                    t.VictoryAfterFlyBox();
                });
            }
            VictoryAfterFlyBox() {
                var t = this;
                this.endCharScript.StartRun(), e.timer.once(500, this, function () {
                    t.CameraToEndChar();
                });
            }
            VictoryAfterRunStop() {
                e.timer.once(1e3, this, function () {
                    V.Instance.VictoryGame();
                });
            }
        }
        script.StageScene = e.StageScene = Y, Y.Instance = null;
        class F {
            constructor() { }
        }
        script.StageVO = e.StageVO = F, F.testlevel = 8, F.moveSpeed = 4, F.cameraHeight = 1.5,
            F.cameraDistance = 7, F.cameraAngleX = 22, F.ROAD_CWIDTH = .375, F.ELEMENT_SIZE = .35,
            F.PLAYER_SIZE = .15, F.DEFAULT_BOX_VALUE = 2, F.MIN_CHAR_DIST = .2, F.MAX_CHAR_CIST = 3.6,
            F.DEFAULT_CHAR_DIST = 2, F.COMBINE_CHAR_DIST = .4, F.ROAD_WIDTH = 4.5, F.ROAD_LENGTH = 2,
            F.MAX_BOX_VALUE = 2048, F.stageURL = "sub1/Configs/stage.json", F.shopURL = "sub1/Configs/shop.json",
            F.stageCfg = null, F.shopCfg = null, e.static(F, ["cameraAngleY", function () {
                return this.cameraAngleY = -Math.PI / 180 * 180;
            }, "COLOR_BLUE", function () {
                return this.COLOR_BLUE = new P(.1058824, .6313726, 1, 1);
            }, "COLOR_GREEN", function () {
                return this.COLOR_GREEN = new P(.3882353, .854902, .2156863, 1);
            }, "COLOR_ORANGE", function () {
                return this.COLOR_ORANGE = new P(.9490197, .5254902, .1372549, 1);
            }, "BUY_MONEYS", function () {
                return this.BUY_MONEYS = [0, 1e3, 5e3, 2e4, 5e4, 8e4];
            }, "RATE_VALUES", function () {
                return this.RATE_VALUES = [1, 1.5, 2, 2.5, 3, 3.5, 4, 4.5, 5];
            }, "CHAR_SKIN_CHAR", function () {
                return this.CHAR_SKIN_CHAR = ["sub3/Char_1.lh", "sub3/Char_2.lh", "sub3/Char_3.lh", "sub4/Pf_1.lh", "sub4/Pf_2.lh", "sub4/Pf_3.lh", "sub4/Pf_4.lh", "sub4/Pf_5.lh", "sub4/Pf_6.lh", "sub4/Pf_7.lh", "sub4/Pf_8.lh", "sub4/Pf_9.lh", "sub3/Pf_10.lh", "sub3/Pf_11.lh", "sub3/Pf_12.lh"];
            }]);
        class z extends C {
            constructor() {
                super();
            }
            onAwake() {
                this._obj = this.owner;
            }
            onStart() { }
            onUpdate() { }
            Init(t, e, i) {
                this._from = t, this._to = e, this._ctl = i;
            }
            get factor() {
                return 0;
            }
            set factor(t) {
                var e = new D(0, 0, 0);
                e.x = (1 - t) * (1 - t) * this._from.x + 2 * t * (1 - t) * this._ctl.x + t * t * this._to.x,
                    e.y = (1 - t) * (1 - t) * this._from.y + 2 * t * (1 - t) * this._ctl.y + t * t * this._to.y,
                    e.z = (1 - t) * (1 - t) * this._from.z + 2 * t * (1 - t) * this._ctl.z + t * t * this._to.z,
                    this._obj.transform.position = e;
            }
        }
        script.BezierScript = e.BezierScript = z, t.myengine = {};
        class H extends C {
            constructor() {
                super(), this.wantedDistance = 9, this._curDistance = 9, this.wantedHeight = 2,
                    this._curHeight = 2, this.wantedAngleY = 0, this._curAngleY = 0, this._distanceDamping = 5,
                    this._offsetX = 0, this.wantedAngleX = Math.PI / 4, this._curAngleX = Math.PI / 4,
                    this._nextPos = new D(0, 0, 0);
            }
            onAwake() { }
            SetTarget(t) {
                this._target = t;
            }
            DampingFast() {
                this._curDistance = this.wantedDistance, this._curHeight = this.wantedHeight, this._curAngleX = this.wantedAngleX,
                    this._curAngleY = this.wantedAngleY;
            }
            UpdatePosition(t) {
                var e = Math.sin(this._curAngleY) * this._curDistance, i = Math.cos(this._curAngleY) * this._curDistance, s = Math.sin(this._curAngleX) * this._curDistance, n = t.clone();
                n.x = this._offsetX, n.y += this._curHeight, this._nextPos.x = n.x + e, this._nextPos.y = n.y + s,
                    this._nextPos.z = n.z - i, this.owner.transform.position = this._nextPos, this.owner.transform.lookAt(n, O.Vector3_up);
            }
            onLateUpdate() {
                if (null != this._target) {
                    var t = Math.min(50, e.timer.delta) / 1e3;
                    this._curHeight = e.MathUtil.lerp(this._curHeight, this.wantedHeight, this._distanceDamping * t),
                        this._curDistance = e.MathUtil.lerp(this._curDistance, this.wantedDistance, this._distanceDamping * t),
                        this._curAngleX = e.MathUtil.lerp(this._curAngleX, this.wantedAngleX, this._distanceDamping * t),
                        this._curAngleY = e.MathUtil.lerp(this._curAngleY, this.wantedAngleY, this._distanceDamping * t),
                        this.UpdatePosition(this._target.transform.position);
                }
            }
        }
        myengine.MyCamera = e.MyCamera = H;
        class j extends C {
            constructor() {
                super(), this.value = 2;
            }
            SetValue(t) {
                var i = e.Loader.getRes("sub2/Assets/Resources/Map/" + t + ".png");
                this.box.meshRenderer.material.albedoTexture = i, this.value = t;
            }
            onAwake() {
                this.box = this.owner, this._rigidbody = this.box.getComponent(y), this._rigidbody.isKinematic = !0,
                    this._rigidbody.isTrigger = !0, this._rigidbody.friction = 3;
            }
            onStart() { }
            onUpdate() {
                this._rigidbody.enabled &amp;&amp; this.box.transform.position.z + 2 &lt; Y.Instance.gamePlayer._chars.transform.position.z &amp;&amp; (this._rigidbody.enabled = !1,
                    this._rigidbody.isKinematic = !0, this._rigidbody.isTrigger = !0);
            }
            onTriggerEnter(t) {
                this.HandleEvent(t, !0);
            }
            onCollisionEnter(t) {
                this.HandleEvent(t.other, !1);
            }
            HandleEvent(t, i) {
                switch (t.owner.name) {
                    case "Char0":
                    case "Char1":
                        var s = parseInt(t.owner.name.substr(4, 1));
                        (n = Y.Instance.gamePlayer.PickBox(s, this.value)) &gt; 0 ? (e.timer.frameOnce(3, this, function (t) {
                            t.destroy();
                        }, [this.box]), n &gt;= 8 &amp;&amp; V.Instance.PopArtText(n)) : i &amp;&amp; (this._rigidbody.isKinematic = !1,
                            this._rigidbody.isTrigger = !1);
                        break;

                    case "Chars":
                        var n;
                        (n = Y.Instance.gamePlayer.PickBox2(this.value)) &gt; 0 ? (this.box.destroy(), n &gt;= 8 &amp;&amp; V.Instance.PopArtText(n)) : i &amp;&amp; (this._rigidbody.isKinematic = !1,
                            this._rigidbody.isTrigger = !1);
                        break;

                    case "Box_N":
                        i &amp;&amp; (this._rigidbody.isKinematic = !1, this._rigidbody.isTrigger = !1);
                }
            }
        }
        script.BoxNElement = e.BoxNElement = j;
        class K extends C {
            constructor() {
                super();
            }
            onAwake() {
                this.box = this.owner, this._rigidbody = this.box.getComponent(y), this._rigidbody.isKinematic = !0,
                    this._rigidbody.isTrigger = !0, this._rigidbody.friction = 3;
            }
            onStart() { }
            onUpdate() {
                this._rigidbody.enabled &amp;&amp; this.box.transform.position.z + 2 &lt; Y.Instance.gamePlayer._chars.transform.position.z &amp;&amp; (this._rigidbody.enabled = !1,
                    this._rigidbody.isKinematic = !0, this._rigidbody.isTrigger = !0);
            }
            onTriggerEnter(t) {
                this.HandleEvent(t, !0);
            }
            onCollisionEnter(t) {
                this.HandleEvent(t.other, !1);
            }
            HandleEvent(t, i) {
                var s = this;
                switch (t.owner.name) {
                    case "Char0":
                    case "Char1":
                        var n = parseInt(t.owner.name.substr(4, 1));
                        x.playSound("sub1/Audios/Sounds/collide.wav", 1), Y.Instance.gamePlayer.PickBoxX(n) ? e.timer.frameOnce(3, this, function (t) {
                            t.destroy();
                        }, [this.box]) : i &amp;&amp; e.timer.frameOnce(3, this, function () {
                            s._rigidbody.isKinematic = !1, s._rigidbody.isTrigger = !1;
                        });
                        break;

                    case "Chars":
                        x.playSound("sub1/Audios/Sounds/collide.wav", 1), Y.Instance.gamePlayer.PickBoxX2() ? this.box.destroy() : i &amp;&amp; (this._rigidbody.isKinematic = !1,
                            this._rigidbody.isTrigger = !1);
                }
            }
        }
        script.BoxXElement = e.BoxXElement = K;
        class W extends C {
            constructor() {
                super(), this._cdtime = [];
            }
            onAwake() {
                var t = new Date().getTime();
                this._cdtime.push(t), this._cdtime.push(t);
            }
            onStart() { }
            onUpdate() { }
            onTriggerEnter(t) {
                switch (t.owner.name) {
                    case "Char0":
                    case "Char1":
                        var e = parseInt(t.owner.name.substr(4, 1));
                        if ((i = new Date().getTime()) &lt; this._cdtime[e]) break;
                        this._cdtime[e] = i + 2e3, Y.Instance.gamePlayer.DecBox(e);
                        break;

                    case "Chars":
                        for (var i = new Date().getTime(), s = 0; s &lt; this._cdtime.length; s++) if (i &lt; this._cdtime[s]) return;
                        Y.Instance.gamePlayer.DecBox2();
                }
            }
        }
        script.DecDoorElement = e.DecDoorElement = W;
        class q extends C {
            constructor() {
                super(), this._curSkin = 0, this._char = null, this._animator = null, this._headPoint = null,
                    this.boxArray = [], this._runSpeed = 8, this._isRun = !1, this._state = 0;
            }
            onAwake() {
                this._char = this.owner, this._animator = this._char.getChildAt(0).getComponent(s),
                    this._headPoint = O.getChildByPath(this._char, "HeadPoint");
                var t = V.Instance.GetActiveSkin();
                0 != t &amp;&amp; this.ChangeSkin(t);
            }
            onUpdate() {
                this._isRun &amp;&amp; this.UpdateMove();
            }
            UpdateMove() {
                var t = Math.min(50, e.timer.delta) / 1e3, i = this._char.transform.position.clone();
                i.z += this._runSpeed * t, this._char.transform.position = i, this._runSpeed &lt; 12 &amp;&amp; (this._runSpeed = Math.min(12, this._runSpeed + t)),
                    this.CheckNextObj();
            }
            ChangeSkin(t) {
                var e = this._char.getChildAt(0), i = e.transform.localPosition.clone(), n = U.instantiate(_.getRes(F.CHAR_SKIN_CHAR[t]).getChildAt(0), null, !1, i);
                n.name = "Char001", this._char.replaceChild(n, e), e.destroy(), this._animator = n.getComponent(s),
                    this._curSkin = t;
            }
            Reset() {
                for (var t = this.boxArray.length, e = 0; e &lt; t; e++) {
                    var i = this.boxArray.pop();
                    i.destroy(), i = null;
                }
                this.boxArray.length = 0, this.ResetRun();
            }
            StartRun() {
                var t = this;
                M.to(this._char.transform, {
                    localRotationEulerY: 0
                }, 300, m.quartIn, g.create(this, function () {
                    t._isRun = !0, t._animator.play("Run");
                }));
            }
            EndRun() {
                var t = this;
                x.playSound("sub1/Audios/Sounds/lihua.wav", 1), U.load("sub3/lihua.lh", g.create(this, function (i) {
                    var s = U.instantiate(i.getChildAt(0), t._char), n = new D(10, 10, 10);
                    s.transform.localPosition = new D(0, 0, -3), s.transform.localRotationEulerX = -60,
                        s.transform.localScale = n, e.timer.once(3e3, this, function (t) {
                            t.destroy();
                        }, [s]);
                    var a = U.instantiate(i.getChildAt(0), t._char);
                    a.transform.localPosition = new D(0, 0, 3), a.transform.localRotationEulerX = -120,
                        a.transform.localScale = n, e.timer.once(3e3, this, function (t) {
                            t.destroy();
                        }, [a]), t._isRun = !1, t._animator.play("Idle"), Y.Instance.VictoryAfterRunStop();
                }));
            }
            ResetRun() {
                this._isRun = !1, this._state = 0, this._runSpeed = 8, this._char.transform.localPosition = O.Vector3_zero,
                    this._char.transform.localRotationEulerY = -180, this._animator &amp;&amp; this._animator.play("Idle");
            }
            CheckNextObj() {
                0 == this._state ? this._char.transform.position.z &gt;= Y.Instance.endObjsScript.curCheckZ &amp;&amp; (this.boxArray.length &gt;= Y.Instance.endObjsScript.activeIdx + 1 ? this._state = 1 : this.EndRun()) : 1 == this._state &amp;&amp; this._char.transform.position.z &gt;= Y.Instance.endObjsScript.curCheckZ &amp;&amp; (Y.Instance.endObjsScript.ActiveObjs() ? this._state = 0 : this.EndRun());
            }
            AddBox(t, i) {
                var s = new h();
                s.shininess = .5, s.renderMode = 2;
                var n = e.Loader.getRes("sub2/Assets/Resources/Map/" + i + ".png");
                s.albedoTexture = n;
                var a = e.Loader.getRes("sub2/Assets/Resources/Map/Box_N-Box_N.lm"), o = this._headPoint.addChildAt(new I(a), 0);
                o.meshRenderer.material = s, o.transform.localScale = new D(.6666666, .6666666, .6666666),
                    o.transform.position = t;
                var r = this._headPoint.transform.position.clone();
                r.y = r.y + .6 * this.boxArray.length;
                var c = t.clone();
                this.boxArray.length % 2 == 0 ? c.x = 2.4 : c.x = -2.4, c.z = c.z + 2.4, c.y = r.y + 4;
                var l = o.addComponent(z);
                l.Init(t, r, c), M.to(l, {
                    factor: 1
                }, 150, m.linearNone), this.boxArray.push(o);
            }
        }
        script.EndCharScript = e.EndCharScript = q;
        class Z extends C {
            constructor() {
                super();
            }
            onAwake() { }
            onStart() { }
            onUpdate() { }
            onTriggerEnter(t) {
                switch (t.owner.name) {
                    case "Char0":
                    case "Char1":
                    case "Chars":
                        Y.Instance.VictoryGame();
                }
            }
        }
        script.EndElement = e.EndElement = Z;
        class J extends C {
            constructor() {
                super(), this.activeIdx = 0, this.curCheckZ = 0, this.curActiveZ = 0;
            }
            onAwake() {
                this.objs = this.owner, this._buildings = this.objs.getChildAt(0), this._mat = _.getRes("sub2/Assets/Resources/LayaPrefabs/Materials/Mat_Map.lmat"),
                    this._mat_none = _.getRes("sub2/Assets/Resources/LayaPrefabs/Materials/Mat_Obj_None.lmat");
            }
            ActiveObjs() {
                if (this.activeIdx &gt;= this._buildings.numChildren) return !1;
                var t = this._buildings.getChildAt(this.activeIdx);
                t.meshRenderer.material = this._mat, M.to(t.transform, {
                    localScaleX: 1.5,
                    localScaleY: 1.5,
                    localScaleZ: 1.5
                }, 100, m.cubicOut, g.create(this, function () {
                    M.to(t.transform, {
                        localScaleX: 1,
                        localScaleY: 1,
                        localScaleZ: 1
                    }, 100, m.cubicOut);
                })), x.playSound("sub1/Audios/Sounds/lihua.wav", 1);
                var e = t.transform.position.clone();
                return e.x = 1.5, Y.Instance.ShowEffect(Y.Instance.gameScene, "sub3/lihua.lh", e, 3e3, new D(10, 10, 10)),
                    !(this.activeIdx &gt;= this._buildings.numChildren) &amp;&amp; (this.activeIdx++, this.CheckObject(),
                        !0);
            }
            ResetObjs() {
                var t = new h();
                t.shininess = .5, t.renderMode = 2;
                for (var e = 0; e &lt; this._buildings.numChildren; e++) {
                    this._buildings.getChildAt(e).meshRenderer.material = this._mat_none;
                }
                this.activeIdx = 0, this.CheckObject();
            }
            CheckObject() {
                this.activeIdx &gt;= this._buildings.numChildren || (this.curActiveZ = this._buildings.getChildAt(this.activeIdx).transform.position.z,
                    this.curCheckZ = this.curActiveZ - 4);
            }
        }
        script.EndObjsScript = e.EndObjsScript = J;
        class Q extends C {
            constructor() {
                super(), this._curSkin = 0, this._player = null, this._chars = null, this._charObjs = [],
                    this._animators = [], this._headPoints = [], this._valueBoxes = [0, 0], this._charDist = 2,
                    this._combined = !1, this._boxTween = null, this._boxTweens = [null, null], this.extentValue = new D(.15, 1.84, .15);
            }
            onAwake() {
                this._combined = !1, this._charDist = 2, this._player = this.owner, this._chars = this._player.getChildAt(0),
                    this._headPoint = O.getChildByPath(this._chars, "HeadPoint"), (e = this._chars.getComponent(y)).ccdMotionThreshold = .01,
                    e.gravity = new D(0, -20, 0), e.isKinematic = !0, e.enabled = !1;
                for (var t = 0; t &lt; 2; t++) {
                    var e, i = this._chars.getChildAt(t);
                    (e = i.getComponent(y)).ccdMotionThreshold = .01, e.gravity = new D(0, -20, 0),
                        e.isKinematic = !0, e.enabled = !0, this._charObjs.push(i), this._animators.push(i.getComponent(s)),
                        this._headPoints.push(O.getChildByPath(i, "HeadPoint")), this.AddBox(t, 2, !this._combined);
                }
                this.AddBox2(4, this._combined), this.UpdateChar();
                var n = V.Instance.GetActiveSkin();
                0 != n &amp;&amp; this.ChangeSkin(n);
            }
            CheckSkin() {
                var t = F.shopCfg.skins[this._curSkin];
                t &amp;&amp; (3 == t.atype ? V.Instance.GetSkinTimes(this._curSkin) &lt;= 0 &amp;&amp; (V.Instance.SaveSkinState(this._curSkin, 0),
                    V.Instance.SaveActiveSkin(0), this.ChangeSkin(0), Y.Instance.endCharScript.ChangeSkin(0),
                    V.Instance.UpdateShopItems()) : 0 == V.Instance.GetSkinState(this._curSkin) &amp;&amp; (V.Instance.SaveActiveSkin(0),
                        this.ChangeSkin(0), Y.Instance.endCharScript.ChangeSkin(0), V.Instance.UpdateShopItems()));
            }
            SpendSkin() {
                var t = F.shopCfg.skins[this._curSkin];
                t &amp;&amp; 3 == t.atype &amp;&amp; V.Instance.GetSkinTimes(this._curSkin) &gt; 0 &amp;&amp; (V.Instance.AddSkinTimes(this._curSkin, -1),
                    V.Instance.UpdateShopItem(this._curSkin));
            }
            ActiveSkin(t) {
                var e = V.Instance.GetActiveSkin();
                e != t &amp;&amp; (N.Instance.ChangeSkin(t), V.Instance.SaveActiveSkin(t), V.Instance.UpdateShopItem(e),
                    V.Instance.UpdateShopItem(t), Y.Instance.gamePlayer.ChangeSkin(t), Y.Instance.endCharScript.ChangeSkin(t));
            }
            ChangeSkin(t) {
                this._charObjs.length = 0, this._animators.length = 0, this._headPoints.length = 0;
                for (var e = 0; e &lt; 2; e++) {
                    var i = this._chars.getChildAt(e), n = i.transform.localPosition.clone(), a = U.instantiate(_.getRes(F.CHAR_SKIN_CHAR[t]).getChildAt(0), null, !1, n);
                    a.name = "Char" + e, a.getComponent(y).enabled = !this._combined, this._chars.replaceChild(a, i),
                        i.destroy(), this._charObjs.push(a), this._animators.push(a.getComponent(s)), this._headPoints.push(O.getChildByPath(a, "HeadPoint")),
                        this.AddBox(e, this._valueBoxes[e], !this._combined);
                }
                this._curSkin = t;
            }
            Dead() {
                Y.Instance.myCamera.SetTarget(null), Y.Instance.bGaming = !1, this.PlayAni("Die"),
                    e.timer.once(1e3, this, function () {
                        V.Instance.FailedGame();
                    });
            }
            CheckAndDie() {
                0 == this._valueBoxes[0] &amp;&amp; 0 == this._valueBoxes[1] &amp;&amp; this.Dead();
            }
            ChangeState(t, e) {
                if (t != this._combined) {
                    switch (t) {
                        case !1:
                            null != this._boxTween &amp;&amp; (this._boxTween.complete(), this._boxTween = null), this._chars.getComponent(y).enabled = !1,
                                this._headPoint.numChildren &gt; 0 &amp;&amp; (this._headPoint.getChildAt(0).active = !1);
                            for (var i = 0; i &lt; 2; i++) this._chars.getChildAt(i).getComponent(y).enabled = !0,
                                this._headPoints[i].numChildren &gt; 0 &amp;&amp; (this._headPoints[i].getChildAt(0).active = !0);
                            break;

                        case !0:
                            if (this._valueBoxes[0] != this._valueBoxes[1] &amp;&amp; !e) return;
                            var s = this.GetFinishPower();
                            this._chars.getComponent(y).enabled = !0, this._headPoint.numChildren &gt; 0 &amp;&amp; (this._headPoint.getChildAt(0).active = !0);
                            for (i = 0; i &lt; 2; i++) null != this._boxTweens[i] &amp;&amp; (this._boxTweens[i].complete(),
                                this._boxTweens[i] = null), this._chars.getChildAt(i).getComponent(y).enabled = !1,
                                this._headPoints[i].numChildren &gt; 0 &amp;&amp; (this._headPoints[i].getChildAt(0).active = !1);
                            this.ChangeBoxes(s, !1), x.playSound("sub1/Audios/Sounds/combine.wav", 1), Y.Instance.ShowEffect(this._headPoint, "sub3/heti_Star.lh", new D(0, .4, 0), 2e3),
                                s &gt;= 8 &amp;&amp; V.Instance.PopArtText(s);
                    }
                    this._combined = t;
                }
            }
            CloseAndCombine() {
                var t = this;
                if (this.PlayAni("Idle"), this._combined) Y.Instance.VictoryAfterCombined(); else {
                    M.to(this._charObjs[0].transform, {
                        localPositionX: .15
                    }, 200, m.linearNone), M.to(this._charObjs[1].transform, {
                        localPositionX: -.15
                    }, 200, m.linearNone, g.create(this, function () {
                        t._charDist = .3, t.ChangeState(!0, !0), t.UpdateChar(), e.timer.once(200, this, function () {
                            Y.Instance.VictoryAfterCombined();
                        });
                    }));
                }
            }
            GetFinishPower() {
                return this._valueBoxes[0] == this._valueBoxes[1] ? this._valueBoxes[0] + this._valueBoxes[1] : Math.max(this._valueBoxes[0], this._valueBoxes[1]);
            }
            FlyBoxTo(t) {
                Y.Instance.ShowEffect(this._headPoint, "sub3/shuzibianhua.lh", new D(0, .55, 0), 1500),
                    Y.Instance.endCharScript.AddBox(this._headPoint.transform.position, t);
            }
            Reset() {
                this._charDist = 2, this._player.transform.position = new D(0, 0, 0), this._chars.transform.position = new D(0, 0, 0),
                    this.ResetBox(), this.UpdateChar(), this.ChangeState(!1, !0), this.PlayAni("Idle");
            }
            Falldown2() {
                Y.Instance.myCamera.SetTarget(null);
                var t = this._chars.getComponent(y);
                t.isKinematic = !1, t.linearVelocity = new D(0, 0, 2), Y.Instance.bGaming &amp;&amp; (Y.Instance.bGaming = !1,
                    V.Instance.FailedGame());
            }
            Falldown(t) {
                Y.Instance.myCamera.SetTarget(null);
                var e = this._charObjs[t].getComponent(y);
                e.isKinematic = !1, e.linearVelocity = new D(0, 0, 2), Y.Instance.bGaming &amp;&amp; (Y.Instance.bGaming = !1,
                    V.Instance.FailedGame());
            }
            PickBox2(t) {
                var e = this._valueBoxes[0] + this._valueBoxes[1];
                if (e == t) {
                    if (e &gt;= 4) for (var i = 0; i &lt; 2; i++) this.ChangeBox(i, t, !1); else if (2 == e) for (i = 0; i &lt; 2; i++) 0 == this._valueBoxes[i] &amp;&amp; this.ChangeBox(i, 2, !1);
                    return this.ChangeBoxes(2 * e, !0), Y.Instance.ShowEffect(this._headPoint, "sub3/shuzibianhua.lh", new D(0, .55, 0), 1500),
                        x.playSound("sub1/Audios/Sounds/chgnumber.wav", 1), e;
                }
                return 0;
            }
            PickBox(t, e) {
                return 0 == this._valueBoxes[t] ? (this.AddBox(t, e, !0), Y.Instance.ShowEffect(this._headPoints[t], "sub3/shuzibianhua.lh", new D(0, .35, 0), 1500),
                    x.playSound("sub1/Audios/Sounds/chgnumber.wav", 1), e) : this._valueBoxes[t] == e ? (this.ChangeBox(t, 2 * e, !0),
                        Y.Instance.ShowEffect(this._headPoints[t], "sub3/shuzibianhua.lh", new D(0, .35, 0), 1500),
                        x.playSound("sub1/Audios/Sounds/chgnumber.wav", 1), 2 * e) : 0;
            }
            PickBoxX2() {
                var t = this._valueBoxes[0] + this._valueBoxes[1];
                if (2 == t) t = 0, this.ChangeBox(0, 0, !1), this.ChangeBox(1, 0, !1); else if (4 == t) t /= 2,
                    this.ChangeBox(0, 0, !1); else {
                    if (!(t &gt; 4)) return !1;
                    t /= 2;
                    for (var e = 0; e &lt; 2; e++) this.ChangeBox(e, t / 2, !1);
                }
                return this.ChangeBoxes(t, !0), Y.Instance.ShowEffect(this._headPoint, "sub3/shuzibianhua.lh", new D(0, .55, 0), 1500),
                    this.CheckAndDie(), !0;
            }
            PickBoxX(t) {
                if (this._valueBoxes[t] &gt; 0) {
                    var e = this._valueBoxes[t] / 2;
                    return e &lt; 2 &amp;&amp; (e = 0), this.ChangeBox(t, e, !0), Y.Instance.ShowEffect(this._headPoints[t], "sub3/shuzibianhua.lh", new D(0, .35, 0), 1500),
                        this.CheckAndDie(), !0;
                }
                return !1;
            }
            ResetBox() {
                for (var t = 0; t &lt; this._headPoints.length; t++) this.ChangeBox(t, 2, !0);
                this.ChangeBoxes(4, !1);
            }
            AddBox2(t, i) {
                var s = this, n = new h();
                n.shininess = .5, n.renderMode = 2;
                var a = e.Loader.getRes("sub2/Assets/Resources/Map/" + t + ".png");
                n.albedoTexture = a;
                var o = e.Loader.getRes("sub2/Assets/Resources/Map/Box_N-Box_N.lm"), r = this._headPoint.addChildAt(new I(o), 0);
                r.meshRenderer.material = n, i ? (r.transform.localScale = new D(.8, .8, .8), this._boxTween = M.to(r.transform, {
                    localScaleX: 1,
                    localScaleY: 1,
                    localScaleZ: 1
                }, 100, m.quartOut, g.create(this, function () {
                    s._boxTween = null;
                }))) : (r.transform.localScale = new D(1, 1, 1), r.active = !1);
            }
            AddBox(t, i, s) {
                var n = this, a = new h();
                a.shininess = .5, a.renderMode = 2;
                var o = e.Loader.getRes("sub2/Assets/Resources/Map/" + i + ".png");
                a.albedoTexture = o;
                var r = e.Loader.getRes("sub2/Assets/Resources/Map/Box_N-Box_N.lm"), c = this._headPoints[t].addChildAt(new I(r), 0);
                c.meshRenderer.material = a, s ? (c.transform.localScale = new D(.1, .1, .1), this._boxTweens[t] = M.to(c.transform, {
                    localScaleX: .8,
                    localScaleY: .8,
                    localScaleZ: .8
                }, 100, m.quartOut, g.create(this, function () {
                    n._boxTweens[t] = null;
                }))) : (c.transform.localScale = new D(.8, .8, .8), c.active = !1), this._valueBoxes[t] = i;
            }
            IncBox2() {
                var t = this._valueBoxes[0] + this._valueBoxes[1];
                return this.PickBox2(t);
            }
            IncBox(t) {
                return this._valueBoxes[t] &gt; 0 ? this.PickBox(t, this._valueBoxes[t]) : 0;
            }
            DecBox2() {
                this.PickBoxX2();
            }
            DecBox(t) {
                this.PickBoxX(t);
            }
            ChangeBoxes(t, i) {
                var s = this;
                if (t &gt; 0) {
                    var n = t;
                    if (n &gt; 2048 &amp;&amp; (n = 2048), this._headPoint.numChildren &gt; 0) {
                        var a = this._headPoint.getChildAt(0);
                        if (i) this._boxTween = M.to(a.transform, {
                            localScaleX: .1,
                            localScaleY: .1,
                            localScaleZ: .1
                        }, 100, m.quartIn, g.create(this, function () {
                            var t = e.Loader.getRes("sub2/Assets/Resources/Map/" + n + ".png");
                            a.meshRenderer.material.albedoTexture = t, s._boxTween = M.to(a.transform, {
                                localScaleX: 1,
                                localScaleY: 1,
                                localScaleZ: 1
                            }, 150, m.quartOut, g.create(this, function () {
                                s._boxTween = null;
                            }));
                        })); else {
                            var h = e.Loader.getRes("sub2/Assets/Resources/Map/" + n + ".png");
                            a.meshRenderer.material.albedoTexture = h;
                        }
                    } else this.AddBox2(t, i);
                } else if (this._headPoint.numChildren &gt; 0) {
                    a = this._headPoint.getChildAt(0);
                    i ? this._boxTween = M.to(a.transform, {
                        localScaleX: .1,
                        localScaleY: .1,
                        localScaleZ: .1
                    }, 100, m.quartIn, g.create(this, function () {
                        s._boxTween = null, a.destroy();
                    })) : a.destroy();
                }
            }
            ChangeBox(t, i, s) {
                var n = this;
                if (this._valueBoxes[t] = i, i &gt; 0) {
                    var a = i;
                    if (a &gt; 2048 &amp;&amp; (a = 2048), this._headPoints[t].numChildren &gt; 0) {
                        var h = this._headPoints[t].getChildAt(0);
                        if (s) this._boxTweens[t] = M.to(h.transform, {
                            localScaleX: .1,
                            localScaleY: .1,
                            localScaleZ: .1
                        }, 100, m.quartIn, g.create(this, function () {
                            var i = e.Loader.getRes("sub2/Assets/Resources/Map/" + a + ".png");
                            h.meshRenderer.material.albedoTexture = i, n._boxTweens[t] = M.to(h.transform, {
                                localScaleX: .8,
                                localScaleY: .8,
                                localScaleZ: .8
                            }, 150, m.quartOut, g.create(this, function () {
                                n._boxTweens[t] = null;
                            }));
                        })); else {
                            var o = e.Loader.getRes("sub2/Assets/Resources/Map/" + a + ".png");
                            h.meshRenderer.material.albedoTexture = o;
                        }
                    } else this.AddBox(t, i, s);
                } else if (this._headPoints[t].numChildren &gt; 0) {
                    h = this._headPoints[t].getChildAt(0);
                    s ? this._boxTweens[t] = M.to(h.transform, {
                        localScaleX: .1,
                        localScaleY: .1,
                        localScaleZ: .1
                    }, 100, m.quartIn, g.create(this, function () {
                        n._boxTweens[t] = null, h.destroy();
                    })) : h.destroy();
                }
            }
            PlayAni(t) {
                for (var e = 0; e &lt; this._animators.length; e++) this._animators[e].play(t);
            }
            UpdateChar() {
                if (!(this._charObjs.length &lt; 2)) {
                    var t = new D(this._charDist / 2, 0, 0);
                    this._charObjs[0].transform.localPosition = t, t.x = -1 * t.x, this._charObjs[1].transform.localPosition = t,
                        this._combined &amp;&amp; this.UpdateColliders();
                }
            }
            UpdateColliders() {
                var t = this._chars.getComponent(y);
                if (t.colliderShape.getChildShapeCount() &gt;= 2) for (var e = new D(this._charDist / 2, 0, 0), i = 0; i &lt; 2; i++) {
                    var s = t.colliderShape._childColliderShapes[i], n = new D(0, s.localOffset.y, s.localOffset.z);
                    n.x = e.x, s.localOffset = n, e.x = -1 * e.x;
                }
            }
            MoveToEnd() { }
            onGameMouseUp(t) { }
            Move(t) {
                if (0 != Y.Instance.bGaming) {
                    var e = -.032 * t;
                    this._charDist + e &lt; .2 ? e = .2 - this._charDist : this._charDist + e &gt; 3.6 &amp;&amp; (e = 3.6 - this._charDist),
                        0 != e &amp;&amp; (this._charDist = this._charDist + e, this._charDist &lt;= .4 &amp;&amp; !this._combined ? this.ChangeState(!0, !1) : this._charDist &gt; .4 &amp;&amp; this._combined &amp;&amp; this.ChangeState(!1, !1),
                            this.UpdateChar());
                }
            }
            UpdatePlayer() {
                if (1 == Y.Instance.bGaming) {
                    var t = Math.min(50, e.timer.delta) / 1e3, i = this._player.transform.position;
                    i.z += 4 * t, this._player.transform.position = i;
                }
            }
            onUpdate() {
                this.UpdatePlayer();
            }
        }
        script.GamePlayer = e.GamePlayer = Q, Q.MAX_MOVEX = 1.25;
        class $ extends C {
            constructor() {
                super(), this._cdtime = [];
            }
            onAwake() {
                var t = new Date().getTime();
                this._cdtime.push(t), this._cdtime.push(t);
            }
            onStart() { }
            onUpdate() { }
            onTriggerEnter(t) {
                switch (t.owner.name) {
                    case "Char0":
                    case "Char1":
                        var e = parseInt(t.owner.name.substr(4, 1));
                        if ((i = new Date().getTime()) &lt; this._cdtime[e]) break;
                        this._cdtime[e] = i + 2e3, (n = Y.Instance.gamePlayer.IncBox(e)) &gt;= 8 &amp;&amp; V.Instance.PopArtText(n);
                        break;

                    case "Chars":
                        for (var i = new Date().getTime(), s = 0; s &lt; this._cdtime.length; s++) if (i &lt; this._cdtime[s]) return;
                        var n;
                        (n = Y.Instance.gamePlayer.IncBox2()) &gt;= 8 &amp;&amp; V.Instance.PopArtText(n);
                }
            }
        }
        script.IncDoorElement = e.IncDoorElement = $;
        class tt extends C {
            constructor() {
                super(), this._cdtime = [0, 0];
            }
            onAwake() {
                this.box = this.owner, this._rigidbody = this.box.getComponent(y), this._rigidbody.isKinematic = !0,
                    this._rigidbody.isTrigger = !0, this._rigidbody.friction = 3;
            }
            onStart() { }
            onUpdate() {
                this._rigidbody.enabled &amp;&amp; this.box.transform.position.z + 2 &lt; Y.Instance.gamePlayer._chars.transform.position.z &amp;&amp; (this._rigidbody.enabled = !1,
                    this._rigidbody.isKinematic = !0, this._rigidbody.isTrigger = !0);
            }
            onTriggerEnter(t) {
                this._rigidbody.isKinematic = !1, this._rigidbody.isTrigger = !1;
            }
            onCollisionStay(t) {
                switch (t.other.owner.name) {
                    case "Char0":
                    case "Char1":
                        var e = new Date().getTime(), i = parseInt(t.other.owner.name.substr(4, 1));
                        e - this._cdtime[i] &gt;= 1e3 &amp;&amp; (Y.Instance.gamePlayer.PickBoxX(i), x.playSound("sub1/Audios/Sounds/collide.wav", 1),
                            this._cdtime[i] = e);
                        break;

                    case "Chars":
                        if ((e = new Date().getTime()) - this._cdtime[0] &lt; 1e3 || e - this._cdtime[1] &lt; 1e3) break;
                        Y.Instance.gamePlayer.PickBoxX2(), x.playSound("sub1/Audios/Sounds/collide.wav", 1),
                            this._cdtime[0] = e, this._cdtime[1] = e;
                }
            }
        }
        script.LurkerBElement = e.LurkerBElement = tt;
        class et extends C {
            constructor() {
                super();
            }
            onAwake() { }
            onStart() { }
            onUpdate() { }
            onTriggerEnter(t) {
                switch (t.owner.name) {
                    case "Char0":
                    case "Char1":
                        var e = parseInt(t.owner.name.substr(4, 1));
                        Y.Instance.gamePlayer.DecBox(e), x.playSound("sub1/Audios/Sounds/collide.wav", 1);
                        break;

                    case "Chars":
                        Y.Instance.gamePlayer.DecBox2(), x.playSound("sub1/Audios/Sounds/collide.wav", 1);
                }
            }
        }
        script.LurkerElement = e.LurkerElement = et;
        class it extends C {
            constructor() {
                super();
            }
            onAwake() { }
            onStart() { }
            onUpdate() { }
            onTriggerEnter(t) {
                switch (t.owner.name) {
                    case "Char0":
                    case "Char1":
                        var e = parseInt(t.owner.name.substr(4, 1));
                        Y.Instance.gamePlayer.Falldown(e);
                        break;

                    case "Chars":
                        Y.Instance.gamePlayer.Falldown2();
                }
            }
        }
        script.TrapElement = e.TrapElement = it;
        class st extends C {
            constructor() {
                super(), this._isDown = !1;
            }
            onAwake() {
                this.wall = this.owner;
            }
            onStart() { }
            onUpdate() { }
            onTriggerEnter(t) {
                var i = this;
                if (!this._isDown) switch (t.owner.name) {
                    case "Char0":
                    case "Char1":
                        x.playSound("sub1/Audios/Sounds/collide.wav", 1);
                        var s = parseInt(t.owner.name.substr(4, 1));
                        Y.Instance.gamePlayer.PickBoxX(s) &amp;&amp; e.timer.frameOnce(3, this, function () {
                            PutDown();
                        });
                        break;

                    case "Chars":
                        x.playSound("sub1/Audios/Sounds/collide.wav", 1), Y.Instance.gamePlayer.PickBoxX2() &amp;&amp; PutDown();
                }
                function PutDown() {
                    if (!i._isDown) {
                        i._isDown = !0;
                        var t = i.wall.getComponent(y);
                        t &amp;&amp; (t.enabled = !1);
                        for (var e = 1; e &lt; i.wall.numChildren; e++) {
                            var s = i.wall.getChildAt(e);
                            M.to(s.transform, {
                                localScaleX: 0,
                                localScaleY: 0,
                                localScaleZ: 0
                            }, 200, m.linearNone);
                        }
                        M.to(i.wall.transform, {
                            localRotationEulerX: 90
                        }, 500, m.QuadIn);
                    }
                }
            }
        }
        script.WallElement = e.WallElement = st, t.customui = {};
        class nt extends o {
            constructor(t, e = k.ALIGN_LEFT) {
                switch (super(), this.bDrag = !0, this.selectIndex = -1, this._repeatX = 1, this._repeatY = 0,
                this._spaceX = 0, this._spaceY = 0, this._offsetX = 0, this._offsetY = 0, this._minH = 50,
                this._items = [], this.size(t, 120), this._align = e, this._itemGrid = new p(),
                this._itemGrid.width = t, this._itemGrid.y = 0, e) {
                    case k.ALIGN_CENTER:
                        this._itemGrid.centerX = 0, this._itemGrid.anchorX = .5;
                }
                this.addChild(this._itemGrid);
            }
            setGridWidth(t) {
                this.width = t, this._itemGrid.width = t;
            }
            getItemsByAmount(t, e, i) {
                for (var s = 0; s &lt; this._items.length; s++) b.recover(e, this._items[s]), this._items[s].removeSelf();
                var n;
                if (this._items = [], this.repeatX &lt;= 0 &amp;&amp; this.repeatY &lt;= 0 &amp;&amp; (this.repeatX = 1),
                    this.repeatX &gt; 0) for (var a = 0; a &lt; t; a++) (n = b.getItemByClass(e, i)).pos(this.offsetX + (n.width + this.spaceX) * (a % this.repeatX), this.offsetY + (n.height + this.spaceY) * Math.floor(a / this.repeatX)),
                        this._itemGrid.addChild(n), this._items.push(n), a == t - 1 &amp;&amp; (this._itemGrid.height = n.y + n.height,
                            this._itemGrid.width = Math.min(t, this.repeatX) * (n.width + this.spaceX) - this.spaceX);
                return this.updatePanel(), this._items;
            }
            getItemsByArray(t, e, i) {
                for (var s, n = b.getPoolBySign(e), a = 0; a &lt; n.length; a++) b.recover(e, n[a]),
                    n[a].removeSelf();
                if (this._items = [], this.repeatX &lt;= 0 &amp;&amp; this.repeatY &lt;= 0 &amp;&amp; (this.repeatX = 1),
                    this.repeatX &gt; 0) for (var h = 0; h &lt; t.length; h++) null != t[h] &amp;&amp; "0" != t[h] &amp;&amp; ((s = b.getItemByClass(e, i)).pos(this.offsetX + (s.width + this.spaceX) * (h % this.repeatX), this.offsetY + (s.height + this.spaceY) * Math.floor(h / this.repeatX)),
                        this._itemGrid.addChild(s), this._items.push(s)), h == t.length - 1 &amp;&amp; (this._itemGrid.height = s.y + s.height,
                            this._itemGrid.width = Math.min(this._items.length, this.repeatX) * (s.width + this.spaceX) - this.spaceX);
                return this.updatePanel(), this._items;
            }
            setItems(t, e = 0) {
                for (var i = 0; i &lt; this._items.length; i++) this._items[i].removeSelf();
                if (this._items = [], e &gt; 0 &amp;&amp; (this._itemGrid.width = e), null == t) this._itemGrid.height = 0; else for (var s = 0; s &lt; t.length; s++) null != t[s] &amp;&amp; this._items.push(t[s]);
                this.updateGridItems();
            }
            updateGridItems() {
                if (null == this._items || this._items.length &lt;= 0) return this._itemGrid.height = 0,
                    void this.updatePanel();
                var t, e = 0, i = NaN, s = this.offsetY, n = 0;
                if (this.repeatX &gt; 0) switch (this._align) {
                    case k.ALIGN_LEFT:
                        i = this.offsetX;
                        for (var a = 0; a &lt; this._items.length; a++) null != this._items[a] &amp;&amp; (t = this._items[a],
                            (this._itemGrid.width &lt; i + t.width || a &gt; 0 &amp;&amp; e % this.repeatX == 0) &amp;&amp; (e = 0,
                                i = this.offsetX, s += n + this.spaceY, n = 0), e++, t.pos(i, s), i += t.width + this.spaceX,
                            n &lt; t.height &amp;&amp; (n = t.height), this._itemGrid.addChild(t)), a == this._items.length - 1 &amp;&amp; (this._itemGrid.height = t.y + t.height);
                        break;

                    case k.ALIGN_CENTER:
                        var h = this._itemGrid.width - this.offsetX, o = 0, r = 0, c = Math.min(this.items.length - o * this.repeatX, this.repeatX);
                        i = (h - (c * (this.items[0].width + this.spaceX) - this.spaceX) &gt;&gt; 1) + this.offsetX;
                        for (var l = 0; l &lt; this._items.length; l++) null != (t = this._items[l]) &amp;&amp; ((h &lt; r + t.width || a &gt; 0 &amp;&amp; e % this.repeatX == 0) &amp;&amp; (e = 0,
                            r = 0, s += n + this.spaceY, n = 0, o++, i = (h - ((c = Math.min(this.items.length - o * this.repeatX, this.repeatX)) * (t.width + this.spaceX) - this.spaceX) &gt;&gt; 1) + this.offsetX),
                            e++, t.pos(i, s), i += t.width + this.spaceX, r += t.width + this.spaceX, n &lt; t.height &amp;&amp; (n = t.height),
                            this._itemGrid.addChild(t)), l == this._items.length - 1 &amp;&amp; (this._itemGrid.height = t.y + t.height);
                }
                this.updatePanel();
            }
            refreshPanel() {
                var t;
                if (this.repeatX &gt; 0) for (var e = 0; e &lt; this._items.length; e++) (t = this._items[e]).pos(this.offsetX + (t.width + this.spaceX) * (e % this.repeatX), this.offsetY + (t.height + this.spaceY) * Math.floor(e / this.repeatX)),
                    e == this._items.length - 1 &amp;&amp; (this._itemGrid.height = t.y + t.height, this._itemGrid.width = Math.min(this._items.length, this.repeatX) * (t.width + this.spaceX) - this.spaceX);
                this.updatePanel();
            }
            updatePanel() {
                this.height = Math.max(this._itemGrid.height, this._minH), this.updateHandler &amp;&amp; this.updateHandler.runWith(this.height);
            }
            clear(t = "") {
                for (var e = 0; e &lt; this._items.length; e++) "" != t &amp;&amp; b.recover(t, this._items[e]),
                    this._items[e].removeSelf();
                this.setItems(null);
            }
            clearByClass(t = "", i = null) {
                for (var s = 0; s &lt; this._items.length; s++) e.__typeof(this.items[s], i) &amp;&amp; ("" != t &amp;&amp; b.recover(t, this._items[s]),
                    this._items[s].removeSelf());
                this.setItems(null);
            }
            reset() {
                for (var t = 0; t &lt; this._items.length; t++) this._items[t].destroy();
                this.setItems(null);
            }
            get spaceX() {
                return this._spaceX;
            }
            set spaceX(t) {
                this._spaceX = t, this.updateGridItems();
            }
            get items() {
                return this._items;
            }
            set items(t) {
                super.items = t;
            }
            set minH(t) {
                this._minH = t, this.updatePanel();
            }
            get minH() {
                return super.minH;
            }
            get offsetX() {
                return this._offsetX;
            }
            set offsetX(t) {
                this._offsetX = t, this.updateGridItems();
            }
            get repeatX() {
                return this._repeatX;
            }
            set repeatX(t) {
                this._repeatX = t, this.updateGridItems();
            }
            get offsetY() {
                return this._offsetY;
            }
            set offsetY(t) {
                this._offsetY = t, this.updateGridItems();
            }
            get repeatY() {
                return this._repeatY;
            }
            set repeatY(t) {
                this._repeatY = t, this.updateGridItems();
            }
            get spaceY() {
                return this._spaceY;
            }
            set spaceY(t) {
                this._spaceY = t, this.updateGridItems();
            }
        }
        customui.MyGrid = e.MyGrid = nt;
        class at extends o {
            constructor(t, e = 0, i = 0, s = 0, n = 0, a = !0) {
                super(), this._curWidth = 0, this._curHeight = 0, this.selectIndex = -1, this.spaceX = 0,
                    this.spaceY = 0, this.childentsCount = 0, this.span = 12, this.bLimit = !0, this.bSmooth = !0,
                    this.bDrag = !0, this._bClick = !0, this._PosXs = [], this._PosYs = [], this.init(),
                    this._type = t, this.pos(e, i), this.size(s, n), this.scrollRect = new w(0, 0, this.width, this.height),
                    this._bScroll = a, this._bScroll &amp;&amp; (this.on(d.MOUSE_UP, this, this.endDrag), this.on(d.MOUSE_OUT, this, this.endDrag),
                        this.on(d.MOUSE_DOWN, this, this.mouseClickEvent), this.on(d.MOUSE_MOVE, this, this.moveDrag)),
                    this.timerLoop(10, this, this.updateValueMove);
            }
            init() {
                this._items = [], this._bgImg = new p(), this.addChild(this._bgImg);
            }
            setOffset(t) {
                switch (this._type) {
                    case 0:
                        this._bgImg.y = t;
                        break;

                    case 1:
                        this._bgImg.x = t;
                }
            }
            setValueTween(t, e) {
                switch (this._type) {
                    case 0:
                        this._value = t, M.to(this._bgImg, {
                            x: -t * this._bgImg.width
                        }, e, null, new g(this, this.endDragOver, [!1]));
                        break;

                    case 1:
                        this._value = t, M.to(this._bgImg, {
                            y: -t * this._bgImg.height
                        }, e, null, new g(this, this.endDragOver, [!1]));
                }
            }
            addItem(t) {
                this._items.push(t), this.updateList();
            }
            getItems() {
                return this._items;
            }
            mouseClickEvent() {
                this._startMouseX = e.stage.mouseX, this._startMouseY = e.stage.mouseY, this._bClick = !0;
            }
            _$5_startDrag() {
                customui.MyList.bList || this.bDrag &amp;&amp; !this._bDrag &amp;&amp; this._bClick &amp;&amp; (M.clearAll(this._bgImg),
                    this._bDrag = !0, customui.MyList.bList = !0, this._startBgX = this._bgImg.x, this._startBgY = this._bgImg.y,
                    this._bClick = !1);
            }
            endDrag() {
                var t = NaN, i = NaN;
                if (this._bDrag) {
                    if (this._bEase = !0, 0 == this._type &amp;&amp; this._PosXs.length &gt; 0) {
                        if (i = this._PosXs[1] - this._PosXs[0], this._bgImg.x + i * this.span &gt; 0 ? (this.dragOverStartHandler &amp;&amp; this.dragOverStartHandler.runWith(this.dragOverStartHandler.args),
                            this.bSmooth &amp;&amp; M.to(this._bgImg, {
                                x: 0
                            }, 400, m.circOut, new g(this, this.overEase))) : this._bgImg.x + i * this.span &lt; -(this._bgImg.width - this.width) ? (this.dragOverEndHandler &amp;&amp; this.dragOverEndHandler.runWith(this.dragOverEndHandler.args),
                                this.bSmooth &amp;&amp; (this._bgImg.width &lt; this.width ? M.to(this._bgImg, {
                                    x: 0
                                }, 400, m.circOut, new g(this, this.overEase)) : M.to(this._bgImg, {
                                    x: -(this._bgImg.width - this.width)
                                }, 400, m.circOut, new g(this, this.overEase)))) : this.bSmooth &amp;&amp; M.to(this._bgImg, {
                                    x: this._bgImg.x + i * this.span
                                }, 400, m.circOut, new g(this, this.overEase)), Math.abs(e.stage.mouseX - this._startMouseX) &lt; 10) return void this.endDragOver(!0);
                    } else if (this._PosYs.length &gt; 0 &amp;&amp; (t = this._PosYs[1] - this._PosYs[0], this._bgImg.y + t * this.span &gt; 0 ? (this.dragOverStartHandler &amp;&amp; this.dragOverStartHandler.runWith(this.dragOverStartHandler.args),
                        this.bSmooth &amp;&amp; M.to(this._bgImg, {
                            y: 0
                        }, 400, m.circOut, new g(this, this.overEase))) : this._bgImg.y + t * this.span &lt; -(this._bgImg.height - this.height) ? (this.dragOverEndHandler &amp;&amp; this.dragOverEndHandler.runWith(this.dragOverEndHandler.args),
                            this.bSmooth &amp;&amp; (this._bgImg.height &lt; this.height ? M.to(this._bgImg, {
                                y: 0
                            }, 400, m.circOut, new g(this, this.overEase)) : M.to(this._bgImg, {
                                y: -(this._bgImg.height - this.height)
                            }, 400, m.circOut, new g(this, this.overEase)))) : this.bSmooth &amp;&amp; M.to(this._bgImg, {
                                y: this._bgImg.y + t * this.span
                            }, 400, m.circOut, new g(this, this.overEase)), Math.abs(e.stage.mouseY - this._startMouseY) &lt; 10)) return void this.endDragOver(!0);
                    this.callLater(this.endDragOver, [!0]);
                }
                this._bClick = !1;
            }
            endDragOver(t = !1) {
                (this._bDrag || this._bEase) &amp;&amp; (null != this.dragEndHandler &amp;&amp; this.dragEndHandler.runWith([]),
                    this._bDrag = !1, this._bEase = !t), this._PosXs = [], this._PosYs = [], customui.MyList.bList = !1,
                    0 == this._type ? this._value = -this._bgImg.x / this._bgImg.width : this._value = -this._bgImg.y / this._bgImg.height;
            }
            overDrag() {
                this._bDrag = !1;
            }
            overEase() {
                this._bEase = !1;
            }
            moveDrag() {
                if (0 == this._type &amp;&amp; Math.abs(this._startMouseX - e.stage.mouseX) &gt; 5 ? this._$5_startDrag() : 1 == this._type &amp;&amp; Math.abs(this._startMouseY - e.stage.mouseY) &gt; 5 &amp;&amp; this._$5_startDrag(),
                    this._bDrag) if (0 == this._type) {
                        var t = this._startBgX + (e.stage.mouseX - this._startMouseX);
                        this.bLimit ? this._bgImg.x = t : t &gt; 0 ? this._bgImg.x = 0 : t &lt; -(this._bgImg.width - this.width) ? this._bgImg.x = -(this._bgImg.width - this.width) : this._bgImg.x = t,
                            this._value = -this._bgImg.x / this._bgImg.width;
                    } else {
                        var i = this._startBgY + (e.stage.mouseY - this._startMouseY);
                        this.bLimit ? this._bgImg.y = i : i &gt; 0 ? this._bgImg.y = 0 : i &lt; -(this._bgImg.height - this.height) ? this._bgImg.y = -(this._bgImg.height - this.height) : this._bgImg.y = i,
                            this._value = -this._bgImg.y / this._bgImg.height;
                    }
            }
            updateValueMove() {
                var t;
                0 == this._type ? this._PosXs.length &lt; 2 ? this._PosXs.push(this._bgImg.x) : ((t = []).push(this._PosXs[1]),
                    t.push(this._bgImg.x), this._PosXs = t) : this._PosYs.length &lt; 2 ? this._PosYs.push(this._bgImg.y) : ((t = []).push(this._PosYs[1]),
                        t.push(this._bgImg.y), this._PosYs = t);
            }
            setItems(t) {
                if (t) {
                    for (var e = 0; e &lt; this._items.length; e++) this._items[e].removeSelf();
                    this._items = [];
                    for (var i = 0; i &lt; t.length; i++) this._items.push(t[i]);
                    this.updateList(), this.childentsCount = this._items.length;
                }
            }
            updateList() {
                if (null != this._items) {
                    for (var t, e = 0, i = 0, s = 0; s &lt; this._items.length; s++) {
                        switch (s &gt; 0 &amp;&amp; (e += this.spaceY, i += this.spaceX), t = this._items[s], this._type) {
                            case 0:
                                t.x = i, i += t.width;
                                break;

                            case 1:
                                t.y = e, e += t.height;
                        }
                        this.renderHandler &amp;&amp; this.renderHandler.runWith([this._items[s], s]), this.selectHandler &amp;&amp; t.on(d.CLICK, this, this.selectItem, [s]),
                            this._bgImg.addChild(this._items[s]);
                    }
                    switch (this._type) {
                        case 0:
                            this._bgImg.width = i, this._curWidth = Math.min(this.width, this._bgImg.width),
                                this._value = -this._bgImg.x / (this._bgImg.width - this.width);
                            break;

                        case 1:
                            this._bgImg.height = e, this._curHeight = Math.min(this.height, this._bgImg.height),
                                this._value = -this._bgImg.y / (this._bgImg.height - this.height);
                    }
                }
            }
            selectItem(t, e) {
                this.bDragAndTween() || (this.selectIndex = t, this.selectHandler.runWith([t, e]));
            }
            bDragAndTween() {
                return this._bDrag || this._bEase;
            }
            clearItemBySign(t = "", e = !1) {
                for (var i, s = 0; s &lt; this._items.length; s++) (i = this._items[s]).removeSelf(),
                    "" != t &amp;&amp; (b.recover(t, i), e &amp;&amp; i.reset &amp;&amp; i.reset());
                this.setItems([]);
            }
            delItems(t, e = "") {
                var i = this._items.indexOf(t);
                i &gt;= 0 &amp;&amp; this._items.splice(i, 1), "" != e &amp;&amp; b.recover(e, t), t.removeSelf();
            }
            clearItems(t, i) {
                for (var s, n = 0; n &lt; this._items.length; n++) {
                    (s = this._items[n]).removeSelf();
                    for (var a = 0; a &lt; t.length; a++) if (e.__typeof(s, i[a])) {
                        b.recover(t[a], s), s.reset &amp;&amp; s.reset();
                        break;
                    }
                }
                this.setItems([]);
            }
            reset() {
                this.span = 12;
                for (var t = 0; t &lt; this._items.length; t++) this._items[t].destroy();
                this._items = [];
            }
            get bScroll() {
                return this._bScroll;
            }
            set bScroll(t) {
                this._bScroll = t, this._bScroll ? (this.on(d.MOUSE_UP, this, this.endDrag), this.on(d.MOUSE_OUT, this, this.endDrag),
                    this.on(d.MOUSE_DOWN, this, this.mouseClickEvent), this.on(d.MOUSE_MOVE, this, this.moveDrag)) : (this.off(d.MOUSE_UP, this, this.endDrag),
                        this.off(d.MOUSE_OUT, this, this.endDrag), this.off(d.MOUSE_DOWN, this, this.mouseClickEvent),
                        this.off(d.MOUSE_MOVE, this, this.moveDrag));
            }
            get PosX() {
                return this._bgImg.x;
            }
            set PosX(t) {
                super.PosX = t;
            }
            set listH(t) {
                this.height = t, this.scrollRect = new w(0, 0, this.width, this.height), this.updateList();
            }
            get listH() {
                return super.listH;
            }
            get value() {
                return this._value;
            }
            set value(t) {
                switch (this._type) {
                    case 0:
                        t != this._value &amp;&amp; (this._value = t, this._bgImg.x = -t * this._bgImg.width + Math.min(this._bgImg.width, this.width));
                        break;

                    case 1:
                        t != this._value &amp;&amp; (this._value = t, this._bgImg.y = -t * this._bgImg.height + Math.min(this._bgImg.height, this.height));
                }
            }
            set listW(t) {
                this.width = t, this.scrollRect = new w(0, 0, this.width, this.height), this.updateList();
            }
            get listW() {
                return super.listW;
            }
            get PosY() {
                return this._bgImg.y;
            }
            set PosY(t) {
                this._bgImg.y = t;
            }
            get BgImgH() {
                return this._bgImg.height;
            }
            set BgImgH(t) {
                super.BgImgH = t;
            }
            get listOffset() {
                var t = 0;
                switch (this._type) {
                    case 0:
                        break;

                    case 1:
                        t = Math.min(this._bgImg.height, this.height) - this._bgImg.y, t /= this._bgImg.height;
                }
                return t;
            }
            set listOffset(t) {
                super.listOffset = t;
            }
            get BgImgW() {
                return this._bgImg.width;
            }
            set BgImgW(t) {
                super.BgImgW = t;
            }
            set ovalue(t) {
                switch (this._type) {
                    case 0:
                        t != this._value &amp;&amp; (this._value = t, this._bgImg.x = -t * this._bgImg.width);
                        break;

                    case 1:
                        t != this._value &amp;&amp; (this._value = t, this._bgImg.y = -t * this._bgImg.height);
                }
            }
            get ovalue() {
                return super.ovalue;
            }
        }
        customui.MyList = e.MyList = at, at.HORIZONTAL = 0, at.VERTICAL = 1, at.bList = !1;
        class ht extends p {
            constructor(t) {
                super(), this._icon = null, this._idx = 0, this._pos = -1, this._idx = t;
                var e = F.shopCfg.skins[t];
                this._state = 0, this.skin = "res/UI/Shop_NoUseBG.png", this.size(203, 270), this._icon = new p(),
                    this._icon.skin = "res/UI/Icons/" + e.icon + ".png", this.addChild(this._icon),
                    this._icon.centerX = 0, this._icon.centerY = 0, this._stageImage = new p(), this._stageImage.skin = "res/UI/Font/Nochoice.png",
                    this._stageImage.centerX = 0, this._stageImage.bottom = 12, this.addChild(this._stageImage),
                    this.on(d.CLICK, this, this.selectEvent);
            }
            Reset() {
                this._state = 0, this.skin = "res/UI/Shop_NoUseBG.png", this._stageImage.skin = "res/UI/Font/Nochoice.png";
            }
            UpdateItem() {
                switch (this._state) {
                    case 0:
                        this.skin = "res/UI/Shop_NoUseBG.png", this._stageImage.skin = "res/UI/Font/Nochoice.png";
                        break;

                    case 1:
                        this.skin = "res/UI/Shop_UseBG.png", this._stageImage.skin = "res/UI/Font/Choiceing.png";
                }
            }
            selectEvent() {
                if (!at.bList) switch (this._state) {
                    case 0:
                        V.Instance.CombineSelect(this._idx) &amp;&amp; (this._state = 1, this.UpdateItem(), this._pos = N.Instance.AddSkin(this._idx),
                            this._pos &gt;= 0 &amp;&amp; (V.Instance._combineStage[this._pos].skin = "res/UI/Choice_bg.png"));
                        break;

                    case 1:
                        if (V.Instance.CombineUnSelect(this._idx)) {
                            this._state = 0, this.UpdateItem();
                            var t = N.Instance.DelSkin(this._pos);
                            t &gt;= 0 &amp;&amp; (V.Instance._combineStage[t].skin = "res/UI/NoChoice_bg.png"), this._pos = -1;
                        }
                }
            }
        }
        script.CombineItem = e.CombineItem = ht, ht.unUseBgSkin = "res/UI/Shop_NoUseBG.png",
            ht.onUseBgSkin = "res/UI/Shop_UseBG.png", ht.unSelectSkin = "res/UI/Font/Nochoice.png",
            ht.selectSkin = "res/UI/Font/Choiceing.png";
        class ot extends p {
            constructor(t) {
                super(), this._icon = null, this._idx = 0, this._tab = 0, this._idx = t;
                var e = F.shopCfg.skins[t];
                if (this._name = e.name, this._atype = e.atype, this._avalue = e.avalue, this._state = V.Instance.GetSkinState(this._idx),
                    this.skin = "res/UI/Shop_NoUseBG.png", this.size(203, 270), this._icon = new p(),
                    this._icon.skin = "res/UI/Icons/" + e.icon + ".png", this.addChild(this._icon),
                    this._icon.centerX = 0, this._icon.centerY = 0, V.Instance.GetActiveSkin() == this._idx &amp;&amp; 1 == V.Instance.GetSkinState(this._idx) &amp;&amp; (this.skin = "res/UI/Shop_UseBG.png"),
                    1 == this._state) this._activeImage = new p(), this._activeImage.skin = "res/UI/Font/Unlock.png",
                        this._activeImage.centerX = 0, this._activeImage.bottom = 12, this.addChild(this._activeImage); else {
                    switch (this._activeImage = new p(), e.atype) {
                        case 1:
                            this._activeImage.skin = "res/UI/Shop_Gem.png", this._activeImage.left = 10, this._activeImage.bottom = 10,
                                this._activeText = new u(), this._activeText.fontSize = 32, this._activeText.bold = !0,
                                V.Instance.gameMoney &gt;= e.avalue ? this._activeText.color = "#ffffff" : this._activeText.color = "#ff0000",
                                this._activeText.stroke = 3, this._activeText.strokeColor = "#000000", this._activeText.text = e.avalue,
                                this._activeText.width = 123, this._activeText.height = 32, this._activeText.left = 70,
                                this._activeText.bottom = 16, this.addChild(this._activeText);
                            break;

                        case 2:
                            this._activeImage.skin = "res/UI/Movie_ICON.png", this._activeImage.left = 10, this._activeImage.bottom = 11,
                                this._activeText = new u(), this._activeText.fontSize = 32, this._activeText.bold = !0,
                                this._activeText.align = "center", this._activeText.color = "#ffffff", this._activeText.stroke = 3,
                                this._activeText.strokeColor = "#000000", this._activeText.text = V.Instance.GetSkinMovie(this._idx) + "/" + e.avalue,
                                this._activeText.width = 100, this._activeText.height = 32, this._activeText.left = 80,
                                this._activeText.bottom = 16, this.addChild(this._activeText);
                            break;

                        case 3:
                            this._activeImage.skin = "res/UI/Font/lock.png", this._activeImage.centerX = 0,
                                this._activeImage.bottom = 12;
                    }
                    this.addChild(this._activeImage);
                }
                if (3 == e.atype) {
                    this._amountText = new u(), this._amountText.fontSize = 32, this._amountText.bold = !0,
                        this._amountText.align = "right", this._amountText.color = "#ffffff", this._amountText.stroke = 3,
                        this._amountText.strokeColor = "#000000";
                    var i = V.Instance.GetSkinTimes(this._idx);
                    this._amountText.text = i &gt; 0 ? "x" + i : "", this._amountText.width = 185, this._amountText.height = 32,
                        this._amountText.y = 173, this._amountText.right = 10, this.addChild(this._amountText);
                }
                this.on(d.CLICK, this, this.selectEvent);
            }
            UpdateItem() {
                switch (this._atype) {
                    case 1:
                    case 2:
                        V.Instance.GetSkinMovie(this._idx) &gt;= this._avalue &amp;&amp; 0 == V.Instance.GetSkinState(this._idx) &amp;&amp; V.Instance.SaveSkinState(this._idx, 1);
                        break;

                    case 3:
                        V.Instance.GetSkinTimes(this._idx) &gt; 0 &amp;&amp; (0 == V.Instance.GetSkinState(this._idx) &amp;&amp; V.Instance.SaveSkinState(this._idx, 1),
                            this._amountText.text = "x" + V.Instance.GetSkinTimes(this._idx));
                }
                if (V.Instance.GetActiveSkin() == this._idx) 1 == V.Instance.GetSkinState(this._idx) &amp;&amp; (this.skin = "res/UI/Shop_UseBG.png",
                    this._activeImage.skin = "res/UI/Font/Use.png"); else if (1 == V.Instance.GetSkinState(this._idx)) this.skin = "res/UI/Shop_NoUseBG.png",
                        this._activeImage.skin = "res/UI/Font/Unlock.png", 0 == this._state &amp;&amp; (this._state = 1,
                            this.removeChild(this._activeText), this._activeImage.centerX = 0, this._activeImage.bottom = 12); else switch (this._atype) {
                                case 1:
                                    V.Instance.gameMoney &gt;= this._avalue ? this._activeText.color = "#ffffff" : this._activeText.color = "#ff0000";
                                    break;

                                case 2:
                                    this._activeText.text = V.Instance.GetSkinMovie(this._idx) + "/" + this._avalue;
                                    break;

                                case 3:
                                    this._amountText.text = "", this._activeImage.skin = "res/UI/Font/lock.png";
                            }
            }
            selectEvent() {
                if (!at.bList) if (0 == V.Instance.GetSkinState(this._idx)) switch (this._atype) {
                    case 1:
                        FKGames.showInterstitial({
                            beforeShowAd: () =&gt; { },
                            afterShowAd: () =&gt; {
                                V.Instance.gameMoney &gt;= this._avalue ? (V.Instance.gameMoney -= this._avalue, V.Instance.SaveSkinState(this._idx, 1),
                                    V.Instance.UpdateMoney(), V.Instance.SaveGameData(), V.Instance.UpdateShopItems()) : V.Instance.GemNotEnoughTip(),
                                    N.Instance.ChangeSkin(this._idx);
                                console.log("----------å•†åº—--çš®è‚¤:é‡‘å¸è§£é”æŒ‰é’®æ’å±å¹¿å‘Š----æ˜¾ç¤ºæˆåŠŸ!!!----------");
                            },
                        });
                        //V.Instance.gameMoney &gt;= this._avalue ? (V.Instance.gameMoney -= this._avalue, V.Instance.SaveSkinState(this._idx, 1),
                        //V.Instance.UpdateMoney(), V.Instance.SaveGameData(), V.Instance.UpdateShopItems()) : V.Instance.GemNotEnoughTip(),
                        //N.Instance.ChangeSkin(this._idx);
                        break;

                    case 2:
                        FKGames.showReward({
                            beforeShowAd: () =&gt; { },
                            afterShowAd: () =&gt; { },
                            rewarded: () =&gt; {
                                V.Instance.AddSkinMovie(this._idx), this.UpdateItem();
                                console.log("----------å•†åº—--çš®è‚¤:è§†é¢‘è§£é”æŒ‰é’®æ¿€åŠ±è§†é¢‘å¹¿å‘Š----æ˜¾ç¤ºæˆåŠŸ!!!----------");
                            },
                            dismiaaed: () =&gt; { },
                        });
                        //var t = {
                        //payType: 1,
                        //success: () =&gt; {
                        //V.Instance.AddSkinMovie(this._idx), this.UpdateItem();
                        //},
                        //fail: () =&gt; { }
                        //};
                        //X.doPay(t);
                        break;

                    case 3:
                        FKGames.showInterstitial({
                            beforeShowAd: () =&gt; { },
                            afterShowAd: () =&gt; {
                                V.Instance.onShopCloseBtn(), V.Instance.onCombineBtn();
                                console.log("----------å•†åº—--çš®è‚¤:åˆæˆè§£é”æŒ‰é’®æ’å±å¹¿å‘Š----æ˜¾ç¤ºæˆåŠŸ!!!----------");
                            },
                        });
                    //V.Instance.onShopCloseBtn(), V.Instance.onCombineBtn();
                } else Y.Instance.gamePlayer.ActiveSkin(this._idx);
            }
        }
        script.ShopItem = e.ShopItem = ot, ot.unUseBgSkin = "res/UI/Shop_NoUseBG.png", ot.onUseBgSkin = "res/UI/Shop_UseBG.png",
            ot.gemActiveSkin = "res/UI/Shop_Gem.png", ot.movActiveSkin = "res/UI/Movie_ICON.png",
            ot.comActiveSkin = "res/UI/Font/lock.png", ot.openSkin = "res/UI/Font/Unlock.png",
            ot.usedSkin = "res/UI/Font/Use.png", ot.taptoBuySkin = "res/UI/Taptobuy.png", ot.taptoUseSkin = "res/UI/Taptouse.png",
            t.ui = {}, ui.Views = {};
        class rt extends G {
            constructor() {
                super();
            }
            createChildren() {
                super.createChildren(), this.createView(rt.uiView);
            }
        }
        ui.Views.LoadingViewUI = e.LoadingViewUI = rt, rt.uiView = {
            type: "View",
            props: {
                width: 720,
                height: 1280
            },
            compId: 2,
            child: [{
                type: "Image",
                props: {
                    var: "bg",
                    top: 0,
                    skin: "Loading/bg.png",
                    right: 0,
                    left: 0,
                    bottom: 0
                },
                compId: 5
            }, {
                type: "Image",
                props: {
                    skin: "res/UI/Logo2.png",
                    centerY: -200,
                    centerX: 0
                },
                compId: 3
            }, {
                type: "Label",
                props: {
                    text: "loading...",
                    fontSize: 64,
                    color: "#fbf8f8",
                    centerY: -50,
                    centerX: 0
                },
                compId: 4
            }],
            loadList: ["Loading/bg.png", "res/UI/Logo2.png"],
            loadList3D: []
        };
        class ct extends G {
            constructor() {
                super();
            }
            createChildren() {
                super.createChildren(), this.createView(ct.uiView);
            }
        }
        ui.Views.MainSceneUI = e.MainSceneUI = ct, ct.uiView = {
            type: "View",
            props: {
                y: 0,
                x: 0,
                width: 720,
                height: 1280
            },
            compId: 2,
            child: [{
                type: "View",
                props: {
                    var: "StartView",
                    top: 0,
                    right: 0,
                    left: 0,
                    bottom: 0
                },
                compId: 20,
                child: [{
                    type: "Box",
                    props: {
                        y: 0,
                        x: 0,
                        var: "mouseBox",
                        top: 0,
                        right: 0,
                        left: 0,
                        bottom: 0
                    },
                    compId: 64
                }, {
                    type: "Box",
                    props: {
                        width: 400,
                        centerY: 0,
                        centerX: 0
                    },
                    compId: 62,
                    child: [{
                        type: "Sprite",
                        props: {
                            y: 550,
                            x: 0,
                            var: "tippanel",
                            texture: "res/UI/stay_line.png"
                        },
                        compId: 10,
                        child: [{
                            type: "Sprite",
                            props: {
                                y: 0,
                                x: 280,
                                var: "handsprite",
                                texture: "res/UI/finge1.png"
                            },
                            compId: 25
                        }]
                    }, {
                        type: "Sprite",
                        props: {
                            y: 497,
                            x: 2,
                            texture: "res/UI/Font/Study.png",
                            scaleY: 1,
                            scaleX: 1
                        },
                        compId: 201
                    }]
                }, {
                    type: "Button",
                    props: {
                        var: "shopbtn",
                        stateNum: 1,
                        skin: "res/UI/Button_Shop.png",
                        left: 0,
                        bottom: 200
                    },
                    compId: 108,
                    child: [{
                        type: "Sprite",
                        props: {
                            y: 80,
                            x: 43,
                            texture: "res/UI/Font/Shop_button.png"
                        },
                        compId: 200
                    }]
                },{
                    type: "Button",
                    props: {
                        var: "shopbtn2",
                        stateNum: 1,
                        skin: "res/real-start.png",
                        left: 250,
                        bottom: 200
                    },
                    compId: 20000,
                    child: [{
                        type: "Sprite",
                        props: {
                            y: 280,
                            x: 243,
                            texture: "res/UI/Font/Shop_button.png"
                        },
                        compId: 20000
                    }]
                }, {
                    type: "Button",
                    props: {
                        y: 746,
                        var: "combinebtn",
                        stateNum: 1,
                        skin: "res/UI/Button_And.png",
                        right: 0,
                        bottom: 200
                    },
                    compId: 231,
                    child: [{
                        type: "Sprite",
                        props: {
                            y: 80,
                            x: 24,
                            texture: "res/UI/Font/And_button.png"
                        },
                        compId: 232
                    }]
                }, {
                    type: "Image",
                    props: {
                        y: 0,
                        x: 0,
                        top: 200,
                        skin: "res/UI/Logo2.png",
                        centerX: 0
                    },
                    compId: 204
                }, {
                    type: "Label",
                    props: {
                        y: 0,
                        x: 140,
                        width: 360,
                        var: "levellabel",
                        top: 380,
                        text: "Level: 0",
                        strokeColor: "#000000",
                        stroke: 4,
                        fontSize: 64,
                        color: "#ffffff",
                        centerX: 0,
                        bold: !0,
                        align: "center"
                    },
                    compId: 214
                }]
            }, {
                type: "View",
                props: {
                    var: "GameView",
                    top: 0,
                    right: 0,
                    left: 0,
                    bottom: 0
                },
                compId: 29,
                child: [{
                    type: "Image",
                    props: {
                        var: "artTextImage",
                        top: 300,
                        skin: "res/UI/Font/Combine8.png",
                        centerX: 0
                    },
                    compId: 203
                }]
            }, {
                type: "View",
                props: {
                    var: "FailedView",
                    top: 0,
                    right: 0,
                    left: 0,
                    bottom: 0
                },
                compId: 48,
                child: [{
                    type: "Image",
                    props: {
                        top: 0,
                        skin: "res/UI/Black_BG.png",
                        right: 0,
                        name: "fbgImage",
                        left: 0,
                        bottom: 0,
                        alpha: .5
                    },
                    compId: 263
                }, {
                    type: "Sprite",
                    props: {
                        y: 150,
                        x: 0,
                        texture: "res/UI/los_bg.png"
                    },
                    compId: 49,
                    child: [{
                        type: "Sprite",
                        props: {
                            y: 51.5,
                            x: 217.75,
                            texture: "res/UI/Font/Loser.png"
                        },
                        compId: 100
                    }]
                }, {
                    type: "Button",
                    props: {
                        var: "restartbtn",
                        stateNum: 1,
                        skin: "res/UI/Button.png",
                        labelSize: 42,
                        labelColors: "#FFFFFF",
                        labelBold: !0,
                        centerX: 0,
                        bottom: 250
                    },
                    compId: 57,
                    child: [{
                        type: "Sprite",
                        props: {
                            y: 35,
                            x: 63.5,
                            texture: "res/UI/Font/ReStart.png"
                        },
                        compId: 101
                    }]
                }]
            }, {
                type: "View",
                props: {
                    var: "VictoryView",
                    top: 0,
                    right: 0,
                    left: 0,
                    bottom: 0
                },
                compId: 38,
                child: [{
                    type: "Image",
                    props: {
                        y: 0,
                        x: 0,
                        top: 0,
                        skin: "res/UI/Black_BG.png",
                        right: 0,
                        name: "vbgImage",
                        left: 0,
                        bottom: 0,
                        alpha: .5
                    },
                    compId: 264
                }, {
                    type: "Sprite",
                    props: {
                        y: 150,
                        x: 0,
                        texture: "res/UI/win_bg.png"
                    },
                    compId: 39,
                    child: [{
                        type: "Sprite",
                        props: {
                            y: 51.75,
                            x: 215.25,
                            texture: "res/UI/Font/Winner.png"
                        },
                        compId: 102
                    }]
                }, {
                    type: "Image",
                    props: {
                        y: 511,
                        x: 198,
                        skin: "res/UI/Money_bg002.png",
                        name: "AwardGem",
                        centerX: 0
                    },
                    compId: 210,
                    child: [{
                        type: "Sprite",
                        props: {
                            y: -15,
                            x: 0,
                            texture: "res/UI/Gem.png"
                        },
                        compId: 211
                    }, {
                        type: "Label",
                        props: {
                            y: 11,
                            x: 112,
                            width: 172,
                            var: "amoneylabel",
                            valign: "middle",
                            text: "+ 2048",
                            height: 42,
                            fontSize: 42,
                            color: "#ffffff",
                            bold: !0,
                            align: "center"
                        },
                        compId: 213
                    }]
                }, {
                    type: "Button",
                    props: {
                        var: "nextbtn",
                        top: 960,
                        stateNum: 1,
                        skin: "res/UI/Button.png",
                        labelSize: 32,
                        labelColors: "#ffffff",
                        labelBold: !0,
                        labelAlign: "center",
                        centerX: 0
                    },
                    compId: 46,
                    child: [{
                        type: "Sprite",
                        props: {
                            y: 38.5,
                            x: 46,
                            texture: "res/UI/Font/Next_Stage.png"
                        },
                        compId: 107
                    }]
                }, {
                    type: "Button",
                    props: {
                        var: "adawardbtn",
                        top: 825,
                        stateNum: 1,
                        skin: "res/UI/Button.png",
                        centerX: 0
                    },
                    compId: 205,
                    child: [{
                        type: "Sprite",
                        props: {
                            y: 35.5,
                            x: 23,
                            texture: "res/UI/Movie_ICON.png"
                        },
                        compId: 207
                    }, {
                        type: "Sprite",
                        props: {
                            y: 11,
                            x: 100,
                            texture: "res/UI/Gem.png"
                        },
                        compId: 208
                    }, {
                        type: "Sprite",
                        props: {
                            y: 41.5,
                            x: 209,
                            texture: "res/UI/5.png"
                        },
                        compId: 209
                    }]
                }]
            }, {
                type: "View",
                props: {
                    var: "BeginView",
                    top: 0,
                    right: 0,
                    left: 0,
                    bottom: 0
                },
                compId: 95,
                child: [{
                    type: "Button",
                    props: {
                        var: "startbtn",
                        stateNum: 1,
                        skin: "res/UI/Button.png",
                        labelSize: 48,
                        labelColors: "#FFFFFF",
                        labelBold: !0,
                        centerX: 0,
                        bottom: 250
                    },
                    compId: 96,
                    child: [{
                        type: "Image",
                        props: {
                            skin: "res/UI/Font/Start.png",
                            centerY: 0,
                            centerX: 0
                        },
                        compId: 195
                    }]
                }, {
                    type: "Label",
                    props: {
                        x: 140,
                        width: 360,
                        var: "blevellabel",
                        top: 380,
                        text: "Level: 0",
                        strokeColor: "#000000",
                        stroke: 4,
                        fontSize: 64,
                        color: "#ffffff",
                        centerX: 0,
                        bold: !0,
                        align: "center"
                    },
                    compId: 3
                }, {
                    type: "Image",
                    props: {
                        var: "logoimage",
                        top: 200,
                        skin: "res/UI/Logo2.png",
                        centerX: 0
                    },
                    compId: 97
                }]
            }, {
                type: "View",
                props: {
                    var: "ShopView",
                    top: 0,
                    styleSkin: "res/UI/Shop_BG.png",
                    right: 0,
                    left: 0,
                    bottom: 0
                },
                compId: 127,
                child: [{
                    type: "Image",
                    props: {
                        x: 0,
                        var: "shopitemList",
                        top: 506,
                        skin: "res/UI/Shop_BG.png",
                        right: 0,
                        left: 0,
                        height: 754
                    },
                    compId: 215
                }, {
                    type: "Image",
                    props: {
                        y: 0,
                        x: 0,
                        var: "shopStage",
                        top: 0,
                        skin: "res/UI/Shop_title.png"
                    },
                    compId: 130,
                    child: [{
                        type: "Button",
                        props: {
                            var: "shopclosebtn",
                            stateNum: 1,
                            skin: "res/UI/Shop_Close.png",
                            height: 80,
                            centerX: 316,
                            bottom: 8
                        },
                        compId: 128
                    }, {
                        type: "Sprite",
                        props: {
                            y: 40,
                            x: 312,
                            texture: "res/UI/Font/Shop_title.png"
                        },
                        compId: 198
                    }, {
                        type: "Button",
                        props: {
                            var: "skinbtn",
                            stateNum: 1,
                            skin: "res/UI/Shop_TitleUSE_BG.png",
                            bottom: 0
                        },
                        compId: 218,
                        child: [{
                            type: "Sprite",
                            props: {
                                y: 9.5,
                                x: 55.5,
                                texture: "res/UI/Font/Skin.png"
                            },
                            compId: 219
                        }]
                    }, {
                        type: "Box",
                        props: {
                            x: 0,
                            width: 480,
                            var: "sshowBox",
                            height: 480,
                            centerY: 110,
                            centerX: 0
                        },
                        compId: 257,
                        child: [{
                            type: "Image",
                            props: {
                                width: 480,
                                var: "sshowImage",
                                height: 480,
                                centerY: 0,
                                centerX: 0
                            },
                            compId: 258
                        }]
                    }]
                }, {
                    type: "Box",
                    props: {
                        var: "stipbox",
                        top: 120,
                        right: 0,
                        left: 0,
                        height: 230
                    },
                    compId: 261,
                    child: [{
                        type: "Image",
                        props: {
                            visible: !1,
                            var: "gemnotenough",
                            skin: "res/UI/Font/GemNofull.png",
                            centerX: 0,
                            bottom: 0,
                            alpha: 1
                        },
                        compId: 262
                    }]
                }]
            }, {
                type: "Box",
                props: {
                    y: 25,
                    x: 65,
                    width: 180,
                    var: "tgampanel",
                    height: 93
                },
                compId: 4,
                child: [{
                    type: "Sprite",
                    props: {
                        y: 16,
                        x: -17,
                        texture: "res/UI/Money_BG.png"
                    },
                    compId: 58
                }, {
                    type: "Sprite",
                    props: {
                        y: -17,
                        x: -65,
                        texture: "res/UI/Gem.png"
                    },
                    compId: 5
                }, {
                    type: "Label",
                    props: {
                        y: 26,
                        x: 35,
                        width: 595,
                        var: "moneylabel",
                        valign: "middle",
                        text: "3005",
                        height: 28,
                        fontSize: 36,
                        color: "#000000",
                        bold: !0,
                        align: "left"
                    },
                    compId: 16
                }]
            }, {
                type: "View",
                props: {
                    x: 0,
                    var: "CombineView",
                    top: 0,
                    styleSkin: "res/UI/Shop_BG.png",
                    right: 0,
                    left: 0,
                    bottom: -1
                },
                compId: 233,
                child: [{
                    type: "Image",
                    props: {
                        width: 720,
                        var: "combineItemList",
                        top: 756,
                        skin: "res/UI/Shop_BG.png",
                        right: 0,
                        left: 0,
                        height: 524
                    },
                    compId: 234
                }, {
                    type: "Image",
                    props: {
                        y: 0,
                        x: 0,
                        top: 0,
                        skin: "res/UI/And_title.png"
                    },
                    compId: 235,
                    child: [{
                        type: "Sprite",
                        props: {
                            y: 40,
                            x: 312,
                            texture: "res/UI/Font/And_title.png"
                        },
                        compId: 237
                    }, {
                        type: "Image",
                        props: {
                            y: 650,
                            var: "cstage0",
                            skin: "res/UI/NoChoice_bg.png",
                            left: 0
                        },
                        compId: 242
                    }, {
                        type: "Image",
                        props: {
                            y: 650,
                            var: "cstage1",
                            skin: "res/UI/NoChoice_bg.png",
                            right: 0
                        },
                        compId: 243
                    }, {
                        type: "Box",
                        props: {
                            y: 270,
                            width: 700,
                            var: "showBox",
                            height: 600,
                            centerX: 0
                        },
                        compId: 265,
                        child: [{
                            type: "Image",
                            props: {
                                y: 0,
                                x: 0,
                                width: 700,
                                var: "showImage",
                                height: 600,
                                centerY: 0,
                                centerX: 0
                            },
                            compId: 266
                        }]
                    }, {
                        type: "Button",
                        props: {
                            var: "combineclosebtn",
                            stateNum: 1,
                            skin: "res/UI/Shop_Close.png",
                            right: 0,
                            bottom: 8
                        },
                        compId: 236
                    }]
                }, {
                    type: "Button",
                    props: {
                        y: 1116,
                        var: "combinenowbtn",
                        stateNum: 1,
                        skin: "res/UI/Button.png",
                        centerX: 0
                    },
                    compId: 238,
                    child: [{
                        type: "Sprite",
                        props: {
                            y: 35.5,
                            x: 26,
                            texture: "res/UI/Movie_ICON.png"
                        },
                        compId: 241
                    }, {
                        type: "Sprite",
                        props: {
                            y: 37,
                            x: 94,
                            texture: "res/UI/Font/And_now.png"
                        },
                        compId: 239
                    }]
                }, {
                    type: "Box",
                    props: {
                        var: "combined",
                        top: 0,
                        right: 0,
                        left: 0,
                        height: 1280
                    },
                    compId: 244,
                    child: [{
                        type: "Image",
                        props: {
                            top: 0,
                            skin: "res/UI/Black_BG.png",
                            right: 0,
                            name: "bgImage",
                            left: 0,
                            bottom: 0,
                            alpha: .5
                        },
                        compId: 256
                    }, {
                        type: "Image",
                        props: {
                            y: 112,
                            x: 175,
                            skin: "res/UI/Font/UnlocknewSkin.png",
                            name: "title"
                        },
                        compId: 245
                    }, {
                        type: "Box",
                        props: {
                            y: 200,
                            right: 0,
                            left: 0,
                            height: 700
                        },
                        compId: 248,
                        child: [{
                            type: "Clip",
                            props: {
                                width: 717,
                                var: "combineLight",
                                skin: "res/UI/Effect_light.png",
                                rotation: 0,
                                pivotY: 353,
                                pivotX: 359,
                                height: 707,
                                centerY: 0,
                                centerX: 0
                            },
                            compId: 249
                        }, {
                            type: "Clip",
                            props: {
                                var: "combineStar",
                                skin: "res/UI/Effect_star.png",
                                centerY: 0,
                                centerX: 0,
                                alpha: 1
                            },
                            compId: 250
                        }, {
                            type: "Box",
                            props: {
                                width: 700,
                                var: "cshowBox",
                                height: 600,
                                centerY: 0,
                                centerX: 0
                            },
                            compId: 251,
                            child: [{
                                type: "Image",
                                props: {
                                    width: 700,
                                    var: "cshowImage",
                                    height: 600,
                                    centerY: 0,
                                    centerX: 0
                                },
                                compId: 255
                            }]
                        }]
                    }, {
                        type: "Button",
                        props: {
                            y: 915,
                            var: "combinedokbtn",
                            stateNum: 1,
                            skin: "res/UI/Button.png",
                            centerX: 0
                        },
                        compId: 246,
                        child: [{
                            type: "Sprite",
                            props: {
                                y: 31,
                                x: 40,
                                texture: "res/UI/Font/Get.png"
                            },
                            compId: 247
                        }]
                    }]
                }]
            }, {
                type: "View",
                props: {
                    var: "TrySkinView",
                    top: 0,
                    right: 0,
                    left: 0,
                    bottom: 0
                },
                compId: 268,
                child: [{
                    type: "Image",
                    props: {
                        y: 0,
                        x: 0,
                        top: 0,
                        skin: "res/UI/Black_BG.png",
                        right: 0,
                        name: "tbgImage",
                        left: 0,
                        bottom: 0,
                        alpha: .5
                    },
                    compId: 269
                }, {
                    type: "Image",
                    props: {
                        top: 110,
                        skin: "res/UI/Font/TrySkin.png",
                        name: "title",
                        centerX: 0
                    },
                    compId: 280
                }, {
                    type: "Box",
                    props: {
                        y: 200,
                        x: 0,
                        right: 0,
                        left: 0,
                        height: 700
                    },
                    compId: 281,
                    child: [{
                        type: "Clip",
                        props: {
                            width: 717,
                            var: "trySkinLight",
                            skin: "res/UI/Effect_light.png",
                            rotation: 0,
                            pivotY: 353,
                            pivotX: 359,
                            height: 707,
                            centerY: 0,
                            centerX: 0
                        },
                        compId: 282
                    }, {
                        type: "Clip",
                        props: {
                            var: "trySkinStar",
                            skin: "res/UI/Effect_star.png",
                            centerY: 0,
                            centerX: 0,
                            alpha: 1
                        },
                        compId: 283
                    }, {
                        type: "Box",
                        props: {
                            width: 700,
                            var: "tshowBox",
                            height: 600,
                            centerY: 0,
                            centerX: 0
                        },
                        compId: 284,
                        child: [{
                            type: "Image",
                            props: {
                                width: 700,
                                var: "tshowImage",
                                height: 600,
                                centerY: 0,
                                centerX: 0
                            },
                            compId: 285
                        }]
                    }]
                }, {
                    type: "Button",
                    props: {
                        var: "denytrybtn",
                        top: 843,
                        stateNum: 1,
                        skin: "res/UI/Button.png",
                        centerX: 0
                    },
                    compId: 286,
                    child: [{
                        type: "Sprite",
                        props: {
                            y: 36,
                            x: 63.5,
                            texture: "res/UI/Font/SayNo.png"
                        },
                        compId: 287
                    }]
                }, {
                    type: "Button",
                    props: {
                        var: "tryokbtn",
                        top: 969,
                        stateNum: 1,
                        skin: "res/UI/Button.png",
                        centerX: 0
                    },
                    compId: 288,
                    child: [{
                        type: "Sprite",
                        props: {
                            y: 33.5,
                            x: 23,
                            texture: "res/UI/Movie_ICON.png"
                        },
                        compId: 290
                    }, {
                        type: "Sprite",
                        props: {
                            y: 33.5,
                            x: 97,
                            texture: "res/UI/Font/TryNow.png"
                        },
                        compId: 289
                    }]
                }]
            }],
            animations: [{
                nodes: [{
                    target: 25,
                    keyframes: {
                        y: [{
                            value: 6,
                            tweenMethod: "linearNone",
                            tween: !0,
                            target: 25,
                            key: "y",
                            index: 0
                        }, {
                            value: 6,
                            tweenMethod: "linearNone",
                            tween: !0,
                            target: 25,
                            label: null,
                            key: "y",
                            index: 30
                        }],
                        x: [{
                            value: 190,
                            tweenMethod: "linearNone",
                            tween: !0,
                            target: 25,
                            key: "x",
                            index: 0
                        }, {
                            value: 32,
                            tweenMethod: "linearNone",
                            tween: !0,
                            target: 25,
                            key: "x",
                            index: 15
                        }, {
                            value: 190,
                            tweenMethod: "linearNone",
                            tween: !0,
                            target: 25,
                            label: null,
                            key: "x",
                            index: 30
                        }, {
                            value: 342,
                            tweenMethod: "linearNone",
                            tween: !0,
                            target: 25,
                            key: "x",
                            index: 45
                        }, {
                            value: 190,
                            tweenMethod: "linearNone",
                            tween: !0,
                            target: 25,
                            key: "x",
                            index: 60
                        }]
                    }
                }, {
                    target: 3,
                    keyframes: {
                        x: [{
                            value: 160,
                            tweenMethod: "linearNone",
                            tween: !0,
                            target: 3,
                            key: "x",
                            index: 0
                        }],
                        width: [{
                            value: 320,
                            tweenMethod: "linearNone",
                            tween: !0,
                            target: 3,
                            key: "width",
                            index: 0
                        }],
                        align: [{
                            value: "center",
                            tweenMethod: "linearNone",
                            tween: !1,
                            target: 3,
                            key: "align",
                            index: 0
                        }]
                    }
                }, {
                    target: 16,
                    keyframes: {
                        var: [{
                            value: "bloodlabel",
                            tweenMethod: "linearNone",
                            tween: !1,
                            target: 16,
                            key: "var",
                            index: 0
                        }],
                        name: [{
                            value: "",
                            tweenMethod: "linearNone",
                            tween: !1,
                            target: 16,
                            key: "name",
                            index: 0
                        }]
                    }
                }],
                name: "handmoveAni",
                id: 1,
                frameRate: 24,
                action: 0
            }],
            loadList: ["res/UI/stay_line.png", "res/UI/finge1.png", "res/UI/Font/Study.png", "res/UI/Button_Shop.png", "res/UI/Font/Shop_button.png", "res/UI/Button_And.png", "res/UI/Font/And_button.png", "res/UI/Logo2.png", "res/UI/Font/Combine8.png", "res/UI/Black_BG.png", "res/UI/los_bg.png", "res/UI/Font/Loser.png", "res/UI/Button.png", "res/UI/Font/ReStart.png", "res/UI/win_bg.png", "res/UI/Font/Winner.png", "res/UI/Money_bg002.png", "res/UI/Gem.png", "res/UI/Font/Next_Stage.png", "res/UI/Movie_ICON.png", "res/UI/5.png", "res/UI/Font/Start.png", "res/UI/Shop_BG.png", "res/UI/Shop_title.png", "res/UI/Shop_Close.png", "res/UI/Font/Shop_title.png", "res/UI/Shop_TitleUSE_BG.png", "res/UI/Font/Skin.png", "res/UI/Font/GemNofull.png", "res/UI/Money_BG.png", "res/UI/And_title.png", "res/UI/Font/And_title.png", "res/UI/NoChoice_bg.png", "res/UI/Font/And_now.png", "res/UI/Font/UnlocknewSkin.png", "res/UI/Effect_light.png", "res/UI/Effect_star.png", "res/UI/Font/Get.png", "res/UI/Font/TrySkin.png", "res/UI/Font/SayNo.png", "res/UI/Font/TryNow.png"],
            loadList3D: []
        }, e.__init([E]), new R();
    }(window);
}();</pre></body></html>