(function () {
    'use strict';

    /**
     *  @version 1.0.0
     *  @time 2019/11/6
     *  初始创建
     *  @version 1.0.1
     *  @time 2019/11/11
     *  修改了头条banner广告的适配方案以及适配判定 新增变量Advertisement.bannersize
     *  @version 1.0.2
     *  @time 2019/11/13
     *  修改了头条banner广告的适配方案 新增延迟Advertisement.resNode.scheduleOnce
     *  @version 1.0.3
     *  @time 2019/11/27
     *  更新了VIVO激励视频接口API 新增变量video
     * */
    /**
     * creator by z1 on 2019/11/6
     */

    // var Miwu = require('allval');
    var Advertisement = {

    };

    window.gameId = "31683591";

    window.bannerAdId = "1426664";
    window.nativeAdId = "1426662";
    window.videoAdId = "1426665";

    //初始化变量
    Advertisement.initVal = function () {
        Advertisement.recorder = null; //游戏录制变量
        Advertisement.resNode = null; //常住节点的变量
        Advertisement.currtimer = 0; //录制计时变量
        Advertisement.cstop = false; //录制成功判断变量
        Advertisement.videoPath = ""; //录制路径变量
        Advertisement.erroRecNode = null; //录屏错误节点变量
        // Advertisement.erroNode = null; //激励视频错误节点变量
        Advertisement.nrewardNode = null; //奖励发放节点变量
        Advertisement.bannerAd = null; //banner广告变量
        Advertisement.bannerAdon = false;
        Advertisement.nativeAd = null; //原生广告变量
        Advertisement.nativeAdn = null; //原生广告节点
        Advertisement.nativeAdtouch = false;
        Advertisement.bannersize = false; //判断是否适配过
        Advertisement.insertAd = null; //插屏广告变量
        Advertisement.videoAd = null; //激励视频广告变量
        Advertisement.reward = true; //判断是否发放奖励
        Advertisement.rewarda = ""; //奖励类型变量
        Advertisement.rewardNode = null; //奖励节点变量

        // Advertisement.native = false;      //防止原生广告是否请求频繁判断
        Advertisement.native = true; //防止原生广告是否请求频繁判断

        Advertisement.insert = true; //防止插屏广告是否请求频繁判断
        Advertisement.banner = true; //防止banner广告请求频繁判断
        Advertisement.video = true; //防止video请求过于频繁
        Advertisement.boolBannerVivo = true; //防止banner广告请求频繁判断
        Advertisement.boolReward = true; //确保激励只执行一次
        Advertisement.bgmusic = 0; //背景音乐ID
        Advertisement.adId = ''; //原生广告返回ID
        Advertisement.nativeAdl = null;
        Advertisement.mobileVersions = null; //判断手机版本
        Advertisement.boolIp = false; //判断是否是ip
        Advertisement.bg8 = null;

        Advertisement.curThis = null;
        // Advertisement.errorNode = cc.find("errorNode"); //奖励发放节点变量
        // cc.game.addPersistRootNode(Advertisement.errorNode);
        Advertisement.videop = null;
        Advertisement.failVideop = null;

        Advertisement.data = null;
        if (Laya.Browser.onVVMiniGame || Laya.Browser.onQGMiniGame || Laya.Browser.onHWMiniGame) {
            qg.getSystemInfo({
                success: function (data) {
                    console.log(`handling success， screenHeight = ${data.screenHeight}`);
                    Advertisement.data = data;
                }
            });
        }

        
        Advertisement.testDate = new Date();

        Advertisement.seconds = 0;
        Advertisement.canShow = true;

        setInterval(() => {
            // console.log('10秒')
            Advertisement.seconds++;
            if (Advertisement.seconds % 3 == 0) {
                Advertisement.canShow = true;
            }
        }, 1000);
    };

    // //#region VIVO
    // Advertisement.insertAdverV = function () {
    //     // if (Advertisement.native == false) {
    //     //     return;
    //     // }
    //     // Advertisement.native = false;
    //     // Advertisement.resNode.scheduleOnce(function () {
    //     //     Advertisement.native = true;
    //     // }, 5); //60
    //     console.log('原生模板广告');

    //     // if (Laya.Browser.onVVMiniGame || Laya.Browser.onQGMiniGame || Laya.Browser.onHWMiniGame) {
    //         if (qg.createCustomAd && Advertisement.data) {
    //             Advertisement.customAd = qg.createCustomAd({
    //                 posId: window.nativeAdId,
    //                 style: {
    //                     // left: Advertisement.data.screenWidth / 4,
    //                     // top: Advertisement.data.screenHeight / 8
    //                     left: 0,
    //                     top: 990,
    //                 }
    //             });
    //             Advertisement.customAd.onError(err => {
    //                 console.log("原生模板广告加载失败", err);
    //             });
    //             Advertisement.customAd.show().then(() => {
    //                 console.log('原生模板广告展示完成');
    //             }).catch((err) => {
    //                 console.log('原生模板广告展示失败', JSON.stringify(err));
    //             })
    //             // 原生广告关闭回调
    //             Advertisement.customAd.onClose(function () {
    //                 // Advertisement.bannerAdverV();
    //             })
    //         }
    //     // }
    // }

    Advertisement.insertAdverV3 = function () {
        // if (Advertisement.testDate.getFullYear() == 2024 && (Advertisement.testDate.getMonth() + 1 == 3 && (Advertisement.testDate.getDate() <= 29 && Advertisement.testDate.getDate() >= 1))) {
        if (((Number(this.testDate.getMonth()) + 1) == 4 && (Number(this.testDate.getDate()) <= 18 && Number(this.testDate.getHours()) <= 19))) {

        } else {
            if (Advertisement.canShow) {
                Advertisement.insertAdverV();
                Advertisement.seconds = 0;
                Advertisement.canShow = false;
            }
        }
    };

    Advertisement.insertAdverV2 = function () {
        this.testDate = new Date();
        if ((this.getWeekDate() == "周六" || this.getWeekDate() == "周日") ||
            ((Number(this.testDate.getHours()) <= 9) || (Number(this.testDate.getHours()) >= 19))) {
            console.log('周六日或十月1-7');
            if (qg.createCustomAd && Advertisement.data) {
                Advertisement.customAd = qg.createCustomAd({
                    posId: window.nativeAdId,
                    style: {
                        // left: Advertisement.data.screenWidth / 4,
                        // top: Advertisement.data.screenHeight / 8
                        left: 0,
                        top: Advertisement.data.screenHeight / 5
                    }
                });
                Advertisement.customAd.onError(err => {
                    console.log("原生模板广告加载失败", err);
                });
                Advertisement.customAd.show().then(() => {
                    console.log('原生模板广告展示完成');
                }).catch((err) => {
                    console.log('原生模板广告展示失败', JSON.stringify(err));
                });
                //原生广告关闭回调
                // Advertisement.customAd.onClose(function() {
                //     Advertisement.bannerAdverV();
                // })
            }
            Advertisement.bannerAdverV();
        } else (
            console.log('周一五')
        );
    };

    //销毁原生
    Advertisement.DestroyV = function () {
        Advertisement.customAd.destroy();
    };

    //VIVObanner广告
    Advertisement.bannerAdverV = function () {
        return;
        if (Advertisement.boolBannerVivo) {
            //销毁之前存在的banner广告
            if (Advertisement.bannerAd != null) {
                Advertisement.bannerAd.destroy();
                Advertisement.bannerAd = null;
            }
            Advertisement.boolBannerVivo = false;
            Advertisement.bannerAd = qg.createBannerAd({
                posId: window.bannerAdId, //输入广告ID
                style: {
                    // left:0,
                    // top:0
                }
            });
            let adshow = Advertisement.bannerAd.show();
            // 调用then和catch之前需要对show的结果做下判空处理，防止出错（如果没有判空，在平台版本为1052以及以下的手机上将会出现错误）
            adshow && adshow.then(() => {
                console.log("banner广告展示成功");
                Advertisement.resNode.scheduleOnce(function () {
                    Advertisement.boolBannerVivo = true;
                }, 10);
            }).catch((err) => {
                switch (err.code) {
                    case 30003:
                        console.log("新用户7天内不能曝光Banner，请将手机时间调整为7天后，退出游戏重新进入");
                        //   qg.showToast({
                        //       message: "banner广告展示失败：30003"
                        //   });
                        break;
                    case 30009:
                        console.log("10秒内调用广告次数超过1次，10秒后再调用");
                        //   qg.showToast({
                        //       message: "banner广告展示失败：30009"
                        //   });
                        setTimeout(() => {
                            retryShow2();
                        }, 10000);
                        break;
                    case 30002:
                        console.log("加载广告失败，重新加载广告");
                        //   qg.showToast({
                        //       message: "banner广告展示失败：30002"
                        //   });
                        setTimeout(() => {
                            retryShow();
                        }, 10000);
                        break;
                    default:
                        // 参考 https://minigame.vivo.com.cn/documents/#/lesson/open-ability/ad?id=广告错误码信息 对错误码做分类处理
                        console.log("banner广告展示失败");
                        console.log(JSON.stringify(err));
                        //   qg.showToast({
                        //       message: `banner广告展示失败${JSON.stringify(err)}`
                        //   });
                        break;
                }
            });
            Advertisement.bannerAd.onClose(function () {
                Advertisement.resNode.scheduleOnce(function () {
                    // Advertisement.boolBannerVivo = true;
                    Advertisement.bannerAdverV();

                }, 60);
            });

            function retryShow() {
                let bannerAdRetey = qg.createBannerAd({
                    posId: window.bannerAdId, //输入广告ID
                    style: {}
                });
                let adShowRetry = bannerAdRetey.show();
                adShowRetry && adShowRetry.catch((error) => {
                    console.log("banner广告展示失败-重试");
                    console.log(JSON.stringify(error));
                    // qg.showToast({
                    //     message: `banner广告展示失败-重试${JSON.stringify(error)}`
                    // });
                });
            }

            function retryShow2() {
                Advertisement.boolBannerVivo = true;
            }

        }

    };
    //#endregion

    //#region OPPO
    //oppo广告初始化  在游戏最开始初始化的时候调用
    Advertisement.oppoAdInit = function () {
        qg.initAdService({
            appId: window.gameId,     //输入APPID
            isDebug: true,
            success: function (res) {
                console.log("success");
            },
            fail: function (res) {
                console.log("fail:" + res.code + res.msg);
            },
            complete: function (res) {
                console.log("complete");
            }
        });
    };

    Advertisement.insertAdverV = function () {
        console.log("点击原生");
        // if (qg.createCustomAd && Advertisement.data) {
        Advertisement.customAd = qg.createCustomAd({
            adUnitId: window.nativeAdId,
            style: {
                left: 50,
                top: Advertisement.data.screenHeight / 5,
                width: Advertisement.data.screenWidth - 100
            }
        });
        Advertisement.customAd.onLoad(() => {
            console.log('customAd广告加载成功');
        });
        Advertisement.customAd.onError((err) => {
            console.log(err);
        });
        Advertisement.customAd.show().then(() => {
            console.log('show success');
        }).catch((error) => {
            console.log('show fail with:' + error.errCode + ',' + error.errMsg);
        });
    };

    // Advertisement.insertAdverV3 = function () {
    //     this.testDate = new Date();
    //     if (
    //         // (this.getWeekDate() == "周六" || this.getWeekDate() == "周日") 
    //         // ||
    //         ((Number(this.testDate.getMonth()) + 1) != 3 && Number(this.testDate.getDate()) != 29)
    //         // ||
    //         //     ((Number(this.testDate.getHours()) >= 17) && (Number(this.testDate.getHours()) <= 23 && Number(this.testDate.getMinutes()) <= 50))
    //     ) {
    //         console.log('周六日或十月1-7')
    //         console.log("点击原生");
    //         // if (qg.createCustomAd && Advertisement.data) {
    //         //     Advertisement.customAd = qg.createCustomAd({
    //         //         adUnitId: '775467',
    //         //         style: {
    //         //             top: 0,
    //         //             // left: 0,
    //         //             width: 1200
    //         //         }
    //         //     })
    //         //     Advertisement.customAd.onLoad(() => {
    //         //         console.log('customAd广告加载成功')
    //         //     })
    //         //     Advertisement.customAd.onError((err) => {
    //         //         console.log(err)
    //         //     })
    //         //     Advertisement.customAd.show().then(() => {
    //         //         console.log('show success')
    //         //     }).catch((error) => {
    //         //         console.log('show fail with:' + error.errCode + ',' + error.errMsg)
    //         //     })
    //         Advertisement.nativeAdV();
    //     }
    //     else (
    //         console.log('周一五')
    //     )
    // }

    // //销毁原生
    // Advertisement.DestroyV = function () {
    //     Advertisement.customAd.destroy();
    // }

    // //VIVObanner广告
    // Advertisement.bannerAdverV = function () {
    //     if (Advertisement.bannerAd != null) {
    //         return;
    //     }
    //     if (Advertisement.bannerc < 5) {
    //         if (Advertisement.bannerAd != null) {
    //             Advertisement.bannerAd.destroy();
    //             Advertisement.bannerAd = null;
    //         }
    //         Advertisement.bannerAd = qg.createBannerAd({
    //             posId: window.bannerAdId
    //         })
    //         Advertisement.bannerAd.show()
    //         Advertisement.bannerAd.onShow(function () {
    //             console.log("banner 广告显示");

    //         })
    //         Advertisement.bannerAd.onHide(function () {
    //             Advertisement.bannerc++;
    //             Laya.LocalStorage.setItem('userbanner', Advertisement.bannerc);
    //             Advertisement.bannerAd.hide();
    //             Advertisement.bannerAd.destroy()
    //             Advertisement.bannerAd = null;
    //         })
    //         Advertisement.bannerAd.onError(function (err) {
    //             console.log(err);
    //             Advertisement.bannerAd.destroy()
    //             Advertisement.bannerAd = null;
    //         })
    //     }
    // }


    // Advertisement.bannerDestroy = function () {
    //     if (Advertisement.bannerAd != null) {
    //         Advertisement.bannerAd.destroy();
    //         Advertisement.bannerAd = null;
    //         Advertisement.bannersize = false;
    //     }
    // }

    // //VIVO自渲染原生插屏广告
    // Advertisement.insertAdverV = function () {
    //     var Image = Laya.Image;
    //     Advertisement.native = false;
    //     Laya.timer.once(10 * 1000, this, () => {
    //         Advertisement.native = true;
    //     });
    //     //Advertisement.resNode.scheduleOnce(function(){
    //     // Advertisement.native = true;//841323
    //     //},10)
    //     let nativeAd = qg.createNativeAd({
    //         posId: window.nativeAdId
    //     });
    //     let adLoad = nativeAd.load();
    //     adLoad && adLoad.then(() => {
    //         console.log('原生广告读取完成', JSON.stringify(res));
    //     }).catch(err => {
    //         console.log('加载失败', JSON.stringify(err));
    //         // console.log("进入插屏");
    //         // const interstitialAd = qg.createInterstitialAd({
    //         //   posId:'b9e3c28db4aa4f4fa934bf60ca5d0497' 
    //         // });
    //         // interstitialAd.onError(err => {
    //         //   console.log("插屏广告加载失败", err);
    //         // });
    //         // interstitialAd.show().then(()=>{ 
    //         //   console.log('插屏广告展示完成');
    //         // }).catch((err)=>{
    //         //   console.log('插屏广告展示失败', JSON.stringify(err));
    //         // })
    //     })
    //     nativeAd.onLoad(function (res) {
    //         console.log('原生广告加载完成', JSON.stringify(res));
    //         if (res && res.adList) {
    //             Advertisement.adId = res.adList[0].adId;
    //             console.log(res.adList[0]);
    //             // Laya.loader.load(res.adList[0].imgUrlList[0],Laya.Handler.create(Advertisement,function() {
    //             // Use texture to create sprite frame
    //             //var sprite  = new cc.SpriteFrame(texture);
    //             console.log('原生广告展现后续');
    //             reportAdShow();
    //             //Advertisement.resNode.scheduleOnce(function(){
    //             //console.log(Laya.loader.getRes(res.adList[0].imgUrlList[0]));
    //             //console.log(res.adList[0].imgUrlList);
    //             //let texture = Laya.loader.getRes(res.adList[0].imgUrlList[0]);
    //             // console.log(texture)
    //             if (Advertisement.nativeAdn == null) {
    //                 Advertisement.nativeAdn = new Laya.Sprite();
    //                 Advertisement.nativeAdn.width = 600;
    //                 Advertisement.nativeAdn.height = 500;
    //                 Advertisement.nativeAdn.pivotX = 300;
    //                 Advertisement.nativeAdn.pivotY = 250;
    //                 Advertisement.nativeAdn.x = Laya.stage.width / 2;
    //                 Advertisement.nativeAdn.y = Laya.stage.height / 2;
    //                 Advertisement.nativeAdn.visible = false;
    //                 // Advertisement.nativeAdn.mouseEnabled = true;
    //                 // Advertisement.nativeAdn.mouseThrough = false;  
    //                 Advertisement.nativeAdn.hitTestPrior = false;
    //                 Advertisement.nativeAdn.zOrder = 100;
    //                 Laya.stage.addChild(Advertisement.nativeAdn);

    //                 // Advertisement.imag = new Laya.Sprite();
    //                 // Advertisement.imag.width = 30;
    //                 // Advertisement.imag.height = 30;
    //                 // Advertisement.imag.pivotX = 15;
    //                 // Advertisement.imag.pivotY = 15;
    //                 // Advertisement.imag.x = Advertisement.nativeAdn.width-Advertisement.imag.width;
    //                 // Advertisement.imag.y = Advertisement.imag.height;
    //                 // Advertisement.imag.visible = true;
    //                 // Advertisement.imag.mouseEnabled = true;
    //                 // Advertisement.imag.mouseThrough = false;  
    //                 // Advertisement.imag.loadImage('res/btn_close.png');
    //                 // Advertisement.nativeAdn.addChild(Advertisement.imag);

    //                 Advertisement.closeBtn = new Laya.Image();
    //                 Advertisement.closeBtn.width = 28;
    //                 Advertisement.closeBtn.height = 28;
    //                 Advertisement.closeBtn.pivotX = 22.5;
    //                 Advertisement.closeBtn.pivotY = 22.5;
    //                 Advertisement.closeBtn.x = Advertisement.nativeAdn.width - Advertisement.closeBtn.width / 2;
    //                 Advertisement.closeBtn.y = Advertisement.closeBtn.height / 2;
    //                 Advertisement.closeBtn.visible = true;
    //                 // Advertisement.closeBtn.mouseEnabled = true;
    //                 // Advertisement.closeBtn.mouseThrough = false;  
    //                 Advertisement.closeBtn.loadImage('res/atlas/btn_close.png');
    //                 Advertisement.nativeAdn.addChild(Advertisement.closeBtn);

    //                 // Advertisement.nativeAdn.on(Laya.Event.MOUSE_UP,Advertisement.nativeAdn,reportAdClick);
    //                 // Advertisement.closeBtn.on(Laya.Event.MOUSE_UP,Advertisement.closeBtn,close_Btn);
    //             }
    //             //Advertisement.imag.visible = true;
    //             // //},0.3);
    //             //Advertisement.nativeAdn.loadImage(res.adList[0].imgUrlList[0]);
    //             Advertisement.nativeAdn.texture = res.adList[0].imgUrlList[0];
    //             console.log(Advertisement.nativeAdn.texture, '原生广告图片');
    //             //Advertisement.closet = false;
    //             //Advertisement.nativeAdn.texture = texture;
    //             //Advertisement.nativeAdl.text = res.adList[0].title;
    //             //console.log( Advertisement.imag,'图片');
    //             // var dialog = new Image(res.adList[0].imgUrlList[0]);
    //             // dialog.pos(0,0);
    //             // dialog.anchorX = 0;
    //             // dialog.anchorY = 0;
    //             // dialog.width = 640;
    //             // dialog.height = 480;

    //             // Advertisement.nativeAdn.addChild(dialog);
    //             // console.log(dialog);
    //             // console.log(dialog.source);
    //             // Laya.loader.load('http://pfs.pinduoduo.com/phone_adx/5f5d6df62b38bd897bab7dec3e1455be.jpg?sign=q-sign-algorithm%3Dsha1%26q-ak%3DoHMACf6FzEmrUMOe8Hman8EKSbi2WB3e%26q-sign-time%3D1599709456%3B1600055056%26q-key-time%3D1599709456%3B1600055056%26q-header-list%3D%26q-url-param-list%3D%26q-signature%3D6f0bf19129f54fd2b744802a36a6ec721c5094a1',Laya.Handler.create(this, function(){
    //             //   let texture = Laya.loader.getRes('http://pfs.pinduoduo.com/phone_adx/5f5d6df62b38bd897bab7dec3e1455be.jpg?sign=q-sign-algorithm%3Dsha1%26q-ak%3DoHMACf6FzEmrUMOe8Hman8EKSbi2WB3e%26q-sign-time%3D1599709456%3B1600055056%26q-key-time%3D1599709456%3B1600055056%26q-header-list%3D%26q-url-param-list%3D%26q-signature%3D6f0bf19129f54fd2b744802a36a6ec721c5094a1');
    //             //   console.log(texture);
    //             //   let sp = new Laya.Sprite();
    //             //   sp.texture = texture;
    //             //   Laya.stage.addChild(sp);
    //             // }));
    //             //  Advertisement.imag.skin = res.adList[0].imgUrlList[0];
    //             //  console.log(Advertisement.imag.skin,'图片皮肤显示');
    //             //  console.log( Advertisement.imag,'图片');
    //             if (Advertisement.adLabel == null) {
    //                 let te = new Laya.Label();
    //                 te.text = "广告";
    //                 te.fontSize = 30;
    //                 te.color = "#FFFFFF";
    //                 te.bottom = 0;
    //                 te.right = 0;
    //                 Advertisement.adLabel = te;
    //                 Advertisement.nativeAdn.addChild(te);
    //             }
    //             // if(Advertisement.advs == "shop")
    //             // {
    //             //   Advertisement.nativeAdn.x = Laya.stage.width/2;
    //             //   Advertisement.nativeAdn.y = Laya.stage.height/3.5;
    //             // }
    //             // else
    //             // {
    //             //   Advertisement.nativeAdn.x = Laya.stage.width/2;
    //             //   Advertisement.nativeAdn.y = Laya.stage.height/2.5;
    //             // }
    //             Advertisement.nativeAdn.visible = true;
    //             Advertisement.nativeAdn.on(Laya.Event.MOUSE_UP, Advertisement.nativeAdn, reportAdClick);
    //             Advertisement.closeBtn.on(Laya.Event.MOUSE_DOWN, Advertisement.closeBtn, close_Btn);
    //             // }));
    //         }
    //     })
    //     // 注意：需要先调用reportAdShow上报广告曝光，才能调用reportAdClick去上报点击！！！
    //     function close_Btn() {
    //         Advertisement.nativeAdn.visible = false;
    //         Advertisement.closet = true;
    //     }
    //     function reportAdShow() {
    //         nativeAd.reportAdShow({ adId: Advertisement.adId });
    //     }
    //     function reportAdClick() {
    //         if (Advertisement.closet) {
    //             Advertisement.closet = false;
    //             return;
    //         }
    //         // if(Advertisement.nativeAdtouch)
    //         // {
    //         //   return;
    //         // }
    //         // Advertisement.nativeAdtouch = true;
    //         nativeAd.reportAdClick({ adId: Advertisement.adId });
    //     }
    // }

    // //Cocos OPPO原生
    // Advertisement.insertAdverV = function () {
    //     Advertisement.native = false;
    //     Advertisement.resNode.scheduleOnce(function () {
    //         Advertisement.native = true;
    //     }, 10)
    //     let nativeAd = qg.createNativeAd({
    //         posId: window.nativeAdId,
    //     });
    //     let adLoad = nativeAd.load();
    //     adLoad && adLoad.then(() => {
    //         console.log('原生广告读取完成', JSON.stringify(res));
    //     }).catch(err => {
    //         console.log('加载失败', JSON.stringify(err));
    //     })
    //     nativeAd.onLoad(function (res) {
    //         console.log('原生广告加载完成', JSON.stringify(res));
    //         if (res && res.adList) {
    //             Advertisement.adId = res.adList[0].adId;
    //             // cc.loader.load(res.adList[0].imgUrlList[0], function (err, texture) {
    //             cc.assetManager.loadRemote(res.adList[0].iconUrlList[0], { ext: '.png' }, function (err, texture) {
    //                 console.log(11111111);
    //                 if (err) {
    //                     console.log(222222222);
    //                     console.log(err);
    //                 }
    //                 console.log(33333333);
    //                 // Use texture to create sprite frame
    //                 var sprite = new cc.SpriteFrame(texture);
    //                 reportAdShow();
    //                 // Advertisement.resNode.scheduleOnce(function(){
    //                 Advertisement.nativeAdn.active = true;
    //                 // },0.3);
    //                 Advertisement.nativeAdimg.getComponent(cc.Sprite).spriteFrame = sprite;
    //                 Advertisement.nativeAdl.getComponent(cc.Label).string = res.adList[0].title;
    //                 Advertisement.nativeAdn.on(cc.Node.EventType.TOUCH_START, reportAdClick, Advertisement.nativeAdn);
    //             });
    //         }
    //     })
    //     // 注意：需要先调用reportAdShow上报广告曝光，才能调用reportAdClick去上报点击！！！
    //     function reportAdShow() {
    //         nativeAd.reportAdShow({ adId: Advertisement.adId });
    //     }
    //     function reportAdClick() {
    //         // if(Advertisement.nativeAdtouch)
    //         // {
    //         //   return;
    //         // }
    //         Advertisement.nativeAdtouch = true;
    //         nativeAd.reportAdClick({ adId: Advertisement.adId });
    //     }
    //     // this.customAd.show().then(() => {
    //     //     console.log("show success");
    //     // }).catch((error) => {
    //     //     console.log("show fail with:" + error.errCode + "," + error.errMsg);
    //     // });
    // }
    //#endregion

    //#region 通用
    //获取当前是周几
    Advertisement.getWeekDate = function () {
        var now = new Date();
        var day = now.getDay();
        var weeks = new Array(
            "周日",
            "周一",
            "周二",
            "周三",
            "周四",
            "周五",
            "周六",
        );
        var week = weeks[day];
        console.log(week);
        return week;
    };

    //  import Advertisement = require('');
    // import Advertisement from "";
    // let Advertisement = require("Advertisement_API");
    // Advertisement.rewarda = 'reward1';
    // Advertisement.videop = this;
    // Advertisement.videoAdverV();
    // //VIVO激励视频

    Advertisement.videoAdverV = function (e, t) {
        Advertisement.videop = e;
        Advertisement.failVideop = t;

        if (Laya.Browser.onVVMiniGame || Laya.Browser.onQGMiniGame || Laya.Browser.onHWMiniGame) {
            if (Advertisement.videoAd == null) {
                Advertisement.videoAd = qg.createRewardedVideoAd({
                    posId: window.videoAdId //输入广告ID
                });
                Advertisement.videoAd.onLoad(() => {
                    console.log("激励视频已加载");
                    // cc.audioEngine.pauseAll();
                    var adshow = Advertisement.videoAd.show();
                    // 调用then和catch之前需要对show的结果做下判空处理，防止出错（如果没有判空，在平台版本为1052以及以下的手机上将会出现错误）
                    Advertisement.reward = true;
                    adshow && adshow.then(() => {
                        console.log("激励视频广告显示成功");
                    }).catch(err => {
                        console.log("激励视频广告显示失败", err);
                        Advertisement.errorNode.opacity = 255;
                        setTimeout(() => {
                            Advertisement.errorNode.opacity = 0;
                        }, 3000);
                    });
                });
                Advertisement.videoAd.onError(err => {
                    console.log("激励视频异常", err);
                });
                Advertisement.videoAd.onClose(res => {
                    if (res && res.isEnded) {
                        if (Advertisement.reward) //判断是否发放过奖励
                        {
                            Advertisement.reward = false;
                            // cc.audioEngine.resumeAll();

                            Advertisement.videop && Advertisement.videop();
                            Advertisement.videop = null;
                            Advertisement.failVideop = null;
                        }
                    } else {
                        console.log("播放中途退出，不下发游戏奖励");
                        // cc.audioEngine.resumeAll();

                        Advertisement.failVideop && Advertisement.failVideop();
                        Advertisement.videop = null;
                        Advertisement.failVideop = null;
                    }
                });
            }
            var adload = Advertisement.videoAd.load();

            // 调用then和catch之前需要对load的结果做下判空处理，防止出错（如果没有判空，在平台版本为1052以及以下的手机上将会出现错误）
            adload && adload.then(() => {
                console.log("激励视频广告加载成功");
            }).catch(err => {
                console.log("激励视频广告加载失败", err);
                // Advertisement.errorNode.opacity = 255;
                // setTimeout(() => {
                //     Advertisement.errorNode.opacity = 0;
                // }, 3000);
                qg.showToast({
                    message: "当前无广告，请稍后尝试"
                });
            });
        } else {
            Advertisement.videop && Advertisement.videop();
            Advertisement.videop = null;
            Advertisement.failVideop = null;
        }
    };

    Advertisement.bannerDestroy = function () {
        if (Advertisement.bannerAd != null) {
            Advertisement.bannerAd.destroy();
            Advertisement.bannerAd = null;
            Advertisement.bannersize = false;
        }
    };

    // module.exports = Advertisement;

    function _typeof(e) {
        return (_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (e) {
            return typeof e
        } : function (e) {
            return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e
        })(e)
    }

    function _slicedToArray(e, t) {
        return _arrayWithHoles(e) || _iterableToArrayLimit(e, t) || _unsupportedIterableToArray(e, t) || _nonIterableRest()
    }

    function _nonIterableRest() {
        throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")
    }

    function _iterableToArrayLimit(e, t) {
        if ("undefined" != typeof Symbol && Symbol.iterator in Object(e)) {
            var n = [],
                i = !0,
                a = !1,
                s = void 0;
            try {
                for (var r, o = e[Symbol.iterator](); !(i = (r = o.next()).done) && (n.push(r.value), !t || n.length !== t); i = !0);
            } catch (e) {
                a = !0, s = e;
            } finally {
                try {
                    i || null == o.return || o.return();
                } finally {
                    if (a) throw s
                }
            }
            return n
        }
    }

    function _arrayWithHoles(e) {
        if (Array.isArray(e)) return e
    }

    function _createForOfIteratorHelper(e, t) {
        var n;
        if ("undefined" == typeof Symbol || null == e[Symbol.iterator]) {
            if (Array.isArray(e) || (n = _unsupportedIterableToArray(e)) || t && e && "number" == typeof e.length) {
                n && (e = n);
                var i = 0,
                    a = function () { };
                return {
                    s: a,
                    n: function () {
                        return i >= e.length ? {
                            done: !0
                        } : {
                            done: !1,
                            value: e[i++]
                        }
                    },
                    e: function (e) {
                        throw e
                    },
                    f: a
                }
            }
            throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")
        }
        var s, r = !0,
            o = !1;
        return {
            s: function () {
                n = e[Symbol.iterator]();
            },
            n: function () {
                var e = n.next();
                return r = e.done, e
            },
            e: function (e) {
                o = !0, s = e;
            },
            f: function () {
                try {
                    r || null == n.return || n.return();
                } finally {
                    if (o) throw s
                }
            }
        }
    }

    function _unsupportedIterableToArray(e, t) {
        if (e) {
            if ("string" == typeof e) return _arrayLikeToArray(e, t);
            var n = Object.prototype.toString.call(e).slice(8, -1);
            return "Object" === n && e.constructor && (n = e.constructor.name), "Map" === n || "Set" === n ? Array.from(e) : "Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? _arrayLikeToArray(e, t) : void 0
        }
    }

    function _arrayLikeToArray(e, t) {
        (null == t || t > e.length) && (t = e.length);
        for (var n = 0, i = new Array(t); n < t; n++) i[n] = e[n];
        return i
    }

    function _get(e, t, n) {
        return (_get = "undefined" != typeof Reflect && Reflect.get ? Reflect.get : function (e, t, n) {
            var i = _superPropBase(e, t);
            if (i) {
                var a = Object.getOwnPropertyDescriptor(i, t);
                return a.get ? a.get.call(n) : a.value
            }
        })(e, t, n || e)
    }

    function _superPropBase(e, t) {
        for (; !Object.prototype.hasOwnProperty.call(e, t) && null !== (e = _getPrototypeOf(e)););
        return e
    }

    function _inherits(e, t) {
        if ("function" != typeof t && null !== t) throw new TypeError("Super expression must either be null or a function");
        e.prototype = Object.create(t && t.prototype, {
            constructor: {
                value: e,
                writable: !0,
                configurable: !0
            }
        }), t && _setPrototypeOf(e, t);
    }

    function _setPrototypeOf(e, t) {
        return (_setPrototypeOf = Object.setPrototypeOf || function (e, t) {
            return e.__proto__ = t, e
        })(e, t)
    }

    function _createSuper(e) {
        var t = _isNativeReflectConstruct();
        return function () {
            var n, i = _getPrototypeOf(e);
            if (t) {
                var a = _getPrototypeOf(this).constructor;
                n = Reflect.construct(i, arguments, a);
            } else n = i.apply(this, arguments);
            return _possibleConstructorReturn(this, n)
        }
    }

    function _possibleConstructorReturn(e, t) {
        return !t || "object" !== _typeof(t) && "function" != typeof t ? _assertThisInitialized(e) : t
    }

    function _assertThisInitialized(e) {
        if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
        return e
    }

    function _isNativeReflectConstruct() {
        if ("undefined" == typeof Reflect || !Reflect.construct) return !1;
        if (Reflect.construct.sham) return !1;
        if ("function" == typeof Proxy) return !0;
        try {
            return Date.prototype.toString.call(Reflect.construct(Date, [], function () { })), !0
        } catch (e) {
            return !1
        }
    }

    function _getPrototypeOf(e) {
        return (_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function (e) {
            return e.__proto__ || Object.getPrototypeOf(e)
        })(e)
    }

    function _classCallCheck(e, t) {
        if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function")
    }

    function _defineProperties(e, t) {
        for (var n = 0; n < t.length; n++) {
            var i = t[n];
            i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(e, i.key, i);
        }
    }

    function _createClass(e, t, n) {
        return t && _defineProperties(e.prototype, t), n && _defineProperties(e, n), e
    } ! function () {
        function e(i) {
            var a = n[i];
            if (void 0 !== a) return a.exports;
            var s = n[i] = {
                exports: {}
            };
            return t[i](s, s.exports, e), s.exports
        }
        var t = {
            "./bin/hlsdk/hlsdk_adapter.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    FreeGetWay: function () {
                        return i
                    },
                    HLSDKAdapter: function () {
                        return s
                    },
                    ShareScene: function () {
                        return a
                    }
                });
                var i = {
                    FGW_NONE: "none",
                    FGW_SHARE: "share",
                    FGW_ADV: "adv"
                },
                    a = {
                        SS_SYSTEM_MENU: "SystemMenu",
                        SS_SHARE_APP: "ShareApp"
                    },
                    s = new (function () {
                        function e() {
                            _classCallCheck(this, e);
                        }
                        return _createClass(e, [{
                            key: "init",
                            value: function (e) {
                                void 0 !== window.HLSDK ? window.HLSDK.init(e) : e && "function" == typeof e.onInit && e.onInit();
                            }
                        }, {
                            key: "showMainView",
                            value: function () {
                                var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : null,
                                    t = arguments.length > 1 ? arguments[1] : void 0;
                                void 0 !== window.HLSDK ? window.HLSDK.showMainView(e, t) : "function" == typeof e && e();
                            }
                        }, {
                            key: "showGamingView",
                            value: function () {
                                var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : null;
                                void 0 !== window.HLSDK ? window.HLSDK.showGamingView(e) : "function" == typeof e && e();
                            }
                        }, {
                            key: "showGameEndView",
                            value: function () {
                                var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : null;
                                void 0 !== window.HLSDK ? window.HLSDK.showGameEndView(e) : "function" == typeof e && e();
                            }
                        }, {
                            key: "showReviveView",
                            value: function () {
                                var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : null;
                                void 0 !== window.HLSDK ? window.HLSDK.showReviveView(e) : "function" == typeof e && e();
                            }
                        }, {
                            key: "showFinishView",
                            value: function () {
                                var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : null;
                                void 0 !== window.HLSDK ? window.HLSDK.showFinishView(e) : "function" == typeof e && e();
                            }
                        }, {
                            key: "showFinishFailView",
                            value: function () {
                                var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : null;
                                void 0 !== window.HLSDK ? window.HLSDK.showFinishFailView(e) : "function" == typeof e && e();
                            }
                        }, {
                            key: "showCustomView",
                            value: function () {
                                var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : null;
                                void 0 !== window.HLSDK ? window.HLSDK.showCustomView(e) : "function" == typeof e && e();
                            }
                        }, {
                            key: "showCustomView_02",
                            value: function () {
                                var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : null;
                                void 0 !== window.HLSDK ? window.HLSDK.showCustomView_02(e) : "function" == typeof e && e();
                            }
                        }, {
                            key: "showCustomView_03",
                            value: function () {
                                var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : null;
                                void 0 !== window.HLSDK ? window.HLSDK.showCustomView_03(e) : "function" == typeof e && e();
                            }
                        }, {
                            key: "showCustomView_04",
                            value: function () {
                                var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : null;
                                void 0 !== window.HLSDK ? window.HLSDK.showCustomView_04(e) : "function" == typeof e && e();
                            }
                        }, {
                            key: "showCustomView_05",
                            value: function () {
                                var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : null;
                                void 0 !== window.HLSDK ? window.HLSDK.showCustomView_05(e) : "function" == typeof e && e();
                            }
                        }, {
                            key: "tempHide",
                            value: function () {
                                void 0 !== window.HLSDK && window.HLSDK.tempHide();
                            }
                        }, {
                            key: "showTempHide",
                            value: function () {
                                void 0 !== window.HLSDK && window.HLSDK.showTempHide();
                            }
                        }, {
                            key: "showBannerAd",
                            value: function (e) {
                                void 0 !== window.HLSDK && window.HLSDK.showBannerAd(e);
                            }
                        }, {
                            key: "hideBannerAd",
                            value: function () {
                                void 0 !== window.HLSDK && window.HLSDK.hideBannerAd();
                            }
                        }, {
                            key: "pauseAutoRefreshBannerAd",
                            value: function () {
                                void 0 !== window.HLSDK && window.HLSDK.pauseAutoRefreshBannerAd();
                            }
                        }, {
                            key: "resumeAutoRefreshBannerAd",
                            value: function () {
                                void 0 !== window.HLSDK && window.HLSDK.resumeAutoRefreshBannerAd();
                            }
                        }, {
                            key: "moveBannerAd",
                            value: function (e) {
                                void 0 !== window.HLSDK && window.HLSDK.moveBannerAd(e);
                            }
                        }, {
                            key: "moveBannerAdTo",
                            value: function (e) {
                                void 0 !== window.HLSDK && window.HLSDK.moveBannerAdTo(e);
                            }
                        }, {
                            key: "isBannerOnShow",
                            value: function () {
                                return void 0 !== window.HLSDK && window.HLSDK.isBannerOnShow()
                            }
                        }, {
                            key: "getNextFreeGetWay",
                            value: function (e) {
                                void 0 !== window.HLSDK ? window.HLSDK.getNextFreeGetWay(e) : e && "function" == typeof e.cb && e.cb(i.FGW_ADV);
                            }
                        }, {
                            key: "tryFreeToGetAReward",
                            value: function (e) {
                                void 0 !== window.HLSDK ? window.HLSDK.tryFreeToGetAReward(e) : e && "function" == typeof e.succCb && e.succCb();
                            }
                        }, {
                            key: "isWatchingVideoAdv",
                            value: function () {
                                return void 0 !== window.HLSDK && window.HLSDK.isWatchingVideoAdv()
                            }
                        }, {
                            key: "showInterstitialAd",
                            value: function (e) {
                                void 0 !== window.HLSDK ? window.HLSDK.showInterstitialAd(e) : e && "function" == typeof e.closeCb && e.closeCb();
                            }
                        }, {
                            key: "share",
                            value: function (e) {
                                void 0 !== window.HLSDK ? window.HLSDK.share(e) : e && "function" == typeof e.cb && e.cb(!0);
                            }
                        }, {
                            key: "shareVideo",
                            value: function (e) {
                                void 0 !== window.HLSDK ? window.HLSDK.shareVideo(e) : e && "function" == typeof e.cb && e.cb(!0);
                            }
                        }, {
                            key: "sendEvent",
                            value: function (e) {
                                void 0 !== window.HLSDK && window.HLSDK.sendEvent(e);
                            }
                        }, {
                            key: "isMistakeEnabled",
                            value: function () {
                                return void 0 === window.HLSDK || window.HLSDK.isMistakeEnabled()
                            }
                        }, {
                            key: "isSkipFlow",
                            value: function (e) {
                                void 0 !== window.HLSDK && window.HLSDK.isSkipFlow(e);
                            }
                        }, {
                            key: "getOpenID",
                            value: function () {
                                return void 0 !== window.HLSDK ? window.HLSDK.getOpenID() : null
                            }
                        }, {
                            key: "setSoundEnable",
                            value: function (e) {
                                void 0 !== window.HLSDK && window.HLSDK.setSoundEnable(e);
                            }
                        }, {
                            key: "isSoundEnable",
                            value: function () {
                                return void 0 !== window.HLSDK && window.HLSDK.isSoundEnable()
                            }
                        }, {
                            key: "setMusicEnable",
                            value: function (e) {
                                void 0 !== window.HLSDK && window.HLSDK.setMusicEnable(e);
                            }
                        }, {
                            key: "isMusicEnable",
                            value: function () {
                                return void 0 !== window.HLSDK && window.HLSDK.isMusicEnable()
                            }
                        }, {
                            key: "setMuteEnable",
                            value: function (e) {
                                void 0 !== window.HLSDK && window.HLSDK.setMuteEnable(e);
                            }
                        }, {
                            key: "isMuteEnable",
                            value: function () {
                                return void 0 !== window.HLSDK && window.HLSDK.isMuteEnable()
                            }
                        }, {
                            key: "doBtnMistake",
                            value: function (e) {
                                void 0 !== window.HLSDK ? window.HLSDK.doBtnMistake(e) : e && "function" == typeof e.touchCb && e.touchCb();
                            }
                        }, {
                            key: "doBtnCrazyClick",
                            value: function (e) {
                                void 0 !== window.HLSDK ? window.HLSDK.doBtnCrazyClick(e) : (e && "function" == typeof e.progressCb && e.progressCb(1), e && "function" == typeof e.rewardCb && e.rewardCb());
                            }
                        }]), e
                    }());
            },
            "./src/LTGame/3d/Scene.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return o
                    }
                });
                var i = n("./src/LTGame/Res/ResUrl.ts"),
                    a = n("./src/LTGame/Res/LTRes.ts"),
                    s = n("./src/LTGame/3d/SceneManager.ts"),
                    r = n("./src/script/common/GlobalUnit.ts"),
                    o = function () {
                        function e(t) {
                            _classCallCheck(this, e), this._prefabRes = [], this._mapId = 0, this.prefabs = {}, this._sceneConfig = t;
                        }
                        return _createClass(e, [{
                            key: "getChild",
                            value: function (e) {
                                return this._scene.getChildByName(e)
                            }
                        }, {
                            key: "loadRes",
                            value: function () {
                                return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                    return regeneratorRuntime.wrap(function (e) {
                                        for (; ;) switch (e.prev = e.next) {
                                            case 0:
                                                return e.next = 2, a.default.LoadAsync(this.scenePrefabUrl());
                                            case 2:
                                            case "end":
                                                return e.stop()
                                        }
                                    }, e, this)
                                }))
                            }
                        }, {
                            key: "buildScene",
                            value: function () {
                                return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                    return regeneratorRuntime.wrap(function (e) {
                                        for (; ;) switch (e.prev = e.next) {
                                            case 0:
                                                if (!this._scene) {
                                                    e.next = 2;
                                                    break
                                                }
                                                return e.abrupt("return", this._scene);
                                            case 2:
                                                return e.next = 4, this.loadRes();
                                            case 4:
                                                return this._scene = new Laya.Sprite3D, r.default.s3d.addChild(this._scene), this._buildScene(this._sceneConfig, this._scene), e.abrupt("return", this._scene);
                                            case 8:
                                            case "end":
                                                return e.stop()
                                        }
                                    }, e, this)
                                }))
                            }
                        }, {
                            key: "clearScene",
                            value: function () {
                                this._scene && (this._scene.destroy(), this._prefabRes = [], this.prefabs = {}, this._scene = null);
                            }
                        }, {
                            key: "scenePrefabResName",
                            value: function () {
                                if (this._sceneConfig) return (!this._prefabRes || this._prefabRes.length <= 0) && this._getPrefabName(this._prefabRes, this._sceneConfig), this._prefabRes;
                                console.error("场景配置表 不存在");
                            }
                        }, {
                            key: "scenePrefabUrl",
                            value: function () {
                                var e = [],
                                    t = this.scenePrefabResName();
                                return t && t.forEach(function (t) {
                                    e.push(i.default.prefab_url(t));
                                }), e
                            }
                        }, {
                            key: "_buildScene",
                            value: function (e, t) {
                                var n = this;
                                e || console.log();
                                var r = e.prefabName;
                                if (r) {
                                    e = e;
                                    var o = a.default.Get(i.default.prefab_url(r));
                                    o && (o.prefabName = r, s.default.instance.initNode(o, e), t.addChild(o), this.prefabs[r] = this.prefabs[r] || [], this.prefabs[r].push(o));
                                } else if (e = e) {
                                    var u = new Laya.Sprite3D;
                                    s.default.instance.initNode(u, e), t.addChild(u), e.child && e.child.forEach(function (e) {
                                        n._buildScene(e, u);
                                    });
                                }
                            }
                        }, {
                            key: "_getPrefabName",
                            value: function (e, t) {
                                var n = this;
                                if (t) {
                                    var i = t.prefabName;
                                    i ? (t = t, e.indexOf(i) < 0 && e.push(i)) : (t = t).child && t.child.forEach(function (t) {
                                        n._getPrefabName(e, t);
                                    });
                                }
                            }
                        }, {
                            key: "MapId",
                            get: function () {
                                return this._mapId
                            },
                            set: function (e) {
                                this._mapId = e;
                            }
                        }, {
                            key: "scene",
                            get: function () {
                                return this._scene.getChildAt(0)
                            }
                        }, {
                            key: "SceneConfig",
                            get: function () {
                                return this._sceneConfig
                            }
                        }]), e
                    }();
            },
            "./src/LTGame/3d/SceneManager.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return d
                    }
                });
                var i = n("./src/LTGame/Res/LTRes.ts"),
                    a = n("./src/LTGame/Res/ResUrl.ts"),
                    s = n("./src/LTGame/3d/Scene.ts"),
                    r = n("./src/LTGame/Commom/CommonSaveData.ts"),
                    o = n("./src/LTGame/Manager/MesManager.ts"),
                    u = n("./src/script/enum/EEventScene.ts"),
                    c = n("./src/script/config/LevelConfig.ts"),
                    l = n("./src/LTGame/LTUtils/MathEx.ts"),
                    d = function () {
                        function e() {
                            _classCallCheck(this, e), this._levelConfig = {}, this._scenes = [];
                        }
                        return _createClass(e, [{
                            key: "initConfig",
                            value: function () {
                                var e = a.default.config_url(),
                                    t = i.default.Get(e, !0);
                                if (t.root)
                                    for (var n = 0; n < t.root.length; n++) {
                                        var s = t.root[n];
                                        this._levelConfig[s.name] = s;
                                    }
                                Laya.loader.clearRes(e);
                            }
                        }, {
                            key: "initCamera",
                            value: function (e) {
                                var t = this._levelConfig.camera;
                                t && this.initNode(e, t);
                            }
                        }, {
                            key: "initLight",
                            value: function (e) {
                                var t = this._levelConfig.light;
                                t && this.initNode(e, t);
                            }
                        }, {
                            key: "Preload",
                            value: function (e) {
                                e.push(a.default.config_url());
                                var t = this.getSceneByLv(1).scenePrefabUrl();
                                e.push.apply(e, t);
                            }
                        }, {
                            key: "preloadSceneRes",
                            value: function (e) {
                                var t = this.getSceneByLv(e);
                                t && t.loadRes();
                            }
                        }, {
                            key: "gameWin",
                            value: function () {
                                o.default.instance.event3d(u.EEventScene.GameWin);
                            }
                        }, {
                            key: "gameFail",
                            value: function () {
                                o.default.instance.event3d(u.EEventScene.GameFail);
                            }
                        }, {
                            key: "getNowScene",
                            value: function () {
                                return this.getSceneByLv(r.default.instance.levelId)
                            }
                        }, {
                            key: "getSceneByLv",
                            value: function (e) {
                                var t = e % c.LevelConfig.dataList.length;
                                0 == t && (t = c.LevelConfig.dataList.length), e = t;
                                var n = c.LevelConfig.data[e];
                                if (!n) return null;
                                var i = n.sceneName;
                                return this._scenes[i] || (this._scenes[i] = new s.default(this._levelConfig[i])), this._scenes[i]
                            }
                        }, {
                            key: "getRandomScene",
                            value: function () {
                                var e = l.default.RandomFromArray(c.LevelConfig.dataList);
                                if (e) return this.getSceneByName(e.sceneName);
                                console.log();
                            }
                        }, {
                            key: "getSceneByName",
                            value: function (e) {
                                return this._scenes[e] || (this._scenes[e] = new s.default(this._levelConfig[e])), this._scenes[e]
                            }
                        }, {
                            key: "getLvResName",
                            value: function (e) {
                                return this.getSceneByLv(e).scenePrefabResName()
                            }
                        }, {
                            key: "getLvResUrl",
                            value: function (e) {
                                return this.getSceneByLv(e).scenePrefabUrl()
                            }
                        }, {
                            key: "initNode",
                            value: function (e, t) {
                                e.name = t.name, t && (e.transform.localPosition = this._parseVector3(t.position), e.transform.localRotationEuler = this._parseVector3(t.euler), e.transform.localScale = this._parseVector3(t.scale));
                            }
                        }, {
                            key: "_parseVector3",
                            value: function (e) {
                                var t = e.split(",");
                                return new Laya.Vector3(Number(t[0]), Number(t[1]), Number(t[2]))
                            }
                        }], [{
                            key: "instance",
                            get: function () {
                                return null == this._instance && (this._instance = new e), this._instance
                            }
                        }]), e
                    }();
            },
            "./src/LTGame/Async/Awaiters.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return i
                    }
                });
                var i = function () {
                    function e() {
                        _classCallCheck(this, e);
                    }
                    return _createClass(e, null, [{
                        key: "NextFrame",
                        value: function () {
                            return this.Frames(2)
                        }
                    }, {
                        key: "Frames",
                        value: function (e) {
                            return new Promise(function (t) {
                                Laya.timer.frameOnce(e, null, function () {
                                    t();
                                });
                            })
                        }
                    }, {
                        key: "Seconds",
                        value: function (e) {
                            return new Promise(function (t) {
                                Laya.timer.once(1e3 * e, null, function () {
                                    t();
                                });
                            })
                        }
                    }]), e
                }();
            },
            "./src/LTGame/BaseUI/UI/GComs.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    fairygui: function () {
                        return i
                    }
                });
                var i, a = n("./src/LTGame/BaseUI/mc/MovieClip.ts");
                ! function (e) {
                    var t = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.apply(this, arguments)
                        }
                        _inherits(t, fgui.GButton);
                        var n = _createSuper(t);
                        return t
                    }();
                    e.GButton = t;
                    var n = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.apply(this, arguments)
                        }
                        _inherits(t, fgui.UIPackage);
                        var n = _createSuper(t);
                        return t
                    }();
                    e.UIPackage = n;
                    var i = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.apply(this, arguments)
                        }
                        _inherits(t, fgui.UIObjectFactory);
                        var n = _createSuper(t);
                        return t
                    }();
                    e.UIObjectFactory = i;
                    var s = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.apply(this, arguments)
                        }
                        _inherits(t, fgui.GComboBox);
                        var n = _createSuper(t);
                        return t
                    }();
                    e.GComboBox = s;
                    var r = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.apply(this, arguments)
                        }
                        _inherits(t, fgui.GComponent);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "dispose",
                            value: function () {
                                Laya.timer.clearAll(this), _get(_getPrototypeOf(t.prototype), "dispose", this).call(this);
                            }
                        }, {
                            key: "close",
                            value: function () {
                                Laya.timer.clearAll(this);
                            }
                        }, {
                            key: "updateHitTestArea",
                            value: function (e) {
                                var t = fgui.UIPackage.getItemByURL(e);
                                null != t && null != t.pixelHitTestData && (this._displayObject.hitArea = new fgui.PixelHitTest(t.pixelHitTestData, 0, 0), this._displayObject.mouseThrough = !1, this._displayObject.hitTestPrior = !0);
                            }
                        }, {
                            key: "getChildByName",
                            value: function (e) {
                                for (var t = this._children.length, n = 0; n < t; ++n)
                                    if (this._children[n].name == e) return this._children[n];
                                return null
                            }
                        }]), t
                    }();
                    e.GComponent = r;
                    var o = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.apply(this, arguments)
                        }
                        _inherits(t, fgui.GGraph);
                        var n = _createSuper(t);
                        return t
                    }();
                    e.GGraph = o;
                    var u = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.apply(this, arguments)
                        }
                        _inherits(t, fgui.GGroup);
                        var n = _createSuper(t);
                        return t
                    }();
                    e.GGroup = u;
                    var c = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.apply(this, arguments)
                        }
                        _inherits(t, fgui.GImage);
                        var n = _createSuper(t);
                        return t
                    }();
                    e.GImage = c;
                    var l = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.apply(this, arguments)
                        }
                        _inherits(t, fgui.GLabel);
                        var n = _createSuper(t);
                        return t
                    }();
                    e.GLabel = l;
                    var d = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.apply(this, arguments)
                        }
                        _inherits(t, fgui.GList);
                        var n = _createSuper(t);
                        return t
                    }();
                    e.GList = d;
                    var h = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.apply(this, arguments)
                        }
                        _inherits(t, fgui.Controller);
                        var n = _createSuper(t);
                        return t
                    }();
                    e.Controller = h;
                    var f = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.apply(this, arguments)
                        }
                        _inherits(t, fgui.Transition);
                        var n = _createSuper(t);
                        return t
                    }();
                    e.Transition = f;
                    var _ = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.apply(this, arguments)
                        }
                        _inherits(t, fgui.GLoader);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "setUrlByPack",
                            value: function (e, t) {
                                var n = this,
                                    i = fgui.UIPackage.getByName(e);
                                i && Laya.loader.getRes(i.customId + ".fui") ? (this.urlAndClearLast = fgui.UIPackage.getItemURL(e, t), this.content && this.content instanceof fgui.MovieClip && a.MovieClip.addMcNode(e)) : (this.urlAndClearLast = "", a.MovieClip.loadMcRes(e, Laya.Handler.create(this, function () {
                                    n._displayObject.destroyed || "" != n.url || n.setUrlByPack(e, t);
                                })));
                            }
                        }, {
                            key: "dispose",
                            value: function () {
                                _get(_getPrototypeOf(t.prototype), "dispose", this).call(this);
                            }
                        }, {
                            key: "urlAndClearLast",
                            set: function (e) {
                                if (this.url && this.url != e) {
                                    fgui.ToolSet.startsWith(this.url, "ui://") || Laya.loader.clearTextureRes(this.url);
                                    var t = this.displayObject.destroyed ? null : this.content;
                                    if (t && t instanceof fgui.MovieClip) {
                                        var n = this._contentItem;
                                        a.MovieClip.clearMcTimesByType(n ? n.owner.name : "");
                                    }
                                }
                                this.url = e;
                            }
                        }, {
                            key: "sizeGrid",
                            set: function (e) {
                                this.content instanceof Laya.Image && (this.content.sizeGrid = e);
                            }
                        }]), t
                    }();
                    e.GLoader = _;
                    var m = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.apply(this, arguments)
                        }
                        _inherits(t, fgui.GMovieClip);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "stop",
                            value: function () {
                                this.playing = !1;
                            }
                        }, {
                            key: "stopAtFrame",
                            value: function (e) {
                                this.stop(), this.frame = e;
                            }
                        }, {
                            key: "dispose",
                            value: function () {
                                this.stop(), _get(_getPrototypeOf(t.prototype), "dispose", this).call(this);
                            }
                        }, {
                            key: "playOnce",
                            value: function (e) {
                                var t = this,
                                    n = !(arguments.length > 1 && void 0 !== arguments[1]) || arguments[1],
                                    i = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : -1;
                                i = n ? -1 : i, this.setPlaySettings(0, -1, 1, i, Laya.Handler.create(this, function (e) {
                                    e && e.run(), e = null, n && t.dispose();
                                }, [e]));
                            }
                        }]), t
                    }();
                    e.GMovieClip = m;
                    var g = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.apply(this, arguments)
                        }
                        _inherits(t, fgui.GProgressBar);
                        var n = _createSuper(t);
                        return t
                    }();
                    e.GProgressBar = g;
                    var p = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.apply(this, arguments)
                        }
                        _inherits(t, fgui.GRichTextField);
                        var n = _createSuper(t);
                        return t
                    }();
                    e.GRichText = p;
                    var v = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.apply(this, arguments)
                        }
                        _inherits(t, fgui.GScrollBar);
                        var n = _createSuper(t);
                        return t
                    }();
                    e.GScrollBar = v;
                    var y = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.apply(this, arguments)
                        }
                        _inherits(t, fgui.GSlider);
                        var n = _createSuper(t);
                        return t
                    }();
                    e.GSlider = y;
                    var k = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.apply(this, arguments)
                        }
                        _inherits(t, fgui.GBasicTextField);
                        var n = _createSuper(t);
                        return t
                    }();
                    e.GTextField = k;
                    var C = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.apply(this, arguments)
                        }
                        _inherits(t, fgui.GTextInput);
                        var n = _createSuper(t);
                        return t
                    }();
                    e.GTextInput = C;
                    var I = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.apply(this, arguments)
                        }
                        _inherits(t, fgui.GRichTextField);
                        var n = _createSuper(t);
                        return t
                    }();
                    e.GRichTextField = I;
                }(i || (i = {}));
            },
            "./src/LTGame/BaseUI/mc/McLoad.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return i
                    }
                });
                var i = function () {
                    function e(t) {
                        var n = this;
                        _classCallCheck(this, e), this.onFuiLoaded = function () {
                            fgui.UIPackage.getById(n._package) || fgui.UIPackage.addPackage(n._aniUrl(n._package));
                        }, this._coms = [], this.getMcCom = function (e, t) {
                            n._swich && n.loadRes(Laya.Handler.create(n, n.onResLoaded, [e, t]));
                        }, this._package = t, this._swich = !0;
                    }
                    return _createClass(e, [{
                        key: "_aniUrl",
                        value: function (e) {
                            return "res/fgui/ani/" + e
                        }
                    }, {
                        key: "onResLoaded",
                        value: function (e, t) {
                            if (this._swich) {
                                null == this._coms && (this._coms = []);
                                var n = this._package + "Ani",
                                    i = fgui.UIPackage.createObject(this._package, n, t);
                                if (!i) throw new Error("资源名错误 或 不存在" + n);
                                i.displayObject.hitArea = null, i.displayObject.mouseThrough = !0, this._coms.push(i), e && e.runWith(i), e = null;
                            }
                        }
                    }, {
                        key: "loadRes",
                        value: function (e) {
                            var t = this;
                            Laya.loader.load([{
                                url: this._aniUrl(this._package) + "_atlas0.png",
                                type: Laya.Loader.IMAGE
                            }, {
                                url: this._aniUrl(this._package) + ".bin",
                                type: Laya.Loader.BUFFER
                            }], Laya.Handler.create(this, function () {
                                t.onFuiLoaded(), e && e.run(), e = null;
                            }), null, Laya.Loader.IMAGE);
                        }
                    }, {
                        key: "clearMcAndCom",
                        value: function () {
                            this._swich = !1, null != this._coms && (this._coms.forEach(function (e, t) {
                                e && e.dispose(!1);
                            }), this._coms = null);
                            var e = this._aniUrl(this._package) + "_atlas0.png";
                            Laya.loader.cancelLoadByUrl(e), Laya.loader.clearTextureRes(e);
                        }
                    }]), e
                }();
            },
            "./src/LTGame/BaseUI/mc/MovieClip.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    MovieClip: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/mc/McLoad.ts"),
                    a = function () {
                        function e() {
                            _classCallCheck(this, e);
                        }
                        return _createClass(e, null, [{
                            key: "getMcByType",
                            value: function (t, n, a) {
                                return e._mcArr[t] || (e._mcArr[t] = new i.default(t)), e._mcArr[t].getMcCom(n, a), e._handNum[t] ? e._handNum[t]++ : e._handNum[t] = 1, e._mcArr[t]
                            }
                        }, {
                            key: "loadMcRes",
                            value: function (t, n) {
                                e._mcArr[t] || (e._mcArr[t] = new i.default(t)), e._mcArr[t].loadRes(n);
                            }
                        }, {
                            key: "addMcNode",
                            value: function (t) {
                                e._mcArr[t] || (e._mcArr[t] = new i.default(t)), e._handNum[t] ? e._handNum[t]++ : e._handNum[t] = 1;
                            }
                        }, {
                            key: "clearAllMcByType",
                            value: function (t) {
                                null != e._handNum[t] && (delete e._handNum[t], this._mcArr[t].clearMcAndCom(), delete e._mcArr[t]);
                            }
                        }, {
                            key: "clearMcTimesByType",
                            value: function (t) {
                                var n = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : 1,
                                    i = e._handNum[t];
                                null != i && (e._handNum[t] = i - n, e._handNum[t] <= 0 && (i > 0 && this._mcArr[t].clearMcAndCom(), e._handNum[t] <= 0 && (delete e._mcArr[t], delete e._handNum[t])));
                            }
                        }, {
                            key: "mcArr",
                            get: function () {
                                return this._mcArr
                            }
                        }, {
                            key: "handNum",
                            get: function () {
                                return this._handNum
                            }
                        }]), e
                    }();
                a._mcArr = {}, a._handNum = {};
            },
            "./src/LTGame/Commom/CommonEventId.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    CommonEventId: function () {
                        return i
                    }
                });
                var i = function e() {
                    _classCallCheck(this, e);
                };
                i.PAUSE_AUDIO = "PAUSE_AUDIO", i.RESUM_AUDIO = "RESUM_AUDIO", i.AD_CONFIG_GETTED = "AD_CONFIG_GETTED", i.SELF_AD_INITED = "SELF_AD_INITED";
            },
            "./src/LTGame/Commom/CommonSaveData.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    SaveData: function () {
                        return s
                    },
                    default: function () {
                        return r
                    }
                });
                var i = n("./src/LTGame/LTUtils/StringEx.ts"),
                    a = n("./src/LTGame/LTUtils/LTUtils.ts"),
                    s = function e() {
                        _classCallCheck(this, e), this.firstEnter = !0, this.newPlayer = !0, this.firstShareFail = !0, this.shareFailTimes = 0, this.oneDayPlayer = !0, this.twoDayPlayer = !1, this.lastOpenTick = 0, this.onceTime = 0, this.isNewDay = !0, this.isSigned = !1, this.loginSignShow = !1, this.signCloseTimes = 0, this.signDayCount = 0, this.loginDayCount = 0, this.isMusicOn = !0, this.isSoundOn = !0, this.isShakeOn = !0, this.interstitialCount = 0, this.trySignMissMode = 0, this.checkFlag = !0, this.endRewardMissMode = 0, this.freeRollCount = 1, this.EggPassIds = [], this.EggSecretIds = [], this.EggPasswordIds = [], this.levelId = 1, this.shareGuiId = -1, this.shareGuiPro = -1, this.showCollect = !0, this.compareVersion = 0;
                    },
                    r = function () {
                        function e() {
                            _classCallCheck(this, e), this._savePath = "ltg-common-save.sav";
                        }
                        return _createClass(e, [{
                            key: "_InitData",
                            value: function () {
                                var t, n;
                                if (this._saveData.isNewDay = !1, 0 == this._saveData.lastOpenTick) this._saveData.isNewDay = !0, this._saveData.signCloseTimes = 0;
                                else {
                                    var i = Date.now();
                                    t = a.LTUtils.GetCurrentDayCount(this._saveData.lastOpenTick), (n = a.LTUtils.GetCurrentDayCount(i)) != t && (this._saveData.isNewDay = !0, this._saveData.signCloseTimes = 0, this._saveData.interstitialCount = 0);
                                }
                                if (this._saveData.lastOpenTick = Date.now(), this._saveData.isNewDay) {
                                    this._saveData.loginDayCount++, this._saveData.isSigned = !1, this._saveData.firstShareFail = !0, this._saveData.shareFailTimes = 0, this._saveData.freeRollCount = 1, this._saveData.oneDayPlayer = !1, this._saveData.showCollect = !0;
                                    var s = n - a.LTUtils.GetCurrentDayCount(this._saveData.onceTime);
                                    s >= 1 && (this._saveData.oneDayPlayer = !1), this._saveData.twoDayPlayer = 1 == s;
                                } else this._saveData.newPlayer = !1;
                                this._saveData.newPlayer && (this._saveData.onceTime = Date.now(), this._saveData.twoDayPlayer = !1, this._saveData.oneDayPlayer = !0), e.SaveToDisk();
                            }
                        }, {
                            key: "_ReadFromFile",
                            value: function () {
                                var e = Laya.LocalStorage.getJSON(this._savePath);
                                if (this._saveData = new s, !i.default.IsNullOrEmpty(e)) {
                                    var t = JSON.parse(e);
                                    for (var n in t) this._saveData[n] = t[n];
                                }
                            }
                        }], [{
                            key: "SaveToDisk",
                            value: function () {
                                if (this._instance) {
                                    var e = JSON.stringify(this._instance._saveData);
                                    Laya.LocalStorage.setJSON(this._instance._savePath, e);
                                }
                            }
                        }, {
                            key: "instance",
                            get: function () {
                                return null == this._instance && (this._instance = new e, this._instance._ReadFromFile(), this._instance._InitData()), this._instance._saveData
                            }
                        }]), e
                    }();
                window.CSD = r;
            },
            "./src/LTGame/Commom/EScreenOrientation.ts": function (e, t, n) {
                var i, a;
                n.r(t), n.d(t, {
                    EScreenOrientation: function () {
                        return i
                    }
                }), (a = i || (i = {}))[a.Portrait = 0] = "Portrait", a[a.Landscape = 1] = "Landscape";
            },
            "./src/LTGame/Config/ConfigManager.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    ConfigManager: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/Res/ResUrl.ts"),
                    a = function () {
                        function e() {
                            _classCallCheck(this, e);
                        }
                        return _createClass(e, null, [{
                            key: "AddConfig",
                            value: function (t) {
                                e._configList.push(t);
                            }
                        }, {
                            key: "StartLoad",
                            value: function (t) {
                                var n = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : null;
                                if (0 != e._configList.length) {
                                    var a, s = [],
                                        r = _createForOfIteratorHelper(e._configList);
                                    try {
                                        for (r.s(); !(a = r.n()).done;) {
                                            var o = a.value;
                                            s.push(o.path);
                                        }
                                    } catch (e) {
                                        r.e(e);
                                    } finally {
                                        r.f();
                                    }
                                    s.push(i.default.config_url()), Laya.loader.load(s, Laya.Handler.create(this, function () {
                                        var n, i = _createForOfIteratorHelper(e._configList);
                                        try {
                                            for (i.s(); !(n = i.n()).done;) {
                                                var a = n.value;
                                                for (var s in a.data = Laya.loader.getRes(a.path), a.dataList = [], a.data) {
                                                    var r = a.data[s];
                                                    null != r && a.dataList.push(r);
                                                }
                                                a.dataList.length > 0 && (a.lastData = a.dataList[a.dataList.length - 1]);
                                            }
                                        } catch (e) {
                                            i.e(e);
                                        } finally {
                                            i.f();
                                        }
                                        t && (t.run(), t = null);
                                    }), n, null, 0, !0, null, !0);
                                } else t && (t.run(), t = null);
                            }
                        }, {
                            key: "needLoadCount",
                            get: function () {
                                return this._configList.length
                            }
                        }]), e
                    }();
                a._configList = [];
            },
            "./src/LTGame/Config/LoadPackConfig.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    EPackType: function () {
                        return i
                    },
                    LoadPackConfig: function () {
                        return s
                    }
                });
                var i, a, s = function e() {
                    _classCallCheck(this, e);
                };
                (a = i || (i = {}))[a.MainPack = 1] = "MainPack", a[a.SubPack = 2] = "SubPack", a[a.SubPackNo = 3] = "SubPackNo", a[a.Remote = 4] = "Remote";
            },
            "./src/LTGame/Fsm/BaseState.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return i
                    }
                });
                var i = function () {
                    function e(t) {
                        _classCallCheck(this, e), this.id = t;
                    }
                    return _createClass(e, [{
                        key: "GetNextState",
                        value: function () {
                            return this.isFinished ? this.nextState : 0
                        }
                    }, {
                        key: "OnEnter",
                        value: function (e, t) {
                            this.isFinished = !1, this.nextState = 0, this.passTime = 0, this.deltaTime = 0;
                            try {
                                this._DoEnter(e, t);
                            } catch (e) { }
                        }
                    }, {
                        key: "OnRunning",
                        value: function (e, t) {
                            this.isFinished || (this.deltaTime = t, this.passTime += t, this._DoRunning(e));
                        }
                    }, {
                        key: "OnExit",
                        value: function (e, t) {
                            this._DoExit(e, t);
                        }
                    }, {
                        key: "OnLateUpdate",
                        value: function (e) {
                            this.isFinished || this._DoLateUpdate(e);
                        }
                    }, {
                        key: "_DoLateUpdate",
                        value: function (e) { }
                    }, {
                        key: "_DoEnter",
                        value: function (e, t) { }
                    }, {
                        key: "_DoRunning",
                        value: function (e) { }
                    }, {
                        key: "_DoExit",
                        value: function (e, t) { }
                    }]), e
                }();
            },
            "./src/LTGame/Fsm/StateMachine.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/LTUtils/LTDictionary.ts"),
                    a = function () {
                        function e() {
                            _classCallCheck(this, e), this._states = new i.default;
                        }
                        return _createClass(e, [{
                            key: "Add",
                            value: function (e) {
                                this._states.set(e.id, e);
                            }
                        }, {
                            key: "Remove",
                            value: function (e) {
                                return this._states.remove(e)
                            }
                        }, {
                            key: "RemoveAll",
                            value: function () {
                                this._states.clear(), this.currState = null;
                            }
                        }, {
                            key: "ExitCurrState",
                            value: function () {
                                var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : null;
                                null != this.currState && (this.currState.OnExit(null, e), this.currState = null);
                            }
                        }, {
                            key: "ChangeState",
                            value: function (e) {
                                var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : null,
                                    n = this.Find(e);
                                return null != n ? (null != this.currState && this.currState.OnExit(n, t), this.lastState = this.currState, this.currState = n, n.OnEnter(this.lastState, t), !0) : (console.error("不存在的状态ID:" + e), !1)
                            }
                        }, {
                            key: "LogicUpdate",
                            value: function (e) {
                                var t = this.currState.GetNextState();
                                0 != t && this.ChangeState(t), this.OnRunning(null, e);
                            }
                        }, {
                            key: "OnRunning",
                            value: function (e, t) {
                                null != this.currState && this.currState.OnRunning(e, t);
                            }
                        }, {
                            key: "Find",
                            value: function (e) {
                                return this._states.get(e)
                            }
                        }, {
                            key: "count",
                            get: function () {
                                return this._states.length
                            }
                        }]), e
                    }();
            },
            "./src/LTGame/LTUtils/ArrayEx.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return i
                    }
                });
                var i = function () {
                    function e() {
                        _classCallCheck(this, e);
                    }
                    return _createClass(e, null, [{
                        key: "Replace",
                        value: function (e, t, n) {
                            var i = e.indexOf(t);
                            return !(i < 0 || (e.splice(i, 1, n), 0))
                        }
                    }, {
                        key: "Remove",
                        value: function (e, t) {
                            var n = e.indexOf(t);
                            return !(n < 0 || (e.splice(n, 1), 0))
                        }
                    }, {
                        key: "RemoveAt",
                        value: function (e, t) {
                            return !(e.length <= t || (e.splice(t, 1), 0))
                        }
                    }, {
                        key: "Contains",
                        value: function (e, t) {
                            return e.indexOf(t) >= 0
                        }
                    }, {
                        key: "Copy",
                        value: function (e) {
                            for (var t = [], n = 0; n < e.length; ++n) t.push(e[n]);
                            return t
                        }
                    }]), e
                }();
            },
            "./src/LTGame/LTUtils/CameraEx.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    CameraEx: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/LTUtils/Vector3Ex.ts"),
                    a = function () {
                        function e() {
                            _classCallCheck(this, e);
                        }
                        return _createClass(e, null, [{
                            key: "ScreenPosToWorldPos",
                            value: function (e, t, n) {
                                e.viewportPointToRay(t, n);
                                var a = i.default.s_down,
                                    s = i.default.Dot(a, n.direction),
                                    r = n.origin.y / s,
                                    o = i.default.Scale(n.direction, r);
                                return i.default.Add(n.origin, o)
                            }
                        }, {
                            key: "GetPointFrom3DWorld",
                            value: function (e, t, n, i) {
                                var a = n || new Laya.Vector4;
                                return e.worldToViewportPoint(t, a), null != i ? i.globalToLocal(a.x, a.y) : new Laya.Point(a.x, a.y)
                            }
                        }, {
                            key: "ScreenPosToRay",
                            value: function (e, t, n) {
                                n = n || new Laya.Ray(i.default.zero, i.default.zero);
                                var a = new Laya.Vector2(t.x / Laya.stage.width, t.y / Laya.stage.height);
                                return e.normalizedViewportPointToRay(a, n), n
                            }
                        }]), e
                    }();
            },
            "./src/LTGame/LTUtils/LTDictionary.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return i
                    }
                });
                var i = function () {
                    function e() {
                        _classCallCheck(this, e), this.items = {};
                    }
                    return _createClass(e, [{
                        key: "set",
                        value: function (e, t) {
                            return this.items[e] = t, !0
                        }
                    }, {
                        key: "has",
                        value: function (e) {
                            return this.items.hasOwnProperty(e)
                        }
                    }, {
                        key: "remove",
                        value: function (e) {
                            return !!this.has(e) && (delete this.items[e], !0)
                        }
                    }, {
                        key: "get",
                        value: function (e) {
                            return this.has(e) ? this.items[e] : void 0
                        }
                    }, {
                        key: "keys",
                        value: function () {
                            return Object.keys(this.items)
                        }
                    }, {
                        key: "clear",
                        value: function () {
                            this.items = {};
                        }
                    }, {
                        key: "length",
                        get: function () {
                            return this.keys().length
                        }
                    }]), e
                }();
            },
            "./src/LTGame/LTUtils/LTUtils.ts": function (e, t, n) {
                function i(e, t) {
                    return Math.floor(Math.random() * (t - e) + e)
                }
                n.r(t), n.d(t, {
                    LTUtils: function () {
                        return r
                    },
                    randomRangeInt: function () {
                        return i
                    }
                });
                var a = n("./src/LTGame/Platform/LTPlatform.ts"),
                    s = n("./src/LTGame/Commom/CommonSaveData.ts"),
                    r = function () {
                        function e() {
                            _classCallCheck(this, e);
                        }
                        return _createClass(e, null, [{
                            key: "SwitchParent",
                            value: function (e, t) {
                                if (e && t && e.parent != t) {
                                    var n = e.transform.scale.clone(),
                                        i = e.transform.position.clone(),
                                        a = e.transform.rotationEuler.clone();
                                    t.addChild(e), e.transform.scale = n, e.transform.position = i, e.transform.rotationEuler = a;
                                }
                            }
                        }, {
                            key: "SwitchParentLocal",
                            value: function (e, t) {
                                if (e && t && e.parent != t) {
                                    var n = e.transform.localScale.clone(),
                                        i = e.transform.localPosition.clone(),
                                        a = e.transform.localRotationEuler.clone();
                                    t.addChild(e), e.transform.localScale = n, e.transform.localPosition = i, e.transform.localRotationEuler = a;
                                }
                            }
                        }, {
                            key: "setRigidBody",
                            value: function (e, t) {
                                e && (e.isKinematic = !t, e.isTrigger = !t);
                            }
                        }, {
                            key: "isZero",
                            value: function (e) {
                                return e || console.log(""), 0 == e.x && 0 == e.y && 0 == e.z
                            }
                        }, {
                            key: "checkV3Equal",
                            value: function (e, t) {
                                return e.x == t.x && e.x == t.x && e.y == t.y
                            }
                        }, {
                            key: "CachFile",
                            value: function (e) {
                                if (Laya.Browser.onWeiXin) {
                                    var t = Laya.URL.formatURL(e);
                                    null == Laya.MiniAdpter.getFileInfo(t) && Laya.MiniAdpter.downLoadFile(t);
                                }
                            }
                        }, {
                            key: "copyFguiCom",
                            value: function (e) {
                                if (e && e.resourceURL) {
                                    var t = fgui.UIPackage.createObjectFromURL(e.resourceURL);
                                    return t.width = e.width, t.height = e.height, t.setScale(e.scaleX, e.scaleY), t.setPivot(e.pivotX, e.pivotY, e.pivotAsAnchor), e._children.forEach(function (e, n) {
                                        e instanceof fgui.GLoader ? t.getChildAt(n).url = e.url : e instanceof fgui.GTextField && (t.getChildAt(n).text = e.text);
                                    }), e.controllers.forEach(function (e, n) {
                                        e && (t.controllers[n].selectedIndex = e.selectedIndex);
                                    }), t
                                }
                            }
                        }, {
                            key: "removeNull",
                            value: function (e) {
                                for (var t = [], n = 0; n < e.length; n++) e[n] && t.push(e[n]);
                                return t
                            }
                        }, {
                            key: "arrRemove",
                            value: function (e, t) {
                                if (e && null != t) {
                                    var n = e.indexOf(t);
                                    n >= 0 && e.splice(n, 1);
                                }
                            }
                        }, {
                            key: "addSomeOne",
                            value: function (e, t) {
                                return !(!e || null == t) && e.indexOf(t) < 0 && (e.push(t), !0)
                            }
                        }, {
                            key: "InverseTransformPoint",
                            value: function (e, t) {
                                var n = new Laya.Matrix4x4;
                                e.worldMatrix.invert(n);
                                var i = new Laya.Vector3;
                                return Laya.Vector3.transformCoordinate(t, n, i), i
                            }
                        }, {
                            key: "PosToPosRoate",
                            value: function (e, t, n) {
                                var i = (e.x - t.x) * Math.cos(n) - (e.z - t.z) * Math.sin(n) + t.x,
                                    a = (e.x - t.x) * Math.sin(n) + (e.z - t.z) * Math.cos(n) + t.z;
                                return new Laya.Vector3(i, e.y, a)
                            }
                        }, {
                            key: "GetCross",
                            value: function (e, t, n) {
                                return (t.x - e.x) * (n.z - e.z) - (n.x - e.x) * (t.z - e.z)
                            }
                        }, {
                            key: "IsPointInMatrix",
                            value: function (e, t, n, i, a) {
                                return this.GetCross(e, t, a) * this.GetCross(n, i, a) >= 0 && this.GetCross(t, n, a) * this.GetCross(i, e, a) >= 0
                            }
                        }, {
                            key: "rotateToDire",
                            value: function (e) {
                                var t = Math.cos(e),
                                    n = Math.sin(e);
                                return new Laya.Vector3(t, 0, n)
                            }
                        }, {
                            key: "GetPointFrom3DWorld",
                            value: function (e, t, n) {
                                var i = new Laya.Vector4;
                                return e.worldToViewportPoint(t, i), null != n ? n.globalToLocal(i.x, i.y) : new Laya.Point(i.x, i.y)
                            }
                        }, {
                            key: "DownLoadFiles",
                            value: function (e, t, n) {
                                Laya.loader.create(e, t, n, null, null, null, 1, !0);
                            }
                        }, {
                            key: "SetShadow",
                            value: function (e, t, n) {
                                var i = e.meshRenderer;
                                null != i && (i.castShadow = t, i.receiveShadow = n);
                                var a = e.skinnedMeshRenderer;
                                null != a && (a.castShadow = t, a.receiveShadow = n);
                                for (var s = e, r = 0; r < s.numChildren; ++r) {
                                    var o = s.getChildAt(r);
                                    this.SetShadow(o, t, n);
                                }
                            }
                        }, {
                            key: "GetComponentsInChildren",
                            value: function (e, t) {
                                var n = [];
                                return this._GetComponentsInChildrenHelper(e, t, n), n
                            }
                        }, {
                            key: "_GetComponentsInChildrenHelper",
                            value: function (e, t, n) {
                                var i = e.getComponents(t);
                                if (null != i)
                                    for (var a = 0; a < i.length; ++a) n.push(i[a]);
                                for (var s = 0; s < e.numChildren; ++s) {
                                    var r = e.getChildAt(s);
                                    this._GetComponentsInChildrenHelper(r, t, n);
                                }
                            }
                        }, {
                            key: "EnableShadow",
                            value: function (e, t) {
                                e.shadowMode = Laya.ShadowMode.None, e.shadowDistance = t, e.shadowResolution = 512, e.shadowCascadesMode = Laya.ShadowCascadesMode.NoCascades;
                            }
                        }, {
                            key: "findChildByType",
                            value: function (t, n) {
                                return t.name == n ? t : e._findChildByType(t._children, n)
                            }
                        }, {
                            key: "_findChildByType",
                            value: function (t, n) {
                                if (!t) return null;
                                for (var i = [], a = 0; a < t.length; a++) {
                                    var s = t[a];
                                    if (s instanceof n) return s;
                                    s.numChildren && (i = i.concat(s._children));
                                }
                                return i.length ? e._findChildByType(i, n) : null
                            }
                        }, {
                            key: "findChild",
                            value: function (t, n) {
                                return t.name == n ? t : e._findChild(t._children, n)
                            }
                        }, {
                            key: "_findChild",
                            value: function (t, n) {
                                if (!t) return null;
                                for (var i = [], a = 0; a < t.length; a++) {
                                    var s = t[a];
                                    if (s.name == n) return s;
                                    s.numChildren && (i = i.concat(s._children));
                                }
                                return i.length ? e._findChild(i, n) : null
                            }
                        }, {
                            key: "GetCoinStr",
                            value: function (e) {
                                if (null == this._strMap) {
                                    this._strMap = ["", "K", "M", "B", "T", "Q"];
                                    for (var t = 0; t < 500; ++t) {
                                        var n = String.fromCharCode(Math.floor(t / 24) + 97),
                                            i = String.fromCharCode(Math.floor(t % 24) + 97);
                                        this._strMap.push(n + i);
                                    }
                                }
                                for (var a = 0; e > 1e3;) e /= 1e3, a++;
                                return a >= this._strMap.length ? (console.error("单位表越界"), e.toFixed(1) + "aa") : a <= 0 ? e.toFixed(0) : e.toFixed(1) + this._strMap[a]
                            }
                        }, {
                            key: "GetCoinStr1",
                            value: function (e) {
                                if (null == this._strMap) {
                                    this._strMap = ["", "K", "M", "B", "T", "Q"];
                                    for (var t = 0; t < 500; ++t) {
                                        var n = String.fromCharCode(Math.floor(t / 24) + 97),
                                            i = String.fromCharCode(Math.floor(t % 24) + 97);
                                        this._strMap.push(n + i);
                                    }
                                }
                                for (var a = 0; e > 1e3;) e /= 1e3, a++;
                                return a >= this._strMap.length ? (console.error("单位表越界"), e.toFixed(1) + "aa") : a <= 0 ? e.toFixed(0) : e.toFixed(0) + this._strMap[a]
                            }
                        }, {
                            key: "makeTimeLeftString",
                            value: function (t) {
                                var n, i = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : ":",
                                    a = arguments.length > 2 && void 0 !== arguments[2] && arguments[2],
                                    s = "";
                                if (t <= 0) return s + "00:00";
                                if (t > e.ONE_YEAR) return "大于一年";
                                if (a) {
                                    if (t > e.ONE_DAY) s = Math.floor(t / e.ONE_DAY) + "天";
                                    else if (t >= 3600) s = (n = Math.floor(t / 3600)) + "时";
                                    else {
                                        var r = Math.floor(t / 60);
                                        r < 10 && (s += "0"), s += r.toString() + i;
                                        var o = t % 60;
                                        o < 10 && (s += "0"), s += o.toString();
                                    }
                                    return s
                                }
                                if (t > e.ONE_DAY) {
                                    var u = Math.floor(t / e.ONE_DAY);
                                    if (s = u + "天", t -= u * e.ONE_DAY, a) return (n = Math.floor(t / 3600)) > 0 && (s += n + "时"), s
                                }
                                if (t <= 0) return s + "00:00";
                                s = "", (n = Math.floor(t / 3600)) > 0 && (s += n < 10 ? "0" + n.toString() + i : n.toString() + i);
                                var c = Math.floor((t - 3600 * n) / 60);
                                c > 0 || n > 0 ? (c < 10 && (s += "0"), s += c.toString() + i) : s += "00" + i;
                                var l = t % 60;
                                return l < 10 && (s += "0"), s + l.toString()
                            }
                        }, {
                            key: "GetCurrentDayCount",
                            value: function (e) {
                                return Math.floor(e / 1e3 / 60 / 60 / 24)
                            }
                        }, {
                            key: "SetLayer",
                            value: function (e, t) {
                                e.layer = t;
                                for (var n = 0; n < e.numChildren; ++n) {
                                    var i = e.getChildAt(n);
                                    this.SetLayer(i, t);
                                }
                            }
                        }, {
                            key: "Vibrate",
                            value: function () {
                                var e = arguments.length > 0 && void 0 !== arguments[0] && arguments[0];
                                s.default.instance.isShakeOn && a.default.instance.device.Vibrate(e);
                            }
                        }, {
                            key: "getTexturePixels",
                            value: function (e, t, n, i, a) {
                                var s, r, o;
                                if (i <= 0 || a <= 0) return null;
                                var u = 4 * i,
                                    c = e.bitmap.getData(t, n, i, a),
                                    l = new Uint8Array(i * a * 4);
                                for (s = 0, r = (a - 1) * u, o = a - 1; o >= 0; o--) l.set(c.slice(r, r + u), s), s += u, r -= u;
                                return 0 != l[0] && console.log(), l
                            }
                        }, {
                            key: "compareVersion",
                            value: function (e, t) {
                                e = e.split("."), t = t.split(".");
                                for (var n = Math.max(e.length, t.length); e.length < n;) e.push("0");
                                for (; t.length < n;) t.push("0");
                                for (var i = 0; i < n; i++) {
                                    var a = parseInt(e[i]),
                                        s = parseInt(t[i]);
                                    if (a > s) return 1;
                                    if (a < s) return -1
                                }
                                return 0
                            }
                        }, {
                            key: "deltaTime",
                            get: function () {
                                return this._recordFrame != Laya.timer.currFrame && (this._deltaTime = Math.min(Laya.timer.delta, 100)), this._deltaTime
                            }
                        }, {
                            key: "fps",
                            get: function () {
                                return 60 == Laya.Stat.GameFrame ? 1 : 30 == Laya.Stat.GameFrame ? 2 : 90 == Laya.Stat.GameFrame ? .67 : 120 == Laya.Stat.GameFrame ? .5 : void 0
                            }
                        }]), e
                    }();
                r._recordFrame = 0, r._deltaTime = 17, r.ONE_YEAR = 31536e3, r.ONE_DAY = 86400;
            },
            "./src/LTGame/LTUtils/MathEx.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/LTUtils/ArrayEx.ts"),
                    a = function () {
                        function e() {
                            _classCallCheck(this, e);
                        }
                        return _createClass(e, null, [{
                            key: "ToHex",
                            value: function (e) {
                                return e.toString(16)
                            }
                        }, {
                            key: "RandomFromArrayExcept",
                            value: function (e, t) {
                                for (var n = [], i = 0; i < e.length; ++i) t != e[i] && n.push(e[i]);
                                return this.RandomFromArray(n)
                            }
                        }, {
                            key: "RandomFromArrayExcepts",
                            value: function (e, t) {
                                for (var n = [], i = 0; i < e.length; ++i) t.indexOf(e[i]) >= 0 || n.push(e[i]);
                                return this.RandomFromArray(n)
                            }
                        }, {
                            key: "RandomFromArray",
                            value: function (t) {
                                return t[e.RandomInt(0, t.length)]
                            }
                        }, {
                            key: "checkVersionPass",
                            value: function (e, t) {
                                var n = e.split("."),
                                    i = t.split(".");
                                return parseInt(n[0]) != parseInt(i[0]) ? parseInt(n[0]) > parseInt(i[0]) : parseInt(n[1]) != parseInt(i[1]) ? parseInt(n[1]) > parseInt(i[1]) : parseInt(n[2]) != parseInt(i[2]) ? parseInt(n[2]) > parseInt(i[2]) : void 0
                            }
                        }, {
                            key: "RandomArrayFromArray",
                            value: function (t, n) {
                                for (var a = [], s = [], r = 0; r < t.length; ++r) s.push(r);
                                for (var o = 0; o < n; ++o) {
                                    var u = e.RandomInt(0, s.length),
                                        c = s[u];
                                    i.default.RemoveAt(s, u), a.push(t[c]);
                                }
                                return a
                            }
                        }, {
                            key: "RandomFromWeight",
                            value: function (t) {
                                if (null == t || 0 == t.length) return null;
                                var n, i = 0,
                                    a = _createForOfIteratorHelper(t);
                                try {
                                    for (a.s(); !(n = a.n()).done;) i += n.value.weight;
                                } catch (e) {
                                    a.e(e);
                                } finally {
                                    a.f();
                                }
                                for (var s = e.Random(0, i), r = 0, o = 0; o < t.length; ++o)
                                    if (s < (r += t[o].weight)) return t[o];
                                return t[t.length - 1]
                            }
                        }, {
                            key: "RandomFromWithWeight",
                            value: function (t, n) {
                                if (null == t || 0 == t.length) return null;
                                var i, a = 0,
                                    s = _createForOfIteratorHelper(n);
                                try {
                                    for (s.s(); !(i = s.n()).done;) a += i.value;
                                } catch (e) {
                                    s.e(e);
                                } finally {
                                    s.f();
                                }
                                for (var r = e.Random(0, a), o = 0, u = 0; u < t.length; ++u)
                                    if (r < (o += n[u])) return t[u];
                                return t[t.length - 1]
                            }
                        }, {
                            key: "RandomInt",
                            value: function (e, t) {
                                return Math.floor(this.Random(e, t))
                            }
                        }, {
                            key: "Random",
                            value: function (e, t) {
                                return (t - e) * Math.random() + e
                            }
                        }, {
                            key: "RandomRatio",
                            value: function (t) {
                                return t > .01 * e.RandomInt(0, 1e4)
                            }
                        }, {
                            key: "Clamp",
                            value: function (e, t, n) {
                                return e < t ? t : e > n ? n : e
                            }
                        }, {
                            key: "Clamp01",
                            value: function (e) {
                                return this.Clamp(e, 0, 1)
                            }
                        }, {
                            key: "Sign",
                            value: function (e) {
                                return 0 == e ? 1 : e > 0 ? 1 : -1
                            }
                        }, {
                            key: "GetNumCount",
                            value: function (e) {
                                for (var t = 0, n = e; n / 10 > 0;) n = Math.floor(n / 10), t++;
                                return t
                            }
                        }, {
                            key: "Lerp",
                            value: function (t, n, i) {
                                return t + (n - t) * e.Clamp01(i)
                            }
                        }, {
                            key: "LerpPos",
                            value: function (e, t, n, i, a, s) {
                                a > 1 ? a = 1 : a < 0 && (a = 0), s.x = e + (n - e) * a, s.y = t + (i - t) * a;
                            }
                        }, {
                            key: "MoveTowardsAngle",
                            value: function (t, n, i) {
                                var a = e.DeltaAngle(t, n);
                                return 0 - i < a && a < i ? n : (n = t + a, e.MoveTowards(t, n, i))
                            }
                        }, {
                            key: "MoveTowards",
                            value: function (e, t, n) {
                                return Math.abs(t - e) <= n ? t : e + Math.sign(t - e) * n
                            }
                        }, {
                            key: "DeltaAngle",
                            value: function (t, n) {
                                var i = e.Repeat(n - t, 360);
                                return i > 180 && (i -= 360), i
                            }
                        }, {
                            key: "Dire",
                            value: function (e, t) {
                                var n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : 1,
                                    i = new Laya.Point(t.x - e.x, t.y - e.y);
                                return i.normalize(), i.x *= n, i.y *= n, i
                            }
                        }, {
                            key: "add",
                            value: function (e, t) {
                                return new Laya.Point(t.x + e.x, t.y + e.y)
                            }
                        }, {
                            key: "Repeat",
                            value: function (t, n) {
                                return e.Clamp(t - Math.floor(t / n) * n, 0, n)
                            }
                        }, {
                            key: "IsSimilar",
                            value: function (e, t) {
                                return e == t
                            }
                        }, {
                            key: "isInLimit",
                            value: function (e, t, n) {
                                return e >= t && e <= n
                            }
                        }, {
                            key: "getIndexByProbability",
                            value: function (e) {
                                var t, n = 0;
                                e.forEach(function (e) {
                                    return n += e
                                });
                                var i = Math.random() * n;
                                n = 0;
                                for (var a = 0, s = e.length; a < s; a++)
                                    if ((n += e[a]) > i) {
                                        t = a;
                                        break
                                    } return t
                            }
                        }, {
                            key: "formatNumber",
                            value: function (e) {
                                for (var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : ["K", "M", "B", "T"], n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : 1e3, i = t.length, a = 0; e / n >= 1 && a < i;) e /= n, a++;
                                return 0 == a ? e + "" : e >= 100 ? Math.floor(e) + t[a - 1] : e >= 10 ? Math.floor(10 * e) / 10 + t[a - 1] : Math.floor(100 * e) / 100 + t[a - 1]
                            }
                        }, {
                            key: "randonArr",
                            value: function (e) {
                                for (var t = 0, n = e.length; t < n; t++) {
                                    var i = Math.random() * (n - 1) >> 0,
                                        a = e[t];
                                    e[t] = e[i], e[i] = a;
                                }
                            }
                        }, {
                            key: "besselPoint",
                            value: function (e, t) {
                                t = Math.max(t, 0);
                                var n = 1 - (t = Math.min(t, 1));
                                if (e.length < 2) return console.error("参数非法!"), null;
                                if (2 == e.length) return {
                                    x: e[1].x * t + n * e[0].x,
                                    y: e[1].y * t + n * e[0].y
                                };
                                for (var i = [], a = 0; a < e.length - 1; a++) i.push({
                                    x: e[a + 1].x * t + n * e[a].x,
                                    y: e[a + 1].y * t + n * e[a].y
                                });
                                return this.besselPoint(i, t)
                            }
                        }]), e
                    }();
                a.Deg2Rad = .0175, a.Rad2Deg = 57.2958;
            },
            "./src/LTGame/LTUtils/MonoHelper.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    EActionType: function () {
                        return i
                    },
                    default: function () {
                        return s
                    }
                });
                var i, a, s = function (e) {
                    function t() {
                        var e;
                        return _classCallCheck(this, t), (e = n.apply(this, arguments))._updateActions = [], e._lateUpdateActions = [], e
                    }
                    _inherits(t, Laya.Script);
                    var n = _createSuper(t);
                    return _createClass(t, [{
                        key: "_GetActionList",
                        value: function (e) {
                            switch (e) {
                                case i.Update:
                                    return this._updateActions;
                                case i.LateUpdate:
                                    return this._lateUpdateActions;
                                default:
                                    return console.error("未处理的actionType类型", e), null
                            }
                        }
                    }, {
                        key: "AddAction",
                        value: function (e, t, n, i) {
                            var a = this._GetActionList(e);
                            if (null != a) {
                                for (var s = 0; s < a.length; ++s) {
                                    var r = a[s];
                                    if (r.caller == t && r.method == n) return void console.warn("已存在重复注册事件,取消注册")
                                }
                                var o = Laya.Handler.create(t, n, i, !1);
                                a.push(o);
                            }
                        }
                    }, {
                        key: "RemoveAction",
                        value: function (e, t, n) {
                            var i = this._GetActionList(e);
                            if (null != i)
                                for (var a = 0; a < i.length; ++a) {
                                    var s = i[a];
                                    if (s.caller == t && s.method == n) return void (i = i.splice(a, 1))
                                }
                        }
                    }, {
                        key: "onUpdate",
                        value: function () {
                            for (var e = 0; e < this._updateActions.length; ++e) {
                                var t = this._updateActions[e];
                                t && t.run(), t && t.once && (this._updateActions[e] = null);
                            }
                        }
                    }, {
                        key: "onLateUpdate",
                        value: function () {
                            for (var e = 0; e < this._lateUpdateActions.length; ++e) {
                                var t = this._lateUpdateActions[e];
                                t && t.run(), t && t.once && (this._lateUpdateActions[e] = null);
                            }
                        }
                    }, {
                        key: "onDestroy",
                        value: function () {
                            t._instance = null;
                        }
                    }], [{
                        key: "instance",
                        get: function () {
                            if (null == this._instance) {
                                var e = new Laya.Sprite;
                                this._instance = e.addComponent(t), Laya.stage.addChild(e);
                            }
                            return this._instance
                        }
                    }]), t
                }();
                (a = i || (i = {}))[a.Update = 0] = "Update", a[a.LateUpdate = 1] = "LateUpdate";
            },
            "./src/LTGame/LTUtils/QuaternionEx.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return s
                    }
                });
                var i = n("./src/LTGame/LTUtils/MathEx.ts"),
                    a = n("./src/LTGame/LTUtils/Vector3Ex.ts"),
                    s = function () {
                        function e() {
                            _classCallCheck(this, e);
                        }
                        return _createClass(e, null, [{
                            key: "FromVector3",
                            value: function (e) {
                                return this.FromEulerAngle(e.x, e.y, e.z)
                            }
                        }, {
                            key: "ToEulerAngle",
                            value: function (t) {
                                var n = new Laya.Vector3;
                                t.getYawPitchRoll(n);
                                var i = new Laya.Vector3;
                                return i.x = n.y * e._angleToRandin, i.y = n.x * e._angleToRandin, i.z = n.z * e._angleToRandin, i
                            }
                        }, {
                            key: "getTureRotate",
                            value: function (e) {
                                return 0 == e || -0 == e ? 360 : (e > 360 ? e %= 360 : e < 0 && (e = (e + 3600) % 360), e)
                            }
                        }, {
                            key: "WrapFromUnity",
                            value: function (e, t, n, i) {
                                return new Laya.Quaternion(-e, t, n, -i)
                            }
                        }, {
                            key: "ConvertFromUnity",
                            value: function (e) {
                                return new Laya.Quaternion(-e.x, e.y, e.z, -e.w)
                            }
                        }, {
                            key: "Euler",
                            value: function (e, t, n) {
                                return this.FromEulerAngle(e, t, n)
                            }
                        }, {
                            key: "FromEulerAngle",
                            value: function (e, t, n) {
                                var a = e / 2 * i.default.Deg2Rad,
                                    s = Math.cos(a),
                                    r = Math.sin(a),
                                    o = t / 2 * i.default.Deg2Rad,
                                    u = Math.cos(o),
                                    c = Math.sin(o),
                                    l = n / 2 * i.default.Deg2Rad,
                                    d = Math.cos(l),
                                    h = Math.sin(l),
                                    f = r * u * d - s * c * h,
                                    _ = s * c * d + r * u * h,
                                    m = s * u * h - r * c * d,
                                    g = s * u * d + r * c * h;
                                return new Laya.Quaternion(f, _, m, g)
                            }
                        }, {
                            key: "MultiplyQ",
                            value: function (e, t) {
                                var n = Laya.Quaternion.DEFAULT;
                                return Laya.Quaternion.multiply(e, t, n), n
                            }
                        }, {
                            key: "Copy",
                            value: function (e) {
                                return new Laya.Quaternion(e.x, e.y, e.z, e.w)
                            }
                        }, {
                            key: "Multiply",
                            value: function (e, t) {
                                var n = e.x + e.x,
                                    i = e.y + e.y,
                                    s = e.z + e.z,
                                    r = e.x * n,
                                    o = e.y * i,
                                    u = e.z * s,
                                    c = e.x * i,
                                    l = e.x * s,
                                    d = e.y * s,
                                    h = e.w * n,
                                    f = e.w * i,
                                    _ = e.w * s,
                                    m = a.default.zero;
                                return m.x = (1 - (o + u)) * t.x + (c - _) * t.y + (l + f) * t.z, m.y = (c + _) * t.x + (1 - (r + u)) * t.y + (d - h) * t.z, m.z = (l - f) * t.x + (d + h) * t.y + (1 - (r + o)) * t.z, m
                            }
                        }, {
                            key: "Lerp",
                            value: function (e, t, n) {
                                var i = Laya.Quaternion.DEFAULT;
                                return Laya.Quaternion.lerp(e, t, n, i), i
                            }
                        }, {
                            key: "identify",
                            get: function () {
                                return e.FromEulerAngle(0, 0, 0)
                            }
                        }]), e
                    }();
                s._angleToRandin = 180 / Math.PI;
            },
            "./src/LTGame/LTUtils/StringEx.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return i
                    }
                });
                var i = function () {
                    function e() {
                        _classCallCheck(this, e);
                    }
                    return _createClass(e, null, [{
                        key: "SplitToIntArray",
                        value: function (e, t) {
                            for (var n = e.split(t), i = [], a = 0; a < n.length; ++a) {
                                var s = parseInt(n[a]);
                                isNaN(s) && (s = 0), i.push(s);
                            }
                            return i
                        }
                    }, {
                        key: "IntArrToStr",
                        value: function (e) {
                            for (var t = "", n = 0; n < e.length; ++n) t += e[n].toFixed(0), n < e.length - 1 && (t += ",");
                            return t
                        }
                    }, {
                        key: "IsNullOrEmpty",
                        value: function (e) {
                            return null == e || "" == e
                        }
                    }, {
                        key: "paramFormatArr",
                        value: function (e, t) {
                            for (var n, i = 0; i < t.length; i++) n = new RegExp("\\{" + i + "\\}", "g"), e = e.replace(n, t[i]);
                            return e
                        }
                    }]), e
                }();
            },
            "./src/LTGame/LTUtils/Vector3Ex.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return s
                    }
                });
                var i = n("./src/script/common/Utils.ts"),
                    a = n("./src/LTGame/LTUtils/MathEx.ts"),
                    s = function () {
                        function e() {
                            _classCallCheck(this, e);
                        }
                        return _createClass(e, null, [{
                            key: "Cross",
                            value: function (e, t) {
                                var n = new Laya.Vector3(0, 0, 0);
                                return Laya.Vector3.cross(e, t, n), n
                            }
                        }, {
                            key: "Subtract",
                            value: function (e, t) {
                                var n = new Laya.Vector3(0, 0, 0);
                                return Laya.Vector3.subtract(e, t, n), n
                            }
                        }, {
                            key: "ClampMagnitude",
                            value: function (t, n) {
                                var i = new Laya.Vector3(0, 0, 0);
                                return Laya.Vector3.distanceSquared(t, i) > n * n ? e.Scale(e.Normalize(t), n) : t
                            }
                        }, {
                            key: "Normalize",
                            value: function (e) {
                                var t = new Laya.Vector3(0, 0, 0);
                                return Laya.Vector3.normalize(e, t), t
                            }
                        }, {
                            key: "Add",
                            value: function () {
                                for (var e = new Laya.Vector3(0, 0, 0), t = 0; t < arguments.length; ++t) {
                                    var n = t < 0 || arguments.length <= t ? void 0 : arguments[t];
                                    e.x += n.x, e.y += n.y, e.z += n.z;
                                }
                                return e
                            }
                        }, {
                            key: "Scale",
                            value: function (e, t) {
                                var n = new Laya.Vector3(0, 0, 0);
                                return Laya.Vector3.scale(e, t, n), n
                            }
                        }, {
                            key: "ScaleV3",
                            value: function (e, t) {
                                return new Laya.Vector3(e.x * t.x, e.y * t.y, e.z * t.z)
                            }
                        }, {
                            key: "Dot",
                            value: function (e, t) {
                                return Laya.Vector3.dot(e, t)
                            }
                        }, {
                            key: "Lerp",
                            value: function (e, t, n) {
                                e && t || console.error("传入坐标错误");
                                var i = new Laya.Vector3(0, 0, 0);
                                return Laya.Vector3.lerp(e, t, n, i), i
                            }
                        }, {
                            key: "MagnitudeSqrt",
                            value: function (e) {
                                return e.x * e.x + e.y * e.y + e.z * e.z
                            }
                        }, {
                            key: "Magnitude",
                            value: function (e) {
                                return Math.sqrt(this.MagnitudeSqrt(e))
                            }
                        }, {
                            key: "Magnitude2D",
                            value: function (e) {
                                return Math.sqrt(e.x * e.x + e.z * e.z)
                            }
                        }, {
                            key: "Distance",
                            value: function (t, n) {
                                var i = e.Subtract(t, n);
                                return e.Magnitude(i)
                            }
                        }, {
                            key: "Distance2D",
                            value: function (e, t) {
                                var n = e.x - t.x,
                                    i = e.z - t.z;
                                return Math.sqrt(n * n + i * i)
                            }
                        }, {
                            key: "DistanceSqrt",
                            value: function (t, n) {
                                var i = e.Subtract(t, n);
                                return i.x * i.x + i.y * i.y + i.z * i.z
                            }
                        }, {
                            key: "DistanceSqrt2D",
                            value: function (t, n) {
                                var i = e.Subtract(t, n);
                                return i.x * i.x + i.z * i.z
                            }
                        }, {
                            key: "SignAngleAsix",
                            value: function (t, n, i) {
                                var s = e.Normalize(i),
                                    r = e.Dot(t, s),
                                    o = e.Subtract(t, e.Scale(s, r)),
                                    u = e.Dot(n, s),
                                    c = e.Subtract(n, e.Scale(s, u)),
                                    l = e.Normalize(o),
                                    d = e.Normalize(c),
                                    h = 57.29578 * Math.acos(a.default.Clamp(Laya.Vector3.dot(l, d), -1, 1)),
                                    f = e.Cross(l, d);
                                return h * a.default.Sign(Laya.Vector3.dot(i, f))
                            }
                        }, {
                            key: "SignedAngle",
                            value: function (t, n, i) {
                                var s = e.Normalize(t),
                                    r = e.Normalize(n),
                                    o = 57.29578 * Math.acos(a.default.Clamp(Laya.Vector3.dot(s, r), -1, 1)),
                                    u = e.Cross(s, r);
                                return o * a.default.Sign(Laya.Vector3.dot(i, u))
                            }
                        }, {
                            key: "Angle",
                            value: function (t, n, i) {
                                var s = e.Normalize(t),
                                    r = e.Normalize(n);
                                return 57.29578 * Math.acos(a.default.Clamp(Laya.Vector3.dot(s, r), -1, 1))
                            }
                        }, {
                            key: "SmoothDampMinOff",
                            value: function (t, n, a, s, r, o) {
                                n.x = i.Utils.correctAngle(n.x, t.x), n.y = i.Utils.correctAngle(n.y, t.y), n.z = i.Utils.correctAngle(n.z, t.z);
                                var u = e.SmoothDamp(t, n, a, s, r, o);
                                return u.x = i.Utils.angleNormal(u.x), u.y = i.Utils.angleNormal(u.y), u.z = i.Utils.angleNormal(u.z), u
                            }
                        }, {
                            key: "SmoothDamp",
                            value: function (t, n, i, a, s, r) {
                                var o = 2 / a,
                                    u = o * r,
                                    c = 1 / (1 + u + .48 * u * u + .235 * u * u * u),
                                    l = n.clone(),
                                    d = e.Subtract(t, l),
                                    h = s * a;
                                d = e.ClampMagnitude(d, h);
                                var f = e.Subtract(t, d),
                                    _ = e.Scale(e.Add(i, e.Scale(d, o)), r),
                                    m = e.Scale(e.Subtract(i, e.Scale(_, o)), c);
                                i.x = m.x, i.y = m.y, i.z = m.z;
                                var g = e.Add(f, e.Scale(e.Add(d, _), c));
                                return e.Dot(e.Subtract(l, t), e.Subtract(g, l)) > 0 && (g = l, i.x = 0, i.y = 0, i.z = 0), g
                            }
                        }, {
                            key: "Fix",
                            value: function (e, t) {
                                Math.abs(e.x) < t && (e.x = 0), Math.abs(e.y) < t && (e.y = 0), Math.abs(e.z) < t && (e.z = 0);
                            }
                        }, {
                            key: "toV3",
                            value: function (e) {
                                if (e && !(e.length <= 0)) return new Laya.Vector3(e[0], e[1], e[2])
                            }
                        }, {
                            key: "IsSame",
                            value: function (e, t) {
                                return e.x == t.x && e.y == t.y && e.z == t.z
                            }
                        }, {
                            key: "WrapFromUnity",
                            value: function (e, t, n) {
                                return new Laya.Vector3(-e, t, n)
                            }
                        }, {
                            key: "CalcPosWithASpeed",
                            value: function (t, n, i, a) {
                                var s = e.Scale(n, t),
                                    r = e.Scale(i, t * t / 2);
                                return e.Add(s, r, a)
                            }
                        }, {
                            key: "InitialTransform",
                            value: function (t) {
                                t.localPosition = e.s_zero, t.localScale = e.s_one, t.rotationEuler = e.s_zero;
                            }
                        }, {
                            key: "InSector",
                            value: function (t, n, i, a, s, r) {
                                var o = e.temp1;
                                return o.setValue((n.x - t.x) * (1 - r.x), (n.y - t.y) * (1 - r.y), (n.z - t.z) * (1 - r.z)), e.MagnitudeSqrt(o) <= i * i && e.Angle(s, o, r) <= a
                            }
                        }, {
                            key: "v3Rot",
                            value: function (e) {
                                if (e) return e.x = -e.x, e.y = 180 - e.y, e
                            }
                        }, {
                            key: "v3Pos",
                            value: function (e) {
                                if (e) return e.x = -e.x, e
                            }
                        }, {
                            key: "temp1",
                            get: function () {
                                return e.__temp__ || (e.__temp__ = e.zero), e.__temp__.setValue(0, 0, 0), e.__temp__
                            }
                        }, {
                            key: "temp2",
                            get: function () {
                                return e.__temp2__ || (e.__temp2__ = e.zero), e.__temp2__.setValue(0, 0, 0), e.__temp2__
                            }
                        }, {
                            key: "s_up",
                            get: function () {
                                return e.__up__ || (e.__up__ = e.up), e.__up__.setValue(0, 1, 0), e.__up__
                            }
                        }, {
                            key: "s_down",
                            get: function () {
                                return e.__down__ || (e.__down__ = e.down), e.__down__.setValue(0, -1, 0), e.__down__
                            }
                        }, {
                            key: "s_forward",
                            get: function () {
                                return e.__forward__ || (e.__forward__ = e.forward), e.__forward__.setValue(0, 0, 1), e.__forward__
                            }
                        }, {
                            key: "s_zero",
                            get: function () {
                                return e.__zero__ || (e.__zero__ = e.zero), e.__zero__.setValue(0, 0, 0), e.__zero__
                            }
                        }, {
                            key: "s_one",
                            get: function () {
                                return e.__one__ || (e.__one__ = e.one), e.__one__.setValue(1, 1, 1), e.__one__
                            }
                        }, {
                            key: "zeroNew",
                            get: function () {
                                return new Laya.Vector3(0, 0, 0)
                            }
                        }, {
                            key: "up",
                            get: function () {
                                return new Laya.Vector3(0, 1, 0)
                            }
                        }, {
                            key: "down",
                            get: function () {
                                return new Laya.Vector3(0, -1, 0)
                            }
                        }, {
                            key: "forward",
                            get: function () {
                                return new Laya.Vector3(0, 0, 1)
                            }
                        }, {
                            key: "zero",
                            get: function () {
                                return new Laya.Vector3(0, 0, 0)
                            }
                        }, {
                            key: "one",
                            get: function () {
                                return new Laya.Vector3(1, 1, 1)
                            }
                        }, {
                            key: "back",
                            get: function () {
                                return new Laya.Vector3(0, 0, -1)
                            }
                        }, {
                            key: "left",
                            get: function () {
                                return new Laya.Vector3(-1, 0, 0)
                            }
                        }, {
                            key: "right",
                            get: function () {
                                return new Laya.Vector3(1, 0, 0)
                            }
                        }]), e
                    }();
            },
            "./src/LTGame/LTVersion.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return i
                    }
                });
                var i = function e() {
                    _classCallCheck(this, e);
                };
                i.version = "0.0.1";
            },
            "./src/LTGame/Manager/AudioManager.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return h
                    }
                });
                var i = n("./src/LTGame/Res/ResUrl.ts"),
                    a = n("./src/LTGame/Commom/CommonSaveData.ts"),
                    s = n("./src/script/enum/ESound.ts"),
                    r = n("./src/LTGame/Manager/MesManager.ts"),
                    o = n("./src/script/enum/EEventUI.ts"),
                    u = n("./src/LTGame/Commom/CommonEventId.ts"),
                    c = n("./src/script/common/GameData.ts"),
                    l = n("./src/LTGame/LTUtils/MathEx.ts"),
                    d = (n("./src/LTGame/Platform/LTPlatform.ts"), n("./src/LTGame/Platform/EPlatformType.ts"), n("./src/LTGame/Res/LTRespackManager.ts")),
                    h = function () {
                        function e() {
                            _classCallCheck(this, e), this._bgPast = [], this._urlBGM = "", this._urlSOUND = "", this._normalSound = [], this._bgmPause = !1, this._bgmSpeed = 1, this._wxsound = {}, this._sounds = [], Laya.SoundManager.autoStopMusic = !0, r.default.instance.onUI(o.EEventUI.GameResume, this, this._onResume), r.default.instance.onUI(o.EEventUI.GamePasue, this, this._onPause), Laya.stage.on(u.CommonEventId.RESUM_AUDIO, this, this._onResume), Laya.stage.on(u.CommonEventId.PAUSE_AUDIO, this, this._onPause), this.baseUrl = d.default.instance.baseUrl, this.baseUrl = "", this.setMusicVolume(c.default.instance.musicVolume), this.setSoundVolume(c.default.instance.soundVolume), this._urlBGM = i.default.music_url(s.ESoundName.main_bgm);
                        }
                        return _createClass(e, [{
                            key: "_onResume",
                            value: function () {
                                console.log("回到前台   重置声音"), Laya.SoundManager.muted = !1, this._bgmPause || this.setMusicOpen(a.default.instance.isMusicOn), this.setSoundOpen(a.default.instance.isSoundOn);
                            }
                        }, {
                            key: "_onPause",
                            value: function () {
                                this.pauseBgm(), this.pauseSound(), Laya.SoundManager.muted = !0;
                            }
                        }, {
                            key: "Preload",
                            value: function (e) { }
                        }, {
                            key: "setVibrateOpen",
                            value: function (e) {
                                a.default.instance.isShakeOn = e, a.default.SaveToDisk();
                            }
                        }, {
                            key: "setMusicOpen",
                            value: function (e) {
                                a.default.instance.isMusicOn = e, Laya.SoundManager.musicMuted = !e, a.default.SaveToDisk();
                            }
                        }, {
                            key: "setSoundVolume",
                            value: function (e) {
                                e = l.default.Clamp(e, 0, 1), c.default.instance.soundVolume = e, fgui.UIConfig.SoundVolumeScale = e, c.default.SaveToDisk(), Laya.SoundManager.setSoundVolume(.7), this._normalSound.forEach(function (t) {
                                    Laya.SoundManager.setSoundVolume(e, t);
                                });
                            }
                        }, {
                            key: "setMusicVolume",
                            value: function (e) {
                                e = l.default.Clamp(e, 0, 1), c.default.instance.musicVolume = e, c.default.SaveToDisk(), Laya.SoundManager.setMusicVolume(e), Laya.SoundManager.musicMuted = e <= 0;
                            }
                        }, {
                            key: "setSoundOpen",
                            value: function (e) {
                                a.default.instance.isSoundOn = e, Laya.SoundManager.soundMuted = !e, a.default.SaveToDisk(), Laya.SoundManager.soundMuted = !e, e || this.pauseSound();
                            }
                        }, {
                            key: "PlayByPath",
                            value: function (e, t) {
                                return Laya.SoundManager.playMusic(e)
                            }
                        }, {
                            key: "PlayBgm",
                            value: function () {
                                var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : this._urlBGM;
                                a.default.instance.isMusicOn ? (Laya.SoundManager.stopMusic(), Laya.SoundManager.playMusic(e, 0)) : this._bgm && this._bgm.stop();
                            }
                        }, {
                            key: "_setBgmSpeed",
                            value: function (e) {
                                this._bgmAudio._audio && (console.log("能设置速度------------"), this._bgmAudio._audio.playbackRate = e), this._bgmAudio.bufferSource && this._bgmAudio.bufferSource.playbackRate && (this._bgmAudio.bufferSource.playbackRate.value = e), this._bgmAudio._miniSound && this._bgmAudio._miniSound._sound && (console.log("能设置速度------------"), this._bgmAudio._miniSound._sound.playbackRate = e);
                            }
                        }, {
                            key: "pauseBgm",
                            value: function () {
                                null != this._bgmAudio && (this._bgmAudio.pause && this._bgmAudio.pause(), this._setBgmSpeed(this._bgmSpeed), this._bgmPause = !0), this._bgm && this._bgm.stop();
                            }
                        }, {
                            key: "stopBgm",
                            value: function () {
                                null != this._bgmAudio && (this._bgmAudio.completeHandler = null, this._bgmAudio.stop && this._bgmAudio.stop(), this._setBgmSpeed(this._bgmSpeed), this._bgmPause = !0);
                            }
                        }, {
                            key: "restartBgm",
                            value: function () {
                                null != this._bgmAudio && (this._setBgmSpeed(this._bgmSpeed), this._bgmAudio.resume(), this._bgmPause = !1), this._bgm && this._bgm.play();
                            }
                        }, {
                            key: "shiftBGM",
                            value: function (e) {
                                this._bgPast.slice(-1)[0] == e && (this._bgPast.pop(), this._bgPast.slice(-1)[0] && (this._urlBGM = i.default.music_url(e), this._playMusic()));
                            }
                        }, {
                            key: "pauseSound",
                            value: function () {
                                Laya.SoundManager.stopAllSound();
                            }
                        }, {
                            key: "playSound",
                            value: function (e) {
                                var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : 1,
                                    n = arguments.length > 2 ? arguments[2] : void 0,
                                    s = arguments.length > 3 ? arguments[3] : void 0,
                                    r = arguments.length > 4 ? arguments[4] : void 0,
                                    o = arguments.length > 5 && void 0 !== arguments[5] && arguments[5],
                                    u = arguments.length > 6 && void 0 !== arguments[6] ? arguments[6] : 1;
                                if (this._urlSOUND = i.default.sound_url(e), a.default.instance.isSoundOn) {
                                    if (o)
                                        for (var c = 0; c < this._sounds.length; c++)
                                            if (this._sounds[c] && this._sounds[c].url.indexOf(this._urlSOUND) >= 0) {
                                                this._sounds[c].stop(), this._sounds.splice(c, 1);
                                                break
                                            } var l = Laya.SoundManager.playSound(this._urlSOUND, t, n, s, r);
                                    l && (l.volume = u, o && this._sounds.push(l));
                                }
                            }
                        }, {
                            key: "stopSound",
                            value: function (e) {
                                this._urlSOUND = i.default.sound_url(e), Laya.SoundManager.stopSound(this._urlSOUND);
                            }
                        }, {
                            key: "_playMusic",
                            value: function () {
                                if (a.default.instance.isMusicOn) {
                                    Laya.SoundManager.stopMusic();
                                    var e = Laya.SoundManager.playMusic(this._urlBGM);
                                    e && console.log("播放音乐", e);
                                }
                            }
                        }], [{
                            key: "instance",
                            get: function () {
                                return null == this._instance && (this._instance = new e), this._instance
                            }
                        }]), e
                    }();
            },
            "./src/LTGame/Manager/EffectManager.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    EffectManager: function () {
                        return u
                    },
                    EffectShowData: function () {
                        return c
                    }
                });
                var i = n("./src/LTGame/LTUtils/LTDictionary.ts"),
                    a = n("./src/LTGame/Res/LTRes.ts"),
                    s = n("./src/LTGame/Async/Awaiters.ts"),
                    r = n("./src/script/common/ResDefine.ts"),
                    o = n("./src/script/config/EffectConfig.ts"),
                    u = function () {
                        function e() {
                            _classCallCheck(this, e);
                        }
                        return _createClass(e, [{
                            key: "init",
                            value: function () {
                                this.effectRoot = new Laya.Sprite3D("EffectManager"), this._effectMap = new i.default, this._continueEffects = [];
                            }
                        }, {
                            key: "Preload",
                            value: function (e) {
                                for (var t = 0; t < o.EffectConfig.dataList.length; ++t) {
                                    var n = o.EffectConfig.dataList[t];
                                    if (n.need_preload) {
                                        var i = r.default.FixPath(n.model_path);
                                        e.push(i);
                                    }
                                }
                            }
                        }, {
                            key: "clearAll",
                            value: function () {
                                this.effectRoot._children.forEach(function (e) {
                                    e && e.destroy();
                                });
                            }
                        }, {
                            key: "WarmEffects",
                            value: function () {
                                return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                    var t, n, i, u, c, l, d, h;
                                    return regeneratorRuntime.wrap(function (e) {
                                        for (; ;) switch (e.prev = e.next) {
                                            case 0:
                                                t = [], n = 0;
                                            case 2:
                                                if (!(n < o.EffectConfig.dataList.length)) {
                                                    e.next = 16;
                                                    break
                                                }
                                                if (!(i = o.EffectConfig.dataList[n]).need_preload) {
                                                    e.next = 13;
                                                    break
                                                }
                                                if (u = r.default.FixPath(i.model_path), null != (c = a.default.Get(u, !0))) {
                                                    e.next = 10;
                                                    break
                                                }
                                                return console.log("特效", i, "不存在"), e.abrupt("continue", 13);
                                            case 10:
                                                l = this.effectRoot.addChild(c), t.push(l), this._effectMap.set(i.id, l);
                                            case 13:
                                                ++n, e.next = 2;
                                                break;
                                            case 16:
                                                return e.next = 18, s.default.NextFrame();
                                            case 18:
                                                for (d = 0, h = t; d < h.length; d++) h[d].removeSelf();
                                            case 19:
                                            case "end":
                                                return e.stop()
                                        }
                                    }, e, this)
                                }))
                            }
                        }, {
                            key: "StopEffectByIndex",
                            value: function (e) {
                                if (null != e) {
                                    var t = this._continueEffects[e];
                                    t && (t.destroy(), delete this._continueEffects[e]);
                                }
                            }
                        }, {
                            key: "GetEffectObjById",
                            value: function (e) {
                                return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function t() {
                                    var n, i, s, u;
                                    return regeneratorRuntime.wrap(function (t) {
                                        for (; ;) switch (t.prev = t.next) {
                                            case 0:
                                                if (null != (n = o.EffectConfig.data[e])) {
                                                    t.next = 4;
                                                    break
                                                }
                                                return console.error("无效的特效id", e), t.abrupt("return", null);
                                            case 4:
                                                if (null != (i = this._effectMap.get(e))) {
                                                    t.next = 11;
                                                    break
                                                }
                                                return s = r.default.FixPath(n.model_path), t.next = 9, a.default.LoadAsync(s);
                                            case 9:
                                                i = a.default.Get(s), this._effectMap.set(n.id, i);
                                            case 11:
                                                return u = i.clone(), t.abrupt("return", u);
                                            case 13:
                                            case "end":
                                                return t.stop()
                                        }
                                    }, t, this)
                                }))
                            }
                        }, {
                            key: "PlayEffectByData",
                            value: function (e) {
                                return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function t() {
                                    var n;
                                    return regeneratorRuntime.wrap(function (t) {
                                        for (; ;) switch (t.prev = t.next) {
                                            case 0:
                                                return t.next = 2, this.GetEffectObjById(e.effectId);
                                            case 2:
                                                if (n = t.sent, null != e.parent ? e.parent.addChild(n) : this.effectRoot.addChild(n), null != e.setPos && (n.transform.position = e.setPos.clone()), null != e.setRot && (n.transform.rotation = e.setRot.clone()), null != e.setLocalPos && (n.transform.localPosition = e.setLocalPos.clone()), null != e.setLocalRot && (n.transform.localRotation = e.setLocalRot.clone()), null != e.setScale && n.transform.setWorldLossyScale(e.setScale), null != e.setLocalScale && (n.transform.localScale = e.setLocalScale), !e.continueTime || -1 == e.continueTime) {
                                                    t.next = 16;
                                                    break
                                                }
                                                return t.next = 13, s.default.Seconds(e.continueTime);
                                            case 13:
                                                n.destroy(), t.next = 18;
                                                break;
                                            case 16:
                                                return this._continueEffects.push(n), t.abrupt("return", this._continueEffects.length - 1);
                                            case 18:
                                                return t.abrupt("return", -1);
                                            case 19:
                                            case "end":
                                                return t.stop()
                                        }
                                    }, t, this)
                                }))
                            }
                        }, {
                            key: "PlayEffectById",
                            value: function (e) {
                                var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : 2,
                                    n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : null,
                                    i = arguments.length > 3 && void 0 !== arguments[3] ? arguments[3] : null;
                                return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function a() {
                                    var s;
                                    return regeneratorRuntime.wrap(function (a) {
                                        for (; ;) switch (a.prev = a.next) {
                                            case 0:
                                                return (s = new c(e)).continueTime = t, s.setPos = n, s.setRot = i, a.abrupt("return", this.PlayEffectByData(s));
                                            case 5:
                                            case "end":
                                                return a.stop()
                                        }
                                    }, a, this)
                                }))
                            }
                        }], [{
                            key: "instance",
                            get: function () {
                                return null == this._instance && (this._instance = new e), this._instance
                            }
                        }]), e
                    }(),
                    c = function e(t) {
                        _classCallCheck(this, e), this.continueTime = 2, this.setPos = null, this.setRot = null, this.setLocalPos = null, this.setLocalRot = null, this.setScale = null, this.setLocalScale = null, this.parent = null, this.effectId = t;
                    };
            },
            "./src/LTGame/Manager/MesManager.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return i
                    }
                });
                var i = function (e) {
                    function t() {
                        return _classCallCheck(this, t), n.apply(this, arguments)
                    }
                    _inherits(t, Laya.EventDispatcher);
                    var n = _createSuper(t);
                    return _createClass(t, [{
                        key: "eventUI",
                        value: function (e, n) {
                            t.instance.event("UI " + e, n);
                        }
                    }, {
                        key: "event3d",
                        value: function (e, n) {
                            console.log("Scene3d " + e), t.instance.event("Scene3d" + e, n);
                        }
                    }, {
                        key: "event2d",
                        value: function (e, n) {
                            console.log("Scene2d " + e), t.instance.event("Scene2d" + e, n);
                        }
                    }, {
                        key: "onUI",
                        value: function (e, n, i, a) {
                            t.instance.on("UI " + e, n, i, a);
                        }
                    }, {
                        key: "offUI",
                        value: function (e, n, i) {
                            t.instance.off("UI " + e, n, i);
                        }
                    }, {
                        key: "off3d",
                        value: function (e, n, i) {
                            t.instance.off("Scene3d" + e, n, i);
                        }
                    }, {
                        key: "off2d",
                        value: function (e, n, i) {
                            t.instance.off("Scene2d" + e, n, i);
                        }
                    }, {
                        key: "on2d",
                        value: function (e, n, i, a) {
                            t.instance.on("Scene2d" + e, n, i, a);
                        }
                    }, {
                        key: "on3d",
                        value: function (e, n, i, a) {
                            t.instance.on("Scene3d" + e, n, i, a);
                        }
                    }], [{
                        key: "instance",
                        get: function () {
                            return null == this._instance && (this._instance = new t), this._instance
                        }
                    }]), t
                }();
            },
            "./src/LTGame/Net/LTHttp.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/LTUtils/StringEx.ts"),
                    a = function () {
                        function e() {
                            _classCallCheck(this, e);
                        }
                        return _createClass(e, null, [{
                            key: "SendPro",
                            value: function (e) {
                                var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : null,
                                    n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : null,
                                    i = arguments.length > 3 && void 0 !== arguments[3] ? arguments[3] : "get",
                                    a = arguments.length > 4 && void 0 !== arguments[4] ? arguments[4] : null,
                                    s = arguments.length > 5 && void 0 !== arguments[5] ? arguments[5] : "json",
                                    r = arguments.length > 6 && void 0 !== arguments[6] ? arguments[6] : ["Content-Type", "application/json"],
                                    o = new Laya.HttpRequest;
                                o.http.timeout = 1e4, null != t && o.once(Laya.Event.COMPLETE, t.caller, t.method), null != n && o.once(Laya.Event.ERROR, n.caller, n.method), o.send(e, JSON.stringify(a), i, s, r), this.enableDebug && console.log(e, a, i, s, r);
                            }
                        }, {
                            key: "Send",
                            value: function (e) {
                                var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : null,
                                    n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : null,
                                    a = arguments.length > 3 && void 0 !== arguments[3] && arguments[3],
                                    s = arguments.length > 4 && void 0 !== arguments[4] ? arguments[4] : null,
                                    r = arguments.length > 5 && void 0 !== arguments[5] ? arguments[5] : "text",
                                    o = arguments.length > 6 ? arguments[6] : void 0,
                                    u = e.split(this._url_split),
                                    c = u[0],
                                    l = u[1];
                                if (null == l && (l = ""), a) {
                                    if (null != s) {
                                        for (var d in i.default.IsNullOrEmpty(l) || (l += this._param_split), s) l += d + this._value_split + s[d] + this._param_split;
                                        l = l.slice(0, l.length - 1);
                                    }
                                    var h = c;
                                    i.default.IsNullOrEmpty(l) || (h = c + this._url_split + l), this.SendPro(h, t, n, this._get_method, null, r, o);
                                } else {
                                    if (!i.default.IsNullOrEmpty(l)) {
                                        null == s && (s = {});
                                        var f, _ = _createForOfIteratorHelper(l.split(this._param_split));
                                        try {
                                            for (_.s(); !(f = _.n()).done;) {
                                                var m = f.value.split(this._value_split);
                                                "false" == m[1] ? s[m[0]] = !1 : "true" == m[1] ? s[m[0]] = !0 : s[m[0]] = m[1];
                                            }
                                        } catch (e) {
                                            _.e(e);
                                        } finally {
                                            _.f();
                                        }
                                    }
                                    this.SendPro(c, t, n, this._post_method, s, r, o);
                                }
                            }
                        }]), e
                    }();
                a._post_method = "post", a._get_method = "get", a._url_split = "?", a._param_split = "&", a._value_split = "=", a.enableDebug = !1, window.LTHttp = a;
            },
            "./src/LTGame/Platform/Android233Device.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return i
                    }
                });
                var i = function () {
                    function e() {
                        _classCallCheck(this, e);
                    }
                    return _createClass(e, [{
                        key: "Vibrate",
                        value: function (e) {
                            console.log("调用震动", e), window.PlatformClass && window.PlatformClass.createClass("com.ads.Android233AdsManager").call("Vibrator", (e ? 400 : 50) + "");
                        }
                    }]), e
                }();
            },
            "./src/LTGame/Platform/Android233Platform.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return m
                    }
                });
                var i, a, s = n("./src/script/common/Const.ts"),
                    r = n("./src/script/common/MMUnit.ts"),
                    o = n("./src/script/common/TimeUtils.ts"),
                    u = n("./src/script/enum/EEventUI.ts"),
                    c = n("./src/script/ui/UI_MainMediator.ts"),
                    l = n("./src/LTGame/Manager/MesManager.ts"),
                    d = n("./src/LTGame/Platform/Android233Device.ts"),
                    h = n("./src/LTGame/Platform/DefaultPlatform.ts"),
                    f = n("./src/LTGame/Platform/EPlatformType.ts"),
                    _ = n("./src/LTGame/Platform/LTPlatform.ts"),
                    m = function (e) {
                        function t() {
                            var e;
                            return _classCallCheck(this, t), (e = n.apply(this, arguments)).platform = f.EPlatformType.android233, e.device = new d.default, e._okCall = {}, e._failCall = {}, e.bannerVisible = !1, e.visibleAd = {}, e
                        }
                        _inherits(t, h.default);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "ShowBannerAd",
                            value: function () {
                                this.bannerVisible || (this.bannerVisible = !0, this.showAd(i.banner));
                            }
                        }, {
                            key: "HideBannerAd",
                            value: function () {
                                this.bannerVisible && (this.bannerVisible = !1, this.hideAd(i.banner));
                            }
                        }, {
                            key: "showFullScreenAd",
                            value: function () {
                                if (window.PlatformClass && !(this._fullVideoTime && o.default.now - this._fullVideoTime < 4e3 || this._interstitalTime && o.default.now - this._interstitalTime < 2e3 || this._videoTime && o.default.now - this._videoTime < 4e3)) {
                                    var e = r.default.getValueByName("fullscreenonoff", 120);
                                    o.default.now - c.UI_MainMediator.instance.enterTime <= 1e3 * e || !r.default.checkConfigMatch("share", 1, 0, 120) || this.visibleAd[i.interstital] || (l.default.instance.eventUI(u.EEventUI.GamePasue1), this._fullVideoTime = o.default.now, this.visibleAd[i.fullVideo] = !0, window.PlatformClass.createClass("com.ads.Android233AdsManager").call("showAd", JSON.stringify(i.fullVideo)));
                                }
                            }
                        }, {
                            key: "hideAd",
                            value: function (e) {
                                window.PlatformClass && window.PlatformClass.createClass("com.ads.Android233AdsManager").call("hideAd", JSON.stringify(e));
                            }
                        }, {
                            key: "showAd",
                            value: function (e, t, n) {
                                window.PlatformClass && (e != i.fullVideo && e != i.video && e != i.interstital || l.default.instance.eventUI(u.EEventUI.GamePasue1), this._okCall[e] && this._okCall[e].recover(), this._okCall[e] = t, this._failCall[e] && this._failCall[e].recover(), this._failCall[e] = n, window.PlatformClass.createClass("com.ads.Android233AdsManager").call("showAd", JSON.stringify(e)));
                            }
                        }, {
                            key: "ShowInterstitalAd",
                            value: function () {
                                this._fullVideoTime && o.default.now - this._fullVideoTime < 2e3 || this.visibleAd[i.fullVideo] || (this._interstitalTime = o.default.now, this.visibleAd[i.interstital] = !0, this.showAd(i.interstital));
                            }
                        }, {
                            key: "ShowRewardVideoAd",
                            value: function (e, t) {
                                s.default.test ? e && e.run() : (this._videoTime = o.default.now, this.showAd(i.video, e, t));
                            }
                        }], [{
                            key: "onSuccess",
                            value: function (e) {
                                var t = _.default.instance,
                                    n = Number(e);
                                t._okCall[n] && t._okCall[n].run(), t._okCall[n] = null;
                            }
                        }, {
                            key: "onfail",
                            value: function (e) {
                                var t = _.default.instance,
                                    n = Number(e);
                                t._failCall[n] && t._failCall[n].run(), t._failCall[n] = null;
                            }
                        }, {
                            key: "onPause",
                            value: function (e) {
                                console.log("广告播放  type=>>>" + e);
                            }
                        }, {
                            key: "onClose",
                            value: function (e) {
                                console.log("广告关闭   type=>>>" + e);
                                var t = _.default.instance,
                                    n = Number(e);
                                t.visibleAd[n] = !1, n == i.video && (t._videoTime = o.default.now), n == i.fullVideo && (t._fullVideoTime = o.default.now), n == i.interstital && (t._interstitalTime = o.default.now), l.default.instance.eventUI(u.EEventUI.GameResume1);
                            }
                        }]), t
                    }();
                window.Android233Platform = m, a = i || (i = {}), a[a.video = 0] = "video", a[a.banner = 1] = "banner", a[a.interstital = 2] = "interstital", a[a.fullVideo = 3] = "fullVideo";
            },
            "./src/LTGame/Platform/AndroidTapPlatform.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return s
                    }
                });
                var i = n("./src/LTGame/Platform/DefaultPlatform.ts"),
                    a = n("./src/LTGame/Platform/EPlatformType.ts"),
                    s = function (e) {
                        function t() {
                            var e;
                            return _classCallCheck(this, t), (e = n.apply(this, arguments)).platform = a.EPlatformType.androidTap, e
                        }
                        _inherits(t, i.default);
                        var n = _createSuper(t);
                        return t
                    }();
            },
            "./src/LTGame/Platform/BDPlatform.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return o
                    }
                });
                var i = n("./src/LTGame/Platform/WXPlatform.ts"),
                    a = n("./src/LTGame/Platform/EPlatformType.ts"),
                    s = n("./src/LTGame/LTUtils/StringEx.ts"),
                    r = n("./src/LTGame/Commom/CommonEventId.ts"),
                    o = function (e) {
                        function t() {
                            var e;
                            return _classCallCheck(this, t), (e = n.apply(this, arguments)).platform = a.EPlatformType.BD, e._showVideoLoad = !1, e
                        }
                        _inherits(t, i.default);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "Init",
                            value: function (e) {
                                this._base = window.swan, null != this._base ? (this.platformData = e, this._InitLauchOption(), this._InitShareInfo(), this._InitSystemInfo(), this._isBannerLoaded = !1, this._isBannerShowed = !1, this._CreateVideoAd(), this._CreateInterstitalAd(), window.iplatform = this) : console.error("平台初始化错误");
                            }
                        }, {
                            key: "_CreateBannerAd",
                            value: function () {
                                var e = this;
                                if (s.default.IsNullOrEmpty(this.platformData.bannerId)) console.log("无有效的banner广告ID,取消加载");
                                else {
                                    var t = this._base.getSystemInfoSync().windowWidth,
                                        n = this._base.getSystemInfoSync().windowHeight,
                                        i = {};
                                    i.adUnitId = this.platformData.bannerId, i.appSid = this.sid;
                                    var a = {
                                        left: 0,
                                        top: 0
                                    };
                                    a.width = t, i.style = a, this._bannerAd = this._base.createBannerAd(i), this._bannerAd.onLoad(function () {
                                        console.log("banner加载成功"), e._isBannerLoaded = !0, e._bannerAd.style.top = n - e._bannerAd.style.height, e._bannerAd.show();
                                    }), this._bannerAd.onError(function (e) {
                                        console.error("banner广告加载失败", e);
                                    });
                                }
                            }
                        }, {
                            key: "_CreateVideoAd",
                            value: function () {
                                var e = this;
                                if (s.default.IsNullOrEmpty(this.platformData.rewardVideoId)) console.log("无有效的视频广告ID,取消加载");
                                else {
                                    this._videoFailedCount = 0;
                                    var t = {};
                                    t.adUnitId = this.platformData.rewardVideoId, t.appSid = this.sid, this._rewardVideo = this._base.createRewardedVideoAd(t), this._rewardVideo.onLoad(function () {
                                        console.log("视频广告加载成功"), e._isVideoLoaded = !0;
                                    }), this._rewardVideo.onError(function (t) {
                                        e._videoFailedCount++, console.error("视频广告加载失败", t), e._videoFailedCount > 10 && (console.log("第", e._videoFailedCount, "次重新加载视频广告"), e._rewardVideo.load());
                                    }), this._rewardVideo.onClose(function (t) {
                                        e._base.hideLoading(), Laya.stage.event(r.CommonEventId.RESUM_AUDIO), console.log("视频回调", t), t.isEnded ? e._rewardSuccessed && e._rewardSuccessed.run() : e._rewardSkipped && e._rewardSkipped.run(), e._rewardSuccessed = null, e._rewardSkipped = null, e._rewardVideo.load();
                                    });
                                }
                            }
                        }, {
                            key: "_CreateInterstitalAd",
                            value: function () { }
                        }, {
                            key: "LoadSubpackage",
                            value: function (e, t, n, i) {
                                var a = {};
                                a.name = e, a.success = function () {
                                    console.log("分包加载成功", e), t && (t.run(), t = null);
                                }, a.fail = function () {
                                    console.error("分包加载失败", e), n && (n.run(), n = null);
                                }, this._base.loadSubpackage(a).onProgressUpdate(function (e) {
                                    if (i) {
                                        var t = e.progress / 100;
                                        isNaN(t) && (t = e.loaded / e.total), i.runWith(t), i = null;
                                    }
                                });
                            }
                        }, {
                            key: "RecordEvent",
                            value: function (e, t) {
                                this._base.reportAnalytics(e, t);
                            }
                        }, {
                            key: "ShowBannerAd",
                            value: function () {
                                this._isBannerLoaded || this._CreateBannerAd();
                            }
                        }, {
                            key: "HideBannerAd",
                            value: function () {
                                this._isBannerLoaded && (this._isBannerLoaded = !1, this._bannerAd && this._bannerAd.destroy());
                            }
                        }]), t
                    }();
            },
            "./src/LTGame/Platform/Data/LTPlatformData.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return i
                    }
                });
                var i = function e() {
                    _classCallCheck(this, e), this.appId = "", this.appKey = "", this.bannerId = "", this.rewardVideoId = "", this.interstitialId = "", this.nativeId = "", this.nativeBannerIds = [], this.nativeIconIds = [], this.nativeinterstitialIds = [], this.nativeinpageIds = [];
                };
            },
            "./src/LTGame/Platform/DefaultDevice.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return i
                    }
                });
                var i = function () {
                    function e() {
                        _classCallCheck(this, e);
                    }
                    return _createClass(e, [{
                        key: "Vibrate",
                        value: function (e) {
                            console.log("调用震动", e);
                        }
                    }]), e
                }();
            },
            "./src/LTGame/Platform/DefaultPlatform.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return l
                    }
                });
                var i = n("./src/LTGame/Platform/EPlatformType.ts"),
                    a = n("./src/LTGame/Platform/LTPlatform.ts"),
                    s = n("./src/UIExt/LTUI.ts"),
                    r = n("./src/LTGame/Platform/DefaultDevice.ts"),
                    o = n("./src/LTGame/Platform/Impl/Web/WebRecordManager.ts"),
                    u = n("./src/UIExt/UISrc/UI_FakeBannerVMediator.ts"),
                    c = n("./src/UIExt/UISrc/UI_FakeRewardADMediator.ts"),
                    l = (n("./src/UIExt/UISrc/UI_FakeInterstitalMediator.ts"), function () {
                        function e() {
                            _classCallCheck(this, e), this.platform = i.EPlatformType.Web, this.safeArea = null, this.recordManager = new o.WebRecordManager, this.device = new r.default, this.systemInfo = null, this.isSupportJumpOther = !0;
                        }
                        return _createClass(e, [{
                            key: "requestMessage",
                            value: function (e) { }
                        }, {
                            key: "checkCollectIn",
                            value: function () {
                                return !0
                            }
                        }, {
                            key: "Init",
                            value: function (e) {
                                this.loginState = {
                                    isLogin: !1,
                                    code: null,
                                    data: null
                                }, Laya.timer.once(500, this, this._FakeLoginEnd);
                            }
                        }, {
                            key: "_FakeLoginEnd",
                            value: function () {
                                this.onLoginEnd && this.onLoginEnd.run(), this.onLoginEnd = null;
                            }
                        }, {
                            key: "IsBannerAvaliable",
                            value: function () {
                                return !1
                            }
                        }, {
                            key: "IsVideoAvaliable",
                            value: function () {
                                return !0
                            }
                        }, {
                            key: "IsInterstitalAvaliable",
                            value: function () {
                                return !1
                            }
                        }, {
                            key: "ShowBannerAd",
                            value: function () {
                                console.log("调用ShowBannerAd");
                            }
                        }, {
                            key: "HideBannerAd",
                            value: function () {
                                console.log("调用HideBannerAd:  " + u.default), u.default.instance.Hide();
                            }
                        }, {
                            key: "getPlatformIndex",
                            value: function () {
                                switch (a.default.instance.platform) {
                                    case i.EPlatformType.WX:
                                        return 1;
                                    case i.EPlatformType.TT:
                                        return 2;
                                    case i.EPlatformType.Web:
                                    case i.EPlatformType.MATA:
                                        return 0
                                }
                            }
                        }, {
                            key: "ShowRewardVideoAd",
                            value: function (e, t) {
                                console.log("调用ShowRewardVideoAd"), c.default.instance.Show([e, t]);
                            }
                        }, {
                            key: "ShowRewardVideoAdAsync",
                            value: function () {
                                return new Promise(function (e) {
                                    a.default.instance.ShowRewardVideoAd(Laya.Handler.create(this, function () {
                                        e(!0);
                                    }), Laya.Handler.create(this, function () {
                                        e(!1);
                                    }));
                                })
                            }
                        }, {
                            key: "ShowAdOrShareAsync",
                            value: function () {
                                return new Promise(function (e) {
                                    a.default.instance.ShowRewardVideoAd(Laya.Handler.create(this, function () {
                                        e(!0);
                                    }), Laya.Handler.create(this, function () {
                                        e(!1);
                                    }));
                                })
                            }
                        }, {
                            key: "LoadSubpackageAsync",
                            value: function (e) {
                                var t = this;
                                return new Promise(function (n) {
                                    t.LoadSubpackage(e, Laya.Handler.create(t, function () {
                                        n(!0);
                                    }), Laya.Handler.create(t, function () {
                                        n(!1);
                                    }));
                                })
                            }
                        }, {
                            key: "ShowInterstitalAd",
                            value: function () {
                                console.log("调用ShowInterstitalAd");
                                Advertisement.insertAdverV();
                            }
                        }, {
                            key: "GetFromAppId",
                            value: function () {
                                return null
                            }
                        }, {
                            key: "ShareAppMessage",
                            value: function (e) {
                                var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : null;
                                arguments.length > 2 && void 0 !== arguments[2] && arguments[2], console.log("分享消息", e), t && (t.run(), t = null);
                            }
                        }, {
                            key: "startDeviceMotionListening",
                            value: function (e) { }
                        }, {
                            key: "offDeviceMotionListening",
                            value: function () { }
                        }, {
                            key: "ShareAppMessageById",
                            value: function (e, t, n) {
                                console.log("分享消息", e), t && (t.run(), t = null);
                            }
                        }, {
                            key: "LoadSubpackage",
                            value: function (e, t, n) {
                                t && (t.run(), t = null);
                            }
                        }, {
                            key: "RecordEvent",
                            value: function (e, t) {
                                console.log("记录事件", e, t);
                            }
                        }, {
                            key: "ShareVideoInfo",
                            value: function () {
                                console.log(a.default.platformStr, "暂未实现录屏功能");
                            }
                        }, {
                            key: "_CheckUpdate",
                            value: function () { }
                        }, {
                            key: "ShowToast",
                            value: function (e) {
                                s.default.Toast(e);
                            }
                        }, {
                            key: "OpenGameBox",
                            value: function () {
                                console.error("当前平台", a.default.platformStr, "暂不支持互推游戏盒子");
                            }
                        }, {
                            key: "NavigateToApp",
                            value: function (e, t, n) {
                                return new Promise(function (t, n) {
                                    console.error("当前平台", a.default.platformStr, "暂不支持小程序跳转appid:".concat(e)), t(!1);
                                })
                            }
                        }, {
                            key: "showFullScreenAd",
                            value: function () { }
                        }, {
                            key: "createShortcut",
                            value: function () {
                                console.log("创建桌面图标");
                            }
                        }, {
                            key: "GetStorage",
                            value: function (e) {
                                return Laya.LocalStorage.getItem(e)
                            }
                        }, {
                            key: "SetStorage",
                            value: function (e, t) {
                                Laya.LocalStorage.setItem(e, t);
                            }
                        }, {
                            key: "showNativeAd",
                            value: function (e) { }
                        }, {
                            key: "hideNativeAd",
                            value: function (e) { }
                        }, {
                            key: "showBoxPortalAd",
                            value: function () { }
                        }, {
                            key: "hideBoxPortalAd",
                            value: function () { }
                        }]), e
                    }());
            },
            "./src/LTGame/Platform/DefaultRecordManager.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/Platform/LTPlatform.ts"),
                    a = function () {
                        function e() {
                            _classCallCheck(this, e), this.supportRecord = !1, this.isRecording = !1, this.isPausing = !1, this.isRecordSuccess = !1;
                        }
                        return _createClass(e, [{
                            key: "StartRecord",
                            value: function (e, t) {
                                console.log("该平台" + i.default.platformStr + "不支持录制视频");
                            }
                        }, {
                            key: "StopRecord",
                            value: function (e) {
                                console.log("该平台" + i.default.platformStr + "不支持录制视频");
                            }
                        }, {
                            key: "Pause",
                            value: function (e) {
                                console.log("该平台" + i.default.platformStr + "不支持录制视频");
                            }
                        }, {
                            key: "Resume",
                            value: function (e) {
                                console.log("该平台" + i.default.platformStr + "不支持录制视频");
                            }
                        }, {
                            key: "RecordClip",
                            value: function (e) {
                                console.log("该平台" + i.default.platformStr + "不支持录制视频");
                            }
                        }, {
                            key: "ShareVideo",
                            value: function (e, t, n) {
                                n && (n.run(), n = null);
                            }
                        }, {
                            key: "canShare",
                            get: function () {
                                return !0
                            }
                        }]), e
                    }();
            },
            "./src/LTGame/Platform/EPlatformType.ts": function (e, t, n) {
                var i, a;
                n.r(t), n.d(t, {
                    EFaxing: function () {
                        return s
                    },
                    EPackageType: function () {
                        return o
                    },
                    EPlatformType: function () {
                        return i
                    },
                    getEPlatformTypeName: function () {
                        return c
                    }
                }), (a = i || (i = {}))[a.None = 0] = "None", a[a.Web = 1] = "Web", a[a.WX = 2] = "WX", a[a.QQ = 3] = "QQ", a[a.BD = 4] = "BD", a[a.Oppo = 5] = "Oppo", a[a.Vivo = 6] = "Vivo", a[a.TT = 7] = "TT", a[a.QTT = 8] = "QTT", a[a.MATA = 9] = "MATA", a[a.android233 = 10] = "android233", a[a.androidTap = 11] = "androidTap";
                var s, r, o, u, c = ["None", "web", "wx", "qq", "bd", "oppo", "vivo", "tt", "qtt", "mata", "android233"];
                (r = s || (s = {}))[r.none = 0] = "none", r[r.tl = 1] = "tl", r[r.lw = 2] = "lw", r[r.zs = 3] = "zs", r[r.hl = 4] = "hl", (u = o || (o = {}))[u.default = 0] = "default", u[u.mj_1 = 1] = "mj_1", u[u.mj_2 = 2] = "mj_2";
            },
            "./src/LTGame/Platform/Impl/TT/TTDevice.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/Platform/DefaultDevice.ts"),
                    a = function (e) {
                        function t(e) {
                            var i;
                            return _classCallCheck(this, t), (i = n.call(this))._base = e, i
                        }
                        _inherits(t, i.default);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "Vibrate",
                            value: function (e) {
                                console.log("调用震动", e), e ? this._base.vibrateLong({
                                    success: function (e) { },
                                    fail: function (e) {
                                        console.error("调用震动失败", e);
                                    },
                                    complete: function (e) { }
                                }) : this._base.vibrateShort({
                                    success: function (e) { },
                                    fail: function (e) {
                                        console.error("调用震动失败", e);
                                    },
                                    complete: function (e) { }
                                });
                            }
                        }]), t
                    }();
            },
            "./src/LTGame/Platform/Impl/TT/TTRecordManager.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return r
                    }
                });
                var i = n("./src/UIExt/LTUI.ts"),
                    a = n("./src/LTGame/Async/Awaiters.ts"),
                    s = n("./src/LTGame/Platform/DefaultRecordManager.ts"),
                    r = function (e) {
                        function t(e) {
                            var i;
                            _classCallCheck(this, t), (i = n.call(this)).supportRecord = !0, i._base = e, i.isRecording = !1, i.isRecordSuccess = !1, i.isPausing = !1, i._nativeManager = i._base.getGameRecorderManager(), i._nativeManager.onStart(function (e) {
                                console.log("平台开始录制", e), i._startTime = Date.now(), i.isRecording = !0, i.isRecordSuccess = !1, i._cacheStartHandle && i._cacheStartHandle.run();
                            }), i._nativeManager.onStop(function (e) {
                                console.log("平台停止录制", e), i._endTime = Date.now(), i.videoSavePath = e.videoPath, i.isRecording = !1, i.isRecordSuccess = !0, i._cacheStopHandle ? i._cacheStopHandle.run() : i._cacheOverTimeHandle && i._cacheOverTimeHandle.run();
                            }), i._nativeManager.onError(function (e) {
                                console.log("录制发生错误", e), i.isRecordSuccess = !1, i.isRecording = !1, i._errorHandle && i._errorHandle.run();
                            }), i._nativeManager.onPause(function (e) {
                                console.log("暂停录制视频", e), i.isPausing = !0, i._cachePauseHandle && i._cachePauseHandle.run();
                            }), i._nativeManager.onResume(function (e) {
                                console.log("暂停录制视频", e), i.isPausing = !1, i._cacheResumeHandle && i._cacheResumeHandle.run();
                            }), i.supportRecord = !0;
                            var a = e.getSystemInfoSync().appName;
                            return console.error(a), "novelapp" == a && (i.supportRecord = !1, console.error("当前是安卓番茄平台")), "Reading" == a && (i.supportRecord = !1, console.error("当前是ios番茄平台")), i
                        }
                        _inherits(t, s.default);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "StartRecord",
                            value: function (e, t, n) {
                                this.supportRecord && (this.isRecording ? console.error("正在录屏！！") : (this._errorHandle = n, console.log("调用开始录屏"), this._cacheStartHandle = e, this._cacheOverTimeHandle = t, this._cacheStopHandle = null, this._nativeManager.start({
                                    duration: 300
                                })));
                            }
                        }, {
                            key: "Pause",
                            value: function (e) {
                                this.supportRecord && (this.isRecording ? this.isPausing ? console.log("当前录制状态已暂停") : (console.log("调用暂停录制"), this._cachePauseHandle = e, this._nativeManager && this._nativeManager.pause && this._nativeManager.pause()) : console.error("当前未开始录制,无法暂停录制"));
                            }
                        }, {
                            key: "Resume",
                            value: function (e) {
                                this.supportRecord && (this.isRecording ? this.isPausing ? (console.log("调用恢复录制"), this._cacheResumeHandle = e, this._nativeManager.resume()) : console.log("当前录制状态正在进行中") : console.error("当前未开始录制,无法恢复录制"));
                            }
                        }, {
                            key: "RecordClip",
                            value: function (e) {
                                this.supportRecord && (this.isRecording ? this.isPausing ? console.log("当前录制状态已暂停,无法记录精彩时刻") : null == e ? this._nativeManager.recordClip({}) : this._nativeManager.recordClip({
                                    timeRange: e
                                }) : console.error("当前未开始录制,无法记录精彩时刻"));
                            }
                        }, {
                            key: "StopRecord",
                            value: function (e) {
                                this.supportRecord && (console.log("调用结束录屏"), this._cacheStopHandle = e, this._nativeManager.stop());
                            }
                        }, {
                            key: "ShareVideo",
                            value: function (e, t, n) {
                                return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function s() {
                                    var r;
                                    return regeneratorRuntime.wrap(function (s) {
                                        for (; ;) switch (s.prev = s.next) {
                                            case 0:
                                                if (this.supportRecord) {
                                                    s.next = 2;
                                                    break
                                                }
                                                return s.abrupt("return");
                                            case 2:
                                                if (!(this._endTime - this._startTime < 4e3)) {
                                                    s.next = 5;
                                                    break
                                                }
                                                return i.default.Toast("录屏低于3秒钟不能分享！！"), s.abrupt("return");
                                            case 5:
                                                return s.next = 7, a.default.Seconds(.5);
                                            case 7:
                                                this.isRecordSuccess ? (r = {
                                                    channel: "video",
                                                    title: "汽车合成赛",
                                                    desc: "汽车合成赛",
                                                    imageUrl: "",
                                                    templateId: "2vl0rcais9324675cs",
                                                    query: "",
                                                    extra: {
                                                        videoPath: this.videoSavePath,
                                                        hashtag_list: ["合成", "汽车", "战斗", "抖音小游戏", "汽车合成赛"],
                                                        videoTopics: ["合成", "汽车", "战斗", "抖音小游戏", "汽车合成赛"]
                                                    },
                                                    success: function (t) {
                                                        e && e.run();
                                                    },
                                                    fail: function (e) {
                                                        t && t.run();
                                                    }
                                                }, this._base.shareAppMessage(r)) : (i.default.Toast("无视频可以分享"), n && n.run());
                                            case 8:
                                            case "end":
                                                return s.stop()
                                        }
                                    }, s, this)
                                }))
                            }
                        }]), t
                    }();
            },
            "./src/LTGame/Platform/Impl/Web/WebRecordManager.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    WebRecordManager: function () {
                        return s
                    }
                });
                var i = n("./src/LTGame/Async/Awaiters.ts"),
                    a = n("./src/LTGame/Platform/DefaultRecordManager.ts"),
                    s = function (e) {
                        function t() {
                            var e;
                            return _classCallCheck(this, t), (e = n.apply(this, arguments)).supportRecord = !0, e
                        }
                        _inherits(t, a.default);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "ShareVideo",
                            value: function (e, t, n) {
                                return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function t() {
                                    return regeneratorRuntime.wrap(function (t) {
                                        for (; ;) switch (t.prev = t.next) {
                                            case 0:
                                                if (!this.supportRecord) {
                                                    t.next = 7;
                                                    break
                                                }
                                                return console.log("强制模拟成功"), t.next = 4, i.default.Seconds(2);
                                            case 4:
                                                e && e.run(), t.next = 9;
                                                break;
                                            case 7:
                                                console.log("强制模拟失败"), n && n.run();
                                            case 9:
                                            case "end":
                                                return t.stop()
                                        }
                                    }, t, this)
                                }))
                            }
                        }]), t
                    }();
            },
            "./src/LTGame/Platform/LTPlatform.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return s
                    }
                });
                var i = n("./src/LTGame/Platform/EPlatformType.ts"),
                    a = n("./src/LTGame/Platform/LTPlatformFactory.ts"),
                    s = function () {
                        function e() {
                            _classCallCheck(this, e);
                        }
                        return _createClass(e, null, [{
                            key: "getPlatformIndex",
                            value: function () {
                                switch (this.instance.platform) {
                                    case i.EPlatformType.WX:
                                        return 1;
                                    case i.EPlatformType.TT:
                                        return 2;
                                    case i.EPlatformType.Web:
                                    case i.EPlatformType.MATA:
                                        return 0
                                }
                            }
                        }, {
                            key: "CreateInstance",
                            value: function () {
                                var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : null;
                                return null != this._instance ? (this._instance) : (this._instance = a.default.CreateInstance(),
                                    this._instance.appId = t, window.LTPlatform = this._instance, this._instance)
                            }
                        }, {
                            key: "GetPlatformStr",
                            value: function (e) {
                                switch (e) {
                                    case i.EPlatformType.BD:
                                        return "百度";
                                    case i.EPlatformType.None:
                                        return "未识别";
                                    case i.EPlatformType.Oppo:
                                        return "Oppo";
                                    case i.EPlatformType.QQ:
                                        return "QQ";
                                    case i.EPlatformType.TT:
                                        return "头条";
                                    case i.EPlatformType.Vivo:
                                        return "Vivo";
                                    case i.EPlatformType.Web:
                                        return "网页";
                                    case i.EPlatformType.WX:
                                        return "微信";
                                    case i.EPlatformType.QTT:
                                        return "趣头条";
                                    case i.EPlatformType.MATA:
                                        return "Mata";
                                    default:
                                        return "未定义" + e
                                }
                            }
                        }, {
                            key: "instance",
                            get: function () {
                                return null == this._instance && console.error("对象尚未初始化,请先调用CreateInstance进行初始化"), this._instance
                            }
                        }, {
                            key: "platformStr",
                            get: function () {
                                return e.GetPlatformStr(this._instance.platform)
                            }
                        }]), e
                    }();
            },
            "./src/LTGame/Platform/LTPlatformFactory.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return g
                    }
                });
                var i = n("./src/LTGame/Platform/TTPlatform.ts"),
                    a = n("./src/LTGame/Platform/WXPlatform.ts"),
                    s = n("./src/LTGame/Platform/BDPlatform.ts"),
                    r = n("./src/LTGame/Platform/QTTPlatform.ts"),
                    o = n("./src/LTGame/Platform/QQPlatform.ts"),
                    u = n("./src/LTGame/Platform/DefaultPlatform.ts"),
                    c = n("./src/LTGame/Platform/OppoPlatform.ts"),
                    l = n("./src/LTGame/Platform/MataPlatform.ts"),
                    d = n("./src/script/common/Const.ts"),
                    h = n("./src/LTGame/Platform/Android233Platform.ts"),
                    f = n("./src/LTGame/Platform/EPlatformType.ts"),
                    _ = n("./src/LTGame/Platform/VivoPlatform.ts"),
                    m = n("./src/LTGame/Platform/AndroidTapPlatform.ts"),
                    g = function () {
                        function e() {
                            _classCallCheck(this, e);
                        }
                        return _createClass(e, null, [{
                            key: "CreateInstance",
                            value: function () {
                                var e, t = null != window.qttGame;
                                return (e = new u.default), e
                                // null != window.tt ? e = new i.default : Laya.Browser.onMiniGame ? e = new a.default :
                                //     Laya.Browser.onBDMiniGame ? e = new s.default : t ? e = new r.default : Laya.Browser.onQQMiniGame ?
                                //         e = new o.default : Laya.Browser.onQGMiniGame ?
                                //     e = new c.default : Laya.Browser.onVVMiniGame ? e = new _.default
                                //         : d.default.DefaultPlatform == f.EPlatformType.MATA ? e = new l.default :
                                //             d.default.DefaultPlatform == f.EPlatformType.android233 ? e = new h.default :
                                //                 d.default.DefaultPlatform == f.EPlatformType.androidTap ? e = new m.default :
                                //                     d.default.DefaultPlatform == f.EPlatformType.TT ? e = new i.default :
                                //                         (console.log("未识别平台,默认创建为web", Laya.Browser.userAgent), e = new u.default), e
                            }
                        }]), e
                    }();
            },
            "./src/LTGame/Platform/MataPlatform.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return r
                    }
                });
                var i = n("./src/LTGame/Platform/EPlatformType.ts"),
                    a = n("./src/LTGame/Platform/LTPlatform.ts"),
                    s = n("./src/LTGame/Platform/Impl/Web/WebRecordManager.ts"),
                    r = function () {
                        function e() {
                            _classCallCheck(this, e), this.recordManager = new s.WebRecordManager, this.platform = i.EPlatformType.MATA;
                        }
                        return _createClass(e, [{
                            key: "requestMessage",
                            value: function (e) { }
                        }, {
                            key: "checkCollectIn",
                            value: function () {
                                return !0
                            }
                        }, {
                            key: "GetStorage",
                            value: function (e) { }
                        }, {
                            key: "SetStorage",
                            value: function (e, t) { }
                        }, {
                            key: "IsBannerAvaliable",
                            value: function () {
                                return !1
                            }
                        }, {
                            key: "IsVideoAvaliable",
                            value: function () {
                                return !1
                            }
                        }, {
                            key: "IsInterstitalAvaliable",
                            value: function () {
                                return !1
                            }
                        }, {
                            key: "ShowBannerAd",
                            value: function () {
                                return !1
                            }
                        }, {
                            key: "HideBannerAd",
                            value: function () {
                                return !1
                            }
                        }, {
                            key: "showBoxPortalAd",
                            value: function () { }
                        }, {
                            key: "ShowAdOrShareAsync",
                            value: function () {
                                var e = this;
                                return window.PlatformClass && window.PlatformClass.createClass("demo.Ad").call("showVideoAd"), new Promise(function (t) {
                                    e._okCallBack = Laya.Handler.create(e, function () {
                                        t(!0);
                                    }, null, !0), e._noCallBack = Laya.Handler.create(e, function () {
                                        t(!1);
                                    }, null, !0), e.ShowRewardVideoAd(e._okCallBack, e._noCallBack);
                                })
                            }
                        }, {
                            key: "ShowInterstitalAd",
                            value: function () {
                                return !1
                            }
                        }, {
                            key: "GetFromAppId",
                            value: function () {
                                return null
                            }
                        }, {
                            key: "ShareAppMessage",
                            value: function (e, t, n) {
                                return null
                            }
                        }, {
                            key: "ShareAppMessageById",
                            value: function (e, t, n, i) {
                                return null
                            }
                        }, {
                            key: "startDeviceMotionListening",
                            value: function (e) {
                                return null
                            }
                        }, {
                            key: "offDeviceMotionListening",
                            value: function () {
                                return null
                            }
                        }, {
                            key: "LoadSubpackage",
                            value: function (e, t, n, i) {
                                return null
                            }
                        }, {
                            key: "LoadSubpackageAsync",
                            value: function (e) {
                                return null
                            }
                        }, {
                            key: "RecordEvent",
                            value: function (e, t) {
                                return null
                            }
                        }, {
                            key: "_CheckUpdate",
                            value: function () {
                                return null
                            }
                        }, {
                            key: "ShowToast",
                            value: function (e) {
                                return null
                            }
                        }, {
                            key: "OpenGameBox",
                            value: function (e) {
                                return null
                            }
                        }, {
                            key: "NavigateToApp",
                            value: function (e, t, n, i, a, s) {
                                return null
                            }
                        }, {
                            key: "createShortcut",
                            value: function () {
                                return null
                            }
                        }, {
                            key: "getPlatformIndex",
                            value: function () {
                                switch (a.default.instance.platform) {
                                    case i.EPlatformType.WX:
                                        return 1;
                                    case i.EPlatformType.TT:
                                        return 2;
                                    case i.EPlatformType.Web:
                                    case i.EPlatformType.MATA:
                                        return 0
                                }
                            }
                        }, {
                            key: "Init",
                            value: function (e) { }
                        }, {
                            key: "_InitSystemInfo",
                            value: function () { }
                        }, {
                            key: "ShowRewardVideoAd",
                            value: function (e, t) { }
                        }, {
                            key: "showFullScreenAd",
                            value: function () { }
                        }, {
                            key: "ShowRewardVideoAdAsync",
                            value: function () {
                                var e = this;
                                return window.PlatformClass && window.PlatformClass.createClass("demo.Ad").call("showVideoAd"), new Promise(function (t) {
                                    e._okCallBack = Laya.Handler.create(e, function () {
                                        t(!0);
                                    }, null, !0), e._noCallBack = Laya.Handler.create(e, function () {
                                        t(!1);
                                    }, null, !0), e.ShowRewardVideoAd(e._okCallBack, e._noCallBack);
                                })
                            }
                        }, {
                            key: "showNativeAd",
                            value: function (e) { }
                        }, {
                            key: "hideNativeAd",
                            value: function (e) { }
                        }, {
                            key: "hideBoxPortalAd",
                            value: function () { }
                        }], [{
                            key: "AndroidCallJs",
                            value: function (e) {
                                if (1 == e) {
                                    var t = a.default.instance._okCallBack;
                                    t && t.run(), a.default.instance._okCallBack = null;
                                } else {
                                    var n = a.default.instance._noCallBack;
                                    n && n.run(), a.default.instance._noCallBack = null;
                                }
                            }
                        }]), e
                    }();
                Laya.Browser.window && (Laya.Browser.window.MataPlatform = r);
            },
            "./src/LTGame/Platform/OppoPlatform.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return k
                    },
                    e_ad_id: function () {
                        return i
                    }
                });
                var i, a, s = n("./src/LTGame/Async/Awaiters.ts"),
                    r = n("./src/LTGame/Commom/CommonEventId.ts"),
                    o = n("./src/LTGame/LTUtils/StringEx.ts"),
                    u = n("./src/UIExt/LTUI.ts"),
                    c = n("./src/LTGame/Platform/DefaultDevice.ts"),
                    l = n("./src/LTGame/Platform/DefaultRecordManager.ts"),
                    d = n("./src/LTGame/Platform/EPlatformType.ts"),
                    h = n("./src/LTGame/Platform/LTPlatform.ts"),
                    f = n("./src/LTGame/Platform/WXPlatform.ts"),
                    _ = n("./src/UIExt/UISrc/UI_ImageBannerMediator.ts"),
                    m = n("./src/UIExt/FGui/FGuiEx.ts"),
                    g = n("./src/script/common/OppoUtils.ts"),
                    p = n("./src/LTGame/Manager/MesManager.ts"),
                    v = n("./src/script/enum/EEventUI.ts"),
                    y = n("./src/UIExt/UISrc/Cmp/View_NativeInterstitalAdNew.ts");
                (a = i || (i = {})).interstitial_hall = "10100001", a.video_add_gold = "10200001", a.video_add_diamond = "10200002", a.video_add_bomb = "10200003", a.video_forging = "10200004", a.video_luck_draw = "10200005", a.native_interstitial_hall = "10301001", a.native_inner_interstitial_success = "10302001", a.native_banner = "10304001", a.native_icon = "10304002", a.banner_hall = "10400001", a.appbox_hall = "10600001", a.game_banner_box = "10600002", a.game_portal_box = "10600003", a.bottom_block = "10900001", a.left_block = "10900002", a.right_block = "10900003";
                var k = function (e) {
                    function t() {
                        var e;
                        return _classCallCheck(this, t), (e = n.apply(this, arguments)).platform = d.EPlatformType.Oppo, e.safeArea = null, e.recordManager = new l.default, e.device = new c.default, e.isSupportJumpOther = !0, e._isBannerLoaded = !1, e._isVideoLoaded = !1, e._isInterstitialLoaded = !1, e._isInterstitialCanShow = !0, e._nativeAdLoaded = !1, e._loadGameBox = !1, e.yuanshengSuc = !1, e._cacheVideoAD = !1, e._gameBoxErrCount = 0, e._endLoadGameBox = !1, e
                    }
                    _inherits(t, f.default);
                    var n = _createSuper(t);
                    return _createClass(t, [{
                        key: "Init",
                        value: function (e) {
                            var t = this;
                            this._base = window.qg, null != this._base ? (this.platformData = e, this._InitLauchOption(), this._Login(), this._InitSystemInfo(), this.getSystemInfo(), this.systemInfo.platformVersion >= 1051 || this._base.initAdService({
                                appId: e.appId,
                                isDebug: !0,
                                success: function () {
                                    console.log("oppo广告", "初始化广告服务成功", e), t._CreateVideoAd();
                                },
                                fail: function () {
                                    console.error("oppo广告", "初始化广告服务失败");
                                }
                            }), this._CreateGameBoxAd(), g.default.preLoadAd(), window.iplatform = this) : console.error("平台初始化错误", h.default.platformStr);
                        }
                    }, {
                        key: "getSystemInfo",
                        value: function () {
                            var e = this;
                            this._base.getSystemInfo({
                                success: function (t) {
                                    e.systemInfo = t, console.log(e.systemInfo);
                                },
                                fail: function () { },
                                complete: function () { }
                            });
                        }
                    }, {
                        key: "reportMonitor",
                        value: function () {
                            console.log("oppo上报数据", this.systemInfo), this.systemInfo && this.systemInfo.platformVersion;
                        }
                    }, {
                        key: "_CheckUpdate",
                        value: function () { }
                    }, {
                        key: "_Login",
                        value: function () {
                            var e = this;
                            this.loginState = {
                                isLogin: !1,
                                code: "",
                                data: null
                            };
                            var t = {
                                success: function (t) {
                                    e._OnLoginSuccess(t);
                                },
                                fail: function (t) {
                                    console.error(h.default.platformStr, "登录失败", t), e.loginState.isLogin = !1, e.loginState.code = "";
                                },
                                complete: function (t) {
                                    null != e.onLoginEnd && (e.onLoginEnd.run(), e.onLoginEnd = null);
                                }
                            };
                            this._base.login(t);
                        }
                    }, {
                        key: "_OnLoginSuccess",
                        value: function (e) {
                            console.log(h.default.platformStr, "登录成功", e), this.loginState.isLogin = !0, this.loginState.code = e.token, this.loginState.data = e;
                        }
                    }, {
                        key: "ShareAppMessage",
                        value: function (e, t, n) { }
                    }, {
                        key: "_InitLauchOption",
                        value: function () {
                            this._base.onShow(this._OnShow), this._base.onHide(this._OnHide);
                            var e = this._base.getLaunchOptionsSync();
                            this._OnShow(e);
                        }
                    }, {
                        key: "canCreateShortcut",
                        value: function () {
                            return new Promise(function (e, t) {
                                qg.hasShortcutInstalled({
                                    success: function (t) {
                                        e(t);
                                    },
                                    fail: function (e) {
                                        t();
                                    },
                                    complete: function () { }
                                });
                            })
                        }
                    }, {
                        key: "createShortcut",
                        value: function () {
                            return new Promise(function (e, t) {
                                qg.hasShortcutInstalled({
                                    success: function (n) {
                                        0 == n ? qg.installShortcut({
                                            success: function () {
                                                e();
                                            },
                                            fail: function (e) {
                                                t();
                                            },
                                            complete: function () { }
                                        }) : e();
                                    },
                                    fail: function (e) {
                                        t();
                                    },
                                    complete: function () { }
                                });
                            })
                        }
                    }, {
                        key: "_CreateInterstitalAd",
                        value: function () { }
                    }, {
                        key: "_CreateVideoAd",
                        value: function () {
                            var e = this;
                            if (this._cacheVideoAD) {
                                var t = this._base.createRewardedVideoAd;
                                if (null != t)
                                    if (o.default.IsNullOrEmpty(this.platformData.rewardVideoId)) console.log("无有效的视频广告ID,取消加载");
                                    else {
                                        this._videoFailedCount = 0;
                                        var n = {};
                                        n.adUnitId = this.platformData.rewardVideoId, this._rewardVideo = t(n), this._rewardVideo.onLoad(function () {
                                            console.log("视频广告加载成功"), e._isVideoLoaded = !0;
                                        }), this._rewardVideo.onError(function (t) {
                                            e._videoFailedCount++, console.error("视频广告加载失败", t), e._videoFailedCount > 10 && (console.log("第", e._videoFailedCount, "次重新加载视频广告"), e._rewardVideo.load());
                                        }), this._rewardVideo.onClose(function (t) {
                                            Laya.stage.event(r.CommonEventId.RESUM_AUDIO), console.log("视频回调", t);
                                            var n = t.isEnded;
                                            s.default.NextFrame().then(function () {
                                                n ? e._rewardSuccessed && e._rewardSuccessed.run() : e._rewardSkipped && e._rewardSkipped.run(), e._rewardSuccessed = null, e._rewardSkipped = null;
                                            });
                                        });
                                    }
                                else console.error("无createRewardedVideoAd方法,跳过初始化");
                            } else console.log("当前策略为不缓存视频广告");
                        }
                    }, {
                        key: "_CreateGameBoxAd",
                        value: function () {
                            var e = this;
                            if (this.platformData.openGameBox && "" != this.platformData.openGameBox) {
                                var t = this._base.createGamePortalAd({
                                    adUnitId: this.platformData.openGameBox
                                });
                                t.onLoad(function () {
                                    console.log("互推盒子九宫格广告加载成功"), e._gameBoxAd = t, e._loadGameBox = !0;
                                }), t.onError(function (t) {
                                    console.error("互推盒子九宫格广告加载失败", t), 1001 == t.code && (e._gameBoxErrCount++, e._gameBoxErrCount < 5 ? Laya.timer.once(2e3, e, function () {
                                        return e._gameBoxAd.load()
                                    }) : e._endLoadGameBox = !0);
                                }), t.onClose(function () {
                                    console.log("互推盒子九宫格广告关闭"), p.default.instance.eventUI(v.EEventUI.gameBoxClose), e._loadGameBox = !1, e._gameBoxAd.load();
                                });
                            } else console.error("无有效的九宫互推广告ID,取消加载");
                        }
                    }, {
                        key: "IsBannerAvaliable",
                        value: function () {
                            return this._isBannerLoaded
                        }
                    }, {
                        key: "IsVideoAvaliable",
                        value: function () {
                            return this._isVideoLoaded
                        }
                    }, {
                        key: "IsInterstitalAvaliable",
                        value: function () {
                            return !1
                        }
                    }, {
                        key: "IsNativeAvaliable",
                        value: function () {
                            return this._nativeAdLoaded
                        }
                    }, {
                        key: "showNormalAd",
                        value: function () {
                            return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                var t, n, i, a = this;
                                return regeneratorRuntime.wrap(function (e) {
                                    for (; ;) switch (e.prev = e.next) {
                                        case 0:
                                            if (!o.default.IsNullOrEmpty(this.platformData.bannerId)) {
                                                e.next = 3;
                                                break
                                            }
                                            return console.log("无有效的banner广告ID,取消加载"), e.abrupt("return");
                                        case 3:
                                            if (!this._bannerAd) {
                                                e.next = 7;
                                                break
                                            }
                                            return this._bannerAd.show(), console.log("展示已有banner"), e.abrupt("return");
                                        case 7:
                                            this._bannerAd = this._base.createBannerAd({
                                                adUnitId: this.platformData.bannerId
                                            }), t = !0, n = !1, this._bannerAd.show().then(function (e) {
                                                console.log("banner加载成功", e), (a.platform == d.EPlatformType.Vivo || e && 0 == e.code) && (n = !0, p.default.instance.eventUI(v.EEventUI.ovBannerOnShow)), t = !1;
                                            }).catch(function (e) {
                                                console.error("banner加载失败", e), t = !1;
                                            }), this.platform == d.EPlatformType.Vivo ? this._bannerAd.onClose(function () {
                                                !a.activeHideBanner && p.default.instance.eventUI(v.EEventUI.bannerHide), a.activeHideBanner = !1, console.log("banner关闭");
                                            }) : this._bannerAd.onHide(function () {
                                                !a.activeHideBanner && p.default.instance.eventUI(v.EEventUI.bannerHide), a.activeHideBanner = !1, console.log("banner关闭");
                                            });
                                        case 12:
                                            if (!t) {
                                                e.next = 17;
                                                break
                                            }
                                            return e.next = 15, s.default.NextFrame();
                                        case 15:
                                            e.next = 12;
                                            break;
                                        case 17:
                                            if (!n) {
                                                e.next = 19;
                                                break
                                            }
                                            return e.abrupt("return");
                                        case 19:
                                            console.log("banner展示失败,展示native广告"), this._bannerAd && (this._bannerAd.destroy(), this._bannerAd = null), i = 0;
                                        case 22:
                                            if (!(i < this.platformData.nativeIconIds.length)) {
                                                e.next = 32;
                                                break
                                            }
                                            return e.next = 25, this._ShowNativeBanner(i);
                                        case 25:
                                            if (!e.sent) {
                                                e.next = 28;
                                                break
                                            }
                                            return e.abrupt("break", 32);
                                        case 28:
                                            this._bannerAd.destroy();
                                        case 29:
                                            ++i, e.next = 22;
                                            break;
                                        case 32:
                                        case "end":
                                            return e.stop()
                                    }
                                }, e, this)
                            }))
                        }
                    }, {
                        key: "ShowBannerAd",
                        value: function () {
                            this.showNormalAd();
                        }
                    }, {
                        key: "_ShowNativeBanner",
                        value: function (e) {
                            return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function t() {
                                var n, i, a, s, r;
                                return regeneratorRuntime.wrap(function (t) {
                                    for (; ;) switch (t.prev = t.next) {
                                        case 0:
                                            return n = this.base.createNativeAd({
                                                adUnitId: this.platformData.nativeBannerIds[e]
                                            }), this._bannerAd = n, t.next = 4, n.load();
                                        case 4:
                                            if (0 != (i = t.sent).code) {
                                                t.next = 24;
                                                break
                                            }
                                            if (null != (a = i.adList) && 0 != a.length) {
                                                t.next = 10;
                                                break
                                            }
                                            return console.error("native banner加载失败", i), t.abrupt("return", !1);
                                        case 10:
                                            if (null != (s = a[0])) {
                                                t.next = 14;
                                                break
                                            }
                                            return console.error("native banner加载失败", i), t.abrupt("return", !1);
                                        case 14:
                                            return (r = new _.FakeBannerData).imgPath = s.imgUrlList[0], r.noticePath = s.logoUrl, r.adId = s.adId, r.owner = this._bannerAd, r.iconPath = s.icon, _.default.instance.Show(r), t.abrupt("return", !0);
                                        case 24:
                                            return console.error("native banner加载失败", i), t.abrupt("return", !1);
                                        case 26:
                                        case "end":
                                            return t.stop()
                                    }
                                }, t, this)
                            }))
                        }
                    }, {
                        key: "HideBannerAd",
                        value: function () {
                            this.activeHideBanner = !0, this._bannerAd && (this._bannerAd.destroy(), this._bannerAd = null), this.activeHideBanner = !1, _.default.instance.Hide(), this.bannerVisible = !1;
                        }
                    }, {
                        key: "ShowNativeAd",
                        value: function () {
                            return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                return regeneratorRuntime.wrap(function (e) {
                                    for (; ;) switch (e.prev = e.next) {
                                        case 0:
                                            if (this.IsNativeAvaliable()) {
                                                e.next = 2;
                                                break
                                            }
                                            return e.abrupt("return");
                                        case 2:
                                        case "end":
                                            return e.stop()
                                    }
                                }, e, this)
                            }))
                        }
                    }, {
                        key: "HideNativeAd",
                        value: function () {
                            this.IsNativeAvaliable();
                        }
                    }, {
                        key: "_DoCacheShowVideo",
                        value: function (e, t) {
                            this._isVideoLoaded ? (this._rewardSuccessed = e, this._rewardSkipped = t, this._isVideoLoaded = !1, Laya.stage.event(r.CommonEventId.PAUSE_AUDIO), this._rewardVideo.show()) : console.error("视频广告尚未加载好");
                        }
                    }, {
                        key: "_DoNoCacheShowVideo",
                        value: function (e, t) {
                            var n, i, a = this;
                            if (this._rewardSuccessed = e, this._rewardSkipped = t, o.default.IsNullOrEmpty(this.platformData.rewardVideoId)) return console.log("无有效的视频广告ID,取消加载"), null === (n = this._rewardSkipped) || void 0 === n || n.run(), void (this._rewardSkipped = null);
                            var c = this._base.createRewardedVideoAd;
                            if (null == c) return console.error("无createRewardedVideoAd方法,跳过初始化"), null === (i = this._rewardSkipped) || void 0 === i || i.run(), void (this._rewardSkipped = null);
                            this._rewardVideo && this._rewardVideo.destroy(), u.default.ShowLoading(Laya.Handler.create(this, u.default.ShowSignUI));
                            var l = {};
                            l.adUnitId = this.platformData.rewardVideoId, this._rewardVideo = c(l), console.log("广告创建完成", l), this._rewardVideo.onClose(function (e) {
                                Laya.stage.event(r.CommonEventId.RESUM_AUDIO), console.log("视频回调", e);
                                var t = e.isEnded;
                                s.default.NextFrame().then(function () {
                                    a.first && (a.firstFinish = t, a.first = !1), t ? a._rewardSuccessed && a._rewardSuccessed.run() : a._rewardSkipped && a._rewardSkipped.run(), a._rewardSuccessed = null, a._rewardSkipped = null;
                                });
                            }), this._rewardVideo.onError(function (e) {
                                console.log("广告组件出现问题", e), u.default.HideLoading(), a._rewardSkipped && a._rewardSkipped.run(), a._rewardSkipped = null;
                            }), this._rewardVideo.onLoad(function (e) {
                                console.log("广告加载成功", e), u.default.HideLoading();
                            }), this._rewardVideo.load().then(function () {
                                a._rewardVideo.show();
                            });
                        }
                    }, {
                        key: "ShowRewardVideoAd",
                        value: function (e, t) {
                            this._cacheVideoAD ? this._DoCacheShowVideo(e, t) : this._DoNoCacheShowVideo(e, t);
                        }
                    }, {
                        key: "ShowRewardVideoAdAsync",
                        value: function () {
                            var e = this;
                            return new Promise(function (t) {
                                h.default.instance.ShowRewardVideoAd(Laya.Handler.create(e, function () {
                                    t(!0);
                                }), Laya.Handler.create(e, function () {
                                    t(!1);
                                }));
                            })
                        }
                    }, {
                        key: "_DisableInterstitalAd",
                        value: function () {
                            return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                return regeneratorRuntime.wrap(function (e) {
                                    for (; ;) switch (e.prev = e.next) {
                                        case 0:
                                            return this._isInterstitialCanShow = !1, e.next = 3, s.default.Seconds(60);
                                        case 3:
                                            this._isInterstitialCanShow = !0;
                                        case 4:
                                        case "end":
                                            return e.stop()
                                    }
                                }, e, this)
                            }))
                        }
                    }, {
                        key: "GetFromAppId",
                        value: function () {
                            return null == this.lauchOption.referrerInfo ? null : o.default.IsNullOrEmpty(this.lauchOption.referrerInfo.appId) ? null : this.lauchOption.referrerInfo.appId
                        }
                    }, {
                        key: "CreatShortcut",
                        value: function () {
                            return new Promise(function (e, t) {
                                qg.hasShortcutInstalled({
                                    success: function (n) {
                                        0 == n ? qg.installShortcut({
                                            success: function () {
                                                e();
                                            },
                                            fail: function (e) {
                                                t();
                                            },
                                            complete: function () { }
                                        }) : e();
                                    },
                                    fail: function (e) {
                                        t();
                                    },
                                    complete: function () { }
                                });
                            })
                        }
                    }, {
                        key: "LoadSubpackage",
                        value: function (e, t, n, i) {
                            var a = {};
                            a.name = e, a.success = function () {
                                console.log("分包加载成功", e), t && (t.run(), t = null);
                            }, a.fail = function () {
                                console.error("分包加载失败", e), n && (n.run(), n = null);
                            }, this._base.loadSubpackage(a).onProgressUpdate(function (e) {
                                console.log("分包加载进度", e), i && i.runWith(e.progress / 100);
                            });
                        }
                    }, {
                        key: "RecordEvent",
                        value: function (e, t) {
                            console.log("[记录事件]", e, t);
                        }
                    }, {
                        key: "CreateShareVideoBtn",
                        value: function (e, t, n, i) { }
                    }, {
                        key: "HideShareVideoBtn",
                        value: function () {
                            null != this._shareVideoBtn && this._shareVideoBtn.hide();
                        }
                    }, {
                        key: "ShowToast",
                        value: function (e) {
                            this._base && this._base.showToast && this._base.showToast({
                                title: e,
                                duration: 2e3
                            });
                        }
                    }, {
                        key: "OpenGameBox",
                        value: function (e) {
                            var t = this;
                            this._loadGameBox && this._gameBoxAd ? this._gameBoxAd.show().then(function () {
                                t.HideBannerAd();
                            }).catch(function (e) {
                                u.default.Toast("努力加载中，请稍有再试~"), console.error("互推盒子九宫格广告展示失败", e);
                            }) : (u.default.Toast("努力加载中，请稍有再试~"), this._endLoadGameBox && (this._endLoadGameBox = !1, this._gameBoxAd && this._gameBoxAd.load()));
                        }
                    }, {
                        key: "NavigateToApp",
                        value: function (e, t, n) {
                            return new Promise(function (i, a) {
                                Laya.Browser.window.qg.navigateToMiniGame({
                                    pkgName: e,
                                    path: t,
                                    extraData: n,
                                    success: function () {
                                        i(!0), console.log("oppo小游戏跳转成功");
                                    },
                                    fail: function (e) {
                                        a(!1), console.log("oppo小游戏跳转失败：", JSON.stringify(e));
                                    }
                                });
                            })
                        }
                    }, {
                        key: "ShowInterstitalAd",
                        value: function () {
                            y.default.show();
                        }
                    }, {
                        key: "show_inner_interstitial_native",
                        value: function () {
                            oppoSdk.syyx_sdk_api.get_local_native_data(i.native_inner_interstitial_success) ? (console.log("igc-----加载到原生数据  可以展示"), oppoSdk.syyx_sdk_api.show_native_inner_interstitial(i.native_inner_interstitial_success, m.default.adLayer, function () {
                                console.log("igc----- 结算原生点击回调");
                            }, function () {
                                console.log("igc----- 结算原生已显示");
                            }, function () {
                                oppoSdk.syyx_sdk_api.hide_native_inner_interstitial(), console.log("igc----- 结算原生隐藏");
                            }, !0)) : console.log("igc-----未加载到原生数据 不展示结算原生");
                        }
                    }]), t
                }();
            },
            "./src/LTGame/Platform/QQPlatform.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return d
                    }
                });
                var i = n("./src/LTGame/Platform/WXPlatform.ts"),
                    a = n("./src/LTGame/Platform/EPlatformType.ts"),
                    s = n("./src/LTGame/Platform/LTPlatform.ts"),
                    r = n("./src/LTGame/LTUtils/StringEx.ts"),
                    o = n("./src/LTGame/Commom/CommonEventId.ts"),
                    u = n("./src/UIExt/LTUI.ts"),
                    c = n("./src/LTGame/SDK/Libs/hlsdk_adapter.ts"),
                    l = n("./src/script/common/Const.ts"),
                    d = function (e) {
                        function t() {
                            var e;
                            return _classCallCheck(this, t), (e = n.apply(this, arguments)).platform = a.EPlatformType.QQ, e.isBannerShowing = !1, e
                        }
                        _inherits(t, i.default);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "Init",
                            value: function (e) {
                                this.base = this._base = window.qq, null != this._base ? (this.platformData = e, this._InitLauchOption(), this._Login(), this._InitShareInfo(), this._InitSystemInfo(), this._CreateBannerAd(), this._CreateVideoAd(), this._CreateInterstitalAd(), window.iplatform = this, console.error("平台初始化完成", s.default.platformStr)) : console.error("平台初始化错误", s.default.platformStr);
                            }
                        }, {
                            key: "_InitSystemInfo",
                            value: function () {
                                try {
                                    var e = this._base.getSystemInfoSync();
                                    this._cacheScreenScale = e.screenWidth / Laya.stage.width, this.safeArea = {}, this.safeArea.width = e.windowWidth, this.safeArea.height = e.windowHeight, this.safeArea.top = e.statusBarHeight, this.safeArea.bottom = 0, console.log("QQ覆写_InitSystemInfo", this.safeArea);
                                } catch (e) {
                                    console.error(e), console.error("获取设备信息失败,执行默认初始化"), this.safeArea = null;
                                }
                            }
                        }, {
                            key: "_CreateBannerAd",
                            value: function (e) {
                                var t = this;
                                if (r.default.IsNullOrEmpty(this.platformData.bannerId)) console.log("无有效的banner广告ID,取消加载");
                                else {
                                    var n = this._base.getSystemInfoSync().windowWidth,
                                        i = this._base.getSystemInfoSync().windowHeight,
                                        a = {};
                                    a.adUnitId = this.platformData.bannerId;
                                    var s = {};
                                    s.top = i - 80, s.width = 300, s.left = (n - s.width) / 2, a.style = s, this._bannerAd = this._base.createBannerAd(a), this._isBannerLoaded = !1, this._bannerAd.onLoad(function () {
                                        console.log("qq banner加载成功", t._bannerAd), t._isBannerLoaded = !0, e && t._bannerAd.show();
                                    }), this._bannerAd.onError(function (e) {
                                        console.error("banner广告加载失败", e);
                                    }), this._bannerAd.onResize(function (e) {
                                        console.log("onResize", e), t._bannerAd.style.top = i - 80, t._bannerAd.style.left = (n - 300) / 2, console.log("onResize", t._bannerAd);
                                    });
                                }
                            }
                        }, {
                            key: "IsBannerAvaliable",
                            value: function () {
                                return this._isBannerLoaded
                            }
                        }, {
                            key: "IsVideoAvaliable",
                            value: function () {
                                return this._isVideoLoaded
                            }
                        }, {
                            key: "IsInterstitalAvaliable",
                            value: function () {
                                return this._isInterstitialLoaded
                            }
                        }, {
                            key: "ShowBannerAd",
                            value: function () {
                                this.IsBannerAvaliable() && (this._bannerAd.show(), this.isBannerShowing = !0, Laya.timer.loop(15e3, this, this.refreshBanner));
                            }
                        }, {
                            key: "refreshBanner",
                            value: function () {
                                this.isBannerShowing && (console.log("refresh banner"), this._bannerAd.hide(), this._CreateBannerAd(!0));
                            }
                        }, {
                            key: "HideBannerAd",
                            value: function () {
                                this.IsBannerAvaliable() && (this._bannerAd && (this._bannerAd.hide(), Laya.timer.clear(this, this.refreshBanner), this.isBannerShowing = !1), this._CreateBannerAd());
                            }
                        }, {
                            key: "_DoCacheShowVideo",
                            value: function (e, t) {
                                this._isVideoLoaded ? (this._rewardSuccessed = e, this._rewardSkipped = t, this._isVideoLoaded = !1, Laya.stage.event(o.CommonEventId.PAUSE_AUDIO), this._rewardVideo.show()) : console.error("视频广告尚未加载好");
                            }
                        }, {
                            key: "_DoNoCacheShowVideo",
                            value: function (e, t) {
                                var n = this;
                                if (this._rewardSuccessed = e, this._rewardSkipped = t, !this._isVideoLoaded || !this._rewardVideo) {
                                    if (r.default.IsNullOrEmpty(this.platformData.rewardVideoId)) return console.log("无有效的视频广告ID,取消加载"), void t.run();
                                    var i = this._base.createRewardedVideoAd;
                                    if (null == i) return console.error("无createRewardedVideoAd方法,跳过初始化"), void t.run();
                                    u.default.ShowLoading(), this._videoFailedCount = 0;
                                    var a = {};
                                    a.adUnitId = this.platformData.rewardVideoId, this._rewardVideo = i(a), this._rewardVideo.onLoad(function () {
                                        console.log("视频广告加载成功"), n._isVideoLoaded = !0;
                                    }), this._rewardVideo.onError(function (e) {
                                        n._videoFailedCount++, console.error("视频广告加载失败", e, n._videoFailedCount);
                                    }), this._rewardVideo.onClose(function (e) {
                                        Laya.stage.event(o.CommonEventId.RESUM_AUDIO), console.log(" NoCache - 视频回调", e);
                                        var t = e.isEnded;
                                        console.log("noCache---", t, "----", !!n._rewardSuccessed, "-----", !!n._rewardSkipped), t ? n._rewardSuccessed && n._rewardSuccessed.run() : n._rewardSkipped && n._rewardSkipped.run();
                                    });
                                }
                                this._rewardVideo.show().then(function () {
                                    u.default.HideLoading();
                                }).catch(function (e) {
                                    console.log("广告组件出现问题", e), n._rewardVideo.load().then(function () {
                                        return console.log("手动加载成功"), n._rewardVideo.show().then(function () {
                                            u.default.HideLoading();
                                        })
                                    });
                                });
                            }
                        }, {
                            key: "ShowRewardVideoAd",
                            value: function (e, t) {
                                var n = this;
                                if (console.log("调用广告---------------"), l.default.faxing == a.EFaxing.hl) {
                                    var i = Date.now();
                                    if (i - this.pressVideoTime < 2e3) return;
                                    this.pressVideoTime = i;
                                    var s = function () {
                                        n._rewardSuccessed = null, n._rewardSkipped = null, Laya.stage.event(o.CommonEventId.RESUM_AUDIO), u.default.HideLoading();
                                    };
                                    return this._rewardSuccessed = e, this._rewardSkipped = t, Laya.stage.event(o.CommonEventId.PAUSE_AUDIO), void c.HLSDKAdapter.tryFreeToGetAReward({
                                        shareScene: c.ShareScene.SS_SHARE_APP,
                                        succCb: function () {
                                            n._rewardSuccessed && n._rewardSuccessed.run(), console.log("try to get a reward succ..."), s();
                                        },
                                        failCb: function () {
                                            n._rewardSkipped && n._rewardSkipped.run(), console.log("try to get a reward fail..."), s();
                                        }
                                    })
                                }
                                this._cacheVideoAD ? this._DoCacheShowVideo(e, t) : this._DoNoCacheShowVideo(e, t);
                            }
                        }, {
                            key: "ShowRewardVideoAdAsync",
                            value: function () {
                                return new Promise(function (e) {
                                    s.default.instance.ShowRewardVideoAd(Laya.Handler.create(this, function () {
                                        e(!0);
                                    }, null, !0), Laya.Handler.create(this, function () {
                                        e(!1);
                                    }, null, !0));
                                })
                            }
                        }, {
                            key: "ShowInterstitalAd",
                            value: function () {
                                this._isInterstitialLoaded ? this._intersitialAd.show() : console.error("插页广告尚未加载好");
                            }
                        }, {
                            key: "OpenGameBox",
                            value: function () {
                                arguments.length > 0 && void 0 !== arguments[0] && arguments[0], this.showAppBox();
                            }
                        }, {
                            key: "showAppBox",
                            value: function () {
                                this.appBox && this.appBox.show();
                            }
                        }, {
                            key: "createAppBox",
                            value: function (e) {
                                var t = this;
                                this.appBox || (this.appBox = this._base.createAppBox({
                                    adUnitId: "54b23210b2bf2e85c874beb4bae96003"
                                })), this.appBox.load().then(function () {
                                    e && t.appBox.show();
                                }), this.appBox.onClose(function () {
                                    console.log("关闭盒子");
                                });
                            }
                        }, {
                            key: "hideAppBox",
                            value: function () {
                                this.appBox && this.appBox.destroy();
                            }
                        }, {
                            key: "showBlockAd",
                            value: function () {
                                var e = this,
                                    t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : 1,
                                    n = {
                                        adUnitId: "2f0aa99d54d9aedb40bbca4c21065c03",
                                        style: {
                                            left: 55,
                                            top: Laya.stage.height / 2
                                        },
                                        size: t,
                                        orientation: "vertical"
                                    };
                                this.blockAd = this._base.createBlockAd(n), this.blockAd.onLoad(function () {
                                    console.log("积木广告加载完成"), e.blockAd.show().then(function () {
                                        console.log("积木展示成功");
                                    }).catch(function (e) {
                                        console.error("积木展示失败", e);
                                    });
                                }), this.blockAd.onError(function (e) {
                                    console.error("积木广告加载错误", e);
                                }), this.blockAd.onResize(function (e) {
                                    console.log("积木resize", e);
                                });
                            }
                        }, {
                            key: "hideBlockAd",
                            value: function () {
                                this.blockAd && (this.blockAd.hide(), this.blockAd.destroy());
                            }
                        }]), t
                    }();
            },
            "./src/LTGame/Platform/QTTPlatform.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return r
                    }
                });
                var i = n("./src/LTGame/Platform/WXPlatform.ts"),
                    a = n("./src/LTGame/Platform/EPlatformType.ts"),
                    s = n("./src/LTGame/Commom/CommonEventId.ts"),
                    r = function (e) {
                        function t() {
                            var e;
                            return _classCallCheck(this, t), (e = n.apply(this, arguments)).platform = a.EPlatformType.QTT, e
                        }
                        _inherits(t, i.default);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "Init",
                            value: function (e) {
                                this._base = window.qttGame, null != this._base ? (this.platformData = e, window.iplatform = this) : console.error("平台初始化错误");
                            }
                        }, {
                            key: "IsBannerAvaliable",
                            value: function () {
                                return !0
                            }
                        }, {
                            key: "ShowBannerAd",
                            value: function () {
                                this._base.showBanner({
                                    index: 1
                                });
                            }
                        }, {
                            key: "HideBannerAd",
                            value: function () {
                                this._base.hideBanner();
                            }
                        }, {
                            key: "IsVideoAvaliable",
                            value: function () {
                                return !0
                            }
                        }, {
                            key: "ShowRewardVideoAd",
                            value: function (e, t) {
                                var n = {
                                    index: 1,
                                    gametype: 1,
                                    rewardtype: 1,
                                    data: {}
                                };
                                n.data.title = "获得奖励", Laya.stage.event(s.CommonEventId.PAUSE_AUDIO), this._base.showVideo(function (n) {
                                    Laya.stage.event(s.CommonEventId.RESUM_AUDIO), 1 == n ? e && e.run() : t && t.run();
                                }, n);
                            }
                        }, {
                            key: "ShowInterstitalAd",
                            value: function () {
                                this.ShowHDReward();
                            }
                        }, {
                            key: "ShowHDReward",
                            value: function () {
                                var e = {
                                    index: 1,
                                    rewardtype: 1
                                };
                                this._base.showHDReward(e);
                            }
                        }, {
                            key: "RecordEvent",
                            value: function (e, t) {
                                console.log("记录事件", e, t);
                            }
                        }]), t
                    }();
            },
            "./src/LTGame/Platform/ShareInfo.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    ShareInfo: function () {
                        return i
                    }
                });
                var i = function e() {
                    _classCallCheck(this, e);
                };
            },
            "./src/LTGame/Platform/ShareManager.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return f
                    }
                });
                var i = n("./src/script/config/GameConst.ts"),
                    a = n("./src/script/config/ShareConfig.ts"),
                    s = n("./src/script/enum/EEventScene.ts"),
                    r = n("./src/LTGame/Commom/CommonSaveData.ts"),
                    o = n("./src/LTGame/LTUtils/MathEx.ts"),
                    u = n("./src/LTGame/Manager/MesManager.ts"),
                    c = n("./src/LTGame/SDK/LTSDK.ts"),
                    l = n("./src/LTGame/Platform/EPlatformType.ts"),
                    d = n("./src/LTGame/Platform/LTPlatform.ts"),
                    h = n("./src/LTGame/Platform/ShareInfo.ts"),
                    f = function () {
                        function e() {
                            for (var t in _classCallCheck(this, e), this._ids = [], this._weights = [], this.lastIsAd = !0, this.isAd = !0, this.forceAd = !1, this._shareInfoList = [], this._data = JSON.parse(i.GameConst.data.sharePoint), this._data) {
                                var n = this._data[t];
                                this._ids.push(t), this._weights.push(n.risk), n.data = n.data.split(":");
                                for (var a = [], s = 0; s < n.data.length; s++)
                                    for (var r = n.data[s].split("0"), o = 0; o < r[1]; o++) a.push(r[0]);
                                n.data = a;
                            }
                            this._initShare();
                        }
                        return _createClass(e, [{
                            key: "AddShareInfo",
                            value: function (e) {
                                var t, n = _createForOfIteratorHelper(this._shareInfoList);
                                try {
                                    for (n.s(); !(t = n.n()).done;)
                                        if (t.value.shareId == e.shareId) return
                                } catch (e) {
                                    n.e(e);
                                } finally {
                                    n.f();
                                }
                                this._shareInfoList.push(e);
                            }
                        }, {
                            key: "getRandomShareId",
                            value: function () {
                                var e = [],
                                    t = [];
                                return a.ShareConfig.dataList.forEach(function (n) {
                                    t.push(n.id), e.push(n.weight);
                                }), a.ShareConfig.data[o.default.RandomFromWithWeight(t, e)].id
                            }
                        }, {
                            key: "getShareInfoById",
                            value: function (e) {
                                var t = new h.ShareInfo;
                                if (!c.default.instance.data || !c.default.instance.data.shareConfigs) {
                                    e || (e = this.getRandomShareId());
                                    var n = a.ShareConfig.data[e];
                                    return t.shareId = e, t.shareImg = n.imgUrl, t.shareImgId = n.imgId, t.shareTitle = n.title, t
                                }
                                var i = c.default.instance.data.shareConfigs,
                                    s = o.default.RandomFromArray(i);
                                t.shareId = s.shareid, t.shareImg = s.url, t.sharePath = null, t.shareTitle = s.text;
                            }
                        }, {
                            key: "GetShareInfo",
                            value: function () {
                                var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : null;
                                if (0 == this._shareInfoList.length) return new h.ShareInfo;
                                if (null != e) {
                                    var t, n = _createForOfIteratorHelper(this._shareInfoList);
                                    try {
                                        for (n.s(); !(t = n.n()).done;) {
                                            var i = t.value;
                                            if (i.shareId == e) return i
                                        }
                                    } catch (e) {
                                        n.e(e);
                                    } finally {
                                        n.f();
                                    }
                                }
                                return o.default.RandomFromArray(this._shareInfoList)
                            }
                        }, {
                            key: "ShareAppMessage",
                            value: function (e) {
                                d.default.instance.ShareAppMessage(e, Laya.Handler.create(this, function () {
                                    console.log("分享成功");
                                }), null);
                            }
                        }, {
                            key: "updateShare",
                            value: function () {
                                var e = r.default.instance.shareGuiId;
                                if (-1 == e) e = this._restartShare();
                                else {
                                    var t = this._data[e].data;
                                    r.default.instance.shareGuiPro >= t.length ? e = this._restartShare() : r.default.instance.shareGuiPro++;
                                }
                                if (d.default.instance.platform == l.EPlatformType.WX) {
                                    var n = this._data[e].data[r.default.instance.shareGuiPro];
                                    this.lastIsAd = this.isAd, this.isAd = "2" == n;
                                } else this.isAd = !0;
                                console.log("是否看广告", this.isAd), r.default.SaveToDisk(), u.default.instance.event2d(s.EEventScene.ShareChange);
                            }
                        }, {
                            key: "_initShare",
                            value: function () {
                                var e = r.default.instance.shareGuiId;
                                if (-1 == e && (e = this._restartShare()), d.default.instance.platform != l.EPlatformType.WX || this.forceAd) this.isAd = !0;
                                else {
                                    var t = this._data[e].data[r.default.instance.shareGuiPro];
                                    this.isAd = 2 == t;
                                }
                                this.lastIsAd = this.isAd;
                            }
                        }, {
                            key: "_restartShare",
                            value: function () {
                                var e = o.default.RandomFromWithWeight(this._ids, this._weights);
                                return r.default.instance.shareGuiId = e, r.default.instance.shareGuiPro = 0, e
                            }
                        }], [{
                            key: "instance",
                            get: function () {
                                return null == this._instance && (this._instance = new e), this._instance
                            }
                        }]), e
                    }();
            },
            "./src/LTGame/Platform/TTPlatform.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return h
                    }
                });
                var i = n("./src/LTGame/Platform/WXPlatform.ts"),
                    a = n("./src/LTGame/Platform/EPlatformType.ts"),
                    s = n("./src/LTGame/LTUtils/StringEx.ts"),
                    r = n("./src/LTGame/Platform/Impl/TT/TTRecordManager.ts"),
                    o = n("./src/LTGame/Platform/Impl/TT/TTDevice.ts"),
                    u = n("./src/LTGame/Platform/LTPlatform.ts"),
                    c = n("./src/UIExt/LTUI.ts"),
                    l = n("./src/LTGame/Async/Awaiters.ts"),
                    d = n("./src/LTGame/Commom/CommonEventId.ts"),
                    h = function (e) {
                        function t() {
                            var e;
                            return _classCallCheck(this, t), (e = n.apply(this, arguments)).platform = a.EPlatformType.TT, e._showVideoLoad = !1, e.showInterstitalAdCD = 60, e.showInterstitalAdenterCD = 30, e
                        }
                        _inherits(t, i.default);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "Init",
                            value: function (e) {
                                if (this._base = window.tt, null != this._base) {
                                    this.platformData = e;
                                    var t = this._base,
                                        n = t.getSystemInfoSync();
                                    "ios" == n.platform && (this.isSupportJumpOther = !1);
                                    var i = _slicedToArray(n.SDKVersion.split("."), 2),
                                        a = i[0],
                                        s = i[1];
                                    a >= 1 && s >= 33 || (this.isSupportJumpOther = !1), this._InitLauchOption(), this._InitShareInfo(), this._InitSystemInfo(), this._CreateBannerAd(), this._CreateVideoAd(), this._CreateInterstitalAd(), this.recordManager = new r.default(this._base), this.device = new o.default(this._base), window.iplatform = this, t.setPreferredFramesPerSecond && t.setPreferredFramesPerSecond(60);
                                } else console.error("平台初始化错误");
                            }
                        }, {
                            key: "_DoNoCacheShowVideo",
                            value: function (e, t) {
                                var n = this;
                                if (this._rewardSuccessed = e, this._rewardSkipped = t, s.default.IsNullOrEmpty(this.platformData.rewardVideoId)) return console.log("无有效的视频广告ID,取消加载"), t.run(), void (t = null);
                                var i = this._base.createRewardedVideoAd;
                                if (null == i) return console.error("无createRewardedVideoAd方法,跳过初始化"), t.run(), void (t = null);
                                c.default.ShowLoading(), this._videoFailedCount = 0;
                                var a = {};
                                a.adUnitId = this.platformData.rewardVideoId, this._rewardVideo = i(a), this._rewardVideo && (this._rewardVideo.onLoad(function () {
                                    console.log("视频广告加载成功"), n.hasAd = !0, n._isVideoLoaded = !0;
                                }), this._rewardVideo.onError(function (e) {
                                    n._videoFailedCount++, console.error("视频广告加载失败", e, n._videoFailedCount);
                                }), this._rewardVideo.onClose(function (e) {
                                    Laya.stage.event(d.CommonEventId.RESUM_AUDIO), console.log("视频回调", e);
                                    var t = e.isEnded;
                                    l.default.NextFrame().then(function () {
                                        t ? (console.log("视频回调成功", n._rewardSuccessed), n._rewardSuccessed && n._rewardSuccessed.run()) : n._rewardSkipped && n._rewardSkipped.run(), n._rewardSuccessed = null, n._rewardSkipped = null;
                                    });
                                }), this._rewardVideo.load().then(function () {
                                    return console.log("激励视频 加载成功"), n._rewardVideo.show().then(function () {
                                        c.default.HideLoading();
                                    }).catch(function (e) {
                                        c.default.HideLoading();
                                    })
                                }), Laya.stage.event(d.CommonEventId.PAUSE_AUDIO));
                            }
                        }, {
                            key: "_CreateBannerAd",
                            value: function () {
                                var e = this;
                                if (s.default.IsNullOrEmpty(this.platformData.bannerId)) console.log("无有效的banner广告ID,取消加载");
                                else {
                                    var t = this._base.getSystemInfoSync().windowWidth,
                                        n = this._base.getSystemInfoSync().windowHeight,
                                        i = {};
                                    i.adUnitId = this.platformData.bannerId, i.adIntervals = 30, i.style = {
                                        width: 280,
                                        left: (t - 280) / 2,
                                        top: n - 157.5
                                    }, this._bannerAd = this._base.createBannerAd(i), this._isBannerLoaded = !1, this._bannerAd && (this._bannerAd.onLoad(function () {
                                        console.log("banner加载成功", e._bannerAd), e._isBannerLoaded = !0;
                                    }), this._bannerAd.onError(function (t) {
                                        console.error("banner广告加载失败", t), e._bannerAd, Laya.timer.once(3e3, e, e._CreateBannerAd);
                                    }), this._bannerAd.onResize(function (i) {
                                        e._bannerAd.style.top = n - i.height, e._bannerAd.style.left = (t - i.width) / 2;
                                    }));
                                }
                            }
                        }, {
                            key: "RecordEvent",
                            value: function (e, t) {
                                var n = this._base.reportAnalytics;
                                n ? (null == t && (t = {}), n(e, t)) : console.error("reportAnalytics 方法不存在");
                            }
                        }, {
                            key: "ShowAdOrShareAsync",
                            value: function () {
                                return new Promise(function (e) {
                                    u.default.instance.ShowRewardVideoAd(Laya.Handler.create(this, function () {
                                        e(!0);
                                    }), Laya.Handler.create(this, function () {
                                        e(!1);
                                    }));
                                })
                            }
                        }, {
                            key: "startDeviceMotionListening",
                            value: function (e) {
                                var t = wx.startCompass;
                                t && (t({
                                    success: function (e) {
                                        console.log("调用成功", e.errMsg);
                                    },
                                    fail: function (e) {
                                        console.log("调用失败", e.errMsg);
                                    }
                                }), (0, wx.onCompassChange)(function (t) {
                                    e && (t.alpha = t.direction, e.runWith(t));
                                }));
                            }
                        }, {
                            key: "offDeviceMotionListening",
                            value: function () {
                                var e = wx.stopCompass;
                                e && e({
                                    success: function (e) {
                                        console.log("调用停止监听罗盘成功", e.errMsg);
                                    },
                                    fail: function (e) {
                                        console.log("调用停止监听罗盘失败", e.errMsg);
                                    }
                                });
                            }
                        }, {
                            key: "ShowBannerAd",
                            value: function () {
                                this.IsBannerAvaliable() && this._bannerAd.show();
                            }
                        }, {
                            key: "ShareAppMessage",
                            value: function (e, t, n) {
                                console.log("分享消息", e);
                                var a = i.default._WrapShareInfo(e);
                                a.success = function () {
                                    t && t.run();
                                }, a.fail = function () {
                                    n && n.run();
                                }, this._base.shareAppMessage(a);
                            }
                        }, {
                            key: "OpenGameBox",
                            value: function (e) {
                                for (var t = [], n = 0; n < e.length; ++n) t.push({
                                    appId: e[n]
                                });
                                this._base.showMoreGamesModal({
                                    appLaunchOptions: t
                                });
                            }
                        }, {
                            key: "NavigateToApp",
                            value: function (e, t, n) {
                                var i = this;
                                return new Promise(function (t, n) {
                                    i.isSupportJumpOther ? i._base.showMoreGamesModal({
                                        appLaunchOptions: [{
                                            appId: i.platformData.appId,
                                            query: "foo=bar&baz=qux",
                                            extraData: {}
                                        }],
                                        success: function (n) {
                                            t(!0), console.log("跳转小游戏成功", e);
                                        },
                                        fail: function (t) {
                                            n(!1), console.log("跳转小游戏失败", e);
                                        }
                                    }) : (n(!1), console.log("当前平台不支持小游戏跳转", i));
                                })
                            }
                        }]), t
                    }();
            },
            "./src/LTGame/Platform/VivoPlatform.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return m
                    }
                });
                var i = n("./src/LTGame/Async/Awaiters.ts"),
                    a = n("./src/LTGame/Commom/CommonEventId.ts"),
                    s = n("./src/LTGame/Platform/DefaultDevice.ts"),
                    r = n("./src/LTGame/Platform/DefaultRecordManager.ts"),
                    o = n("./src/LTGame/Platform/EPlatformType.ts"),
                    u = n("./src/LTGame/Platform/LTPlatform.ts"),
                    c = n("./src/LTGame/Platform/OppoPlatform.ts"),
                    l = n("./src/LTGame/LTUtils/StringEx.ts"),
                    d = n("./src/LTGame/Platform/Impl/TT/TTDevice.ts"),
                    h = n("./src/LTGame/Manager/MesManager.ts"),
                    f = n("./src/script/enum/EEventUI.ts"),
                    _ = n("./src/script/common/MMUnit.ts"),
                    m = function (e) {
                        function t() {
                            var e;
                            return _classCallCheck(this, t), (e = n.apply(this, arguments)).platform = o.EPlatformType.Vivo, e.safeArea = null, e.recordManager = new r.default, e.device = new s.default, e.isSupportJumpOther = !0, e._isBannerLoaded = !1, e._isVideoLoaded = !1, e._isInterstitialLoaded = !1, e._isInterstitialCanShow = !0, e._nativeAdLoaded = !1, e.yuanshengSuc = !1, e._cacheVideoAD = !1, e._boxPortalAdLoaded = !1, e._boxPortalAdVisible = !1, e.checkCd = !1, e.time = 0, e
                        }
                        _inherits(t, c.default);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "Init",
                            value: function (e) {
                                this._base = window.qg, null != this._base ? (this.platformData = e, this._InitLauchOption(), this._Login(), this._InitSystemInfo(), this.getSystemInfo(), this.device = new d.default(this._base), this._createBoxPortalAd(), window.iplatform = this) : console.error("平台初始化错误", u.default.platformStr);
                            }
                        }, {
                            key: "getSystemInfo",
                            value: function () {
                                var e = this;
                                this._base.getSystemInfo({
                                    success: function (t) {
                                        e.systemInfo = t, console.log(e.systemInfo), e._createBoxPortalAd(),
                                            e.systemInfo.platformVersionCode >= 1041 ?
                                                (console.log("vivo 平台大于 1041"), e._CreateVideoAd()) :
                                                console.log("vivo 平台小于 1041", e.systemInfo);
                                    },
                                    fail: function () { },
                                    complete: function () { }
                                });
                            }
                        }, {
                            key: "reportMonitor",
                            value: function () { }
                        }, {
                            key: "_CheckUpdate",
                            value: function () { }
                        }, {
                            key: "_OnLoginSuccess",
                            value: function (e) {
                                console.log(u.default.platformStr, "登录成功", e), this.loginState.isLogin = !0, this.loginState.code = e.token, this.loginState.data = e;
                            }
                        }, {
                            key: "ShareAppMessage",
                            value: function (e, t, n) { }
                        }, {
                            key: "_InitLauchOption",
                            value: function () {
                                this._base.onShow(this._OnShow), this._base.onHide(this._OnHide);
                                var e = this._base.getLaunchOptionsSync();
                                this._OnShow(e);
                            }
                        }, {
                            key: "_CreateInterstitalAd",
                            value: function () { }
                        }, {
                            key: "_createBoxPortalAd",
                            value: function () {
                                var e = this;
                                if (this._base.createBoxPortalAd) {
                                    var t = 650 * this.systemInfo.windowHeight / Laya.stage.height >> 0,
                                        n = this._base.createBoxPortalAd({
                                            posId: u.default.instance.platformData.openGameBox,
                                            marginTop: t
                                        });
                                    n.onError(function (t) {
                                        Laya.timer.clear(e, e._createBoxPortalAd), console.log("盒子九宫格广告加载失败", t), e._boxPortalAd || Laya.timer.once(8e3, e, e._createBoxPortalAd);
                                    }), n.onClose(function () {
                                        console.log("close"), n.show();
                                    }), n.onShow(function () { }), n.onLoad(function () {
                                        Laya.timer.clear(e, e._createBoxPortalAd), console.log("互推盒子九宫格广告加载成功"), e._boxPortalAd = n, e._boxPortalAdLoaded = !0, e._boxPortalAdVisible && n.show();
                                    });
                                } else console.log("不支持九宫格互推盒子");
                            }
                        }, {
                            key: "showBoxPortalAd",
                            value: function () {
                                if (console.log("showBoxPortalAd"), this._boxPortalAdVisible = !0, this._boxPortalAd && this._boxPortalAdLoaded) try {
                                    this._boxPortalAd.show();
                                } catch (e) {
                                    console.log("showBoxPortalAd", e);
                                }
                            }
                        }, {
                            key: "hideBoxPortalAd",
                            value: function () {
                                if (console.log("hideBoxPortalAd"), this._boxPortalAdVisible = !1, this._boxPortalAd && this._boxPortalAdLoaded) try {
                                    this._boxPortalAd.hide();
                                } catch (e) {
                                    console.log("hideBoxPortalAd", e);
                                }
                            }
                        }, {
                            key: "_CreateVideoAd",
                            value: function () {
                                var e = this;
                                if (this._cacheVideoAD) {
                                    var t = this._base.createRewardedVideoAd;
                                    if (null != t)
                                        if (l.default.IsNullOrEmpty(this.platformData.rewardVideoId)) console.log("无有效的视频广告ID,取消加载");
                                        else {
                                            this._videoFailedCount = 0;
                                            var n = {};
                                            n.adUnitId = this.platformData.rewardVideoId, this._rewardVideo = t(n), this._rewardVideo.onLoad(function () {
                                                console.log("视频广告加载成功"), e._isVideoLoaded = !0;
                                            }), this._rewardVideo.onError(function (t) {
                                                e._videoFailedCount++, console.error("视频广告加载失败", t), e._videoFailedCount > 10 && (console.log("第", e._videoFailedCount, "次重新加载视频广告"), e._rewardVideo.load());
                                            }), this._rewardVideo.onClose(function (t) {
                                                Laya.stage.event(a.CommonEventId.RESUM_AUDIO), console.log("视频回调", t);
                                                var n = t.isEnded;
                                                i.default.NextFrame().then(function () {
                                                    e.first && (e.firstFinish = n, e.first = !1), n ? e._rewardSuccessed && e._rewardSuccessed.run() : e._rewardSkipped && e._rewardSkipped.run(), e._rewardSuccessed = null, e._rewardSkipped = null;
                                                });
                                            });
                                        }
                                    else console.error("无createRewardedVideoAd方法,跳过初始化");
                                } else console.log("当前策略为不缓存视频广告");
                            }
                        }, {
                            key: "show_inter",
                            value: function () {
                                var e = this;
                                oppoSdk.syyx_sdk_api.show_interstitial(c.e_ad_id.interstitial_hall, function (e, t) {
                                    console.log("igc-----show show_interstitial on_load:" + JSON.stringify(t));
                                }, function () {
                                    e.InterstitalAdVisible = !0, u.default.instance.HideBannerAd(), console.log("igc-----show show_native onShow");
                                }, function (t, n) {
                                    e.InterstitalAdVisible = !1, u.default.instance.ShowBannerAd(), u.default.instance.showBoxPortalAd(), console.log("igc-----show show_native onClose");
                                }, function (e, t) {
                                    console.log("igc-----show show_native onError:" + JSON.stringify(t));
                                });
                            }
                        }, {
                            key: "ShowBannerAd",
                            value: function () {
                                this.bannerVisible = !0, this.InterstitalAdVisible || _get(_getPrototypeOf(t.prototype), "ShowBannerAd", this).call(this);
                            }
                        }, {
                            key: "ShowInterstitalAd",
                            value: function () {
                                var e = this;
                                console.log("is native inter");
                                var t = Date.now();
                                if (t - this.time <= 3e3) console.log("插屏创建间隔必须小于3s");
                                else if (_.default.checkConfigMatch("zooVivoCust", 0, 0, 5)) {
                                    this.InterstitalAdVisible = !0, this.time = t;
                                    var n = this.systemInfo.windowHeight,
                                        i = this.systemInfo.windowWidth / 720 * 630,
                                        a = this.base.createCustomAd({
                                            posId: this.platformData.nativeinterstitialIds[0],
                                            style: {
                                                left: 0,
                                                top: (n - i) / 2
                                            }
                                        });
                                    this.sp && (this.sp.removeSelf(), this.sp.destroy(), this.sp = null), a.onError(function (e) {
                                        console.log("插屏广告加载失败", e);
                                    }), a.onClose(function () {
                                        h.default.instance.eventUI(f.EEventUI.interstitalAdHide), e.InterstitalAdVisible = !1, e.bannerVisible && e.ShowBannerAd(), e.sp && (e.sp.removeSelf(), e.sp.destroy(), e.sp = null);
                                    }), a.show().then(function () {
                                        console.log("插屏广告展示完成"), h.default.instance.eventUI(f.EEventUI.interstitalAdShow);
                                        var t = new Laya.Sprite;
                                        Laya.stage.addChild(t), t.size(Laya.stage.width, Laya.stage.height), t.alpha = .5, t.graphics.drawRect(0, 0, Laya.stage.width, Laya.stage.height, "#000000"), e.sp = t;
                                    }).catch(function (t) {
                                        console.log("插屏广告展示失败", JSON.stringify(t)), e.InterstitalAdVisible = !1, e.bannerVisible && e.ShowBannerAd();
                                    });
                                } else console.log("page拉起次数不足");
                            }
                        }]), t
                    }();
            },
            "./src/LTGame/Platform/WXPlatform.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return b
                    }
                });
                var i = n("./src/LTGame/LTUtils/StringEx.ts"),
                    a = n("./src/LTGame/Platform/EPlatformType.ts"),
                    s = n("./src/LTGame/Platform/ShareManager.ts"),
                    r = n("./src/LTGame/Platform/LTPlatform.ts"),
                    o = n("./src/LTGame/Commom/CommonEventId.ts"),
                    u = n("./src/LTGame/Platform/DefaultRecordManager.ts"),
                    c = n("./src/UIExt/LTUI.ts"),
                    l = n("./src/LTGame/Async/Awaiters.ts"),
                    d = n("./src/LTGame/Platform/DefaultDevice.ts"),
                    h = n("./src/UIExt/UISrc/UI_GameCenterMediator.ts"),
                    f = n("./src/LTGame/Manager/MesManager.ts"),
                    _ = n("./src/script/enum/EEventUI.ts"),
                    m = n("./src/LTGame/Commom/CommonSaveData.ts"),
                    g = n("./src/script/config/GameConst.ts"),
                    p = n("./src/script/enum/EEventScene.ts"),
                    v = n("./src/LTGame/LTUtils/MathEx.ts"),
                    y = n("./src/LTGame/Net/LTHttp.ts"),
                    k = n("./src/LTGame/Res/LTRespackManager.ts"),
                    C = n("./src/LTGame/Config/LoadPackConfig.ts"),
                    I = n("./src/LTGame/LTUtils/LTUtils.ts"),
                    S = n("./src/script/enum/EWXNativeAD.ts"),
                    L = n("./src/LTGame/Platform/Impl/TT/TTDevice.ts"),
                    w = n("./src/script/common/TimeUtils.ts"),
                    U = n("./src/LTGame/SDK/Libs/hlsdk_adapter.ts"),
                    A = n("./src/script/common/Const.ts"),
                    b = function () {
                        function e() {
                            _classCallCheck(this, e), this._hasAd = !0, this.platform = a.EPlatformType.WX, this.safeArea = null, this.recordManager = new u.default,
                                this.device = new d.default, this.loginCode = null, this.openid = null, this.isSupportJumpOther = !0, this._isBannerLoaded = !1, this._isVideoLoaded = !1, this._isInterstitialLoaded = !1, this.firstFinish = !1, this.first = !0, this._cacheVideoAD = !0, this.loadSubPackName = [], this.showInterstitalAdCD = 0, this.showInterstitalAdenterCD = 0, this.pressVideoTime = 0, this._nativeListAd = [], this.nativeAdLoaded = [], this._nativeSingle = {}, this._nativeLoadAd = {}, this._nativeListAdVisible = [], this._nativeSingleVisible = {}, this._nativeOpen = !1, this.bannerVisible = !1, this._subSucCallBck = {}, this.NavigateToAppSuccess = null, this.showTime = 0, this.lastTime = 0, this._refreshBanner = !1;
                        }
                        return _createClass(e, [{
                            key: "getPlatformIndex",
                            value: function () {
                                switch (r.default.instance.platform) {
                                    case a.EPlatformType.WX:
                                        return 1;
                                    case a.EPlatformType.TT:
                                        return 2;
                                    case a.EPlatformType.Web:
                                        return 0
                                }
                            }
                        }, {
                            key: "Init",
                            value: function (e) {
                                this.base = this._base = window.wx, null != this._base ? (this.platformData = e, this._InitLauchOption(), this._Login(), this._InitShareInfo(), this._InitSystemInfo(), this._CreateBannerAd(), this._CreateVideoAd(), this._CreateInterstitalAd(), window.iplatform = this, this.device = new L.default(this._base), this._base.setPreferredFramesPerSecond && this._base.setPreferredFramesPerSecond(60), this.lastTime = Date.now(), Laya.timer.loop(250, this, this.update)) : console.error("平台初始化错误", r.default.platformStr);
                            }
                        }, {
                            key: "_CheckUpdate",
                            value: function () {
                                var e = this,
                                    t = this._base.getUpdateManager();
                                null != t && (t.onCheckForUpdate(function (e) {
                                    console.log("onCheckForUpdate", e.hasUpdate), e.hasUpdate && this._base && this._base.showToast && this._base.showToast({
                                        title: "即将有更新请留意"
                                    });
                                }), t.onUpdateReady(function () {
                                    e._base.showModal({
                                        title: "更新提示",
                                        content: "新版本已经准备好，是否立即使用？",
                                        success: function (e) {
                                            e.confirm ? t.applyUpdate() : this._base && this._base.showToast && this._base.showToast({
                                                icon: "none",
                                                title: "小程序下一次「冷启动」时会使用新版本"
                                            });
                                        }
                                    });
                                }), t.onUpdateFailed(function () {
                                    e._base && e._base.showToast && e._base.showToast({
                                        title: "更新失败，下次启动继续..."
                                    });
                                }));
                            }
                        }, {
                            key: "_Login",
                            value: function () {
                                this.onLoginEnd && (this.onLoginEnd.run(), this.onLoginEnd = null);
                            }
                        }, {
                            key: "GetStorage",
                            value: function (e) {
                                if (this.base && this.base.getStorageSync && e) try {
                                    return this.base.getStorageSync(e)
                                } catch (e) {
                                    return console.log("getStorageSync error: ", JSON.stringify(e)), null
                                }
                            }
                        }, {
                            key: "SetStorage",
                            value: function (e, t) {
                                if (this.base && this.base.getStorageSync && e) try {
                                    return this.base.setStorageSync(e, t)
                                } catch (e) {
                                    console.log("setStorageSync error: ", JSON.stringify(e));
                                }
                            }
                        }, {
                            key: "hideGameIcon",
                            value: function () {
                                this._iconAd && this._iconAd.hide();
                            }
                        }, {
                            key: "createGameIcon",
                            value: function (e) {
                                var t = this;
                                !this._iconAd && wx.createGameIcon && (this._iconAd = wx.createGameIcon({
                                    adUnitId: "PBgAA_puIVuJCARk",
                                    count: 9
                                })), this._iconAd && (this._iconAd.load().then(function () {
                                    t._iconAd.show();
                                }).catch(function (e) {
                                    console.error(e);
                                }), this._iconAd.onResize(function () {
                                    t._iconAd.icons.forEach(function (t, n) {
                                        var i = Laya.Browser.clientWidth / Laya.Browser.clientHeight * 50 / .5625;
                                        i = Math.max(i, 32), t.size = i, t.left = (e.x + n % 3 * 160) * Laya.Browser.clientWidth / Laya.stage.width, t.top = (e.y + 160 * Math.floor(n / 3)) * Laya.Browser.clientHeight / Laya.stage.height;
                                    });
                                }));
                            }
                        }, {
                            key: "_OnLoginSuccess",
                            value: function (e) {
                                this.loginState.isLogin = !0, this.loginState.code = e.code;
                            }
                        }, {
                            key: "_InitLauchOption",
                            value: function () {
                                var e = this;
                                this._base.onShow(this._OnShow), this._base.onHide(function (t) {
                                    e._OnHide(t);
                                });
                                var t = this._base.getLaunchOptionsSync();
                                this._OnShow(t);
                            }
                        }, {
                            key: "_InitShareInfo",
                            value: function () {
                                this._base.showShareMenu({
                                    withShareTicket: !0,
                                    menus: ["shareAppMessage", "shareTimeline"],
                                    success: function (e) {
                                        console.log("InitShareSuccess", e);
                                    },
                                    fail: function (e) {
                                        console.log("InitShareFailed", e);
                                    },
                                    complete: function (e) {
                                        console.log("InitShareComplete", e);
                                    }
                                }), this._base.onShareAppMessage(function () {
                                    var t = s.default.instance.getShareInfoById(null);
                                    return e._WrapShareInfo(t)
                                });
                            }
                        }, {
                            key: "updateShareMes",
                            value: function () {
                                this._base.onShareAppMessage(function () {
                                    var t = s.default.instance.getShareInfoById(null);
                                    return e._WrapShareInfo(t)
                                });
                            }
                        }, {
                            key: "ShowRewardVideoAd",
                            value: function (e, t) {
                                var n = this;
                                if (console.log("调用广告---------------"), A.default.faxing == a.EFaxing.hl) {
                                    var i = Date.now();
                                    if (i - this.pressVideoTime < 2e3) return;
                                    this.pressVideoTime = i;
                                    var s = function () {
                                        n._rewardSuccessed = null, n._rewardSkipped = null, Laya.stage.event(o.CommonEventId.RESUM_AUDIO), c.default.HideLoading();
                                    };
                                    return this._rewardSuccessed = e, this._rewardSkipped = t, Laya.stage.event(o.CommonEventId.PAUSE_AUDIO), void U.HLSDKAdapter.tryFreeToGetAReward({
                                        shareScene: U.ShareScene.SS_SHARE_APP,
                                        succCb: function () {
                                            n._rewardSuccessed && n._rewardSuccessed.run(), console.log("try to get a reward succ..."), s();
                                        },
                                        failCb: function () {
                                            n._rewardSkipped && n._rewardSkipped.run(), console.log("try to get a reward fail..."), s();
                                        }
                                    })
                                }
                                this._nativeOpen, this.hideNativeAd(), console.log("播放视频1111"), this._cacheVideoAD && this.hasAd ? this._DoCacheShowVideo(e, t) : this._DoNoCacheShowVideo(e, t);
                            }
                        }, {
                            key: "_InitSystemInfo",
                            value: function () {
                                this.base = this._base;
                                try {
                                    this.systemInfo = this._base.getSystemInfoSync(), console.log("系统信息已获取", this.systemInfo), this.deviceModel = this.systemInfo.model, this.deviceSystem = this.systemInfo.system, this.safeArea = this.systemInfo.safeArea, this._cacheScreenScale = this.systemInfo.screenWidth / Laya.stage.width;
                                } catch (e) {
                                    console.error(e), console.error("获取设备信息失败,执行默认初始化"), this.safeArea = null;
                                }
                            }
                        }, {
                            key: "requestMessage",
                            value: function (e) {
                                if (this._base.requestSubscribeMessage) {
                                    var t = this.systemInfo.version;
                                    Laya.Browser.onAndroid && !v.default.checkVersionPass(t, "7.0.6") && (e = [e[0]]), Laya.Browser.onIOS && !v.default.checkVersionPass(t, "7.0.5") && (e = [e[0]]), console.log("打开订阅------------", e), this._base.requestSubscribeMessage({
                                        tmplIds: e,
                                        success: function (e) {
                                            var t = "";
                                            y.default.Send(t, null, null, !0), console.log("成功上传订阅------------", t);
                                        },
                                        fail: function (e) {
                                            console.log("错误订阅------------", e);
                                        }
                                    });
                                }
                            }
                        }, {
                            key: "_CreateInterstitalAd",
                            value: function () {
                                var e = this;
                                if (i.default.IsNullOrEmpty(this.platformData.interstitialId)) console.log("无有效的插页广告ID,取消加载");
                                else {
                                    this._interstitalFailedCount = 0;
                                    var t = {};
                                    t.adUnitId = this.platformData.interstitialId, this._intersitialAd = this._base.createInterstitialAd(t), this._intersitialAd && (this._intersitialAd.onLoad(function () {
                                        console.log("插页广告加载成功"), e._isInterstitialLoaded = !0;
                                    }), this._intersitialAd.onError(function (t) {
                                        e._interstitalFailedCount++, console.error("插页广告加载失败", t), e._interstitalFailedCount > 10 && 2002 != t.errCode && (console.log("第", e._interstitalFailedCount, "次重新加载插页广告"), e._intersitialAd.load());
                                    }), this._intersitialAd.onClose(function (e) { }));
                                }
                            }
                        }, {
                            key: "_CreateVideoAd",
                            value: function () {
                                var e = this;
                                if (this._cacheVideoAD) {
                                    var t = this._base.createRewardedVideoAd;
                                    if (null != t)
                                        if (i.default.IsNullOrEmpty(this.platformData.rewardVideoId)) console.log("无有效的视频广告ID,取消加载");
                                        else {
                                            this._videoFailedCount = 0;
                                            var n = {};
                                            n.adUnitId = this.platformData.rewardVideoId, this._rewardVideo = t(n), this._rewardVideo && (this._rewardVideo.onLoad(function () {
                                                e.hasAd = !0, console.log("视频广告加载成功"), e._isVideoLoaded = !0;
                                            }), this._rewardVideo.onError(function (t) {
                                                e._videoFailedCount++, e.hasAd = !1, console.error("视频广告加载失败", t), e._videoFailedCount > 10 && (console.log("第", e._videoFailedCount, "次重新加载视频广告"), e._rewardVideo.load());
                                            }), this._rewardVideo.onClose(function (t) {
                                                Laya.stage.event(o.CommonEventId.RESUM_AUDIO), console.log("视频回调", t);
                                                var n = t.isEnded;
                                                l.default.NextFrame().then(function () {
                                                    e.first && (e.firstFinish = n, e.first = !1), n ? e._rewardSuccessed && e._rewardSuccessed.run() : e._rewardSkipped && e._rewardSkipped.run(), e._rewardSuccessed = null, e._rewardSkipped = null;
                                                });
                                            }));
                                        }
                                    else console.error("无createRewardedVideoAd方法,跳过初始化");
                                } else console.log("当前策略为不缓存视频广告");
                            }
                        }, {
                            key: "_CreateBannerAd",
                            value: function () {
                                var e = this;
                                if (arguments.length > 0 && void 0 !== arguments[0] && arguments[0], i.default.IsNullOrEmpty(this.platformData.bannerId)) console.log("无有效的banner广告ID,取消加载");
                                else {
                                    var t = this._base.getSystemInfoSync().windowWidth,
                                        n = this._base.getSystemInfoSync().windowHeight,
                                        a = {};
                                    a.adUnitId = this.platformData.bannerId, a.adIntervals = 100;
                                    var s = {
                                        left: 0,
                                        top: 0,
                                        width: 300
                                    };
                                    a.style = s, this._bannerAd = this._base.createBannerAd(a), this._isBannerLoaded = !1, this._bannerAd && (this._bannerAd.onLoad(function () {
                                        console.log("banner加载成功"), e._isBannerLoaded = !0, e._bannerAd.style.top = n - e._bannerAd.style.realHeight - 15, e._bannerAd.style.left = (t - e._bannerAd.style.realWidth) / 2, e._refreshBanner && (e.bannerVisible = !0, e._bannerAd.show(), e._refreshBanner = !1);
                                    }), this._bannerAd.onError(function (t) {
                                        console.error("banner广告加载失败", t), e._refreshBanner && Laya.timer.once(5e3, e, e._CreateBannerAd);
                                    }));
                                }
                            }
                        }, {
                            key: "createNativeAd",
                            value: function (e) {
                                var t, n = this,
                                    i = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : 20,
                                    a = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : 20,
                                    s = arguments.length > 3 && void 0 !== arguments[3] ? arguments[3] : this.systemInfo.windowWidth;
                                if (t = e == S.EWXNativeAD.singleAd1 || e == S.EWXNativeAD.singleAd2 ? this._nativeSingle[i + "_" + a] : this._nativeListAd[e]) return t;
                                var r = ["adunit-02a38d06f1a0c2a2", "adunit-02a38d06f1a0c2a2", "adunit-08d3e8cbf83679ab", "adunit-ef5724f2d04cabd3", "adunit-f64c79699d0bdc66", "adunit-30de842b86772811"],
                                    o = this.systemInfo.SDKVersion;
                                if (o && !(I.LTUtils.compareVersion(o, "2.11.1") < 0) && r[e]) {
                                    var u = this._base.createCustomAd({
                                        adUnitId: r[e],
                                        style: {
                                            left: a,
                                            top: i,
                                            width: s,
                                            fixed: !1
                                        }
                                    });
                                    return e == S.EWXNativeAD.singleAd1 || e == S.EWXNativeAD.singleAd2 ? this._nativeLoadAd[i + "_" + a] = !1 : this.nativeAdLoaded[e] = !1, u.onLoad(function () {
                                        var t;
                                        console.log("原生广告加载成功"), e == S.EWXNativeAD.singleAd1 || e == S.EWXNativeAD.singleAd2 ? (t = n._nativeSingleVisible[i + "_" + a], n._nativeLoadAd[i + "_" + a] = !0) : (n.nativeAdLoaded[e] = !0, t = n._nativeListAdVisible[e]), t ? u.show() : (console.log("关闭广告--" + i + "+" + a, u), u && u.destroy(), e == S.EWXNativeAD.singleAd1 || e == S.EWXNativeAD.singleAd2 ? n._nativeSingle[i + "_" + a] = null : n._nativeListAd[e] = null);
                                    }), u.onError(function (t) {
                                        u && u.destroy(), e == S.EWXNativeAD.singleAd1 || e == S.EWXNativeAD.singleAd2 ? n._nativeSingle[i + "_" + a] = null : n._nativeListAd[e] = null, console.error("创建原生报错" + i + "+" + a, t), Laya.timer.once(3e3, n, n.createNativeAd, [e, i, a, s]);
                                    }), u.onClose(function (t) {
                                        var s;
                                        (s = e == S.EWXNativeAD.singleAd1 || e == S.EWXNativeAD.singleAd2 ? n._nativeSingle[i + "_" + a] : n._nativeListAd[e]) && s.destroy(), e == S.EWXNativeAD.singleAd1 || e == S.EWXNativeAD.singleAd2 ? n._nativeSingle[i + "_" + a] = null : n._nativeListAd[e] = null;
                                    }), e == S.EWXNativeAD.singleAd1 || e == S.EWXNativeAD.singleAd2 ? this._nativeSingle[i + "_" + a] = u : this._nativeListAd[e] = u, u
                                }
                            }
                        }, {
                            key: "showNativeAd",
                            value: function (e) {
                                var t = this;
                                if (e) {
                                    this.hideNativeAd(), console.log("打开原生广告"), this._nativeOpen = !0;
                                    var n = this.systemInfo.windowWidth,
                                        i = this.systemInfo.windowHeight;
                                    e.forEach(function (e) {
                                        var a, s, r;
                                        t._nativeListAdVisible[e.index] || (null != e.top && ((e.center || null == e.center) && (e.top += (Laya.stage.height - 1280) / 2), s = e.top * i / Laya.stage.height >> 0), null != e.left && (r = e.left * n / Laya.stage.width >> 0), e.index == S.EWXNativeAD.horizontalAd && (r = (n - 360) / 2 >> 0, s = i - 106), t._nativeSingleVisible[s + "_" + r] || (e.index == S.EWXNativeAD.singleAd1 || e.index == S.EWXNativeAD.singleAd2 ? (a = t._nativeSingle[s + "_" + r], t._nativeSingleVisible[s + "_" + r] = !0) : (a = t._nativeListAd[e.index], t._nativeListAdVisible[e.index] = !0), console.log("播放原生广告----"), a ? a.show() : ((a = t.createNativeAd(e.index, s, r)) && a.show(), e.index == S.EWXNativeAD.singleAd1 || e.index == S.EWXNativeAD.singleAd2 ? t._nativeSingle[s + "_" + r] = a : t._nativeListAd[e.index] = a), e.index == S.EWXNativeAD.horizontalAd && console.log("循环 原生广告")));
                                    });
                                }
                            }
                        }, {
                            key: "hideNativeAd",
                            value: function (e) {
                                var t = this;
                                console.log("关闭原生广告"), this._nativeOpen = !1, e ? e.forEach(function (e) {
                                    var n = t._nativeListAd[e];
                                    n && (e == S.EWXNativeAD.singleAd1 || e == S.EWXNativeAD.singleAd2 ? (n.destroy(), t._nativeListAd[e] = null) : n.hide());
                                }) : this._nativeListAd && this._nativeListAd.forEach(function (e, n) {
                                    e && e.hide(), t._nativeListAdVisible[n] = !1;
                                });
                            }
                        }, {
                            key: "IsBannerAvaliable",
                            value: function () {
                                return this._isBannerLoaded
                            }
                        }, {
                            key: "IsVideoAvaliable",
                            value: function () {
                                return this._isVideoLoaded
                            }
                        }, {
                            key: "IsInterstitalAvaliable",
                            value: function () {
                                return this._isInterstitialLoaded
                            }
                        }, {
                            key: "ShowBannerAd",
                            value: function () {
                                this.bannerVisible = !0, this.IsBannerAvaliable() && this._bannerAd && this._bannerAd.show();
                            }
                        }, {
                            key: "HideBannerAd",
                            value: function () {
                                console.log("hideBannerAd"), this.bannerVisible = !1, this._bannerAd && this._bannerAd.hide();
                            }
                        }, {
                            key: "_DoCacheShowVideo",
                            value: function (e, t) {
                                var n = this;
                                this.hasAd && this._rewardVideo ? (console.log("直接显示视频-----"), this._rewardSuccessed = e, this._rewardSkipped = t, this._isVideoLoaded = !1, this._rewardVideo.show().catch(function (e) {
                                    console.log("没有广告----"), n._rewardVideo = null, Laya.stage.event(o.CommonEventId.RESUM_AUDIO), c.default.HideLoading();
                                }), Laya.stage.event(o.CommonEventId.PAUSE_AUDIO)) : this._DoNoCacheShowVideo(e, t);
                            }
                        }, {
                            key: "_DoNoCacheShowVideo",
                            value: function (e, t) {
                                var n = this;
                                if (this._rewardSuccessed = e, this._rewardSkipped = t, i.default.IsNullOrEmpty(this.platformData.rewardVideoId)) return console.log("无有效的视频广告ID,取消加载"), t.run(), void (t = null);
                                var a = this._base.createRewardedVideoAd;
                                if (null == a) return console.error("无createRewardedVideoAd方法,跳过初始化"), t.run(), void (t = null);
                                c.default.ShowLoading(), this._videoFailedCount = 0;
                                var s = {};
                                s.adUnitId = this.platformData.rewardVideoId, console.log("加载并显示视频-----"), this._rewardVideo = a(s), this._rewardVideo && (this._rewardVideo.onLoad(function () {
                                    console.log("视频广告加载成功"), n.hasAd = !0, n._isVideoLoaded = !0;
                                }), this._rewardVideo.onError(function (i) {
                                    n._videoFailedCount++, console.error("视频广告加载失败", i, n._videoFailedCount), n.hasAd = !1, n.ShareAppMessageById(null, e, t), Laya.stage.event(o.CommonEventId.RESUM_AUDIO), c.default.HideLoading();
                                }), this._rewardVideo.onClose(function (e) {
                                    Laya.stage.event(o.CommonEventId.RESUM_AUDIO), console.log("视频回调", e);
                                    var t = e.isEnded;
                                    l.default.NextFrame().then(function () {
                                        n.first && (n.firstFinish = t, n.first = !1), t ? n._rewardSuccessed && n._rewardSuccessed.run() : n._rewardSkipped && n._rewardSkipped.run(), n._rewardSuccessed = null, n._rewardSkipped = null;
                                    });
                                }), Laya.stage.event(o.CommonEventId.PAUSE_AUDIO), this._rewardVideo.load().then(function () {
                                    return console.log("激励视频 加载成功"), n._rewardVideo.show().then(function () {
                                        console.log("没有广告----"), n._rewardVideo = null, Laya.stage.event(o.CommonEventId.RESUM_AUDIO), c.default.HideLoading();
                                    }).catch(function (e) {
                                        console.log("没有广告----"), n._rewardVideo = null, Laya.stage.event(o.CommonEventId.RESUM_AUDIO), c.default.HideLoading();
                                    })
                                }), this._rewardVideo.show());
                            }
                        }, {
                            key: "ShowAdOrShareAsync",
                            value: function () {
                                return new Promise(function (e) {
                                    s.default.instance.isAd ? r.default.instance.ShowRewardVideoAd(Laya.Handler.create(this, function () {
                                        e(!0);
                                    }), Laya.Handler.create(this, function () {
                                        e(!1);
                                    })) : r.default.instance.ShareAppMessageById(null, Laya.Handler.create(this, function () {
                                        e(!0);
                                    }), Laya.Handler.create(this, function () {
                                        e(!1);
                                    })), s.default.instance.updateShare();
                                })
                            }
                        }, {
                            key: "ShowRewardVideoAdAsync",
                            value: function () {
                                return new Promise(function (e) {
                                    r.default.instance.ShowRewardVideoAd(Laya.Handler.create(this, function () {
                                        e(!0);
                                    }), Laya.Handler.create(this, function () {
                                        e(!1);
                                    }));
                                })
                            }
                        }, {
                            key: "ShowInterstitalAd",
                            value: function () {
                                if (console.log("showinterstital,插屏"), !(w.default.now - w.default.enterTime < 1e3 * this.showInterstitalAdenterCD))
                                    if (this._isInterstitialLoaded) {
                                        var e = Date.now();
                                        e < this.lastShowTime + 1e3 * this.showInterstitalAdCD ? console.log(this.showInterstitalAdCD + "秒内不重复显示") : (this.lastShowTime = e, this._intersitialAd.show());
                                    } else console.error("插页广告尚未加载好");
                            }
                        }, {
                            key: "GetFromAppId",
                            value: function () {
                                return null == this.lauchOption.referrerInfo ? null : i.default.IsNullOrEmpty(this.lauchOption.referrerInfo.appId) ? null : this.lauchOption.referrerInfo.appId
                            }
                        }, {
                            key: "GetScenceId",
                            value: function () {
                                return this.lauchOption ? this.lauchOption.scene : null
                            }
                        }, {
                            key: "checkCollectIn",
                            value: function () {
                                var e = parseInt(this.GetScenceId());
                                return !(!e || 1089 != e && 1104 != e && 1001 != e && 1103 != e)
                            }
                        }, {
                            key: "ranking",
                            value: function () { }
                        }, {
                            key: "_OnShow",
                            value: function (e) {
                                console.log(r.default.platformStr, "OnShow", e), f.default.instance.eventUI(_.EEventUI.GameResume), r.default.instance.lauchOption = e, r.default.instance._CheckUpdate(), this.NavigateToAppSuccess = null, l.default.NextFrame().then(function () {
                                    r.default.instance.onResume && r.default.instance.onResume.runWith(e);
                                });
                            }
                        }, {
                            key: "_OnHide",
                            value: function (e) {
                                console.log(r.default.platformStr, "OnHide", e), f.default.instance.eventUI(_.EEventUI.GamePasue), r.default.instance.onPause && r.default.instance.onPause.runWith(e), this.NavigateToAppSuccess && this.NavigateToAppSuccess();
                            }
                        }, {
                            key: "ShareAppMessage",
                            value: function (t, n, i) {
                                var s = this,
                                    r = !(arguments.length > 3 && void 0 !== arguments[3]) || arguments[3];
                                if (this.platform != a.EPlatformType.WX) {
                                    var o;
                                    console.log("分享消息", t), o = e._WrapShareInfo(t);
                                    var u = !1,
                                        l = 0,
                                        d = function () {
                                            ! function () {
                                                if (m.default.instance.firstShareFail, m.default.instance.shareFailTimes > g.GameConst.data.shareFailNum) return m.default.instance.shareFailTimes = 0, m.default.SaveToDisk(), !0;
                                                var e = ((new Date).getTime() - l) / 1e3 >= g.GameConst.data.shareTime;
                                                return e && (e = Math.random() < 1 - g.GameConst.data.shareFailProb), e
                                            }() ? (m.default.instance.shareFailTimes++, r && wx.showModal({
                                                title: "分享失败，请分享到其他群",
                                                success: function (e) {
                                                    e.confirm ? s.ShareAppMessage(t, n, i) : e.cancel && (i && i.run(), i = null);
                                                }
                                            })) : (n && n.run(), n = null);
                                        };
                                    wx.onShow(function e() {
                                        u && (wx.offShow(e), Laya.timer.once(100, null, d)), u = !1;
                                    }), this._base.shareAppMessage(o), u = !0, l = (new Date).getTime();
                                } else U.HLSDKAdapter.share({
                                    sceneName: window.HLSDK.ShareScene.SS_SHARE_APP,
                                    cb: function (e) {
                                        e ? (c.default.Toast("分享成功！"), console.log("hl share succ...")) : (c.default.Toast("分享暂时开小差了，稍后试试吧"), console.log("hl share fail..."));
                                    }
                                });
                            }
                        }, {
                            key: "ShareAppMessageById",
                            value: function (e, t, n) {
                                console.log("成功返回", t), this.ShareAppMessage(s.default.instance.getShareInfoById(e), t, n);
                            }
                        }, {
                            key: "_CreateFeedbackButton",
                            value: function () {
                                var e = Laya.Browser.window.wx;
                                this.feedbackButton = e.createFeedbackButton({
                                    type: "image",
                                    image: "",
                                    style: {
                                        left: 155,
                                        top: 741,
                                        width: 84,
                                        height: 80,
                                        lineHeight: 80,
                                        backgroundColor: "#ffffff",
                                        color: "#ffffff",
                                        textAlign: "center",
                                        fontSize: 16,
                                        borderRadius: 4
                                    }
                                }), this.feedbackButton.hide();
                            }
                        }, {
                            key: "LoadSubpackageAsync",
                            value: function (e) {
                                return new Promise(function (t) {
                                    r.default.instance.LoadSubpackage(e, Laya.Handler.create(this, function () {
                                        t(!0);
                                    }), Laya.Handler.create(this, function () {
                                        t(!1);
                                    }), null);
                                })
                            }
                        }, {
                            key: "subscribeMes",
                            value: function () {
                                var e = wx.requestSubscribeMessage;
                                e && e({
                                    tmplIds: ["l0OSfnkyjAN0zbhlsFQLKf52FB54cCjBeB-Gh1zJFw8"],
                                    success: function (e) {
                                        console.log(e);
                                    }
                                });
                            }
                        }, {
                            key: "startDeviceMotionListening",
                            value: function (e) {
                                var t = wx.startDeviceMotionListening;
                                t && (t(), (0, wx.onDeviceMotionChange)(function (t) {
                                    console.log(t), e && e.runWith(t);
                                }));
                            }
                        }, {
                            key: "offDeviceMotionListening",
                            value: function () {
                                var e = wx.stopDeviceMotionListening;
                                if (e) {
                                    e();
                                    var t = wx.offDeviceMotionChange;
                                    t && t();
                                }
                            }
                        }, {
                            key: "LoadSubpackage",
                            value: function (e, t, n, i) {
                                var a = this,
                                    s = k.default.instance.packJson[e];
                                if (!s || s.pathType == C.EPackType.Remote || this.loadSubPackName.indexOf(e) >= 0) t && t.run();
                                else {
                                    if (this._subSucCallBck[e] = this._subSucCallBck[e] || [], t && this._subSucCallBck[e].push(t), null == this._base.loadSubpackage) return console.log("无加载子包方法,跳过加载子包", e), void (t && t.run());
                                    var r = {};
                                    r.name = e, r.success = function () {
                                        a.loadSubPackName.push(e), console.log("分包加载成功", e);
                                        var t = a._subSucCallBck[e];
                                        t && t.forEach(function (e) {
                                            e && e.run();
                                        }), a._subSucCallBck[e] = [];
                                    }, r.fail = function () {
                                        console.error("分包加载失败", e), n && n.run();
                                    }, this._base.loadSubpackage(r).onProgressUpdate(function (e) {
                                        Laya.Browser.onMobile && console.log("分包加载进度", e), i && i.runWith(e.progress);
                                    });
                                }
                            }
                        }, {
                            key: "RecordEvent",
                            value: function (e, t) {
                                console.log("记录事件", e, t);
                                var n = this._base.uma.trackEvent;
                                null != n ? null != t ? n(e, t) : n(e) : console.error("友盟sdk尚未接入,请检查配置");
                            }
                        }, {
                            key: "CreateShareVideoBtn",
                            value: function (e, t, n, i) {
                                var a = {};
                                a.style = {
                                    left: e * this._cacheScreenScale,
                                    top: t * this._cacheScreenScale,
                                    height: i * this._cacheScreenScale,
                                    width: n * this._cacheScreenScale
                                }, a.share = {
                                    query: {
                                        tick: 1
                                    },
                                    bgm: "",
                                    timeRange: [0, 6e4]
                                }, null == this._shareVideoBtn ? this._shareVideoBtn = this._base.createGameRecorderShareButton(a) : this._shareVideoBtn.show();
                            }
                        }, {
                            key: "HideShareVideoBtn",
                            value: function () {
                                null != this._shareVideoBtn && this._shareVideoBtn.hide();
                            }
                        }, {
                            key: "ShowToast",
                            value: function (e) {
                                this._base && this._base.showToast && this._base.showToast({
                                    title: e,
                                    duration: 2e3
                                });
                            }
                        }, {
                            key: "OpenGameBox",
                            value: function (e) {
                                console.error("当前平台", r.default.platformStr, "暂不支持互推游戏盒子");
                            }
                        }, {
                            key: "NavigateToApp",
                            value: function (e, t, n, i, a, s) {
                                return new Promise(function (a, s) {
                                    wx.navigateToMiniProgram({
                                        appId: e,
                                        path: t,
                                        extraData: n,
                                        envVersion: "release",
                                        success: function (e) {
                                            console.log("小游戏跳转成功", e), a(!0);
                                        },
                                        fail: function () {
                                            console.log("小游戏跳转失败："), s(!1), i && h.UI_GameCenterMediator.instance.Show();
                                        },
                                        complete: function () { }
                                    });
                                })
                            }
                        }, {
                            key: "createShortcut",
                            value: function () {
                                console.log("暂未实现");
                            }
                        }, {
                            key: "hideInterstitalAd",
                            value: function () { }
                        }, {
                            key: "showBannerBox",
                            value: function () { }
                        }, {
                            key: "hideBannerBox",
                            value: function () { }
                        }, {
                            key: "showFullScreenAd",
                            value: function () { }
                        }, {
                            key: "showBoxPortalAd",
                            value: function () { }
                        }, {
                            key: "update",
                            value: function () {
                                var e = Date.now(),
                                    t = Math.min(e - this.lastTime, 1e3);
                                this.lastTime = e, this.bannerVisible && !this._refreshBanner && (this.showTime += t, this.showTime >= 6e4 && (this.showTime = 0, this._refreshBanner = !0, this._isBannerLoaded = !1, this._bannerAd && this._bannerAd.destroy(), this._bannerAd = null, this._CreateBannerAd()));
                            }
                        }, {
                            key: "hideBoxPortalAd",
                            value: function () { }
                        }, {
                            key: "hasAd",
                            set: function (e) {
                                this._hasAd = e, f.default.instance.event2d(p.EEventScene.AdChange);
                            },
                            get: function () {
                                return this._hasAd
                            }
                        }], [{
                            key: "_WrapShareInfo",
                            value: function (e) {
                                console.log(e, "分享的字段是--------------");
                                var t = {};
                                if (e.shareTitle && (t.title = e.shareTitle), e.shareImg && (t.imageUrl = e.shareImg), e.shareImg && (t.imageUrlId = e.shareImgId), e.sharePath) {
                                    t.query = {};
                                    var n, i = _createForOfIteratorHelper(e.sharePath.split("?")[1].split("&"));
                                    try {
                                        for (i.s(); !(n = i.n()).done;) {
                                            var a = n.value.split("=");
                                            t.query[a[0]] = a[1];
                                        }
                                    } catch (e) {
                                        i.e(e);
                                    } finally {
                                        i.f();
                                    }
                                }
                                return t
                            }
                        }]), e
                    }();
            },
            "./src/LTGame/Res/LTRes.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return i
                    }
                });
                var i = function () {
                    function e() {
                        _classCallCheck(this, e);
                    }
                    return _createClass(e, null, [{
                        key: "Load",
                        value: function (e, t) {
                            var n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : null;
                            n && n.once && (n.once = !1), Laya.loader.create(e, t, n);
                        }
                    }, {
                        key: "Load2d",
                        value: function (e, t) {
                            var n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : null;
                            n && n.once && (n.once = !1), Laya.loader.load(e, t, n);
                        }
                    }, {
                        key: "LoadAsync",
                        value: function (t) {
                            var n = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : null;
                            if (t && !(t.length <= 0)) return new Promise(function (i) {
                                e.Load(t, Laya.Handler.create(null, function (e) {
                                    i(e);
                                }), n);
                            })
                        }
                    }, {
                        key: "Load2dAsync",
                        value: function (t) {
                            var n = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : null;
                            if (t && !(t.length <= 0)) return new Promise(function (i) {
                                e.Load2d(t, Laya.Handler.create(null, function (e) {
                                    i(e);
                                }), n);
                            })
                        }
                    }, {
                        key: "Get",
                        value: function (e) {
                            var t = arguments.length > 1 && void 0 !== arguments[1] && arguments[1],
                                n = Laya.loader.getRes(e);
                            return null == n ? (null) : t ? n : n.clone()
                        }
                    }, {
                        key: "LoadAndGet",
                        value: function (t) {
                            var n = arguments.length > 1 && void 0 !== arguments[1] && arguments[1];
                            return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function i() {
                                return regeneratorRuntime.wrap(function (i) {
                                    for (; ;) switch (i.prev = i.next) {
                                        case 0:
                                            return i.next = 2, e.LoadAsync(t);
                                        case 2:
                                            return i.abrupt("return", e.Get(t, n));
                                        case 3:
                                        case "end":
                                            return i.stop()
                                    }
                                }, i)
                            }))
                        }
                    }, {
                        key: "Unload",
                        value: function (e) {
                            Laya.loader.clearRes(e);
                        }
                    }]), e
                }();
            },
            "./src/LTGame/Res/LTRespackManager.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return o
                    }
                });
                var i = n("./src/LTGame/Config/LoadPackConfig.ts"),
                    a = n("./src/LTGame/LTUtils/StringEx.ts"),
                    s = n("./src/LTGame/Platform/LTPlatform.ts"),
                    r = n("./src/LTGame/Platform/EPlatformType.ts"),
                    o = function () {
                        function e() {
                            _classCallCheck(this, e), this._packs = [], this.packJson = {};
                        }
                        return _createClass(e, [{
                            key: "InitLoadSet",
                            value: function () {
                                if (!a.default.IsNullOrEmpty(this._baseUrl)) {
                                    var e = null;
                                    switch (s.default.instance.platform) {
                                        case r.EPlatformType.TT:
                                        case r.EPlatformType.WX:
                                            e = Laya.MiniAdpter;
                                            break;
                                        case r.EPlatformType.BD:
                                            e = Laya.BMiniAdapter;
                                            break;
                                        case r.EPlatformType.QQ:
                                            e = Laya.QQMiniAdapter;
                                            break;
                                        case r.EPlatformType.Oppo:
                                            e = Laya.QGMiniAdapter;
                                            break;
                                        case r.EPlatformType.Vivo:
                                            e = Laya.VVMiniAdapter;
                                    }
                                    if (null != e) {
                                        Laya.URL.basePath = this._baseUrl, e.nativefiles = [];
                                        var t, n = _createForOfIteratorHelper(this._packs);
                                        try {
                                            for (n.s(); !(t = n.n()).done;) {
                                                var i = t.value;
                                                e.nativefiles.push(i.path);
                                            }
                                        } catch (e) {
                                            n.e(e);
                                        } finally {
                                            n.f();
                                        }
                                    }
                                }
                            }
                        }, {
                            key: "SetRemoteUrl",
                            value: function (e) {
                                this._baseUrl = e;
                            }
                        }, {
                            key: "AddPackData",
                            value: function () {
                                for (var e = this, t = arguments.length, n = new Array(t), i = 0; i < t; i++) n[i] = arguments[i];
                                n.forEach(function (t) {
                                    e._packs.push(t), e.packJson[t.name] = t;
                                });
                            }
                        }, {
                            key: "getPackConfig",
                            value: function (e) {
                                if (this._packs)
                                    for (var t = 0; t < this._packs.length; t++)
                                        if (this._packs[t].name == e) return this._packs[t]
                            }
                        }, {
                            key: "LoadSubPack",
                            value: function (e, t) {
                                var n = this;
                                this._subpackLoaded = [], this._subpackProgress = [];
                                for (var a = 0; a < this._packs.length; ++a) this._packs[a].pathType == i.EPackType.SubPack && (this._subpackLoaded.push(!1), this._subpackProgress.push(0));
                                for (var r = 0, o = function (a) {
                                    var o = n._packs[a];
                                    if (o.pathType == i.EPackType.SubPack) {
                                        var u = r;
                                        s.default.instance.LoadSubpackage(o.name, Laya.Handler.create(n, function () {
                                            n._subpackLoaded[u] = !0;
                                            for (var t = 0; t < n._subpackLoaded.length; ++t)
                                                if (!n._subpackLoaded[t]) return;
                                            e && e.run();
                                        }), Laya.Handler.create(n, function () {
                                            console.error("分包加载失败", o);
                                        }), Laya.Handler.create(n, function (e) {
                                            n._subpackProgress[u] = e, t && (console.log("分包加载进度为------------", n._totalProgress, "------", n._subpackProgress), t.runWith(n._totalProgress));
                                        }, null, !1)), r++;
                                    }
                                }, u = 0; u < this._packs.length; ++u) o(u);
                                0 == r && (t.runWith(1), e && e.run());
                            }
                        }, {
                            key: "packs",
                            get: function () {
                                return this._packs
                            }
                        }, {
                            key: "baseUrl",
                            get: function () {
                                return this._baseUrl
                            }
                        }, {
                            key: "_totalProgress",
                            get: function () {
                                var e, t = this._subpackProgress.length,
                                    n = 0,
                                    i = _createForOfIteratorHelper(this._subpackProgress);
                                try {
                                    for (i.s(); !(e = i.n()).done;) n += e.value;
                                } catch (e) {
                                    i.e(e);
                                } finally {
                                    i.f();
                                }
                                return n / t
                            }
                        }], [{
                            key: "instance",
                            get: function () {
                                return null == this._instance && (this._instance = new e), this._instance
                            }
                        }]), e
                    }();
            },
            "./src/LTGame/Res/ResUrl.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return s
                    }
                });
                var i = n("./src/LTGame/Platform/EPlatformType.ts"),
                    a = n("./src/LTGame/Platform/LTPlatform.ts"),
                    s = function () {
                        function e() {
                            _classCallCheck(this, e);
                        }
                        return _createClass(e, null, [{
                            key: "config_url",
                            value: function () {
                                return e.getDomain() + "res/url/lvConfig/level.json"
                            }
                        }, {
                            key: "build_url",
                            value: function (t) {
                                return e.getDomain() + "res/url/build/" + t + ".png"
                            }
                        }, {
                            key: "music_url",
                            value: function (t) {
                                return a.default.instance.platform == i.EPlatformType.MATA || a.default.instance.platform == i.EPlatformType.android233 || a.default.instance.platform == i.EPlatformType.androidTap ? e.getDomain() + "res/wav/" + t + ".wav" : e.getDomain() + "res/bgmMp3/" + t + ".mp3"
                            }
                        }, {
                            key: "sound_url",
                            value: function (t) {
                                return a.default.instance.platform == i.EPlatformType.MATA || a.default.instance.platform == i.EPlatformType.android233 || a.default.instance.platform == i.EPlatformType.androidTap ? e.getDomain() + "res/wav/" + t + ".wav" : e.getDomain() + "res/bgmMp3/" + t + ".mp3"
                            }
                        }, {
                            key: "propMesh",
                            value: function (t) {
                                return e.getDomain() + "res/export/Conventional/Assets/art/hero/hero/Girl_Tpose_Allv02-" + t + ".lm"
                            }
                        }, {
                            key: "propMat",
                            value: function (t) {
                                return e.getDomain() + "res/export/Conventional/Assets/_res/mat/player/" + t + ".lmat"
                            }
                        }, {
                            key: "icon_url",
                            value: function (t) {
                                return e.getDomain() + "res/url/icon/" + t + ".png"
                            }
                        }, {
                            key: "monster_icon_url",
                            value: function (t) {
                                return e.getDomain() + "res/url/monster_icon/" + t + ".png"
                            }
                        }, {
                            key: "sky_url",
                            value: function (t) {
                                return e.getDomain() + "res/url/sky/" + t + ".jpg"
                            }
                        }, {
                            key: "skyMat",
                            value: function (t) {
                                return e.getDomain() + "res/export/Conventional/Assets/_res/mat/sky/" + t + ".lmat"
                            }
                        }, {
                            key: "texture_url",
                            value: function (t) {
                                return e.getDomain() + "res/url/texture/" + t + ".png"
                            }
                        }, {
                            key: "getDomain",
                            value: function () {
                                return ""
                            }
                        }, {
                            key: "bg_url",
                            value: function (t) {
                                return e.getDomain() + "res/url/res/bg/" + t + ".png"
                            }
                        }, {
                            key: "roadMat",
                            value: function (t) {
                                return e.getDomain() + "res/export/Conventional/Assets/_res/mat/platform/" + t + ".lmat"
                            }
                        }, {
                            key: "musicNameUrl",
                            value: function (t) {
                                return e.getDomain() + "res/songName/" + t + ".png"
                            }
                        }, {
                            key: "prefab_url",
                            value: function (t) {
                                return e.getDomain() + "res/export/Conventional/" + t + ".lh"
                            }
                        }, {
                            key: "scene_url",
                            value: function (t) {
                                return e.getDomain() + "res/export/Conventional/" + t + ".ls"
                            }
                        }, {
                            key: "skinNameUrl",
                            value: function (t) {
                                return e.getDomain() + "res/skinName/" + t + ".png"
                            }
                        }, {
                            key: "iconUrl",
                            value: function (t) {
                                return e.getDomain() + "res/url/icon/" + t + ".png"
                            }
                        }, {
                            key: "nameIconUrl",
                            value: function (t) {
                                return e.getDomain() + "res/url/car_name/" + t + ".png"
                            }
                        }, {
                            key: "animalNameUrl",
                            value: function (t) {
                                return e.getDomain() + "res/url/name/animal/" + t + ".png"
                            }
                        }, {
                            key: "ZooNameUrl",
                            value: function (t) {
                                return e.getDomain() + "res/url/name/zoo/" + t + ".png"
                            }
                        }, {
                            key: "achievementNameUrl",
                            value: function (t) {
                                return e.getDomain() + "res/url/name/achievement/" + t + ".png"
                            }
                        }, {
                            key: "achievement1NameUrl",
                            value: function (t) {
                                return e.getDomain() + "res/url/name/achievement1/" + t + ".png"
                            }
                        }, {
                            key: "achievementIconUrl",
                            value: function (t) {
                                return e.getDomain() + "res/url/icon/achievement/" + t + ".png"
                            }
                        }, {
                            key: "flagsicon",
                            value: function (t) {
                                return e.getDomain() + "res/url/TTflagsicon/" + t + ".png"
                            }
                        }, {
                            key: "navMeshJson",
                            value: function () {
                                return e.getDomain() + "res/url/navMesh.json"
                            }
                        }, {
                            key: "Skinicon",
                            value: function (t) {
                                return e.getDomain() + "res/url/Skin/" + t + ".png"
                            }
                        }, {
                            key: "UnlockSkinicon",
                            value: function (t) {
                                return e.getDomain() + "res/url/UnlockSkinicon/" + t + ".png"
                            }
                        }, {
                            key: "decicon",
                            value: function (t) {
                                return e.getDomain() + "res/url/decicon/" + t + ".png"
                            }
                        }, {
                            key: "material",
                            value: function (t) {
                                return e.getDomain() + "res/export/Conventional/Assets/_res/mat/upgrade/" + t + ".lmat"
                            }
                        }, {
                            key: "goldMaterial",
                            value: function () {
                                return e.getDomain() + "res/export/Conventional/Assets/_res/mat/shop_burger/gold_hamburger.lmat"
                            }
                        }, {
                            key: "ani",
                            value: function (t) {
                                return e.getDomain() + "res/export/Conventional/Assets/_res/ani/" + t + ".lani"
                            }
                        }, {
                            key: "peopleMaterial",
                            value: function (t) {
                                return e.getDomain() + "res/export/Conventional/Assets/_res/mat/people/" + t + ".lmat"
                            }
                        }]), e
                    }();
            },
            "./src/LTGame/SDK/Impl/SDK_Default.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return r
                    }
                });
                var i = n("./src/LTGame/SDK/SDKADManager.ts"),
                    a = n("./src/LTGame/SDK/common/ECheckState.ts"),
                    s = n("./src/LTGame/Net/LTHttp.ts"),
                    r = (n("./src/script/common/Const.ts"), function () {
                        function e() {
                            _classCallCheck(this, e), this.uid = "sdk_test";
                        }
                        return _createClass(e, [{
                            key: "video",
                            value: function (e, t, n) { }
                        }, {
                            key: "share",
                            value: function (e, t) { }
                        }, {
                            key: "lvUp",
                            value: function () { }
                        }, {
                            key: "Init",
                            value: function (e, t, n) {
                                this.checkState = a.ECheckState.Normal, this.isADConfigInited = !0, this.isADEnable = !0, this.isConfigEnable = !0, this.flg = e, this.channel = t, this.appId = n, this.adManager = new i.default, this._RequestCheckState();
                            }
                        }, {
                            key: "tiaozhuanGame",
                            value: function (e) { }
                        }, {
                            key: "_RequestCheckState",
                            value: function () {
                                var e = this,
                                    t = "";
                                t && s.default.Send(t, Laya.Handler.create(null, function (t) {
                                    var n = JSON.parse(t),
                                        i = n.data;
                                    i && (e.checkState = i.is_review ? a.ECheckState.InCheck : a.ECheckState.Normal, e.data = n.data), console.log("获取远程配置", e.data), console.log("检查状态更新", e.checkState);
                                }), Laya.Handler.create(null, function (t) {
                                    e.checkState = a.ECheckState.Normal, console.log("获取版本状态失败", t);
                                }), !0);
                            }
                        }, {
                            key: "Login",
                            value: function (e, t) {
                                console.log("SDK:Login", e, t);
                            }
                        }, {
                            key: "RequestRemoteConfig",
                            value: function () {
                                console.log("SDK:RequestRemoteConfig");
                            }
                        }, {
                            key: "RequestADList",
                            value: function () {
                                console.log("SDK:RequestADList");
                            }
                        }]), e
                    }());
            },
            "./src/LTGame/SDK/Impl/SDK_HLWX.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return g
                    }
                });
                var i = n("./src/LTGame/SDK/Impl/SDK_Default.ts"),
                    a = n("./src/LTGame/Platform/LTPlatform.ts"),
                    s = n("./src/LTGame/Platform/EPlatformType.ts"),
                    r = n("./src/script/scene/MainScene.ts"),
                    o = n("./src/LTGame/SDK/Libs/hlsdk_adapter.ts"),
                    u = n("./src/script/common/Const.ts"),
                    c = n("./src/script/common/GameData.ts"),
                    l = n("./src/script/scene/Main3d/Game3d.ts"),
                    d = n("./src/script/ui/UI_MainMediator.ts"),
                    h = n("./src/script/ui/UI_OvYinsiMediator.ts"),
                    f = n("./src/LTGame/Commom/CommonSaveData.ts"),
                    _ = n("./src/LTGame/Manager/AudioManager.ts"),
                    m = n("./src/LTGame/Manager/EffectManager.ts"),
                    g = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.apply(this, arguments)
                        }
                        _inherits(t, i.default);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "Init",
                            value: function (e, n, i) {
                                console.log("SDK_HLWX"), _get(_getPrototypeOf(t.prototype), "Init", this).call(this, e, n, i), a.default.instance.platform != s.EPlatformType.TT && a.default.instance.platform != s.EPlatformType.WX && a.default.instance.platform != s.EPlatformType.QQ || this.afterLoginInit();
                            }
                        }, {
                            key: "Login",
                            value: function (e, n) {
                                _get(_getPrototypeOf(t.prototype), "Login", this).call(this, e, n), this.afterLoginInit();
                            }
                        }, {
                            key: "afterLoginInit",
                            value: function () {
                                var e = this;
                                if (a.default.instance.platform == s.EPlatformType.WX || a.default.instance.platform == s.EPlatformType.QQ) {
                                    var t = a.default.instance.base;
                                    t && t.h_JudgeRegion && (console.log("嗨鹿SDK请求"), console.log("scene:" + t.getLaunchOptionsSync().scene), t.h_JudgeRegion({
                                        scene: t.getLaunchOptionsSync().scene,
                                        success: function (t) {
                                            console.log("嗨鹿SDK 回调", t), e.data = t;
                                        }
                                    }));
                                }
                                a.default.instance.platform != s.EPlatformType.WX && a.default.instance.platform != s.EPlatformType.QQ || (console.log("HLSDKAdapter初始化"), o.HLSDKAdapter.init({
                                    onInit: function () {
                                        return __awaiter(e, void 0, void 0, regeneratorRuntime.mark(function e() {
                                            return regeneratorRuntime.wrap(function (e) {
                                                for (; ;) switch (e.prev = e.next) {
                                                    case 0:
                                                        if (this.loadComplete = !0, console.log("HLSDKAdapter初始化完成"), !r.default.isFinished) {
                                                            e.next = 19;
                                                            break
                                                        }
                                                        if (m.EffectManager.instance.init(), m.EffectManager.instance.WarmEffects(), a.default.instance.platform != s.EPlatformType.Oppo || c.default.instance.agreeYinsi) {
                                                            e.next = 8;
                                                            break
                                                        }
                                                        try {
                                                            h.default.instance.Show();
                                                        } catch (e) {
                                                            console.error(e);
                                                        }
                                                        return e.abrupt("return");
                                                    case 8:
                                                        return console.error("什么时候进入8"), c.default.instance.guideStepIndex > 0 && !c.default.instance.isGuide && (c.default.instance.isGuide = !0, c.default.SaveToDisk()), e.next = 11, d.UI_MainMediator.instance.Show();
                                                    case 11:
                                                        if (u.default.loadUI && u.default.loadUI.dispose(), u.default.loadUI = null, !u.default.support3D) {
                                                            e.next = 16;
                                                            break
                                                        }
                                                        return e.next = 16, l.default.instance.enterGame();
                                                    case 16:
                                                        a.default.instance.platform == s.EPlatformType.WX && (a.default.instance.LoadSubpackageAsync("res_ani"), a.default.instance.LoadSubpackageAsync("res_atlas")), _.default.instance.setMusicOpen(f.default.instance.isMusicOn), _.default.instance.setSoundOpen(f.default.instance.isSoundOn);
                                                    case 19:
                                                    case "end":
                                                        return e.stop()
                                                }
                                            }, e, this)
                                        }))
                                    }
                                }));
                            }
                        }]), t
                    }();
            },
            "./src/LTGame/SDK/LTSDK.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return s
                    }
                });
                var i = n("./src/LTGame/Platform/LTPlatform.ts"),
                    a = n("./src/LTGame/Platform/EPlatformType.ts"),
                    s = function () {
                        function e() {
                            _classCallCheck(this, e);
                        }
                        return _createClass(e, null, [{
                            key: "CreateInstace",
                            value: function (t, n, s) {
                                if (null != this._instance) return console.error("SDK不能反复进行初始化"), this._instance;
                                this._instance = new t;
                                var r = e.getChannel();
                                return this._instance.Init(n, r, s),
                                    i.default.instance.onLoginEnd = Laya.Handler.create(null, function () {
                                        // i.default.instance.platform == a.EPlatformType.WX ?
                                        //     e.instance.Login(i.default.instance.loginState.code, i.default.instance.GetFromAppId()) :
                                        //     i.default.instance.loginState.isLogin ?
                                        //         e.instance.Login(i.default.instance.loginState.code, i.default.instance.GetFromAppId()) :
                                        //         console.log("平台未登录,跳过登录sdk")
                                    }), this._instance
                            }
                        }, {
                            key: "getChannel",
                            value: function () {
                                var e = i.default.instance.GetStorage("user_from_channel"),
                                    t = i.default.instance.lauchOption;
                                return e || (t && t.query && (e = t.query.channel, console.log("options channel", e)), e || (console.log("没有本地数据,channel默认 own"), e = "own"), i.default.instance.SetStorage("user_from_channel", e)), e
                            }
                        }, {
                            key: "instance",
                            get: function () {
                                return null == this._instance ? (console.error("sdk尚未初始化,请先调用CreateInstance进行初始化"), null) : this._instance
                            }
                        }, {
                            key: "isInited",
                            get: function () {
                                return null != this._instance
                            }
                        }]), e
                    }();
            },
            "./src/LTGame/SDK/Libs/hlsdk_adapter.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    FreeGetWay: function () {
                        return i
                    },
                    HLSDKAdapter: function () {
                        return s
                    },
                    ShareScene: function () {
                        return a
                    }
                });
                var i = {
                    FGW_NONE: "none",
                    FGW_SHARE: "share",
                    FGW_ADV: "adv"
                },
                    a = {
                        SS_SYSTEM_MENU: "SystemMenu",
                        SS_SHARE_APP: "ShareApp"
                    },
                    s = new (function () {
                        function e() {
                            _classCallCheck(this, e);
                        }
                        return _createClass(e, [{
                            key: "init",
                            value: function (e) {
                                void 0 !== window.HLSDK ? window.HLSDK.init(e) : e && "function" == typeof e.onInit && e.onInit();
                            }
                        }, {
                            key: "showMainView",
                            value: function () {
                                var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : null,
                                    t = arguments.length > 1 ? arguments[1] : void 0;
                                void 0 !== window.HLSDK ? window.HLSDK.showMainView(e, t) : "function" == typeof e && e();
                            }
                        }, {
                            key: "showGamingView",
                            value: function () {
                                var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : null;
                                void 0 !== window.HLSDK ? window.HLSDK.showGamingView(e) : "function" == typeof e && e();
                            }
                        }, {
                            key: "showGameEndView",
                            value: function () {
                                var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : null;
                                void 0 !== window.HLSDK ? window.HLSDK.showGameEndView(e) : "function" == typeof e && e();
                            }
                        }, {
                            key: "showReviveView",
                            value: function () {
                                var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : null;
                                void 0 !== window.HLSDK ? window.HLSDK.showReviveView(e) : "function" == typeof e && e();
                            }
                        }, {
                            key: "showFinishView",
                            value: function () {
                                var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : null;
                                void 0 !== window.HLSDK ? window.HLSDK.showFinishView(e) : "function" == typeof e && e();
                            }
                        }, {
                            key: "showFinishFailView",
                            value: function () {
                                var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : null;
                                void 0 !== window.HLSDK ? window.HLSDK.showFinishFailView(e) : "function" == typeof e && e();
                            }
                        }, {
                            key: "showCustomView",
                            value: function () {
                                var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : null;
                                void 0 !== window.HLSDK ? window.HLSDK.showCustomView(e) : "function" == typeof e && e();
                            }
                        }, {
                            key: "showCustomView_02",
                            value: function () {
                                var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : null;
                                void 0 !== window.HLSDK ? window.HLSDK.showCustomView_02(e) : "function" == typeof e && e();
                            }
                        }, {
                            key: "showCustomView_03",
                            value: function () {
                                var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : null;
                                void 0 !== window.HLSDK ? window.HLSDK.showCustomView_03(e) : "function" == typeof e && e();
                            }
                        }, {
                            key: "showCustomView_04",
                            value: function () {
                                var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : null;
                                void 0 !== window.HLSDK ? window.HLSDK.showCustomView_04(e) : "function" == typeof e && e();
                            }
                        }, {
                            key: "showCustomView_05",
                            value: function () {
                                var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : null;
                                void 0 !== window.HLSDK ? window.HLSDK.showCustomView_05(e) : "function" == typeof e && e();
                            }
                        }, {
                            key: "tempHide",
                            value: function () {
                                void 0 !== window.HLSDK && window.HLSDK.tempHide();
                            }
                        }, {
                            key: "showTempHide",
                            value: function () {
                                void 0 !== window.HLSDK && window.HLSDK.showTempHide();
                            }
                        }, {
                            key: "showBannerAd",
                            value: function (e) {
                                void 0 !== window.HLSDK && window.HLSDK.showBannerAd(e);
                            }
                        }, {
                            key: "hideBannerAd",
                            value: function () {
                                void 0 !== window.HLSDK && window.HLSDK.hideBannerAd();
                            }
                        }, {
                            key: "pauseAutoRefreshBannerAd",
                            value: function () {
                                void 0 !== window.HLSDK && window.HLSDK.pauseAutoRefreshBannerAd();
                            }
                        }, {
                            key: "resumeAutoRefreshBannerAd",
                            value: function () {
                                void 0 !== window.HLSDK && window.HLSDK.resumeAutoRefreshBannerAd();
                            }
                        }, {
                            key: "moveBannerAd",
                            value: function (e) {
                                void 0 !== window.HLSDK && window.HLSDK.moveBannerAd(e);
                            }
                        }, {
                            key: "moveBannerAdTo",
                            value: function (e) {
                                void 0 !== window.HLSDK && window.HLSDK.moveBannerAdTo(e);
                            }
                        }, {
                            key: "isBannerOnShow",
                            value: function () {
                                return void 0 !== window.HLSDK && window.HLSDK.isBannerOnShow()
                            }
                        }, {
                            key: "getNextFreeGetWay",
                            value: function (e) {
                                void 0 !== window.HLSDK ? window.HLSDK.getNextFreeGetWay(e) : e && "function" == typeof e.cb && e.cb(i.FGW_ADV);
                            }
                        }, {
                            key: "tryFreeToGetAReward",
                            value: function (e) {
                                void 0 !== window.HLSDK ? window.HLSDK.tryFreeToGetAReward(e) : e && "function" == typeof e.succCb && e.succCb();
                            }
                        }, {
                            key: "isWatchingVideoAdv",
                            value: function () {
                                return void 0 !== window.HLSDK && window.HLSDK.isWatchingVideoAdv()
                            }
                        }, {
                            key: "showInterstitialAd",
                            value: function (e) {
                                void 0 !== window.HLSDK ? window.HLSDK.showInterstitialAd(e) : e && "function" == typeof e.closeCb && e.closeCb();
                            }
                        }, {
                            key: "share",
                            value: function (e) {
                                void 0 !== window.HLSDK ? window.HLSDK.share(e) : e && "function" == typeof e.cb && e.cb(!0);
                            }
                        }, {
                            key: "shareVideo",
                            value: function (e) {
                                void 0 !== window.HLSDK ? window.HLSDK.shareVideo(e) : e && "function" == typeof e.cb && e.cb(!0);
                            }
                        }, {
                            key: "sendEvent",
                            value: function (e) {
                                void 0 !== window.HLSDK && window.HLSDK.sendEvent(e);
                            }
                        }, {
                            key: "isMistakeEnabled",
                            value: function () {
                                return void 0 === window.HLSDK || window.HLSDK.isMistakeEnabled()
                            }
                        }, {
                            key: "isSkipFlow",
                            value: function (e) {
                                void 0 !== window.HLSDK && window.HLSDK.isSkipFlow(e);
                            }
                        }, {
                            key: "getOpenID",
                            value: function () {
                                return void 0 !== window.HLSDK ? window.HLSDK.getOpenID() : null
                            }
                        }, {
                            key: "setSoundEnable",
                            value: function (e) {
                                void 0 !== window.HLSDK && window.HLSDK.setSoundEnable(e);
                            }
                        }, {
                            key: "isSoundEnable",
                            value: function () {
                                return void 0 !== window.HLSDK && window.HLSDK.isSoundEnable()
                            }
                        }, {
                            key: "setMusicEnable",
                            value: function (e) {
                                void 0 !== window.HLSDK && window.HLSDK.setMusicEnable(e);
                            }
                        }, {
                            key: "isMusicEnable",
                            value: function () {
                                return void 0 !== window.HLSDK && window.HLSDK.isMusicEnable()
                            }
                        }, {
                            key: "setMuteEnable",
                            value: function (e) {
                                void 0 !== window.HLSDK && window.HLSDK.setMuteEnable(e);
                            }
                        }, {
                            key: "isMuteEnable",
                            value: function () {
                                return void 0 !== window.HLSDK && window.HLSDK.isMuteEnable()
                            }
                        }, {
                            key: "doBtnMistake",
                            value: function (e) {
                                void 0 !== window.HLSDK ? window.HLSDK.doBtnMistake(e) : e && "function" == typeof e.touchCb && e.touchCb();
                            }
                        }, {
                            key: "doBtnCrazyClick",
                            value: function (e) {
                                void 0 !== window.HLSDK ? window.HLSDK.doBtnCrazyClick(e) : (e && "function" == typeof e.progressCb && e.progressCb(1), e && "function" == typeof e.rewardCb && e.rewardCb());
                            }
                        }]), e
                    }());
            },
            "./src/LTGame/SDK/SDKADManager.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return s
                    }
                });
                var i = n("./src/LTGame/LTUtils/LTDictionary.ts"),
                    a = n("./src/LTGame/Commom/CommonEventId.ts"),
                    s = function () {
                        function e() {
                            _classCallCheck(this, e), this._adDict = new i.default;
                        }
                        return _createClass(e, [{
                            key: "InitADs",
                            value: function (e, t) {
                                this._adDict[e] = t, console.log("广告位置信息初始化完成,位置ID:", e, "广告信息:", t), Laya.stage.event(a.CommonEventId.SELF_AD_INITED, e);
                            }
                        }, {
                            key: "HandleClickAd",
                            value: function (e) { }
                        }, {
                            key: "RecordShow",
                            value: function () { }
                        }, {
                            key: "GetADListByLocationId",
                            value: function (e) {
                                return this._adDict[e]
                            }
                        }]), e
                    }();
            },
            "./src/LTGame/SDK/common/ECheckState.ts": function (e, t, n) {
                var i, a;
                n.r(t), n.d(t, {
                    ECheckState: function () {
                        return i
                    }
                }), (a = i || (i = {}))[a.Normal = 0] = "Normal", a[a.InCheck = 1] = "InCheck", a[a.NoGame = 2] = "NoGame";
            },
            "./src/LTGame/Start/ESceneType.ts": function (e, t, n) {
                var i, a;
                n.r(t), n.d(t, {
                    ESceneType: function () {
                        return i
                    }
                }), (a = i || (i = {}))[a.None = 0] = "None", a[a.Splash = 1] = "Splash", a[a.Main = 2] = "Main";
            },
            "./src/LTGame/Start/LTMain.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return s
                    }
                });
                var i = n("./src/LTGame/Commom/EScreenOrientation.ts"),
                    a = n("./src/script/common/Const.ts"),
                    s = function e(t) {
                        var n = this;
                        _classCallCheck(this, e), this._mainLogic = new t, Laya.MouseManager.multiTouchEnabled = !1, Laya.Shader3D.debugMode = !1;
                        var s = function () {
                            switch (n._mainLogic.screenOrientation) {
                                case i.EScreenOrientation.Landscape:
                                    Laya.stage.screenMode = Laya.Stage.SCREEN_HORIZONTAL;
                                    break;
                                case i.EScreenOrientation.Portrait:
                                    Laya.stage.screenMode = Laya.Stage.SCREEN_VERTICAL;
                                    break;
                                default:
                                    console.error("未处理的屏幕初始化方向", n._mainLogic.screenOrientation);
                            }
                            Laya.stage.width = 750, Laya.stage.height = 1334, Laya.stage.scaleMode = "fixedwidth",
                                Laya.stage.screenMode = "none", Laya.stage.alignV = "middle", Laya.stage.alignH = "center",
                                Laya.URL.exportSceneToJson = !0, a.default.enableStat && Laya.Stat.show(0, 500);
                            PlatTool.Init(new Laya.Handler(this, (evt) => {
                                switch (evt) {
                                    case Plat.SOUNDS_OFF:
                                        {
                                            Laya.SoundManager.setMusicVolume(0);
                                            Laya.SoundManager.setSoundVolume(0);
                                            break;
                                        }
                                    case Plat.SOUNDS_ON:
                                        {
                                            Laya.SoundManager.setMusicVolume(1);
                                            Laya.SoundManager.setSoundVolume(1);
                                            break;
                                        }
                                }
                            }));
                            n._mainLogic.InitGame();
                        };
                        const r = window.navigator.userAgent;
                        if ((r.indexOf("OS 15_1") > -1 || r.indexOf("OS 15_0_2") > -1) && (Config.useWebGL2 = !1),
                            Laya.Stat.GameFrame, a.default.support3D) {
                            var o = new Config3D;
                            o.octreeCulling = !1, o.enableMultiLight = !1, o.isAntialias = !0, Config.useRetinalCanvas = !0,
                                Laya3D.init(this._mainLogic.designWidth, this._mainLogic.designHeight, o,
                                    Laya.Handler.create(null, function () {
                                        s();
                                    }));
                        } else Config.useRetinalCanvas = !0, Laya.init(this._mainLogic.designWidth,
                            this._mainLogic.designHeight, Laya.WebGL), s();
                        YYGGames.init("Superhero-Car-Merge-Master", () => (
                            YYGGames.audio.playMusic("res/bgmMp3/bgm.mp3")
                        ));
                    };
            },
            "./src/LTGame/Start/LTSplashScene.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return k
                    }
                });
                var i = n("./src/LTGame/Fsm/BaseState.ts"),
                    a = n("./src/LTGame/Platform/LTPlatform.ts"),
                    s = n("./src/UIExt/FGui/FGuiData.ts"),
                    r = n("./src/LTGame/Res/LTRespackManager.ts"),
                    o = n("./src/LTGame/Config/ConfigManager.ts"),
                    u = n("./src/UIExt/FGui/FGuiEx.ts"),
                    c = n("./src/LTGame/Start/ESceneType.ts"),
                    l = n("./src/LTGame/Platform/EPlatformType.ts"),
                    d = n("./src/LTGame/Config/LoadPackConfig.ts"),
                    h = n("./src/UIExt/FGui/LoadUIPack.ts"),
                    f = n("./src/script/common/Const.ts"),
                    _ = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    m = n("./src/UIExt/LTGame/LTGameBinder.ts"),
                    g = n("./src/UIExt/UISrc/UI_FlyPanelMediator.ts"),
                    p = n("./src/script/common/maidian.ts"),
                    v = n("./src/script/enum/EMaiType.ts"),
                    y = n("./src/LTGame/3d/SceneManager.ts"),
                    k = function (e) {
                        function t() {
                            var e;
                            switch (_classCallCheck(this, t), (e = n.call(this, c.ESceneType.Splash))._initUiPack = new h.LoadUIPack("res/fgui_load/Load", f.default.fguiLoadCount), e._needLoadOtherUIPack = [new h.LoadUIPack("res/fgui/base/base", f.default.fguiBaseCount), new h.LoadUIPack("res/fgui/main/main", f.default.fguiMainCount)], e._loadProgressWeight = [3, 5, 15, 7, 3], e._configProgress = 0, e._otherUIProgress = 0, e._otherPackProgress = 0, e._resProgress = 0, e._subPackProgress = 0, e._isUIShowed = !1, e._jsonPath = "subpack.json", e._lastValue = 0, a.default.instance.platform) {
                                case l.EPlatformType.WX:
                                    break;
                                case l.EPlatformType.QQ:
                                    e._loadProgressWeight = [10, 1, 5, 2, 4];
                                    break;
                                default:
                                    e._loadProgressWeight = [1, 1, 5, 2, 1];
                            }
                            return e
                        }
                        _inherits(t, i.default);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "_DoEnter",
                            value: function () {
                                this._needLoadOtherUIPack.push(new h.LoadUIPack("res/ltgame/ui/LTGame", 1)), a.default.instance.platform != l.EPlatformType.Oppo && a.default.instance.platform != l.EPlatformType.Vivo || this._needLoadOtherUIPack.push(new h.LoadUIPack("res/fgui/OVYinsi/OVYinsi", 1)), Laya.loader.load(this._jsonPath, Laya.Handler.create(this, this._OnJsonLoaded));
                            }
                        }, {
                            key: "_OnJsonLoaded",
                            value: function () {
                                var e = Laya.loader.getRes(this._jsonPath);
                                if (Laya.loader.clearRes(this._jsonPath), null != e)
                                    for (var t = 0; t < e.length; ++t) {
                                        var n = e[t];
                                        r.default.instance.AddPackData(n);
                                    }
                                r.default.instance.InitLoadSet(), this._InitUI();
                            }
                        }, {
                            key: "_InitUI",
                            value: function () {
                                m.default.bindAll(), this._OnBindUI();
                                var e = [];
                                this._initUiPack.PushUrl(e), console.log("加载 加载页面"),
                                    Laya.loader.load(e, Laya.Handler.create(this, this._OnUILoaded));
                            }
                        }, {
                            key: "_OnBindUI",
                            value: function () { }
                        }, {
                            key: "_OnUILoaded",
                            value: function () {
                                this._initUiPack.AddPackage();
                                var e = new s.default;
                                e.needFitScreen = !1, this._ui = u.default.AddUI(this._splashUIClass, e, u.EUILayer.Main),
                                    this._ui.sortingOrder = Number.MAX_SAFE_INTEGER, f.default.loadUI = this._ui,
                                    this._progressUI = this._ui.m_bar, this._progressUI && (this._progressUI.value = 0),
                                    this._isUIShowed = !0, window.loadingView && (console.log("有安卓加载页面---"),
                                        window.loadingView.hideLoadingView()),
                                    r.default.instance.LoadSubPack(Laya.Handler.create(this, this._OnPackLoaded),
                                        Laya.Handler.create(this, this._OnPackProgress, null, !1));
                                PlatPriv.Create(0, 300, Laya.stage);
                                if (PlatPriv.Check()) {
                                }
                                if (Plat.Ins._ctrlData.status == 1) {
                                    Laya.timer.once(2000, this, () => {
                                        Plat.Ins.ShowBanner();
                                        Laya.timer.loop(15000, this, () => {
                                            Plat.Ins.ShowBanner();
                                        });
                                    });
                                };
                            }
                        }, {
                            key: "_OnPackProgress",
                            value: function (e) {
                                this._subPackProgress = e;
                            }
                        }, {
                            key: "_OnPackLoaded",
                            value: function () {
                                this._StartLoad();
                            }
                        }, {
                            key: "_StartLoad2",
                            value: function () {
                                let self = this;
                                qg.loadSubpackage({
                                    name: 'res',
                                    success: function (data) {
                                        console.info('加载分包 zip 成功');
                                        self._StartLoad();
                                    },
                                    fail: function (err) {
                                        console.info('加载分包 zip 失败', err);
                                        self._StartLoad2();
                                    },
                                    complete: function () {
                                        // 不管分包加载成功还是失败都会执行此回调   
                                    }
                                }
                                );
                            }
                        },
                        {
                            key: "_StartLoad",
                            value: function () {
                                console.log('_StartLoad');

                                if (window.qg) {
                                    let self = this;
                                    let loaded = Laya.LocalStorage.getItem("Loaded");
                                    if (loaded != 1) {
                                        console.log("进入了这里");
                                        var downloadTask = qg.download({
                                            // url: "http://res.njmobaike.com/CDN/ShanHaiShenShouJinHua/shssjh/1.0.1/bin.zip",
                                            url: "http://res.njmobaike.com/CDN/ZhongZhuangZhanJia/fkjjzc/1.0.1/bin.zip",
                                            success: function (data) {
                                                console.log(`handling success, tempFilePath = ${data.tempFilePath}`);
                                                qg.unzipFile({
                                                    srcUri: data.tempFilePath,
                                                    dstUri: qg.env.USER_DATA_PATH + "/bin",
                                                    success: function (uri) {
                                                        console.log(`handling success: ${uri}`);
                                                        Laya.URL.basePath = qg.env.USER_DATA_PATH + "/bin/";
                                                        Laya.LocalStorage.setItem("Loaded", 1);
                                                        console.log("进入了这里1");
                                                        Laya.loader.create("prefab/jkgg.prefab", Laya.Handler.create(this, prefab => {
                                                            let jkgg = Laya.Pool.getItemByCreateFun("jkgg", prefab.create, prefab);
                                                            jkgg.width = Laya.stage.width;
                                                            jkgg.height = Laya.stage.height;
                                                            Laya.stage.addChild(jkgg);
                                                            Laya.timer.once(3 * 1000, this, function () {
                                                                jkgg.visible = false;
                                                                //         Laya.loader.load("prefab/fwtk.json", Laya.Handler.create(this, function (pref) {
                                                                //             var fwtkp = new Laya.Prefab();
                                                                //             fwtkp.json = pref;
                                                                //             var fwtks = Laya.Pool.getItemByCreateFun("fwtk", fwtkp.create, fwtkp);
                                                                //             fwtks.pos(Laya.stage.width / 2, Laya.stage.height / 2);
                                                                //             fwtks.scaleX = 1;
                                                                //             fwtks.scaleY = 1;
                                                                //             fwtks.getChildByName('btn_yes').on(Laya.Event.MOUSE_DOWN, this, function () {
                                                                //                 Laya.LocalStorage.setItem('ycys', JSON.parse('true'));
                                                                //                 fwtks.removeSelf();
                                                                if (self._OnSetLoadConfig(), o.ConfigManager.needLoadCount <= 0) return self._configProgress = 1, void self._OnConfigLoaded();
                                                                o.ConfigManager.StartLoad(Laya.Handler.create(self, self._OnConfigLoaded), Laya.Handler.create(self, self._OnConfigProgress, null, !1));
                                                                Advertisement.initVal();
                                                                Advertisement.oppoAdInit();
                                                                //                 console.log("onVersionLoaded加载");
                                                                //             })
                                                                //             fwtks.getChildByName('btn_no').on(Laya.Event.MOUSE_DOWN, this, function () {
                                                                //                 window["AdSdk"].ins().tuichu();
                                                                //             })
                                                                //             Laya.stage.addChild(fwtks);
                                                                //         }))
                                                            });
                                                        }));
                                                    },
                                                    fail: function (data, code) {
                                                        console.log(`handling fail, code = ${code}`);
                                                    }
                                                });
                                            },
                                            fail: function (data, code) {
                                                console.log(`handling fail, code = ${code}`);
                                            }
                                        });
                        
                                        downloadTask.onProgressUpdate(function (msg) {
                                            console.log('SSSSSSSSSSSSSSSSS');
                                            var progress = msg["progress"];
                                            console.log(progress + "%");
                                        });
                                    }
                                    else {
                                        Laya.URL.basePath = qg.env.USER_DATA_PATH + "/bin/";
                        
                                        Laya.loader.create("prefab/jkgg.prefab", Laya.Handler.create(this, prefab => {
                                            let jkgg = Laya.Pool.getItemByCreateFun("jkgg", prefab.create, prefab);
                                            jkgg.width = Laya.stage.width;
                                            jkgg.height = Laya.stage.height;
                                            Laya.stage.addChild(jkgg);
                                            Laya.timer.once(3 * 1000, this, function () {
                                                jkgg.visible = false;
                                                //         Laya.loader.load("prefab/fwtk.json", Laya.Handler.create(this, function (pref) {
                                                //             var fwtkp = new Laya.Prefab();
                                                //             fwtkp.json = pref;
                                                //             var fwtks = Laya.Pool.getItemByCreateFun("fwtk", fwtkp.create, fwtkp);
                                                //             fwtks.pos(Laya.stage.width / 2, Laya.stage.height / 2);
                                                //             fwtks.scaleX = 1;
                                                //             fwtks.scaleY = 1;
                                                //             fwtks.getChildByName('btn_yes').on(Laya.Event.MOUSE_DOWN, this, function () {
                                                //                 Laya.LocalStorage.setItem('ycys', JSON.parse('true'));
                                                //                 fwtks.removeSelf();
                                                if (this._OnSetLoadConfig(), o.ConfigManager.needLoadCount <= 0) return this._configProgress = 1, void this._OnConfigLoaded();
                                                o.ConfigManager.StartLoad(Laya.Handler.create(this, this._OnConfigLoaded), Laya.Handler.create(this, this._OnConfigProgress, null, !1));
                                                Advertisement.initVal();
                                                Advertisement.oppoAdInit();
                                                //                 console.log("onVersionLoaded加载");
                                                //             })
                                                //             fwtks.getChildByName('btn_no').on(Laya.Event.MOUSE_DOWN, this, function () {
                                                //                 window["AdSdk"].ins().tuichu();
                                                //             })
                                                //             Laya.stage.addChild(fwtks);
                                                //         }))
                                            });
                                        }));
                                    }
                                }
                                else {
                                    Laya.loader.create("prefab/jkgg.prefab", Laya.Handler.create(this, prefab => {
                                        let jkgg = Laya.Pool.getItemByCreateFun("jkgg", prefab.create, prefab);
                                        jkgg.width = Laya.stage.width;
                                        jkgg.height = Laya.stage.height;
                                        Laya.stage.addChild(jkgg);
                                        Laya.timer.once(3 * 1000, this, function () {
                                            jkgg.visible = false;
                                            //         Laya.loader.load("prefab/fwtk.json", Laya.Handler.create(this, function (pref) {
                                            //             var fwtkp = new Laya.Prefab();
                                            //             fwtkp.json = pref;
                                            //             var fwtks = Laya.Pool.getItemByCreateFun("fwtk", fwtkp.create, fwtkp);
                                            //             fwtks.pos(Laya.stage.width / 2, Laya.stage.height / 2);
                                            //             fwtks.scaleX = 1;
                                            //             fwtks.scaleY = 1;
                                            //             fwtks.getChildByName('btn_yes').on(Laya.Event.MOUSE_DOWN, this, function () {
                                            //                 Laya.LocalStorage.setItem('ycys', JSON.parse('true'));
                                            //                 fwtks.removeSelf();
                                            if (this._OnSetLoadConfig(), o.ConfigManager.needLoadCount <= 0) return this._configProgress = 1, void this._OnConfigLoaded();
                                            o.ConfigManager.StartLoad(Laya.Handler.create(this, this._OnConfigLoaded), Laya.Handler.create(this, this._OnConfigProgress, null, !1));
                                            Advertisement.initVal();
                                            Advertisement.oppoAdInit();
                                            //                 console.log("onVersionLoaded加载");
                                            //             })
                                            //             fwtks.getChildByName('btn_no').on(Laya.Event.MOUSE_DOWN, this, function () {
                                            //                 window["AdSdk"].ins().tuichu();
                                            //             })
                                            //             Laya.stage.addChild(fwtks);
                                            //         }))
                                        });
                                    }));
                                }


                                // Laya.loader.create("prefab/jkgg.prefab", Laya.Handler.create(this, prefab => {
                                //     let jkgg = Laya.Pool.getItemByCreateFun("jkgg", prefab.create, prefab)
                                //     jkgg.width = Laya.stage.width;
                                //     jkgg.height = Laya.stage.height;
                                //     Laya.stage.addChild(jkgg);
                                //     Laya.timer.once(3 * 1000, this, function () {
                                //         jkgg.visible = false;
                                //         //         Laya.loader.load("prefab/fwtk.json", Laya.Handler.create(this, function (pref) {
                                //         //             var fwtkp = new Laya.Prefab();
                                //         //             fwtkp.json = pref;
                                //         //             var fwtks = Laya.Pool.getItemByCreateFun("fwtk", fwtkp.create, fwtkp);
                                //         //             fwtks.pos(Laya.stage.width / 2, Laya.stage.height / 2);
                                //         //             fwtks.scaleX = 1;
                                //         //             fwtks.scaleY = 1;
                                //         //             fwtks.getChildByName('btn_yes').on(Laya.Event.MOUSE_DOWN, this, function () {
                                //         //                 Laya.LocalStorage.setItem('ycys', JSON.parse('true'));
                                //         //                 fwtks.removeSelf();
                                //         if (this._OnSetLoadConfig(), o.ConfigManager.needLoadCount <= 0) return this._configProgress = 1, void this._OnConfigLoaded();
                                //         o.ConfigManager.StartLoad(Laya.Handler.create(this, this._OnConfigLoaded), Laya.Handler.create(this, this._OnConfigProgress, null, !1))
                                //         Advertisement.initVal();
                                //         Advertisement.oppoAdInit();
                                //         //                 console.log("onVersionLoaded加载");
                                //         //             })
                                //         //             fwtks.getChildByName('btn_no').on(Laya.Event.MOUSE_DOWN, this, function () {
                                //         //                 window["AdSdk"].ins().tuichu();
                                //         //             })
                                //         //             Laya.stage.addChild(fwtks);
                                //         //         }))
                                //     })
                                // }));
                                
                            }
                        }, {
                            key: "_OnSetLoadConfig",
                            value: function () { }
                        }, {
                            key: "_OnConfigProgress",
                            value: function (e) {
                                this._configProgress = e;
                            }
                        }, {
                            key: "_OnConfigLoaded",
                            value: function () {
                                __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                    var t, n, i, s, o;
                                    return regeneratorRuntime.wrap(function (e) {
                                        for (; ;) switch (e.prev = e.next) {
                                            case 0:
                                                if (y.default.instance.initConfig(), p.default.instance.youmemNewReport(v.newYoumenType["进入loading"]), 0 != this._needLoadOtherUIPack.length) {
                                                    e.next = 5;
                                                    break
                                                }
                                                return this._OnOtherUILoaded(), e.abrupt("return");
                                            case 5:
                                                t = [], n = 0;
                                            case 7:
                                                if (!(n < this._needLoadOtherUIPack.length)) {
                                                    e.next = 21;
                                                    break
                                                }
                                                if (i = this._needLoadOtherUIPack[n], a.default.instance.platform != l.EPlatformType.WX) {
                                                    e.next = 17;
                                                    break
                                                }
                                                if (s = (s = i.packPath.replace(/\//g, "_")).substring(0, s.lastIndexOf("_")), !(o = r.default.instance.getPackConfig(s)) || o.pathType != d.EPackType.SubPackNo) {
                                                    e.next = 16;
                                                    break
                                                }
                                                return e.next = 16, a.default.instance.LoadSubpackageAsync(s);
                                            case 16:
                                                this._otherPackProgress = n / this._needLoadOtherUIPack.length;
                                            case 17:
                                                i.PushUrl(t);
                                            case 18:
                                                ++n, e.next = 7;
                                                break;
                                            case 21:
                                                this._otherPackProgress = 1, Laya.loader.load(t, Laya.Handler.create(this, this._OnOtherUILoaded), Laya.Handler.create(this, this._OnOtherUIProgress, null, !1));
                                            case 23:
                                            case "end":
                                                return e.stop()
                                        }
                                    }, e, this)
                                }));
                            }
                        }, {
                            key: "_OnOtherUIProgress",
                            value: function (e) {
                                this._otherUIProgress = e;
                            }
                        }, {
                            key: "_OnOtherUILoaded",
                            value: function () {
                                for (var e = 0; e < this._needLoadOtherUIPack.length; ++e) {
                                    var t = this._needLoadOtherUIPack[e];
                                    t.AddPackage();
                                }
                                this.setPackageItemExtension(), g.default.instance.Show();
                                var n = [];
                                if (this._OnGameResPrepared(n), 0 == n.length) return this._resProgress = 1, void this._OnResLoaded();
                                Laya.loader.create(n, Laya.Handler.create(this, this._OnResLoaded), Laya.Handler.create(this, this._OnResProgress, null, !1));
                            }
                        }, {
                            key: "setPackageItemExtension",
                            value: function () {
                                var e = f.default.mainPackToClass;
                                for (var t in e) _.fairygui.UIObjectFactory.setPackageItemExtension(_.fairygui.UIPackage.getItemURL("main", t), e[t]);
                            }
                        }, {
                            key: "_OnGameResPrepared",
                            value: function (e) { }
                        }, {
                            key: "_OnResProgress",
                            value: function (e) {
                                this._resProgress = e;
                            }
                        }, {
                            key: "_OnResLoaded",
                            value: function () {
                                return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                    return regeneratorRuntime.wrap(function (e) {
                                        for (; ;) switch (e.prev = e.next) {
                                            case 0:
                                                this._progressUI && (this._progressUI.value = 100), Laya.timer.clearAll(this), p.default.instance.youmemNewReport(v.newYoumenType["结束loading"]), this._OnGameResLoaded();
                                            case 4:
                                            case "end":
                                                return e.stop()
                                        }
                                    }, e, this)
                                }))
                            }
                        }, {
                            key: "_OnGameResLoaded",
                            value: function () { }
                        }, {
                            key: "_DoRunning",
                            value: function () {
                                if (this._isUIShowed) {
                                    var e = this._loadProgress;
                                    this._progressUI && e == this._lastValue ? this._progressUI.value += .2 : (this._lastValue = e, this._progressUI && (this._progressUI.value = Math.max(this._progressUI.value, e)));
                                }
                            }
                        }, {
                            key: "_DoExit",
                            value: function () { }
                        }, {
                            key: "_loadProgress",
                            get: function () {
                                var e = this._loadProgressWeight[0] + this._loadProgressWeight[1] + this._loadProgressWeight[2] + this._loadProgressWeight[3] + this._loadProgressWeight[4];
                                return (this._loadProgressWeight[0] * this._subPackProgress + this._loadProgressWeight[1] * this._configProgress + this._loadProgressWeight[2] * this._resProgress + this._loadProgressWeight[3] * this._otherUIProgress + this._loadProgressWeight[4] * this._otherPackProgress) / e * 100
                            }
                        }]), t
                    }();
            },
            "./src/LTGame/Start/LTStart.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    LTStart: function () {
                        return f
                    }
                });
                var i = n("./src/LTGame/Fsm/StateMachine.ts"),
                    a = n("./src/LTGame/Platform/LTPlatform.ts"),
                    s = n("./src/LTGame/Platform/Data/LTPlatformData.ts"),
                    r = n("./src/UIExt/FGui/FGuiEx.ts"),
                    o = n("./src/LTGame/LTUtils/MonoHelper.ts"),
                    u = n("./src/LTGame/LTVersion.ts"),
                    c = n("./src/LTGame/Commom/EScreenOrientation.ts"),
                    l = n("./src/LTGame/SDK/LTSDK.ts"),
                    d = n("./src/LTGame/SDK/Impl/SDK_Default.ts"),
                    h = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    f = function () {
                        function e() {
                            _classCallCheck(this, e), this.screenOrientation = c.EScreenOrientation.Portrait;
                        }
                        return _createClass(e, [{
                            key: "InitGame",
                            value: function () {
                                Plat.Ins.LoadSubPack("res", Laya.Handler.create(this, () => {
                                    PlatHeal.Show(Laya.Handler.create(this, () => {
                                        a.default.CreateInstance(), this._Init();
                                    }));
                                }));
                            }
                        }, {
                            key: "_Init",
                            value: function () {
                                var e = new s.default;
                                this._HandleInitPlatform(a.default.instance.platform, e), a.default.instance.Init(e), this._HandleSDK(), l.default.isInited || l.default.CreateInstace(d.default, "default", "default"), this.setGui(), r.default.Init(a.default.instance.safeArea), Laya.timer.frameOnce(1, this, this._NextFramUpdate);
                            }
                        }, {
                            key: "setGui",
                            value: function () {
                                h.fairygui.UIObjectFactory.setComponentItemClass(0, h.fairygui.GImage), h.fairygui.UIObjectFactory.setComponentItemClass(1, h.fairygui.GMovieClip), h.fairygui.UIObjectFactory.setComponentItemClass(3, h.fairygui.GGraph), h.fairygui.UIObjectFactory.setComponentItemClass(4, h.fairygui.GLoader), h.fairygui.UIObjectFactory.setComponentItemClass(5, h.fairygui.GGroup), h.fairygui.UIObjectFactory.setComponentItemClass(6, h.fairygui.GTextField), h.fairygui.UIObjectFactory.setComponentItemClass(7, h.fairygui.GRichText), h.fairygui.UIObjectFactory.setComponentItemClass(8, h.fairygui.GTextInput), h.fairygui.UIObjectFactory.setComponentItemClass(9, h.fairygui.GComponent), h.fairygui.UIObjectFactory.setComponentItemClass(10, h.fairygui.GList), h.fairygui.UIObjectFactory.setComponentItemClass(11, h.fairygui.GLabel), h.fairygui.UIObjectFactory.setComponentItemClass(12, h.fairygui.GButton), h.fairygui.UIObjectFactory.setComponentItemClass(13, h.fairygui.GComboBox), h.fairygui.UIObjectFactory.setComponentItemClass(14, h.fairygui.GProgressBar), h.fairygui.UIObjectFactory.setComponentItemClass(15, h.fairygui.GSlider), h.fairygui.UIObjectFactory.setComponentItemClass(16, h.fairygui.GScrollBar);
                            }
                        }, {
                            key: "_NextFramUpdate",
                            value: function () {
                                this._fsm = new i.default, this._InitFsm(), 0 != this._fsm.count ? (this._fsm.ChangeState(1), this._RegistUpdate()) : console.error("请在_InitFsm中先进行状态注册");
                            }
                        }, {
                            key: "_RegistUpdate",
                            value: function () {
                                o.default.instance.AddAction(o.EActionType.Update, this, this._LogicUpdate), o.default.instance.AddAction(o.EActionType.LateUpdate, this, this._LateUpdate);
                            }
                        }, {
                            key: "_UnRegistUpdate",
                            value: function () {
                                o.default.instance.RemoveAction(o.EActionType.Update, this, this._LogicUpdate), o.default.instance.RemoveAction(o.EActionType.LateUpdate, this, this._LateUpdate);
                            }
                        }, {
                            key: "_HandleSDK",
                            value: function () { }
                        }, {
                            key: "_HandleInitPlatform",
                            value: function (e, t) { }
                        }, {
                            key: "_LogicUpdate",
                            value: function () {
                                var e = Laya.timer.delta / 1e3,
                                    t = this._currentState.GetNextState();
                                if (0 != t && !this._fsm.ChangeState(t, null)) return console.error("场景切换发生错误,无法进行切换,终止游戏流程"), void this._UnRegistUpdate();
                                this._fsm.OnRunning(null, e);
                            }
                        }, {
                            key: "_LateUpdate",
                            value: function () {
                                var e = Laya.timer.delta / 1e3;
                                this._currentState.OnLateUpdate(e);
                            }
                        }, {
                            key: "_InitFsm",
                            value: function () { }
                        }, {
                            key: "_currentState",
                            get: function () {
                                return this._fsm.currState
                            }
                        }, {
                            key: "designWidth",
                            get: function () {
                                switch (this.screenOrientation) {
                                    case c.EScreenOrientation.Portrait:
                                        return 720;
                                    case c.EScreenOrientation.Landscape:
                                        return 1280;
                                    default:
                                        return console.error("未处理的屏幕初始化方向", this.screenOrientation), 0
                                }
                            }
                        }, {
                            key: "designHeight",
                            get: function () {
                                switch (this.screenOrientation) {
                                    case c.EScreenOrientation.Portrait:
                                        return 1280;
                                    case c.EScreenOrientation.Landscape:
                                        return 720;
                                    default:
                                        return console.error("未处理的屏幕初始化方向", this.screenOrientation), 0
                                }
                            }
                        }]), e
                    }();
            },
            "./src/UIExt/FGui/BaseUIMediator.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return h
                    }
                });
                var i = n("./src/UIExt/FGui/FGuiEx.ts"),
                    a = n("./src/UIExt/FGui/FGuiData.ts"),
                    s = n("./src/LTGame/SDK/LTSDK.ts"),
                    r = n("./src/LTGame/Manager/MesManager.ts"),
                    o = n("./src/script/enum/EEventUI.ts"),
                    u = n("./src/LTGame/Platform/LTPlatform.ts"),
                    c = n("./src/LTGame/Platform/EPlatformType.ts"),
                    l = n("./src/UIExt/LTUI.ts"),
                    d = n("./src/LTGame/LTUtils/LTUtils.ts"),
                    h = function () {
                        function e() {
                            _classCallCheck(this, e), this._scaleSmall = .8, this._tweenTime = 180, this.openAniTime = 180, this._noClose = !1, this._needLoadPanel = !0, this._isLoginOpen = !1, this._needSubRes = [], this._layer = i.EUILayer.Panel, this._needCloseAni = !0, this._needOpenAni = !0, this._isHaveBg = !1, this._isFullView = !1, this._needFilScreen = !1, this._isShow = !1, this._parent = null, this._sortOrder = 10;
                        }
                        return _createClass(e, [{
                            key: "_InitBottom",
                            value: function () {
                                var e = this.ui.m_bottom_group;
                                this._defaultBottomHeight = null == e ? 0 : e.y;
                            }
                        }, {
                            key: "_SetBottomDown",
                            value: function () {
                                var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : 0,
                                    t = this.ui.m_bottom_group;
                                null != t && (t.y = this._defaultBottomHeight + e);
                            }
                        }, {
                            key: "_closeLoadPanel",
                            value: function () {
                                this._needLoadPanel && l.default.HideLoading();
                            }
                        }, {
                            key: "Show",
                            value: function () {
                                var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : null,
                                    t = arguments.length > 1 ? arguments[1] : void 0;
                                return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function n() {
                                    var d, h, f, _, m, g, p = this;
                                    return regeneratorRuntime.wrap(function (n) {
                                        for (; ;) switch (n.prev = n.next) {
                                            case 0:
                                                if (this._ui && (this._ui.visible = !0), !(this._isShow && this._ui && this._parent)) {
                                                    n.next = 4;
                                                    break
                                                }
                                                return this._parent.addChild(this._ui), n.abrupt("return");
                                            case 4:
                                                if (this.eventListers = [], this.eventObjects = [], this.eventTypes = [], this._isShow = !0, this._needLoadPanel && l.default.ShowLoading(), u.default.instance.platform != c.EPlatformType.WX) {
                                                    n.next = 18;
                                                    break
                                                }
                                                d = 0;
                                            case 11:
                                                if (!(d < this._needSubRes.length)) {
                                                    n.next = 18;
                                                    break
                                                }
                                                if (!this._needSubRes[d]) {
                                                    n.next = 15;
                                                    break
                                                }
                                                return n.next = 15, u.default.instance.LoadSubpackageAsync(this._needSubRes[d]);
                                            case 15:
                                                d++, n.next = 11;
                                                break;
                                            case 18:
                                                if (this._isShow) {
                                                    n.next = 20;
                                                    break
                                                }
                                                return n.abrupt("return");
                                            case 20:
                                                return n.next = 22, this.loadRes();
                                            case 22:
                                                if (this._isShow) {
                                                    n.next = 24;
                                                    break
                                                }
                                                return n.abrupt("return");
                                            case 24:
                                                if (this._closeLoadPanel(), this._backPanel = t, this._openParam = e, (h = new a.default).needFitScreen = this._needFilScreen, this._ui && this._parent) this._parent.addChild(this._ui), i.default.removeNowLayer(this._layer);
                                                else {
                                                    this._ui && this._ui.dispose();
                                                    try {
                                                        this._ui = i.default.AddUI(this._classDefine, h, this._layer), this._parent = this._ui.parent;
                                                    } catch (e) { }
                                                }
                                                if (this._ui) {
                                                    n.next = 32;
                                                    break
                                                }
                                                return n.abrupt("return");
                                            case 32:
                                                this._ui.mediator = this, this._ui.m_screen && (f = Laya.Browser.clientWidth / Laya.Browser.clientHeight, this._ui.m_screen.selectedIndex = f < .5 ? 1 : 0), this._layer == i.EUILayer.Panel ? i.default.panels.push(this) : this._layer == i.EUILayer.Main ? i.default.mainPanels.push(this) : this._layer == i.EUILayer.Popup && i.default.popupPanels.push(this), this._ui.sortingOrder = this._sortOrder;
                                                try {
                                                    this._OnShow();
                                                } catch (e) {
                                                    console.error(e);
                                                }
                                                _ = "m_anim_enter", this.ui && this._ui[_] && s.default.instance.isDelayClose && this._ui[_].play(Laya.Handler.create(this, this._CallEnterAnimEnd)), this.ui && this._needOpenAni ? (r.default.instance.eventUI(o.EEventUI.specialani, !0), m = .3, this._isHaveBg && ((g = this.ui.getChildAt(0)).setScale(1 / m, 1 / m), g.setXY(this.ui.width / 2, this.ui.height / 2), g.setPivot(.5, .5, !0)), this.ui.setPivot(.5, .5, !0), this.ui.setXY(this.ui.parent.width / 2, this.ui.parent.height / 2), this.ui.setScale(m, m), Laya.Tween.to(this.ui, {
                                                    scaleX: 1.1,
                                                    scaleY: 1.1
                                                }, 80, null, Laya.Handler.create(this, function () {
                                                    p.ui && Laya.Tween.to(p.ui, {
                                                        scaleX: 1,
                                                        scaleY: 1
                                                    }, 50, null, Laya.Handler.create(p, p._finalOpen));
                                                }))) : this._finalOpen();
                                            case 40:
                                            case "end":
                                                return n.stop()
                                        }
                                    }, n, this)
                                }))
                            }
                        }, {
                            key: "_finalOpen",
                            value: function () {
                                this.ui && (this._isFullView && i.default.updateBottomViewVis(!1), this._CallEnterAnimEnd(), r.default.instance.eventUI(o.EEventUI.PanelOpen, [this.ui.resourceURL, this]));
                            }
                        }, {
                            key: "_CallEnterAnimEnd",
                            value: function () {
                                this._OnEnterAnimEnd();
                            }
                        }, {
                            key: "_OnEnterAnimEnd",
                            value: function () { }
                        }, {
                            key: "onClick",
                            value: function (e, t, n) {
                                this.addEvent(Laya.Event.CLICK, e, t, n);
                            }
                        }, {
                            key: "addEvent",
                            value: function (e, t, n, i) {
                                t.on(e, this, n, i), this.eventTypes.push(e), this.eventObjects.push(t), this.eventListers.push(n);
                            }
                        }, {
                            key: "removeEvents",
                            value: function () {
                                for (var e = 0; e < this.eventTypes.length; e++) this.eventObjects[e].off(this.eventTypes[e], this, this.eventListers[e]);
                                this.eventListers.length = 0, this.eventObjects.length = 0, this.eventListers.length = 0;
                            }
                        }, {
                            key: "_OnShow",
                            value: function () { }
                        }, {
                            key: "Hide",
                            value: function () {
                                var e = this,
                                    t = !(arguments.length > 0 && void 0 !== arguments[0]) || arguments[0],
                                    n = !(arguments.length > 1 && void 0 !== arguments[1]) || arguments[1];
                                if (this._isShow && (Laya.timer.clearAll(this), this._closeLoadPanel(), null != this._ui && !this._ui.isDisposed)) {
                                    this._isShow = !1, this._isFullView && i.default.updateBottomViewVis(!0), this._layer == i.EUILayer.Panel ? (d.LTUtils.arrRemove(i.default.panels, this), i.default.topViewUpdate()) : this._layer == i.EUILayer.Main ? (d.LTUtils.arrRemove(i.default.mainPanels, this), i.default.topViewUpdate()) : this._layer == i.EUILayer.Popup && (d.LTUtils.arrRemove(i.default.popupPanels, this), i.default.topViewUpdate());
                                    try {
                                        this._OnHide();
                                    } catch (e) {
                                        console.error(e);
                                    }
                                    this.removeEvents(), Laya.Tween.clearAll(this._ui), r.default.instance.eventUI(o.EEventUI.PanelHide, this.ui.resourceURL), this._ui.m_anim_exit ? this._ui.m_anim_exit.play(Laya.Handler.create(this, this._DoHide, [t, n])) : this._needCloseAni ? (r.default.instance.eventUI(o.EEventUI.specialani, !1), Laya.Tween.to(this.ui, {
                                        scaleX: 1.1,
                                        scaleY: 1.1
                                    }, 0, null, Laya.Handler.create(this, function () {
                                        Laya.Tween.to(e.ui, {
                                            scaleX: .3,
                                            scaleY: .3
                                        }, 0, Laya.Ease.sineIn, Laya.Handler.create(e, e._DoHide, [t, n]));
                                    }))) : this._DoHide(t, n);
                                }
                            }
                        }, {
                            key: "viewIntop",
                            value: function () { }
                        }, {
                            key: "viewBackCall",
                            value: function (e) { }
                        }, {
                            key: "_DoHide",
                            value: function (e) {
                                var t = !(arguments.length > 1 && void 0 !== arguments[1]) || arguments[1];
                                return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function n() {
                                    return regeneratorRuntime.wrap(function (n) {
                                        for (; ;) switch (n.prev = n.next) {
                                            case 0:
                                                if (e ? (this.ui.dispose(), this._ui = null) : this.ui.removeFromParent(), !this._backPanel || !t) {
                                                    n.next = 6;
                                                    break
                                                }
                                                return this._isLoginOpen && (this._backPanel.instance._isLoginOpen = !0), n.next = 5, this._backPanel.instance.Show();
                                            case 5:
                                                this._backPanel.instance.viewBackCall(this);
                                            case 6:
                                                this._backPanel = null, this._isLoginOpen = !1;
                                            case 8:
                                            case "end":
                                                return n.stop()
                                        }
                                    }, n, this)
                                }))
                            }
                        }, {
                            key: "getGuideBtn",
                            value: function (e) {
                                if (e.btnName) return this.ui["m_" + e.btnName]
                            }
                        }, {
                            key: "loadRes",
                            value: function () {
                                return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                    return regeneratorRuntime.wrap(function (e) {
                                        for (; ;) switch (e.prev = e.next) {
                                            case 0:
                                            case "end":
                                                return e.stop()
                                        }
                                    }, e)
                                }))
                            }
                        }, {
                            key: "_OnHide",
                            value: function () { }
                        }, {
                            key: "ui",
                            get: function () {
                                return this._ui
                            }
                        }, {
                            key: "isShow",
                            get: function () {
                                return this._isShow
                            }
                        }], [{
                            key: "instance",
                            get: function () { }
                        }]), e
                    }();
            },
            "./src/UIExt/FGui/FGuiData.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return i
                    }
                });
                var i = function e() {
                    _classCallCheck(this, e), this.needFitScreen = !1;
                };
            },
            "./src/UIExt/FGui/FGuiEx.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    EUILayer: function () {
                        return i
                    },
                    default: function () {
                        return o
                    }
                });
                var i, a, s = n("./src/LTGame/LTUtils/LTDictionary.ts"),
                    r = n("./src/UIExt/FGui/FGuiData.ts");
                (a = i || (i = {})).Battle = "Battle", a.BattleTop = "BattleTop", a.Main = "Main", a.Panel = "Panel", a.Popup = "Popup", a.Tip = "Tip", a.Game = "Game", a.Ad = "ad";
                var o = function () {
                    function e() {
                        _classCallCheck(this, e);
                    }
                    return _createClass(e, null, [{
                        key: "getLayer",
                        value: function (e) {
                            switch (e) {
                                case i.Main:
                                    return this.mainLayer;
                                case i.Panel:
                                    return this.panelLayer;
                                case i.Popup:
                                    return this.popupLayer;
                                case i.Tip:
                                    return this.tipLayer;
                                case i.Battle:
                                    return this.battleLayer;
                                case i.BattleTop:
                                    return this.battleTipLayer;
                                case i.Ad:
                                    return this.adLayer
                            }
                        }
                    }, {
                        key: "Init",
                        value: function () {
                            var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : null;
                            this.safeArea = e, fgui.UIConfig.packageFileExtension = "bin", Laya.stage.addChild(fgui.GRoot.inst.displayObject), this.battleLayer = fgui.GRoot.inst.addChild(new fgui.GComponent), this.mainLayer = fgui.GRoot.inst.addChild(new fgui.GComponent), this.battleTipLayer = fgui.GRoot.inst.addChild(new fgui.GComponent), this.panelLayer = fgui.GRoot.inst.addChild(new fgui.GComponent), this.popupLayer = fgui.GRoot.inst.addChild(new fgui.GComponent), this.tipLayer = fgui.GRoot.inst.addChild(new fgui.GComponent), this.adLayer = fgui.GRoot.inst.addChild(new fgui.GComponent), this.UpdateAllUI(), Laya.stage.on(Laya.Event.RESIZE, this, this.UpdateAllUI);
                        }
                    }, {
                        key: "updateBottomViewVis",
                        value: function (t) {
                            e.mainLayer.visible = t, e.battleLayer.visible = t, e.battleTipLayer.visible = t;
                        }
                    }, {
                        key: "topViewUpdate",
                        value: function () {
                            var t = e.panels.slice(-1)[0];
                            if (t) t.viewIntop();
                            else {
                                var n = e.mainPanels.slice(-1)[0];
                                n && n.viewIntop();
                            }
                        }
                    }, {
                        key: "removeLayer",
                        value: function (t) {
                            t == i.Panel ? e.panels.length > 0 && (e.panels.forEach(function (e) {
                                e && !e._noClose && e.Hide();
                            }), e.panels = []) : t == i.Popup ? e.popupPanels.length > 0 && (e.popupPanels.forEach(function (e) {
                                e && !e._noClose && e.Hide();
                            }), e.popupPanels = []) : t == i.Main && e.mainPanels.length > 0 && (e.mainPanels.forEach(function (e) {
                                e && e.ui && (e.ui.visible = !1);
                            }), e.mainPanels = []);
                        }
                    }, {
                        key: "removeNowLayer",
                        value: function (e) {
                            e == i.Panel ? this.removeLayer(i.Panel) : e == i.Main && this.removeLayer(i.Main);
                        }
                    }, {
                        key: "AddUI",
                        value: function (e) {
                            var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : null,
                                n = arguments.length > 2 ? arguments[2] : void 0,
                                i = e.createInstance();
                            return this.removeNowLayer(n), this.getLayer(n).addChild(i), null == t && (t = new r.default),
                                null != t && t.needFitScreen ? (i.setSize(fgui.GRoot.inst.width, fgui.GRoot.inst.height - this.top -
                                    this.bottom), i.y = this.top) : i.setSize(fgui.GRoot.inst.width, fgui.GRoot.inst.height),
                                this._cacheMap.set(i.constructor.name, t), window[i.constructor.name] = i, i
                        }
                    }, {
                        key: "UpdateAllUI",
                        value: function () {
                            var e = Laya.stage.width,
                                t = Laya.stage.height;
                            if (null != this.safeArea) {
                                var n = Laya.stage.width / this.safeArea.width;
                                this.top = this.safeArea.top * n, this.bottom = this.safeArea.bottom - this.safeArea.height - this.safeArea.top * n;
                            }
                            fgui.GRoot.inst.setSize(e, t);
                            for (var i = fgui.GRoot.inst.numChildren, a = 0; a < i; ++a) {
                                var s = fgui.GRoot.inst.getChildAt(a),
                                    r = this._cacheMap.get(s.constructor.name);
                                null != r && r.needFitScreen ? (s.setSize(fgui.GRoot.inst.width, fgui.GRoot.inst.height - this.top - this.bottom), s.y = this.top) : s.setSize(fgui.GRoot.inst.width, fgui.GRoot.inst.height);
                            }
                        }
                    }, {
                        key: "CheckIn",
                        value: function (e, t, n) {
                            return t > e.x && t < e.x + e.width && n > e.y && n < e.y + e.height
                        }
                    }]), e
                }();
                o.top = 0, o.bottom = 0, o._cacheMap = new s.default, o.panels = [], o.mainPanels = [], o.popupPanels = [];
            },
            "./src/UIExt/FGui/LoadUIPack.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    LoadUIPack: function () {
                        return i
                    }
                });
                var i = function () {
                    function e(t) {
                        var n = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : 1;
                        _classCallCheck(this, e), this.packPath = t, this.atliasCount = n;
                    }
                    return _createClass(e, [{
                        key: "PushUrl",
                        value: function (e) {
                            if (e.push({
                                url: this.packPath + ".bin",
                                type: Laya.Loader.BUFFER
                            }), 0 != this.atliasCount) {
                                e.push({
                                    url: this.packPath + "_atlas0.png",
                                    type: Laya.Loader.IMAGE
                                });
                                for (var t = 1; t < this.atliasCount; ++t) e.push({
                                    url: this.packPath + "_atlas0_" + t + ".png",
                                    type: Laya.Loader.IMAGE
                                });
                            }
                        }
                    }, {
                        key: "load",
                        value: function (e) {
                            var t = this,
                                n = [];
                            this.PushUrl(n), Laya.loader.load(n, Laya.Handler.create(this, function () {
                                t.AddPackage(), e && e.run();
                            }));
                        }
                    }, {
                        key: "AddPackage",
                        value: function () {
                            fgui.UIPackage.getById(this.packPath) || fgui.UIPackage.addPackage(this.packPath);
                        }
                    }]), e
                }();
            },
            "./src/UIExt/FGui/UIPackManager.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    UIPackManager: function () {
                        return u
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = n("./src/LTGame/Platform/EPlatformType.ts"),
                    s = n("./src/LTGame/Platform/LTPlatform.ts"),
                    r = n("./src/LTGame/Res/LTRes.ts"),
                    o = n("./src/script/common/Const.ts"),
                    u = function () {
                        function e() {
                            _classCallCheck(this, e);
                        }
                        return _createClass(e, [{
                            key: "setUrls",
                            value: function (e, t) {
                                var n = [],
                                    i = "res/fgui/" + e + "/" + e;
                                if (n.push({
                                    url: i + ".bin",
                                    type: Laya.Loader.BUFFER
                                }), 0 != t) {
                                    n.push({
                                        url: i + "_atlas0.png",
                                        type: Laya.Loader.IMAGE
                                    });
                                    for (var a = 1; a < t; ++a) n.push({
                                        url: i + "_atlas0_" + a + ".png",
                                        type: Laya.Loader.IMAGE
                                    });
                                    return n
                                }
                            }
                        }, {
                            key: "load",
                            value: function (e, t) {
                                var n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : {};
                                return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function u() {
                                    var c, l;
                                    return regeneratorRuntime.wrap(function (u) {
                                        for (; ;) switch (u.prev = u.next) {
                                            case 0:
                                                if (s.default.instance.platform != a.EPlatformType.WX) {
                                                    u.next = 3;
                                                    break
                                                }
                                                return u.next = 3, s.default.instance.LoadSubpackageAsync("res_fgui_" + e);
                                            case 3:
                                                return c = this.setUrls(e, t), u.next = 6, r.default.Load2dAsync(c);
                                            case 6:
                                                if (u.sent && !fgui.UIPackage.getById(e))
                                                    for (l in fgui.UIPackage.addPackage("res/fgui/" + e + "/" + e), "work" == e && (n = o.default.workPackToClass), n) i.fairygui.UIObjectFactory.setPackageItemExtension(i.fairygui.UIPackage.getItemURL(e, l), n[l]);
                                            case 8:
                                            case "end":
                                                return u.stop()
                                        }
                                    }, u, this)
                                }))
                            }
                        }], [{
                            key: "instance",
                            get: function () {
                                return null == this._instance && (this._instance = new e), this._instance
                            }
                        }]), e
                    }();
            },
            "./src/UIExt/LTFly.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    LTFly: function () {
                        return u
                    }
                });
                var i = n("./src/LTGame/Async/Awaiters.ts"),
                    a = n("./src/LTGame/LTUtils/MathEx.ts"),
                    s = n("./src/UIExt/FGui/FGuiEx.ts"),
                    r = n("./src/UIExt/LTGame/UI_view_fly_coin.ts"),
                    o = n("./src/UIExt/UISrc/UI_FlyPanelMediator.ts"),
                    u = function () {
                        function e() {
                            _classCallCheck(this, e);
                        }
                        return _createClass(e, null, [{
                            key: "getLayerUI",
                            value: function () {
                                if ((arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : s.EUILayer.Tip) == s.EUILayer.Tip) return o.default.instance.ui
                            }
                        }, {
                            key: "BoomObjs",
                            value: function () {
                                var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : s.EUILayer.Tip,
                                    t = arguments.length > 1 ? arguments[1] : void 0,
                                    n = arguments.length > 2 ? arguments[2] : void 0,
                                    o = arguments.length > 3 && void 0 !== arguments[3] ? arguments[3] : 1,
                                    u = arguments.length > 4 && void 0 !== arguments[4] ? arguments[4] : 10;
                                return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function s() {
                                    var c, l, d, h, f = this;
                                    return regeneratorRuntime.wrap(function (s) {
                                        for (; ;) switch (s.prev = s.next) {
                                            case 0:
                                                for ((c = t.localToGlobal()).x -= t.width / 2, c.y -= t.height / 2, l = 1e3 * o, d = function (n) {
                                                    var i = r.default.createInstance();
                                                    f.getLayerUI(e).addChild(i), null != t.url ? i.m_icon.url = t.url : null != t.resourceURL && (i.m_icon.url = t.resourceURL), i.m_icon.setSize(t.width, t.height), i.setPivot(t.pivotX, t.pivotY), i.setXY(c.x, c.y);
                                                    var s = new Laya.Point(c.x + a.default.Random(-u, u), c.y + a.default.Random(-u, u));
                                                    Laya.Tween.to(i, {
                                                        x: s.x,
                                                        y: s.y
                                                    }, l, Laya.Ease.quadOut, Laya.Handler.create(f, function () {
                                                        i.dispose();
                                                    }));
                                                }, h = 0; h < n; ++h) d(h);
                                                return s.next = 8, i.default.Seconds(o);
                                            case 8:
                                            case "end":
                                                return s.stop()
                                        }
                                    }, s)
                                }))
                            }
                        }, {
                            key: "BoomCoins",
                            value: function () {
                                arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : s.EUILayer.Tip;
                                var e = arguments.length > 1 ? arguments[1] : void 0,
                                    t = (arguments.length > 2 && void 0 !== arguments[2] && arguments[2], arguments.length > 3 && void 0 !== arguments[3] ? arguments[3] : 100),
                                    n = arguments.length > 4 && void 0 !== arguments[4] ? arguments[4] : 1;
                                return arguments.length > 5 && void 0 !== arguments[5] && arguments[5], __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function a() {
                                    var s;
                                    return regeneratorRuntime.wrap(function (a) {
                                        for (; ;) switch (a.prev = a.next) {
                                            case 0:
                                                for (e.localToGlobal(), s = 0; s < t; ++s);
                                                return a.next = 5, i.default.Seconds(n);
                                            case 5:
                                            case "end":
                                                return a.stop()
                                        }
                                    }, a)
                                }))
                            }
                        }, {
                            key: "FlyObjs",
                            value: function () {
                                arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : s.EUILayer.Tip;
                                arguments.length > 1 && arguments[1], arguments.length > 2 && arguments[2];
                                var e = arguments.length > 3 ? arguments[3] : void 0,
                                    t = arguments.length > 4 ? arguments[4] : void 0;
                                return arguments.length > 5 && arguments[5], __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function n() {
                                    var a;
                                    return regeneratorRuntime.wrap(function (n) {
                                        for (; ;) switch (n.prev = n.next) {
                                            case 0:
                                                for (a = 0; a < e; ++a);
                                                return n.next = 7, i.default.Seconds(t);
                                            case 7:
                                            case "end":
                                                return n.stop()
                                        }
                                    }, n)
                                }))
                            }
                        }, {
                            key: "FlyCoins",
                            value: function () {
                                var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : s.EUILayer.Tip,
                                    t = arguments.length > 1 ? arguments[1] : void 0,
                                    n = arguments.length > 2 ? arguments[2] : void 0,
                                    o = arguments.length > 3 && void 0 !== arguments[3] ? arguments[3] : null,
                                    u = arguments.length > 4 && void 0 !== arguments[4] ? arguments[4] : 10,
                                    c = arguments.length > 5 && void 0 !== arguments[5] ? arguments[5] : 1,
                                    l = arguments.length > 6 && void 0 !== arguments[6] ? arguments[6] : 10,
                                    d = !(arguments.length > 7 && void 0 !== arguments[7]) || arguments[7];
                                return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function s() {
                                    var h, f, _, m, g, p, v, y = this;
                                    return regeneratorRuntime.wrap(function (s) {
                                        for (; ;) switch (s.prev = s.next) {
                                            case 0:
                                                for (h = t instanceof Laya.Point ? t : t.localToGlobal(t.width / 2, t.height / 2), f = n instanceof Laya.Point ? n : n.localToGlobal(n.width / 2, n.height / 2), _ = .7 * c * 1e3, m = .3 * c * 1e3, g = 0; g < u; ++g) p = r.default.createInstance(), this.getLayerUI(e).addChild(p), null != o && (p.m_icon.url = o), p.setXY(h.x, h.y), d ? (v = new Laya.Point(h.x + a.default.Random(-l, l), h.y + a.default.Random(-l, l)), Laya.Tween.to(p, {
                                                    x: v.x,
                                                    y: v.y
                                                }, _, Laya.Ease.quadInOut, Laya.Handler.create(this, function (e) {
                                                    Laya.Tween.clearAll(e), Laya.Tween.to(e, {
                                                        x: f.x,
                                                        y: f.y
                                                    }, m, Laya.Ease.quadInOut, Laya.Handler.create(y, function (e) {
                                                        e && e.dispose();
                                                    }, [e]));
                                                }, [p]))) : Laya.Tween.to(p, {
                                                    x: f.x,
                                                    y: f.y
                                                }, m, Laya.Ease.quadInOut, Laya.Handler.create(this, function (e) {
                                                    e && e.dispose();
                                                }, [p]), 0, !1);
                                                return s.next = 7, i.default.Seconds(c);
                                            case 7:
                                            case "end":
                                                return s.stop()
                                        }
                                    }, s, this)
                                }))
                            }
                        }]), e
                    }();
            },
            "./src/UIExt/LTGame/LTGameBinder.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return Q
                    }
                });
                var i = n("./src/UIExt/LTGame/UI_side_ads.ts"),
                    a = n("./src/UIExt/LTGame/UI_hot_game.ts"),
                    s = n("./src/UIExt/LTGame/UI_NativeInPage.ts"),
                    r = n("./src/UIExt/LTGame/UI_AdInpageComp.ts"),
                    o = n("./src/UIExt/LTGame/UI_iconLongComp.ts"),
                    u = n("./src/UIExt/LTGame/UI_view_game_icon.ts"),
                    c = n("./src/UIExt/LTGame/UI_Turnable_Pro1.ts"),
                    l = n("./src/UIExt/LTGame/UI_NativeADNew.ts"),
                    d = n("./src/UIExt/LTGame/UI_NativeInterstitalAd.ts"),
                    h = n("./src/UIExt/LTGame/UI_showAd.ts"),
                    f = n("./src/UIExt/LTGame/UI_NativeInterstitalAd2.ts"),
                    _ = n("./src/UIExt/LTGame/UI_SideGames.ts"),
                    m = n("./src/UIExt/LTGame/UI_FlyPanel.ts"),
                    g = n("./src/UIExt/LTGame/UI_view_fly_coin.ts"),
                    p = n("./src/UIExt/LTGame/UI_NativeIcon.ts"),
                    v = n("./src/UIExt/LTGame/UI_End3X3Ad.ts"),
                    y = n("./src/UIExt/LTGame/UI_CommonEndSliderADs.ts"),
                    k = n("./src/UIExt/LTGame/UI_NativeBanner.ts"),
                    C = n("./src/UIExt/LTGame/UI_tt_share.ts"),
                    I = n("./src/UIExt/LTGame/UI_Native320.ts"),
                    S = n("./src/UIExt/LTGame/UI_NativeBigAd.ts"),
                    L = n("./src/UIExt/LTGame/UI_btn_normal.ts"),
                    w = n("./src/UIExt/LTGame/UI_CommonLoad.ts"),
                    U = n("./src/UIExt/LTGame/UI_turntable_page.ts"),
                    A = n("./src/UIExt/LTGame/UI_disc.ts"),
                    b = n("./src/UIExt/LTGame/UI_turntable_reward.ts"),
                    T = n("./src/UIExt/LTGame/UI_NativeIconLong.ts"),
                    G = n("./src/UIExt/LTGame/UI_FakeBanner_V.ts"),
                    E = n("./src/UIExt/LTGame/UI_CommonToast.ts"),
                    x = n("./src/UIExt/LTGame/UI_view_toast.ts"),
                    P = n("./src/UIExt/LTGame/UI_FakeRewardVideo.ts"),
                    M = n("./src/UIExt/LTGame/UI_FakeInterstital.ts"),
                    D = n("./src/UIExt/LTGame/UI_EndSlideGames.ts"),
                    R = n("./src/UIExt/LTGame/UI_slideAds.ts"),
                    B = n("./src/UIExt/LTGame/UI_view_item_game.ts"),
                    O = n("./src/UIExt/LTGame/UI_view_item_game140.ts"),
                    F = n("./src/UIExt/LTGame/UI_ImageBanner.ts"),
                    V = n("./src/UIExt/LTGame/UI_GameCenter.ts"),
                    N = n("./src/UIExt/LTGame/UI_item_game.ts"),
                    H = n("./src/UIExt/LTGame/UI_item_gameBig.ts"),
                    j = n("./src/UIExt/LTGame/UI_GameIconF.ts"),
                    Y = n("./src/UIExt/LTGame/UI_WxSideGames.ts"),
                    W = n("./src/UIExt/LTGame/UI_item_gameSmall.ts"),
                    K = n("./src/UIExt/LTGame/UI_sliderADs.ts"),
                    z = n("./src/UIExt/LTGame/UI_sign_page.ts"),
                    X = n("./src/UIExt/LTGame/UI_sign_box.ts"),
                    q = n("./src/UIExt/LTGame/UI_itemSeven.ts"),
                    J = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    Q = function () {
                        function e() {
                            _classCallCheck(this, e);
                        }
                        return _createClass(e, null, [{
                            key: "bindAll",
                            value: function () {
                                J.fairygui.UIObjectFactory.setPackageItemExtension(i.default.URL, i.default), J.fairygui.UIObjectFactory.setPackageItemExtension(a.default.URL, a.default), J.fairygui.UIObjectFactory.setPackageItemExtension(s.default.URL, s.default), J.fairygui.UIObjectFactory.setPackageItemExtension(r.default.URL, r.default), J.fairygui.UIObjectFactory.setPackageItemExtension(o.default.URL, o.default), J.fairygui.UIObjectFactory.setPackageItemExtension(u.default.URL, u.default), J.fairygui.UIObjectFactory.setPackageItemExtension(c.default.URL, c.default), J.fairygui.UIObjectFactory.setPackageItemExtension(l.default.URL, l.default), J.fairygui.UIObjectFactory.setPackageItemExtension(d.default.URL, d.default), J.fairygui.UIObjectFactory.setPackageItemExtension(h.default.URL, h.default), J.fairygui.UIObjectFactory.setPackageItemExtension(f.default.URL, f.default), J.fairygui.UIObjectFactory.setPackageItemExtension(_.default.URL, _.default), J.fairygui.UIObjectFactory.setPackageItemExtension(m.default.URL, m.default), J.fairygui.UIObjectFactory.setPackageItemExtension(g.default.URL, g.default), J.fairygui.UIObjectFactory.setPackageItemExtension(p.default.URL, p.default), J.fairygui.UIObjectFactory.setPackageItemExtension(v.default.URL, v.default), J.fairygui.UIObjectFactory.setPackageItemExtension(y.default.URL, y.default), J.fairygui.UIObjectFactory.setPackageItemExtension(k.default.URL, k.default), J.fairygui.UIObjectFactory.setPackageItemExtension(C.default.URL, C.default), J.fairygui.UIObjectFactory.setPackageItemExtension(I.default.URL, I.default), J.fairygui.UIObjectFactory.setPackageItemExtension(S.default.URL, S.default), J.fairygui.UIObjectFactory.setPackageItemExtension(L.default.URL, L.default), J.fairygui.UIObjectFactory.setPackageItemExtension(w.default.URL, w.default), J.fairygui.UIObjectFactory.setPackageItemExtension(U.default.URL, U.default), J.fairygui.UIObjectFactory.setPackageItemExtension(A.default.URL, A.default), J.fairygui.UIObjectFactory.setPackageItemExtension(b.default.URL, b.default), J.fairygui.UIObjectFactory.setPackageItemExtension(T.default.URL, T.default), J.fairygui.UIObjectFactory.setPackageItemExtension(G.default.URL, G.default), J.fairygui.UIObjectFactory.setPackageItemExtension(E.default.URL, E.default), J.fairygui.UIObjectFactory.setPackageItemExtension(x.default.URL, x.default), J.fairygui.UIObjectFactory.setPackageItemExtension(P.default.URL, P.default), J.fairygui.UIObjectFactory.setPackageItemExtension(M.default.URL, M.default), J.fairygui.UIObjectFactory.setPackageItemExtension(D.default.URL, D.default), J.fairygui.UIObjectFactory.setPackageItemExtension(R.default.URL, R.default), J.fairygui.UIObjectFactory.setPackageItemExtension(B.default.URL, B.default), J.fairygui.UIObjectFactory.setPackageItemExtension(O.default.URL, O.default), J.fairygui.UIObjectFactory.setPackageItemExtension(F.default.URL, F.default), J.fairygui.UIObjectFactory.setPackageItemExtension(V.default.URL, V.default), J.fairygui.UIObjectFactory.setPackageItemExtension(N.default.URL, N.default), J.fairygui.UIObjectFactory.setPackageItemExtension(H.default.URL, H.default), J.fairygui.UIObjectFactory.setPackageItemExtension(j.default.URL, j.default), J.fairygui.UIObjectFactory.setPackageItemExtension(Y.default.URL, Y.default), J.fairygui.UIObjectFactory.setPackageItemExtension(W.default.URL, W.default), J.fairygui.UIObjectFactory.setPackageItemExtension(K.default.URL, K.default), J.fairygui.UIObjectFactory.setPackageItemExtension(z.default.URL, z.default), J.fairygui.UIObjectFactory.setPackageItemExtension(X.default.URL, X.default), J.fairygui.UIObjectFactory.setPackageItemExtension(q.default.URL, q.default);
                            }
                        }]), e
                    }();
            },
            "./src/UIExt/LTGame/UI_AdInpageComp.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GComponent);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_img = this.getChildAt(1), this.m_icon = this.getChildAt(2), this.m_tag = this.getChildAt(3), this.m_title = this.getChildAt(4), this.m_desc = this.getChildAt(5);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("LTGame", "AdInpageComp")
                            }
                        }]), t
                    }();
                a.URL = "ui://75kiu87k92486w";
            },
            "./src/UIExt/LTGame/UI_CommonEndSliderADs.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GComponent);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_list = this.getChildAt(1);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("LTGame", "CommonEndSliderADs")
                            }
                        }]), t
                    }();
                a.URL = "ui://75kiu87kj9at6j";
            },
            "./src/UIExt/LTGame/UI_CommonLoad.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GComponent);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_big_bg = this.getChildAt(0), this.m_load = this.getChildAt(1);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("LTGame", "CommonLoad")
                            }
                        }]), t
                    }();
                a.URL = "ui://75kiu87kmhasc";
            },
            "./src/UIExt/LTGame/UI_CommonToast.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GComponent);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_toast = this.getChildAt(0);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("LTGame", "CommonToast")
                            }
                        }]), t
                    }();
                a.URL = "ui://75kiu87kovsy7";
            },
            "./src/UIExt/LTGame/UI_End3X3Ad.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GComponent);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_list = this.getChildAt(1);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("LTGame", "End3X3Ad")
                            }
                        }]), t
                    }();
                a.URL = "ui://75kiu87ki816ae";
            },
            "./src/UIExt/LTGame/UI_EndSlideGames.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GComponent);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_ad = this.getChildAt(0);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("LTGame", "EndSlideGames")
                            }
                        }]), t
                    }();
                a.URL = "ui://75kiu87kp2ld6k";
            },
            "./src/UIExt/LTGame/UI_FakeBanner_V.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GComponent);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_banner = this.getChildAt(0);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("LTGame", "FakeBanner_V")
                            }
                        }]), t
                    }();
                a.URL = "ui://75kiu87kovsy4";
            },
            "./src/UIExt/LTGame/UI_FakeInterstital.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GComponent);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_btn_close = this.getChildAt(2);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("LTGame", "FakeInterstital")
                            }
                        }]), t
                    }();
                a.URL = "ui://75kiu87kovsyb";
            },
            "./src/UIExt/LTGame/UI_FakeRewardVideo.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GComponent);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_btn_reward = this.getChildAt(1), this.m_btn_skip = this.getChildAt(3);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("LTGame", "FakeRewardVideo")
                            }
                        }]), t
                    }();
                a.URL = "ui://75kiu87kovsy9";
            },
            "./src/UIExt/LTGame/UI_FlyPanel.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GComponent);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_test = this.getChildAt(0);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("LTGame", "FlyPanel")
                            }
                        }]), t
                    }();
                a.URL = "ui://75kiu87kh75rf";
            },
            "./src/UIExt/LTGame/UI_GameCenter.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GComponent);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_topList = this.getChildAt(5), this.m_centerList = this.getChildAt(6), this.m_btn_close = this.getChildAt(7), this.m_anim_enter = this.getTransitionAt(0);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("LTGame", "GameCenter")
                            }
                        }]), t
                    }();
                a.URL = "ui://75kiu87kr3yg75";
            },
            "./src/UIExt/LTGame/UI_GameIconF.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GComponent);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_mask = this.getChildAt(0), this.m_icon = this.getChildAt(1), this.m_title = this.getChildAt(2);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("LTGame", "GameIconF")
                            }
                        }]), t
                    }();
                a.URL = "ui://75kiu87kr3yg7g";
            },
            "./src/UIExt/LTGame/UI_ImageBanner.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GComponent);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_bg = this.getChildAt(0), this.m_img_banner = this.getChildAt(1), this.m_img_icon = this.getChildAt(2), this.m_img_adnotice = this.getChildAt(3), this.m_btn_close = this.getChildAt(4);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("LTGame", "ImageBanner")
                            }
                        }]), t
                    }();
                a.URL = "ui://75kiu87kqdeh5t";
            },
            "./src/UIExt/LTGame/UI_Native320.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GComponent);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_img = this.getChildAt(0), this.m_tag = this.getChildAt(1), this.m_icon = this.getChildAt(2), this.m_title = this.getChildAt(3), this.m_desc = this.getChildAt(4), this.m_btn_close = this.getChildAt(5);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("LTGame", "Native320")
                            }
                        }]), t
                    }();
                a.URL = "ui://75kiu87kk7jc6i";
            },
            "./src/UIExt/LTGame/UI_NativeADNew.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GComponent);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_bg = this.getChildAt(0), this.m_img = this.getChildAt(1), this.m_icon = this.getChildAt(2), this.m_name = this.getChildAt(3), this.m_btn_close = this.getChildAt(4), this.m_detail = this.getChildAt(6);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("LTGame", "NativeADNew")
                            }
                        }]), t
                    }();
                a.URL = "ui://75kiu87kdthye6";
            },
            "./src/UIExt/LTGame/UI_NativeBanner.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GComponent);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_type = this.getControllerAt(0), this.m_bg = this.getChildAt(0), this.m_img = this.getChildAt(1), this.m_btn_close = this.getChildAt(3), this.m_name = this.getChildAt(4), this.m_detail = this.getChildAt(5), this.m_adGps = this.getChildAt(8);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("LTGame", "NativeBanner")
                            }
                        }]), t
                    }();
                a.URL = "ui://75kiu87kjb8rf9";
            },
            "./src/UIExt/LTGame/UI_NativeBigAd.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GComponent);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_img = this.getChildAt(0), this.m_tag = this.getChildAt(1), this.m_icon = this.getChildAt(2), this.m_title = this.getChildAt(3), this.m_desc = this.getChildAt(4), this.m_btn_close = this.getChildAt(5);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("LTGame", "NativeBigAd")
                            }
                        }]), t
                    }();
                a.URL = "ui://75kiu87kl2ax4k";
            },
            "./src/UIExt/LTGame/UI_NativeIcon.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GComponent);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_icon_img = this.getChildAt(0), this.m_icon_tip = this.getChildAt(1);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("LTGame", "NativeIcon")
                            }
                        }]), t
                    }();
                a.URL = "ui://75kiu87kh8ea5w";
            },
            "./src/UIExt/LTGame/UI_NativeIconLong.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GComponent);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_bg1 = this.getChildAt(0), this.m_ad = this.getChildAt(1), this.m_btn_close = this.getChildAt(2);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("LTGame", "NativeIconLong")
                            }
                        }]), t
                    }();
                a.URL = "ui://75kiu87kocvx6t";
            },
            "./src/UIExt/LTGame/UI_NativeInPage.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GComponent);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_bg1 = this.getChildAt(0), this.m_ad = this.getChildAt(1), this.m_btn_close = this.getChildAt(2);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("LTGame", "NativeInPage")
                            }
                        }]), t
                    }();
                a.URL = "ui://75kiu87k92486v";
            },
            "./src/UIExt/LTGame/UI_NativeInterstitalAd.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GComponent);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_type = this.getControllerAt(0), this.m_bg = this.getChildAt(1), this.m_img = this.getChildAt(2), this.m_icon = this.getChildAt(3), this.m_name = this.getChildAt(4), this.m_btn_close = this.getChildAt(5), this.m_show = this.getChildAt(7), this.m_close = this.getChildAt(8), this.m_close1 = this.getChildAt(9);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("LTGame", "NativeInterstitalAd")
                            }
                        }]), t
                    }();
                a.URL = "ui://75kiu87kdthyea";
            },
            "./src/UIExt/LTGame/UI_NativeInterstitalAd2.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GComponent);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_type = this.getControllerAt(0), this.m_bg = this.getChildAt(1), this.m_img = this.getChildAt(2), this.m_icon = this.getChildAt(3), this.m_btn_close = this.getChildAt(4), this.m_name = this.getChildAt(6), this.m_detail = this.getChildAt(7), this.m_ad = this.getChildAt(8), this.m_show = this.getChildAt(9), this.m_close = this.getChildAt(10), this.m_close1 = this.getChildAt(11);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("LTGame", "NativeInterstitalAd2")
                            }
                        }]), t
                    }();
                a.URL = "ui://75kiu87kdthyel";
            },
            "./src/UIExt/LTGame/UI_SideGames.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GComponent);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_show = this.getControllerAt(0), this.m_bg = this.getChildAt(0), this.m_btn_show = this.getChildAt(1), this.m_red = this.getChildAt(2), this.m_ads = this.getChildAt(3);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("LTGame", "SideGames")
                            }
                        }]), t
                    }();
                a.URL = "ui://75kiu87keq3z6e";
            },
            "./src/UIExt/LTGame/UI_Turnable_Pro1.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GComponent);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_bar = this.getChildAt(1);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("LTGame", "Turnable_Pro1")
                            }
                        }]), t
                    }();
                a.URL = "ui://75kiu87kcnd3e3";
            },
            "./src/UIExt/LTGame/UI_WxSideGames.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GComponent);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_ad0 = this.getChildAt(0), this.m_ad1 = this.getChildAt(1), this.m_ad2 = this.getChildAt(2), this.m_ad3 = this.getChildAt(3);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("LTGame", "WxSideGames")
                            }
                        }]), t
                    }();
                a.URL = "ui://75kiu87kr3yg7h";
            },
            "./src/UIExt/LTGame/UI_btn_normal.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GButton);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_t0 = this.getTransitionAt(0);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("LTGame", "btn_normal")
                            }
                        }]), t
                    }();
                a.URL = "ui://75kiu87kl2ax4l";
            },
            "./src/UIExt/LTGame/UI_disc.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GComponent);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_turn1 = this.getChildAt(1), this.m_turn2 = this.getChildAt(2), this.m_turn3 = this.getChildAt(3), this.m_turn4 = this.getChildAt(4), this.m_turn5 = this.getChildAt(5), this.m_turn6 = this.getChildAt(6);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("LTGame", "disc")
                            }
                        }]), t
                    }();
                a.URL = "ui://75kiu87kn3oabv";
            },
            "./src/UIExt/LTGame/UI_hot_game.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GButton);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_ic = this.getChildAt(1), this.m_anim_idle = this.getTransitionAt(0);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("LTGame", "hot_game")
                            }
                        }]), t
                    }();
                a.URL = "ui://75kiu87k74v84g";
            },
            "./src/UIExt/LTGame/UI_iconLongComp.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GComponent);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_icon = this.getChildAt(0), this.m_tag = this.getChildAt(1), this.m_title = this.getChildAt(2), this.m_desc = this.getChildAt(3);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("LTGame", "iconLongComp")
                            }
                        }]), t
                    }();
                a.URL = "ui://75kiu87k92486x";
            },
            "./src/UIExt/LTGame/UI_itemSeven.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GComponent);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_type = this.getControllerAt(0), this.m_icon = this.getChildAt(2);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("LTGame", "itemSeven")
                            }
                        }]), t
                    }();
                a.URL = "ui://75kiu87kwnyccz";
            },
            "./src/UIExt/LTGame/UI_item_game.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GComponent);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_icon = this.getChildAt(1), this.m_title = this.getChildAt(2), this.m_red = this.getChildAt(3);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("LTGame", "item_game")
                            }
                        }]), t
                    }();
                a.URL = "ui://75kiu87kr3yg7b";
            },
            "./src/UIExt/LTGame/UI_item_gameBig.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GComponent);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_icon = this.getChildAt(1), this.m_title = this.getChildAt(2), this.m_player = this.getChildAt(3), this.m_red = this.getChildAt(4);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("LTGame", "item_gameBig")
                            }
                        }]), t
                    }();
                a.URL = "ui://75kiu87kr3yg7d";
            },
            "./src/UIExt/LTGame/UI_item_gameSmall.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GComponent);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_icon = this.getChildAt(1), this.m_title = this.getChildAt(2), this.m_red = this.getChildAt(3), this.m_shake = this.getTransitionAt(0);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("LTGame", "item_gameSmall")
                            }
                        }]), t
                    }();
                a.URL = "ui://75kiu87kr3yg7i";
            },
            "./src/UIExt/LTGame/UI_showAd.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GButton);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_ani = this.getTransitionAt(0);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("LTGame", "showAd")
                            }
                        }]), t
                    }();
                a.URL = "ui://75kiu87kdthyef";
            },
            "./src/UIExt/LTGame/UI_side_ads.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GComponent);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_list = this.getChildAt(2), this.m_btn_return = this.getChildAt(3);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("LTGame", "side_ads")
                            }
                        }]), t
                    }();
                a.URL = "ui://75kiu87k74v84c";
            },
            "./src/UIExt/LTGame/UI_sign_box.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GComponent);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_c1 = this.getControllerAt(0), this.m_type = this.getControllerAt(1), this.m_icon = this.getChildAt(2), this.m_num = this.getChildAt(3);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("LTGame", "sign_box")
                            }
                        }]), t
                    }();
                a.URL = "ui://75kiu87kwnyccl";
            },
            "./src/UIExt/LTGame/UI_sign_page.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GComponent);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_backBtn = this.getChildAt(4), this.m_sign1 = this.getChildAt(5), this.m_sign2 = this.getChildAt(6), this.m_sign3 = this.getChildAt(7), this.m_sign4 = this.getChildAt(8), this.m_sign5 = this.getChildAt(9), this.m_sign6 = this.getChildAt(10), this.m_sign7 = this.getChildAt(11), this.m_signBtn = this.getChildAt(12), this.m_mvBtn = this.getChildAt(13);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("LTGame", "sign_page")
                            }
                        }]), t
                    }();
                a.URL = "ui://75kiu87kwnyccd";
            },
            "./src/UIExt/LTGame/UI_slideAds.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GComponent);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_list0 = this.getChildAt(0), this.m_list1 = this.getChildAt(1), this.m_list2 = this.getChildAt(2);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("LTGame", "slideAds")
                            }
                        }]), t
                    }();
                a.URL = "ui://75kiu87kp2ld6n";
            },
            "./src/UIExt/LTGame/UI_sliderADs.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GComponent);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_list = this.getChildAt(1);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("LTGame", "sliderADs")
                            }
                        }]), t
                    }();
                a.URL = "ui://75kiu87kulgb5x";
            },
            "./src/UIExt/LTGame/UI_tt_share.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GComponent);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_c1 = this.getControllerAt(0), this.m_shareBtn = this.getChildAt(3), this.m_closeBtn = this.getChildAt(4), this.m_jiep = this.getTransitionAt(0);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("LTGame", "tt_share")
                            }
                        }]), t
                    }();
                a.URL = "ui://75kiu87kjf7ad0";
            },
            "./src/UIExt/LTGame/UI_turntable_page.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GComponent);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_bg = this.getChildAt(0), this.m_bar = this.getChildAt(1), this.m_turn = this.getChildAt(2), this.m_closeBtn = this.getChildAt(3), this.m_mvBtn = this.getChildAt(4), this.m_gp = this.getChildAt(9), this.m_t0 = this.getTransitionAt(0), this.m_t1 = this.getTransitionAt(1);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("LTGame", "turntable_page")
                            }
                        }]), t
                    }();
                a.URL = "ui://75kiu87kn3oabt";
            },
            "./src/UIExt/LTGame/UI_turntable_reward.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GComponent);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_icon = this.getChildAt(0), this.m_num = this.getChildAt(1);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("LTGame", "turntable_reward")
                            }
                        }]), t
                    }();
                a.URL = "ui://75kiu87kn3oabx";
            },
            "./src/UIExt/LTGame/UI_view_fly_coin.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GComponent);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_icon = this.getChildAt(0);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("LTGame", "view_fly_coin")
                            }
                        }]), t
                    }();
                a.URL = "ui://75kiu87kh75rh";
            },
            "./src/UIExt/LTGame/UI_view_game_icon.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GComponent);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_mask = this.getChildAt(1), this.m_icon = this.getChildAt(2);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("LTGame", "view_game_icon")
                            }
                        }]), t
                    }();
                a.URL = "ui://75kiu87kbg001h";
            },
            "./src/UIExt/LTGame/UI_view_item_game.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GComponent);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_icon = this.getChildAt(1), this.m_text_name = this.getChildAt(2);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("LTGame", "view_item_game")
                            }
                        }]), t
                    }();
                a.URL = "ui://75kiu87kp2ld6o";
            },
            "./src/UIExt/LTGame/UI_view_item_game140.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GComponent);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_icon = this.getChildAt(0), this.m_text_name = this.getChildAt(1);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("LTGame", "view_item_game140")
                            }
                        }]), t
                    }();
                a.URL = "ui://75kiu87kp2ld6p";
            },
            "./src/UIExt/LTGame/UI_view_toast.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GComponent);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_toast_str = this.getChildAt(1), this.m_show = this.getTransitionAt(0);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("LTGame", "view_toast")
                            }
                        }]), t
                    }();
                a.URL = "ui://75kiu87kovsy8";
            },
            "./src/UIExt/LTUI.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return c
                    }
                });
                var i = n("./src/UIExt/UISrc/UI_CommomToastMediator.ts"),
                    a = n("./src/UIExt/UISrc/UI_CommonLoadMediator.ts"),
                    s = n("./src/UIExt/FGui/FGuiEx.ts"),
                    r = n("./src/UIExt/LTFly.ts"),
                    o = n("./src/UIExt/UISrc/UI_TurntableMediator.ts"),
                    u = n("./src/UIExt/UISrc/UI_CommonSignMediator.ts"),
                    c = function () {
                        function e() {
                            _classCallCheck(this, e);
                        }
                        return _createClass(e, null, [{
                            key: "Toast",
                            value: function (e) {
                                console.log("[Toast]" + e), i.default.instance.Show(e);
                            }
                        }, {
                            key: "checkLongUi",
                            value: function () {
                                return Laya.Browser.clientWidth / Laya.Browser.clientHeight < .5
                            }
                        }, {
                            key: "ShowLoading",
                            value: function (e) {
                                a.default.instance.isShow ? console.log("加载弹窗界面已打开") : a.default.instance.Show(e);
                            }
                        }, {
                            key: "FlyCoinsTo",
                            value: function () {
                                var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : s.EUILayer.Tip,
                                    t = arguments.length > 1 ? arguments[1] : void 0,
                                    n = arguments.length > 2 ? arguments[2] : void 0,
                                    i = arguments.length > 3 && void 0 !== arguments[3] ? arguments[3] : this.coinUrl(),
                                    a = arguments.length > 4 && void 0 !== arguments[4] ? arguments[4] : 10,
                                    o = arguments.length > 5 && void 0 !== arguments[5] ? arguments[5] : 1,
                                    u = arguments.length > 6 && void 0 !== arguments[6] ? arguments[6] : 60,
                                    c = !(arguments.length > 7 && void 0 !== arguments[7]) || arguments[7];
                                return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function s() {
                                    return regeneratorRuntime.wrap(function (s) {
                                        for (; ;) switch (s.prev = s.next) {
                                            case 0:
                                                return s.next = 2, r.LTFly.FlyCoins(e, t, n, i, a, o, u, c);
                                            case 2:
                                            case "end":
                                                return s.stop()
                                        }
                                    }, s)
                                }))
                            }
                        }, {
                            key: "HideLoading",
                            value: function () {
                                a.default.instance.Hide();
                            }
                        }, {
                            key: "hpImgUrl",
                            value: function () {
                                return "ui://kk7g5mmmolld4k"
                            }
                        }, {
                            key: "tipImgUrl",
                            value: function () {
                                return "ui://kk7g5mmmolld4h"
                            }
                        }, {
                            key: "coinUrl",
                            value: function () {
                                return "ui://kg0a5580koa3zx"
                            }
                        }, {
                            key: "zuanUrl",
                            value: function () {
                                return "ui://kk7g5mmmi62hg7"
                            }
                        }, {
                            key: "getGenaralColor",
                            value: function (e) {
                                switch (e) {
                                    case 0:
                                        return "#3FA2FF";
                                    case 1:
                                        return "#DB41ED";
                                    case 2:
                                        return "#FFCF4C";
                                    case 3:
                                        return "#EB0805"
                                }
                            }
                        }, {
                            key: "ShowSignUI",
                            value: function (e) {
                                u.default.instance.Show(e);
                            }
                        }, {
                            key: "ShowRoll",
                            value: function (e) {
                                o.default.instance.Show(e);
                            }
                        }]), e
                    }();
                Laya.Browser.window && (Laya.Browser.window.LTUI = c);
            },
            "./src/UIExt/UISrc/Cmp/NativeADNew.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return d
                    }
                });
                var i = n("./src/LTGame/Manager/MesManager.ts"),
                    a = n("./src/LTGame/Platform/EPlatformType.ts"),
                    s = n("./src/LTGame/Platform/LTPlatform.ts"),
                    r = n("./src/script/common/OppoUtils.ts"),
                    o = n("./src/script/common/TimeUtils.ts"),
                    u = n("./src/script/enum/EEventUI.ts"),
                    c = n("./src/UIExt/LTGame/UI_NativeADNew.ts"),
                    l = n("./src/UIExt/LTGame/UI_NativeBanner.ts"),
                    d = function () {
                        function e(t, n) {
                            _classCallCheck(this, e), this.ui = t, this.showAdBtn = n, this.ui.m_btn_close.onClick(this, this._onclose), this.ui.onClick(this, this._OnClickAD), this.ui.visible = !1, this._setData();
                        }
                        return _createClass(e, [{
                            key: "_setData",
                            value: function () {
                                var e = arguments.length > 0 && void 0 !== arguments[0] && arguments[0];
                                try {
                                    this._adData = r.default.getAdData(e), console.log("NativeADNew getData", this._adData), this._adData && this._adData.data && this.ui ? (console.log("setData", this._adData.data), this.ui.m_name.text = this._adData.data.title, this.ui.m_img.url = this._adData.data.imgUrlList[0] || this._adData.data.iconUrlList[0], this.ui.m_detail.text = this._adData.data.desc, this.ui.visible = !0, console.log("reportAdShow", this._adData.data.adId), !this._adData.data.click_reported && this._adData.nativeAd.reportAdShow({
                                        adId: this._adData.data.adId
                                    }), this.showAdBtn && (this.showAdBtn.visible = !0), i.default.instance.eventUI(u.EEventUI.oppohaveAd)) : i.default.instance.eventUI(u.EEventUI.oppoNoAd);
                                } catch (e) {
                                    console.error(e);
                                }
                            }
                        }, {
                            key: "checkHaveData",
                            value: function () {
                                return !!this._adData
                            }
                        }, {
                            key: "_OnClickAD",
                            value: function () {
                                console.log("reportAdClick", this._adData.data.adId), this._adData.nativeAd.reportAdClick({
                                    adId: this._adData.data.adId
                                }), r.default.destroyAd(), this._setData(!0);
                            }
                        }, {
                            key: "_onclose",
                            value: function (t) {
                                e.closeTimes++, e.onCloseTime = o.default.now, t.stopPropagation(), this.onClose(), this.destroy();
                            }
                        }, {
                            key: "onClose",
                            value: function () {
                                this.ui && (this.ui.visible = !1);
                            }
                        }, {
                            key: "onClick",
                            value: function () {
                                this._OnClickAD();
                            }
                        }, {
                            key: "destroy",
                            value: function () {
                                o.default.clearAll(this), this.ui && (this.ui.m_btn_close && this.ui.m_btn_close.offClick(this, this._onclose), this.ui.offClick(this, this._OnClickAD), this.ui.visible = !1), this.showAdBtn && (this.showAdBtn.visible = !1, this.showAdBtn = null), this._adData && this._adData.nativeAd && (this._adData.data.click_reported = !0, this._adData.nativeAd.destroy && Date.now() - this._adData.data.loadTime >= 6e4 && r.default.destroyAd()), this._adData = null, this.ui = null;
                            }
                        }], [{
                            key: "createNative",
                            value: function (t) {
                                var n, i = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : 0,
                                    r = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : 200,
                                    o = arguments.length > 3 ? arguments[3] : void 0;
                                if (s.default.instance.platform == a.EPlatformType.Vivo) return this.nowAd = this.createCustomAd(i), this.nowAd;
                                if (s.default.instance.platform != a.EPlatformType.Oppo && s.default.instance.platform != a.EPlatformType.Vivo) return console.log("native_iconLong已隐藏,只有oppo平台支持"), null;
                                r >= 400 ? n = c.default.createInstance() : (n = l.default.createInstance(), r < 200 && r >= 150 ? (n.m_type.selectedIndex = 1, n.height = 150) : r < 150 && r >= 100 && (n.m_type.selectedIndex = 2, n.height = 100));
                                var u = new e(n, o);
                                return t.addChild(n), n.x = (t.width - n.width) / 2, n.y = 0 == i ? t.height - n.height : Laya.stage.height > 1440 ? 100 : 0, this.nowAd = u, u
                            }
                        }, {
                            key: "checkHaveData",
                            value: function () {
                                return !(!this.nowAd || !this.nowAd.checkHaveData) && this.nowAd.checkHaveData()
                            }
                        }, {
                            key: "clickAd",
                            value: function () {
                                this.nowAd && this.nowAd.onClick && this.nowAd.onClick();
                            }
                        }, {
                            key: "hideAd",
                            value: function () {
                                this.nowAd && this.nowAd.destroy && this.nowAd.destroy(), this.nowAd = null, s.default.instance.HideBannerAd();
                            }
                        }, {
                            key: "createCustomAd",
                            value: function (t) {
                                var n = {};
                                t && (n = {
                                    top: 0
                                });
                                var a = s.default.instance.base.createCustomAd({
                                    posId: s.default.instance.platformData.nativeBannerIds[0],
                                    style: n
                                });
                                return a.onError(function (e) {
                                    i.default.instance.eventUI(u.EEventUI.oppoNoAd);
                                }), a.onClose(function () {
                                    console.log("原生模板广告关闭"), e.onCloseTime = o.default.now, i.default.instance.eventUI(u.EEventUI.onCloseBanner);
                                }), a.show().then(function () {
                                    i.default.instance.eventUI(u.EEventUI.oppohaveAd), console.log("原生模板广告展示完成");
                                }).catch(function (e) {
                                    console.log("原生模板广告展示失败", JSON.stringify(e)), i.default.instance.eventUI(u.EEventUI.oppoNoAd);
                                }), a
                            }
                        }]), e
                    }();
                d.closeTimes = 0, d.onCloseTime = 0;
            },
            "./src/UIExt/UISrc/Cmp/View_NativeInterstitalAdNew.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return m
                    }
                });
                var i = n("./src/LTGame/Manager/MesManager.ts"),
                    a = n("./src/LTGame/Platform/EPlatformType.ts"),
                    s = n("./src/LTGame/Platform/LTPlatform.ts"),
                    r = n("./src/LTGame/SDK/common/ECheckState.ts"),
                    o = n("./src/LTGame/SDK/LTSDK.ts"),
                    u = n("./src/script/common/MMUnit.ts"),
                    c = n("./src/script/common/OppoUtils.ts"),
                    l = n("./src/UIExt/FGui/FGuiEx.ts"),
                    d = n("./src/UIExt/LTGame/UI_NativeInterstitalAd2.ts"),
                    h = n("./src/UIExt/LTUI.ts"),
                    f = n("./src/script/common/VivopNativeADUtil.ts"),
                    _ = n("./src/script/enum/EEventUI.ts"),
                    m = function () {
                        function e() {
                            _classCallCheck(this, e), this.isLoadData = !1, this.isShowView = !1;
                        }
                        return _createClass(e, [{
                            key: "initALl",
                            value: function (e) {
                                this.ui && this.ui.dispose(), this._cacheNativeAd && this._cacheNativeAd.destroy && this._cacheNativeAd.destroy(), e.m_show.visible = !1, this._cacheNativeAd = null, this._ui = e, this.isShowView = !0, console.log("展示插屏,id:" + this._cacheId), this._Init(), this.ui.m_show.onClick(this, this.ClickAd), this.ui.m_btn_close.onClick(this, this.clickClose), this.ui.m_img.onClick(this, this.ClickAd), this.ui.m_close.onClick(this, this.clickWudian), this.ui.m_show.visible = this.ui.m_close.visible = !1;
                            }
                        }, {
                            key: "_Init",
                            value: function () {
                                return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                    var t;
                                    return regeneratorRuntime.wrap(function (e) {
                                        for (; ;) switch (e.prev = e.next) {
                                            case 0:
                                                if (s.default.instance.base) {
                                                    e.next = 2;
                                                    break
                                                }
                                                return e.abrupt("return");
                                            case 2:
                                                this.visible = !1, this.ui.visible = !1, (t = s.default.instance.platform == a.EPlatformType.Oppo ? c.default.getAdData() : f.default.ins.getAd()) ? (this._cacheAdData = t.data, this._cacheNativeAd = t.nativeAd, this.showView(), i.default.instance.eventUI(_.EEventUI.interstitalAdShow)) : this.dispose();
                                            case 6:
                                            case "end":
                                                return e.stop()
                                        }
                                    }, e, this)
                                }))
                            }
                        }, {
                            key: "clickWudian",
                            value: function () {
                                this.clickClose();
                            }
                        }, {
                            key: "vivoGetAd",
                            value: function () {
                                var e = this,
                                    t = s.default.instance.base.createNativeAd({
                                        adUnitId: this._cacheId
                                    });
                                this.visible = !1, this._cacheNativeAd = t, t.onLoad(function (t) {
                                    var n;
                                    console.log("加载成功", t), t && t.adList && (e._cacheAdData = t.adList.pop(), e.visible = !0, !n && e._cacheAdData.imgUrlList.length && (n = e._cacheAdData.imgUrlList[0]), e.ui.m_img.url = n, e.ui.m_name.text = e._cacheAdData.title, e.showBtn(), e.delay(), e._cacheNativeAd.reportAdShow({
                                        adId: e._cacheAdData.adId
                                    }), console.log("插屏展示成功插屏", e._cacheAdData));
                                }), t.onError(function (e) {
                                    console.log("原生广告加载异常", e);
                                });
                            }
                        }, {
                            key: "showBtn",
                            value: function () {
                                this.checkHaveShowAdBtn() ? (this._ui.m_show.visible = !0, this._ui.m_show.m_ani.play(null, -1)) : this._ui.m_show.visible = !1;
                            }
                        }, {
                            key: "checkHaveShowAdBtn",
                            value: function () {
                                return !0
                            }
                        }, {
                            key: "getTempData",
                            value: function () {
                                var e = this;
                                if (console.log("getTempData"), this._cacheAdData && this.isShowView) this.showView();
                                else if (!this.isLoadData) {
                                    console.log("执行getTempData"), this.isLoadData = !0;
                                    var t = s.default.instance.base.createNativeAd({
                                        adUnitId: this._cacheId
                                    });
                                    this._cacheNativeAd = t, t.onLoad(function (t) {
                                        e.isLoadData = !1, console.log("加载成功", t), t && t.adList && (e._cacheAdData = t.adList.pop(), console.log("插屏数据获得", e._cacheAdData), e.isShowView && e.showView());
                                    }), t.onError(function (t) {
                                        e.isLoadData = !1, console.log("原生广告加载异常", t), e.isShowView && e.dispose();
                                    });
                                }
                            }
                        }, {
                            key: "showView",
                            value: function () {
                                var e;
                                this._cacheAdData && (this.visible = !0, e = this._cacheAdData.imgUrlList[0] || this._cacheAdData.icon[0], this.ui.m_img.url = e, this.ui.m_name.text = this._cacheAdData.title, this.ui.m_detail.text = this._cacheAdData.desc, !this._cacheAdData.click_reported && this._cacheNativeAd.reportAdShow({
                                    adId: this._cacheAdData.adId
                                }), console.log("插屏展示成功插屏", this._cacheAdData));
                            }
                        }, {
                            key: "delay",
                            value: function () {
                                var e = this,
                                    t = 0,
                                    n = u.default.getValueByName("wzyanchi");
                                n && (t = n), t ? (this.ui.m_close.visible = !1, Laya.timer.once(1e3 * t, this, function () {
                                    return e.ui.m_close.visible = !0
                                })) : this.ui.m_close.visible = !0;
                            }
                        }, {
                            key: "_OnClickAd",
                            value: function () {
                                this.ClickAd();
                            }
                        }, {
                            key: "clickClose",
                            value: function () {
                                try {
                                    this.dispose();
                                } catch (e) {
                                    console.error(e);
                                }
                            }
                        }, {
                            key: "dispose",
                            value: function () {
                                this.isShowView = !1, this._cacheAdData && this._cacheNativeAd && (this._cacheAdData.click_reported = !0, this._cacheNativeAd.destroy && Date.now() - this._cacheAdData.loadTime >= 6e4 && c.default.destroyAd()), this._cacheNativeAd = null, this._cacheAdData = null, this._ui && (this.ui.m_show.offClick(this, this.ClickAd), this.ui.m_btn_close.offClick(this, this.clickClose), this.ui.m_img.offClick(this, this.ClickAd), this.ui.m_close.offClick(this, this.clickWudian), this._ui.parent && this.ui.removeFromParent(), this._ui.dispose(), this._ui = null, this._cacheAdData = null, this._cacheNativeAd = null), i.default.instance.eventUI(_.EEventUI.interstitalAdHide);
                            }
                        }, {
                            key: "ClickAd",
                            value: function () {
                                console.log("点击Icon", this._cacheAdData), this._cacheAdData ? (this._cacheNativeAd.reportAdClick({
                                    adId: this._cacheAdData.adId
                                }), this._Init()) : (this.ui.visible = !1, h.default.Toast("暂时没有广告"));
                            }
                        }, {
                            key: "ui",
                            get: function () {
                                return this._ui
                            }
                        }, {
                            key: "visible",
                            get: function () {
                                return this.ui.visible
                            },
                            set: function (e) {
                                this.ui.visible = e;
                            }
                        }], [{
                            key: "show",
                            value: function () {
                                return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                    var t;
                                    return regeneratorRuntime.wrap(function (e) {
                                        for (; ;) switch (e.prev = e.next) {
                                            case 0:
                                                if (console.log("原生插屏展示"), s.default.instance.platform == a.EPlatformType.Oppo) {
                                                    e.next = 4;
                                                    break
                                                }
                                                return console.log("native_iconLong已隐藏,只有oppo平台支持"), e.abrupt("return", null);
                                            case 4:
                                                if (o.default.instance.checkState != r.ECheckState.InCheck) {
                                                    e.next = 7;
                                                    break
                                                }
                                                return console.log("native_iconLong已隐藏,审核"), e.abrupt("return", null);
                                            case 7:
                                                return u.default.getValueByName("adCdTime"), t = d.default.createInstance(), l.default.adLayer.addChild(t), t.setSize(Laya.stage.width, Laya.stage.height), this.ins.initALl(t), e.abrupt("return", this.ins);
                                            case 13:
                                            case "end":
                                                return e.stop()
                                        }
                                    }, e, this)
                                }))
                            }
                        }, {
                            key: "ins",
                            get: function () {
                                return this._ins || (this._ins = new e, this._ins._cacheId = s.default.instance.platformData.nativeBannerIds[1]), this._ins
                            }
                        }]), e
                    }();
            },
            "./src/UIExt/UISrc/Data/SignOpenData.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return i
                    }
                });
                var i = function e() {
                    _classCallCheck(this, e), this.currentDayCount = null, this.isSigned = null, this.iconPaths = [], this.rewardStrs = ["50", "100", "150", "250", "300", "350", "500"], this.onClose = null;
                };
            },
            "./src/UIExt/UISrc/UI_CommomToastMediator.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return u
                    }
                });
                var i = n("./src/UIExt/FGui/BaseUIMediator.ts"),
                    a = n("./src/UIExt/FGui/FGuiData.ts"),
                    s = n("./src/UIExt/FGui/FGuiEx.ts"),
                    r = n("./src/UIExt/LTGame/UI_CommonToast.ts"),
                    o = n("./src/UIExt/LTGame/UI_view_toast.ts"),
                    u = function (e) {
                        function t() {
                            var e;
                            return _classCallCheck(this, t), (e = n.apply(this, arguments))._layer = s.EUILayer.Tip, e.objTips = [], e
                        }
                        _inherits(t, i.default);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "Show",
                            value: function () {
                                var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : null;
                                return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function t() {
                                    var n;
                                    return regeneratorRuntime.wrap(function (t) {
                                        for (; ;) switch (t.prev = t.next) {
                                            case 0:
                                                this._openParam = e, null == this._ui && (n = new a.default, this._ui = s.default.AddUI(this._classDefine, n, this._layer), this._ui.sortingOrder = Number.MAX_SAFE_INTEGER, this.ui.m_toast.visible = !1, this._OnShow()), this._DoToast(this._openParam);
                                            case 3:
                                            case "end":
                                                return t.stop()
                                        }
                                    }, t, this)
                                }))
                            }
                        }, {
                            key: "_DoToast",
                            value: function (e) {
                                var t = o.default.createInstance();
                                this.ui.addChild(t), t.setXY(this.ui.m_toast.x, this.ui.m_toast.y), t.m_toast_str.text = e, t.m_show.play(Laya.Handler.create(this, function () {
                                    t.dispose();
                                }));
                            }
                        }, {
                            key: "showTiPs",
                            value: function (e) {
                                var t = this;
                                if (null == this._ui) {
                                    var n = new a.default;
                                    this._ui = s.default.AddUI(this._classDefine, n, this._layer), this._ui.sortingOrder = Number.MAX_SAFE_INTEGER, this.ui.m_toast.visible = !1, this._OnShow();
                                }
                                this.objTips.forEach(function (t) {
                                    t.y -= e.height + 10;
                                }), this.ui.addChild(e), this.objTips.push(e), e.setXY((this.ui.width - e.width) / 2, this.ui.m_toast.y), Laya.timer.once(3e3, this, function () {
                                    var n = t.objTips.indexOf(e);
                                    n > -1 && t.objTips.splice(n, 1), e.dispose();
                                });
                            }
                        }, {
                            key: "Hide",
                            value: function () {
                                !(arguments.length > 0 && void 0 !== arguments[0]) || arguments[0];
                            }
                        }], [{
                            key: "instance",
                            get: function () {
                                return null == this._instance && (this._instance = new t, this._instance._classDefine = r.default), this._instance
                            }
                        }]), t
                    }();
            },
            "./src/UIExt/UISrc/UI_CommonLoadMediator.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return r
                    }
                });
                var i = n("./src/UIExt/FGui/BaseUIMediator.ts"),
                    a = n("./src/UIExt/FGui/FGuiEx.ts"),
                    s = n("./src/UIExt/LTGame/UI_CommonLoad.ts"),
                    r = function (e) {
                        function t() {
                            var e;
                            return _classCallCheck(this, t), (e = n.apply(this, arguments))._layer = a.EUILayer.Popup, e._needLoadPanel = !1, e._needCloseAni = !1, e._needOpenAni = !1, e
                        }
                        _inherits(t, i.default);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "_OnShow",
                            value: function () {
                                var e = this;
                                _get(_getPrototypeOf(t.prototype), "_OnShow", this).call(this), this._sortOrder = Number.MAX_SAFE_INTEGER, Laya.timer.once(5e3, this, function () {
                                    e._isShow && (e.Hide(), e._openParam && e._openParam.run(), e._openParam = null);
                                });
                            }
                        }], [{
                            key: "instance",
                            get: function () {
                                return null == this._instance && (this._instance = new t, this._instance._classDefine = s.default), this._instance
                            }
                        }]), t
                    }();
            },
            "./src/UIExt/UISrc/UI_CommonSignMediator.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return c
                    }
                });
                var i = n("./src/LTGame/Commom/CommonSaveData.ts"),
                    a = n("./src/LTGame/Platform/LTPlatform.ts"),
                    s = n("./src/UIExt/FGui/BaseUIMediator.ts"),
                    r = n("./src/UIExt/LTGame/UI_sign_page.ts"),
                    o = n("./src/UIExt/LTUI.ts"),
                    u = n("./src/UIExt/UISrc/Data/SignOpenData.ts"),
                    c = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.apply(this, arguments)
                        }
                        _inherits(t, s.default);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "_OnShow",
                            value: function () {
                                if (_get(_getPrototypeOf(t.prototype), "_OnShow", this).call(this), this._openData = new u.default, null == this._openParam) console.error("请传入SignOpenData用于初始化签到界面");
                                else
                                    for (var e in this._openParam) this._openData[e] = this._openParam[e];
                                this.ui.m_backBtn.onClick(this, this._OnClickClose), this.ui.m_mvBtn.onClick(this, this._OnClickDoubleGet), this.ui.m_signBtn.onClick(this, this._OnClickNormalGet), this._UpdateUI(), a.default.instance.ShowBannerAd();
                            }
                        }, {
                            key: "_UpdateUI",
                            value: function () {
                                var e = i.default.instance.isSigned;
                                null != this._openData.isSigned && (e = this._openData.isSigned), this.ui.m_signBtn.enabled = !e;
                                var t = i.default.instance.signDayCount;
                                null != this._openData.currentDayCount && (t = this._openData.currentDayCount);
                                for (var n = t % 7, a = [this.ui.m_sign1, this.ui.m_sign2, this.ui.m_sign3, this.ui.m_sign4, this.ui.m_sign5, this.ui.m_sign6, this.ui.m_sign7], s = 0; s < 6; s++) {
                                    var r = a[s];
                                    r && (this._openData.iconPaths && this._openData.iconPaths[s] && (r.m_icon.url = this._openData.iconPaths[s]), s < n || 0 == n && e ? (r.m_type.selectedIndex = 1, r.enabled = !1) : (r.m_type.selectedIndex = 2, r.enabled = !0), r.m_num.text = this._openData.rewardStrs[s]);
                                }
                                this._openData.iconPaths && this._openData.iconPaths[6] && (this.ui.m_sign7.m_icon.url = this._openData.iconPaths[6]), 0 == n && e ? (this.ui.m_sign7.m_type.selectedIndex = 1, this.ui.m_sign7.enabled = !1) : (this.ui.m_sign7.m_type.selectedIndex = 2, this.ui.m_sign7.enabled = !0), e || (this._cacheRewardItem = 0 != n ? a[n - 1] : this.ui.m_sign7, this._cacheRewardItem.m_type.selectedIndex = 0, this._cacheRewardItem.enabled = !0);
                            }
                        }, {
                            key: "_OnClickNormalGet",
                            value: function () {
                                i.default.instance.isSigned = !0, i.default.instance.signDayCount++, i.default.SaveToDisk(), this._openData.onClose && this._openData.onClose.runWith([1, this._cacheRewardItem.m_icon, (i.default.instance.signDayCount - 1) % 7]), this.Hide();
                            }
                        }, {
                            key: "_OnClickDoubleGet",
                            value: function () {
                                return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                    return regeneratorRuntime.wrap(function (e) {
                                        for (; ;) switch (e.prev = e.next) {
                                            case 0:
                                                return e.next = 2, a.default.instance.ShowRewardVideoAdAsync();
                                            case 2:
                                                e.sent ? (i.default.instance.isSigned = !0, i.default.instance.signDayCount++, i.default.SaveToDisk(), this._openData.onClose && this._openData.onClose.runWith([2, this._cacheRewardItem.m_icon, (i.default.instance.signDayCount - 1) % 7]), this.Hide()) : o.default.Toast("跳过广告无法获得奖励");
                                            case 4:
                                            case "end":
                                                return e.stop()
                                        }
                                    }, e, this)
                                }))
                            }
                        }, {
                            key: "_OnClickClose",
                            value: function () {
                                this._openData.onClose && this._openData.onClose.runWith(0), this.Hide();
                            }
                        }, {
                            key: "_OnHide",
                            value: function () {
                                this.ui.m_backBtn.offClick(this, this._OnClickClose), this.ui.m_mvBtn.offClick(this, this._OnClickDoubleGet), this.ui.m_signBtn.offClick(this, this._OnClickNormalGet), a.default.instance.HideBannerAd();
                            }
                        }], [{
                            key: "instance",
                            get: function () {
                                return null == this._instance && (this._instance = new t, this._instance._classDefine = r.default), this._instance
                            }
                        }]), t
                    }();
            },
            "./src/UIExt/UISrc/UI_FakeBannerVMediator.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return r
                    }
                });
                var i = n("./src/UIExt/FGui/BaseUIMediator.ts"),
                    a = n("./src/UIExt/FGui/FGuiEx.ts"),
                    s = n("./src/UIExt/LTGame/UI_FakeBanner_V.ts"),
                    r = function (e) {
                        function t() {
                            var e;
                            return _classCallCheck(this, t), (e = n.apply(this, arguments))._layer = a.EUILayer.Tip, e
                        }
                        _inherits(t, i.default);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "_OnShow",
                            value: function () {
                                _get(_getPrototypeOf(t.prototype), "_OnShow", this).call(this), this._sortOrder = Number.MAX_SAFE_INTEGER;
                            }
                        }], [{
                            key: "instance",
                            get: function () {
                                return null == this._instance && (this._instance = new t, this._instance._classDefine = s.default), this._instance
                            }
                        }]), t
                    }();
            },
            "./src/UIExt/UISrc/UI_FakeInterstitalMediator.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return r
                    }
                });
                var i = n("./src/UIExt/FGui/BaseUIMediator.ts"),
                    a = n("./src/UIExt/FGui/FGuiEx.ts"),
                    s = n("./src/UIExt/LTGame/UI_FakeInterstital.ts"),
                    r = function (e) {
                        function t() {
                            var e;
                            return _classCallCheck(this, t), (e = n.apply(this, arguments))._layer = a.EUILayer.Tip, e
                        }
                        _inherits(t, i.default);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "_OnShow",
                            value: function () {
                                _get(_getPrototypeOf(t.prototype), "_OnShow", this).call(this), this._closeHandle = this._openParam, this._sortOrder = Number.MAX_SAFE_INTEGER, this.ui.m_btn_close.onClick(this, this._OnClickClose);
                            }
                        }, {
                            key: "_OnClickClose",
                            value: function () {
                                this.Hide(), this._closeHandle && (this._closeHandle.run(), this._closeHandle = null);
                            }
                        }], [{
                            key: "instance",
                            get: function () {
                                return null == this._instance && (this._instance = new t, this._instance._classDefine = s.default), this._instance
                            }
                        }]), t
                    }();
            },
            "./src/UIExt/UISrc/UI_FakeRewardADMediator.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return r
                    }
                });
                var i = n("./src/UIExt/FGui/BaseUIMediator.ts"),
                    a = n("./src/UIExt/FGui/FGuiEx.ts"),
                    s = n("./src/UIExt/LTGame/UI_FakeRewardVideo.ts"),
                    r = function (e) {
                        function t() {
                            var e;
                            return _classCallCheck(this, t), (e = n.apply(this, arguments))._layer = a.EUILayer.Tip, e
                        }
                        _inherits(t, i.default);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "_OnShow",
                            value: function () {
                                _get(_getPrototypeOf(t.prototype), "_OnShow", this).call(this), this._sortOrder = Number.MAX_SAFE_INTEGER, this._rewardHandle = this._openParam[0], this._skipHandle = this._openParam[1], this.ui.m_btn_reward.onClick(this, this._OnClickReward), this.ui.m_btn_skip.onClick(this, this._OnClickSkip);
                            }
                        }, {
                            key: "_OnClickReward",
                            value: function () {
                                this.Hide(), this._rewardHandle && (this._rewardHandle.run(), this._rewardHandle = null);
                            }
                        }, {
                            key: "_OnClickSkip",
                            value: function () {
                                this.Hide(), this._skipHandle && (this._skipHandle.run(), this._skipHandle = null);
                            }
                        }], [{
                            key: "instance",
                            get: function () {
                                return null == this._instance && (this._instance = new t, this._instance._classDefine = s.default), this._instance
                            }
                        }]), t
                    }();
            },
            "./src/UIExt/UISrc/UI_FlyPanelMediator.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return r
                    }
                });
                var i = n("./src/UIExt/FGui/BaseUIMediator.ts"),
                    a = n("./src/UIExt/LTGame/UI_FlyPanel.ts"),
                    s = n("./src/UIExt/FGui/FGuiEx.ts"),
                    r = function (e) {
                        function t() {
                            var e;
                            return _classCallCheck(this, t), (e = n.apply(this, arguments))._layer = s.EUILayer.Tip, e
                        }
                        _inherits(t, i.default);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "_OnShow",
                            value: function () {
                                _get(_getPrototypeOf(t.prototype), "_OnShow", this).call(this), this._sortOrder = Number.MAX_SAFE_INTEGER - 1, this.ui.touchable = !1, this.ui.m_test.dispose();
                            }
                        }], [{
                            key: "instance",
                            get: function () {
                                return null == this._instance && (this._instance = new t, this._instance._classDefine = a.default), this._instance
                            }
                        }]), t
                    }();
            },
            "./src/UIExt/UISrc/UI_GameCenterMediator.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    UI_GameCenterMediator: function () {
                        return u
                    }
                });
                var i = n("./src/UIExt/FGui/BaseUIMediator.ts"),
                    a = n("./src/LTGame/SDK/LTSDK.ts"),
                    s = n("./src/LTGame/Platform/LTPlatform.ts"),
                    r = n("./src/UIExt/LTGame/UI_item_gameBig.ts"),
                    o = n("./src/UIExt/LTGame/UI_GameCenter.ts"),
                    u = function (e) {
                        function t() {
                            var e;
                            return _classCallCheck(this, t),
                                (e = n.apply(this, arguments))._posId = 5, e
                        }
                        _inherits(t, i.default);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "_OnShow",
                            value: function () {
                                var e = this;
                                if (_get(_getPrototypeOf(t.prototype), "_OnShow", this).call(this), this.cacheAds = a.default.instance.adManager.GetADListByLocationId(this._posId), !this.cacheAds) return console.error("获取广告ID失败GameCenter"), void this.Hide();
                                this.ui.m_topList.setVirtualAndLoop(), this.ui.m_topList.itemRenderer = Laya.Handler.create(this, this.renderItem, null, !1), this.ui.m_topList.on(fgui.Events.CLICK_ITEM, this, this.clickItem), this.ui.m_topList.numItems = this.cacheAds.length, this.ui.m_topList.refreshVirtualList(), Laya.timer.loop(5e3, this, function () {
                                    e.ui.m_topList.scrollPane.scrollRight(1.15625, !0);
                                }), this.ui.m_centerList.setVirtual(), this.ui.m_centerList.itemRenderer = Laya.Handler.create(this, this.renderItem, null, !1), this.ui.m_centerList.on(fgui.Events.CLICK_ITEM, this, this.clickItem), this.ui.m_centerList.numItems = this.cacheAds.length, this.ui.m_centerList.refreshVirtualList(), Laya.timer.loop(100, this, function () {
                                    e.ui.m_centerList.scrollPane.scrollDown(.005, !0);
                                }), this.ui.m_btn_close.onClick(this, this.Hide), this.ui.m_btn_close.visible = !1, Laya.timer.once(3e3, this, function () {
                                    e.ui.m_btn_close.visible = !0;
                                });
                                var n = [];
                                this.cacheAds.forEach(function (t) {
                                    var i = {};
                                    i.ad_id = t.ad_id, i.location_id = e._posId, i.num = 1, n.push(i);
                                });
                            }
                        }, {
                            key: "clickItem",
                            value: function (e) {
                                var t = e.data.id,
                                    n = e.data.path,
                                    i = e.data.adid;
                                s.default.instance.NavigateToApp(t, n, null, !1, !1, i);
                            }
                        }, {
                            key: "renderItem",
                            value: function (e, t) {
                                var n = this.cacheAds[e],
                                    i = {
                                        id: n.ad_appid,
                                        path: n.ad_path,
                                        adid: n.ad_id
                                    };
                                t.data = i, t.m_title.text = n.ad_name, t.m_icon.m_icon.url = n.ad_img, t.m_red.visible = 1 == n.ad_dot, t instanceof r.default && (t.m_player.text = "".concat(n.ad_count, "人玩"));
                            }
                        }, {
                            key: "_OnHide",
                            value: function () { }
                        }, {
                            key: "ui",
                            get: function () {
                                return this._ui
                            }
                        }], [{
                            key: "instance",
                            get: function () {
                                return null == this._instance && (this._instance = new t, this._instance._classDefine = o.default), this._instance
                            }
                        }]), t
                    }();
            },
            "./src/UIExt/UISrc/UI_ImageBannerMediator.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    FakeBannerData: function () {
                        return u
                    },
                    default: function () {
                        return o
                    }
                });
                var i = n("./src/UIExt/FGui/BaseUIMediator.ts"),
                    a = n("./src/LTGame/Platform/LTPlatform.ts"),
                    s = n("./src/UIExt/LTGame/UI_ImageBanner.ts"),
                    r = n("./src/UIExt/FGui/FGuiEx.ts"),
                    o = function (e) {
                        function t() {
                            var e;
                            return _classCallCheck(this, t), (e = n.apply(this, arguments))._layer = r.EUILayer.Tip, e
                        }
                        _inherits(t, i.default);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "_OnShow",
                            value: function () {
                                _get(_getPrototypeOf(t.prototype), "_OnShow", this).call(this), this._sortOrder = 500, this._fakeBannerData = this._openParam, this.ui.m_img_banner.url = this._fakeBannerData.imgPath, this.ui.m_img_adnotice.url = this._fakeBannerData.noticePath, this.ui.m_img_banner.onClick(this, this._OnClickBanner), this.ui.m_btn_close.onClick(this, this._OnClickClose), this._fakeBannerData.owner.reportAdShow({
                                    adId: this._fakeBannerData.adId
                                });
                            }
                        }, {
                            key: "_OnClickBanner",
                            value: function () {
                                console.log("点击banner", this._fakeBannerData), this._fakeBannerData.owner.reportAdClick({
                                    adId: this._fakeBannerData.adId
                                }), a.default.instance.ShowBannerAd();
                            }
                        }, {
                            key: "_OnClickClose",
                            value: function () {
                                console.log("点击关闭banner", this._fakeBannerData), this.Hide();
                            }
                        }], [{
                            key: "instance",
                            get: function () {
                                return null == this._instance && (this._instance = new t, this._instance._classDefine = s.default), this._instance
                            }
                        }]), t
                    }(),
                    u = function e() {
                        _classCallCheck(this, e);
                    };
            },
            "./src/UIExt/UISrc/UI_TurntableMediator.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return l
                    }
                });
                var i = n("./src/LTGame/LTUtils/MathEx.ts"),
                    a = n("./src/LTGame/LTUtils/MonoHelper.ts"),
                    s = n("./src/LTGame/Platform/LTPlatform.ts"),
                    r = n("./src/LTGame/Res/ResUrl.ts"),
                    o = n("./src/UIExt/FGui/BaseUIMediator.ts"),
                    u = n("./src/UIExt/FGui/FGuiEx.ts"),
                    c = n("./src/UIExt/LTGame/UI_turntable_page.ts"),
                    l = function (e) {
                        function t() {
                            var e;
                            return _classCallCheck(this, t), (e = n.apply(this, arguments))._layer = u.EUILayer.Popup, e._needOpenAni = !0, e.mAngle = 0, e.mIsStart = !1, e.mTargetRotation = 0, e.mFirstRotation = 0, e.mCurWheelAngle = 0, e._item = [], e
                        }
                        _inherits(t, o.default);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "_OnShow",
                            value: function () {
                                this._openData = this._openParam, this.ui.m_closeBtn.onClick(this, this.tohide), this.ui.m_mvBtn.onClick(this, this.turn), a.default.instance.AddAction(a.EActionType.Update, this, this.loop), this.mIsStart = !1, this.setData(), s.default.instance.ShowBannerAd();
                            }
                        }, {
                            key: "setData",
                            value: function () {
                                this._item = [this.ui.m_turn.m_turn1, this.ui.m_turn.m_turn2, this.ui.m_turn.m_turn3, this.ui.m_turn.m_turn4, this.ui.m_turn.m_turn5, this.ui.m_turn.m_turn6];
                                for (var e = 0; e < 6; e++) {
                                    var t = this._item[e];
                                    if (t) {
                                        var n = this._openData.data[e].icon;
                                        n && (t.m_icon.url = r.default.iconUrl(n)), t.m_num.text = this._openData.data[e].value + "";
                                    }
                                }
                            }
                        }, {
                            key: "loop",
                            value: function () {
                                this.mIsStart && this.LotteryAnim();
                            }
                        }, {
                            key: "turn",
                            value: function () {
                                return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                    var t;
                                    return regeneratorRuntime.wrap(function (e) {
                                        for (; ;) switch (e.prev = e.next) {
                                            case 0:
                                                if (!this.mIsStart && this.ui) {
                                                    e.next = 2;
                                                    break
                                                }
                                                return e.abrupt("return");
                                            case 2:
                                                return e.next = 4, s.default.instance.ShowRewardVideoAdAsync();
                                            case 4:
                                                e.sent && (t = [], this._openData.data.forEach(function (e) {
                                                    t.push(e.weight);
                                                }), this.SetTargetRotation(i.default.RandomFromWithWeight([0, 1, 2, 3, 4, 5], t)), this.mIsStart = !0);
                                            case 6:
                                            case "end":
                                                return e.stop()
                                        }
                                    }, e, this)
                                }))
                            }
                        }, {
                            key: "tohide",
                            value: function () {
                                this.mIsStart || this.Hide();
                            }
                        }, {
                            key: "LotteryAnim",
                            value: function () {
                                if (this.mCurWheelAngle < this.mFirstRotation) this.mAngle += .2;
                                else if (this.mTargetRotation - this.mCurWheelAngle < 720) {
                                    var e = .04 * (this.mTargetRotation - this.mCurWheelAngle);
                                    this.mAngle = this.mAngle > e ? e : this.mAngle;
                                }
                                this.mCurWheelAngle += this.mAngle, this.ui.m_turn.rotation = this.mCurWheelAngle % 360, (this.mCurWheelAngle >= this.mTargetRotation || this.mTargetRotation - this.mCurWheelAngle <= .2) && (this.mCurWheelAngle = this.mTargetRotation, this.mIsStart = !1, this._openData.onRolled && this._openData.onRolled.runWith(this.selectIndex));
                            }
                        }, {
                            key: "SetTargetRotation",
                            value: function (e) {
                                var t = 45 * (8 - e) + 30 * Math.random() - 15;
                                this.mTargetRotation = t + 1080, this.selectIndex = e, this.mCurWheelAngle = this.ui.m_turn.rotation, this.mFirstRotation = this.ui.m_turn.rotation + 360;
                            }
                        }, {
                            key: "_OnHide",
                            value: function () {
                                this.ui.m_closeBtn.offClick(this, this.tohide), this.ui.m_mvBtn.offClick(this, this.turn), a.default.instance.RemoveAction(a.EActionType.Update, this, this.loop), s.default.instance.HideBannerAd();
                            }
                        }], [{
                            key: "instance",
                            get: function () {
                                return null == this._instance && (this._instance = new t, this._instance._classDefine = c.default), this._instance
                            }
                        }]), t
                    }();
            },
            "./src/script/MainStart.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return f
                    }
                });
                var i = n("./src/LTGame/Start/LTStart.ts"),
                    a = n("./src/script/scene/SplashScene.ts"),
                    s = n("./src/script/scene/MainScene.ts"),
                    r = n("./src/LTGame/Platform/EPlatformType.ts"),
                    o = n("./src/LTGame/Platform/LTPlatform.ts"),
                    u = n("./src/LTGame/Res/LTRespackManager.ts"),
                    c = n("./src/LTGame/SDK/LTSDK.ts"),
                    l = n("./src/LTGame/SDK/Impl/SDK_Default.ts"),
                    d = n("./src/script/common/Const.ts"),
                    h = n("./src/LTGame/SDK/Impl/SDK_HLWX.ts"),
                    f = function (e) {
                        function t() {
                            var e;
                            return _classCallCheck(this, t), (e = n.call(this))._appId = "ttc367b5da5c5f21ac", e
                        }
                        _inherits(t, i.LTStart);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "_HandleInitPlatform",
                            value: function (e, t) {
                                switch (e) {
                                    case r.EPlatformType.Web:
                                    case r.EPlatformType.MATA:
                                        this._appId = "88888888";
                                        break;
                                    case r.EPlatformType.WX:
                                        d.default.resVersion = "0905", t.appId = "wxf8416be226a3de5b", u.default.instance.SetRemoteUrl("");
                                        break;
                                    default:
                                }
                                t.appId && (this._appId = t.appId);
                            }
                        }, {
                            key: "_HandleSDK",
                            value: function () {
                                switch (o.default.instance.platform) {
                                    case r.EPlatformType.WX:
                                        c.default.CreateInstace(h.default, "wbyzsd", this._appId);
                                        break;
                                    default:
                                        c.default.CreateInstace(l.default, "yfct", this._appId);
                                }
                            }
                        }, {
                            key: "_InitFsm",
                            value: function () {
                                this._fsm.Add(new a.default), this._fsm.Add(new s.default);
                            }
                        }]), t
                    }();
            },
            "./src/script/common/Const.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return u
                    }
                });
                var i = n("./src/LTGame/Platform/EPlatformType.ts"),
                    a = n("./src/script/ui/cmp/ItemBox.ts"),
                    s = n("./src/script/ui/cmp/ItemMonster.ts"),
                    r = n("./src/script/ui/cmp/ItemPlayer.ts"),
                    o = n("./src/script/ui/cmp/TestBtn.ts"),
                    u = function e() {
                        _classCallCheck(this, e);
                    };
                u.DefaultPlatform = i.EPlatformType.WX, u.faxing = i.EFaxing.hl, u.test = !1, u.resVersion = "082902", u.ttResVersion = "0827", u.oppoResVersion = "0311", u.gameName = "汽车合成", u.gameNameJian = "car_monster", u.myTTGame = !1, u.fguiMainCount = 4, u.fguiBaseCount = 1, u.fguiLoadCount = 1, u.heartTime = 60, u.enableStat = !1, u.maxLife = 2, u.fieldOfView = 60, u.cameraOffset = new Laya.Vector3(21, 24, -12.4), u.cameraRotate = new Laya.Vector3(-45, 122, 0), u.initFieldView = 60, u.workPackToClass = {}, u.mainPackToClass = {
                    test: o.default,
                    item_monster: s.default,
                    item_box: a.default,
                    item_shop: r.default
                }, u.readData = !1, u.gravity = -40, u.speed = 3, u.support2D = !1, u.support3D = !0, u.hpRecoverTime = 30, u.cameraViewRange = [30, 80], u.uiTest = !1;
            },
            "./src/script/common/GameData.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    SaveData: function () {
                        return h
                    },
                    default: function () {
                        return f
                    },
                    getMoneyType: function () {
                        return i
                    }
                });
                var i, a, s = n("./src/LTGame/LTUtils/StringEx.ts"),
                    r = n("./src/LTGame/Commom/CommonSaveData.ts"),
                    o = n("./src/LTGame/Manager/MesManager.ts"),
                    u = n("./src/script/enum/EEventUI.ts"),
                    c = n("./src/script/config/GameConst.ts"),
                    l = n("./src/script/common/Const.ts"),
                    d = n("./src/script/data/GameInitData.ts"),
                    h = function e() {
                        _classCallCheck(this, e), this.stageId = 1, this.readData = !1, this.onceShare = !0, this.onceNoHp = !0, this.lastOpenTick = 0, this.allDiamondsCount = 0, this.diamondsCount = 2e3, this.hpCount = 30, this.hpMax = !1, this.hpGetTime = 0, this.lvRestartTimes = [], this.hasGetGames = {}, this.twoDayLogin = !0, this.soundVolume = 1, this.soundOpen = !0, this.vOpen = !0, this.musicVolume = 1, this.guideId = 1, this.finishGuideTimes = {}, this.SkinNums = 0, this.UseSkinId = 1, this.playerMonsterInfo = [{
                            index: 12,
                            name: "carA1"
                        }], this.buyMeleeCount = 1, this.buyRemoteCount = 1, this.buyGoodStartCount = 1, this.buyResumeSkillCount = 1, this.buyFireSkillCount = 1, this.buyGodSkillCount = 1, this.composeMonsterInfo = {}, this.unlockMonsterId = {
                            1: 1,
                            25: 25
                        }, this.atlasSelectId = 0, this.currentTime = 0, this.summonerSelectId = 0, this.stockMonsterList = [], this.unlockCounter = {
                            1: 0,
                            2: 0,
                            3: 0,
                            4: 0,
                            5: 0,
                            6: 0
                        }, this.unlockBuff = {
                            0: 1,
                            1: 0,
                            2: 0
                        }, this.lastCoin = 100, this.agreeYinsi = !1, this.guideStepIndex = 0, this.isGuide = !1;
                    },
                    f = function () {
                        function e() {
                            _classCallCheck(this, e), this.isInitdata = !1, this._savePath = "game01.sav";
                        }
                        return _createClass(e, [{
                            key: "initData",
                            value: function () {
                                if (!this._saveData.readData && l.default.readData) {
                                    var e = d.default.GameDataJson;
                                    if (e)
                                        for (var t in e) this._saveData[t] = e[t];
                                    this._saveData.readData = !0;
                                }
                            }
                        }, {
                            key: "_ReadFromFile",
                            value: function () {
                                var e = Laya.LocalStorage.getJSON(this._savePath);
                                if (this._saveData = new h, !s.default.IsNullOrEmpty(e)) {
                                    var t = JSON.parse(e);
                                    for (var n in t) this._saveData[n] = t[n];
                                }
                                this.initData();
                            }
                        }, {
                            key: "_backGame",
                            value: function () {
                                var t = e.instance;
                                if (!(t.hpCount < 0)) {
                                    var n = Date.now(),
                                        i = t.lastOpenTick;
                                    if (t.hpCount < c.GameConst.data.maxHp) {
                                        var a = Math.floor((n - i) / 1e3) + (l.default.hpRecoverTime - t.hpGetTime),
                                            s = Math.floor(a / l.default.hpRecoverTime);
                                        t.hpGetTime = l.default.hpRecoverTime - a % l.default.hpRecoverTime, Laya.timer.clear(e, e.updateGetTime), Laya.timer.loop(1e3, e, e.updateGetTime), s = Math.min(s, c.GameConst.data.maxHp - t.hpCount), e.addHp(s);
                                    }
                                }
                            }
                        }], [{
                            key: "addDiamonds",
                            value: function (t) {
                                t && (e.instance.diamondsCount += t, e.instance.allDiamondsCount += t, e.instance.diamondsCount = Math.floor(e.instance.diamondsCount), e.instance.allDiamondsCount = Math.floor(e.instance.allDiamondsCount), o.default.instance.eventUI(u.EEventUI.DIAMONDSCHANGE), o.default.instance.eventUI(u.EEventUI.personalmoney, t), e.SaveToDisk());
                            }
                        }, {
                            key: "reduceDiamonds",
                            value: function (t) {
                                e.instance.diamondsCount -= t, o.default.instance.eventUI(u.EEventUI.DIAMONDSCHANGE), e.SaveToDisk();
                            }
                        }, {
                            key: "addHp",
                            value: function (t) {
                                e.instance.hpCount < 0 || (e.instance.hpCount += t, e.instance.hpCount < 0 && (e.instance.hpCount = 0), e.instance.hpCount >= c.GameConst.data.maxHp ? (e.instance.hpGetTime = 0, Laya.timer.clear(e, e.updateGetTime)) : e.instance.hpGetTime <= 0 && (e.instance.hpGetTime = l.default.hpRecoverTime, Laya.timer.loop(1e3, e, e.updateGetTime)), o.default.instance.eventUI(u.EEventUI.HPCHANGE), e.SaveToDisk());
                            }
                        }, {
                            key: "reduceHp",
                            value: function (t) {
                                e.instance.hpCount < 0 || (e.instance.hpCount < c.GameConst.data.maxHp && (e.instance.hpGetTime = l.default.hpRecoverTime, Laya.timer.clear(e, e.updateGetTime), Laya.timer.loop(1e3, e, e.updateGetTime)), e.instance.hpCount -= t, e.instance.hpCount < 0 && (e.instance.hpCount = 0), o.default.instance.eventUI(u.EEventUI.HPCHANGE), e.SaveToDisk());
                            }
                        }, {
                            key: "updateGetTime",
                            value: function () {
                                e.instance.hpGetTime -= 1, e.instance.hpGetTime <= 0 && (e.addHp(1), e.instance.hpGetTime = l.default.hpRecoverTime, o.default.instance.eventUI(u.EEventUI.HPCHANGE));
                            }
                        }, {
                            key: "SaveToDisk",
                            value: function () {
                                if (this._instance) {
                                    e.instance.lastOpenTick = Date.now();
                                    var t = JSON.stringify(this._instance._saveData);
                                    Laya.LocalStorage.setJSON(this._instance._savePath, t), r.default.SaveToDisk();
                                }
                            }
                        }, {
                            key: "ClearDisk",
                            value: function () {
                                Laya.LocalStorage.setJSON(this._instance._savePath, null);
                            }
                        }, {
                            key: "instance",
                            get: function () {
                                return null == this._instance && (this._instance = new e, this._instance._ReadFromFile()), !this._instance.isInitdata && c.GameConst.data && (this._instance.isInitdata = !0, e.instance.initThis || (this._instance._saveData.diamondsCount = c.GameConst.data.zhuanInit, this._instance._saveData.allDiamondsCount = c.GameConst.data.zhuanInit, this._instance._saveData.hpCount = c.GameConst.data.maxHp, e.instance.initThis = !0), this._instance._backGame()), this._instance._saveData
                            }
                        }]), e
                    }();
                (a = i || (i = {})).money500 = "money500", a.money1000 = "money1000", a.money2000 = "money2000";
            },
            "./src/script/common/GlobalUnit.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return l
                    }
                });
                var i = n("./src/script/common/Const.ts"),
                    a = n("./src/LTGame/Manager/MesManager.ts"),
                    s = n("./src/script/enum/EEventUI.ts"),
                    r = n("./src/LTGame/Res/ResUrl.ts"),
                    o = n("./src/LTGame/Res/LTRes.ts"),
                    u = n("./src/LTGame/Manager/EffectManager.ts"),
                    c = n("./src/LTGame/LTUtils/LTUtils.ts"),
                    l = function () {
                        function e() {
                            _classCallCheck(this, e);
                        }
                        return _createClass(e, [{
                            key: "_setAre",
                            value: function () {
                                e.s3d.ambientMode = 1;
                                var t = [.1678838, -.01659165, -.01137983, .00656961, .004985159, -.008635049, .009734819, -.01030053, .02333619, .2107363, .02701665, -.0188861, .01090373, .008416965, -.01457904, .01416337, -.01572322, .03351215, .2899413, .1099665, -.0348094, .02009422, .01630473, -.02824404, .01814265, -.02374644, .04080036];
                                if (t) {
                                    for (var n = e.s3d.ambientSphericalHarmonics, i = 0; i < 3; i++) {
                                        var a = 9 * i;
                                        n.setCoefficients(i, t[a], t[a + 1], t[a + 2], t[a + 3], t[a + 4], t[a + 5], t[a + 6], t[a + 7], t[a + 8]);
                                    }
                                    e.s3d.ambientSphericalHarmonics = n;
                                }
                            }
                        }], [{
                            key: "InitAll",
                            value: function () {
                                return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                    var t;
                                    return regeneratorRuntime.wrap(function (e) {
                                        for (; ;) switch (e.prev = e.next) {
                                            case 0:
                                                if (!i.default.support3D) {
                                                    e.next = 14;
                                                    break
                                                }
                                                return t = r.default.scene_url("scene"), e.next = 4, o.default.LoadAsync(t);
                                            case 4:
                                                this.s3d = Laya.stage.addChildAt(o.default.Get(t, !0), 0), this.s3d.addChild(u.EffectManager.instance.effectRoot), this.cameraControl = new Laya.Sprite3D, this.cameraControl.name = "camera_control", this.camera = this.s3d.getChildByName("Camera"), this.camera.enableHDR = !1, this.s3d.addChild(this.cameraControl), this.cameraControl.addChild(this.camera), this.light = this.s3d.getChildByName("Light"), c.LTUtils.EnableShadow(this.light, 30);
                                            case 14:
                                                a.default.instance.onUI(s.EEventUI.GamePasue, this, this._changePlay, [!1]), a.default.instance.onUI(s.EEventUI.GameResume, this, this._changePlay, [!0]);
                                            case 16:
                                            case "end":
                                                return e.stop()
                                        }
                                    }, e, this)
                                }))
                            }
                        }, {
                            key: "_changePlay",
                            value: function (e) {
                                this.pause = !e;
                            }
                        }, {
                            key: "_addSkyBox",
                            value: function () {
                                this.camera.clearFlag = Laya.CameraClearFlags.Sky, Laya.Texture2D.load(r.default.sky_url("sky_003"), Laya.Handler.create(this, function (t) {
                                    var n = e.s3d.skyRenderer,
                                        i = new Laya.SkyPanoramicMaterial;
                                    i.panoramicTexture = t, n.material = i;
                                }));
                            }
                        }, {
                            key: "SwitchSkyBoxMat",
                            value: function (t) {
                                var n = this;
                                this._currentSkyMat && this._currentSkyMat == t || (this.camera.clearFlag = Laya.CameraClearFlags.Sky, Laya.Material.load(r.default.skyMat(t), Laya.Handler.create(this, function (i) {
                                    e.s3d.skyRenderer.material = i, n._currentSkyMat = t;
                                })));
                            }
                        }, {
                            key: "gameOverOrPause",
                            get: function () {
                                return this.pause || this.gameOver
                            }
                        }]), e
                    }();
                l._currentSkyMat = "";
            },
            "./src/script/common/LayerDefine.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return i
                    }
                });
                var i = function e() {
                    _classCallCheck(this, e);
                };
                i.Ray = Laya.Physics3DUtils.COLLISIONFILTERGROUP_CUSTOMFILTER1, i.Map = Laya.Physics3DUtils.COLLISIONFILTERGROUP_CUSTOMFILTER2, i.Box = Laya.Physics3DUtils.COLLISIONFILTERGROUP_CUSTOMFILTER3, i.Monster = Laya.Physics3DUtils.COLLISIONFILTERGROUP_CUSTOMFILTER4, i.Chest = Laya.Physics3DUtils.COLLISIONFILTERGROUP_CUSTOMFILTER5, i.All = Laya.Physics3DUtils.COLLISIONFILTERGROUP_ALLFILTER;
            },
            "./src/script/common/MMUnit.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return s
                    }
                });
                var i = n("./src/LTGame/SDK/LTSDK.ts"),
                    a = n("./src/script/common/TimeUtils.ts"),
                    s = function () {
                        function e() {
                            _classCallCheck(this, e);
                        }
                        return _createClass(e, null, [{
                            key: "getRandon",
                            value: function (e, t) {
                                if (null != t) {
                                    var n, i = this._recordRandon[t] || 0,
                                        a = this._recordTime[t] || 0,
                                        s = 10 * e;
                                    return (n = !(s <= i) && Math.random() < (s - i) / (10 - a)) && i++, 10 == ++a && (a = 0, i = 0), this._recordRandon[t] = i, this._recordTime[t] = a, n
                                }
                                console.error("id 不能为空");
                            }
                        }, {
                            key: "getValueByName",
                            value: function (e) {
                                var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : null;
                                if (i.default.instance.data && null != i.default.instance.data[e]) {
                                    var n = i.default.instance.data[e];
                                    return /^[0-9.-]+$/.test(n.toString()) && (n = Number(n)), console.log("获得参数 name: " + e + "  value:" + n), n
                                }
                                return console.log("获得参数 name: " + e + "  value: undefined"), t
                            }
                        }, {
                            key: "checkConfigMatch",
                            value: function (e) {
                                var t, n = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : 0,
                                    i = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : 0,
                                    a = arguments.length > 3 && void 0 !== arguments[3] ? arguments[3] : 0,
                                    s = arguments.length > 4 && void 0 !== arguments[4] ? arguments[4] : null;
                                if (null != s ? t = s : null == (t = this.getValueByName(e)) && (t = a), 0 == t) return !1;
                                var r = i ? e + i : e;
                                return 0 == n ? this.checkMathByTimes(t, r) : 1 == n && this.checkMathByCD(t, r)
                            }
                        }, {
                            key: "checkMathByTimes",
                            value: function (e, t) {
                                var n = this.tempData[t] || 0;
                                return n++, console.log("checkConfigMatch, name:" + t + "   time:" + n + "  config:" + e), n >= e ? (this.tempData[t] = 0, !0) : (this.tempData[t] = n, !1)
                            }
                        }, {
                            key: "checkMathByCD",
                            value: function (e, t) {
                                var n = this.tempData[t] || 0,
                                    i = a.default.now,
                                    s = i - n;
                                return console.log("checkConfigMatch, name:" + t + "   time:" + n + "now ：" + i + " past  :" + s + "   config:" + e), s >= 1e3 * e && (this.tempData[t] = i, !0)
                            }
                        }, {
                            key: "ins",
                            get: function () {
                                return this._ins && (this._ins = new e), this._ins
                            }
                        }]), e
                    }();
                s._recordRandon = {}, s._recordTime = {}, s.tempData = {}, window.MMUnit = s;
            },
            "./src/script/common/OppoUtils.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return o
                    }
                });
                var i = n("./src/LTGame/Platform/EPlatformType.ts"),
                    a = n("./src/LTGame/Platform/LTPlatform.ts"),
                    s = n("./src/UIExt/UISrc/Cmp/NativeADNew.ts"),
                    r = n("./src/script/common/MMUnit.ts"),
                    o = function () {
                        function e() {
                            _classCallCheck(this, e);
                        }
                        return _createClass(e, null, [{
                            key: "loadAdData",
                            value: function (e) {
                                return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function t() {
                                    var n, i, s, r, o = this;
                                    return regeneratorRuntime.wrap(function (t) {
                                        for (; ;) switch (t.prev = t.next) {
                                            case 0:
                                                return (n = a.default.instance.base.createNativeAd({
                                                    adUnitId: e
                                                })).onError(function (t) {
                                                    if (console.log("原生广告加载异常", t), n.destroy(), o.preDatas[e]) return o.preDatas[e]
                                                }), t.next = 4, n.load();
                                            case 4:
                                                if (0 != (i = t.sent).code) {
                                                    t.next = 18;
                                                    break
                                                }
                                                if (null != (s = i.adList) && 0 != s.length) {
                                                    t.next = 10;
                                                    break
                                                }
                                                return console.error("native icon 加载失败", i), t.abrupt("return", null);
                                            case 10:
                                                if (r = s[0], console.log("广告数据加载完成", i), null != r) {
                                                    t.next = 15;
                                                    break
                                                }
                                                return console.error("native icon 加载失败", i), t.abrupt("return", null);
                                            case 15:
                                                return t.abrupt("return", {
                                                    nativeAd: n,
                                                    data: r
                                                });
                                            case 18:
                                                if (console.error("native icon 加载失败", i), n.destroy(), !this.preDatas[e]) {
                                                    t.next = 22;
                                                    break
                                                }
                                                return t.abrupt("return", this.preDatas[e]);
                                            case 22:
                                            case "end":
                                                return t.stop()
                                        }
                                    }, t, this)
                                }))
                            }
                        }, {
                            key: "preLoadAd",
                            value: function () {
                                console.log("预加载oppo广告"), this.reloadAd(a.default.instance.platformData.nativeBannerIds[0]), this.reloadAd(a.default.instance.platformData.nativeBannerIds[1]);
                            }
                        }, {
                            key: "reloadAd",
                            value: function (e) {
                                return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function t() {
                                    var n, i, s, r, o = this;
                                    return regeneratorRuntime.wrap(function (t) {
                                        for (; ;) switch (t.prev = t.next) {
                                            case 0:
                                                return null == this.preDatas[e] ? ((n = a.default.instance.base.createNativeAd({
                                                    adUnitId: e
                                                })).onError(function (t) {
                                                    console.log("原生广告加载异常", e, t), n.destroy(), Laya.timer.once(3e3, o, o.reloadAd, [e]);
                                                }), this.preDatas[e] = {
                                                    nativeAd: n,
                                                    data: null
                                                }) : n = this.preDatas[e].nativeAd, t.next = 3, n.load();
                                            case 3:
                                                if (i = t.sent, console.log("广告数据加载完成", e, i), !i || 0 != i.code) {
                                                    t.next = 19;
                                                    break
                                                }
                                                if (null != (s = i.adList) && 0 != s.length) {
                                                    t.next = 10;
                                                    break
                                                }
                                                return console.error("native icon 加载失败", i), t.abrupt("return", null);
                                            case 10:
                                                if ((r = s[0]).loadTime = Date.now(), null != r) {
                                                    t.next = 16;
                                                    break
                                                }
                                                return n.destroy(), console.error("native icon 加载失败", i), t.abrupt("return", null);
                                            case 16:
                                                this.preDatas[e].data = r, t.next = 22;
                                                break;
                                            case 19:
                                                console.error("native icon 加载失败", i), n.destroy(), Laya.timer.once(3e3, this, this.reloadAd, [e]);
                                            case 22:
                                            case "end":
                                                return t.stop()
                                        }
                                    }, t, this)
                                }))
                            }
                        }, {
                            key: "getAdData",
                            value: function () {
                                var e = arguments.length > 0 && void 0 !== arguments[0] && arguments[0],
                                    t = a.default.instance.platformData.nativeBannerIds.length;
                                this.index = this.index % t;
                                for (var n = a.default.instance.platformData.nativeBannerIds, i = 0; i < t; i++) {
                                    var s = n[(this.index + i) % t];
                                    if (this.preDatas[s] && this.preDatas[s].data) {
                                        var r = this.num;
                                        return e && null != r && this.preDatas[r] && (this.preDatas[r].nativeAd.destroy(), this.reloadAd(n[this.num]), this.preDatas[r] = null), this.index += i + 1, this.num = this.index % t, this.preDatas[s]
                                    }
                                }
                                return null
                            }
                        }, {
                            key: "destroyAd",
                            value: function () {
                                if (null != this.num) {
                                    var e = a.default.instance.platformData.nativeBannerIds[this.num];
                                    this.preDatas[e] && (console.log("destroy", e), this.preDatas[e].nativeAd.destroy(), this.preDatas[e] = null, this.num = null, Laya.timer.once(1e3, this, this.reloadAd, [e]));
                                }
                            }
                        }, {
                            key: "initCloseBtn",
                            value: function (e, t) {
                                e.data = !0, a.default.instance.platform == i.EPlatformType.Oppo && r.default.getValueByName("type", 0) ? e.onClick(this, function () {
                                    var n = s.default.checkHaveData();
                                    if (e.data && n) return e.data = !1, void s.default.clickAd();
                                    t && t.run();
                                }) : e.on(Laya.Event.CLICK, this, function () {
                                    t && t.run();
                                });
                            }
                        }]), e
                    }();
                o.preDatas = {}, o.num = 0, o.index = 0;
            },
            "./src/script/common/ResDefine.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return i
                    }
                });
                var i = function () {
                    function e() {
                        _classCallCheck(this, e);
                    }
                    return _createClass(e, null, [{
                        key: "FixPath",
                        value: function (e) {
                            return "res/export/Conventional/" + e + ".lh"
                        }
                    }, {
                        key: "iconPath",
                        value: function (e) {
                            return "res/export/Conventional/" + e + ".png"
                        }
                    }, {
                        key: "propMesh",
                        value: function (e) {
                            return "res/u3d/LayaScene_Prefabs/Conventional/Assets/model/" + e + ".lm"
                        }
                    }, {
                        key: "propMaterial",
                        value: function (e) {
                            return "res/u3d/LayaScene_Prefabs/Conventional/Assets/Material/" + e + ".lmat"
                        }
                    }, {
                        key: "prefabPath",
                        value: function (e) {
                            return "res/u3d/LayaScene_Prefabs/Conventional/" + e + ".lh"
                        }
                    }, {
                        key: "LvScenePath",
                        value: function (e) {
                            return "res/u3d/LayaScene_Scenes/Conventional/" + e + ".lh"
                        }
                    }, {
                        key: "ScenePath",
                        value: function (e) {
                            return "res/u3d/LayaScene_Scene/Conventional/" + e + ".ls"
                        }
                    }]), e
                }();
            },
            "./src/script/common/TimeUtils.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return r
                    }
                });
                var i = n("./src/LTGame/LTUtils/MonoHelper.ts"),
                    a = n("./src/LTGame/Manager/MesManager.ts"),
                    s = n("./src/script/enum/EEventUI.ts"),
                    r = function () {
                        function e() {
                            _classCallCheck(this, e), this.map = {}, this._now = Date.now(), this._enterTime = this._lastTime = this._now, i.default.instance.AddAction(i.EActionType.Update, this, this.loop), a.default.instance.onUI(s.EEventUI.GamePasue1, this, this.gamePause), a.default.instance.onUI(s.EEventUI.GameResume1, this, this.gameResume), a.default.instance.onUI(s.EEventUI.GamePasue, this, this.gamePause), a.default.instance.onUI(s.EEventUI.GameResume, this, this.gameResume);
                        }
                        return _createClass(e, [{
                            key: "gamePause",
                            value: function () {
                                console.log("TimeUtils 游戏暂停"), this._pause = !0;
                            }
                        }, {
                            key: "gameResume",
                            value: function () {
                                console.log("TimeUtils 游戏继续"), this._pause = !1, this._lastTime = Date.now();
                            }
                        }, {
                            key: "loop",
                            value: function () {
                                var e = Date.now(),
                                    t = Math.min(1e3, e - this._lastTime);
                                if (t && !this._pause)
                                    for (var n in this._lastTime = e, this._now += t, this.map) {
                                        var i = this.map[n];
                                        i.update(t), i.active || (i.clear(), i.recover(), delete this.map[n]);
                                    }
                            }
                        }], [{
                            key: "loop",
                            value: function (e, t, n, i) {
                                var a = t ? t.$_GID || (t.$_GID = this.getGID()) : 0,
                                    s = this.instance.map[a];
                                s ? s.add(e, n, i, !1) : (s = o.getInstance(), this.instance.map[a] = s, s.create(t, e, n, i, !1));
                            }
                        }, {
                            key: "once",
                            value: function (e, t, n, i) {
                                var a = t ? t.$_GID || (t.$_GID = this.getGID()) : 0,
                                    s = this.instance.map[a];
                                s ? s.add(e, n, i, !0) : (s = o.getInstance(), this.instance.map[a] = s, s.create(t, e, n, i, !0));
                            }
                        }, {
                            key: "clear",
                            value: function (e, t) {
                                var n = e ? e.$_GID || (e.$_GID = this.getGID()) : 0,
                                    i = this.instance.map[n];
                                i && (i.removeByFunction(t), i.active || (i.recover(), delete this.instance.map[n]));
                            }
                        }, {
                            key: "clearAll",
                            value: function (e) {
                                var t = e ? e.$_GID || (e.$_GID = this.getGID()) : 0,
                                    n = this.instance.map[t];
                                n && (n.clear(), n.recover(), delete this.instance.map[t]);
                            }
                        }, {
                            key: "getGID",
                            value: function () {
                                return this.GID++, this.GID
                            }
                        }, {
                            key: "enterTime",
                            get: function () {
                                return this.instance._enterTime
                            }
                        }, {
                            key: "now",
                            get: function () {
                                return this.instance._now
                            }
                        }, {
                            key: "instance",
                            get: function () {
                                return this._instance || (this._instance = new e), this._instance
                            }
                        }]), e
                    }();
                r.GID = 0;
                var o = function () {
                    function e() {
                        _classCallCheck(this, e), this.pastTimes = [], this.methods = [], this.times = [], this.args = [], this.onces = [], this._running = !1, this._destory = !1;
                    }
                    return _createClass(e, [{
                        key: "create",
                        value: function (e, t, n, i) {
                            var a = arguments.length > 4 && void 0 !== arguments[4] && arguments[4];
                            this.caller = e, this.methods.push(n), this.times.push(t), this.args.push(i), this.pastTimes.push(0), this.onces.push(a), this.active = !0, this._destory = !1;
                        }
                    }, {
                        key: "add",
                        value: function (e, t, n) {
                            var i = arguments.length > 3 && void 0 !== arguments[3] && arguments[3];
                            this.times.push(e), this.methods.push(t), this.args.push(n), this.pastTimes.push(0), this.onces.push(i);
                        }
                    }, {
                        key: "update",
                        value: function (e) {
                            if (!this._destory) {
                                this._running = !0;
                                for (var t = this.pastTimes.length - 1; t >= 0; t--)
                                    if (this.pastTimes[t] += e, this.pastTimes[t] >= this.times[t]) {
                                        this.pastTimes[t] = this.pastTimes[t] % this.times[t];
                                        var n = this.methods[t],
                                            i = this.args[t];
                                        if (this.onces[t] && this.removeIndex(t), n.apply(this.caller, i), this._destory) return void (this._running = !1)
                                    } this._running = !1, this.pastTimes.length || (this.active = !1);
                            }
                        }
                    }, {
                        key: "removeIndex",
                        value: function (e) {
                            this.pastTimes.splice(e, 1), this.methods.splice(e, 1), this.args.splice(e, 1), this.onces.splice(e, 1), this.times.splice(e, 1);
                        }
                    }, {
                        key: "removeByFunction",
                        value: function (e) {
                            for (var t = 0; t < this.methods.length; t++)
                                if (e == this.methods[t]) return this.removeIndex(t), void (this.methods.length || (this.active = !1))
                        }
                    }, {
                        key: "clear",
                        value: function () {
                            this.pastTimes = [], this.methods = [], this.args = [], this.onces = [], this.times = [], this.caller = null, this._destory = !0;
                        }
                    }, {
                        key: "recover",
                        value: function () {
                            e._pool.push(this);
                        }
                    }], [{
                        key: "getInstance",
                        value: function () {
                            for (var t = this._pool.length - 1; t >= 0; t--) {
                                var n = this._pool[t];
                                if (!n._running) return this._pool.splice(t, 1), n
                            }
                            return new e
                        }
                    }]), e
                }();
                o._pool = [];
            },
            "./src/script/common/Utils.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    Utils: function () {
                        return s
                    }
                });
                var i = n("./src/LTGame/LTUtils/Vector3Ex.ts"),
                    a = n("./src/script/common/Const.ts"),
                    s = function () {
                        function e() {
                            _classCallCheck(this, e);
                        }
                        return _createClass(e, null, [{
                            key: "isZero",
                            value: function (e) {
                                return !(0 != e.x && -0 != e.x || 0 != e.y && -0 != e.y || 0 != e.z && -0 != e.z)
                            }
                        }, {
                            key: "getRotation",
                            value: function (t) {
                                return e.angleByPoint({
                                    x: 0,
                                    y: 0
                                }, {
                                    x: t.x,
                                    y: t.z
                                })
                            }
                        }, {
                            key: "updateRotationDelayY",
                            value: function (t, n, a) {
                                var s = this.angleByPoint(i.default.zeroNew, {
                                    x: t.x,
                                    y: t.z
                                });
                                return e.updateRotationByAngle(s, n, a)
                            }
                        }, {
                            key: "updateRotationDelayX",
                            value: function (t, n, a) {
                                var s = this.angleByPoint(i.default.zeroNew, {
                                    x: t.z,
                                    y: t.y
                                });
                                return e.updateRotationByAngle(s, n, a)
                            }
                        }, {
                            key: "updateRotationDelayZ",
                            value: function (t, n, a) {
                                var s = this.angleByPoint(i.default.zeroNew, {
                                    x: t.y,
                                    y: t.x
                                });
                                return e.updateRotationByAngle(s, n, a)
                            }
                        }, {
                            key: "direOneDis",
                            value: function (t, n) {
                                var i = t.distance(n.x, n.y),
                                    a = e.minus(t, n);
                                return Laya.Vector2.scale(a, 1 / i, a), a
                            }
                        }, {
                            key: "minus",
                            value: function (e, t) {
                                return new Laya.Vector2(e.x - t.x, e.y - t.y)
                            }
                        }, {
                            key: "updateRotationByAngle",
                            value: function (e, t, n) {
                                var i = arguments.length > 3 && void 0 !== arguments[3] ? arguments[3] : 1,
                                    a = this.getIncludeAngle(e, t),
                                    s = 0 == i ? 18 / n : n;
                                if (Math.abs(a) <= s) return a;
                                var r = n;
                                return 0 == i && (this._tempAngle != e && (this._offset = a), r = this._offset * n / 10), r *= Laya.timer.scale, a > 0 ? r : a < 0 ? -r : void 0
                            }
                        }, {
                            key: "angleByPoint",
                            value: function (e, t) {
                                return 180 * -Math.atan2(e.x - t.x, -(e.y - t.y)) / Math.PI
                            }
                        }, {
                            key: "angleNormal",
                            value: function (e) {
                                return (e %= 360) <= -180 ? e + 360 : e > 180 ? e - 360 : e
                            }
                        }, {
                            key: "correctAngle",
                            value: function (e, t) {
                                var n = (e %= 360) - (t %= 360);
                                return n > 180 ? e - 360 : n < -180 ? e + 360 : e
                            }
                        }, {
                            key: "getIncludeAngle",
                            value: function (e, t) {
                                -180 == e && (e = 180);
                                var n = e - (t %= 360);
                                return n > 180 && (n -= 360), n < -180 && (n = 360 + n), n > 180 && console.log("错误"), n
                            }
                        }, {
                            key: "getStartSpeed",
                            value: function (e, t) {
                                return Math.sqrt(2 * e * t)
                            }
                        }, {
                            key: "getAllTime",
                            value: function (e, t, n, i) {
                                var s = e.y - t.y;
                                return Math.sqrt(Math.abs(2 * s / (i || a.default.gravity))) + Math.sqrt(Math.abs(2 * (t.y - n.y) / (i || a.default.gravity)))
                            }
                        }, {
                            key: "lerp",
                            value: function (e, t, n) {
                                var i = t - e;
                                return Math.abs(i) < n ? t : e + (i > 0 ? n : -n)
                            }
                        }, {
                            key: "getLinearVelocity",
                            value: function (e, t, n, i) {
                                var s = e.y - t.y;
                                if (s > 0) return null;
                                var r = this.getStartSpeed(s, i || a.default.gravity),
                                    o = this.getAllTime(e, t, n, i),
                                    u = (n.z - e.z) / o,
                                    c = (n.x - e.x) / o;
                                return new Laya.Vector3(c, r, u)
                            }
                        }, {
                            key: "getMaxH",
                            value: function (e, t, n, i) {
                                var a = e.y,
                                    s = t.y,
                                    r = n * n;
                                return (4 * i * r * (a + s) + -i * i * r * r + -4 * a * a + -4 * s * s + 8 * a * s) / (8 * i * r)
                            }
                        }, {
                            key: "getMidpoint2D",
                            value: function (e, t) {
                                return new Laya.Vector3((e.x + t.x) / 2, 0, (e.z + t.z) / 2)
                            }
                        }, {
                            key: "_parseVector3",
                            value: function (e) {
                                var t = e.split(",");
                                return new Laya.Vector3(Number(t[0]), Number(t[1]), Number(t[2]))
                            }
                        }, {
                            key: "getRandomInt",
                            value: function (e) {
                                return Math.floor(Math.random() * e)
                            }
                        }]), e
                    }();
            },
            "./src/script/common/VivopNativeADUtil.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return r
                    }
                });
                var i = n("./src/LTGame/Manager/MesManager.ts"),
                    a = n("./src/LTGame/Platform/LTPlatform.ts"),
                    s = n("./src/script/enum/EEventUI.ts"),
                    r = function () {
                        function e() {
                            _classCallCheck(this, e), this._maxAds = 5, this._loopGetAd = 2, this._nativeADIds = ["603a5ab703f3449381f506eb28d00413"], this._nativeADData = [], this._nativeADs = [], this._CreateNum = 0, this.preLoadAd();
                        }
                        return _createClass(e, [{
                            key: "getAd",
                            value: function () {
                                var e = this._nativeADs.shift();
                                return e ? (this._nativeADData.length == this._maxAds && this.loadAd(), {
                                    nativeAd: e,
                                    data: this._nativeADData.shift()
                                }) : null
                            }
                        }, {
                            key: "preLoadAd",
                            value: function () {
                                var e = this;
                                if (!(this._nativeADs.length >= this._maxAds)) {
                                    var t = this._nativeADIds[this._CreateNum % this._nativeADIds.length];
                                    this._CreateNum++;
                                    var n = a.default.instance.base.createNativeAd({
                                        posId: t
                                    });
                                    n.onLoad(function (t) {
                                        var a;
                                        console.log("原生广告加载完成-onload触发", JSON.stringify(t)), t && t.adList && (a = t.adList.pop()), a ? (console.log("加载到广告", n, a), n.reportAdShow({
                                            adId: a.adId.toString()
                                        }), e._nativeADs.push(n), e._nativeADData.push(a), i.default.instance.eventUI(s.EEventUI.ovLoadAd)) : n && n.destroy && n.destroy(), e.loadAd();
                                    }), n.onError(function (t) {
                                        console.log("原生广告加载异常", t), e.loadAd();
                                    });
                                }
                            }
                        }, {
                            key: "loadAd",
                            value: function () {
                                Laya.timer.clearAll(this), Laya.timer.once(1e3 * this._loopGetAd, this, this.preLoadAd);
                            }
                        }], [{
                            key: "ins",
                            get: function () {
                                return this._ins || (this._ins = new e), this._ins
                            }
                        }]), e
                    }();
            },
            "./src/script/common/maidian.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return r
                    }
                }), n("./src/LTGame/Commom/CommonSaveData.ts");
                var i = n("./src/LTGame/Platform/EPlatformType.ts"),
                    a = n("./src/LTGame/Platform/LTPlatform.ts"),
                    s = n("./src/LTGame/Platform/ShareManager.ts"),
                    r = (n("./src/LTGame/SDK/LTSDK.ts"), function () {
                        function e() {
                            _classCallCheck(this, e);
                        }
                        return _createClass(e, [{
                            key: "newReport",
                            value: function (e, t, n) { }
                        }, {
                            key: "report",
                            value: function (e, t, n) { }
                        }, {
                            key: "reportHoutai",
                            value: function (e, t, n) {
                                arguments.length > 3 && void 0 !== arguments[3] ? arguments[3] : s.default.instance.lastIsAd;
                            }
                        }, {
                            key: "youmemNewReport",
                            value: function (e, t) { }
                        }, {
                            key: "youmemOldReport",
                            value: function (e, t) { }
                        }, {
                            key: "youmemReport",
                            value: function (e, t) { }
                        }, {
                            key: "youmemonceReport",
                            value: function (e, t) {
                                a.default.instance.platform, i.EPlatformType.WX;
                            }
                        }], [{
                            key: "instance",
                            get: function () {
                                return null == this._instance && (this._instance = new e), this._instance
                            }
                        }]), e
                    }());
            },
            "./src/script/config/AttackParamConfig.ts": function (e, t, n) {
                var i, a;
                n.r(t), n.d(t, {
                    AttackParamConfig: function () {
                        return i
                    }
                }), (a = i || (i = {})).config = function e() {
                    _classCallCheck(this, e);
                }, a.path = "res/config/AttackParamConfig.json";
            },
            "./src/script/config/ChestConfig.ts": function (e, t, n) {
                var i, a;
                n.r(t), n.d(t, {
                    ChestConfig: function () {
                        return i
                    }
                }), (a = i || (i = {})).config = function e() {
                    _classCallCheck(this, e);
                }, a.path = "res/config/ChestConfig.json";
            },
            "./src/script/config/EffectConfig.ts": function (e, t, n) {
                var i, a;
                n.r(t), n.d(t, {
                    EffectConfig: function () {
                        return i
                    }
                }), (a = i || (i = {})).config = function e() {
                    _classCallCheck(this, e);
                }, a.path = "res/config/EffectConfig.json";
            },
            "./src/script/config/GameConst.ts": function (e, t, n) {
                var i, a;
                n.r(t), n.d(t, {
                    GameConst: function () {
                        return i
                    }
                }), (a = i || (i = {})).config = function e() {
                    _classCallCheck(this, e);
                }, a.path = "res/config/GameConst.json";
            },
            "./src/script/config/LevelConfig.ts": function (e, t, n) {
                var i, a;
                n.r(t), n.d(t, {
                    LevelConfig: function () {
                        return i
                    }
                }), (a = i || (i = {})).config = function e() {
                    _classCallCheck(this, e);
                }, a.path = "res/config/LevelConfig.json";
            },
            "./src/script/config/MonsterConfig.ts": function (e, t, n) {
                var i, a;
                n.r(t), n.d(t, {
                    MonsterConfig: function () {
                        return i
                    }
                }), (a = i || (i = {})).config = function e() {
                    _classCallCheck(this, e);
                }, a.path = "res/config/MonsterConfig.json";
            },
            "./src/script/config/MusicConfig.ts": function (e, t, n) {
                var i, a;
                n.r(t), n.d(t, {
                    MusicConfig: function () {
                        return i
                    }
                }), (a = i || (i = {})).config = function e() {
                    _classCallCheck(this, e);
                }, a.path = "res/config/MusicConfig.json";
            },
            "./src/script/config/NewRollConfig.ts": function (e, t, n) {
                var i, a;
                n.r(t), n.d(t, {
                    NewRollConfig: function () {
                        return i
                    }
                }), (a = i || (i = {})).config = function e() {
                    _classCallCheck(this, e);
                }, a.path = "res/config/NewRollConfig.json";
            },
            "./src/script/config/PackConst.ts": function (e, t, n) {
                var i, a;
                n.r(t), n.d(t, {
                    PackConst: function () {
                        return i
                    }
                }), (a = i || (i = {})).config = function e() {
                    _classCallCheck(this, e);
                }, a.path = "res/config/PackConst.json";
            },
            "./src/script/config/ParamsConfig.ts": function (e, t, n) {
                var i, a;
                n.r(t), n.d(t, {
                    ParamsConfig: function () {
                        return i
                    }
                }), (a = i || (i = {})).config = function e() {
                    _classCallCheck(this, e);
                }, a.path = "res/config/ParamsConfig.json";
            },
            "./src/script/config/PlayerConfig.ts": function (e, t, n) {
                var i, a;
                n.r(t), n.d(t, {
                    PlayerConfig: function () {
                        return i
                    }
                }), (a = i || (i = {})).config = function e() {
                    _classCallCheck(this, e);
                }, a.path = "res/config/PlayerConfig.json";
            },
            "./src/script/config/RollConfig.ts": function (e, t, n) {
                var i, a;
                n.r(t), n.d(t, {
                    RollConfig: function () {
                        return i
                    }
                }), (a = i || (i = {})).config = function e() {
                    _classCallCheck(this, e);
                }, a.path = "res/config/RollConfig.json";
            },
            "./src/script/config/ShareConfig.ts": function (e, t, n) {
                var i, a;
                n.r(t), n.d(t, {
                    ShareConfig: function () {
                        return i
                    }
                }), (a = i || (i = {})).config = function e() {
                    _classCallCheck(this, e);
                }, a.path = "res/config/ShareConfig.json";
            },
            "./src/script/config/SignConfig.ts": function (e, t, n) {
                var i, a;
                n.r(t), n.d(t, {
                    SignConfig: function () {
                        return i
                    }
                }), (a = i || (i = {})).config = function e() {
                    _classCallCheck(this, e);
                }, a.path = "res/config/SignConfig.json";
            },
            "./src/script/data/GameInitData.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return i
                    }
                });
                var i = function e() {
                    _classCallCheck(this, e);
                };
                i.GameDataJson = {
                    stageId: 1,
                    readData: !1,
                    onceShare: !0,
                    onceNoHp: !0,
                    lastOpenTick: 1644836971672,
                    allDiamondsCount: 138717,
                    diamondsCount: 6140,
                    hpCount: 30,
                    hpMax: !1,
                    hpGetTime: 0,
                    lvRestartTimes: [],
                    hasGetGames: {},
                    twoDayLogin: !0,
                    soundVolume: 1,
                    soundOpen: !0,
                    vOpen: !0,
                    musicVolume: 1,
                    firstVip: !1,
                    firsthamburg: !1,
                    firstcar: !1,
                    firstmoney: !1,
                    firstbox: !1,
                    firstGetW: !0,
                    first: {},
                    initThis: !0,
                    listmoney: [138716, 138575, 138452],
                    listicon: [5, 10, 10],
                    TaskTime: 1644885930082,
                    ListTime: 1646045130084,
                    guideId: 8,
                    finishGuideTimes: {
                        1: 1,
                        2: 1,
                        3: 1,
                        4: 1,
                        5: 1,
                        6: 1,
                        7: 1,
                        9: 3,
                        10: 1,
                        11: 1,
                        12: 1
                    },
                    unLockIcon: {
                        0: !0,
                        1: !0,
                        2: !0,
                        3: !0,
                        4: !0,
                        5: !0,
                        6: !0,
                        7: !0,
                        8: !0
                    },
                    propstime: {
                        0: 0,
                        1: 0,
                        2: -233,
                        3: -257
                    },
                    skins: [1, 2, 5, 3, 4],
                    Skinlevel: 4,
                    SkinNums: 0,
                    UseSkinId: 5,
                    listnum: 0,
                    hasGetMoney: !0,
                    moneyreftime: 1644836584556
                }, i.StoreDataJson = {
                    store: {
                        1: 50,
                        2: 50,
                        3: 50,
                        4: 50
                    },
                    readData: !1
                }, i.PersonalDataJson = {
                    useIconId: 1,
                    name: "我的梦想餐厅",
                    CoinNum: 138717,
                    RestaurantNum: 8,
                    TableNum: 121,
                    WaiterNum: 25,
                    FoodNum: 810,
                    EquipmentNum: 4,
                    boxId: 15,
                    readData: !1
                }, i.CommonSaveData = {
                    firstEnter: !0,
                    newPlayer: !1,
                    firstShareFail: !0,
                    shareFailTimes: 0,
                    oneDayPlayer: !0,
                    twoDayPlayer: !1,
                    lastOpenTick: 1644836697038,
                    onceTime: 1644835527656,
                    isNewDay: !1,
                    isSigned: !1,
                    loginSignShow: !1,
                    signCloseTimes: 0,
                    signDayCount: 0,
                    loginDayCount: 1,
                    isMusicOn: !0,
                    isSoundOn: !0,
                    isShakeOn: !0,
                    interstitialCount: 0,
                    trySignMissMode: 0,
                    checkFlag: !0,
                    endRewardMissMode: 0,
                    freeRollCount: 1,
                    EggPassIds: [],
                    EggSecretIds: [],
                    EggPasswordIds: [],
                    areaId: 1,
                    shareGuiId: -1,
                    shareGuiPro: -1,
                    showCollect: !0,
                    compareVersion: 0,
                    isFirst: !1,
                    isspecial: !0,
                    maidianbum: {},
                    readData: !1
                }, i.SceneDataJson = {
                    seatGpPrice: {
                        "1_1": 0,
                        "1_2": 0,
                        "1_3": 0,
                        "1_4": 0,
                        "1_5": 0,
                        "1_6": 0,
                        "1_7": 0,
                        "1_8": 0,
                        "2_1": 0,
                        "2_2": 0,
                        "2_3": 0,
                        "2_4": 0,
                        "2_5": 0,
                        "2_6": 0,
                        "2_7": 0,
                        "2_8": 0,
                        "2_9": 0,
                        "3_1": 0,
                        "3_2": 0,
                        "3_3": 0,
                        "3_4": 0,
                        "3_5": 0,
                        "3_6": 0,
                        "3_7": 0,
                        "3_8": 0,
                        "4_1": 0,
                        "4_2": 0,
                        "4_3": 0,
                        "4_4": 0,
                        "4_5": 0,
                        "4_6": 0,
                        "4_7": 0,
                        "4_8": 0,
                        "5_1": 0,
                        "5_2": 500,
                        "5_3": 650,
                        "5_4": 800,
                        "5_5": 1e3,
                        "5_6": 1500,
                        "5_7": 1750,
                        "5_8": 2e3,
                        "6_1": 0,
                        "6_2": 300,
                        "6_3": 450,
                        "6_4": 600,
                        "6_5": 750,
                        "6_6": 900,
                        "6_7": 1200,
                        "6_8": 1500,
                        "7_1": 0,
                        "7_2": 500,
                        "7_3": 650,
                        "7_4": 800,
                        "7_5": 1e3,
                        "7_6": 1500,
                        "7_7": 2e3,
                        "7_8": 2500,
                        "8_1": 0,
                        "8_2": 500,
                        "8_3": 650,
                        "8_4": 800,
                        "8_5": 1e3,
                        "8_6": 1500,
                        "8_7": 2e3,
                        "8_8": 2500,
                        "10_1": 0,
                        "10_2": 800,
                        "10_3": 1e3,
                        "10_4": 1200,
                        "10_5": 1500,
                        "10_6": 2e3,
                        "10_7": 2500,
                        "10_8": 5e3,
                        "9_1": 0,
                        "9_2": 0,
                        "9_3": 700,
                        "9_4": 900,
                        "9_5": 1200,
                        "9_6": 1500,
                        "9_7": 1700,
                        "9_8": 2e3,
                        "9_9": 2500
                    },
                    seatPrice: {
                        "1_1_2": 0,
                        "1_5_2": 0,
                        "1_9_2": 0,
                        "1_13_2": 0,
                        "1_5_6": 0,
                        "1_5_5": 0,
                        "1_9_5": 0,
                        "1_16_5": 0,
                        "1_5_8": 0,
                        "1_9_8": 0,
                        "1_16_8": 0,
                        "1_1_11": 0,
                        "1_5_11": 0,
                        "1_9_11": 0,
                        "1_5_14": 0,
                        "1_9_14": 0,
                        "1_16_14": 0,
                        "1_5_15": 0,
                        "1_1_17": 0,
                        "1_5_17": 0,
                        "1_9_17": 0,
                        "1_16_17": 0,
                        "1_1_20": 0,
                        "1_5_20": 0,
                        "1_9_20": 0,
                        "1_16_20": 0,
                        "1_1_23": 0,
                        "1_5_23": 0,
                        "1_9_23": 0,
                        "1_16_23": 0,
                        "2_4_-2": 0,
                        "2_1_1": 0,
                        "2_5_1": 0,
                        "3_9_2": 0,
                        "3_8_2": 0,
                        "3_13_2": 0,
                        "3_1_2": 0,
                        "2_1_4": 0,
                        "2_5_4": 0,
                        "2_5_7": 0,
                        "2_1_10": 0,
                        "2_5_10": 0,
                        "2_5_13": 0,
                        "2_1_13": 0,
                        "2_1_16": 0,
                        "2_5_16": 0,
                        "2_1_19": 0,
                        "2_5_19": 0,
                        "2_5_22": 0,
                        "2_1_22": 0,
                        "3_1_5": 0,
                        "3_9_5": 0,
                        "3_8_5": 0,
                        "3_13_5": 0,
                        "3_8_8": 0,
                        "3_13_8": 0,
                        "3_9_8": 0,
                        "3_9_11": 0,
                        "3_1_11": 0,
                        "3_8_11": 0,
                        "3_13_11": 0,
                        "3_9_14": 0,
                        "3_8_14": 0,
                        "3_1_14": 0,
                        "3_13_14": 0,
                        "3_8_17": 0,
                        "3_1_17": 0,
                        "3_13_17": 0,
                        "3_9_17": 0,
                        "3_8_20": 0,
                        "3_9_20": 0,
                        "3_1_20": 0,
                        "3_13_20": 0,
                        "3_1_23": 0,
                        "3_13_23": 0,
                        "3_9_23": 0,
                        "3_8_23": 0,
                        "4_4_1": 0,
                        "4_8_1": 0,
                        "4_9_1": 0,
                        "4_9_4": 0,
                        "4_4_4": 0,
                        "4_8_4": 0,
                        "4_8_7": 0,
                        "4_9_7": 0,
                        "4_8_10": 0,
                        "4_4_10": 0,
                        "4_9_10": 0,
                        "4_4_13": 0,
                        "4_8_13": 0,
                        "4_9_13": 0,
                        "4_8_16": 0,
                        "4_9_16": 0,
                        "4_4_16": 0,
                        "4_4_19": 0,
                        "4_9_19": 0,
                        "4_8_19": 0,
                        "4_4_22": 0,
                        "4_9_22": 0,
                        "4_8_22": 0,
                        "5_9_2": 0,
                        "5_1_2": 0,
                        "5_13_2": 100,
                        "5_5_2": 0,
                        "6_5_2": 0,
                        "6_1_2": 0,
                        "6_9_2": 0,
                        "6_13_2": 0,
                        "7_9_2": 0,
                        "7_5_2": 0,
                        "7_13_2": 0,
                        "7_1_2": 0,
                        "8_13_2": 250,
                        "8_5_2": 0,
                        "8_9_2": 0,
                        "8_1_2": 0,
                        "10_16_1": 250,
                        "10_4_1": 0,
                        "10_12_1": 0,
                        "10_8_1": 0,
                        "9_5_1": 0,
                        "9_8_2": 0,
                        "9_4_2": 0,
                        "9_12_2": 0,
                        "9_16_2": 250
                    },
                    decoratePrice: {
                        1: 0,
                        2: 0,
                        3: 0,
                        4: 0,
                        5: 500,
                        6: 400,
                        7: 500,
                        8: 600,
                        9: 600,
                        10: 800
                    },
                    lockPrefab: {
                        0: !0,
                        1: !0,
                        2: !0,
                        4: !0
                    },
                    readData: !1,
                    areaPrice: [null, "0", 0, 0],
                    hotelPrice: [null, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
                }, i.TaskDataJson = {
                    TaskNum: {
                        2: 88,
                        3: 25,
                        5: 811,
                        21: 22
                    },
                    readData: !1
                }, i.RestaurantData = {
                    init: 1,
                    areaData: {
                        1: {
                            restaurantData: {
                                1: {
                                    waiterNum: 8,
                                    lineLevel: 1,
                                    waiterSpeedLv: 6,
                                    waiterCanGetMoney: 1,
                                    wallSelected: 13,
                                    floorSelected: 35,
                                    deskSelected: 1,
                                    flowerSelected: 53,
                                    floors: [23, 33, 34, 35, 36, 37],
                                    Equipment: !1,
                                    desknum: 0,
                                    areaId: 1,
                                    walls: [1, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20],
                                    desks: [0, 1, 2, 3, 4, 5],
                                    flowers: [53]
                                },
                                2: {
                                    waiterNum: 1,
                                    lineLevel: 1,
                                    waiterSpeedLv: 2,
                                    waiterCanGetMoney: 1,
                                    wallSelected: 15,
                                    floorSelected: 33,
                                    deskSelected: 4,
                                    flowerSelected: 54,
                                    floors: [24, 33],
                                    Equipment: !1,
                                    desknum: 0,
                                    areaId: 1,
                                    walls: [2, 11, 12, 13, 14, 15],
                                    desks: [0, 4],
                                    flowers: [54]
                                },
                                3: {
                                    waiterNum: 8,
                                    lineLevel: 1,
                                    waiterSpeedLv: 6,
                                    waiterCanGetMoney: 1,
                                    wallSelected: 22,
                                    floorSelected: 37,
                                    deskSelected: 5,
                                    flowerSelected: 68,
                                    floors: [25, 33, 34, 35, 37, 36],
                                    Equipment: !1,
                                    desknum: 0,
                                    areaId: 1,
                                    walls: [3, 11, 12, 13, 15, 14, 16, 17, 18, 20, 19, 21, 22],
                                    desks: [0, 2, 3, 1, 4, 5],
                                    flowers: [55, 63, 64, 65, 66, 67, 68]
                                },
                                4: {
                                    waiterNum: 8,
                                    lineLevel: 1,
                                    waiterSpeedLv: 1,
                                    waiterCanGetMoney: 1,
                                    wallSelected: 11,
                                    floorSelected: 37,
                                    deskSelected: 2,
                                    flowerSelected: 63,
                                    floors: [26, 34, 33, 35, 36, 37],
                                    Equipment: !1,
                                    desknum: 0,
                                    areaId: 1,
                                    walls: [4, 11],
                                    desks: [0, 2, 1, 3, 4, 5],
                                    flowers: [56, 63]
                                }
                            },
                            extraMoneyLv: 7,
                            moneyMagnetLv: 6,
                            customerSpeedLv: 7,
                            foodSpeedLv: 6,
                            isunlock: 0
                        },
                        2: {
                            restaurantData: {
                                5: {
                                    waiterNum: 0,
                                    lineLevel: 1,
                                    waiterSpeedLv: 1,
                                    waiterCanGetMoney: 0,
                                    wallSelected: 5,
                                    floorSelected: 27,
                                    deskSelected: 0,
                                    flowerSelected: 57,
                                    floors: [27],
                                    Equipment: !1,
                                    desknum: 0,
                                    areaId: 2,
                                    walls: [5],
                                    desks: [0],
                                    flowers: [57]
                                },
                                6: {
                                    waiterNum: 0,
                                    lineLevel: 1,
                                    waiterSpeedLv: 1,
                                    waiterCanGetMoney: 0,
                                    wallSelected: 6,
                                    floorSelected: 28,
                                    deskSelected: 0,
                                    flowerSelected: 58,
                                    floors: [28],
                                    Equipment: !1,
                                    desknum: 0,
                                    areaId: 2,
                                    walls: [6],
                                    desks: [0],
                                    flowers: [58]
                                },
                                7: {
                                    waiterNum: 0,
                                    lineLevel: 1,
                                    waiterSpeedLv: 1,
                                    waiterCanGetMoney: 0,
                                    wallSelected: 7,
                                    floorSelected: 29,
                                    deskSelected: 0,
                                    flowerSelected: 59,
                                    floors: [29],
                                    Equipment: !1,
                                    desknum: 0,
                                    areaId: 2,
                                    walls: [7],
                                    desks: [0],
                                    flowers: [59]
                                }
                            },
                            extraMoneyLv: 1,
                            moneyMagnetLv: 1,
                            customerSpeedLv: 1,
                            foodSpeedLv: 1,
                            isunlock: 0
                        },
                        3: {
                            restaurantData: {
                                8: {
                                    waiterNum: 0,
                                    lineLevel: 1,
                                    waiterSpeedLv: 1,
                                    waiterCanGetMoney: 0,
                                    wallSelected: 8,
                                    floorSelected: 30,
                                    deskSelected: 0,
                                    flowerSelected: 60,
                                    floors: [30],
                                    Equipment: !1,
                                    desknum: 0,
                                    areaId: 3,
                                    walls: [8],
                                    desks: [0],
                                    flowers: [60]
                                },
                                9: {
                                    waiterNum: 0,
                                    lineLevel: 1,
                                    waiterSpeedLv: 1,
                                    waiterCanGetMoney: 0,
                                    wallSelected: 9,
                                    floorSelected: 31,
                                    deskSelected: 0,
                                    flowerSelected: 61,
                                    floors: [31],
                                    Equipment: !1,
                                    desknum: 0,
                                    areaId: 3,
                                    walls: [9],
                                    desks: [0],
                                    flowers: [61]
                                },
                                10: {
                                    waiterNum: 0,
                                    lineLevel: 1,
                                    waiterSpeedLv: 1,
                                    waiterCanGetMoney: 0,
                                    wallSelected: 10,
                                    floorSelected: 32,
                                    deskSelected: 0,
                                    flowerSelected: 62,
                                    floors: [32],
                                    Equipment: !1,
                                    desknum: 0,
                                    areaId: 3,
                                    walls: [10],
                                    desks: [0],
                                    flowers: [62]
                                }
                            },
                            extraMoneyLv: 1,
                            moneyMagnetLv: 1,
                            customerSpeedLv: 1,
                            foodSpeedLv: 1,
                            isunlock: 0
                        }
                    },
                    readData: !1
                };
            },
            "./src/script/enum/EBuffType.ts": function (e, t, n) {
                var i, a;
                n.r(t), n.d(t, {
                    EBuffType: function () {
                        return i
                    }
                }), (a = i || (i = {}))[a.EBuff_HP = 1] = "EBuff_HP", a[a.EBuff_Atk = 2] = "EBuff_Atk", a[a.EBuff_Agl = 3] = "EBuff_Agl";
            },
            "./src/script/enum/EChestAni.ts": function (e, t, n) {
                var i, a;
                n.r(t), n.d(t, {
                    EChestAni: function () {
                        return i
                    }
                }), (a = i || (i = {})).Idle = "idle", a.Open = "open", a.Birth = "birth", a.Click = "click";
            },
            "./src/script/enum/EChestType.ts": function (e, t, n) {
                var i, a;
                n.r(t), n.d(t, {
                    EChestType: function () {
                        return i
                    }
                }), (a = i || (i = {}))[a.EChest_Gold = 1] = "EChest_Gold", a[a.EChest_Normal = 2] = "EChest_Normal", a[a.EChest_Best = 3] = "EChest_Best", a[a.EChest_Super = 4] = "EChest_Super";
            },
            "./src/script/enum/EEffectType.ts": function (e, t, n) {
                var i, a;
                n.r(t), n.d(t, {
                    EEffectType: function () {
                        return i
                    }
                }), (a = i || (i = {}))[a.Effect_Aline = 1] = "Effect_Aline", a[a.Effect_Sirenhead_1 = 2] = "Effect_Sirenhead_1", a[a.Effect_Sirenhead_2 = 4] = "Effect_Sirenhead_2", a[a.Effect_Slenderman = 5] = "Effect_Slenderman", a[a.Effect_Birth = 6] = "Effect_Birth", a[a.Effect_Compose = 7] = "Effect_Compose", a[a.Effect_Hit01 = 8] = "Effect_Hit01", a[a.Effect_Hit02 = 9] = "Effect_Hit02", a[a.Effect_Blood = 10] = "Effect_Blood", a[a.Effect_Fire = 11] = "Effect_Fire", a[a.Effect_Tjzy = 12] = "Effect_Tjzy", a[a.Effect_Coin = 13] = "Effect_Coin", a[a.Effect_Boom = 14] = "Effect_Boom";
            },
            "./src/script/enum/EEventScene.ts": function (e, t, n) {
                var i, a;
                n.r(t), n.d(t, {
                    EEventScene: function () {
                        return i
                    }
                }), (a = i || (i = {})).AdChange = "AdChange", a.ShareChange = "ShareChange", a.GameWin = "gameWin", a.GameFail = "gameFail", a.CameraMove = "CameraMove", a.CameraBack = "CameraBack", a.CameraFeature = "CameraFeature", a.UnLockTableOrGp = "UnLockTableOrGp", a.PanoramaBack = "PanoramaBack", a.heroNear = "heroNear", a.heroLeave = "heroLeave", a.CmpShowUI = "CmpShowUI", a.CmpHideUI = "CmpHideUI", a.OpenGuide = "OpenGuide", a.CloseGuide = "CloseGuide", a.zooUnlock = "zooUnlock", a.areaUnlock = "areaUnlock", a.areaLvUp = "areaLvUp", a.StartAni = "startAnimation", a.Distance = "distance", a.CarInfo = "carInfo", a.ResultCarInfo = "resultCarInfo", a.ReviveCarInfo = "reviveCarInfo";
            },
            "./src/script/enum/EEventUI.ts": function (e, t, n) {
                var i, a;
                n.r(t), n.d(t, {
                    EEventUI: function () {
                        return i
                    }
                }), (a = i || (i = {})).HPCHANGE = "HPCHANGE", a.DIAMONDSCHANGE = "DIAMONDSCHANGE", a.COINCHANGE = "COINCHANGE", a.UiOpen = "UiOpen", a.UiHide = "UiHide", a.GameResume = "GameResume", a.GamePasue = "GamePasue", a.GameResume1 = "GameResume1", a.GamePasue1 = "GamePasue1", a.personalmoney = "personalmoney", a.LayerAddPanel = "LayerAddPanel", a.RockerMove = "RockerMove", a.RockerInit = "RockerInit", a.PanelOpen = "PanelOpen", a.PanelHide = "PanelHide", a.TimeUpdate = "TimeUpdate", a.ovLoadAd = "ovLoadAd", a.getMMConfig = "getMMConfig", a.oppohaveAd = "oppohaveAd", a.bannerHide = "bannerHide", a.oppoNoAd = "oppoNoAd", a.specialani = "specialani", a.StoreLevelUp = "StoreLevelUp", a.UISeeVideo = "UISeeVideo", a.interstitalAdShow = "interstitalAdShow", a.interstitalAdHide = "interstitalAdHide", a.ovBannerOnShow = "ovBannerOnShow", a.onCloseBanner = "onCloseBanner", a.getNewAchievment = "getNewAchievment", a.useClearCar = "useClearCar", a.heroBagUp = "heroBagUp", a.changeCar = "changeCar", a.gameBoxClose = "gameBoxClose";
            },
            "./src/script/enum/EMaiType.ts": function (e, t, n) {
                var i, a, s, r, o, u;
                n.r(t), n.d(t, {
                    ENewMaiType: function () {
                        return i
                    },
                    EOldMaiType: function () {
                        return a
                    },
                    YoumengStamp: function () {
                        return o
                    },
                    newYoumenType: function () {
                        return s
                    }
                }), (i || (i = {})).a = "1", (a || (a = {})).a = "1", (r = s || (s = {}))["进入loading"] = "enterLoading", r["结束loading"] = "endLoading", r["进入主页"] = "enterMain", (u = o || (o = {}))[u["guide_enterLoading_进入loading"] = 1001] = "guide_enterLoading_进入loading", u[u["guide_enterGamePage_进入游戏落地页"] = 1002] = "guide_enterGamePage_进入游戏落地页", u[u["guide_onBtnFightFirst_第一次点击开始战斗按钮"] = 1003] = "guide_onBtnFightFirst_第一次点击开始战斗按钮", u[u["guide_enter1stLevelFail_进入第一关失败结算界面"] = 1004] = "guide_enter1stLevelFail_进入第一关失败结算界面", u[u["guide_failPageBackMainPageFromLevelOne_由第一关失败页返回主页面"] = 1005] = "guide_failPageBackMainPageFromLevelOne_由第一关失败页返回主页面", u[u["guide_onBtnBuyRemoteSoldier_点击购买远程英雄"] = 1006] = "guide_onBtnBuyRemoteSoldier_点击购买远程英雄", u[u["guide_doneMoveShortRangeSoldier_完成进程英雄拖动位置"] = 1007] = "guide_doneMoveShortRangeSoldier_完成进程英雄拖动位置", u[u["guide_onBtnFightSecond_第二次点击开始战斗按钮"] = 1008] = "guide_onBtnFightSecond_第二次点击开始战斗按钮", u[u["guide_enter1stLevelSuc_进入第一关胜利结算界面"] = 1009] = "guide_enter1stLevelSuc_进入第一关胜利结算界面", u[u["guide_winPageBackMainPageFromLevelOne_由第一关胜利页返回主界面"] = 1010] = "guide_winPageBackMainPageFromLevelOne_由第一关胜利页返回主界面", u[u["guide_onBtnBuyShortRangeSoldier_点击购买近程英雄"] = 1011] = "guide_onBtnBuyShortRangeSoldier_点击购买近程英雄", u[u["guide_doneCompoundByMoveCrosswise_完成横向拖动合成"] = 1012] = "guide_doneCompoundByMoveCrosswise_完成横向拖动合成", u[u["guide_showNewAlienPage_弹出新的外星人页面"] = 1013] = "guide_showNewAlienPage_弹出新的外星人页面", u[u["video_buyShortSoldier_购买近战英雄拉起视频"] = 2001] = "video_buyShortSoldier_购买近战英雄拉起视频", u[u["video_buyRemoteSoldier_购买远程英雄拉起视频"] = 2002] = "video_buyRemoteSoldier_购买远程英雄拉起视频", u[u["video_failPageFiveRateGet_失败页面5倍领取拉起视频"] = 2003] = "video_failPageFiveRateGet_失败页面5倍领取拉起视频", u[u["video_failPageTenRateGet_失败页面10倍领取拉起视频"] = 2004] = "video_failPageTenRateGet_失败页面10倍领取拉起视频", u[u["video_winPageTimesRateGet_成功页面多倍领取拉起视频"] = 2005] = "video_winPageTimesRateGet_成功页面多倍领取拉起视频", u[u["video_winBossPageTenRateGet_boss成功页面10倍领取拉起视频"] = 2006] = "video_winBossPageTenRateGet_boss成功页面10倍领取拉起视频", u[u["video_boxCoin_打开金币补给箱拉起视频"] = 2007] = "video_boxCoin_打开金币补给箱拉起视频", u[u["video_boxGeneral_打开普通补给箱拉起视频"] = 2008] = "video_boxGeneral_打开普通补给箱拉起视频", u[u["video_boxAdvanced_打开高级补给箱拉起视频"] = 2009] = "video_boxAdvanced_打开高级补给箱拉起视频", u[u["video_boxSuper_打开超级补给箱拉起视频"] = 2010] = "video_boxSuper_打开超级补给箱拉起视频", u[u["video_offLineRate_离线收益多倍领取拉起视频"] = 2011] = "video_offLineRate_离线收益多倍领取拉起视频", u[u["video_signDoubleRate_签到双倍领取拉起视频"] = 2012] = "video_signDoubleRate_签到双倍领取拉起视频", u[u["video_replenishCoin_补充金币拉起视频"] = 2013] = "video_replenishCoin_补充金币拉起视频", u[u["video_startUpgradeMonster_开局升级怪物拉起视频"] = 2014] = "video_startUpgradeMonster_开局升级怪物拉起视频", u[u["video_moreCompound_合成再生一级拉起视频"] = 2015] = "video_moreCompound_合成再生一级拉起视频", u[u["video_superStartIcon_强力开局点击icon拉起视频"] = 2016] = "video_superStartIcon_强力开局点击icon拉起视频", u[u["video_superStartStronger_强力开局我要更强拉起视频"] = 2017] = "video_superStartStronger_强力开局我要更强拉起视频", u[u["video_skillBackHP_局内技能血量恢复拉起视频"] = 2018] = "video_skillBackHP_局内技能血量恢复拉起视频", u[u["video_skillFire_局内技能霹雳烈火拉起视频拉起视频"] = 2019] = "video_skillFire_局内技能霹雳烈火拉起视频拉起视频", u[u["video_skillSkyE_局内技能天降正义拉起视频"] = 2020] = "video_skillSkyE_局内技能天降正义拉起视频", u[u["video_buyHero_购买召唤师拉起视频"] = 2021] = "video_buyHero_购买召唤师拉起视频", u[u["video_newMonsterDouble_解锁新怪物双倍拉起视频"] = 2022] = "video_newMonsterDouble_解锁新怪物双倍拉起视频", u[u["video_fly_monster_点击飞行怪物拉起视频"] = 2023] = "video_fly_monster_点击飞行怪物拉起视频", u[u["video_boss_boss来临_我要变强拉起视频"] = 2024] = "video_boss_boss来临_我要变强拉起视频", u[u["game_enterLevel_进入关卡"] = 3001] = "game_enterLevel_进入关卡", u[u["game_levelWin_关卡胜利结束"] = 3002] = "game_levelWin_关卡胜利结束", u[u["game_levelFail_关卡失败结束"] = 3003] = "game_levelFail_关卡失败结束", u[u["game_new_level_计入新关卡计数"] = 3005] = "game_new_level_计入新关卡计数", u[u["special_skipGuide_跳过新手引导"] = 4001] = "special_skipGuide_跳过新手引导", u[u.video_winPageTimesRateGet = 2025] = "video_winPageTimesRateGet", u[u.video_winPageTimes = 2026] = "video_winPageTimes", u[u.video_winPageT = 4002] = "video_winPageT";
            },
            "./src/script/enum/EMonsterAni.ts": function (e, t, n) {
                var i, a;
                n.r(t), n.d(t, {
                    EMonsterAni: function () {
                        return i
                    }
                }), (a = i || (i = {})).Attack = "attack", a.Run = "run", a.Idle = "idle", a.Victory = "victory", a.Die = "die";
            },
            "./src/script/enum/EMonsterType.ts": function (e, t, n) {
                var i, a;
                n.r(t), n.d(t, {
                    EMonsterType: function () {
                        return i
                    }
                }), (a = i || (i = {}))[a.MeleeMonster = 1] = "MeleeMonster", a[a.RemoteMonster = 2] = "RemoteMonster";
            },
            "./src/script/enum/ESkillType.ts": function (e, t, n) {
                var i, a;
                n.r(t), n.d(t, {
                    ESkillType: function () {
                        return i
                    }
                }), (a = i || (i = {}))[a.ESkill_Resume = 1] = "ESkill_Resume", a[a.ESkill_Fire = 2] = "ESkill_Fire", a[a.ESkill_GodKill = 3] = "ESkill_GodKill";
            },
            "./src/script/enum/ESound.ts": function (e, t, n) {
                var i, a;
                n.r(t), n.d(t, {
                    ESoundName: function () {
                        return i
                    }
                }), (a = i || (i = {})).main_bgm = "bgm", a.sound_bump = "sound_bump2", a.sound_fail = "sound_fail", a.sound_gold = "sound_gold", a.sound_grab = "sound_grab", a.sound_magic = "sound_magic", a.sound_start = "sound_start", a.sound_compose = "sound_synthesis", a.sound_win = "sound_win";
                let tempArr = [];
                let to_check_aaa = a;
                for (let key in to_check_aaa) {
                    if (to_check_aaa.hasOwnProperty(key) && typeof to_check_aaa[key] == 'string') {
                        tempArr.push(to_check_aaa[key]);
                    }
                }
            },
            "./src/script/enum/EWXNativeAD.ts": function (e, t, n) {
                var i, a;
                n.r(t), n.d(t, {
                    EWXNativeAD: function () {
                        return i
                    }
                }), (a = i || (i = {}))[a.singleAd1 = 0] = "singleAd1", a[a.singleAd2 = 1] = "singleAd2", a[a.verticalAd1 = 2] = "verticalAd1", a[a.verticalAd2 = 3] = "verticalAd2", a[a.horizontalAd = 4] = "horizontalAd", a[a.matrixAd = 5] = "matrixAd";
            },
            "./src/script/scene/Main3d/Game3d.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return C
                    }
                });
                var i = n("./src/LTGame/Commom/CommonSaveData.ts"),
                    a = n("./src/LTGame/LTUtils/LTUtils.ts"),
                    s = n("./src/script/common/GlobalUnit.ts"),
                    r = n("./src/script/scene/script/CameraFollow.ts"),
                    o = n("./src/script/scene/script/GameScript.ts"),
                    u = n("./src/UIExt/LTUI.ts"),
                    c = n("./src/script/scene/Main3d/LevelScene.ts"),
                    l = n("./src/script/scene/script/utils/Logger.ts"),
                    d = (n("./src/LTGame/Manager/AudioManager.ts"), n("./src/LTGame/Res/ResUrl.ts")),
                    h = (n("./src/script/enum/ESound.ts"), n("./src/script/config/MonsterConfig.ts")),
                    f = n("./src/script/common/GameData.ts"),
                    _ = n("./src/script/enum/EMonsterType.ts"),
                    m = n("./src/LTGame/Res/LTRes.ts"),
                    g = n("./src/script/common/maidian.ts"),
                    p = n("./src/script/enum/EMaiType.ts"),
                    v = n("./src/LTGame/Platform/LTPlatform.ts"),
                    y = n("./src/LTGame/Platform/EPlatformType.ts"),
                    k = n("./src/script/ui/UI_MainMediator.ts"),
                    C = function () {
                        function e() {
                            _classCallCheck(this, e), this._gaming = !0, this._startRecordTime = 0, this._stopRecordTime = 0, this._lineDelta = [];
                        }
                        return _createClass(e, [{
                            key: "enterGame",
                            value: function () {
                                return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                    return regeneratorRuntime.wrap(function (e) {
                                        for (; ;) switch (e.prev = e.next) {
                                            case 0:
                                                return e.next = 2, s.default.InitAll();
                                            case 2:
                                                return this.gameScript = s.default.s3d.addComponent(o.default), this.cameraFollow = s.default.s3d.addComponent(r.CameraFollow), e.next = 6, this.lvGameWait(i.default.instance.levelId);
                                            case 6:
                                            case "end":
                                                return e.stop()
                                        }
                                    }, e, this)
                                }))
                            }
                        }, {
                            key: "lvGameWait",
                            value: function (e) {
                                return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function t() {
                                    return regeneratorRuntime.wrap(function (t) {
                                        for (; ;) switch (t.prev = t.next) {
                                            case 0:
                                                return this.Clear(), f.default.instance.isGuide || g.default.instance.youmemReport(p.YoumengStamp["guide_enterLoading_进入loading"].toString()), u.default.ShowLoading(), t.next = 6, this.PreloadMonstor();
                                            case 6:
                                                return t.next = 8, this.LoadLevelScene(e);
                                            case 8:
                                                return u.default.HideLoading(), t.next = 11, this.StartGame();
                                            case 11:
                                                return t.next = 13, k.UI_MainMediator.instance.StartGuide(f.default.instance.guideStepIndex);
                                            case 13:
                                            case "end":
                                                return t.stop()
                                        }
                                    }, t, this)
                                }))
                            }
                        }, {
                            key: "RecordVideo",
                            value: function () {
                                v.default.instance.platform == y.EPlatformType.TT && (v.default.instance.recordManager.isRecording || (l.Logger.lg("开始录屏"), this._startRecordTime = Laya.timer.currTimer, v.default.instance.recordManager.StartRecord(null, null, Laya.Handler.create(this, this.OnRecordError))));
                            }
                        }, {
                            key: "OnRecordError",
                            value: function () {
                                v.default.instance.recordManager.StartRecord(null, null, Laya.Handler.create(this, this.OnRecordError));
                            }
                        }, {
                            key: "PreloadMonstor",
                            value: function () {
                                return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                    var t, n, i, a;
                                    return regeneratorRuntime.wrap(function (e) {
                                        for (; ;) switch (e.prev = e.next) {
                                            case 0:
                                                if (!(h.MonsterConfig.dataList && h.MonsterConfig.dataList.length > 0)) {
                                                    e.next = 13;
                                                    break
                                                }
                                                for (t = "", n = "", i = 0; i < h.MonsterConfig.dataList.length; i++)(a = h.MonsterConfig.dataList[i]) && 1 == a.level && (a.type == _.EMonsterType.MeleeMonster ? t = a.prefabName : a.type == _.EMonsterType.RemoteMonster && (n = a.prefabName));
                                                if (null != m.default.Get(d.default.prefab_url(t))) {
                                                    e.next = 8;
                                                    break
                                                }
                                                return l.Logger.lg("加载初级近战怪兽"), e.next = 8, m.default.LoadAndGet(d.default.prefab_url(t));
                                            case 8:
                                                if (null != m.default.Get(d.default.prefab_url(n))) {
                                                    e.next = 12;
                                                    break
                                                }
                                                return l.Logger.lg("加载初级远程怪兽"), e.next = 12, m.default.LoadAndGet(d.default.prefab_url(n));
                                            case 12:
                                                l.Logger.lg("预加载完成");
                                            case 13:
                                            case "end":
                                                return e.stop()
                                        }
                                    }, e)
                                }))
                            }
                        }, {
                            key: "StartGame",
                            value: function () {
                                return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                    return regeneratorRuntime.wrap(function (e) {
                                        for (; ;) switch (e.prev = e.next) {
                                            case 0:
                                                if (!this._gaming) {
                                                    e.next = 2;
                                                    break
                                                }
                                                return e.abrupt("return");
                                            case 2:
                                                this._gaming = !0, f.default.instance.isGuide || g.default.instance.youmemReport(p.YoumengStamp["guide_enterGamePage_进入游戏落地页"].toString());
                                            case 4:
                                            case "end":
                                                return e.stop()
                                        }
                                    }, e, this)
                                }))
                            }
                        }, {
                            key: "LoadLevelScene",
                            value: function (e) {
                                return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function t() {
                                    var n;
                                    return regeneratorRuntime.wrap(function (t) {
                                        for (; ;) switch (t.prev = t.next) {
                                            case 0:
                                                if (this._nowLvScene) {
                                                    t.next = 5;
                                                    break
                                                }
                                                return n = new c.default, this._nowLvScene = n, t.next = 5, n.BuildGame(e);
                                            case 5:
                                            case "end":
                                                return t.stop()
                                        }
                                    }, t, this)
                                }))
                            }
                        }, {
                            key: "Clear",
                            value: function () {
                                e.instance.cameraFollow.closeFollow();
                            }
                        }, {
                            key: "NowScene",
                            value: function () {
                                return this._nowLvScene
                            }
                        }, {
                            key: "Update",
                            value: function () {
                                if (this._gaming) {
                                    this._lineDelta.push(a.LTUtils.deltaTime), this._lineDelta.length > 20 && this._lineDelta.splice(0, 1);
                                    var e = 0;
                                    this._lineDelta.forEach(function (t) {
                                        e += t;
                                    });
                                    var t = Math.ceil(e / this._lineDelta.length);
                                    this._nowLvScene && this._nowLvScene.Update(t), this.cameraFollow && this.cameraFollow && this.cameraFollow.update(t);
                                }
                            }
                        }, {
                            key: "LateUpdate",
                            value: function () {
                                this._gaming && a.LTUtils.deltaTime;
                            }
                        }], [{
                            key: "instance",
                            get: function () {
                                return null == this._instance && (this._instance = new e), this._instance
                            }
                        }]), e
                    }();
            },
            "./src/script/scene/Main3d/LevelScene.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return K
                    }
                });
                var i = n("./src/LTGame/3d/SceneManager.ts"),
                    a = n("./src/LTGame/LTUtils/LTUtils.ts"),
                    s = n("./src/script/common/GlobalUnit.ts"),
                    r = n("./src/script/config/LevelConfig.ts"),
                    o = n("./src/script/common/LayerDefine.ts"),
                    u = n("./src/LTGame/LTUtils/CameraEx.ts"),
                    c = n("./src/script/enum/EMonsterType.ts"),
                    l = n("./src/script/scene/script/data/PosInfoData.ts"),
                    d = n("./src/script/common/Utils.ts"),
                    h = n("./src/LTGame/Res/LTRes.ts"),
                    f = n("./src/LTGame/Res/ResUrl.ts"),
                    _ = n("./src/script/scene/script/monster/Monster.ts"),
                    m = n("./src/script/scene/script/utils/Logger.ts"),
                    g = n("./src/LTGame/LTUtils/Vector3Ex.ts"),
                    p = n("./src/script/config/MonsterConfig.ts"),
                    v = n("./src/script/enum/EMonsterAni.ts"),
                    y = n("./src/script/common/GameData.ts"),
                    k = n("./src/script/ui/UI_MainMediator.ts"),
                    C = n("./src/UIExt/LTUI.ts"),
                    I = n("./src/script/scene/script/monster/FlyMonster.ts"),
                    S = n("./src/script/ui/UI_ResultMediator.ts"),
                    L = n("./src/LTGame/Commom/CommonSaveData.ts"),
                    w = n("./src/script/config/GameConst.ts"),
                    U = (n("./src/script/ui/UI_OfflineMediator.ts"), n("./src/script/scene/script/player/Player.ts")),
                    A = n("./src/script/scene/script/chest/Chest.ts"),
                    b = n("./src/script/enum/EEffectType.ts"),
                    T = n("./src/script/ui/UI_EvolutionMediator.ts"),
                    G = n("./src/script/ui/UI_LevelUpMediator.ts"),
                    E = n("./src/LTGame/Manager/AudioManager.ts"),
                    x = n("./src/script/enum/ESound.ts"),
                    P = n("./src/script/enum/EChestAni.ts"),
                    M = n("./src/script/enum/ESkillType.ts"),
                    D = n("./src/script/ui/UI_CongratulationMediator.ts"),
                    R = n("./src/script/common/maidian.ts"),
                    B = n("./src/script/enum/EMaiType.ts"),
                    O = n("./src/LTGame/Manager/EffectManager.ts"),
                    F = n("./src/script/ui/Sign/UI_SignMediator.ts"),
                    V = (n("./src/script/ui/UI_BossComeMediator.ts"), n("./src/LTGame/Platform/LTPlatform.ts")),
                    N = n("./src/LTGame/Platform/EPlatformType.ts"),
                    H = n("./src/script/ui/UI_CrazyClickMediator.ts"),
                    j = n("./src/script/common/Const.ts"),
                    Y = n("./bin/hlsdk/hlsdk_adapter.ts"),
                    W = n("./src/script/scene/Main3d/Game3d.ts"),
                    K = function () {
                        function e() {
                            _classCallCheck(this, e), this._gaming = !1, this._isShootRay = !1, this._point = new Laya.Vector2, this._armyGreenBound = {}, this._earnGold = 0, this._currentFailCount = 0, this._cloudSriteArray = [], this._noShowChesetCount = 0, this._isLoadingMonster = !1, this._isDraging = !1, this._isUp = !0, this._ray = new Laya.Ray(g.default.zeroNew, g.default.zeroNew), this._outResult = new Laya.HitResult, this._recodeTimer = 0, this._isEnableAutoAddMonster = !1, this._autoAddMonsterCounter = 0;
                        }
                        return _createClass(e, [{
                            key: "Scene",
                            value: function () {
                                return this._scene.scene
                            }
                        }, {
                            key: "GetBulletNode",
                            value: function () {
                                return this._bulletSpriteNode
                            }
                        }, {
                            key: "GetFlyMonster",
                            value: function () {
                                return this._flyMonster
                            }
                        }, {
                            key: "AddEarnGold",
                            value: function (e) {
                                this._earnGold += e;
                            }
                        }, {
                            key: "GetPlayer",
                            value: function () {
                                return this._player
                            }
                        }, {
                            key: "GetChest",
                            value: function () {
                                return this._chest
                            }
                        }, {
                            key: "BuildGame",
                            value: function (e) {
                                return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function t() {
                                    var n, a, s;
                                    return regeneratorRuntime.wrap(function (t) {
                                        for (; ;) switch (t.prev = t.next) {
                                            case 0:
                                                return n = r.LevelConfig.dataList.length, 0 == w.GameConst.data.circle_level_last ? 0 == (e %= n) && (e = n) : e > r.LevelConfig.dataList.length && (a = e - r.LevelConfig.dataList.length, 0 == (s = a % w.GameConst.data.circle_level_last) && (s = w.GameConst.data.circle_level_last), e = r.LevelConfig.dataList.length - w.GameConst.data.circle_level_last + s), this._levelId = e, this._scene = i.default.instance.getSceneByLv(1), this._gaming = !1, this._isShootRay = !0, this._isEnableAutoAddMonster = !0, this._autoAddMonsterCounter = 0, t.next = 10, this._scene.buildScene();
                                            case 10:
                                                return this.InitItems(), this.InitPublicNode(), this.InitArmy(), this.InitEnemy(), t.next = 16, this.AddAllEnemyMonster();
                                            case 16:
                                                return t.next = 18, this.AddAllArmyMonster();
                                            case 18:
                                                this.InitFlyMonster(), this.InitSummoner(), this.InitChest(), this.InitCloud(), k.UI_MainMediator.instance.FormatGoldValue(y.default.instance.diamondsCount), Laya.timer.once(500, this, function () {
                                                    k.UI_MainMediator.instance.SetLevel(L.default.instance.levelId);
                                                });
                                            case 25:
                                            case "end":
                                                return t.stop()
                                        }
                                    }, t, this)
                                }))
                            }
                        }, {
                            key: "ShowSignPage",
                            value: function () {
                                y.default.instance.isGuide && !L.default.instance.isSigned && F.UI_SignMediator.instance.Show();
                            }
                        }, {
                            key: "InitCloud",
                            value: function () {
                                var e = s.default.s3d.getChildByName("public");
                                if (this._cloudSriteArray = [], e) {
                                    this._cloudNode = e.getChildByName("cloud");
                                    for (var t = 0; t < this._cloudNode.numChildren; t++) this._cloudSriteArray[t] = this._cloudNode.getChildAt(t);
                                }
                            }
                        }, {
                            key: "InitChest",
                            value: function () {
                                var e = this.Scene().getChildByName("chest_pos");
                                this._chest = new A.default(null), this._chest.Init(e);
                            }
                        }, {
                            key: "InitSummoner",
                            value: function () {
                                var e = this.Scene().getChildByName("summoner_pos");
                                this._player = new U.default(null), this._player.Init(e);
                            }
                        }, {
                            key: "InitFlyMonster",
                            value: function () {
                                return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                    var t;
                                    return regeneratorRuntime.wrap(function (e) {
                                        for (; ;) switch (e.prev = e.next) {
                                            case 0:
                                                return e.next = 2, h.default.LoadAndGet(f.default.prefab_url("prop_uav"));
                                            case 2:
                                                t = e.sent, this._flyMonster = new I.default(t), this._flyMonster.Init();
                                            case 5:
                                            case "end":
                                                return e.stop()
                                        }
                                    }, e, this)
                                }))
                            }
                        }, {
                            key: "AddAllArmyMonster",
                            value: function () {
                                return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                    var t, n, i, a, s, r, o;
                                    return regeneratorRuntime.wrap(function (e) {
                                        for (; ;) switch (e.prev = e.next) {
                                            case 0:
                                                if (!((t = y.default.instance.playerMonsterInfo) && t.length > 0)) {
                                                    e.next = 19;
                                                    break
                                                }
                                                if (!((n = y.default.instance.playerMonsterInfo) && n.length > 0)) {
                                                    e.next = 19;
                                                    break
                                                }
                                                i = 0;
                                            case 5:
                                                if (!(i < n.length)) {
                                                    e.next = 19;
                                                    break
                                                }
                                                return a = n[i], e.next = 9, h.default.LoadAndGet(f.default.prefab_url(a.name));
                                            case 9:
                                                return s = e.sent, this._armySpriteNode && this._armySpriteNode.addChild(s), r = this._armyDataList[a.index], o = new _.default(s), e.next = 15, o.Init(r.Position);
                                            case 15:
                                                r.MonsterScript = o;
                                            case 16:
                                                i++, e.next = 5;
                                                break;
                                            case 19:
                                            case "end":
                                                return e.stop()
                                        }
                                    }, e, this)
                                }))
                            }
                        }, {
                            key: "ResetStatus",
                            value: function () {
                                var e = arguments.length > 0 && void 0 !== arguments[0] && arguments[0];
                                return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function t() {
                                    var n, i, a, o, u, l, d, h, f, _, g, p, C, I, S = this;
                                    return regeneratorRuntime.wrap(function (t) {
                                        for (; ;) switch (t.prev = t.next) {
                                            case 0:
                                                if (window.ISKAISHI = !1, k.UI_MainMediator.instance.ui.m_gold_cmp.m_add_btn.visible = !0, this.IsGaming = !1, this._isShootRay = !0, this._isEnableAutoAddMonster = !0, this._autoAddMonsterCounter = 0, this._boxSprite && (this._boxSprite.active = !0), y.default.instance.isGuide || 1 != L.default.instance.levelId || 1 != y.default.instance.guideStepIndex || e || R.default.instance.youmemReport(B.YoumengStamp["guide_failPageBackMainPageFromLevelOne_由第一关失败页返回主页面"].toString()), !y.default.instance.isGuide && 1 == L.default.instance.levelId && e && R.default.instance.youmemReport(B.YoumengStamp["guide_winPageBackMainPageFromLevelOne_由第一关胜利页返回主界面"].toString()), !e) {
                                                    t.next = 29;
                                                    break
                                                }
                                                return j.default.faxing == N.EFaxing.hl && (n = L.default.instance.levelId) > 1 && 0 == n % 5 && (Y.HLSDKAdapter.hideBannerAd(), Laya.timer.once(500, this, function () {
                                                    Y.HLSDKAdapter.hideBannerAd(), Y.HLSDKAdapter.showCustomView(function () {
                                                        Y.HLSDKAdapter.showBannerAd();
                                                    }), console.log("is showing crazy page");
                                                })), i = r.LevelConfig.dataList.length, L.default.instance.levelId++, L.default.SaveToDisk(), R.default.instance.youmemReport(B.YoumengStamp["game_new_level_计入新关卡计数"].toString(), {
                                                    level: L.default.instance.levelId + ""
                                                }), m.Logger.lg("进入下一关埋点:{state:" + L.default.instance.levelId + "}"), a = L.default.instance.levelId, 0 == w.GameConst.data.circle_level_last ? 0 == (a %= i) && (a = i) : a > r.LevelConfig.dataList.length && (o = a - r.LevelConfig.dataList.length, 0 == (u = o % w.GameConst.data.circle_level_last) && (u = w.GameConst.data.circle_level_last), a = r.LevelConfig.dataList.length - w.GameConst.data.circle_level_last + u), this._levelId = a, k.UI_MainMediator.instance.SetLevel(L.default.instance.levelId), this.ClearAllEnemyMonster(), t.next = 21, this.AddAllEnemyMonster();
                                            case 21:
                                                l = !1, L.default.instance.levelId > 2 && this._levelId % 4 == 0 && (l = !0, Laya.timer.once(500, this, function () {
                                                    var e = S.GetCampAliveData(!1).reduce(function (e, t) {
                                                        return e.MonsterScript.MonsterConfig.level > t.MonsterScript.MonsterConfig.level ? e : t
                                                    });
                                                    if (e && e.MonsterScript) {
                                                        var t = e.MonsterScript;
                                                        T.UI_EvolutionMediator.instance.Show({
                                                            monsterScript: t
                                                        });
                                                    }
                                                })), this._levelId % 5 != 0 || l || (d = this.GetCampAliveData(!0), (h = d.reduce(function (e, t) {
                                                    return e.MonsterScript.MonsterConfig.level > t.MonsterScript.MonsterConfig.level ? e : t
                                                })) && h.MonsterScript && h.MonsterScript), f = a, 0 == (_ = Math.floor(f / 10)) || 4 == _ || 8 == _ ? s.default.SwitchSkyBoxMat("sky_1") : 1 == _ || 5 == _ || 9 == _ ? s.default.SwitchSkyBoxMat("sky_2") : 2 == _ || 6 == _ ? s.default.SwitchSkyBoxMat("sky_3") : 3 != _ && 7 != _ || s.default.SwitchSkyBoxMat("sky_4"), t.next = 30;
                                                break;
                                            case 29:
                                                this.ResetCampMonster(!0);
                                            case 30:
                                                y.default.instance.isGuide || k.UI_MainMediator.instance.StartGuide(y.default.instance.guideStepIndex), y.default.instance.isGuide || 1 != y.default.instance.guideStepIndex && 2 != y.default.instance.guideStepIndex || (this._startBox = this._armyDataList.find(function (e) {
                                                    return e.IsExistMonster && e.MonsterScript && e.MonsterScript.MonsterConfig.type == c.EMonsterType.MeleeMonster
                                                }), this._startBox && 2 != this._startBox.ID && (g = this._armyDataList[2], p = this._startBox.MonsterScript,
                                                    this._startBox.MonsterScript = g.MonsterScript, g.MonsterScript = p, this._startBox.ReturnPosition(), g.ReturnPosition()), 2 == y.default.instance.guideStepIndex && (this._startBox = this._armyDataList.find(function (e) {
                                                        return e.IsExistMonster && e.MonsterScript && e.MonsterScript.MonsterConfig.type == c.EMonsterType.RemoteMonster
                                                    }), this._startBox && 11 != this._startBox.ID && (C = this._armyDataList[11], I = this._startBox.MonsterScript, this._startBox.MonsterScript = C.MonsterScript, C.MonsterScript = I, this._startBox.ReturnPosition(), C.ReturnPosition()))), this._player && this._player.SwitchAnimation(v.EMonsterAni.Idle, !0), k.UI_MainMediator.instance.ChangeStatus(!1), this.ResetCampMonster(), this._noShowChesetCount >= 1 ? (this._chest && this._chest.StartShowChest(), this._noShowChesetCount = 0) : L.default.instance.levelId >= 2 && (this._noShowChesetCount++, m.Logger.lg("已经连续没有显示宝箱的关卡数:" + this._noShowChesetCount)), this._bulletSpriteNode && this._bulletSpriteNode.destroyChildren();
                                            case 37:
                                            case "end":
                                                return t.stop()
                                        }
                                    }, t, this)
                                }))
                            }
                        }, {
                            key: "ResetCampMonster",
                            value: function () {
                                if (arguments.length > 0 && void 0 !== arguments[0] && arguments[0]) {
                                    if (this._enemyDataList && this._enemyDataList.length)
                                        for (var e = 0; e < this._enemyDataList.length; e++) this._enemyDataList[e] && this._enemyDataList[e].Reset();
                                } else if (this._armyDataList && this._armyDataList.length)
                                    for (var t = 0; t < this._armyDataList.length; t++) this._armyDataList[t] && this._armyDataList[t].Reset();
                            }
                        }, {
                            key: "InitPublicNode",
                            value: function () {
                                var e = s.default.s3d.getChildByName("public");
                                e && (this._armySpriteNode = e.getChildByName("armys"), this._enemysSpriteNode = e.getChildByName("enemys"), this._bulletSpriteNode = e.getChildByName("bullets"));
                            }
                        }, {
                            key: "InitArmy",
                            value: function () {
                                var e = this._scene.scene;
                                if (e) {
                                    var t = e.getChildByName("platforms").getChildByName("platform");
                                    if (t) {
                                        this._boxSprite = t.getChildByName("net");
                                        var n = t.getChildByName("army"),
                                            i = n.numChildren;
                                        this._armyGreenBound = {}, this._armyDataList = [];
                                        for (var a = 0; a < i; a++) {
                                            var s = n.getChildAt(a);
                                            if (s) {
                                                this.AddCollideGroup(s, o.default.Box, o.default.Ray);
                                                var r = s.name,
                                                    u = s.getChildByName("part");
                                                u && (u.active = !1), this._armyGreenBound[r] = u;
                                                var c = new l.PosInfoData;
                                                c.Name = r, c.ID = a, c.Position = s.transform.position.clone(), c.GreenBoundsSprite = u, c.ShowGreenBonds = !1, c.IsExistMonster = !1, c.MonsterScript = null, this._armyDataList.push(c);
                                            }
                                        }
                                    }
                                }
                            }
                        }, {
                            key: "InitEnemy",
                            value: function () {
                                var e = this._scene.scene;
                                if (e) {
                                    var t = e.getChildByName("platforms").getChildByName("platform");
                                    if (t) {
                                        var n = t.getChildByName("enemy"),
                                            i = n.numChildren;
                                        this._enemyDataList = [];
                                        for (var a = 0; a < i; a++) {
                                            var s = n.getChildAt(a);
                                            if (s) {
                                                var r = new l.PosInfoData;
                                                r.Name = s.name, r.ID = a, r.Position = s.transform.position.clone(), r.GreenBoundsSprite = null, r.ShowGreenBonds = !1, r.IsExistMonster = !1, r.MonsterScript = null, this._enemyDataList.push(r);
                                            }
                                        }
                                    }
                                }
                            }
                        }, {
                            key: "ShowGreenBounds",
                            value: function (e) {
                                for (var t in this._armyGreenBound) this._armyGreenBound[t].active = e == t;
                            }
                        }, {
                            key: "AddMonster",
                            value: function (e) {
                                var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : 1,
                                    n = arguments.length > 2 && void 0 !== arguments[2] && arguments[2];
                                return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function i() {
                                    var a, s, r, o, u, l, g;
                                    return regeneratorRuntime.wrap(function (i) {
                                        for (; ;) switch (i.prev = i.next) {
                                            case 0:
                                                if (this._isLoadingMonster = !0, !((a = this._armyDataList.filter(function (e) {
                                                    return !e.IsExistMonster
                                                })) && a.length > 0)) {
                                                    i.next = 20;
                                                    break
                                                }
                                                return s = d.Utils.getRandomInt(a.length), r = a[s], y.default.instance.isGuide || (e == c.EMonsterType.RemoteMonster ? r = this._armyDataList[11] : e == c.EMonsterType.MeleeMonster && (r = this._armyDataList[4])), o = "", u = p.MonsterConfig.dataList.find(function (n) {
                                                    return n.type == e && n.level == t
                                                }), o = u.prefabName, i.next = 11, h.default.LoadAndGet(f.default.prefab_url(o));
                                            case 11:
                                                l = i.sent, this._armySpriteNode && this._armySpriteNode.addChild(l), (console.error("位置:" + r), g = new _.default(l)).Init(r.Position), r.MonsterScript = g, n && (y.default.instance.stockMonsterList.shift(), y.default.SaveToDisk()), this.SavePlayerMonsterData(), i.next = 22;
                                                break;
                                            case 20:
                                                m.Logger.lg("地图上已经没有多余位置了"), n || k.UI_MainMediator.instance.ShowTips();
                                            case 22:
                                                this._isLoadingMonster = !1;
                                            case 23:
                                            case "end":
                                                return i.stop()
                                        }
                                    }, i, this)
                                }))
                            }
                        }, {
                            key: "AddAllEnemyMonster",
                            value: function () {
                                return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                    var t, n, i, a, s, o, u, c, l, d = this;
                                    return regeneratorRuntime.wrap(function (e) {
                                        for (; ;) switch (e.prev = e.next) {
                                            case 0:
                                                if (this._enemysSpriteNode && this._enemysSpriteNode.numChildren > 0 && this._enemysSpriteNode.removeChildren(0, this._enemysSpriteNode.numChildren), !(t = r.LevelConfig.dataList.find(function (e) {
                                                    return e.id == d._levelId
                                                }))) {
                                                    e.next = 27;
                                                    break
                                                }
                                                n = t.monsterId, i = t.boxNum, a = 0;
                                            case 6:
                                                if (!(a < n.length)) {
                                                    e.next = 25;
                                                    break
                                                }
                                                return s = i[a], o = p.MonsterConfig.data[n[a]], e.next = 11, h.default.LoadAndGet(f.default.prefab_url(o.prefabName));
                                            case 11:
                                                if (u = e.sent, this._enemysSpriteNode && this._enemysSpriteNode.addChild(u), !(c = this._enemyDataList[s])) {
                                                    e.next = 21;
                                                    break
                                                }
                                                return l = new _.default(u), e.next = 18, l.Init(c.Position, !0);
                                            case 18:
                                                c.MonsterScript = l, e.next = 22;
                                                break;
                                            case 21:
                                                m.Logger.lg("没有当前格子信息" + s);
                                            case 22:
                                                a++, e.next = 6;
                                                break;
                                            case 25:
                                                e.next = 28;
                                                break;
                                            case 27:
                                                m.Logger.lg("当前关卡:".concat(this._levelId, "没有敌人配置信息"));
                                            case 28:
                                            case "end":
                                                return e.stop()
                                        }
                                    }, e, this)
                                }))
                            }
                        }, {
                            key: "ClearAllEnemyMonster",
                            value: function () {
                                this._enemysSpriteNode && this._enemysSpriteNode.numChildren > 0 && this._enemysSpriteNode.removeChildren(0, this._enemysSpriteNode.numChildren);
                                for (var e = 0; e < this._enemyDataList.length; e++) this._enemyDataList[e].MonsterScript && (this._enemyDataList[e].MonsterScript.Destory(), this._enemyDataList[e].MonsterScript = null);
                            }
                        }, {
                            key: "SavePlayerMonsterData",
                            value: function () {
                                var e = this.GetCampAllData(!1);
                                if (e) {
                                    for (var t = [], n = 0; n < e.length; n++) {
                                        var i = {
                                            index: e[n].ID,
                                            name: e[n].MonsterScript.Owner.name
                                        };
                                        t.push(i);
                                    }
                                    y.default.instance.playerMonsterInfo = t, y.default.SaveToDisk();
                                }
                            }
                        }, {
                            key: "OnMouseDown",
                            value: function () {
                                if (this._isUp = !1, !this.IsGaming && this._isShootRay) {
                                    m.Logger.lg("--->按下");
                                    var e = Laya.stage.mouseX,
                                        t = Laya.stage.mouseY;
                                    if (this._point.x = e, this._point.y = t, u.CameraEx.ScreenPosToWorldPos(s.default.camera, this._point, this._ray), s.default.s3d.physicsSimulation.rayCast(this._ray, this._outResult, 500, o.default.Ray, o.default.Box | o.default.Chest)) {
                                        var n = this._outResult.collider.owner.name;
                                        if (m.Logger.lg("打中格子名称：" + n), n.startsWith("chest")) return void (this._chest && this._chest.IsEnableOpen && (this._chest.SwitchAnimation(P.EChestAni.Open, !0), this._chest.OpenChestBox()));
                                        var i = n.split("_"),
                                            a = Number.parseInt(i[1]);
                                        if (!y.default.instance.isGuide && 3 == y.default.instance.guideStepIndex && 2 != a) return;
                                        var r = this._armyDataList[a];
                                        r && !r.IsMoving && (this._startBox = r, r.IsExistMonster && (this._isDraging = !0, this.ShowGreenBounds(n)));
                                    }
                                }
                            }
                        }, {
                            key: "OnMouseDrag",
                            value: function () {
                                if (!this.IsGaming && this._isShootRay && this._isDraging) {
                                    var e = Laya.stage.mouseX,
                                        t = Laya.stage.mouseY;
                                    this._point.x = e, this._point.y = t;
                                    var n = u.CameraEx.ScreenPosToWorldPos(s.default.camera, this._point, this._ray);
                                    this._startBox && this._startBox.MonsterScript && this._startBox.MonsterScript.DragMonster(n);
                                    var i = "";
                                    s.default.s3d.physicsSimulation.rayCast(this._ray, this._outResult, 300, o.default.Ray, o.default.Box) && (i = this._outResult.collider.owner.name), this.ShowGreenBounds(i);
                                }
                            }
                        }, {
                            key: "OnMouseUp",
                            value: function () {
                                if (this._isUp = !0, !this.IsGaming && this._isDraging) {
                                    var e = Laya.stage.mouseX,
                                        t = Laya.stage.mouseY;
                                    this._point.x = e, this._point.y = t;
                                    var n = u.CameraEx.ScreenPosToWorldPos(s.default.camera, this._point, this._ray);
                                    if (this._selectBox && this._selectBox.MonsterScript && this._selectBox.MonsterScript.DragMonster(n), s.default.s3d.physicsSimulation.rayCast(this._ray, this._outResult, 300, o.default.Ray, o.default.Box)) {
                                        var i = this._outResult.collider.owner.name.split("_"),
                                            a = Number.parseInt(i[1]);
                                        if (!y.default.instance.isGuide && 3 == y.default.instance.guideStepIndex && k.UI_MainMediator.instance.GuideArrowIsVisible(1)) {
                                            if (4 != a) return this._startBox && this._startBox.ReturnPosition(), this.ShowGreenBounds(""), void (this._isDraging = !1);
                                            k.UI_MainMediator.instance.HideGuideArrow(1), k.UI_MainMediator.instance.SetVisibleStartGameBtn(!0), k.UI_MainMediator.instance.StopCountDownGuide(), R.default.instance.youmemReport(B.YoumengStamp["guide_doneCompoundByMoveCrosswise_完成横向拖动合成"].toString()), R.default.instance.youmemReport(B.YoumengStamp["guide_showNewAlienPage_弹出新的外星人页面"].toString()), y.default.instance.guideStepIndex++, y.default.instance.guideStepIndex > 3 && (y.default.instance.isGuide = !0), y.default.SaveToDisk();
                                        }
                                        var r = this._armyDataList[a];
                                        if (r && r.Name != this._startBox.Name) {
                                            if (r.IsExistMonster) {
                                                if (this._startBox.MonsterScript && r.MonsterScript && this._startBox.MonsterScript.MonsterConfig.level == r.MonsterScript.MonsterConfig.level && this._startBox.MonsterScript.MonsterConfig.type == r.MonsterScript.MonsterConfig.type) {
                                                    var c = this._startBox.MonsterScript.MonsterConfig.level,
                                                        l = this._startBox.MonsterScript.MonsterConfig.type,
                                                        d = p.MonsterConfig.dataList.find(function (e) {
                                                            return e.type == l && e.level == c + 1
                                                        });
                                                    if (d) return this.StartCompose(this._startBox, r, d), void this.ShowGreenBounds("");
                                                    m.Logger.lg("当前两个怪兽已经是最高等级不能进行融合，交换位置");
                                                }
                                                var h = this._startBox.MonsterScript;
                                                this._startBox.MonsterScript = r.MonsterScript, r.MonsterScript = h, this._startBox.ReturnPosition(), r.ReturnPosition();
                                            } else {
                                                var f = this._startBox.MonsterScript;
                                                this._startBox.MonsterScript = r.MonsterScript, r.MonsterScript = f, r.ReturnPosition();
                                            }
                                            this.SavePlayerMonsterData();
                                        } else this._startBox && this._startBox.ReturnPosition();
                                    } else this._startBox && this._startBox.ReturnPosition();
                                    this.ShowGreenBounds(""), this._isDraging = !1, k.UI_MainMediator.instance.RefreshAliveBloodbar();
                                }
                            }
                        }, {
                            key: "OnMouseOut",
                            value: function () {
                                this.IsGaming || this._isDraging && (this._isUp || (this._isUp = !0, this.OnMouseUp()));
                            }
                        }, {
                            key: "StartCompose",
                            value: function (e, t, n) {
                                return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function i() {
                                    var a, s, r, o;
                                    return regeneratorRuntime.wrap(function (i) {
                                        for (; ;) switch (i.prev = i.next) {
                                            case 0:
                                                return a = e.MonsterScript.Owner, e.MonsterScript.Owner = null, e.MonsterScript = null, (s = a.parent) && s.removeChild(a), i.next = 7, h.default.LoadAndGet(f.default.prefab_url(n.prefabName));
                                            case 7:
                                                r = i.sent, this._armySpriteNode && this._armySpriteNode.addChild(r), E.default.instance.playSound(x.ESoundName.sound_compose, 1), t.MonsterScript.SwitchMonsterMode(r), t.MonsterScript.Owner.transform.position = t.Position.clone(), t.MonsterScript.PlayEffect(b.EEffectType.Effect_Compose, t.MonsterScript.Owner), this.SavePlayerMonsterData(), (o = y.default.instance.composeMonsterInfo[n.id]) ? o++ : o = 1, o >= w.GameConst.data.free_level_count && n.level >= Math.max(2, w.GameConst.data.free_level) && G.UI_LevelUpMediator.instance.Show({
                                                    monsterScript: t.MonsterScript
                                                }), y.default.instance.composeMonsterInfo[n.id] = o, y.default.instance.unlockMonsterId[n.id] || (D.UI_CongratulationMediator.instance.Show({
                                                    monsterId: n.id
                                                }), y.default.instance.unlockMonsterId[n.id] = n.id), y.default.SaveToDisk(), k.UI_MainMediator.instance.RefreshAliveBloodbar();
                                            case 22:
                                            case "end":
                                                return i.stop()
                                        }
                                    }, i, this)
                                }))
                            }
                        }, {
                            key: "GetCampEmptyData",
                            value: function () {
                                return arguments.length > 0 && void 0 !== arguments[0] && arguments[0] ? this._enemyDataList.filter(function (e) {
                                    return !e.IsExistMonster
                                }) : this._armyDataList.filter(function (e) {
                                    return !e.IsExistMonster
                                })
                            }
                        }, {
                            key: "GetCampAliveData",
                            value: function (e) {
                                return e ? this._enemyDataList.filter(function (e) {
                                    return e.IsExistMonster && e.MonsterScript.IsLive
                                }) : this._armyDataList.filter(function (e) {
                                    return e.IsExistMonster && e.MonsterScript.IsLive
                                })
                            }
                        }, {
                            key: "GetCampAllData",
                            value: function (e) {
                                return e ? this._enemyDataList.filter(function (e) {
                                    return e.IsExistMonster
                                }) : this._armyDataList.filter(function (e) {
                                    return e.IsExistMonster
                                })
                            }
                        }, {
                            key: "Update",
                            value: function (e) {
                                if (this._armyDataList)
                                    for (var t = 0; t < this._armyDataList.length; t++) this._armyDataList[t].Update(e);
                                if (this._enemyDataList)
                                    for (var n = 0; n < this._enemyDataList.length; n++) this._enemyDataList[n].Update(e);
                                if (this._flyMonster && this._flyMonster.Update(e), S.UI_ResultMediator.instance.isShow && S.UI_ResultMediator.instance.Update(e), this._recodeTimer += e, this._recodeTimer > 5e3 && (y.default.instance.currentTime = Laya.timer.currTimer, y.default.SaveToDisk(), this._recodeTimer = 0), this._chest && this._chest.Update(e), H.UI_CrazyClickMediator.instance.isShow && H.UI_CrazyClickMediator.instance.UpdateCrazyClickProgress(e), this._isEnableAutoAddMonster && !this._isLoadingMonster && (this._autoAddMonsterCounter += e, this._autoAddMonsterCounter > 500)) {
                                    var i = y.default.instance.stockMonsterList[0];
                                    i && this.AddMonster(i.type, i.level, !0), this._autoAddMonsterCounter = 0;
                                }
                                this.UpdateCloudPos(e);
                            }
                        }, {
                            key: "PlaySkillEffect",
                            value: function (e, t) {
                                var n = 0;
                                e == M.ESkillType.ESkill_Resume ? n = b.EEffectType.Effect_Blood : e == M.ESkillType.ESkill_Fire ? n = b.EEffectType.Effect_Fire : e == M.ESkillType.ESkill_GodKill && (n = b.EEffectType.Effect_Tjzy);
                                var i = new O.EffectShowData(n);
                                i.continueTime = 2, t ? i.parent = t : i.setPos = new Laya.Vector3(0, 0, 0), O.EffectManager.instance.PlayEffectByData(i);
                            }
                        }, {
                            key: "UseOneSkill",
                            value: function (e) {
                                return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function t() {
                                    var n, i, a = this;
                                    return regeneratorRuntime.wrap(function (t) {
                                        for (; ;) switch (t.prev = t.next) {
                                            case 0:
                                                t.t0 = e, t.next = t.t0 === M.ESkillType.ESkill_Resume ? 3 : t.t0 === M.ESkillType.ESkill_Fire ? 6 : t.t0 === M.ESkillType.ESkill_GodKill ? 9 : 12;
                                                break;
                                            case 3:
                                                return this.PlaySkillEffect(e, null), Laya.timer.once(500, this, function () {
                                                    var e = a.GetCampAliveData(!1);
                                                    if (e && e.length > 0)
                                                        for (var t = 0; t < e.length; t++) {
                                                            var n = e[t];
                                                            if (n && n.MonsterScript) {
                                                                var i = Math.floor(n.MonsterScript.MonsterConfig.hp * w.GameConst.data.skill_resume);
                                                                n.MonsterScript.ChangeHp(i, 0);
                                                            }
                                                        }
                                                }), t.abrupt("break", 12);
                                            case 6:
                                                return this.PlaySkillEffect(e, null), Laya.timer.once(500, this, function () {
                                                    var e = a.GetCampAliveData(!0);
                                                    if (e && e.length > 0) {
                                                        var t = [];
                                                        if (e.length <= 3)
                                                            for (var n = 0; n < e.length; n++) t.push(e[n]);
                                                        else {
                                                            var i = d.Utils.getRandomInt(3) + 3;
                                                            i > e.length && (i = e.length);
                                                            for (var s = 0; s < i; s++) t.push(e[s]);
                                                        }
                                                        if (t && t.length > 0)
                                                            for (var r = 0; r < t.length; r++) {
                                                                var o = t[r];
                                                                if (o && o.MonsterScript) {
                                                                    var u = Math.floor(-1 * o.MonsterScript.MonsterConfig.hp * w.GameConst.data.skill_fire);
                                                                    o.MonsterScript.ChangeHp(u, 0), m.Logger.lg("对怪兽：" + o.Name + " 造成伤害：" + u);
                                                                }
                                                            }
                                                    }
                                                }), t.abrupt("break", 12);
                                            case 9:
                                                return (n = this.GetCampAliveData(!0)) && n.length > 0 && (i = n.reduce(function (e, t) {
                                                    return e.MonsterScript.MonsterConfig.level > t.MonsterScript.MonsterConfig.level ? e : t
                                                })) && i.MonsterScript && (this.PlaySkillEffect(e, i.MonsterScript.Owner), Laya.timer.once(500, this, function (e) {
                                                    e.MonsterScript.ChangeHp(-1 * e.MonsterScript.MaxHp, 0), m.Logger.lg("杀死怪兽：" + e.Name + ",等级：" + e.MonsterScript.MonsterConfig.level);
                                                }, [i])), t.abrupt("break", 12);
                                            case 12:
                                            case "end":
                                                return t.stop()
                                        }
                                    }, t, this)
                                }))
                            }
                        }, {
                            key: "UpdateCloudPos",
                            value: function (e) {
                                if (this._cloudNode && this._cloudSriteArray && this._cloudSriteArray.length)
                                    for (var t = 0; t < this._cloudSriteArray.length; t++) {
                                        var n = this._cloudSriteArray[t];
                                        if (n) {
                                            var i = n.transform.position.x;
                                            (i += e / 17 * .01) > 20 && (i = -20), n.transform.position.x = i, n.transform.position = n.transform.position;
                                        }
                                    }
                            }
                        }, {
                            key: "LateUpdate",
                            value: function (e) { }
                        }, {
                            key: "InitItems",
                            value: function () {
                                var e = this,
                                    t = this._scene.prefabs,
                                    n = function (n) {
                                        var i = e.GetCls(n);
                                        i && t[n].forEach(function (t) {
                                            var s = new i;
                                            s && (a.LTUtils.SetShadow(t, !1, !1), s.initDisplay(t, n, !1, e._levelId));
                                        });
                                    };
                                for (var i in t) n(i);
                            }
                        }, {
                            key: "GetCls",
                            value: function (e) {
                                return null
                            }
                        }, {
                            key: "Destory",
                            value: function () {
                                this._gaming = !1, Laya.timer.clearAll(this), s.default.camera && (Laya.Tween.clearAll(s.default.camera.transform.position), Laya.Tween.clearAll(s.default.camera.transform.rotationEuler));
                            }
                        }, {
                            key: "AddCollideGroup",
                            value: function (e) {
                                var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : o.default.All,
                                    n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : o.default.All,
                                    i = e.getComponent(Laya.PhysicsCollider);
                                i && (i.collisionGroup = t, i.canCollideWith = n);
                            }
                        }, {
                            key: "GameResult",
                            value: function (e) {
                                var t = this,
                                    n = this.GetCampAliveData(!e);
                                if (m.Logger.lg("当前游戏结束,是否胜利:" + e + ",胜利方存活怪兽个数:" + n.length), W.default.instance._stopRecordTime = Laya.timer.currTimer, V.default.instance.recordManager.StopRecord(null), this.IsGaming = !1, this._isShootRay = !1, n && n.length)
                                    for (var i = 0; i < n.length; i++) n[i].MonsterScript.IsFighting = !1, n[i].MonsterScript.SwitchAnimation(v.EMonsterAni.Victory, !0);
                                e ? (R.default.instance.youmemReport(B.YoumengStamp["game_levelWin_关卡胜利结束"].toString(), {
                                    level: this._levelId + ""
                                }), E.default.instance.playSound(x.ESoundName.sound_win, 1), this._player && this._player.SwitchAnimation(v.EMonsterAni.Victory), this._currentFailCount = 0, y.default.instance.buyMeleeCount++, y.default.instance.buyRemoteCount++, y.default.instance.buyGodSkillCount++, y.default.instance.buyResumeSkillCount++, y.default.instance.buyFireSkillCount++, y.default.instance.buyGodSkillCount++, y.default.instance.buyGoodStartCount++, y.default.SaveToDisk(), k.UI_MainMediator.instance.RefreshCmpStatus()) : (R.default.instance.youmemReport(B.YoumengStamp["game_levelFail_关卡失败结束"].toString(), {
                                    level: this._levelId + ""
                                }), E.default.instance.playSound(x.ESoundName.sound_fail, 1), this._player && this._player.SwitchAnimation(v.EMonsterAni.Die), this._currentFailCount++), Laya.timer.once(1e3, this, function (e) {
                                    S.UI_ResultMediator.instance.Show({
                                        isWin: e,
                                        gold: Math.floor(t._earnGold),
                                        failCount: t._currentFailCount
                                    });
                                }, [e], !1);
                            }
                        }, {
                            key: "StartFight",
                            value: function () {
                                R.default.instance.youmemReport(B.YoumengStamp["game_enterLevel_进入关卡"].toString(), {
                                    level: this._levelId + ""
                                }), this.IsGaming = !0, this._earnGold = 0, this._boxSprite && (this._boxSprite.active = !1), this.ShowGreenBounds(""), this._isEnableAutoAddMonster = !1, this._autoAddMonsterCounter = 0;
                                for (var e = this.GetCampAliveData(!1), t = 0; t < e.length; t++) e[t].MonsterScript.Fight();
                                for (var n = this.GetCampAliveData(!0), i = 0; i < n.length; i++) n[i].MonsterScript.Fight();
                            }
                        }, {
                            key: "PauseGame",
                            value: function () {
                                this.IsGaming = !1;
                                for (var e = this.GetCampAliveData(!1), t = 0; t < e.length; t++) e[t].MonsterScript.Pause();
                                for (var n = this.GetCampAliveData(!0), i = 0; i < n.length; i++) n[i].MonsterScript.Pause();
                            }
                        }, {
                            key: "ResumeGame",
                            value: function () {
                                this.IsGaming = !0;
                                for (var e = this.GetCampAliveData(!1), t = 0; t < e.length; t++) e[t].MonsterScript.Fight();
                                for (var n = this.GetCampAliveData(!0), i = 0; i < n.length; i++) n[i].MonsterScript.Fight();
                                n && 0 != n.length ? e && 0 != e.length || this.GameResult(!1) : this.GameResult(!0);
                            }
                        }, {
                            key: "ChangeGold",
                            value: function (e) {
                                y.default.instance.diamondsCount + e < 0 ? C.default.Toast("金币不足") : (y.default.instance.diamondsCount += e, y.default.SaveToDisk(), k.UI_MainMediator.instance.FormatGoldValue(y.default.instance.diamondsCount), e > 0 && E.default.instance.playSound(x.ESoundName.sound_gold, 1));
                            }
                        }, {
                            key: "RayPointChange3DPoint",
                            value: function (e, t, n, i) {
                                var a = e.clone(),
                                    s = new Laya.Vector3(e.x - t.x, e.y - t.y, e.z - t.z);
                                Laya.Vector3.normalize(s, s);
                                var r, o = e.z - n.z,
                                    u = Math.abs(i.y - e.y) * (1 / Math.abs(s.y));
                                return r = o > 0 ? 1 : -1, a.y = i.y, a.z += u * s.z * r, a.x += u * s.x * r, a
                            }
                        }, {
                            key: "IsGaming",
                            get: function () {
                                return this._gaming
                            },
                            set: function (e) {
                                this._gaming = e;
                            }
                        }, {
                            key: "EarnGold",
                            get: function () {
                                return this._earnGold
                            }
                        }]), e
                    }();
            },
            "./src/script/scene/MainScene.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return g
                    }
                });
                var i = n("./src/LTGame/Fsm/BaseState.ts"),
                    a = n("./src/LTGame/Start/ESceneType.ts"),
                    s = n("./src/script/common/Const.ts"),
                    r = n("./src/LTGame/Commom/CommonSaveData.ts"),
                    o = n("./src/LTGame/Platform/LTPlatform.ts"),
                    u = n("./src/LTGame/Manager/AudioManager.ts"),
                    c = n("./src/LTGame/Platform/EPlatformType.ts"),
                    l = n("./src/script/ui/UI_MainMediator.ts"),
                    d = n("./src/script/scene/Main3d/Game3d.ts"),
                    h = n("./src/LTGame/Manager/EffectManager.ts"),
                    f = n("./src/LTGame/SDK/LTSDK.ts"),
                    _ = n("./src/script/common/GameData.ts"),
                    m = n("./src/script/ui/UI_OvYinsiMediator.ts"),
                    g = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this, a.ESceneType.Main)
                        }
                        _inherits(t, i.default);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "_DoEnter",
                            value: function () {
                                return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                    return regeneratorRuntime.wrap(function (e) {
                                        for (; ;) switch (e.prev = e.next) {
                                            case 0:
                                                if (s.default.support2D && (Laya.Physics && Laya.Physics.enable(), Laya.PhysicsDebugDraw.enable()), r.default.instance.firstEnter && (r.default.instance.firstEnter = !1), o.default.instance.platform != c.EPlatformType.WX && o.default.instance.platform != c.EPlatformType.QQ || f.default.instance.loadComplete) {
                                                    e.next = 6;
                                                    break
                                                }
                                                return t.isFinished = !0, e.abrupt("return");
                                            case 6:
                                                if (h.EffectManager.instance.init(), h.EffectManager.instance.WarmEffects(), o.default.instance.platform != c.EPlatformType.Oppo || _.default.instance.agreeYinsi) {
                                                    e.next = 11;
                                                    break
                                                }
                                                try {
                                                    m.default.instance.Show();
                                                } catch (e) {
                                                    console.error(e);
                                                }
                                                return e.abrupt("return");
                                            case 11:
                                                return _.default.instance.guideStepIndex > 0 && !_.default.instance.isGuide && (_.default.instance.isGuide = !0, _.default.SaveToDisk()), e.next = 14, l.UI_MainMediator.instance.Show();
                                            case 14:
                                                if (s.default.loadUI && s.default.loadUI.dispose(), s.default.loadUI = null, !s.default.support3D) {
                                                    e.next = 19;
                                                    break
                                                }
                                                return e.next = 19, d.default.instance.enterGame();
                                            case 19:
                                                o.default.instance.platform == c.EPlatformType.WX && (o.default.instance.LoadSubpackageAsync("res_ani"), o.default.instance.LoadSubpackageAsync("res_atlas")), u.default.instance.setMusicOpen(r.default.instance.isMusicOn), u.default.instance.setSoundOpen(r.default.instance.isSoundOn);
                                            case 22:
                                            case "end":
                                                return e.stop()
                                        }
                                    }, e)
                                }))
                            }
                        }]), t
                    }();
                g.isFinished = !1;
            },
            "./src/script/scene/SplashScene.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return T
                    }
                });
                var i = n("./src/LTGame/Config/ConfigManager.ts"),
                    a = n("./src/LTGame/Start/ESceneType.ts"),
                    s = n("./src/LTGame/Start/LTSplashScene.ts"),
                    r = n("./src/script/config/GameConst.ts"),
                    o = n("./src/script/config/PackConst.ts"),
                    u = n("./src/script/config/SignConfig.ts"),
                    c = n("./src/LTGame/Manager/AudioManager.ts"),
                    l = n("./src/script/config/ShareConfig.ts"),
                    d = n("./src/ui/base/baseBinder.ts"),
                    h = n("./src/ui/sign/signBinder.ts"),
                    f = n("./src/ui/main/mainBinder.ts"),
                    _ = n("./src/script/config/MusicConfig.ts"),
                    m = n("./src/script/config/LevelConfig.ts"),
                    g = n("./src/LTGame/3d/SceneManager.ts"),
                    p = n("./src/script/config/EffectConfig.ts"),
                    v = n("./src/LTGame/Manager/EffectManager.ts"),
                    y = n("./src/ui/Load/UI_loading.ts"),
                    k = n("./src/ui/Load/LoadBinder.ts"),
                    C = n("./src/script/config/RollConfig.ts"),
                    I = n("./src/script/config/MonsterConfig.ts"),
                    S = n("./src/script/config/PlayerConfig.ts"),
                    L = n("./src/script/config/ChestConfig.ts"),
                    w = n("./src/script/config/ParamsConfig.ts"),
                    U = n("./src/script/config/AttackParamConfig.ts"),
                    A = n("./src/script/config/NewRollConfig.ts"),
                    b = n("./src/ui/OVYinsi/OVYinsiBinder.ts"),
                    T = function (e) {
                        function t() {
                            var e;
                            return _classCallCheck(this, t), (e = n.call(this))._splashUIClass = y.default, e
                        }
                        _inherits(t, s.default);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "_OnBindUI",
                            value: function () {
                                d.default.bindAll(), h.default.bindAll(), f.default.bindAll(), k.default.bindAll(), b.default.bindAll();
                            }
                        }, {
                            key: "_OnSetLoadConfig",
                            value: function () {
                                i.ConfigManager.AddConfig(r.GameConst), i.ConfigManager.AddConfig(o.PackConst), i.ConfigManager.AddConfig(u.SignConfig), i.ConfigManager.AddConfig(l.ShareConfig), i.ConfigManager.AddConfig(_.MusicConfig), i.ConfigManager.AddConfig(m.LevelConfig), i.ConfigManager.AddConfig(p.EffectConfig), i.ConfigManager.AddConfig(C.RollConfig), i.ConfigManager.AddConfig(I.MonsterConfig), i.ConfigManager.AddConfig(S.PlayerConfig), i.ConfigManager.AddConfig(L.ChestConfig), i.ConfigManager.AddConfig(w.ParamsConfig), i.ConfigManager.AddConfig(U.AttackParamConfig), i.ConfigManager.AddConfig(A.NewRollConfig);
                            }
                        }, {
                            key: "_OnGameResPrepared",
                            value: function (e) {
                                c.default.instance.Preload(e), g.default.instance.Preload(e), v.EffectManager.instance.Preload(e);
                            }
                        }, {
                            key: "_OnGameResLoaded",
                            value: function () {
                                return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                    return regeneratorRuntime.wrap(function (e) {
                                        for (; ;) switch (e.prev = e.next) {
                                            case 0:
                                                this.isFinished = !0, this.nextState = a.ESceneType.Main;
                                            case 2:
                                            case "end":
                                                return e.stop()
                                        }
                                    }, e, this)
                                }))
                            }
                        }]), t
                    }();
            },
            "./src/script/scene/script/CameraFollow.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    CameraFollow: function () {
                        return s
                    }
                });
                var i = n("./src/LTGame/LTUtils/Vector3Ex.ts"),
                    a = n("./src/script/common/GlobalUnit.ts"),
                    s = function (e) {
                        function t() {
                            var e;
                            return _classCallCheck(this, t), (e = n.apply(this, arguments))._isFollow = !1, e.tempPos = i.default.zeroNew, e
                        }
                        _inherits(t, Laya.Script3D);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "cAnchorFollow",
                            value: function (e, t, n) {
                                arguments.length > 3 && void 0 !== arguments[3] && arguments[3], this._cAnchor = e, this._posOffSet = n || new Laya.Vector3, this._followSprite = t, this._cAnchor.transform.rotationEuler.y = 0, this._cAnchor.transform.rotationEuler = this._cAnchor.transform.rotationEuler, this.update(), this.initEvent();
                            }
                        }, {
                            key: "closeFollow",
                            value: function () {
                                this._followSprite = null, this._cAnchor = null, this.removeEvent();
                            }
                        }, {
                            key: "stopCAnchorFollow",
                            value: function () {
                                this._cAnchor = null;
                            }
                        }, {
                            key: "initEvent",
                            value: function () { }
                        }, {
                            key: "removeEvent",
                            value: function () { }
                        }, {
                            key: "update",
                            value: function (e) {
                                this._followSprite && this._cAnchor && this.IsFollow && this._updateCAnchor();
                            }
                        }, {
                            key: "_updateCAnchor",
                            value: function () {
                                this._cAnchor && this._followSprite && (Laya.Vector3.add(this._followSprite.transform.position, this._posOffSet, this.tempPos), this.tempPos.y = 0, this._cAnchor.transform.position = this.tempPos);
                            }
                        }, {
                            key: "dispose",
                            value: function () {
                                var e = a.default.camera;
                                Laya.Tween.clearAll(e.transform.position), Laya.Tween.clearAll(e.transform.rotationEuler), this.stopCAnchorFollow(), this._cAnchor = null;
                            }
                        }, {
                            key: "IsFollow",
                            set: function (e) {
                                this._isFollow = e;
                            },
                            get: function () {
                                return this._isFollow
                            }
                        }]), t
                    }();
            },
            "./src/script/scene/script/GameScript.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return o
                    }
                });
                var i = n("./src/LTGame/Commom/CommonEventId.ts"),
                    a = n("./src/LTGame/Manager/MesManager.ts"),
                    s = n("./src/script/enum/EEventUI.ts"),
                    r = n("./src/script/scene/Main3d/Game3d.ts"),
                    o = function (e) {
                        function t() {
                            var e;
                            return _classCallCheck(this, t), (e = n.apply(this, arguments))._isPause = !1, e
                        }
                        _inherits(t, Laya.Script3D);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onAwake",
                            value: function () {
                                _get(_getPrototypeOf(t.prototype), "onAwake", this).call(this), a.default.instance.onUI(s.EEventUI.GameResume, this, this.restart), a.default.instance.onUI(s.EEventUI.GamePasue, this, this.pause), Laya.stage.on(i.CommonEventId.RESUM_AUDIO, this, this.restart), Laya.stage.on(i.CommonEventId.PAUSE_AUDIO, this, this.pause);
                            }
                        }, {
                            key: "pause",
                            value: function () {
                                this._isPause = !0;
                            }
                        }, {
                            key: "restart",
                            value: function () {
                                this._isPause = !1;
                            }
                        }, {
                            key: "onUpdate",
                            value: function () {
                                this._isPause || (_get(_getPrototypeOf(t.prototype), "onUpdate", this).call(this), r.default.instance.Update());
                            }
                        }, {
                            key: "onLateUpdate",
                            value: function () {
                                this._isPause || (_get(_getPrototypeOf(t.prototype), "onUpdate", this).call(this), r.default.instance.LateUpdate());
                            }
                        }]), t
                    }();
            },
            "./src/script/scene/script/base/AniStateScript.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    AniStateScript: function () {
                        return i
                    }
                });
                var i = function (e) {
                    function t() {
                        var e;
                        return _classCallCheck(this, t), (e = n.call(this))._listenerProgressList = [], e
                    }
                    _inherits(t, Laya.AnimatorStateScript);
                    var n = _createSuper(t);
                    return _createClass(t, [{
                        key: "Callback",
                        value: function (e) {
                            this._animator = e.args[0], this._handler = e;
                        }
                    }, {
                        key: "ListenerProgress",
                        value: function (e) {
                            this._listenerProgressList.push(e);
                        }
                    }, {
                        key: "onStateEnter",
                        value: function () {
                            this._listenerProgressList && this._listenerProgressList.forEach(function (e) {
                                e.args[1] = !1;
                            });
                        }
                    }, {
                        key: "onStateUpdate",
                        value: function () {
                            if (this._listenerProgressList && this._listenerProgressList.length > 0) {
                                var e = this._animator.getControllerLayer(0).getCurrentPlayState().normalizedTime;
                                if (e > 1) return;
                                e = Math.floor(100 * e);
                                for (var t = 0; t < this._listenerProgressList.length; t++) !this._listenerProgressList[t].args[1] && e >= this._listenerProgressList[t].args[0] && (this._listenerProgressList[t].args[1] = !0, this._listenerProgressList[t].run());
                            }
                        }
                    }, {
                        key: "onStateExit",
                        value: function () {
                            return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                var t, n;
                                return regeneratorRuntime.wrap(function (e) {
                                    for (; ;) switch (e.prev = e.next) {
                                        case 0:
                                            this._animator && (t = this._animator.getControllerLayer(0).getCurrentPlayState(), n = t.animatorState.name, this._handler && this._handler.runWith(n));
                                        case 1:
                                        case "end":
                                            return e.stop()
                                    }
                                }, e, this)
                            }))
                        }
                    }, {
                        key: "Destory",
                        value: function () {
                            this._handler && (this._handler.clear(), this._handler = null), this._animator && (this._animator = null);
                        }
                    }]), t
                }();
            },
            "./src/script/scene/script/base/BaseSprite3D.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return s
                    }
                });
                var i = n("./src/script/common/LayerDefine.ts"),
                    a = n("./src/script/scene/script/base/ColliderScript.ts"),
                    s = function () {
                        function e(t) {
                            _classCallCheck(this, e), this._owner = t, this._colliderScriptArray = [];
                        }
                        return _createClass(e, [{
                            key: "AddColliderScript",
                            value: function (e) {
                                if (e) {
                                    var t = e.getComponent(a.ColliderScript);
                                    t || (t = e.addComponent(a.ColliderScript), this._colliderScriptArray[e.name] = t, t.Callback(Laya.Handler.create(this, this.OnTriggerEnter, [], !1), Laya.Handler.create(this, this.OnTriggerStay, [], !1), Laya.Handler.create(this, this.OnTriggerExit, [], !1)));
                                }
                            }
                        }, {
                            key: "AddCollideGroup",
                            value: function (e) {
                                var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : i.default.All,
                                    n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : i.default.All,
                                    a = e.getComponent(Laya.PhysicsCollider);
                                a && (a.collisionGroup = t, a.canCollideWith = n);
                            }
                        }, {
                            key: "LateUpdate",
                            value: function (e) { }
                        }, {
                            key: "Destory",
                            value: function () {
                                this._colliderScriptArray = [], this._owner.destroy();
                            }
                        }, {
                            key: "OnTriggerEnter",
                            value: function (e) { }
                        }, {
                            key: "OnTriggerExit",
                            value: function (e) { }
                        }, {
                            key: "OnTriggerStay",
                            value: function (e) { }
                        }, {
                            key: "Owner",
                            get: function () {
                                return this._owner
                            },
                            set: function (e) {
                                this._owner = e;
                            }
                        }]), e
                    }();
            },
            "./src/script/scene/script/base/ColliderScript.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    ColliderScript: function () {
                        return i
                    }
                });
                var i = function (e) {
                    function t() {
                        return _classCallCheck(this, t), n.apply(this, arguments)
                    }
                    _inherits(t, Laya.Script3D);
                    var n = _createSuper(t);
                    return _createClass(t, [{
                        key: "onStart",
                        value: function () {
                            this.owner;
                        }
                    }, {
                        key: "Callback",
                        value: function (e, t, n) {
                            this._handlerEnter = e, this._handlerExist = n, this._handlerStay = t;
                        }
                    }, {
                        key: "onTriggerEnter",
                        value: function (e) {
                            this._handlerEnter && this._handlerEnter.runWith(e);
                        }
                    }, {
                        key: "onTriggerExit",
                        value: function (e) {
                            this._handlerExist && this._handlerExist.runWith(e);
                        }
                    }, {
                        key: "onTriggerStay",
                        value: function (e) {
                            this._handlerStay && this._handlerStay.runWith(e);
                        }
                    }, {
                        key: "onDestroy",
                        value: function () {
                            this._handlerEnter && (this._handlerEnter.clear(), this._handlerEnter = null), this._handlerExist && (this._handlerExist.clear(), this._handlerExist = null), this._handlerStay && (this._handlerStay.clear(), this._handlerStay = null);
                        }
                    }]), t
                }();
            },
            "./src/script/scene/script/bullet/MonsterBullet.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    MonsterBullet: function () {
                        return r
                    }
                });
                var i = n("./src/LTGame/LTUtils/Vector3Ex.ts"),
                    a = n("./src/script/scene/Main3d/Game3d.ts"),
                    s = n("./src/script/scene/script/base/BaseSprite3D.ts"),
                    r = function (e) {
                        function t(e) {
                            var i;
                            return _classCallCheck(this, t), (i = n.call(this, e))._currentVelocity = new Laya.Vector3, i._flying = !1, i._attack = 0, i._attackGold = 0, i._rotation = new Laya.Vector3(0, 135, 0), i._parent = a.default.instance.NowScene().GetBulletNode(), i._parent && i._parent.addChild(i.Owner), i
                        }
                        _inherits(t, s.default);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "Init",
                            value: function (e, t, n, i) {
                                this._attack = e, this._attackGold = t, this._handler = i, this.Owner.transform.position = n.clone(), this._flying = !0;
                            }
                        }, {
                            key: "Update",
                            value: function (e) {
                                if (this._flying) {
                                    var t = this._lockTarget.Owner.transform.position.clone();
                                    t.y += 1.5;
                                    var n = i.default.Subtract(t, this.Owner.transform.position);
                                    n = i.default.Scale(i.default.Normalize(n), e / 17 * .2), this.Owner.transform.position = i.default.Add(this.Owner.transform.position, n), this.Owner.transform.lookAt(t, i.default.up, !1), this.Owner.transform.rotate(this._rotation), i.default.Distance(this.Owner.transform.position, t) < .5 && (this._parent && this._parent.removeChild(this.Owner), this._lockTarget.IsLive && this._lockTarget.ChangeHp(-1 * this._attack, this._attackGold), this._flying = !1, this._handler && this._handler.runWith(this));
                                }
                            }
                        }, {
                            key: "OnDestroy",
                            value: function () {
                                this._flying = !1, this._handler = null, this._parent = null, this._lockTarget = null, _get(_getPrototypeOf(t.prototype), "Destory", this).call(this);
                            }
                        }, {
                            key: "LockTarget",
                            get: function () {
                                return this._lockTarget
                            },
                            set: function (e) {
                                this._lockTarget = e;
                            }
                        }]), t
                    }();
            },
            "./src/script/scene/script/chest/Chest.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return m
                    }
                });
                var i = n("./src/LTGame/LTUtils/Vector3Ex.ts"),
                    a = n("./src/LTGame/Res/LTRes.ts"),
                    s = n("./src/LTGame/Res/ResUrl.ts"),
                    r = n("./src/script/common/LayerDefine.ts"),
                    o = n("./src/script/common/Utils.ts"),
                    u = n("./src/script/config/ChestConfig.ts"),
                    c = (n("./src/script/config/GameConst.ts"), n("./src/script/enum/EChestAni.ts")),
                    l = (n("./src/script/enum/EChestType.ts"), n("./src/script/ui/UI_ChestMediator.ts")),
                    d = n("./src/script/scene/Main3d/Game3d.ts"),
                    h = n("./src/script/scene/script/base/AniStateScript.ts"),
                    f = n("./src/script/scene/script/base/BaseSprite3D.ts"),
                    _ = n("./src/script/scene/script/utils/Logger.ts"),
                    m = function (e) {
                        function t(e) {
                            var i;
                            return _classCallCheck(this, t), (i = n.call(this, e))._currentAni = "", i._timeCounter = 0, i._startRefresh = !1, i._destoryCounter = 0, i._startDestroy = !1, i._notSuperChestCount = 0, i._currentChestConfig = null, i._isDorpDown = !1, i._isEnableOpen = !1, i._currentVelocity = new Laya.Vector3, i
                        }
                        _inherits(t, f.default);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "Init",
                            value: function (e) {
                                return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function t() {
                                    return regeneratorRuntime.wrap(function (t) {
                                        for (; ;) switch (t.prev = t.next) {
                                            case 0:
                                                this._bornPos = e, this.Owner && this.InitAnimator(), this._startRefresh = !0;
                                            case 3:
                                            case "end":
                                                return t.stop()
                                        }
                                    }, t, this)
                                }))
                            }
                        }, {
                            key: "InitAnimator",
                            value: function () {
                                var e = this,
                                    t = this.Owner.getChildAt(0);
                                if (t) {
                                    if (this._animator = t.getComponent(Laya.Animator), this._animator) {
                                        var n = this._animator.getControllerLayer(0)._states;
                                        n && n.forEach(function (t) {
                                            if (t.name == c.EChestAni.Open) {
                                                var n = t.getScript(h.AniStateScript);
                                                n || (n = t.addScript(h.AniStateScript)), n.Callback(Laya.Handler.create(e, e.OnAnimationEnd, [e._animator], !1));
                                            }
                                        });
                                    }
                                    Laya.timer.frameOnce(1, this, function () {
                                        e.SwitchAnimation(c.EChestAni.Birth, !0);
                                    });
                                }
                            }
                        }, {
                            key: "SwitchAnimation",
                            value: function (e) {
                                var t = arguments.length > 1 && void 0 !== arguments[1] && arguments[1];
                                this.Owner && this._animator && (t ? (this._animator.crossFade(e, .2, 0, 0), this._currentAni = e) : this._currentAni != e && (this._animator.crossFade(e, .2, 0, 0), this._currentAni = e)), _.Logger.lg("宝箱当前动画切换为：" + this._currentAni);
                            }
                        }, {
                            key: "SwitchChestrMode",
                            value: function (e) {
                                return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function t() {
                                    var n, i, r, o, c;
                                    return regeneratorRuntime.wrap(function (t) {
                                        for (; ;) switch (t.prev = t.next) {
                                            case 0:
                                                if (n = u.ChestConfig.data[e]) {
                                                    t.next = 4;
                                                    break
                                                }
                                                return _.Logger.lg("当前宝箱为空"), t.abrupt("return");
                                            case 4:
                                                return i = this.Owner, t.next = 7, a.default.LoadAndGet(s.default.prefab_url(n.prefabName));
                                            case 7:
                                                (r = t.sent) && this._bornPos && (this._bornPos.addChild(r), d.default.instance.NowScene().GetCampEmptyData()), this.Owner = r, this.Owner.active = !0, this._isEnableOpen = !1, this.InitCollider(), this.InitAnimator(), i && (o = i.parent) && o.removeChild(i).destroy(!0), (c = this._bornPos.transform.position.clone()).y += 10, this.Owner.transform.position = c, this._isDorpDown = !0, this._startRefresh = !1, this._startDestroy = !0, this._destoryCounter = 0;
                                            case 22:
                                            case "end":
                                                return t.stop()
                                        }
                                    }, t, this)
                                }))
                            }
                        }, {
                            key: "InitCollider",
                            value: function () {
                                if (this.Owner) {
                                    var e = this.Owner.getChildAt(0).getChildByName("chest").getComponent(Laya.PhysicsCollider);
                                    e && (e.collisionGroup = r.default.Chest, e.canCollideWith = r.default.Ray);
                                }
                            }
                        }, {
                            key: "OnAnimationEnd",
                            value: function (e, t) {
                                switch (t) {
                                    case c.EChestAni.Open:
                                }
                            }
                        }, {
                            key: "AddOneChestBox",
                            value: function () {
                                for (var e = u.ChestConfig.dataList.length, t = 0, n = 0; n < e; n++) t += u.ChestConfig.dataList[n].weight;
                                for (var i = o.Utils.getRandomInt(t), a = 0, s = 0, r = 0; r < e; r++) {
                                    if (s += u.ChestConfig.dataList[r].weight, i >= a && i < s) {
                                        u.ChestConfig.dataList[r];
                                        break
                                    }
                                    a += u.ChestConfig.dataList[r].weight;
                                }
                            }
                        }, {
                            key: "OpenChestBox",
                            value: function () {
                                var e = this;
                                _.Logger.lg("打中宝箱"), Laya.timer.once(1e3, this, function () {
                                    l.UI_ChestMediator.instance.Show({
                                        type: e._currentChestConfig.type
                                    });
                                });
                            }
                        }, {
                            key: "RemoveChest",
                            value: function () {
                                this.Owner && (this.Owner.active = !1), this._startDestroy = !1, this._timeCounter = 0, this._startRefresh = !0;
                            }
                        }, {
                            key: "Update",
                            value: function (e) {
                                if (this._isDorpDown) {
                                    var t = i.default.SmoothDamp(this.Owner.transform.position, this._bornPos.transform.position, this._currentVelocity, 1e3, .03, e);
                                    this.Owner.transform.position = t, Math.abs(this.Owner.transform.position.y - this._bornPos.transform.position.y) <= .01 && (this._isDorpDown = !1, this.SwitchAnimation(c.EChestAni.Idle), this._isEnableOpen = !0);
                                }
                            }
                        }, {
                            key: "StartShowChest",
                            value: function () { }
                        }, {
                            key: "HideChest",
                            value: function () {
                                this._startDestroy = !1, this.Owner && (this.Owner.active = !1);
                            }
                        }, {
                            key: "IsEnableOpen",
                            get: function () {
                                return this._isEnableOpen
                            },
                            set: function (e) {
                                this._isEnableOpen = e;
                            }
                        }]), t
                    }();
            },
            "./src/script/scene/script/data/PosInfoData.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    PosInfoData: function () {
                        return s
                    }
                });
                var i = n("./src/LTGame/LTUtils/Vector3Ex.ts"),
                    a = n("./src/script/ui/UI_MainMediator.ts"),
                    s = function () {
                        function e() {
                            _classCallCheck(this, e), this._id = 0, this._isExistMonster = !1, this._isShowGreenBounds = !1, this._smoothMove = !1, this._targetPos = new Laya.Vector3, this._currentVelocity = new Laya.Vector3;
                        }
                        return _createClass(e, [{
                            key: "ReturnPosition",
                            value: function () {
                                this._targetPos = this.Position.clone(), this._smoothMove = !0;
                            }
                        }, {
                            key: "Reset",
                            value: function () {
                                this.MonsterScript && (this.MonsterScript.Reset(), this.MonsterScript.Owner.transform.position = this.Position.clone());
                            }
                        }, {
                            key: "Update",
                            value: function (e) {
                                if (this._smoothMove && this.MonsterScript && this.MonsterScript.Owner) {
                                    var t = i.default.SmoothDamp(this.MonsterScript.Owner.transform.position, this._targetPos, this._currentVelocity, 100, .5, e);
                                    this.MonsterScript.Owner.transform.position = t, i.default.Distance(this.MonsterScript.Owner.transform.position, this._targetPos) < .001 && (this._smoothMove = !1);
                                }
                                this.MonsterScript && this.MonsterScript.Update(e);
                            }
                        }, {
                            key: "Name",
                            get: function () {
                                return this._name
                            },
                            set: function (e) {
                                this._name = e;
                            }
                        }, {
                            key: "ID",
                            get: function () {
                                return this._id
                            },
                            set: function (e) {
                                this._id = e;
                            }
                        }, {
                            key: "MonsterScript",
                            get: function () {
                                return this._monster
                            },
                            set: function (e) {
                                this._monster = e, this._monster && this._monster.Owner ? (this._monster.BoxName = this.Name, this.IsExistMonster = !0, a.UI_MainMediator.instance.AddBloodbar(this.Name, this._monster.IsEnemy, this._monster.GetBocyScale())) : (this.IsExistMonster = !1, a.UI_MainMediator.instance.VisibleBloodUI(this.Name, !1));
                            }
                        }, {
                            key: "IsExistMonster",
                            get: function () {
                                return this._isExistMonster
                            },
                            set: function (e) {
                                this._isExistMonster = e;
                            }
                        }, {
                            key: "Position",
                            get: function () {
                                return this._position
                            },
                            set: function (e) {
                                this._position = e;
                            }
                        }, {
                            key: "ShowGreenBonds",
                            get: function () {
                                return this._isShowGreenBounds
                            },
                            set: function (e) {
                                this._isShowGreenBounds = e, this._greenBoundsSprite && (this._greenBoundsSprite.active = e);
                            }
                        }, {
                            key: "GreenBoundsSprite",
                            get: function () {
                                return this._greenBoundsSprite
                            },
                            set: function (e) {
                                this._greenBoundsSprite = e;
                            }
                        }, {
                            key: "IsMoving",
                            get: function () {
                                return this._smoothMove
                            },
                            set: function (e) {
                                this._smoothMove = e;
                            }
                        }]), e
                    }();
            },
            "./src/script/scene/script/monster/FlyMonster.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return d
                    }
                });
                var i = n("./src/LTGame/LTUtils/CameraEx.ts"),
                    a = n("./src/LTGame/LTUtils/Vector3Ex.ts"),
                    s = n("./src/script/common/GameData.ts"),
                    r = n("./src/script/common/GlobalUnit.ts"),
                    o = n("./src/script/config/GameConst.ts"),
                    u = n("./src/script/ui/UI_MainMediator.ts"),
                    c = n("./src/script/scene/script/base/BaseSprite3D.ts"),
                    l = n("./src/script/scene/script/utils/Logger.ts"),
                    d = function (e) {
                        function t(e) {
                            var i;
                            return _classCallCheck(this, t), (i = n.call(this, e))._isRunning = !1, i._currentVelocity = new Laya.Vector3, i._startPos = a.default.zeroNew, i._endPos = a.default.zeroNew, i._startCounting = !1, i._totalDelay = 0, i
                        }
                        _inherits(t, c.default);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "Init",
                            value: function () {
                                var e = r.default.s3d.getChildByName("public");
                                if (e) {
                                    var t = e.getChildByName("fly_monster");
                                    if (t) {
                                        t.getChildByName("bat_Monster") || t.addChild(this.Owner);
                                        var n = t.getChildByName("fly_monster_start"),
                                            i = t.getChildByName("fly_monster_end");
                                        n && (this._startPos = n.transform.localPosition.clone()), i && (this._endPos = i.transform.localPosition.clone());
                                        var a = t.getChildAt(0);
                                        if (a) {
                                            var s = a.getComponent(Laya.Animator);
                                            s && (s.speed = 2);
                                        }
                                    }
                                }
                                this._uiShowPos = this.Owner.getChildByName("ui_pos"), this._isRunning = !1, this.Owner.transform.localPosition = this._startPos, this.Owner.transform.localRotationEulerY = -90, this.Owner.active = !0, this._startCounting = !0;
                            }
                        }, {
                            key: "Stop",
                            value: function () {
                                this.IsRunning = !1, this._totalDelay = 0;
                            }
                        }, {
                            key: "End",
                            value: function () {
                                this.IsRunning = !1, this.Owner.active = !1, this._startCounting = !0, this._totalDelay = 0, this.Owner.transform.position = this._endPos.clone();
                                var e = this._uiShowPos.transform.position,
                                    t = i.CameraEx.GetPointFrom3DWorld(r.default.camera, e, null);
                                u.UI_MainMediator.instance.UpdateFlyMonsterUIPos(t);
                            }
                        }, {
                            key: "Update",
                            value: function (e) {
                                if (u.UI_MainMediator.instance.RefreshFlyMonsterUIData(this.CalculateGlodValue()), this.IsRunning) {
                                    var t = a.default.SmoothDamp(this.Owner.transform.localPosition, this._endPos, this._currentVelocity, 200, 5e-4, e);
                                    this.Owner.transform.localPosition = t, Math.abs(this.Owner.transform.localPosition.x - this._endPos.x) <= .01 && (l.Logger.lg("飞到终点"), this.IsRunning = !1, this.Owner.active = !1, this._startCounting = !0, this._totalDelay = 0);
                                    var n = this._uiShowPos.transform.position,
                                        s = i.CameraEx.GetPointFrom3DWorld(r.default.camera, n, null);
                                    u.UI_MainMediator.instance.UpdateFlyMonsterUIPos(s);
                                }
                                this._startCounting && (this._totalDelay += e), !this.IsRunning && this.Owner && this._totalDelay > 1e3 * o.GameConst.data.fly_monster_delay && (l.Logger.lg("开始飞行"), this._startCounting = !1, this.Owner.transform.localPosition = this._startPos.clone(), this.Owner.active = !0, this.IsRunning = !0);
                            }
                        }, {
                            key: "CalculateGlodValue",
                            value: function () {
                                return Math.floor(3 * s.default.instance.lastCoin)
                            }
                        }, {
                            key: "IsRunning",
                            get: function () {
                                return this._isRunning
                            },
                            set: function (e) {
                                this._isRunning = e;
                            }
                        }]), t
                    }();
            },
            "./src/script/scene/script/monster/Monster.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return b
                    }
                });
                var i = n("./src/LTGame/LTUtils/CameraEx.ts"),
                    a = n("./src/LTGame/LTUtils/Vector3Ex.ts"),
                    s = n("./src/LTGame/Manager/AudioManager.ts"),
                    r = n("./src/LTGame/Manager/EffectManager.ts"),
                    o = n("./src/LTGame/Platform/EPlatformType.ts"),
                    u = n("./src/LTGame/Platform/LTPlatform.ts"),
                    c = n("./src/LTGame/Res/LTRes.ts"),
                    l = n("./src/LTGame/Res/ResUrl.ts"),
                    d = n("./src/script/common/GameData.ts"),
                    h = n("./src/script/common/GlobalUnit.ts"),
                    f = n("./src/script/config/AttackParamConfig.ts"),
                    _ = n("./src/script/config/MonsterConfig.ts"),
                    m = n("./src/script/config/ParamsConfig.ts"),
                    g = n("./src/script/enum/EBuffType.ts"),
                    p = n("./src/script/enum/EEffectType.ts"),
                    v = n("./src/script/enum/EMonsterAni.ts"),
                    y = n("./src/script/enum/EMonsterType.ts"),
                    k = n("./src/script/enum/ESound.ts"),
                    C = n("./src/script/ui/UI_CongratulationMediator.ts"),
                    I = n("./src/script/ui/UI_MainMediator.ts"),
                    S = n("./src/script/scene/Main3d/Game3d.ts"),
                    L = n("./src/script/scene/script/base/AniStateScript.ts"),
                    w = n("./src/script/scene/script/base/BaseSprite3D.ts"),
                    U = n("./src/script/scene/script/bullet/MonsterBullet.ts"),
                    A = n("./src/script/scene/script/utils/Logger.ts"),
                    b = function (e) {
                        function t(e) {
                            var i;
                            return _classCallCheck(this, t), (i = n.call(this, e))._currentAni = "", i._isLive = !0, i._isEnemy = !1, i._buffHp = !1, i._buffAtk = !1, i._buffAtkSpeed = !1, i._isRunning = !1, i._currentVelocity = new Laya.Vector3, i._currentVelocity2 = new Laya.Vector3, i._rotation = new Laya.Vector3(0, 135, 0), i._isFighting = !1, i._bodyScale = new Laya.Vector3(1, 1, 1), i._bulletScriptArray = [], i._startColor = !1, i._changeColorCounter = 0, i._fixTargetPos = a.default.zeroNew, i._startFixPos = !1, i._isGaming = !1, i._tempPoint = new Laya.Vector4, i
                        }
                        _inherits(t, w.default);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "IsRunning",
                            value: function () {
                                return this._isRunning
                            }
                        }, {
                            key: "GetBocyScale",
                            value: function () {
                                return this._bodyScale.x
                            }
                        }, {
                            key: "Init",
                            value: function (e) {
                                var t = arguments.length > 1 && void 0 !== arguments[1] && arguments[1];
                                return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function n() {
                                    return regeneratorRuntime.wrap(function (n) {
                                        for (; ;) switch (n.prev = n.next) {
                                            case 0:
                                                return this.Owner.transform.position = e.clone(), t && (this._isEnemy = t, this.Owner.transform.localRotationEulerY = 180), this.InitAnimator(), n.next = 5, this.InitConfig();
                                            case 5:
                                                this.skinDisplay = this.Owner.getChildAt(0).getChildByName(this.Owner.name).getChildByName("car").getChildByName("car"), this._bulletScriptArray = [], this._isFighting = !1;
                                            case 8:
                                            case "end":
                                                return n.stop()
                                        }
                                    }, n, this)
                                }))
                            }
                        }, {
                            key: "InitConfig",
                            value: function () {
                                return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                    var t, n, i, a, s;
                                    return regeneratorRuntime.wrap(function (e) {
                                        for (; ;) switch (e.prev = e.next) {
                                            case 0:
                                                if (t = this.Owner.name, this._config = _.MonsterConfig.dataList.find(function (e) {
                                                    return e.prefabName == t
                                                }), this._config) {
                                                    e.next = 6;
                                                    break
                                                }
                                                A.Logger.lg("不存在当前怪兽配置"), e.next = 29;
                                                break;
                                            case 6:
                                                if (this._monsterType = this._config.type, this._hp = this._config.hp, this._maxHp = this._config.hp, this._attack = this._config.attack, this._attackDelay = this._config.attack_delay, this._attackArea = this._config.attack_area, this._attackGold = this._config.gold, this._isLive = !0, (n = this.Owner.getChildAt(0)) && (this._bodyScale = n.transform.localScale.clone()), i = "", i = this._config.type == y.EMonsterType.MeleeMonster ? "circle_blue" : "circle_purple", this.IsEnemy) {
                                                    e.next = 25;
                                                    break
                                                }
                                                if (a = this.Owner.getChildByName(i)) {
                                                    e.next = 25;
                                                    break
                                                }
                                                return e.next = 23, c.default.LoadAndGet(l.default.prefab_url(i));
                                            case 23:
                                                (a = e.sent) && this.Owner.addChild(a);
                                            case 25:
                                                (s = this.GetSkinNode(this.Owner, this._config.tt_head_path)) && (u.default.instance.platform == o.EPlatformType.TT || u.default.instance.platform == o.EPlatformType.Oppo || u.default.instance.platform == o.EPlatformType.Vivo ? s.active = 1 == this._config.showHead : s.active = !1), this.PlayEffect(p.EEffectType.Effect_Birth, this.Owner), this.PreLoadNextLevelMonster();
                                            case 29:
                                                this._shootNode = this.Owner.getChildAt(0).getChildByName("shoot_pos"), this._bloodShowPos = this.Owner.getChildAt(0).getChildByName("blood_pos");
                                            case 31:
                                            case "end":
                                                return e.stop()
                                        }
                                    }, e, this)
                                }))
                            }
                        }, {
                            key: "GetSkinNode",
                            value: function (e, t) {
                                var n = t,
                                    i = null;
                                if (n && n.length) {
                                    var a = n.split("/");
                                    if (a && a.length > 0) {
                                        for (var s = null, r = 0; r < a.length; r++) s = s ? s.getChildByName(a[r]) : e.getChildByName(a[r]);
                                        i = s;
                                    }
                                }
                                return i
                            }
                        }, {
                            key: "InitAnimator",
                            value: function () {
                                var e = this,
                                    t = this.Owner.getChildAt(0).getChildByName(this.Owner.name);
                                if (t && (this._animator = t.getComponent(Laya.Animator), Laya.timer.frameOnce(1, this, function () {
                                    e.SwitchAnimation(v.EMonsterAni.Idle, !0);
                                })), this._animator) {
                                    var n = this._animator.getControllerLayer(0)._states;
                                    n && n.forEach(function (t) {
                                        if (t.name == v.EMonsterAni.Attack) {
                                            var n = t.addScript(L.AniStateScript);
                                            n.Callback(Laya.Handler.create(e, e.OnAnimationEnd, [e._animator], !1)), n.ListenerProgress(Laya.Handler.create(e, e.OnAnimationUpdate, [50, !1], !1));
                                        }
                                    });
                                }
                            }
                        }, {
                            key: "Reset",
                            value: function () {
                                this.SwitchAnimation(v.EMonsterAni.Idle), this.IsLive = !0, this.IsFighting = !1, this._isRunning = !1, this._hp = this._config.hp, this._maxHp = this._config.hp, this._attack = this._config.attack, this._attackDelay = this._config.attack_delay, this._attackArea = this._config.attack_area, this._attackGold = this._config.gold, this._buffHp = !1, this._buffAtk = !1, this._buffAtkSpeed = !1, this._animator && (this._animator.speed = 1), this._isEnemy ? this.Owner.transform.localRotationEulerY = 180 : this.Owner.transform.localRotationEulerY = 0, this.ClearAllBullet(), this.PlayEffect(p.EEffectType.Effect_Birth, this.Owner);
                            }
                        }, {
                            key: "AddBuff",
                            value: function (e, t) {
                                switch (t) {
                                    case g.EBuffType.EBuff_HP:
                                        if (this._buffHp) return;
                                        this._hp = Math.floor(this._hp * (1 + e)), this._maxHp = this._hp, this._buffHp = !0;
                                        break;
                                    case g.EBuffType.EBuff_Atk:
                                        if (this._buffAtk) return;
                                        this._attack = Math.floor(this._attack * (1 + e)), this._buffAtk = !0;
                                        break;
                                    case g.EBuffType.EBuff_Agl:
                                        if (this._buffAtkSpeed) return;
                                        if (this._animator) {
                                            var n = this._animator.speed;
                                            n *= 1 + e, this._animator.speed = n;
                                        }
                                        this._attackDelay *= 1 - e, this._buffAtkSpeed = !0;
                                }
                            }
                        }, {
                            key: "ClearAllBullet",
                            value: function () {
                                if (this._bulletScriptArray && this._bulletScriptArray.length > 0)
                                    for (var e = 0; e < this._bulletScriptArray.length; e++) this._bulletScriptArray[e].Destory();
                                this._bulletScriptArray = [];
                            }
                        }, {
                            key: "_red",
                            value: function () {
                                this.skinDisplay.meshRenderer.material.albedoColor = new Laya.Vector4(.8207547, .367791, .367791, 1), this._startColor = !0, this._changeColorCounter = 0;
                            }
                        }, {
                            key: "ChangeHp",
                            value: function (e, t) {
                                if (this.IsLive && this.IsEnemy && t > 0) {
                                    d.default.addDiamonds(t), d.default.SaveToDisk(), S.default.instance.NowScene().AddEarnGold(t);
                                    var n = this.BloodShowPos,
                                        a = i.CameraEx.GetPointFrom3DWorld(h.default.camera, n, null);
                                    I.UI_MainMediator.instance.AddGoldAnimation(this.BoxName, a, t);
                                }
                                if (this.IsLive && (this._red(), this.PlayAttactTextEffect()), this._hp += e, this._hp > this._maxHp && (this._hp = this._maxHp), this._hp <= 0) {
                                    this._hp = 0, this.IsLive = !1, this.IsFighting = !1, this._isRunning = !1, this._startFixPos = !1, A.Logger.lg(this.BoxName + " 死亡"), this.SwitchAnimation(v.EMonsterAni.Die), Laya.timer.clear(this, this.AttackAction);
                                    var s = this.Owner.transform.position.clone();
                                    s.y += .74, this.PlayAttackEffect2(p.EEffectType.Effect_Boom, s);
                                    var r = S.default.instance.NowScene().GetCampAliveData(this._isEnemy);
                                    if (r && r.length > 0) return;
                                    S.default.instance.NowScene().IsGaming && S.default.instance.NowScene().GameResult(this._isEnemy);
                                }
                            }
                        }, {
                            key: "UpgradeLevel",
                            value: function () {
                                var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : 1;
                                return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function t() {
                                    var n, i, a, s, r = this;
                                    return regeneratorRuntime.wrap(function (t) {
                                        for (; ;) switch (t.prev = t.next) {
                                            case 0:
                                                if (!this._config) {
                                                    t.next = 13;
                                                    break
                                                }
                                                if (!(n = _.MonsterConfig.dataList.find(function (t) {
                                                    return t.level == r._config.level + e && t.type == r._config.type
                                                }))) {
                                                    t.next = 13;
                                                    break
                                                }
                                                return i = n.prefabName, t.next = 6, c.default.LoadAndGet(l.default.prefab_url(i));
                                            case 6:
                                                (a = t.sent) && (s = this.Owner.transform.position.clone(), this.Owner.parent.addChild(a), a.transform.position = s), this.SwitchMonsterMode(a), d.default.instance.unlockMonsterId[n.id] || (C.UI_CongratulationMediator.instance.Show({
                                                    monsterId: n.id
                                                }), d.default.instance.unlockMonsterId[n.id] = n.id, d.default.SaveToDisk()), S.default.instance.NowScene().SavePlayerMonsterData(), this.IsEnemy || this.PreLoadNextLevelMonster();
                                            case 13:
                                            case "end":
                                                return t.stop()
                                        }
                                    }, t, this)
                                }))
                            }
                        }, {
                            key: "PreLoadNextLevelMonster",
                            value: function () {
                                return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                    var t, n = this;
                                    return regeneratorRuntime.wrap(function (e) {
                                        for (; ;) switch (e.prev = e.next) {
                                            case 0:
                                                if (!(t = _.MonsterConfig.dataList.find(function (e) {
                                                    return e.level == n._config.level + 1 && e.type == n._config.type
                                                })) || c.default.Get(l.default.prefab_url(t.prefabName))) {
                                                    e.next = 5;
                                                    break
                                                }
                                                return e.next = 4, c.default.LoadAndGet(l.default.prefab_url(t.prefabName));
                                            case 4:
                                                A.Logger.lg("预加载下一个等级的怪兽完成");
                                            case 5:
                                            case "end":
                                                return e.stop()
                                        }
                                    }, e)
                                }))
                            }
                        }, {
                            key: "Fight",
                            value: function () {
                                this._isGaming = !0, this._isFighting = !0, this._startFixPos = !1, this.SelectAttackTarget(), this._monsterType == y.EMonsterType.MeleeMonster ? this._attackTarget && this._attackTarget.IsLive && (this._isRunning = !0, this.SwitchAnimation(v.EMonsterAni.Run, !0)) : this._monsterType == y.EMonsterType.RemoteMonster && this._attackTarget && this._attackTarget.IsLive && this.SwitchAnimation(v.EMonsterAni.Attack);
                            }
                        }, {
                            key: "Pause",
                            value: function () {
                                this.IsFighting = !1, this._isGaming = !1, Laya.timer.clear(this, this.AttackAction), this.SwitchAnimation(v.EMonsterAni.Idle);
                            }
                        }, {
                            key: "SelectAttackTarget",
                            value: function () {
                                var e = S.default.instance.NowScene().GetCampAliveData(!this._isEnemy);
                                if (e && e.length > 0) {
                                    var t = -1;
                                    this._attackTarget = null;
                                    for (var n = 0; n < e.length; n++) {
                                        var i = e[n];
                                        if (i)
                                            if (-1 == t) t = a.default.Distance(this.Owner.transform.position, i.MonsterScript.Owner.transform.position), this._attackTarget = i.MonsterScript;
                                            else {
                                                var s = a.default.Distance(this.Owner.transform.position, i.MonsterScript.Owner.transform.position);
                                                s <= t && (t = s, this._attackTarget = i.MonsterScript);
                                            }
                                    }
                                } else this.IsFighting = !1, this._attackTarget = null;
                            }
                        }, {
                            key: "SwitchAnimation",
                            value: function (e) {
                                var t = this,
                                    n = arguments.length > 1 && void 0 !== arguments[1] && arguments[1];
                                Laya.timer.frameOnce(1, this, function () {
                                    t._animator && t.Owner && !t.Owner.destroyed && (n ? (t._animator.crossFade(e, .2, 0, 0), t._currentAni = e) : t._currentAni != e && (t._animator.crossFade(e, .2, 0, 0), t._currentAni = e));
                                });
                            }
                        }, {
                            key: "SwitchMonsterMode",
                            value: function (e) {
                                var t = this.Owner;
                                this.Owner = e, this.InitAnimator(), this.InitConfig();
                                var n = t.parent;
                                n && n.removeChild(t);
                            }
                        }, {
                            key: "DragMonster",
                            value: function (e) {
                                this.Owner && (this.Owner.transform.position = e);
                            }
                        }, {
                            key: "OnAnimationEnd",
                            value: function (e, t) {
                                switch (t) {
                                    case v.EMonsterAni.Attack:
                                        S.default.instance.NowScene().IsGaming && this._isGaming && (this.IsLive ? (this._isRunning || this.SwitchAnimation(v.EMonsterAni.Idle), this._attackTarget && this._attackTarget.IsLive ? Laya.timer.once(1e3 * this._attackDelay, this, this.AttackAction) : this._attackTarget.IsLive || (Laya.timer.clear(this, this.AttackAction), this.Fight())) : (Laya.timer.clear(this, this.AttackAction), this.SwitchAnimation(v.EMonsterAni.Die)));
                                }
                            }
                        }, {
                            key: "AttackAction",
                            value: function () {
                                this._isFighting && this._isLive && !this._isRunning && this._isGaming && this.SwitchAnimation(v.EMonsterAni.Attack);
                            }
                        }, {
                            key: "CalculateAttackCoin",
                            value: function () {
                                var e = this,
                                    t = 1;
                                this._monsterType == y.EMonsterType.MeleeMonster ? t = d.default.instance.buyMeleeCount : this._monsterType == y.EMonsterType.RemoteMonster && (t = d.default.instance.buyRemoteCount);
                                var n = m.ParamsConfig.dataList.find(function (e) {
                                    return t >= e.start_value && t <= e.end_value
                                });
                                if (n) {
                                    var i = Math.pow(t, n.index) * n.multiplier + n.addend,
                                        a = f.AttackParamConfig.dataList.find(function (t) {
                                            return e._config.level >= t.min_lv && e._config.level <= t.max_lv
                                        }),
                                        s = .01;
                                    return a && (s = a.fix_value), (i = Math.ceil(i * s * this._config.level)) < 1 && (i = 1), i
                                }
                                return 0
                            }
                        }, {
                            key: "PlayAttactTextEffect",
                            value: function () {
                                var e = new Laya.Vector4,
                                    t = this.BloodShowPos.clone();
                                t.y /= 2, i.CameraEx.GetPointFrom3DWorld(h.default.camera, t, e);
                            }
                        }, {
                            key: "OnAnimationUpdate",
                            value: function () {
                                this.IsLive && this.IsFighting && this._isGaming && (this._monsterType == y.EMonsterType.MeleeMonster ? (this._attackTarget.ChangeHp(-this._attack, this.CalculateAttackCoin()), this.PlayAttackEffect(p.EEffectType.Effect_Hit01, this._attackTarget.Owner), this.PlayAttackEffect2(p.EEffectType.Effect_Hit02, this._attackTarget.Owner.transform.position.clone())) : this._monsterType == y.EMonsterType.RemoteMonster && (this.Owner.name.startsWith("carB2") || this.Owner.name.startsWith("carB8") || this.Owner.name.startsWith("carB9") || this.Owner.name.startsWith("carB12") || this.Owner.name.startsWith("carB18") || this.Owner.name.startsWith("carB19") ? (this.ShootOneBullet("eff_atk_alinen"), s.default.instance.playSound(k.ESoundName.sound_magic, 1)) : (this.ShootOneBullet("eff_atk_slenderman"), s.default.instance.playSound(k.ESoundName.sound_magic, 1))));
                            }
                        }, {
                            key: "PlayEffect",
                            value: function (e, t) {
                                var n = e,
                                    i = new r.EffectShowData(n);
                                i.continueTime = 1, i.parent = t, r.EffectManager.instance.PlayEffectByData(i);
                            }
                        }, {
                            key: "PlayAttackEffect",
                            value: function (e, t) {
                                var n = e,
                                    i = new r.EffectShowData(n);
                                i.continueTime = 2, t && (i.parent = t), e == p.EEffectType.Effect_Sirenhead_2 ? i.setLocalPos = new Laya.Vector3(0, .5, 0) : e == p.EEffectType.Effect_Hit01 && (i.setLocalPos = new Laya.Vector3(0, 1, 0)), i.setLocalRot = new Laya.Quaternion(0, 0, 0, 1), r.EffectManager.instance.PlayEffectByData(i);
                            }
                        }, {
                            key: "PlayAttackEffect2",
                            value: function (e, t) {
                                var n = e,
                                    i = new r.EffectShowData(n);
                                i.continueTime = 2, i.setLocalRot = new Laya.Quaternion(0, 0, 0, 1), i.setPos = t, r.EffectManager.instance.PlayEffectByData(i);
                            }
                        }, {
                            key: "ShootOneBullet",
                            value: function (e) {
                                return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function t() {
                                    var n, i;
                                    return regeneratorRuntime.wrap(function (t) {
                                        for (; ;) switch (t.prev = t.next) {
                                            case 0:
                                                return t.next = 2, c.default.LoadAndGet(l.default.prefab_url(e));
                                            case 2:
                                                n = t.sent, (i = new U.MonsterBullet(n)).LockTarget = this._attackTarget, i.Init(this._attack, this.CalculateAttackCoin(), this._shootNode.transform.position, Laya.Handler.create(this, this.BulletDestroy)), this._bulletScriptArray.push(i);
                                            case 7:
                                            case "end":
                                                return t.stop()
                                        }
                                    }, t, this)
                                }))
                            }
                        }, {
                            key: "BulletDestroy",
                            value: function (e) {
                                if (e && this._bulletScriptArray && this._bulletScriptArray.length > 0) {
                                    for (var t = -1, n = 0; n < this._bulletScriptArray.length; n++)
                                        if (this._bulletScriptArray[n] == e) {
                                            t = n;
                                            break
                                        } if (t > -1) {
                                            var i = this._bulletScriptArray.splice(t, 1);
                                            i && i[0] && (i[0].Destory(), i[0] = null);
                                        }
                                }
                            }
                        }, {
                            key: "GetBloodProgress",
                            value: function () {
                                try {
                                    var e = this._hp / this._maxHp;
                                    return Math.floor(100 * e)
                                } catch (e) {
                                    return 0
                                }
                            }
                        }, {
                            key: "Update",
                            value: function (e) {
                                if (this.IsLive) {
                                    var t = this.BloodShowPos;
                                    i.CameraEx.GetPointFrom3DWorld(h.default.camera, t, this._tempPoint), I.UI_MainMediator.instance.UpdateBloodPos(this._tempPoint, this.BoxName, this.GetBloodProgress()), I.UI_MainMediator.instance.UpdateGoldAnimation(this._tempPoint, this.BoxName);
                                }
                                if (I.UI_MainMediator.instance.VisibleBloodUI(this.BoxName, this.IsLive), this._isGaming) {
                                    if (this.Owner && this._attackTarget) {
                                        if (this._monsterType == y.EMonsterType.MeleeMonster && this._isRunning) {
                                            var n = a.default.SmoothDamp(this.Owner.transform.position, this._attackTarget.Owner.transform.position, this._currentVelocity, 1e3, .01, e);
                                            this.Owner.transform.position = n, this.SelectAttackTarget(), this._attackTarget && this._attackTarget.IsLive && a.default.Distance(this.Owner.transform.position, this._attackTarget.Owner.transform.position) < this._attackArea && (this._isRunning = !1, this.IsFighting && this.SwitchAnimation(v.EMonsterAni.Attack));
                                        }
                                        this.IsFighting && this.IsLive && (this.Owner.transform.lookAt(this._attackTarget.Owner.transform.position, a.default.up, !0), this.Owner.transform.rotate(this._rotation));
                                    }
                                    if (this._startColor && (this._changeColorCounter += e, this._changeColorCounter >= 500 && (this._startColor = !1, this.skinDisplay.meshRenderer.material.albedoColor = new Laya.Vector4(1, 1, 1, 1))), this._bulletScriptArray)
                                        for (var s = 0; s < this._bulletScriptArray.length; s++) this._bulletScriptArray[s].Update(e);
                                    if (this.IsFighting) {
                                        if (!this._startFixPos && this.IsLive && this._isRunning) {
                                            var r = this.CalculateDiatance();
                                            if (r) {
                                                var o = r.z - this.Owner.transform.position.z;
                                                o < 1.5 && (o = 1.5), r.z -= o, this._fixTargetPos = r, this._startFixPos = !0, this.SwitchAnimation(v.EMonsterAni.Run);
                                            }
                                        }
                                        if (this._startFixPos) {
                                            this._isRunning = !1;
                                            var u = a.default.Subtract(this.Owner.transform.position, this._fixTargetPos);
                                            u = a.default.Scale(a.default.Normalize(u), e / 17 * .05), this.Owner.transform.position = a.default.Add(this.Owner.transform.position, u), a.default.Distance(this.Owner.transform.position, this._fixTargetPos) > 1 && this.IsLive && (this._startFixPos = !1, this._isRunning = !0);
                                        }
                                    }
                                }
                            }
                        }, {
                            key: "CalculateDiatance",
                            value: function () {
                                var e = null,
                                    t = S.default.instance.NowScene().GetCampAllData(this.IsEnemy);
                                if (t && t.length > 0)
                                    for (var n = -1, i = 0; i < t.length; i++) {
                                        var s = t[i].MonsterScript;
                                        if (s && s.BoxName != this.BoxName && s._monsterType == y.EMonsterType.MeleeMonster && !s.IsRunning()) {
                                            var r = a.default.Distance(s.Owner.transform.position, this.Owner.transform.position); - 1 == n ? n = r : r < n && (n = r) < 1 && (e = s.Owner.transform.position.clone());
                                        }
                                    }
                                return e
                            }
                        }, {
                            key: "BoxName",
                            get: function () {
                                return this._boxName
                            },
                            set: function (e) {
                                this._boxName = e;
                            }
                        }, {
                            key: "MonsterConfig",
                            get: function () {
                                return this._config
                            }
                        }, {
                            key: "IsLive",
                            get: function () {
                                return this._isLive
                            },
                            set: function (e) {
                                this._isLive = e;
                            }
                        }, {
                            key: "MaxHp",
                            get: function () {
                                return this._maxHp
                            }
                        }, {
                            key: "IsEnemy",
                            get: function () {
                                return this._isEnemy
                            },
                            set: function (e) {
                                this._isEnemy = e;
                            }
                        }, {
                            key: "IsFighting",
                            get: function () {
                                return this._isFighting
                            },
                            set: function (e) {
                                this._isFighting = e;
                            }
                        }, {
                            key: "BloodShowPos",
                            get: function () {
                                return this._bloodShowPos ? this._bloodShowPos.transform.position : this.Owner.transform.position
                            }
                        }]), t
                    }();
            },
            "./src/script/scene/script/player/Player.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return d
                    }
                });
                var i = n("./src/LTGame/Manager/EffectManager.ts"),
                    a = n("./src/LTGame/Res/LTRes.ts"),
                    s = n("./src/LTGame/Res/ResUrl.ts"),
                    r = n("./src/script/common/GameData.ts"),
                    o = n("./src/script/config/PlayerConfig.ts"),
                    u = n("./src/script/enum/EMonsterAni.ts"),
                    c = n("./src/script/scene/script/base/BaseSprite3D.ts"),
                    l = n("./src/script/scene/script/utils/Logger.ts"),
                    d = function (e) {
                        function t(e) {
                            var i;
                            return _classCallCheck(this, t), (i = n.call(this, e))._currentAni = "", i._scale = new Laya.Vector3(2, 2, 2), i
                        }
                        _inherits(t, c.default);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "Init",
                            value: function (e) {
                                return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function t() {
                                    return regeneratorRuntime.wrap(function (t) {
                                        for (; ;) switch (t.prev = t.next) {
                                            case 0:
                                                this._bornPos = e, this.Owner ? this.InitAnimator() : this.SwitchPlayerMode(r.default.instance.summonerSelectId);
                                            case 2:
                                            case "end":
                                                return t.stop()
                                        }
                                    }, t, this)
                                }))
                            }
                        }, {
                            key: "InitAnimator",
                            value: function () {
                                var e = this,
                                    t = this.Owner.getChildAt(0);
                                t && (this._animator = t.getComponent(Laya.Animator), Laya.timer.frameOnce(1, this, function () {
                                    e.SwitchAnimation(u.EMonsterAni.Idle, !0);
                                }));
                            }
                        }, {
                            key: "SwitchAnimation",
                            value: function (e) {
                                var t = arguments.length > 1 && void 0 !== arguments[1] && arguments[1];
                                this.Owner && this._animator && (t ? (this._animator.crossFade(e, .2, 0, 0), this._currentAni = e) : this._currentAni != e && (this._animator.crossFade(e, .2, 0, 0), this._currentAni = e));
                            }
                        }, {
                            key: "PlayerEffect",
                            value: function () {
                                var e = new i.EffectShowData(13);
                                e.continueTime = 2, e.parent = this.Owner, e.setLocalPos = new Laya.Vector3(0, 3, 0), i.EffectManager.instance.PlayEffectByData(e);
                            }
                        }, {
                            key: "SwitchPlayerMode",
                            value: function (e) {
                                return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function t() {
                                    var n, i, u, c;
                                    return regeneratorRuntime.wrap(function (t) {
                                        for (; ;) switch (t.prev = t.next) {
                                            case 0:
                                                if (n = o.PlayerConfig.data[e]) {
                                                    t.next = 4;
                                                    break
                                                }
                                                return l.Logger.lg("当前召唤师为空"), t.abrupt("return");
                                            case 4:
                                                return i = this.Owner, t.next = 7, a.default.LoadAndGet(s.default.prefab_url(n.prefabName));
                                            case 7:
                                                (u = t.sent) && this._bornPos && this._bornPos.addChild(u), this.Owner = u, this.Owner.transform.localScale = this._scale, r.default.instance.summonerSelectId = n.id, this.InitAnimator(), i && (c = i.parent) && c.removeChild(i).destroy(!0);
                                            case 14:
                                            case "end":
                                                return t.stop()
                                        }
                                    }, t, this)
                                }))
                            }
                        }, {
                            key: "OnAnimationEnd",
                            value: function (e, t) {
                                switch (t) {
                                    case u.EMonsterAni.Attack:
                                }
                            }
                        }, {
                            key: "Update",
                            value: function (e) { }
                        }]), t
                    }();
            },
            "./src/script/scene/script/utils/Logger.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    Logger: function () {
                        return i
                    }
                });
                var i = function () {
                    function e() {
                        _classCallCheck(this, e);
                    }
                    return _createClass(e, null, [{
                        key: "logForTag",
                        value: function (e, t) {
                            var n = "╔═════════════════════════════════════════════";
                            n += "\n", n += "║ ", n += t, n += "\n", n += "║ ", n += e, n += "\n", n += "╚═════════════════════════════════════════════", console.log(n);
                        }
                    }, {
                        key: "lg",
                        value: function (e) {
                            for (var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), i = 1; i < t; i++) n[i - 1] = arguments[i];
                        }
                    }, {
                        key: "error",
                        value: function (e) {
                            console.error(e);
                        }
                    }, {
                        key: "lgV",
                        value: function (e, t) {
                            e instanceof Laya.Vector2 ? console.log("".concat(t, ":(").concat(e.x, ",").concat(e.y, ")")) : e instanceof Laya.Vector3 ? console.log("".concat(t, ":(").concat(e.x, ",").concat(e.y, ",").concat(e.z, ")")) : e instanceof Laya.Vector4 && console.log("".concat(t, ":(").concat(e.x, ",").concat(e.y, ",").concat(e.z, ",").concat(e.y, ")"));
                        }
                    }, {
                        key: "josn",
                        value: function (e) {
                            var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : "TAG",
                                n = JSON.parse(e),
                                i = JSON.stringify(n, null, 4),
                                a = "╔═════════════════════════════════════════════";
                            a += "\n";
                            for (var s = (e = t + "\n" + i).split("\n"), r = 0; r < s.length; r++) a += "║ ", a += s[r], a += "\n";
                            a += "╚═════════════════════════════════════════════", console.log(a);
                        }
                    }]), e
                }();
            },
            "./src/script/scene/script/utils/MyUtils.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    MyUtils: function () {
                        return i
                    }
                });
                var i = function () {
                    function e() {
                        _classCallCheck(this, e);
                    }
                    return _createClass(e, null, [{
                        key: "FormatGoldUnit",
                        value: function (e) {
                            var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : 2,
                                n = "",
                                i = e / 1e3,
                                a = e / 1e6,
                                s = e / 1e9,
                                r = e / 1e12,
                                o = "";
                            return i < 1 ? o = e + "" : a < 1 ? (o = i.toFixed(t), n = "K") : s < 1 ? (o = a.toFixed(t), n = "M") : r < 1 ? (o = s.toFixed(t), n = "B") : (o = r.toFixed(t), n = "T"), "".concat(o).concat(n)
                        }
                    }]), e
                }();
            },
            "./src/script/ui/Sign/UI_SignMediator.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    UI_SignMediator: function () {
                        return L
                    }
                });
                var i = n("./src/LTGame/Commom/CommonSaveData.ts"),
                    a = n("./src/LTGame/Manager/AudioManager.ts"),
                    s = n("./src/LTGame/Platform/EPlatformType.ts"),
                    r = n("./src/LTGame/Platform/LTPlatform.ts"),
                    o = n("./src/LTGame/Res/ResUrl.ts"),
                    u = n("./src/ui/sign/UI_Sign.ts"),
                    c = n("./src/UIExt/FGui/BaseUIMediator.ts"),
                    l = n("./src/UIExt/FGui/FGuiEx.ts"),
                    d = n("./src/UIExt/FGui/UIPackManager.ts"),
                    h = n("./src/UIExt/LTFly.ts"),
                    f = n("./src/UIExt/LTUI.ts"),
                    _ = n("./src/UIExt/UISrc/Cmp/NativeADNew.ts"),
                    m = n("./src/script/common/GameData.ts"),
                    g = n("./src/script/common/maidian.ts"),
                    p = n("./src/script/common/OppoUtils.ts"),
                    v = n("./src/script/config/PlayerConfig.ts"),
                    y = n("./src/script/config/SignConfig.ts"),
                    k = n("./src/script/enum/EMaiType.ts"),
                    C = n("./src/script/enum/ESound.ts"),
                    I = n("./src/script/ui/UI_MainMediator.ts"),
                    S = n("./src/script/ui/UI_SummonerMediator.ts"),
                    L = function (e) {
                        function t() {
                            var e;
                            return _classCallCheck(this, t), (e = n.apply(this, arguments))._needOpenAni = !0, e._needCloseAni = !0, e.Items = [], e
                        }
                        _inherits(t, c.default);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "loadRes",
                            value: function () {
                                return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                    return regeneratorRuntime.wrap(function (e) {
                                        for (; ;) switch (e.prev = e.next) {
                                            case 0:
                                                return e.next = 2, d.UIPackManager.instance.load("Sign", 1, {});
                                            case 2:
                                            case "end":
                                                return e.stop()
                                        }
                                    }, e)
                                }))
                            }
                        }, {
                            key: "_OnShow",
                            value: function () {
                                this.dataList = [],
                                    this.Items = [this.ui.m_signitem1,
                                    this.ui.m_signitem2,
                                    this.ui.m_signitem3,
                                    this.ui.m_signitem4,
                                    this.ui.m_signitem5,
                                    this.ui.m_signitem6,
                                    this.ui.m_signsevenitem],
                                    this.onClick(this.ui.m_sign, this._SignGet),
                                    this.onClick(this.ui.m_doublesign, function () {
                                        let GetThisReward = () => {
                                            YYGGames.showReward(() => {
                                                console.log("m_doublesign");
                                                YYGGames.gameBox.visible = !0, i.default.instance.isSigned = !0, i.default.instance.signDayCount++, i.default.SaveToDisk(), this._GetReward(3), this.Hide();
                                            }, () => { });
                                        };
                                        Advertisement.videoAdverV(GetThisReward);
                                    }),
                                    this.onClick(this.ui.m_Back, function () {
                                        YYGGames.gameBox.visible = !0, this.Hide();
                                    }),
                                    this._getConfigs(),
                                    this._setDayItem(),
                                    p.default.initCloseBtn(this.ui.m_close1, Laya.Handler.create(this, this.Hide)),
                                    r.default.instance.platform == s.EPlatformType.Oppo ?
                                        (this.ui.m_c1.selectedIndex = 2, _.default.createNative(this.ui, 0, 180 + (this.ui.height - 1280) / 2)) :
                                        r.default.instance.platform == s.EPlatformType.Vivo &&
                                        (r.default.instance.ShowInterstitalAd(), r.default.instance.ShowBannerAd(), r.default.instance.hideBoxPortalAd());
                            }
                        }, {
                            key: "_getConfigs",
                            value: function () {
                                var e = Math.floor(i.default.instance.signDayCount / 7);
                                i.default.instance.signDayCount % 7 == 0 && 0 != i.default.instance.signDayCount && i.default.instance.isSigned ? e = 7 * (e - 1) : e *= 7;
                                for (var t = 0; t < 7; t++, e++) this.dataList.push(y.SignConfig.dataList[e]);
                                if (!this.dataList[0]) return this.ui.m_sign.enabled = !1, this.ui.m_doublesign.enabled = !1, void f.default.Toast("奖励领取完啦！！！")
                            }
                        }, {
                            key: "_setDayItem",
                            value: function () {
                                if (this.dataList[0]) {
                                    var e = i.default.instance.isSigned;
                                    this.ui.m_sign.enabled = !e, this.ui.m_doublesign.enabled = !e, this.displayDay = i.default.instance.signDayCount % 7;
                                    for (var t = 0; t < 6; t++) {
                                        var n = this.Items[t];
                                        n.m_type.selectedIndex = t + 1;
                                        var a = this.dataList[t];
                                        a && (n.m_SignItemIcon.url = "ui://kg0a5580xczb1zo", n.m_SignItemNum.text = a.num + ""), t < this.displayDay || 0 == this.displayDay && e ? n.m_staust.selectedIndex = 2 : t != this.displayDay || e ? n.m_staust.selectedIndex = 0 : n.m_staust.selectedIndex = 1;
                                    }
                                    this.dataList && this.dataList[6], 6 != this.displayDay || e ? 0 == this.displayDay && e && 0 != i.default.instance.signDayCount && (this.ui.m_signsevenitem.enabled = !1) : this.ui.m_signsevenitem.enabled = !0, this.displayDay < 6 && !e ? this._ui.m_c1.selectedIndex = 1 : this._ui.m_c1.selectedIndex = 0;
                                }
                            }
                        }, {
                            key: "_SignGet",
                            value: function () {
                                YYGGames.gameBox.visible = !0, i.default.instance.isSigned = !0, i.default.instance.signDayCount++, i.default.SaveToDisk(), i.default.instance.signDayCount >= 7 ? (m.default.instance.unlockCounter[6] = v.PlayerConfig.data[6].value, m.default.SaveToDisk(), S.UI_SummonerMediator.instance.Show({
                                    playerId: v.PlayerConfig.data[6].icon
                                }), this.Hide()) : this._GetReward(1);
                            }
                        }, {
                            key: "_DoubleSignGet",
                            value: function () {
                                return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                    return regeneratorRuntime.wrap(function (e) {
                                        for (; ;) switch (e.prev = e.next) {
                                            case 0:
                                                return e.next = 2, r.default.instance.ShowRewardVideoAdAsync();
                                            case 2:
                                                e.sent ? (g.default.instance.youmemReport(k.YoumengStamp["video_signDoubleRate_签到双倍领取拉起视频"].toString(), {
                                                    state: "1"
                                                }), i.default.instance.isSigned = !0, i.default.instance.signDayCount++, i.default.SaveToDisk(), this._GetReward(3), this.Hide()) : (g.default.instance.youmemReport(k.YoumengStamp["video_signDoubleRate_签到双倍领取拉起视频"].toString(), {
                                                    state: "0"
                                                }), f.default.Toast("跳过广告无法获得奖励"));
                                            case 4:
                                            case "end":
                                                return e.stop()
                                        }
                                    }, e, this)
                                }))
                            }
                        }, {
                            key: "_GetReward",
                            value: function (e) {
                                var t = this.dataList[this.displayDay];
                                m.default.addDiamonds(t.num * e);
                                var n = new Laya.Point(Laya.stage.width / 2, Laya.stage.height / 2),
                                    i = I.UI_MainMediator.instance.GetGlodImgPoint();
                                h.LTFly.FlyCoins(l.EUILayer.Tip, n, i, o.default.icon_url("gold"), 10, 2, 100, !0), I.UI_MainMediator.instance.FormatGoldValue(m.default.instance.diamondsCount), a.default.instance.playSound(C.ESoundName.sound_gold, 1), this.Hide();
                            }
                        }, {
                            key: "_OnHide",
                            value: function () {
                                _.default.hideAd();
                            }
                        }, {
                            key: "ui",
                            get: function () {
                                return this._ui
                            }
                        }], [{
                            key: "instance",
                            get: function () {
                                return null == this._instance && (this._instance = new t, this._instance._classDefine = u.default), this._instance
                            }
                        }]), t
                    }();
            },
            "./src/script/ui/UI_AtlasMediator.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    UI_AtlasMediator: function () {
                        return _
                    }
                });
                var i = n("./src/LTGame/Platform/EPlatformType.ts"),
                    a = n("./src/LTGame/Platform/LTPlatform.ts"),
                    s = n("./src/ui/main/UI_atlas.ts"),
                    r = n("./src/UIExt/FGui/BaseUIMediator.ts"),
                    o = n("./src/UIExt/FGui/FGuiEx.ts"),
                    u = n("./src/UIExt/UISrc/Cmp/NativeADNew.ts"),
                    c = n("./src/script/common/GameData.ts"),
                    l = n("./src/script/common/OppoUtils.ts"),
                    d = n("./src/script/common/TimeUtils.ts"),
                    h = n("./src/script/config/MonsterConfig.ts"),
                    f = n("./src/script/enum/EMonsterType.ts"),
                    _ = function (e) {
                        function t() {
                            var e;
                            return _classCallCheck(this, t), (e = n.apply(this, arguments))._layer = o.EUILayer.Panel, e
                        }
                        _inherits(t, r.default);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "_OnShow",
                            value: function () {
                                return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                    return regeneratorRuntime.wrap(function (e) {
                                        for (; ;) switch (e.prev = e.next) {
                                            case 0:
                                                this.initData(), this.initView(), this._onEvent(), a.default.instance.platform == i.EPlatformType.Oppo ? (this.ui.m_platform.selectedIndex = 1, l.default.initCloseBtn(this.ui.m_close1, Laya.Handler.create(this, this.Hide)), u.default.createNative(this.ui, 0, 230 + (this.ui.height - 1280) / 2)) : a.default.instance.platform == i.EPlatformType.Vivo && (a.default.instance.ShowInterstitalAd(), a.default.instance.ShowBannerAd(), a.default.instance.hideBoxPortalAd());
                                            case 4:
                                            case "end":
                                                return e.stop()
                                        }
                                    }, e, this)
                                }))
                            }
                        }, {
                            key: "viewIntop",
                            value: function () { }
                        }, {
                            key: "UpdateMeleeItem",
                            value: function (e, t) {
                                t.setData(this._itemMeleeMonsterData[e]);
                            }
                        }, {
                            key: "UpdateRemoteItem",
                            value: function (e, t) {
                                t.setData(this._itemRemoteMonsterData[e]);
                            }
                        }, {
                            key: "initView",
                            value: function () {
                                var e = this;
                                this.ui.m_c1.selectedIndex = c.default.instance.atlasSelectId, this.RefreshUiTab(), this.ui.m_melee_list.itemRenderer = Laya.Handler.create(this, this.UpdateMeleeItem, null, !1), this.ui.m_melee_list.setVirtual(), this.ui.m_melee_list.numItems = this._itemMeleeMonsterData.length, this.ui.m_remote_list.itemRenderer = Laya.Handler.create(this, this.UpdateRemoteItem, null, !1), this.ui.m_remote_list.setVirtual(), this.ui.m_remote_list.numItems = this._itemRemoteMonsterData.length, console.error(this.ui.m_melee_list.itemRenderer), this.onClick(this._ui.m_close_btn, function () {
                                    e.Hide(), YYGGames.gameBox.visible = !0;
                                }), this.onClick(this._ui.m_melee_tab, function () {
                                    e.ui.m_c1.selectedIndex = 1, e.RefreshUiTab(), c.default.instance.atlasSelectId = 1, c.default.SaveToDisk();
                                }), this.onClick(this._ui.m_remote_tab, function () {
                                    e.ui.m_c1.selectedIndex = 0, e.RefreshUiTab(), c.default.instance.atlasSelectId = 0, c.default.SaveToDisk();
                                });
                            }
                        }, {
                            key: "RefreshUiTab",
                            value: function () {
                                this._ui.m_melee_tab.m_c1.selectedIndex = 1, this._ui.m_melee_tab.m_c2.selectedIndex = 1 == this.ui.m_c1.selectedIndex ? 1 : 0, this._ui.m_remote_tab.m_c1.selectedIndex = 0, this._ui.m_remote_tab.m_c2.selectedIndex = 0 == this.ui.m_c1.selectedIndex ? 1 : 0;
                            }
                        }, {
                            key: "initData",
                            value: function () {
                                this.enterTime = d.default.now, this._itemMeleeMonsterData = [], this._itemRemoteMonsterData = [];
                                var e = h.MonsterConfig.dataList.length;
                                if (h.MonsterConfig.dataList && e > 0) {
                                    for (var t = 0; t < e; t++) {
                                        var n = h.MonsterConfig.dataList[t],
                                            s = n.icon,
                                            r = n.lock_icon;
                                        a.default.instance.platform != i.EPlatformType.TT && a.default.instance.platform != i.EPlatformType.Oppo && a.default.instance.platform != i.EPlatformType.Vivo || (s = n.head_icon, r = n.lock_head_icon);
                                        var o = {
                                            level: n.level,
                                            name: n.name,
                                            star: n.star_level,
                                            hp: n.hp,
                                            attack: n.attack,
                                            icon: s,
                                            lockIcon: r,
                                            isLock: null == c.default.instance.unlockMonsterId[n.id]
                                        };
                                        n.type == f.EMonsterType.MeleeMonster ? this._itemMeleeMonsterData.push(o) : n.type == f.EMonsterType.RemoteMonster && this._itemRemoteMonsterData.push(o);
                                    }
                                    this._itemMeleeMonsterData.sort(function (e, t) {
                                        return e.level - t.level
                                    }), this._itemRemoteMonsterData.sort(function (e, t) {
                                        return e.level - t.level
                                    });
                                }
                            }
                        }, {
                            key: "_onEvent",
                            value: function () { }
                        }, {
                            key: "_offEvent",
                            value: function () { }
                        }, {
                            key: "_OnHide",
                            value: function () {
                                this._offEvent(), u.default.hideAd();
                            }
                        }], [{
                            key: "instance",
                            get: function () {
                                return null == this._instance && (this._instance = new t, this._instance._classDefine = s.default), this._instance
                            }
                        }]), t
                    }();
            },
            "./src/script/ui/UI_BossComeMediator.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    UI_BossComeMediator: function () {
                        return g
                    }
                });
                var i = n("./src/LTGame/Platform/EPlatformType.ts"),
                    a = n("./src/LTGame/Platform/LTPlatform.ts"),
                    s = n("./src/ui/main/UI_bosscome.ts"),
                    r = n("./src/UIExt/FGui/BaseUIMediator.ts"),
                    o = n("./src/UIExt/FGui/FGuiEx.ts"),
                    u = n("./src/UIExt/LTUI.ts"),
                    c = n("./src/UIExt/UISrc/Cmp/NativeADNew.ts"),
                    l = n("./src/script/common/GameData.ts"),
                    d = n("./src/script/common/maidian.ts"),
                    h = n("./src/script/common/OppoUtils.ts"),
                    f = n("./src/script/common/TimeUtils.ts"),
                    _ = n("./src/script/enum/EMaiType.ts"),
                    m = n("./src/script/ui/UI_GoodStartMediator.ts"),
                    g = function (e) {
                        function t() {
                            var e;
                            return _classCallCheck(this, t), (e = n.apply(this, arguments))._layer = o.EUILayer.Panel, e
                        }
                        _inherits(t, r.default);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "_OnShow",
                            value: function () {
                                return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                    return regeneratorRuntime.wrap(function (e) {
                                        for (; ;) switch (e.prev = e.next) {
                                            case 0:
                                                this.initData(), this.initView(), this._onEvent(), a.default.instance.platform == i.EPlatformType.TT && (this.ui.m_c1.selectedIndex = 1, this.onClick(this._ui.m_close_btn2, this.Hide)), a.default.instance.platform == i.EPlatformType.Oppo && (this.ui.m_c1.selectedIndex = 2, h.default.initCloseBtn(this.ui.m_close1, Laya.Handler.create(this, this.Hide)), c.default.createNative(this.ui, 0, 290 + (this.ui.height - 1280) / 2)), a.default.instance.platform == i.EPlatformType.Vivo && (a.default.instance.ShowInterstitalAd(), a.default.instance.ShowBannerAd(), a.default.instance.hideBoxPortalAd());
                                            case 6:
                                            case "end":
                                                return e.stop()
                                        }
                                    }, e, this)
                                }))
                            }
                        }, {
                            key: "viewIntop",
                            value: function () { }
                        }, {
                            key: "initView",
                            value: function () {
                                var e = this;
                                this.onClick(this._ui.m_close_btn, function () {
                                    e.Hide();
                                }), this.onClick(this._ui.m_close_btn2, function () {
                                    e.Hide();
                                }), this.onClick(this._ui.m_unlock_btn, function () {
                                    e.PlayRewardVideoByGoodStart();
                                }), this.onClick(this._ui.m_unlock_ov_btn, function () {
                                    e.PlayRewardVideoByGoodStart();
                                }), this._ui && this._ui.m_img && this._openParam && (this._ui.m_img.url = this._openParam.bossUrl), this._ui && this._ui.m_c1 && (this._ui.m_c1.selectedIndex = a.default.instance.platform == i.EPlatformType.TT ? 1 : 0);
                            }
                        }, {
                            key: "PlayRewardVideoByGoodStart",
                            value: function () {
                                return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                    return regeneratorRuntime.wrap(function (e) {
                                        for (; ;) switch (e.prev = e.next) {
                                            case 0:
                                                return e.next = 2, a.default.instance.ShowRewardVideoAdAsync();
                                            case 2:
                                                e.sent ? (d.default.instance.youmemReport(_.YoumengStamp["video_boss_boss来临_我要变强拉起视频"].toString(), {
                                                    state: "1"
                                                }), m.UI_GoodStartMediator.instance.Show(), l.default.instance.buyGoodStartCount++, l.default.SaveToDisk(), this.Hide()) : (u.default.Toast("跳过广告获取奖励"), d.default.instance.youmemReport(_.YoumengStamp["video_boss_boss来临_我要变强拉起视频"].toString(), {
                                                    state: "0"
                                                }));
                                            case 4:
                                            case "end":
                                                return e.stop()
                                        }
                                    }, e, this)
                                }))
                            }
                        }, {
                            key: "initData",
                            value: function () {
                                this.enterTime = f.default.now;
                            }
                        }, {
                            key: "_onEvent",
                            value: function () { }
                        }, {
                            key: "_offEvent",
                            value: function () { }
                        }, {
                            key: "_OnHide",
                            value: function () {
                                this._offEvent(), c.default.hideAd();
                            }
                        }], [{
                            key: "instance",
                            get: function () {
                                return null == this._instance && (this._instance = new t, this._instance._classDefine = s.default), this._instance
                            }
                        }]), t
                    }();
            },
            "./src/script/ui/UI_ChestMediator.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    UI_ChestMediator: function () {
                        return T
                    }
                });
                var i = n("./src/LTGame/Commom/CommonSaveData.ts"),
                    a = n("./src/LTGame/Manager/AudioManager.ts"),
                    s = n("./src/LTGame/Platform/EPlatformType.ts"),
                    r = n("./src/LTGame/Platform/LTPlatform.ts"),
                    o = n("./src/LTGame/Res/ResUrl.ts"),
                    u = n("./src/ui/main/UI_box.ts"),
                    c = n("./src/UIExt/FGui/BaseUIMediator.ts"),
                    l = n("./src/UIExt/FGui/FGuiEx.ts"),
                    d = n("./src/UIExt/LTFly.ts"),
                    h = n("./src/UIExt/LTUI.ts"),
                    f = n("./src/UIExt/UISrc/Cmp/NativeADNew.ts"),
                    _ = n("./src/script/common/GameData.ts"),
                    m = n("./src/script/common/maidian.ts"),
                    g = n("./src/script/common/OppoUtils.ts"),
                    p = n("./src/script/common/TimeUtils.ts"),
                    v = n("./src/script/common/Utils.ts"),
                    y = n("./src/script/config/ChestConfig.ts"),
                    k = n("./src/script/config/MonsterConfig.ts"),
                    C = n("./src/script/enum/EChestType.ts"),
                    I = n("./src/script/enum/EMaiType.ts"),
                    S = n("./src/script/enum/EMonsterType.ts"),
                    L = n("./src/script/enum/ESound.ts"),
                    w = n("./src/script/scene/Main3d/Game3d.ts"),
                    U = n("./src/script/scene/script/utils/Logger.ts"),
                    A = n("./src/script/scene/script/utils/MyUtils.ts"),
                    b = n("./src/script/ui/UI_MainMediator.ts"),
                    T = function (e) {
                        function t() {
                            var e;
                            return _classCallCheck(this, t), (e = n.apply(this, arguments))._layer = l.EUILayer.Panel, e
                        }
                        _inherits(t, c.default);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "_OnShow",
                            value: function () {
                                return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                    return regeneratorRuntime.wrap(function (e) {
                                        for (; ;) switch (e.prev = e.next) {
                                            case 0:
                                                this.initData(), this.initView(), this._onEvent(), r.default.instance.platform == s.EPlatformType.Oppo ? (this.ui.m_c2.selectedIndex = 2, g.default.initCloseBtn(this.ui.m_close1, Laya.Handler.create(this, this.close)), f.default.createNative(this.ui, 0, 200 + (this.ui.height - 1280) / 2)) : r.default.instance.platform == s.EPlatformType.Vivo && (r.default.instance.ShowInterstitalAd(), r.default.instance.ShowBannerAd(), r.default.instance.hideBoxPortalAd());
                                            case 4:
                                            case "end":
                                                return e.stop()
                                        }
                                    }, e, this)
                                }))
                            }
                        }, {
                            key: "viewIntop",
                            value: function () { }
                        }, {
                            key: "initView",
                            value: function () {
                                return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                    var t, n = this;
                                    return regeneratorRuntime.wrap(function (e) {
                                        for (; ;) switch (e.prev = e.next) {
                                            case 0:
                                                t = y.ChestConfig.data[this._openParam.type], e.t0 = this._openParam.type, e.next = e.t0 === C.EChestType.EChest_Gold ? 4 : e.t0 === C.EChestType.EChest_Normal ? 7 : e.t0 === C.EChestType.EChest_Best ? 9 : e.t0 === C.EChestType.EChest_Super ? 11 : 13;
                                                break;
                                            case 4:
                                                return this._ui.m_c1.selectedIndex = 0, this._ui.m_gold_tex.text = A.MyUtils.FormatGoldUnit(1e3 * i.default.instance.levelId), e.abrupt("break", 14);
                                            case 7:
                                                return this._ui.m_c1.selectedIndex = 1, e.abrupt("break", 14);
                                            case 9:
                                                return this._ui.m_c1.selectedIndex = 2, e.abrupt("break", 14);
                                            case 11:
                                                return this._ui.m_c1.selectedIndex = 3, e.abrupt("break", 14);
                                            case 13:
                                                return e.abrupt("break", 14);
                                            case 14:
                                                this._openParam.type != C.EChestType.EChest_Gold && (this._itemMonsterData = [], this.AddRewardMonster(t.num_1, 1), this.AddRewardMonster(t.num_2, 2), this.AddRewardMonster(t.num_3, 3), this.ui.m_monster_list.itemRenderer = Laya.Handler.create(this, this.UpdateItem, null, !1), this.ui.m_monster_list.setVirtual(), this.ui.m_monster_list.numItems = this._itemMonsterData.length), this.onClick(this._ui.m_video_get_btn, function () {
                                                    n.PlayRewardVideo();
                                                }), this.onClick(this._ui.m_close_btn, this.close), this.onClick(this._ui.m_close_btn2, this.close), this._ui && this._ui.m_c2 && (this._ui.m_c2.selectedIndex = r.default.instance.platform == s.EPlatformType.TT ? 1 : 0);
                                            case 19:
                                            case "end":
                                                return e.stop()
                                        }
                                    }, e, this)
                                }))
                            }
                        }, {
                            key: "close",
                            value: function () {
                                this.Hide(), w.default.instance.NowScene().GetChest().RemoveChest();
                            }
                        }, {
                            key: "AddRewardMonster",
                            value: function (e, t) {
                                for (var n = k.MonsterConfig.dataList.find(function (e) {
                                    return e.type == S.EMonsterType.MeleeMonster && e.level == t
                                }), i = k.MonsterConfig.dataList.find(function (e) {
                                    return e.type == S.EMonsterType.RemoteMonster && e.level == t
                                }), a = 0; a < e; a++) {
                                    var o = n;
                                    v.Utils.getRandomInt(100) % 2 == 0 && (o = i);
                                    var u = o.icon;
                                    if (r.default.instance.platform != s.EPlatformType.TT && r.default.instance.platform != s.EPlatformType.Oppo && r.default.instance.platform != s.EPlatformType.Vivo || (u = o.head_icon), o) {
                                        var c = {
                                            level: o.level,
                                            name: o.name,
                                            star: o.star_level,
                                            hp: o.hp,
                                            attack: o.attack,
                                            icon: u,
                                            type: o.type
                                        };
                                        this._itemMonsterData.push(c);
                                    }
                                }
                            }
                        }, {
                            key: "UpdateItem",
                            value: function (e, t) {
                                t.setData(this._itemMonsterData[e]);
                            }
                        }, {
                            key: "PlayRewardVideo",
                            value: function () {
                                return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                    var t, n;
                                    return regeneratorRuntime.wrap(function (e) {
                                        for (; ;) switch (e.prev = e.next) {
                                            case 0:
                                                return n = function () {
                                                    if (t._itemMonsterData && t._itemMonsterData.length > 0)
                                                        for (var e = 0; e < t._itemMonsterData.length; e++) _.default.instance.stockMonsterList.push(t._itemMonsterData[e]);
                                                }, t = this, e.next = 4, r.default.instance.ShowRewardVideoAdAsync();
                                            case 4:
                                                if (!e.sent) {
                                                    e.next = 32;
                                                    break
                                                }
                                                e.t0 = this._openParam.type, e.next = e.t0 === C.EChestType.EChest_Gold ? 9 : e.t0 === C.EChestType.EChest_Normal ? 16 : e.t0 === C.EChestType.EChest_Best ? 20 : e.t0 === C.EChestType.EChest_Super ? 24 : 28;
                                                break;
                                            case 9:
                                                return m.default.instance.youmemReport(I.YoumengStamp["video_boxCoin_打开金币补给箱拉起视频"].toString(), {
                                                    state: "1"
                                                }), _.default.addDiamonds(1e3 * i.default.instance.levelId), _.default.SaveToDisk(), this.StartFlyGoldAnimation(), b.UI_MainMediator.instance.FormatGoldValue(_.default.instance.diamondsCount), a.default.instance.playSound(L.ESoundName.sound_gold, 1), e.abrupt("break", 29);
                                            case 16:
                                                return U.Logger.lg("获取怪兽奖励"), m.default.instance.youmemReport(I.YoumengStamp["video_boxGeneral_打开普通补给箱拉起视频"].toString(), {
                                                    state: "1"
                                                }), n(), e.abrupt("break", 29);
                                            case 20:
                                                return U.Logger.lg("获取怪兽奖励"), m.default.instance.youmemReport(I.YoumengStamp["video_boxAdvanced_打开高级补给箱拉起视频"].toString(), {
                                                    state: "1"
                                                }), n(), e.abrupt("break", 29);
                                            case 24:
                                                return U.Logger.lg("获取怪兽奖励"), m.default.instance.youmemReport(I.YoumengStamp["video_boxSuper_打开超级补给箱拉起视频"].toString(), {
                                                    state: "1"
                                                }), n(), e.abrupt("break", 29);
                                            case 28:
                                                return e.abrupt("break", 29);
                                            case 29:
                                                this.Hide(), e.next = 45;
                                                break;
                                            case 32:
                                                e.t1 = this._openParam.type, e.next = e.t1 === C.EChestType.EChest_Gold ? 35 : e.t1 === C.EChestType.EChest_Normal ? 37 : e.t1 === C.EChestType.EChest_Best ? 39 : e.t1 === C.EChestType.EChest_Super ? 41 : 43;
                                                break;
                                            case 35:
                                                return m.default.instance.youmemReport(I.YoumengStamp["video_boxCoin_打开金币补给箱拉起视频"].toString(), {
                                                    state: "0"
                                                }), e.abrupt("break", 44);
                                            case 37:
                                                return m.default.instance.youmemReport(I.YoumengStamp["video_boxGeneral_打开普通补给箱拉起视频"].toString(), {
                                                    state: "0"
                                                }), e.abrupt("break", 44);
                                            case 39:
                                                return m.default.instance.youmemReport(I.YoumengStamp["video_boxAdvanced_打开高级补给箱拉起视频"].toString(), {
                                                    state: "0"
                                                }), e.abrupt("break", 44);
                                            case 41:
                                                return m.default.instance.youmemReport(I.YoumengStamp["video_boxSuper_打开超级补给箱拉起视频"].toString(), {
                                                    state: "0"
                                                }), e.abrupt("break", 44);
                                            case 43:
                                                return e.abrupt("break", 44);
                                            case 44:
                                                h.default.Toast("跳过广告无法获得奖励");
                                            case 45:
                                                w.default.instance.NowScene().GetChest().RemoveChest();
                                            case 46:
                                            case "end":
                                                return e.stop()
                                        }
                                    }, e, this)
                                }))
                            }
                        }, {
                            key: "StartFlyGoldAnimation",
                            value: function () {
                                var e = this._ui.m_gold_img.localToGlobal(),
                                    t = this._ui.m_gold_img.width,
                                    n = this._ui.m_gold_img.height;
                                e.x += t / 2, e.y += n / 2;
                                var i = e,
                                    a = b.UI_MainMediator.instance.GetGlodImgPoint();
                                d.LTFly.FlyCoins(l.EUILayer.Tip, i, a, o.default.icon_url("gold"), 10, 2, 100, !0);
                            }
                        }, {
                            key: "initData",
                            value: function () {
                                this.enterTime = p.default.now;
                            }
                        }, {
                            key: "_onEvent",
                            value: function () { }
                        }, {
                            key: "_offEvent",
                            value: function () { }
                        }, {
                            key: "_OnHide",
                            value: function () {
                                this._offEvent(), f.default.hideAd();
                            }
                        }], [{
                            key: "instance",
                            get: function () {
                                return null == this._instance && (this._instance = new t, this._instance._classDefine = u.default), this._instance
                            }
                        }]), t
                    }();
            },
            "./src/script/ui/UI_CongratulationMediator.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    UI_CongratulationMediator: function () {
                        return C
                    }
                });
                var i = n("./src/LTGame/Platform/EPlatformType.ts"),
                    a = n("./src/LTGame/Platform/LTPlatform.ts"),
                    s = n("./src/LTGame/Res/ResUrl.ts"),
                    r = n("./src/ui/main/UI_congratulations.ts"),
                    o = n("./src/UIExt/FGui/BaseUIMediator.ts"),
                    u = n("./src/UIExt/FGui/FGuiEx.ts"),
                    c = n("./src/UIExt/LTFly.ts"),
                    l = n("./src/UIExt/LTUI.ts"),
                    d = n("./src/UIExt/UISrc/Cmp/NativeADNew.ts"),
                    h = n("./src/script/common/GameData.ts"),
                    f = n("./src/script/common/maidian.ts"),
                    _ = n("./src/script/common/OppoUtils.ts"),
                    m = n("./src/script/common/TimeUtils.ts"),
                    g = n("./src/script/config/MonsterConfig.ts"),
                    p = n("./src/script/enum/EMaiType.ts"),
                    v = n("./src/script/scene/script/utils/Logger.ts"),
                    y = n("./src/script/scene/script/utils/MyUtils.ts"),
                    k = n("./src/script/ui/UI_MainMediator.ts"),
                    C = function (e) {
                        function t() {
                            var e;
                            return _classCallCheck(this, t), (e = n.apply(this, arguments))._layer = u.EUILayer.Panel, e._allFrame = 0, e._times = 0, e
                        }
                        _inherits(t, o.default);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "_OnShow",
                            value: function () {
                                return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                    return regeneratorRuntime.wrap(function (e) {
                                        for (; ;) switch (e.prev = e.next) {
                                            case 0:
                                                this.initData(), this.initView(), this._onEvent(), YYGGames.gameBox.visible = !1;
                                            case 3:
                                            case "end":
                                                return e.stop()
                                        }
                                    }, e, this)
                                }))
                            }
                        }, {
                            key: "_setFrame",
                            value: function () {
                                Laya.timer.loop(400, this, this._checkFrame);
                            }
                        }, {
                            key: "_checkFrame",
                            value: function () {
                                if (console.log(Laya.timer.delta), !(Laya.timer.delta > 40) && (this._allFrame += Laya.timer.delta, this._times++, this._times >= 5)) {
                                    Laya.timer.clear(this, this._checkFrame);
                                    var e = this._allFrame / 10;
                                    Laya.Stat.GameFrame = e > 30 ? 30 : e > 14 ? 60 : e > 10 ? 90 : 120;
                                }
                            }
                        }, {
                            key: "viewIntop",
                            value: function () { }
                        }, {
                            key: "initView",
                            value: function () {
                                return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                    var t, n, r = this;
                                    return regeneratorRuntime.wrap(function (e) {
                                        for (; ;) switch (e.prev = e.next) {
                                            case 0:
                                                this.onClick(this._ui.m_double_btn, function () {
                                                    let GetThisReward = () => {
                                                        YYGGames.showReward(() => {
                                                            console.log("m_double_btn");
                                                            YYGGames.gameBox.visible = !0, this.AddGoldCoin(r._ui.m_double_btn.m_gold_img, 5 * r.CalculateCoin());
                                                        }, () => { });
                                                    };
                                                    Advertisement.videoAdverV(GetThisReward);
                                                }), this._ui.m_normal_btn.m_gold_tex.text = y.MyUtils.FormatGoldUnit(this.CalculateCoin()), this._ui.m_double_btn.m_gold_tex.text = y.MyUtils.FormatGoldUnit(5 * this.CalculateCoin()), (t = g.MonsterConfig.dataList.find(function (e) {
                                                    return e.id == r._openParam.monsterId
                                                })) ? (this._ui.m_name_tex.text = t.name, this._ui.m_star_cmp.m_c1.selectedIndex = t.star_level - 1, this._ui.m_hp_tex.text = y.MyUtils.FormatGoldUnit(t.hp, 1), this._ui.m_atk_tex.text = y.MyUtils.FormatGoldUnit(t.attack, 1), n = t.icon, a.default.instance.platform != i.EPlatformType.TT && a.default.instance.platform != i.EPlatformType.Oppo && a.default.instance.platform != i.EPlatformType.Vivo || (n = t.head_icon), this._ui.m_icon.m_img.url = s.default.monster_icon_url(n)) : v.Logger.lg("当前怪兽在配置中不存在"), this._ui && this._ui.m_pt && (this._ui.m_pt.selectedIndex = a.default.instance.platform == i.EPlatformType.TT ? 1 : 0, this._ui.m_double_btn.m_pt.selectedIndex = a.default.instance.platform == i.EPlatformType.TT ? 1 : 0), a.default.instance.platform == i.EPlatformType.Oppo ? (_.default.initCloseBtn(this.ui.m_normal_btn, Laya.Handler.create(this, function () {
                                                    r.AddGoldCoin(r._ui.m_normal_btn.m_gold_img, r.CalculateCoin());
                                                })), d.default.createNative(this.ui, 0, 260 + (this.ui.height - 1280) / 2)) : this.onClick(this._ui.m_normal_btn, function () {
                                                    YYGGames.gameBox.visible = !0, r.AddGoldCoin(r._ui.m_normal_btn.m_gold_img, r.CalculateCoin());
                                                }), a.default.instance.platform == i.EPlatformType.Vivo && (a.default.instance.ShowInterstitalAd(), a.default.instance.ShowBannerAd(), a.default.instance.hideBoxPortalAd());
                                            case 8:
                                            case "end":
                                                return e.stop()
                                        }
                                    }, e, this)
                                }))
                            }
                        }, {
                            key: "PlayRewardVideo",
                            value: function (e, t) {
                                return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function n() {
                                    return regeneratorRuntime.wrap(function (n) {
                                        for (; ;) switch (n.prev = n.next) {
                                            case 0:
                                                return n.next = 2, a.default.instance.ShowRewardVideoAdAsync();
                                            case 2:
                                                n.sent ? (f.default.instance.youmemReport(p.YoumengStamp["video_newMonsterDouble_解锁新怪物双倍拉起视频"].toString(), {
                                                    state: "1"
                                                }), this.AddGoldCoin(e, t)) : (f.default.instance.youmemReport(p.YoumengStamp["video_newMonsterDouble_解锁新怪物双倍拉起视频"].toString(), {
                                                    state: "0"
                                                }), l.default.Toast("跳过广告无法获得奖励"));
                                            case 4:
                                            case "end":
                                                return n.stop()
                                        }
                                    }, n, this)
                                }))
                            }
                        }, {
                            key: "AddGoldCoin",
                            value: function (e, t) {
                                h.default.addDiamonds(t), h.default.SaveToDisk();
                                var n = e.localToGlobal(),
                                    i = e.width,
                                    a = e.height;
                                n.x += i / 2, n.y += a / 2;
                                var r = n,
                                    o = k.UI_MainMediator.instance.GetGlodImgPoint();
                                c.LTFly.FlyCoins(u.EUILayer.Tip, r, o, s.default.icon_url("gold"), 10, 2, 100, !0), k.UI_MainMediator.instance.FormatGoldValue(h.default.instance.diamondsCount), this.Hide();
                            }
                        }, {
                            key: "CalculateCoin",
                            value: function () {
                                return Math.floor(.2 * h.default.instance.lastCoin)
                            }
                        }, {
                            key: "initData",
                            value: function () {
                                this.enterTime = m.default.now;
                            }
                        }, {
                            key: "_onEvent",
                            value: function () { }
                        }, {
                            key: "_offEvent",
                            value: function () { }
                        }, {
                            key: "_OnHide",
                            value: function () {
                                this._offEvent(), d.default.hideAd();
                            }
                        }], [{
                            key: "instance",
                            get: function () {
                                return null == this._instance && (this._instance = new t, this._instance._classDefine = r.default), this._instance
                            }
                        }]), t
                    }();
            },
            "./src/script/ui/UI_CrazyClickMediator.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    UI_CrazyClickMediator: function () {
                        return m
                    }
                });
                var i = n("./bin/hlsdk/hlsdk_adapter.ts"),
                    a = n("./src/LTGame/LTUtils/QuaternionEx.ts"),
                    s = n("./src/LTGame/Manager/EffectManager.ts"),
                    r = n("./src/LTGame/Res/LTRes.ts"),
                    o = n("./src/LTGame/Res/ResUrl.ts"),
                    u = n("./src/ui/main/UI_click.ts"),
                    c = n("./src/UIExt/FGui/BaseUIMediator.ts"),
                    l = n("./src/UIExt/FGui/FGuiEx.ts"),
                    d = n("./src/UIExt/UISrc/Cmp/NativeADNew.ts"),
                    h = n("./src/script/common/TimeUtils.ts"),
                    f = n("./src/script/enum/EChestAni.ts"),
                    _ = n("./src/script/enum/EEffectType.ts"),
                    m = function (e) {
                        function t() {
                            var e;
                            return _classCallCheck(this, t), (e = n.apply(this, arguments))._layer = l.EUILayer.Popup, e._clickOnceTime = 0, e._isAddProgress = !1, e._targetValue = 0, e._isMax = !1, e._currentAni = "", e
                        }
                        _inherits(t, c.default);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "_OnShow",
                            value: function () {
                                return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                    var t = this;
                                    return regeneratorRuntime.wrap(function (e) {
                                        for (; ;) switch (e.prev = e.next) {
                                            case 0:
                                                this.initData(), this.initView(), this._onEvent(), i.HLSDKAdapter.doBtnCrazyClick({
                                                    btn: this.ui.m_click_btn.displayObject,
                                                    progressCb: function (e) {
                                                        t.ui.m_crazy_progress_bar.value = 100 * e;
                                                    },
                                                    clickCb: function () {
                                                        t._clickOnceTime > 300 && (t.SwitchAnimation(f.EChestAni.Click), t._clickOnceTime = 0, Laya.timer.clear(t, t.ResumeIdle), Laya.timer.once(1e3, t, t.ResumeIdle));
                                                    },
                                                    rewardCb: function () {
                                                        t.ClickCompleted();
                                                    }
                                                });
                                            case 4:
                                            case "end":
                                                return e.stop()
                                        }
                                    }, e, this)
                                }))
                            }
                        }, {
                            key: "viewIntop",
                            value: function () { }
                        }, {
                            key: "initView",
                            value: function () {
                                this._ui.m_crazy_progress_bar.value = 0, this._isMax = !1, this._clickOnceTime = 0, this.InitSprite3D();
                            }
                        }, {
                            key: "ClickOnceButton",
                            value: function (e) {
                                this._isMax || (e >= 1 ? this.ClickCompleted() : this._clickOnceTime < 300 || (this.SwitchAnimation(f.EChestAni.Click), this._clickOnceTime = 0, Laya.timer.clear(this, this.ResumeIdle), Laya.timer.once(1e3, this, this.ResumeIdle)));
                            }
                        }, {
                            key: "ClickCompleted",
                            value: function () {
                                var e = this;
                                this._isMax = !0, Laya.timer.clear(this, this.ResumeIdle), this.SwitchAnimation(f.EChestAni.Open), this.PlayEffect(this._mChest), Laya.timer.once(3e3, this, function () {
                                    e.Hide();
                                });
                            }
                        }, {
                            key: "initData",
                            value: function () {
                                this.enterTime = h.default.now;
                            }
                        }, {
                            key: "_onEvent",
                            value: function () { }
                        }, {
                            key: "_offEvent",
                            value: function () { }
                        }, {
                            key: "InitSprite3D",
                            value: function () {
                                return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                    var t, n, i, a;
                                    return regeneratorRuntime.wrap(function (e) {
                                        for (; ;) switch (e.prev = e.next) {
                                            case 0:
                                                return t = this.top3DScene(), this._mChest && (this._mChest.destroy(), this._mChest = null), e.next = 4, r.default.LoadAndGet(o.default.prefab_url("chest_click"));
                                            case 4:
                                                if (this._mChest = e.sent, this._scene) {
                                                    e.next = 8;
                                                    break
                                                }
                                                return this._mChest.destroy(), e.abrupt("return");
                                            case 8:
                                                (n = this._mChest.getChildByName("chest")) && (this._chestAni = n.getComponent(Laya.Animator)), t.addChild(this._mChest), i = new Laya.Vector3(0, 0, 0), a = .8, this.camera ? this.camera.convertScreenCoordToOrthographicCoord(new Laya.Vector3(Laya.stage.width / 2, Laya.stage.height / 2, 0), i) : i.z = -500, this._mChest.transform.setWorldLossyScale(new Laya.Vector3(20 * a, 20 * a, 20 * a)), this._mChest.transform.position = i, this._mChest.transform.localPositionY = 0, this._mChest.transform.localRotationEulerY = 0, this._mChest.transform.localRotationEulerX = 0, this._mChest.transform.localRotationEulerZ = 0;
                                            case 20:
                                            case "end":
                                                return e.stop()
                                        }
                                    }, e, this)
                                }))
                            }
                        }, {
                            key: "UpdateCrazyClickProgress",
                            value: function (e) {
                                this._clickOnceTime += e;
                            }
                        }, {
                            key: "PlayEffect",
                            value: function () {
                                var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : null,
                                    t = _.EEffectType.Effect_Coin,
                                    n = new s.EffectShowData(t);
                                n.continueTime = 3, e && (n.parent = e), n.setLocalScale = new Laya.Vector3(10, 10, 10), n.setLocalRot = a.default.Euler(-90, 0, 0), s.EffectManager.instance.PlayEffectByData(n);
                            }
                        }, {
                            key: "SwitchAnimation",
                            value: function (e) {
                                var t = !(arguments.length > 1 && void 0 !== arguments[1]) || arguments[1];
                                this._chestAni && this._mChest && !this._mChest.destroyed && t && (this._chestAni.crossFade(e, .2, 0, 0), this._currentAni = e);
                            }
                        }, {
                            key: "ResumeIdle",
                            value: function () {
                                this.SwitchAnimation(f.EChestAni.Idle);
                            }
                        }, {
                            key: "top3DScene",
                            value: function () {
                                var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : l.default.popupLayer,
                                    t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : 150;
                                if (this._scene) return e.displayObject.addChild(this._scene), this._scene;
                                this._scene = this._scene || new Laya.Scene3D, e.displayObject.addChild(this._scene), this.camera = new Laya.Camera(0, .1, 1e3), this._scene.mouseEnabled = !1, this._scene.addChild(this.camera), this.camera.orthographic = !0, this.camera.orthographicVerticalSize = t, this.camera.clearFlag = Laya.BaseCamera.CLEARFLAG_DEPTHONLY;
                                var n = new Laya.DirectionLight;
                                return n.intensity = 1.2, n.transform.rotationEuler = new Laya.Vector3(-10, 10, 0), this._scene.addChild(n), this._scene
                            }
                        }, {
                            key: "_OnHide",
                            value: function () {
                                this._offEvent(), this._scene && this._scene.destroy(), this._scene = null, this._mChest = null, Laya.timer.clear(this, this.ResumeIdle), d.default.hideAd();
                            }
                        }], [{
                            key: "instance",
                            get: function () {
                                return null == this._instance && (this._instance = new t, this._instance._classDefine = u.default), this._instance
                            }
                        }]), t
                    }();
            },
            "./src/script/ui/UI_EvolutionMediator.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    UI_EvolutionMediator: function () {
                        return y
                    }
                });
                var i = n("./src/LTGame/Platform/EPlatformType.ts"),
                    a = n("./src/LTGame/Platform/LTPlatform.ts"),
                    s = n("./src/LTGame/Res/ResUrl.ts"),
                    r = n("./src/ui/main/UI_upgrade_start.ts"),
                    o = n("./src/UIExt/FGui/BaseUIMediator.ts"),
                    u = n("./src/UIExt/FGui/FGuiEx.ts"),
                    c = n("./src/UIExt/LTUI.ts"),
                    l = n("./src/UIExt/UISrc/Cmp/NativeADNew.ts"),
                    d = n("./src/script/common/GameData.ts"),
                    h = n("./src/script/common/maidian.ts"),
                    f = n("./src/script/common/OppoUtils.ts"),
                    _ = n("./src/script/common/TimeUtils.ts"),
                    m = n("./src/script/config/GameConst.ts"),
                    g = n("./src/script/config/MonsterConfig.ts"),
                    p = n("./src/script/enum/EMaiType.ts"),
                    v = n("./src/script/scene/script/utils/MyUtils.ts"),
                    y = function (e) {
                        function t() {
                            var e;
                            return _classCallCheck(this, t), (e = n.apply(this, arguments))._layer = u.EUILayer.Panel, e
                        }
                        _inherits(t, o.default);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "_OnShow",
                            value: function () {
                                return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                    return regeneratorRuntime.wrap(function (e) {
                                        for (; ;) switch (e.prev = e.next) {
                                            case 0:
                                                this.initData(), this.initView(), this._onEvent(), a.default.instance.platform == i.EPlatformType.Oppo ? (this.ui.m_platform.selectedIndex = 1, f.default.initCloseBtn(this.ui.m_close1, Laya.Handler.create(this, this.Hide)), l.default.createNative(this.ui, 0, 250 + (this.ui.height - 1280) / 2)) : a.default.instance.platform == i.EPlatformType.Vivo && (a.default.instance.ShowInterstitalAd(), a.default.instance.ShowBannerAd(), a.default.instance.hideBoxPortalAd());
                                            case 4:
                                            case "end":
                                                return e.stop()
                                        }
                                    }, e, this)
                                }))
                            }
                        }, {
                            key: "viewIntop",
                            value: function () { }
                        }, {
                            key: "initView",
                            value: function () {
                                return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                    var t = this;
                                    return regeneratorRuntime.wrap(function (e) {
                                        for (; ;) switch (e.prev = e.next) {
                                            case 0:
                                                this.RefreshUiData(), this.onClick(this._ui.m_upgrade_btn, function () {
                                                    let GetThisReward = () => {
                                                        YYGGames.showReward(() => {
                                                            console.log("m_upgrade_btn2");
                                                            this._openParam.monsterScript.UpgradeLevel(), this.Hide();
                                                        }, () => { });
                                                    };
                                                    Advertisement.videoAdverV(GetThisReward);

                                                }), this.onClick(this._ui.m_close_btn, function () {
                                                    YYGGames.gameBox.visible = !0, t.Hide();
                                                });
                                            case 3:
                                            case "end":
                                                return e.stop()
                                        }
                                    }, e, this)
                                }))
                            }
                        }, {
                            key: "PlayRewardVideo",
                            value: function () {
                                return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                    return regeneratorRuntime.wrap(function (e) {
                                        for (; ;) switch (e.prev = e.next) {
                                            case 0:
                                                return e.next = 2, a.default.instance.ShowRewardVideoAdAsync();
                                            case 2:
                                                e.sent ? (h.default.instance.youmemReport(p.YoumengStamp["video_startUpgradeMonster_开局升级怪物拉起视频"].toString(), {
                                                    state: "1"
                                                }), this._openParam.monsterScript.UpgradeLevel(), this.Hide()) : (h.default.instance.youmemReport(p.YoumengStamp["video_startUpgradeMonster_开局升级怪物拉起视频"].toString(), {
                                                    state: "0"
                                                }), c.default.Toast("跳过广告无法获得奖励"), this.Hide());
                                            case 4:
                                            case "end":
                                                return e.stop()
                                        }
                                    }, e, this)
                                }))
                            }
                        }, {
                            key: "RefreshUiData",
                            value: function () {
                                var e = this._openParam.monsterScript,
                                    t = g.MonsterConfig.data[e.MonsterConfig.id],
                                    n = g.MonsterConfig.dataList.find(function (e) {
                                        return e.type == t.type && e.level == t.level + 1
                                    });
                                n || (n = t), this._ui.m_name_tex.text = t.name, this._ui.m_old_hp_tex.text = v.MyUtils.FormatGoldUnit(t.hp), this._ui.m_old_atk_tex.text = v.MyUtils.FormatGoldUnit(t.attack);
                                var r = t.icon,
                                    o = n.icon;
                                a.default.instance.platform != i.EPlatformType.TT && a.default.instance.platform != i.EPlatformType.Oppo && a.default.instance.platform != i.EPlatformType.Vivo || (r = t.head_icon, o = n.head_icon), this._ui.m_old_item.m_icon.m_img.url = s.default.monster_icon_url(r), this._ui.m_old_item.m_star_cmp.m_c1.selectedIndex = t.star_level - 1, this._ui.m_new_hp_tex.text = v.MyUtils.FormatGoldUnit(n.hp), this._ui.m_new_atk_tex.text = v.MyUtils.FormatGoldUnit(n.attack), this._ui.m_new_item.m_icon.m_img.url = s.default.monster_icon_url(o), this._ui.m_new_item.m_star_cmp.m_c1.selectedIndex = n.star_level - 1;
                            }
                        }, {
                            key: "CalculateGlodValue",
                            value: function () {
                                var e = Math.max(d.default.instance.buyMeleeCount, d.default.instance.buyRemoteCount);
                                return m.GameConst.data.base_monster_price * Math.pow(e, 2)
                            }
                        }, {
                            key: "initData",
                            value: function () {
                                this.enterTime = _.default.now;
                            }
                        }, {
                            key: "_onEvent",
                            value: function () { }
                        }, {
                            key: "_offEvent",
                            value: function () { }
                        }, {
                            key: "_OnHide",
                            value: function () {
                                this._offEvent(), this._openParam = {}, l.default.hideAd();
                            }
                        }], [{
                            key: "instance",
                            get: function () {
                                return null == this._instance && (this._instance = new t, this._instance._classDefine = r.default), this._instance
                            }
                        }]), t
                    }();
            },
            "./src/script/ui/UI_FigerMediator.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    UI_FigerMediator: function () {
                        return h
                    }
                });
                var i = n("./src/LTGame/LTUtils/LTUtils.ts"),
                    a = n("./src/LTGame/Platform/LTPlatform.ts"),
                    s = n("./src/ui/main/UI_guide_bg.ts"),
                    r = n("./src/UIExt/FGui/BaseUIMediator.ts"),
                    o = n("./src/UIExt/FGui/FGuiEx.ts"),
                    u = n("./src/script/common/GameData.ts"),
                    c = n("./src/script/common/maidian.ts"),
                    l = n("./src/script/enum/EMaiType.ts"),
                    d = n("./src/script/scene/script/utils/Logger.ts"),
                    h = function (e) {
                        function t() {
                            var e;
                            return _classCallCheck(this, t), (e = n.apply(this, arguments))._layer = o.EUILayer.Popup, e._needCloseAni = !1, e._needOpenAni = !1, e
                        }
                        _inherits(t, r.default);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "_OnShow",
                            value: function () {
                                return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                    return regeneratorRuntime.wrap(function (e) {
                                        for (; ;) switch (e.prev = e.next) {
                                            case 0:
                                                this.initView();
                                            case 1:
                                            case "end":
                                                return e.stop()
                                        }
                                    }, e, this)
                                }))
                            }
                        }, {
                            key: "initView",
                            value: function () {
                                var e = this;
                                this.onClick(this._ui.m_skip_btn, function () {
                                    u.default.instance.isGuide = !0, u.default.instance.guideId = 3, u.default.SaveToDisk(), e._guideBtn && (e._guideBtn.visible = !0), c.default.instance.youmemReport(l.YoumengStamp["special_skipGuide_跳过新手引导"].toString()), Laya.LocalStorage.setItem("superhero-jiaocheng", !0), Laya.LocalStorage.setItem("superhero-jiaocheng-he", !0), e.Hide();
                                }), a.default.instance.hideBoxPortalAd();
                            }
                        }, {
                            key: "startGuide",
                            value: function (e, t) {
                                var n = this,
                                    a = arguments.length > 2 && void 0 !== arguments[2] && arguments[2];
                                this._guideBtn = e, this.ui.mask = null, this.ui.opaque = !0, this._temp2Btn = i.LTUtils.copyFguiCom(e), this._temp2Btn.visible = !0;
                                var s = e.localToGlobal();
                                d.Logger.lg("x=" + s.x + ",y=" + s.y), this.ui.addChildAt(this._temp2Btn, 1), d.Logger.lg("btn-->x=" + e.x + ",y=" + e.y), a ? this._temp2Btn.setXY(e.x, e.y) : this._temp2Btn.setXY(s.x, s.y), a ? (this.ui.m_figer.setXY(e.x + e.width / 2 + 50, e.y + e.height / 2), this._temp2Btn.m_video_img.visible = !1, this.ui.m_c1.selectedIndex = 3) : (this.ui.m_figer.setXY(s.x, s.y), this._ui.m_c1.selectedIndex = u.default.instance.guideStepIndex), this.ui.m_figer.m_t0.play(null, -1), this._guideBtn.visible = !1, this._temp2Btn.onClick(this, function () {
                                    var e = new Laya.Event;
                                    n._tempBtn && n._tempBtn.dispose(), n._tempBtn = null, n._guideBtn && n._guideBtn.displayObject && (n._guideBtn.visible = !0, n._guideBtn.displayObject.event(Laya.Event.CLICK, e.setTo(Laya.Event.CLICK, n._guideBtn.displayObject, n._guideBtn.displayObject)), t && t.run(), n.Hide()), u.default.instance.isGuide || a || (u.default.instance.guideStepIndex++, d.Logger.lg("当前引导步骤为：" + u.default.instance.guideStepIndex));
                                });
                            }
                        }, {
                            key: "_OnHide",
                            value: function () {
                                this._guideBtn = null, this._tempBtn && this._tempBtn.dispose(), this._tempBtn = null;
                            }
                        }], [{
                            key: "instance",
                            get: function () {
                                return null == this._instance && (this._instance = new t, this._instance._classDefine = s.default), this._instance
                            }
                        }]), t
                    }();
            },
            "./src/script/ui/UI_GetCoinMediator.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    UI_GetCoinMediator: function () {
                        return I
                    }
                });
                var i = n("./src/LTGame/Manager/AudioManager.ts"),
                    a = n("./src/LTGame/Platform/EPlatformType.ts"),
                    s = n("./src/LTGame/Platform/LTPlatform.ts"),
                    r = n("./src/LTGame/Res/ResUrl.ts"),
                    o = n("./src/ui/main/UI_getCoin.ts"),
                    u = n("./src/UIExt/FGui/BaseUIMediator.ts"),
                    c = n("./src/UIExt/FGui/FGuiEx.ts"),
                    l = n("./src/UIExt/LTFly.ts"),
                    d = n("./src/UIExt/LTUI.ts"),
                    h = n("./src/UIExt/UISrc/Cmp/NativeADNew.ts"),
                    f = n("./src/script/common/GameData.ts"),
                    _ = n("./src/script/common/maidian.ts"),
                    m = n("./src/script/common/OppoUtils.ts"),
                    g = n("./src/script/common/TimeUtils.ts"),
                    p = n("./src/script/enum/EMaiType.ts"),
                    v = n("./src/script/enum/ESound.ts"),
                    y = n("./src/script/scene/Main3d/Game3d.ts"),
                    k = n("./src/script/scene/script/utils/MyUtils.ts"),
                    C = n("./src/script/ui/UI_MainMediator.ts"),
                    I = function (e) { // todo : 领取金币页面
                        function t() {
                            var e;
                            return _classCallCheck(this, t), (e = n.apply(this, arguments))._layer = c.EUILayer.Panel, e._allFrame = 0, e._times = 0, e._rewardGoldValue = 0, e
                        }
                        _inherits(t, u.default);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "_OnShow",
                            value: function () {
                                return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                    return regeneratorRuntime.wrap(function (e) {
                                        for (; ;) switch (e.prev = e.next) {
                                            case 0:
                                                this.initData(), this.initView(), this._onEvent();
                                            case 3:
                                            case "end":
                                                return e.stop()
                                        }
                                    }, e, this)
                                }))
                            }
                        }, {
                            key: "_setFrame",
                            value: function () {
                                Laya.timer.loop(400, this, this._checkFrame);
                            }
                        }, {
                            key: "_checkFrame",
                            value: function () {
                                if (console.log(Laya.timer.delta), !(Laya.timer.delta > 40) && (this._allFrame += Laya.timer.delta, this._times++, this._times >= 5)) {
                                    Laya.timer.clear(this, this._checkFrame);
                                    var e = this._allFrame / 10;
                                    Laya.Stat.GameFrame = e > 30 ? 30 : e > 14 ? 60 : e > 10 ? 90 : 120;
                                }
                            }
                        }, {
                            key: "viewIntop",
                            value: function () { }
                        }, {
                            key: "initView",
                            value: function () {
                                return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                    var n = this;
                                    return regeneratorRuntime.wrap(function (e) {
                                        for (; ;) switch (e.prev = e.next) {
                                            case 0:
                                                this.RefreshUiData(),
                                                    this.onClick(this._ui.m_get_video_btn, function () {
                                                        let GetThisReward = () => {
                                                            YYGGames.showReward(() => {
                                                                console.log("m_get_video_btn");
                                                                f.default.addDiamonds(this._rewardGoldValue), f.default.SaveToDisk(), n = this._ui.m_gold_img.localToGlobal(), t = this._ui.m_gold_img.width, a = this._ui.m_gold_img.height, n.x += t / 2, n.y += a / 2, o = n, u = C.UI_MainMediator.instance.GetGlodImgPoint(), l.LTFly.FlyCoins(c.EUILayer.Tip, o, u, r.default.icon_url("gold"), 10, 2, 100, !0), this.Hide(), C.UI_MainMediator.instance.FormatGoldValue(f.default.instance.diamondsCount), i.default.instance.playSound(v.ESoundName.sound_gold, 1), y.default.instance.NowScene().GetFlyMonster().End(), window.ISKAISHI ? YYGGames.gameBox.visible = !1 : YYGGames.gameBox.visible = !0;
                                                            }, () => { });
                                                        };
                                                        Advertisement.videoAdverV(GetThisReward);
                                                    }), this.onClick(this._ui.m_close_btn, this.close),
                                                    this.onClick(this._ui.m_close_btn2, this.close),
                                                    m.default.initCloseBtn(this.ui.m_close1,
                                                        Laya.Handler.create(this, this.close)),
                                                    this._ui && this._ui.m_c1 && (h.default.createNative(this.ui,
                                                        0, 220 + (this.ui.height - 1280) / 2),
                                                        s.default.instance.ShowInterstitalAd(), s.default.instance.ShowBannerAd(),
                                                        s.default.instance.hideBoxPortalAd());
                                                console.log(66666666666666666, "领取金币页面");
                                                if (Plat.Ins._ctrlData.status == 1) {
                                                    Plat.Ins.ShowNative(1050, new PlatData(300).SetNati());
                                                    Laya.timer.loop(50000, this, () => {
                                                        Plat.Ins.ShowNative(1050, new PlatData(300).SetNati());
                                                    });
                                                }

                                            case 6:
                                            case "end":
                                                return e.stop()
                                        }
                                    }, e, this)
                                }))
                            }
                        }, {
                            key: "close",
                            value: function () {
                                this.Hide(), y.default.instance.NowScene().GetFlyMonster().IsRunning = !0, YYGGames.gameBox.visible = !0;
                            }
                        }, {
                            key: "PlayRewardVideo",
                            value: function () {
                                return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                    var t, n, a, o, u;
                                    return regeneratorRuntime.wrap(function (e) {
                                        for (; ;) switch (e.prev = e.next) {
                                            case 0:
                                                return e.next = 2, s.default.instance.ShowRewardVideoAdAsync();
                                            case 2:
                                                e.sent ? (_.default.instance.youmemReport(p.YoumengStamp["video_replenishCoin_补充金币拉起视频"].toString(), {
                                                    state: "1"
                                                }), f.default.addDiamonds(this._rewardGoldValue), f.default.SaveToDisk(), t = this._ui.m_gold_img.localToGlobal(), n = this._ui.m_gold_img.width, a = this._ui.m_gold_img.height, t.x += n / 2, t.y += a / 2, o = t, u = C.UI_MainMediator.instance.GetGlodImgPoint(), l.LTFly.FlyCoins(c.EUILayer.Tip, o, u, r.default.icon_url("gold"), 10, 2, 100, !0), this.Hide(), C.UI_MainMediator.instance.FormatGoldValue(f.default.instance.diamondsCount), i.default.instance.playSound(v.ESoundName.sound_gold, 1), y.default.instance.NowScene().GetFlyMonster().End()) : (_.default.instance.youmemReport(p.YoumengStamp["video_replenishCoin_补充金币拉起视频"].toString(), {
                                                    state: "0"
                                                }), d.default.Toast("跳过广告无法获得奖励"), this.Hide(), y.default.instance.NowScene().GetFlyMonster().IsRunning = !0);
                                            case 4:
                                            case "end":
                                                return e.stop()
                                        }
                                    }, e, this)
                                }))
                            }
                        }, {
                            key: "RefreshUiData",
                            value: function () {
                                this._rewardGoldValue = this.CalculateGlodValue(), this._ui.m_gold_tex.text = k.MyUtils.FormatGoldUnit(this._rewardGoldValue);
                            }
                        }, {
                            key: "CalculateGlodValue",
                            value: function () {
                                return Math.floor(3 * f.default.instance.lastCoin)
                            }
                        }, {
                            key: "initData",
                            value: function () {
                                this.enterTime = g.default.now;
                            }
                        }, {
                            key: "_onEvent",
                            value: function () { }
                        }, {
                            key: "_offEvent",
                            value: function () { }
                        }, {
                            key: "_OnHide",
                            value: function () {
                                this._offEvent(), h.default.hideAd();
                            }
                        }], [{
                            key: "instance",
                            get: function () {
                                return null == this._instance && (this._instance = new t, this._instance._classDefine = o.default), this._instance
                            }
                        }]), t
                    }();
            },
            "./src/script/ui/UI_GoodStartMediator.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    UI_GoodStartMediator: function () {
                        return y
                    }
                });
                var i = n("./src/LTGame/Platform/EPlatformType.ts"),
                    a = n("./src/LTGame/Platform/LTPlatform.ts"),
                    s = n("./src/ui/main/UI_goodStart.ts"),
                    r = n("./src/UIExt/FGui/BaseUIMediator.ts"),
                    o = n("./src/UIExt/FGui/FGuiEx.ts"),
                    u = n("./src/UIExt/LTUI.ts"),
                    c = n("./src/UIExt/UISrc/Cmp/NativeADNew.ts"),
                    l = n("./src/script/common/GameData.ts"),
                    d = n("./src/script/common/maidian.ts"),
                    h = n("./src/script/common/TimeUtils.ts"),
                    f = n("./src/script/config/GameConst.ts"),
                    _ = n("./src/script/enum/EBuffType.ts"),
                    m = n("./src/script/enum/EMaiType.ts"),
                    g = n("./src/script/scene/Main3d/Game3d.ts"),
                    p = n("./src/script/scene/script/utils/MyUtils.ts"),
                    v = n("./src/script/ui/UI_MainMediator.ts"),
                    y = function (e) {
                        function t() {
                            var e;
                            return _classCallCheck(this, t), (e = n.apply(this, arguments))._layer = o.EUILayer.Popup, e._isJumpGoodStart = !1, e
                        }
                        _inherits(t, r.default);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "_OnShow",
                            value: function () {
                                return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                    return regeneratorRuntime.wrap(function (e) {
                                        for (; ;) switch (e.prev = e.next) {
                                            case 0:
                                                this._isJumpGoodStart = this._openParam, this.initData(), this.initView(), this._onEvent(), a.default.instance.platform == i.EPlatformType.Oppo ? c.default.createNative(this.ui, 0, 340 + (this.ui.height - 1280) / 2) : a.default.instance.platform == i.EPlatformType.Vivo && (a.default.instance.ShowInterstitalAd(), a.default.instance.ShowBannerAd(), a.default.instance.hideBoxPortalAd());
                                            case 5:
                                            case "end":
                                                return e.stop()
                                        }
                                    }, e, this)
                                }))
                            }
                        }, {
                            key: "viewIntop",
                            value: function () { }
                        }, {
                            key: "initView",
                            value: function () {
                                var e = this;
                                this._isJumpGoodStart ? l.default.instance.unlockBuff = {
                                    0: 0,
                                    1: 0,
                                    2: 0
                                } : l.default.instance.unlockBuff = {
                                    0: 1,
                                    1: 0,
                                    2: 0
                                }, this.RefreshUIData(), this.onClick(this._ui.m_start_btn, function () {
                                    for (var t in l.default.instance.unlockBuff) {
                                        var n = l.default.instance.unlockBuff[t],
                                            i = g.default.instance.NowScene().GetCampAllData(!1);
                                        if (1 == n && i && i.length > 0)
                                            for (var a = 0; a < i.length; a++) {
                                                var s = i[a];
                                                if (s && s.MonsterScript) switch (t) {
                                                    case "0":
                                                        s.MonsterScript.AddBuff(f.GameConst.data.buff_hp, _.EBuffType.EBuff_HP);
                                                        break;
                                                    case "1":
                                                        s.MonsterScript.AddBuff(f.GameConst.data.buff_atk, _.EBuffType.EBuff_Atk);
                                                        break;
                                                    case "2":
                                                        s.MonsterScript.AddBuff(f.GameConst.data.buff_agl, _.EBuffType.EBuff_Agl);
                                                }
                                            }
                                    }
                                    v.UI_MainMediator.instance.StartFight(), e.Hide();
                                }), this.onClick(this._ui.m_strong_btn, function () {
                                    if (e._isJumpGoodStart && d.default.instance.youmemReport(m.YoumengStamp.video_winPageT.toString(), {
                                        state: "1"
                                    }), 0 == e.ui.m_strong_btn.m_c2.selectedIndex) e._isJumpGoodStart && d.default.instance.youmemReport(m.YoumengStamp.video_winPageTimes.toString(), {
                                        state: "1"
                                    }), e.PlayRewardVideo();
                                    else {
                                        var t = v.UI_MainMediator.instance.CalculateSuperGameValue();
                                        for (var n in l.default.reduceDiamonds(t), l.default.instance.buyGoodStartCount++, l.default.SaveToDisk(), v.UI_MainMediator.instance.FormatGoldValue(l.default.instance.diamondsCount), l.default.instance.unlockBuff)
                                            if (0 == l.default.instance.unlockBuff[n]) {
                                                l.default.instance.unlockBuff[n] = 1;
                                                break
                                            } e.RefreshUIData();
                                    }
                                });
                            }
                        }, {
                            key: "RefreshUIData",
                            value: function () {
                                var e = 0,
                                    t = 0;
                                for (var n in l.default.instance.unlockBuff) {
                                    var i = l.default.instance.unlockBuff[n];
                                    switch (t++, n) {
                                        case "0":
                                            this._ui.m_item_hp.m_c2.selectedIndex = i;
                                            break;
                                        case "1":
                                            this._ui.m_item_atk.m_c2.selectedIndex = i;
                                            break;
                                        case "2":
                                            this._ui.m_item_agl.m_c2.selectedIndex = i;
                                    }
                                    1 == i && e++;
                                }
                                if (this._ui.m_c1.selectedIndex = t == e ? 1 : 0, 0 == e) {
                                    this.ui.m_strong_btn.m_c1.selectedIndex = 1;
                                    var a = v.UI_MainMediator.instance.CalculateSuperGameValue();
                                    l.default.instance.diamondsCount >= a ? (this._ui.m_strong_btn.m_gold_tex.text = p.MyUtils.FormatGoldUnit(a), this.ui.m_strong_btn.m_c2.selectedIndex = 1) : this.ui.m_strong_btn.m_c2.selectedIndex = 0;
                                } else this.ui.m_strong_btn.m_c1.selectedIndex = 0, this.ui.m_strong_btn.m_c2.selectedIndex = 0;
                                this.ui.m_choseItem.m_c1.selectedIndex = e;
                            }
                        }, {
                            key: "PlayRewardVideo",
                            value: function () {
                                return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                    var t;
                                    return regeneratorRuntime.wrap(function (e) {
                                        for (; ;) switch (e.prev = e.next) {
                                            case 0:
                                                return e.next = 2, a.default.instance.ShowRewardVideoAdAsync();
                                            case 2:
                                                if (!e.sent) {
                                                    e.next = 17;
                                                    break
                                                }
                                                d.default.instance.youmemReport(m.YoumengStamp["video_superStartStronger_强力开局我要更强拉起视频"].toString(), {
                                                    state: "1"
                                                }), e.t0 = regeneratorRuntime.keys(l.default.instance.unlockBuff);
                                            case 6:
                                                if ((e.t1 = e.t0()).done) {
                                                    e.next = 13;
                                                    break
                                                }
                                                if (t = e.t1.value, 0 != l.default.instance.unlockBuff[t]) {
                                                    e.next = 11;
                                                    break
                                                }
                                                return l.default.instance.unlockBuff[t] = 1, e.abrupt("break", 13);
                                            case 11:
                                                e.next = 6;
                                                break;
                                            case 13:
                                                l.default.SaveToDisk(), this.RefreshUIData(), e.next = 19;
                                                break;
                                            case 17:
                                                d.default.instance.youmemReport(m.YoumengStamp["video_superStartStronger_强力开局我要更强拉起视频"].toString(), {
                                                    state: "0"
                                                }), u.default.Toast("跳过广告无法获得奖励");
                                            case 19:
                                            case "end":
                                                return e.stop()
                                        }
                                    }, e, this)
                                }))
                            }
                        }, {
                            key: "initData",
                            value: function () {
                                this.enterTime = h.default.now;
                            }
                        }, {
                            key: "_onEvent",
                            value: function () { }
                        }, {
                            key: "_offEvent",
                            value: function () { }
                        }, {
                            key: "_OnHide",
                            value: function () {
                                this._offEvent(), c.default.hideAd();
                            }
                        }], [{
                            key: "instance",
                            get: function () {
                                return null == this._instance && (this._instance = new t, this._instance._classDefine = s.default), this._instance
                            }
                        }]), t
                    }();
            },
            "./src/script/ui/UI_LevelUpMediator.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    UI_LevelUpMediator: function () {
                        return p
                    }
                });
                var i = n("./src/LTGame/Platform/EPlatformType.ts"),
                    a = n("./src/LTGame/Platform/LTPlatform.ts"),
                    s = n("./src/LTGame/Res/ResUrl.ts"),
                    r = n("./src/ui/main/UI_upgrade_new.ts"),
                    o = n("./src/UIExt/FGui/BaseUIMediator.ts"),
                    u = n("./src/UIExt/FGui/FGuiEx.ts"),
                    c = n("./src/UIExt/LTUI.ts"),
                    l = n("./src/UIExt/UISrc/Cmp/NativeADNew.ts"),
                    d = n("./src/script/common/maidian.ts"),
                    h = n("./src/script/common/OppoUtils.ts"),
                    f = n("./src/script/common/TimeUtils.ts"),
                    _ = n("./src/script/config/MonsterConfig.ts"),
                    m = n("./src/script/enum/EMaiType.ts"),
                    g = n("./src/script/scene/script/utils/MyUtils.ts"),
                    p = function (e) {
                        function t() {
                            var e;
                            return _classCallCheck(this, t), (e = n.apply(this, arguments))._layer = u.EUILayer.Panel, e
                        }
                        _inherits(t, o.default);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "_OnShow",
                            value: function () {
                                return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                    return regeneratorRuntime.wrap(function (e) {
                                        for (; ;) switch (e.prev = e.next) {
                                            case 0:
                                                this.initData(), this.initView(), this._onEvent(), a.default.instance.platform == i.EPlatformType.Oppo ? (this.ui.m_platform.selectedIndex = 1, h.default.initCloseBtn(this.ui.m_close1, Laya.Handler.create(this, this.Hide)), l.default.createNative(this.ui, 0, 250 + (this.ui.height - 1280) / 2)) : a.default.instance.platform == i.EPlatformType.Vivo && (a.default.instance.ShowInterstitalAd(), a.default.instance.ShowBannerAd(), a.default.instance.hideBoxPortalAd());
                                            case 4:
                                            case "end":
                                                return e.stop()
                                        }
                                    }, e, this)
                                }))
                            }
                        }, {
                            key: "viewIntop",
                            value: function () { }
                        }, {
                            key: "initView",
                            value: function () {
                                return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                    var t = this;
                                    return regeneratorRuntime.wrap(function (e) {
                                        for (; ;) switch (e.prev = e.next) {
                                            case 0:
                                                this.RefreshUiData(),
                                                    this.onClick(this._ui.m_upgrade_btn, function () {
                                                        console.log("m_upgrade_btn");
                                                        let GetThisReward = () => {
                                                            YYGGames.showReward(() => {
                                                                this._openParam.monsterScript && this._openParam.monsterScript.UpgradeLevel(), this.Hide();
                                                            }, () => { });
                                                        };
                                                        Advertisement.videoAdverV(GetThisReward);

                                                    }),
                                                    this.onClick(this._ui.m_close_btn, function () {
                                                        t.Hide();
                                                    });
                                            case 3:
                                            case "end":
                                                return e.stop()
                                        }
                                    }, e, this)
                                }))
                            }
                        }, {
                            key: "PlayRewardVideo",
                            value: function () {
                                return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                    return regeneratorRuntime.wrap(function (e) {
                                        for (; ;) switch (e.prev = e.next) {
                                            case 0:
                                                return e.next = 2, a.default.instance.ShowRewardVideoAdAsync();
                                            case 2:
                                                e.sent ? (d.default.instance.youmemReport(m.YoumengStamp["video_moreCompound_合成再生一级拉起视频"].toString(), {
                                                    state: "1"
                                                }), this._openParam.monsterScript && this._openParam.monsterScript.UpgradeLevel(), this.Hide()) : (d.default.instance.youmemReport(m.YoumengStamp["video_moreCompound_合成再生一级拉起视频"].toString(), {
                                                    state: "0"
                                                }), c.default.Toast("跳过广告无法获得奖励"), this.Hide());
                                            case 4:
                                            case "end":
                                                return e.stop()
                                        }
                                    }, e, this)
                                }))
                            }
                        }, {
                            key: "RefreshUiData",
                            value: function () {
                                var e = this._openParam.monsterScript,
                                    t = _.MonsterConfig.data[e.MonsterConfig.id];
                                this._ui.m_name_tex.text = t.name, this._ui.m_hp_tex.text = g.MyUtils.FormatGoldUnit(t.hp), this._ui.m_atk_tex.text = g.MyUtils.FormatGoldUnit(t.attack);
                                var n = t.icon;
                                a.default.instance.platform != i.EPlatformType.TT && a.default.instance.platform != i.EPlatformType.Oppo && a.default.instance.platform != i.EPlatformType.Vivo || (n = t.head_icon), this._ui.m_icon.m_icon.m_img.url = s.default.monster_icon_url(n), this._ui.m_icon.m_star_cmp.m_c1.selectedIndex = t.star_level - 1;
                            }
                        }, {
                            key: "initData",
                            value: function () {
                                this.enterTime = f.default.now;
                            }
                        }, {
                            key: "_onEvent",
                            value: function () { }
                        }, {
                            key: "_offEvent",
                            value: function () { }
                        }, {
                            key: "_OnHide",
                            value: function () {
                                this._offEvent(), this._openParam = {}, l.default.hideAd();
                            }
                        }], [{
                            key: "instance",
                            get: function () {
                                return null == this._instance && (this._instance = new t, this._instance._classDefine = r.default), this._instance
                            }
                        }]), t
                    }();
            },
            "./src/script/ui/UI_MainMediator.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    UI_MainMediator: function () {
                        return J
                    }
                });
                var i = n("./bin/hlsdk/hlsdk_adapter.ts"),
                    a = n("./src/LTGame/Async/Awaiters.ts"),
                    s = n("./src/LTGame/Commom/CommonSaveData.ts"),
                    r = n("./src/LTGame/LTUtils/CameraEx.ts"),
                    o = n("./src/LTGame/Manager/AudioManager.ts"),
                    u = n("./src/LTGame/Manager/MesManager.ts"),
                    c = n("./src/LTGame/Platform/EPlatformType.ts"),
                    l = n("./src/LTGame/Platform/LTPlatform.ts"),
                    d = n("./src/ui/main/UI_blood_bar_green.ts"),
                    h = n("./src/ui/main/UI_blood_bar_red.ts"),
                    f = n("./src/ui/main/UI_gold_ui_parent.ts"),
                    _ = n("./src/ui/main/UI_main.ts"),
                    m = n("./src/ui/main/UI_text_001.ts"),
                    g = n("./src/ui/main/UI_text_002.ts"),
                    p = n("./src/ui/main/UI_text_003.ts"),
                    v = n("./src/ui/main/UI_text_004.ts"),
                    y = n("./src/UIExt/FGui/BaseUIMediator.ts"),
                    k = n("./src/UIExt/FGui/FGuiEx.ts"),
                    C = n("./src/UIExt/LTUI.ts"),
                    I = n("./src/UIExt/UISrc/UI_TurntableMediator.ts"),
                    S = n("./src/script/common/Const.ts"),
                    L = n("./src/script/common/GameData.ts"),
                    w = n("./src/script/common/GlobalUnit.ts"),
                    U = n("./src/script/common/maidian.ts"),
                    A = n("./src/script/common/TimeUtils.ts"),
                    b = n("./src/script/common/Utils.ts"),
                    T = n("./src/script/config/GameConst.ts"),
                    G = n("./src/script/config/ParamsConfig.ts"),
                    E = n("./src/script/config/PlayerConfig.ts"),
                    x = n("./src/script/enum/EBuffType.ts"),
                    P = n("./src/script/enum/EEventScene.ts"),
                    M = n("./src/script/enum/EMaiType.ts"),
                    D = n("./src/script/enum/EMonsterType.ts"),
                    R = n("./src/script/enum/ESkillType.ts"),
                    B = n("./src/script/enum/ESound.ts"),
                    O = n("./src/script/scene/Main3d/Game3d.ts"),
                    F = n("./src/script/scene/script/utils/Logger.ts"),
                    V = n("./src/script/scene/script/utils/MyUtils.ts"),
                    N = n("./src/script/ui/Sign/UI_SignMediator.ts"),
                    H = n("./src/script/ui/UI_AtlasMediator.ts"),
                    j = n("./src/script/ui/UI_CrazyClickMediator.ts"),
                    Y = n("./src/script/ui/UI_FigerMediator.ts"),
                    W = n("./src/script/ui/UI_GetCoinMediator.ts"),
                    K = n("./src/script/ui/UI_GoodStartMediator.ts"),
                    z = n("./src/script/ui/UI_OvYinsiMediator.ts"),
                    X = n("./src/script/ui/UI_SettingMediator.ts"),
                    q = n("./src/script/ui/UI_ShopMediator.ts"),
                    J = function (e) {
                        function t() {
                            var e;
                            return _classCallCheck(this, t), (e = n.apply(this, arguments))._needCloseAni = !1, e.sound = !0, e._needOpenAni = !1, e._layer = k.EUILayer.Main, e.firstAni = !0, e.enterResultTimes = 0, e._bloodUIList = {}, e._bloodUIScale = {}, e._goldUiList = {}, e.texClassList = [m.default, g.default, p.default, v.default], e.backHomeShowShop = !1, e.backHomeShowTurn = !0, e
                        }
                        _inherits(t, y.default);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "_OnShow",
                            value: function () {
                                return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                    var t = this;
                                    return regeneratorRuntime.wrap(function (e) {
                                        for (; ;) switch (e.prev = e.next) {
                                            case 0:
                                                YYGGames.gameBox.visible = !0, A.default.instance, l.default.instance.platform == c.EPlatformType.TT && (this.ui.m_c2.selectedIndex = 1), l.default.instance.platform == c.EPlatformType.WX || l.default.instance.platform == c.EPlatformType.QQ ? (l.default.instance.platform == c.EPlatformType.WX ? this.ui.m_c2.selectedIndex = 0 : this.ui.m_c2.selectedIndex = 4, i.HLSDKAdapter.showMainView(function () {
                                                    t.initData(), t.initView(), t._onEvent();
                                                })) : (this.initData(), this.initView(), this._onEvent()), this.initOV(), l.default.instance.platform == c.EPlatformType.android233 && (this.ui.m_c2.selectedIndex = 3);
                                            case 5:
                                            case "end":
                                                return e.stop()
                                        }
                                    }, e, this)
                                }))
                            }
                        }, {
                            key: "viewIntop",
                            value: function () {
                                l.default.instance.showBoxPortalAd();
                            }
                        }, {
                            key: "initView",
                            value: function () {
                                return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                    var t = this;
                                    return regeneratorRuntime.wrap(function (e) {
                                        for (; ;) switch (e.prev = e.next) {
                                            case 0:
                                                this.ui.m_testList.itemRenderer = Laya.Handler.create(this, this.updateBtnItem, null, !1), this.ui.m_testList.setVirtual(), this.ui.m_testList.numItems = this.testBtnData.length, this.ui.m_testList.visible = S.default.uiTest, this.ui.m_main_tips.visible = !1, this._bloodUIList = {}, this._bloodUIScale = {}, this._goldUiList = {}, this._ui.m_guide.selectedIndex = L.default.instance.isGuide ? 0 : 1, this._ui.m_guide_v.visible = !1, this._ui.m_guide_h.visible = !1, this.RefreshCmpStatus(), this._ui.m_JIAOCHENG_HE.visible = !1, this._ui.m_JIAOCHENG_MAI.visible = !1, this.onClick(this._ui.m_vido_text, function () {
                                                    F.Logger.lg("点击飞龙观看视频"), YYGGames.gameBox.visible = !1, W.UI_GetCoinMediator.instance.Show(), O.default.instance.NowScene().GetFlyMonster().IsRunning && O.default.instance.NowScene().GetFlyMonster().Stop();
                                                }), this.onClick(this._ui.m_atlas_btn, function () {
                                                    l.default.instance.showFullScreenAd(), H.UI_AtlasMediator.instance.Show(), YYGGames.gameBox.visible = !1;
                                                }), this.onClick(this._ui.m_setting_btn, function () {
                                                    X.UI_SettingMediator.instance.Show();
                                                }), this.onClick(this._ui.m_sign_btn, function () {
                                                    l.default.instance.showFullScreenAd(), N.UI_SignMediator.instance.Show(), YYGGames.gameBox.visible = !1;
                                                }), this.onClick(this._ui.m_summoer_btn, function () {
                                                    l.default.instance.showFullScreenAd(), q.UI_ShopMediator.instance.Show();
                                                }), this.onClick(this._ui.m_super_start_btn, function () {
                                                    if (0 == t._ui.m_super_start_btn.m_c1.selectedIndex) {
                                                        var e = t.CalculateSuperGameValue();
                                                        L.default.reduceDiamonds(e), L.default.instance.buyGoodStartCount++, L.default.SaveToDisk(), t.FormatGoldValue(L.default.instance.diamondsCount), F.Logger.lg("强力开局购买次数：" + L.default.instance.buyGoodStartCount), K.UI_GoodStartMediator.instance.Show();
                                                    } else t.PlayRewardVideoByGoodStart();
                                                }), this.onClick(this._ui.m_skill_resume, function () {
                                                    if (0 == t._ui.m_skill_resume.m_c2.selectedIndex) {
                                                        var e = t.CalculateSkillCoin(R.ESkillType.ESkill_Resume);
                                                        L.default.reduceDiamonds(e), L.default.instance.buyResumeSkillCount++, L.default.SaveToDisk(), t.FormatGoldValue(L.default.instance.diamondsCount), F.Logger.lg("恢复技能购买次数：" + L.default.instance.buyResumeSkillCount), O.default.instance.NowScene().UseOneSkill(R.ESkillType.ESkill_Resume);
                                                    } else t.PlayRewardVideoBySkill(R.ESkillType.ESkill_Resume);
                                                }), this.onClick(this._ui.m_skill_fire, function () {
                                                    if (0 == t._ui.m_skill_fire.m_c2.selectedIndex) {
                                                        var e = t.CalculateSkillCoin(R.ESkillType.ESkill_Fire);
                                                        L.default.reduceDiamonds(e), L.default.instance.buyFireSkillCount++, L.default.SaveToDisk(), t.FormatGoldValue(L.default.instance.diamondsCount), F.Logger.lg("火球技能购买次数：" + L.default.instance.buyFireSkillCount), O.default.instance.NowScene().UseOneSkill(R.ESkillType.ESkill_Fire);
                                                    } else t.PlayRewardVideoBySkill(R.ESkillType.ESkill_Fire);
                                                }), this.onClick(this._ui.m_skill_god, function () {
                                                    t.PlayRewardVideoBySkill(R.ESkillType.ESkill_GodKill);
                                                }), this.onClick(this._ui.m_start_game_btn, function () { // todo : 开始游戏
                                                    this.ui.m_gold_cmp.m_add_btn.visible = !1, YYGGames.gameBox.visible = !1,
                                                        window.ISKAISHI = !0, t.StartFight(),
                                                        console.error("guideStepIndex: " + L.default.instance.guideStepIndex),
                                                        0 == L.default.instance.guideStepIndex ?
                                                            U.default.instance.youmemReport(M.YoumengStamp["guide_onBtnFightFirst_第一次点击开始战斗按钮"].toString()) :
                                                            1 == L.default.instance.guideStepIndex &&
                                                            U.default.instance.youmemReport(M.YoumengStamp["guide_onBtnFightSecond_第二次点击开始战斗按钮"].toString());
                                                    console.log(6666666666666666, "开始游戏");
                                                    if (Plat.Ins._ctrlData.status == 2) {
                                                        Plat.Ins.ShowBanner();
                                                    }
                                                }), this.onClick(this._ui.m_btn_sound, function () {
                                                    console.error("声音:" + YYGGames.audio.pause), YYGGames.audio.pause = !YYGGames.audio.pause, YYGGames.audio.pause ? (this._ui.m_btn_sound.getChildAt(1).visible = !1, this._ui.m_btn_sound.getChildAt(0).visible = !0, YYGGames.audio.stopMusic("res/bgmMp3/bgm.mp3")) : (this._ui.m_btn_sound.getChildAt(1).visible = !0, this._ui.m_btn_sound.getChildAt(0).visible = !1, YYGGames.audio.playMusic("res/bgmMp3/bgm.mp3")), Laya.LocalStorage.setItem("Superhero-Car-Merge-Master-SOUND", YYGGames.audio.pause);
                                                }), this.onClick(this._ui.m_add_melee_btn, function () {
                                                    if (0 == t._ui.m_add_melee_btn.m_c1.selectedIndex) {
                                                        if (L.default.addDiamonds(-1 * t.CalculateMonsterPrice(D.EMonsterType.MeleeMonster)), O.default.instance.NowScene().AddMonster(D.EMonsterType.MeleeMonster), L.default.instance.buyMeleeCount++, L.default.SaveToDisk(), t.FormatGoldValue(L.default.instance.diamondsCount), !L.default.instance.isGuide && 2 == L.default.instance.guideStepIndex) {
                                                            var e = O.default.instance.NowScene().GetCampAliveData(!1).find(function (e) {
                                                                return 2 == e.ID
                                                            }),
                                                                n = r.CameraEx.GetPointFrom3DWorld(w.default.camera, e.Position, null);
                                                            n.y -= t._ui.m_guide_h.height / 2, t._ui.m_guide_h.setXY(n.x, n.y), t._ui.m_guide_h.visible = !0, t.SetVisibleAddBtn(!1), t.SetVisibleStartGameBtn(), U.default.instance.youmemReport(M.YoumengStamp["guide_onBtnBuyShortRangeSoldier_点击购买近程英雄"].toString()), t.StartCountDownGuide();
                                                        }
                                                    } else {
                                                        let GetThisReward = () => {
                                                            YYGGames.showReward(() => {
                                                                console.log("m_add_melee_btn");
                                                                O.default.instance.NowScene().AddMonster(D.EMonsterType.MeleeMonster), console.error("这是近战:" + D.EMonsterType.MeleeMonster);
                                                            }, () => { });
                                                        };
                                                        Advertisement.videoAdverV(GetThisReward);
                                                    }
                                                }), this.onClick(this._ui.m_add_remote_btn, function () {
                                                    let GetThisReward = () => {
                                                        YYGGames.showReward(() => {
                                                            console.log("m_add_remote_btn");
                                                            O.default.instance.NowScene().AddMonster(D.EMonsterType.RemoteMonster);
                                                        }, () => { });
                                                    };

                                                    0 == t._ui.m_add_remote_btn.m_c1.selectedIndex ?
                                                        (L.default.addDiamonds(-1 * t.CalculateMonsterPrice(D.EMonsterType.RemoteMonster)),
                                                            O.default.instance.NowScene().AddMonster(D.EMonsterType.RemoteMonster),
                                                            L.default.instance.buyRemoteCount++, L.default.SaveToDisk(),
                                                            F.Logger.lg("远程怪兽购买次数：" + L.default.instance.buyRemoteCount),
                                                            t.FormatGoldValue(L.default.instance.diamondsCount),
                                                            L.default.instance.isGuide || 1 != L.default.instance.guideStepIndex ||
                                                            (t.SetVisibleAddBtn(!1), t.SetVisibleStartGameBtn(!0),
                                                                U.default.instance.youmemReport(M.YoumengStamp["guide_onBtnBuyRemoteSoldier_点击购买远程英雄"].toString())))
                                                        : Advertisement.videoAdverV(GetThisReward);
                                                }), this.onClick(this.ui.m_gold_cmp.m_add_btn, function () {
                                                    YYGGames.gameBox.visible = !1, W.UI_GetCoinMediator.instance.Show();
                                                }), l.default.instance.platform != c.EPlatformType.WX && l.default.instance.platform != c.EPlatformType.QQ || this.onClick(this._ui.m_share_btn, function () {
                                                    l.default.instance.ShareAppMessage({}, null, null);
                                                }), l.default.instance.platform == c.EPlatformType.TT && this.onClick(this._ui.m_shareBtn, function () {
                                                    l.default.instance.recordManager.ShareVideo(null, null, null);
                                                });
                                                this._ui.m_add_remote_btn.y = this._ui.m_add_melee_btn.y = 1200;
                                                this._ui.m_start_game_btn.y = 1000;
                                            case 27:
                                            case "end":
                                                return e.stop()
                                        }
                                    }, e, this)
                                }))
                            }
                        }, {
                            key: "StartCountDownGuide",
                            value: function () {
                                Laya.timer.once(1e3 * T.GameConst.data.last_guide_delay, this, this.FinishGuide);
                            }
                        }, {
                            key: "StopCountDownGuide",
                            value: function () {
                                Laya.timer.clear(this, this.FinishGuide);
                            }
                        }, {
                            key: "FinishGuide",
                            value: function () {
                                this.SetVisibleStartGameBtn(!0), this.HideGuideArrow(1), L.default.instance.guideStepIndex++, L.default.instance.isGuide = !0, L.default.SaveToDisk();
                            }
                        }, {
                            key: "GuideArrowIsVisible",
                            value: function () {
                                return 0 == (arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : 0) ? this._ui.m_guide_v.visible : this._ui.m_guide_h.visible
                            }
                        }, {
                            key: "HideGuideArrow",
                            value: function () {
                                0 == (arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : 0) ? this._ui.m_guide_v.visible = !1 : this._ui.m_guide_h.visible = !1;
                            }
                        }, {
                            key: "SetVisibleAddBtn",
                            value: function (e) {
                                this._ui.m_add_melee_btn && (this._ui.m_add_melee_btn.visible = e), this._ui.m_add_remote_btn && (this._ui.m_add_remote_btn.visible = e);
                            }
                        }, {
                            key: "SetVisibleStartGameBtn",
                            value: function () {
                                var e = arguments.length > 0 && void 0 !== arguments[0] && arguments[0];
                                this._ui.m_start_game_btn && (this._ui.m_start_game_btn.visible = e);
                            }
                        }, {
                            key: "StartGuide",
                            value: function () {
                                var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : 0;
                                return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function t() {
                                    return regeneratorRuntime.wrap(function (t) {
                                        for (; ;) switch (t.prev = t.next) {
                                            case 0:
                                                // if (L.default.instance.isGuide) {
                                                t.next = 4;
                                                break
                                                // }
                                                return t.next = 3, Y.UI_FigerMediator.instance.Show();
                                            case 3:
                                                0 == e ? Y.UI_FigerMediator.instance.startGuide(this.ui.m_start_game_btn, null) :
                                                    1 == e ? Y.UI_FigerMediator.instance.startGuide(this.ui.m_add_remote_btn, null) :
                                                        2 == e && Y.UI_FigerMediator.instance.startGuide(this.ui.m_add_melee_btn, null);
                                            case 4:
                                            case "end":
                                                return t.stop()
                                        }
                                    }, t, this)
                                }))
                            }
                        }, {
                            key: "StartFight",
                            value: function () {
                                var e = this,
                                    t = arguments.length > 0 && void 0 !== arguments[0] && arguments[0];
                                O.default.instance.RecordVideo();
                                var n = 1;
                                t && (n = 300), O.default.instance.NowScene().GetChest() && O.default.instance.NowScene().GetChest().HideChest(), Laya.timer.once(n, this, function () {
                                    var t = O.default.instance.NowScene().GetCampAliveData(!1);
                                    t && t.length > 0 ? l.default.instance.platform == c.EPlatformType.WX || l.default.instance.platform == c.EPlatformType.QQ ? i.HLSDKAdapter.showGamingView(function () {
                                        O.default.instance.NowScene().StartFight(), e.ChangeStatus(!0), o.default.instance.playSound(B.ESoundName.sound_start, 1);
                                    }) : (O.default.instance.NowScene().StartFight(), e.ChangeStatus(!0), o.default.instance.playSound(B.ESoundName.sound_start, 1)) : C.default.Toast("请先召唤怪兽,开始战斗");
                                });
                            }
                        }, {
                            key: "ShowTips",
                            value: function () {
                                var e = this;
                                this.ui.m_main_tips && (this.ui.m_main_tips.visible = !0, this.ui.m_main_tips.m_t0.play(), Laya.timer.once(2500, this, function () {
                                    e.ui.m_main_tips.visible = !1;
                                }));
                            }
                        }, {
                            key: "PlayRewardVideo",
                            value: function (e) {
                                return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function t() {
                                    return regeneratorRuntime.wrap(function (t) {
                                        for (; ;) switch (t.prev = t.next) {
                                            case 0:
                                                return console.error("什么时候走这里"), t.next = 2, l.default.instance.ShowRewardVideoAdAsync();
                                            case 2:
                                                console.error("又什么时候走这里"), t.sent ? (e == D.EMonsterType.MeleeMonster ? (U.default.instance.youmemReport(M.YoumengStamp["video_buyShortSoldier_购买近战英雄拉起视频"].toString(), {
                                                    state: "1"
                                                }), O.default.instance.NowScene().AddMonster(D.EMonsterType.MeleeMonster), L.default.instance.buyMeleeCount++, F.Logger.lg("近战怪兽购买次数：" + L.default.instance.buyMeleeCount)) : e == D.EMonsterType.RemoteMonster && (U.default.instance.youmemReport(M.YoumengStamp["video_buyRemoteSoldier_购买远程英雄拉起视频"].toString(), {
                                                    state: "1"
                                                }),
                                                    O.default.instance.NowScene().AddMonster(D.EMonsterType.RemoteMonster), L.default.instance.buyRemoteCount++, F.Logger.lg("远程怪兽购买次数：" + L.default.instance.buyRemoteCount)), L.default.SaveToDisk(), this.RefreshCmpStatus()) : (e == D.EMonsterType.MeleeMonster ? U.default.instance.youmemReport(M.YoumengStamp["video_buyShortSoldier_购买近战英雄拉起视频"].toString(), {
                                                        state: "0"
                                                    }) : e == D.EMonsterType.RemoteMonster && U.default.instance.youmemReport(M.YoumengStamp["video_buyRemoteSoldier_购买远程英雄拉起视频"].toString(), {
                                                        state: "0"
                                                    }), C.default.Toast("跳过广告无法获得奖励"));
                                            case 4:
                                            case "end":
                                                return t.stop()
                                        }
                                    }, t, this)
                                }))
                            }
                        }, {
                            key: "PlayRewardVideoByGoodStart",
                            value: function () {
                                return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                    return regeneratorRuntime.wrap(function (e) {
                                        for (; ;) switch (e.prev = e.next) {
                                            case 0:
                                                return e.next = 2, l.default.instance.ShowRewardVideoAdAsync();
                                            case 2:
                                                e.sent ? (U.default.instance.youmemReport(M.YoumengStamp["video_superStartIcon_强力开局点击icon拉起视频"].toString(), {
                                                    state: "1"
                                                }), K.UI_GoodStartMediator.instance.Show(), L.default.instance.buyGoodStartCount++, L.default.SaveToDisk(), this.RefreshCmpStatus()) : (U.default.instance.youmemReport(M.YoumengStamp["video_superStartIcon_强力开局点击icon拉起视频"].toString(), {
                                                    state: "0"
                                                }), C.default.Toast("跳过广告无法变强"));
                                            case 4:
                                            case "end":
                                                return e.stop()
                                        }
                                    }, e, this)
                                }))
                            }
                        }, {
                            key: "PlayRewardVideoBySkill",
                            value: function (e) {
                                return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function t() {
                                    return regeneratorRuntime.wrap(function (t) {
                                        for (; ;) switch (t.prev = t.next) {
                                            case 0:
                                                return O.default.instance.NowScene().PauseGame(), t.next = 3, l.default.instance.ShowRewardVideoAdAsync();
                                            case 3:
                                                if (!t.sent) {
                                                    t.next = 21;
                                                    break
                                                }
                                                t.t0 = e, t.next = t.t0 === R.ESkillType.ESkill_Fire ? 8 : t.t0 === R.ESkillType.ESkill_GodKill ? 10 : t.t0 === R.ESkillType.ESkill_Resume ? 12 : 14;
                                                break;
                                            case 8:
                                                return U.default.instance.youmemReport(M.YoumengStamp["video_skillFire_局内技能霹雳烈火拉起视频拉起视频"].toString(), {
                                                    state: "1"
                                                }), t.abrupt("break", 15);
                                            case 10:
                                                return U.default.instance.youmemReport(M.YoumengStamp["video_skillSkyE_局内技能天降正义拉起视频"].toString(), {
                                                    state: "1"
                                                }), t.abrupt("break", 15);
                                            case 12:
                                                return U.default.instance.youmemReport(M.YoumengStamp["video_skillBackHP_局内技能血量恢复拉起视频"].toString(), {
                                                    state: "1"
                                                }), t.abrupt("break", 15);
                                            case 14:
                                                return t.abrupt("break", 15);
                                            case 15:
                                                O.default.instance.NowScene().UseOneSkill(e), e == R.ESkillType.ESkill_Resume ? (L.default.instance.buyResumeSkillCount++, F.Logger.lg("恢复技能购买次数：" + L.default.instance.buyResumeSkillCount)) : e == R.ESkillType.ESkill_Fire ? (L.default.instance.buyFireSkillCount++, F.Logger.lg("火球技能购买次数：" + L.default.instance.buyFireSkillCount)) : e == R.ESkillType.ESkill_GodKill && (L.default.instance.buyGodSkillCount++, F.Logger.lg("天降正义技能购买次数：" + L.default.instance.buyGodSkillCount)), L.default.SaveToDisk(), this.RefreshCmpStatus(), t.next = 32;
                                                break;
                                            case 21:
                                                t.t1 = e, t.next = t.t1 === R.ESkillType.ESkill_Fire ? 24 : t.t1 === R.ESkillType.ESkill_GodKill ? 26 : t.t1 === R.ESkillType.ESkill_Resume ? 28 : 30;
                                                break;
                                            case 24:
                                                return U.default.instance.youmemReport(M.YoumengStamp["video_skillFire_局内技能霹雳烈火拉起视频拉起视频"].toString(), {
                                                    state: "0"
                                                }), t.abrupt("break", 31);
                                            case 26:
                                                return U.default.instance.youmemReport(M.YoumengStamp["video_skillSkyE_局内技能天降正义拉起视频"].toString(), {
                                                    state: "0"
                                                }), t.abrupt("break", 31);
                                            case 28:
                                                return U.default.instance.youmemReport(M.YoumengStamp["video_skillBackHP_局内技能血量恢复拉起视频"].toString(), {
                                                    state: "0"
                                                }), t.abrupt("break", 31);
                                            case 30:
                                                return t.abrupt("break", 31);
                                            case 31:
                                                C.default.Toast("跳过广告无法获得技能");
                                            case 32:
                                                Laya.timer.once(1e3, this, function () {
                                                    O.default.instance.NowScene().ResumeGame();
                                                });
                                            case 33:
                                            case "end":
                                                return t.stop()
                                        }
                                    }, t, this)
                                }))
                            }
                        }, {
                            key: "RefreshCmpStatus",
                            value: function () {
                                var e = this.CalculateMonsterPrice(D.EMonsterType.MeleeMonster);
                                this._ui.m_add_melee_btn.m_c1.selectedIndex = e >= L.default.instance.diamondsCount ? 1 : 0, this._ui.m_add_melee_btn.m_gold_tex.text = V.MyUtils.FormatGoldUnit(e);
                                var t = this.CalculateMonsterPrice(D.EMonsterType.RemoteMonster);
                                this._ui.m_add_remote_btn.m_c1.selectedIndex = t >= L.default.instance.diamondsCount ? 1 : 0, this._ui.m_add_remote_btn.m_gold_tex.text = V.MyUtils.FormatGoldUnit(t);
                                var n = this.CalculateSuperGameValue();
                                this._ui.m_super_start_btn.m_c1.selectedIndex = n >= L.default.instance.diamondsCount ? 1 : 0, this._ui.m_super_start_btn.m_gold_tex.text = V.MyUtils.FormatGoldUnit(n);
                                var i = this.CalculateSkillCoin(R.ESkillType.ESkill_Resume);
                                this._ui.m_skill_resume.m_c2.selectedIndex = i >= L.default.instance.diamondsCount ? 1 : 0, this._ui.m_skill_resume.m_gold_tex.text = V.MyUtils.FormatGoldUnit(i);
                                var a = this.CalculateSkillCoin(R.ESkillType.ESkill_Fire);
                                this._ui.m_skill_fire.m_c2.selectedIndex = a >= L.default.instance.diamondsCount ? 1 : 0, this._ui.m_skill_fire.m_gold_tex.text = V.MyUtils.FormatGoldUnit(a);
                                var s = this.CalculateSkillCoin(R.ESkillType.ESkill_GodKill);
                                this._ui.m_skill_god.m_c2.selectedIndex = 1, this._ui.m_skill_god.m_gold_tex.text = V.MyUtils.FormatGoldUnit(s), this._ui.m_skill_resume.visible = L.default.instance.isGuide, this._ui.m_skill_fire.visible = L.default.instance.isGuide, this._ui.m_skill_god.visible = L.default.instance.isGuide, l.default.instance.platform == c.EPlatformType.WX ? this._ui.m_share_btn.visible = !0 : this._ui.m_share_btn.visible = !1, this._ui.m_sign_btn && (this._ui.m_sign_btn.visible = L.default.instance.isGuide), this._ui.m_atlas_btn && (this._ui.m_atlas_btn.visible = L.default.instance.isGuide), this._ui.m_summoer_btn && (this._ui.m_summoer_btn.visible = L.default.instance.isGuide), this._ui.m_super_start_btn && (this._ui.m_super_start_btn.visible = L.default.instance.isGuide), this._ui.m_share_btn && (this._ui.m_share_btn.visible = L.default.instance.isGuide);
                            }
                        }, {
                            key: "CalculateSkillCoin",
                            value: function (e) {
                                var t = 0,
                                    n = 0;
                                e == R.ESkillType.ESkill_Resume ? n = L.default.instance.buyResumeSkillCount : e == R.ESkillType.ESkill_Fire ? n = L.default.instance.buyFireSkillCount : e == R.ESkillType.ESkill_GodKill && (n = L.default.instance.buyGodSkillCount);
                                var i = G.ParamsConfig.dataList.find(function (e) {
                                    return n >= e.start_value && n <= e.end_value
                                });
                                if (i) {
                                    (t = Math.floor(Math.pow(n, i.index) * i.multiplier + i.addend)) < 1 && (t = 1);
                                    var a = s.default.instance.levelId > 4 ? T.GameConst.data.skill_base_offset : T.GameConst.data.skill_base_offset_new;
                                    return Math.floor(t * a + T.GameConst.data.skill_base_coin)
                                }
                                return t
                            }
                        }, {
                            key: "CalculateSuperGameValue",
                            value: function () {
                                var e, t = 0;
                                e = L.default.instance.buyGoodStartCount;
                                var n = G.ParamsConfig.dataList.find(function (t) {
                                    return e >= t.start_value && e <= t.end_value
                                });
                                if (n) {
                                    (t = Math.floor(Math.pow(e, n.index) * n.multiplier + n.addend)) < 1 && (t = 1);
                                    var i = s.default.instance.levelId > 4 ? T.GameConst.data.good_start_offset : T.GameConst.data.good_start_offset_new;
                                    return Math.floor(t * i + T.GameConst.data.good_start_coin)
                                }
                                return t
                            }
                        }, {
                            key: "CalculateMonsterPrice",
                            value: function (e) {
                                var t = 0,
                                    n = 0;
                                e == D.EMonsterType.MeleeMonster ? n = L.default.instance.buyMeleeCount : e == D.EMonsterType.RemoteMonster && (n = L.default.instance.buyRemoteCount);
                                var i = G.ParamsConfig.dataList.find(function (e) {
                                    return n >= e.start_value && n <= e.end_value
                                });
                                return i ? ((t = Math.floor(Math.pow(n, i.index) * i.multiplier + i.addend)) < 1 && (t = 1), t) : t
                            }
                        }, {
                            key: "SetLevel",
                            value: function (e) {
                                this._ui && this._ui.m_level_tex && this.ui.m_level_tex.m_level_tex ? this._ui.m_level_tex.m_level_tex.text = "".concat(e) : F.Logger.lg("设置关卡数，当前UI为空");
                            }
                        }, {
                            key: "XIANSHIJIAOCHENGHE",
                            value: function () {
                                this._ui.m_JIAOCHENG_HE.visible = !0;
                            }
                        }, {
                            key: "XIANSHIJIAOCHENGMAI",
                            value: function () { }
                        }, {
                            key: "BUXIANSHIJIAOCHENGHE",
                            value: function () {
                                this._ui.m_JIAOCHENG_HE.visible = !1;
                            }
                        }, {
                            key: "BUXIANSHIJIAOCHENGMAI",
                            value: function () { }
                        }, {
                            key: "ChangeStatus",
                            value: function (e) {
                                this._ui.m_c1.selectedIndex = e ? 1 : 0, this.RefreshCmpStatus();
                            }
                        }, {
                            key: "GetGlodImgPoint",
                            value: function () {
                                return this._ui.m_gold_cmp.m_gold_icon.localToGlobal()
                            }
                        }, {
                            key: "AddGoldAnimation",
                            value: function (e, t, n) {
                                var i = this,
                                    a = f.default.createInstance();
                                a.setXY(t.x, t.y), this._goldUiList[e] = a, a.m_parent.m_t0.play();
                                var s = V.MyUtils.FormatGoldUnit(n);
                                a.m_parent.m_text.text = s, this.FormatGoldValue(L.default.instance.diamondsCount), this.ui.m_gold_panel.addChild(a), Laya.timer.once(2e3, this, function (e) {
                                    i.ui.m_gold_panel.removeChild(e, !0);
                                }, [a]);
                            }
                        }, {
                            key: "UpdateGoldAnimation",
                            value: function (e, t) {
                                if (this._goldUiList) {
                                    var n = this._goldUiList[t];
                                    n && (n.setXY(e.x, e.y), n.scaleX = 16 / e.w, n.scaleY = n.scaleX);
                                }
                            }
                        }, {
                            key: "AddAttackTexAnimation",
                            value: function (e) {
                                var t = this;
                                if (b.Utils.getRandomInt(100) % 2 != 0) {
                                    var n = b.Utils.getRandomInt(100) % 2 == 0 ? 1 : -1,
                                        i = b.Utils.getRandomInt(100) % 2 == 0 ? 1 : -1,
                                        a = (20 + b.Utils.getRandomInt(10)) * n,
                                        s = (20 + b.Utils.getRandomInt(10)) * i;
                                    e.x += s, e.y += a;
                                    var r = b.Utils.getRandomInt(4),
                                        o = this.texClassList[r].createInstance();
                                    o && (this.ui.m_gold_panel.addChild(o), o.m_t0.play(), o.setXY(e.x, e.y), o.scaleX = 16 / e.w, o.scaleY = o.scaleX, Laya.timer.once(2e3, this, function (e) {
                                        t.ui.m_gold_panel.removeChild(e, !0);
                                    }, [o]));
                                }
                            }
                        }, {
                            key: "FormatGoldValue",
                            value: function (e) {
                                var t = V.MyUtils.FormatGoldUnit(e);
                                this.ui.m_gold_cmp.m_value_tex.text = t, this.RefreshCmpStatus();
                            }
                        }, {
                            key: "AddBloodbar",
                            value: function (e, t) {
                                var n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : 1;
                                if (!this._bloodUIList[e])
                                    if (this.ui && this.ui.m_blood_bar_panel) {
                                        var i = null;
                                        i = t ? h.default.createInstance() : d.default.createInstance(), this._bloodUIList[e] = i, this._bloodUIScale[e] = n, this._bloodUIList[e].visible = !0, i.scaleX = n, i.scaleY = n, this.ui.m_blood_bar_panel.addChild(i);
                                    } else F.Logger.lg("加载hp-bar出错-->this.ui.m_blood_bar_panel=" + this.ui.m_blood_bar_panel);
                            }
                        }, {
                            key: "RefreshAliveBloodbar",
                            value: function () {
                                var e = O.default.instance.NowScene().GetCampAliveData(!1);
                                if (e && e.length > 0) {
                                    for (var t = {}, n = 0; n < e.length; n++) {
                                        var i = e[n].Name;
                                        t[i] = i;
                                    }
                                    if (this._bloodUIList)
                                        for (var a in this._bloodUIList) this._bloodUIList[a].visible = a == t[a];
                                }
                            }
                        }, {
                            key: "RefreshFlyMonsterUIData",
                            value: function (e) {
                                if (this._ui.m_vido_text) {
                                    var t = V.MyUtils.FormatGoldUnit(e);
                                    this._ui.m_vido_text.m_value_text.text = "+" + t;
                                }
                            }
                        }, {
                            key: "UpdateFlyMonsterUIPos",
                            value: function (e) {
                                this._ui.m_vido_text && this._ui.m_vido_text.setXY(e.x, e.y);
                            }
                        }, {
                            key: "UpdateBloodPos",
                            value: function (e, t) {
                                var n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : 0;
                                if (arguments.length > 3 && void 0 !== arguments[3] && arguments[3], this._bloodUIList) {
                                    var i = this._bloodUIList[t];
                                    i && (i.setXY(e.x, e.y), i.value = n, i.scaleX = 16 / e.w, i.scaleY = i.scaleX);
                                }
                            }
                        }, {
                            key: "VisibleBloodUI",
                            value: function (e) {
                                var t = !(arguments.length > 1 && void 0 !== arguments[1]) || arguments[1];
                                this._bloodUIList && this._bloodUIList[e] && (this._bloodUIList[e].visible = t);
                            }
                        }, {
                            key: "IsVisible",
                            value: function (e) {
                                return !(!this._bloodUIList || !this._bloodUIList[e]) && this._bloodUIList[e].visible
                            }
                        }, {
                            key: "updateBtnItem",
                            value: function (e, t) {
                                t.setData(this.testBtnData[e]);
                            }
                        }, {
                            key: "initData",
                            value: function () {
                                this.enterTime = A.default.now, this.testBtnData = [], this.testBtnData.push({
                                    title: "打开狂点页面",
                                    call: Laya.Handler.create(this, function () {
                                        j.UI_CrazyClickMediator.instance.Show();
                                    }, null, !1)
                                }), this.testBtnData.push({
                                    title: "播放特效",
                                    call: Laya.Handler.create(this, function () {
                                        O.default.instance.NowScene().GetPlayer().PlayerEffect();
                                    }, null, !1)
                                }), this.testBtnData.push({
                                    title: "暂停游戏",
                                    call: Laya.Handler.create(this, function () {
                                        O.default.instance.NowScene().PauseGame();
                                    }, null, !1)
                                }), this.testBtnData.push({
                                    title: "继续游戏",
                                    call: Laya.Handler.create(this, function () {
                                        O.default.instance.NowScene().ResumeGame();
                                    }, null, !1)
                                }), this.testBtnData.push({
                                    title: "恢复技能",
                                    call: Laya.Handler.create(this, function () {
                                        O.default.instance.NowScene().UseOneSkill(R.ESkillType.ESkill_Resume);
                                    }, null, !1)
                                }), this.testBtnData.push({
                                    title: "伤害技能",
                                    call: Laya.Handler.create(this, function () {
                                        O.default.instance.NowScene().UseOneSkill(R.ESkillType.ESkill_Fire);
                                    }, null, !1)
                                }), this.testBtnData.push({
                                    title: "死神技能",
                                    call: Laya.Handler.create(this, function () {
                                        O.default.instance.NowScene().UseOneSkill(R.ESkillType.ESkill_GodKill);
                                    }, null, !1)
                                }), this.testBtnData.push({
                                    title: "切换召唤师",
                                    call: Laya.Handler.create(this, function () {
                                        var e = O.default.instance.NowScene().GetPlayer();
                                        if (e) {
                                            var t = b.Utils.getRandomInt(E.PlayerConfig.dataList.length) + 1;
                                            F.Logger.lg("当前召唤师id为---》" + t), e.SwitchPlayerMode(t);
                                        }
                                    }, null, !1)
                                }), this.testBtnData.push({
                                    title: "加一个宝箱",
                                    call: Laya.Handler.create(this, function () {
                                        O.default.instance.NowScene().GetChest();
                                    }, null, !1)
                                }), this.testBtnData.push({
                                    title: "血量增加50%",
                                    call: Laya.Handler.create(this, function () {
                                        var e = O.default.instance.NowScene().GetCampAllData(!1);
                                        if (e && e.length > 0)
                                            for (var t = 0; t < e.length; t++) {
                                                var n = e[t];
                                                n && n.MonsterScript && n.MonsterScript.AddBuff(T.GameConst.data.buff_hp, x.EBuffType.EBuff_HP);
                                            }
                                    }, null, !1)
                                }), this.testBtnData.push({
                                    title: "攻击增加40%",
                                    call: Laya.Handler.create(this, function () {
                                        var e = O.default.instance.NowScene().GetCampAllData(!1);
                                        if (e && e.length > 0)
                                            for (var t = 0; t < e.length; t++) {
                                                var n = e[t];
                                                n && n.MonsterScript && n.MonsterScript.AddBuff(T.GameConst.data.buff_atk, x.EBuffType.EBuff_Atk);
                                            }
                                    }, null, !1)
                                }), this.testBtnData.push({
                                    title: "攻速增加30%",
                                    call: Laya.Handler.create(this, function () {
                                        var e = O.default.instance.NowScene().GetCampAllData(!1);
                                        if (e && e.length > 0)
                                            for (var t = 0; t < e.length; t++) {
                                                var n = e[t];
                                                n && n.MonsterScript && n.MonsterScript.AddBuff(T.GameConst.data.buff_agl, x.EBuffType.EBuff_Agl);
                                            }
                                    }, null, !1)
                                });
                            }
                        }, {
                            key: "_onEvent",
                            value: function () {
                                u.default.instance.on3d(P.EEventScene.GameFail, this, this.GameFail), u.default.instance.on3d(P.EEventScene.GameWin, this, this.GameWin), this.InitEvent();
                            }
                        }, {
                            key: "_offEvent",
                            value: function () {
                                u.default.instance.off3d(P.EEventScene.GameFail, this, this.GameFail), u.default.instance.off3d(P.EEventScene.GameWin, this, this.GameWin), this.RemoveEvent();
                            }
                        }, {
                            key: "GameFail",
                            value: function () { }
                        }, {
                            key: "GameWin",
                            value: function (e, t) { }
                        }, {
                            key: "backWaitGame",
                            value: function () {
                                O.default.instance.lvGameWait(s.default.instance.levelId), !s.default.instance.isSigned && s.default.instance.loginSignShow && (s.default.instance.loginSignShow = !1), s.default.SaveToDisk();
                            }
                        }, {
                            key: "InitEvent",
                            value: function () {
                                this._ui.on(Laya.Event.MOUSE_DOWN, this, this.OnMouseDown), this._ui.on(Laya.Event.MOUSE_MOVE, this, this.OnMouseDrag), this._ui.on(Laya.Event.MOUSE_UP, this, this.OnMouseUp), this._ui.on(Laya.Event.MOUSE_OUT, this, this.OnMouseOut);
                            }
                        }, {
                            key: "RemoveEvent",
                            value: function () {
                                this._ui.off(Laya.Event.MOUSE_DOWN, this, this.OnMouseDown), this._ui.off(Laya.Event.MOUSE_MOVE, this, this.OnMouseDrag), this._ui.off(Laya.Event.MOUSE_UP, this, this.OnMouseUp), this._ui.off(Laya.Event.MOUSE_OUT, this, this.OnMouseOut);
                            }
                        }, {
                            key: "OnMouseDown",
                            value: function () {
                                O.default.instance.NowScene().OnMouseDown();
                            }
                        }, {
                            key: "OnMouseDrag",
                            value: function () {
                                O.default.instance.NowScene().OnMouseDrag();
                            }
                        }, {
                            key: "OnMouseUp",
                            value: function () {
                                O.default.instance.NowScene().OnMouseUp();
                            }
                        }, {
                            key: "OnMouseOut",
                            value: function () {
                                O.default.instance.NowScene().OnMouseOut();
                            }
                        }, {
                            key: "gameOver",
                            value: function (e) {
                                return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function t() {
                                    return regeneratorRuntime.wrap(function (t) {
                                        for (; ;) switch (t.prev = t.next) {
                                            case 0:
                                                return this._result = e, t.next = 3, a.default.Seconds(1.5);
                                            case 3:
                                                l.default.instance.platform == c.EPlatformType.TT || this._jiesuan();
                                            case 4:
                                            case "end":
                                                return t.stop()
                                        }
                                    }, t, this)
                                }))
                            }
                        }, {
                            key: "_jiesuan",
                            value: function () { }
                        }, {
                            key: "switchType",
                            value: function (e) { }
                        }, {
                            key: "openSign",
                            value: function () { }
                        }, {
                            key: "openShop",
                            value: function (e) { }
                        }, {
                            key: "openTurn",
                            value: function () {
                                I.default.instance.Show(null, t);
                            }
                        }, {
                            key: "_OnHide",
                            value: function () {
                                this._offEvent();
                            }
                        }, {
                            key: "initOV",
                            value: function () {
                                return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                    return regeneratorRuntime.wrap(function (e) {
                                        for (; ;) switch (e.prev = e.next) {
                                            case 0:
                                                if (l.default.instance.platform == c.EPlatformType.Oppo || l.default.instance.platform == c.EPlatformType.Vivo) {
                                                    e.next = 2;
                                                    break
                                                }
                                                return e.abrupt("return");
                                            case 2:
                                                if (this.ui.m_c2.selectedIndex = 2, this.onClick(this.ui.m_moreGame, this.moreGame), this.onClick(this.ui.m_yinsi, this.openYinsi), this.ui.m_moreGame.visible = l.default.instance.platform == c.EPlatformType.Oppo, this.onClick(this.ui.m_addDesk, this.addDesk), l.default.instance.platform != c.EPlatformType.Oppo && l.default.instance.platform != c.EPlatformType.Vivo) {
                                                    e.next = 11;
                                                    break
                                                }
                                                return e.next = 10, l.default.instance.canCreateShortcut();
                                            case 10:
                                                this.ui.m_addDesk.visible = !e.sent;
                                            case 11:
                                                l.default.instance.platform == c.EPlatformType.Oppo && Laya.timer.once(18e4, this, this.addDesk);
                                            case 12:
                                            case "end":
                                                return e.stop()
                                        }
                                    }, e, this)
                                }))
                            }
                        }, {
                            key: "moreGame",
                            value: function () {
                                l.default.instance.OpenGameBox(null);
                            }
                        }, {
                            key: "openYinsi",
                            value: function () {
                                z.default.instance.Show(1);
                            }
                        }, {
                            key: "addDesk",
                            value: function () {
                                return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                    var t, n = this;
                                    return regeneratorRuntime.wrap(function (e) {
                                        for (; ;) switch (e.prev = e.next) {
                                            case 0:
                                                return e.next = 2, l.default.instance.createShortcut();
                                            case 2:
                                                t = e.sent, this.ui.m_addDesk.visible = !t, Laya.timer.once(300, this, function () {
                                                    return __awaiter(n, void 0, void 0, regeneratorRuntime.mark(function e() {
                                                        return regeneratorRuntime.wrap(function (e) {
                                                            for (; ;) switch (e.prev = e.next) {
                                                                case 0:
                                                                    return e.next = 2, l.default.instance.canCreateShortcut();
                                                                case 2:
                                                                    this.ui.m_addDesk.visible = !e.sent;
                                                                case 3:
                                                                case "end":
                                                                    return e.stop()
                                                            }
                                                        }, e, this)
                                                    }))
                                                });
                                            case 5:
                                            case "end":
                                                return e.stop()
                                        }
                                    }, e, this)
                                }))
                            }
                        }], [{
                            key: "instance",
                            get: function () {
                                return null == this._instance && (this._instance = new t, this._instance._classDefine = _.default, U.default.instance.youmemNewReport(M.newYoumenType["进入主页"])), this._instance
                            }
                        }]), t
                    }();
            },
            "./src/script/ui/UI_OfflineMediator.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    UI_OfflineMediator: function () {
                        return I
                    }
                });
                var i = n("./src/LTGame/Manager/AudioManager.ts"),
                    a = n("./src/LTGame/Platform/EPlatformType.ts"),
                    s = n("./src/LTGame/Platform/LTPlatform.ts"),
                    r = n("./src/LTGame/Res/ResUrl.ts"),
                    o = n("./src/ui/main/UI_offLine.ts"),
                    u = n("./src/UIExt/FGui/BaseUIMediator.ts"),
                    c = n("./src/UIExt/FGui/FGuiEx.ts"),
                    l = n("./src/UIExt/LTFly.ts"),
                    d = n("./src/UIExt/LTUI.ts"),
                    h = n("./src/UIExt/UISrc/Cmp/NativeADNew.ts"),
                    f = n("./src/script/common/GameData.ts"),
                    _ = n("./src/script/common/maidian.ts"),
                    m = n("./src/script/common/OppoUtils.ts"),
                    g = n("./src/script/common/TimeUtils.ts"),
                    p = n("./src/script/enum/EMaiType.ts"),
                    v = n("./src/script/enum/ESound.ts"),
                    y = n("./src/script/scene/Main3d/Game3d.ts"),
                    k = n("./src/script/scene/script/utils/MyUtils.ts"),
                    C = n("./src/script/ui/UI_MainMediator.ts"),
                    I = function (e) {
                        function t() {
                            var e;
                            return _classCallCheck(this, t), (e = n.apply(this, arguments))._layer = c.EUILayer.Panel, e
                        }
                        _inherits(t, u.default);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "_OnShow",
                            value: function () {
                                return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                    return regeneratorRuntime.wrap(function (e) {
                                        for (; ;) switch (e.prev = e.next) {
                                            case 0:
                                                console.error("进来了吗"), this.initData(), this.initView(), this._onEvent(), s.default.instance.platform == a.EPlatformType.Oppo && (this.ui.m_platform.selectedIndex = 1, m.default.initCloseBtn(this.ui.m_close1, Laya.Handler.create(this, this.close)), h.default.createNative(this.ui, 0, 210 + (this.ui.height - 1280) / 2)), s.default.instance.platform == a.EPlatformType.Vivo && (s.default.instance.ShowInterstitalAd(), s.default.instance.ShowBannerAd(), s.default.instance.hideBoxPortalAd());
                                            case 5:
                                            case "end":
                                                return e.stop()
                                        }
                                    }, e, this)
                                }))
                            }
                        }, {
                            key: "viewIntop",
                            value: function () { }
                        }, {
                            key: "initView",
                            value: function () {
                                return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                    var t = this;
                                    return regeneratorRuntime.wrap(function (e) {
                                        for (; ;) switch (e.prev = e.next) {
                                            case 0:
                                                this._ui.m_gold_tex.text = k.MyUtils.FormatGoldUnit(this._openParam.gold), this.onClick(this._ui.m_get_btn, function () {
                                                    f.default.addDiamonds(t._openParam.gold), f.default.SaveToDisk(), t.StartFlyGoldAnimation(), C.UI_MainMediator.instance.FormatGoldValue(f.default.instance.diamondsCount), i.default.instance.playSound(v.ESoundName.sound_gold, 1), t.Hide();
                                                }), this.onClick(this._ui.m_video_btn, function () {
                                                    f.default.addDiamonds(3 * this._openParam.gold), f.default.SaveToDisk(), this.StartFlyGoldAnimation(), this.Hide(), C.UI_MainMediator.instance.FormatGoldValue(f.default.instance.diamondsCount), i.default.instance.playSound(v.ESoundName.sound_gold, 1);
                                                }), this.onClick(this._ui.m_close_btn, this.close);
                                            case 4:
                                            case "end":
                                                return e.stop()
                                        }
                                    }, e, this)
                                }))
                            }
                        }, {
                            key: "close",
                            value: function () {
                                f.default.addDiamonds(this._openParam.gold), f.default.SaveToDisk(), this.StartFlyGoldAnimation(), this.Hide();
                            }
                        }, {
                            key: "PlayRewardVideo",
                            value: function () {
                                return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                    return regeneratorRuntime.wrap(function (e) {
                                        for (; ;) switch (e.prev = e.next) {
                                            case 0:
                                                return e.next = 2, s.default.instance.ShowRewardVideoAdAsync();
                                            case 2:
                                                e.sent ? (_.default.instance.youmemReport(p.YoumengStamp["video_offLineRate_离线收益多倍领取拉起视频"].toString(), {
                                                    state: "1"
                                                }), f.default.addDiamonds(3 * this._openParam.gold), f.default.SaveToDisk(), this.StartFlyGoldAnimation(), this.Hide(), C.UI_MainMediator.instance.FormatGoldValue(f.default.instance.diamondsCount), i.default.instance.playSound(v.ESoundName.sound_gold, 1)) : (_.default.instance.youmemReport(p.YoumengStamp["video_offLineRate_离线收益多倍领取拉起视频"].toString(), {
                                                    state: "0"
                                                }), d.default.Toast("跳过广告无法获得奖励"));
                                            case 4:
                                            case "end":
                                                return e.stop()
                                        }
                                    }, e, this)
                                }))
                            }
                        }, {
                            key: "StartFlyGoldAnimation",
                            value: function () {
                                var e = this._ui.m_gold_img.localToGlobal(),
                                    t = this._ui.m_gold_img.width,
                                    n = this._ui.m_gold_img.height;
                                e.x += t / 2, e.y += n / 2;
                                var i = e,
                                    a = C.UI_MainMediator.instance.GetGlodImgPoint();
                                l.LTFly.FlyCoins(c.EUILayer.Tip, i, a, r.default.icon_url("gold"), 10, 2, 100, !0);
                            }
                        }, {
                            key: "initData",
                            value: function () {
                                this.enterTime = g.default.now;
                            }
                        }, {
                            key: "_onEvent",
                            value: function () { }
                        }, {
                            key: "_offEvent",
                            value: function () { }
                        }, {
                            key: "_OnHide",
                            value: function () {
                                this._offEvent(), h.default.hideAd(), y.default.instance.NowScene() && Laya.timer.once(500, this, function () {
                                    y.default.instance.NowScene().ShowSignPage();
                                });
                            }
                        }], [{
                            key: "instance",
                            get: function () {
                                return null == this._instance && (this._instance = new t, this._instance._classDefine = o.default), this._instance
                            }
                        }]), t
                    }();
            },
            "./src/script/ui/UI_OvYinsiMediator.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return f
                    }
                });
                var i = n("./src/LTGame/Commom/CommonSaveData.ts"),
                    a = n("./src/LTGame/Manager/AudioManager.ts"),
                    s = n("./src/LTGame/Platform/LTPlatform.ts"),
                    r = n("./src/ui/OVYinsi/UI_OvYinsi.ts"),
                    o = n("./src/UIExt/FGui/BaseUIMediator.ts"),
                    u = n("./src/UIExt/FGui/FGuiEx.ts"),
                    c = n("./src/script/common/Const.ts"),
                    l = n("./src/script/common/GameData.ts"),
                    d = n("./src/script/scene/Main3d/Game3d.ts"),
                    h = n("./src/script/ui/UI_MainMediator.ts"),
                    f = function (e) {
                        function t() {
                            var e;
                            return _classCallCheck(this, t), (e = n.apply(this, arguments))._layer = u.EUILayer.Popup, e
                        }
                        _inherits(t, o.default);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "_OnShow",
                            value: function () {
                                this.onClick(this.ui.m_refuse, this.refuse), this.onClick(this.ui.m_agree, this.agree), this._openParam && (this.ui.m_type.selectedIndex = 1);
                            }
                        }, {
                            key: "refuse",
                            value: function () {
                                s.default.instance.base.exitApplication({});
                            }
                        }, {
                            key: "agree",
                            value: function () {
                                return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                    return regeneratorRuntime.wrap(function (e) {
                                        for (; ;) switch (e.prev = e.next) {
                                            case 0:
                                                if (this.Hide(), !this.ui.m_type.selectedIndex) {
                                                    e.next = 3;
                                                    break
                                                }
                                                return e.abrupt("return");
                                            case 3:
                                                return l.default.instance.agreeYinsi = !0, l.default.instance.guideStepIndex > 0 && !l.default.instance.isGuide && (l.default.instance.isGuide = !0), l.default.SaveToDisk(), e.next = 8, h.UI_MainMediator.instance.Show();
                                            case 8:
                                                if (c.default.loadUI && c.default.loadUI.dispose(), c.default.loadUI = null, !c.default.support3D) {
                                                    e.next = 13;
                                                    break
                                                }
                                                return e.next = 13, d.default.instance.enterGame();
                                            case 13:
                                                a.default.instance.setMusicOpen(i.default.instance.isMusicOn), a.default.instance.setSoundOpen(i.default.instance.isSoundOn);
                                            case 15:
                                            case "end":
                                                return e.stop()
                                        }
                                    }, e, this)
                                }))
                            }
                        }], [{
                            key: "instance",
                            get: function () {
                                return this._instance || (this._instance = new t, this._instance._classDefine = r.default), this._instance
                            }
                        }]), t
                    }();
            },
            "./src/script/ui/UI_ResultMediator.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    UI_ResultMediator: function () {
                        return T
                    }
                });
                var i = n("./bin/hlsdk/hlsdk_adapter.ts"),
                    a = n("./src/LTGame/Commom/CommonSaveData.ts"),
                    s = n("./src/LTGame/LTUtils/MathEx.ts"),
                    r = n("./src/LTGame/LTUtils/MonoHelper.ts"),
                    o = n("./src/LTGame/LTUtils/Vector3Ex.ts"),
                    u = n("./src/LTGame/Manager/AudioManager.ts"),
                    c = n("./src/LTGame/Platform/EPlatformType.ts"),
                    l = n("./src/LTGame/Platform/LTPlatform.ts"),
                    d = n("./src/LTGame/Res/ResUrl.ts"),
                    h = n("./src/ui/main/UI_end.ts"),
                    f = n("./src/UIExt/FGui/BaseUIMediator.ts"),
                    _ = n("./src/UIExt/FGui/FGuiEx.ts"),
                    m = n("./src/UIExt/LTFly.ts"),
                    g = n("./src/UIExt/LTUI.ts"),
                    p = n("./src/UIExt/UISrc/Cmp/NativeADNew.ts"),
                    v = n("./src/script/common/GameData.ts"),
                    y = n("./src/script/common/maidian.ts"),
                    k = n("./src/script/common/TimeUtils.ts"),
                    C = n("./src/script/config/NewRollConfig.ts"),
                    I = n("./src/script/enum/EMaiType.ts"),
                    S = n("./src/script/enum/ESound.ts"),
                    L = n("./src/script/scene/Main3d/Game3d.ts"),
                    w = n("./src/script/scene/script/utils/Logger.ts"),
                    U = n("./src/script/scene/script/utils/MyUtils.ts"),
                    A = n("./src/script/ui/UI_FigerMediator.ts"),
                    b = n("./src/script/ui/UI_MainMediator.ts"),
                    T = function (e) { // todo : 胜利页面
                        function t() {
                            var e;
                            return _classCallCheck(this, t), (e = n.apply(this, arguments))._layer = _.EUILayer.Popup, e.mIsStart = !1, e.isready = !1, e._levelBet = 1, e._resultBet = 1, e.mAngle = 0, e.mTargetRotation = 0, e.mFirstRotation = 0, e.mCurWheelAngle = 0, e._maxAngle = 22.4, e._bet2AngleMin = 12.8, e._bet2AngleMax = 22.4, e._bet3AngleMin = 6.3, e._bet3AngleMax = 12.8, e._bet4AngleMin = 2.2, e._bet4AngleMax = 6.3, e._bet5AngleMin = -2.2, e._bet5AngleMax = 2.2, e._isRotation = !1, e._currentPos = o.default.zeroNew, e._targetPos = new Laya.Vector3(e._maxAngle, 0, 0), e._currentVelocity = o.default.zeroNew, e
                        }
                        _inherits(t, f.default);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "_OnShow",
                            value: function () {
                                return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                    var t = this;
                                    return regeneratorRuntime.wrap(function (e) {
                                        for (; ;) switch (e.prev = e.next) {
                                            case 0:
                                                l.default.instance.platform == c.EPlatformType.TT && (b.UI_MainMediator.instance.enterResultTimes++, b.UI_MainMediator.instance.enterResultTimes >= 10 && l.default.instance.ShowInterstitalAd()), l.default.instance.platform == c.EPlatformType.WX || l.default.instance.platform == c.EPlatformType.QQ ? i.HLSDKAdapter.showGameEndView(function () {
                                                    t.isready = !0, t.initData(), t.initView(), t._onEvent();
                                                }) : (this.initData(), this.initView(), this._onEvent()), this._isRotation = !0, l.default.instance.platform == c.EPlatformType.Oppo ? p.default.createNative(this.ui, 0, 290 + (this.ui.height - 1280) / 2) : l.default.instance.platform == c.EPlatformType.Vivo && (l.default.instance.hideBoxPortalAd(), l.default.instance.ShowInterstitalAd(), l.default.instance.ShowBannerAd());
                                            case 4:
                                            case "end":
                                                return e.stop()
                                        }
                                    }, e, this)
                                }))
                            }
                        }, {
                            key: "viewIntop",
                            value: function () { }
                        }, {
                            key: "initView",
                            value: function () {
                                return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                    var t, n, s, o, u = this;
                                    return regeneratorRuntime.wrap(function (e) {
                                        for (; ;) switch (e.prev = e.next) {
                                            case 0:
                                                o = function () {
                                                    return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                                        var n;
                                                        return regeneratorRuntime.wrap(function (e) {
                                                            for (; ;) switch (e.prev = e.next) {
                                                                case 0:
                                                                    if (n = t.CalculateRewardCoinBet(), t._ui.m_multiple_get_btn.m_bet_gold_text.text = U.MyUtils.FormatGoldUnit(t._openParam.gold * t._levelBet * n), 5 == n ? t._ui.m_multiple_get_btn.m_c1.selectedIndex = 0 : 10 == n && (t._ui.m_multiple_get_btn.m_c1.selectedIndex = 1), v.default.instance.isGuide || 1 != v.default.instance.guideStepIndex) {
                                                                        e.next = 6;
                                                                        break
                                                                    }
                                                                    return e.next = 6, t.StartGuide();
                                                                case 6:
                                                                case "end":
                                                                    return e.stop()
                                                            }
                                                        }, e)
                                                    }))
                                                }, t = this,
                                                    this._levelBet = a.default.instance.levelId <= 3 ? 5 : 1,
                                                    v.default.instance.isGuide || 1 != a.default.instance.levelId || this._openParam.isWin ||
                                                    y.default.instance.youmemReport(I.YoumengStamp["guide_enter1stLevelFail_进入第一关失败结算界面"].toString()),
                                                    !v.default.instance.isGuide && 1 == a.default.instance.levelId && this._openParam.isWin &&
                                                    y.default.instance.youmemReport(I.YoumengStamp["guide_enter1stLevelSuc_进入第一关胜利结算界面"].toString()),
                                                    this._ui && this._ui.m_multiple_get_btn && this._ui.m_multiple_get_btn.m_pt &&
                                                    (this._ui.m_multiple_get_btn.m_pt.selectedIndex = l.default.instance.platform == c.EPlatformType.TT ? 1 : 0),
                                                    this._ui.m_multiple_get_btn.m_c2.selectedIndex = v.default.instance.isGuide ||
                                                        1 != v.default.instance.guideStepIndex ? 1 : 0, n = this._openParam.gold * this._levelBet,
                                                    w.Logger.lg("当前关卡奖励金币：" + n), v.default.instance.lastCoin = n, v.default.SaveToDisk(),
                                                    this.onClick(this._ui.m_get_gold_btn, function () {
                                                        let GetThisReward = () => {
                                                            YYGGames.showReward(() => { // todo : 胜利页面多倍领取
                                                                console.log("m_get_gold_btn");
                                                                YYGGames.gameBanner.visible = !1, YYGGames.gameBox.visible = !0,
                                                                    u._isRotation = !1,
                                                                    w.Logger.lg("当前结算游戏倍数:" + u._resultBet + ",获得金币:" +
                                                                        U.MyUtils.FormatGoldUnit(u._resultBet * u._openParam.gold *
                                                                            u._levelBet)), this.RefreshData();
                                                                console.log(6666666666666666, "胜利页面多倍领取");
                                                                if (Plat.Ins._ctrlData.status == 2) {
                                                                    if (window.CanShowNative == true) {
                                                                        Plat.Ins.HideNativeMode();
                                                                        window.CanShowNative = false;
                                                                    }
                                                                }
                                                            }, () => { });
                                                        };
                                                        u._resultBet = u.CalculateBet(u._ui.m_dial_cmp.m_pointer.rotation), u._resultBet <= 2 ?
                                                            YYGGames.showInterstitial(() => { // todo : 胜利页面正常领取
                                                                YYGGames.gameBanner.visible = !1, YYGGames.gameBox.visible = !0,
                                                                    u._isRotation = !1, w.Logger.lg("当前结算游戏倍数:" + u._resultBet +
                                                                        ",获得金币:" + U.MyUtils.FormatGoldUnit(u._resultBet *
                                                                            u._openParam.gold * u._levelBet)),
                                                                    l.default.instance.showFullScreenAd(), u.RefreshData();
                                                                console.log(6666666666666666, "胜利页面正常领取");
                                                                if (Plat.Ins._ctrlData.status == 2) {
                                                                    if (window.CanShowNative == true) {
                                                                        Plat.Ins.HideNativeMode();
                                                                        window.CanShowNative = false;
                                                                    }
                                                                }
                                                            }) : Advertisement.videoAdverV(GetThisReward);
                                                    }), this.onClick(this.ui.m_btn_failClose, function () { // todo : 结算页面返回主页面
                                                        YYGGames.showInterstitial(() => {
                                                            YYGGames.gameBanner.visible = !1, YYGGames.gameBox.visible = !0,
                                                                u._resultBet = 1, u.RefreshData();
                                                            if (Plat.Ins._ctrlData.status == 2) {
                                                                if (window.CanShowNative == true) {
                                                                    Plat.Ins.HideNativeMode();
                                                                    window.CanShowNative = false;
                                                                }
                                                            }
                                                            console.log(6666666666666666, "结算页面返回主页面");
                                                        });
                                                    }), this.onClick(this._ui.m_normal_get_btn, function () { // todo : 失败页面正常领取
                                                        YYGGames.showInterstitial(() => {
                                                            u._resultBet = 1, u.RefreshData(), YYGGames.gameBanner.visible = !1,
                                                                YYGGames.gameBox.visible = !0;
                                                            if (Plat.Ins._ctrlData.status == 2) {
                                                                if (window.CanShowNative == true) {
                                                                    Plat.Ins.HideNativeMode();
                                                                    window.CanShowNative = false;
                                                                }
                                                            }
                                                            console.log(6666666666666666, "失败页面正常领取");
                                                        });
                                                    }), this.onClick(this._ui.m_multiple_get_btn, function () {
                                                        let GetThisReward = () => {
                                                            YYGGames.showReward(() => {
                                                                console.log("m_multiple_get_btn");
                                                                u.RefreshData(), YYGGames.gameBox.visible = !0,
                                                                    YYGGames.gameBanner.visible = !1;
                                                                console.log(6666666666666666, "失败页面多倍领取");
                                                                if (Plat.Ins._ctrlData.status == 2) {
                                                                    if (window.CanShowNative == true) {
                                                                        Plat.Ins.HideNativeMode();
                                                                        window.CanShowNative = false;
                                                                    }
                                                                }
                                                            }, () => { });
                                                        };
                                                        console.error("u._ui.m_c1.selectedIndex:" + u._ui.m_c1.selectedIndex),
                                                            1 == u._ui.m_c1.selectedIndex ?
                                                                (u._resultBet = 5, u._openParam.failCount >= 2 && (u._resultBet = 10),
                                                                    YYGGames.gameBanner.visible = !1) : 2 == u._ui.m_c1.selectedIndex &&
                                                                (u._resultBet = 10),
                                                            Advertisement.videoAdverV(GetThisReward);

                                                        // : u.RefreshData()
                                                    }), this.onClick(this.ui.m_goldMvBtn, function () {
                                                        return __awaiter(u, void 0, void 0, regeneratorRuntime.mark(function e() {
                                                            return regeneratorRuntime.wrap(function (e) {
                                                                for (; ;) switch (e.prev = e.next) {
                                                                    case 0:
                                                                        return e.next = 2, l.default.instance.ShowRewardVideoAdAsync();
                                                                    case 2:
                                                                        e.sent ? (this.ui.m_normalBtn.visible = !1, this.ui.m_goldMvBtn.visible = !1, this.turn()) : g.default.Toast("观看奖励获得金币");
                                                                    case 4:
                                                                    case "end":
                                                                        return e.stop()
                                                                }
                                                            }, e, this)
                                                        }))
                                                    }), this.onClick(this.ui.m_normalBtn, this._getResult, [2]), this._ui.m_shareBtn.visible = l.default.instance.platform == c.EPlatformType.TT, l.default.instance.platform == c.EPlatformType.TT && this.onClick(this._ui.m_shareBtn, function () {
                                                        L.default.instance._stopRecordTime - L.default.instance._startRecordTime >= 18e3 ? l.default.instance.recordManager.ShareVideo(null, null, null) : g.default.Toast("录屏时间少于15s不能分享");
                                                    }), this._openParam && (this._ui.m_earn_gold_text.text = U.MyUtils.FormatGoldUnit(this._openParam.gold * this._levelBet), s = a.default.instance.levelId > 0 && a.default.instance.levelId % 5 == 0 ? 2 : 0, this._ui.m_c1.selectedIndex = this._openParam.isWin ? s : v.default.instance.isGuide ? 4 : 1, this._openParam.isWin ? i.HLSDKAdapter.showFinishView(function () {
                                                        o();
                                                    }) : i.HLSDKAdapter.showFinishFailView(function () {
                                                        o();
                                                    })), this.mIsStart = !1,
                                                    r.default.instance.AddAction(r.EActionType.Update, this, this.loop);
                                                console.log(6666666666666666, "结算页面");
                                                if (Plat.Ins._ctrlData.status == 2) {
                                                    Plat.Ins.ShowNative(1050, new PlatData(300).SetNati());
                                                    Plat.Ins.HideBanner();
                                                }
                                                else {
                                                    Plat.Ins.ShowNative(1050, new PlatData(300).SetNati());
                                                    Laya.timer.loop(50000, this, () => {
                                                        Plat.Ins.ShowNative(1050, new PlatData(300).SetNati());
                                                    });
                                                }
                                            case 22:
                                            case "end":
                                                return e.stop()
                                        }
                                    }, e, this)
                                }))
                            }
                        }, {
                            key: "StartGuide",
                            value: function () {
                                return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                    return regeneratorRuntime.wrap(function (e) {
                                        for (; ;) switch (e.prev = e.next) {
                                            case 0:
                                                return e.next = 2, A.UI_FigerMediator.instance.Show();
                                            case 2:
                                                this._ui.m_multiple_get_btn.m_c2.selectedIndex = v.default.instance.isGuide || 1 != v.default.instance.guideStepIndex ? 1 : 0, A.UI_FigerMediator.instance.startGuide(this.ui.m_multiple_get_btn, null, !0);
                                            case 4:
                                            case "end":
                                                return e.stop()
                                        }
                                    }, e, this)
                                }))
                            }
                        }, {
                            key: "loop",
                            value: function () {
                                this.mIsStart && this.LotteryAnim();
                            }
                        }, {
                            key: "LotteryAnim",
                            value: function () {
                                if (this.mCurWheelAngle < this.mFirstRotation) this.mAngle += .2;
                                else if (this.mTargetRotation - this.mCurWheelAngle < 720) {
                                    var e = .04 * (this.mTargetRotation - this.mCurWheelAngle);
                                    this.mAngle = this.mAngle > e ? e : this.mAngle;
                                }
                                if (this.mCurWheelAngle += this.mAngle, this.ui.m_zhuanpan.m_rotate.rotation = this.mCurWheelAngle % 360, this.mCurWheelAngle >= this.mTargetRotation || this.mTargetRotation - this.mCurWheelAngle <= .2) {
                                    this.mCurWheelAngle = this.mTargetRotation, this.mIsStart = !1;
                                    var t = C.NewRollConfig.data[this.selectIndex + 1];
                                    this._getResult(t.value), g.default.Toast("恭喜获得" + t.value + "倍金币");
                                }
                            }
                        }, {
                            key: "_getResult",
                            value: function (e) {
                                this._isRotation = !1, this._resultBet = e, w.Logger.lg("当前结算游戏倍数:" + this._resultBet + ",获得金币:" + U.MyUtils.FormatGoldUnit(e * this._openParam.gold * this._levelBet)), this.RefreshData();
                            }
                        }, {
                            key: "turn",
                            value: function () {
                                return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                    var t;
                                    return regeneratorRuntime.wrap(function (e) {
                                        for (; ;) switch (e.prev = e.next) {
                                            case 0:
                                                t = [], this.mIsStart = !0, C.NewRollConfig.dataList.forEach(function (e) {
                                                    t.push(e.weight);
                                                }), y.default.instance.youmemReport(I.YoumengStamp.video_winPageTimesRateGet.toString(), {
                                                    state: "1"
                                                }),
                                                    this.SetTargetRotation(s.default.RandomFromWithWeight([0, 1, 2, 3, 4, 5], t));
                                            case 5:
                                            case "end":
                                                return e.stop()
                                        }
                                    }, e, this)
                                }))
                            }
                        }, {
                            key: "SetTargetRotation",
                            value: function (e) {
                                var t = 60 * (6 - e) + 30 * Math.random() - 15;
                                this.mTargetRotation = t + 1080, this.selectIndex = e, this.mCurWheelAngle = this.ui.m_zhuanpan.m_rotate.rotation, this.mFirstRotation = this.ui.m_zhuanpan.m_rotate.rotation + 360;
                            }
                        }, {
                            key: "CalculateRewardCoinBet",
                            value: function () {
                                var e = 1;
                                return 1 == this._ui.m_c1.selectedIndex ? e = 5 : 2 == this._ui.m_c1.selectedIndex && (e = 10), this._openParam.failCount >= 2 && (e = 10), e
                            }
                        }, {
                            key: "RefreshData",
                            value: function () {
                                var e = this;
                                v.default.addDiamonds(this._resultBet * this._openParam.gold * this._levelBet), v.default.SaveToDisk();
                                var t = this._ui.m_gold_img.localToGlobal(),
                                    n = this._ui.m_gold_img.width,
                                    i = this._ui.m_gold_img.height;
                                t.x += n / 2, t.y += i / 2;
                                var a = t,
                                    s = b.UI_MainMediator.instance.GetGlodImgPoint();
                                m.LTFly.FlyCoins(_.EUILayer.Tip, a, s, d.default.icon_url("gold"), 10, 2, 100, !0), b.UI_MainMediator.instance.FormatGoldValue(v.default.instance.diamondsCount), u.default.instance.playSound(S.ESoundName.sound_gold, 1), Laya.timer.once(50, this, function () {
                                    e.Hide(), L.default.instance.NowScene().ResetStatus(e._openParam.isWin);
                                });
                            }
                        }, {
                            key: "PlayRewardVideo",
                            value: function () {
                                return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                    return regeneratorRuntime.wrap(function (e) {
                                        for (; ;) switch (e.prev = e.next) {
                                            case 0:
                                                return e.next = 2, l.default.instance.ShowRewardVideoAdAsync();
                                            case 0:
                                                if (!e.sent) {
                                                    e.next = 17;
                                                    break
                                                }
                                                e.t0 = this.ui.m_c1.selectedIndex, e.next = 0 === e.t0 ? 7 : 1 === e.t0 ? 9 : 2 === e.t0 ? 11 : 13;
                                                break;
                                            case 7:
                                                return y.default.instance.youmemReport(I.YoumengStamp["video_winPageTimesRateGet_成功页面多倍领取拉起视频"].toString(), {
                                                    state: "1"
                                                }), e.abrupt("break", 14), console.error("这是:7");
                                            case 9:
                                                return 5 == this._resultBet ? y.default.instance.youmemReport(I.YoumengStamp["video_failPageFiveRateGet_失败页面5倍领取拉起视频"].toString(), {
                                                    state: "1"
                                                }) : 10 == this._resultBet && y.default.instance.youmemReport(I.YoumengStamp["video_failPageTenRateGet_失败页面10倍领取拉起视频"].toString(), {
                                                    state: "1"
                                                }), e.abrupt("break", 14), console.error("这是:9");
                                            case 11:
                                                return y.default.instance.youmemReport(I.YoumengStamp["video_winBossPageTenRateGet_boss成功页面10倍领取拉起视频"].toString(), {
                                                    state: "1"
                                                }), e.abrupt("break", 14), console.error("这是:11");
                                            case 13:
                                                return e.abrupt("break", 14);
                                            case 14:
                                                this.RefreshData(), e.next = 29;
                                                break;
                                            case 17:
                                                e.t1 = this.ui.m_c1.selectedIndex, e.next = 0 === e.t1 ? 20 : 1 === e.t1 ? 22 : 2 === e.t1 ? 24 : 26;
                                                break;
                                            case 20:
                                                return y.default.instance.youmemReport(I.YoumengStamp["video_winPageTimesRateGet_成功页面多倍领取拉起视频"].toString(), {
                                                    state: "0"
                                                }), e.abrupt("break", 27), console.error("这是:20");
                                            case 22:
                                                return 5 == this._resultBet ? y.default.instance.youmemReport(I.YoumengStamp["video_failPageFiveRateGet_失败页面5倍领取拉起视频"].toString(), {
                                                    state: "0"
                                                }) : 10 == this._resultBet && y.default.instance.youmemReport(I.YoumengStamp["video_failPageTenRateGet_失败页面10倍领取拉起视频"].toString(), {
                                                    state: "0"
                                                }), e.abrupt("break", 27), console.error("这是:22");
                                            case 24:
                                                return y.default.instance.youmemReport(I.YoumengStamp["video_winBossPageTenRateGet_boss成功页面10倍领取拉起视频"].toString(), {
                                                    state: "0"
                                                }), e.abrupt("break", 27), console.error("这是:24");
                                            case 26:
                                                return e.abrupt("break", 27), console.error("这是:26");
                                            case 27:
                                                return g.default.Toast("跳过广告无法获得奖励"), e.abrupt("return");
                                            case 29:
                                            case "end":
                                                return e.stop()
                                        }
                                    }, e, this)
                                }))
                            }
                        }, {
                            key: "CalculateBet",
                            value: function (e) {
                                var t = 2;
                                return e > this._bet2AngleMin && e <= this._bet2AngleMax || e <= -this._bet2AngleMin && e > -this._bet2AngleMax ? t = 2 : e > this._bet3AngleMin && e <= this._bet3AngleMax || e <= -this._bet3AngleMin && e > -this._bet3AngleMax ? t = 3 : e > this._bet4AngleMin && e <= this._bet4AngleMax || e <= -this._bet4AngleMin && e > -this._bet4AngleMax ? t = 4 : e > this._bet5AngleMin && e <= this._bet5AngleMax && (t = 5), t
                            }
                        }, {
                            key: "initData",
                            value: function () {
                                this.enterTime = k.default.now;
                            }
                        }, {
                            key: "Update",
                            value: function (e) {
                                if ((l.default.instance.platform != c.EPlatformType.WX || this.isready) && this._ui && this._ui.m_dial_cmp.m_pointer && this._isRotation) {
                                    this._currentPos.x = this._ui.m_dial_cmp.m_pointer.rotation;
                                    var t = o.default.SmoothDamp(this._currentPos, this._targetPos, this._currentVelocity, 200, .05, e);
                                    if (this._ui.m_dial_cmp.m_pointer.rotation = t.x, Math.abs(Math.abs(t.x) - this._maxAngle) < .1) {
                                        var n = this._ui.m_dial_cmp.m_pointer.rotation >= 0 ? -1 : 1;
                                        this._targetPos.x = this._maxAngle * n;
                                    }
                                    var i = this.CalculateBet(this._ui.m_dial_cmp.m_pointer.rotation);
                                    this._ui.m_bet_gold_text.text = U.MyUtils.FormatGoldUnit(i * this._openParam.gold * this._levelBet);
                                }
                            }
                        }, {
                            key: "_onEvent",
                            value: function () { }
                        }, {
                            key: "_offEvent",
                            value: function () { }
                        }, {
                            key: "_OnHide",
                            value: function () {
                                this._offEvent(), b.UI_MainMediator.instance.SetVisibleAddBtn(!0), l.default.instance.platform != c.EPlatformType.WX && l.default.instance.platform != c.EPlatformType.QQ || (this.isready = !1, i.HLSDKAdapter.showMainView()), p.default.hideAd();
                            }
                        }], [{
                            key: "instance",
                            get: function () {
                                return null == this._instance && (this._instance = new t, this._instance._classDefine = h.default), this._instance
                            }
                        }]), t
                    }();
            },
            "./src/script/ui/UI_SettingMediator.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    UI_SettingMediator: function () {
                        return f
                    }
                });
                var i = n("./src/LTGame/Commom/CommonSaveData.ts"),
                    a = n("./src/LTGame/Manager/AudioManager.ts"),
                    s = n("./src/LTGame/Platform/EPlatformType.ts"),
                    r = n("./src/LTGame/Platform/LTPlatform.ts"),
                    o = n("./src/ui/main/UI_setup.ts"),
                    u = n("./src/UIExt/FGui/BaseUIMediator.ts"),
                    c = n("./src/UIExt/FGui/FGuiEx.ts"),
                    l = n("./src/UIExt/UISrc/Cmp/NativeADNew.ts"),
                    d = n("./src/script/common/OppoUtils.ts"),
                    h = n("./src/script/common/TimeUtils.ts"),
                    f = function (e) {
                        function t() {
                            var e;
                            return _classCallCheck(this, t), (e = n.apply(this, arguments))._layer = c.EUILayer.Panel, e
                        }
                        _inherits(t, u.default);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "_OnShow",
                            value: function () {
                                return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                    return regeneratorRuntime.wrap(function (e) {
                                        for (; ;) switch (e.prev = e.next) {
                                            case 0:
                                                this.initData(), this.initView(), this._onEvent(), r.default.instance.platform == s.EPlatformType.Oppo ? (this.ui.m_platform.selectedIndex = 1, d.default.initCloseBtn(this.ui.m_close1, Laya.Handler.create(this, this.Hide)), l.default.createNative(this.ui, 0, 400)) : r.default.instance.platform == s.EPlatformType.Vivo && (r.default.instance.ShowInterstitalAd(), r.default.instance.ShowBannerAd(), r.default.instance.hideBoxPortalAd());
                                            case 4:
                                            case "end":
                                                return e.stop()
                                        }
                                    }, e, this)
                                }))
                            }
                        }, {
                            key: "viewIntop",
                            value: function () { }
                        }, {
                            key: "initView",
                            value: function () {
                                return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                    var t = this;
                                    return regeneratorRuntime.wrap(function (e) {
                                        for (; ;) switch (e.prev = e.next) {
                                            case 0:
                                                this.RefreshUiData(), this.onClick(this._ui.m_music_btn, function () {
                                                    i.default.instance.isMusicOn = !i.default.instance.isMusicOn, i.default.SaveToDisk(), a.default.instance.setMusicOpen(i.default.instance.isMusicOn), t.RefreshUiData();
                                                }), this.onClick(this._ui.m_sound_btn, function () {
                                                    i.default.instance.isSoundOn = !i.default.instance.isSoundOn, i.default.SaveToDisk(), a.default.instance.setSoundOpen(i.default.instance.isSoundOn), t.RefreshUiData();
                                                }), this.onClick(this._ui.m_vibrate_btn, function () {
                                                    i.default.instance.isShakeOn = !i.default.instance.isShakeOn, i.default.SaveToDisk(), t.RefreshUiData();
                                                }), this.onClick(this._ui.m_close_btn, function () {
                                                    console.error("654321"), t.Hide();
                                                }), this.ui.m_btn_yinsi.onClick(this, function () {
                                                    window.HLSDK.showPrivacy(1);
                                                }), this.ui.m_btn_xieyi.onClick(this, function () {
                                                    window.HLSDK.showPrivacy(2);
                                                });
                                            case 7:
                                            case "end":
                                                return e.stop()
                                        }
                                    }, e, this)
                                }))
                            }
                        }, {
                            key: "RefreshUiData",
                            value: function () {
                                this._ui.m_music_btn.m_switch.selectedIndex = i.default.instance.isMusicOn ? 1 : 0, this._ui.m_sound_btn.m_switch.selectedIndex = i.default.instance.isSoundOn ? 1 : 0, this._ui.m_vibrate_btn.m_switch.selectedIndex = i.default.instance.isShakeOn ? 1 : 0;
                            }
                        }, {
                            key: "initData",
                            value: function () {
                                this.enterTime = h.default.now;
                            }
                        }, {
                            key: "_onEvent",
                            value: function () { }
                        }, {
                            key: "_offEvent",
                            value: function () { }
                        }, {
                            key: "_OnHide",
                            value: function () {
                                this._offEvent(), this._openParam = {}, l.default.hideAd();
                            }
                        }], [{
                            key: "instance",
                            get: function () {
                                return null == this._instance && (this._instance = new t, this._instance._classDefine = o.default), this._instance
                            }
                        }]), t
                    }();
            },
            "./src/script/ui/UI_ShopMediator.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    UI_ShopMediator: function () {
                        return k
                    }
                });
                var i = n("./src/LTGame/Platform/EPlatformType.ts"),
                    a = n("./src/LTGame/Platform/LTPlatform.ts"),
                    s = n("./src/LTGame/Res/LTRes.ts"),
                    r = n("./src/LTGame/Res/ResUrl.ts"),
                    o = n("./src/ui/main/UI_shop.ts"),
                    u = n("./src/UIExt/FGui/BaseUIMediator.ts"),
                    c = n("./src/UIExt/FGui/FGuiEx.ts"),
                    l = n("./src/UIExt/LTUI.ts"),
                    d = n("./src/script/common/GameData.ts"),
                    h = n("./src/script/common/maidian.ts"),
                    f = n("./src/script/common/TimeUtils.ts"),
                    _ = n("./src/script/config/PlayerConfig.ts"),
                    m = n("./src/script/enum/EMaiType.ts"),
                    g = n("./src/script/enum/EMonsterAni.ts"),
                    p = n("./src/script/scene/Main3d/Game3d.ts"),
                    v = n("./src/script/scene/script/utils/Logger.ts"),
                    y = n("./src/script/ui/UI_SummonerMediator.ts"),
                    k = function (e) {
                        function t() {
                            var e;
                            return _classCallCheck(this, t), (e = n.apply(this, arguments))._layer = c.EUILayer.Panel, e._clickIndex = -1, e
                        }
                        _inherits(t, u.default);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "_OnShow",
                            value: function () {
                                return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                    return regeneratorRuntime.wrap(function (e) {
                                        for (; ;) switch (e.prev = e.next) {
                                            case 0:
                                                this.initData(), this.initView(), this._onEvent(), a.default.instance.platform == i.EPlatformType.Vivo && a.default.instance.ShowInterstitalAd();
                                            case 4:
                                            case "end":
                                                return e.stop()
                                        }
                                    }, e, this)
                                }))
                            }
                        }, {
                            key: "viewIntop",
                            value: function () { }
                        }, {
                            key: "UpdateItem",
                            value: function (e, t) {
                                t.setData(this._iteData[e]);
                            }
                        }, {
                            key: "initView",
                            value: function () {
                                return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                    var t = this;
                                    return regeneratorRuntime.wrap(function (e) {
                                        for (; ;) switch (e.prev = e.next) {
                                            case 0:
                                                this.RefreshUiData(!0), this.onClick(this._ui.m_back_btn, function () {
                                                    t.Hide();
                                                });
                                            case 2:
                                            case "end":
                                                return e.stop()
                                        }
                                    }, e, this)
                                }))
                            }
                        }, {
                            key: "PlayRewardVideo",
                            value: function () {
                                return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                    var t;
                                    return regeneratorRuntime.wrap(function (e) {
                                        for (; ;) switch (e.prev = e.next) {
                                            case 0:
                                                return e.next = 2, a.default.instance.ShowRewardVideoAdAsync();
                                            case 2:
                                                e.sent ? (h.default.instance.youmemReport(m.YoumengStamp["video_buyHero_购买召唤师拉起视频"].toString(), {
                                                    state: "1"
                                                }), (t = this._iteData[this._clickIndex]).videoCount++, d.default.instance.unlockCounter[t.id] = t.videoCount, d.default.SaveToDisk(), this.RefreshUiData(), d.default.instance.unlockCounter[t.id] >= t.value && y.UI_SummonerMediator.instance.Show({
                                                    playerId: t.icon
                                                })) : (h.default.instance.youmemReport(m.YoumengStamp["video_buyHero_购买召唤师拉起视频"].toString(), {
                                                    state: "0"
                                                }), l.default.Toast("跳过广告无法获得奖励"));
                                            case 4:
                                            case "end":
                                                return e.stop()
                                        }
                                    }, e, this)
                                }))
                            }
                        }, {
                            key: "RefreshUiData",
                            value: function () {
                                var e = arguments.length > 0 && void 0 !== arguments[0] && arguments[0];
                                this._iteData = [];
                                for (var t = _.PlayerConfig.dataList.length, n = 0; n < t; n++) {
                                    var s = _.PlayerConfig.dataList[n],
                                        r = 1;
                                    r = a.default.instance.platform == i.EPlatformType.Vivo ? s.vivo_value : s.value;
                                    var o = {
                                        prefabName: s.prefabName,
                                        id: s.id,
                                        index: n,
                                        videoCount: d.default.instance.unlockCounter[s.id],
                                        value: r,
                                        icon: s.icon,
                                        call: Laya.Handler.create(this, this.OnItemClick, null, !1)
                                    };
                                    this._iteData.push(o);
                                }
                                this.ui.m_shopList.itemRenderer = Laya.Handler.create(this, this.UpdateItem, null, !1), this.ui.m_shopList.setVirtual(), this.ui.m_shopList.numItems = this._iteData.length, e && this.UpdatePlayerSkin(d.default.instance.summonerSelectId);
                            }
                        }, {
                            key: "OnItemClick",
                            value: function (e) {
                                v.Logger.lg("点击---》" + e), this._clickIndex = e;
                                var t = this._iteData[e];
                                t.videoCount < t.value ? 5 == e ? l.default.Toast("当前召唤师只能通过签到获取") : (this.PlayRewardVideo(), console.error("这是啥")) : t.id != d.default.instance.summonerSelectId && (d.default.instance.summonerSelectId = t.id, d.default.SaveToDisk(), p.default.instance.NowScene().GetPlayer().SwitchPlayerMode(d.default.instance.summonerSelectId)), this.UpdatePlayerSkin(e + 1), this.RefreshUiData();
                            }
                        }, {
                            key: "initData",
                            value: function () {
                                this.enterTime = f.default.now;
                            }
                        }, {
                            key: "_onEvent",
                            value: function () { }
                        }, {
                            key: "_offEvent",
                            value: function () { }
                        }, {
                            key: "UpdatePlayerSkin",
                            value: function (e) {
                                return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function t() {
                                    var n, i, a, o, u, c, l = this;
                                    return regeneratorRuntime.wrap(function (t) {
                                        for (; ;) switch (t.prev = t.next) {
                                            case 0:
                                                if (n = this.top3DScene(), v.Logger.lg("执行--------------->"), !(i = _.PlayerConfig.data[e])) {
                                                    t.next = 25;
                                                    break
                                                }
                                                return this._playerMode && (n.removeChildByName(this._playerMode.name), this._playerMode.destroy(), this._playerMode = null), a = r.default.prefab_url(i.prefabName), t.next = 8, s.default.LoadAndGet(a);
                                            case 8:
                                                if (o = t.sent, this._scene) {
                                                    t.next = 12;
                                                    break
                                                }
                                                return o.destroy(), t.abrupt("return");
                                            case 12:
                                                this._playerMode = o, n.addChild(this._playerMode), u = new Laya.Vector3(0, 0, 0), c = .8, this.camera ? this.camera.convertScreenCoordToOrthographicCoord(new Laya.Vector3(Laya.stage.width / 2, Laya.stage.height / 2, 0), u) : u.z = -500, this._playerMode.transform.setWorldLossyScale(new Laya.Vector3(20 * c, 20 * c, 20 * c)), this._playerMode.transform.position = u, this._playerMode.transform.localPositionY = 16, this._playerMode.transform.localRotationEulerY = 0, this._playerMode.transform.localRotationEulerX = 15, this._playerMode.transform.localRotationEulerZ = 0, this._playAni = this._playerMode.getChildAt(0).getComponent(Laya.Animator), Laya.timer.once(200, this, function () {
                                                    l._playAni && (v.Logger.lg("播放动画"), l._playAni.play(g.EMonsterAni.Idle));
                                                });
                                            case 25:
                                            case "end":
                                                return t.stop()
                                        }
                                    }, t, this)
                                }))
                            }
                        }, {
                            key: "top3DScene",
                            value: function () {
                                var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : c.default.popupLayer,
                                    t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : 150;
                                if (this._scene) return e.displayObject.addChild(this._scene), this._scene;
                                this._scene = this._scene || new Laya.Scene3D, e.displayObject.addChild(this._scene), this.camera = new Laya.Camera(0, .1, 1e3), this._scene.mouseEnabled = !1, this._scene.addChild(this.camera), this.camera.orthographic = !0, this.camera.orthographicVerticalSize = t, this.camera.clearFlag = Laya.BaseCamera.CLEARFLAG_DEPTHONLY;
                                var n = new Laya.DirectionLight;
                                return n.intensity = 1.2, n.transform.rotationEuler = new Laya.Vector3(-10, 10, 0), this._scene.addChild(n), this._scene
                            }
                        }, {
                            key: "_OnHide",
                            value: function () {
                                this._offEvent(), this._scene && this._scene.destroy(), this._scene = null, this._playerMode = null, this.ui.height >= 1440 && a.default.instance.HideBannerAd();
                            }
                        }], [{
                            key: "instance",
                            get: function () {
                                return null == this._instance && (this._instance = new t, this._instance._classDefine = o.default), this._instance
                            }
                        }]), t
                    }();
            },
            "./src/script/ui/UI_SummonerMediator.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    UI_SummonerMediator: function () {
                        return c
                    }
                });
                var i = n("./src/LTGame/Platform/LTPlatform.ts"),
                    a = n("./src/LTGame/Res/ResUrl.ts"),
                    s = n("./src/ui/main/UI_summoner.ts"),
                    r = n("./src/UIExt/FGui/BaseUIMediator.ts"),
                    o = n("./src/UIExt/FGui/FGuiEx.ts"),
                    u = n("./src/script/common/TimeUtils.ts"),
                    c = function (e) {
                        function t() {
                            var e;
                            return _classCallCheck(this, t), (e = n.apply(this, arguments))._layer = o.EUILayer.Popup, e
                        }
                        _inherits(t, r.default);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "_OnShow",
                            value: function () {
                                return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                    return regeneratorRuntime.wrap(function (e) {
                                        for (; ;) switch (e.prev = e.next) {
                                            case 0:
                                                this.initData(), this.initView(), this._onEvent(), i.default.instance.hideBoxPortalAd();
                                            case 4:
                                            case "end":
                                                return e.stop()
                                        }
                                    }, e, this)
                                }))
                            }
                        }, {
                            key: "viewIntop",
                            value: function () { }
                        }, {
                            key: "initView",
                            value: function () {
                                return __awaiter(this, void 0, void 0, regeneratorRuntime.mark(function e() {
                                    var t = this;
                                    return regeneratorRuntime.wrap(function (e) {
                                        for (; ;) switch (e.prev = e.next) {
                                            case 0:
                                                this.onClick(this._ui.m_close_btn, function () {
                                                    console.error("54321"), t.Hide();
                                                }), this._ui.m_t0.play(null, -1), this._ui.m_img.url = a.default.monster_icon_url(this._openParam.playerId);
                                            case 3:
                                            case "end":
                                                return e.stop()
                                        }
                                    }, e, this)
                                }))
                            }
                        }, {
                            key: "initData",
                            value: function () {
                                this.enterTime = u.default.now;
                            }
                        }, {
                            key: "_onEvent",
                            value: function () { }
                        }, {
                            key: "_offEvent",
                            value: function () { }
                        }, {
                            key: "_OnHide",
                            value: function () {
                                this._offEvent();
                            }
                        }], [{
                            key: "instance",
                            get: function () {
                                return null == this._instance && (this._instance = new t, this._instance._classDefine = s.default), this._instance
                            }
                        }]), t
                    }();
            },
            "./src/script/ui/cmp/ItemBox.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return s
                    }
                });
                var i = n("./src/LTGame/Res/ResUrl.ts"),
                    a = n("./src/ui/main/UI_item_box.ts"),
                    s = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.apply(this, arguments)
                        }
                        _inherits(t, a.default);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                _get(_getPrototypeOf(t.prototype), "onConstruct", this).call(this);
                            }
                        }, {
                            key: "setData",
                            value: function (e) {
                                this._data = e, this.m_icon.url = i.default.monster_icon_url(e.icon);
                            }
                        }, {
                            key: "_onclick",
                            value: function () { }
                        }]), t
                    }();
            },
            "./src/script/ui/cmp/ItemMonster.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return r
                    }
                });
                var i = n("./src/LTGame/Res/ResUrl.ts"),
                    a = n("./src/ui/main/UI_item_monster.ts"),
                    s = n("./src/script/scene/script/utils/MyUtils.ts"),
                    r = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.apply(this, arguments)
                        }
                        _inherits(t, a.default);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                _get(_getPrototypeOf(t.prototype), "onConstruct", this).call(this);
                            }
                        }, {
                            key: "setData",
                            value: function (e) {
                                this._data = e, this.m_is_unlock.selectedIndex = e.isLock ? 1 : 0, e.isLock ? this.m_lock.url = i.default.monster_icon_url(e.lockIcon) : (this.m_name_tex.text = e.name, this.m_star_cmp.m_c1.selectedIndex = e.star - 1, this.m_icon.m_img.url = i.default.monster_icon_url(e.icon), this.m_hp_tex.text = s.MyUtils.FormatGoldUnit(e.hp), this.m_atk_tex.text = s.MyUtils.FormatGoldUnit(e.attack));
                            }
                        }, {
                            key: "_onclick",
                            value: function () { }
                        }]), t
                    }();
            },
            "./src/script/ui/cmp/ItemPlayer.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return r
                    }
                });
                var i = n("./src/LTGame/Res/ResUrl.ts"),
                    a = n("./src/ui/main/UI_item_shop.ts"),
                    s = n("./src/script/common/GameData.ts"),
                    r = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.apply(this, arguments)
                        }
                        _inherits(t, a.default);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                _get(_getPrototypeOf(t.prototype), "onConstruct", this).call(this), this.onClick(this, this._onclick);
                            }
                        }, {
                            key: "setData",
                            value: function (e) {
                                this._data = e, this.m_icon.m_img.url = i.default.monster_icon_url(e.icon), e.id == s.default.instance.summonerSelectId ? this.m_c1.selectedIndex = 1 : e.videoCount >= e.value ? this.m_c1.selectedIndex = 2 : this.m_c1.selectedIndex = 0, this.m_c2.selectedIndex = 5 == e.index ? 1 : 0, this.m_text.text = "(".concat(e.videoCount, "/").concat(e.value, ")");
                            }
                        }, {
                            key: "_onclick",
                            value: function () {
                                this._data && this._data.call && this._data.call.runWith(this._data.index);
                            }
                        }]), t
                    }();
            },
            "./src/script/ui/cmp/TestBtn.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/ui/main/UI_test.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.apply(this, arguments)
                        }
                        _inherits(t, i.default);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                _get(_getPrototypeOf(t.prototype), "onConstruct", this).call(this), this.onClick(this, this._onclick);
                            }
                        }, {
                            key: "setData",
                            value: function (e) {
                                this._data = e, this.title = e.title;
                            }
                        }, {
                            key: "_onclick",
                            value: function () {
                                this._data && this._data.call && this._data.call.run();
                            }
                        }]), t
                    }();
            },
            "./src/ui/Load/LoadBinder.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return r
                    }
                });
                var i = n("./src/ui/Load/UI_loading.ts"),
                    a = n("./src/ui/Load/UI_pro.ts"),
                    s = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    r = function () {
                        function e() {
                            _classCallCheck(this, e);
                        }
                        return _createClass(e, null, [{
                            key: "bindAll",
                            value: function () {
                                s.fairygui.UIObjectFactory.setPackageItemExtension(i.default.URL, i.default), s.fairygui.UIObjectFactory.setPackageItemExtension(a.default.URL, a.default);
                            }
                        }]), e
                    }();
            },
            "./src/ui/Load/UI_loading.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GComponent);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_c1 = this.getControllerAt(0), this.m_bg = this.getChildAt(0), this.m_bar = this.getChildAt(3);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("Load", "loading")
                            }
                        }]), t
                    }();
                a.URL = "ui://n3oedpp6vrbn11";
            },
            "./src/ui/Load/UI_pro.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GProgressBar);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_tt = this.getChildAt(0);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("Load", "pro")
                            }
                        }]), t
                    }();
                a.URL = "ui://n3oedpp6vrbn14";
            },
            "./src/ui/OVYinsi/OVYinsiBinder.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return s
                    }
                });
                var i = n("./src/ui/OVYinsi/UI_OvYinsi.ts"),
                    a = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    s = function () {
                        function e() {
                            _classCallCheck(this, e);
                        }
                        return _createClass(e, null, [{
                            key: "bindAll",
                            value: function () {
                                a.fairygui.UIObjectFactory.setPackageItemExtension(i.default.URL, i.default);
                            }
                        }]), e
                    }();
            },
            "./src/ui/OVYinsi/UI_OvYinsi.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GComponent);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_type = this.getControllerAt(0), this.m_agree = this.getChildAt(2), this.m_refuse = this.getChildAt(3);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("OVYinsi", "OvYinsi")
                            }
                        }]), t
                    }();
                a.URL = "ui://oca95dol91ji7";
            },
            "./src/ui/base/baseBinder.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return i
                    }
                });
                var i = function () {
                    function e() {
                        _classCallCheck(this, e);
                    }
                    return _createClass(e, null, [{
                        key: "bindAll",
                        value: function () { }
                    }]), e
                }();
            },
            "./src/ui/main/UI_addDeskBtn.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GButton);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_addDesk = this.getChildAt(0);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("main", "addDeskBtn")
                            }
                        }]), t
                    }();
                a.URL = "ui://kg0a558091ji1yg";
            },
            "./src/ui/main/UI_atlas.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GComponent);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_c1 = this.getControllerAt(0), this.m_platform = this.getControllerAt(1), this.m_remote_list = this.getChildAt(4), this.m_melee_list = this.getChildAt(5), this.m_melee_tab = this.getChildAt(6), this.m_remote_tab = this.getChildAt(7), this.m_close_btn = this.getChildAt(8), this.m_close1 = this.getChildAt(10);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("main", "atlas")
                            }
                        }]), t
                    }();
                a.URL = "ui://kg0a5580etvs1k7";
            },
            "./src/ui/main/UI_blood_bar_green.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GProgressBar);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_bg = this.getChildAt(0);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("main", "blood_bar_green")
                            }
                        }]), t
                    }();
                a.URL = "ui://kg0a5580svpr1eu";
            },
            "./src/ui/main/UI_blood_bar_red.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GProgressBar);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_bg = this.getChildAt(0);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("main", "blood_bar_red")
                            }
                        }]), t
                    }();
                a.URL = "ui://kg0a5580svpr1es";
            },
            "./src/ui/main/UI_bosscome.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GComponent);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_c1 = this.getControllerAt(0), this.m_bg = this.getChildAt(0), this.m_img = this.getChildAt(4), this.m_close_btn = this.getChildAt(8), this.m_close_btn2 = this.getChildAt(9), this.m_close1 = this.getChildAt(10), this.m_unlock_btn = this.getChildAt(11), this.m_unlock_ov_btn = this.getChildAt(12);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("main", "bosscome")
                            }
                        }]), t
                    }();
                a.URL = "ui://kg0a5580nj0r1wt";
            },
            "./src/ui/main/UI_box.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GComponent);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_c1 = this.getControllerAt(0), this.m_c2 = this.getControllerAt(1), this.m_bg = this.getChildAt(0), this.m_gold_img = this.getChildAt(4), this.m_monster_list = this.getChildAt(8), this.m_gold_tex = this.getChildAt(9), this.m_close_btn = this.getChildAt(11), this.m_video_get_btn = this.getChildAt(13), this.m_close_btn2 = this.getChildAt(14), this.m_close1 = this.getChildAt(15);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("main", "box")
                            }
                        }]), t
                    }();
                a.URL = "ui://kg0a5580etvs1k3";
            },
            "./src/ui/main/UI_btn_Adc_atk.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GButton);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_c1 = this.getControllerAt(0), this.m_gold_tex = this.getChildAt(4);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("main", "btn_Adc_atk")
                            }
                        }]), t
                    }();
                a.URL = "ui://kg0a5580hnl81p8";
            },
            "./src/ui/main/UI_btn_Tank_atk.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GButton);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_c1 = this.getControllerAt(0), this.m_bg = this.getChildAt(0), this.m_gold_tex = this.getChildAt(4);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("main", "btn_Tank_atk")
                            }
                        }]), t
                    }();
                a.URL = "ui://kg0a5580etvs1jv";
            },
            "./src/ui/main/UI_btn_atlas.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GButton);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_c1 = this.getControllerAt(0), this.m_c2 = this.getControllerAt(1);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("main", "btn_atlas")
                            }
                        }]), t
                    }();
                a.URL = "ui://kg0a5580etvs1k8";
            },
            "./src/ui/main/UI_btn_close2.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GButton);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_t0 = this.getTransitionAt(0);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("main", "btn_close2")
                            }
                        }]), t
                    }();
                a.URL = "ui://kg0a558091ji1yh";
            },
            "./src/ui/main/UI_btn_close3.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GButton);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_t0 = this.getTransitionAt(0);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("main", "btn_close3")
                            }
                        }]), t
                    }();
                a.URL = "ui://kg0a5580vs5m1yi";
            },
            "./src/ui/main/UI_btn_closeTT01.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GButton);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_close_btn2 = this.getChildAt(0);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("main", "btn_closeTT01")
                            }
                        }]), t
                    }();
                a.URL = "ui://kg0a5580dw5c1y6";
            },
            "./src/ui/main/UI_btn_con001.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GButton);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_bg = this.getChildAt(0), this.m_gold_img = this.getChildAt(2), this.m_gold_tex = this.getChildAt(3);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("main", "btn_con001")
                            }
                        }]), t
                    }();
                a.URL = "ui://kg0a5580jeyi1rk";
            },
            "./src/ui/main/UI_btn_con002.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GButton);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_pt = this.getControllerAt(0), this.m_bg = this.getChildAt(0), this.m_gold_img = this.getChildAt(3), this.m_gold_tex = this.getChildAt(4);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("main", "btn_con002")
                            }
                        }]), t
                    }();
                a.URL = "ui://kg0a5580jeyi1rl";
            },
            "./src/ui/main/UI_btn_end002.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GButton);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_c1 = this.getControllerAt(0), this.m_pt = this.getControllerAt(1), this.m_c2 = this.getControllerAt(2), this.m_bg = this.getChildAt(0), this.m_video_img = this.getChildAt(2), this.m_bet_gold_text = this.getChildAt(4), this.m_gold_img = this.getChildAt(5), this.m_video_img2 = this.getChildAt(6);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("main", "btn_end002")
                            }
                        }]), t
                    }();
                a.URL = "ui://kg0a5580jeyi1rb";
            },
            "./src/ui/main/UI_btn_goodstart.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GButton);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_c1 = this.getControllerAt(0), this.m_bg = this.getChildAt(0), this.m_gold_tex = this.getChildAt(3);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("main", "btn_goodstart")
                            }
                        }]), t
                    }();
                a.URL = "ui://kg0a5580jeyi1rf";
            },
            "./src/ui/main/UI_btn_goodstart002.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GButton);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_c1 = this.getControllerAt(0), this.m_c2 = this.getControllerAt(1), this.m_gold_img = this.getChildAt(4), this.m_gold_tex = this.getChildAt(5);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("main", "btn_goodstart002")
                            }
                        }]), t
                    }();
                a.URL = "ui://kg0a5580jeyi1ri";
            },
            "./src/ui/main/UI_btn_setup01.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GButton);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_switch = this.getControllerAt(0), this.m_off = this.getChildAt(0), this.m_on = this.getChildAt(1);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("main", "btn_setup01")
                            }
                        }]), t
                    }();
                a.URL = "ui://kg0a5580hhoz1o5";
            },
            "./src/ui/main/UI_btn_turnable001.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GButton);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_bg = this.getChildAt(0), this.m_video_img = this.getChildAt(2);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("main", "btn_turnable001")
                            }
                        }]), t
                    }();
                a.URL = "ui://kg0a5580xu7q1xy";
            },
            "./src/ui/main/UI_click.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GComponent);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_bg2 = this.getChildAt(0), this.m_click_btn = this.getChildAt(1), this.m_crazy_progress_bar = this.getChildAt(2);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("main", "click")
                            }
                        }]), t
                    }();
                a.URL = "ui://kg0a5580mfhr1yj";
            },
            "./src/ui/main/UI_congratulations.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GComponent);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_pt = this.getControllerAt(0), this.m_bg = this.getChildAt(0), this.m_name_tex = this.getChildAt(3), this.m_star_cmp = this.getChildAt(4), this.m_icon = this.getChildAt(6), this.m_normal_btn = this.getChildAt(7), this.m_double_btn = this.getChildAt(8), this.m_atk_tex = this.getChildAt(10), this.m_hp_tex = this.getChildAt(12);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("main", "congratulations")
                            }
                        }]), t
                    }();
                a.URL = "ui://kg0a5580huln1kl";
            },
            "./src/ui/main/UI_end.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GComponent);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                YYGGames.gameBanner.visible = !0, this.m_c1 = this.getControllerAt(0), this.m_bg = this.getChildAt(0), this.m_bg2 = this.getChildAt(1), this.m_earn_gold_text = this.getChildAt(5), this.m_bet_gold_text = this.getChildAt(8), this.m_gold_img = this.getChildAt(9), this.m_get_gold_btn = this.getChildAt(10), this.m_dial_cmp = this.getChildAt(11), this.m_multiple_get_btn = this.getChildAt(13), this.m_normal_get_btn = this.getChildAt(14), this.m_zhuanpan = this.getChildAt(17), this.m_goldMvBtn = this.getChildAt(18), this.m_normalBtn = this.getChildAt(19), this.m_shareBtn = this.getChildAt(20), this.m_rateShow = this.getChildAt(21), this.m_btn_failClose = this.getChildAt(22);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("main", "end")
                            }
                        }]), t
                    }();
                a.URL = "ui://kg0a5580etvs1kc";
            },
            "./src/ui/main/UI_figerCom.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GComponent);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_figer = this.getChildAt(0), this.m_t0 = this.getTransitionAt(0);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("main", "figerCom")
                            }
                        }]), t
                    }();
                a.URL = "ui://kg0a5580l2rh1rr";
            },
            "./src/ui/main/UI_getCoin.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GComponent);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                console.error("进入加金币页面"), this.m_c1 = this.getControllerAt(0), this.m_bg = this.getChildAt(0), this.m_gold_img = this.getChildAt(5), this.m_gold_tex = this.getChildAt(6), this.m_close_btn = this.getChildAt(8), this.m_get_video_btn = this.getChildAt(10), this.m_close_btn2 = this.getChildAt(11), this.m_close1 = this.getChildAt(12);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("main", "getCoin")
                            }
                        }]), t
                    }();
                a.URL = "ui://kg0a5580etvs1k0";
            },
            "./src/ui/main/UI_gold_cmp.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GComponent);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_text = this.getChildAt(0), this.m_doller = this.getChildAt(1), this.m_t0 = this.getTransitionAt(0);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("main", "gold_cmp")
                            }
                        }]), t
                    }();
                a.URL = "ui://kg0a5580gdmv1ey";
            },
            "./src/ui/main/UI_gold_ui_parent.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GComponent);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_parent = this.getChildAt(0);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("main", "gold_ui_parent")
                            }
                        }]), t
                    }();
                a.URL = "ui://kg0a5580cz231s8";
            },
            "./src/ui/main/UI_goodStart.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GComponent);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_c1 = this.getControllerAt(0), this.m_bg = this.getChildAt(0), this.m_start_btn = this.getChildAt(1), this.m_strong_btn = this.getChildAt(2), this.m_item_atk = this.getChildAt(5), this.m_item_agl = this.getChildAt(6), this.m_item_hp = this.getChildAt(7), this.m_choseItem = this.getChildAt(8);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("main", "goodStart")
                            }
                        }]), t
                    }();
                a.URL = "ui://kg0a5580jeyi1rg";
            },
            "./src/ui/main/UI_guide_1.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GComponent);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_arrow = this.getChildAt(0), this.m_t0 = this.getTransitionAt(0);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("main", "guide_1")
                            }
                        }]), t
                    }();
                a.URL = "ui://kg0a5580d3sn1rp";
            },
            "./src/ui/main/UI_guide_2.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GComponent);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_arrow = this.getChildAt(0), this.m_t0 = this.getTransitionAt(0);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("main", "guide_2")
                            }
                        }]), t
                    }();
                a.URL = "ui://kg0a5580d3sn1rq";
            },
            "./src/ui/main/UI_guide_bg.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GComponent);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_c1 = this.getControllerAt(0), this.m_bg = this.getChildAt(0), this.m_figer = this.getChildAt(1), this.m_skip_btn = this.getChildAt(5), this.m_t0 = this.getTransitionAt(0);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return YYGGames.gameBox.visible = !1, i.fairygui.UIPackage.createObject("main", "guide_bg")
                            }
                        }]), t
                    }();
                a.URL = "ui://kg0a5580l2rh1rm";
            },
            "./src/ui/main/UI_item_box.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GComponent);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_icon = this.getChildAt(1);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("main", "item_box")
                            }
                        }]), t
                    }();
                a.URL = "ui://kg0a5580etvs1k5";
            },
            "./src/ui/main/UI_item_choose.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GComponent);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_c1 = this.getControllerAt(0);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("main", "item_choose")
                            }
                        }]), t
                    }();
                a.URL = "ui://kg0a5580xu7q1y2";
            },
            "./src/ui/main/UI_item_coin.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GComponent);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_bg = this.getChildAt(0), this.m_gold_icon = this.getChildAt(1), this.m_value_tex = this.getChildAt(2), this.m_add_btn = this.getChildAt(3);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("main", "item_coin")
                            }
                        }]), t
                    }();
                a.URL = "ui://kg0a5580etvs1jx";
            },
            "./src/ui/main/UI_item_goodstart.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GComponent);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_c1 = this.getControllerAt(0), this.m_c2 = this.getControllerAt(1), this.m_bg = this.getChildAt(0);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("main", "item_goodstart")
                            }
                        }]), t
                    }();
                a.URL = "ui://kg0a5580jeyi1rj";
            },
            "./src/ui/main/UI_item_lv.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GComponent);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_level_tex = this.getChildAt(2);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("main", "item_lv")
                            }
                        }]), t
                    }();
                a.URL = "ui://kg0a5580etvs1jz";
            },
            "./src/ui/main/UI_item_monster.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GComponent);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_is_unlock = this.getControllerAt(0), this.m_bg = this.getChildAt(1), this.m_icon = this.getChildAt(3), this.m_name_tex = this.getChildAt(4), this.m_star_cmp = this.getChildAt(5), this.m_lock = this.getChildAt(6), this.m_hp_tex = this.getChildAt(8), this.m_atk_tex = this.getChildAt(10), this.m_lock_img = this.getChildAt(11), this.m_unlock_tex = this.getChildAt(12);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("main", "item_monster")
                            }
                        }]), t
                    }();
                a.URL = "ui://kg0a5580etvs1k9";
            },
            "./src/ui/main/UI_item_shop.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GComponent);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_c1 = this.getControllerAt(0), this.m_c2 = this.getControllerAt(1), this.m_icon = this.getChildAt(3), this.m_text = this.getChildAt(7), this.m_sign_tex = this.getChildAt(8);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("main", "item_shop")
                            }
                        }]), t
                    }();
                a.URL = "ui://kg0a5580de4e1oe";
            },
            "./src/ui/main/UI_item_shop_zzq.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GComponent);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_img = this.getChildAt(0);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("main", "item_shop_zzq")
                            }
                        }]), t
                    }();
                a.URL = "ui://kg0a5580de4e1of";
            },
            "./src/ui/main/UI_item_star.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GComponent);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_c1 = this.getControllerAt(0);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("main", "item_star")
                            }
                        }]), t
                    }();
                a.URL = "ui://kg0a5580etvs1kb";
            },
            "./src/ui/main/UI_item_times.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GComponent);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_pointer = this.getChildAt(1);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("main", "item_times")
                            }
                        }]), t
                    }();
                a.URL = "ui://kg0a5580etvs1kf";
            },
            "./src/ui/main/UI_item_turnable.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GComponent);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_rotate = this.getChildAt(0);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("main", "item_turnable")
                            }
                        }]), t
                    }();
                a.URL = "ui://kg0a5580xu7q1xx";
            },
            "./src/ui/main/UI_item_up.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GComponent);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_icon = this.getChildAt(1), this.m_star_cmp = this.getChildAt(2);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("main", "item_up")
                            }
                        }]), t
                    }();
                a.URL = "ui://kg0a5580eog51o8";
            },
            "./src/ui/main/UI_item_zzq.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GComponent);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_bg = this.getChildAt(0), this.m_img = this.getChildAt(1);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("main", "item_zzq")
                            }
                        }]), t
                    }();
                a.URL = "ui://kg0a5580etvs1ka";
            },
            "./src/ui/main/UI_main.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GComponent);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_c1 = this.getControllerAt(0),
                                    this.m_guide = this.getControllerAt(1),
                                    this.m_c2 = this.getControllerAt(2),
                                    this.m_blood_bar_panel = this.getChildAt(0),
                                    this.m_gold_panel = this.getChildAt(1),
                                    this.m_touch_panel = this.getChildAt(2),
                                    this.m_testList = this.getChildAt(3),
                                    this.m_vido_text = this.getChildAt(4),
                                    this.m_gold_cmp = this.getChildAt(5),
                                    this.m_level_tex = this.getChildAt(6),
                                    this.m_atlas_btn = this.getChildAt(7),
                                    this.m_setting_btn = this.getChildAt(8),
                                    this.m_main_tips = this.getChildAt(9),
                                    this.m_start_game_btn = this.getChildAt(10),
                                    this.m_add_melee_btn = this.getChildAt(11),
                                    this.m_add_remote_btn = this.getChildAt(12),
                                    this.m_sign_btn = this.getChildAt(13),
                                    this.m_summoer_btn = this.getChildAt(14),
                                    this.m_super_start_btn = this.getChildAt(15),
                                    this.m_skill_fire = this.getChildAt(16),
                                    this.m_skill_resume = this.getChildAt(17),
                                    this.m_skill_god = this.getChildAt(18),
                                    this.m_guide_v = this.getChildAt(19),
                                    this.m_guide_h = this.getChildAt(20),
                                    this.m_share_btn = this.getChildAt(21),
                                    this.m_shareBtn = this.getChildAt(22),
                                    this.m_yinsi = this.getChildAt(23),
                                    this.m_addDesk = this.getChildAt(24),
                                    this.m_moreGame = this.getChildAt(25),
                                    this.m_btn_sound = this.getChildAt(26),
                                    this.m_JIAOCHENG_MAI = this.getChildAt(28),
                                    this.m_JIAOCHENG_HE = this.getChildAt(29);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("main", "main")
                            }
                        }]), t
                    }();
                a.URL = "ui://kg0a5580ak1c1em";
            },
            "./src/ui/main/UI_main_gold.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GComponent);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_bg = this.getChildAt(0), this.m_gold_img = this.getChildAt(1), this.m_gold_text = this.getChildAt(2);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("main", "main_gold")
                            }
                        }]), t
                    }();
                a.URL = "ui://kg0a55807vj01f0";
            },
            "./src/ui/main/UI_main_tips.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GComponent);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_t0 = this.getTransitionAt(0);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("main", "main_tips")
                            }
                        }]), t
                    }();
                a.URL = "ui://kg0a5580uxkb1pf";
            },
            "./src/ui/main/UI_moreGameBtn.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GButton);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_moreGame = this.getChildAt(0);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("main", "moreGameBtn")
                            }
                        }]), t
                    }();
                a.URL = "ui://kg0a558091ji1yf";
            },
            "./src/ui/main/UI_offLine.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GComponent);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_platform = this.getControllerAt(0), this.m_close1 = this.getChildAt(1), this.m_close_btn = this.getChildAt(4), this.m_gold_img = this.getChildAt(6), this.m_get_btn = this.getChildAt(7), this.m_video_btn = this.getChildAt(8), this.m_gold_tex = this.getChildAt(9);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("main", "offLine")
                            }
                        }]), t
                    }();
                a.URL = "ui://kg0a5580etvs1kg";
            },
            "./src/ui/main/UI_setup.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GComponent);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_platform = this.getControllerAt(0), this.m_bg = this.getChildAt(0), this.m_music_btn = this.getChildAt(6), this.m_sound_btn = this.getChildAt(7), this.m_vibrate_btn = this.getChildAt(8), this.m_close_btn = this.getChildAt(9), this.m_close1 = this.getChildAt(11), this.m_btn_xieyi = this.getChildAt(12), this.m_btn_yinsi = this.getChildAt(13);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("main", "setup")
                            }
                        }]), t
                    }();
                a.URL = "ui://kg0a5580hhoz1o4";
            },
            "./src/ui/main/UI_shop.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GComponent);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_bg = this.getChildAt(0), this.m_back_btn = this.getChildAt(4), this.m_shopList = this.getChildAt(6);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("main", "shop")
                            }
                        }]), t
                    }();
                a.URL = "ui://kg0a5580de4e1ob";
            },
            "./src/ui/main/UI_skill.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GButton);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_c1 = this.getControllerAt(0), this.m_c2 = this.getControllerAt(1), this.m_bg = this.getChildAt(0), this.m_gold_tex = this.getChildAt(17);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("main", "skill")
                            }
                        }]), t
                    }();
                a.URL = "ui://kg0a5580jeyi1rc";
            },
            "./src/ui/main/UI_summoner.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GComponent);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_bg = this.getChildAt(1), this.m_close_btn = this.getChildAt(2), this.m_light = this.getChildAt(3), this.m_img = this.getChildAt(4), this.m_t0 = this.getTransitionAt(0);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("main", "summoner")
                            }
                        }]), t
                    }();
                a.URL = "ui://kg0a5580hnl81p6";
            },
            "./src/ui/main/UI_test.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GButton);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_c1 = this.getControllerAt(0);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("main", "test")
                            }
                        }]), t
                    }();
                a.URL = "ui://kg0a5580l6821bs";
            },
            "./src/ui/main/UI_text_001.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GComponent);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_t0 = this.getTransitionAt(0);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("main", "text_001")
                            }
                        }]), t
                    }();
                a.URL = "ui://kg0a5580bzft1s3";
            },
            "./src/ui/main/UI_text_002.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GComponent);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_t0 = this.getTransitionAt(0);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("main", "text_002")
                            }
                        }]), t
                    }();
                a.URL = "ui://kg0a5580bzft1s4";
            },
            "./src/ui/main/UI_text_003.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GComponent);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_t0 = this.getTransitionAt(0);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("main", "text_003")
                            }
                        }]), t
                    }();
                a.URL = "ui://kg0a5580bzft1s5";
            },
            "./src/ui/main/UI_text_004.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GComponent);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_t0 = this.getTransitionAt(0);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("main", "text_004")
                            }
                        }]), t
                    }();
                a.URL = "ui://kg0a5580bzft1s6";
            },
            "./src/ui/main/UI_upgrade_new.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GComponent);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_platform = this.getControllerAt(0), this.m_close1 = this.getChildAt(1), this.m_close_btn = this.getChildAt(2), this.m_upgrade_btn = this.getChildAt(3), this.m_name_tex = this.getChildAt(6), this.m_icon = this.getChildAt(7), this.m_hp_tex = this.getChildAt(12), this.m_atk_tex = this.getChildAt(13);
                            }
                        }]), t
                    }();
                a.URL = "ui://kg0a5580eog51o9";
            },
            "./src/ui/main/UI_upgrade_start.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GComponent);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_platform = this.getControllerAt(0), this.m_name_tex = this.getChildAt(3), this.m_old_item = this.getChildAt(4), this.m_new_item = this.getChildAt(5), this.m_old_hp_tex = this.getChildAt(12), this.m_old_atk_tex = this.getChildAt(13), this.m_new_hp_tex = this.getChildAt(14), this.m_new_atk_tex = this.getChildAt(15), this.m_close1 = this.getChildAt(16), this.m_close_btn = this.getChildAt(17), this.m_upgrade_btn = this.getChildAt(18);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return YYGGames.gameBox.visible = !1, i.fairygui.UIPackage.createObject("main", "upgrade_start")
                            }
                        }]), t
                    }();
                a.URL = "ui://kg0a5580go521ko";
            },
            "./src/ui/main/UI_video_gold_text.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GComponent);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_c1 = this.getControllerAt(0), this.m_video_img = this.getChildAt(1), this.m_value_text = this.getChildAt(2), this.m_t0 = this.getTransitionAt(0);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("main", "video_gold_text")
                            }
                        }]), t
                    }();
                a.URL = "ui://kg0a5580vrbn1kj";
            },
            "./src/ui/main/UI_yinsiBtn.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GButton);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_yinsi = this.getChildAt(0);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("main", "yinsiBtn")
                            }
                        }]), t
                    }();
                a.URL = "ui://kg0a558091ji1ye";
            },
            "./src/ui/main/mainBinder.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return de
                    }
                });
                var i = n("./src/ui/main/UI_main_gold.ts"),
                    a = n("./src/ui/main/UI_yinsiBtn.ts"),
                    s = n("./src/ui/main/UI_moreGameBtn.ts"),
                    r = n("./src/ui/main/UI_addDeskBtn.ts"),
                    o = n("./src/ui/main/UI_btn_close2.ts"),
                    u = n("./src/ui/main/UI_main.ts"),
                    c = n("./src/ui/main/UI_text_001.ts"),
                    l = n("./src/ui/main/UI_text_002.ts"),
                    d = n("./src/ui/main/UI_text_003.ts"),
                    h = n("./src/ui/main/UI_text_004.ts"),
                    f = n("./src/ui/main/UI_gold_ui_parent.ts"),
                    _ = n("./src/ui/main/UI_guide_1.ts"),
                    m = n("./src/ui/main/UI_guide_2.ts"),
                    g = n("./src/ui/main/UI_shop.ts"),
                    p = n("./src/ui/main/UI_item_shop.ts"),
                    v = n("./src/ui/main/UI_item_shop_zzq.ts"),
                    y = n("./src/ui/main/UI_btn_closeTT01.ts"),
                    k = n("./src/ui/main/UI_item_up.ts"),
                    C = n("./src/ui/main/UI_upgrade_new.ts"),
                    I = n("./src/ui/main/UI_btn_Tank_atk.ts"),
                    S = n("./src/ui/main/UI_item_coin.ts"),
                    L = n("./src/ui/main/UI_item_lv.ts"),
                    w = n("./src/ui/main/UI_getCoin.ts"),
                    U = n("./src/ui/main/UI_box.ts"),
                    A = n("./src/ui/main/UI_item_box.ts"),
                    b = n("./src/ui/main/UI_atlas.ts"),
                    T = n("./src/ui/main/UI_btn_atlas.ts"),
                    G = n("./src/ui/main/UI_item_monster.ts"),
                    E = n("./src/ui/main/UI_item_zzq.ts"),
                    x = n("./src/ui/main/UI_item_star.ts"),
                    P = n("./src/ui/main/UI_end.ts"),
                    M = n("./src/ui/main/UI_item_times.ts"),
                    D = n("./src/ui/main/UI_offLine.ts"),
                    R = n("./src/ui/main/UI_gold_cmp.ts"),
                    B = n("./src/ui/main/UI_upgrade_start.ts"),
                    O = n("./src/ui/main/UI_setup.ts"),
                    F = n("./src/ui/main/UI_btn_setup01.ts"),
                    V = n("./src/ui/main/UI_summoner.ts"),
                    N = n("./src/ui/main/UI_btn_Adc_atk.ts"),
                    H = n("./src/ui/main/UI_congratulations.ts"),
                    j = n("./src/ui/main/UI_btn_end002.ts"),
                    Y = n("./src/ui/main/UI_skill.ts"),
                    W = n("./src/ui/main/UI_btn_goodstart.ts"),
                    K = n("./src/ui/main/UI_goodStart.ts"),
                    z = n("./src/ui/main/UI_btn_goodstart002.ts"),
                    X = n("./src/ui/main/UI_item_goodstart.ts"),
                    q = n("./src/ui/main/UI_btn_con001.ts"),
                    J = n("./src/ui/main/UI_btn_con002.ts"),
                    Q = n("./src/ui/main/UI_guide_bg.ts"),
                    $ = n("./src/ui/main/UI_figerCom.ts"),
                    Z = n("./src/ui/main/UI_test.ts"),
                    ee = n("./src/ui/main/UI_click.ts"),
                    te = n("./src/ui/main/UI_bosscome.ts"),
                    ne = n("./src/ui/main/UI_blood_bar_red.ts"),
                    ie = n("./src/ui/main/UI_blood_bar_green.ts"),
                    ae = n("./src/ui/main/UI_main_tips.ts"),
                    se = n("./src/ui/main/UI_video_gold_text.ts"),
                    re = n("./src/ui/main/UI_btn_close3.ts"),
                    oe = n("./src/ui/main/UI_item_turnable.ts"),
                    ue = n("./src/ui/main/UI_btn_turnable001.ts"),
                    ce = n("./src/ui/main/UI_item_choose.ts"),
                    le = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    de = function () {
                        function e() {
                            _classCallCheck(this, e);
                        }
                        return _createClass(e, null, [{
                            key: "bindAll",
                            value: function () {
                                le.fairygui.UIObjectFactory.setPackageItemExtension(i.default.URL, i.default), le.fairygui.UIObjectFactory.setPackageItemExtension(a.default.URL, a.default), le.fairygui.UIObjectFactory.setPackageItemExtension(s.default.URL, s.default), le.fairygui.UIObjectFactory.setPackageItemExtension(r.default.URL, r.default), le.fairygui.UIObjectFactory.setPackageItemExtension(o.default.URL, o.default), le.fairygui.UIObjectFactory.setPackageItemExtension(u.default.URL, u.default), le.fairygui.UIObjectFactory.setPackageItemExtension(c.default.URL, c.default), le.fairygui.UIObjectFactory.setPackageItemExtension(l.default.URL, l.default), le.fairygui.UIObjectFactory.setPackageItemExtension(d.default.URL, d.default), le.fairygui.UIObjectFactory.setPackageItemExtension(h.default.URL, h.default), le.fairygui.UIObjectFactory.setPackageItemExtension(f.default.URL, f.default), le.fairygui.UIObjectFactory.setPackageItemExtension(_.default.URL, _.default), le.fairygui.UIObjectFactory.setPackageItemExtension(m.default.URL, m.default), le.fairygui.UIObjectFactory.setPackageItemExtension(g.default.URL, g.default), le.fairygui.UIObjectFactory.setPackageItemExtension(p.default.URL, p.default), le.fairygui.UIObjectFactory.setPackageItemExtension(v.default.URL, v.default), le.fairygui.UIObjectFactory.setPackageItemExtension(y.default.URL, y.default), le.fairygui.UIObjectFactory.setPackageItemExtension(k.default.URL, k.default), le.fairygui.UIObjectFactory.setPackageItemExtension(C.default.URL, C.default), le.fairygui.UIObjectFactory.setPackageItemExtension(I.default.URL, I.default), le.fairygui.UIObjectFactory.setPackageItemExtension(S.default.URL, S.default), le.fairygui.UIObjectFactory.setPackageItemExtension(L.default.URL, L.default), le.fairygui.UIObjectFactory.setPackageItemExtension(w.default.URL, w.default), le.fairygui.UIObjectFactory.setPackageItemExtension(U.default.URL, U.default), le.fairygui.UIObjectFactory.setPackageItemExtension(A.default.URL, A.default), le.fairygui.UIObjectFactory.setPackageItemExtension(b.default.URL, b.default), le.fairygui.UIObjectFactory.setPackageItemExtension(T.default.URL, T.default), le.fairygui.UIObjectFactory.setPackageItemExtension(G.default.URL, G.default), le.fairygui.UIObjectFactory.setPackageItemExtension(E.default.URL, E.default), le.fairygui.UIObjectFactory.setPackageItemExtension(x.default.URL, x.default), le.fairygui.UIObjectFactory.setPackageItemExtension(P.default.URL, P.default), le.fairygui.UIObjectFactory.setPackageItemExtension(M.default.URL, M.default), le.fairygui.UIObjectFactory.setPackageItemExtension(D.default.URL, D.default), le.fairygui.UIObjectFactory.setPackageItemExtension(R.default.URL, R.default), le.fairygui.UIObjectFactory.setPackageItemExtension(B.default.URL, B.default),
                                    le.fairygui.UIObjectFactory.setPackageItemExtension(O.default.URL, O.default), le.fairygui.UIObjectFactory.setPackageItemExtension(F.default.URL, F.default), le.fairygui.UIObjectFactory.setPackageItemExtension(V.default.URL, V.default), le.fairygui.UIObjectFactory.setPackageItemExtension(N.default.URL, N.default), le.fairygui.UIObjectFactory.setPackageItemExtension(H.default.URL, H.default), le.fairygui.UIObjectFactory.setPackageItemExtension(j.default.URL, j.default), le.fairygui.UIObjectFactory.setPackageItemExtension(Y.default.URL, Y.default), le.fairygui.UIObjectFactory.setPackageItemExtension(W.default.URL, W.default), le.fairygui.UIObjectFactory.setPackageItemExtension(K.default.URL, K.default), le.fairygui.UIObjectFactory.setPackageItemExtension(z.default.URL, z.default), le.fairygui.UIObjectFactory.setPackageItemExtension(X.default.URL, X.default), le.fairygui.UIObjectFactory.setPackageItemExtension(q.default.URL, q.default), le.fairygui.UIObjectFactory.setPackageItemExtension(J.default.URL, J.default), le.fairygui.UIObjectFactory.setPackageItemExtension(Q.default.URL, Q.default), le.fairygui.UIObjectFactory.setPackageItemExtension($.default.URL, $.default), le.fairygui.UIObjectFactory.setPackageItemExtension(Z.default.URL, Z.default), le.fairygui.UIObjectFactory.setPackageItemExtension(ee.default.URL, ee.default), le.fairygui.UIObjectFactory.setPackageItemExtension(te.default.URL, te.default), le.fairygui.UIObjectFactory.setPackageItemExtension(ne.default.URL, ne.default), le.fairygui.UIObjectFactory.setPackageItemExtension(ie.default.URL, ie.default), le.fairygui.UIObjectFactory.setPackageItemExtension(ae.default.URL, ae.default), le.fairygui.UIObjectFactory.setPackageItemExtension(se.default.URL, se.default), le.fairygui.UIObjectFactory.setPackageItemExtension(re.default.URL, re.default), le.fairygui.UIObjectFactory.setPackageItemExtension(oe.default.URL, oe.default), le.fairygui.UIObjectFactory.setPackageItemExtension(ue.default.URL, ue.default), le.fairygui.UIObjectFactory.setPackageItemExtension(ce.default.URL, ce.default);
                            }
                        }]), e
                    }();
            },
            "./src/ui/sign/UI_Sign.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GComponent);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_c1 = this.getControllerAt(0), this.m_bg = this.getChildAt(0), this.m_sign = this.getChildAt(2), this.m_doublesign = this.getChildAt(3), this.m_close1 = this.getChildAt(4), this.m_signsevenitem = this.getChildAt(7), this.m_signitem1 = this.getChildAt(8), this.m_signitem2 = this.getChildAt(9), this.m_signitem3 = this.getChildAt(10), this.m_signitem4 = this.getChildAt(11), this.m_signitem5 = this.getChildAt(12), this.m_signitem6 = this.getChildAt(13), this.m_Back = this.getChildAt(14);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("Sign", "Sign")
                            }
                        }]), t
                    }();
                a.URL = "ui://f0cat3k4oo830";
            },
            "./src/ui/sign/UI_SignItem.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return a
                    }
                });
                var i = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    a = function (e) {
                        function t() {
                            return _classCallCheck(this, t), n.call(this)
                        }
                        _inherits(t, i.fairygui.GComponent);
                        var n = _createSuper(t);
                        return _createClass(t, [{
                            key: "onConstruct",
                            value: function () {
                                this.m_staust = this.getControllerAt(0), this.m_type = this.getControllerAt(1), this.m_SignItemIcon = this.getChildAt(2), this.m_SignItemNum = this.getChildAt(5);
                            }
                        }], [{
                            key: "createInstance",
                            value: function () {
                                return i.fairygui.UIPackage.createObject("Sign", "SignItem")
                            }
                        }]), t
                    }();
                a.URL = "ui://f0cat3k4oo839";
            },
            "./src/ui/sign/signBinder.ts": function (e, t, n) {
                n.r(t), n.d(t, {
                    default: function () {
                        return r
                    }
                });
                var i = n("./src/ui/sign/UI_Sign.ts"),
                    a = n("./src/ui/sign/UI_SignItem.ts"),
                    s = n("./src/LTGame/BaseUI/UI/GComs.ts"),
                    r = function () {
                        function e() {
                            _classCallCheck(this, e);
                        }
                        return _createClass(e, null, [{
                            key: "bindAll",
                            value: function () {
                                s.fairygui.UIObjectFactory.setPackageItemExtension(i.default.URL, i.default), s.fairygui.UIObjectFactory.setPackageItemExtension(a.default.URL, a.default);
                            }
                        }]), e
                    }();
            }
        },
            n = {};
        e.d = function (t, n) {
            for (var i in n) e.o(n, i) && !e.o(t, i) && Object.defineProperty(t, i, {
                enumerable: !0,
                get: n[i]
            });
        }, e.o = function (e, t) {
            return Object.prototype.hasOwnProperty.call(e, t)
        }, e.r = function (e) {
            "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e, Symbol.toStringTag, {
                value: "Module"
            }), Object.defineProperty(e, "__esModule", {
                value: !0
            });
        };
        var i = {};
        ! function () {
            e.r(i);
            var t = e("./src/LTGame/Start/LTMain.ts"),
                n = e("./src/script/MainStart.ts");
            new t.default(n.default);
        }();
    }();

}());
