System.register("chunks:///_virtual/audioManager.ts",["./rollupPluginModLoBabelHelpers.js","cc","./constants.ts","./settingData.ts"],(function(t){"use strict";var e,u,i,n,o,a,r,c;return{setters:[function(t){e=t.asyncToGenerator,u=t.regeneratorRuntime},function(t){i=t.cclegacy,n=t.AudioClip,o=t.AudioSource,a=t.assetManager},function(t){r=t.constants},function(t){c=t.default}],execute:function(){i._RF.push({},"9d41fnOFEtCvYwlsO6f1fZZ","audioManager",void 0);var s=function(){function t(){this.cachedAudioArr=[],this.bundleAudios=null,this.bgVolumeMax=.8}t.ins=function(){return this.instance||(this.instance=new t),this.instance};var i=t.prototype;return i.initialize=function(){var t=e(u().mark((function t(){var e,i,o,c=this;return u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,new Promise((function(t,e){a.loadBundle("audios",(function(u,i){u?e(u):t(i)}))}));case 2:this.bundleAudios=t.sent,e=u().mark((function t(){var e,a;return u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(""!=(e=o[i])){t.next=3;break}return t.abrupt("return","continue");case 3:return t.next=5,new Promise((function(t,u){c.bundleAudios.load(e,n,(function(e,i){e?u(e):t(i)}))}));case 5:a=t.sent,c.cachedAudioArr.push({clip:a,audioSource:null,path:e,playStatus:!1,totalTime:a.getDuration(),time_id:-1,t:0});case 7:case"end":return t.stop()}}),t)})),i=0,o=Object.values(r.audios);case 5:if(!(i<o.length)){t.next=13;break}return t.delegateYield(e(),"t0",7);case 7:if("continue"!==t.t0){t.next=10;break}return t.abrupt("continue",10);case 10:i++,t.next=5;break;case 13:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}(),i.play=function(t,e,u){var i=this;if(void 0===e&&(e=!1),void 0===u&&(u=-1),c.data.bg_music_status){var o=function(t){if(null==t.audioSource&&(t.audioSource=i.audioSourceLoop(e)),!t.playStatus){if(t.audioSource.clip=a.clip,t.time_id&&(clearInterval(t.time_id),t.audioSource.playing&&t.audioSource.pause()),t.audioSource.play(),-1==u)t.audioSource.volume=i.bgVolumeMax;else{t.t=0,t.audioSource.volume=0;var n=1/u/10;t.time_id=setInterval((function(){t.t+=n;var e=t.t/u;e>=i.bgVolumeMax?clearInterval(t.time_id):t.audioSource.volume=e}),1e3*n)}t.playStatus=!0}},a=this.cachedAudioArr.find((function(e){return e.path==t}));a?o(a):this.bundleAudios.load(t,n,(function(e,u){if(e)console.warn(e);else{var i={path:t,clip:u,audioSource:null,playStatus:!1,totalTime:u.getDuration(),time_id:-1,t:0};o(i)}}))}},i.playOneShot=function(t,e){var u=this;if(void 0===e&&(e=!0),c.data.sound_status){var i=function(t){!e&&t.playStatus||(null==t.audioSource&&(t.audioSource=u.audioSourceLoop(!1)),t.audioSource.clip=t.clip,t.audioSource.play(),t.audioSource.volume=1,t.playStatus=!0)},o=this.cachedAudioArr.find((function(e){return e.path==t}));o?i(o):this.bundleAudios.load(t,n,(function(e,n){if(e)console.warn(e);else{var o={path:t,clip:n,audioSource:null,playStatus:!1,totalTime:n.getDuration(),time_id:-1,t:0};u.cachedAudioArr.push(o),i(o)}}))}},i.stop=function(t,e){var u=this;void 0===e&&(e=-1);var i=this.cachedAudioArr.find((function(e){return e.path==t}));if(i){if(!i.audioSource)return;if(!i.audioSource.playing)return;i.time_id&&clearInterval(i.time_id);var n=i.audioSource;if(-1==e)null==n||n.pause();else{i.t=0;var o=1/e/10;i.time_id=setInterval((function(){if(n){i.t+=o;var t=u.bgVolumeMax-i.t/e;t<=0?(clearInterval(i.time_id),null==n||n.pause()):n.volume=t<=0?0:t}}),1e3*o)}i.playStatus=!1}},i.audioSourceLoop=function(t){return t?this.getAudioSource(null,!0,this.bgVolumeMax):this.getAudioSource(null,!1,1)},i.getAudioSource=function(t,e,u){void 0===t&&(t=null),void 0===e&&(e=!1),void 0===u&&(u=1);var i=new o;return t&&(i.clip=t),i.loop=e,i.volume=u,i},t}();s.instance=null;t("default",s.ins());i._RF.pop()}}}));

System.register("chunks:///_virtual/autoBind.ts",["./rollupPluginModLoBabelHelpers.js","cc"],(function(e){"use strict";var t,n;return{setters:[function(e){t=e.createForOfIteratorHelperLoose},function(e){n=e.cclegacy}],execute:function(){e({auto:function(e,t){if("function"==typeof e)return function(t,n){o.has(t)||o.set(t,{}),o.get(t)[n]={type:e}};var n=e;o.has(n)||o.set(n,{}),o.get(n)[t]={}},initAutoBindings:function(e){var t=o.get(Object.getPrototypeOf(e));if(t){var n=new Map;for(var a in r(e.node,n),t){var i=t[a],u=n.get(a);u?i.type?e[a]=u.getComponent(i.type):e[a]=u:console.warn("Node not found for propertyKey: "+a)}}}}),n._RF.push({},"7b234l7Q6FNZoFXVY9hXkeS","autoBind",void 0);var o=new WeakMap;function r(e,n){n.set(e.name,e);for(var o,a=t(e.children);!(o=a()).done;){r(o.value,n)}}n._RF.pop()}}}));

System.register("chunks:///_virtual/BasePanel.ts",["./rollupPluginModLoBabelHelpers.js","cc","./GameConst.ts","./BaseUI.ts"],(function(n){"use strict";var e,t,o,s;return{setters:[function(n){e=n.inheritsLoose},function(n){t=n.cclegacy},function(n){o=n.default},function(n){s=n.BaseUI}],execute:function(){t._RF.push({},"7b2799Ub4dDJaNkRrAhSv1f","BasePanel",void 0);n("default",function(n){function t(){for(var e,t=arguments.length,s=new Array(t),i=0;i<t;i++)s[i]=arguments[i];return(e=n.call.apply(n,[this].concat(s))||this).layer=o.WIN_LAYER.POPUP,e.winType=o.WIN_TYPE.NORMAL,e.destroyAfterClose=!1,e}e(t,n);var s=t.prototype;return s.show=function(n){},s.close=function(){window.WindowManager.ins.removeWin(this.node.name)},s.onBtnClicked=function(n,e){},t}(s));t._RF.pop()}}}));

System.register("chunks:///_virtual/BaseUI.ts",["./rollupPluginModLoBabelHelpers.js","cc","./GameEvent.ts","./ComponentEx.ts","./autoBind.ts"],(function(t){"use strict";var e,n,s,i,o,r,c,h,a,u,l,m,d,f,p,g;return{setters:[function(t){e=t.inheritsLoose},function(t){n=t.cclegacy,s=t.Button,i=t.js,o=t.EventHandler,r=t.warn,c=t.isValid,h=t.find,a=t.Sprite,u=t.Label,l=t.ProgressBar,m=t.EditBox,d=t.Slider},function(t){f=t.default},function(t){p=t.ComponentEx},function(t){g=t.initAutoBindings}],execute:function(){n._RF.push({},"b891aP/QgZEfKkbmoh6LplP","BaseUI",void 0);t("BaseUI",function(t){function n(){for(var e,n=arguments.length,s=new Array(n),i=0;i<n;i++)s[i]=arguments[i];return(e=t.call.apply(t,[this].concat(s))||this).events=[],e}e(n,t);var p=n.prototype;return p.onBtnClicked=function(t,e){switch(t.target.name){case"btn_close":this.close()}},p.close=function(){},p.onLoad=function(){this.events=[],this._addClickEvent(this.node),g(this)},p.onDestroy=function(){for(var t=0;t<this.events.length;++t)f.Instance().unregister(this,this.events[t])},p.register=function(t,e){this.events.push(t),f.Instance().register(this,t,e)},p.unregister=function(t){f.Instance().unregister(this,t)},p.dispatch=function(t){for(var e,n=arguments.length,s=new Array(n>1?n-1:0),i=1;i<n;i++)s[i-1]=arguments[i];(e=f.Instance()).dispatch.apply(e,[t].concat(s))},p.shutAnim=function(){this.node&&(this.node.active=!1,this.node.parent=null,this.node.destroy())},p._isSkipNode=function(t){if(this.node==t)return!1;var e=t.getComponent(n);return e&&console.log("跳过",e.name),null!=e},p._addClickEvent=function(t){if(!this._isSkipNode(t))for(var e=0;e<t.children.length;++e){var o=t.children[e];this._isSkipNode(o)||(o.getComponent(s)&&n.addClickEvent(o,this.node,i.getClassName(this),"onBtnClicked",o),this._addClickEvent(o))}},n.addClickEvent=function(t,e,n,i,c){var h=new o;h.target=e,h.component=n,h.handler=i,c&&(h.customEventData=c);var a=t.getComponent(s).clickEvents;a.length>0?r("按钮已经存在绑定，跳过自动绑定",t.name):a.push(h)},p.GetGameObject=function(t,e){if(void 0===e&&(e=!1),!c(this.node))return null;if(!e){if(this.m_objects&&this.m_objects.has(t))return this.m_objects[t];if(t==this.node.name)return this.node}var n;return-1!=t.indexOf("/")?((n=h(t,this.node))&&(this.m_objects[t]=n),n):((n=this._findInChildren(this.node,t))&&(this.m_objects[t]=n),n)},p.GetSprite=function(t){if(this.m_objects&&this.m_objects.has(t))return this.m_objects[t].getComponent(a);var e=this.GetGameObject(t);return e?e.getComponent(a):null},p.GetText=function(t){if(this.m_objects&&this.m_objects.has(t))return this.m_objects[t].getComponent(u);var e=this.GetGameObject(t);return e?e.getComponent(u):null},p.GetProgressBar=function(t){if(this.m_objects&&this.m_objects.has(t))return this.m_objects[t].getComponent(l);var e=this.GetGameObject(t);return e?e.getComponent(l):null},p.GetButton=function(t){if(this.m_objects&&this.m_objects.has(t))return this.m_objects[t].getComponent(s);var e=this.GetGameObject(t);return e?e.getComponent(s):null},p.GetInputField=function(t){if(this.m_objects&&this.m_objects.has(t))return this.m_objects[t].getComponent(m);var e=this.GetGameObject(t);return e?e.getComponent(m):null},p.GetSlider=function(t){if(this.m_objects&&this.m_objects.has(t))return this.m_objects[t].getComponent(d);var e=this.GetGameObject(t);return e?e.getComponent(d):null},p.SetText=function(t,e){this.GetText(t)&&(this.GetText(t).string=e)},p.SetInputText=function(t,e){this.GetInputField(t)&&(this.GetInputField(t).string=e)},p.SetProgressBar=function(t,e){this.GetProgressBar(t)&&(this.GetProgressBar(t).progress=e)},n}(p));n._RF.pop()}}}));

System.register("chunks:///_virtual/BoxLayer.ts",["./rollupPluginModLoBabelHelpers.js","cc","./GameConst.ts","./BasePanel.ts","./Data.ts","./Utils2.ts","./constants.ts","./audioManager.ts"],(function(e){"use strict";var t,a,i,s,o,c,n,r,h,l,m,v,b,G;return{setters:[function(e){t=e.inheritsLoose},function(e){a=e.cclegacy,i=e._decorator,s=e.Vec3,o=e.Label,c=e.tween,n=e.v3},function(e){r=e.ITEM_TYPE,h=e.BOX_TYPE},function(e){l=e.default},function(e){m=e.default},function(e){v=e.default},function(e){b=e.constants},function(e){G=e.default}],execute:function(){var u;a._RF.push({},"4b854Z4MQxMMoEv+1klVHm+","BoxLayer",void 0);var p=i.ccclass;i.property,e("BoxLayer",p("BoxLayer")(u=function(e){function a(){for(var t,a=arguments.length,i=new Array(a),s=0;s<a;s++)i[s]=arguments[s];return(t=e.call.apply(e,[this].concat(i))||this).list=void 0,t.boxType=void 0,t.open=!1,t}t(a,e);var i=a.prototype;return i.start=function(){this.GetGameObject("item").active=!1,this.GetGameObject("item").setPosition(s.ZERO),this.GetGameObject("box").setPosition(s.ZERO)},i.setInfo=function(e,t){this.boxType=e,this.list=t;for(var a=0;a<4;++a){var i=this.GetGameObject("item").children[a];t[a]?(i.active=!0,i.getChildByName("Time").active=t[a].type==r.Time,i.getChildByName("Frozen").active=t[a].type==r.Frozen,i.getChildByName("Hint").active=t[a].type==r.Hint,i.getChildByName("Magnet").active=t[a].type==r.Magnet,i.getChildByName("Coin").active=t[a].type==r.Coin,i.getChildByName("Label").getComponent(o).string="+"+t[a].num):i.active=!1}this.GetGameObject("chest-level-reward-close").active=e==h.LEVEL,this.GetGameObject("chest-team-reward-close").active=e==h.TEAM,this.GetGameObject("chest-star-reward-close").active=e==h.STAR,this.GetGameObject("chest-level-reward-open").active=!1,this.GetGameObject("chest-star-reward-open").active=!1,this.GetGameObject("chest-team-reward-open").active=!1},i.onBtnClicked=function(e,t){var a=this;switch(G.playOneShot(b.audios.btnclick),e.target.name){case"btn_close":this.close();break;case"btn_open":this.open?(this.list.map((function(e){m.user.addItem(e.type,e.num),e.type==r.Coin&&v.flyAnim(r.Coin,a.GetNode("item"),a.GetNodeFromCanvas("coin-icon"),5,50,(function(e){}))})),this.boxType==h.LEVEL?m.user.lvboxDrawInfo[Math.floor(m.user.lv/10)]=1:this.boxType==h.STAR&&(m.user.starboxDrawInfo[Math.floor(m.user.star/1e3)]=1),m.save(),this.close()):(this.open=!0,this.GetGameObject("item").active=!0,c(this.GetGameObject("item")).by(.3,{worldPosition:n(0,90,0)}).start(),c(this.GetGameObject("box")).by(.3,{worldPosition:n(0,-60,0)}).start(),this.GetGameObject("chest-level-reward-close").active=!1,this.GetGameObject("chest-team-reward-close").active=!1,this.GetGameObject("chest-star-reward-close").active=!1,this.GetGameObject("chest-level-reward-open").active=this.boxType==h.LEVEL,this.GetGameObject("chest-team-reward-open").active=this.boxType==h.TEAM,this.GetGameObject("chest-star-reward-open").active=this.boxType==h.STAR,this.SetText("lbl_btn","领取"))}},a}(l))||u);a._RF.pop()}}}));

System.register("chunks:///_virtual/BusyLoading.ts",["./rollupPluginModLoBabelHelpers.js","cc","./BaseUI.ts"],(function(t){"use strict";var e,n,r,o,s;return{setters:[function(t){e=t.inheritsLoose},function(t){n=t.cclegacy,r=t._decorator,o=t.tween},function(t){s=t.BaseUI}],execute:function(){var i;n._RF.push({},"f1cd93/VQVE9JkCwHVSeXFX","BusyLoading",void 0);var u=r.ccclass;r.property,t("BusyLoading",u("BusyLoading")(i=function(t){function n(){return t.apply(this,arguments)||this}e(n,t);var r=n.prototype;return r.start=function(){var t=this.GetNode("loading");o(t).by(1,{angle:-180}).repeatForever().start()},r.update=function(t){},n}(s))||i);n._RF.pop()}}}));

