| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112 |
- System.register("chunks:///_virtual/Container_Manager.ts",["./rollupPluginModLoBabelHelpers.js","cc","./ch_util.ts","./ui.ts","./table_level.ts","./Hall.ts","./UI_Idioms.ts","./UI_Main.ts","./CreateIdiom.ts","./Cube_Infor.ts","./GameCtl.ts","./ch.ts","./table_idiom_order.ts","./table_idiom_unorder_1_3.ts","./table_idiom_unorder_2_2.ts","./table_idiom_unorder_3_1.ts","./table_level_2.ts"],(function(e){var n,t,o,i,r,l,c,s,a,f,u,_,d,h,g,p,m,v,b,y,C,w,T,I,R,x,k,P,M,L,A,E,z,S,U;return{setters:[function(e){n=e.applyDecoratedDescriptor,t=e.inheritsLoose,o=e.initializerDefineProperty,i=e.assertThisInitialized,r=e.createForOfIteratorHelperLoose,l=e.asyncToGenerator,c=e.regeneratorRuntime},function(e){s=e.cclegacy,a=e._decorator,f=e.Node,u=e.Prefab,_=e.NodePool,d=e.instantiate,h=e.Component,g=e.RigidBody,p=e.BoxCollider,m=e.Quat,v=e.tween,b=e.Vec3},function(e){y=e.default},function(e){C=e.gui},function(e){w=e.table_level},function(e){T=e.Hall},function(e){I=e.UI_Idioms},function(e){R=e.UI_Main},function(e){x=e.CreateIdiom},function(e){k=e.Cube_Infor,P=e.Cube_State},function(e){M=e.GameCtl},function(e){L=e.ch},function(e){A=e.table_idiom_order},function(e){E=e.table_idiom_unorder_1_3},function(e){z=e.table_idiom_unorder_2_2},function(e){S=e.table_idiom_unorder_3_1},function(e){U=e.table_level_2}],execute:function(){var D,H,N,B,F,G,j,O,Q,Y,Z,V,X,q,J;s._RF.push({},"e84de8IXbZDjZbYlbQpevuI","Container_Manager",void 0);var K=a.ccclass,W=a.property;e("Container_Manager",(D=K("Container_Manager"),H=W(f),N=W(f),B=W([f]),F=W([u]),G=W(x),j=W([f]),D((Y=n((Q=function(e){function n(){for(var n,t=arguments.length,r=new Array(t),l=0;l<t;l++)r[l]=arguments[l];return n=e.call.apply(e,[this].concat(r))||this,o(n,"skeleton1",Y,i(n)),o(n,"skeleton2",Z,i(n)),n.canTouch=!1,o(n,"Lock_node",V,i(n)),o(n,"prefabs",X,i(n)),n.level_config=null,n.level2_config=null,n.config=null,n.config_1_3=null,n.config_2_2=null,n.config_3_1=null,n.idioms=[],n.index=[],o(n,"create_node",q,i(n)),o(n,"nodes",J,i(n)),n.node_isIdiom=new Array(9).fill(!1),n.unlock_Num=7,n.is_Show_UI_Lock=!1,n.idiom_combine=new Map,n.Cube_Pool=new _,n.nodeReferences=[],n.count=0,n}t(n,e);var s=n.prototype;return s.instantiateCube=function(){for(var e=0;e<2*this.idioms.length;e++){var n=Math.floor(e/2),t=e%2==0,o=t?this.idioms[n].piece_1_word.length:this.idioms[n].piece_2_word.length,i=d(this.prefabs[o-1]);i.active=!0,i.getComponent(k).Text=t?this.idioms[n].piece_1_word:this.idioms[n].piece_2_word,this.Cube_Pool.put(i)}this.shufflePool()},s.getCube=function(){var e=this.Cube_Pool.get();return e&&(e.active=!0),e},s.recycleCube=function(e){e.active=!1,this.Cube_Pool.put(e)},s.clearCubePool=function(){this.Cube_Pool.clear()},s.start=function(){this.config=A.getList(),this.config_1_3=E.getList(),this.config_2_2=z.getList(),this.config_3_1=S.getList(),console.log(this.config.length),console.log(this.config_1_3.length),console.log(this.config_2_2.length),console.log(this.config_3_1.length),this.level_config=w.getList(),this.level2_config=U.getList(),this.level_idioms()},s.update=function(e){},s.checkIdiom_Combine=function(e,n){var t=this;if(this.idiom_combine.size<2)return!1;for(var o,i,l=function(){var o=i.value,r=t.idioms.find((function(n){return n.piece_1_word===o.Text&&n.piece_2_word===e.Text}));if(r)return n.push(o,e),t.nodeReferences=t.nodeReferences.filter((function(n){return n!==e.node&&n!==o.node})),console.log("成功拼成成语: "+r.piece_1_word+r.piece_2_word),{v:!0};var l=t.idioms.find((function(n){return n.piece_1_word===e.Text&&n.piece_2_word===o.Text}));return l?(n.push(e,o),t.nodeReferences=t.nodeReferences.filter((function(n){return n!==e.node&&n!==o.node})),console.log("成功拼成成语: "+l.piece_1_word+l.piece_2_word),{v:!0}):void 0},c=r(this.idiom_combine.keys());!(i=c()).done;)if(o=l())return o.v;return!1},s.level_idioms=function(){var e=l(c().mark((function e(){var n,t,o,i,r,l,s,a,f,u,_,d,h,g,p,m,v,b,w,x,k,P,M,L,A,E,z,S,U,D,H,N,B,F,G,j,O=this;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:for(this.Lock_node.forEach((function(e){e.active=!0})),this.unlock_Num=7,this.is_Show_UI_Lock=!1,this.canTouch=!1,n=T.getInstance().player.get_max_floor(),t=0;t<this.nodeReferences.length;t++)this.nodeReferences[t]&&this.nodeReferences[t].destroy();for(_ in this.clearCubePool(),this.idioms=[],this.nodeReferences=[],this.node_isIdiom=new Array(9).fill(!1),this.idiom_combine=new Map,0!=n&&1!=n||(n=2),o=this.level_config[n].different_grade_level,i=o.split("_"),r=this.level_config[n].idiom_type_1,l=r.split("_"),console.log("idiom_type_1:",l),s=this.level_config[n].idiom_type_2,a=s.split("_"),console.log("idiom_type_2:",a),f=this.level_config[n].count/(l.length+a.length),u={},[].concat(l).forEach((function(e){var n=O.config.filter((function(n){return n.piece_1_word===e&&n.difficulty===i[0]}));if(console.log("筛选 "+e+" 后的成语:",n),n.length<f)console.error("规律 "+e+" 的成语数量不足,仅有 "+n.length+" 个");else{console.log("规律 "+e+" 的成语数量:"+n.length);for(var t=[],o=0;o<f;){var r=y.getRandomInt(0,n.length-1),l=n[r];n.splice(r,1),t.push(l),console.log("选中的成语:"+l.idiom),o++}u[e]=t}})),[].concat(a).forEach((function(e){var n=O.config.filter((function(n){return n.piece_2_word===e&&n.difficulty===i[0]}));if(console.log("筛选2 "+e+" 后的成语:",n),n.length<f)console.error("规律2 "+e+" 的成语数量不足,仅有 "+n.length+" 个");else{console.log("规律2 "+e+" 的成语数量:"+n.length);for(var t=[],o=0;o<f;){var r=y.getRandomInt(0,n.length-1),l=n[r];n.splice(r,1),t.push(l),console.log("选中的成语:"+l.idiom),o++}u[e]=t}})),u)u.hasOwnProperty(_)&&(d=this.idioms).push.apply(d,u[_]);if(this.level_config[n].easy_1_3>0)for(h=this.config_1_3.filter((function(e){return"easy"===e.difficulty})),g=0;g<this.level_config[n].easy_1_3;g++)p=y.getRandomInt(0,h.length-1),m=h[p],h.splice(p,1),this.idioms.push(m);if(this.level_config[n].hard_1_3>0)for(v=this.config_1_3.filter((function(e){return"hard"===e.difficulty})),b=0;b<this.level_config[n].hard_1_3;b++)w=y.getRandomInt(0,v.length-1),x=v[w],v.splice(w,1),this.idioms.push(x);if(this.level_config[n].easy_2_2>0)for(k=this.config_2_2.filter((function(e){return"easy"===e.difficulty})),P=0;P<this.level_config[n].easy_2_2;P++)M=y.getRandomInt(0,k.length-1),L=k[M],k.splice(M,1),this.idioms.push(L);if(this.level_config[n].hard_2_2>0)for(A=this.config_2_2.filter((function(e){return"hard"===e.difficulty})),E=0;E<this.level_config[n].hard_2_2;E++)z=y.getRandomInt(0,A.length-1),S=A[z],A.splice(z,1),this.idioms.push(S);if(this.level_config[n].easy_3_1>0)for(U=this.config_3_1.filter((function(e){return"easy"===e.difficulty})),D=0;D<this.level_config[n].easy_3_1;D++)H=y.getRandomInt(0,U.length-1),N=U[H],U.splice(H,1),this.idioms.push(N);if(this.level_config[n].hard_1_3>0)for(B=this.config_1_3.filter((function(e){return"hard"===e.difficulty})),F=0;F<this.level_config[n].hard_1_3;F++)G=y.getRandomInt(0,B.length-1),j=B[G],B.splice(G,1),this.idioms.push(j);return console.log("最终选中的成语:",this.idioms),this.count=this.level_config[n].total,e.next=35,this.instantiateCube();case 35:return e.next=37,C.show(I);case 37:return e.next=39,this.create_node.nodeMoving();case 39:C.show(R);case 40:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}(),s.eliminate=function(){for(var e,n,t=this,o=r(this.idiom_combine);!(n=o()).done;){var i=n.value,l=i[0];if(0===i[1]){e=l;break}}if(e)for(var c,s=[].concat(this.nodeReferences),a=function(){var n=c.value;if(t.idioms.find((function(t){return t.idiom==n.getComponent(k).Text+e.Text}))&&n.getComponent(k)!==e){console.log(n.getComponent(k).Text),n.getComponent(k).state=P.wait,n.getComponent(k).rigidbody.type=g.Type.STATIC,n.getComponent(p).enabled=!1;var o=new m;return m.fromEuler(o,-90,0,0),n.rotation=o,M.instance.combine_ani(n.getComponent(k),e),t.nodeReferences=t.nodeReferences.filter((function(t){return t!==n&&t!==e.node})),0}if(t.idioms.find((function(t){return t.idiom==e.Text+n.getComponent(k).Text}))&&n.getComponent(k)!==e){console.log(n.getComponent(k).Text),n.getComponent(k).state=P.wait,n.getComponent(k).rigidbody.type=g.Type.STATIC,n.getComponent(p).enabled=!1;var i=new m;return m.fromEuler(i,-90,0,0),n.rotation=i,M.instance.combine_ani(e,n.getComponent(k)),t.nodeReferences=t.nodeReferences.filter((function(t){return t!==n&&t!==e.node})),0}},f=r(s);!(c=f()).done&&0!==a(););else for(var u,_=!1,d=[].concat(this.nodeReferences),h=[].concat(this.nodeReferences),v=function(){for(var e,n=u.value,o=function(){var o=e.value;if(t.idioms.find((function(e){return e.idiom==n.getComponent(k).Text+o.getComponent(k).Text}))){n.getComponent(k).state=P.wait,n.getComponent(k).rigidbody.type=g.Type.STATIC;var i=new m;return m.fromEuler(i,-90,0,0),n.rotation=i,o.getComponent(k).state=P.wait,o.getComponent(k).rigidbody.type=g.Type.STATIC,o.getComponent(p).enabled=!1,o.rotation=i,M.instance.combine_ani(n.getComponent(k),o.getComponent(k)),t.nodeReferences=t.nodeReferences.filter((function(e){return e!==n&&e!==o})),_=!0,0}if(t.idioms.find((function(e){return e.idiom==o.getComponent(k).Text+n.getComponent(k).Text}))){n.getComponent(k).state=P.wait,n.getComponent(k).rigidbody.type=g.Type.STATIC;var r=new m;return m.fromEuler(r,-90,0,0),n.rotation=r,o.getComponent(k).state=P.wait,o.getComponent(k).rigidbody.type=g.Type.STATIC,o.getComponent(p).enabled=!1,o.rotation=r,M.instance.combine_ani(o.getComponent(k),n.getComponent(k)),t.nodeReferences=t.nodeReferences.filter((function(e){return e!==n&&e!==o})),_=!0,0}},i=r(h);!(e=i()).done&&0!==o(););if(!0===_)return 1},b=r(d);!(u=b()).done&&!v(););},s.shuffle=function(){var e=l(c().mark((function e(){var n=this;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.nodeReferences.forEach((function(e){if(e.getComponent(k).state===P.live){var t=new m;m.fromEuler(t,-90,0,0),e.rotation=t,n.recycleCube(e)}})),this.shufflePool(),e.next=4,this.create_node.nodeMoving();case 4:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}(),s.Empty=function(){for(var e,n=this,t=function(){var t=e.value;t.state=P.live;var o=L.util.getRandom(-3,3),i=L.util.getRandom(-3,3);v(t.node).to(.5,{position:new b(o,n.create_node.node.position.y+5,i)}).call((function(){t.rigidbody.type=g.Type.DYNAMIC})).start()},o=r(this.idiom_combine.keys());!(e=o()).done;)t();this.idiom_combine.clear(),this.node_isIdiom.fill(!1),C.get(I).all_light_Hide()},s.AddTime=function(){C.get(R).getLayout().time+=120},s.shufflePool=function(){for(var e=this,n=this.Cube_Pool.size(),t=[],o=0;o<n;o++)t.push(this.Cube_Pool.get());for(var i=Math.ceil(.5*n),r=0;r<i;r++){var l=Math.floor(Math.random()*n),c=[t[l],t[r]];t[r]=c[0],t[l]=c[1]}t.forEach((function(n){return e.Cube_Pool.put(n)}))},n}(h)).prototype,"skeleton1",[H],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),Z=n(Q.prototype,"skeleton2",[N],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),V=n(Q.prototype,"Lock_node",[B],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return[]}}),X=n(Q.prototype,"prefabs",[F],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return[]}}),q=n(Q.prototype,"create_node",[G],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),J=n(Q.prototype,"nodes",[j],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return[]}}),O=Q))||O));s._RF.pop()}}}));
- System.register("chunks:///_virtual/CreateIdiom.ts",["./rollupPluginModLoBabelHelpers.js","cc","./Cube_Infor.ts","./Container_Manager.ts"],(function(n){var o,e,t,i,r,s,a,c,u,p;return{setters:[function(n){o=n.inheritsLoose},function(n){e=n.cclegacy,t=n._decorator,i=n.find,r=n.Vec3,s=n.director,a=n.Component},function(n){c=n.Cube_Infor,u=n.Cube_State},function(n){p=n.Container_Manager}],execute:function(){var d;e._RF.push({},"3b901oU5ZJHnp8TtJiYjZWZ","CreateIdiom",void 0);var l=t.ccclass;t.property,n("CreateIdiom",l("CreateIdiom")(d=function(n){function e(){for(var o,e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return(o=n.call.apply(n,[this].concat(t))||this).Container=void 0,o}o(e,n);var t=e.prototype;return t.onLoad=function(){this.Container=i("Container").getComponent(p)},t.update=function(n){},t.nodeMoving=function(){var n=this;this.node.setPosition(new r(0,1.6,0));var o=this.node.position,e=new r(this.node.position.x,this.node.position.y+2,0),t=new r(this.node.position.x,this.node.position.y+4,0),i=0,a=!1,p=0;!function d(){if(!a){n.node.position=function(n,o,e,t){var i=(1-n)*(1-n)*o.x+2*n*(1-n)*e.x+n*n*t.x,s=(1-n)*(1-n)*o.y+2*n*(1-n)*e.y+n*n*t.y,a=(1-n)*(1-n)*o.z+2*n*(1-n)*e.z+n*n*t.z,c=n*Math.PI*6,u=3.5*n,p=Math.cos(c)*u,d=Math.sin(c)*u;return new r(i+p,s,a+d)}(p,o,e,t);var l=n.Container.getCube();if(null!=l&&l.getComponent(c).state===u.live){var C=l;C.parent=s.getScene(),C.setPosition(n.node.position),n.Container.nodeReferences.push(C),console.log(l.getComponent(c).Text),i++}null!=l||a||(a=!0,console.log("没有方块,停止动画"),n.node.setPosition(n.node.position));var f=2*n.Container.idioms.length;i>=f&&(a=!0,n.Container.canTouch=!0,console.log("所有方块已拿完,停止动画")),p+=.01,requestAnimationFrame(d)}}()},e}(a))||d);e._RF.pop()}}}));
- System.register("chunks:///_virtual/Cube_Infor.ts",["./rollupPluginModLoBabelHelpers.js","cc"],(function(t){var e,i,n,r,o,a,u,l,c,s;return{setters:[function(t){e=t.applyDecoratedDescriptor,i=t.inheritsLoose,n=t.initializerDefineProperty,r=t.assertThisInitialized,o=t.createClass},function(t){a=t.cclegacy,u=t._decorator,l=t.Label,c=t.RigidBody,s=t.Component}],execute:function(){var p,d,f,h,b,v,y,g,x;a._RF.push({},"0fe67dkVupFZYUR3uRu1sAy","Cube_Infor",void 0);var w=u.ccclass,_=u.property,C=t("Cube_State",function(t){return t[t.live=0]="live",t[t.wait=1]="wait",t[t.dead=2]="dead",t}({}));t("Cube_Infor",(p=w("Cube_Infor"),d=_(l),f=_(l),h=_(c),p((y=e((v=function(t){function e(){for(var e,i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return e=t.call.apply(t,[this].concat(o))||this,n(e,"txt",y,r(e)),n(e,"txt2",g,r(e)),n(e,"rigidbody",x,r(e)),e.text=void 0,e.state=C.live,e}i(e,t);var a=e.prototype;return a.start=function(){},a.update=function(t){var e=this.node.eulerAngles.x;e>=-180&&e<0?this.ShowFront():this.ShowBack()},a.ShowFront=function(){this.txt.node.active=!0,this.txt2.node.active=!1},a.ShowBack=function(){this.txt.node.active=!1,this.txt2.node.active=!0},o(e,[{key:"Text",get:function(){return this.txt.string},set:function(t){this.txt.string=t,this.txt2.string=t}}]),e}(s)).prototype,"txt",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),g=e(v.prototype,"txt2",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),x=e(v.prototype,"rigidbody",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),b=v))||b));a._RF.pop()}}}));
- System.register("chunks:///_virtual/GameCtl.ts",["./rollupPluginModLoBabelHelpers.js","cc","./ui.ts","./UI_Idioms.ts","./UI_Main.ts","./Container_Manager.ts","./Cube_Infor.ts","./Hall.ts","./UI_LatticeFull.ts","./UI_Lock.ts"],(function(n){var o,e,t,i,a,r,s,l,c,d,u,h,m,C,f,g,_,p,y,b,v,I,T,k,x,w,z,L,M,A;return{setters:[function(n){o=n.applyDecoratedDescriptor,e=n.inheritsLoose,t=n.initializerDefineProperty,i=n.assertThisInitialized,a=n.createForOfIteratorHelperLoose,r=n.asyncToGenerator,s=n.regeneratorRuntime},function(n){l=n.cclegacy,c=n._decorator,d=n.Camera,u=n.Node,h=n.find,m=n.geometry,C=n.PhysicsSystem,f=n.Vec3,g=n.RigidBody,_=n.Quat,p=n.tween,y=n.Layers,b=n.sp,v=n.Component},function(n){I=n.gui},function(n){T=n.UI_Idioms},function(n){k=n.UI_Main},function(n){x=n.Container_Manager},function(n){w=n.Cube_Infor,z=n.Cube_State},function(n){L=n.Hall},function(n){M=n.UI_LatticeFull},function(n){A=n.UI_Lock}],execute:function(){var P,U,W,N,S,R,E,H,F,G;l._RF.push({},"5237f+4/ftIlKW+rC062l8C","GameCtl",void 0);var O=c.ccclass,D=c.property;n("GameCtl",(P=O("GameCtl"),U=D(d),W=D([u]),N=D(u),P(((G=function(n){function o(){for(var o,e=arguments.length,a=new Array(e),r=0;r<e;r++)a[r]=arguments[r];return o=n.call.apply(n,[this].concat(a))||this,t(o,"camera",E,i(o)),t(o,"Ani",H,i(o)),t(o,"Mid",F,i(o)),o.Container=void 0,o}e(o,n);var l=o.prototype;return l.onLoad=function(){o.instance=this,this.node.on(u.EventType.TOUCH_START,this.onTouchStart,this),this.node.on(u.EventType.TOUCH_MOVE,this.onTouchMove,this),this.node.on(u.EventType.TOUCH_END,this.onTouchEnd,this),this.Container=h("Container").getComponent(x)},l.update=function(n){},l.onTouchStart=function(n){},l.onTouchMove=function(n){},l.onTouchEnd=function(n){this.Container.canTouch&&this.shootRay(n)},l.shootRay=function(n){if(this.camera){var o=new m.Ray;if(this.camera.screenPointToRay(n.getLocationX(),n.getLocationY(),o),C.instance.raycastClosest(o)){var e,t=C.instance.raycastClosestResult.collider;console.log(t.node.name),(null==(e=t.node.getComponent(w))?void 0:e.state)===z.live?this.entryContainer(t.node):"Lock"==t.node.name&&this.UnLock(t.node)}console.log("发射了射线")}},l.entryContainer=function(n){var o=this,e=-1,t=new f,i=n.getComponent(w).Text.length;switch(console.log(i),i){case 1:for(var r=0;r<this.Container.unlock_Num;r++)if(!1===this.Container.node_isIdiom[r]){e=r;break}-1!==e?(t=this.Container.nodes[e].getWorldPosition().clone(),this.Container.node_isIdiom[e]=!0,console.log(t)):console.log("没有空间了");break;case 2:for(var s=0;s<this.Container.unlock_Num-1;s++)if(!1===this.Container.node_isIdiom[s]&&!1===this.Container.node_isIdiom[s+1]){e=s;break}if(-1!==e){console.log("找到连续的两个 false,起始索引是:",e);var l=this.Container.nodes[e].getWorldPosition(),c=this.Container.nodes[e+1].getWorldPosition();this.Container.node_isIdiom[e]=!0,this.Container.node_isIdiom[e+1]=!0,t.set((l.x+c.x)/2,(l.y+c.y)/2,(l.z+c.z)/2),console.log(t)}break;case 3:for(var d=0;d<this.Container.unlock_Num-2;d++)if(!1===this.Container.node_isIdiom[d]&&!1===this.Container.node_isIdiom[d+1]&&!1===this.Container.node_isIdiom[d+2]){e=d;break}if(-1!==e){console.log("找到连续的三个 false,起始索引是:",e);var u=this.Container.nodes[e].getWorldPosition(),h=this.Container.nodes[e+1].getWorldPosition(),m=this.Container.nodes[e+2].getWorldPosition();this.Container.node_isIdiom[e]=!0,this.Container.node_isIdiom[e+1]=!0,this.Container.node_isIdiom[e+2]=!0,t.set((u.x+h.x+m.x)/3,(u.y+h.y+m.y)/3,(u.z+h.z+m.z)/3),console.log(t)}else console.log("没有找到连续的三个 false");break;default:return}if(-1!==e){n.getComponent(w).state=z.wait,n.getComponent(w).rigidbody.type=g.Type.STATIC;var C=new _,y=n.eulerAngles.x;y>=-180&&y<0?_.fromEuler(C,-90,0,0):_.fromEuler(C,90,0,0),this.Container.canTouch=!1,p(n).to(.5,{position:new f(t.x,t.y,t.z+.4),rotation:C}).call((function(){o.Container.idiom_combine.set(n.getComponent(w),e);var t=[];if(o.Container.checkIdiom_Combine(n.getComponent(w),t))console.log("匹配的成语方块:",t),o.combine_ani(t[0],t[1]);else{I.get(T).light_Show(n.getComponent(w));for(var i,r=0,s=a(o.Container.node_isIdiom);!(i=s()).done;){1==i.value&&r++}r==o.Container.unlock_Num?I.show(M):r>=o.Container.unlock_Num-2&&9!=o.Container.unlock_Num&&(o.Container.is_Show_UI_Lock||(I.show(A),o.Container.is_Show_UI_Lock=!0)),o.Container.canTouch=!0}})).start()}},l.combine_ani=function(n,o){var e=this;this.Container.canTouch=!0;for(var t=this.Container.idiom_combine.get(n);t<this.Container.idiom_combine.get(n)+n.Text.length;t++)this.Container.node_isIdiom[t]=!1;this.Container.idiom_combine.delete(n);for(var i=this.Container.idiom_combine.get(o);i<this.Container.idiom_combine.get(o)+o.Text.length;i++)this.Container.node_isIdiom[i]=!1;this.Container.idiom_combine.delete(o),I.get(T).light_Hide(n,o),I.get(k).evt.emit(I.get(k).evt.key.update_remain),this.adjustContainer();var a=0;1==n.Text.length?a=0:2==n.Text.length?a=2:3==n.Text.length&&(a=4);var r=0;1==o.Text.length?r=5:2==o.Text.length?r=3:3==o.Text.length&&(r=1),console.log(this.Container.node_isIdiom),this.Container.idioms=this.Container.idioms.filter((function(e){return e.idiom!==n.Text+o.Text}));var s=p(n.node).to(.3,{position:new f(this.Mid[0].position.x,this.Mid[0].position.y,this.Mid[0].position.z)}).call((function(){n.node.layer=1<<y.nameToLayer("Cube2"),n.node.walk((function(n){n.layer=1<<y.nameToLayer("Cube2")})),e.Container.skeleton1.getComponent(b.Skeleton).setAnimation(0,"anim1",!1),e.Container.skeleton2.getComponent(b.Skeleton).setAnimation(0,"anim2",!1)})).to(.3,{position:new f(this.Ani[a].position.x,this.Ani[a].position.y,this.Ani[a].position.z+.4)}).call((function(){setTimeout((function(){n.state=z.dead,e.Container.recycleCube(n.node)}),500)})),l=p(o.node).to(.3,{position:new f(this.Mid[1].position.x,this.Mid[1].position.y,this.Mid[1].position.z)}).call((function(){o.node.layer=1<<y.nameToLayer("Cube2"),o.node.walk((function(n){n.layer=1<<y.nameToLayer("Cube2")}))})).to(.3,{position:new f(this.Ani[r].position.x,this.Ani[r].position.y,this.Ani[r].position.z+.4)}).call((function(){setTimeout((function(){o.state=z.dead,e.Container.recycleCube(o.node)}),500)}));p(n.node).parallel(s,l).call((function(){L.getInstance().player.set_combine_num(1)})).start()},l.adjustContainer=function(){for(var n,o=this.Container,e=Array(o.node_isIdiom.length).fill(!1),t=new Map,i=a(o.idiom_combine.entries());!(n=i()).done;){var r=n.value,s=r[0],l=(r[1],s.Text.length),c=-1,d=new f;switch(l){case 1:for(var u=0;u<o.unlock_Num;u++)if(!e[u]){c=u;break}-1!==c?(d=o.nodes[c].getWorldPosition().clone(),e[c]=!0):console.log("没有空位容纳单字 Cube_Infor");break;case 2:for(var h=0;h<o.unlock_Num-1;h++)if(!e[h]&&!e[h+1]){c=h;break}if(-1!==c){var m=o.nodes[c].getWorldPosition(),C=o.nodes[c+1].getWorldPosition();d.set((m.x+C.x)/2,(m.y+C.y)/2,(m.z+C.z)/2),e[c]=!0,e[c+1]=!0}else console.log("没有连续两个空位容纳双字 Cube_Infor");break;case 3:for(var g=0;g<o.unlock_Num-2;g++)if(!e[g]&&!e[g+1]&&!e[g+2]){c=g;break}if(-1!==c){var _=o.nodes[c].getWorldPosition(),y=o.nodes[c+1].getWorldPosition(),b=o.nodes[c+2].getWorldPosition();d.set((_.x+y.x+b.x)/3,(_.y+y.y+b.y)/3,(_.z+y.z+b.z)/3),e[c]=!0,e[c+1]=!0,e[c+2]=!0}else console.log("没有连续三个空位容纳三字 Cube_Infor");break;default:return}-1!==c&&(p(s.node).to(.3,{position:new f(d.x,d.y,d.z+.4)}).start(),t.set(s,c))}o.node_isIdiom=e,o.idiom_combine=t,console.log("调整后的容器状态:",o.node_isIdiom),console.log("更新后的 idiom_combine:",[].concat(o.idiom_combine.entries()))},l.UnLock=function(){var n=r(s().mark((function n(o){return s().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,chsdk.playRewardAd("解锁槽位");case 2:n.sent&&(o.active=!1,this.Container.unlock_Num+=1);case 4:case"end":return n.stop()}}),n,this)})));return function(o){return n.apply(this,arguments)}}(),o}(v)).instance=null,E=o((R=G).prototype,"camera",[U],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),H=o(R.prototype,"Ani",[W],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return[]}}),F=o(R.prototype,"Mid",[N],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return[]}}),S=R))||S));l._RF.pop()}}}));
- System.register("chunks:///_virtual/Hall.ts",["./rollupPluginModLoBabelHelpers.js","cc","./ch.ts","./ui.ts","./HeadIcon.ts","./PlayerData.ts","./UI_Hall.ts","./TableLoadUtil.ts","./TableUtil.ts","./ModuleDef.ts"],(function(t){var n,e,r,o,i,a,s,c,l,u,f,p,d,h,g;return{setters:[function(t){n=t.inheritsLoose,e=t.asyncToGenerator,r=t.regeneratorRuntime},function(t){o=t.cclegacy,i=t._decorator,a=t.Component,s=t.director},function(t){c=t.ch},function(t){l=t.gui},function(t){u=t.default},function(t){f=t.default},function(t){p=t.UI_Hall},function(t){d=t.default},function(t){h=t.TableUtil},function(t){g=t.ModuleDef}],execute:function(){var _,y;o._RF.push({},"7cb62YJXe5LPKnKF0hMl+Rc","Hall",void 0);var v=i.ccclass;i.property,t("Hall",v("Hall")(((y=function(t){function o(){for(var n,e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];return(n=t.call.apply(t,[this].concat(r))||this).player=void 0,n.head_icon=u(),n}n(o,t),o.getInstance=function(){return o.instance};var i=o.prototype;return i.start=function(){var t=e(r().mark((function t(){return r().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:o.instance||(o.instance=this),this.init(),l.show(p),s.addPersistRootNode(this.node);case 4:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}(),i.init=function(){var t=e(r().mark((function t(){return r().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.loadTable(),this.player=f.getInstance(c.sdk.get_gid(),c.sdk.get_uid().toString()),this.player.init_user_info(),t.next=5,this.player.load();case 5:this.player.set_login_num(1),console.log("登录次数:"+this.player.get_login_num());case 7:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}(),i.loadTable=function(){c.log.log_start("加载配置初始化"),d.preloadAll(g.EXTRA,"table_json",e(r().mark((function t(){return r().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:case"end":return t.stop()}}),t)}))),h.set)},o}(a)).instance=void 0,_=y))||_);o._RF.pop()}}}));
- System.register("chunks:///_virtual/Layout_Fail.ts",["./rollupPluginModLoBabelHelpers.js","cc"],(function(e){var r,t,i,n,l,a,o,u,c,p;return{setters:[function(e){r=e.applyDecoratedDescriptor,t=e.inheritsLoose,i=e.initializerDefineProperty,n=e.assertThisInitialized},function(e){l=e.cclegacy,a=e._decorator,o=e.ProgressBar,u=e.Label,c=e.Button,p=e.Component}],execute:function(){var s,b,y,f,_,g,B,m,h,v,z;l._RF.push({},"03965b2YIBCA6Ocz97b2P5p","Layout_Fail",void 0);var L=a.ccclass,d=a.property;e("Layout_Fail",(s=L("Layout_Fail"),b=d(o),y=d(u),f=d(c),_=d(c),s((m=r((B=function(e){function r(){for(var r,t=arguments.length,l=new Array(t),a=0;a<t;a++)l[a]=arguments[a];return r=e.call.apply(e,[this].concat(l))||this,i(r,"progressBar",m,n(r)),i(r,"Num",h,n(r)),i(r,"Relife_Btn",v,n(r)),i(r,"ReturnHall_Btn",z,n(r)),r.Container=void 0,r}return t(r,e),r}(p)).prototype,"progressBar",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),h=r(B.prototype,"Num",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),v=r(B.prototype,"Relife_Btn",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),z=r(B.prototype,"ReturnHall_Btn",[_],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),g=B))||g));l._RF.pop()}}}));
- System.register("chunks:///_virtual/Layout_GameRules.ts",["./rollupPluginModLoBabelHelpers.js","cc"],(function(e){var t,r,o,n,a,i,l,u;return{setters:[function(e){t=e.applyDecoratedDescriptor,r=e.inheritsLoose,o=e.initializerDefineProperty,n=e.assertThisInitialized},function(e){a=e.cclegacy,i=e._decorator,l=e.Button,u=e.Component}],execute:function(){var s,c,p,y,_;a._RF.push({},"e612co2N2pF65ZUh56KD86z","Layout_GameRules",void 0);var f=i.ccclass,h=i.property;e("Layout_GameRules",(s=f("Layout_GameRules"),c=h(l),s((_=t((y=function(e){function t(){for(var t,r=arguments.length,a=new Array(r),i=0;i<r;i++)a[i]=arguments[i];return t=e.call.apply(e,[this].concat(a))||this,o(t,"Close_Btn",_,n(t)),t}return r(t,e),t}(u)).prototype,"Close_Btn",[c],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),p=y))||p));a._RF.pop()}}}));
- System.register("chunks:///_virtual/Layout_Hall.ts",["./rollupPluginModLoBabelHelpers.js","cc"],(function(t){var e,n,r,i,l,a,o,u,c;return{setters:[function(t){e=t.applyDecoratedDescriptor,n=t.inheritsLoose,r=t.initializerDefineProperty,i=t.assertThisInitialized},function(t){l=t.cclegacy,a=t._decorator,o=t.Button,u=t.EditBox,c=t.Component}],execute:function(){var p,b,f,_,B,s,y,g,S,h,m,z,w,d,v,H,L,k,x,R,D,E,I;l._RF.push({},"13bb8NC9xhAHqVW+8McXGfV","Layout_Hall",void 0);var T=a.ccclass,A=a.property;t("Layout_Hall",(p=T("Layout_Hall"),b=A(o),f=A(o),_=A(o),B=A(o),s=A(o),y=A(o),g=A(o),S=A(o),h=A(u),m=A(o),p((d=e((w=function(t){function e(){for(var e,n=arguments.length,l=new Array(n),a=0;a<n;a++)l[a]=arguments[a];return e=t.call.apply(t,[this].concat(l))||this,r(e,"Start_Btn",d,i(e)),r(e,"Settings_Btn",v,i(e)),r(e,"Rank_Btn",H,i(e)),r(e,"Invite_Btn",L,i(e)),r(e,"Store_Btn",k,i(e)),r(e,"Sign_Btn",x,i(e)),r(e,"SideBar_Btn",R,i(e)),r(e,"Task_Btn",D,i(e)),r(e,"Search_EditBox",E,i(e)),r(e,"Search_Btn",I,i(e)),e}return n(e,t),e}(c)).prototype,"Start_Btn",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),v=e(w.prototype,"Settings_Btn",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),H=e(w.prototype,"Rank_Btn",[_],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),L=e(w.prototype,"Invite_Btn",[B],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),k=e(w.prototype,"Store_Btn",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),x=e(w.prototype,"Sign_Btn",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),R=e(w.prototype,"SideBar_Btn",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),D=e(w.prototype,"Task_Btn",[S],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),E=e(w.prototype,"Search_EditBox",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),I=e(w.prototype,"Search_Btn",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),z=w))||z));l._RF.pop()}}}));
- System.register("chunks:///_virtual/Layout_Idioms.ts",["./rollupPluginModLoBabelHelpers.js","cc"],(function(e){var i,r,t,o,n,l,a,c,u,s;return{setters:[function(e){i=e.applyDecoratedDescriptor,r=e.inheritsLoose,t=e.initializerDefineProperty,o=e.assertThisInitialized},function(e){n=e.cclegacy,l=e._decorator,a=e.Prefab,c=e.ScrollView,u=e.Node,s=e.Component}],execute:function(){var p,f,d,y,b,m,_,g,h;n._RF.push({},"42de1lm8OtGEJAf8DNtqkZ4","Layout_Idioms",void 0);var v=l.ccclass,w=l.property;e("Layout_Idioms",(p=v("Layout_Idioms"),f=w(a),d=w(c),y=w(u),p((_=i((m=function(e){function i(){for(var i,r=arguments.length,n=new Array(r),l=0;l<r;l++)n[l]=arguments[l];return i=e.call.apply(e,[this].concat(n))||this,t(i,"idiom_prefab",_,o(i)),t(i,"scrollView",g,o(i)),t(i,"content",h,o(i)),i.Container=void 0,i}return r(i,e),i}(s)).prototype,"idiom_prefab",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),g=i(m.prototype,"scrollView",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),h=i(m.prototype,"content",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),b=m))||b));n._RF.pop()}}}));
- System.register("chunks:///_virtual/Layout_Invite.ts",["./rollupPluginModLoBabelHelpers.js","cc"],(function(e){var r,t,i,n,l,o,a,u,p,c,s,b;return{setters:[function(e){r=e.applyDecoratedDescriptor,t=e.inheritsLoose,i=e.initializerDefineProperty,n=e.assertThisInitialized},function(e){l=e.cclegacy,o=e._decorator,a=e.Button,u=e.ProgressBar,p=e.Label,c=e.SpriteFrame,s=e.Sprite,b=e.Component}],execute:function(){var _,f,y,g,m,v,B,h,w,z,I,d,L,F,S,N,R;l._RF.push({},"859979HUQ9IrZ1w0hT607qb","Layout_Invite",void 0);var T=o.ccclass,x=o.property;e("Layout_Invite",(_=T("Layout_Invite"),f=x(a),y=x(a),g=x(a),m=x(u),v=x(p),B=x([c]),h=x(s),_((I=r((z=function(e){function r(){for(var r,t=arguments.length,l=new Array(t),o=0;o<t;o++)l[o]=arguments[o];return r=e.call.apply(e,[this].concat(l))||this,i(r,"Close_Btn",I,n(r)),i(r,"Invite_Friend_Btn",d,n(r)),i(r,"Refresh_Btn",L,n(r)),i(r,"progressBar",F,n(r)),i(r,"Txt",S,n(r)),i(r,"Num",N,n(r)),i(r,"Num_Sp",R,n(r)),r.target_count=3,r.count=1,r}return t(r,e),r}(b)).prototype,"Close_Btn",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),d=r(z.prototype,"Invite_Friend_Btn",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),L=r(z.prototype,"Refresh_Btn",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),F=r(z.prototype,"progressBar",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),S=r(z.prototype,"Txt",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),N=r(z.prototype,"Num",[B],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return[]}}),R=r(z.prototype,"Num_Sp",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),w=z))||w));l._RF.pop()}}}));
- System.register("chunks:///_virtual/Layout_LatticeFull.ts",["./rollupPluginModLoBabelHelpers.js","cc"],(function(e){var i,t,l,n,r,a,o,u,p,c;return{setters:[function(e){i=e.applyDecoratedDescriptor,t=e.inheritsLoose,l=e.initializerDefineProperty,n=e.assertThisInitialized},function(e){r=e.cclegacy,a=e._decorator,o=e.Button,u=e.Label,p=e.Sprite,c=e.Component}],execute:function(){var b,m,y,_,s,f,d,g,E,L,z,w,h,v,R,C,F,P,A;r._RF.push({},"b79deqrTgdIk6CiExH7qvRx","Layout_LatticeFull",void 0);var k=a.ccclass,B=a.property;e("Layout_LatticeFull",(b=k("Layout_LatticeFull"),m=B(o),y=B(o),_=B(u),s=B(p),f=B(o),d=B(u),g=B(p),E=B(o),b((w=i((z=function(e){function i(){for(var i,t=arguments.length,r=new Array(t),a=0;a<t;a++)r[a]=arguments[a];return i=e.call.apply(e,[this].concat(r))||this,l(i,"Close_Btn",w,n(i)),l(i,"Eliminate",h,n(i)),l(i,"Eliminate_RedPoint_num",v,n(i)),l(i,"Eliminate_Ad",R,n(i)),l(i,"Empty",C,n(i)),l(i,"Empty_RedPoint_num",F,n(i)),l(i,"Empty_Ad",P,n(i)),l(i,"Click",A,n(i)),i}return t(i,e),i}(c)).prototype,"Close_Btn",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),h=i(z.prototype,"Eliminate",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),v=i(z.prototype,"Eliminate_RedPoint_num",[_],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),R=i(z.prototype,"Eliminate_Ad",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),C=i(z.prototype,"Empty",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),F=i(z.prototype,"Empty_RedPoint_num",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),P=i(z.prototype,"Empty_Ad",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),A=i(z.prototype,"Click",[E],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),L=z))||L));r._RF.pop()}}}));
- System.register("chunks:///_virtual/Layout_Lock.ts",["./rollupPluginModLoBabelHelpers.js","cc"],(function(e){var t,r,n,o,i,c,a,l;return{setters:[function(e){t=e.applyDecoratedDescriptor,r=e.inheritsLoose,n=e.initializerDefineProperty,o=e.assertThisInitialized},function(e){i=e.cclegacy,c=e._decorator,a=e.Button,l=e.Component}],execute:function(){var u,s,p,y,_,f,L;i._RF.push({},"2fcdcBp+uZEY6m/sU2Hehcl","Layout_Lock",void 0);var h=c.ccclass,b=c.property;e("Layout_Lock",(u=h("Layout_Lock"),s=b(a),p=b(a),u((f=t((_=function(e){function t(){for(var t,r=arguments.length,i=new Array(r),c=0;c<r;c++)i[c]=arguments[c];return t=e.call.apply(e,[this].concat(i))||this,n(t,"Close_Btn",f,o(t)),n(t,"Ensure_Btn",L,o(t)),t}return r(t,e),t}(l)).prototype,"Close_Btn",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),L=t(_.prototype,"Ensure_Btn",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),y=_))||y));i._RF.pop()}}}));
- System.register("chunks:///_virtual/Layout_Main.ts",["./rollupPluginModLoBabelHelpers.js","cc","./Container_Manager.ts"],(function(e){var n,t,i,r,o,a,l,u,c,p,f,b;return{setters:[function(e){n=e.applyDecoratedDescriptor,t=e.inheritsLoose,i=e.initializerDefineProperty,r=e.assertThisInitialized},function(e){o=e.cclegacy,a=e._decorator,l=e.Button,u=e.Label,c=e.Node,p=e.find,f=e.Component},function(e){b=e.Container_Manager}],execute:function(){var s,_,y,m,g,w,z,B,d,C,h,v,D,L,M,R,E,P,H,S,F;o._RF.push({},"e3f72nzJUVGJo/WY8fbriTs","Layout_Main",void 0);var J=a.ccclass,T=a.property;e("Layout_Main",(s=J("Layout_Main"),_=T(l),y=T(l),m=T(u),g=T(u),w=T(u),z=T(l),B=T(l),d=T(l),C=T(c),s((D=n((v=function(e){function n(){for(var n,t=arguments.length,o=new Array(t),a=0;a<t;a++)o[a]=arguments[a];return n=e.call.apply(e,[this].concat(o))||this,i(n,"Pause_Btn",D,r(n)),i(n,"Rules_Btn",L,r(n)),i(n,"Level",M,r(n)),i(n,"Remain_Cube_Des",R,r(n)),i(n,"Count_Down_Des",E,r(n)),i(n,"Eliminate_Btn",P,r(n)),i(n,"Shuffle_Btn",H,r(n)),i(n,"Empty_Btn",S,r(n)),i(n,"Hand",F,r(n)),n.time=void 0,n.Container=void 0,n}return t(n,e),n.prototype.start=function(){this.Container=p("Container").getComponent(b)},n}(f)).prototype,"Pause_Btn",[_],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),L=n(v.prototype,"Rules_Btn",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),M=n(v.prototype,"Level",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),R=n(v.prototype,"Remain_Cube_Des",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),E=n(v.prototype,"Count_Down_Des",[w],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),P=n(v.prototype,"Eliminate_Btn",[z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),H=n(v.prototype,"Shuffle_Btn",[B],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),S=n(v.prototype,"Empty_Btn",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),F=n(v.prototype,"Hand",[C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),h=v))||h));o._RF.pop()}}}));
- System.register("chunks:///_virtual/Layout_Rank.ts",["./rollupPluginModLoBabelHelpers.js","cc","./UI_Rank_Item.ts","./List.ts"],(function(t){var e,n,i,l,o,r,a,u,s,c,p;return{setters:[function(t){e=t.applyDecoratedDescriptor,n=t.inheritsLoose,i=t.initializerDefineProperty,l=t.assertThisInitialized},function(t){o=t.cclegacy,r=t._decorator,a=t.Button,u=t.Toggle,s=t.Component},function(t){c=t.UI_Rank_Item},function(t){p=t.default}],execute:function(){var _,f,b,g,y,m,L,R,h,w,v,d,k,z,T,I,B;o._RF.push({},"2eda949TxVMN7XvpxY3t5gw","Layout_Rank",void 0);var D=r.ccclass,x=r.property;t("Layout_Rank",(_=D("Layout_Rank"),f=x(a),b=x(u),g=x(u),y=x(p),m=x(p),L=x(c),R=x(c),_((v=e((w=function(t){function e(){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,i(e,"Close_Btn",v,l(e)),i(e,"Rank_Toggle_1",d,l(e)),i(e,"Rank_Toggle_2",k,l(e)),i(e,"list1",z,l(e)),i(e,"list2",T,l(e)),i(e,"own1_item",I,l(e)),i(e,"own2_item",B,l(e)),e.onList1=void 0,e.onList2=void 0,e}n(e,t);var o=e.prototype;return o.onListRender1=function(t,e){var n;null==(n=this.onList1)||n.call(this,t,e)},o.onListRender2=function(t,e){var n;null==(n=this.onList2)||n.call(this,t,e)},o.onDestroy=function(){this.onList1=null,this.onList2=null},e}(s)).prototype,"Close_Btn",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),d=e(w.prototype,"Rank_Toggle_1",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),k=e(w.prototype,"Rank_Toggle_2",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),z=e(w.prototype,"list1",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),T=e(w.prototype,"list2",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),I=e(w.prototype,"own1_item",[L],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),B=e(w.prototype,"own2_item",[R],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),h=w))||h));o._RF.pop()}}}));
- System.register("chunks:///_virtual/Layout_Settings.ts",["./rollupPluginModLoBabelHelpers.js","cc"],(function(e){var t,i,n,r,l,o,a,u,c;return{setters:[function(e){t=e.applyDecoratedDescriptor,i=e.inheritsLoose,n=e.initializerDefineProperty,r=e.assertThisInitialized},function(e){l=e.cclegacy,o=e._decorator,a=e.Button,u=e.Toggle,c=e.Component}],execute:function(){var p,s,g,_,b,y,f,B,d,m,w,z,h,L,S;l._RF.push({},"a23fc68/1dLFoa1EwXrpQkk","Layout_Settings",void 0);var v=o.ccclass,T=o.property;e("Layout_Settings",(p=v("Layout_Settings"),s=T(a),g=T(u),_=T(u),b=T(a),y=T(a),f=T(a),p((m=t((d=function(e){function t(){for(var t,i=arguments.length,l=new Array(i),o=0;o<i;o++)l[o]=arguments[o];return t=e.call.apply(e,[this].concat(l))||this,n(t,"Close_Btn",m,r(t)),n(t,"Toggle_Music",w,r(t)),n(t,"Toggle_Sound",z,r(t)),n(t,"Defeat_Btn",h,r(t)),n(t,"Replay_Btn",L,r(t)),n(t,"Question_Btn",S,r(t)),t}return i(t,e),t}(c)).prototype,"Close_Btn",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),w=t(d.prototype,"Toggle_Music",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),z=t(d.prototype,"Toggle_Sound",[_],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),h=t(d.prototype,"Defeat_Btn",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),L=t(d.prototype,"Replay_Btn",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),S=t(d.prototype,"Question_Btn",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),B=d))||B));l._RF.pop()}}}));
- System.register("chunks:///_virtual/Layout_SideBar.ts",["./rollupPluginModLoBabelHelpers.js","cc"],(function(e){var r,i,t,o,n,a,l,u,c,p;return{setters:[function(e){r=e.applyDecoratedDescriptor,i=e.inheritsLoose,t=e.initializerDefineProperty,o=e.assertThisInitialized},function(e){n=e.cclegacy,a=e._decorator,l=e.Button,u=e.Sprite,c=e.SpriteFrame,p=e.Component}],execute:function(){var s,y,b,d,f,g,_,L,B,S,h;n._RF.push({},"71db0Dfd1dNiLKKSZRT/O0i","Layout_SideBar",void 0);var m=a.ccclass,v=a.property;e("Layout_SideBar",(s=m("Layout_SideBar"),y=v(l),b=v(l),d=v(u),f=v([c]),s((L=r((_=function(e){function r(){for(var r,i=arguments.length,n=new Array(i),a=0;a<i;a++)n[a]=arguments[a];return r=e.call.apply(e,[this].concat(n))||this,t(r,"Close_Btn",L,o(r)),t(r,"Go_SideBar",B,o(r)),t(r,"Logo",S,o(r)),t(r,"Logos",h,o(r)),r}return i(r,e),r}(p)).prototype,"Close_Btn",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),B=r(_.prototype,"Go_SideBar",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),S=r(_.prototype,"Logo",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),h=r(_.prototype,"Logos",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return[]}}),g=_))||g));n._RF.pop()}}}));
- System.register("chunks:///_virtual/Layout_Sign.ts",["./rollupPluginModLoBabelHelpers.js","cc","./Sign_Reward.ts"],(function(e){var r,n,t,i,o,a,u,l,c,g;return{setters:[function(e){r=e.applyDecoratedDescriptor,n=e.inheritsLoose,t=e.initializerDefineProperty,i=e.assertThisInitialized},function(e){o=e.cclegacy,a=e._decorator,u=e.Button,l=e.Toggle,c=e.Component},function(e){g=e.Sign_Reward}],execute:function(){var p,s,f,b,y,_,d,w,S,R,h;o._RF.push({},"f3b5dQdde1MGb2BgYEWz0N9","Layout_Sign",void 0);var z=a.ccclass,m=a.property;e("Layout_Sign",(p=z("Layout_Sign"),s=m(u),f=m(u),b=m([g]),y=m(l),p((w=r((d=function(e){function r(){for(var r,n=arguments.length,o=new Array(n),a=0;a<n;a++)o[a]=arguments[a];return r=e.call.apply(e,[this].concat(o))||this,t(r,"Return",w,i(r)),t(r,"Free_Get",S,i(r)),t(r,"Sign_Reward",R,i(r)),t(r,"Toggle",h,i(r)),r}return n(r,e),r}(c)).prototype,"Return",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),S=r(d.prototype,"Free_Get",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),R=r(d.prototype,"Sign_Reward",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return[]}}),h=r(d.prototype,"Toggle",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),_=d))||_));o._RF.pop()}}}));
- System.register("chunks:///_virtual/Layout_Store.ts",["./rollupPluginModLoBabelHelpers.js","cc"],(function(e){var t,r,i,n,o,a,l,u,c;return{setters:[function(e){t=e.applyDecoratedDescriptor,r=e.inheritsLoose,i=e.initializerDefineProperty,n=e.assertThisInitialized},function(e){o=e.cclegacy,a=e._decorator,l=e.Button,u=e.Label,c=e.Component}],execute:function(){var s,p,_,y,b,f,m,g,h,C,L;o._RF.push({},"168251ehqRBGpKPm5es9+sr","Layout_Store",void 0);var v=a.ccclass,z=a.property;e("Layout_Store",(s=v("Layout_Store"),p=z(l),_=z(u),y=z([l]),b=z([l]),s((g=t((m=function(e){function t(){for(var t,r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return t=e.call.apply(e,[this].concat(o))||this,i(t,"Close_Btn",g,n(t)),i(t,"Coin_Num",h,n(t)),i(t,"Free_Gets",C,n(t)),i(t,"Coin_Gets",L,n(t)),t}return r(t,e),t}(c)).prototype,"Close_Btn",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),h=t(m.prototype,"Coin_Num",[_],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),C=t(m.prototype,"Free_Gets",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return[]}}),L=t(m.prototype,"Coin_Gets",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return[]}}),f=m))||f));o._RF.pop()}}}));
- System.register("chunks:///_virtual/Layout_Task.ts",["./rollupPluginModLoBabelHelpers.js","cc","./UI_Task_Item.ts"],(function(t){var e,r,n,i,a,o,s,l,u;return{setters:[function(t){e=t.applyDecoratedDescriptor,r=t.inheritsLoose,n=t.initializerDefineProperty,i=t.assertThisInitialized},function(t){a=t.cclegacy,o=t._decorator,s=t.Button,l=t.Component},function(t){u=t.UI_Task_Item}],execute:function(){var c,p,_,y,f,k,T;a._RF.push({},"631c35AMklFxpXm9TxsykQi","Layout_Task",void 0);var m=o.ccclass,b=o.property;t("Layout_Task",(c=m("Layout_Task"),p=b(s),_=b([u]),c((k=e((f=function(t){function e(){for(var e,r=arguments.length,a=new Array(r),o=0;o<r;o++)a[o]=arguments[o];return e=t.call.apply(t,[this].concat(a))||this,n(e,"Close_Btn",k,i(e)),n(e,"Task_Items",T,i(e)),e}return r(e,t),e}(l)).prototype,"Close_Btn",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),T=e(f.prototype,"Task_Items",[_],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return[]}}),y=f))||y));a._RF.pop()}}}));
- System.register("chunks:///_virtual/Layout_TimesOver.ts",["./rollupPluginModLoBabelHelpers.js","cc"],(function(e){var r,i,t,n,o,l,a,u,s,p,c;return{setters:[function(e){r=e.applyDecoratedDescriptor,i=e.inheritsLoose,t=e.initializerDefineProperty,n=e.assertThisInitialized},function(e){o=e.cclegacy,l=e._decorator,a=e.Button,u=e.ProgressBar,s=e.Label,p=e.Sprite,c=e.Component}],execute:function(){var b,d,m,y,_,g,f,v,B,T,w,z,h,A,L;o._RF.push({},"b2d18riwBtISKbYok7OSEvq","Layout_TimesOver",void 0);var P=l.ccclass,O=l.property;e("Layout_TimesOver",(b=P("Layout_TimesOver"),d=O(a),m=O(u),y=O(s),_=O(a),g=O(p),f=O(s),b((T=r((B=function(e){function r(){for(var r,i=arguments.length,o=new Array(i),l=0;l<i;l++)o[l]=arguments[l];return r=e.call.apply(e,[this].concat(o))||this,t(r,"Close_Btn",T,n(r)),t(r,"progressBar",w,n(r)),t(r,"progressBar_Percent",z,n(r)),t(r,"AddTime",h,n(r)),t(r,"AddTime_Ad",A,n(r)),t(r,"RedPoint_num",L,n(r)),r}return i(r,e),r}(c)).prototype,"Close_Btn",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),w=r(B.prototype,"progressBar",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),z=r(B.prototype,"progressBar_Percent",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),h=r(B.prototype,"AddTime",[_],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),A=r(B.prototype,"AddTime_Ad",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),L=r(B.prototype,"RedPoint_num",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),v=B))||v));o._RF.pop()}}}));
- System.register("chunks:///_virtual/Layout_Tips.ts",["./rollupPluginModLoBabelHelpers.js","cc"],(function(e){var t,r,n,i,o,l,a,u;return{setters:[function(e){t=e.applyDecoratedDescriptor,r=e.inheritsLoose,n=e.initializerDefineProperty,i=e.assertThisInitialized},function(e){o=e.cclegacy,l=e._decorator,a=e.Button,u=e.Component}],execute:function(){var s,c,p,y,_,b,f,B,g;o._RF.push({},"b0952TNEV1NALyErkr3uKQs","Layout_Tips",void 0);var h=l.ccclass,L=l.property;e("Layout_Tips",(s=h("Layout_Tips"),c=L(a),p=L(a),y=L(a),s((f=t((b=function(e){function t(){for(var t,r=arguments.length,o=new Array(r),l=0;l<r;l++)o[l]=arguments[l];return t=e.call.apply(e,[this].concat(o))||this,n(t,"Ensure_Btn",f,i(t)),n(t,"Cancel_Btn",B,i(t)),n(t,"Close_Btn",g,i(t)),t}return r(t,e),t}(u)).prototype,"Ensure_Btn",[c],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),B=t(b.prototype,"Cancel_Btn",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),g=t(b.prototype,"Close_Btn",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),_=b))||_));o._RF.pop()}}}));
- System.register("chunks:///_virtual/Layout_Win.ts",["./rollupPluginModLoBabelHelpers.js","cc"],(function(e){var t,n,r,i,l,a,o,u,c;return{setters:[function(e){t=e.applyDecoratedDescriptor,n=e.inheritsLoose,r=e.initializerDefineProperty,i=e.assertThisInitialized},function(e){l=e.cclegacy,a=e._decorator,o=e.Button,u=e.Label,c=e.Component}],execute:function(){var p,s,y,b,_,f,h,g,B,v,L;l._RF.push({},"50934s35tNAHrMqaGeR9pJX","Layout_Win",void 0);var d=a.ccclass,m=a.property;e("Layout_Win",(p=d("Layout_Win"),s=m(o),y=m(o),b=m(o),_=m(u),p((g=t((h=function(e){function t(){for(var t,n=arguments.length,l=new Array(n),a=0;a<n;a++)l[a]=arguments[a];return t=e.call.apply(e,[this].concat(l))||this,r(t,"Three_Btn",g,i(t)),r(t,"Next_Btn",B,i(t)),r(t,"ReturnHall_Btn",v,i(t)),r(t,"Txt",L,i(t)),t.Container=void 0,t}return n(t,e),t}(c)).prototype,"Three_Btn",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),B=t(h.prototype,"Next_Btn",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),v=t(h.prototype,"ReturnHall_Btn",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),L=t(h.prototype,"Txt",[_],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),f=h))||f));l._RF.pop()}}}));
- System.register("chunks:///_virtual/module_game",["./Container_Manager.ts","./CreateIdiom.ts","./Cube_Infor.ts","./GameCtl.ts","./PlayerData.ts","./Hall.ts","./UI_Head_Icon.ts","./UI_Item.ts","./Layout_Fail.ts","./UI_Fail.ts","./Layout_GameRules.ts","./UI_GameRules.ts","./Layout_Hall.ts","./UI_Hall.ts","./Layout_Idioms.ts","./UI_Idiom.ts","./UI_Idioms.ts","./Layout_Invite.ts","./UI_Invite.ts","./Layout_LatticeFull.ts","./UI_LatticeFull.ts","./Layout_Lock.ts","./UI_Lock.ts","./Layout_Main.ts","./UI_Main.ts","./Layout_Rank.ts","./UI_Rank.ts","./UI_Rank_Item.ts","./Layout_Settings.ts","./UI_Settings.ts","./Layout_SideBar.ts","./UI_SideBar.ts","./Layout_Sign.ts","./Sign_Reward.ts","./UI_Sign.ts","./Layout_Store.ts","./UI_Store.ts","./Layout_Task.ts","./UI_Task.ts","./UI_Task_Item.ts","./Layout_TimesOver.ts","./UI_TimesOver.ts","./Layout_Tips.ts","./UI_Tips.ts","./Layout_Win.ts","./UI_Win.ts"],(function(){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],execute:function(){}}}));
- System.register("chunks:///_virtual/PlayerData.ts",["./rollupPluginModLoBabelHelpers.js","cc","./ch.ts","./ui.ts","./Container.ts","./GameData.ts","./Toast.ts","./UI_Main.ts"],(function(t){var e,n,a,i,r,s,o,u,c,_,d;return{setters:[function(t){e=t.inheritsLoose,n=t.createClass,a=t.asyncToGenerator,i=t.regeneratorRuntime},function(t){r=t.cclegacy},function(t){s=t.ch},function(t){o=t.gui},function(t){u=t.Container},function(t){c=t.default},function(t){_=t.Toast},function(t){d=t.UI_Main}],execute:function(){r._RF.push({},"b500dzoF+pEaLB1EsW0vW75","PlayerData",void 0);var f=t("rand_type",function(t){return t.floor="floor",t}({})),m=t("data_type",function(t){return t.last_gift_sidebar="last_gift_sidebar",t.max_floor="max_floor",t.coin="coin",t}({})),h=t("day_data_type",function(t){return t.isFavorite="isFavorite",t.pass_level="pass_level",t.combine_num="combine_num",t.login_num="login_num",t.use_item="use_item",t.watch_ad="watch_ad",t.task_reward_state="task_reward_state",t.store_state="store_state",t}({})),l=t("week_data_type",function(t){return t.sign_day="sign_day",t}({}));t("month_data_type",function(t){return{}}());t("default",function(t){function r(){for(var e,n=arguments.length,a=new Array(n),i=0;i<n;i++)a[i]=arguments[i];return(e=t.call.apply(t,[this].concat(a))||this).event=s.get_new_event(),e.items=new u,e.user_info=void 0,e}e(r,t),r.getInstance=function(t,e){return this._instance||(this._instance=new r(t,e,"PlayerData",new Map([[m.max_floor,{min:0}],[m.coin,{min:0}]]),new Map([[h.isFavorite,{min:0}],[h.pass_level,{min:0,max:5}],[h.combine_num,{min:0,max:100}],[h.login_num,{min:0,max:1}],[h.use_item,{min:0,max:3}],[h.watch_ad,{min:0,max:8}]]),new Map([[l.sign_day,{min:0,max:7}]]))),this._instance};var c=r.prototype;return c.on_init=function(){s.sign.init(2,null,7),this.items.addItem({type:1,count:1}),this.items.addItem({type:2,count:1}),this.items.addItem({type:3,count:1}),this.items.addItem({type:5,count:0}),s.log.log("道具初始化",this)},c.on_serialize=function(t){t.sign=s.sign.getSignData(),t.items=this.items.serialize()},c.on_unserialize=function(t){this.items.unserialize(t.items),s.sign.init(2,t.sign,7)},c.on_check=function(t,e){return!0},c.use_item=function(){var t=a(i().mark((function t(e,n){var a,r;return i().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:void 0===n&&(n=1),a=o.get(d).getLayout(),(r=this.items.useCount(e,n))&&(1==e?a.Container.eliminate():2==e?a.Container.shuffle():3==e?a.Container.Empty():5==e&&a.Container.AddTime(),this.set_use_item_num(1),this.event.emit(this.event.key.item_count,r.type,r.count),this.setDirty());case 4:case"end":return t.stop()}}),t,this)})));return function(e,n){return t.apply(this,arguments)}}(),c.add_item=function(t,e){void 0===e&&(e=1);var n=this.items.addCount(t,e);n&&(this.event.emit(this.event.key.item_count,n.type,n.count),this.setDirty())},c.set_item=function(t,e){void 0===e&&(e=-1);var n=this.get_item(t);t<e&&this.add_item(t,e-n)},c.get_item=function(t){return this.items.getCount(t)},c.get_sign=function(){return this.week_data.get(l.sign_day)},c.set_sign=function(t){this.week_data.set(l.sign_day,t)},c.get_is_favorite=function(){return this.day_data.get(h.isFavorite)},c.set_is_favorite=function(){this.day_data.set(h.isFavorite,1),this.setDirty()},c.get_max_floor=function(){return this.data.get(m.max_floor)},c.set_max_floor=function(t){this.data.set(m.max_floor,t)},c.get_coin=function(){return this.data.get(m.coin)},c.set_coin=function(t){this.data.set(m.coin,t),this.setDirty()},c.get_pass_level=function(){return this.day_data.get(h.pass_level)},c.set_pass_level=function(t){this.day_data.add(h.pass_level,t)},c.get_combine_num=function(){return this.day_data.get(h.combine_num)},c.set_combine_num=function(t){this.day_data.add(h.combine_num,t),this.setDirty()},c.get_login_num=function(){return this.day_data.get(h.login_num)},c.set_login_num=function(t){this.day_data.add(h.login_num,t),this.setDirty()},c.get_use_item_num=function(){return this.day_data.get(h.use_item)},c.set_use_item_num=function(t){this.day_data.add(h.use_item,t)},c.get_watch_ad_num=function(){return this.day_data.get(h.watch_ad)},c.set_watch_ad_num=function(t){this.day_data.add(h.watch_ad,t),this.setDirty()},c.get_task_state=function(){return this.day_data.get_Array(h.task_reward_state)},c.set_task_state=function(t){this.day_data.set_Array(h.task_reward_state,t),this.setDirty()},c.get_store_state=function(){return this.day_data.get_Array(h.store_state)},c.set_store_state=function(t){this.day_data.set_Array(h.store_state,t),this.setDirty()},c.load_data=function(){var e=a(i().mark((function e(){return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",t.prototype.load_data.call(this));case 1:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}(),c.init_user_info=function(){var t=a(i().mark((function t(){return i().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:this.user_info={uid:this.uid,nickName:s.sdk.get_player_info().nickName,avatar:s.sdk.get_player_info().avatarUrl,province:s.sdk.get_player_info().province};case 1:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}(),c.save_data=function(){var e=a(i().mark((function e(n){return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",t.prototype.save_data.call(this,n));case 1:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}(),c.save_rank_floor=function(){var t=a(i().mark((function t(){var e;return i().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e=this.data.get(m.max_floor),s.sdk.saveRankData(f.floor,e,s.sdk.updateType.none,0,{province:this.user_info.province});case 2:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}(),c.get_rank_floor=function(){var t=a(i().mark((function t(){var e,n,a;return i().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=0,t.next=3,s.sdk.loadRankData(f.floor,s.sdk.updateType.none,100,!0,!1);case 3:if(n=t.sent,console.log("排行榜",n),n.data.own)for(a=0;a<n.data.list.length;a++)n.data.own.userId===n.data.list[a].userId&&(e=a+1);else e=101;return t.abrupt("return",{list:n.data.list,owner:n.data.own,index:e});case 7:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),c.loadPfInfo=function(){var t=a(i().mark((function t(){return i().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",new Promise(a(i().mark((function t(e){return i().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,s.sdk.getUserInfo();case 2:t.sent?e(!0):(_.makeText(o.getLayerNode(5),"需要授权").show(),e(!1));case 4:case"end":return t.stop()}}),t)})))));case 1:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),n(r,[{key:"nickName",get:function(){return this.user_info.nickName}},{key:"avatarUrl",get:function(){return this.user_info.avatar}}]),r}(c))._instance=void 0,r._RF.pop()}}}));
- System.register("chunks:///_virtual/Sign_Reward.ts",["./rollupPluginModLoBabelHelpers.js","cc","./sign.ts","./Hall.ts","./ui.ts","./Toast.ts"],(function(e){var t,n,r,i,a,o,s,c,u,l,p,f,h,g;return{setters:[function(e){t=e.applyDecoratedDescriptor,n=e.inheritsLoose,r=e.initializerDefineProperty,i=e.assertThisInitialized,a=e.asyncToGenerator,o=e.regeneratorRuntime},function(e){s=e.cclegacy,c=e._decorator,u=e.Node,l=e.Component},function(e){p=e.default},function(e){f=e.Hall},function(e){h=e.gui},function(e){g=e.Toast}],execute:function(){var y,d,m,b,w,v,k,_,S;s._RF.push({},"e331ep7JMdAb5V2APr+1Lco","Sign_Reward",void 0);var R=c.ccclass,T=c.property;e("Sign_Reward",(y=R("Sign_Reward"),d=T(u),m=T([Number]),b=T([Number]),y((k=t((v=function(e){function t(){for(var t,n=arguments.length,a=new Array(n),o=0;o<n;o++)a[o]=arguments[o];return t=e.call.apply(e,[this].concat(a))||this,r(t,"Mask",k,i(t)),r(t,"type",_,i(t)),r(t,"num",S,i(t)),t}n(t,e);var s=t.prototype;return s.start=function(){},s.show=function(){var e=a(o().mark((function e(t){var n;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,p.getInstance().checkSigineState(t);case 2:n=e.sent,console.log(t+":"+n),this.Mask.active=1==n;case 5:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}(),s.add_Item=function(e){for(var t=0;t<this.type.length;t++){var n=e?(2*this.num[t]).toString():this.num[t].toString();switch(this.type[t]){case 1:g.makeText(h.getLayerNode(5),"获得消除印章X"+n).show();break;case 2:g.makeText(h.getLayerNode(5),"获得洗牌卡X"+n).show();break;case 3:g.makeText(h.getLayerNode(5),"获得清空X"+n).show()}f.getInstance().player.add_item(this.type[t],e?2*this.num[t]:this.num[t])}},t}(l)).prototype,"Mask",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),_=t(v.prototype,"type",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return[]}}),S=t(v.prototype,"num",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return[]}}),w=v))||w));s._RF.pop()}}}));
- System.register("chunks:///_virtual/UI_Fail.ts",["./rollupPluginModLoBabelHelpers.js","cc","./Layout_Fail.ts","./UI_Hall.ts","./ui.ts","./ui_base.ts","./ResUtil.ts","./ModuleDef.ts","./SceneDef.ts","./Container_Manager.ts","./UI_Main.ts"],(function(n){var t,e,r,o,i,a,s,u,c,l,f,p,_,h,g,d;return{setters:[function(n){t=n.inheritsLoose,e=n.asyncToGenerator,r=n.regeneratorRuntime},function(n){o=n.cclegacy,i=n._decorator,a=n.find},function(n){s=n.Layout_Fail},function(n){u=n.UI_Hall},function(n){c=n.GameUILayers,l=n.gui},function(n){f=n.default},function(n){p=n.ResUtil},function(n){_=n.ModuleDef},function(n){h=n.SceneDef},function(n){g=n.Container_Manager},function(n){d=n.ani_ui}],execute:function(){var U;o._RF.push({},"25964t1RBhKUp6zTIOnu2R5","UI_Fail",void 0);var v=i.ccclass;i.property,n("UI_Fail",v("UI_Fail")(U=function(n){function o(){return n.call(this,_.GAME,"ui/UI_Fail/Fail",c.HUD,s)||this}return t(o,n),o.prototype.onCreated=function(){var n=e(r().mark((function n(){var t;return r().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:(t=this.getLayout()).Container=a("Container").getComponent(g),d(t.Relife_Btn.node.parent.parent),this.onButtonEvent(t.Relife_Btn,e(r().mark((function n(t){return r().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:case"end":return n.stop()}}),n)}))),this),this.onButtonEvent(t.ReturnHall_Btn,e(r().mark((function n(t){return r().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,l.closeAll();case 2:l.show(u),p.loadScene(h.Hall,_.GAME,!0);case 4:case"end":return n.stop()}}),n)}))),this),t.progressBar.progress=(t.Container.count-t.Container.idioms.length)/t.Container.count,t.Num.string=Math.floor(100*t.progressBar.progress)+"%";case 7:case"end":return n.stop()}}),n,this)})));return function(){return n.apply(this,arguments)}}(),o}(f))||U);o._RF.pop()}}}));
- System.register("chunks:///_virtual/UI_GameRules.ts",["./rollupPluginModLoBabelHelpers.js","cc","./ui.ts","./ui_base.ts","./ModuleDef.ts","./UI_Main.ts","./Layout_GameRules.ts"],(function(e){var t,n,u,r,o,s,a,c,i,l,f;return{setters:[function(e){t=e.inheritsLoose,n=e.asyncToGenerator,u=e.regeneratorRuntime},function(e){r=e.cclegacy,o=e._decorator},function(e){s=e.GameUILayers,a=e.gui},function(e){c=e.default},function(e){i=e.ModuleDef},function(e){l=e.ani_ui},function(e){f=e.Layout_GameRules}],execute:function(){var p;r._RF.push({},"72b78F4T+RLAZp35Z72nowc","UI_GameRules",void 0);var _=o.ccclass;o.property,e("UI_GameRules",_("UI_GameRules")(p=function(e){function r(){return e.call(this,i.GAME,"ui/UI_GameRules/GameRules",s.HUD,f)||this}return t(r,e),r.prototype.onCreated=function(){var e=n(u().mark((function e(){var t;return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=this.getLayout(),l(t.Close_Btn.node.parent),this.onButtonEvent(t.Close_Btn,n(u().mark((function e(t){return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:a.close(r);case 1:case"end":return e.stop()}}),e)}))),this);case 3:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}(),r}(c))||p);r._RF.pop()}}}));
- System.register("chunks:///_virtual/UI_Hall.ts",["./rollupPluginModLoBabelHelpers.js","cc","./Layout_Hall.ts","./UI_Rank.ts","./UI_Settings.ts","./UI_Sign.ts","./UI_Invite.ts","./ui.ts","./ui_base.ts","./ResUtil.ts","./ModuleDef.ts","./SceneDef.ts","./UI_Store.ts","./UI_SideBar.ts","./UI_Task.ts","./Hall.ts"],(function(t){var n,e,o,i,s,a,c,u,r,f,l,_,h,B,I,S,d,v,U,p;return{setters:[function(t){n=t.inheritsLoose,e=t.asyncToGenerator,o=t.regeneratorRuntime},function(t){i=t.cclegacy,s=t._decorator},function(t){a=t.Layout_Hall},function(t){c=t.UI_Rank},function(t){u=t.UI_Settings},function(t){r=t.UI_Sign},function(t){f=t.UI_Invite},function(t){l=t.gui,_=t.GameUILayers},function(t){h=t.default},function(t){B=t.ResUtil},function(t){I=t.ModuleDef},function(t){S=t.SceneDef},function(t){d=t.UI_Store},function(t){v=t.UI_SideBar},function(t){U=t.UI_Task},function(t){p=t.Hall}],execute:function(){var E;i._RF.push({},"e5a30zX/fVMaZSMsA9kifAa","UI_Hall",void 0);var g=s.ccclass;s.property,t("UI_Hall",g("UI_Hall")(E=function(t){function i(){return t.call(this,I.GAME,"ui/UI_Hall/Hall",_.GAME,a)||this}n(i,t);var s=i.prototype;return s.onCreated=function(){var t=this.getLayout();this.onButtonEvent(t.Start_Btn,(function(){l.close(i),B.loadScene(S.GAME,I.GAME,!0)})),this.onButtonEvent(t.Settings_Btn,(function(){l.show(u)})),this.onButtonEvent(t.Rank_Btn,e(o().mark((function t(){return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,p.getInstance().player.loadPfInfo();case 2:l.show(c);case 3:case"end":return t.stop()}}),t)})))),this.onButtonEvent(t.Sign_Btn,(function(){l.show(r)})),this.onButtonEvent(t.Invite_Btn,(function(){l.show(f)})),this.onButtonEvent(t.Store_Btn,(function(){l.show(d)})),this.onButtonEvent(t.Task_Btn,(function(){l.show(U)})),this.onButtonEvent(t.Search_Btn,(function(){p.getInstance().player.set_max_floor(parseInt(t.Search_EditBox.string)-1),l.close(i),B.loadScene(S.GAME,I.GAME,!0)})),chsdk.checkHasSidebar()?(t.SideBar_Btn.node.active=!0,this.onButtonEvent(t.SideBar_Btn,(function(){l.show(v)}))):t.SideBar_Btn.node.active=!1},s.update=function(t){},i}(h))||E);i._RF.pop()}}}));
- System.register("chunks:///_virtual/UI_Head_Icon.ts",["./rollupPluginModLoBabelHelpers.js","cc","./Hall.ts","./ch.ts"],(function(t){var e,n,i,a,o,r,c,h,l,u,d,s,p;return{setters:[function(t){e=t.applyDecoratedDescriptor,n=t.inheritsLoose,i=t.initializerDefineProperty,a=t.assertThisInitialized},function(t){o=t.cclegacy,r=t._decorator,c=t.Sprite,h=t.SpriteFrame,l=t.Size,u=t.UITransform,d=t.Component},function(t){s=t.Hall},function(t){p=t.ch}],execute:function(){var f,g,_,I,w,y,m;o._RF.push({},"32da00Ug65PLLJF/VDL1/LR","UI_Head_Icon",void 0);var v=r.ccclass,b=r.property;t("UI_Head_Icon",(f=v("UI_Head_Icon"),g=b(c),_=b([h]),f((y=e((w=function(t){function e(){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,i(e,"head",y,a(e)),i(e,"default_head",m,a(e)),e}n(e,t);var o=e.prototype;return o.start=function(){},o.update=function(t){},o.show=function(t,e){var n=this,i=this.default_head[p.util.getRandomInt(0,this.default_head.length-1)];s.getInstance().head_icon.showIcon(t,e,this.head,i).then((function(t){null!=t&&n.adaptationIcon(n.head,t,new l(55,55))}))},o.adaptationIcon=function(t,e,n){if(e){var i=e.originalSize,a=new l,o=i.width/i.height;o<1?(a.height=n.height,a.width=n.height*o):(a.width=n.width,a.height=n.width/o),t.spriteFrame=e,t.getComponent(u).setContentSize(a)}},e}(d)).prototype,"head",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),m=e(w.prototype,"default_head",[_],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return[]}}),I=w))||I));o._RF.pop()}}}));
- System.register("chunks:///_virtual/UI_Idiom.ts",["./rollupPluginModLoBabelHelpers.js","cc"],(function(e){var t,r,i,n,o,a,c,u,l;return{setters:[function(e){t=e.applyDecoratedDescriptor,r=e.inheritsLoose,i=e.initializerDefineProperty,n=e.assertThisInitialized},function(e){o=e.cclegacy,a=e._decorator,c=e.Sprite,u=e.Label,l=e.Component}],execute:function(){var p,s,d,f,_,h,m;o._RF.push({},"823150wmWhJ5rmcjzauSE9B","UI_Idiom",void 0);var y=a.ccclass,v=a.property;e("UI_Idiom",(p=y("UI_Idiom"),s=v(c),d=v(u),p((h=t((_=function(e){function t(){for(var t,r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return t=e.call.apply(e,[this].concat(o))||this,i(t,"hud_sp",h,n(t)),i(t,"txt",m,n(t)),t.piece_1_word=void 0,t.piece_2_word=void 0,t}r(t,e);var o=t.prototype;return o.start=function(){},o.update=function(e){},t}(l)).prototype,"hud_sp",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),m=t(_.prototype,"txt",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),f=_))||f));o._RF.pop()}}}));
- System.register("chunks:///_virtual/UI_Idioms.ts",["./rollupPluginModLoBabelHelpers.js","cc","./UI_Idiom.ts","./Layout_Idioms.ts","./ui.ts","./ui_base.ts","./ModuleDef.ts","./Container_Manager.ts"],(function(i){var t,e,o,n,s,r,a,d,c,u,h,l,m,_,f,p,g,v;return{setters:[function(i){t=i.inheritsLoose,e=i.createForOfIteratorHelperLoose,o=i.asyncToGenerator,n=i.regeneratorRuntime},function(i){s=i.cclegacy,r=i._decorator,a=i.instantiate,d=i.UITransform,c=i.Size,u=i.Vec3,h=i.Vec2,l=i.find},function(i){m=i.UI_Idiom},function(i){_=i.Layout_Idioms},function(i){f=i.GameUILayers},function(i){p=i.default},function(i){g=i.ModuleDef},function(i){v=i.Container_Manager}],execute:function(){var w;s._RF.push({},"efc87WIo/pPjbu6aYJ5woDB","UI_Idioms",void 0);var C=r.ccclass;r.property,i("UI_Idioms",C("UI_Idioms")(w=function(i){function s(){var t;return(t=i.call(this,g.GAME,"ui/UI_Idioms/ScrollView",f.HUD,_)||this).idioms=[],t}t(s,i);var r=s.prototype;return r.onCreated=function(){var i=o(n().mark((function i(){return n().wrap((function(i){for(;;)switch(i.prev=i.next){case 0:this.getLayout().Container=l("Container").getComponent(v),this.init();case 3:case"end":return i.stop()}}),i,this)})));return function(){return i.apply(this,arguments)}}(),r.init=function(){var i=this.getLayout();console.log("init");for(var t=0;t<this.idioms.length;t++)this.idioms[t].node.destroy();this.idioms=[];for(var e=0;e<i.Container.idioms.length;e++){var o=a(i.idiom_prefab);o.parent=i.content,console.log("label"+i.Container.idioms[e].idiom),o.getComponent(m).txt.string=i.Container.idioms[e].idiom,o.getComponent(m).piece_1_word=i.Container.idioms[e].piece_1_word,o.getComponent(m).piece_2_word=i.Container.idioms[e].piece_2_word,this.idioms.push(o.getComponent(m))}},r.light_Show=function(i){this.getLayout();for(var t=i.Text.length,e=0;e<this.idioms.length;e++)if(this.idioms[e].piece_1_word===i.Text){this.idioms[e].hud_sp.node.active=!0,this.idioms[e].hud_sp.node.getComponent(d).contentSize=new c(30*t,30);this.idioms[e].hud_sp.node.position=new u(11,-11.5,0),this.scrollToTarget(e)}else if(this.idioms[e].piece_2_word===i.Text){this.idioms[e].hud_sp.node.active=!0,this.idioms[e].hud_sp.node.getComponent(d).contentSize=new c(30*t,30);var o=4-t;this.idioms[e].hud_sp.node.position=new u(11+30*o,-11.5,0),this.scrollToTarget(e)}},r.light_Hide=function(i,t){var o=this.getLayout();this.idioms=this.idioms.filter((function(n){var s=!1,r=!1;if(i.Text===n.piece_1_word){for(var a,d=e(o.Container.idiom_combine.keys());!(a=d()).done;){if(a.value.txt.string===i.Text){r=!0;break}}r||(n.hud_sp.node.active=!1)}if(t.Text===n.piece_2_word){for(var c,u=e(o.Container.idiom_combine.keys());!(c=u()).done;){if(c.value.txt.string===t.Text){r=!0;break}}r||(n.hud_sp.node.active=!1)}return i.Text+t.Text===n.txt.string&&(n.node.destroy(),s=!0),!s})),this.idioms.forEach((function(i){for(var t,n=!1,s=e(o.Container.idiom_combine.keys());!(t=s()).done;){var r=t.value;if(r.txt.string===i.piece_1_word||r.txt.string===i.piece_2_word){n=!0;break}}n&&(i.hud_sp.node.active=!0)}))},r.scrollToTarget=function(i){var t=this.getLayout(),e=Math.trunc(i/5);if(0==e)t.scrollView.scrollTo(new h(0,1),.2,!1);else if(e==this.idioms.length/5)t.scrollView.scrollTo(new h(0,0),.2,!1);else{var o=Math.trunc(e/(Math.trunc(this.idioms.length/5)-2)*10)/10;t.scrollView.scrollTo(new h(0,1-o),.2,!1),console.log("weizhi:"+(1-o))}},r.all_light_Hide=function(){this.idioms.forEach((function(i){i.hud_sp.node.active=!1}))},s}(p))||w);s._RF.pop()}}}));
- System.register("chunks:///_virtual/UI_Invite.ts",["./rollupPluginModLoBabelHelpers.js","cc","./ui.ts","./ui_base.ts","./ModuleDef.ts","./UI_Main.ts","./Layout_Invite.ts"],(function(t){var n,e,o,r,s,i,u,a,c,f,h;return{setters:[function(t){n=t.inheritsLoose,e=t.asyncToGenerator,o=t.regeneratorRuntime},function(t){r=t.cclegacy,s=t._decorator},function(t){i=t.GameUILayers,u=t.gui},function(t){a=t.default},function(t){c=t.ModuleDef},function(t){f=t.ani_ui},function(t){h=t.Layout_Invite}],execute:function(){var _;r._RF.push({},"35c7bpukylD/JOB9LOmKr4x","UI_Invite",void 0);var g=s.ccclass;s.property,t("UI_Invite",g("UI_Invite")(_=function(t){function r(){return t.call(this,c.GAME,"ui/UI_Invite/Invite",i.HUD,h)||this}n(r,t);var s=r.prototype;return s.onCreated=function(){var t=e(o().mark((function t(){var n,e=this;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:this.get_Count(),this.show(),n=this.getLayout(),f(n.Close_Btn.node.parent),this.onButtonEvent(n.Close_Btn,(function(){u.close(r)})),this.onButtonEvent(n.Invite_Friend_Btn,(function(){chsdk.shareAppMessage()})),this.onButtonEvent(n.Refresh_Btn,(function(){e.get_Count(),e.show()}));case 7:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}(),s.get_Count=function(){var t=this.getLayout();chsdk.getShareList().then((function(n){if(0===n.code&&n.data){var e=n.data.length;t.Txt.string=e+"/"+t.target_count,t.progressBar.progress=e/t.target_count;var o=t.target_count-e;t.Num_Sp.spriteFrame=t.Num[o-1]}else console.error("获取分享列表失败: "+(n.err||"未知错误"))})).catch((function(t){console.error("请求失败: "+t.message)}))},s.show=function(){var t=this.getLayout();t.progressBar.progress=t.count/t.target_count,t.Txt.string=t.count+"/"+t.target_count},r}(a))||_);r._RF.pop()}}}));
- System.register("chunks:///_virtual/UI_Item.ts",["./rollupPluginModLoBabelHelpers.js","cc","./ch.ts","./ui.ts","./UI_Main.ts","./Hall.ts","./Toast.ts"],(function(e){var t,n,r,a,i,o,s,c,u,l,p,h,y,f,d,g,b,_,m,k,v;return{setters:[function(e){t=e.applyDecoratedDescriptor,n=e.inheritsLoose,r=e.initializerDefineProperty,a=e.assertThisInitialized,i=e.asyncToGenerator,o=e.regeneratorRuntime,s=e.createForOfIteratorHelperLoose},function(e){c=e.cclegacy,u=e._decorator,l=e.Sprite,p=e.Label,h=e.Button,y=e.Node,f=e.tween,d=e.v3,g=e.Component},function(e){b=e.ch},function(e){_=e.gui},function(e){m=e.UI_Main},function(e){k=e.Hall},function(e){v=e.Toast}],execute:function(){var I,x,w,L,T,U,A,C;c._RF.push({},"12c662bVNFDxoVeaMUS/AvG","UI_Item",void 0);var D=u.ccclass,z=u.property;e("UI_Item",(I=D("UI_Item"),x=z(l),w=z(p),I((U=t((T=function(e){function t(){for(var t,n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return t=e.call.apply(e,[this].concat(i))||this,r(t,"type",U,a(t)),r(t,"Ad",A,a(t)),r(t,"count",C,a(t)),t._c=0,t}n(t,e);var c=t.prototype;return c.start=function(){0!=this.type&&(this.show(this.type,k.getInstance().player.get_item(this.type)),this.node.getComponent(h)&&this.node.on(y.EventType.TOUCH_END,this.onClick,this),k.getInstance().player.event.on(k.getInstance().player.event.key.item_count,this.show,this))},c.onDestroy=function(){k.getInstance().player.event.off(k.getInstance().player.event.key.item_count,this.show,this)},c.show=function(e,t){e==this.type&&(this._c!=t&&(f(this.node).to(.05,{scale:d(1.2,1.2,1)}).to(.1,{scale:d(1,1,1)}).start(),this._c),this._c=t,0!=t?(this.Ad.node.active=!1,this.count.node.parent.active=!0,this.count.string=t.toString()):(this.Ad.node.active=!0,this.count.node.parent.active=!1))},c.onClick=function(){var e=i(o().mark((function e(t){var n,r,a,i,c,u,l,p;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(this._c<=0)){e.next=21;break}if(3!=this.type){e.next=15;break}n=!1,r=s(_.get(m).getLayout().Container.node_isIdiom);case 4:if((a=r()).done){e.next=12;break}if(i=a.value,console.log(i),1!=i){e.next=10;break}return n=!0,e.abrupt("break",12);case 10:e.next=4;break;case 12:if(n){e.next=15;break}return v.makeText(_.getLayerNode(5),"槽中无可清除的方块").show(),e.abrupt("return");case 15:return e.next=17,chsdk.playRewardAd("获得道具"+this.type);case 17:e.sent&&(k.getInstance().player.add_item(this.type,1),k.getInstance().player.set_watch_ad_num(1),b.audio.resume()),e.next=37;break;case 21:if(3!=this.type){e.next=36;break}c=!1,u=s(_.get(m).getLayout().Container.node_isIdiom);case 24:if((l=u()).done){e.next=33;break}if(p=l.value,console.log(p),1!=p){e.next=31;break}return k.getInstance().player.use_item(this.type),c=!0,e.abrupt("break",33);case 31:e.next=24;break;case 33:c||v.makeText(_.getLayerNode(5),"槽中无可清除的方块").show(),e.next=37;break;case 36:k.getInstance().player.use_item(this.type);case 37:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}(),t}(g)).prototype,"type",[z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),A=t(T.prototype,"Ad",[x],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),C=t(T.prototype,"count",[w],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),L=T))||L));c._RF.pop()}}}));
- System.register("chunks:///_virtual/UI_LatticeFull.ts",["./rollupPluginModLoBabelHelpers.js","cc","./ui_base.ts","./Layout_LatticeFull.ts","./ui.ts","./ModuleDef.ts","./Hall.ts","./UI_Fail.ts","./UI_Main.ts"],(function(e){var t,n,i,a,r,c,o,s,u,l,_,p,m,d;return{setters:[function(e){t=e.inheritsLoose,n=e.asyncToGenerator,i=e.regeneratorRuntime},function(e){a=e.cclegacy,r=e._decorator},function(e){c=e.default},function(e){o=e.Layout_LatticeFull},function(e){s=e.GameUILayers,u=e.gui},function(e){l=e.ModuleDef},function(e){_=e.Hall},function(e){p=e.UI_Fail},function(e){m=e.ani_ui,d=e.UI_Main}],execute:function(){var v;a._RF.push({},"eca24N6WDJOCKuYRcooOJCy","UI_LatticeFull",void 0);var y=r.ccclass;r.property,e("UI_LatticeFull",y("UI_LatticeFull")(v=function(e){function a(){return e.call(this,l.GAME,"ui/UI_LatticeFull/LatticeFull",s.HUD,o)||this}return t(a,e),a.prototype.onCreated=function(){var e=n(i().mark((function e(){var t,r,c;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=this.getLayout(),m(t.Close_Btn.node.parent),(r=_.getInstance().player.get_item(1))>0?(t.Empty_Ad.node.active=!1,t.Empty_RedPoint_num.node.parent.active=!0,t.Empty_RedPoint_num.string=r.toString()):(t.Empty_Ad.node.active=!0,t.Empty_RedPoint_num.node.parent.active=!1),(c=_.getInstance().player.get_item(3))>0?(t.Eliminate_Ad.node.active=!1,t.Eliminate_RedPoint_num.node.parent.active=!0,t.Eliminate_RedPoint_num.string=c.toString()):(t.Eliminate_Ad.node.active=!0,t.Eliminate_RedPoint_num.node.parent.active=!1),u.get(d).evt.emit(u.get(d).evt.key.pause),this.onButtonEvent(t.Close_Btn,(function(){u.close(a),u.show(p)})),this.onButtonEvent(t.Eliminate,n(i().mark((function e(){return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(r<=0)){e.next=7;break}return e.next=3,chsdk.playRewardAd("获得道具1");case 3:e.sent&&(_.getInstance().player.add_item(1,1),_.getInstance().player.use_item(1),u.close(a),u.get(d).evt.emit(u.get(d).evt.key.resume)),e.next=10;break;case 7:_.getInstance().player.use_item(1),u.close(a),u.get(d).evt.emit(u.get(d).evt.key.resume);case 10:case"end":return e.stop()}}),e)})))),this.onButtonEvent(t.Empty,n(i().mark((function e(){return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(c<=0)){e.next=7;break}return e.next=3,chsdk.playRewardAd("获得道具3");case 3:e.sent&&(_.getInstance().player.add_item(3,1),_.getInstance().player.use_item(3),u.close(a),u.get(d).evt.emit(u.get(d).evt.key.resume)),e.next=10;break;case 7:_.getInstance().player.use_item(3),u.close(a),u.get(d).evt.emit(u.get(d).evt.key.resume);case 10:case"end":return e.stop()}}),e)})))),this.onButtonEvent(t.Click,(function(){u.close(a),u.show(p)}));case 11:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}(),a}(c))||v);a._RF.pop()}}}));
- System.register("chunks:///_virtual/UI_Lock.ts",["./rollupPluginModLoBabelHelpers.js","cc","./ui_base.ts","./ui.ts","./ModuleDef.ts","./Layout_Lock.ts","./UI_Main.ts"],(function(e){var t,n,r,o,c,u,a,i,s,f,k,p;return{setters:[function(e){t=e.inheritsLoose,n=e.asyncToGenerator,r=e.regeneratorRuntime},function(e){o=e.cclegacy,c=e._decorator},function(e){u=e.default},function(e){a=e.GameUILayers,i=e.gui},function(e){s=e.ModuleDef},function(e){f=e.Layout_Lock},function(e){k=e.ani_ui,p=e.UI_Main}],execute:function(){var l;o._RF.push({},"8fb82Ol44hAxperkef41f5v","UI_Lock",void 0);var v=c.ccclass;c.property,e("UI_Lock",v("UI_Lock")(l=function(e){function o(){return e.call(this,s.GAME,"ui/UI_Lock/Lock",a.HUD,f)||this}return t(o,e),o.prototype.onCreated=function(){var e=n(r().mark((function e(){var t,c;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=this.getLayout(),k(t.Close_Btn.node.parent),c=i.get(p).getLayout(),i.get(p).evt.emit(i.get(p).evt.key.pause),this.onButtonEvent(t.Close_Btn,(function(){i.close(o),i.get(p).evt.emit(i.get(p).evt.key.resume)}),this),this.onButtonEvent(t.Ensure_Btn,n(r().mark((function e(){var t;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,chsdk.playRewardAd("解锁槽位");case 2:if(!e.sent){e.next=15;break}t=0;case 5:if(!(t<2)){e.next=15;break}if(!c.Container.Lock_node[t].active){e.next=12;break}return c.Container.Lock_node[t].active=!1,c.Container.unlock_Num+=1,i.close(o),i.get(p).evt.emit(i.get(p).evt.key.resume),e.abrupt("return");case 12:t++,e.next=5;break;case 15:case"end":return e.stop()}}),e)}))),this);case 6:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}(),o}(u))||l);o._RF.pop()}}}));
- System.register("chunks:///_virtual/UI_Main.ts",["./rollupPluginModLoBabelHelpers.js","cc","./ch.ts","./ui.ts","./ui_base.ts","./ModuleDef.ts","./UI_GameRules.ts","./UI_Idioms.ts","./UI_Settings.ts","./UI_Win.ts","./Layout_Main.ts","./Container_Manager.ts","./Hall.ts","./UI_TimesOver.ts","./audio.ts"],(function(t){var e,n,i,s,o,a,r,u,c,l,_,g,h,f,m,v,p,d,y,I;return{setters:[function(t){e=t.inheritsLoose,n=t.asyncToGenerator,i=t.regeneratorRuntime},function(t){s=t.cclegacy,o=t._decorator,a=t.find},function(t){r=t.ch},function(t){u=t.gui,c=t.GameUILayers},function(t){l=t.default},function(t){_=t.ModuleDef},function(t){g=t.UI_GameRules},function(t){h=t.UI_Idioms},function(t){f=t.UI_Settings},function(t){m=t.UI_Win},function(t){v=t.Layout_Main},function(t){p=t.Container_Manager},function(t){d=t.Hall},function(t){y=t.UI_TimesOver},function(t){I=t.default}],execute:function(){var C;t("ani_ui",(function(t,e){void 0===e&&(e=1);u.scale_elasticOut_anim(t,1.2,.5,e)})),s._RF.push({},"31872b9CC5Fd6kJNVMdC0MF","UI_Main",void 0);var M=o.ccclass;o.property,t("UI_Main",M("UI_Main")(C=function(t){function s(){var e;return(e=t.call(this,_.GAME,"ui/UI_Main/Main",c.GAME,v)||this).evt=r.get_new_event(),e.running=!0,e}e(s,t);var o=s.prototype;return o.onCreated=function(){var t=n(i().mark((function t(){var e,s=this;return i().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:(e=this.getLayout()).Container=a("Container").getComponent(p),this.onButtonEvent(e.Pause_Btn,n(i().mark((function t(e){return i().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:u.show(f),s.pause();case 2:case"end":return t.stop()}}),t)}))),this),this.onButtonEvent(e.Rules_Btn,n(i().mark((function t(e){return i().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:u.show(g);case 1:case"end":return t.stop()}}),t)}))),this),e.Level.string="第"+(d.getInstance().player.get_max_floor()+1)+"关",e.Remain_Cube_Des.string="剩余:"+2*u.get(h).idioms.length,this.new_level(),d.getInstance().player.get_max_floor(),e.schedule((function(){if(s.running){if(0!=e.time){e.time-=1;var t=Math.floor(e.time/60),n=e.time%60;e.Count_Down_Des.string=(t>=10?t:"0"+t)+":"+(n>=10?n:"0"+n)}else e.Container.idioms.length>0&&(u.show(y),s.running=!1);e.Container.idioms.length<=0&&(console.log("恭喜你,通关成功"),d.getInstance().player.set_pass_level(1),d.getInstance().player.set_max_floor(d.getInstance().player.get_max_floor()+1),d.getInstance().player.setDirty(),d.getInstance().player.save_rank_floor(),d.getInstance().player.save(),u.show(m),s.running=!1)}}),1),this.evt.on(this.evt.key.pause,this.pause,this),this.evt.on(this.evt.key.resume,this.resume,this),this.evt.on(this.evt.key.next_level,this.new_level,this),this.evt.on(this.evt.key.update_remain,this.remain,this),this.evt.on(this.evt.key.update_ui_idioms,this.ui_idioms,this);case 14:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}(),o.new_level=function(){var t=d.getInstance().player.get_max_floor(),e=this.getLayout();e.time=e.Container.level_config[t].time;var n=Math.floor(e.Container.level_config[t].time/60),i=e.Container.level_config[t].time%60;e.Count_Down_Des.string=(n>=10?n:"0"+n)+":"+(i>=10?i:"0"+i),e.Remain_Cube_Des.string="剩余:"+2*u.get(h).idioms.length,e.Level.string="第"+(d.getInstance().player.get_max_floor()+1)+"关",this.running=!0,I.getInstance().play("sound/bgm")},o.remain=function(){this.getLayout().Remain_Cube_Des.string="剩余:"+2*u.get(h).idioms.length},o.ui_idioms=function(){u.get(h).init()},o.pause=function(){this.running=!1},o.resume=function(){this.running=!0},o.onDispose=function(){this.getLayout().unscheduleAllCallbacks()},s}(l))||C);s._RF.pop()}}}));
- System.register("chunks:///_virtual/UI_Rank_Item.ts",["./rollupPluginModLoBabelHelpers.js","cc","./UI_Head_Icon.ts","./ch.ts"],(function(e){var t,i,n,r,a,l,o,s,u,c,p,h;return{setters:[function(e){t=e.applyDecoratedDescriptor,i=e.inheritsLoose,n=e.initializerDefineProperty,r=e.assertThisInitialized},function(e){a=e.cclegacy,l=e._decorator,o=e.Sprite,s=e.SpriteFrame,u=e.Label,c=e.Component},function(e){p=e.UI_Head_Icon},function(e){h=e.ch}],execute:function(){var f,g,d,b,m,_,I,y,v,M,w,z,B,N,R,k,F,H,L;a._RF.push({},"ac170vYiRpERZJoeSznhVhO","UI_Rank_Item",void 0);var S=l.ccclass,U=l.property;e("UI_Rank_Item",(f=S("UI_Rank_Item"),g=U(o),d=U([s]),b=U(o),m=U([s]),_=U(u),I=U(p),y=U(u),v=U(u),f((z=t((w=function(e){function t(){for(var t,i=arguments.length,a=new Array(i),l=0;l<i;l++)a[l]=arguments[l];return t=e.call.apply(e,[this].concat(a))||this,n(t,"Bg",z,r(t)),n(t,"Bgs",B,r(t)),n(t,"Medal",N,r(t)),n(t,"Medals",R,r(t)),n(t,"Num",k,r(t)),n(t,"Head_Icon",F,r(t)),n(t,"Name",H,r(t)),n(t,"Level",L,r(t)),t}return i(t,e),t.prototype.showInfo=function(e,t,i,n){var r;i?(this.node.active=!0,n?(this.Bg.spriteFrame=this.Bgs[4],this.Medal.spriteFrame=e<=3?this.Medals[e-1]:this.Medals[3]):(this.Bg.spriteFrame=e<=3?this.Bgs[e-1]:this.Bgs[3],this.Medal.spriteFrame=e<=3?this.Medals[e-1]:this.Medals[3]),this.Medal.node.active=!(e>3),this.Num.string=101==e?"未上榜":e<=3?"":e.toString(),this.Name.string=h.sdk.getDefNickName(i),this.Level.string=(null!=(r=i.score)?r:0)+"关",console.log(i),this.Head_Icon.show(i.userId.toString(),i.head)):this.node.active=!1},t}(c)).prototype,"Bg",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),B=t(w.prototype,"Bgs",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return[]}}),N=t(w.prototype,"Medal",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),R=t(w.prototype,"Medals",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return[]}}),k=t(w.prototype,"Num",[_],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),F=t(w.prototype,"Head_Icon",[I],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),H=t(w.prototype,"Name",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),L=t(w.prototype,"Level",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),M=w))||M));a._RF.pop()}}}));
- System.register("chunks:///_virtual/UI_Rank.ts",["./rollupPluginModLoBabelHelpers.js","cc","./ui.ts","./ui_base.ts","./UIWaiting.ts","./ModuleDef.ts","./Layout_Rank.ts","./UI_Rank_Item.ts","./UI_Main.ts","./Hall.ts"],(function(e){var n,t,o,s,a,i,r,c,u,l,_,h,f,g;return{setters:[function(e){n=e.inheritsLoose,t=e.asyncToGenerator,o=e.regeneratorRuntime},function(e){s=e.cclegacy,a=e._decorator},function(e){i=e.GameUILayers,r=e.gui},function(e){c=e.default},function(e){u=e.UIWaiting},function(e){l=e.ModuleDef},function(e){_=e.Layout_Rank},function(e){h=e.UI_Rank_Item},function(e){f=e.ani_ui},function(e){g=e.Hall}],execute:function(){var d;s._RF.push({},"25b8cJMNUNOA77jdI7BF1kA","UI_Rank",void 0);var k=a.ccclass,p=(a.property,1);e("UI_Rank",k("UI_Rank")(d=function(e){function s(){var n;return(n=e.call(this,l.GAME,"ui/UI_Rank/Rank",i.HUD,_)||this)._owner=void 0,n._data=void 0,n._openContext=void 0,n}n(s,e);var a=s.prototype;return a.onCreated=function(){var e=this,n=this.getLayout();f(n.Close_Btn.node.parent),this.onButtonEvent(n.Close_Btn,t(o().mark((function e(n){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r.close(s);case 1:case"end":return e.stop()}}),e)}))),this),n.onList1=function(n,t){n.getComponent(h).showInfo(t+1,p,e._data[t],!1)},n.onList2=function(e,n){},n.Rank_Toggle_1.isChecked=1==p,n.Rank_Toggle_2.isChecked=2==p,this.show(),this.onToggleEvent(n.Rank_Toggle_1,(function(n,t){n.isChecked&&e.show(t)}),this,1),this.onToggleEvent(n.Rank_Toggle_2,(function(n,t){n.isChecked&&e.show(t)}),this,2)},a.show=function(){var e=t(o().mark((function e(n){var t,s,a,i,c;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=this.getLayout(),null==n){e.next=5;break}if(n!=p){e.next=4;break}return e.abrupt("return");case 4:p=n;case 5:if(t.Rank_Toggle_1.isChecked=1==p,t.Rank_Toggle_2.isChecked=2==p,1!=p&&null!=n){e.next=23;break}return e.next=10,r.show(u);case 10:return t.list1.node.active=!0,t.list2.node.active=!1,t.list1.numItems=0,e.next=15,g.getInstance().player.get_rank_floor();case 15:s=e.sent,this._data=s.list,this._owner=s.owner,a=s.index,t.list1.numItems=this._data.length,this._owner||(this._owner={head:g.getInstance().player.avatarUrl,nickName:g.getInstance().player.nickName,score:0,userId:0,province:g.getInstance().player.user_info.province}),t.own1_item.showInfo(a,p,this._owner,!0),r.close(u);case 23:if(2!=p){e.next=39;break}return e.next=26,r.show(u);case 26:return t.list2.node.active=!0,t.list1.node.active=!1,t.list2.numItems=0,e.next=31,g.getInstance().player.get_rank_floor();case 31:i=e.sent,this._data=i.list,this._owner=i.owner,c=i.index,t.list2.numItems=this._data.length,this._owner||(this._owner={head:g.getInstance().player.avatarUrl,nickName:g.getInstance().player.nickName,score:0,userId:0,province:g.getInstance().player.user_info.province}),t.own2_item.showInfo(c,p,this._owner,!0),r.close(u);case 39:case"end":return e.stop()}}),e,this)})));return function(n){return e.apply(this,arguments)}}(),s}(c))||d);s._RF.pop()}}}));
- System.register("chunks:///_virtual/UI_Settings.ts",["./rollupPluginModLoBabelHelpers.js","cc","./Layout_Settings.ts","./UI_Main.ts","./ch.ts","./ui.ts","./ui_base.ts","./ModuleDef.ts","./UI_Tips.ts"],(function(e){var t,n,i,o,s,c,r,a,u,f,d,g,p,h,_;return{setters:[function(e){t=e.inheritsLoose,n=e.asyncToGenerator,i=e.regeneratorRuntime},function(e){o=e.cclegacy,s=e._decorator,c=e.director},function(e){r=e.Layout_Settings},function(e){a=e.ani_ui,u=e.UI_Main},function(e){f=e.ch},function(e){d=e.GameUILayers,g=e.gui},function(e){p=e.default},function(e){h=e.ModuleDef},function(e){_=e.UI_Tips}],execute:function(){var l;o._RF.push({},"74e38zkF0dMfY6EeNgP2Gbx","UI_Settings",void 0);var v=s.ccclass;s.property,e("UI_Settings",v("UI_Settings")(l=function(e){function o(){return e.call(this,h.GAME,"ui/UI_Settings/Settings",d.HUD,r)||this}return t(o,e),o.prototype.onCreated=function(){var e=n(i().mark((function e(){var t;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=this.getLayout(),"hall"==c.getScene().name?(t.Defeat_Btn.node.active=!1,t.Replay_Btn.node.active=!1,t.Question_Btn.node.active=f.sdk.createFeedbackButton(f.util.getBtnOp(t.Question_Btn.node))):"game"==c.getScene().name&&(t.Defeat_Btn.node.active=!0,t.Replay_Btn.node.active=!0,f.sdk.destoryFeedbackButton(),t.Question_Btn.node.active=!1),a(t.Close_Btn.node.parent),this.onButtonEvent(t.Close_Btn,n(i().mark((function e(t){return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:g.close(o),"game"==c.getScene().name&&g.get(u).evt.emit(g.get(u).evt.key.resume);case 2:case"end":return e.stop()}}),e)}))),this),t.Toggle_Music.isChecked=0!=f.audio.volumeMusic,t.Toggle_Sound.isChecked=f.audio.switchEffect,this.onToggleEvent(t.Toggle_Music,n(i().mark((function e(t){return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:f.audio.volumeMusic=t.isChecked,f.audio.save();case 2:case"end":return e.stop()}}),e)}))),this),this.onToggleEvent(t.Toggle_Sound,n(i().mark((function e(t){return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:f.audio.switchEffect=t.isChecked,f.audio.save();case 2:case"end":return e.stop()}}),e)}))),this),this.onButtonEvent(t.Defeat_Btn,n(i().mark((function e(t){return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,g.show(_);case 2:g.get(_).init(!0);case 3:case"end":return e.stop()}}),e)}))),this),this.onButtonEvent(t.Replay_Btn,n(i().mark((function e(t){return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,g.show(_);case 2:g.get(_).init(!1);case 3:case"end":return e.stop()}}),e)}))),this);case 10:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}(),o}(p))||l);o._RF.pop()}}}));
- System.register("chunks:///_virtual/UI_SideBar.ts",["./rollupPluginModLoBabelHelpers.js","cc","./ui.ts","./ui_base.ts","./ModuleDef.ts","./Layout_SideBar.ts","./UI_Main.ts","./Start.ts"],(function(t){var e,n,o,r,i,a,u,s,c,f,d,p;return{setters:[function(t){e=t.inheritsLoose,n=t.asyncToGenerator,o=t.regeneratorRuntime},function(t){r=t.cclegacy,i=t._decorator},function(t){a=t.GameUILayers,u=t.gui},function(t){s=t.default},function(t){c=t.ModuleDef},function(t){f=t.Layout_SideBar},function(t){d=t.ani_ui},function(t){p=t.Start}],execute:function(){var l;r._RF.push({},"53621eOLopL4LGEoVokwFS4","UI_SideBar",void 0);var _=i.ccclass;i.property,t("UI_SideBar",_("UI_SideBar")(l=function(t){function r(){return t.call(this,c.GAME,"ui/UI_SideBar/SideBar",a.HUD,f)||this}return e(r,t),r.prototype.onCreated=function(){var t=n(o().mark((function t(){var e;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e=this.getLayout(),d(e.Close_Btn.node.parent),this.onButtonEvent(e.Close_Btn,(function(){u.close(r)})),this.onButtonEvent(e.Go_SideBar,(function(){chsdk.goToSidebar()})),e.Logo.spriteFrame=e.Logos[p.packId];case 5:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}(),r}(s))||l);r._RF.pop()}}}));
- System.register("chunks:///_virtual/UI_Sign.ts",["./rollupPluginModLoBabelHelpers.js","cc","./sign.ts","./ui.ts","./ui_base.ts","./ModuleDef.ts","./UI_Main.ts","./Layout_Sign.ts","./Hall.ts"],(function(e){var t,n,r,a,i,o,s,c,u,g,f,p,_,l;return{setters:[function(e){t=e.inheritsLoose,n=e.asyncToGenerator,r=e.regeneratorRuntime},function(e){a=e.cclegacy,i=e._decorator,o=e.Sprite},function(e){s=e.default},function(e){c=e.GameUILayers,u=e.gui},function(e){g=e.default},function(e){f=e.ModuleDef},function(e){p=e.ani_ui},function(e){_=e.Layout_Sign},function(e){l=e.Hall}],execute:function(){var d;a._RF.push({},"0aee2ozI6tC95ZSVqBOl1ws","UI_Sign",void 0);var h=i.ccclass;i.property,e("UI_Sign",h("UI_Sign")(d=function(e){function a(){return e.call(this,f.GAME,"ui/UI_Sign/Sign",c.HUD,_)||this}t(a,e);var i=a.prototype;return i.onCreated=function(){var e=n(r().mark((function e(){var t,i=this;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=this.getLayout(),p(t.Return.node.parent.parent),this.onButtonEvent(t.Return,(function(){u.close(a)})),this.onButtonEvent(t.Free_Get,n(r().mark((function e(){return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t.Toggle.isChecked?i.Sign(!0):i.Sign(!1);case 1:case"end":return e.stop()}}),e)})))),this.init_Sign();case 5:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}(),i.init_Sign=function(){var e=n(r().mark((function e(){var t,n;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:for(t=this.getLayout(),n=0;n<7;n++)t.Sign_Reward[n].show(n+1);s.getInstance().checkSigin()||(t.Free_Get.node.getComponent(o).grayscale=!0,t.Free_Get.interactable=!1);case 3:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}(),i.Sign=function(){var e=n(r().mark((function e(t){var n,a;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=this.getLayout(),e.next=3,s.getInstance().signIn();case 3:if(0!=(a=e.sent)){e.next=7;break}e.next=18;break;case 7:if(!t){e.next=14;break}return e.next=10,chsdk.playRewardAd("领取双倍签到奖励");case 10:e.sent&&(l.getInstance().player.set_watch_ad_num(1),n.Sign_Reward[a-1].show(a),n.Sign_Reward[a-1].add_Item(t),n.Free_Get.node.getComponent(o).grayscale=!0,n.Free_Get.interactable=!1),e.next=18;break;case 14:n.Sign_Reward[a-1].show(a),n.Sign_Reward[a-1].add_Item(t),n.Free_Get.node.getComponent(o).grayscale=!0,n.Free_Get.interactable=!1;case 18:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}(),a}(g))||d);a._RF.pop()}}}));
- System.register("chunks:///_virtual/UI_Store.ts",["./rollupPluginModLoBabelHelpers.js","cc","./ui.ts","./ui_base.ts","./ModuleDef.ts","./Layout_Store.ts","./UI_Main.ts","./Hall.ts","./Toast.ts","./table_store.ts"],(function(e){var t,n,r,a,o,s,c,i,u,g,l,_,f,p,d;return{setters:[function(e){t=e.inheritsLoose,n=e.asyncToGenerator,r=e.regeneratorRuntime},function(e){a=e.cclegacy,o=e._decorator,s=e.Sprite},function(e){c=e.GameUILayers,i=e.gui},function(e){u=e.default},function(e){g=e.ModuleDef},function(e){l=e.Layout_Store},function(e){_=e.ani_ui},function(e){f=e.Hall},function(e){p=e.Toast},function(e){d=e.table_store}],execute:function(){var y;a._RF.push({},"60b3bv9XPZJKYK+7QPAcISg","UI_Store",void 0);var h=o.ccclass;o.property,e("UI_Store",h("UI_Store")(y=function(e){function a(){var t;return(t=e.call(this,g.GAME,"ui/UI_Store/Store",c.HUD,l)||this).config=void 0,t}t(a,e);var o=a.prototype;return o.onCreated=function(){var e=n(r().mark((function e(){var t,o,c,u,g,l,y=this;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:this.config=d.getList(),console.log(this.config),t=this.getLayout(),_(t.Close_Btn.node.parent),o=f.getInstance().player.get_store_state(),console.log("商店数组:"+o),this.onButtonEvent(t.Close_Btn,n(r().mark((function e(t){return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:i.close(a);case 1:case"end":return e.stop()}}),e)})))),c=r().mark((function e(a){return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:0==o[a]?y.onButtonEvent(t.Free_Gets[a],n(r().mark((function e(n){return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(0==a){e.next=7;break}return e.next=3,chsdk.playRewardAd("获得道具"+y.config[a].type);case 3:e.sent&&(f.getInstance().player.set_watch_ad_num(1),f.getInstance().player.add_item(y.config[a].type,1),t.Free_Gets[a].interactable=!1,t.Free_Gets[a].node.getComponent(s).grayscale=!0,o[a]=!0,f.getInstance().player.set_store_state(o),p.makeText(i.getLayerNode(5),"获得道具:"+y.config[a].name).show()),e.next=11;break;case 7:return e.next=9,chsdk.playRewardAd("获得铜币");case 9:e.sent&&(f.getInstance().player.set_watch_ad_num(1),f.getInstance().player.set_coin(f.getInstance().player.get_coin()+100),t.Free_Gets[a].interactable=!1,t.Free_Gets[a].node.getComponent(s).grayscale=!0,y.show_Coin(),o[a]=!0,f.getInstance().player.set_store_state(o),p.makeText(i.getLayerNode(5),"获得铜币:X100").show());case 11:case"end":return e.stop()}}),e)}))),y):(t.Free_Gets[a].interactable=!1,t.Free_Gets[a].node.getComponent(s).grayscale=!0);case 1:case"end":return e.stop()}}),e)})),u=0;case 9:if(!(u<t.Free_Gets.length)){e.next=14;break}return e.delegateYield(c(u),"t0",11);case 11:u++,e.next=9;break;case 14:g=r().mark((function e(a){return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:y.onButtonEvent(t.Coin_Gets[a],n(r().mark((function e(t){return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:f.getInstance().player.get_coin()>=y.config[a+1].cost?(f.getInstance().player.add_item(y.config[a+1],1),f.getInstance().player.set_coin(f.getInstance().player.get_coin()-y.config[a+1].cost),p.makeText(i.getLayerNode(5),"获得道具:"+y.config[a+1].name).show(),y.show_Coin()):p.makeText(i.getLayerNode(5),"铜币不足").show();case 1:case"end":return e.stop()}}),e)}))),y);case 1:case"end":return e.stop()}}),e)})),l=0;case 16:if(!(l<t.Coin_Gets.length)){e.next=21;break}return e.delegateYield(g(l),"t1",18);case 18:l++,e.next=16;break;case 21:this.show_Coin();case 22:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}(),o.show_Coin=function(){this.getLayout().Coin_Num.string=f.getInstance().player.get_coin().toString()},a}(u))||y);a._RF.pop()}}}));
- System.register("chunks:///_virtual/UI_Task_Item.ts",["./rollupPluginModLoBabelHelpers.js","cc","./Hall.ts","./ui.ts","./UI_Task.ts","./Toast.ts"],(function(e){var t,s,i,r,a,n,o,g,l,c,p,u,_,h,m,y;return{setters:[function(e){t=e.applyDecoratedDescriptor,s=e.inheritsLoose,i=e.initializerDefineProperty,r=e.assertThisInitialized},function(e){a=e.cclegacy,n=e._decorator,o=e.ProgressBar,g=e.Label,l=e.Button,c=e.Sprite,p=e.SpriteFrame,u=e.Component},function(e){_=e.Hall},function(e){h=e.gui},function(e){m=e.UI_Task},function(e){y=e.Toast}],execute:function(){var b,f,I,d,B,G,k,v,w,D,T,z,F,L;a._RF.push({},"016bcam/A5JvLXaYhjRZdz9","UI_Task_Item",void 0);var x=n.ccclass,U=n.property;e("UI_Task_Item",(b=x("UI_Task_Item"),f=U(o),I=U(g),d=U(l),B=U(c),G=U([p]),b((w=t((v=function(e){function t(){for(var t,s=arguments.length,a=new Array(s),n=0;n<s;n++)a[n]=arguments[n];return t=e.call.apply(e,[this].concat(a))||this,i(t,"progressBar",w,r(t)),i(t,"Des",D,r(t)),i(t,"Get",T,r(t)),i(t,"Get_Bg",z,r(t)),i(t,"Get_Bgs",F,r(t)),t.config=void 0,i(t,"index",L,r(t)),t.state=void 0,t}s(t,e);var a=t.prototype;return a.start=function(){this.Get.node.on(l.EventType.CLICK,this.add_Item,this)},a.update=function(e){},a.show=function(e,t){switch(this.config=t,this.state=e,t.type){case 1:this.progressBar.progress=_.getInstance().player.get_use_item_num()/t.goal,this.Des.string=_.getInstance().player.get_use_item_num()+"/"+t.goal;break;case 2:this.progressBar.progress=_.getInstance().player.get_combine_num()/t.goal,this.Des.string=_.getInstance().player.get_combine_num()+"/"+t.goal;break;case 3:this.progressBar.progress=_.getInstance().player.get_login_num()/t.goal,this.Des.string=_.getInstance().player.get_login_num()+"/"+t.goal;break;case 4:this.progressBar.progress=_.getInstance().player.get_pass_level()/t.goal,this.Des.string=_.getInstance().player.get_pass_level()+"/"+t.goal;break;case 5:this.progressBar.progress=_.getInstance().player.get_watch_ad_num()/t.goal,this.Des.string=_.getInstance().player.get_watch_ad_num()+"/"+t.goal}1==this.progressBar.progress?this.state?(this.Des.string="已领取",this.Get.interactable=!1,this.Get_Bg.spriteFrame=this.Get_Bgs[0]):(this.Des.string="可领取",this.Get.interactable=!0,this.Get_Bg.spriteFrame=this.Get_Bgs[1]):(this.Get.interactable=!1,this.Get_Bg.spriteFrame=this.Get_Bgs[0])},a.add_Item=function(){1==this.progressBar.progress&&0==this.state&&(4!=this.config.type?(_.getInstance().player.add_item(this.config.type,1),y.makeText(h.getLayerNode(5),"获得道具:"+this.config.name).show()):4==this.config.type&&(_.getInstance().player.set_coin(_.getInstance().player.get_coin()+100),y.makeText(h.getLayerNode(5),"获得铜币:X"+this.config.num).show()),this.state=!0,this.Des.string="已领取",this.Get_Bg.spriteFrame=this.Get_Bgs[0],this.Get.interactable=!1,h.get(m).update_task_state(!0,this.index))},t}(u)).prototype,"progressBar",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),D=t(v.prototype,"Des",[I],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),T=t(v.prototype,"Get",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),z=t(v.prototype,"Get_Bg",[B],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),F=t(v.prototype,"Get_Bgs",[G],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return[]}}),L=t(v.prototype,"index",[U],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),k=v))||k));a._RF.pop()}}}));
- System.register("chunks:///_virtual/UI_Task.ts",["./rollupPluginModLoBabelHelpers.js","cc","./ui_base.ts","./Layout_Task.ts","./ui.ts","./ModuleDef.ts","./Hall.ts","./UI_Main.ts","./table_task.ts"],(function(t){var e,s,n,a,o,r,i,u,c,_,f,l,k;return{setters:[function(t){e=t.inheritsLoose,s=t.asyncToGenerator,n=t.regeneratorRuntime},function(t){a=t.cclegacy,o=t._decorator},function(t){r=t.default},function(t){i=t.Layout_Task},function(t){u=t.GameUILayers,c=t.gui},function(t){_=t.ModuleDef},function(t){f=t.Hall},function(t){l=t.ani_ui},function(t){k=t.table_task}],execute:function(){var p;a._RF.push({},"9d50dhNkDpIm6jYTQWhnA9s","UI_Task",void 0);var h=o.ccclass;o.property,t("UI_Task",h("UI_Task")(p=function(t){function a(){var e;return(e=t.call(this,_.GAME,"ui/UI_Task/Task",u.HUD,i)||this).task_state=void 0,e.config=void 0,e}e(a,t);var o=a.prototype;return o.onCreated=function(){var t=s(n().mark((function t(){var e,s;return n().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:for(this.config=k.getList(),e=this.getLayout(),l(e.Close_Btn.node.parent),this.onButtonEvent(e.Close_Btn,(function(){c.close(a)})),this.task_state=f.getInstance().player.get_task_state(),console.log("任务数组:"+this.task_state),s=0;s<e.Task_Items.length;s++)e.Task_Items[s].show(this.task_state[s],this.config[s]);case 7:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}(),o.update_task_state=function(){var t=s(n().mark((function t(e,s){return n().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:this.task_state[s]=e,f.getInstance().player.set_task_state(this.task_state),f.getInstance().player.setDirty();case 3:case"end":return t.stop()}}),t,this)})));return function(e,s){return t.apply(this,arguments)}}(),a}(r))||p);a._RF.pop()}}}));
- System.register("chunks:///_virtual/UI_TimesOver.ts",["./rollupPluginModLoBabelHelpers.js","cc","./ui_base.ts","./ui.ts","./ModuleDef.ts","./Layout_TimesOver.ts","./UI_Fail.ts","./Hall.ts","./UI_Main.ts"],(function(e){var t,n,r,o,i,s,a,u,c,g,l,d,p,m;return{setters:[function(e){t=e.inheritsLoose,n=e.asyncToGenerator,r=e.regeneratorRuntime},function(e){o=e.cclegacy,i=e._decorator},function(e){s=e.default},function(e){a=e.GameUILayers,u=e.gui},function(e){c=e.ModuleDef},function(e){g=e.Layout_TimesOver},function(e){l=e.UI_Fail},function(e){d=e.Hall},function(e){p=e.ani_ui,m=e.UI_Main}],execute:function(){var v;o._RF.push({},"93f49g+PURGyJ0pLDMhVj8P","UI_TimesOver",void 0);var _=i.ccclass;i.property,e("UI_TimesOver",_("UI_TimesOver")(v=function(e){function o(){return e.call(this,c.GAME,"ui/UI_TimesOver/TimesOver",a.HUD,g)||this}return t(o,e),o.prototype.onCreated=function(){var e=n(r().mark((function e(){var t,i;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=this.getLayout(),p(t.Close_Btn.node.parent),u.get(m).evt.emit(u.get(m).evt.key.pause),(i=d.getInstance().player.get_item(5))>0?(t.AddTime_Ad.node.active=!1,t.RedPoint_num.node.parent.active=!0,t.RedPoint_num.string=i.toString()):(t.AddTime_Ad.node.active=!0,t.RedPoint_num.node.parent.active=!1),t.progressBar.progress=(u.get(m).getLayout().Container.count-u.get(m).getLayout().Container.idioms.length)/u.get(m).getLayout().Container.count,console.log(u.get(m).getLayout().Container.count,u.get(m).getLayout().Container.idioms.length),t.progressBar_Percent.string=Math.floor(100*t.progressBar.progress)+"%",this.onButtonEvent(t.Close_Btn,(function(){u.close(o),u.show(l)})),this.onButtonEvent(t.AddTime,n(r().mark((function e(){return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(i<=0)){e.next=7;break}return e.next=3,chsdk.playRewardAd("获得道具5");case 3:e.sent&&(u.close(o),d.getInstance().player.add_item(5,1),d.getInstance().player.use_item(5),u.get(m).evt.emit(u.get(m).evt.key.resume)),e.next=10;break;case 7:u.close(o),d.getInstance().player.use_item(5),u.get(m).evt.emit(u.get(m).evt.key.resume);case 10:case"end":return e.stop()}}),e)}))));case 10:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}(),o}(s))||v);o._RF.pop()}}}));
- System.register("chunks:///_virtual/UI_Tips.ts",["./rollupPluginModLoBabelHelpers.js","cc","./ui_base.ts","./ui.ts","./ModuleDef.ts","./Layout_Tips.ts","./UI_Settings.ts","./ResUtil.ts","./SceneDef.ts","./UI_Hall.ts","./UI_Main.ts"],(function(t){var e,n,i,o,s,u,c,a,r,l,f,_,p,v,g;return{setters:[function(t){e=t.inheritsLoose,n=t.asyncToGenerator,i=t.regeneratorRuntime},function(t){o=t.cclegacy,s=t._decorator},function(t){u=t.default},function(t){c=t.gui,a=t.GameUILayers},function(t){r=t.ModuleDef},function(t){l=t.Layout_Tips},function(t){f=t.UI_Settings},function(t){_=t.ResUtil},function(t){p=t.SceneDef},function(t){v=t.UI_Hall},function(t){g=t.UI_Main}],execute:function(){var d;o._RF.push({},"1ebdc1x6S9DYpzaA7oW0hw3","UI_Tips",void 0);var y=s.ccclass;s.property,t("UI_Tips",y("UI_Tips")(d=function(t){function o(){return t.call(this,r.GAME,"ui/UI_Tips/Tips",a.ALERT,l)||this}e(o,t);var s=o.prototype;return s.onCreated=function(){var t=this.getLayout();this.onButtonEvent(t.Close_Btn,(function(){c.close(o)}))},s.init=function(t){var e=this.getLayout();this.onButtonEvent(e.Ensure_Btn,n(i().mark((function e(){return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(c.close(o),c.close(f),!t){e.next=9;break}return e.next=5,c.closeAll();case 5:c.show(v),_.loadScene(p.Hall,r.GAME,!0),e.next=15;break;case 9:c.close(o),c.close(f),c.get(g).evt.emit(c.get(g).evt.key.next_level),c.get(g).getLayout().Container.level_idioms(),c.get(g).evt.emit(c.get(g).evt.key.update_ui_idioms),c.get(g).evt.emit(c.get(g).evt.key.update_remain);case 15:case"end":return e.stop()}}),e)})))),this.onButtonEvent(e.Cancel_Btn,(function(){c.close(o)}))},o}(u))||d);o._RF.pop()}}}));
- System.register("chunks:///_virtual/UI_Win.ts",["./rollupPluginModLoBabelHelpers.js","cc","./ui.ts","./ui_base.ts","./ResUtil.ts","./ModuleDef.ts","./SceneDef.ts","./UI_Hall.ts","./UI_Main.ts","./Layout_Win.ts","./Container_Manager.ts","./Hall.ts"],(function(e){var t,n,r,i,a,o,s,c,u,l,f,p,_,g,h,d,v,y,m;return{setters:[function(e){t=e.inheritsLoose,n=e.asyncToGenerator,r=e.regeneratorRuntime},function(e){i=e.cclegacy,a=e._decorator,o=e.find,s=e.Sprite},function(e){c=e.GameUILayers,u=e.gui},function(e){l=e.default},function(e){f=e.ResUtil},function(e){p=e.ModuleDef},function(e){_=e.SceneDef},function(e){g=e.UI_Hall},function(e){h=e.ani_ui,d=e.UI_Main},function(e){v=e.Layout_Win},function(e){y=e.Container_Manager},function(e){m=e.Hall}],execute:function(){var I;i._RF.push({},"83142byQEVIGK9m///c1wq2","UI_Win",void 0);var U=a.ccclass;a.property,e("UI_Win",U("UI_Win")(I=function(e){function i(){return e.call(this,p.GAME,"ui/UI_Win/Win",c.HUD,v)||this}return t(i,e),i.prototype.onCreated=function(){var e=n(r().mark((function e(){var t;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=this.getLayout(),h(t.Three_Btn.node.parent.parent),t.Container=o("Container").getComponent(y),m.getInstance().player.set_coin(m.getInstance().player.get_coin()+50),this.onButtonEvent(t.Three_Btn,n(r().mark((function e(n){return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,chsdk.playRewardAd("三倍获取铜币");case 2:e.sent&&(m.getInstance().player.set_coin(m.getInstance().player.get_coin()+150-50),t.Three_Btn.interactable=!1,t.Three_Btn.node.getComponent(s).grayscale=!0,t.Txt.string="铜币+150");case 4:case"end":return e.stop()}}),e)}))),this),this.onButtonEvent(t.Next_Btn,n(r().mark((function e(n){return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:u.get(d).evt.emit(u.get(d).evt.key.next_level),u.close(i),t.Container.level_idioms(),u.get(d).evt.emit(u.get(d).evt.key.update_ui_idioms),u.get(d).evt.emit(u.get(d).evt.key.update_remain);case 5:case"end":return e.stop()}}),e)}))),this),this.onButtonEvent(t.ReturnHall_Btn,n(r().mark((function e(t){return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,u.closeAll();case 2:u.show(g),f.loadScene(_.Hall,p.GAME,!0);case 4:case"end":return e.stop()}}),e)}))),this);case 7:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}(),i}(l))||I);i._RF.pop()}}}));
- (function(r) {
- r('virtual:///prerequisite-imports/module_game', 'chunks:///_virtual/module_game');
- })(function(mid, cid) {
- System.register(mid, [cid], function (_export, _context) {
- return {
- setters: [function(_m) {
- var _exportObj = {};
- for (var _key in _m) {
- if (_key !== "default" && _key !== "__esModule") _exportObj[_key] = _m[_key];
- }
-
- _export(_exportObj);
- }],
- execute: function () { }
- };
- });
- });
|