System.register("chunks:///_virtual/BusyLoadingManager.ts",["./rollupPluginModLoBabelHelpers.js","cc","./Utils2.ts","./WindowManager.ts"],(function(t){"use strict";var n,i,e,s,a,r,u,o,c,h;return{setters:[function(t){n=t.createClass,i=t.asyncToGenerator,e=t.regeneratorRuntime},function(t){s=t.cclegacy,a=t.warn,r=t.instantiate,u=t.Prefab,o=t.isValid},function(t){c=t.default},function(t){h=t.default}],execute:function(){var l;t("BUSY_TYPE",void 0),s._RF.push({},"e9a7f+4IppDWb7xHmmkKSYE","BusyLoadingManager",void 0),function(t){t[t.NET=0]="NET",t[t.RES=1]="RES"}(l||(l=t("BUSY_TYPE",{}))),t("default",function(){function t(){this.busyMap=new Map,this.loadingUI=void 0,this.timerID=null,this.delay=300}var s=t.prototype;return s.init=function(){var t=i(e().mark((function t(){var n;return e().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,c.loadRes("common/BusyLoading","prefabs",u);case 2:n=t.sent,this.loadingUI=r(n),this.loadingUI.name="BusyLoading";case 5:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}(),s.addBusy=function(t){var n=this.busyMap.get(t);n?this.busyMap.set(t,n+1):this.busyMap.set(t,1),this.checkBusy()},s.removeBusy=function(t){var n=this.busyMap.get(t);n?this.busyMap.set(t,n-1):a("remove busy error",t),this.checkBusy()},s.checkBusy=function(){var t=i(e().mark((function t(){var n,i,s=this;return e().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(null!=this.loadingUI&&o(this.loadingUI)){t.next=3;break}return t.next=3,this.init();case 3:this.getBusyCount()>0?(n=this,i=function(){s.getBusyCount()>0?n.updateTips():a("timeout end waitcnt is 0"),s.timerID=null},this.timerID?(clearTimeout(this.timerID),this.timerID=setTimeout(i,this.delay)):this.loadingUI.parent?this.updateTips():(h.ins.container.addChild(this.loadingUI),this.timerID=setTimeout(i,this.delay))):(this.timerID&&(clearTimeout(this.timerID),this.timerID=0),this.loadingUI.parent&&this.loadingUI.removeFromParent());case 5:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}(),s.updateTips=function(){},s.getBusyCount=function(){var t=0;return this.busyMap.forEach((function(n,i){t+=n})),t},n(t,null,[{key:"ins",get:function(){return null==t.instance&&(t.instance=new t),t.instance}}]),t}()).instance=null,s._RF.pop()}}}));

System.register("chunks:///_virtual/BuyCoinLayer.ts",["./rollupPluginModLoBabelHelpers.js","cc","./GameConst.ts","./BasePanel.ts","./Data.ts","./Utils2.ts","./platformSystem.ts","./constants.ts","./audioManager.ts"],(function(t){"use strict";var n,e,o,c,i,s,a,u,r,l;return{setters:[function(t){n=t.inheritsLoose},function(t){e=t.cclegacy,o=t._decorator},function(t){c=t.ITEM_TYPE},function(t){i=t.default},function(t){s=t.default},function(t){a=t.default},function(t){u=t.default},function(t){r=t.constants},function(t){l=t.default}],execute:function(){var f;e._RF.push({},"ed0c2pOm6tKoKudRX+iKoEf","BuyCoinLayer",void 0);var d=o.ccclass;o.property,t("BuyCoinLayer",d("BuyCoinLayer")(f=function(t){function e(){return t.apply(this,arguments)||this}n(e,t);var o=e.prototype;return o.start=function(){this.SetText("lbl_coin",s.user.coin+"")},o.onBtnClicked=function(t,n){var e=this;switch(l.playOneShot(r.audios.btnclick),t.target.name){case"btn_close":this.close();break;case"btn_ad":this.GetGameObject("btn_close").active=!1,u.platform.showRewardVideo((function(t){t?a.flyAnim(c.Coin,e.GetNode("btn_ad"),e.GetNodeFromCanvas("coin-icon"),5,50,(function(t){t&&(s.user.coin+=100,s.save(),e.close())})):e.GetGameObject("btn_close").active=!0}))}},e}(i))||f);e._RF.pop()}}}));

System.register("chunks:///_virtual/BuyItemLayer.ts",["./rollupPluginModLoBabelHelpers.js","cc","./GameConst.ts","./BasePanel.ts","./Data.ts","./MsgHints.ts","./WindowManager.ts","./Main.ts","./audioManager.ts","./constants.ts"],(function(t){"use strict";var e,n,a,s,i,c,o,u,r,l,f,y;return{setters:[function(t){e=t.inheritsLoose},function(t){n=t.cclegacy,a=t._decorator},function(t){s=t.ITEM_TYPE,i=t.default},function(t){c=t.default},function(t){o=t.default},function(t){u=t.default},function(t){r=t.default},function(t){l=t.Main},function(t){f=t.default},function(t){y=t.constants}],execute:function(){var p;n._RF.push({},"319a3lNH0ZNqJYKvBxPxIkf","BuyItemLayer",void 0);var m=a.ccclass;a.property,t("BuyItemLayer",m("BuyItemLayer")(p=function(t){function n(){for(var e,n=arguments.length,a=new Array(n),s=0;s<n;s++)a[s]=arguments[s];return(e=t.call.apply(t,[this].concat(a))||this).type=void 0,e}e(n,t);var a=n.prototype;return a.setItemType=function(t){this.type=t,this.GetGameObject("Magnet").active=t==s.Magnet,this.GetGameObject("Hint").active=t==s.Hint,this.GetGameObject("Frozen").active=t==s.Frozen,this.GetGameObject("Time").active=t==s.Time,this.SetText("lbl_name",i.getItemName(t)),l.Instance()._GameUI.pasue=!0},a.onDestroy=function(){t.prototype.onDestroy.call(this),l.Instance()._GameUI.pasue=!1},a.onBtnClicked=function(t,e){switch(f.playOneShot(y.audios.btnclick),t.target.name){case"btn_close":this.close();break;case"btn_buy":o.user.coin<90?r.ins.open("BuyCoinLayer"):(u.show("购买成功！"),o.user.coin-=90,o.user.addItem(this.type,3),o.save(),this.close())}},n}(c))||p);n._RF.pop()}}}));

System.register("chunks:///_virtual/BuyLifeLayer.ts",["./rollupPluginModLoBabelHelpers.js","cc","./GameConst.ts","./BasePanel.ts","./Data.ts","./Utils2.ts","./platformSystem.ts","./audioManager.ts","./constants.ts"],(function(t){"use strict";var e,s,i,n,a,o,r,u,l,c;return{setters:[function(t){e=t.inheritsLoose},function(t){s=t.cclegacy,i=t._decorator},function(t){n=t.default},function(t){a=t.default},function(t){o=t.default},function(t){r=t.default},function(t){u=t.default},function(t){l=t.default},function(t){c=t.constants}],execute:function(){var f;s._RF.push({},"98a55rrdspLsI3mkIbROuIw","BuyLifeLayer",void 0);var _=i.ccclass;i.property,t("BuyLifeLayer",_("BuyLifeLayer")(f=function(t){function s(){return t.apply(this,arguments)||this}e(s,t);var i=s.prototype;return i.update=function(){if(this.SetText("lbl_life",o.user.life+""),o.user.life>=n.MAX_LIFE)this.SetText("lbl_life_time","已满");else{0==o.user.life_cost_time&&(o.user.life_cost_time=Date.now());var t=(Date.now()-o.user.life_cost_time)/1e3,e=Math.floor(t/60/n.MAX_LIFE_RECOVERY_TIME);e>0&&(o.user.life+=e),t-=e*n.MAX_LIFE_RECOVERY_TIME*60,this.SetText("lbl_life_time",r.getTimeStrByS(60*n.MAX_LIFE_RECOVERY_TIME-t))}},i.star=function(){u.platform.showInterstitialAd()},i.onBtnClicked=function(t,e){var s=this;switch(l.playOneShot(c.audios.btnclick),t.target.name){case"btn_close":this.close();break;case"btn_ad":u.platform.showRewardVideo((function(t){t&&(o.user.life+=1,o.save(),s.close())}))}},s}(a))||f);s._RF.pop()}}}));

System.register("chunks:///_virtual/ComponentEx.ts",["./rollupPluginModLoBabelHelpers.js","cc"],(function(n){"use strict";var e,t,r,o,i;return{setters:[function(n){e=n.inheritsLoose},function(n){t=n.cclegacy,r=n._decorator,o=n.find,i=n.Component}],execute:function(){var s;t._RF.push({},"819feri7DxHQ62MHmCI5Kc2","ComponentEx",void 0);var c=r.ccclass;r.property,n("ComponentEx",c("ComponentEx")(s=function(n){function t(){for(var e,t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];return(e=n.call.apply(n,[this].concat(r))||this).m_objects=new Map,e}e(t,n);var r=t.prototype;return r._findInChildren=function(n,e){var t=n.getChildByName(e);if(t)return t;if(0==n.children.length)return null;for(var r=0;r<n.children.length;++r){var o=this._findInChildren(n.children[r],e);if(o)return o}return null},r.GetNode=function(n,e){if(void 0===e&&(e=!1),!e){if(this.m_objects&&this.m_objects.has(n))return this.m_objects.get(n);if(n==this.node.name)return this.node}if(-1!=n.indexOf("/")){var t=o(n,this.node);return t&&this.m_objects.set(n,t),t}return(t=this._findInChildren(this.node,n))&&this.m_objects.set(n,t),t},r.GetNodeFromCanvas=function(n){var e=o("Canvas").getComponent(t);return e||(e=o("Canvas").getComponentInChildren(t)),e.GetNode(n)},r.findComponentInParent=function(n,e){for(var t=n;t;){var r=t.getComponent(e);if(r)return r;t=t.parent}return null},t}(i))||s);t._RF.pop()}}}));

System.register("chunks:///_virtual/ConfigManager.ts",["./rollupPluginModLoBabelHelpers.js","cc","./Singleton.ts"],(function(n){"use strict";var t,e,r,o,i;return{setters:[function(n){t=n.inheritsLoose,e=n.asyncToGenerator,r=n.regeneratorRuntime},function(n){o=n.cclegacy},function(n){i=n.default}],execute:function(){o._RF.push({},"cda590m5HJIvoxgJzogwach","ConfigManager",void 0);n("default",function(n){function o(){for(var t,e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];return(t=n.call.apply(n,[this].concat(r))||this).bInit=!1,t}return t(o,n),o.prototype.loadConfig=function(){var n=e(r().mark((function n(){return r().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(!this.bInit){n.next=2;break}return n.abrupt("return");case 2:return this.bInit=!0,n.abrupt("return",new Promise((function(n,t){console.log("loadConfig succ"),n(null)})));case 4:case"end":return n.stop()}}),n,this)})));return function(){return n.apply(this,arguments)}}(),o}(i));o._RF.pop()}}}));

System.register("chunks:///_virtual/constants.ts",["cc"],(function(e){"use strict";var a;return{setters:[function(e){a=e.cclegacy}],execute:function(){a._RF.push({},"53012aev/5AYrDhRMcEMaWr","constants",void 0);e("constants",{gameName:"3D消消",isRelease:!1,localCache:{player:"WSOPlayer",settingData:"WSOSettingData",levelsData:"WSOLevelsData"},eventName:{BATTELE_END:"battele-end"},audios:{bg_music:"bg_music",btnclick:"btnclick",freeze:"freeze",pass:"pass",softFail:"softFail",starCollect:"starCollect",tap:"tap"},prefabsName:{startBattleUI:"ui/startUI"},mainPageName:{character:"pages/character",storage:"pages/storage",overWorld:"pages/overWorld",celestia:"pages/celestia",dongFu:"pages/dongFu"},playerInfoData:"playerInfo",playerName:"playerName",scenesName:{start:"scene/start"}});a._RF.pop()}}}));

System.register("chunks:///_virtual/csvManager.ts",["./rollupPluginModLoBabelHelpers.js","cc"],(function(e){"use strict";var t,r,n;return{setters:[function(e){t=e.createClass},function(e){r=e.cclegacy,n=e._decorator}],execute:function(){var i,s;r._RF.push({},"90fdaPy7TFPAa87HmyXF3YG","csvManager",void 0);var a=n.ccclass,u=(n.property,[",",";","\t","|","^"]),o=["\r\n","\r","\n"],l=function(e,t,r,n){return r instanceof Array?"any"===r[t]?n[t]:"number"===r[t]?Number(n[t]):"boolean"===r[t]?"true"===n[t]||"t"===n[t]||"1"===n[t]:n[t]:"any"===r?n[t]:isNaN(Number(e))?"false"==e||"true"==e||"t"==e||"f"==e?"true"===n[t]||"t"===n[t]||"1"===n[t]:n[t]:Number(n[t])},c={STANDARD_DECODE_OPTS:{skip:0,limit:!1,header:!1,cast:!1,comment:""},STANDARD_ENCODE_OPTS:{delimiter:u[0],newline:o[0],skip:0,limit:!1,header:!1},quoteMark:'"',doubleQuoteMark:'""',quoteRegex:/"/g,assign:function(){for(var e=Array.prototype.slice.call(arguments),t=e[0],r=e.slice(1),n=0,i=r.length;n<i;n++)for(var s in r[n])t[s]=r[n][s];return t},map:function(e,t){for(var r=[],n=0,i=e.length;n<i;n++)r[n]=t(e[n],n);return r},getType:function(e){return Object.prototype.toString.call(e).slice(8,-1)},getLimit:function(e,t){return!1===e?t:e},buildObjectConstructor:function(e,t,r){return function(n){var i=new Object,s=function(e,t){return i[e]=t};return r?e.forEach((function(e,i){s(e,l(t[i],i,r,n))})):e.forEach((function(e,r){s(e,l(t[r],r,"any",n))})),i}},buildArrayConstructor:function(e,t,r){return function(n){var i=new Array(t.length),s=function(e,t){return i[e]=t};return r?e.forEach((function(e,i){s(e,l(t[i],i,r,n))})):e.forEach((function(e,r){s(e,l(t[r],r,"any",n))})),i}},frequency:function(e,t,r){void 0===r&&(r=!1);for(var n=0,i=0,s=this.getLimit(r,e.length);i<s&&-1!==(i=e.indexOf(t,i));)i+=1,n++;return n},mostFrequent:function(e,t,r){for(var n,i=t.length-1;i>=0;i--)this.frequency(e,t[i],r)>0&&(n=t[i]);return n||t[0]},unsafeParse:function(e,t,r){var n,i,s=e.split(t.newline);function a(e){var r=e.shift();if(r.indexOf('"')>=0){for(var n=0,i=0,s=0;e.length>0&&(-1!==(n=r.indexOf('"',i))||s%2!=0);)-1!==n?(i=n+1,s++):r=r+t.newline+e.shift();var a,u=[],o=0,l=0,c=0,h=r.length;for(var f in r)if(r.hasOwnProperty(f)){var d=parseInt(f),v=r[f];0===d&&'"'===v&&(o++,l=1),'"'===v&&(o++,r[d-1]===t.delimiter&&l===d&&l++),'"'===v&&o%2==0&&(r[d+1]!==t.delimiter&&d+1!==h||(c=d,a=r.substring(l,c),u.push(a),c=l=c+2)),v===t.delimiter&&o%2==0&&((c=d)>l?(a=r.substring(l,c),u.push(a),c=l=c+1):c===l&&(u.push(""),c=l=c+1))}return(c=h)>=l&&(a=r.substring(l,c),u.push(a)),u}return r.split(t.delimiter)}for(t.skip>0&&s.splice(t.skip),t.header?(!0===t.header?(t.comment=a(s),t.cast=a(s),n=a(s)):"Array"===this.getType(t.header)&&(n=t.header),i=this.buildObjectConstructor(n,s[0].split(t.delimiter),t.cast)):i=this.buildArrayConstructor(n,s[0].split(t.delimiter),t.cast);s.length>0;){var u=a(s);u.length>1&&r(i(u),n[0])}return!0},safeParse:function(e,t,r){t.delimiter;var n=t.newline,i=e.split(n);return t.skip>0&&i.splice(t.skip),!0},encodeCells:function(e,t,r){for(var n=e.slice(0),i=0,s=n.length;i<s;i++)-1!==n[i].indexOf(this.quoteMark)&&(n[i]=n[i].replace(this.quoteRegex,this.doubleQuoteMark)),-1===n[i].indexOf(t)&&-1===n[i].indexOf(r)||(n[i]=this.quoteMark+n[i]+this.quoteMark);return n.join(t)},encodeArrays:function(e,t,r){var n=t.delimiter,i=t.newline;t.header&&"Array"===this.getType(t.header)&&r(this.encodeCells(t.header,n,i));for(var s=0,a=this.getLimit(t.limit,e.length);s<a;s++)r(this.encodeCells(e[s],n,i));return!0},encodeObjects:function(e,t,r){var n,i,s=t.delimiter,a=t.newline;for(var u in n=[],i=[],e[0])n.push(u),i.push(e[0][u]);!0===t.header?r(this.encodeCells(n,s,a)):"Array"===this.getType(t.header)&&r(this.encodeCells(t.header,s,a)),r(this.encodeCells(i,s));for(var o=1,l=this.getLimit(t.limit,e.length);o<l;o++){i=[];for(var c=0,h=n.length;c<h;c++)i.push(e[o][n[c]]);r(this.encodeCells(i,s,a))}return!0},parse:function(e,t,r){var n;if("Function"===this.getType(t)?(r=t,t={}):"Function"!==this.getType(r)?r=(n=[]).push.bind(n):n=[],t=this.assign({},this.STANDARD_DECODE_OPTS,t),this.opts=t,!t.delimiter||!t.newline){var i=Math.min(48,Math.floor(e.length/20),e.length);t.delimiter=t.delimiter||this.mostFrequent(e,u,i),t.newline=t.newline||this.mostFrequent(e,o,i)}return this.unsafeParse(e,t,r)&&(!(n.length>0)||n)},encode:function(e,t,r){var n;return"Function"===this.getType(t)?(r=t,t={}):"Function"!==this.getType(r)&&(r=(n=[]).push.bind(n)),(t=this.assign({},this.STANDARD_ENCODE_OPTS,t)).skip>0&&(e=e.slice(t.skip)),("Array"===this.getType(e[0])?this.encodeArrays:this.encodeObjects)(e,t,r)&&(!(n.length>0)||n.join(t.newline))}};e("csvManager",a("csvManager")(((s=function(){function e(){this._csvTables={},this._csvTableForArr={},this._tableCast={},this._tableComment={}}var r=e.prototype;return r.addTable=function(e,t,r){if(!this._csvTables[e]||r){var n={},i=[];c.parse(t,{header:!0,cast:"any"},(function(e,t){n[e[t]]=e,i.push(e)})),this._tableCast[e]=c.opts.cast,this._tableComment[e]=c.opts.comment,this._csvTables[e]=n,this._csvTableForArr[e]=i}},r.getTableArr=function(e){return this._csvTableForArr[e]},r.getTable=function(e){return this._csvTables[e]},r.queryOne=function(e,t,r){var n=this.getTable(e);if(!n)return null;if(!t)return n[r];for(var i in n)if(n.hasOwnProperty(i)&&n[i][t]===r)return n[i]},r.queryByID=function(e,t){return this.queryOne(e,null,t)},r.queryAll=function(e,t,r){var n=this.getTable(e);if(!n||!t)return null;var i={};for(var s in n)n.hasOwnProperty(s)&&n[s][t]===r&&(i[s]=n[s]);return i},r.queryIn=function(e,t,r){var n=this.getTable(e);if(!n||!t)return null;for(var i={},s=Object.keys(n),a=s.length,u=0;u<a;u++){var o=n[s[u]];r.indexOf(o[t])>-1&&(i[s[u]]=o)}return i},r.queryByCondition=function(e,t){if(t.constructor!==Object)return null;var r=this.getTable(e);if(!r)return null;for(var n={},i=Object.keys(r),s=i.length,a=Object.keys(t),u=a.length,o=0;o<s;o++){for(var l=r[i[o]],c=!0,h=0;h<u;h++){var f=a[h];c=c&&t[f]===l[f]&&!n[i[o]]}c&&(n[i[o]]=l)}return n},r.queryOneByCondition=function(e,t){if(t.constructor!==Object)return null;var r=this.getTable(e);if(!r)return null;var n=Object.keys(t),i=n.length;for(var s in r){for(var a=r[s],u=!0,o=0;o<i;o++){var l=n[o];u=u&&t[l]===a[l]}if(u)return a}return null},t(e,null,[{key:"instance",get:function(){return this._instance||(this._instance=new e),this._instance}}]),e}())._instance=void 0,i=s))||i);r._RF.pop()}}}));

System.register("chunks:///_virtual/Data.ts",["cc","./UserModel.ts","./GameConst.ts"],(function(t){"use strict";var a,e,o;return{setters:[function(t){a=t.cclegacy},function(t){e=t.default},function(t){o=t.default}],execute:function(){a._RF.push({},"1f51eZt1oBJSb+sFNAgk0kG","Data",void 0);var n=t("default",function(){function t(){}return t.save=function(a){void 0===a&&(a=!1);var e={};e.user=t.user.getUploadData(),t.savedata(e,a)},t.getGameData=function(){return localStorage.getItem(o.local_data_key)},t.loadData=function(){var a=localStorage.getItem(o.local_data_key);a&&(a=JSON.parse(a),console.log("本地数据",a),t.user.setData(a.user))},t.savedata=function(t,a){void 0===a&&(a=!1),localStorage.setItem("savedatatime",Date.now().toString());var e=JSON.stringify(t);localStorage.setItem(o.local_data_key,e),t.game={},(Date.now()-this.savedatatime>18e4||a)&&(this.savedatatime=Date.now())},t}());n.user=new e,n.savedatatime=0,a._RF.pop()}}}));

System.register("chunks:///_virtual/DebugTools.ts",["./rollupPluginModLoBabelHelpers.js","cc","./GameConst.ts","./Data.ts","./WindowManager.ts","./levelsData.ts"],(function(t){"use strict";var e,n,o,a,s,r,u,i,c;return{setters:[function(t){e=t.inheritsLoose},function(t){n=t.cclegacy,o=t._decorator,a=t.sys,s=t.Component},function(t){r=t.default},function(t){u=t.default},function(t){i=t.default},function(t){c=t.default}],execute:function(){var l;n._RF.push({},"12146UverlP74Y/Ujkyi5Ir","DebugTools",void 0);var d=o.ccclass;o.property,t("default",d("DebugTools")(l=function(t){function n(){return t.apply(this,arguments)||this}e(n,t);var o=n.prototype;return o.start=function(){a.platform!==a.Platform.DESKTOP_BROWSER&&(this.addBtn("清除数据",(function(){localStorage.setItem(r.local_data_key,"")})),this.addBtn("金币+100",(function(){u.user.coin+=100})),this.addBtn("Star+100",(function(){u.user.star+=100;var t=c.getNormModelDatas();u.user.openIndex<t.length-1&&i.ins.open("NewPackOpenedLayer",u.user.openIndex)})),this.addBtn("LV++",(function(){u.user.lv++})))},o.addBtn=function(t,e){var n=document.getElementsByClassName("toolbar")[0];if(n){var o=document.createElement("div");o.className="item",o.innerHTML="<button id='"+t+"'>"+t+"</button>",n.appendChild(o),document.getElementById(t).onclick=function(){e()}}},n}(s))||l);n._RF.pop()}}}));

System.register("chunks:///_virtual/DrawStarLayer.ts",["./rollupPluginModLoBabelHelpers.js","cc","./BasePanel.ts","./WindowManager.ts","./platformSystem.ts","./constants.ts","./audioManager.ts"],(function(t){"use strict";var i,e,s,a,n,r,o,c,u;return{setters:[function(t){i=t.inheritsLoose},function(t){e=t.cclegacy,s=t._decorator,a=t.tween},function(t){n=t.default},function(t){r=t.default},function(t){o=t.default},function(t){c=t.constants},function(t){u=t.default}],execute:function(){var l;e._RF.push({},"7afe5oq/n9DwrKNNlUUERm9","DrawStarLayer",void 0);var h=s.ccclass;s.property,t("DrawStarLayer",h("DrawStarLayer")(l=function(t){function e(){for(var i,e=arguments.length,s=new Array(e),a=0;a<e;a++)s[a]=arguments[a];return(i=t.call.apply(t,[this].concat(s))||this).indicator=null,i.star=0,i.dir=1,i.beisu=1,i.pause=!1,i}i(e,t);var s=e.prototype;return s.start=function(){this.indicator=this.GetGameObject("star-gamification-indicator"),u.playOneShot(c.audios.pass)},s.setStar=function(t){this.star=t,this.SetText("lbl_star",t+"")},s.update=function(){if(!this.pause){var t=this.indicator.getPosition();t.x+=10*this.dir,t.x>190&&(this.dir=-1),t.x<-190&&(this.dir=1),this.indicator.setPosition(t);var i=this.indicator.getPosition().x;i>=-190&&i<-145?this.beisu=2:i>=-145&&i<-98?this.beisu=3:i>=-98&&i<-36?this.beisu=4:i>=-36&&i<36?this.beisu=5:i>=36&&i<98?this.beisu=4:i>=98&&i<145?this.beisu=3:i>=145&&i<=190&&(this.beisu=2),this.SetText("lbl_beisu","x"+this.beisu)}},s.onBtnClicked=function(t,i){var e=this;switch(u.playOneShot(c.audios.btnclick),t.target.name){case"btn_get":this.pause=!0,r.ins.open("LevelClearLayer").then((function(t){t.setAddStar(e.star)})),this.close();break;case"btn_ad":this.pause=!0,a(this.node).delay(1).call((function(){o.platform.showRewardVideo((function(t){t&&(r.ins.open("LevelClearLayer").then((function(t){t.setAddStar(e.star*e.beisu)})),e.close())}))})).start()}},e}(n))||l);e._RF.pop()}}}));

System.register("chunks:///_virtual/eventEmitter.ts",["./rollupPluginModLoBabelHelpers.js","cc"],(function(t){"use strict";var e,n,r,i;return{setters:[function(t){e=t.inheritsLoose},function(t){n=t.cclegacy,r=t._decorator,i=t.Component}],execute:function(){var a,o;n._RF.push({},"d4352QE+FZC6aizeUpNJKdK","eventEmitter",void 0);var c=r.ccclass;r.property,t("eventEmitter",c("eventEmitter")(((o=function(t){function n(){return t.apply(this,arguments)||this}return e(n,t),n.on=function(t,e,n){this.handle[t]||(this.handle[t]=[]);var r={func:e,target:n};this.handle[t].push(r)},n.off=function(t,e,n){var r=this.handle[t];if(r&&!(r.length<=0))for(var i=0;i<r.length;i++){var a=r[i];if(a.func===e&&(!n||n===a.target)){r.splice(i,1);break}}},n.emit=function(t){var e=this.handle[t];if(e&&!(e.length<=0)){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];for(var a=0;a<e.length;a++){var o=e[a];o.func.apply(o.target,r)}}},n}(i)).handle={},a=o))||a);n._RF.pop()}}}));

System.register("chunks:///_virtual/FailLayer.ts",["./rollupPluginModLoBabelHelpers.js","cc","./BasePanel.ts","./Data.ts","./Main.ts","./constants.ts","./audioManager.ts"],(function(t){"use strict";var e,n,a,s,c,i,o,r;return{setters:[function(t){e=t.inheritsLoose},function(t){n=t.cclegacy,a=t._decorator},function(t){s=t.default},function(t){c=t.default},function(t){i=t.Main},function(t){o=t.constants},function(t){r=t.default}],execute:function(){var l;n._RF.push({},"269133dka1KYJeeB6qTYvXu","FailLayer",void 0);var u=a.ccclass;a.property,t("FailLayer",u("FailLayer")(l=function(t){function n(){return t.apply(this,arguments)||this}return e(n,t),n.prototype.onBtnClicked=function(t,e){switch(r.playOneShot(o.audios.btnclick),t.target.name){case"btn_hall":c.user.life--,c.user.life_cost_time=Date.now(),this.close(),i.Instance().backHall();break;case"btn_replay":this.close(),i.Instance().play()}},n}(s))||l);n._RF.pop()}}}));

System.register("chunks:///_virtual/GameConst.ts",["cc"],(function(n){"use strict";var t;return{setters:[function(n){t=n.cclegacy}],execute:function(){var e,E;n({BOX_TYPE:void 0,ITEM_TYPE:void 0}),t._RF.push({},"e35acRUB8JEcok+Iaxv1zHa","GameConst",void 0),function(n){n.Star="Star",n.Coin="Coin",n.Magnet="Magnet",n.Hint="Hint",n.Frozen="Frozen",n.Time="Time"}(e||(e=n("ITEM_TYPE",{}))),function(n){n[n.LEVEL=0]="LEVEL",n[n.STAR=1]="STAR",n[n.TEAM=2]="TEAM"}(E||(E=n("BOX_TYPE",{})));var i=n("default",function(){function n(){}return n.getLvBoxReward=function(n){return 1==n?[{type:e.Coin,num:17},{type:e.Hint,num:2}]:2==n?[{type:e.Coin,num:20},{type:e.Hint,num:3},{type:e.Magnet,num:3}]:[{type:e.Coin,num:30},{type:e.Hint,num:5},{type:e.Magnet,num:5},{type:e.Time,num:5}]},n.getStarBoxReward=function(n){return 1==n?[{type:e.Coin,num:100},{type:e.Hint,num:5}]:2==n?[{type:e.Coin,num:150},{type:e.Hint,num:5},{type:e.Magnet,num:5}]:[{type:e.Coin,num:200},{type:e.Hint,num:5},{type:e.Magnet,num:5},{type:e.Time,num:5}]},n.getItemName=function(n){return{Star:"星星",Coin:"金币",Magnet:"磁铁",Hint:"提示",Frozen:"冰冻",Time:"额外时间"}[n]},n}());i.CLEAR_ALL_BOX="CLEAR_ALL_BOX",i.USE_ITEM_HINT="USE_ITEM_HINT",i.USE_ITEM_FROZEN="USE_ITEM_FROZEN",i.USE_ITEM_TIME="USE_ITEM_TIME",i.local_data_key="111",i.WIN_LAYER={SCENE:10,POPUP:20,GUIDE:30,TIP:40,ERROR:50,VIDEO:60},i.WIN_TYPE={NORMAL:1,FULLSCREEN:2,PERMANENT:3},i.MAX_LIFE=5,i.MAX_LIFE_RECOVERY_TIME=2;n("ITEM_HINT_LV",5),n("ITEM_FROZEN_LV",10),n("ITEM_MAGENT_LV",10),n("ITEM_TIME_LV",20);t._RF.pop()}}}));

System.register("chunks:///_virtual/GameEvent.ts",["./rollupPluginModLoBabelHelpers.js","cc","./Singleton.ts"],(function(e){"use strict";var t,n,a;return{setters:[function(e){t=e.inheritsLoose},function(e){n=e.cclegacy},function(e){a=e.default}],execute:function(){n._RF.push({},"02f97/UrU1GaLXVFol1IYPD","GameEvent",void 0);e("default",function(e){function n(){for(var t,n=arguments.length,a=new Array(n),l=0;l<n;l++)a[l]=arguments[l];return(t=e.call.apply(e,[this].concat(a))||this).eventHash={},t.ower=null,t.type=null,t.callback=null,t}t(n,e);var a=n.prototype;return a.clearAll=function(){console.log("-------clearall"),this.eventHash={}},a.register=function(e,t,n){var a={};a.ower=e,a.type=t,a.callback=n,this.eventHash.hasOwnProperty(t)||(this.eventHash[t]=[]),this.eventHash[t].push(a)},a.unregister=function(e,t){var n=this.eventHash[t];n&&n.length>0&&n.forEach((function(a,l){a.ower===e&&a.type===t&&n.splice(l,1)}))},a.dispatch=function(e){console.log(this.eventHash);var t=this.eventHash[e];if(t&&t.length>0){for(var n=arguments.length,a=new Array(n>1?n-1:0),l=1;l<n;l++)a[l-1]=arguments[l];for(var r in t){var s,c=t[r];c.callback&&(s=c).callback.apply(s,a)}}},n}(a));n._RF.pop()}}}));

System.register("chunks:///_virtual/GameNode.ts",["./rollupPluginModLoBabelHelpers.js","cc","./ComponentEx.ts","./Utils2.ts","./TileItem.ts","./GameConst.ts","./WindowManager.ts","./GameEvent.ts","./MsgHints.ts","./Data.ts","./BusyLoadingManager.ts","./Main.ts","./levelsData.ts","./platformSystem.ts","./constants.ts","./audioManager.ts"],(function(e){"use strict";var t,n,o,s,i,a,l,r,c,u,h,d,f,m,T,p,g,v,y,P,C,I,w,G,R,N,b,_,k,x,E,M,S,U;return{setters:[function(e){t=e.inheritsLoose,n=e.asyncToGenerator,o=e.regeneratorRuntime},function(e){s=e.cclegacy,i=e.geometry,a=e._decorator,l=e.input,r=e.Input,c=e.Tween,u=e.tween,h=e.v3,d=e.Camera,f=e.PhysicsSystem,m=e.RigidBody,T=e.view,p=e.find,g=e.MeshRenderer,v=e.instantiate},function(e){y=e.ComponentEx},function(e){P=e.default},function(e){C=e.TileItem},function(e){I=e.default,w=e.ITEM_TYPE},function(e){G=e.default},function(e){R=e.default},function(e){N=e.default},function(e){b=e.default},function(e){_=e.default,k=e.BUSY_TYPE},function(e){x=e.Main},function(e){E=e.default},function(e){M=e.default},function(e){S=e.constants},function(e){U=e.default}],execute:function(){var L;s._RF.push({},"a2d93SPQfJDU4bqNJGq/PnA","GameNode",void 0);var W=i.Ray,O=a.ccclass;a.property,a.executeInEditMode,e("GameNode",O("GameNode")(L=function(e){function s(){for(var t,n=arguments.length,o=new Array(n),s=0;s<n;s++)o[s]=arguments[s];return(t=e.call.apply(e,[this].concat(o))||this).collectTiles=[],t.lock=!1,t.touchTileItem=null,t.allTiles=[],t.collectpos=[],t}t(s,e);var i=s.prototype;return i.onEnable=function(){l.on(r.EventType.TOUCH_START,this.onTouchStart,this),l.on(r.EventType.TOUCH_END,this.onTouchEnd,this),l.on(r.EventType.TOUCH_MOVE,this.onTouchMove,this)},i.onDisable=function(){l.off(r.EventType.TOUCH_START,this.onTouchStart,this),l.off(r.EventType.TOUCH_END,this.onTouchEnd,this),l.off(r.EventType.TOUCH_MOVE,this.onTouchMove,this)},i.moveToRightPos=function(){var e=this;this.collectTiles.map((function(t,s){var i=t.getComponent(C);c.stopAllByTarget(t),u(t).to(.3,{worldPosition:e.collectpos[s].clone(),worldScale:h(1,1,1)}).call((function(){i.auto_rotation=!0,i.removed&&u(t).to(.25,{worldPosition:i.removedPos},{easing:"backIn"}).call(n(o().mark((function n(){var s,a;return o().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(!i.playRmovedEff){n.next=8;break}return s=e.GetNode("Main Camera").getComponent(d).convertToUINode(t.worldPosition,p("Canvas")),n.next=4,P.playSkAni("effect_hecheng","effect",p("Canvas"),s);case 4:a=n.sent,U.playOneShot(S.audios.starCollect),M.platform.vibrateShort(),P.flyAnim(w.Star,a,x.Instance()._GameUI.starNode,1,0,(function(e){e&&(a.destroy(),x.Instance()._GameUI.star++)}));case 8:t.destroy(),e.moveToRightPos(),e.checkResult();case 11:case"end":return n.stop()}}),n)})))).start()})).start()}))},i.chooseTile=function(e){var t=e.name;e.getComponent(C).destoryCollider();for(var n=0;n<this.allTiles.length;++n)if(this.allTiles[n]==e){this.allTiles.splice(n,1);break}var o=!1;for(n=this.collectTiles.length-1;n>=0;--n)if(this.collectTiles[n].name==t){this.collectTiles.splice(n+1,0,e),o=!0;break}o||this.collectTiles.push(e),this.moveToRightPos();var s=this.collectTiles.filter((function(e){return e.name==t}));if(3==s.length)for(n=this.collectTiles.length-1;n>=0;--n)if(this.collectTiles[n].name==t){var i=this.collectTiles[n];i.getComponent(C).removed=!0,this.collectTiles.splice(n,1),i.getComponent(C).removedPos=s[1].worldPosition,i==s[1]&&(i.getComponent(C).playRmovedEff=!0)}this.checkResult()},i.checkResult=function(){this.lock||(this.collectTiles.length>=7?(this.lock=!0,G.ins.isShow("OutOfBoxLayer")||G.ins.open("OutOfBoxLayer")):0==this.collectTiles.length&&0==this.allTiles.length&&(this.lock=!0,G.ins.open("DrawStarLayer").then((function(e){e.setStar(x.Instance()._GameUI.star)}))))},i.onTouchStart=function(e){if(!x.Instance()._GameUI.pasue&&!(b.user.useMagnet||0==this.allTiles.length||this.collectTiles.length>=7)){var t=e.getLocation(),n=this.GetNode("Main Camera").getComponent(d),o=new W;if(null==n||n.screenPointToRay(t.x,t.y,o),f.instance.raycastClosest(o,1)){var s=f.instance.raycastClosestResult.collider;console.log(s.node.name,s.getComponent(m).group);var i=s.node.parent.getComponent(C);if(i){i.enableCollider=!1;var a=i.node.getWorldPosition();a.y+=.3,i.node.setWorldPosition(a),this.touchTileItem=i}}}},i.onTouchEnd=function(e){if(!x.Instance()._GameUI.pasue&&!b.user.useMagnet&&this.touchTileItem&&0!=this.allTiles.length&&!(this.collectTiles.length>=7)){var t=e.getLocation(),n=this.GetNode("Main Camera").getComponent(d),o=new W;if(null==n||n.screenPointToRay(t.x,t.y,o),f.instance.raycastClosest(o,1)){var s=f.instance.raycastClosestResult.collider.node.parent.getComponent(C);s&&s==this.touchTileItem?(M.platform.vibrateShort(),this.chooseTile(s.node),this.touchTileItem=null,U.playOneShot(S.audios.tap)):this.touchTileItem.enableCollider=!0}}},i.onTouchMove=function(e){if(!x.Instance()._GameUI.pasue&&!(b.user.useMagnet||0==this.allTiles.length||this.collectTiles.length>=7)){var t=e.getLocation(),n=this.GetNode("Main Camera").getComponent(d),o=new W;if(null==n||n.screenPointToRay(t.x,t.y,o),f.instance.raycastClosest(o,1)){var s=f.instance.raycastClosestResult.collider.node.parent.getComponent(C);if(s)if(this.touchTileItem&&s==this.touchTileItem);else{this.touchTileItem&&(this.touchTileItem.enableCollider=!0),s.enableCollider=!1;var i=s.node.getWorldPosition();i.y+=.3,s.node.setWorldPosition(i),this.touchTileItem=s}else this.touchTileItem&&(this.touchTileItem.enableCollider=!0,this.touchTileItem=null)}}},i.initWall=function(){if(f.instance){var e=this.GetNode("Main Camera").getComponent(d),t=new W,n=T.getCanvasSize();if(null==e||e.screenPointToRay(225,n.height/2,t),f.instance.raycastClosest(t)){var o=f.instance.raycastClosestResult;this.GetNode("PlaneLeft").setWorldPosition(o.hitPoint)}if(null==e||e.screenPointToRay(n.width-25,n.height/2,t),f.instance.raycastClosest(t)){var s=f.instance.raycastClosestResult;this.GetNode("PlaneRight").setWorldPosition(s.hitPoint)}if(null==e||e.screenPointToRay(n.width/2,n.height-100,t),f.instance.raycastClosest(t)){var i=f.instance.raycastClosestResult;this.GetNode("PlaneTop").setWorldPosition(i.hitPoint)}var a=this.GetNode("PlaneLeft").worldPosition.x,l=(this.GetNode("PlaneRight").worldPosition.x-a)/8.461091041564941;if(this.GetNode("bottom").scale=h(l,l,l),null==e||e.screenPointToRay(n.width/2,10,t),f.instance.raycastClosest(t)){var r=f.instance.raycastClosestResult;this.GetNode("bottom").setWorldPosition(r.hitPoint)}this.GetNode("PlaneDown").setWorldPosition(this.GetNode("bottom").worldPosition.add3f(0,0,-2.5*l))}},i.createTiles=function(){var e=n(o().mark((function e(){var t,s,i,a,l,r,c,d,f,m,T,p,y,w,G,N=this;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:0,t=this.GetNode("PlaneLeft").worldPosition.x+0,s=this.GetNode("PlaneRight").worldPosition.x-0,i=this.GetNode("PlaneDown").worldPosition.z+0,a=this.GetNode("PlaneTop").worldPosition.z-0,l=E.getCurLevelInfo(),r=Math.floor(l.count/3),c=[],d=Math.floor(r/2),f=r-d,m=E.getDeblockDatas(),T=b.user.openIndex-1;case 12:if(!(T>=0)){e.next=20;break}if(c.push(m[T]),0!=--d){e.next=17;break}return e.abrupt("break",20);case 17:--T,e.next=12;break;case 20:for(console.log("解锁取",r-(f+d),"标准取",r-(r-(f+d))),p=E.getNormModelDatas(),y=f+d-1;y>=0;--y)c.push(p[y]);c=P.shuffle(c),x.Instance()._GameUI.pasue=!0,_.ins.addBusy(k.RES),w=o().mark((function e(){var n,l,d;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,E.LoadItemPrefabByName(c[G]);case 2:if(n=e.sent){e.next=5;break}return e.abrupt("return","continue");case 5:n.data.getComponentInChildren(g).shadowCastingMode=g.ShadowCastingMode.ON,l=o().mark((function e(){var l,r;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:l=(3*G+d)%9,r=N.GetNode("l"+l),u(N.node).delay(.03*d).call((function(){var e=v(n);e.name=n.name;var o=e.addComponent(C).addCollider();if(e.scale=h(1.25,1.25,1.25),1==b.user.lv)e.setWorldPosition(r.getWorldPosition()),e.parent=N.node,N.allTiles.push(e);else{var l=h(P.getRandomInt(t/2,s/2),P.getRandom(12,15),P.getRandomInt(a/2,i/2));e.setWorldRotationFromEuler(P.getRandom(0,300),P.getRandom(0,300),P.getRandom(0,300)),e.setWorldPosition(l),e.parent=N.node,o.applyImpulse(h(0,3,0)),N.allTiles.push(e)}})).start();case 3:case"end":return e.stop()}}),e)})),d=0;case 8:if(!(d<3)){e.next=13;break}return e.delegateYield(l(),"t0",10);case 10:d++,e.next=8;break;case 13:G==r-1&&(_.ins.removeBusy(k.RES),x.Instance()._GameUI.pasue=!1);case 14:case"end":return e.stop()}}),e)})),G=0;case 28:if(!(G<r)){e.next=36;break}return e.delegateYield(w(),"t0",30);case 30:if("continue"!==e.t0){e.next=33;break}return e.abrupt("continue",33);case 33:G++,e.next=28;break;case 36:setTimeout((function(){if(b.user.useMagnet){x.Instance()._GameUI.pasue=!0,b.user.magnet--;var e=N.GetNode("magnet").worldPosition;N.GetNode("magnet").worldPosition=h(-10,e.y,e.z),u(N.GetNode("magnet")).to(.5,{worldPosition:h(0,e.y,e.z)}).call(n(o().mark((function e(){var t,n,s,i,a,l;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:for(t=[],n=N.allTiles.length-1;n>=0;--n)s=!1,i=N.allTiles[n],(a=t[0])?a.name==i.name&&t.length<3&&(t.push(i),s=!0):(t.push(i),s=!0),s&&((l=N.allTiles[n].getComponent(C)).destoryCollider(),N.GetNode("magnet_content").addChild(l.node),u(l.node).to(.5,{worldPosition:N.GetNode(t.length%2?"m_left":"r_left").worldPosition}).start(),N.allTiles.splice(n,1),console.log("删除",l.name,N.allTiles.length));b.user.useMagnet=!1;case 3:case"end":return e.stop()}}),e)})))).delay(1.5).to(.5,{worldPosition:h(10,e.y,e.z)}).call((function(){N.GetNode("magnet_content").removeAllChildren(),x.Instance()._GameUI.pasue=!1,b.user.useTime&&b.user.time>0&&R.Instance().dispatch(I.USE_ITEM_TIME)})).start()}else b.user.useTime&&b.user.time>0&&R.Instance().dispatch(I.USE_ITEM_TIME)}),2e3);case 37:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}(),i.restart=function(){this.allTiles.map((function(e){return e.destroy()})),this.allTiles=[],x.Instance()._GameUI.star=0,this.collectTiles.map((function(e){return e.destroy()})),this.collectTiles=[],this.createTiles(),this.lock=!1},i.start=function(){var e=this;setTimeout((function(){e.initWall(),e.collectpos=[],e.GetNode("collectbox").children.map((function(t){e.collectpos.push(t.worldPosition),t.active=!1}))}),100),R.Instance().register(this,I.CLEAR_ALL_BOX,(function(){console.log("清空盒子"),e.lock=!1,setTimeout((function(){for(var t=0;t<e.collectTiles.length;++t)e.pushBask(e.collectTiles[t].name);e.collectTiles.map((function(e){e.destroy()})),e.collectTiles=[]}),500)})),R.Instance().register(this,I.USE_ITEM_HINT,(function(){for(var t={},n=0;n<e.collectTiles.length;++n){var o=e.collectTiles[n].name;t[o]||(t[o]=0),t[o]++}var s=!1,i=!1,a="";for(var l in t)if(2==t[l]){a=l,i=!0;break}if(i){console.log("找到两个一样");for(var r=0;r<e.allTiles.length;++r)if(e.allTiles[r].name==a){e.chooseTile(e.allTiles[r]);break}s=!0}else{if(e.collectTiles.length>=5)return void N.show("未找到合适物品");a=e.collectTiles[0]?e.collectTiles[0].name:e.allTiles[0].name,e.allTiles.filter((function(e){return e.name==a})).map((function(t,n){setTimeout((function(){e.chooseTile(t)}),350*n)})),s=!0}s&&b.user.hint--}))},i.pushBask=function(){var e=n(o().mark((function e(t){var n,s,i,a,l,r,c,u,d;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return 0,n=this.GetNode("PlaneDown").worldPosition.z+0,s=this.GetNode("PlaneTop").worldPosition.z-0,i=this.GetNode("PlaneLeft").worldPosition.x+0,a=this.GetNode("PlaneRight").worldPosition.x-0,e.next=7,E.LoadItemPrefabByName(t);case 7:l=e.sent,(r=v(l)).name=t,c=r.addComponent(C),u=c.addCollider(),r.scale=h(1.25,1.25,1.25),r.parent=this.node,u.applyImpulse(h(0,3,0)),d=h(i+(a-i)/2,P.getRandom(12,15),s+(n-s)/2),r.setWorldRotationFromEuler(P.getRandom(0,300),P.getRandom(0,300),P.getRandom(0,300)),r.setWorldPosition(d),this.allTiles.push(r);case 19:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}(),s}(y))||L);s._RF.pop()}}}));

System.register("chunks:///_virtual/GameUI.ts",["./rollupPluginModLoBabelHelpers.js","cc","./BasePanel.ts","./WindowManager.ts","./Data.ts","./Utils2.ts","./GameConst.ts","./MsgHints.ts","./levelsData.ts","./constants.ts","./audioManager.ts"],(function(e){"use strict";var t,i,s,a,n,r,o,c,l,u,h,m,f,_,v,d,p;return{setters:[function(e){t=e.inheritsLoose},function(e){i=e.cclegacy,s=e._decorator,a=e.v3,n=e.tween},function(e){r=e.default},function(e){o=e.default},function(e){c=e.default},function(e){l=e.default},function(e){u=e.ITEM_FROZEN_LV,h=e.ITEM_TYPE,m=e.ITEM_HINT_LV,f=e.default},function(e){_=e.default},function(e){v=e.default},function(e){d=e.constants},function(e){p=e.default}],execute:function(){var G;i._RF.push({},"77bd1Kn5NVDmrfcKi2ozH33","GameUI",void 0);var b=s.ccclass;s.property,e("GameUI",b("GameUI")(G=function(e){function i(){for(var t,i=arguments.length,s=new Array(i),a=0;a<i;a++)s[a]=arguments[a];return(t=e.call.apply(e,[this].concat(s))||this).hint_time=0,t.starNode=null,t.levelTime=0,t.passedTime=0,t.pasue=!1,t.freezetime=!1,t.star=0,t}t(i,e);var s=i.prototype;return s.onBtnClicked=function(e,t){var i=this;switch(e.target.name){case"btn_pause":p.playOneShot(d.audios.btnclick),this.pasue=!0,o.ins.open("PauseLayer");break;case"item_left":if(p.playOneShot(d.audios.btnclick),Date.now()-this.hint_time<2e3)return;if(c.user.lv<m)return void _.show("关卡"+m+"解锁");c.user.hint>0?(this.dispatch(f.USE_ITEM_HINT),this.hint_time=Date.now()):o.ins.open("BuyItemLayer").then((function(e){e.setItemType(h.Hint)}));break;case"item_right":if(this.freezetime)return void _.show("冰冻中...");if(c.user.lv<u)return void _.show("关卡"+u+"解锁");c.user.frozen>0?(c.user.frozen--,this.freezetime=!0,setTimeout((function(){i.freezetime=!1}),5e3),p.playOneShot(d.audios.freeze)):o.ins.open("BuyItemLayer").then((function(e){e.setItemType(h.Frozen)}))}},s.start=function(){var e=this;this.register(f.USE_ITEM_TIME,this.doUseTime.bind(this)),this.register("PAUSE_LAYER_CLOSE",(function(){e.pasue=!1})),this.starNode=this.GetGameObject("star-with-outline")},s.restart=function(){this.SetText("lbl_lv","关卡"+c.user.lv);var e=v.getCurLevelInfo();console.log("关卡数据:",e),this.levelTime=e.time,this.GetGameObject("match-timer-freeze-background").active=!1,this.GetGameObject("match-extra-time-power-up-small").active=!1,this.SetText("lbl_left_item_lv","关卡"+m),this.SetText("lbl_right_item_lv","关卡"+u),this.freezetime=!1,this.pasue=!1,this.passedTime=0},s.doUseTime=function(){var e=this;c.user.time--;var t=this.GetGameObject("match-extra-time-power-up-small");t.active=!0,t.setPosition(a(0,0,0)),n(t).to(.5,{worldPosition:this.GetGameObject("lbl_time").worldPosition}).call((function(){e.levelTime+=60,t.active=!1})).start()},s.update=function(e){if(!(o.ins.isShow("OutOfBoxLayer")||o.ins.isShow("DrawStarLayer")||o.ins.isShow("LevelClearLayer")||o.ins.isShow("FailLayer"))){this.GetGameObject("match-timer-freeze-background").active=this.freezetime,this.pasue||this.freezetime||(this.passedTime+=e),this.SetText("lbl_star",this.star+"");var t=this.levelTime-this.passedTime;t>0?this.SetText("lbl_time",l.getTimeStrByS(t)):o.ins.open("FailLayer"),c.user.lv<m?(this.GetGameObject("item_left_Locked").active=!0,this.GetGameObject("item_left_icon").active=!1):(this.GetGameObject("item_left_Locked").active=!1,this.GetGameObject("item_left_icon").active=!0,this.SetText("lbl_item_left_count",0==c.user.hint?"+":c.user.hint+"")),c.user.lv<u?(this.GetGameObject("item_right_Locked").active=!0,this.GetGameObject("item_right_icon").active=!1):(this.GetGameObject("item_right_Locked").active=!1,this.GetGameObject("item_right_icon").active=!0,this.SetText("lbl_item_rihgt_count",0==c.user.frozen?"+":c.user.frozen+""))}},i}(r))||G);i._RF.pop()}}}));

System.register("chunks:///_virtual/HallUI.ts",["./rollupPluginModLoBabelHelpers.js","cc","./BasePanel.ts","./Data.ts","./WindowManager.ts","./GameConst.ts","./Utils2.ts","./MsgHints.ts","./constants.ts","./audioManager.ts","./platformSystem.ts"],(function(e){"use strict";var t,s,r,a,n,o,i,l,u,c,f,_,h,p,b,v;return{setters:[function(e){t=e.inheritsLoose},function(e){s=e.cclegacy,r=e._decorator,a=e.tween,n=e.v3,o=e.sp},function(e){i=e.default},function(e){l=e.default},function(e){u=e.default},function(e){c=e.BOX_TYPE,f=e.default},function(e){_=e.default},function(e){h=e.default},function(e){p=e.constants},function(e){b=e.default},function(e){v=e.default}],execute:function(){var S;s._RF.push({},"de92erMOJpMz67tMXfSPqCr","HallUI",void 0);var d=r.ccclass;r.property,e("HallUI",d("HallUI")(S=function(e){function s(){return e.apply(this,arguments)||this}t(s,e);var r=s.prototype;return r.onBtnClicked=function(e,t){switch(b.playOneShot(p.audios.btnclick),e.target.name){case"btn_setting":u.ins.open("SettingLayer");break;case"btn_play":v.platform.showRewardVideo((function(e){u.ins.open("LevelLayer")}));break;case"btn_buy_life":if(l.user.life>=f.MAX_LIFE)return void h.show("体力已满");u.ins.open("BuyLifeLayer");break;case"btn_buy_coin":u.ins.open("BuyCoinLayer");break;case"full0":l.user.hasLvBox();u.ins.open("BoxLayer").then((function(e){e.setInfo(c.LEVEL,f.getLvBoxReward(Math.floor(l.user.lv/10)))}));break;case"full1":l.user.hasStarBox(),u.ins.open("BoxLayer").then((function(e){e.setInfo(c.STAR,f.getStarBoxReward(Math.floor(l.user.lv/1e3)))}))}},r.start=function(){this.SetProgressBar("probar_lv",.1);var e=this.GetNode("btn_play");a(e).sequence(a(e).to(1,{scale:n(1.05,1.05,1.05)}),a(e).to(1,{scale:n(1,1,1)})).repeatForever().start(),_.loadRes("effect_hecheng","spine",o.SkeletonData)},r.update=function(){if(l.user.life>=f.MAX_LIFE)this.SetText("lbl_life_time","已满");else{0==l.user.life_cost_time&&(l.user.life_cost_time=Date.now());var e=(Date.now()-l.user.life_cost_time)/1e3,t=Math.floor(e/60/f.MAX_LIFE_RECOVERY_TIME);t>0&&(l.user.life+=t),e-=t*f.MAX_LIFE_RECOVERY_TIME*60,this.SetText("lbl_life_time",_.getTimeStrByS(60*f.MAX_LIFE_RECOVERY_TIME-e))}this.SetText("lbl_life",l.user.life+""),this.SetText("lbl_coin",l.user.coin+""),this.SetText("lbl_lv",l.user.lv+""),this.SetText("lbl_lv_center",l.user.lv+"");var s=l.user.hasLvBox();this.GetGameObject("full0").active=s;var r=l.user.lv%10;if(this.SetText("lbl_pro_lv",r+"/10"),this.SetProgressBar("lbl_pro_star",r/10),this.SetProgressBar("probar_lv_center",r/10),this.SetProgressBar("probar_lv",r/10),s=l.user.hasStarBox())this.SetText("probar_star","满"),this.SetProgressBar("probar_star",1),this.GetGameObject("full1").active=!0;else{var a=l.user.star%1e3;this.GetGameObject("full1").active=!1,this.SetText("lbl_pro_star",a+"/1000"),this.SetProgressBar("probar_star",a/1e3)}},s}(i))||S);s._RF.pop()}}}));

System.register("chunks:///_virtual/LevelClearLayer.ts",["./rollupPluginModLoBabelHelpers.js","cc","./BasePanel.ts","./Data.ts","./WindowManager.ts","./Main.ts","./levelsData.ts","./audioManager.ts","./constants.ts"],(function(t){"use strict";var e,s,a,r,n,i,c,o,l,u;return{setters:[function(t){e=t.inheritsLoose},function(t){s=t.cclegacy,a=t._decorator},function(t){r=t.default},function(t){n=t.default},function(t){i=t.default},function(t){c=t.Main},function(t){o=t.default},function(t){l=t.default},function(t){u=t.constants}],execute:function(){var h;s._RF.push({},"93baa702sZFwbZLgUN08Djz","LevelClearLayer",void 0);var d=a.ccclass;a.property,t("LevelClearLayer",d("LevelClearLayer")(h=function(t){function s(){for(var e,s=arguments.length,a=new Array(s),r=0;r<s;r++)a[r]=arguments[r];return(e=t.call.apply(t,[this].concat(a))||this).addstar=0,e.real_add_star=0,e.cur=0,e.cdt=0,e.ok=!1,e}e(s,t);var a=s.prototype;return a.start=function(){this.SetText("lbl_lvv","关卡"+n.user.lv+"\n通过"),n.user.lv++},a.onBtnClicked=function(t,e){if(this.ok)switch(l.playOneShot(u.audios.btnclick),t.target.name){case"btn_hall":n.user.star+=this.real_add_star,n.save(),this.close(),c.Instance().backHall();break;case"btn_next":n.user.star+=this.real_add_star,n.save(),this.close(),c.Instance().play()}},a.setAddStar=function(t){this.real_add_star=t,this.addstar=t,this.cur=n.user.star%100,this.SetProgressBar("ProgressBar",this.cur/100),this.SetText("lbl_pro",100*Math.floor(this.cur/100)+"%")},a.update=function(t){if(!(this.ok||(this.cdt+=t,this.cdt<.01))){this.cdt=0,this.addstar>0?(this.addstar--,this.cur++,this.cur>100&&(this.cur=100,this.ok=!0)):this.ok=!0;var e=o.getNormModelDatas();this.ok&&this.cur>=100&&n.user.openIndex<e.length-1&&i.ins.open("NewPackOpenedLayer",n.user.openIndex),this.SetProgressBar("ProgressBar",this.cur/100),this.SetText("lbl_pro",this.cur+"%")}},s}(r))||h);s._RF.pop()}}}));

System.register("chunks:///_virtual/LevelLayer.ts",["./rollupPluginModLoBabelHelpers.js","cc","./GameConst.ts","./BasePanel.ts","./Data.ts","./WindowManager.ts","./Main.ts","./audioManager.ts","./constants.ts"],(function(e){"use strict";var t,s,i,n,a,c,o,u,r,l,m,h;return{setters:[function(e){t=e.inheritsLoose},function(e){s=e.cclegacy,i=e._decorator},function(e){n=e.ITEM_MAGENT_LV,a=e.ITEM_TIME_LV,c=e.ITEM_TYPE},function(e){o=e.default},function(e){u=e.default},function(e){r=e.default},function(e){l=e.Main},function(e){m=e.default},function(e){h=e.constants}],execute:function(){var _;s._RF.push({},"72e80Oh5tdJWJfsfdb8Okk8","LevelLayer",void 0);var v=i.ccclass;i.property,e("LevelLayer",v("LevelLayer")(_=function(e){function s(){return e.apply(this,arguments)||this}t(s,e);var i=s.prototype;return i.start=function(){this.GetGameObject("lock1").active=u.user.lv<n,this.GetGameObject("icon1").active=u.user.lv>=n,this.GetGameObject("lock2").active=u.user.lv<a,this.GetGameObject("icon2").active=u.user.lv>=a,this.SetText("lbl_item_magent_lv",n+"级解锁"),this.SetText("lbl_item_time_lv",a+"级解锁"),u.user.magnet>0?this.SetText("lbl_item1_num",u.user.magnet+""):this.SetText("lbl_item1_num","+"),u.user.time>0?this.SetText("lbl_item2_num",u.user.time+""):this.SetText("lbl_item2_num","+"),this.SetText("lbl_lvv","关卡"+u.user.lv)},i.onBtnClicked=function(e,t){switch(m.playOneShot(h.audios.btnclick),e.target.name){case"btn_close":this.close();break;case"btn_item_1":if(u.user.lv<n)return;0==u.user.magnet?(r.ins.open("BuyItemLayer").then((function(e){e.setItemType(c.Magnet)})),this.close()):this.GetGameObject("choose_item1").active=!this.GetGameObject("choose_item1").active;break;case"btn_item_2":if(u.user.lv<a)return;0==u.user.time?(r.ins.open("BuyItemLayer").then((function(e){e.setItemType(c.Time)})),this.close()):this.GetGameObject("choose_item2").active=!this.GetGameObject("choose_item2").active;break;case"btn_play":u.user.useMagnet=this.GetGameObject("choose_item1").active,u.user.useTime=this.GetGameObject("choose_item2").active,this.close(),l.Instance().play();break;case"btn_back":this.close()}},s}(o))||_);s._RF.pop()}}}));

System.register("chunks:///_virtual/levelsData.ts",["./rollupPluginModLoBabelHelpers.js","cc","./constants.ts","./utils.ts","./localConfig.ts","./Data.ts","./Utils2.ts"],(function(e){"use strict";var t,n,a,l,o,r,s,c,i,u,d,f;return{setters:[function(e){t=e.createClass,n=e.asyncToGenerator,a=e.regeneratorRuntime},function(e){l=e.cclegacy,o=e._decorator,r=e.sys,s=e.Prefab},function(e){c=e.constants},function(e){i=e.utils},function(e){u=e.localConfig},function(e){d=e.default},function(e){f=e.default}],execute:function(){var h,b;l._RF.push({},"3b744Kuy8NH4q/cKl7BVA35","levelsData",void 0);var v=o.ccclass,m=(o.property,e("levelsData",v("levelsData")(((b=function(){function e(){this.data=null,this._levelTable=null,this._deblockModelTable=null,this._normModelTable=null}e.ins=function(){return this.instance||(this.instance=new e),this.instance};var l=e.prototype;return l.loadFromCache=function(){var e=r.localStorage.getItem(c.localCache.settingData);e?this.data=JSON.parse(i.decrypt(e)):(this.data={},this.saveToCache())},l.getDeblockDatas=function(){return this.deblockModelTable.map((function(e){return e.name}))},l.getNormModelDatas=function(){return this.normModelTable.map((function(e){return e.name}))},l.getCurLevelInfo=function(){var e=this.levelTable,t=d.user.lv-1;return t>e.length?e[e.length-1]:e[t]},l.LoadItemPrefabByName=function(){var e=n(a().mark((function e(t){return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(-1==["Anvil","Apple","Attach"].indexOf(t)){e.next=2;break}return e.abrupt("return",f.loadRes(t,"item0",s));case 2:return e.abrupt("return",f.loadRes(t,"item1",s));case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),l.saveToCache=function(){var e=JSON.stringify(this.data);r.localStorage.setItem(c.localCache.levelsData,i.encrypt(e))},l.remove=function(){r.localStorage.removeItem(c.localCache.levelsData),this.loadFromCache()},t(e,[{key:"levelTable",get:function(){return this._levelTable||(this._levelTable=u.instance.getTableArr("levels")),this._levelTable}},{key:"deblockModelTable",get:function(){return this._deblockModelTable||(this._deblockModelTable=u.instance.getTableArr("deblock_model")),this._deblockModelTable}},{key:"normModelTable",get:function(){return this._normModelTable||(this._normModelTable=u.instance.getTableArr("norm_model")),this._normModelTable}}]),e}()).instance=null,h=b))||h));e("default",m.ins());l._RF.pop()}}}));

System.register("chunks:///_virtual/Loading.ts",["./rollupPluginModLoBabelHelpers.js","cc","./Utils2.ts","./PoolMgr.ts","./Data.ts","./BusyLoadingManager.ts","./audioManager.ts","./localConfig.ts","./platformSystem.ts","./settingData.ts"],(function(t){"use strict";var e,n,a,r,o,i,u,c,s,l,f,d,p,g;return{setters:[function(t){e=t.inheritsLoose,n=t.asyncToGenerator,a=t.regeneratorRuntime},function(t){r=t.cclegacy,o=t._decorator,i=t.Component,u=t.director},function(t){c=t.default},function(t){s=t.default},function(t){l=t.default},null,function(t){f=t.default},function(t){d=t.localConfig},function(t){p=t.default},function(t){g=t.default}],execute:function(){var m;r._RF.push({},"3e27bLpQV9LjZgHxH5Nb2U0","Loading",void 0);var v=o.ccclass;o.property,t("Loading",v("Loading")(m=function(t){function r(){return t.apply(this,arguments)||this}e(r,t);var o=r.prototype;return o.start=function(){var t=n(a().mark((function t(){var e=this;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,f.initialize();case 2:g.loadFromCache(),p.initialize(),d.instance.loadConfig((function(){e.subpackagecomplete()}));case 5:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),o.subpackagecomplete=function(){var t=n(a().mark((function t(){return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return l.loadData(),t.next=3,c.loadBundler("item0");case 3:return t.next=5,c.loadBundler("prefabs");case 5:return t.next=7,c.loadBundler("spine");case 7:if(1!=l.user.lv){t.next=11;break}c.loadBundler("item1"),t.next=13;break;case 11:return t.next=13,c.loadBundler("item1");case 13:return t.next=15,s.Instance().loadPrefabs();case 15:u.loadScene("main");case 17:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),r}(i))||m);r._RF.pop()}}}));

System.register("chunks:///_virtual/localConfig.ts",["./rollupPluginModLoBabelHelpers.js","cc","./csvManager.ts"],(function(n){"use strict";var t,e,a,r,i;return{setters:[function(n){t=n.createClass},function(n){e=n.cclegacy,a=n._decorator,r=n.assetManager},function(n){i=n.csvManager}],execute:function(){var c,o;e._RF.push({},"e3aecR1d21DhYuA+rBFBObu","localConfig",void 0);var s=a.ccclass;a.property,n("localConfig",s("localConfig")(((o=function(){function n(){this._csvManager=new i,this._callback=new Function,this._currentLoad=0,this._cntLoad=0}var e=n.prototype;return e.loadConfig=function(n){this._callback=n,this._loadCSV()},e._loadCSV=function(){var n=this;r.loadBundle("csb",(function(t,e){if(t)console.error("Failed to load bundle:",t);else{var a=e.getDirWithPath("").filter((function(n){return!n.path.endsWith(".md")}));n._cntLoad=a.length,0!==a.length?a.forEach((function(t){e.load(t.path,(function(e,a){if(e)console.error("Failed to load "+t.name+":",e);else{var r=a.text;n._csvManager.addTable(t.path,r),n._tryToCallbackOnFinished()}}))})):n._tryToCallbackOnFinished()}}))},e.queryOne=function(n,t,e){return this._csvManager.queryOne(n,t,e)},e.queryByID=function(n,t){return this._csvManager.queryByID(n,t)},e.getTable=function(n){return this._csvManager.getTable(n)},e.getTableArr=function(n){return this._csvManager.getTableArr(n)},e.queryAll=function(n,t,e){return this._csvManager.queryAll(n,t,e)},e.queryIn=function(n,t,e){return this._csvManager.queryIn(n,t,e)},e.queryByCondition=function(n,t){return this._csvManager.queryByCondition(n,t)},e._tryToCallbackOnFinished=function(){this._callback&&(this._currentLoad++,this._currentLoad>=this._cntLoad&&this._callback())},t(n,null,[{key:"instance",get:function(){return this._instance||(this._instance=new n),this._instance}}]),n}())._instance=void 0,c=o))||c);e._RF.pop()}}}));

System.register("chunks:///_virtual/main",["./constants.ts","./levelsData.ts","./settingData.ts","./utils.ts","./audioManager.ts","./autoBind.ts","./csvManager.ts","./eventEmitter.ts","./localConfig.ts","./stateManager.ts","./platformBrowser.ts","./platformDefault.ts","./platformSystem.ts","./platformTT.ts","./platformWX.ts","./BusyLoading.ts","./GameConst.ts","./BasePanel.ts","./BaseUI.ts","./ComponentEx.ts","./UIEffect.ts","./GameEvent.ts","./BusyLoadingManager.ts","./ConfigManager.ts","./Data.ts","./PoolMgr.ts","./Singleton.ts","./WindowManager.ts","./DebugTools.ts","./MsgHints.ts","./QuickEnv.ts","./Utils2.ts","./GameNode.ts","./GameUI.ts","./HallUI.ts","./Main.ts","./TileItem.ts","./BoxLayer.ts","./BuyCoinLayer.ts","./BuyItemLayer.ts","./BuyLifeLayer.ts","./DrawStarLayer.ts","./FailLayer.ts","./LevelClearLayer.ts","./LevelLayer.ts","./NewPackOpenedLayer.ts","./OutOfBoxLayer.ts","./PauseLayer.ts","./RoY.ts","./SettingLayer.ts","./Loading.ts","./UserModel.ts"],(function(){"use strict";return{setters:[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],execute:function(){}}}));

System.register("chunks:///_virtual/Main.ts",["./rollupPluginModLoBabelHelpers.js","cc","./WindowManager.ts","./Utils2.ts","./GameNode.ts","./platformSystem.ts"],(function(e){"use strict";var t,n,a,i,o,s,r,c,l,u,d;return{setters:[function(e){t=e.inheritsLoose},function(e){n=e.cclegacy,a=e._decorator,i=e.Prefab,o=e.instantiate,s=e.director,r=e.Component},function(e){c=e.default},function(e){l=e.default},function(e){u=e.GameNode},function(e){d=e.default}],execute:function(){var f,m;n._RF.push({},"7675d1ZGjVAxpV2MDKewYUv","Main",void 0);var _=a.ccclass;a.property,e("Main",_("Main")(((m=function(e){function n(){for(var t,n=arguments.length,a=new Array(n),i=0;i<n;i++)a[i]=arguments[i];return(t=e.call.apply(e,[this].concat(a))||this)._HallUI=null,t._GameUI=null,t._GameNode=null,t}t(n,e),n.Instance=function(){return n._instance};var a=n.prototype;return a.start=function(){var e=this;n._instance=this,c.ins.register(this.node),c.ins.open("HallUI").then((function(t){e._HallUI=t})),c.ins.open("GameUI").then((function(t){e._GameUI=t,e._GameUI.node.active=!1})),l.loadRes("GameNode","prefabs",i,(function(t,n){e._GameNode=o(n).getComponent(u),s.getScene().addChild(e._GameNode.node)}))},a.play=function(){this._HallUI.node.active=!1,this._GameUI.node.active=!0,this._GameUI.restart(),this._GameNode.node.active=!0,this._GameNode.restart(),d.platform.hideBannerAd()},a.backHall=function(){d.platform.showBannerAd(),this._GameNode.node.active=!1,this._HallUI.node.active=!0,this._GameUI.node.active=!1},n}(r))._instance=null,f=m))||f);n._RF.pop()}}}));

System.register("chunks:///_virtual/MsgHints.ts",["./rollupPluginModLoBabelHelpers.js","cc","./Utils2.ts"],(function(t){"use strict";var e,n,s,o,i,r,a,c,l,u,f;return{setters:[function(t){e=t.inheritsLoose},function(t){n=t.cclegacy,s=t._decorator,o=t.Label,i=t.v3,r=t.tween,a=t.Prefab,c=t.instantiate,l=t.find,u=t.Component},function(t){f=t.default}],execute:function(){var p;n._RF.push({},"de116ie6JpEB7N+yP2G1fwL","MsgHints",void 0);var d=s.ccclass;s.property,t("default",d(p=function(t){function n(){return t.apply(this,arguments)||this}return e(n,t),n.prototype.setMsg=function(t){this.node.getComponentInChildren(o).string=t,this.node.setScale(i(0,0,0)),r(this.node).to(.1,{scale:i(1.1,1.1,1)}).to(.1,{scale:i(.9,.9,1)}).to(.1,{scale:i(1,1,1)}).delay(.5).by(.5,{worldPosition:i(0,100,0)}).removeSelf().start()},n.show=function(t){f.loadRes("common/MsgHints","prefabs",a,(function(e,s){var o=c(s);o.parent=l("Canvas"),o.getComponent(n).setMsg(t)}))},n}(u))||p);n._RF.pop()}}}));

System.register("chunks:///_virtual/NewPackOpenedLayer.ts",["./rollupPluginModLoBabelHelpers.js","cc","./BasePanel.ts","./Data.ts","./levelsData.ts","./platformSystem.ts","./audioManager.ts","./constants.ts"],(function(e){"use strict";var t,n,a,s,o,r,c,i,u,l,d;return{setters:[function(e){t=e.inheritsLoose},function(e){n=e.cclegacy,a=e._decorator,s=e.instantiate,o=e.MeshRenderer},function(e){r=e.default},function(e){c=e.default},function(e){i=e.default},function(e){u=e.default},function(e){l=e.default},function(e){d=e.constants}],execute:function(){var f;n._RF.push({},"95f086kzGRB7ZwROVD6GqqD","NewPackOpenedLayer",void 0);var p=a.ccclass;a.property,e("NewPackOpenedLayer",p("NewPackOpenedLayer")(f=function(e){function n(){return e.apply(this,arguments)||this}t(n,e);var a=n.prototype;return a.onBtnClicked=function(e,t){l.playOneShot(d.audios.btnclick),this.close()},a.show=function(){u.platform.showInterstitialAd();var e=this.GetGameObject("node_items");e.children.map((function(e){return e.active=!1}));for(var t=[],n=i.getNormModelDatas(),a=c.user.openIndex;a<c.user.openIndex+8&&a<n.length;++a)t.push(n[a]);for(a=0;a<e.children.length;++a){var s=e.children[a];s.active=!0,this.setMesh(s,t[a])}c.user.openIndex+=8,c.user.openIndex=Math.min(c.user.openIndex,n.length-1),c.save()},a.setMesh=function(e,t){i.LoadItemPrefabByName(t).then((function(t){var n=s(t),a=n.getComponentInChildren(o),r=a.mesh;e.scale=a.node.scale.multiplyScalar(100),e.getComponent(o).mesh=r,n.destroy()}))},n}(r))||f);n._RF.pop()}}}));

System.register("chunks:///_virtual/OutOfBoxLayer.ts",["./rollupPluginModLoBabelHelpers.js","cc","./BasePanel.ts","./WindowManager.ts","./GameConst.ts","./Main.ts","./platformSystem.ts","./constants.ts","./audioManager.ts"],(function(t){"use strict";var e,a,n,o,s,c,i,r,u,l,f,p;return{setters:[function(t){e=t.inheritsLoose},function(t){a=t.cclegacy,n=t._decorator,o=t.tween,s=t.v3},function(t){c=t.default},function(t){i=t.default},function(t){r=t.default},function(t){u=t.Main},function(t){l=t.default},function(t){f=t.constants},function(t){p=t.default}],execute:function(){var h;a._RF.push({},"9ac6aLLMndCu5E85jDiIYvn","OutOfBoxLayer",void 0);var m=n.ccclass;n.property,t("OutOfBoxLayer",m("OutOfBoxLayer")(h=function(t){function a(){return t.apply(this,arguments)||this}e(a,t);var n=a.prototype;return n.start=function(){var t=this.GetGameObject("btn_clear");o(t).sequence(o(t).to(1,{scale:s(.8,.8,.8)}),o(t).to(1,{scale:s(1,1,1)})).repeatForever().start(),this.SetText("lbl_coll_star",u.Instance()._GameUI.star+""),this.GetGameObject("one-more-chance-bg").active=!1,u.Instance()._GameUI.pasue=!0,p.playOneShot(f.audios.softFail)},n.onDestroy=function(){t.prototype.onDestroy.call(this),u.Instance()._GameUI.pasue=!1},n.onBtnClicked=function(t,e){var a=this;switch(p.playOneShot(f.audios.btnclick),t.target.name){case"btn_close":if(0==this.GetGameObject("one-more-chance-bg").active&&u.Instance()._GameUI.star>0)return this.GetGameObject("one-more-chance-bg").active=!0,void o(this.GetGameObject("one-more-chance-bg")).to(1,{position:s(0,372,0)}).start();this.close(),i.ins.open("FailLayer");break;case"btn_clear":l.platform.showRewardVideo((function(t){0==t?(a.dispatch(r.CLEAR_ALL_BOX),a.close()):-2==t&&l.platform.shareAppMessage((function(t){t&&(a.dispatch(r.CLEAR_ALL_BOX),a.close())}))}))}},a}(c))||h);a._RF.pop()}}}));

System.register("chunks:///_virtual/PauseLayer.ts",["./rollupPluginModLoBabelHelpers.js","cc","./BasePanel.ts","./Data.ts","./WindowManager.ts","./Main.ts","./platformSystem.ts","./audioManager.ts","./constants.ts"],(function(t){"use strict";var e,n,a,s,o,c,i,r,u,l;return{setters:[function(t){e=t.inheritsLoose},function(t){n=t.cclegacy,a=t._decorator},function(t){s=t.default},function(t){o=t.default},function(t){c=t.default},function(t){i=t.Main},function(t){r=t.default},function(t){u=t.default},function(t){l=t.constants}],execute:function(){var f;n._RF.push({},"93de8HCDIpMoo5uK/Fa+/dk","PauseLayer",void 0);var p=a.ccclass;a.property,t("PauseLayer",p("PauseLayer")(f=function(t){function n(){return t.apply(this,arguments)||this}e(n,t);var a=n.prototype;return a.onDestroy=function(){this.dispatch("PAUSE_LAYER_CLOSE"),t.prototype.onDestroy.call(this)},a.start=function(){r.platform.showInterstitialAd()},a.onBtnClicked=function(t,e){switch(u.playOneShot(l.audios.btnclick),t.target.name){case"btn_close":this.close();break;case"btn_hall":o.user.life--,o.user.life_cost_time=Date.now(),this.close(),i.Instance().backHall();break;case"btn_replay":this.close(),c.ins.open("LevelLayer");break;case"btn_back":this.close()}},n}(s))||f);n._RF.pop()}}}));

System.register("chunks:///_virtual/platformBrowser.ts",["cc","./MsgHints.ts"],(function(t){"use strict";var n,o,e;return{setters:[function(t){n=t.cclegacy,o=t._decorator},function(t){e=t.default}],execute:function(){n._RF.push({},"642c06JTxZCOYGq+F/jKDw1","platformBrowser",void 0);o.ccclass,o.property,t("default",new(function(){function t(){this.adInstance=null,this.gtag=null,this.openAd=!0}var n=t.prototype;return n.initialize=function(){this.adInstance=window.adInstance;try{var t,n;null==(t=window.__woso)||null==(n=t.TopCallback)||n.call(t)}catch(t){}console.log("web ads sdk初始化")},n.showInterstitialAd=function(t){try{window.showAd("interstitial").then((function(){console.log("rewarded11111")})).catch((function(){console.log("rewarded22222")}))}catch(t){}},n.showRewardVideo=function(t){try{return void window.showAd("rewarded").then((function(){e.show("rewarded11111"),t&&t(0)})).catch((function(){e.show("The ad failed to load")}))}catch(t){}},n.hideBannerAd=function(){},n.showBannerAd=function(){},n.vibrateShort=function(){},t}()));n._RF.pop()}}}));

System.register("chunks:///_virtual/platformDefault.ts",["cc"],(function(o){"use strict";var n,e,t;return{setters:[function(o){n=o.cclegacy,e=o.sys,t=o.native}],execute:function(){n._RF.push({},"e773eRRyrJBg67ULzl8Ax6e","platformDefault",void 0);o("default",new(function(){function o(){}var n=o.prototype;return n.initialize=function(){console.log("初始化默认广告框架")},n.showToast=function(o){console.log("显示toast  ",o)},n.shareAppMessage=function(o){void 0===o&&(o={}),console.log("分享 ",o)},n.vibrateShort=function(o){void 0===o&&(o={}),console.log("短震动 ",o)},n.vibrateLong=function(o){void 0===o&&(o={}),console.log("长震动 ",o)},n.shareShowReward=function(o){void 0===o&&(o=null),console.log("直接执行分享回调"),o&&o()},n.addDesk=function(o){void 0===o&&(o=null),console.log("添加到桌面回调"),o&&o()},n.showRewardVideo=function(o){void 0===o&&(o=null),console.log("直接执行视频回调"),e.platform==e.Platform.ANDROID?(t.reflection.callStaticMethod("org/cocos2dx/javascript/AppActivity","videoAd","()V"),o&&o(!0)):e.platform==e.Platform.IOS?(t.reflection.callStaticMethod("AppController","videoAd",""),o&&o(!0)):o&&o(!0)},n.showBannerAd=function(){console.log("显示banner广告")},n.hideBannerAd=function(o){void 0===o&&(o=!1),console.log("隐藏banner广告，刷新：",o)},n.refreshBannerAd=function(){console.log("刷新banner广告")},n.showInterstitialAd=function(){console.log("显示插屏广告")},n.showCustomAd=function(){console.log("显示自定义广告")},n.hideCustomAd=function(){console.log("隐藏自定义广告")},n.showSigleCustomAd=function(){console.log("展示单个自定义广告")},n.hideSigleCustomAd=function(){console.log("隐藏展示单个自定义广告")},n.exitGame=function(){console.log("退出游戏")},n.__createVideoAd=function(){console.log("创建视频广告")},n.__createBannerAd=function(){console.log("创建banner广告")},n.__createInterstitialAd=function(){console.log("创建插屏广告")},n.__customAdExist=function(){console.log("格子广告是否存在")},n.isSupportDesk=function(){return!1},o}()));n._RF.pop()}}}));

System.register("chunks:///_virtual/platformSystem.ts",["./rollupPluginModLoBabelHelpers.js","cc","./platformWX.ts","./platformTT.ts","./platformBrowser.ts","./platformDefault.ts"],(function(t){"use strict";var a,r,e,f,l,i,o;return{setters:[function(t){a=t.createClass},function(t){r=t.cclegacy,e=t.sys},function(t){f=t.default},function(t){l=t.default},function(t){i=t.default},function(t){o=t.default}],execute:function(){r._RF.push({},"f35f0aO/J1PuqeE2EPiQSsv","platformSystem",void 0);t("default",new(function(){function t(){this._platformWX=f,this._platformTT=l,this._platformBrowser=i,this._platformDefault=o}return t.prototype.initialize=function(){switch(e.platform){case e.Platform.WECHAT_GAME:this._platformWX.initialize();break;case e.Platform.BYTEDANCE_MINI_GAME:this._platformTT.initialize();break;case e.Platform.MOBILE_BROWSER:case e.Platform.DESKTOP_BROWSER:this._platformBrowser.initialize();break;default:this._platformDefault.initialize()}},a(t,[{key:"platform",get:function(){switch(e.platform){case e.Platform.WECHAT_GAME:return this._platformWX;case e.Platform.BYTEDANCE_MINI_GAME:return this._platformTT;case e.Platform.MOBILE_BROWSER:case e.Platform.DESKTOP_BROWSER:return this._platformBrowser;default:return this._platformDefault}}}]),t}()));r._RF.pop()}}}));

System.register("chunks:///_virtual/platformTT.ts",["cc"],(function(e){"use strict";var n;return{setters:[function(e){n=e.cclegacy}],execute:function(){n._RF.push({},"1b9b3sV6cBKaYOYD7a6q/Fs","platformTT",void 0);var i,t={banner:"30a3ll993k15aakgla",video:"o1h5n7r8fnp31df3g1",interstitial:"4687fak66i8aklc5hd"};e("default",new(function(){function e(){this._onHideTime=1/0,this._shareTimes=0,this._rewardVideo=void 0,this._bannerAd=void 0,this._interstitialAd=void 0,this._shareSuccessHandler=null,this._videoSuccessHandler=null,this._showInterstitialAdTime=null,this._shareModalIsActive=!1,this._shareStr="东北F4来到美国西部拓荒时代，保卫城镇，完成自我救赎。"}var n=e.prototype;return n.initialize=function(){var e=this;i=tt,console.log("初始化抖音框架"),i.onShow((function(e){1104==e.scene&&console.log("从侧边栏复访")})),i.showShareMenu({withShareTicket:!0,menus:["shareAppMessage","shareTimeline"],success:function(){},fail:function(){},complete:function(){}}),i.onShareAppMessage(function(){i.shareAppMessage({title:this._shareStr,query:"shareMsg=a=1"})}.bind(this)),i.onShow((function(n){null!=e._shareSuccessHandler&&(e._shareModalIsActive||(Date.now()-e._onHideTime>=1900?e._shareSuccessHandler&&e._shareSuccessHandler(!0):(i.showModal({title:"分享提示",content:"成功分享到群即可获得奖励",success:function(n){n.confirm?e.shareShowReward(e._shareSuccessHandler(!1)):n.cancel&&(e._shareSuccessHandler=null),e._shareModalIsActive=!1}}),e._shareModalIsActive=!0),e._onHideTime=1/0))})),this.__createVideoAd()},n.isCheckScene=function(e){void 0===e&&(e=null),i.checkScene({scene:"sidebar",success:function(n){e&&(n.isExist,e(!1))},fail:function(n){console.error("检查侧边栏支持失败",n),e&&e(!1)}})},n.openSideBar=function(e){void 0===e&&(e=null),i.navigateToScene({scene:"sidebar",success:function(){null==e||e("成功打开侧边栏",!0)},fail:function(n){null==e||e("打开侧边栏失败",!1)}})},n.isSupportDesk=function(){return!0},n.addDesk=function(e){i.addShortcut({success:function(){i.showToast({title:"创建桌面快捷方式成功"})},fail:function(e){i.showToast({title:"创建桌面快捷方式失败",err:e})}})},n.showToast=function(e){var n={title:"",icon:"none",duration:2e3};Object.assign(n,e),i.showToast(n)},n.shareAppMessage=function(e){void 0===e&&(e={}),i.shareAppMessage(e)},n.vibrateShort=function(e){void 0===e&&(e={}),i.vibrateShort(e)},n.vibrateLong=function(e){void 0===e&&(e={}),i.vibrateLong(e)},n.showCustomAd=function(e){},n.hideCustomAd=function(){},n.showSigleCustomAd=function(){},n.hideSigleCustomAd=function(){},n.shareShowReward=function(e){void 0===e&&(e=null),e&&(this._shareSuccessHandler=e),this._onHideTime=Date.now(),this.shareAppMessage({title:this._shareStr,query:"shareMsg=a=1"})},n.showRewardVideo=function(e){var n=this;void 0===e&&(e=null),this._rewardVideo?(this._videoSuccessHandler=e,this._rewardVideo.show().then((function(){console.log("视频播放成功")})).catch((function(i){n._rewardVideo.load().then((function(){n._rewardVideo.show().then((function(){console.log("视频重新加载，播放成功")}))})).catch((function(i){null==n._videoSuccessHandler||n._videoSuccessHandler(!1),n.shareShowReward(e),n._videoSuccessHandler=null}))}))):this.__turnVideoToShare(e)},n.showBannerAd=function(){var e=this;if(this._bannerAd){var n=i.getSystemInfoSync(),t=n.screenWidth,s=n.screenHeight;this._bannerAd.show().then((function(){e._bannerAd.style.left=(t-e._bannerAd.style.realWidth)/2,e._bannerAd.style.top=s-e._bannerAd.style.realHeight})).catch((function(e){console.log("banner广告显示出错",e)}))}},n.hideBannerAd=function(e){void 0===e&&(e=!1),this._bannerAd&&(this._bannerAd.hide(),e&&this.refreshBannerAd())},n.refreshBannerAd=function(){this._bannerAd&&(this._bannerAd.destroy(),this.__createBannerAd())},n.showInterstitialAd=function(e){if(void 0===e&&(e=!1),e){if(!this._interstitialAd)return;this._interstitialAd.show()}else{if(!this._interstitialAd)return;var n=Date.now();if(null==this._showInterstitialAdTime)return void(this._showInterstitialAdTime=n);n-this._showInterstitialAdTime>12e4&&(this._interstitialAd.show(),this._showInterstitialAdTime=n)}},n.exitGame=function(){wx.exitMiniProgram({})},n.__createVideoAd=function(){var e=this;this._rewardVideo=i.createRewardedVideoAd({adUnitId:t.video}),this._rewardVideo.onClose((function(n){n&&n.isEnded||void 0===n?null==e._videoSuccessHandler||e._videoSuccessHandler(!0):(e.showToast({title:"完整观看视频才有奖励哦"}),null==e._videoSuccessHandler||e._videoSuccessHandler(!1)),e._videoSuccessHandler=null})),this._rewardVideo.onError((function(n){null==e._videoSuccessHandler||e._videoSuccessHandler(!1),e.showToast({title:"暂时没有可观看的视频"}),e.shareShowReward(e._videoSuccessHandler),e._videoSuccessHandler=null}))},n.__createBannerAd=function(){var e=i.getSystemInfoSync(),n=e.screenWidth,s=e.screenHeight,o=.85*n,r=(n-o)/2;this._bannerAd=i.createBannerAd({adUnitId:t.banner,adIntervals:48,style:{left:r,top:s-70,width:o,height:70}}),this._bannerAd.onError((function(e){e.errCode})),this._bannerAd.onResize((function(){}))},n.__createInterstitialAd=function(){this._interstitialAd=i.createInterstitialAd({adUnitId:t.interstitial})},n.__turnVideoToShare=function(e){this.shareShowReward(e),this._videoSuccessHandler=null},e}()));n._RF.pop()}}}));

System.register("chunks:///_virtual/platformWX.ts",["cc","./constants.ts","./utils.ts"],(function(e){"use strict";var t,s,i;return{setters:[function(e){t=e.cclegacy},function(e){s=e.constants},function(e){i=e.utils}],execute:function(){t._RF.push({},"ef013qcT+5IAYjrcLFqwA9m","platformWX",void 0);var n={banner:"adunit-fa7b08ac6d8cf200",video:"adunit-29b5f0955ee77f59",interstitial:"adunit-a3615ebe31eba64a",multiGridCustom:"adunit-xxx",sigleGridCustom:"adunit-d4f43001efd879de"};e("default",new(function(){function e(){this._onHideTime=1/0,this._rewardVideo=void 0,this._bannerAd=void 0,this._interstitialAd=void 0,this._customAd=void 0,this._sigleCustomAd=void 0,this._shareSuccessHandler=null,this._videoSuccessHandler=null,this._customAdCloseHandler=null,this._showInterstitialAdTime=null,this._shareModalIsActive=!1,this._shareStr="东北F4来到美国西部拓荒时代，保卫城镇，完成自我救赎。"}var t=e.prototype;return t.initialize=function(){var e=this;console.log("初始化微信框架"),wx.showShareMenu({withShareTicket:!0,menus:["shareAppMessage","shareTimeline"],success:function(){},fail:function(){},complete:function(){}}),wx.onShareAppMessage(function(){wx.shareAppMessage({imageUrl:"share.jpg",title:this._shareStr,query:"shareMsg=a=1"})}.bind(this)),wx.onShow((function(t){null!=e._shareSuccessHandler&&(e._shareModalIsActive||(Date.now()-e._onHideTime>=1900?e._shareSuccessHandler&&e._shareSuccessHandler(!0):(wx.showModal({title:"分享提示",content:"成功分享到群即可获得奖励",success:function(t){t.confirm?e.shareShowReward(e._shareSuccessHandler(!1)):t.cancel&&(e._shareSuccessHandler=null),e._shareModalIsActive=!1}}),e._shareModalIsActive=!0),e._onHideTime=1/0))})),this.__createVideoAd()},t.showToast=function(e){var t={title:"",icon:"none",duration:2e3};Object.assign(t,e),wx.showToast(t)},t.shareAppMessage=function(e){void 0===e&&(e={}),wx.shareAppMessage(e)},t.vibrateShort=function(e){void 0===e&&(e={}),wx.vibrateShort(e)},t.vibrateLong=function(e){void 0===e&&(e={}),wx.vibrateLong(e)},t.isSupportDesk=function(){return!!wx.canAddToFavorites},t.addDesk=function(){wx.canAddToFavorites?wx.canAddToFavorites({success:function(e){e.canAdd?wx.addToFavorites({title:s.gameName,query:"",success:function(){this.showToast({title:"添加到桌面成功"})},fail:function(e){this.showToast({title:"添加到桌面失败",err:e})}}):this.showToast({title:"当前环境不支持添加到桌面"})},fail:function(e){this.showToast({title:"检查添加到桌面权限失败",err:e})}}):this.showToast({title:"当前环境不支持添加到桌面"})},t.shareShowReward=function(e){void 0===e&&(e=null),e&&(this._shareSuccessHandler=e),this._onHideTime=Date.now(),this.shareAppMessage({imageUrl:"share.jpg",title:this._shareStr,query:"shareMsg=a=1"})},t.showRewardVideo=function(e){var t=this;void 0===e&&(e=null),this._rewardVideo?(this._videoSuccessHandler=e,this._rewardVideo.show().then((function(){console.log("视频播放成功")})).catch((function(s){t._rewardVideo.load().then((function(){t._rewardVideo.show().then((function(){console.log("视频重新加载，播放成功")}))})).catch((function(s){null==t._videoSuccessHandler||t._videoSuccessHandler(!1),t.shareShowReward(e),t._videoSuccessHandler=null}))}))):this.__turnVideoToShare(e)},t.showBannerAd=function(){var e=this;if(this._bannerAd){var t=wx.getSystemInfoSync(),s=t.screenWidth,i=t.screenHeight;this._bannerAd.show().then((function(){e._bannerAd.style.left=(s-e._bannerAd.style.realWidth)/2,e._bannerAd.style.top=i-e._bannerAd.style.realHeight})).catch((function(e){console.log("banner广告显示出错",e)}))}},t.hideBannerAd=function(e){void 0===e&&(e=!1),this._bannerAd&&(this._bannerAd.hide(),e&&this.refreshBannerAd())},t.refreshBannerAd=function(){this._bannerAd&&(this._bannerAd.destroy(),this.__createBannerAd())},t.showInterstitialAd=function(e){if(void 0===e&&(e=!1),e){if(!this._interstitialAd)return;this._interstitialAd.show()}else{if(!this._interstitialAd)return;var t=Date.now();if(null==this._showInterstitialAdTime)return void(this._showInterstitialAdTime=t);t-this._showInterstitialAdTime>12e4&&(this._interstitialAd.show(),this._showInterstitialAdTime=t)}},t.showCustomAd=function(e){this._customAd&&(this._customAdCloseHandler=e,this._customAd.show().catch((function(e){console.log("原生广告显示出错",e)})))},t.hideCustomAd=function(){this._customAd&&this._customAd.hide().catch((function(e){console.log("原生广告隐藏出错",e)}))},t.showSigleCustomAd=function(){this._sigleCustomAd&&this._sigleCustomAd.show().catch((function(e){console.log("原生当个格子广告显示出错",e)}))},t.hideSigleCustomAd=function(){this._sigleCustomAd&&this._sigleCustomAd.hide().catch((function(e){console.log("隐藏单个格子广告出错",e)}))},t.__customSigleAdExist=function(){var e=this;this._sigleCustomAd||this.__createSigleCustomAd(),this._sigleCustomAd.show().then((function(){e._sigleCustomAd.isShow()&&e.hideSigleCustomAd()})).catch((function(t){e._sigleCustomAd.isShow()&&e.hideSigleCustomAd()}))},t.__customAdExist=function(){var e=this;this._customAd||this.__createCustomAd(),this._customAd.show().then((function(){e._customAd.isShow()&&e.hideCustomAd()})).catch((function(t){e._customAd.isShow()&&e.hideCustomAd()}))},t.exitGame=function(){wx.exitMiniProgram({})},t.__createVideoAd=function(){var e=this;this._rewardVideo=wx.createRewardedVideoAd({adUnitId:n.video}),this._rewardVideo.onClose((function(t){t&&t.isEnded||void 0===t?null==e._videoSuccessHandler||e._videoSuccessHandler(!0):(e.showToast({title:"完整观看视频才有奖励哦"}),null==e._videoSuccessHandler||e._videoSuccessHandler(!1)),e._videoSuccessHandler=null})),this._rewardVideo.onError((function(t){null==e._videoSuccessHandler||e._videoSuccessHandler(!1),e.showToast({title:"暂时没有可观看的视频"}),e.shareShowReward(e._videoSuccessHandler),e._videoSuccessHandler=null}))},t.__createBannerAd=function(){var e=wx.getSystemInfoSync(),t=(i.isNormalScreen(),.85*e.screenWidth);this._bannerAd=wx.createBannerAd({adUnitId:n.banner,adIntervals:48,style:{left:0,top:e.screenHeight,width:t,height:70}}),this._bannerAd.onError((function(e){e.errCode})),this._bannerAd.onResize((function(){}))},t.__createInterstitialAd=function(){this._interstitialAd=wx.createInterstitialAd({adUnitId:n.interstitial})},t.__createCustomAd=function(){var e=this,t=wx.getSystemInfoSync();this._customAd=wx.createCustomAd({adUnitId:n.multiGridCustom,adIntervals:60,style:{left:0,top:.16*t.screenHeight,with:.9*t.screenWidth}}),this._customAd&&(this._customAd.onHide((function(t){e._customAdCloseHandler&&e._customAdCloseHandler()})),this._customAd.onError((function(e){e.errCode})))},t.__createSigleCustomAd=function(){var e=wx.getSystemInfoSync(),t=i.isNormalScreen();this._sigleCustomAd=wx.createCustomAd({adUnitId:n.sigleGridCustom,adIntervals:60,style:{left:.49*e.screenWidth,top:.038*e.screenHeight+(t?20:35)}}),this._sigleCustomAd.onError((function(e){console.log("展示格子广告失败1")}))},t.__turnVideoToShare=function(e){this.shareShowReward(e),this._videoSuccessHandler=null},e}()));t._RF.pop()}}}));

System.register("chunks:///_virtual/PoolMgr.ts",["./rollupPluginModLoBabelHelpers.js","cc","./Utils2.ts","./Singleton.ts"],(function(t){"use strict";var e,n,o,r,s,i,u,a,c,l,p;return{setters:[function(t){e=t.inheritsLoose,n=t.asyncToGenerator,o=t.regeneratorRuntime},function(t){r=t.cclegacy,s=t.NodePool,i=t.instantiate,u=t.error,a=t.log,c=t.Prefab},function(t){l=t.default},function(t){p=t.default}],execute:function(){r._RF.push({},"0a458ZK0HlOqLID6d1WmPwY","PoolMgr",void 0);var f=t("default",function(t){function r(){for(var e,n=arguments.length,o=new Array(n),r=0;r<n;r++)o[r]=arguments[r];return(e=t.call.apply(t,[this].concat(o))||this).pools={},e.prefabs={},e.getputcount={},e}e(r,t);var p=r.prototype;return p.loadPrefabs=function(){var t=n(o().mark((function t(){var e,n,r,s;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e=[{path:"items/Coin",bundle:"prefabs",key:"Coin",cn:3},{path:"items/Life",bundle:"prefabs",key:"Life",cn:3},{path:"items/Star",bundle:"prefabs",key:"Star",cn:3}],t.prev=1,n=0;case 3:if(!(n<e.length)){t.next=12;break}return r=e[n],t.next=7,l.loadRes(r.path,r.bundle,c);case 7:s=t.sent,this.initPool(r.key,s,r.cn);case 9:++n,t.next=3;break;case 12:t.next=17;break;case 14:t.prev=14,t.t0=t.catch(1),console.error(t.t0);case 17:case"end":return t.stop()}}),t,this,[[1,14]])})));return function(){return t.apply(this,arguments)}}(),p.initPool=function(t,e,n){this.prefabs[t]=e,this.pools[t]=new s;for(var o=0;o<n;++o)this.pools[t].put(i(e))},p.get=function(t){return null==this.pools[t]?(u("没有"+t),null):(this.getputcount[t]||(this.getputcount[t]=0),this.getputcount[t]++,this.pools[t].size()>0?this.pools[t].get():i(this.prefabs[t]))},p.put=function(t,e){this.getputcount[t]||(this.getputcount[t]=0),this.getputcount[t]--,this.pools[t]||console.error(t),this.pools[t].put(e)},p.trace=function(){for(var t in this.pools)a(t,this.pools[t].size())},r}(p));window.PoolMgr=f,r._RF.pop()}}}));

System.register("chunks:///_virtual/QuickEnv.ts",["./rollupPluginModLoBabelHelpers.js","cc"],(function(t){"use strict";var e,o,r,i,n,s,p,c,g,l,y,h,a,u,d,w;return{setters:[function(t){e=t.applyDecoratedDescriptor,o=t.inheritsLoose,r=t.initializerDefineProperty,i=t.assertThisInitialized,n=t.createClass},function(t){s=t.cclegacy,p=t._decorator,c=t.Vec3,g=t.Color,l=t.Enum,y=t.renderer,h=t.CCFloat,a=t.director,u=t.MeshRenderer,d=t.DirectionalLight,w=t.Component}],execute:function(){var b,f,S,k,O,L,D,C,v,m,x,P,T,j,M,I,A,z,F,E,B,R,Z,Q,_,N,X,Y,H,J,V,q;s._RF.push({},"229fdvzLfJB5pSNtdAZ5Zig","QuickEnv",void 0);var G,K,U=p.ccclass,W=p.property,$=p.executeInEditMode;!function(t){t[t.none=0]="none",t[t.cool=1]="cool",t[t.warm=2]="warm"}(G||(G={})),function(t){t[t.OFF=0]="OFF",t[t.ON=1]="ON"}(K||(K={}));var tt=[{skyIllu:22e3,lightIllu:1e5,lightDirection:new c(-120,-120,0),lightColor:new g(255,255,255),skyColor:new g(101,121,160),groundColor:new g(63,55,40)},{skyIllu:2e4,lightIllu:12e4,lightColor:new g(255,255,255),lightDirection:new c(-150,-148,0),skyColor:new g(77,236,89),groundColor:new g(116,116,116)}],et=new c;t("QuickEnv",(b=U("QuickEnv"),f=$(!0),S=W({group:"shadow"}),k=W({type:l(y.scene.ShadowType),group:"shadow",visible:function(){return this.shadow}}),O=W({group:"shadow",visible:function(){return this.shadow&&this.shadowType==y.scene.ShadowType.ShadowMap}}),L=W({type:l(y.scene.ShadowSize),group:"shadow",visible:function(){return this.shadow&&this.shadowType==y.scene.ShadowType.ShadowMap}}),D=W({type:h,min:1,max:200,slide:!0,group:"shadow",visible:function(){return this.shadow&&this.shadowType==y.scene.ShadowType.ShadowMap}}),C=W({type:h,min:0,max:1,slide:!0,step:.01,group:"shadow",visible:function(){return this.shadow&&this.shadowType==y.scene.ShadowType.ShadowMap}}),v=W({type:l(y.scene.PCFType),group:"shadow",visible:function(){return this.shadow&&this.shadowType==y.scene.ShadowType.ShadowMap}}),m=W({group:"shadow",visible:function(){return this.shadow&&this.shadowType==y.scene.ShadowType.ShadowMap}}),x=W({group:"skybox"}),P=W({group:"skybox",visible:function(){return this.skybox}}),T=W({type:l(y.scene.EnvironmentLightingType),group:"skybox",visible:function(){return this.skybox}}),j=W({min:0,max:360,slide:!0,group:"skybox",visible:function(){return this.skybox}}),M=W({group:"fog"}),I=W({type:l(y.scene.FogType),group:"fog",visible:function(){return this.fog}}),A=W({type:l(K),group:"model"}),z=W({visible:!1}),F=W({type:l(K),group:"model"}),E=W({visible:!1}),B=W({type:h,min:0,max:16e4,slide:!0,step:10}),R=W({type:h,min:0,max:16e4,slide:!0,step:10}),Z=W({type:h,min:-360,max:360,slide:!0}),Q=W({type:h,min:-360,max:360,slide:!0}),_=W({type:h,min:-360,max:360,slide:!0}),N=W({type:l(G)}),X=W({type:l(G),visible:!1}),b(Y=f((e((H=function(t){function e(){for(var e,o=arguments.length,n=new Array(o),s=0;s<o;s++)n[s]=arguments[s];return e=t.call.apply(t,[this].concat(n))||this,r(e,"castShadows",J,i(e)),r(e,"receive",V,i(e)),r(e,"currentSet",q,i(e)),e.directLight=null,e}return o(e,t),e.prototype.onEnable=function(){},n(e,[{key:"shadow",get:function(){return a.getScene().globals.shadows.enabled},set:function(t){a.getScene().globals.shadows.enabled=t}},{key:"shadowType",get:function(){return a.getScene().globals.shadows.type},set:function(t){a.getScene().globals.shadows.type=t,t==y.scene.ShadowType.ShadowMap&&(this.directLight.shadowEnabled=!0)}},{key:"shadowCSM",get:function(){return this.directLight.enableCSM},set:function(t){this.directLight.enableCSM=t}},{key:"ShadowSize",get:function(){return a.getScene().globals.shadows.shadowMapSize},set:function(t){a.getScene().globals.shadows.shadowMapSize=t}},{key:"shadwoDistance",get:function(){return this.directLight.shadowDistance},set:function(t){this.directLight.shadowDistance=t}},{key:"shadowSaturation",get:function(){return this.directLight.shadowSaturation},set:function(t){this.directLight.shadowSaturation=t}},{key:"shadowPcf",get:function(){return this.directLight.shadowPcf},set:function(t){this.directLight.shadowPcf=t}},{key:"shadowBias",get:function(){return this.directLight.shadowBias},set:function(t){this.directLight.shadowBias=t}},{key:"skybox",get:function(){return a.getScene().globals.skybox.enabled},set:function(t){a.getScene().globals.skybox.enabled=t}},{key:"skyboxTexture",get:function(){return a.getScene().globals.skybox.envmap},set:function(t){a.getScene().globals.skybox.envmap=t}},{key:"skyBoxType",get:function(){return a.getScene().globals.skybox.envLightingType},set:function(t){a.getScene().globals.skybox.envLightingType=t}},{key:"skyboxRotation",get:function(){return a.getScene().globals.skybox.rotationAngle},set:function(t){a.getScene().globals.skybox.rotationAngle=t}},{key:"fog",get:function(){return a.getScene().globals.fog.enabled},set:function(t){a.getScene().globals.fog.enabled=t}},{key:"fogType",get:function(){return a.getScene().globals.fog.type},set:function(t){a.getScene().globals.fog.type=t}},{key:"ModelsCastShadows",get:function(){return this.castShadows},set:function(t){this.castShadows=t;var e=a.getScene().getComponentsInChildren(u),o=e.length;if(o>0)for(var r=0;r<o;r++)e[r].shadowCastingMode=t}},{key:"ModelsReceiveShadows",get:function(){return this.receive},set:function(t){this.receive=t;var e=a.getScene().getComponentsInChildren(u),o=e.length;if(o>0)for(var r=0;r<o;r++)e[r].receiveShadow=t}},{key:"skyIllu",get:function(){return a.getScene().globals.ambient.skyIllum},set:function(t){a.getScene().globals.ambient.skyIllum=t}},{key:"skyColor",get:function(){return a.getScene().globals.ambient.skyLightingColor},set:function(t){a.getScene().globals.ambient.skyLightingColor=t}},{key:"groundColor",get:function(){return a.getScene().globals.ambient.groundLightingColor},set:function(t){a.getScene().globals.ambient.groundLightingColor=t}},{key:"directLightColor",get:function(){return this.directLight.color},set:function(t){this.directLight.color=t}},{key:"directLightIllu",get:function(){return this.directLight.illuminance},set:function(t){this.directLight.illuminance=t}},{key:"directLightDirection",get:function(){return this.light.eulerAngles},set:function(t){this.light.eulerAngles=t}},{key:"directLightDirectX",get:function(){return this.light.eulerAngles.x},set:function(t){et.set(this.light.eulerAngles),et.x=t,this.light.eulerAngles=et}},{key:"directLightDirectY",get:function(){return this.light.eulerAngles.y},set:function(t){et.set(this.light.eulerAngles),et.y=t,this.light.eulerAngles=et}},{key:"directLightDirectZ",get:function(){return this.directLight||(this.directLight=a.getScene().getComponentInChildren(d)),this.light.eulerAngles.z},set:function(t){et.set(this.light.eulerAngles),et.z=t,this.light.eulerAngles=et}},{key:"light",get:function(){return this.directLight||(this.directLight=a.getScene().getComponentInChildren(d)),this.directLight.node}},{key:"preEnvs",get:function(){return this.currentSet},set:function(t){if(this.currentSet=t,t>0){var e=tt[t-1];this.directLightDirection=e.lightDirection,this.directLightColor=e.lightColor,this.directLightIllu=e.lightIllu,this.skyColor=e.skyColor,this.skyIllu=e.skyIllu,this.groundColor=e.groundColor}}}]),e}(w)).prototype,"shadow",[S],Object.getOwnPropertyDescriptor(H.prototype,"shadow"),H.prototype),e(H.prototype,"shadowType",[k],Object.getOwnPropertyDescriptor(H.prototype,"shadowType"),H.prototype),e(H.prototype,"shadowCSM",[O],Object.getOwnPropertyDescriptor(H.prototype,"shadowCSM"),H.prototype),e(H.prototype,"ShadowSize",[L],Object.getOwnPropertyDescriptor(H.prototype,"ShadowSize"),H.prototype),e(H.prototype,"shadwoDistance",[D],Object.getOwnPropertyDescriptor(H.prototype,"shadwoDistance"),H.prototype),e(H.prototype,"shadowSaturation",[C],Object.getOwnPropertyDescriptor(H.prototype,"shadowSaturation"),H.prototype),e(H.prototype,"shadowPcf",[v],Object.getOwnPropertyDescriptor(H.prototype,"shadowPcf"),H.prototype),e(H.prototype,"shadowBias",[m],Object.getOwnPropertyDescriptor(H.prototype,"shadowBias"),H.prototype),e(H.prototype,"skybox",[x],Object.getOwnPropertyDescriptor(H.prototype,"skybox"),H.prototype),e(H.prototype,"skyboxTexture",[P],Object.getOwnPropertyDescriptor(H.prototype,"skyboxTexture"),H.prototype),e(H.prototype,"skyBoxType",[T],Object.getOwnPropertyDescriptor(H.prototype,"skyBoxType"),H.prototype),e(H.prototype,"skyboxRotation",[j],Object.getOwnPropertyDescriptor(H.prototype,"skyboxRotation"),H.prototype),e(H.prototype,"fog",[M],Object.getOwnPropertyDescriptor(H.prototype,"fog"),H.prototype),e(H.prototype,"fogType",[I],Object.getOwnPropertyDescriptor(H.prototype,"fogType"),H.prototype),e(H.prototype,"ModelsCastShadows",[A],Object.getOwnPropertyDescriptor(H.prototype,"ModelsCastShadows"),H.prototype),J=e(H.prototype,"castShadows",[z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return K.OFF}}),e(H.prototype,"ModelsReceiveShadows",[F],Object.getOwnPropertyDescriptor(H.prototype,"ModelsReceiveShadows"),H.prototype),V=e(H.prototype,"receive",[E],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return K.OFF}}),e(H.prototype,"skyIllu",[B],Object.getOwnPropertyDescriptor(H.prototype,"skyIllu"),H.prototype),e(H.prototype,"skyColor",[W],Object.getOwnPropertyDescriptor(H.prototype,"skyColor"),H.prototype),e(H.prototype,"groundColor",[W],Object.getOwnPropertyDescriptor(H.prototype,"groundColor"),H.prototype),e(H.prototype,"directLightColor",[W],Object.getOwnPropertyDescriptor(H.prototype,"directLightColor"),H.prototype),e(H.prototype,"directLightIllu",[R],Object.getOwnPropertyDescriptor(H.prototype,"directLightIllu"),H.prototype),e(H.prototype,"directLightDirection",[W],Object.getOwnPropertyDescriptor(H.prototype,"directLightDirection"),H.prototype),e(H.prototype,"directLightDirectX",[Z],Object.getOwnPropertyDescriptor(H.prototype,"directLightDirectX"),H.prototype),e(H.prototype,"directLightDirectY",[Q],Object.getOwnPropertyDescriptor(H.prototype,"directLightDirectY"),H.prototype),e(H.prototype,"directLightDirectZ",[_],Object.getOwnPropertyDescriptor(H.prototype,"directLightDirectZ"),H.prototype),e(H.prototype,"preEnvs",[N],Object.getOwnPropertyDescriptor(H.prototype,"preEnvs"),H.prototype),q=e(H.prototype,"currentSet",[X],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return G.none}}),Y=H))||Y)||Y));s._RF.pop()}}}));

System.register("chunks:///_virtual/RoY.ts",["./rollupPluginModLoBabelHelpers.js","cc"],(function(t){"use strict";var o,e,n,r,s;return{setters:[function(t){o=t.inheritsLoose},function(t){e=t.cclegacy,n=t._decorator,r=t.v3,s=t.Component}],execute:function(){var c;e._RF.push({},"3bf69stJLNIxYypomzSZjN7","RoY",void 0);var i=n.ccclass;n.property,t("RoY",i("RoY")(c=function(t){function e(){for(var o,e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return(o=t.call.apply(t,[this].concat(n))||this).y=0,o.x=0,o.z=0,o}o(e,t);var n=e.prototype;return n.start=function(){},n.update=function(t){this.node.eulerAngles=r(this.x++,this.y++,this.z++)},e}(s))||c);e._RF.pop()}}}));

System.register("chunks:///_virtual/settingData.ts",["cc","./constants.ts","./utils.ts"],(function(t){"use strict";var s,a,e,n,c;return{setters:[function(t){s=t.cclegacy,a=t._decorator,e=t.sys},function(t){n=t.constants},function(t){c=t.utils}],execute:function(){var i,u;s._RF.push({},"d9065Lh72BI6psd86s2PxAJ","settingData",void 0);var o=a.ccclass,r=(a.property,t("settingData",o("settingData")(((u=function(){function t(){this.data=null}t.ins=function(){return this.instance||(this.instance=new t),this.instance};var s=t.prototype;return s.loadFromCache=function(){var t=e.localStorage.getItem(n.localCache.settingData);t?this.data=JSON.parse(c.decrypt(t)):(this.data={bg_music_status:!0,sound_status:!0,shock_status:!1},this.saveToCache())},s.changeStatus=function(t){0==t?this.data.bg_music_status=!this.data.bg_music_status:1==t?this.data.sound_status=!this.data.sound_status:2==t&&(this.data.shock_status=!this.data.shock_status),this.saveToCache()},s.getSettingDatas=function(){return[{name:"背景音乐",selected:this.data.bg_music_status},{name:"音效",selected:this.data.sound_status},{name:"震动",selected:this.data.sound_status}]},s.saveToCache=function(){var t=JSON.stringify(this.data);e.localStorage.setItem(n.localCache.settingData,c.encrypt(t))},s.remove=function(){e.localStorage.removeItem(n.localCache.settingData),this.loadFromCache()},t}()).instance=null,i=u))||i));t("default",r.ins());s._RF.pop()}}}));

System.register("chunks:///_virtual/SettingLayer.ts",["./rollupPluginModLoBabelHelpers.js","cc","./BasePanel.ts","./Data.ts","./platformSystem.ts","./constants.ts","./audioManager.ts","./settingData.ts","./autoBind.ts"],(function(t){"use strict";var n,i,e,o,r,a,u,s,c,l,f,_,b;return{setters:[function(t){n=t.applyDecoratedDescriptor,i=t.inheritsLoose,e=t.initializerDefineProperty,o=t.assertThisInitialized},function(t){r=t.cclegacy,a=t._decorator},function(t){u=t.default},function(t){s=t.default},function(t){c=t.default},function(t){l=t.constants},function(t){f=t.default},function(t){_=t.default},function(t){b=t.auto}],execute:function(){var d,p,v,h,y,g;r._RF.push({},"c06a8SQHlJK+rTVgNI5Yvcr","SettingLayer",void 0);var m=a.ccclass;a.property,t("SettingLayer",m("SettingLayer")((v=n((p=function(t){function n(){for(var n,i=arguments.length,r=new Array(i),a=0;a<i;a++)r[a]=arguments[a];return n=t.call.apply(t,[this].concat(r))||this,e(n,"sound_on_icon",v,o(n)),e(n,"sound_off_icon",h,o(n)),e(n,"vibration_on_icon",y,o(n)),e(n,"vibration_off_icon",g,o(n)),n}i(n,t);var r=n.prototype;return r.start=function(){c.platform.showInterstitialAd(),this.updateUI()},r.updateUI=function(){this.sound_on_icon.active=0!=s.user.soundVolume,this.sound_off_icon.active=0==s.user.soundVolume,this.vibration_on_icon.active=0!=s.user.vibration,this.vibration_off_icon.active=0==s.user.vibration},r.onBtnClicked=function(t,n){switch(f.playOneShot(l.audios.btnclick),t.target.name){case"btn_close":this.close();break;case"btn_sound":_.changeStatus(1),s.user.soundVolume=0==s.user.soundVolume?1:0,this.updateUI();break;case"btn_vibration":s.user.vibration=0==s.user.vibration?1:0,this.updateUI()}},n}(u)).prototype,"sound_on_icon",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),h=n(p.prototype,"sound_off_icon",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),y=n(p.prototype,"vibration_on_icon",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),g=n(p.prototype,"vibration_off_icon",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),d=p))||d);r._RF.pop()}}}));

System.register("chunks:///_virtual/Singleton.ts",["cc"],(function(t){"use strict";var n;return{setters:[function(t){n=t.cclegacy}],execute:function(){n._RF.push({},"780bcVRgRJP85i6M6WuRt2c","Singleton",void 0);t("default",function(){function t(){}return t.Instance=function(){return this.instance||(this.instance=new this),this.instance},t}());n._RF.pop()}}}));

System.register("chunks:///_virtual/stateManager.ts",["cc","./constants.ts"],(function(t){"use strict";var n,i;return{setters:[function(t){n=t.cclegacy,i=t._decorator},null],execute:function(){var e,s;n._RF.push({},"f022bEI7uxEAp0tVku3N+ot","stateManager",void 0);var a=i.ccclass,u=(i.property,t("stateManager",a("stateManager")(((s=function(){function t(){this.uiBindings=new Map}t.ins=function(){return this.instance||(this.instance=new t),this.instance};var n=t.prototype;return n.registerUI=function(t,n){this.uiBindings.has(t)||this.uiBindings.set(t,[]);var i=this.uiBindings.get(t);i.includes(n)||i.push(n),this.updateSingleUI(t,n)},n.updateAllUI=function(t){var n=this,i=this.uiBindings.get(t);i&&i.forEach((function(i){n.updateSingleUI(t,i)}))},n.updateSingleUI=function(t,n){},t}()).instance=void 0,e=s))||e));t("default",u.ins());n._RF.pop()}}}));

System.register("chunks:///_virtual/TileItem.ts",["./rollupPluginModLoBabelHelpers.js","cc"],(function(e){"use strict";var t,o,i,n,r,l,d,s,c;return{setters:[function(e){t=e.inheritsLoose,o=e.createClass},function(e){i=e.cclegacy,n=e._decorator,r=e.v3,l=e.MeshRenderer,d=e.RigidBody,s=e.Collider,c=e.Component}],execute:function(){var a,u;i._RF.push({},"e57f3IhsV1IzqpUuNXaJW5e","TileItem",void 0);var h=n.ccclass;n.property,e("TileItem",h("TileItem")(((u=function(e){function i(){for(var t,o=arguments.length,i=new Array(o),n=0;n<o;n++)i[n]=arguments[n];return(t=e.call.apply(e,[this].concat(i))||this).auto_rotation=!1,t.collider=[],t.rigid=null,t.removed=!1,t.removedPos=void 0,t.playRmovedEff=!1,t._enableCollider=!1,t}t(i,e),i.getY=function(){return(Date.now()-this.starttime)/10};var n=i.prototype;return n.update=function(){this.auto_rotation&&this.node.setRotationFromEuler(0,i.getY(),0)},n.destoryCollider=function(){this.node.children[0].position=r(),this.node.children[0].eulerAngles=r(),this.collider.map((function(e){return e.destroy()})),this.rigid.destroy()},n.addCollider=function(){var e=this.node.children[0].getComponent(l);return this.rigid=e.node.addComponent(d),this.rigid},n.start=function(){this.collider=this.node.children[0].getComponents(s)},o(i,[{key:"enableCollider",get:function(){return this._enableCollider},set:function(e){var t=this.node.children[0].worldRotation.clone();this.node.worldPosition=this.node.children[0].worldPosition.clone(),this.node.children[0].position=r(),this.node.children[0].worldRotation=t,this.rigid.useGravity=e}}]),i}(c)).TileItem=void 0,u.starttime=Date.now(),a=u))||a);i._RF.pop()}}}));

System.register("chunks:///_virtual/UIEffect.ts",["./rollupPluginModLoBabelHelpers.js","cc"],(function(t){"use strict";var e,c,n,r,o,s;return{setters:[function(t){e=t.inheritsLoose},function(t){c=t.cclegacy,n=t._decorator,r=t.tween,o=t.v3,s=t.Component}],execute:function(){var i;c._RF.push({},"a0a725EHOZPgLLfmAclucbA","UIEffect",void 0);var u=n.ccclass;n.property,t("UIEffect",u("UIEffect")(i=function(t){function c(){return t.apply(this,arguments)||this}return e(c,t),c.prototype.start=function(){var t=this.node.getChildByName("node_ui");t.setScale(.5,.5),r(t).to(.2,{scale:o(1,1,1)}).start()},c}(s))||i);c._RF.pop()}}}));

System.register("chunks:///_virtual/UserModel.ts",["./rollupPluginModLoBabelHelpers.js","cc","./GameConst.ts"],(function(i){"use strict";var t,e,n,r;return{setters:[function(i){t=i.applyDecoratedDescriptor,e=i.initializerDefineProperty},function(i){n=i.cclegacy},function(i){r=i.ITEM_TYPE}],execute:function(){var a,o,l,u,s,f,c,h,b,p,w,m,_,d,v,g,y,z,D,I,x,k,T,M;n._RF.push({},"b4ba1iTJkxJF5YRmpQZFJBZ","UserModel",void 0);var j=[];function F(i,t){j.push(t)}i("default",(o=t((a=function(){function i(){this.js_code="",e(this,"nickName",o,this),e(this,"avatarUrl",l,this),e(this,"openid",u,this),e(this,"magnet",s,this),e(this,"frozen",f,this),e(this,"hint",c,this),e(this,"time",h,this),e(this,"soundVolume",b,this),e(this,"vibration",p,this),e(this,"lvboxDrawInfo",w,this),e(this,"starboxDrawInfo",m,this),this.useMagnet=!1,this.useTime=!1,e(this,"life",_,this),e(this,"coin",d,this),e(this,"lv",v,this),e(this,"star",g,this),e(this,"openIndex",y,this),e(this,"life_cost_time",z,this),this.self_rank=-1,e(this,"invite_draw_info",D,this),e(this,"storeup",I,this),this.launch_from_my_minigame=!1,this.query=null,e(this,"signinfo",x,this),e(this,"lastlogintime",k,this),e(this,"onlineTime",T,this),e(this,"drawed_online_reward_ids",M,this),this.serverTime=0}var t=i.prototype;return t.hasLvBox=function(){var i=Math.floor(this.lv/10);return 0!=i&&!this.lvboxDrawInfo[i]},t.hasStarBox=function(){var i=Math.floor(this.star/1e3);return 0!=i&&!this.starboxDrawInfo[i]},t.addItem=function(i,t){switch(void 0===t&&(t=1),i){case r.Coin:this.coin+=t;break;case r.Magnet:this.magnet+=t;break;case r.Hint:this.hint+=t;break;case r.Frozen:this.frozen+=t;break;case r.Time:this.time+=t}},t.checkDayInviteIsDraw=function(i){return this.invite_draw_info.day||(this.invite_draw_info.day={}),1==this.invite_draw_info.day[i]},t.inviteDayDraw=function(i){return this.invite_draw_info.day||(this.invite_draw_info.day={}),this.invite_draw_info.day[i]=1},t.checkNewInviteIsDraw=function(i){return this.invite_draw_info.new||(this.invite_draw_info.new={}),1==this.invite_draw_info.new[i]},t.inviteNewDraw=function(i){return this.invite_draw_info.new||(this.invite_draw_info.new={}),this.invite_draw_info.new[i]=1},t.getUploadData=function(){var i={};this.serverTime=Date.now();for(var t=0;t<j.length;++t)i[j[t]]=this[j[t]];return i},t.setData=function(i){if(i)for(var t=0;t<j.length;++t){var e=i[j[t]];if(null!=e||null!=e)if("[object Object]"==Object.prototype.toString.call(e))for(var n in e)this[j[t]][n]=e[n];else this[j[t]]=e}},i}()).prototype,"nickName",[F],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return""}}),l=t(a.prototype,"avatarUrl",[F],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return""}}),u=t(a.prototype,"openid",[F],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return""}}),s=t(a.prototype,"magnet",[F],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),f=t(a.prototype,"frozen",[F],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),c=t(a.prototype,"hint",[F],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),h=t(a.prototype,"time",[F],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),b=t(a.prototype,"soundVolume",[F],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 1}}),p=t(a.prototype,"vibration",[F],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 1}}),w=t(a.prototype,"lvboxDrawInfo",[F],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return{}}}),m=t(a.prototype,"starboxDrawInfo",[F],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return{}}}),_=t(a.prototype,"life",[F],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 5}}),d=t(a.prototype,"coin",[F],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 500}}),v=t(a.prototype,"lv",[F],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 1}}),g=t(a.prototype,"star",[F],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),y=t(a.prototype,"openIndex",[F],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),z=t(a.prototype,"life_cost_time",[F],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),D=t(a.prototype,"invite_draw_info",[F],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return{}}}),I=t(a.prototype,"storeup",[F],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),x=t(a.prototype,"signinfo",[F],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return{sign_index:0,sign_time:0,sign_beisu:1}}}),k=t(a.prototype,"lastlogintime",[F],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),T=t(a.prototype,"onlineTime",[F],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),M=t(a.prototype,"drawed_online_reward_ids",[F],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return[]}}),a));n._RF.pop()}}}));

System.register("chunks:///_virtual/utils.ts",["cc"],(function(t){"use strict";var r,n,e,o,a,i,u,f,c,l,h;return{setters:[function(t){r=t.cclegacy,n=t._decorator,e=t.UIOpacity,o=t.tween,a=t.find,i=t.director,u=t.Color,f=t.Vec2,c=t.UITransform,l=t.Vec3,h=t.screen}],execute:function(){var g;r._RF.push({},"1828dk+2jlPB7I0ZNZXcWus","utils",void 0);var d=n.ccclass;n.property,t("utils",d("utils")(g=function(){function t(){}return t.isNull=function(t){return""==t||null==t||null==t||"string"==typeof t&&new RegExp("^[ ]+$").test(t)},t.merge=function(){for(var t=function(t,r){return Object.assign(t,r)},r={},n=arguments.length,e=new Array(n),o=0;o<n;o++)e[o]=arguments[o];return e.forEach((function(n){r=t(r,n)})),r},t.clone=function(t){if(null===t||"object"!=typeof t)return t;var r={};for(var n in t.constructor===Array&&(r=[]),t)t.hasOwnProperty(n)&&(r[n]=this.clone(t[n]));return r},t.objectToArray=function(t){var r=[];for(var n in t)t.hasOwnProperty(n)&&r.push(t[n]);return r},t.arrayToObject=function(t,r){var n={};for(var e in t)t.hasOwnProperty(e)&&t[e][r]&&(n[t[e][r]]=t[e]);return n},t.getWeightRandIndex=function(t,r){for(var n=Math.floor(Math.random()*r),e=0,o=0;o<t.length&&!(n<(e+=t[o]));o++);return o},t.getRandomNFromM=function(t,r){for(var n=[],e=0,o=0;o<r&&!(o>=t+1);){e=this.getRandomInt(0,t);for(var a=0,i=0;i<o;i++)if(n[i]===e){a=1;break}0===a&&(n[o]=e,o++)}return n},t.getRandomInt=function(t,r){var n=Math.random()*(r-t+1)+t;return Math.floor(n)},t.getStringLength=function(t){for(var r=t,n=0,e=0,o=r.length;e<o;e++){n+=r.charCodeAt(e)<=255?1:2}return Math.ceil(n/2)},t.getRandomElements=function(t,r){if(r<=0)return[];for(var n=[].concat(t),e=n.length-1;e>0;e--){var o=Math.floor(Math.random()*(e+1)),a=[n[o],n[e]];n[e]=a[0],n[o]=a[1]}return r>=n.length?n:n.slice(0,r)},t.isEmptyObject=function(t){var r=!0;if(t&&t.constructor===Object){for(var n in t)if(t.hasOwnProperty(n)){r=!1;break}}else r=!1;return r},t.isNewDay=function(t){var r=new Date(t),n=new Date,e=r.getYear(),o=r.getMonth(),a=r.getDate(),i=n.getYear(),u=n.getMonth(),f=n.getDate();return i>e||(u>o||f>a)},t.getPropertyCount=function(t){var r,n=0;for(r in t)t.hasOwnProperty(r)&&n++;return n},t.difference=function(t,r){var n=[];if(t.constructor!==Array||r.constructor!==Array)return n;for(var e=t.length,o=0;o<e;o++)-1===r.indexOf(t[o])&&n.push(t[o]);return n},t._stringToArray=function(t){var r,n="\\ufe0e\\ufe0f",e="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",o=RegExp("[\\u200d\\ud800-\\udfff"+e+n+"]"),a="\\ud83c[\\udffb-\\udfff]",i="[\\ufe0e\\ufe0f]?",u="["+e+"]",f="(?:"+u+"|"+a+")"+"?",c="[\\ud800-\\udfff]",l="[^\\ud800-\\udfff]",h="(?:\\ud83c[\\udde6-\\uddff]){2}",g="[\\ud800-\\udbff][\\udc00-\\udfff]",d=i+f+("(?:\\u200d(?:"+[l,h,g].join("|")+")"+i+f+")*"),s="(?:"+[l+u+"?",u,h,g,c].join("|")+")",m=RegExp(a+"(?="+a+")|"+s+d,"g");return r=t,o.test(r)?function(t){return t.match(m)||[]}(t):function(t){return t.split("")}(t)},t.simulationUUID=function(){function t(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return t()+t()+"-"+t()+"-"+t()+"-"+t()+"-"+t()+t()+t()},t.trim=function(t){return t.replace(/(^\s*)|(\s*$)/g,"")},t.isNowValid=function(t,r){var n=new Date(t),e=new Date(r),o=!1;if(n.getDate()+""!="NaN"&&e.getDate()+""!="NaN"){var a=new Date;o=a<e&&a>n}return o},t.getDeltaDays=function(t,r){t=new Date(t),r=new Date(r);var n=t.getFullYear(),e=t.getMonth()+1,o=t.getDate(),a=r.getFullYear(),i=r.getMonth()+1,u=r.getDate();t=new Date(n+"/"+e+"/"+o+" GMT+0800").getTime();var f=(r=new Date(a+"/"+i+"/"+u+" GMT+0800").getTime())-t;return Math.floor(f/864e5)},t.getMin=function(t){var r=null;if(t.constructor===Array)for(var n=t.length,e=0;e<n;e++)r=0===e?Number(t[0]):r>Number(t[e])?Number(t[e]):r;return r},t.formatTwoDigits=function(t){return(Array(2).join(0)+t).slice(-2)},t.formatDate=function(t,r){var n={"M+":t.getMonth()+1,"d+":t.getDate(),"h+":t.getHours(),"m+":t.getMinutes(),"s+":t.getSeconds(),"q+":Math.floor((t.getMonth()+3)/3),S:t.getMilliseconds()};for(var e in/(y+)/.test(r)&&(r=r.replace(RegExp.$1,(t.getFullYear()+"").substr(4-RegExp.$1.length))),n)new RegExp("("+e+")").test(r)&&(r=r.replace(RegExp.$1,1===RegExp.$1.length?n[e]:("00"+n[e]).substr((""+n[e]).length)));return r},t.getDay=function(){var t=new Date;return t.getFullYear()+"-"+(t.getMonth()+1)+"-"+t.getDate()},t.formatName=function(t,r){r=r||6;var n=this._stringToArray(t),e="";if(n.length>r){for(var o=0;o<r;o++)e+=n[o];e+="..."}else e=t;return e},t.formatMoney=function(t){for(var r=["","K","M","G","T","P","E","Z","Y","B","N","D"],n="",e=0;e<r.length;e++){if(!(t>=1e4)){n=Math.floor(t)+r[e];break}t/=1e3}return""===n&&(n=Math.floor(t)+"U"),n},t.formatValue=function(t){for(var r=[],n="",e=0;e<26;e++)r.push(String.fromCharCode(97+e));for(var o=0;o<r.length;o++){if(!(t>=1e4)){n=Math.floor(t)+r[o];break}t/=1e3}return n},t.formatTimeForSecond=function(t,r){void 0===r&&(r=!1);var n="",e=t%60,o=Math.floor(t/60);o=o<0?0:o;var a=Math.floor(o/60),i=o%60;return a>0?(n+=a>9?a.toString():"0"+a,n+=":"):n+="00:",n+=i>9?i.toString():"0"+i,r||(n+=":",n+=e>9?e.toString():"0"+e),n},t.formatTimeForMillisecond=function(t){var r=Math.floor(t/1e3%60),n=Math.floor(t/1e3/60%60);return{hour:Math.floor(t/1e3/60/60),minute:n,second:r}},t.formatTimestamp=function(t){var r=new Date(t);return r.getFullYear()+"-"+String(r.getMonth()+1).padStart(2,"0")+"-"+String(r.getDate()).padStart(2,"0")+" "+String(r.getHours()).padStart(2,"0")+":"+String(r.getMinutes()).padStart(2,"0")+":"+String(r.getSeconds()).padStart(2,"0")},t.randomArray=function(t){for(var r=t.length-1;r>0;r--){var n=Math.floor(Math.random()*(r+1)),e=[t[n],t[r]];t[r]=e[0],t[n]=e[1]}return t},t.getOffsetMimutes=function(t,r){var n=r-t;return Math.floor(n%36e5/6e4)},t.getRandomFloat=function(t,r){return Math.random()*(r-t)+t},t.formatNumToFixed=function(t,r){return void 0===r&&(r=0),Number(t.toFixed(r))},t.lerp=function(t,r,n){void 0===n&&(n=.25);var e=r;return t>r?e=r+(t-r)*n:t<r&&(e=r-(r-t)*n),e},t.decrypt=function(t){if(null==t||null==t)return"";var r=6;t.length%2==0&&(r=7);for(var n="",e=0;e<t.length-r;e+=2)n+=t[e+1],n+=t[e];return n+=t.slice(t.length-r+1),n=this._base64Decode(n)},t.encrypt=function(t){if(null==t||null==t)return"";var r=this._base64encode(t),n=6;r.length%2==0&&(n=7);for(var e="",o=0;o<(r.length-n+1)/2;o++)e+=r[2*o+1],e+=r[2*o];return e+=r.slice(r.length-n+1)},t._base64encode=function(t){var r,n,e,o,a,i,u,f="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",c="",l=0;for(t=this._utf8Encode(t);l<t.length;)o=(r=t.charCodeAt(l++))>>2,a=(3&r)<<4|(n=t.charCodeAt(l++))>>4,i=(15&n)<<2|(e=t.charCodeAt(l++))>>6,u=63&e,isNaN(n)?i=u=64:isNaN(e)&&(u=64),c=c+f.charAt(o)+f.charAt(a)+f.charAt(i)+f.charAt(u);return c},t._utf8Encode=function(t){t=t.replace(/\r\n/g,"\n");for(var r="",n=0;n<t.length;n++){var e=t.charCodeAt(n);e<128?r+=String.fromCharCode(e):e>127&&e<2048?(r+=String.fromCharCode(e>>6|192),r+=String.fromCharCode(63&e|128)):(r+=String.fromCharCode(e>>12|224),r+=String.fromCharCode(e>>6&63|128),r+=String.fromCharCode(63&e|128))}return r},t._utf8Decode=function(t){for(var r="",n=0,e=0,o=0,a=0;n<t.length;)(e=t.charCodeAt(n))<128?(r+=String.fromCharCode(e),n++):e>191&&e<224?(o=t.charCodeAt(n+1),r+=String.fromCharCode((31&e)<<6|63&o),n+=2):(o=t.charCodeAt(n+1),a=t.charCodeAt(n+2),r+=String.fromCharCode((15&e)<<12|(63&o)<<6|63&a),n+=3);return r},t._base64Decode=function(t){var r,n,e,o,a,i,u="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",f="",c=0;for(t=t.replace(/[^A-Za-z0-9\+\/\=]/g,"");c<t.length;)r=u.indexOf(t.charAt(c++))<<2|(o=u.indexOf(t.charAt(c++)))>>4,n=(15&o)<<4|(a=u.indexOf(t.charAt(c++)))>>2,e=(3&a)<<6|(i=u.indexOf(t.charAt(c++))),f+=String.fromCharCode(r),64!=a&&(f+=String.fromCharCode(n)),64!=i&&(f+=String.fromCharCode(e));return f=this._utf8Decode(f)},t.verbatim=function(t,r,n,e,o,a){if(void 0===e&&(e=0),void 0===o&&(o=0),void 0===a&&(a=.1),r.hasOwnProperty("length")){t.node.active=!0,t.unscheduleAllCallbacks();var i=function(){var o=r.replace(/ /g,"").split(""),i=0,u="",f=function(){if(u+=o[i],t.string=u,++i>=o.length){t.unschedule(f);var r=function(){null==n||n()};e>0?t.scheduleOnce(r,e):r()}}.bind(this);t.schedule(f,a,Number.MAX_SAFE_INTEGER)};o>0?t.scheduleOnce(i.bind(this),o):i()}},t.pageAnim=function(t,r,n){void 0===r&&(r=!0);var a=t.getComponent(e);if(t&&a){a.opacity=r?25:255;var i=r?255:25;o(a).to(.4,{opacity:i}).call(function(){null==n||n()}.bind(this)).start()}else null==n||n()},t.chunk=function(t,r){if(!(null===t?0:t.length)||r<1)return[];for(var n=[];t.length>r;)n.push(t.slice(0,r)),t=t.slice(r);return n.push(t),n},t.findName=function(t,r){var n;return-1!=r.indexOf("/")?n=a(r,t):(t||(t=i.getScene()),n=t.name===r?t:this.findChild(r,t)),n||(console.log("没有找到指定的Node, node name ==",r),null)},t.findChild=function(t,r){var n=r.getChildByName(t);if(n)return n;for(var e=r.children,o=0;o<e.length;o++)if(n=this.findChild(t,e[o]))return n;return null},t.numUnit=function(t,r,n){void 0===r&&(r=0),void 0===n&&(n=!0);var e=t,o=1e4;if(e>o){if(0==r)return(e=Math.ceil(e/o)).toString()+"万";var a=(e/o).toFixed(r);return n?this.removeZeros(a)+"万":a+"万"}return Math.ceil(t).toString()},t.formatNumber=function(t){if(null==t||null==t)return 0;var r=t.toString();if(r.includes(".")&&/\.0+$/.test(r))return parseInt(r,10);var n=t.toFixed(2);return n.endsWith(".00")?parseInt(n,10):parseFloat(n)},t.removeZeros=function(t){var r=t.trim();if(-1!==r.indexOf(".")){for(var n=r.length-1;"0"===r[n];)n--;return"."===r[n]&&n--,r.slice(0,n+1)}return r},t.remove=function(t,r){var n=t.indexOf(r);n>-1&&t.splice(n,1)},t.hexColor=function(t){var r=t.replace(/^#?/,"0x"),n=parseInt(r);return new u(n>>16,(65280&n)>>8,255&n,255)},t.pDistance=function(t,r){var n=t.x-r.x,e=t.y-r.y;return Math.sqrt(n*n+e*e)},t.pAbsDistance=function(t,r){return Math.abs(t.x-r.x)+Math.abs(t.y-r.y)},t.angle_to_vector=function(t){var r=this.angle_to_radian(t),n=Math.cos(r),e=Math.sin(r);return new f(n,e).normalize()},t.vector_to_angle=function(t){var r=t.normalize().signAngle(new f(1,0));return-this.radian_to_angle(r)},t.angle_to_radian=function(t){return Math.PI/180*t},t.radian_to_angle=function(t){return 180/Math.PI*t},t.getAngle=function(t,r){var n=r.x-t.x,e=r.y-t.y,o=n/Math.sqrt(n*n+e*e),a=Math.acos(o),i=180/(Math.PI/a);return e<0?i=0-i:0==e&&n<0&&(i=180),i},t.numberToString=function(t){for(var r=[{minnum:1e9,maxnum:9999999999,toStr:"o"},{minnum:1e8,maxnum:999999999,toStr:"p"},{minnum:1e7,maxnum:99999999,toStr:"t"},{minnum:1e6,maxnum:9999999,toStr:"g"},{minnum:1e5,maxnum:999999,toStr:"m"},{minnum:1e4,maxnum:99999,toStr:"b"},{minnum:1e3,maxnum:9999,toStr:"K"}],n=0;n<r.length;n++){if(t>=r[n].minnum&&t<=r[n].maxnum)return(t/=r[n].minnum).toFixed(1)+r[n].toStr}return t.toFixed(0)},t.convertPosition=function(t,r){var n=t.position.clone(),e=t.parent.getComponent(c).convertToWorldSpaceAR(n);return r.getComponent(c).convertToNodeSpaceAR(e)},t.randomPointGenerator=function(t,r){var n=Math.random()*Math.PI*2,e=Math.sqrt(Math.random())*r,o=t.x+e*Math.cos(n),a=t.y+e*Math.sin(n);return new l(o,a,1)},t.convertPositionPos=function(t,r,n){var e=r.clone(),o=t.parent.getComponent(c).convertToWorldSpaceAR(e);return n.getComponent(c).convertToNodeSpaceAR(o)},t.calculateParabolaCenter=function(t,r){var n=r.x-t.x,e=(t.x+r.x)/2,o=Math.max(t.y,r.y)+Math.abs(n)/4;return new l(e,o)},t.getRandomColor=function(){var t=Math.floor(256*Math.random()),r=Math.floor(256*Math.random()),n=Math.floor(256*Math.random());return new u(t,r,n)},t.isNormalScreen=function(){return h.windowSize.height/h.windowSize.width<1.78},t}())||g);r._RF.pop()}}}));

System.register("chunks:///_virtual/Utils2.ts",["./rollupPluginModLoBabelHelpers.js","cc"],(function(t){"use strict";var n,e,r,o,a,u,i,l,c,f,s;return{setters:[function(t){n=t.asyncToGenerator,e=t.regeneratorRuntime},function(t){r=t.cclegacy,o=t.assetManager,a=t.v3,u=t.find,i=t.v2,l=t.tween,c=t.Node,f=t.Layers,s=t.sp}],execute:function(){r._RF.push({},"d0788kA+CpAb7fGbF4Gj2lV","Utils",void 0),t("default",function(){function t(){}return t.checkIsToDay=function(t){var n=new Date(t),e=new Date,r=!1;return n.getFullYear()==e.getFullYear()&&n.getMonth()==e.getMonth()&&n.getDate()==e.getDate()&&(r=!0),r},t.getRandom=function(t,n){return Math.random()*(n-t)+t},t.getRandomInt=function(t,n){return Math.floor(Math.random()*(n-t))+t},t.seedRandom=function(){return t.getRandom(0,1)},t.seedRandomInt=function(n,e){return t.getRandomInt(n,e)},t.getPowNum=function(t){return Math.pow(10,t)},t.formatDate=function(t){var n=new Date(t);return n.getFullYear()+"-"+((n.getMonth()+1<10?"0"+(n.getMonth()+1):n.getMonth()+1)+"-")+(n.getDate()<10?"0"+n.getDate():n.getDate())+" "+((n.getHours()<10?"0"+n.getHours():n.getHours())+":")+((n.getMinutes()<10?"0"+n.getMinutes():n.getMinutes())+":")+(n.getSeconds()<10?"0"+n.getSeconds():n.getSeconds())},t.cloneObj=function(t){return t=JSON.stringify(t),t=JSON.parse(t)},t.getTimeStrByS=function(t){(t=Math.floor(t))<0&&(t=0);var n=Math.floor(t/3600/24);t-=3600*n*24;var e=Math.floor(t/3600);t-=3600*e;var r=Math.floor(t/60),o="00";o=e>9?""+e:"0"+e;var a="00";a=r>9?""+r:"0"+r;var u="00";return u=(t-=60*r)>9?""+t:"0"+t,n>0?n+"天"+e+"时"+r+"分":e>0?o+":"+a:a+":"+u},t.getClockStrByS=function(t,n,e){void 0===n&&(n=!0),void 0===e&&(e=!0),(t=Math.floor(t))<0&&(t=0);var r=Math.floor(t/3600);t-=3600*r;var o=Math.floor(t/60);t-=60*o;var a="00";a=r>9?""+r:"0"+r;var u="";return e&&(u+=a,u+=":"),u+=o>9?""+o:"0"+o,n&&(u+=":"+(t<10?"0":"")+t),u},t.checkObjEmpty=function(t){if(t){for(var n in t)return!1;return!0}return!0},t.checkOrderOver=function(t){var n=new Date(t),e=new Date;return n.getFullYear()!=e.getFullYear()||n.getMonth()!=e.getMonth()||n.getDate()!=e.getDate()},t.loadBundler=function(t){return new Promise((function(n,e){o.loadBundle(t,(function(t,e){console.log(e),n(null)}))}))},t.loadRes=function(t,n,e,r){return void 0===r&&(r=null),new Promise((function(a,u){o.getBundle(n)||console.log(n);var i=o.getBundle(n).get(t,e);if(i)return r&&r(null,i),void a(i);o.getBundle(n).load(t,e,(function(n,e){n?(console.warn("加载错误：",t,n),r&&r(n,null),u(null)):(r&&r(null,e),a(e))}))}))},t.weight=function(t){for(var n=0,e=0;e<t.length;++e)n+=t[e];if(n<=0)return-1;var r=Math.round(Math.random()*Number.MAX_VALUE)%n;for(e=0;e<t.length;++e){if(r<t[e])return e;r-=t[e]}return-1},t.shuffle=function(t){for(var n=t.length-1;n>=0;n--){var e=Math.floor(Math.random()*(n+1)),r=t[e];t[e]=t[n],t[n]=r}return t},t.getDate=function(t){var n=new Date(t),e=n.getFullYear(),r=n.getMonth()+1,o=n.getDate();return e+"-"+(r<10?"0"+r:r)+"-"+(o<10?"0"+o:o)+" "+n.toTimeString().substr(0,8)},t.goldCrarryBit=function(t){for(var n=[[1e8,"N"],[1e7,"T"],[1e6,"G"],[1e5,"M"],[1e4,"K"],[1e3,"B"]],e=0;e<n.length;e++){var r=t/n[e][0];if(r>1)return""+r.toFixed(1)+n[e][1]}return t.toString()},t.fixFloat=function(t,n){void 0===n&&(n=2);var e=Math.pow(10,n);return Math.floor(t*e)/e},t.flyAnim=function(n,e,r,o,c,f){for(var s=e.worldPosition,g=function(t,n,e,r){for(var o=[],a=Math.PI/180*Math.round(360/r),u=0;u<r;u++){var l=n+t*Math.sin(a*u),c=e+t*Math.cos(a*u);o.unshift(i(l,c))}return o}(c,s.x,s.y,o),d=new Array,v=0;v<g.length;v++){var h=window.PoolMgr.Instance().get(n);h.setWorldScale(a(.7,.7,.7)),h.parent=u("Canvas");var M=a(g[v].x+t.getRandomInt(0,50),g[v].y+t.getRandomInt(0,50),1);h.setWorldPosition(s),d.push({gold:h,randPos:M})}for(var m=!1,p=r.worldPosition,w=function(){var t=d[y].randPos,n=d[y].gold;d[y].gold.id=y,l(n).to(.2,{worldPosition:t}).delay(.03*y).to(.7,{worldPosition:a(p.x,p.y,1)}).call((function(){m||(m=!0,l(r).to(.1,{scale:a(2,2,2)}).to(.1,{scale:a(1,1,1)}).call((function(){m=!1})).start()),f(n.id==d.length-1),window.PoolMgr.Instance().put(n.name,n)})).start()},y=0;y<d.length;y++)w()},t.formatString=function(t){for(var n=0;n<(arguments.length<=1?0:arguments.length-1);n++){var e=new RegExp("\\{"+n+"\\}","gm");t=t.replace(e,n+1<1||arguments.length<=n+1?void 0:arguments[n+1])}return t},t.count=function(t){if(!t)return 0;var n=0;for(var e in t)n++;return n},t.copy=function(t){var n=Object.create(t);return Object.assign(n,t),n},t.playSkAni=function(){var r=n(e().mark((function n(r,o,a,u,i){var g,d,v;return e().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return void 0===i&&(i=-1),(g=new c).parent=a,g.position=u,g.layer=f.BitMask.UI_2D,d=g.addComponent(s.Skeleton),n.next=8,t.loadRes(r,"spine",s.SkeletonData);case 8:return v=n.sent,d.skeletonData=v,d.setAnimation(0,o,!1),-1!=i&&l(g).delay(i).call((function(){g.removeFromParent(),g.destroy()})).start(),n.abrupt("return",g);case 13:case"end":return n.stop()}}),n)})));return function(t,n,e,o,a){return r.apply(this,arguments)}}(),t}()).seed=5,r._RF.pop()}}}));

System.register("chunks:///_virtual/WindowManager.ts",["./rollupPluginModLoBabelHelpers.js","cc","./GameConst.ts","./Utils2.ts"],(function(n){"use strict";var i,t,e,o,s,r;return{setters:[function(n){i=n.createClass},function(n){t=n.cclegacy,e=n.Prefab,o=n.instantiate},function(n){s=n.default},function(n){r=n.default}],execute:function(){t._RF.push({},"6aa1d5C1T5F5L0hm2GSlczf","WindowManager",void 0);var l=n("default",function(){function n(){this._windowContainer=void 0,this._windows=[],this._showlist={},this._prefabMap={}}var t=n.prototype;return t.register=function(n){this.clearAll(),this._windowContainer=n},t.open=function(n,i,t,s){var l=this;if(void 0===i&&(i=null),void 0===t&&(t=null),void 0===s&&(s=null),!this._showlist[n])return new Promise((function(a,u){if(l._showlist[n])u(null);else{l._showlist[n]=!0;var w="gameui/"+n;r.loadRes(w,"prefabs",e,(function(e,r){if(e)return console.log("加载错误",w),l._showlist[n]=!1,void u(null);if(0!=l._showlist[n]){console.log("open win ",n);var h=o(r);h.name=n,h.parent=s||l._windowContainer,l.addWin(h),null!=t&&(h.position=t),l._prefabMap[w]=r;var c=h.getComponent(n);c&&c.show(i),a(c)}else u(null)}))}}))},t.addWin=function(n){for(var i=n.getComponent(n.name).layer,t=0,e=this._windows.length-1;e>=0;e--){var o=this._windows[e];if(o.getComponent(o.name).layer<=i){t=e+1;break}}this._windows.splice(t,0,n)},t.removeWin=function(n){this._showlist[n]&&delete this._showlist[n];for(var i=this._windows.length-1;i>=0;i--){var t=this._windows[i];if(t.name==n){var e=t.getComponent(t.name);if(e.winType!=s.WIN_TYPE.PERMANENT){t.destroy(),t=null,e.destroyAfterClose,this._windows.splice(i,1);break}}}},t.removeAll=function(n){void 0===n&&(n=null);for(var i=this._windows.length-1;i>=0;i--){var t=this._windows[i];n&&n.indexOf(t.name)||this.removeWin(t.name)}},t.isOpen=function(n){return null!=this.getWin(n)},t.isShow=function(n){return 1==this._showlist[n]},t.getWinCount=function(){return r.count(this._showlist)},t.getWin=function(n){for(var i=this._windows.length-1;i>=0;i--){var t=this._windows[i];if(t.name==n)return t}return null},t.clearAll=function(){this._windows=[],this._showlist={}},i(n,[{key:"container",get:function(){return this._windowContainer}}],[{key:"ins",get:function(){return n.instance||(n.instance=new n),n.instance}}]),n}());l.instance=void 0,window.WindowManager=l,t._RF.pop()}}}));
