System.register("chunks:///_virtual/add_animation_item.ts",["./rollupPluginModLoBabelHelpers.js","cc"],(function(t){var n,e,i,a,o,r,l,c,s,u,_;return{setters:[function(t){n=t.applyDecoratedDescriptor,e=t.inheritsLoose,i=t.initializerDefineProperty,a=t.assertThisInitialized},function(t){o=t.cclegacy,r=t._decorator,l=t.Node,c=t.Label,s=t.Sprite,u=t.Color,_=t.Component}],execute:function(){var d,m,p,h,f;o._RF.push({},"9fad2c5581LAKn9Gw3rCjgK","add_animation_item",void 0);var b=r.ccclass,g=r.property;t("add_animation_item",(d=b("add_animation_item"),m=g(l),d((f=n((h=function(t){function n(){for(var n,e=arguments.length,o=new Array(e),r=0;r<e;r++)o[r]=arguments[r];return n=t.call.apply(t,[this].concat(o))||this,i(n,"lab_name",f,a(n)),n.call_back=null,n.m_data=null,n.m_index=0,n}e(n,t);var o=n.prototype;return o.initView=function(t,n,e){var i=this;this.call_back=n,this.m_index=e,this.m_data=t,this.lab_name.getComponent(c).string=this.m_data.ani_name,this.node.on(l.EventType.TOUCH_END,(function(){null!=i.call_back&&i.call_back(i)})),this.unSelectStatus()},o.getIndex=function(){return this.m_index},o.selectStatus=function(){this.node.getComponent(s).color=u.BLUE},o.unSelectStatus=function(){this.node.getComponent(s).color=u.GRAY},o.getData=function(){return this.m_data},n}(_)).prototype,"lab_name",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),p=h))||p));o._RF.pop()}}}));

System.register("chunks:///_virtual/add_animation.ts",["./rollupPluginModLoBabelHelpers.js","cc","./add_animation_item.ts","./Attributes.ts","./tools.ts","./new_animation.ts","./edit_animation.ts"],(function(t){var n,e,i,o,a,l,r,c,s,_,u,m,d,h,b,p;return{setters:[function(t){n=t.applyDecoratedDescriptor,e=t.inheritsLoose,i=t.initializerDefineProperty,o=t.assertThisInitialized},function(t){a=t.cclegacy,l=t._decorator,r=t.Node,c=t.Prefab,s=t.Button,_=t.instantiate,u=t.Component},function(t){m=t.add_animation_item},function(t){d=t.Attributes},function(t){h=t.tools},function(t){b=t.new_animation},function(t){p=t.edit_animation}],execute:function(){var f,g,w,C,y,v,T,k,z,A,D,E,S,I,H,N,V,O,P;a._RF.push({},"14c2dd5AQtAaIx8hIpSkTm7","add_animation",void 0);var U=l.ccclass,x=l.property;t("add_animation",(f=U("add_animation"),g=x(r),w=x(r),C=x(c),y=x(r),v=x(r),T=x(r),k=x(r),z=x(r),f((E=n((D=function(t){function n(){for(var n,e=arguments.length,a=new Array(e),l=0;l<e;l++)a[l]=arguments[l];return n=t.call.apply(t,[this].concat(a))||this,i(n,"content",E,o(n)),i(n,"btn_close",S,o(n)),i(n,"item_prefab",I,o(n)),i(n,"btn_add_animation",H,o(n)),i(n,"btn_delete_animation",N,o(n)),i(n,"btn_edit_animation",V,o(n)),i(n,"new_animation_node",O,o(n)),i(n,"edit_animation_node",P,o(n)),n.call_back=null,n.m_list=[],n.cur_select=null,n}e(n,t);var a=n.prototype;return a.show=function(t,n){var e=this;this.call_back=n,this.m_list=t,this.updateView(),this.btn_close.on(r.EventType.TOUCH_END,(function(){e.close()})),this.btn_edit_animation.on(r.EventType.TOUCH_END,(function(){if(e.m_list.length<=0)return h.showToast("无动画可编辑！");e.edit_animation_node.getComponent(p).show(e.cur_select.getData())})),this.new_animation_node.getComponent(b).initView(this.onCreateAni.bind(this)),this.btn_add_animation.on(r.EventType.TOUCH_END,(function(){e.new_animation_node.getComponent(b).show(e.m_list.length,d.Singleton.get_cur_att_data().id)})),this.btn_delete_animation.on(r.EventType.TOUCH_END,(function(){if(e.m_list.length<=0)return h.showToast("无动画可删除！");h.show_dialog("是否删除当前选中的动画？",(function(){e.m_list.splice(e.cur_select.getIndex(),1),e.cur_select.node.removeFromParent(),e.m_list.length<=0?e.btn_delete_animation.getComponent(s).interactable=!1:(e.cur_select=e.content.children[e.content.children.length-1].getComponent(m),e.cur_select.selectStatus()),null!=e.call_back&&e.call_back(e.m_list)}))})),this.btn_edit_animation.getComponent(s).interactable=!(t.length<=0),this.btn_delete_animation.getComponent(s).interactable=!(t.length<=0)},a.updateView=function(){this.content.removeAllChildren();for(var t=0;t<this.m_list.length;t++){var n=this.m_list[t],e=_(this.item_prefab);e.parent=this.content,e.getComponent(m).initView(n,this.onItemClick.bind(this),t),0===t&&(e.getComponent(m).selectStatus(),this.cur_select=e.getComponent(m))}},a.onCreateAni=function(t){this.m_list.push(t),this.updateView(),this.btn_edit_animation.getComponent(s).interactable=!(this.m_list.length<=0),this.btn_delete_animation.getComponent(s).interactable=!(this.m_list.length<=0),null!=this.call_back&&this.call_back(this.m_list)},a.onItemClick=function(t){for(var n=0;n<this.content.children.length;n++){this.content.children[n].getComponent(m).unSelectStatus()}t.selectStatus(),this.cur_select=t,this.btn_edit_animation.getComponent(s).interactable=!0,this.btn_delete_animation.getComponent(s).interactable=!0},a.close=function(){this.node.destroy()},n}(u)).prototype,"content",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),S=n(D.prototype,"btn_close",[w],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),I=n(D.prototype,"item_prefab",[C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),H=n(D.prototype,"btn_add_animation",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),N=n(D.prototype,"btn_delete_animation",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),V=n(D.prototype,"btn_edit_animation",[T],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),O=n(D.prototype,"new_animation_node",[k],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),P=n(D.prototype,"edit_animation_node",[z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),A=D))||A));a._RF.pop()}}}));

System.register("chunks:///_virtual/add_event_item.ts",["./rollupPluginModLoBabelHelpers.js","cc","./config.ts"],(function(e){var t,n,i,a,r,o,c,l,s,u;return{setters:[function(e){t=e.applyDecoratedDescriptor,n=e.inheritsLoose,i=e.initializerDefineProperty,a=e.assertThisInitialized},function(e){r=e.cclegacy,o=e._decorator,c=e.Node,l=e.Label,s=e.Component},function(e){u=e.config}],execute:function(){var p,_,d,f,m;r._RF.push({},"d1b165BZGdLuYrdNQW18zs4","add_event_item",void 0);var y=o.ccclass,b=o.property;e("add_event_item",(p=y("add_event_item"),_=b(c),p((m=t((f=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return t=e.call.apply(e,[this].concat(r))||this,i(t,"lab_name",m,a(t)),t.call_back=null,t.m_type=0,t}return n(t,e),t.prototype.initView=function(e,t){var n=this;this.call_back=t,this.m_type=e,this.lab_name.getComponent(l).string=u.event_type_map.get(e),this.node.on(c.EventType.TOUCH_END,(function(){null!=n.call_back&&n.call_back(n.m_type)}))},t}(s)).prototype,"lab_name",[_],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),d=f))||d));r._RF.pop()}}}));

System.register("chunks:///_virtual/add_event.ts",["./rollupPluginModLoBabelHelpers.js","cc","./config.ts","./add_event_item.ts","./tools.ts"],(function(e){var t,n,i,o,r,l,a,c,u,s,p,_,b,f;return{setters:[function(e){t=e.applyDecoratedDescriptor,n=e.inheritsLoose,i=e.initializerDefineProperty,o=e.assertThisInitialized},function(e){r=e.cclegacy,l=e._decorator,a=e.Node,c=e.Prefab,u=e.EditBox,s=e.instantiate,p=e.Component},function(e){_=e.config},function(e){b=e.add_event_item},function(e){f=e.tools}],execute:function(){var d,v,m,y,h,g,w,z,E,C,T,k,D,N,H,P,B;r._RF.push({},"c5c12t8lZ5CBLlNEP7fQXb+","add_event",void 0);var I=l.ccclass,L=l.property;e("add_event",(d=I("add_event"),v=L(a),m=L(a),y=L(c),h=L(a),g=L(a),w=L(u),z=L(a),d((T=t((C=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),l=0;l<n;l++)r[l]=arguments[l];return t=e.call.apply(e,[this].concat(r))||this,i(t,"content",T,o(t)),i(t,"btn_close",k,o(t)),i(t,"item_prefab",D,o(t)),i(t,"btn_add",N,o(t)),i(t,"btn_cancel",H,o(t)),i(t,"edit",P,o(t)),i(t,"input_event_name",B,o(t)),t.call_back=null,t.select_type=0,t}n(t,e);var r=t.prototype;return r.show=function(e){var t=this;this.call_back=e,this.input_event_name.active=!1,_.event_type_map.forEach((function(e,n){var i=s(t.item_prefab);i.parent=t.content,i.getComponent(b).initView(n,t.onItemClick.bind(t))})),this.btn_close.on(a.EventType.TOUCH_END,(function(){t.close()})),this.btn_add.on(a.EventType.TOUCH_END,(function(){t.edit.string.length>0?(null!=t.call_back&&t.call_back(t.select_type,t.edit.string),t.close()):f.showToast("请输入事件名字")})),this.btn_cancel.on(a.EventType.TOUCH_END,(function(){t.input_event_name.active=!1}))},r.onItemClick=function(e){this.select_type=e,this.input_event_name.active=!0},r.close=function(){this.node.destroy()},t}(p)).prototype,"content",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),k=t(C.prototype,"btn_close",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),D=t(C.prototype,"item_prefab",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),N=t(C.prototype,"btn_add",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),H=t(C.prototype,"btn_cancel",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),P=t(C.prototype,"edit",[w],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),B=t(C.prototype,"input_event_name",[z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),E=C))||E));r._RF.pop()}}}));

System.register("chunks:///_virtual/add_scene.ts",["./rollupPluginModLoBabelHelpers.js","cc","./config.ts","./data.ts","./tools.ts"],(function(e){var t,n,i,c,_,l,a,o,r,s,u,p,b,y,d,f;return{setters:[function(e){t=e.applyDecoratedDescriptor,n=e.inheritsLoose,i=e.initializerDefineProperty,c=e.assertThisInitialized},function(e){_=e.cclegacy,l=e._decorator,a=e.Node,o=e.EditBox,r=e.Prefab,s=e.Toggle,u=e.Label,p=e.Color,b=e.Component},function(e){y=e.config},function(e){d=e.scene_item_data},function(e){f=e.tools}],execute:function(){var m,h,g,T,w,E,C,S,z,v,D,L,x,N,k,B,H,O,U,R,A,P,F,K,I,J,X;_._RF.push({},"32790/TyfJCWr/iuyEJdxXX","add_scene",void 0);var j=l.ccclass,M=l.property;e("add_scene",(m=j("add_scene"),h=M(a),g=M(a),T=M(o),w=M(a),E=M(a),C=M(a),S=M(r),z=M(a),v=M(a),D=M(a),L=M(a),x=M(s),m((B=t((k=function(e){function t(){for(var t,n=arguments.length,_=new Array(n),l=0;l<n;l++)_[l]=arguments[l];return t=e.call.apply(e,[this].concat(_))||this,i(t,"btn_sure",B,c(t)),i(t,"btn_cancel",H,c(t)),i(t,"EditBox_Scene_Name",O,c(t)),i(t,"btn_scene_template",U,c(t)),i(t,"scene_template",R,c(t)),i(t,"btn_close_scene_template",A,c(t)),i(t,"sceme_type_select_item_prefab",P,c(t)),i(t,"scene_template_content",F,c(t)),i(t,"lab_danye",K,c(t)),i(t,"lab_duoye_shangxia",I,c(t)),i(t,"lab_duoye_zuoyou",J,c(t)),i(t,"tg_child_scene",X,c(t)),t.select_type=y.Scene_Type_List.single_screen,t.def_select_scene_item_data=new d("",0),t.m_call_back=null,t}n(t,e);var _=t.prototype;return _.initView=function(e){var t=this;this.m_call_back=e,this.btn_sure.on(a.EventType.TOUCH_END,(function(){if(t.EditBox_Scene_Name.string.length<=0)return f.showToast("请填写场景名字！");t.def_select_scene_item_data.scene_diy_name=t.EditBox_Scene_Name.string,t.def_select_scene_item_data.type=t.select_type,t.def_select_scene_item_data.is_child_scene=t.tg_child_scene.isChecked,null!=t.m_call_back&&(t.def_select_scene_item_data.is_child_scene&&(t.def_select_scene_item_data.scene_diy_name=t.def_select_scene_item_data.scene_diy_name+"(子场景)"),t.m_call_back(t.def_select_scene_item_data)),t.close()})),this.btn_cancel.on(a.EventType.TOUCH_END,(function(){t.close()})),this.btn_scene_template.on(a.EventType.TOUCH_END,(function(){})),this.btn_close_scene_template.on(a.EventType.TOUCH_END,(function(){t.scene_template.active=!1})),this.lab_danye.on(a.EventType.TOUCH_END,(function(){t.select_type=y.Scene_Type_List.single_screen,t.updaetSelect()})),this.lab_duoye_shangxia.on(a.EventType.TOUCH_END,(function(){t.select_type=y.Scene_Type_List.many_screen_switch_up_down,t.updaetSelect()})),this.lab_duoye_zuoyou.on(a.EventType.TOUCH_END,(function(){t.select_type=y.Scene_Type_List.many_screen_switch_left_right,t.updaetSelect()})),y.init(),this.updaetSelect()},_.updaetSelect=function(){switch(this.lab_danye.getComponent(u).color=p.BLACK,this.lab_duoye_shangxia.getComponent(u).color=p.BLACK,this.lab_duoye_zuoyou.getComponent(u).color=p.BLACK,this.select_type){case y.Scene_Type_List.single_screen:this.lab_danye.getComponent(u).color=p.RED;break;case y.Scene_Type_List.many_screen_switch_up_down:this.lab_duoye_shangxia.getComponent(u).color=p.RED;break;case y.Scene_Type_List.many_screen_switch_left_right:this.lab_duoye_zuoyou.getComponent(u).color=p.RED}},_.initSelectSceneTypes=function(){},_.onSelectSceneTypeItemClick=function(e){},_.close=function(){this.node.removeFromParent()},t}(b)).prototype,"btn_sure",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),H=t(k.prototype,"btn_cancel",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),O=t(k.prototype,"EditBox_Scene_Name",[T],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),U=t(k.prototype,"btn_scene_template",[w],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),R=t(k.prototype,"scene_template",[E],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),A=t(k.prototype,"btn_close_scene_template",[C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),P=t(k.prototype,"sceme_type_select_item_prefab",[S],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),F=t(k.prototype,"scene_template_content",[z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),K=t(k.prototype,"lab_danye",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),I=t(k.prototype,"lab_duoye_shangxia",[D],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),J=t(k.prototype,"lab_duoye_zuoyou",[L],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),X=t(k.prototype,"tg_child_scene",[x],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),N=k))||N));_._RF.pop()}}}));

System.register("chunks:///_virtual/add_task_item.ts",["./rollupPluginModLoBabelHelpers.js","cc","./config.ts"],(function(t){var e,n,a,i,r,o,c,l,s,u;return{setters:[function(t){e=t.applyDecoratedDescriptor,n=t.inheritsLoose,a=t.initializerDefineProperty,i=t.assertThisInitialized},function(t){r=t.cclegacy,o=t._decorator,c=t.Node,l=t.Label,s=t.Component},function(t){u=t.config}],execute:function(){var p,_,d,f,m;r._RF.push({},"da4075AC9VH74VY56dUENuT","add_task_item",void 0);var y=o.ccclass,b=o.property;t("add_task_item",(p=y("add_task_item"),_=b(c),p((m=e((f=function(t){function e(){for(var e,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return e=t.call.apply(t,[this].concat(r))||this,a(e,"lab_name",m,i(e)),e.call_back=null,e.m_type=0,e}return n(e,t),e.prototype.initView=function(t,e){var n=this;this.call_back=e,this.m_type=t,this.lab_name.getComponent(l).string=u.task_type_map.get(t),this.node.on(c.EventType.TOUCH_END,(function(){null!=n.call_back&&n.call_back(n.m_type)}))},e}(s)).prototype,"lab_name",[_],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),d=f))||d));r._RF.pop()}}}));

System.register("chunks:///_virtual/add_task.ts",["./rollupPluginModLoBabelHelpers.js","cc","./config.ts","./add_task_item.ts"],(function(t){var e,n,i,o,a,r,c,l,s,u,p,f;return{setters:[function(t){e=t.applyDecoratedDescriptor,n=t.inheritsLoose,i=t.initializerDefineProperty,o=t.assertThisInitialized},function(t){a=t.cclegacy,r=t._decorator,c=t.Node,l=t.Prefab,s=t.instantiate,u=t.Component},function(t){p=t.config},function(t){f=t.add_task_item}],execute:function(){var _,b,d,h,y,k,m,g,v;a._RF.push({},"3dc31KZHytACqJ6I+Q23JHo","add_task",void 0);var w=r.ccclass,C=r.property;t("add_task",(_=w("add_task"),b=C(c),d=C(c),h=C(l),_((m=e((k=function(t){function e(){for(var e,n=arguments.length,a=new Array(n),r=0;r<n;r++)a[r]=arguments[r];return e=t.call.apply(t,[this].concat(a))||this,i(e,"content",m,o(e)),i(e,"btn_close",g,o(e)),i(e,"item_prefab",v,o(e)),e.call_back=null,e}n(e,t);var a=e.prototype;return a.show=function(t){var e=this;this.call_back=t,p.task_type_map.forEach((function(t,n){var i=s(e.item_prefab);i.parent=e.content,i.getComponent(f).initView(n,e.onItemClick.bind(e))})),this.btn_close.on(c.EventType.TOUCH_END,(function(){e.close()}))},a.onItemClick=function(t){null!=this.call_back&&this.call_back(t),this.close()},a.close=function(){this.node.destroy()},e}(u)).prototype,"content",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),g=e(k.prototype,"btn_close",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),v=e(k.prototype,"item_prefab",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),y=k))||y));a._RF.pop()}}}));

System.register("chunks:///_virtual/att_res_set_view.ts",["./rollupPluginModLoBabelHelpers.js","cc","./config.ts","./res_not_have_interact.ts","./res_interact_input.ts","./res_interact_puzzle.ts","./res_interact_page.ts","./res_pointer_ding_wei.ts","./res_wei_chi_pointer.ts","./res_boss_info.ts"],(function(t){var e,i,n,_,a,o,r,p,s,c,u,l,h,d,m,w;return{setters:[function(t){e=t.applyDecoratedDescriptor,i=t.inheritsLoose,n=t.initializerDefineProperty,_=t.assertThisInitialized},function(t){a=t.cclegacy,o=t._decorator,r=t.Node,p=t.Component},function(t){s=t.config},function(t){c=t.res_not_have_interact},function(t){u=t.res_interact_input},function(t){l=t.res_interact_puzzle},function(t){h=t.res_interact_page},function(t){d=t.res_pointer_ding_wei},function(t){m=t.res_wei_chi_pointer},function(t){w=t.res_boss_info}],execute:function(){var f,g,b,y,v,z,C,k,V,A,H,D,N,B,F,L,M,P,R;a._RF.push({},"b0cac79u7dH2YBJHYHmAd60","att_res_set_view",void 0);var S=o.ccclass,Y=o.property;t("att_res_set_view",(f=S("att_res_set_view"),g=Y(r),b=Y(r),y=Y(r),v=Y(r),z=Y(r),C=Y(r),k=Y(r),V=Y(r),f((D=e((H=function(t){function e(){for(var e,i=arguments.length,a=new Array(i),o=0;o<i;o++)a[o]=arguments[o];return e=t.call.apply(t,[this].concat(a))||this,n(e,"not_have_interact",D,_(e)),n(e,"interact_input",N,_(e)),n(e,"interact_page",B,_(e)),n(e,"interact_puzzle",F,_(e)),n(e,"interact_scene",L,_(e)),n(e,"pointer_ding_wei",M,_(e)),n(e,"wei_chi_pointer",P,_(e)),n(e,"boss_info",R,_(e)),e.m_data=null,e.map_node=new Map,e}i(e,t);var a=e.prototype;return a.init=function(){this.map_node.set(s.top_view_type.not_have_interact,this.not_have_interact),this.map_node.set(s.top_view_type.interact_input,this.interact_input),this.map_node.set(s.top_view_type.interact_page,this.interact_page),this.map_node.set(s.top_view_type.interact_puzzle,this.interact_puzzle),this.map_node.set(s.top_view_type.interact_scene,this.interact_scene),this.map_node.set(s.top_view_type.pointer_ding_wei,this.pointer_ding_wei),this.map_node.set(s.top_view_type.wei_chi_pointer,this.wei_chi_pointer),this.map_node.set(s.top_view_type.boss_info,this.boss_info)},a.hideAllNode=function(){this.map_node.forEach((function(t,e){t.active=!1}))},a.updateStatus=function(t){switch(this.m_data=t,this.hideAllNode(),this.map_node.size<=0&&this.init(),this.map_node.get(this.m_data.top_ui_type).active=!0,this.m_data.top_ui_type){case s.top_view_type.not_have_interact:this.map_node.get(this.m_data.top_ui_type).getComponent(c).initView(this.m_data._not_have_interact_data);break;case s.top_view_type.interact_input:this.map_node.get(this.m_data.top_ui_type).getComponent(u).initView(this.m_data._interact_input_data);break;case s.top_view_type.interact_puzzle:this.map_node.get(this.m_data.top_ui_type).getComponent(l).initView(this.m_data._interact_puzzle_data);break;case s.top_view_type.interact_page:this.map_node.get(this.m_data.top_ui_type).getComponent(h).initView(this.m_data._interact_page_data);break;case s.top_view_type.pointer_ding_wei:this.map_node.get(this.m_data.top_ui_type).getComponent(d).initView(this.m_data._pointer_ding_wei_data);break;case s.top_view_type.wei_chi_pointer:this.map_node.get(this.m_data.top_ui_type).getComponent(m).initView(this.m_data._wei_chi_pointer_data);break;case s.top_view_type.boss_info:this.map_node.get(this.m_data.top_ui_type).getComponent(w).initView(this.m_data._boss_info_data)}},e}(p)).prototype,"not_have_interact",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),N=e(H.prototype,"interact_input",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),B=e(H.prototype,"interact_page",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),F=e(H.prototype,"interact_puzzle",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),L=e(H.prototype,"interact_scene",[z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),M=e(H.prototype,"pointer_ding_wei",[C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),P=e(H.prototype,"wei_chi_pointer",[k],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),R=e(H.prototype,"boss_info",[V],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),A=H))||A));a._RF.pop()}}}));

System.register("chunks:///_virtual/att_widget_set_view.ts",["./rollupPluginModLoBabelHelpers.js","cc","./config.ts","./widget_not_have_interact.ts","./widget_interact_input.ts","./widget_interact_puzzle.ts","./widget_interact_page.ts","./widget_pointer_ding_wei.ts","./widget_wei_chi_pointer.ts","./widget_boss_info.ts"],(function(t){var e,i,n,_,a,o,p,r,s,c,u,d,l,h,w,g;return{setters:[function(t){e=t.applyDecoratedDescriptor,i=t.inheritsLoose,n=t.initializerDefineProperty,_=t.assertThisInitialized},function(t){a=t.cclegacy,o=t._decorator,p=t.Node,r=t.Component},function(t){s=t.config},function(t){c=t.widget_not_have_interact},function(t){u=t.widget_interact_input},function(t){d=t.widget_interact_puzzle},function(t){l=t.widget_interact_page},function(t){h=t.widget_pointer_ding_wei},function(t){w=t.widget_wei_chi_pointer},function(t){g=t.widget_boss_info}],execute:function(){var m,f,y,b,v,z,C,k,V,A,N,D,I,L,R,F,M,P,S;a._RF.push({},"a34027QAvRI6ZafG9lILNnU","att_widget_set_view",void 0);var j=o.ccclass,x=o.property;t("att_widget_set_view",(m=j("att_widget_set_view"),f=x(p),y=x(p),b=x(p),v=x(p),z=x(p),C=x(p),k=x(p),V=x(p),m((D=e((N=function(t){function e(){for(var e,i=arguments.length,a=new Array(i),o=0;o<i;o++)a[o]=arguments[o];return e=t.call.apply(t,[this].concat(a))||this,n(e,"not_have_interact",D,_(e)),n(e,"interact_input",I,_(e)),n(e,"interact_page",L,_(e)),n(e,"interact_puzzle",R,_(e)),n(e,"interact_scene",F,_(e)),n(e,"pointer_ding_wei",M,_(e)),n(e,"wei_chi_pointer",P,_(e)),n(e,"boss_info",S,_(e)),e.m_data=null,e.map_node=new Map,e}i(e,t);var a=e.prototype;return a.init=function(){this.map_node.set(s.top_view_type.not_have_interact,this.not_have_interact),this.map_node.set(s.top_view_type.interact_input,this.interact_input),this.map_node.set(s.top_view_type.interact_page,this.interact_page),this.map_node.set(s.top_view_type.interact_puzzle,this.interact_puzzle),this.map_node.set(s.top_view_type.interact_scene,this.interact_scene),this.map_node.set(s.top_view_type.pointer_ding_wei,this.pointer_ding_wei),this.map_node.set(s.top_view_type.wei_chi_pointer,this.wei_chi_pointer),this.map_node.set(s.top_view_type.boss_info,this.boss_info)},a.hideAllNode=function(){this.map_node.forEach((function(t,e){t.active=!1}))},a.updateStatus=function(t){switch(this.m_data=t,this.hideAllNode(),this.map_node.size<=0&&this.init(),this.map_node.get(this.m_data.top_ui_type).active=!0,this.m_data.top_ui_type){case s.top_view_type.not_have_interact:this.map_node.get(this.m_data.top_ui_type).getComponent(c).initView(this.m_data._not_have_interact_data);break;case s.top_view_type.interact_input:this.map_node.get(this.m_data.top_ui_type).getComponent(u).initView(this.m_data._interact_input_data);break;case s.top_view_type.interact_puzzle:this.map_node.get(this.m_data.top_ui_type).getComponent(d).initView(this.m_data._interact_puzzle_data);break;case s.top_view_type.interact_page:this.map_node.get(this.m_data.top_ui_type).getComponent(l).initView(this.m_data._interact_page_data);break;case s.top_view_type.pointer_ding_wei:this.map_node.get(this.m_data.top_ui_type).getComponent(h).initView(this.m_data._pointer_ding_wei_data);break;case s.top_view_type.wei_chi_pointer:this.map_node.get(this.m_data.top_ui_type).getComponent(w).initView(this.m_data._wei_chi_pointer_data);break;case s.top_view_type.boss_info:this.map_node.get(this.m_data.top_ui_type).getComponent(g).initView(this.m_data._boss_info_data)}},e}(r)).prototype,"not_have_interact",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),I=e(N.prototype,"interact_input",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),L=e(N.prototype,"interact_page",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),R=e(N.prototype,"interact_puzzle",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),F=e(N.prototype,"interact_scene",[z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),M=e(N.prototype,"pointer_ding_wei",[C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),P=e(N.prototype,"wei_chi_pointer",[k],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),S=e(N.prototype,"boss_info",[V],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),A=N))||A));a._RF.pop()}}}));

System.register("chunks:///_virtual/attributes_active.ts",["./rollupPluginModLoBabelHelpers.js","cc"],(function(t){var e,i,c,n,r,a,s,l,o;return{setters:[function(t){e=t.applyDecoratedDescriptor,i=t.inheritsLoose,c=t.initializerDefineProperty,n=t.assertThisInitialized},function(t){r=t.cclegacy,a=t._decorator,s=t.Node,l=t.Toggle,o=t.Component}],execute:function(){var u,h,p,v,_;r._RF.push({},"9cd492RlgJJ6JtgnN8LdZyT","attributes_active",void 0);var d=a.ccclass,f=a.property;t("attributes_active",(u=d("attributes_active"),h=f(s),u((_=e((v=function(t){function e(){for(var e,i=arguments.length,r=new Array(i),a=0;a<i;a++)r[a]=arguments[a];return e=t.call.apply(t,[this].concat(r))||this,c(e,"check_select",_,n(e)),e.call_back=null,e.isEditActive=!1,e}i(e,t);var r=e.prototype;return r.initView=function(t){var e=this;this.call_back=t,this.check_select.on(s.EventType.TOUCH_END,(function(){e.isEditActive=!e.isEditActive,e.change()}))},r.change=function(){null!=this.call_back&&this.call_back(this.isEditActive)},r.update_att=function(t){this.isEditActive=t,this.check_select.getComponent(l).isChecked=this.isEditActive},e}(o)).prototype,"check_select",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),p=v))||p));r._RF.pop()}}}));

System.register("chunks:///_virtual/attributes_anchor.ts",["./rollupPluginModLoBabelHelpers.js","cc","./tools.ts"],(function(t){var n,e,i,a,o,r,l,u,c,s,_,d;return{setters:[function(t){n=t.applyDecoratedDescriptor,e=t.inheritsLoose,i=t.initializerDefineProperty,a=t.assertThisInitialized},function(t){o=t.cclegacy,r=t._decorator,l=t.EditBox,u=t.Node,c=t.Size,s=t.Vec2,_=t.Component},function(t){d=t.tools}],execute:function(){var h,p,f,b,y,x,g,D,m;o._RF.push({},"6ed4fMW81RGdp33OGDOehMe","attributes_anchor",void 0);var v=r.ccclass,w=r.property;t("attributes_anchor",(h=v("attributes_anchor"),p=w(l),f=w(l),b=w(u),h((g=n((x=function(t){function n(){for(var n,e=arguments.length,o=new Array(e),r=0;r<e;r++)o[r]=arguments[r];return n=t.call.apply(t,[this].concat(o))||this,i(n,"editBox_x",g,a(n)),i(n,"editBox_y",D,a(n)),i(n,"btn_set",m,a(n)),n.m_att_data=null,n.call_back=null,n}e(n,t);var o=n.prototype;return o.start=function(){var t=this;this.editBox_x.node.on(l.EventType.EDITING_DID_ENDED,(function(){t.change()})),this.editBox_y.node.on(l.EventType.EDITING_DID_ENDED,(function(){t.change()})),this.btn_set.on(u.EventType.TOUCH_END,(function(){if(0==t.m_att_data.src.length)return d.showToast("还没有图片资源");d.loadUrl(t.m_att_data.src,null,(function(n){if(null==n)return d.showToast("图片资源加载失败");var e=new c(t.m_att_data.width,t.m_att_data.height),i=new s(t.m_att_data.anchor_x,t.m_att_data.anchor_y);d.show_setup_res_anchor(n,e,i,(function(n){t.update_editStatus(n.x,n.y),null!=t.call_back&&t.call_back(n)}))}))}))},o.initView=function(t){this.call_back=t},o.change=function(){null!=this.call_back&&this.call_back(new s(parseFloat(this.editBox_x.string),parseFloat(this.editBox_y.string)))},o.update_att=function(t,n,e){this.m_att_data=t,this.update_editStatus(n,e)},o.update_editStatus=function(t,n){null!=t&&null!=t||(t=.5),null!=n&&null!=n||(n=.5),this.editBox_x.string=t.toString(),this.editBox_y.string=n.toString()},n}(_)).prototype,"editBox_x",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),D=n(x.prototype,"editBox_y",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),m=n(x.prototype,"btn_set",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),y=x))||y));o._RF.pop()}}}));

System.register("chunks:///_virtual/attributes_animation.ts",["./rollupPluginModLoBabelHelpers.js","cc","./tools.ts"],(function(t){var n,i,a,e,o,r,l,s,c,u;return{setters:[function(t){n=t.applyDecoratedDescriptor,i=t.inheritsLoose,a=t.initializerDefineProperty,e=t.assertThisInitialized},function(t){o=t.cclegacy,r=t._decorator,l=t.Node,s=t.Label,c=t.Component},function(t){u=t.tools}],execute:function(){var _,b,p,h,f,d,m;o._RF.push({},"c2a66ftUMRFVotwjdUkQhb4","attributes_animation",void 0);var g=r.ccclass,y=r.property;t("attributes_animation",(_=g("attributes_animation"),b=y(l),p=y(l),_((d=n((f=function(t){function n(){for(var n,i=arguments.length,o=new Array(i),r=0;r<i;r++)o[r]=arguments[r];return n=t.call.apply(t,[this].concat(o))||this,a(n,"btn_add_animation",d,e(n)),a(n,"lab_name",m,e(n)),n.call_back=null,n._ani_list=[],n}i(n,t);var o=n.prototype;return o.start=function(){var t=this,n=this;this.btn_add_animation.on(l.EventType.TOUCH_END,(function(){u.show_add_animation(t._ani_list,(function(t){n._ani_list=t,n.change()}))}))},o.update_att=function(t){this._ani_list=t,this.lab_name.getComponent(s).string=this._ani_list.length>0?"添加动画":"空"},o.initView=function(t){this.call_back=t},o.change=function(){null!=this.call_back&&this.call_back(this._ani_list)},n}(c)).prototype,"btn_add_animation",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),m=n(f.prototype,"lab_name",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),h=f))||h));o._RF.pop()}}}));

System.register("chunks:///_virtual/attributes_be_active.ts",["./rollupPluginModLoBabelHelpers.js","cc"],(function(e){var t,i,c,n,r,a,s,l,o;return{setters:[function(e){t=e.applyDecoratedDescriptor,i=e.inheritsLoose,c=e.initializerDefineProperty,n=e.assertThisInitialized},function(e){r=e.cclegacy,a=e._decorator,s=e.Node,l=e.Toggle,o=e.Component}],execute:function(){var u,h,_,p,v;r._RF.push({},"84b70ZgtVlOlJ1L0fdzCWRs","attributes_be_active",void 0);var b=a.ccclass,k=a.property;e("attributes_be_active",(u=b("attributes_be_active"),h=k(s),u((v=t((p=function(e){function t(){for(var t,i=arguments.length,r=new Array(i),a=0;a<i;a++)r[a]=arguments[a];return t=e.call.apply(e,[this].concat(r))||this,c(t,"check_select",v,n(t)),t.call_back=null,t.isCheckBeActive=!1,t}i(t,e);var r=t.prototype;return r.initView=function(e){var t=this;this.call_back=e,this.check_select.on(s.EventType.TOUCH_END,(function(){t.isCheckBeActive=!t.isCheckBeActive,t.change()}))},r.change=function(){null!=this.call_back&&this.call_back(this.isCheckBeActive)},r.update_att=function(e){this.isCheckBeActive=e,this.check_select.getComponent(l).isChecked=this.isCheckBeActive},t}(o)).prototype,"check_select",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),_=p))||_));r._RF.pop()}}}));

System.register("chunks:///_virtual/attributes_be_event.ts",["./rollupPluginModLoBabelHelpers.js","cc"],(function(t){var e,n,r,o;return{setters:[function(t){e=t.inheritsLoose},function(t){n=t.cclegacy,r=t._decorator,o=t.Component}],execute:function(){var u;n._RF.push({},"eebd41edJFGZrvtSk6WojV3","attributes_be_event",void 0);var i=r.ccclass;r.property,t("attributes_be_event",i("attributes_be_event")(u=function(t){function n(){return t.apply(this,arguments)||this}e(n,t);var r=n.prototype;return r.start=function(){},r.update=function(t){},n}(o))||u);n._RF.pop()}}}));

System.register("chunks:///_virtual/attributes_click.ts",["./rollupPluginModLoBabelHelpers.js","cc","./data.ts","./config.ts","./tools.ts","./other_widget_finish_item.ts"],(function(t){var i,e,n,_,l,c,s,a,r,o,h,u,d,m,p,f;return{setters:[function(t){i=t.applyDecoratedDescriptor,e=t.inheritsLoose,n=t.initializerDefineProperty,_=t.assertThisInitialized},function(t){l=t.cclegacy,c=t._decorator,s=t.Node,a=t.EditBox,r=t.Prefab,o=t.instantiate,h=t.Label,u=t.Component},function(t){d=t.other_widget_finish_listen_item},function(t){m=t.config},function(t){p=t.tools},function(t){f=t.other_widget_finish_item}],execute:function(){var g,b,k,w,y,v,z,C,D,I,F,L,O,E,T,W,N,P,V,x,H,M,S;l._RF.push({},"520aaQEF7NDuZij+MpVIdK3","attributes_click",void 0);var j=c.ccclass,A=c.property;t("attributes_click",(g=j("attributes_click"),b=A(s),k=A(s),w=A(s),y=A(s),v=A(s),z=A(a),C=A(a),D=A(s),I=A(r),F=A(s),g((E=i((O=function(t){function i(){for(var i,e=arguments.length,l=new Array(e),c=0;c<e;c++)l[c]=arguments[c];return i=t.call.apply(t,[this].concat(l))||this,n(i,"btn_finish_event",E,_(i)),n(i,"btn_click_type",T,_(i)),n(i,"lab_click_type",W,_(i)),n(i,"click_hold_time",N,_(i)),n(i,"multiple_clicks_num",P,_(i)),n(i,"edit_click_hold_time",V,_(i)),n(i,"edit_multiple_clicks_num",x,_(i)),n(i,"btn_add_listen_other_widget_finish_event",H,_(i)),n(i,"other_widget_finish_item",M,_(i)),n(i,"other_widget_finish_content",S,_(i)),i.call_back=null,i.m_data=null,i}e(i,t);var l=i.prototype;return l.initView=function(t){var i=this;this.call_back=t,this.btn_click_type.on(s.EventType.TOUCH_END,(function(){p.show_click_type_select((function(t){i.m_data.click_type=t,i.update_att(i.m_data),i.change()}))}))},l.start=function(){var t=this;this.edit_click_hold_time.node.on("editing-did-ended",this.change,this),this.edit_multiple_clicks_num.node.on("editing-did-ended",this.change,this),this.btn_add_listen_other_widget_finish_event.on(s.EventType.TOUCH_END,(function(){t.addOtherWidgetFinishListenItem()}))},l.addOtherWidgetFinishListenItem=function(){var t=o(this.other_widget_finish_item);t.parent=this.other_widget_finish_content;var i=new d;this.m_data.other_widget_finish_listen_list.push(i),t.getComponent(f).initView(this.m_data.other_widget_finish_listen_list[this.m_data.other_widget_finish_listen_list.length-1],this.onOtherWidgetFinishListenItemClickDelete.bind(this)),this.change()},l.onOtherWidgetFinishListenItemClickDelete=function(t){var i=this.m_data.other_widget_finish_listen_list.indexOf(t);this.m_data.other_widget_finish_listen_list.splice(i,1),this.change()},l.change=function(){null!=this.call_back&&(this.m_data.hold_time=parseInt(this.edit_click_hold_time.string),this.m_data.multiple_check_num=parseInt(this.edit_multiple_clicks_num.string),this.call_back(this.m_data))},l.update_att=function(t){this.m_data=t,this.edit_click_hold_time.string=this.m_data.hold_time.toString(),this.edit_multiple_clicks_num.string=this.m_data.multiple_check_num.toString(),this.m_data.click_type===m.clcik_type.click?(this.click_hold_time.active=!1,this.multiple_clicks_num.active=!1):this.m_data.click_type===m.clcik_type.Press_and_hold?(this.multiple_clicks_num.active=!1,this.click_hold_time.active=!0):this.m_data.click_type===m.clcik_type.Multiple_clicks&&(this.multiple_clicks_num.active=!0,this.click_hold_time.active=!1),null==this.m_data.other_widget_finish_listen_list&&(this.m_data.other_widget_finish_listen_list=[]),this.lab_click_type.getComponent(h).string=m.clcik_type_map.get(this.m_data.click_type),this.other_widget_finish_content.removeAllChildren();for(var i=0;i<this.m_data.other_widget_finish_listen_list.length;i++){var e=o(this.other_widget_finish_item);e.parent=this.other_widget_finish_content;var n=this.m_data.other_widget_finish_listen_list[i];e.getComponent(f).initView(n,this.onOtherWidgetFinishListenItemClickDelete.bind(this))}},i}(u)).prototype,"btn_finish_event",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),T=i(O.prototype,"btn_click_type",[k],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),W=i(O.prototype,"lab_click_type",[w],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),N=i(O.prototype,"click_hold_time",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),P=i(O.prototype,"multiple_clicks_num",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),V=i(O.prototype,"edit_click_hold_time",[z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),x=i(O.prototype,"edit_multiple_clicks_num",[C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),H=i(O.prototype,"btn_add_listen_other_widget_finish_event",[D],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),M=i(O.prototype,"other_widget_finish_item",[I],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),S=i(O.prototype,"other_widget_finish_content",[F],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),L=O))||L));l._RF.pop()}}}));

System.register("chunks:///_virtual/attributes_count_down.ts",["./rollupPluginModLoBabelHelpers.js","cc","./data.ts","./tools.ts","./question_btn_info.ts","./config.ts","./Attributes.ts"],(function(t){var e,n,i,a,o,_,r,l,s,u,c,f,d,g,b,h,m,p,v;return{setters:[function(t){e=t.applyDecoratedDescriptor,n=t.inheritsLoose,i=t.initializerDefineProperty,a=t.assertThisInitialized},function(t){o=t.cclegacy,_=t._decorator,r=t.Node,l=t.Sprite,s=t.Toggle,u=t.EditBox,c=t.Label,f=t.Color,d=t.Component},function(t){g=t.font_color_info,b=t.font_info},function(t){h=t.tools},function(t){m=t.question_btn_info},function(t){p=t.config},function(t){v=t.Attributes}],execute:function(){var w,y,C,z,B,E,T,P,D,H,N,k,x,O,S,U,L,A,V,F,I,R,j,q,J,M,X,G,K,Q,W,Y,Z,$,tt;o._RF.push({},"15202jfnA9P4JbxFRX7n6Bb","attributes_count_down",void 0);var et=_.ccclass,nt=_.property;t("attributes_count_down",(w=et("attributes_count_down"),y=nt(r),C=nt(r),z=nt(r),B=nt(r),E=nt(r),T=nt(r),P=nt(r),D=nt(r),H=nt(r),N=nt(r),k=nt(r),x=nt(r),O=nt(r),S=nt(r),U=nt(r),L=nt(r),w((F=e((V=function(t){function e(){for(var e,n=arguments.length,o=new Array(n),_=0;_<n;_++)o[_]=arguments[_];return e=t.call.apply(t,[this].concat(o))||this,i(e,"ProgressBar_Bg",F,a(e)),i(e,"ProgressBar_Bar",I,a(e)),i(e,"img_text",R,a(e)),i(e,"toggle_enbale_time",j,a(e)),i(e,"edit_down_count_time",q,a(e)),i(e,"btn_finish_event",J,a(e)),i(e,"btn_fail_event",M,a(e)),i(e,"btn_start_event",X,a(e)),i(e,"lab_finish_event",G,a(e)),i(e,"lab_fail_event",K,a(e)),i(e,"lab_start_event",Q,a(e)),i(e,"clear_finish_event",W,a(e)),i(e,"clear_fail_event",Y,a(e)),i(e,"clear_start_event",Z,a(e)),i(e,"font_size",$,a(e)),i(e,"font_color",tt,a(e)),e.call_back=null,e.m_data=null,e}n(e,t);var o=e.prototype;return o.initView=function(t){var e=this;this.call_back=t,this.edit_down_count_time.on("editing-did-ended",(function(){e.change(),e.update_att(e.m_data)})),this.toggle_enbale_time.on("toggle",(function(){e.change(),e.update_att(e.m_data)})),this.btn_finish_event.on(r.EventType.TOUCH_END,(function(){var t=v.Singleton.getEventList();h.show_select_evele_list(t,(function(t){e.m_data.finish_event_id=t.event_id,e.change(),e.update_att(e.m_data)}))})),this.btn_fail_event.on(r.EventType.TOUCH_END,(function(){var t=v.Singleton.getEventList();h.show_select_evele_list(t,(function(t){e.m_data.fail_event_id=t.event_id,e.change(),e.update_att(e.m_data)}))})),this.btn_start_event.on(r.EventType.TOUCH_END,(function(){var t=v.Singleton.getEventList();h.show_select_evele_list(t,(function(t){if(t.type!=p.event_type.collect_event)return h.showToast("必须设置收集事件");e.m_data.start_event_id=t.event_id,e.change(),e.update_att(e.m_data)}))})),this.clear_finish_event.on(r.EventType.TOUCH_END,(function(){e.m_data.finish_event_id=-1,e.change(),e.update_att(e.m_data)})),this.clear_fail_event.on(r.EventType.TOUCH_END,(function(){e.m_data.fail_event_id=-1,e.change(),e.update_att(e.m_data)})),this.clear_start_event.on(r.EventType.TOUCH_END,(function(){e.m_data.start_event_id=-1,e.change(),e.update_att(e.m_data)})),this.font_color.on(r.EventType.TOUCH_END,(function(){h.show_set_color(e.font_color.getComponent(l).color,(function(t){e.m_data.font_info.font_color=(new g).infoColor(t),e.update_att(e.m_data),e.change()}))})),this.font_size.on("editing-did-ended",(function(){e.change(),e.update_att(e.m_data)}))},o.update_att=function(t){if(this.m_data=t,this.ProgressBar_Bg.getComponent(m).initView(this.m_data.ProgressBar_Bg,1,null,p.attributes_list_type.count_down),this.ProgressBar_Bar.getComponent(m).initView(this.m_data.ProgressBar_Bar,2,null,p.attributes_list_type.count_down),this.img_text.getComponent(m).initView(this.m_data.img_text,3,null,p.attributes_list_type.count_down),this.toggle_enbale_time.getComponent(s).isChecked=this.m_data.is_show_time,this.edit_down_count_time.getComponent(u).string=this.m_data.time_count.toString(),this.lab_finish_event.getComponent(c).string=-1!=this.m_data.finish_event_id?"绑定的id"+this.m_data.finish_event_id:"无",this.lab_fail_event.getComponent(c).string=-1!=this.m_data.fail_event_id?"绑定的id"+this.m_data.fail_event_id:"无",this.lab_start_event.getComponent(c).string=-1!=this.m_data.start_event_id?"绑定的id"+this.m_data.start_event_id:"无",null!=this.m_data.font_info&&null!=this.m_data.font_info){var e=this.m_data.font_info.font_color;this.font_color.getComponent(l).color=new f(e.r,e.g,e.b);var n=this.m_data.font_info.font_size.toString();n.length>0&&(this.font_size.getComponent(u).string=n)}else this.m_data.font_info=new b},o.change=function(){this.m_data.is_show_time=this.toggle_enbale_time.getComponent(s).isChecked;var t=this.edit_down_count_time.getComponent(u).string;t.length>0&&(this.m_data.time_count=parseInt(t));var e=this.font_size.getComponent(u).string;e.length>0&&(this.m_data.font_info.font_size=parseInt(e)),null!=this.call_back&&this.call_back(this.m_data)},e}(d)).prototype,"ProgressBar_Bg",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),I=e(V.prototype,"ProgressBar_Bar",[C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),R=e(V.prototype,"img_text",[z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),j=e(V.prototype,"toggle_enbale_time",[B],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),q=e(V.prototype,"edit_down_count_time",[E],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),J=e(V.prototype,"btn_finish_event",[T],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),M=e(V.prototype,"btn_fail_event",[P],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),X=e(V.prototype,"btn_start_event",[D],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),G=e(V.prototype,"lab_finish_event",[H],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),K=e(V.prototype,"lab_fail_event",[N],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),Q=e(V.prototype,"lab_start_event",[k],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),W=e(V.prototype,"clear_finish_event",[x],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),Y=e(V.prototype,"clear_fail_event",[O],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),Z=e(V.prototype,"clear_start_event",[S],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),$=e(V.prototype,"font_size",[U],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),tt=e(V.prototype,"font_color",[L],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),A=V))||A));o._RF.pop()}}}));

System.register("chunks:///_virtual/attributes_delete.ts",["./rollupPluginModLoBabelHelpers.js","cc","./tools.ts"],(function(t){var e,n,i,r,l,o,a,c,u;return{setters:[function(t){e=t.applyDecoratedDescriptor,n=t.inheritsLoose,i=t.initializerDefineProperty,r=t.assertThisInitialized},function(t){l=t.cclegacy,o=t._decorator,a=t.Node,c=t.Component},function(t){u=t.tools}],execute:function(){var s,p,_,b,f;l._RF.push({},"93b51i5WRlIIa8ecGEuWOz6","attributes_delete",void 0);var d=o.ccclass,h=o.property;t("attributes_delete",(s=d("attributes_delete"),p=h(a),s((f=e((b=function(t){function e(){for(var e,n=arguments.length,l=new Array(n),o=0;o<n;o++)l[o]=arguments[o];return(e=t.call.apply(t,[this].concat(l))||this).call_back=null,i(e,"btn_delete",f,r(e)),e}n(e,t);var l=e.prototype;return l.start=function(){var t=this;this.btn_delete.on(a.EventType.TOUCH_END,(function(){null!=t.call_back&&u.show_dialog("是否删除当前控件",(function(){t.call_back()}))}))},l.initView=function(t){this.call_back=t},e}(c)).prototype,"btn_delete",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),_=b))||_));l._RF.pop()}}}));

System.register("chunks:///_virtual/attributes_dir.ts",["./rollupPluginModLoBabelHelpers.js","cc","./config.ts","./tools.ts"],(function(t){var e,i,n,r,c,l,a,o,s,u,_;return{setters:[function(t){e=t.applyDecoratedDescriptor,i=t.inheritsLoose,n=t.initializerDefineProperty,r=t.assertThisInitialized},function(t){c=t.cclegacy,l=t._decorator,a=t.Node,o=t.Label,s=t.Component},function(t){u=t.config},function(t){_=t.tools}],execute:function(){var d,p,f,h,b,g,y;c._RF.push({},"c4fe4Keus9Gm467+qswodsr","attributes_dir",void 0);var v=l.ccclass,k=l.property;t("attributes_dir",(d=v("attributes_dir"),p=k(a),f=k(a),d((g=e((b=function(t){function e(){for(var e,i=arguments.length,c=new Array(i),l=0;l<i;l++)c[l]=arguments[l];return e=t.call.apply(t,[this].concat(c))||this,n(e,"check_select",g,r(e)),n(e,"lab_select_zIndex",y,r(e)),e.call_back=null,e.dir=u.widget_scale_dir.normal,e}i(e,t);var c=e.prototype;return c.initView=function(t){var e=this;this.call_back=t,this.check_select.on(a.EventType.TOUCH_END,(function(){_.show_select_dir((function(t){e.dir=t,e.update_att(e.dir),e.change()}))}))},c.change=function(){null!=this.call_back&&this.call_back(this.dir)},c.update_att=function(t){this.dir=t,this.lab_select_zIndex.getComponent(o).string=u.widget_scale_dir_map.get(this.dir)},e}(s)).prototype,"check_select",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),y=e(b.prototype,"lab_select_zIndex",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),h=b))||h));c._RF.pop()}}}));

System.register("chunks:///_virtual/attributes_drop.ts",["./rollupPluginModLoBabelHelpers.js","cc","./data.ts","./other_drag_list_item.ts","./other_widget_finish_item.ts"],(function(t){var i,e,r,n,_,a,s,h,d,o,l,g,c,u,p,b;return{setters:[function(t){i=t.applyDecoratedDescriptor,e=t.inheritsLoose,r=t.initializerDefineProperty,n=t.assertThisInitialized},function(t){_=t.cclegacy,a=t._decorator,s=t.EditBox,h=t.Node,d=t.Prefab,o=t.Label,l=t.instantiate,g=t.Component},function(t){c=t.other_widget_finish_listen_item,u=t.att_drag_data},function(t){p=t.other_drag_list_item},function(t){b=t.other_widget_finish_item}],execute:function(){var m,f,w,y,v,k,D,z,O,I,C,x,L,F,U,T,E,S,V,W,H,N,A,P,R,B,M;_._RF.push({},"eb733d5QTRFtIMcF06OFISQ","attributes_drop",void 0);var Q=a.ccclass,j=a.property;t("attributes_drop",(m=Q("attributes_drop"),f=j(s),w=j(s),y=j(s),v=j(s),k=j(h),D=j(h),z=j(h),O=j(h),I=j(d),C=j(h),x=j(d),L=j(h),m((T=i((U=function(t){function i(){for(var i,e=arguments.length,_=new Array(e),a=0;a<e;a++)_[a]=arguments[a];return i=t.call.apply(t,[this].concat(_))||this,r(i,"drag_width",T,n(i)),r(i,"drag_height",E,n(i)),r(i,"drag_x",S,n(i)),r(i,"drag_y",V,n(i)),r(i,"btn_is_err_back_pos",W,n(i)),r(i,"lab_is_err_back_pos",H,n(i)),r(i,"btn_add_other_drag_dis",N,n(i)),r(i,"content",A,n(i)),r(i,"other_drag_item",P,n(i)),r(i,"btn_add_listen_other_widget_finish_event",R,n(i)),r(i,"other_widget_finish_item",B,n(i)),r(i,"other_widget_finish_content",M,n(i)),i.call_back=null,i._err_back_status_call=null,i._is_err_drag_back=!1,i.m_data=null,i}e(i,t);var _=i.prototype;return _.update_att=function(t){this.m_data=t,this.drag_width.string=t.drag_size_width.toString(),this.drag_height.string=t.drag_size_height.toString(),this.drag_x.string=t.drag_pos_x.toString(),this.drag_y.string=t.drag_pos_y.toString(),this._is_err_drag_back=t.is_err_drag_back,this.lab_is_err_back_pos.getComponent(o).string=this._is_err_drag_back?"是":"否",this.onUpdateOtherDragList(),null==this.m_data.other_widget_finish_listen_list&&(this.m_data.other_widget_finish_listen_list=[]),this.other_widget_finish_content.removeAllChildren();for(var i=0;i<this.m_data.other_widget_finish_listen_list.length;i++){var e=l(this.other_widget_finish_item);e.parent=this.other_widget_finish_content;var r=this.m_data.other_widget_finish_listen_list[i];e.getComponent(b).initView(r,this.onOtherWidgetFinishListenItemClickDelete.bind(this))}},_.start=function(){var t=this;this.drag_width.node.on("editing-did-ended",this.change,this),this.drag_height.node.on("editing-did-ended",this.change,this),this.drag_x.node.on("editing-did-ended",this.change,this),this.drag_y.node.on("editing-did-ended",this.change,this),this.btn_is_err_back_pos.on(h.EventType.TOUCH_END,(function(){null!=t._err_back_status_call&&(t._is_err_drag_back=!t._is_err_drag_back,t._err_back_status_call(t._is_err_drag_back),t.lab_is_err_back_pos.getComponent(o).string=t._is_err_drag_back?"是":"否")})),this.btn_add_other_drag_dis.on(h.EventType.TOUCH_END,(function(){t.addOtherDragItem()})),this.btn_add_listen_other_widget_finish_event.on(h.EventType.TOUCH_END,(function(){t.addOtherWidgetFinishListenItem()}))},_.initView=function(t,i){this.call_back=t,this._err_back_status_call=i},_.onUpdateOtherDragList=function(){this.content.removeAllChildren(),null==this.m_data.other_drag_list&&(this.m_data.other_drag_list=[]);for(var t=0;t<this.m_data.other_drag_list.length;t++){var i=l(this.other_drag_item);i.parent=this.content;var e=this.m_data.other_drag_list[t];i.getComponent(p).initView(t,this.m_data.other_drag_list.length,e,this.onOtherDragItemClickDelete.bind(this),this.onOtherDragItemUpDown.bind(this))}},_.addOtherWidgetFinishListenItem=function(){var t=l(this.other_widget_finish_item);t.parent=this.other_widget_finish_content;var i=new c;this.m_data.other_widget_finish_listen_list.push(i),t.getComponent(b).initView(this.m_data.other_widget_finish_listen_list[this.m_data.other_widget_finish_listen_list.length-1],this.onOtherWidgetFinishListenItemClickDelete.bind(this)),this.change()},_.onOtherWidgetFinishListenItemClickDelete=function(t){var i=this.m_data.other_widget_finish_listen_list.indexOf(t);this.m_data.other_widget_finish_listen_list.splice(i,1),this.change()},_.addOtherDragItem=function(){var t=l(this.other_drag_item);t.parent=this.content;var i=new u;i.drag_pos_x=this.m_data.drag_pos_x+50,i.drag_pos_y=this.m_data.drag_pos_y,i.drag_size_width=this.m_data.drag_size_width,i.drag_size_height=this.m_data.drag_size_height,this.m_data.other_drag_list.push(i);var e=this.m_data.other_drag_list.length-1;t.getComponent(p).initView(e,this.m_data.other_drag_list.length,this.m_data.other_drag_list[e],this.onOtherDragItemClickDelete.bind(this),this.onOtherDragItemUpDown.bind(this)),this.change()},_.onOtherDragItemClickDelete=function(t){var i=this.m_data.other_drag_list.indexOf(t);this.m_data.other_drag_list.splice(i,1),this.change()},_.onOtherDragItemUpDown=function(t,i){var e=this.m_data.other_drag_list,r=t.getIndex(),n=e[r],_=-1;if(-1!=(_=i?r-1:r+1)){var a=e[_];e[r]=a,e[_]=n,this.onUpdateOtherDragList(),this.change()}},_.change=function(){this.m_data.drag_pos_x=parseInt(this.drag_x.string),this.m_data.drag_pos_y=parseInt(this.drag_y.string),this.m_data.drag_size_width=parseInt(this.drag_width.string),this.m_data.drag_size_height=parseInt(this.drag_height.string),null!=this.call_back&&this.call_back(this.m_data)},i}(g)).prototype,"drag_width",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),E=i(U.prototype,"drag_height",[w],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),S=i(U.prototype,"drag_x",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),V=i(U.prototype,"drag_y",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),W=i(U.prototype,"btn_is_err_back_pos",[k],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),H=i(U.prototype,"lab_is_err_back_pos",[D],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),N=i(U.prototype,"btn_add_other_drag_dis",[z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),A=i(U.prototype,"content",[O],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),P=i(U.prototype,"other_drag_item",[I],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),R=i(U.prototype,"btn_add_listen_other_widget_finish_event",[C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),B=i(U.prototype,"other_widget_finish_item",[x],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),M=i(U.prototype,"other_widget_finish_content",[L],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),F=U))||F));_._RF.pop()}}}));

System.register("chunks:///_virtual/attributes_name.ts",["./rollupPluginModLoBabelHelpers.js","cc"],(function(t){var e,n,r,a,i,o,u,c,l;return{setters:[function(t){e=t.applyDecoratedDescriptor,n=t.inheritsLoose,r=t.initializerDefineProperty,a=t.assertThisInitialized},function(t){i=t.cclegacy,o=t._decorator,u=t.Node,c=t.Label,l=t.Component}],execute:function(){var s,p,b,_,f;i._RF.push({},"9548aNAHRpCKYbdzqEaEStG","attributes_name",void 0);var m=o.ccclass,y=o.property;t("attributes_name",(s=m("attributes_name"),p=y(u),s((f=e((_=function(t){function e(){for(var e,n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return e=t.call.apply(t,[this].concat(i))||this,r(e,"lab_name",f,a(e)),e}return n(e,t),e.prototype.update_att=function(t){this.lab_name.getComponent(c).string=t},e}(l)).prototype,"lab_name",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),b=_))||b));i._RF.pop()}}}));

System.register("chunks:///_virtual/attributes_origin.ts",["./rollupPluginModLoBabelHelpers.js","cc"],(function(t){var i,n,r,e,c,o,a,l;return{setters:[function(t){i=t.applyDecoratedDescriptor,n=t.inheritsLoose,r=t.initializerDefineProperty,e=t.assertThisInitialized},function(t){c=t.cclegacy,o=t._decorator,a=t.Node,l=t.Component}],execute:function(){var s,u,p,_,b;c._RF.push({},"c5c8epBs+JKzYsDYzvn3tON","attributes_origin",void 0);var f=o.ccclass,h=o.property;t("attributes_origin",(s=f("attributes_origin"),u=h(a),s((b=i((_=function(t){function i(){for(var i,n=arguments.length,c=new Array(n),o=0;o<n;o++)c[o]=arguments[o];return i=t.call.apply(t,[this].concat(c))||this,r(i,"btn_click",b,e(i)),i.call_back=null,i}n(i,t);var c=i.prototype;return c.start=function(){var t=this;this.btn_click.on(a.EventType.TOUCH_END,(function(){null!=t.call_back&&t.call_back()}))},c.initView=function(t){this.call_back=t},i}(l)).prototype,"btn_click",[u],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),p=_))||p));c._RF.pop()}}}));

System.register("chunks:///_virtual/attributes_question_select.ts",["./rollupPluginModLoBabelHelpers.js","cc","./data.ts","./question_btn_info.ts","./config.ts"],(function(t){var e,n,i,a,s,o,l,r,c,u,_,h,b;return{setters:[function(t){e=t.applyDecoratedDescriptor,n=t.inheritsLoose,i=t.initializerDefineProperty,a=t.assertThisInitialized},function(t){s=t.cclegacy,o=t._decorator,l=t.Node,r=t.Prefab,c=t.instantiate,u=t.Component},function(t){_=t.ui_att_item},function(t){h=t.question_btn_info},function(t){b=t.config}],execute:function(){var d,p,f,m,g,y,q,v,w;s._RF.push({},"3efa3ybC4JE6ILnNurxsGOy","attributes_question_select",void 0);var D=o.ccclass,P=o.property;t("attributes_question_select",(d=D("attributes_question_select"),p=P(l),f=P(r),m=P(l),d((q=e((y=function(t){function e(){for(var e,n=arguments.length,s=new Array(n),o=0;o<n;o++)s[o]=arguments[o];return e=t.call.apply(t,[this].concat(s))||this,i(e,"content",q,a(e)),i(e,"itemPb",v,a(e)),i(e,"btn_add",w,a(e)),e.call_back=null,e.m_data=null,e}n(e,t);var s=e.prototype;return s.initView=function(t){var e=this;this.call_back=t,this.btn_add.on(l.EventType.TOUCH_END,(function(){e.addBtn()}))},s.change=function(){null!=this.call_back&&this.call_back(this.m_data)},s.addBtn=function(){c(this.itemPb).parent=this.content;var t=new _;t.width=357,t.height=120,t.x=100,t.y=100,this.m_data.btn_question_list.push(t),this.update_att(this.m_data),this.change()},s.onItemDelete=function(t){this.m_data.btn_question_list.splice(t,1),this.change()},s.update_att=function(t){if(this.m_data=t,this.content.removeAllChildren(),this.content.children.length===this.m_data.btn_question_list.length)for(var e=0;e<this.content.children.length;e++){this.content.children[e].getComponent(h).initView(this.m_data.btn_question_list[e],e,this.onItemDelete.bind(this),b.attributes_list_type.question_select)}else for(var n=0;n<this.m_data.btn_question_list.length;n++){var i=c(this.itemPb);i.parent=this.content,i.getComponent(h).initView(this.m_data.btn_question_list[n],n,this.onItemDelete.bind(this),b.attributes_list_type.question_select)}},e}(u)).prototype,"content",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),v=e(y.prototype,"itemPb",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),w=e(y.prototype,"btn_add",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),g=y))||g));s._RF.pop()}}}));

System.register("chunks:///_virtual/attributes_remark.ts",["./rollupPluginModLoBabelHelpers.js","cc"],(function(t){var e,i,r,n,a,o,l,c,u;return{setters:[function(t){e=t.applyDecoratedDescriptor,i=t.inheritsLoose,r=t.initializerDefineProperty,n=t.assertThisInitialized},function(t){a=t.cclegacy,o=t._decorator,l=t.Node,c=t.EditBox,u=t.Component}],execute:function(){var s,p,b,d,f;a._RF.push({},"baafb/br2xOWbir/TkhFcF0","attributes_remark",void 0);var _=o.ccclass,h=o.property;t("attributes_remark",(s=_("attributes_remark"),p=h(l),s((f=e((d=function(t){function e(){for(var e,i=arguments.length,a=new Array(i),o=0;o<i;o++)a[o]=arguments[o];return e=t.call.apply(t,[this].concat(a))||this,r(e,"editBox",f,n(e)),e.m_callback=null,e}i(e,t);var a=e.prototype;return a.initView=function(t){this.m_callback=t},a.update_att=function(t){null!=t&&null!=t||(t=""),this.editBox.getComponent(c).string=t},a.editBoxEditingDidEnded=function(t){null!=this.m_callback&&this.m_callback(t.string)},e}(u)).prototype,"editBox",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),b=d))||b));a._RF.pop()}}}));

System.register("chunks:///_virtual/attributes_res.ts",["./rollupPluginModLoBabelHelpers.js","cc","./tools.ts","./Attributes.ts","./clientEvent.ts","./config.ts"],(function(t){var e,n,r,i,a,o,s,u,l,c,_,p,b,f,d;return{setters:[function(t){e=t.applyDecoratedDescriptor,n=t.inheritsLoose,r=t.initializerDefineProperty,i=t.assertThisInitialized},function(t){a=t.cclegacy,o=t._decorator,s=t.Node,u=t.Label,l=t.UITransform,c=t.Rect,_=t.Component},function(t){p=t.tools},function(t){b=t.Attributes},function(t){f=t.ClientEvent},function(t){d=t.config}],execute:function(){var h,v,g,m,y,E,w,T,C;a._RF.push({},"5a46f0C689EjLvAqfmvaQSv","attributes_res",void 0);var A=o.ccclass,z=o.property;t("attributes_res",(h=A("attributes_res"),v=z(s),g=z(s),m=z(s),h((w=e((E=function(t){function e(){for(var e,n=arguments.length,a=new Array(n),o=0;o<n;o++)a[o]=arguments[o];return e=t.call.apply(t,[this].concat(a))||this,r(e,"lab_res_name",w,i(e)),r(e,"btn_add_res",T,i(e)),r(e,"btn_clear_res",C,i(e)),e._url="",e}n(e,t);var a=e.prototype;return a.start=function(){var t=this;this.btn_add_res.on(s.EventType.TOUCH_END,(function(){p.select_res_list((function(e){var n=b.Singleton.get_cur_att_data();n.src=e.url,n.src_name=e.name,t.update_att(e.name),f.dispatchEvent(d.Event.UpdateAttributesToView,n,d.attributes_list_type.url)}))})),null!=this.btn_clear_res&&this.btn_clear_res.on(s.EventType.TOUCH_END,(function(){var e=b.Singleton.get_cur_att_data();e.src="",e.src_name="",t.update_att("空"),p.showToast("资源已被重置为空！"),f.dispatchEvent(d.Event.UpdateAttributesToView,e,d.attributes_list_type.url)}))},a.update_att=function(t){this._url=t,this.lab_res_name.getComponent(u).string=t},a.getRect=function(){var t=this.node.getComponent(l).contentSize,e=this.node.parent.getComponent(l).convertToWorldSpaceAR(this.node.position);return new c(e.x-t.width/2,e.y-t.height/2,t.width,t.height)},a.getUrl=function(){return this._url},e}(_)).prototype,"lab_res_name",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),T=e(E.prototype,"btn_add_res",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),C=e(E.prototype,"btn_clear_res",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),y=E))||y));a._RF.pop()}}}));

System.register("chunks:///_virtual/attributes_rotation.ts",["./rollupPluginModLoBabelHelpers.js","cc"],(function(t){var i,n,e,r,o,a,l,c,s;return{setters:[function(t){i=t.applyDecoratedDescriptor,n=t.inheritsLoose,e=t.initializerDefineProperty,r=t.assertThisInitialized},function(t){o=t.cclegacy,a=t._decorator,l=t.Node,c=t.EditBox,s=t.Component}],execute:function(){var u,p,d,f,b;o._RF.push({},"bac18XILHdM+pW80yqtafEd","attributes_rotation",void 0);var _=a.ccclass,g=a.property;t("attributes_rotation",(u=_("attributes_rotation"),p=g(l),u((b=i((f=function(t){function i(){for(var i,n=arguments.length,o=new Array(n),a=0;a<n;a++)o[a]=arguments[a];return i=t.call.apply(t,[this].concat(o))||this,e(i,"editBox",b,r(i)),i.m_callback=null,i}n(i,t);var o=i.prototype;return o.initView=function(t){this.m_callback=t},o.update_att=function(t){null!=t&&null!=t||(t=0),this.editBox.getComponent(c).string=t.toString()},o.editBoxEditingDidEnded=function(t){null!=this.m_callback&&(""==t.string&&(t.string="0"),this.m_callback(parseInt(t.string)))},i}(s)).prototype,"editBox",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),d=f))||d));o._RF.pop()}}}));

System.register("chunks:///_virtual/attributes_scene_setting.ts",["./rollupPluginModLoBabelHelpers.js","cc","./data.ts","./scene_tips_rule_item.ts","./config.ts","./Attributes.ts"],(function(t){var e,i,n,r,s,a,_,l,o,u,c,p,d,h,b,m;return{setters:[function(t){e=t.applyDecoratedDescriptor,i=t.inheritsLoose,n=t.initializerDefineProperty,r=t.assertThisInitialized},function(t){s=t.cclegacy,a=t._decorator,_=t.Prefab,l=t.Node,o=t.EditBox,u=t.Toggle,c=t.instantiate,p=t.Component},function(t){d=t.ui_att_item},function(t){h=t.scene_tips_rule_item},function(t){b=t.config},function(t){m=t.Attributes}],execute:function(){var f,w,g,y,v,T,D,z,C,E,P,L,V,k,A,S,I,N,R,F,G;s._RF.push({},"82bc2y3TFdL6JDlvKq5knUy","attributes_scene_setting",void 0);var x=a.ccclass,B=a.property;t("attributes_scene_setting",(f=x("attributes_scene_setting"),w=B(_),g=B(l),y=B(l),v=B(l),T=B(l),D=B(l),z=B(o),C=B(l),E=B(u),f((V=e((L=function(t){function e(){for(var e,i=arguments.length,s=new Array(i),a=0;a<i;a++)s[a]=arguments[a];return e=t.call.apply(t,[this].concat(s))||this,n(e,"itemPb",V,r(e)),n(e,"rule_content",k,r(e)),n(e,"btn_add_rule",A,r(e)),n(e,"rule_find_tips",S,r(e)),n(e,"tips",I,r(e)),n(e,"answer",N,r(e)),n(e,"edit_des",R,r(e)),n(e,"show_arrow_node",F,r(e)),n(e,"toggle_show_arrow",G,r(e)),e.call_back=null,e.m_attributes_call=null,e.m_attributes_data=null,e.m_data=null,e}i(e,t);var s=e.prototype;return s.initView=function(t,e){var i=this;this.call_back=t,this.m_attributes_call=e,this.btn_add_rule.on(l.EventType.TOUCH_END,(function(){i.addRule()})),this.edit_des.node.on(o.EventType.EDITING_DID_ENDED,(function(){i.m_data.scene_des=i.edit_des.string,i.update_att(i.m_data)})),this.toggle_show_arrow.node.on(u.EventType.TOGGLE,(function(){m.is_show_more_scene_arrow=!m.is_show_more_scene_arrow,null!=i.m_attributes_call&&i.m_attributes_call(i.m_attributes_data)}))},s.update_att_info=function(t,e){this.m_attributes_data=e;var i=t.edit_scene_view.getCurSelectScene();this.m_attributes_data.type===b.attributes_type.scene&&(i.type==b.Scene_Type_List.many_screen_switch_up_down||i.type==b.Scene_Type_List.many_screen_switch_left_right)?(this.show_arrow_node.active=!0,this.toggle_show_arrow.isChecked=m.is_show_more_scene_arrow):this.show_arrow_node.active=!1},s.update_att=function(t){this.m_data=t,this.rule_content.removeAllChildren(),this.rule_content.destroyAllChildren();for(var e=0;e<this.m_data.rule_list.length;e++){var i=c(this.itemPb);i.parent=this.rule_content,i.getComponent(h).initView(this.m_data.rule_list[e],e,this.onTipsDelete.bind(this),b.attributes_list_type.scene_rule_tips)}this.edit_des.string=null==this.m_data.scene_des?"":this.m_data.scene_des,this.rule_find_tips.getComponent(h).initView(this.m_data.rule_find_tips,-1,null,b.attributes_list_type.scene_rule_tips),this.tips.getComponent(h).initView(this.m_data.tips_data.tips_tips,-1,null,b.attributes_list_type.scene_rule_tips),this.answer.getComponent(h).initView(this.m_data.tips_data.tips_answer,-1,null,b.attributes_list_type.scene_rule_tips)},s.onTipsDelete=function(t){this.m_data.rule_list.splice(t,1)},s.addRule=function(){var t=c(this.itemPb);t.parent=this.rule_content;var e=new d;t.getComponent(h).initView(e,this.m_data.rule_list.length,this.onTipsDelete.bind(this),b.attributes_list_type.scene_rule_tips),this.m_data.rule_list.push(e)},e}(p)).prototype,"itemPb",[w],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),k=e(L.prototype,"rule_content",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),A=e(L.prototype,"btn_add_rule",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),S=e(L.prototype,"rule_find_tips",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),I=e(L.prototype,"tips",[T],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),N=e(L.prototype,"answer",[D],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),R=e(L.prototype,"edit_des",[z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),F=e(L.prototype,"show_arrow_node",[C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),G=e(L.prototype,"toggle_show_arrow",[E],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),P=L))||P));s._RF.pop()}}}));

System.register("chunks:///_virtual/attributes_show.ts",["./rollupPluginModLoBabelHelpers.js","cc"],(function(e){var t,c,i,n,o,s,r,a,l;return{setters:[function(e){t=e.applyDecoratedDescriptor,c=e.inheritsLoose,i=e.initializerDefineProperty,n=e.assertThisInitialized},function(e){o=e.cclegacy,s=e._decorator,r=e.Node,a=e.Toggle,l=e.Component}],execute:function(){var h,u,p,_,k;o._RF.push({},"5a4d7w7eDRErKXpiCBd+aCD","attributes_show",void 0);var f=s.ccclass,g=s.property;e("attributes_show",(h=f("attributes_show"),u=g(r),h((k=t((_=function(e){function t(){for(var t,c=arguments.length,o=new Array(c),s=0;s<c;s++)o[s]=arguments[s];return t=e.call.apply(e,[this].concat(o))||this,i(t,"check_select",k,n(t)),t.call_back=null,t.isCheckShow=!1,t}c(t,e);var o=t.prototype;return o.initView=function(e){var t=this;this.call_back=e,this.check_select.on("toggle",(function(){t.isCheckShow=t.check_select.getComponent(a).isChecked,t.change()}))},o.change=function(){null!=this.call_back&&this.call_back(this.isCheckShow)},o.update_att=function(e){this.isCheckShow=e,this.check_select.getComponent(a).isChecked=this.isCheckShow},t}(l)).prototype,"check_select",[u],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),p=_))||p));o._RF.pop()}}}));

System.register("chunks:///_virtual/attributes_slide.ts",["./rollupPluginModLoBabelHelpers.js","cc","./data.ts","./config.ts","./tools.ts","./other_widget_finish_item.ts"],(function(i){var t,e,n,s,_,r,l,a,d,o,h,u,c,f,g,b;return{setters:[function(i){t=i.applyDecoratedDescriptor,e=i.inheritsLoose,n=i.initializerDefineProperty,s=i.assertThisInitialized},function(i){_=i.cclegacy,r=i._decorator,l=i.Node,a=i.EditBox,d=i.Prefab,o=i.Label,h=i.instantiate,u=i.Component},function(i){c=i.other_widget_finish_listen_item},function(i){f=i.config},function(i){g=i.tools},function(i){b=i.other_widget_finish_item}],execute:function(){var m,p,w,v,y,z,C,I,D,k,L,O,F,W,E,T,H,N,S,x,P,V,A;_._RF.push({},"ea625Wvf3NCS7IXiHD1Ign3","attributes_slide",void 0);var B=r.ccclass,R=r.property;i("attributes_slide",(m=B("attributes_slide"),p=R(l),w=R(l),v=R(l),y=R(l),z=R(l),C=R(a),I=R(a),D=R(l),k=R(d),L=R(l),m((W=t((F=function(i){function t(){for(var t,e=arguments.length,_=new Array(e),r=0;r<e;r++)_[r]=arguments[r];return t=i.call.apply(i,[this].concat(_))||this,n(t,"btn_slide_dir",W,s(t)),n(t,"lab_slide_dir",E,s(t)),n(t,"btn_slide_distance",T,s(t)),n(t,"btn_slide_num",H,s(t)),n(t,"btn_finish_event",N,s(t)),n(t,"slide_num_edit",S,s(t)),n(t,"slide_distance_edit",x,s(t)),n(t,"btn_add_listen_other_widget_finish_event",P,s(t)),n(t,"other_widget_finish_item",V,s(t)),n(t,"other_widget_finish_content",A,s(t)),t.call_back=null,t.m_data=null,t}e(t,i);var _=t.prototype;return _.initView=function(i){var t=this;this.call_back=i,this.btn_slide_dir.on(l.EventType.TOUCH_END,(function(){g.show_slide_dir_select((function(i){t.m_data.slide_dir!=i&&(t.m_data.slide_dir=i,t.change()),t.update_att(t.m_data)}))}))},_.update_att=function(i){this.m_data=i,this.slide_num_edit.string=i.slide_num.toString(),this.slide_distance_edit.string=i.slide_distance.toString(),this.lab_slide_dir.getComponent(o).string=f.slide_type_map.get(i.slide_dir),this.other_widget_finish_content.removeAllChildren(),null==this.m_data.other_widget_finish_listen_list&&(this.m_data.other_widget_finish_listen_list=[]);for(var t=0;t<this.m_data.other_widget_finish_listen_list.length;t++){var e=h(this.other_widget_finish_item);e.parent=this.other_widget_finish_content;var n=this.m_data.other_widget_finish_listen_list[t];e.getComponent(b).initView(n,this.onOtherWidgetFinishListenItemClickDelete.bind(this))}},_.start=function(){var i=this;this.slide_num_edit.node.on("editing-did-ended",this.change,this),this.slide_distance_edit.node.on("editing-did-ended",this.change,this),this.btn_add_listen_other_widget_finish_event.on(l.EventType.TOUCH_END,(function(){i.addOtherWidgetFinishListenItem()}))},_.addOtherWidgetFinishListenItem=function(){var i=h(this.other_widget_finish_item);i.parent=this.other_widget_finish_content;var t=new c;this.m_data.other_widget_finish_listen_list.push(t),i.getComponent(b).initView(this.m_data.other_widget_finish_listen_list[this.m_data.other_widget_finish_listen_list.length-1],this.onOtherWidgetFinishListenItemClickDelete.bind(this)),this.change()},_.onOtherWidgetFinishListenItemClickDelete=function(i){var t=this.m_data.other_widget_finish_listen_list.indexOf(i);this.m_data.other_widget_finish_listen_list.splice(t,1),this.change()},_.change=function(){null!=this.call_back&&this.call_back(this.m_data.slide_dir,parseInt(this.slide_num_edit.string),parseInt(this.slide_distance_edit.string))},t}(u)).prototype,"btn_slide_dir",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),E=t(F.prototype,"lab_slide_dir",[w],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),T=t(F.prototype,"btn_slide_distance",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),H=t(F.prototype,"btn_slide_num",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),N=t(F.prototype,"btn_finish_event",[z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),S=t(F.prototype,"slide_num_edit",[C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),x=t(F.prototype,"slide_distance_edit",[I],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),P=t(F.prototype,"btn_add_listen_other_widget_finish_event",[D],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),V=t(F.prototype,"other_widget_finish_item",[k],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),A=t(F.prototype,"other_widget_finish_content",[L],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),O=F))||O));_._RF.pop()}}}));

System.register("chunks:///_virtual/attributes_text_sound.ts",["./rollupPluginModLoBabelHelpers.js","cc","./receive_sound_item.ts"],(function(t){var e,i,n,o,a,s,l,r,c,_,u;return{setters:[function(t){e=t.applyDecoratedDescriptor,i=t.inheritsLoose,n=t.initializerDefineProperty,o=t.assertThisInitialized},function(t){a=t.cclegacy,s=t._decorator,l=t.Node,r=t.Toggle,c=t.EditBox,_=t.Component},function(t){u=t.receive_sound_item}],execute:function(){var d,h,p,g,m,f,b,y,k,x,v;a._RF.push({},"54ac30fPYhEaq+sDlq9TrLN","attributes_text_sound",void 0);var C=s.ccclass,w=s.property;t("attributes_text_sound",(d=C("attributes_text_sound"),h=w(l),p=w(l),g=w(l),m=w(r),d((y=e((b=function(t){function e(){for(var e,i=arguments.length,a=new Array(i),s=0;s<i;s++)a[s]=arguments[s];return e=t.call.apply(t,[this].concat(a))||this,n(e,"edit_text",y,o(e)),n(e,"sound",k,o(e)),n(e,"edit_y",x,o(e)),n(e,"toggle",v,o(e)),e.call_back=null,e.m_data=null,e}i(e,t);var a=e.prototype;return a.initView=function(t){var e=this;this.call_back=t,this.edit_text.on("editing-did-ended",(function(){e.change()})),this.edit_y.on("editing-did-ended",(function(){e.change()})),this.toggle.node.on(r.EventType.TOGGLE,(function(){e.change()}))},a.change=function(){this.m_data.pos_y=parseInt(this.edit_y.getComponent(c).string),this.m_data.text=this.edit_text.getComponent(c).string,null==this.m_data.is_open_click_close&&(this.m_data.is_open_click_close=!0),this.m_data.is_open_click_close=this.toggle.isChecked,null!=this.call_back&&this.call_back(this.m_data)},a.update_att=function(t){this.m_data=t,this.edit_text.getComponent(c).string=this.m_data.text,this.sound.getComponent(u).updateView(this.m_data.sound_data),this.edit_y.getComponent(c).string=this.m_data.pos_y.toString(),null==this.m_data.is_open_click_close&&(this.m_data.is_open_click_close=!0),this.toggle.isChecked=this.m_data.is_open_click_close},e}(_)).prototype,"edit_text",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),k=e(b.prototype,"sound",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),x=e(b.prototype,"edit_y",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),v=e(b.prototype,"toggle",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),f=b))||f));a._RF.pop()}}}));

System.register("chunks:///_virtual/attributes_top.ts",["./rollupPluginModLoBabelHelpers.js","cc","./tools.ts","./config.ts","./att_widget_set_view.ts","./att_res_set_view.ts","./single_ui_widget_info.ts","./Attributes.ts"],(function(e){var t,n,i,_,a,l,o,s,c,r,u,p,b,f,d,h;return{setters:[function(e){t=e.applyDecoratedDescriptor,n=e.inheritsLoose,i=e.initializerDefineProperty,_=e.assertThisInitialized},function(e){a=e.cclegacy,l=e._decorator,o=e.Node,s=e.Label,c=e.Toggle,r=e.Component},function(e){u=e.tools},function(e){p=e.config},function(e){b=e.att_widget_set_view},function(e){f=e.att_res_set_view},function(e){d=e.single_ui_widget_info},function(e){h=e.Attributes}],execute:function(){var v,m,g,y,w,T,C,E,z,D,k,H,N,O,j,U,S,L,A,I,P,R,V,F,q,x,B,M,G,J,K,Q,W,X,Y,Z,$,ee,te,ne,ie,_e,ae,le,oe,se,ce,re,ue;a._RF.push({},"3dd61qRcT9Oa6AvoTfkDIbP","attributes_top",void 0);var pe=l.ccclass,be=l.property;e("attributes_top",(v=pe("attributes_top"),m=be(o),g=be(o),y=be(o),w=be(o),T=be(o),C=be(o),E=be(o),z=be(o),D=be(o),k=be(o),H=be(o),N=be(o),O=be(o),j=be(o),U=be(o),S=be(o),L=be(o),A=be(o),I=be(o),P=be(o),R=be(o),V=be(o),F=be(o),v((B=t((x=function(e){function t(){for(var t,n=arguments.length,a=new Array(n),l=0;l<n;l++)a[l]=arguments[l];return t=e.call.apply(e,[this].concat(a))||this,i(t,"check_select_open_jump",B,_(t)),i(t,"check_select_open_close",M,_(t)),i(t,"btn_select_type",G,_(t)),i(t,"lab_select_type",J,_(t)),i(t,"btn_set_res",K,_(t)),i(t,"btn_set_att",Q,_(t)),i(t,"set_att_view",W,_(t)),i(t,"set_res_view",X,_(t)),i(t,"btn_set_res_close",Y,_(t)),i(t,"btn_set_att_close",Z,_(t)),i(t,"close_att_node",$,_(t)),i(t,"jump_att_node",ee,_(t)),i(t,"btn_add_child_scene",te,_(t)),i(t,"lab_scene",ne,_(t)),i(t,"btn_close_event",ie,_(t)),i(t,"btn_finish_event",_e,_(t)),i(t,"btn_fail_event",ae,_(t)),i(t,"lab_close_event",le,_(t)),i(t,"lab_finish_event",oe,_(t)),i(t,"lab_fail_event",se,_(t)),i(t,"clear_close_event",ce,_(t)),i(t,"clear_finish_event",re,_(t)),i(t,"clear_fail_event",ue,_(t)),t.call_back=null,t.m_data=null,t}n(t,e);var a=t.prototype;return a.initView=function(e){var t=this;this.call_back=e,this.check_select_open_jump.on(o.EventType.TOUCH_END,(function(){t.m_data.is_open_jump=!t.m_data.is_open_jump,t.change()})),this.check_select_open_close.on(o.EventType.TOUCH_END,(function(){t.m_data.is_open_close=!t.m_data.is_open_close,t.change()})),this.close_att_node.getComponent(d).initView((function(e){t.m_data.close_info=e,t.change()})),this.jump_att_node.getComponent(d).initView((function(e){t.m_data.jump_info=e,t.change()})),this.btn_close_event.on(o.EventType.TOUCH_END,(function(){var e=h.Singleton.getEventList();u.show_select_evele_list(e,(function(e){t.m_data.close_event_id=e.event_id,t.change(),t.update_att(t.m_data)}))})),this.btn_finish_event.on(o.EventType.TOUCH_END,(function(){var e=h.Singleton.getEventList();u.show_select_evele_list(e,(function(e){t.m_data.finish_event_id=e.event_id,t.change(),t.update_att(t.m_data)}))})),this.btn_fail_event.on(o.EventType.TOUCH_END,(function(){var e=h.Singleton.getEventList();u.show_select_evele_list(e,(function(e){t.m_data.fail_event_id=e.event_id,t.change(),t.update_att(t.m_data)}))})),this.clear_close_event.on(o.EventType.TOUCH_END,(function(){t.m_data.close_event_id=-1,t.change(),t.update_att(t.m_data)})),this.clear_finish_event.on(o.EventType.TOUCH_END,(function(){t.m_data.finish_event_id=-1,t.change(),t.update_att(t.m_data)})),this.clear_fail_event.on(o.EventType.TOUCH_END,(function(){t.m_data.fail_event_id=-1,t.change(),t.update_att(t.m_data)})),this.btn_select_type.on(o.EventType.TOUCH_END,(function(){t.m_data.top_ui_type===p.top_view_type.__null&&u.show_select_ui_top_type((function(e){t.m_data.top_ui_type,t.m_data.top_ui_type=e,t.change(),t.update_att(t.m_data)}))})),this.btn_set_res.on(o.EventType.TOUCH_END,(function(){t.set_att_view.active=!1,t.set_res_view.active=!0})),this.btn_set_att.on(o.EventType.TOUCH_END,(function(){t.set_att_view.active=!0,t.set_res_view.active=!1})),this.btn_set_res_close.on(o.EventType.TOUCH_END,(function(){t.set_res_view.active=!1})),this.btn_set_att_close.on(o.EventType.TOUCH_END,(function(){t.set_att_view.active=!1})),this.btn_add_child_scene.on(o.EventType.TOUCH_END,(function(){h.Singleton.ShowALlChildScene((function(e){t.m_data._interact_scene_data.scene=e,t.change(),t.update_att(t.m_data)}))}))},a.change=function(){null!=this.call_back&&this.call_back(this.m_data)},a.update_att=function(e){this.m_data=e,this.close_att_node.getComponent(d).updateInfo(e.close_info),this.jump_att_node.getComponent(d).updateInfo(e.jump_info),this.lab_select_type.getComponent(s).string=p.top_view_type_map.get(this.m_data.top_ui_type),this.check_select_open_jump.getComponent(c).isChecked=this.m_data.is_open_jump,this.check_select_open_close.getComponent(c).isChecked=this.m_data.is_open_close,this.m_data.top_ui_type===p.top_view_type.__null?(this.btn_set_res.active=!1,this.btn_set_att.active=!1,this.btn_select_type.active=!0):(this.btn_set_res.active=!0,this.btn_set_att.active=!0,this.btn_select_type.active=!1,this.set_att_view.getComponent(b).updateStatus(this.m_data),this.set_res_view.getComponent(f).updateStatus(this.m_data)),this.m_data.top_ui_type==p.top_view_type.interact_scene?(this.btn_add_child_scene.active=!0,this.btn_set_res.active=!1,this.btn_set_att.active=!1,this.lab_scene.getComponent(s).string=this.m_data._interact_scene_data.scene?"当前的子场景名字："+this.m_data._interact_scene_data.scene.scene_diy_name:"添加子场景"):this.btn_add_child_scene.active=!1,this.lab_close_event.getComponent(s).string=-1!=this.m_data.close_event_id?"绑定的id"+this.m_data.close_event_id:"无",this.lab_finish_event.getComponent(s).string=-1!=this.m_data.finish_event_id?"绑定的id"+this.m_data.finish_event_id:"无",this.lab_fail_event.getComponent(s).string=-1!=this.m_data.fail_event_id?"绑定的id"+this.m_data.fail_event_id:"无"},t}(r)).prototype,"check_select_open_jump",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),M=t(x.prototype,"check_select_open_close",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),G=t(x.prototype,"btn_select_type",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),J=t(x.prototype,"lab_select_type",[w],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),K=t(x.prototype,"btn_set_res",[T],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),Q=t(x.prototype,"btn_set_att",[C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),W=t(x.prototype,"set_att_view",[E],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),X=t(x.prototype,"set_res_view",[z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),Y=t(x.prototype,"btn_set_res_close",[D],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),Z=t(x.prototype,"btn_set_att_close",[k],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),$=t(x.prototype,"close_att_node",[H],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),ee=t(x.prototype,"jump_att_node",[N],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),te=t(x.prototype,"btn_add_child_scene",[O],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),ne=t(x.prototype,"lab_scene",[j],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),ie=t(x.prototype,"btn_close_event",[U],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),_e=t(x.prototype,"btn_finish_event",[S],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),ae=t(x.prototype,"btn_fail_event",[L],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),le=t(x.prototype,"lab_close_event",[A],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),oe=t(x.prototype,"lab_finish_event",[I],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),se=t(x.prototype,"lab_fail_event",[P],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),ce=t(x.prototype,"clear_close_event",[R],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),re=t(x.prototype,"clear_finish_event",[V],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),ue=t(x.prototype,"clear_fail_event",[F],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),q=x))||q));a._RF.pop()}}}));

System.register("chunks:///_virtual/attributes_w_h.ts",["./rollupPluginModLoBabelHelpers.js","cc","./slider_widget.ts"],(function(t){var i,e,n,r,s,a,l,o,_,c,u;return{setters:[function(t){i=t.applyDecoratedDescriptor,e=t.inheritsLoose,n=t.initializerDefineProperty,r=t.assertThisInitialized},function(t){s=t.cclegacy,a=t._decorator,l=t.EditBox,o=t.Node,_=t.Size,c=t.Component},function(t){u=t.slider_widget}],execute:function(){var h,d,p,g,w,f,b,y,v;s._RF.push({},"4739eNAoO1JgZKJsQjaAL0V","attributes_w_h",void 0);var m=a.ccclass,z=a.property;t("attributes_w_h",(h=m("attributes_w_h"),d=z(l),p=z(l),g=z(o),h((b=i((f=function(t){function i(){for(var i,e=arguments.length,s=new Array(e),a=0;a<e;a++)s[a]=arguments[a];return i=t.call.apply(t,[this].concat(s))||this,n(i,"edit_w",b,r(i)),n(i,"edit_h",y,r(i)),n(i,"slace_W_h",v,r(i)),i._w=0,i._h=0,i.call_back=null,i.slider_status=!1,i}e(i,t);var s=i.prototype;return s.update_att=function(t,i){this.edit_w.string=t.toFixed(),this.edit_h.string=i.toFixed(),this._w=0,this._h=0},s.initView=function(t){var i=this;this.call_back=t,this.edit_w.node.on("editing-did-ended",this.change,this),this.edit_h.node.on("editing-did-ended",this.change,this),this.slace_W_h.getComponent(u).initView((function(t){i.slider_status||(i._w=parseInt(i.edit_w.string),i._h=parseInt(i.edit_h.string),i.slider_status=!0);var e=""+i._w*t,n=""+i._h*t;i.edit_w.string=e,i.edit_h.string=n,i.change()}),(function(){i.slider_status=!1}))},s.change=function(){null!=this.call_back&&this.call_back(new _(parseInt(this.edit_w.string),parseInt(this.edit_h.string)))},i}(c)).prototype,"edit_w",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),y=i(f.prototype,"edit_h",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),v=i(f.prototype,"slace_W_h",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),w=f))||w));s._RF.pop()}}}));

System.register("chunks:///_virtual/attributes_x_y.ts",["./rollupPluginModLoBabelHelpers.js","cc","./slider_widget.ts"],(function(t){var i,e,n,r,s,a,l,o,d,u,_;return{setters:[function(t){i=t.applyDecoratedDescriptor,e=t.inheritsLoose,n=t.initializerDefineProperty,r=t.assertThisInitialized},function(t){s=t.cclegacy,a=t._decorator,l=t.EditBox,o=t.Node,d=t.Vec3,u=t.Component},function(t){_=t.slider_widget}],execute:function(){var c,g,h,p,y,f,b,x,w,z,v,m,I;s._RF.push({},"df6ceabOx1FSqTxeGGD9FBD","attributes_x_y",void 0);var k=a.ccclass,D=a.property;t("attributes_x_y",(c=k("attributes_x_y"),g=D(l),h=D(l),p=D(l),y=D(o),f=D(o),c((w=i((x=function(t){function i(){for(var i,e=arguments.length,s=new Array(e),a=0;a<e;a++)s[a]=arguments[a];return i=t.call.apply(t,[this].concat(s))||this,n(i,"edit_x",w,r(i)),n(i,"edit_y",z,r(i)),n(i,"edit_z",v,r(i)),n(i,"slider_x",m,r(i)),n(i,"slider_y",I,r(i)),i._x=0,i._y=0,i.call_back=null,i.slider_status=!1,i}e(i,t);var s=i.prototype;return s.update_att=function(t,i,e){this.edit_x.string=t.toString(),this.edit_y.string=i.toString(),this.edit_z.string=e.toString(),this._x=t,this._y=i},s.start=function(){this.edit_x.node.on("editing-did-ended",this.change,this),this.edit_y.node.on("editing-did-ended",this.change,this),this.edit_z.node.on("editing-did-ended",this.change,this)},s.initView=function(t){var i=this;this.call_back=t,this.slider_x.getComponent(_).initView((function(t){i.slider_status||(i.slider_status=!0),i._x=parseInt(i.edit_x.string);var e=""+(i._x+(t>1?5:-5));i.edit_x.string=e,i.change()}),(function(){console.log("end_call"),i.slider_status=!1})),this.slider_y.getComponent(_).initView((function(t){i.slider_status||(i.slider_status=!0),i._y=parseInt(i.edit_y.string);var e=""+(i._y+(t>1?5:-5));i.edit_y.string=e,i.change()}),(function(){i.slider_status=!1}))},s.change=function(){null!=this.call_back&&this.call_back(new d(parseInt(this.edit_x.string),parseInt(this.edit_y.string),parseInt(this.edit_z.string)))},i}(u)).prototype,"edit_x",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),z=i(x.prototype,"edit_y",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),v=i(x.prototype,"edit_z",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),m=i(x.prototype,"slider_x",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),I=i(x.prototype,"slider_y",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),b=x))||b));s._RF.pop()}}}));

System.register("chunks:///_virtual/attributes_z_index.ts",["./rollupPluginModLoBabelHelpers.js","cc","./config.ts","./tools.ts"],(function(e){var t,n,i,c,r,a,l,o,s,u,_;return{setters:[function(e){t=e.applyDecoratedDescriptor,n=e.inheritsLoose,i=e.initializerDefineProperty,c=e.assertThisInitialized},function(e){r=e.cclegacy,a=e._decorator,l=e.Node,o=e.Label,s=e.Component},function(e){u=e.config},function(e){_=e.tools}],execute:function(){var p,d,h,f,b,z,x;r._RF.push({},"c3154+HPH9BeJa6zuMHio7M","attributes_z_index",void 0);var g=a.ccclass,y=a.property;e("attributes_z_index",(p=g("attributes_z_index"),d=y(l),h=y(l),p((z=t((b=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return t=e.call.apply(e,[this].concat(r))||this,i(t,"check_select",z,c(t)),i(t,"lab_select_zIndex",x,c(t)),t.call_back=null,t.zIndex=u.Zindex_type.Zindex_scene,t}n(t,e);var r=t.prototype;return r.initView=function(e){var t=this;this.call_back=e,this.check_select.on(l.EventType.TOUCH_END,(function(){_.show_select_z_index((function(e){t.zIndex=e,t.update_att(t.zIndex),t.change()}))}))},r.change=function(){null!=this.call_back&&this.call_back(this.zIndex)},r.update_att=function(e){this.zIndex=e,this.lab_select_zIndex.getComponent(o).string=u.Zindex_type_map.get(this.zIndex)},t}(s)).prototype,"check_select",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),x=t(b.prototype,"lab_select_zIndex",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),f=b))||f));r._RF.pop()}}}));

System.register("chunks:///_virtual/Attributes.ts",["./rollupPluginModLoBabelHelpers.js","cc","./clientEvent.ts","./config.ts","./data.ts","./attributes_name.ts","./attributes_x_y.ts","./attributes_w_h.ts","./attributes_res.ts","./attributes_origin.ts","./attributes_delete.ts","./attributes_drop.ts","./attributes_slide.ts","./attributes_click.ts","./attributes_be_active.ts","./attributes_animation.ts","./attributes_active.ts","./tools.ts","./attributes_top.ts","./attributes_text_sound.ts","./attributes_question_select.ts","./attributes_count_down.ts","./attributes_z_index.ts","./attributes_dir.ts","./attributes_show.ts","./attributes_scene_setting.ts","./attributes_remark.ts","./attributes_rotation.ts","./attributes_anchor.ts"],(function(t){var e,i,a,n,s,r,_,u,o,c,h,b,p,d,l,g,m,v,f,w,C,y,E,A,S,T,z,x,k,V,U,D,L,I,q;return{setters:[function(t){e=t.applyDecoratedDescriptor,i=t.inheritsLoose,a=t.initializerDefineProperty,n=t.assertThisInitialized},function(t){s=t.cclegacy,r=t._decorator,_=t.Node,u=t.Component},function(t){o=t.ClientEvent},function(t){c=t.config},function(t){h=t.scene_tips_rule_data},function(t){b=t.attributes_name},function(t){p=t.attributes_x_y},function(t){d=t.attributes_w_h},function(t){l=t.attributes_res},function(t){g=t.attributes_origin},function(t){m=t.attributes_delete},function(t){v=t.attributes_drop},function(t){f=t.attributes_slide},function(t){w=t.attributes_click},function(t){C=t.attributes_be_active},function(t){y=t.attributes_animation},function(t){E=t.attributes_active},function(t){A=t.tools},function(t){S=t.attributes_top},function(t){T=t.attributes_text_sound},function(t){z=t.attributes_question_select},function(t){x=t.attributes_count_down},function(t){k=t.attributes_z_index},function(t){V=t.attributes_dir},function(t){U=t.attributes_show},function(t){D=t.attributes_scene_setting},function(t){L=t.attributes_remark},function(t){I=t.attributes_rotation},function(t){q=t.attributes_anchor}],execute:function(){var P,R,W,B,O,N,Q,Y,Z,M,F,G,j,H,J,K,X,$,tt,et,it,at,nt,st,rt,_t,ut,ot,ct,ht,bt,pt,dt,lt,gt,mt,vt,ft,wt,Ct,yt,Et,At,St,Tt,zt,xt,kt,Vt,Ut,Dt,Lt,It,qt;s._RF.push({},"d2d99A0tkVBfpmYBewJBSP+","Attributes",void 0);var Pt=r.ccclass,Rt=r.property;t("Attributes",(P=Pt("Attributes"),R=Rt(_),W=Rt(_),B=Rt(_),O=Rt(_),N=Rt(_),Q=Rt(_),Y=Rt(_),Z=Rt(_),M=Rt(_),F=Rt(_),G=Rt(_),j=Rt(_),H=Rt(_),J=Rt(_),K=Rt(_),X=Rt(_),$=Rt(_),tt=Rt(_),et=Rt(_),it=Rt(_),at=Rt(_),nt=Rt(_),st=Rt(_),rt=Rt(_),_t=Rt(_),P(((qt=function(t){function e(){for(var e,i=arguments.length,s=new Array(i),r=0;r<i;r++)s[r]=arguments[r];return(e=t.call.apply(t,[this].concat(s))||this).attributes_map=new Map,a(e,"attributes_name",ct,n(e)),a(e,"attributes_remark",ht,n(e)),a(e,"attributes_x_y",bt,n(e)),a(e,"attributes_w_h",pt,n(e)),a(e,"attributes_anchor",dt,n(e)),a(e,"attributes_rotation",lt,n(e)),a(e,"attributes_res",gt,n(e)),a(e,"attributes_origin",mt,n(e)),a(e,"attributes_be_event",vt,n(e)),a(e,"attributes_animation",ft,n(e)),a(e,"attributes_drop",wt,n(e)),a(e,"attributes_click",Ct,n(e)),a(e,"attributes_slide",yt,n(e)),a(e,"attributes_delete",Et,n(e)),a(e,"attributes_be_active",At,n(e)),a(e,"attributes_active",St,n(e)),a(e,"attributes_top",Tt,n(e)),a(e,"attributes_text_sound",zt,n(e)),a(e,"attributes_question_select",xt,n(e)),a(e,"attributes_count_down",kt,n(e)),a(e,"attributes_z_index",Vt,n(e)),a(e,"attributes_dir",Ut,n(e)),a(e,"attributes_show",Dt,n(e)),a(e,"attributes_scene_setting",Lt,n(e)),a(e,"content",It,n(e)),e.cur_att_data=null,e._main=null,e}i(e,t);var s=e.prototype;return s.start=function(){e.Singleton=this,o.on(c.Event.UpdateAttributes,this.UpdateAttributes,this),o.on(c.Event.ShowWidgetList,this.ShowWidgetList,this),this.attributes_map.set("name",this.attributes_name),this.attributes_map.set("remark",this.attributes_remark),this.attributes_map.set("pos",this.attributes_x_y),this.attributes_map.set("size",this.attributes_w_h),this.attributes_map.set("anchor",this.attributes_anchor),this.attributes_map.set("rotation",this.attributes_rotation),this.attributes_map.set("url",this.attributes_res),this.attributes_map.set("origin",this.attributes_origin),this.attributes_map.set("animation",this.attributes_animation),this.attributes_map.set("drop",this.attributes_drop),this.attributes_map.set("click",this.attributes_click),this.attributes_map.set("slide",this.attributes_slide),this.attributes_map.set("delete",this.attributes_delete),this.attributes_map.set("be_active",this.attributes_be_active),this.attributes_map.set("active",this.attributes_active),this.attributes_map.set("top",this.attributes_top),this.attributes_map.set("text_sound",this.attributes_text_sound),this.attributes_map.set("question_select",this.attributes_question_select),this.attributes_map.set("count_down",this.attributes_count_down),this.attributes_map.set("z_index",this.attributes_z_index),this.attributes_map.set("dir",this.attributes_dir),this.attributes_map.set("show",this.attributes_show),this.attributes_map.set("scene_set",this.attributes_scene_setting),this.attributes_remark.getComponent(L).initView(this.onChangeRemark.bind(this)),this.attributes_scene_setting.getComponent(D).initView(this.onChangSceneTipsRuleStatus.bind(this),this.onChangSceneAttributesStatus.bind(this)),this.attributes_show.getComponent(U).initView(this.onChangShowStatus.bind(this)),this.attributes_dir.getComponent(V).initView(this.onChangeDir.bind(this)),this.attributes_z_index.getComponent(k).initView(this.onChangeZIndex.bind(this)),this.attributes_count_down.getComponent(x).initView(this.onChangeCountDown.bind(this)),this.attributes_question_select.getComponent(z).initView(this.onChangeQuestionSelect.bind(this)),this.attributes_text_sound.getComponent(T).initView(this.onChangeTextSound.bind(this)),this.attributes_top.getComponent(S).initView(this.onChangeTop.bind(this)),this.attributes_active.getComponent(E).initView(this.onChangeActive.bind(this)),this.attributes_animation.getComponent(y).initView(this.onChangeAnimation.bind(this)),this.attributes_be_active.getComponent(C).initView(this.onChangBeActiveStatus.bind(this)),this.attributes_click.getComponent(w).initView(this.onChangClick.bind(this)),this.attributes_slide.getComponent(f).initView(this.onChangSlide.bind(this)),this.attributes_drop.getComponent(v).initView(this.onChangDrag.bind(this),this.onChangDragErrBackStatus.bind(this)),this.attributes_delete.getComponent(m).initView(this.onDelete.bind(this)),this.attributes_w_h.getComponent(d).initView(this.onChangeSize.bind(this)),this.attributes_x_y.getComponent(p).initView(this.onChangePos.bind(this)),this.attributes_rotation.getComponent(I).initView(this.onChangeRotation.bind(this)),this.attributes_anchor.getComponent(q).initView(this.onChangeAnchor.bind(this)),this.attributes_origin.getComponent(g).initView(this.onChangeOrigin.bind(this)),this.hideAllAtt()},s.onChangeRemark=function(t){this.cur_att_data.remark=t,o.dispatchEvent(c.Event.UpdateAttributesToView,this.cur_att_data,c.attributes_list_type.remark)},s.onChangeAnchor=function(t){this.cur_att_data.anchor_x=t.x,this.cur_att_data.anchor_y=t.y,o.dispatchEvent(c.Event.UpdateAttributesToView,this.cur_att_data,c.attributes_list_type.anchor)},s.onChangeRotation=function(t){this.cur_att_data.rotation=t,o.dispatchEvent(c.Event.UpdateAttributesToView,this.cur_att_data,c.attributes_list_type.rotation)},s.onChangSceneTipsRuleStatus=function(t){this.cur_att_data.scene_rule_tips_data=t,o.dispatchEvent(c.Event.UpdateAttributesToView,this.cur_att_data,c.attributes_list_type.scene_rule_tips)},s.onChangSceneAttributesStatus=function(t){o.dispatchEvent(c.Event.UpdateAttributesToView,this.cur_att_data,c.attributes_list_type.show_more_scene_arrow)},s.onChangShowStatus=function(t){this.cur_att_data.is_show=t,o.dispatchEvent(c.Event.UpdateAttributesToView,this.cur_att_data,c.attributes_list_type.show)},s.onChangeDir=function(t){this.cur_att_data.img_dir=t,o.dispatchEvent(c.Event.UpdateAttributesToView,this.cur_att_data,c.attributes_list_type.dir)},s.onChangeZIndex=function(t){this.cur_att_data.zIndex=t,o.dispatchEvent(c.Event.UpdateAttributesToView,this.cur_att_data,c.attributes_list_type.zIndex)},s.onChangeCountDown=function(t){this.cur_att_data.count_down=t,o.dispatchEvent(c.Event.UpdateAttributesToView,this.cur_att_data,c.attributes_list_type.count_down)},s.onChangeQuestionSelect=function(t){this.cur_att_data.question_select=t,o.dispatchEvent(c.Event.UpdateAttributesToView,this.cur_att_data,c.attributes_list_type.question_select)},s.onChangeTextSound=function(t){this.cur_att_data.text_sound_data=t,o.dispatchEvent(c.Event.UpdateAttributesToView,this.cur_att_data,c.attributes_list_type.text_sound)},s.onChangeTop=function(t){this.cur_att_data.top_data=t,o.dispatchEvent(c.Event.UpdateAttributesToView,this.cur_att_data,c.attributes_list_type.top)},s.onChangeActive=function(t){this.cur_att_data.edit_active=t,o.dispatchEvent(c.Event.UpdateAttributesToView,this.cur_att_data,c.attributes_list_type.active)},s.onChangeAnimation=function(t){this.cur_att_data.animation_list=t,o.dispatchEvent(c.Event.UpdateAttributesToView,this.cur_att_data,c.attributes_list_type.animation)},s.onChangBeActiveStatus=function(t){this.cur_att_data.is_interaction=t,o.dispatchEvent(c.Event.UpdateAttributesToView,this.cur_att_data,c.attributes_list_type.is_interaction)},s.onChangClick=function(t){this.cur_att_data.click_data=t,o.dispatchEvent(c.Event.UpdateAttributesToView,this.cur_att_data,c.attributes_list_type.click)},s.onChangSlide=function(t,e,i){this.cur_att_data.slide_data.slide_dir=t,this.cur_att_data.slide_data.slide_num=e,this.cur_att_data.slide_data.slide_distance=i,o.dispatchEvent(c.Event.UpdateAttributesToView,this.cur_att_data,c.attributes_list_type.slide)},s.onChangDragErrBackStatus=function(t){this.cur_att_data.drag_data.is_err_drag_back=t,o.dispatchEvent(c.Event.UpdateAttributesToView,this.cur_att_data,c.attributes_list_type.drag_err_back_status)},s.onChangDrag=function(t){this.cur_att_data.drag_data=t,o.dispatchEvent(c.Event.UpdateAttributesToView,this.cur_att_data,c.attributes_list_type.drag)},s.onDelete=function(){o.dispatchEvent(c.Event.UpdateAttributesToView,this.cur_att_data,c.attributes_list_type.delete)},s.onChangeOrigin=function(){o.dispatchEvent(c.Event.UpdateAttributesToView,this.cur_att_data,c.attributes_list_type.origin)},s.onChangePos=function(t){this.cur_att_data.x=t.x,this.cur_att_data.y=t.y,this.cur_att_data.z=t.z,o.dispatchEvent(c.Event.UpdateAttributesToView,this.cur_att_data,c.attributes_list_type.pos)},s.onChangeSize=function(t){this.cur_att_data.width=t.width,this.cur_att_data.height=t.height,o.dispatchEvent(c.Event.UpdateAttributesToView,this.cur_att_data,c.attributes_list_type.size)},s.initView=function(t){this._main=t},s.UpdateAttributes=function(t){var e=this;this.cur_att_data=t,null!=t?(this.showAllAtt(),this.attributes_map.get("scene_set").active=!1,t.type===c.attributes_type.widget?(this.attributes_map.get("remark").active=!0,this.attributes_map.get("drop").active=!1,this.attributes_map.get("click").active=!1,this.attributes_map.get("slide").active=!1,this.attributes_map.get("top").active=!1,this.attributes_map.get("question_select").active=!1,this.attributes_map.get("text_sound").active=!1,this.attributes_map.get("count_down").active=!1,this.attributes_map.get("z_index").active=!1,this.attributes_map.get("anchor").active=!0,this.attributes_map.get("rotation").active=!0,t.widget_type===c.Widget_Type_List.DRAG_TYPE?this.attributes_map.get("drop").active=!0:t.widget_type===c.Widget_Type_List.CLICK_TYPE?this.attributes_map.get("click").active=!0:t.widget_type===c.Widget_Type_List.IMG_TYPE?this.attributes_map.get("animation").active=!1:t.widget_type===c.Widget_Type_List.SLIDE_TYPE?this.attributes_map.get("slide").active=!0:t.widget_type===c.Widget_Type_List.UI_TOP?(this.attributes_map.get("top").active=!0,this.attributes_map.get("animation").active=!1,this.attributes_map.get("origin").active=!1,this.attributes_map.get("url").active=!1,this.attributes_map.get("pos").active=!1,this.attributes_map.get("size").active=!1):t.widget_type===c.Widget_Type_List.TEXT_SOUND?(this.attributes_map.get("animation").active=!1,this.attributes_map.get("origin").active=!1,this.attributes_map.get("url").active=!1,this.attributes_map.get("pos").active=!1,this.attributes_map.get("size").active=!1,this.attributes_map.get("text_sound").active=!0,this.attributes_map.get("anchor").active=!1,this.attributes_map.get("rotation").active=!1):t.widget_type===c.Widget_Type_List.QUESTION_SELECT?(this.attributes_map.get("animation").active=!1,this.attributes_map.get("origin").active=!1,this.attributes_map.get("url").active=!1,this.attributes_map.get("pos").active=!1,this.attributes_map.get("size").active=!1,this.attributes_map.get("pos").active=!0,this.attributes_map.get("question_select").active=!0,this.attributes_map.get("anchor").active=!1,this.attributes_map.get("rotation").active=!1):t.widget_type===c.Widget_Type_List.COUNT_DOWN&&(this.attributes_map.get("animation").active=!1,this.attributes_map.get("origin").active=!1,this.attributes_map.get("url").active=!1,this.attributes_map.get("pos").active=!0,this.attributes_map.get("size").active=!1,this.attributes_map.get("count_down").active=!0,this.attributes_map.get("anchor").active=!1,this.attributes_map.get("rotation").active=!1)):t.type===c.attributes_type.scene&&(this.hideAllAtt(),this.attributes_map.get("name").active=!0,this.attributes_map.get("remark").active=!1,this.attributes_map.get("size").active=!0,this.attributes_map.get("url").active=!0,this.attributes_map.get("animation").active=!0,this.attributes_map.get("scene_set").active=!0,this.attributes_map.get("anchor").active=!1,this.attributes_map.get("rotation").active=!1,this.attributes_map.get("be_active").active=!0),this.scheduleOnce((function(){e.updateAttInfo()}),.1)):this.hideAllAtt()},s.updateAttInfo=function(){if(null!=this.cur_att_data){this.getNameCom().update_att(this.cur_att_data.name+"-id:"+this.cur_att_data.id),this.getRemarkCom().update_att(this.cur_att_data.remark),this.getPosCom().update_att(this.cur_att_data.x,this.cur_att_data.y,this.cur_att_data.z),this.getSizeCom().update_att(this.cur_att_data.width,this.cur_att_data.height),this.getAnchorCom().update_att(this.cur_att_data,this.cur_att_data.anchor_x,this.cur_att_data.anchor_y),this.getRotationCom().update_att(this.cur_att_data.rotation),this.getUrlCom().update_att(this.cur_att_data.src_name);var t=this.getDragCom();null!=this.cur_att_data.drag_data&&t.update_att(this.cur_att_data.drag_data);var e=this.getSlideCom();null!=this.cur_att_data.slide_data&&e.update_att(this.cur_att_data.slide_data);var i=this.getClickCom();null!=this.cur_att_data.click_data&&i.update_att(this.cur_att_data.click_data),this.getAnimationCom().update_att(this.cur_att_data.animation_list),this.getEditActiveCom().update_att(this.cur_att_data.edit_active);var a=this.getTopCom();null!=this.cur_att_data.top_data&&a.update_att(this.cur_att_data.top_data);var n=this.getTextSoundCom();null!=this.cur_att_data.text_sound_data&&n.update_att(this.cur_att_data.text_sound_data);var s=this.getQuestionCom();null!=this.cur_att_data.question_select&&s.update_att(this.cur_att_data.question_select);var r=this.getCountDownCom();null!=this.cur_att_data.count_down&&r.update_att(this.cur_att_data.count_down),this.attributes_be_active.getComponent(C).update_att(this.cur_att_data.is_interaction),this.getZIndexCom().update_att(this.cur_att_data.zIndex),this.getShowCom().update_att(this.cur_att_data.is_show);var _=this.getSceneSetingCom();this.cur_att_data.type===c.attributes_type.scene&&(_.update_att_info(this._main,this.cur_att_data),null!=this.cur_att_data.scene_rule_tips_data||(this.cur_att_data.scene_rule_tips_data=new h),_.update_att(this.cur_att_data.scene_rule_tips_data))}},s.getSceneSetingCom=function(){return this.attributes_map.get("scene_set").getComponent(D)},s.getShowCom=function(){return this.attributes_map.get("show").getComponent(U)},s.getTopCom=function(){return this.attributes_map.get("top").getComponent(S)},s.getAnimationCom=function(){return this.attributes_map.get("animation").getComponent(y)},s.getClickCom=function(){return this.attributes_map.get("click").getComponent(w)},s.getSlideCom=function(){return this.attributes_map.get("slide").getComponent(f)},s.getDragCom=function(){return this.attributes_map.get("drop").getComponent(v)},s.getNameCom=function(){return this.attributes_map.get("name").getComponent(b)},s.getRemarkCom=function(){return this.attributes_map.get("remark").getComponent(L)},s.getPosCom=function(){return this.attributes_map.get("pos").getComponent(p)},s.getSizeCom=function(){return this.attributes_map.get("size").getComponent(d)},s.getAnchorCom=function(){return this.attributes_map.get("anchor").getComponent(q)},s.getRotationCom=function(){return this.attributes_map.get("rotation").getComponent(I)},s.getEditActiveCom=function(){return this.attributes_map.get("active").getComponent(E)},s.getQuestionCom=function(){return this.attributes_map.get("question_select").getComponent(z)},s.getCountDownCom=function(){return this.attributes_map.get("count_down").getComponent(x)},s.getUrlCom=function(){return this.attributes_map.get("url").getComponent(l)},s.getTextSoundCom=function(){return this.attributes_map.get("text_sound").getComponent(T)},s.getZIndexCom=function(){return this.attributes_map.get("z_index").getComponent(k)},s.showAllAtt=function(){this.attributes_map.forEach((function(t,e){t.active=!0}))},s.hideAllAtt=function(){this.attributes_map.forEach((function(t,e){t.active=!1}))},s.get_cur_att_data=function(){return this.cur_att_data},s.get_cur_scene_all_widget=function(){var t=this._main.edit_scene_view.getCurSelectScene();if(!t)return[];for(var e=[],i=0;i<t.page_list.length;i++)for(var a=t.page_list[i],n=0;n<a.page_widget_list.length;n++){var s=a.page_widget_list[n];e.push(s)}return e},s.get_cur_scene_widget_by_type=function(t){var e=this._main.edit_scene_view.getCurSelectScene();if(!e)return[];for(var i=[],a=0;a<e.page_list.length;a++)for(var n=e.page_list[a],s=0;s<n.page_widget_list.length;s++){var r=n.page_widget_list[s];t===r.type&&i.push(r)}return i},s.get_cur_scene_all_only_widget=function(){var t=this._main.edit_scene_view.getCurSelectScene();if(!t)return[];for(var e=[],i=0;i<t.page_list.length;i++)for(var a=t.page_list[i],n=0;n<a.page_widget_list.length;n++){var s=a.page_widget_list[n];s.type!=c.Widget_Type_List.UI_TOP&&e.push(s)}return e},s.get_cur_scene_widget_by_id=function(t){for(var e=this._main.edit_scene_view.getCurSelectScene(),i=0;i<e.page_list.length;i++)for(var a=e.page_list[i],n=0;n<a.page_widget_list.length;n++){var s=a.page_widget_list[n];if(s.att.id===t)return s}return null},s.get_widget_at_page_by_widget=function(t){for(var e=0,i=this._main.edit_scene_view.getCurSelectScene(),a=0;a<i.page_list.length;a++)for(var n=i.page_list[a],s=0;s<n.page_widget_list.length;s++){if(n.page_widget_list[s].att.id===t.att.id){e=a;break}}return e},s.get_scene_list=function(){for(var t=this._main.control_view.get_bag_data().content,e=[],i=0;i<t.length;i++){var a=t[i];a.is_child_scene&&e.push(a)}return e},s.ShowWidgetList=function(){var t=this.get_cur_scene_all_widget();if(t.length<=0)return A.showToast("当前场景没有控件！");A.show_widget_list(t)},s.ShowALlChildScene=function(t){var e=this.get_scene_list();if(e.length<=0)return A.showToast("还没有添加子场景");A.show_select_child_scene(e,t)},s.getEventList=function(){var t=this._main.edit_scene_view.getCurSelectScene();return null==t._task_data?[]:t._task_data.event_list},s.getBeActionEventList=function(){for(var t=this._main.edit_scene_view.getCurSelectScene(),e=[],i=0;i<t._task_data.event_list.length;i++){var a=t._task_data.event_list[i];a.type==c.event_type.be_event&&e.push(a)}return e},s.getEventItemById=function(t){for(var e=this.getEventList(),i=0;i<e.length;i++){var a=e[i];if(t===a.event_id)return a}return null},e}(u)).Singleton=null,qt.is_show_more_scene_arrow=!0,ct=e((ot=qt).prototype,"attributes_name",[R],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),ht=e(ot.prototype,"attributes_remark",[W],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),bt=e(ot.prototype,"attributes_x_y",[B],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),pt=e(ot.prototype,"attributes_w_h",[O],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),dt=e(ot.prototype,"attributes_anchor",[N],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),lt=e(ot.prototype,"attributes_rotation",[Q],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),gt=e(ot.prototype,"attributes_res",[Y],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),mt=e(ot.prototype,"attributes_origin",[Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),vt=e(ot.prototype,"attributes_be_event",[M],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),ft=e(ot.prototype,"attributes_animation",[F],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),wt=e(ot.prototype,"attributes_drop",[G],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),Ct=e(ot.prototype,"attributes_click",[j],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),yt=e(ot.prototype,"attributes_slide",[H],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),Et=e(ot.prototype,"attributes_delete",[J],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),At=e(ot.prototype,"attributes_be_active",[K],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),St=e(ot.prototype,"attributes_active",[X],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),Tt=e(ot.prototype,"attributes_top",[$],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),zt=e(ot.prototype,"attributes_text_sound",[tt],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),xt=e(ot.prototype,"attributes_question_select",[et],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),kt=e(ot.prototype,"attributes_count_down",[it],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),Vt=e(ot.prototype,"attributes_z_index",[at],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),Ut=e(ot.prototype,"attributes_dir",[nt],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),Dt=e(ot.prototype,"attributes_show",[st],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),Lt=e(ot.prototype,"attributes_scene_setting",[rt],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),It=e(ot.prototype,"content",[_t],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),ut=ot))||ut));s._RF.pop()}}}));

System.register("chunks:///_virtual/back_title.ts",["./rollupPluginModLoBabelHelpers.js","cc","./gameManager.ts"],(function(t){var e,i,n,a,l,r,c,o,u,s;return{setters:[function(t){e=t.applyDecoratedDescriptor,i=t.inheritsLoose,n=t.initializerDefineProperty,a=t.assertThisInitialized},function(t){l=t.cclegacy,r=t._decorator,c=t.Node,o=t.Label,u=t.Component},function(t){s=t.gameManager}],execute:function(){var p,_,b,g,f,h,m;l._RF.push({},"02339gPFzJDdIyh/2+OM41M","back_title",void 0);var k=r.ccclass,y=r.property;t("back_title",(p=k("back_title"),_=y(c),b=y(c),p((h=e((f=function(t){function e(){for(var e,i=arguments.length,l=new Array(i),r=0;r<i;r++)l[r]=arguments[r];return e=t.call.apply(t,[this].concat(l))||this,n(e,"btn_back",h,a(e)),n(e,"img_title",m,a(e)),e.mCallBack=null,e}i(e,t);var l=e.prototype;return l.initView=function(t,e){var i=this;this.mCallBack=e,this.updateTitle(t),this.btn_back.off(c.EventType.TOUCH_END),this.btn_back.on(c.EventType.TOUCH_END,(function(){null!=i.mCallBack&&i.mCallBack(),s.Singleton.sys_click_button_music()}))},l.updateTitle=function(t){t.length<=0?this.img_title.parent.active=!1:this.img_title.parent.active=!0,this.img_title.getComponent(o).string=t},e}(u)).prototype,"btn_back",[_],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),m=e(f.prototype,"img_title",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),g=f))||g));l._RF.pop()}}}));

System.register("chunks:///_virtual/bag_drag_item.ts",["./rollupPluginModLoBabelHelpers.js","cc","./widget_base.ts","./widget_drag.ts"],(function(t){var e,i,n,r,a,o,s,c,l,_,g,u,h,p,d;return{setters:[function(t){e=t.applyDecoratedDescriptor,i=t.inheritsLoose,n=t.initializerDefineProperty,r=t.assertThisInitialized},function(t){a=t.cclegacy,o=t._decorator,s=t.Node,c=t.Prefab,l=t.instantiate,_=t.Vec3,g=t.UITransform,u=t.Vec2,h=t.Component},function(t){p=t.widget_base},function(t){d=t.widget_drag}],execute:function(){var m,f,v,E,y,C,T,b,D;a._RF.push({},"d293c3yhMNIVbrWbLagDtjv","bag_drag_item",void 0);var O=o.ccclass,w=o.property;t("bag_drag_item",(m=O("bag_drag_item"),f=w(s),v=w(s),E=w(c),m((T=e((C=function(t){function e(){for(var e,i=arguments.length,a=new Array(i),o=0;o<i;o++)a[o]=arguments[o];return e=t.call.apply(t,[this].concat(a))||this,n(e,"spr_select_status",T,r(e)),n(e,"drag_item_parent",b,r(e)),n(e,"drag_item_prefab",D,r(e)),e.mData=null,e.mCallBack=null,e.drag_item=null,e.action_node=null,e.mFinishCall=null,e}i(e,t);var a=e.prototype;return a.initView=function(t,e,i,n){var r=this;this.drag_item=l(this.drag_item_prefab),this.drag_item_parent.removeAllChildren(),this.drag_item.parent=this.drag_item_parent,this.drag_item.getComponent(p).initView(e,!1),this.mData=t,this.mCallBack=i,this.mFinishCall=n,this.node.off(s.EventType.TOUCH_END),this.node.on(s.EventType.TOUCH_END,(function(){null!=r.mCallBack&&r.mCallBack(r)}))},a.DeleteSelf=function(){this.unSelect(),this.node.off(s.EventType.TOUCH_END),this.node.removeFromParent()},a.isZero=function(){return this.drag_item.position.x==_.ZERO.x&&this.drag_item.position.y==_.ZERO.y},a.getData=function(){return this.mData},a.onSelect=function(){this.spr_select_status.active=!0},a.unSelect=function(){this.spr_select_status.active=!1,this.drag_item.off(s.EventType.TOUCH_END),this.drag_item.off(s.EventType.TOUCH_MOVE)},a.getRect=function(){if(null!=this.drag_item)return this.drag_item.getComponent(d).getDragRect()},a.registeredEvent=function(t){var e=this;this.action_node=t,this.drag_item.off(s.EventType.TOUCH_MOVE),this.drag_item.on(s.EventType.TOUCH_MOVE,(function(t){var i=new _(t.getUILocation().x,t.getUILocation().y),n=e.drag_item_parent.getComponent(g).convertToNodeSpaceAR(i);e.drag_item.position=new _(n.x,n.y)})),this.drag_item.off(s.EventType.TOUCH_END),this.drag_item.on(s.EventType.TOUCH_END,(function(){e.onEndEvent()}))},a.onEndEvent=function(){this.checkOnecFinish()},a.checkOnecFinish=function(){this.checkMoveToDragRect()?(this.drag_item.getComponent(d).toFinishEvent(),null!=this.mFinishCall&&this.mFinishCall(this)):this.drag_item.position=_.ZERO},a.checkMoveToDragRect=function(){var t=this.drag_item.position,e=this.drag_item_parent.getComponent(g).convertToWorldSpaceAR(t),i=this.action_node.getComponent(g).convertToNodeSpaceAR(e);return this.getRect().contains(new u(i.x,i.y))},e}(h)).prototype,"spr_select_status",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),b=e(C.prototype,"drag_item_parent",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),D=e(C.prototype,"drag_item_prefab",[E],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),y=C))||y));a._RF.pop()}}}));

System.register("chunks:///_virtual/base_res.ts",["./rollupPluginModLoBabelHelpers.js","cc"],(function(t){var e,n,r,s;return{setters:[function(t){e=t.inheritsLoose},function(t){n=t.cclegacy,r=t._decorator,s=t.Component}],execute:function(){var a;n._RF.push({},"3278c2iyqlMl5XLNGyuSWYf","base_res",void 0);var o=r.ccclass;r.property,t("base_res",o("base_res")(a=function(t){function n(){for(var e,n=arguments.length,r=new Array(n),s=0;s<n;s++)r[s]=arguments[s];return(e=t.call.apply(t,[this].concat(r))||this).m_data=null,e.m_type=0,e}e(n,t);var r=n.prototype;return r.setData=function(t){this.m_data=t},r.getData=function(){return this.m_data},r.setType=function(t){this.m_type=t},r.getType=function(){return this.m_type},n}(s))||a);n._RF.pop()}}}));

System.register("chunks:///_virtual/base_view.ts",["./rollupPluginModLoBabelHelpers.js","cc","./data.ts","./config.ts","./scroll_scene.ts","./tools.ts","./cur_edit_scene.ts","./widget_item.ts","./clientEvent.ts","./Attributes.ts"],(function(t){var e,i,n,a,_,s,r,l,c,o,u,h,g,p,d,b,f,m,w,v,y;return{setters:[function(t){e=t.applyDecoratedDescriptor,i=t.inheritsLoose,n=t.initializerDefineProperty,a=t.assertThisInitialized},function(t){_=t.cclegacy,s=t._decorator,r=t.ScrollView,l=t.Node,c=t.Prefab,o=t.instantiate,u=t.Label,h=t.Component},function(t){g=t.scene_item_data,p=t.attributes_data},function(t){d=t.config},function(t){b=t.scroll_scene},function(t){f=t.tools},function(t){m=t.cur_edit_scene},function(t){w=t.widget_item},function(t){v=t.ClientEvent},function(t){y=t.Attributes}],execute:function(){var C,T,P,S,E,N,A,z,D,V,B,L,U,k,H,O,x,F,I,W,R,j,M,Y,q;_._RF.push({},"4da69v9rdhAhb1VNyYTEcxI","base_view",void 0);var G=s.ccclass,J=s.property;t("base_view",(C=G("base_view"),T=J(r),P=J(l),S=J(l),E=J(l),N=J(l),A=J(l),z=J(l),D=J(l),V=J(l),B=J(l),L=J(c),C((H=e((k=function(t){function e(){for(var e,i=arguments.length,_=new Array(i),s=0;s<i;s++)_[s]=arguments[s];return e=t.call.apply(t,[this].concat(_))||this,n(e,"scroll_view",H,a(e)),n(e,"btn_left",O,a(e)),n(e,"btn_right",x,a(e)),n(e,"btn_up",F,a(e)),n(e,"btn_down",I,a(e)),n(e,"content",W,a(e)),n(e,"temp_content",R,a(e)),n(e,"btn_add_page",j,a(e)),n(e,"btn_delete_page",M,a(e)),n(e,"lab_cur_page",Y,a(e)),n(e,"widget_prefab",q,a(e)),e.m_edit_scene=null,e.m_data=null,e.m_cur_page=0,e}i(e,t);var _=e.prototype;return _.initView=function(t){var e=this;this.m_edit_scene=t,this.btn_add_page.on(l.EventType.TOUCH_END,(function(){e.add_page()})),this.btn_delete_page.on(l.EventType.TOUCH_END,(function(){e.delete_page()}));var i=this.m_edit_scene.getCurSelectScene();null!=i&&(this.m_data=i,this.init()),this.btn_down.on(l.EventType.TOUCH_END,(function(){e.next_page()})),this.btn_up.on(l.EventType.TOUCH_END,(function(){e.up_page()})),this.btn_left.on(l.EventType.TOUCH_END,(function(){e.up_page()})),this.btn_right.on(l.EventType.TOUCH_END,(function(){e.next_page()})),this.updatePageNumber(),0==y.is_show_more_scene_arrow&&this.hideAllBtn(),v.on(d.Event.ChangeSelectPage,this.ChangeSelectPage,this),v.on(d.Event.UpdateAttributesToView,this.ChangeArrow,this)},_.onDestroy=function(){v.off(d.Event.ChangeSelectPage,this.ChangeSelectPage,this),v.off(d.Event.UpdateAttributesToView,this.ChangeArrow,this)},_.ChangeSelectPage=function(t){t!=this.m_cur_page&&(this.m_cur_page=t,this.updatePageNumber())},_.ChangeArrow=function(t,e){e==d.attributes_list_type.show_more_scene_arrow&&(y.is_show_more_scene_arrow?this.showBtn():this.hideAllBtn())},_.getAtt=function(){},_.on_add_page=function(t){this.m_data.page_list.push(t),this.addScenePage(t),this.updatePageNumber()},_.on_delete_page=function(){var t=this.getCurPageView();null!=t&&t.removeFromParent(),this.updatePageNumber(),this.up_page()},_.delete_page=function(){var t=this;if(this.m_data.page_list.length<=0)return f.showToast("当前无场景页删除！");f.show_dialog("是否确定删除当前的场景页",(function(){t.m_data.page_list.splice(t.m_cur_page,1),t.on_delete_page()}))},_.add_page=function(){f.add_scene_page(this.on_add_page.bind(this))},_.init=function(){if((this.m_data.page_list.length<=0||this.m_data.type===d.Scene_Type_List.single_screen)&&this.hideAllBtn(),this.m_data.type===d.Scene_Type_List.single_screen){if(this.btn_add_page.active=!1,this.btn_delete_page.active=!1,this.lab_cur_page.active=!1,this.m_data.is_full_screen=!0,this.m_data.page_list.length<=0){var t=new g("",d.Scene_Type_List.single_screen,!0);this.m_data.page_list.push(t)}this.addScenePage(this.m_data.page_list[0])}else{this.hideAllBtn(),this.btn_add_page.active=!0,this.btn_delete_page.active=!0,this.lab_cur_page.active=!0,this.m_data.type===d.Scene_Type_List.many_screen_switch_up_down?(this.btn_down.active=!0,this.btn_up.active=!0):(this.btn_left.active=!0,this.btn_right.active=!0);for(var e=0;e<this.m_data.page_list.length;e++){var i=this.m_data.page_list[e];this.addScenePage(i)}}},_.initWidgets=function(t,e){for(var i=0;i<e.page_widget_list.length;i++){var n=e.page_widget_list[i],a=o(this.widget_prefab);a.getComponent(w).initWidgetByScene(n,n.att),t.addWidget(a)}},_.up_page=function(){this.m_data.page_list.length<=0?f.showToast("当前没有分页"):(this.m_cur_page-1<0?this.m_cur_page=this.m_data.page_list.length-1:this.m_cur_page-=1,this.updatePageNumber())},_.next_page=function(){this.m_data.page_list.length<=0?f.showToast("当前没有分页"):(this.m_cur_page+1>=this.m_data.page_list.length?this.m_cur_page=0:this.m_cur_page+=1,this.updatePageNumber())},_.cur_page=function(){return this.m_cur_page},_.getCurPageData=function(){return this.m_data.page_list.length<=0?null:this.m_data.page_list[this.m_cur_page]},_.getCurPageView=function(){return this.content.children.length<=0?null:this.content.children[this.m_cur_page]},_.updatePageNumber=function(){this.lab_cur_page.getComponent(u).string="第"+(this.m_data.page_list.length>0?this.m_cur_page+1:this.m_cur_page)+"页",this.updatePageView(),this.m_edit_scene.cur_edit_scene_node.getComponent(m).onClickScene(),this.showBtn()},_.updatePageView=function(){for(var t=0;t<this.content.children.length;t++){var e=this.content.children[t];this.m_cur_page===t?e.active=!0:e.active=!1}},_.addScenePage=function(t){var e=this,i=null;if(t.is_full_screen){if(i=o(this.temp_content),null==t.att&&(t.att=new p,t.att.width=1080,t.att.height=1920,t.att.id=d.getNewId(),t.att.type=d.attributes_type.scene),null!=t.page_list[0])null===t.page_list[0].att&&(t.page_list[0].att=t.att);else{var n=new g(t.scene_diy_name,t.type,!0);t.page_list.push(n),t.page_list[0].att=t.att}i.getComponent(b).initFullView(t.att),i.parent=this.content}else i=o(this.scroll_view.node),null==t.att&&(t.att=new p,t.att.width=1920,t.att.height=1920,t.att.id=d.getNewId(),t.att.type=d.attributes_type.scene),i.getComponent(b).initView(t.is_check_mask,t.att),i.parent=this.content;i.getComponent(b).setData(t),this.m_data.page_list.length>0&&this.initWidgets(i.getComponent(b),t),setTimeout((function(){e.m_edit_scene.cur_edit_scene_node.getComponent(m).onClickScene(),i.getComponent(b).setCallBack((function(){e.m_edit_scene.cur_edit_scene_node.getComponent(m).onClickScene()}))}),0)},_.showBtn=function(){if(0!=y.is_show_more_scene_arrow)if(this.m_data.type==d.Scene_Type_List.many_screen_switch_up_down){if(0==this.m_data.page_list.length)return this.btn_up.active=!0,void(this.btn_down.active=!0);this.btn_up.active=!0,this.btn_down.active=!0,0==this.m_cur_page?this.btn_up.active=!1:this.m_cur_page>=this.m_data.page_list.length-1&&(this.btn_down.active=!1)}else if(this.m_data.type==d.Scene_Type_List.many_screen_switch_left_right){if(0==this.m_data.page_list.length)return this.btn_left.active=!0,void(this.btn_right.active=!0);this.btn_left.active=!0,this.btn_right.active=!0,0==this.m_cur_page?this.btn_left.active=!1:this.m_cur_page>=this.m_data.page_list.length-1&&(this.btn_right.active=!1)}},_.hideAllBtn=function(){this.btn_down.active=!1,this.btn_up.active=!1,this.btn_left.active=!1,this.btn_right.active=!1},_.getContenView=function(){},_.getData=function(){return this.m_data},e}(h)).prototype,"scroll_view",[T],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),O=e(k.prototype,"btn_left",[P],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),x=e(k.prototype,"btn_right",[S],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),F=e(k.prototype,"btn_up",[E],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),I=e(k.prototype,"btn_down",[N],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),W=e(k.prototype,"content",[A],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),R=e(k.prototype,"temp_content",[z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),j=e(k.prototype,"btn_add_page",[D],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),M=e(k.prototype,"btn_delete_page",[V],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),Y=e(k.prototype,"lab_cur_page",[B],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),q=e(k.prototype,"widget_prefab",[L],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),U=k))||U));_._RF.pop()}}}));

System.register("chunks:///_virtual/boss_tips.ts",["./rollupPluginModLoBabelHelpers.js","cc"],(function(t){var i,n,e,r,o,s,c,l;return{setters:[function(t){i=t.applyDecoratedDescriptor,n=t.inheritsLoose,e=t.initializerDefineProperty,r=t.assertThisInitialized},function(t){o=t.cclegacy,s=t._decorator,c=t.Node,l=t.Component}],execute:function(){var a,p,u,_,b;o._RF.push({},"acf20MJVXJBUI7mxww5oUVf","boss_tips",void 0);var f=s.ccclass,h=s.property;t("boss_tips",(a=f("boss_tips"),p=h(c),a((b=i((_=function(t){function i(){for(var i,n=arguments.length,o=new Array(n),s=0;s<n;s++)o[s]=arguments[s];return i=t.call.apply(t,[this].concat(o))||this,e(i,"btn_tips",b,r(i)),i.call_back=null,i}return n(i,t),i.prototype.initView=function(t){var i=this;this.call_back=t,this.btn_tips.on(c.EventType.TOUCH_END,(function(){null!=i.call_back&&i.call_back()}))},i}(l)).prototype,"btn_tips",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),u=_))||u));o._RF.pop()}}}));

System.register("chunks:///_virtual/btn_question_item.ts",["./rollupPluginModLoBabelHelpers.js","cc","./gameManager.ts","./tools.ts"],(function(t){var n,i,e,a,o,r,l,s,c,u;return{setters:[function(t){n=t.applyDecoratedDescriptor,i=t.inheritsLoose,e=t.initializerDefineProperty,a=t.assertThisInitialized},function(t){o=t.cclegacy,r=t._decorator,l=t.Node,s=t.Component},function(t){c=t.gameManager},function(t){u=t.tools}],execute:function(){var m,p,_,h,f;o._RF.push({},"a48a0jx5YJE9akwnQPS44j7","btn_question_item",void 0);var d=r.ccclass,v=r.property;t("btn_question_item",(m=d("btn_question_item"),p=v(l),m((f=n((h=function(t){function n(){for(var n,i=arguments.length,o=new Array(i),r=0;r<i;r++)o[r]=arguments[r];return n=t.call.apply(t,[this].concat(o))||this,e(n,"btn_click",f,a(n)),n.m_data=null,n.mCallBack=null,n.mEventData=null,n}i(n,t);var o=n.prototype;return o.initView=function(t,n,i,e){this.mCallBack=e,this.mEventData=n,null===t?u.showToast("配置问题选择错误！"):(this.m_data=t,this.init())},o.init=function(){var t=this;c.initUiBaseAtt(this.node,this.m_data),this.node.on(l.EventType.TOUCH_END,(function(){null!=t.mCallBack&&t.mCallBack(t.mEventData)}))},o.getData=function(){return this.m_data},n}(s)).prototype,"btn_click",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),_=h))||_));o._RF.pop()}}}));

System.register("chunks:///_virtual/btn_question_item2.ts",["./rollupPluginModLoBabelHelpers.js","cc","./data.ts","./clientEvent.ts","./config.ts","./Attributes.ts"],(function(t){var e,i,n,o,a,r,s,c,u,l,d,h,p,_,m,f,g,b,v,y;return{setters:[function(t){e=t.applyDecoratedDescriptor,i=t.inheritsLoose,n=t.initializerDefineProperty,o=t.assertThisInitialized},function(t){a=t.cclegacy,r=t._decorator,s=t.Node,c=t.Label,u=t.Vec3,l=t.UITransform,d=t.Size,h=t.assetManager,p=t.Texture2D,_=t.SpriteFrame,m=t.Sprite,f=t.Component},function(t){g=t.ui_att_item},function(t){b=t.ClientEvent},function(t){v=t.config},function(t){y=t.Attributes}],execute:function(){var w,C,S,x,z,T,E;a._RF.push({},"dcca3CpsY1KTql2HMNSeYci","btn_question_item",void 0);var k=r.ccclass,q=r.property;t("btn_question_item",(w=k("btn_question_item"),C=q(s),S=q(s),w((T=e((z=function(t){function e(){for(var e,i=arguments.length,a=new Array(i),r=0;r<i;r++)a[r]=arguments[r];return e=t.call.apply(t,[this].concat(a))||this,n(e,"btn_click",T,o(e)),n(e,"lab_title",E,o(e)),e.m_data=null,e}i(e,t);var a=e.prototype;return a.initView=function(t,e){var i=this;null===t?(this.m_data=new g,this.init()):this.m_data=t,this.lab_title.getComponent(c).string="按钮"+e,this.updateView(),this.btn_click.on(s.EventType.TOUCH_MOVE,(function(t){var e=new u(t.getUILocation().x,t.getUILocation().y),n=i.node.parent.getComponent(l).convertToNodeSpaceAR(e);i.node.position=n,i.m_data.x=i.node.position.x,i.m_data.y=i.node.position.y,b.dispatchEvent(v.Event.UpdateAttributes,y.Singleton.get_cur_att_data())}))},a.init=function(){this.m_data.x=this.node.position.x,this.m_data.y=this.node.position.y,this.m_data.width=this.node.getComponent(l).contentSize.width,this.m_data.height=this.node.getComponent(l).contentSize.height},a.getData=function(){return this.m_data},a.updateView=function(){var t=this;this.node.getComponent(l).contentSize=new d(this.m_data.width,this.m_data.height),this.node.position=new u(this.m_data.x,this.m_data.y),this.lab_title.position=new u(0,0,0),this.m_data.res.length>0&&h.loadRemote(this.m_data.res,(function(e,i){if(!e&&i){var n=new p;n.image=i;var o=new _;o.texture=n,t.btn_click.getComponent(m).spriteFrame=o}}))},e}(f)).prototype,"btn_click",[C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),E=e(z.prototype,"lab_title",[S],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),x=z))||x));a._RF.pop()}}}));

System.register("chunks:///_virtual/check_open.ts",["./rollupPluginModLoBabelHelpers.js","cc","./gameManager.ts"],(function(e){var n,t,c,o,i,r,a,l,s;return{setters:[function(e){n=e.applyDecoratedDescriptor,t=e.inheritsLoose,c=e.initializerDefineProperty,o=e.assertThisInitialized},function(e){i=e.cclegacy,r=e._decorator,a=e.Node,l=e.Component},function(e){s=e.gameManager}],execute:function(){var u,_,p,b,f,h,k;i._RF.push({},"00ec3goMEFEeo5DhiIqEA1x","check_open",void 0);var y=r.ccclass,v=r.property;e("check_open",(u=y("check_open"),_=v(a),p=v(a),u((h=n((f=function(e){function n(){for(var n,t=arguments.length,i=new Array(t),r=0;r<t;r++)i[r]=arguments[r];return n=e.call.apply(e,[this].concat(i))||this,c(n,"btn_back",h,o(n)),c(n,"btn_ok",k,o(n)),n.m_call_back=null,n}t(n,e);var i=n.prototype;return i.show=function(e){var n=this;this.node.active=!0,this.m_call_back=e,this.btn_back.off(a.EventType.TOUCH_END),this.btn_back.on(a.EventType.TOUCH_END,(function(){n.close(),s.Singleton.sys_click_button_music()})),this.btn_ok.off(a.EventType.TOUCH_END),this.btn_ok.on(a.EventType.TOUCH_END,(function(){null!=n.m_call_back&&n.m_call_back(),s.Singleton.sys_click_button_music(),n.close()}))},i.close=function(){this.node.active=!1},n}(l)).prototype,"btn_back",[_],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),k=n(f.prototype,"btn_ok",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),b=f))||b));i._RF.pop()}}}));

System.register("chunks:///_virtual/click_type_select_item.ts",["./rollupPluginModLoBabelHelpers.js","cc","./config.ts"],(function(e){var t,i,n,c,l,r,a,o,p,s;return{setters:[function(e){t=e.applyDecoratedDescriptor,i=e.inheritsLoose,n=e.initializerDefineProperty,c=e.assertThisInitialized},function(e){l=e.cclegacy,r=e._decorator,a=e.Node,o=e.Label,p=e.Component},function(e){s=e.config}],execute:function(){var _,u,y,m,f;l._RF.push({},"dca59YvknxKWbgyYpprMQLX","click_type_select_item",void 0);var b=r.ccclass,h=r.property;e("click_type_select_item",(_=b("click_type_select_item"),u=h(a),_((f=t((m=function(e){function t(){for(var t,i=arguments.length,l=new Array(i),r=0;r<i;r++)l[r]=arguments[r];return t=e.call.apply(e,[this].concat(l))||this,n(t,"lab_name",f,c(t)),t.call_back=null,t.m_type=0,t}return i(t,e),t.prototype.initView=function(e,t){var i=this;this.call_back=t,this.m_type=e,this.lab_name.getComponent(o).string=s.clcik_type_map.get(this.m_type),this.node.on(a.EventType.TOUCH_END,(function(){null!=i.call_back&&i.call_back(i.m_type)}))},t}(p)).prototype,"lab_name",[u],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),y=m))||y));l._RF.pop()}}}));

System.register("chunks:///_virtual/click_type_select.ts",["./rollupPluginModLoBabelHelpers.js","cc","./config.ts","./click_type_select_item.ts"],(function(e){var t,n,i,c,o,l,r,a,s,u,p,_;return{setters:[function(e){t=e.applyDecoratedDescriptor,n=e.inheritsLoose,i=e.initializerDefineProperty,c=e.assertThisInitialized},function(e){o=e.cclegacy,l=e._decorator,r=e.Node,a=e.Prefab,s=e.instantiate,u=e.Component},function(e){p=e.config},function(e){_=e.click_type_select_item}],execute:function(){var f,b,y,h,m,k,g,d,v;o._RF.push({},"3e4d7RNPSxMBqLtMu49umRo","click_type_select",void 0);var w=l.ccclass,C=l.property;e("click_type_select",(f=w("click_type_select"),b=C(r),y=C(r),h=C(a),f((g=t((k=function(e){function t(){for(var t,n=arguments.length,o=new Array(n),l=0;l<n;l++)o[l]=arguments[l];return t=e.call.apply(e,[this].concat(o))||this,i(t,"content",g,c(t)),i(t,"btn_close",d,c(t)),i(t,"item_prefab",v,c(t)),t.call_back=null,t}n(t,e);var o=t.prototype;return o.show=function(e){var t=this;this.call_back=e,p.clcik_type_map.forEach((function(e,n){var i=s(t.item_prefab);i.parent=t.content,i.getComponent(_).initView(n,t.onItemClick.bind(t))})),this.btn_close.on(r.EventType.TOUCH_END,(function(){t.close()}))},o.onItemClick=function(e){console.log("onItemClick",e),null!=this.call_back&&this.call_back(e),this.close()},o.close=function(){this.node.destroy()},t}(u)).prototype,"content",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),d=t(k.prototype,"btn_close",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),v=t(k.prototype,"item_prefab",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),m=k))||m));o._RF.pop()}}}));

System.register("chunks:///_virtual/clientEvent.ts",["cc"],(function(n){var r,e;return{setters:[function(n){r=n.cclegacy,e=n._decorator}],execute:function(){var t,a;r._RF.push({},"a02b7YBuMtD55qAeo5tkBbo","clientEvent",void 0);var l=e.ccclass;e.property,n("ClientEvent",l("ClientEvent")(((a=function(){function n(){}return n.on=function(r,e,t){var a={handler:e,target:t},l=n._handlers[r];l||(l=[],n._handlers[r]=l);for(var c=0;c<l.length;c++)if(!l[c])return l[c]=a,c;return l.push(a),l.length},n.off=function(r,e,t){var a=n._handlers[r];if(a)for(var l=0;l<a.length;l++){var c=a[l];if(c.handler===e&&(!t||t===c.target)){a.splice(l,1);break}}},n.dispatchEvent=function(r){for(var e=arguments.length,t=new Array(e>1?e-1:0),a=1;a<e;a++)t[a-1]=arguments[a];var l,c=n._handlers[r],o=[];for(l=1;l<arguments.length;l++)o.push(arguments[l]);if(c)for(l=0;l<c.length;l++){var f=c[l];f.handler&&f.handler.apply(f.target,o)}},n.offAll=function(r){n._handlers[r]=null},n}())._handlers={},t=a))||t);r._RF.pop()}}}));

System.register("chunks:///_virtual/collect_event_item.ts",["./rollupPluginModLoBabelHelpers.js","cc"],(function(e){var t,n,i,r,o,c,l,a,s;return{setters:[function(e){t=e.applyDecoratedDescriptor,n=e.inheritsLoose,i=e.initializerDefineProperty,r=e.assertThisInitialized},function(e){o=e.cclegacy,c=e._decorator,l=e.Node,a=e.Label,s=e.Component}],execute:function(){var u,p,_,f,m;o._RF.push({},"41b6e5JWaRITZ+Utqj3eJXx","collect_event_item",void 0);var v=c.ccclass,b=c.property;e("collect_event_item",(u=v("collect_event_item"),p=b(l),u((m=t((f=function(e){function t(){for(var t,n=arguments.length,o=new Array(n),c=0;c<n;c++)o[c]=arguments[c];return t=e.call.apply(e,[this].concat(o))||this,i(t,"lab_name",m,r(t)),t}return n(t,e),t.prototype.initView=function(e){this.lab_name.getComponent(a).string="事件id:"+e},t}(s)).prototype,"lab_name",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),_=f))||_));o._RF.pop()}}}));

System.register("chunks:///_virtual/color.ts",["./rollupPluginModLoBabelHelpers.js","cc","./cp_palette.ts"],(function(t){var e,o,r,n,i,c,l,a,p,u;return{setters:[function(t){e=t.applyDecoratedDescriptor,o=t.inheritsLoose,r=t.initializerDefineProperty,n=t.assertThisInitialized},function(t){i=t.cclegacy,c=t.Node,l=t._decorator,a=t.Sprite,p=t.Component},function(t){u=t.default}],execute:function(){var s,f,h,_,d,g;i._RF.push({},"c8b3c6NUTlDtpBZJBbFLgHd","color",void 0);var y=l,b=y.ccclass,v=y.property;t("default",(s=v(u),f=v(c),b((d=e((_=function(t){function e(){for(var e,o=arguments.length,i=new Array(o),c=0;c<o;c++)i[c]=arguments[c];return e=t.call.apply(t,[this].concat(i))||this,r(e,"cp_palette",d,n(e)),r(e,"target",g,n(e)),e}o(e,t);var i=e.prototype;return i.onLoad=function(){this.node.on("click",this.on_click_self,this)},i.on_click_self=function(){var t=this.target.getComponent(a);this.cp_palette.show({color:t.color,alpha:t.color.a,update_listener:function(e,o){e.a=o,t.color=e}})},e}(p)).prototype,"cp_palette",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),g=e(_.prototype,"target",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),h=_))||h));i._RF.pop()}}}));

System.register("chunks:///_virtual/config.ts",["cc","./data.ts"],(function(e){var _,t,p,n,i;return{setters:[function(e){_=e.cclegacy,t=e._decorator,p=e.Color},function(e){n=e.widget_item_data,i=e.scene_item_data}],execute:function(){_._RF.push({},"ad37c+eA3RLWJubWu+s/0zX","config",void 0);t.ccclass,t.property;var s=e("config",function(){function e(){}return e.init=function(){e.Widget_Type.set(e.Widget_Type_List.CLICK_TYPE,new n("点击",this.Widget_Type_List.CLICK_TYPE)),e.Widget_Type.set(e.Widget_Type_List.SLIDE_TYPE,new n("滑动",this.Widget_Type_List.SLIDE_TYPE)),e.Widget_Type.set(e.Widget_Type_List.DRAG_TYPE,new n("拖拽",this.Widget_Type_List.DRAG_TYPE)),e.Widget_Type.set(e.Widget_Type_List.IMG_TYPE,new n("图片",this.Widget_Type_List.IMG_TYPE)),e.Widget_Type.set(e.Widget_Type_List.ACTION_TYPE,new n("动画",this.Widget_Type_List.ACTION_TYPE)),e.Widget_Type.set(e.Widget_Type_List.UI_TOP,new n("弹窗",this.Widget_Type_List.UI_TOP)),e.Widget_Type.set(e.Widget_Type_List.TEXT_SOUND,new n("文字和语音",this.Widget_Type_List.TEXT_SOUND)),e.Widget_Type.set(e.Widget_Type_List.QUESTION_SELECT,new n("问题选择",this.Widget_Type_List.QUESTION_SELECT)),e.Widget_Type.set(e.Widget_Type_List.COUNT_DOWN,new n("倒计时",this.Widget_Type_List.COUNT_DOWN)),e.SceneType.set(e.Scene_Type_List.single_screen,new i("独立场景",e.Scene_Type_List.single_screen,!0)),e.SceneType.set(e.Scene_Type_List.many_screen_switch_up_down,new i("多场景-上下",e.Scene_Type_List.many_screen_switch_up_down)),e.SceneType.set(e.Scene_Type_List.many_screen_switch_left_right,new i("多场景-左右",e.Scene_Type_List.many_screen_switch_left_right)),e.slide_type_map.set(e.slide_type.down,"下"),e.slide_type_map.set(e.slide_type.up,"上"),e.slide_type_map.set(e.slide_type.left,"左"),e.slide_type_map.set(e.slide_type.right,"右"),e.slide_type_map.set(e.slide_type.up_down,"上下"),e.slide_type_map.set(e.slide_type.left_right,"左右"),e.clcik_type_map.set(e.clcik_type.Multiple_clicks,"多次点击"),e.clcik_type_map.set(e.clcik_type.Press_and_hold,"长按"),e.clcik_type_map.set(e.clcik_type.click,"单击"),e.clcik_type_map.set(e.clcik_type.click_not_auto_finish,"单击(不自动完成)"),e.event_type_map.set(e.event_type.be_event,"被动触发事件"),e.event_type_map.set(e.event_type.delay_exe_event,"延迟时间调用一个事件"),e.event_type_map.set(e.event_type.active_event,"激活交互"),e.event_type_map.set(e.event_type.hide,"隐藏"),e.event_type_map.set(e.event_type.text_sound,"出现文字及语音"),e.event_type_map.set(e.event_type.play_ani,"播放动画"),e.event_type_map.set(e.event_type.play_sound,"播放音效"),e.event_type_map.set(e.event_type.show_question_select,"出现问题选择"),e.event_type_map.set(e.event_type.top_view,"弹窗"),e.event_type_map.set(e.event_type.top_view_hide,"弹窗隐藏"),e.event_type_map.set(e.event_type.stop_active_event,"停用交互"),e.event_type_map.set(e.event_type.collect_event,"收集事件"),e.event_type_map.set(e.event_type.change_one_item_status,"改变指定道具资源"),e.event_type_map.set(e.event_type.event_group,"事件组"),e.event_type_map.set(e.event_type.switch_scene_event,"多场景-切换场景事件"),e.event_type_map.set(e.event_type.more_scene_is_show_arrow_event,"多场景-是否显示箭头事件"),e.event_type_map.set(e.event_type.more_scene_jump_assigned_page_event,"多场景-跳转指定页数事件"),e.event_type_map.set(e.event_type.show_scene_title,"显示场景标签"),e.event_type_map.set(e.event_type.start_event,"开始事件"),e.event_type_map.set(e.event_type.fail_event,"失败事件"),e.event_type_map.set(e.event_type.stop_play_loop_sound,"停止播放一个音效"),e.event_type_map.set(e.event_type.scene_ani,"场景动画"),e.event_type_map.set(e.event_type.delete_drag_other_data,"删除拖拽控件的其他拖拽目标"),e.top_view_type_map.set(e.top_view_type.__null,"暂未选择"),e.top_view_type_map.set(e.top_view_type.not_have_interact,"没有交互"),e.top_view_type_map.set(e.top_view_type.interact_input,"输入验证"),e.top_view_type_map.set(e.top_view_type.interact_page,"多页面切换"),e.top_view_type_map.set(e.top_view_type.interact_puzzle,"拼图"),e.top_view_type_map.set(e.top_view_type.interact_scene,"场景"),e.top_view_type_map.set(e.top_view_type.pointer_ding_wei,"指针定位"),e.top_view_type_map.set(e.top_view_type.wei_chi_pointer,"维持指针"),e.top_view_type_map.set(e.top_view_type.boss_info,"boss属性"),e.question_type_map.set(e.question_type.two,"2"),e.question_type_map.set(e.question_type.three,"3"),e.question_type_map.set(e.question_type.four,"4"),e.task_type_map.set(e.task_type.zhao_xi_jie,"找细节-说明：在图中找指定的细节"),e.task_type_map.set(e.task_type.guo_ju_qing,"过剧情-带规则-说明：按照剧情提示进行操作"),e.task_type_map.set(e.task_type.da_guai,"打怪-说明：使用场上的道具攻击怪物"),e.task_type_map.set(e.task_type.guo_du,"过度场景-说明：无答案、无提示进行操作"),e.task_type_map.set(e.task_type.guo_ju_qing_not_rule,"过剧情-无规则-说明：按照剧情提示进行操作"),e.task_type_map.set(e.task_type.guo_ju_qing_dai_dao_ju,"过剧情-带道具-说明：按照剧情进行道具交互"),e.Zindex_type_map.set(e.Zindex_type.Zindex_scene,"场景层"),e.Zindex_type_map.set(e.Zindex_type.Zindex_ui,"界面UI层"),e.Zindex_type_map.set(e.Zindex_type.zIndex_top,"弹出层"),e.widget_scale_dir_map.set(e.widget_scale_dir.up,"向下"),e.widget_scale_dir_map.set(e.widget_scale_dir.left,"向左"),e.widget_scale_dir_map.set(e.widget_scale_dir.normal,"正常"),e.zhao_xi_jie_tip_type_map.set(e.zhao_xi_jie_tip_type.select_all,"全部"),e.zhao_xi_jie_tip_type_map.set(e.zhao_xi_jie_tip_type.select_tips,"单个")},e.getNewId=function(){return e.last_id+=1,e.last_id},e.get_event_type_name=function(_){void 0===_&&(_=e.event_type.play_ani);var t="";switch(_){case e.event_type.play_ani:t="播放动画";break;case e.event_type.top_view:t="弹窗";break;case e.event_type.text_sound:t="文字及语音";break;case e.event_type.change_one_item_status:t="改变指定道具资源";break;case e.event_type.show_new_item:t="出现新道具";break;case e.event_type.show_question_select:t="出现问题选择";break;case e.event_type.start_event:t="开始事件";break;case e.event_type.collect_event:t="收集事件";break;case e.event_type.active_event:t="激活";break;case e.event_type.stop_active_event:t="停用交互";break;case e.event_type.countdown_over:t="倒计时结束";break;case e.event_type.be_event:t="被动触发事件";break;case e.event_type.hide:t="触发让控件隐藏";break;case e.event_type.delay_exe_event:t="延迟多久执行一个事件";break;case e.event_type.fail_event:t="失败";break;case e.event_type.play_sound:t="播放一个音效";break;case e.event_type.show_scene_title:t="显示场景的标签";break;case e.event_type.scene_ani:t="场景动画";break;case e.event_type.delete_drag_other_data:t="删除其他拖拽目标的属性";break;case e.event_type.stop_play_loop_sound:t="停止一个音效";break;case e.event_type.switch_scene_event:t="多场景-切换场景事件";break;case e.event_type.more_scene_is_show_arrow_event:t="多场景-是否显示箭头事件";break;case e.event_type.more_scene_jump_assigned_page_event:t="多场景-跳转指定页数事件";break;case e.event_type.top_view_hide:t="弹窗隐藏";break;case e.event_type.event_group:t="事件组"}return t},e}());s.debug=!0,s.domain="https://zcapi.xwrun.com",s.version="v2.0.1",s.is_MAC_edit=!1,s.select_res_and_control_type={RES_TYPE:0,CONTROL_TYPE:1,SCENE_SELECT:2,TASK:3},s.select_res_btn_type={ITEM_LIST:0,COMPONENT_LIST:1,BG_LIST:2,SOUND_LIST:3},s.Event={BackLevelList:"BackLevelList",PLAY_SOUND:"PLAY_SOUND",DragWidget:"DragWidget",DragRes:"DragRes",DragWidgetEnd:"DragWidgetEnd",DragResEndOnCheck:"DragResEndOnCheck",DragResEnd:"DragResEnd",UpdateSceneList:"UpdateSceneList",UpdateEditScene:"UpdateEditScene",UpdateAttributes:"UpdateAttributes",UpdateAttributesToView:"UpdateAttributesToView",RemoveWidget:"RemoveWidget",updateWidgetData:"updateWidgetData",ChangeSelectPage:"ChangeSelectPage",ShowWidgetList:"ShowWidgetList"},s.COLOR_LIST=[(new p).fromHEX("#2e8b57"),(new p).fromHEX("#FF0000"),(new p).fromHEX("#664228"),(new p).fromHEX("#003153"),(new p).fromHEX("#422256"),(new p).fromHEX("#FBD26A"),(new p).fromHEX("#004ea2"),(new p).fromHEX("#ac6c56"),(new p).fromHEX("#ffa631"),(new p).fromHEX("#009664"),(new p).fromHEX("#e7767f")],s.Widget_Type=new Map,s.Widget_Type_List={CLICK_TYPE:0,SLIDE_TYPE:1,DRAG_TYPE:2,IMG_TYPE:3,ACTION_TYPE:4,UI_TOP:5,TEXT_SOUND:6,QUESTION_SELECT:7,COUNT_DOWN:8},s.SceneType=new Map,s.Scene_Type_List={single_screen:0,many_screen_switch_up_down:1,many_screen_switch_left_right:2},s.attributes_type={widget:0,scene:1},s.attributes_list_type={pos:"pos",size:"size",url:"url",origin:"origin",delete:"delete",drag:"drag_size",drag_err_back_status:"drag_err_back_status",slide:"slide",click:"click",is_interaction:"is_interaction",animation:"animation",find_widget_pos:"find_widget_pos",active:"active",top:"top",text_sound:"text_sound",question_select:"question_select",count_down:"count_down",zIndex:"zIndex",dir:"dir",show:"show",scene_rule_tips:"scene_rule_tips",remark:"remark",rotation:"rotation",anchor:"anchor",show_more_scene_arrow:"show_more_scene_arrow"},s.last_id=0,s.slide_type_map=new Map,s.slide_type={up:0,down:1,left:2,right:3,up_down:4,left_right:5},s.clcik_type_map=new Map,s.clcik_type={Press_and_hold:0,Multiple_clicks:1,click:2,click_not_auto_finish:3},s.task_type_map=new Map,s.task_type={zhao_xi_jie:0,guo_ju_qing:1,da_guai:2,guo_du:3,guo_ju_qing_not_rule:4,guo_ju_qing_dai_dao_ju:5},s.zhao_xi_jie_tip_type_map=new Map,s.zhao_xi_jie_tip_type={select_tips:0,select_all:1},s.event_type_map=new Map,s.event_type={play_ani:0,top_view:1,text_sound:2,change_one_item_status:3,show_new_item:4,show_question_select:5,start_event:6,collect_event:7,active_event:8,stop_active_event:9,countdown_over:10,be_event:11,hide:12,delay_exe_event:13,fail_event:14,play_sound:15,show_scene_title:16,scene_ani:17,delete_drag_other_data:18,stop_play_loop_sound:19,switch_scene_event:20,more_scene_is_show_arrow_event:21,more_scene_jump_assigned_page_event:22,top_view_hide:23,event_group:100},s.top_view_type_map=new Map,s.top_view_type={__null:-1,not_have_interact:0,interact_input:1,interact_page:2,interact_puzzle:3,interact_scene:4,pointer_ding_wei:5,wei_chi_pointer:6,boss_info:7},s.question_type_map=new Map,s.question_type={two:2,three:3,four:4},s.update_type={update_all:0,update_img:1,update_info:2},s.Zindex_type_map=new Map,s.Zindex_type={Zindex_scene:0,Zindex_ui:1,zIndex_top:2},s.widget_scale_dir_map=new Map,s.widget_scale_dir={left:0,normal:1,up:2},s.switch_scene_page_direction={unknown:-1,up:1,down:2,left:3,right:4},s.EventRun={NOTICE_EVENT:"NOTICE_EVENT",WIDGET_FINISH:"WIDGET_FINISH",WIDGET_FAIL:"WIDGET_FAIL",WIDGET_HIDE:"WIDGET_HIDE",SHOW_ZHAO_BU_TONG_FINISH_STATUS:"SHOW_ZHAO_BU_TONG_FINISH_STATUS",ON_ZHAO_BU_TONG_ALL_FINISH:"ON_ZHAO_BU_TONG_ALL_FINISH",TOP_VIEW_CLOSE:"TOP_VIEW_CLOSE",TOP_VIEW_FINISH:"TOP_VIEW_FINISH",TOP_VIEW_FAIL:"TOP_VIEW_FAIL",ON_WIDGET_FINISH_COLLECT_EVENT:"ON_WIDGET_FINISH_COLLECT_EVENT",ON_COUNT_DOWN_FAIL:"ON_COUNT_DOWN_FAIL",ON_COUNT_DOWN_START:"ON_COUNT_DOWN_START",ON_SHOW_RULE_BTN:"ON_SHOW_RULE_BTN",ON_BOSS_HURT:"ON_BOSS_HURT",ON_WIN:"ON_WIN",SHOW_TIPS:"SHOW_TIPS",TOGGLE_YIN_YUE:"TOGGLE_YIN_YUE"},s.MSG_CODE={SUCCESS:1e4},s.TOKEN="",s.USER_DATA="userData",_._RF.pop()}}}));

System.register("chunks:///_virtual/content_only_tip.ts",["./rollupPluginModLoBabelHelpers.js","cc","./gameManager.ts"],(function(t){var n,e,i,o,r,l,c,a,p;return{setters:[function(t){n=t.applyDecoratedDescriptor,e=t.inheritsLoose,i=t.initializerDefineProperty,o=t.assertThisInitialized},function(t){r=t.cclegacy,l=t._decorator,c=t.Node,a=t.Component},function(t){p=t.gameManager}],execute:function(){var s,u,_,b,f;r._RF.push({},"1b873dUbxFBJqVqmzbhdlk8","content_only_tip",void 0);var y=l.ccclass,h=l.property;t("content_only_tip",(s=y("content_only_tip"),u=h(c),s((f=n((b=function(t){function n(){for(var n,e=arguments.length,r=new Array(e),l=0;l<e;l++)r[l]=arguments[l];return n=t.call.apply(t,[this].concat(r))||this,i(n,"btn_tip",f,o(n)),n.m_callback=null,n}e(n,t);var r=n.prototype;return r.start=function(){var t=this;this.btn_tip.on(c.EventType.TOUCH_END,(function(){p.Singleton.showTips(),null!=t.m_callback&&t.m_callback()}),this)},r.initView=function(t){void 0===t&&(t=null),this.m_callback=t},n}(a)).prototype,"btn_tip",[u],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),_=b))||_));r._RF.pop()}}}));

System.register("chunks:///_virtual/content_rule_and_tips.ts",["./rollupPluginModLoBabelHelpers.js","cc"],(function(t){var n,e,i,l,r,c,a,_;return{setters:[function(t){n=t.applyDecoratedDescriptor,e=t.inheritsLoose,i=t.initializerDefineProperty,l=t.assertThisInitialized},function(t){r=t.cclegacy,c=t._decorator,a=t.Node,_=t.Component}],execute:function(){var u,o,s,p,b,f,h;r._RF.push({},"bec54FVYJFM47xGq/oC0g/r","content_rule_and_tips",void 0);var m=c.ccclass,v=c.property;t("content_rule_and_tips",(u=m("content_rule_and_tips"),o=v(a),s=v(a),u((f=n((b=function(t){function n(){for(var n,e=arguments.length,r=new Array(e),c=0;c<e;c++)r[c]=arguments[c];return n=t.call.apply(t,[this].concat(r))||this,i(n,"btn_tips",f,l(n)),i(n,"btn_rule",h,l(n)),n.m_tips_call_back=null,n.m_rule_call_back=null,n}e(n,t);var r=n.prototype;return r.initView=function(t,n,e){var i=this;this.m_tips_call_back=t,this.m_rule_call_back=n,e||(this.btn_rule.active=!1),this.btn_tips.on(a.EventType.TOUCH_END,(function(){null!=i.m_tips_call_back&&i.m_tips_call_back()})),this.btn_rule.on(a.EventType.TOUCH_END,(function(){null!=i.m_rule_call_back&&i.m_rule_call_back()}))},r.showRuleBtn=function(){this.btn_rule.active=!0},n}(_)).prototype,"btn_tips",[o],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),h=n(b.prototype,"btn_rule",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),p=b))||p));r._RF.pop()}}}));

System.register("chunks:///_virtual/control.ts",["./rollupPluginModLoBabelHelpers.js","cc","./config.ts","./data.ts","./res_list.ts","./gameManager.ts"],(function(t){var e,n,i,s,_,l,r,a,o,c,u,b,h,p,m,d,g,f;return{setters:[function(t){e=t.applyDecoratedDescriptor,n=t.inheritsLoose,i=t.initializerDefineProperty,s=t.assertThisInitialized},function(t){_=t.cclegacy,l=t._decorator,r=t.Node,a=t.Prefab,o=t.Sprite,c=t.Color,u=t.Component,b=t.assetManager,h=t.Texture2D,p=t.SpriteFrame},function(t){m=t.config},function(t){d=t.bag_data},function(t){g=t.res_list},function(t){f=t.gameManager}],execute:function(){var v,w,y,E,T,C,k,R,L,S,z,O,x,Y,D,N,I,A,M,P,G,U,B,W,H,V,F,K,j,q,J,Q,X,Z,$,tt,et,nt,it,st;_._RF.push({},"46b5aI0fUdAkJRRiqgG1Wh+","control",void 0);var _t=l.ccclass,lt=l.property;t("control",(v=_t("control"),w=lt(r),y=lt(r),E=lt(r),T=lt(r),C=lt(r),k=lt(r),R=lt(r),L=lt(r),S=lt(r),z=lt(r),O=lt(r),x=lt(r),Y=lt(a),D=lt(a),N=lt(r),I=lt(r),A=lt(r),M=lt(r),v(((st=function(t){function e(){for(var e,n=arguments.length,_=new Array(n),l=0;l<n;l++)_[l]=arguments[l];return e=t.call.apply(t,[this].concat(_))||this,i(e,"btn_res",U,s(e)),i(e,"btn_control",B,s(e)),i(e,"btn_select_scene",W,s(e)),i(e,"btn_task",H,s(e)),e.res_and_control_select_index=0,e.res_and_control_btn_list=null,i(e,"btn_item_list",V,s(e)),i(e,"btn_bg_list",F,s(e)),i(e,"btn_component_list",K,s(e)),i(e,"btn_sound_list",j,s(e)),e.res_select_index=0,e.res_btn_list=null,i(e,"item_list",q,s(e)),i(e,"bg_list",J,s(e)),i(e,"component_list",Q,s(e)),i(e,"sound_list",X,s(e)),e.res_view_list=null,e.m_bag_data=null,i(e,"prefab_img_item",Z,s(e)),i(e,"prefab_sound_item",$,s(e)),e.res_data_list=[],i(e,"res_list",tt,s(e)),i(e,"widget_list",et,s(e)),i(e,"task_list",nt,s(e)),i(e,"scene_list",it,s(e)),e.m_main=null,e}n(e,t);var _=e.prototype;return _.start=function(){e.Singleton=this},_.get_bag_data=function(){return this.m_bag_data},_.push_scene_data=function(t){this.m_bag_data.content.push(t)},_.remove_scene_data=function(t){var e=this.m_bag_data.content.indexOf(t);if(-1!=e){for(var n=[],i=0;i<this.m_bag_data.content.length;i++){var s=this.m_bag_data.content[i];e===i||n.push(s)}this.m_bag_data.content=n}},_.init=function(t){this.m_main=t,null==this.res_and_control_btn_list&&(this.res_and_control_btn_list=[],this.btn_res.name=""+m.select_res_and_control_type.RES_TYPE,this.res_and_control_btn_list.push(this.btn_res),this.btn_control.name=""+m.select_res_and_control_type.CONTROL_TYPE,this.res_and_control_btn_list.push(this.btn_control),this.btn_select_scene.name=""+m.select_res_and_control_type.SCENE_SELECT,this.res_and_control_btn_list.push(this.btn_select_scene),this.btn_task.name=""+m.select_res_and_control_type.TASK,this.res_and_control_btn_list.push(this.btn_task)),this.res_and_control_select_index=m.select_res_and_control_type.RES_TYPE,null==this.res_btn_list&&(this.res_btn_list=[],this.btn_item_list.name=""+m.select_res_btn_type.ITEM_LIST,this.res_btn_list.push(this.btn_item_list),this.btn_component_list.name=""+m.select_res_btn_type.COMPONENT_LIST,this.res_btn_list.push(this.btn_component_list),this.btn_bg_list.name=""+m.select_res_btn_type.BG_LIST,this.res_btn_list.push(this.btn_bg_list),this.btn_sound_list.name=""+m.select_res_btn_type.SOUND_LIST,this.res_btn_list.push(this.btn_sound_list),this.res_view_list=[],this.res_view_list.push(this.item_list),this.res_view_list.push(this.component_list),this.res_view_list.push(this.bg_list),this.res_view_list.push(this.sound_list)),this.res_select_index=m.select_res_btn_type.ITEM_LIST,this.initBtnEvent(),this.initViews()},_.initViews=function(){for(var t=0;t<this.res_view_list.length;t++){var e=this.res_view_list[t];t===m.select_res_btn_type.SOUND_LIST?e.getComponent(g).initView(this.prefab_sound_item,t,this.res_data_list[t]):e.getComponent(g).initView(this.prefab_img_item,t,this.res_data_list[t]),e.active=this.res_select_index==t}},_.getResDataByType=function(t){for(var e=0;e<this.res_view_list.length;e++){var n=this.res_view_list[e];if(n.getComponent(g).getType()==t)return n.getComponent(g).getData()}return null},_.update_res_select_views=function(){for(var t=0;t<this.res_view_list.length;t++){this.res_view_list[t].active=this.res_select_index==t}},_.loading_all_resources=function(t,n){var i=this;this.m_bag_data=d.initBagData(t.content),(null==this.m_bag_data.content||null==this.m_bag_data.content||this.m_bag_data.content.length<=0)&&(this.m_bag_data.content=[]),this.res_data_list=[];var s=this.m_bag_data.item_list.length+this.m_bag_data.component_list.length+this.m_bag_data.bg_list.length+this.m_bag_data.sound_list.length;this.res_data_list.push(this.m_bag_data.item_list),this.res_data_list.push(this.m_bag_data.component_list),this.res_data_list.push(this.m_bag_data.bg_list),this.res_data_list.push(this.m_bag_data.sound_list);for(var _=0,l=function(){++_>=s&&n()},r=function(){var t=i.m_bag_data.item_list[a].url,n=i.m_bag_data.item_list[a].name;b.loadRemote(t,(function(i,s){if(!i&&s){var _=new h;_.image=s;var r=new p;r.texture=_,r.addRef(),e.res_map.set(n,r),f.res_map.set(t,r),l()}}))},a=0;a<this.m_bag_data.item_list.length;a++)r();for(var o=function(){var t=i.m_bag_data.bg_list[c].url,n=i.m_bag_data.bg_list[c].name;b.loadRemote(t,(function(i,s){if(!i&&s){var _=new h;_.image=s;var r=new p;r.texture=_,r.addRef(),e.res_map.set(n,r),f.res_map.set(t,r),l()}}))},c=0;c<this.m_bag_data.bg_list.length;c++)o();for(var u=function(){var t=i.m_bag_data.component_list[m].url,n=i.m_bag_data.component_list[m].name;b.loadRemote(t,(function(i,s){if(!i&&s){var _=new h;_.image=s;var r=new p;r.texture=_,r.addRef(),e.res_map.set(n,r),f.res_map.set(t,r),l()}}))},m=0;m<this.m_bag_data.component_list.length;m++)u();for(var g=function(){var t=i.m_bag_data.sound_list[v].url,n=i.m_bag_data.sound_list[v].name;b.loadRemote(t,(function(i,s){s.addRef(),!i&&s&&(e.mp3_cache.set(n,s),f.mp3_cache.set(t,s),l())}))},v=0;v<this.m_bag_data.sound_list.length;v++)g()},_.initBtnEvent=function(){for(var t=this,e=function(){var e=t.res_and_control_btn_list[n];t.res_view_list[n].active=!1,e.off(r.EventType.TOUCH_END),e.on(r.EventType.TOUCH_END,(function(){t.select_res_btn_type_on_click(parseInt(e.name))}),e)},n=0;n<this.res_and_control_btn_list.length;n++)e();this.select_res_btn_type_on_click(this.res_and_control_select_index);for(var i=function(){var e=t.res_btn_list[s];e.off(r.EventType.TOUCH_END),e.on(r.EventType.TOUCH_END,(function(){t.select_res_and_control_type_on_click(parseInt(e.name))}),e)},s=0;s<this.res_btn_list.length;s++)i();this.select_res_and_control_type_on_click(this.res_select_index)},_.hide_all=function(){this.task_list.active=!1,this.widget_list.active=!1,this.res_list.active=!1,this.scene_list.active=!1,this.btn_res.getComponent(o).color=c.GRAY,this.btn_control.getComponent(o).color=c.GRAY,this.btn_select_scene.getComponent(o).color=c.GRAY,this.btn_task.getComponent(o).color=c.GRAY},_.show_res=function(){this.hide_all(),this.res_list.active=!0,this.btn_res.getComponent(o).color=c.YELLOW},_.show_widget=function(){this.hide_all(),this.widget_list.active=!0,this.btn_control.getComponent(o).color=c.YELLOW},_.show_select_scene=function(){this.hide_all(),this.scene_list.active=!0,this.btn_select_scene.getComponent(o).color=c.YELLOW},_.show_task=function(){this.hide_all(),this.task_list.active=!0,this.btn_task.getComponent(o).color=c.YELLOW},_.select_res_btn_type_on_click=function(t){switch(t){case m.select_res_and_control_type.RES_TYPE:this.show_res();break;case m.select_res_and_control_type.CONTROL_TYPE:this.show_widget();break;case m.select_res_and_control_type.SCENE_SELECT:this.show_select_scene();break;case m.select_res_and_control_type.TASK:this.show_task()}this.res_and_control_select_index=t},_.select_res_and_control_type_on_click=function(t){for(var e=this.res_btn_list[t],n=0;n<this.res_btn_list.length;n++){var i=this.res_btn_list[n];n==t||(i.getComponent(o).color=c.GRAY)}e.getComponent(o).color=c.YELLOW,this.res_select_index=t,this.update_res_select_views()},e}(u)).Singleton=null,st.res_map=new Map,st.mp3_cache=new Map,U=e((G=st).prototype,"btn_res",[w],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),B=e(G.prototype,"btn_control",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),W=e(G.prototype,"btn_select_scene",[E],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),H=e(G.prototype,"btn_task",[T],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),V=e(G.prototype,"btn_item_list",[C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),F=e(G.prototype,"btn_bg_list",[k],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),K=e(G.prototype,"btn_component_list",[R],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),j=e(G.prototype,"btn_sound_list",[L],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),q=e(G.prototype,"item_list",[S],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),J=e(G.prototype,"bg_list",[z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),Q=e(G.prototype,"component_list",[O],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),X=e(G.prototype,"sound_list",[x],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),Z=e(G.prototype,"prefab_img_item",[Y],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),$=e(G.prototype,"prefab_sound_item",[D],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),tt=e(G.prototype,"res_list",[N],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),et=e(G.prototype,"widget_list",[I],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),nt=e(G.prototype,"task_list",[A],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),it=e(G.prototype,"scene_list",[M],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),P=G))||P));_._RF.pop()}}}));

System.register("chunks:///_virtual/control2.ts",["./rollupPluginModLoBabelHelpers.js","cc","./cp_palette.ts"],(function(t){var e,r,n,i,o,l,c,a,p;return{setters:[function(t){e=t.applyDecoratedDescriptor,r=t.inheritsLoose,n=t.initializerDefineProperty,i=t.assertThisInitialized},function(t){o=t.cclegacy,l=t.Slider,c=t._decorator,a=t.Component},function(t){p=t.default}],execute:function(){var s,u,d,f,h,_,y;o._RF.push({},"75d3dGVLPBDZL2YwMxCbFuQ","control",void 0);var g=c,b=g.ccclass,v=g.property;t("control",(s=b("control"),u=v(p),d=v(l),s((_=e((h=function(t){function e(){for(var e,r=arguments.length,o=new Array(r),l=0;l<r;l++)o[l]=arguments[l];return e=t.call.apply(t,[this].concat(o))||this,n(e,"cp_palette",_,i(e)),n(e,"slider",y,i(e)),e}r(e,t);var o=e.prototype;return o.onLoad=function(){this.cp_palette.hide(),this.slider.progress=this.cp_palette.density/64},o.on_change_slider=function(t){this.cp_palette.density=4*Math.floor(15*t.progress)+4,this.cp_palette.update_all()},e}(a)).prototype,"cp_palette",[u],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),y=e(h.prototype,"slider",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),f=h))||f));o._RF.pop()}}}));

System.register("chunks:///_virtual/Coroutine.ts",["./rollupPluginModLoBabelHelpers.js","cc"],(function(e){var t,n,i,r,o,u;return{setters:[function(e){t=e.createClass},function(e){n=e.cclegacy,i=e.Component,r=e.director,o=e.Director,u=e.isValid}],execute:function(){n._RF.push({},"6b526Lo6NBIEpubgHzyU7Jv","Coroutine",void 0);var a=function(){function e(e){this._endTime=0,this._currTime=0,this._endTime=e}return e.prototype.isOver=function(e){return this._currTime+=e,this._currTime>=this._endTime},e}(),s=function(){function e(e){this._frameCount=0,this._frame=0,this._frameCount=e}return e.prototype.isOver=function(e){return this._frame++>=this._frameCount},e}();e("default",function(){function e(){var e;this._mapCoroutine=new Map,this._getTimmer=null,this._lastTime=0,"function"!=typeof(null==(e=window)||null==(e=e.performance)?void 0:e.now)?this._getTimmer=function(){return(new Date).getTime()}:(this._lastTime=window.performance.now(),this._getTimmer=function(){return window.performance.now()})}e.createWaitForSecond=function(e){return new a(e)},e.createWaitForFrame=function(e){return new s(e)};var n=e.prototype;return n.start=function(e,t){if(!(e instanceof i))throw Error("component must a component");for(var n={generator:null,comp:e},u=arguments.length,a=new Array(u>2?u-2:0),s=2;s<u;s++)a[s-2]=arguments[s];if("string"==typeof t){var l=e[t],c=l.call.apply(l,[e].concat(a));if("function"!=typeof(null==c?void 0:c.next))throw Error(t+" is not a GeneratorFunction !!!");n.generator=c,n.gfunc=e[t]}else n.gfunc=t,n.generator=t.call.apply(t,[e].concat(a));var f=this._mapCoroutine.size;if(n.generator){var h=this._mapCoroutine.get(e);h?h.push(n):this._mapCoroutine.set(e,[n])}0==f&&this._mapCoroutine.size>0&&(this._lastTime=this._getTimmer(),r.on(o.EVENT_AFTER_UPDATE,this._update,this))},n.stop=function(e,t){if(t){var n=this._mapCoroutine.get(e);if(!n)return;for(var i=[],r=0;r<n.length;++r)n[r]?("string"==typeof t&&n[r].gfunc===e[t]||n[r].gfunc==t)&&(n[r]=null,i.push(r)):(n[r]=null,i.push(r));if(i.length>=n.length)return void this._mapCoroutine.delete(e);i.length>=2?this._mapCoroutine.set(e,n.filter((function(e){return!!e}))):1==i.length&&n.splice(i[0],1)}else this._mapCoroutine.delete(e)},n._update=function(){var e=this,t=(this._getTimmer()-this._lastTime)/1e3;this._mapCoroutine.forEach((function(n,i){for(var r=[],o=n.length,l=0;l<o;++l){var c;if(n&&u(null==(c=n[l])||null==(c=c.comp)?void 0:c.node,!0)){if(n[l].waiter&&!n[l].waiter.isOver(t))continue;var f=n[l].generator.next();if(f.value instanceof a){if(!f.value.isOver(t)){n[l].waiter=f.value;continue}}else if(f.value instanceof s&&(n[l].waiter=f.value,!f.value.isOver(t))){n[l].waiter=f.value;continue}f.done&&(r.push(l),n[l]=null)}else r.push(l),n[l]=null}r.length>=n.length?e._mapCoroutine.delete(i):r.length>=2?e._mapCoroutine.set(i,n.filter((function(e){return!!e}))):1==r.length&&n.splice(r[0],1)})),this._lastTime=this._getTimmer(),0==this._mapCoroutine.size&&r.off(o.EVENT_AFTER_UPDATE,this._update,this)},t(e,null,[{key:"instance",get:function(){return null==e._instance&&(e._instance=new e),e._instance}}]),e}())._instance=null,n._RF.pop()}}}));

System.register("chunks:///_virtual/count_down.ts",["./rollupPluginModLoBabelHelpers.js","cc","./view_ui_att_item.ts"],(function(t){var e,r,a,i,n,o,s,_,l,g,m,u,f;return{setters:[function(t){e=t.applyDecoratedDescriptor,r=t.inheritsLoose,a=t.initializerDefineProperty,i=t.assertThisInitialized},function(t){n=t.cclegacy,o=t._decorator,s=t.Node,_=t.SpriteFrame,l=t.Sprite,g=t.Label,m=t.Color,u=t.Component},function(t){f=t.view_ui_att_item}],execute:function(){var h,p,c,B,d,b,P,w,C,y,v,x,z,F,D,A,L;n._RF.push({},"0426cOeF8VP9LvFvhZFYmFQ","count_down",void 0);var S=o.ccclass,V=o.property;t("count_down",(h=S("count_down"),p=V(s),c=V(s),B=V(s),d=V(s),b=V(_),P=V(_),w=V(_),h((v=e((y=function(t){function e(){for(var e,r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return(e=t.call.apply(t,[this].concat(n))||this).m_data=null,a(e,"ProgressBar_Bg",v,i(e)),a(e,"ProgressBar_Bar",x,i(e)),a(e,"img_text",z,i(e)),a(e,"lab_time",F,i(e)),a(e,"sf_ProgressBar_Bg_default",D,i(e)),a(e,"sf_ProgressBar_Bar_default",A,i(e)),a(e,"sf_img_text_default",L,i(e)),e}r(e,t);var n=e.prototype;return n.initView=function(t){this.m_data=t,this.updateView(this.m_data)},n.updateView=function(t){this.m_data=t,this.ProgressBar_Bar.getComponent(f).updateAtt(this.m_data.ProgressBar_Bar),this.m_data.ProgressBar_Bar=this.ProgressBar_Bar.getComponent(f).getData(),this.ProgressBar_Bg.getComponent(f).updateAtt(this.m_data.ProgressBar_Bg),this.m_data.ProgressBar_Bg=this.ProgressBar_Bg.getComponent(f).getData(),this.img_text.getComponent(f).updateAtt(this.m_data.img_text),this.m_data.img_text=this.img_text.getComponent(f).getData(),0!=this.m_data.ProgressBar_Bar.res.length&&0!=this.m_data.ProgressBar_Bar.res_name.length||(this.ProgressBar_Bar.getComponent(f).getComponent(l).spriteFrame=this.sf_ProgressBar_Bar_default),0!=this.m_data.ProgressBar_Bg.res.length&&0!=this.m_data.ProgressBar_Bg.res_name.length||(this.ProgressBar_Bg.getComponent(f).getComponent(l).spriteFrame=this.sf_ProgressBar_Bg_default),0!=this.m_data.img_text.res.length&&0!=this.m_data.img_text.res_name.length||(this.img_text.getComponent(f).getComponent(l).spriteFrame=this.sf_img_text_default),this.m_data.time_count>0?(this.lab_time.getComponent(g).string=this.m_data.time_count+"秒",this.lab_time.active=!0):this.lab_time.active=!1,null!=this.m_data.font_info&&(this.lab_time.getComponent(g).fontSize=this.m_data.font_info.font_size,this.lab_time.getComponent(g).lineHeight=this.m_data.font_info.font_size,this.lab_time.getComponent(g).color=new m(this.m_data.font_info.font_color.r,this.m_data.font_info.font_color.g,this.m_data.font_info.font_color.b))},e}(u)).prototype,"ProgressBar_Bg",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),x=e(y.prototype,"ProgressBar_Bar",[c],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),z=e(y.prototype,"img_text",[B],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),F=e(y.prototype,"lab_time",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),D=e(y.prototype,"sf_ProgressBar_Bg_default",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),A=e(y.prototype,"sf_ProgressBar_Bar_default",[P],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),L=e(y.prototype,"sf_img_text_default",[w],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),C=y))||C));n._RF.pop()}}}));

System.register("chunks:///_virtual/count_down2.ts",["./rollupPluginModLoBabelHelpers.js","cc","./gameManager.ts"],(function(t){var i,e,n,a,o,r,s,_,l,m,u,c;return{setters:[function(t){i=t.applyDecoratedDescriptor,e=t.inheritsLoose,n=t.initializerDefineProperty,a=t.assertThisInitialized},function(t){o=t.cclegacy,r=t._decorator,s=t.Node,_=t.Label,l=t.Color,m=t.ProgressBar,u=t.Component},function(t){c=t.gameManager}],execute:function(){var g,d,h,f,p,B,b,w,v,P,y;o._RF.push({},"f65f7MuER9IdbjB0XqwvK24","count_down",void 0);var C=r.ccclass,z=r.property;t("count_down",(g=C("count_down"),d=z(s),h=z(s),f=z(s),p=z(s),g((w=i((b=function(t){function i(){for(var i,e=arguments.length,o=new Array(e),r=0;r<e;r++)o[r]=arguments[r];return(i=t.call.apply(t,[this].concat(o))||this).m_data=null,n(i,"ProgressBar_Bg",w,a(i)),n(i,"ProgressBar_Bar",v,a(i)),n(i,"img_text",P,a(i)),n(i,"lab_time",y,a(i)),i.time_count=0,i.add_time=0,i.m_over_call=null,i.m_widget_data=null,i}e(i,t);var o=i.prototype;return o.init=function(t,i,e){this.m_data=t,this.m_widget_data=e,this.m_over_call=i,this.add_time=0,null!=this.m_data.font_info&&(this.lab_time.getComponent(_).fontSize=this.m_data.font_info.font_size,this.lab_time.getComponent(_).lineHeight=this.m_data.font_info.font_size,this.lab_time.getComponent(_).color=new l(this.m_data.font_info.font_color.r,this.m_data.font_info.font_color.g,this.m_data.font_info.font_color.b)),c.initUiBaseAtt(this.ProgressBar_Bar,this.m_data.ProgressBar_Bar),c.initUiBaseAtt(this.ProgressBar_Bg,this.m_data.ProgressBar_Bg),c.initUiBaseAtt(this.img_text,this.m_data.img_text),this.ProgressBar_Bg.getComponent(m).totalLength=this.m_data.ProgressBar_Bg.width,this.m_data.time_count>0&&this.m_data.is_show_time?(this.lab_time.getComponent(_).string=this.m_data.time_count+"秒",this.lab_time.active=!0):this.lab_time.active=!1},o.getData=function(){return this.m_data},o.addTime=function(t,i){this.m_widget_data.att.id==t&&(this.add_time+=i)},o.startCountDown=function(){var t=this;this.schedule((function(){t.time_count+=1;var i=t.m_data.time_count+t.add_time;if(t.time_count>i)return t.unscheduleAllCallbacks(),void(null!=t.m_over_call&&t.m_over_call(!0));t.ProgressBar_Bg.getComponent(m).progress=1-t.time_count/i,t.m_data.is_show_time&&(t.lab_time.getComponent(_).string=i-t.time_count+"秒")}),1)},i}(u)).prototype,"ProgressBar_Bg",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),v=i(b.prototype,"ProgressBar_Bar",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),P=i(b.prototype,"img_text",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),y=i(b.prototype,"lab_time",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),B=b))||B));o._RF.pop()}}}));

System.register("chunks:///_virtual/cp_palette_color_alpha.ts",["./rollupPluginModLoBabelHelpers.js","cc","./cp_palette_util.ts"],(function(t){var e,o,i,r,n,a,p,s,c,l,h,u;return{setters:[function(t){e=t.applyDecoratedDescriptor,o=t.inheritsLoose,i=t.initializerDefineProperty,r=t.assertThisInitialized},function(t){n=t.cclegacy,a=t.Sprite,p=t.Node,s=t._decorator,c=t.UITransform,l=t.v3,h=t.Component},function(t){u=t.default}],execute:function(){var _,f,d,g,v,y;n._RF.push({},"79282zaeg5BfZdtDxOxfd65","cp_palette_color_alpha",void 0);var m=s,T=m.ccclass,b=m.property;t("default",(_=b(a),f=b(p),T((v=e((g=function(t){function e(){for(var e,o=arguments.length,n=new Array(o),a=0;a<o;a++)n[a]=arguments[a];return(e=t.call.apply(t,[this].concat(n))||this).cp_palette=null,i(e,"sprite",v,r(e)),i(e,"cursor",y,r(e)),e}o(e,t);var n=e.prototype;return n.onLoad=function(){this.node.on(p.EventType.TOUCH_START,this.on_touch_start,this),this.node.on(p.EventType.TOUCH_MOVE,this.on_touch_move,this)},n.onDestroy=function(){this.node.targetOff(this)},n.on_touch_start=function(t){var e=t.getUILocation(),o=this.node.getComponent(c),i=o.convertToNodeSpaceAR(l(e.x,e.y,0));this.cp_palette.alpha=Math.floor(i.y/o.height*255),this.cp_palette.update_all()},n.on_touch_move=function(t){var e=this.cursor.getPosition(),o=this.node.getComponent(c),i=(e.y+t.getDeltaY())/o.height;i=Math.max(0,i),i=Math.min(i,1),this.cp_palette.alpha=Math.floor(255*i),this.cp_palette.update_all()},n.update_sprite=function(){for(var t=[],e=this.cp_palette.get_hsv(),o=e.h,i=e.s,r=e.v,n=Math.min(this.cp_palette.density,255),a=0;a<n;a++){var p=a/(n-1)*255;t[a]=[u.get_rgba_arr(o,i,r,p)]}this.sprite.spriteFrame=u.grid2SpriteFrame(t,1,n)},n.update_cursor=function(){var t=this.cp_palette.alpha/255,e=this.node.getComponent(c);this.cursor.setPosition(this.cursor.getPosition().x,e.height*t)},e}(h)).prototype,"sprite",[_],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),y=e(g.prototype,"cursor",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),d=g))||d));n._RF.pop()}}}));

System.register("chunks:///_virtual/cp_palette_color_hue.ts",["./rollupPluginModLoBabelHelpers.js","cc","./cp_palette_util.ts"],(function(t){var e,i,o,n,r,s,a,h,p,c,l,u;return{setters:[function(t){e=t.applyDecoratedDescriptor,i=t.inheritsLoose,o=t.initializerDefineProperty,n=t.assertThisInitialized},function(t){r=t.cclegacy,s=t.Sprite,a=t.Node,h=t._decorator,p=t.UITransform,c=t.v3,l=t.Component},function(t){u=t.default}],execute:function(){var _,f,v,d,g,y;r._RF.push({},"c9397qD5D1A3pN+5sUx+UZ4","cp_palette_color_hue",void 0);var m=h,T=m.ccclass,b=m.property;t("default",(_=b(s),f=b(a),T((g=e((d=function(t){function e(){for(var e,i=arguments.length,r=new Array(i),s=0;s<i;s++)r[s]=arguments[s];return(e=t.call.apply(t,[this].concat(r))||this).cp_palette=null,o(e,"sprite",g,n(e)),o(e,"cursor",y,n(e)),e.h=null,e}i(e,t);var r=e.prototype;return r.onLoad=function(){this.node.on(a.EventType.TOUCH_START,this.on_touch_start,this),this.node.on(a.EventType.TOUCH_MOVE,this.on_touch_move,this)},r.onDestroy=function(){this.node.targetOff(this)},r.on_touch_start=function(t){var e=t.getUILocation(),i=this.node.getComponent(p),o=i.convertToNodeSpaceAR(c(e.x,e.y,0)),n=this.cp_palette.get_hsv(),r=(n.h,n.s),s=n.v;this.h=o.y/i.height,this.cp_palette.set_hsv(this.h,r,s),this.cp_palette.update_all()},r.on_touch_move=function(t){var e=this.cursor.getPosition(),i=this.node.getComponent(p),o=(e.y+t.getDeltaY())/i.height;o=Math.max(0,o),o=Math.min(o,1);var n=this.cp_palette.get_hsv(),r=(n.h,n.s),s=n.v;this.h=o,this.cp_palette.set_hsv(this.h,r,s),this.cp_palette.update_all()},r.update_sprite=function(){for(var t=[],e=this.cp_palette.density,i=0,o=1/e,n=0;n<e;n++)t[n]=[u.get_rgba_arr(i,1,1)],i+=o;this.sprite.spriteFrame=u.grid2SpriteFrame(t,1,this.cp_palette.density)},r.update_cursor=function(){var t=this.h;if(null==t&&(t=this.cp_palette.get_hsv().h),0!=t){this.h=null;var e=this.node.getComponent(p);this.cursor.setPosition(this.cursor.getPosition().x,e.height*t)}},e}(l)).prototype,"sprite",[_],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),y=e(d.prototype,"cursor",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),v=d))||v));r._RF.pop()}}}));

System.register("chunks:///_virtual/cp_palette_color_main.ts",["./rollupPluginModLoBabelHelpers.js","cc","./cp_palette_util.ts"],(function(t){var e,o,r,i,n,s,a,c,p,u,h,l;return{setters:[function(t){e=t.applyDecoratedDescriptor,o=t.inheritsLoose,r=t.initializerDefineProperty,i=t.assertThisInitialized},function(t){n=t.cclegacy,s=t.Sprite,a=t.Node,c=t._decorator,p=t.UITransform,u=t.v3,h=t.Component},function(t){l=t.default}],execute:function(){var _,d,f,g,v,m,y,b;n._RF.push({},"1974eLzeflJOJhVOoEHvWl/","cp_palette_color_main",void 0);var C=c,M=C.ccclass,P=C.property;t("default",(_=P(s),d=P(a),f=P(a),M((m=e((v=function(t){function e(){for(var e,o=arguments.length,n=new Array(o),s=0;s<o;s++)n[s]=arguments[s];return(e=t.call.apply(t,[this].concat(n))||this).cp_palette=null,r(e,"sprite",m,i(e)),r(e,"cursor",y,i(e)),r(e,"cursor_sprite",b,i(e)),e}o(e,t);var n=e.prototype;return n.onLoad=function(){this.node.on(a.EventType.TOUCH_START,this.on_touch_start,this),this.node.on(a.EventType.TOUCH_MOVE,this.on_touch_move,this)},n.onDestroy=function(){this.node.targetOff(this)},n.on_touch_start=function(t){var e=t.getUILocation(),o=this.node.getComponent(p).convertToNodeSpaceAR(u(e.x,e.y,0)),r=o.x,i=o.y;this.cursor.setPosition(r,i),this.update_color()},n.on_touch_move=function(t){var e=this.cursor.getPosition(),o=e.x+t.getDeltaX(),r=e.y+t.getDeltaY();this.cursor.setPosition(o,r),this.update_color()},n.update_color=function(){var t=this.node.getComponent(p),e=this.cursor.getPosition(),o=Math.max(e.x,0);o=Math.min(o,t.width);var r=Math.max(e.y,0);r=Math.min(r,t.height),this.cursor.setPosition(o,r);var i=this.cp_palette.get_hsv().h,n=o/t.width,s=r/t.height;this.cp_palette.set_hsv(i,n,s),this.cp_palette.update_render_from_main(),this.update_cursor_sprite()},n.update_sprite=function(){for(var t=[],e=this.cp_palette.density,o=this.cp_palette.get_hsv().h,r=0,i=0,n=1/(e-1),s=0;s<e;s++){t[s]=[],r=0;for(var a=0;a<e;a++)t[s].push(l.get_rgba_arr(o,r,i)),r+=n;i+=n}this.sprite.spriteFrame=l.grid2SpriteFrame(t,e,e)},n.update_cursor_sprite=function(){this.cp_palette.get_hsv().h;var t=this.cursor.getPosition().y/this.node.getComponent(p).height;this.cursor_sprite.getComponent(s).color=this.cursor_sprite.getComponent(s).color.fromHSV(0,0,Math.abs(1-t))},n.update_cursor=function(){var t=this.cp_palette.get_hsv(),e=(t.h,t.s),o=t.v,r=this.cp_palette.density,i=1/r,n=Math.round(o/i),s=Math.round(e/i),a=this.node.getComponent(p),c=a.width/r,u=a.height/r;this.cursor.setPosition(c*(s+.5),u*(n+.5)),this.update_cursor_sprite()},e}(h)).prototype,"sprite",[_],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),y=e(v.prototype,"cursor",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),b=e(v.prototype,"cursor_sprite",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),g=v))||g));n._RF.pop()}}}));

System.register("chunks:///_virtual/cp_palette_preview.ts",["./rollupPluginModLoBabelHelpers.js","cc"],(function(t){var e,o,n,i,r,l,a,p,c,u,s,_;return{setters:[function(t){e=t.applyDecoratedDescriptor,o=t.inheritsLoose,n=t.initializerDefineProperty,i=t.assertThisInitialized},function(t){r=t.cclegacy,l=t.Node,a=t.EditBox,p=t._decorator,c=t.Sprite,u=t.UIOpacity,s=t.Color,_=t.Component}],execute:function(){var d,h,f,g,y,b,m,v;r._RF.push({},"a4cbdl4nDlDN6HCgoipjaw9","cp_palette_preview",void 0);var w=p,C=w.ccclass,z=w.property;t("default",(d=z(l),h=z(l),f=z(a),C((b=e((y=function(t){function e(){for(var e,o=arguments.length,r=new Array(o),l=0;l<o;l++)r[l]=arguments[l];return(e=t.call.apply(t,[this].concat(r))||this).cp_palette=null,n(e,"in_node",b,i(e)),n(e,"out_node",m,i(e)),n(e,"out_editor",v,i(e)),e}o(e,t);var r=e.prototype;return r.init=function(t){this.in_node.getComponent(c).color=t.color.clone(),this.in_node.getComponent(u).opacity=t.alpha},r.on_change_edit_box=function(){try{if(this.out_editor.string.length<7)return;var t=(new s).fromHEX(this.out_editor.string+"FF");this.cp_palette.set_color(t),this.cp_palette.update_all()}catch(t){console.log(t.message)}},r.update_sprite=function(){this.out_node.getComponent(c).color=this.cp_palette.color,this.out_node.getComponent(u).opacity=this.cp_palette.alpha,this.out_editor.string="#"+this.cp_palette.color.toHEX().toUpperCase()},e}(_)).prototype,"in_node",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),m=e(y.prototype,"out_node",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),v=e(y.prototype,"out_editor",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),g=y))||g));r._RF.pop()}}}));

System.register("chunks:///_virtual/cp_palette_slider.ts",["./rollupPluginModLoBabelHelpers.js","cc"],(function(e){var t,i,r,a,n,s,l,o,c,p;return{setters:[function(e){t=e.applyDecoratedDescriptor,i=e.inheritsLoose,r=e.initializerDefineProperty,a=e.assertThisInitialized},function(e){n=e.cclegacy,s=e.Slider,l=e.EditBox,o=e.Enum,c=e._decorator,p=e.Component}],execute:function(){var u,_,h,d,b,f,g,y;n._RF.push({},"52906g2yoFDvJravYo4N1xq","cp_palette_slider",void 0);var v=c,x=v.ccclass,m=v.property,k=function(e){return e[e.R=0]="R",e[e.G=1]="G",e[e.B=2]="B",e[e.A=3]="A",e}(k||{});e("default",(u=m(s),_=m(l),h=m({type:o(k)}),x((f=t((b=function(e){function t(){for(var t,i=arguments.length,n=new Array(i),s=0;s<i;s++)n[s]=arguments[s];return t=e.call.apply(e,[this].concat(n))||this,r(t,"slider",f,a(t)),r(t,"edit_box",g,a(t)),r(t,"type",y,a(t)),t.cp_palette=null,t}i(t,e);var n=t.prototype;return n.init=function(){},n.on_change_slider=function(e){this.edit_box&&(this.edit_box.string=Math.floor(255*e.progress)+"",this._update_value())},n.on_change_edit_box=function(e){this._update_slider(),this._update_value()},n._update_slider=function(){if(this.slider){var e=Number(this.edit_box.string);e=Math.min(e,255),e=Math.max(e,0),this.slider.progress=e/255}},n._update_value=function(){var e=Number(this.edit_box.string);switch(this.type){case k.R:this.cp_palette.set_r(e);break;case k.G:this.cp_palette.set_g(e);break;case k.B:this.cp_palette.set_b(e);break;case k.A:this.cp_palette.alpha=e}this.cp_palette.update_all()},n.update_cursor=function(){var e=0,t=this.cp_palette.color;switch(this.type){case k.R:e=t.r;break;case k.G:e=t.g;break;case k.B:e=t.b;break;case k.A:e=this.cp_palette.alpha}this.edit_box.string=e+"",this._update_slider()},t}(p)).prototype,"slider",[u],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),g=t(b.prototype,"edit_box",[_],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),y=t(b.prototype,"type",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return k.R}}),d=b))||d));n._RF.pop()}}}));

System.register("chunks:///_virtual/cp_palette_util.ts",["cc"],(function(t){var r,e,n,a,u;return{setters:[function(t){r=t.cclegacy,e=t.Color,n=t.Texture2D,a=t.ImageAsset,u=t.SpriteFrame}],execute:function(){r._RF.push({},"697378RlmhNFp0UpqUyD6f3","cp_palette_util",void 0);t("default",function(){function t(){}return t.get_rgba_arr=function(t,r,n,a){void 0===a&&(a=255);var u=(new e).fromHSV(t,r,n);return[u.r,u.g,u.b,a]},t.get_rgba=function(t){return{r:t.r,g:t.g,b:t.b,a:t.a}},t.get_rgba_arr_by_color=function(t){return[t.r,t.g,t.b,t.a]},t.unit8array_to_texture2d=function(t,r,e){new n;var u=new a({_data:t,_compressed:!1,width:r,height:e,format:n.PixelFormat.RGBA8888}),i=new n;return i.setFilters(n.Filter.NEAREST,n.Filter.NEAREST),i.image=u,i},t.grid_to_texture2d=function(t,r,e){var n=null;n=new Uint8Array(4*t.length);for(var a=t[0],u=0;u<n.length;u+=4)a=t[u/4],n[u]=a[0],n[u+1]=a[1],n[u+2]=a[2],n[u+3]=a[3];return this.unit8array_to_texture2d(n,r,e)},t.grid2SpriteFrame=function(t,r,e){t.reverse();for(var n=[],a=0;a<t.length;a++)n.push.apply(n,t[a]);var i=new u;return i.texture=this.grid_to_texture2d(n,r,e),i.packable=!1,i},t}());r._RF.pop()}}}));

System.register("chunks:///_virtual/cp_palette.ts",["./rollupPluginModLoBabelHelpers.js","cc","./cp_palette_color_alpha.ts","./cp_palette_color_hue.ts","./cp_palette_color_main.ts","./cp_palette_preview.ts","./cp_palette_slider.ts"],(function(t){var e,o,i,l,r,a,p,n,c,_,s,u,h,d;return{setters:[function(t){e=t.applyDecoratedDescriptor,o=t.inheritsLoose,i=t.initializerDefineProperty,l=t.assertThisInitialized,r=t.createForOfIteratorHelperLoose},function(t){a=t.cclegacy,p=t._decorator,n=t.Color,c=t.Component},function(t){_=t.default},function(t){s=t.default},function(t){u=t.default},function(t){h=t.default},function(t){d=t.default}],execute:function(){var f,v,b,m,w,g,y,z,D,R;a._RF.push({},"1e571TbOKRK5IxqYQfl/DwZ","cp_palette",void 0);var C=p,H=C.ccclass,I=C.property;t("default",(f=I(s),v=I(u),b=I(_),m=I(h),H((y=e((g=function(t){function e(){for(var e,o=arguments.length,r=new Array(o),a=0;a<o;a++)r[a]=arguments[a];return e=t.call.apply(t,[this].concat(r))||this,i(e,"cp_palette_color_hue",y,l(e)),i(e,"cp_palette_color_main",z,l(e)),i(e,"cp_palette_color_alpha",D,l(e)),i(e,"cp_palette_preview",R,l(e)),e.options=void 0,e.density=32,e.color=n.GRAY,e.alpha=255,e}o(e,t);var a=e.prototype;return a.onLoad=function(){this.cp_palette_color_hue.cp_palette=this,this.cp_palette_color_main.cp_palette=this,this.cp_palette_color_alpha.cp_palette=this,this.cp_palette_preview.cp_palette=this,this.update_all(),this.show({color:n.RED,alpha:255,update_listener:function(){}})},a.show=function(t){this.options=t,this.color=t.color.clone(),this.alpha=t.alpha,this.node.active=!0,this.cp_palette_preview.init(t),this.update_all()},a.hide=function(){this.node.active=!1,this.options=null},a.on_click_close=function(){this.hide()},a.get_hsv=function(){return this.color.toHSV()},a.set_color=function(t){this.color.r=t.r,this.color.g=t.g,this.color.b=t.b},a.set_hsv=function(t,e,o){var i=(new n).fromHSV(t,e,o);this.set_color(i)},a.set_r=function(t){this.color.r=t},a.set_g=function(t){this.color.g=t},a.set_b=function(t){this.color.b=t},a.update_listener=function(){this.options&&this.options.update_listener(this.color.clone(),this.alpha)},a.update_all=function(){this.update_color_hub(),this.update_color_main(),this.update_color_alpha(),this.update_slider_rgba(),this.update_preview(),this.update_listener()},a.update_render_from_main=function(){this.update_slider_rgba(),this.update_preview(),this.update_listener()},a.update_color_hub=function(){this.cp_palette_color_hue.update_sprite(),this.cp_palette_color_hue.update_cursor()},a.update_color_main=function(){this.cp_palette_color_main.update_sprite(),this.cp_palette_color_main.update_cursor()},a.update_color_alpha=function(){this.cp_palette_color_alpha.update_sprite(),this.cp_palette_color_alpha.update_cursor()},a.update_slider_rgba=function(){for(var t,e=this.node.getComponentsInChildren(d),o=r(e);!(t=o()).done;){var i=t.value;i.cp_palette=this,i.update_cursor()}},a.update_preview=function(){this.cp_palette_preview.update_sprite()},e}(c)).prototype,"cp_palette_color_hue",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),z=e(g.prototype,"cp_palette_color_main",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),D=e(g.prototype,"cp_palette_color_alpha",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),R=e(g.prototype,"cp_palette_preview",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),w=g))||w));a._RF.pop()}}}));

System.register("chunks:///_virtual/cur_edit_scene.ts",["./rollupPluginModLoBabelHelpers.js","cc","./clientEvent.ts","./config.ts","./base_view.ts","./scroll_scene.ts","./tools.ts","./widget_item.ts","./data.ts"],(function(e){var t,n,i,o,s,a,c,r,d,g,u,l,h,p,_,m,v;return{setters:[function(e){t=e.inheritsLoose},function(e){n=e.cclegacy,i=e._decorator,o=e.instantiate,s=e.UITransform,a=e.Size,c=e.Vec3,r=e.director,d=e.Director,g=e.Component},function(e){u=e.ClientEvent},function(e){l=e.config},function(e){h=e.base_view},function(e){p=e.scroll_scene},function(e){_=e.tools},function(e){m=e.widget_item},function(e){v=e.widget_item_data}],execute:function(){var f;n._RF.push({},"cacdcZhSTlHOpW49uN5Bbik","cur_edit_scene",void 0);var C=i.ccclass;i.property,e("cur_edit_scene",C("cur_edit_scene")(f=function(e){function n(){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).m_edit_scene=null,t}t(n,e);var i=n.prototype;return i.start=function(){u.on(l.Event.UpdateEditScene,this.UpdateEditScene,this),u.on(l.Event.DragWidgetEnd,this.DragWidgetEnd,this),u.on(l.Event.RemoveWidget,this.removeWidget,this),u.on(l.Event.updateWidgetData,this.updateWidgetData,this)},i.initView=function(e){this.node.removeAllChildren(),this.m_edit_scene=e},i.DragWidgetEnd=function(){var e=this;if(this.m_edit_scene.getMain().action_node.children.length>0){var t=this.getCurEditBaseView();if(null===t)_.showToast("当前没有创建场景");else{var n=t.getCurPageView();if(null===n)return _.showToast("当前没有分页");var i=o(this.m_edit_scene.getMain().action_node.children[0]),g=n.getComponent(p).getBg().getComponent(s).convertToNodeSpaceAR(i.position),u=this.m_edit_scene.getMain().action_node.children[0].getComponent(m).getData();i.getComponent(m).initWidgetByScene(u),u.type===l.Widget_Type_List.UI_TOP||u.type===l.Widget_Type_List.TEXT_SOUND?(i.getComponent(s).contentSize=new a(1080,1920),i.position=new c(540,960,0)):i.position=g,n.getComponent(p).addWidget(i),r.once(d.EVENT_AFTER_DRAW,(function(){e.updateWidgetData()}))}}},i.updateWidgetData=function(){for(var e=this.getCurEditBaseView().getCurPageView().getComponent(p).getBg(),t=this.getCurEditSceneData(),n=this.getCurEditBaseView().cur_page(),i=t.page_list[n],o=[],s=0;s<e.children.length;s++){var a=e.children[s].getComponent(m).getData(),c=new v(a.name,a.type);c.att=a.att,o.push(c)}i.page_widget_list=o},i.removeWidget=function(e){this.updateWidgetData(),e.destroy(),e.removeFromParent()},i.UpdateEditScene=function(){if(this.node.destroyAllChildren(),this.node.removeAllChildren(),null!=this.m_edit_scene.getCurSelectScene()){var e=o(this.m_edit_scene.getPrefabByType());e.parent=this.node,e.getComponent(h).initView(this.m_edit_scene)}},i.onClickScene=function(){var e=this.getCurEditBaseView();null!=e&&(null!=e.getCurPageView()?u.dispatchEvent(l.Event.UpdateAttributes,e.getCurPageView().getComponent(p).getScenePageAtt()):u.dispatchEvent(l.Event.UpdateAttributes,null))},i.getCurEditSceneData=function(){return this.node.children.length<=0?null:this.node.children[0].getComponent(h).getData()},i.getCurEditBaseView=function(){return this.node.children.length<=0?null:this.node.children[0].getComponent(h)},n}(g))||f);n._RF.pop()}}}));

System.register("chunks:///_virtual/dai_dao_ju_bag.ts",["./rollupPluginModLoBabelHelpers.js","cc","./gameManager.ts","./bag_drag_item.ts","./clientEvent.ts","./config.ts","./widget_info.ts"],(function(t){var e,i,n,l,a,o,r,c,_,s,u,d,h,m,f,g;return{setters:[function(t){e=t.applyDecoratedDescriptor,i=t.inheritsLoose,n=t.initializerDefineProperty,l=t.assertThisInitialized},function(t){a=t.cclegacy,o=t._decorator,r=t.Node,c=t.Prefab,_=t.instantiate,s=t.ScrollView,u=t.Component},function(t){d=t.gameManager},function(t){h=t.bag_drag_item},function(t){m=t.ClientEvent},function(t){f=t.config},function(t){g=t.widget_info}],execute:function(){var b,p,v,w,y,E,T,S,C,D,A,z,L,R,I,V,N,O,k;a._RF.push({},"e37d2vXaLdP14hKrU0mPC++","dai_dao_ju_bag",void 0);var H=o.ccclass,P=o.property;t("dai_dao_ju_bag",(b=H("dai_dao_ju_bag"),p=P(r),v=P(r),w=P(r),y=P(r),E=P(c),T=P(r),S=P(g),C=P(r),b((z=e((A=function(t){function e(){for(var e,i=arguments.length,a=new Array(i),o=0;o<i;o++)a[o]=arguments[o];return e=t.call.apply(t,[this].concat(a))||this,n(e,"btn_tip",z,l(e)),n(e,"btn_addtime",L,l(e)),n(e,"content",R,l(e)),n(e,"btn_info",I,l(e)),n(e,"item_prefab",V,l(e)),n(e,"action_node",N,l(e)),n(e,"widget_info",O,l(e)),n(e,"drag_des",k,l(e)),e.m_tip_call_back=null,e.m_add_time_call=null,e.cur_select_item=null,e.mWidgetList=new Map,e.mData=null,e.mScrollView=null,e}i(e,t);var a=e.prototype;return a.initView=function(t,e,i){var n=this;this.content.removeAllChildren(),this.mWidgetList.clear(),this.mData=t,this.btn_info.active=!1,this.drag_des.active=!1,m.off(f.EventRun.NOTICE_EVENT,this.beActive.bind(this),this),m.on(f.EventRun.NOTICE_EVENT,this.beActive.bind(this),this),this.m_tip_call_back=e,this.m_add_time_call=i;for(var l=[],a=d.Singleton.getSceneManager().GetPageList(),o=0;o<a.length;o++){var c=a[o],s=d.getWidgetList(c);l=l.concat(s)}for(var u=function(t){for(var e=0;e<l.length;e++){var i=l[e];if(t==i.att.id)return i}return null},g=0;g<t.widget_list.length;g++){var b=t.widget_list[g];if(-1!=b.widget_id){var p=_(this.item_prefab);p.parent=this.content,b.is_in_bag?p.active=!0:p.active=!1,p.getComponent(h).initView(b,u(b.widget_id),this.onItemClick.bind(this),this.onItemFinish.bind(this)),this.mWidgetList.set(b.widget_id,p.getComponent(h))}}this.btn_tip.on(r.EventType.TOUCH_END,(function(){null!=n.m_tip_call_back&&n.m_tip_call_back()})),-1!=t.binding_count_time_widget?this.btn_addtime.active=!0:this.btn_addtime.active=!1,this.btn_addtime.on(r.EventType.TOUCH_END,(function(){null!=n.m_add_time_call&&n.m_add_time_call(n.mData.binding_count_time_widget,n.mData.add_time_number)})),this.btn_info.on(r.EventType.TOUCH_END,(function(){null!=n.cur_select_item&&n.widget_info.show(n.cur_select_item.getData().info_res)})),this.mScrollView=d.Singleton.getCurSceneLayerPage().getBG()},a.update=function(t){null!=this.mScrollView&&(this.action_node.position=this.mScrollView.position),null!=this.cur_select_item&&(this.cur_select_item.isZero()?this.EnabledScroll(!0):this.EnabledScroll(!1))},a.hideAllItem=function(){for(var t=0;t<this.content.children.length;t++){this.content.children[t].getComponent(h).unSelect()}},a.onItemClick=function(t){var e=this;this.cur_select_item!=t&&(this.hideAllItem(),this.cur_select_item=t,this.cur_select_item.onSelect(),this.btn_info.active=!0,this.addDragRect(this.cur_select_item.getRect()),this.cur_select_item.registeredEvent(this.action_node),this.action_node.on(r.EventType.TOUCH_START,(function(){e.action_node.off(r.EventType.TOUCH_START),e.btn_info.active=!1,e.cur_select_item.unSelect(),e.cur_select_item=null})))},a.onItemFinish=function(t){this.cur_select_item=null,t.DeleteSelf(),this.action_node.off(r.EventType.TOUCH_START),this.btn_info.active=!1,this.isFinishAll()&&-1!=this.mData.finish_event_id&&d.Singleton.exeEvent(this.mData.finish_event_id)},a.isFinishAll=function(){return this.content.children.length<=0},a.beActive=function(t,e){if(e.type===f.event_type.active_event){var i=this.mWidgetList.get(t);null!=i&&(i.node.active=!0)}},a.EnabledScroll=function(t){this.content.parent.parent.getComponent(s).enabled=t},a.addDragRect=function(t){},e}(u)).prototype,"btn_tip",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),L=e(A.prototype,"btn_addtime",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),R=e(A.prototype,"content",[w],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),I=e(A.prototype,"btn_info",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),V=e(A.prototype,"item_prefab",[E],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),N=e(A.prototype,"action_node",[T],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),O=e(A.prototype,"widget_info",[S],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),k=e(A.prototype,"drag_des",[C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),D=A))||D));a._RF.pop()}}}));

System.register("chunks:///_virtual/dailog.ts",["./rollupPluginModLoBabelHelpers.js","cc"],(function(t){var o,n,e,r;return{setters:[function(t){o=t.inheritsLoose},function(t){n=t.cclegacy,e=t._decorator,r=t.Component}],execute:function(){var c;n._RF.push({},"70ec03KJJJJDph6s4P43y7Z","dailog",void 0);var i=e.ccclass;e.property,t("dailog",i("dailog")(c=function(t){function n(){return t.apply(this,arguments)||this}o(n,t);var e=n.prototype;return e.start=function(){},e.update=function(t){},n}(r))||c);n._RF.pop()}}}));

System.register("chunks:///_virtual/data.ts",["./rollupPluginModLoBabelHelpers.js","cc","./config.ts"],(function(t){var i,n,e;return{setters:[function(t){i=t.inheritsLoose},function(t){n=t.cclegacy},function(t){e=t.config}],execute:function(){n._RF.push({},"8ccc3pw3+1AD7b6BDJXVjCs","data",void 0);t("attributes_data",(function(){this.zIndex=e.Zindex_type.Zindex_scene,this.img_dir=e.widget_scale_dir.normal,this.id=1,this.name="",this.remark="",this.type=0,this.widget_type=0,this.x=0,this.y=0,this.z=0,this.width=0,this.height=0,this.anchor_x=.5,this.anchor_y=.5,this.rotation=0,this.src="",this.src_name="",this.ani="",this.scene_rule_tips_data=new _,this.edit_active=!0,this.is_interaction=!0,this.is_show=!0,this.drag_data=null,this.slide_data=null,this.click_data=null,this.top_data=null,this.animation_list=[],this.text_sound_data=null,this.question_select=null,this.count_down=null})),t("att_count_down",(function(){this.ProgressBar_Bg=null,this.ProgressBar_Bar=null,this.img_text=null,this.time_count=0,this.is_show_time=!1,this.start_event_id=-1,this.finish_event_id=-1,this.fail_event_id=-1,this.font_info=new l})),t("att_question_select",(function(){this.btn_question_list=[]})),t("att_ani_data",(function(){this.ani_id=0,this.ani_name="",this.isLoop=!1,this.isMove=!0,this.binding_widget_id=0,this.ani_frame_list=[]})),t("ani_frame",(function(){this.next_time=1,this.pos_x=0,this.pos_y=0,this.size_width=100,this.size_height=100,this.rotation=0,this.anchor_point_x=.5,this.anchor_point_y=.5,this.color="#FFFFFF",this.transparent=255,this.url="",this.url_name=""})),t("att_drag_data",(function(){this.drag_size_width=0,this.drag_size_height=0,this.drag_pos_x=0,this.drag_pos_y=0,this.other_event_id=-1,this.is_err_drag_back=!0,this.other_drag_list=[],this.other_widget_finish_listen_list=[],this.remark="",this.is_show_inTheEditor=!0})),t("other_widget_finish_listen_item",(function(){this.event_id=-1,this.widget_id=-1})),t("att_slide_data",(function(){this.slide_dir=e.slide_type.down,this.slide_distance=100,this.slide_num=1,this.other_widget_finish_listen_list=[]})),t("att_click_data",(function(){this.click_type=e.clcik_type.click,this.hold_time=5,this.multiple_check_num=2,this.other_widget_finish_listen_list=[]})),t("att_text_sound_data",(function(){this.sound_data=null,this.text="",this.pos_y=0,this.is_open_click_close=!0}));var _=t("scene_tips_rule_data",(function(){this.tips_data=new s,this.rule_list=[],this.rule_find_tips=new h,this.scene_des=""})),s=t("scene_tips_data",(function(){this.tips_answer=new h,this.tips_tips=new h})),a=(t("att_top_data",function(){function t(){this.top_ui_type=e.top_view_type.__null,this.is_open_jump=!1,this.is_open_close=!0,this.close_info=null,this.jump_info=null,this._not_have_interact_data=null,this._interact_input_data=null,this._interact_page_data=null,this._interact_puzzle_data=null,this._interact_scene_data=null,this._pointer_ding_wei_data=null,this._wei_chi_pointer_data=null,this._boss_info_data=null,this.close_event_id=-1,this.finish_event_id=-1,this.fail_event_id=-1}return t.prototype.clearAll=function(){this._not_have_interact_data=null,this._interact_input_data=null,this._interact_page_data=null,this._interact_puzzle_data=null,this._interact_scene_data=null,this._pointer_ding_wei_data=null,this._wei_chi_pointer_data=null},t}()),t("font_color_info",function(){function t(){this.r=255,this.g=255,this.b=255}var i=t.prototype;return i.info=function(t,i,n){return this.r=t,this.g=i,this.b=n,this},i.infoColor=function(t){return this.r=t.r,this.g=t.g,this.b=t.b,this},t}())),l=t("font_info",(function(){this.font_color=new a,this.font_size=20})),h=t("ui_att_item",(function(){this.x=0,this.y=0,this.width=0,this.height=0,this.res="",this.res_name=""})),u=(t("not_have_interact_data",(function(){this.bg=null})),t("interact_input_data",(function(){this.bg=null,this.image_1=null,this.image_2=null,this.image_3=null,this.image_4=null,this.image_5=null,this.image_6=null,this.image_7=null,this.image_8=null,this.image_9=null,this.image_0=null,this.image_xing=null,this.image_jing=null,this.att_1=null,this.att_2=null,this.att_3=null,this.att_4=null,this.att_5=null,this.att_6=null,this.att_7=null,this.att_8=null,this.att_9=null,this.att_0=null,this.att_xing=null,this.att_jing=null,this.input_fail=null,this.input_default=null,this.input_right=null,this.font=null,this.answer="0"})),t("interact_page_data",(function(){this.bg=null,this.btn_interact_left=null,this.btn_interact_right=null,this.img_item_interact_bg=null,this.btn_sure=null,this.img_item_interact_list=[],this.answer=0})),t("interact_puzzle_data",(function(){this.bg=null,this.content=null,this.puzzle1=null,this.puzzle2=null,this.puzzle3=null,this.puzzle4=null,this.puzzle5=null,this.puzzle6=null,this.answer="0"})),t("interact_scene_data",(function(){this.scene=null})),t("boss_info_data",(function(){this.bg=null,this.bg_bar=null,this.bar=null,this.head=null,this.hp=0,this.hp_delay_time=0})),t("pointer_ding_wei_data",(function(){this.bg=null,this.pointer_bar=null,this.pointer_bar_point=null,this.img_text=null,this.img_eye_1=null,this.img_eye_2=null,this.btn_pointer_ding_wei_sure=null,this.rightLength=200})),t("wei_chi_pointer_data",(function(){this.bg=null,this.img_hand=null,this.img_bar=null,this.img_pointer=null,this.img_text_bing_zhu_hu_xi=null,this.btn_bingxi=null,this.rightLength=200,this.time=3})),t("level_list_data",(function(){this.zujian_id=0,this.level_list=[]})),t("widget_item_data",(function(t,i){this.name="",this.type=0,this.att=null,this.name=t,this.type=i})),t("scene_item_data",(function(t,i,n){void 0===n&&(n=!1),this.index=0,this.name="",this.scene_diy_name="",this.type=0,this.is_child_scene=!1,this.is_check_mask=!1,this.is_full_screen=!1,this.page=0,this.page_list=[],this._task_data=null,this.page_widget_list=[],this.att=null,this.name=t,this.type=i,this.is_full_screen=n})),t("bag_item_data",(function(){this.name="",this.url=""}))),r=(t("bag_data",function(){function t(){this.id=0,this.name="",this.is_edit=0,this.item_list=[],this.bg_list=[],this.component_list=[],this.sound_list=[],this.content=null}return t.initBagData=function(i){var n=new t;for(var e in i)if(Object.prototype.hasOwnProperty.call(i,e)){var _=i[e];n[e]=_}if(n.content.length>0){var s=JSON.parse(n.content.toString());n.content=s}return n},t}()),t("level_list_item_data",(function(){this.id=0,this.name="",this.is_edit=0})),t("task_data",(function(){this.type=e.task_type.da_guai,this.event_list=[],this._zhao_xi_jie_data=null,this._guo_ju_qing=null,this._da_guai=null,this._guo_ju_qing_not_rule_data=null,this._guo_ju_qing_dai_dao_ju=null})),t("dai_dao_ju_item",(function(){this.widget_id=-1,this.is_in_bag=!0,this.info_res=new u})),t("guo_ju_qing_dai_dao_ju",(function(){this.widget_list=[],this.binding_count_time_widget=-1,this.add_time_number=0,this.finish_event_id=-1})),t("da_guai_data",(function(){this.widget_id_list=[]})),t("guo_ju_qing_data",(function(){this.binding_event_id=-1})),t("da_guai_item_data",(function(){this.widget_id=-1,this.hurt=1})),t("zhao_xi_jie_item_data",(function(){this.widget_id=-1,this.res="",this.res_name="",this.tips_res="",this.tips_res_name=""})),t("zhao_xi_jie_data",(function(){this.tip_type=e.zhao_xi_jie_tip_type.select_tips,this.widget_id_list=[],this.finish_event_id=-1,this.finish_all_hide_answer_dalay_time=0})),t("guo_ju_qing_not_rule_data",(function(){})),t("event_item",(function(){this.event_id=0,this.event_name="",this.type=e.event_type.play_ani,this.is_progress_event=!0,this.fail=new d,this.success=new c,this.event_item_play_ani_data=null,this.event_item_top_view_data=null,this.event_item_top_view_hide_data=null,this.event_item_text_sound_data=null,this.event_item_change_one_item_status_data=null,this.event_item_show_new_item_data=null,this.event_item_hide_data=null,this.event_item_delay_exe_data=null,this.event_item_show_question_select_data=null,this.event_item_countdown_over_data=null,this.event_item_be_event_data=null,this.event_item_start_event_data=null,this.event_item_collect_event_data=null,this.event_item_active_event_data=null,this.event_item_stop_active_event_data=null,this.event_item_fail_event_data=null,this.event_item_play_sound_data=null,this.event_item_show_scene_title_data=null,this.event_item_scene_ani=null,this.event_item_delete_drag_other_data=null,this.event_item_stop_play_loop_sound_data=null,this.event_item_switch_scene_event_data=null,this.event_item_more_scene_is_show_arrow_event_data=null,this.event_item_more_scene_jump_assigned_page_event_data=null,this.event_item_event_group_data=null}))),o=t("base_event_item",(function(){})),c=(t("event_item_fail_event",(function(){this.is_relife=!1,this.is_show_animation=!0})),t("event_item_show_scene_title",(function(){this.title=""})),t("event_item_scene_ani",(function(){this.ani_id=-1})),t("event_item_stop_play_loop_sound",(function(){this.res=""})),t("event_item_delete_drag_other",(function(){this.widget_id=-1,this.widget_remark="",this.delete_drag_other_index=-1,this.widget_list=[]})),t("event_item_play_sound",(function(){this.sound_res=new u,this.isLoop=!1,this.volume=1})),t("event_item_success",(function(){this.is_finish_game=!1,this.is_next_scene=!1,this.trigger_event_id=-1}))),d=t("event_item_fail",(function(){this.is_restart=!1,this.is_relife=!1,this.trigger_event_id=-1})),g=(t("event_item_play_ani",function(t){function n(){for(var i,n=arguments.length,e=new Array(n),_=0;_<n;_++)e[_]=arguments[_];return(i=t.call.apply(t,[this].concat(e))||this).binding_widget_id=-1,i.ani_id=-1,i}return i(n,t),n}(o)),t("event_item_top_view",function(t){function n(){for(var i,n=arguments.length,e=new Array(n),_=0;_<n;_++)e[_]=arguments[_];return(i=t.call.apply(t,[this].concat(e))||this).binding_ui_id=-1,i}return i(n,t),n}(o)),t("event_item_top_view_hide",function(t){function n(){for(var i,n=arguments.length,e=new Array(n),_=0;_<n;_++)e[_]=arguments[_];return(i=t.call.apply(t,[this].concat(e))||this).binding_ui_id=-1,i}return i(n,t),n}(o)),t("event_item_text_sound",function(t){function n(){for(var i,n=arguments.length,e=new Array(n),_=0;_<n;_++)e[_]=arguments[_];return(i=t.call.apply(t,[this].concat(e))||this).binding_widget_id=-1,i}return i(n,t),n}(o)),t("event_item_change_one_item_status",function(t){function n(){for(var i,n=arguments.length,e=new Array(n),_=0;_<n;_++)e[_]=arguments[_];return(i=t.call.apply(t,[this].concat(e))||this).binding_widget_id=-1,i.att=new h,i}return i(n,t),n}(o)),t("event_item_show_new_item",function(t){function n(){for(var i,n=arguments.length,e=new Array(n),_=0;_<n;_++)e[_]=arguments[_];return(i=t.call.apply(t,[this].concat(e))||this).binding_widget_id=-1,i}return i(n,t),n}(o)),t("event_item_hide",function(t){function n(){for(var i,n=arguments.length,e=new Array(n),_=0;_<n;_++)e[_]=arguments[_];return(i=t.call.apply(t,[this].concat(e))||this).binding_widget_id=-1,i.binding_widget_list=[],i}return i(n,t),n}(o)),t("event_item_delay_exe_event",function(t){function n(){for(var i,n=arguments.length,e=new Array(n),_=0;_<n;_++)e[_]=arguments[_];return(i=t.call.apply(t,[this].concat(e))||this).binding_event_id=-1,i.delay_time=0,i}return i(n,t),n}(o)),t("event_item_show_question_select_item",(function(){this.binding_event_id=-1,this.isRight=!1})),t("event_item_show_question_select",function(t){function n(){for(var i,n=arguments.length,e=new Array(n),_=0;_<n;_++)e[_]=arguments[_];return(i=t.call.apply(t,[this].concat(e))||this).binding_widget_id=-1,i.question_list=[],i}return i(n,t),n}(o)),t("event_start_event_item",function(t){function n(){for(var i,n=arguments.length,e=new Array(n),_=0;_<n;_++)e[_]=arguments[_];return(i=t.call.apply(t,[this].concat(e))||this).binding_event_id=-1,i}return i(n,t),n}(o)),t("event_active_event_item",function(t){function n(){for(var i,n=arguments.length,e=new Array(n),_=0;_<n;_++)e[_]=arguments[_];return(i=t.call.apply(t,[this].concat(e))||this).binding_widget_id=-1,i.binding_widget_list=[],i}return i(n,t),n}(o)),t("event_stop_active_event_item",function(t){function n(){for(var i,n=arguments.length,e=new Array(n),_=0;_<n;_++)e[_]=arguments[_];return(i=t.call.apply(t,[this].concat(e))||this).binding_widget_id=-1,i.binding_widget_list=[],i}return i(n,t),n}(o)),t("event_collect_event_item",function(t){function n(){for(var i,n=arguments.length,e=new Array(n),_=0;_<n;_++)e[_]=arguments[_];return(i=t.call.apply(t,[this].concat(e))||this).event_id_list=[],i}return i(n,t),n}(o)),t("event_item_countdown_over",function(t){function n(){for(var i,n=arguments.length,e=new Array(n),_=0;_<n;_++)e[_]=arguments[_];return(i=t.call.apply(t,[this].concat(e))||this).binding_widget_id=-1,i.binding_fail_event_id=-1,i.binding_win_event_id=-1,i}return i(n,t),n}(o)),t("event_item_be_event",function(t){function n(){for(var i,n=arguments.length,e=new Array(n),_=0;_<n;_++)e[_]=arguments[_];return(i=t.call.apply(t,[this].concat(e))||this).binding_widget_id=-1,i}return i(n,t),n}(o)),t("event_item_switch_scene_event",function(t){function n(){for(var i,n=arguments.length,_=new Array(n),s=0;s<n;s++)_[s]=arguments[s];return(i=t.call.apply(t,[this].concat(_))||this).binding_page_index=-1,i.direction=e.switch_scene_page_direction.unknown,i.executeOnlyOnce=!0,i.delay_time=0,i}return i(n,t),n}(o)),t("event_item_more_scene_is_show_arrow_event",function(t){function n(){for(var i,n=arguments.length,e=new Array(n),_=0;_<n;_++)e[_]=arguments[_];return(i=t.call.apply(t,[this].concat(e))||this).is_show=!1,i}return i(n,t),n}(o)),t("event_item_more_scene_jump_assigned_page_event",function(t){function n(){for(var i,e=arguments.length,_=new Array(e),s=0;s<e;s++)_[s]=arguments[s];return(i=t.call.apply(t,[this].concat(_))||this).page_number=-1,i.interval_time=n.defaultIntervalTime(),i}return i(n,t),n.defaultIntervalTime=function(){return.7},n}(o)),t("event_group_event_item",function(t){function n(){for(var i,n=arguments.length,e=new Array(n),_=0;_<n;_++)e[_]=arguments[_];return(i=t.call.apply(t,[this].concat(e))||this).list=[],i}return i(n,t),n}(o)),t("event_widget_more_event_item",function(t){function n(){for(var i,n=arguments.length,e=new Array(n),_=0;_<n;_++)e[_]=arguments[_];return(i=t.call.apply(t,[this].concat(e))||this).binding_widget_id=-1,i.binding_widget_remark="",i}return i(n,t),n}(o)),t("event_group_event_item_event_item",function(t){function n(){for(var i,n=arguments.length,e=new Array(n),_=0;_<n;_++)e[_]=arguments[_];return(i=t.call.apply(t,[this].concat(e))||this).event_item=new r,i.delay_time=0,i}return i(n,t),n}(o)),t("UserData",(function(){this.user_id=null,this.token="",this.select_page=1,this.isOpenYinXiao=!0,this.isOpenYinYue=!0,this.isOpenPeiYin=!0,this.unlock_levels=[]})),t("Message",(function(){this.code=0,this.status="",this.message=""})));t("LevelMessage",function(t){function n(){for(var i,n=arguments.length,e=new Array(n),_=0;_<n;_++)e[_]=arguments[_];return(i=t.call.apply(t,[this].concat(e))||this).content=null,i}return i(n,t),n}(g)),t("LevelInfoMessage",function(t){function n(){for(var i,n=arguments.length,e=new Array(n),_=0;_<n;_++)e[_]=arguments[_];return(i=t.call.apply(t,[this].concat(e))||this).content=null,i}return i(n,t),n}(g)),t("LevelInfo",(function(){this.id=0,this.cover="",this.name="",this.content=null})),t("LevelListData",(function(){this.tool_number=0,this.list=[]})),t("LevelItemData",(function(){this.id=0,this.cover="",this.complete_img="",this.name="",this.piped_music="",this.ads_unlock=0,this.category_id=0,this.label_id=0})),t("sysMessage",function(t){function n(){for(var i,n=arguments.length,e=new Array(n),_=0;_<n;_++)e[_]=arguments[_];return(i=t.call.apply(t,[this].concat(e))||this).content=null,i}return i(n,t),n}(g)),t("sys_config",(function(){this.sys_piped_music=null,this.unlock_time=0,this.unlock_ads=0,this.sys_click_button_music=null,this.sys_fail_scary_music=null,this.sys_fail_attack_music=null,this.sys_fail_prompt_music=null,this.sys_success_complete_music=null,this.sys_click_correct_detail_music=null}));n._RF.pop()}}}));

System.register("chunks:///_virtual/debug-view-runtime-control.ts",["./rollupPluginModLoBabelHelpers.js","cc"],(function(t){var e,o,i,n,s,l,r,a,g,h,p,c,C,d,m,u,L;return{setters:[function(t){e=t.applyDecoratedDescriptor,o=t.inheritsLoose,i=t.initializerDefineProperty,n=t.assertThisInitialized},function(t){s=t.cclegacy,l=t._decorator,r=t.Node,a=t.Color,g=t.Canvas,h=t.UITransform,p=t.instantiate,c=t.Label,C=t.RichText,d=t.Toggle,m=t.Button,u=t.director,L=t.Component}],execute:function(){var f,M,b,v,T,S,x,E,I;s._RF.push({},"b2bd1+njXxJxaFY3ymm06WU","debug-view-runtime-control",void 0);var A=l.ccclass,y=l.property;t("DebugViewRuntimeControl",(f=A("internal.DebugViewRuntimeControl"),M=y(r),b=y(r),v=y(r),f((x=e((S=function(t){function e(){for(var e,o=arguments.length,s=new Array(o),l=0;l<o;l++)s[l]=arguments[l];return e=t.call.apply(t,[this].concat(s))||this,i(e,"compositeModeToggle",x,n(e)),i(e,"singleModeToggle",E,n(e)),i(e,"EnableAllCompositeModeButton",I,n(e)),e._single=0,e.strSingle=["No Single Debug","Vertex Color","Vertex Normal","Vertex Tangent","World Position","Vertex Mirror","Face Side","UV0","UV1","UV Lightmap","Project Depth","Linear Depth","Fragment Normal","Fragment Tangent","Fragment Binormal","Base Color","Diffuse Color","Specular Color","Transparency","Metallic","Roughness","Specular Intensity","IOR","Direct Diffuse","Direct Specular","Direct All","Env Diffuse","Env Specular","Env All","Emissive","Light Map","Shadow","AO","Fresnel","Direct Transmit Diffuse","Direct Transmit Specular","Env Transmit Diffuse","Env Transmit Specular","Transmit All","Direct Internal Specular","Env Internal Specular","Internal All","Fog"],e.strComposite=["Direct Diffuse","Direct Specular","Env Diffuse","Env Specular","Emissive","Light Map","Shadow","AO","Normal Map","Fog","Tone Mapping","Gamma Correction","Fresnel","Transmit Diffuse","Transmit Specular","Internal Specular","TT"],e.strMisc=["CSM Layer Coloration","Lighting With Albedo"],e.compositeModeToggleList=[],e.singleModeToggleList=[],e.miscModeToggleList=[],e.textComponentList=[],e.labelComponentList=[],e.textContentList=[],e.hideButtonLabel=void 0,e._currentColorIndex=0,e.strColor=["<color=#ffffff>","<color=#000000>","<color=#ff0000>","<color=#00ff00>","<color=#0000ff>"],e.color=[a.WHITE,a.BLACK,a.RED,a.GREEN,a.BLUE],e}o(e,t);var s=e.prototype;return s.start=function(){if(this.node.parent.getComponent(g)){var t=this.node.parent.getComponent(h),e=.5*t.width,o=.5*t.height,i=.1*e-e,n=o-.1*o,s=this.node.getChildByName("MiscMode"),l=p(s);l.parent=this.node,l.name="Buttons";var r=p(s);r.parent=this.node,r.name="Titles";for(var u=0;u<2;u++){var L=p(this.EnableAllCompositeModeButton.getChildByName("Label"));L.setPosition(i+(u>0?450:150),n,0),L.setScale(.75,.75,.75),L.parent=r;var f=L.getComponent(c);f.string=u?"----------Composite Mode----------":"----------Single Mode----------",f.color=a.WHITE,f.overflow=0,this.labelComponentList[this.labelComponentList.length]=f}n-=20;for(var M=0,b=0;b<this.strSingle.length;b++,M++){b===this.strSingle.length>>1&&(i+=200,M=0);var v=b?p(this.singleModeToggle):this.singleModeToggle;v.setPosition(i,n-20*M,0),v.setScale(.5,.5,.5),v.parent=this.singleModeToggle.parent;var T=v.getComponentInChildren(C);T.string=this.strSingle[b],this.textComponentList[this.textComponentList.length]=T,this.textContentList[this.textContentList.length]=T.string,v.on(d.EventType.TOGGLE,this.toggleSingleMode,this),this.singleModeToggleList[b]=v}i+=200,this.EnableAllCompositeModeButton.setPosition(i+15,n,0),this.EnableAllCompositeModeButton.setScale(.5,.5,.5),this.EnableAllCompositeModeButton.on(m.EventType.CLICK,this.enableAllCompositeMode,this),this.EnableAllCompositeModeButton.parent=l;var S=this.EnableAllCompositeModeButton.getComponentInChildren(c);this.labelComponentList[this.labelComponentList.length]=S;var x=p(this.EnableAllCompositeModeButton);x.setPosition(i+90,n,0),x.setScale(.5,.5,.5),x.on(m.EventType.CLICK,this.changeTextColor,this),x.parent=l,(S=x.getComponentInChildren(c)).string="TextColor",this.labelComponentList[this.labelComponentList.length]=S;var E=p(this.EnableAllCompositeModeButton);E.setPosition(i+200,n,0),E.setScale(.5,.5,.5),E.on(m.EventType.CLICK,this.hideUI,this),E.parent=this.node.parent,(S=E.getComponentInChildren(c)).string="Hide UI",this.labelComponentList[this.labelComponentList.length]=S,this.hideButtonLabel=S,n-=40;for(var I=0;I<this.strMisc.length;I++){var A=p(this.compositeModeToggle);A.setPosition(i,n-20*I,0),A.setScale(.5,.5,.5),A.parent=s;var y=A.getComponentInChildren(C);y.string=this.strMisc[I],this.textComponentList[this.textComponentList.length]=y,this.textContentList[this.textContentList.length]=y.string,A.getComponent(d).isChecked=!!I,A.on(d.EventType.TOGGLE,I?this.toggleLightingWithAlbedo:this.toggleCSMColoration,this),this.miscModeToggleList[I]=A}n-=150;for(var D=0;D<this.strComposite.length;D++){var B=D?p(this.compositeModeToggle):this.compositeModeToggle;B.setPosition(i,n-20*D,0),B.setScale(.5,.5,.5),B.parent=this.compositeModeToggle.parent;var w=B.getComponentInChildren(C);w.string=this.strComposite[D],this.textComponentList[this.textComponentList.length]=w,this.textContentList[this.textContentList.length]=w.string,B.on(d.EventType.TOGGLE,this.toggleCompositeMode,this),this.compositeModeToggleList[D]=B}}else console.error("debug-view-runtime-control should be child of Canvas")},s.isTextMatched=function(t,e){var o=new String(t),i=o.search(">");return-1===i?t===e:(o=(o=o.substr(i+1)).substr(0,o.search("<")))===e},s.toggleSingleMode=function(t){for(var e=u.root.debugView,o=t.getComponentInChildren(C),i=0;i<this.strSingle.length;i++)this.isTextMatched(o.string,this.strSingle[i])&&(e.singleMode=i)},s.toggleCompositeMode=function(t){for(var e=u.root.debugView,o=t.getComponentInChildren(C),i=0;i<this.strComposite.length;i++)this.isTextMatched(o.string,this.strComposite[i])&&e.enableCompositeMode(i,t.isChecked)},s.toggleLightingWithAlbedo=function(t){u.root.debugView.lightingWithAlbedo=t.isChecked},s.toggleCSMColoration=function(t){u.root.debugView.csmLayerColoration=t.isChecked},s.enableAllCompositeMode=function(t){var e=u.root.debugView;e.enableAllCompositeMode(!0);for(var o=0;o<this.compositeModeToggleList.length;o++){this.compositeModeToggleList[o].getComponent(d).isChecked=!0}var i=this.miscModeToggleList[0].getComponent(d);i.isChecked=!1,e.csmLayerColoration=!1,(i=this.miscModeToggleList[1].getComponent(d)).isChecked=!0,e.lightingWithAlbedo=!0},s.hideUI=function(t){var e=this.node.getChildByName("Titles"),o=!e.active;this.singleModeToggleList[0].parent.active=o,this.miscModeToggleList[0].parent.active=o,this.compositeModeToggleList[0].parent.active=o,this.EnableAllCompositeModeButton.parent.active=o,e.active=o,this.hideButtonLabel.string=o?"Hide UI":"Show UI"},s.changeTextColor=function(t){this._currentColorIndex++,this._currentColorIndex>=this.strColor.length&&(this._currentColorIndex=0);for(var e=0;e<this.textComponentList.length;e++)this.textComponentList[e].string=this.strColor[this._currentColorIndex]+this.textContentList[e]+"</color>";for(var o=0;o<this.labelComponentList.length;o++)this.labelComponentList[o].color=this.color[this._currentColorIndex]},s.onLoad=function(){},s.update=function(t){},e}(L)).prototype,"compositeModeToggle",[M],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),E=e(S.prototype,"singleModeToggle",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),I=e(S.prototype,"EnableAllCompositeModeButton",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),T=S))||T));s._RF.pop()}}}));

System.register("chunks:///_virtual/dialog_input.ts",["./rollupPluginModLoBabelHelpers.js","cc","./tools.ts"],(function(t){var n,e,i,l,o,r,c,a,u,s;return{setters:[function(t){n=t.applyDecoratedDescriptor,e=t.inheritsLoose,i=t.initializerDefineProperty,l=t.assertThisInitialized},function(t){o=t.cclegacy,r=t._decorator,c=t.EditBox,a=t.Node,u=t.Component},function(t){s=t.tools}],execute:function(){var _,p,f,d,h,m,b,g,y;o._RF.push({},"d4909JlmRdAE6mOT/s0p8jd","dialog_input",void 0);var v=r.ccclass,D=r.property;t("dialog_input",(_=v("dialog_input"),p=D(c),f=D(a),d=D(a),_((b=n((m=function(t){function n(){for(var n,e=arguments.length,o=new Array(e),r=0;r<e;r++)o[r]=arguments[r];return n=t.call.apply(t,[this].concat(o))||this,i(n,"editBox",b,l(n)),i(n,"btn_cancel",g,l(n)),i(n,"btn_sure",y,l(n)),n.m_sure_call=null,n.m_cancel_call=null,n}e(n,t);var o=n.prototype;return o.start=function(){var t=this;this.editBox.node.on(c.EventType.EDITING_DID_ENDED,(function(){})),this.btn_cancel.on(a.EventType.TOUCH_END,(function(){null!=t.m_cancel_call&&t.m_cancel_call(),t.close()})),this.btn_sure.on(a.EventType.TOUCH_END,(function(){var n=s.trimLeftAndRightblank(t.editBox.string);if(0==n.length)return s.showToast("内容不能是空的");null!=t.m_sure_call&&t.m_sure_call(n),t.close()}))},o.show=function(t,n,e){this.m_sure_call=n,this.m_cancel_call=e,this.editBox.string=t},o.close=function(){this.node.removeFromParent()},n}(u)).prototype,"editBox",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),g=n(m.prototype,"btn_cancel",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),y=n(m.prototype,"btn_sure",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),h=m))||h));o._RF.pop()}}}));

System.register("chunks:///_virtual/dialog_view.ts",["./rollupPluginModLoBabelHelpers.js","cc"],(function(e){var n,t,l,i,r,c,o,a,u;return{setters:[function(e){n=e.applyDecoratedDescriptor,t=e.inheritsLoose,l=e.initializerDefineProperty,i=e.assertThisInitialized},function(e){r=e.cclegacy,c=e._decorator,o=e.Node,a=e.Label,u=e.Component}],execute:function(){var s,_,p,b,f,m,v,h,g;r._RF.push({},"59e4ev6HiRMto6ug5PTJcey","dialog_view",void 0);var y=c.ccclass,d=c.property;e("dialog_view",(s=y("dialog_view"),_=d(o),p=d(o),b=d(o),s((v=n((m=function(e){function n(){for(var n,t=arguments.length,r=new Array(t),c=0;c<t;c++)r[c]=arguments[c];return n=e.call.apply(e,[this].concat(r))||this,l(n,"btn_sure",v,i(n)),l(n,"btn_cancel",h,i(n)),l(n,"lab_title",g,i(n)),n.m_sure_call=null,n.m_cancel_call=null,n}t(n,e);var r=n.prototype;return r.show=function(e,n,t){var l=this;this.m_sure_call=n,this.m_cancel_call=t,this.lab_title.getComponent(a).string=e,this.btn_sure.on(o.EventType.TOUCH_END,(function(){null!=l.m_sure_call&&l.m_sure_call(),l.close()})),this.btn_cancel.on(o.EventType.TOUCH_END,(function(){null!=l.m_cancel_call&&l.m_cancel_call(),l.close()}))},r.close=function(){this.node.removeFromParent()},n}(u)).prototype,"btn_sure",[_],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),h=n(m.prototype,"btn_cancel",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),g=n(m.prototype,"lab_title",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),f=m))||f));r._RF.pop()}}}));

System.register("chunks:///_virtual/edit_animation.ts",["./rollupPluginModLoBabelHelpers.js","cc","./frame_item.ts","./new_frame.ts","./Attributes.ts","./tools.ts","./opt_frame.ts","./control.ts","./gameManager.ts"],(function(t){var e,n,i,a,o,r,s,l,_,u,m,c,p,f,h,d,g,b,v,w,y,C,F,z,S,I,x,A;return{setters:[function(t){e=t.applyDecoratedDescriptor,n=t.inheritsLoose,i=t.initializerDefineProperty,a=t.assertThisInitialized},function(t){o=t.cclegacy,r=t._decorator,s=t.Node,l=t.Prefab,_=t.Slider,u=t.Toggle,m=t.Tween,c=t.Label,p=t.Sprite,f=t.Vec3,h=t.Color,d=t.Size,g=t.tween,b=t.UIOpacity,v=t.UITransform,w=t.instantiate,y=t.Component},function(t){C=t.frame_item},function(t){F=t.new_frame},function(t){z=t.Attributes},function(t){S=t.tools},function(t){I=t.opt_frame},function(t){x=t.control},function(t){A=t.gameManager}],execute:function(){var L,P,E,T,k,D,U,M,O,H,V,X,N,Y,j,R,q,B,K,Z,G,J,Q,W,$,tt,et,nt,it,at,ot;o._RF.push({},"d36c87ZK69Pspy4Du7LcpIj","edit_animation",void 0);var rt=r.ccclass,st=r.property;t("edit_animation",(L=rt("edit_animation"),P=st(s),E=st(s),T=st(s),k=st(s),D=st(s),U=st(l),M=st(s),O=st(s),H=st(_),V=st(s),X=st(s),N=st(s),Y=st(s),j=st(s),L((B=e((q=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,"ani_sf",B,a(e)),i(e,"btn_new_ani_frame",K,a(e)),i(e,"btn_save",Z,a(e)),i(e,"btn_run",G,a(e)),i(e,"frame_content",J,a(e)),i(e,"item_prefab",Q,a(e)),i(e,"new_frame",W,a(e)),i(e,"btn_close",$,a(e)),i(e,"slider_scale",tt,a(e)),i(e,"lab_slider",et,a(e)),i(e,"opt_frame",nt,a(e)),i(e,"lab_run_status",it,a(e)),i(e,"toggle_loop",at,a(e)),i(e,"toggle_move",ot,a(e)),e.m_data=null,e.play_status=!1,e}n(e,t);var o=e.prototype;return o.initView=function(){var t=this;this.new_frame.getComponent(F).initView(this.onCreateFrame.bind(this),this.onUpdateFrame.bind(this)),this.opt_frame.getComponent(I).initView(this.onClickDelete.bind(this),this.onClickEdit.bind(this)),this.btn_new_ani_frame.on(s.EventType.TOUCH_END,(function(){if(!t.play_status){var e=t.m_data.ani_frame_list.length>0?t.m_data.ani_frame_list[t.m_data.ani_frame_list.length-1]:null;t.new_frame.getComponent(F).show(e)}})),null!=this.m_data.isMove&&null!=this.m_data.isMove||(this.m_data.isMove=!0),this.toggle_move.on("toggle",(function(){t.m_data.isMove=t.toggle_move.getComponent(u).isChecked})),this.toggle_loop.on("toggle",(function(){m.stopAll(),t.lab_run_status.getComponent(c).string="运行",t.play_status=!1,t.unSelectAllItem(),t.m_data.isLoop=t.toggle_loop.getComponent(u).isChecked})),this.toggle_loop.getComponent(u).isChecked=this.m_data.isLoop,this.toggle_move.getComponent(u).isChecked=this.m_data.isMove,this.btn_close.on(s.EventType.TOUCH_END,(function(){t.play_status||(t.node.active=!1)})),this.btn_save.on(s.EventType.TOUCH_END,(function(){A.requestSaveEditScene()})),this.btn_run.on(s.EventType.TOUCH_END,(function(){if(t.m_data.ani_frame_list.length<2)return S.showToast("动画不能低于2帧");t.play_status?(m.stopAll(),t.lab_run_status.getComponent(c).string="运行",t.play_status=!1,t.unSelectAllItem()):(t.play_status=!0,t.lab_run_status.getComponent(c).string="停止",t.runAnimation())})),this.onSlider()},o.runAnimation=function(){var t=this;m.stopAll();var e=function(e){return t.updateFrameItemSelectStatus(e),{cur_frame:t.m_data.ani_frame_list[e],up_frame:e>0?t.m_data.ani_frame_list[e-1]:t.m_data.ani_frame_list[0]}},n=0,i=e(n);this.runFrame(i.cur_frame,i.up_frame,(function i(){if(++n>=t.m_data.ani_frame_list.length){if(!t.m_data.isLoop)return t.play_status=!1,t.lab_run_status.getComponent(c).string="运行",void t.unSelectAllItem();n=0}var a=e(n);t.runFrame(a.cur_frame,a.up_frame,i)}))},o.runFrame=function(t,e,n){var i=this,a=t.next_time,o=i.m_data.ani_frame_list[0].pos_x,r=i.m_data.ani_frame_list[0].pos_y;this.ani_sf.getComponent(p).spriteFrame=x.res_map.get(t.url_name);var s=new f(t.pos_x-o,t.pos_y-r),l=new h;l=l.fromHEX(t.color);var _=new function(){this.color=void 0,this.opacity=void 0,this.size=void 0,this.pos=void 0,this.rotation=void 0,this.anchorPointX=void 0,this.anchorPointY=void 0},u=null==e.rotation?0:e.rotation;_.rotation=u,_.color=(new h).fromHEX(e.color),_.opacity=e.transparent,_.size=new d(e.size_width,e.size_height),_.pos=new f(e.pos_x-o,e.pos_y-r),_.anchorPointX=null==e.anchor_point_x?.5:e.anchor_point_x,_.anchorPointY=null==e.anchor_point_y?.5:e.anchor_point_y,g(_).to(a,{pos:s,color:l,opacity:t.transparent,size:new d(t.size_width,t.size_height),rotation:t.rotation,anchorPointX:t.anchor_point_x,anchorPointY:t.anchor_point_y},{onUpdate:function(t){i.ani_sf.getComponent(p).color=t.color,i.ani_sf.getComponent(b).opacity=t.opacity,i.ani_sf.getComponent(v).setContentSize(t.size),i.ani_sf.position=t.pos,i.ani_sf.angle=t.rotation,i.ani_sf.getComponent(v).setAnchorPoint(t.anchorPointX,t.anchorPointY)}}).call((function(){n()})).start()},o.onSlider=function(){this.ani_sf.scale=new f(this.slider_scale.progress,this.slider_scale.progress),this.lab_slider.getComponent(c).string="显示缩放："+this.slider_scale.progress.toFixed(3)},o.start=function(){this.initView()},o.show=function(t){this.node.active=!0,this.m_data=t,this.updateFrameList()},o.updateFrameList=function(){this.frame_content.removeAllChildren();for(var t=0;t<this.m_data.ani_frame_list.length;t++){var e=this.m_data.ani_frame_list[t];this.addFrameOnList(e,t)}this.updateFirstFrameStatus()},o.updateFirstFrameStatus=function(){if(this.m_data.ani_frame_list.length>0){var t=this.m_data.ani_frame_list[0];this.ani_sf.getComponent(p).spriteFrame=x.res_map.get(t.url_name),this.ani_sf.getComponent(v).contentSize=new d(t.size_width,t.size_height)}else{var e=z.Singleton.get_cur_att_data();this.ani_sf.getComponent(p).spriteFrame=x.res_map.get(e.src_name),this.ani_sf.getComponent(v).contentSize=new d(e.width,e.height)}},o.onClickDelete=function(t){var e=this;S.show_dialog("是否删除第"+t.getIndex()+"帧",(function(){e.m_data.ani_frame_list.splice(t.getIndex(),1),t.node.removeFromParent(),e.updateFrameList()}))},o.onUpdateFrame=function(){this.updateFrameList()},o.onClickEdit=function(t){console.log("item.getIndex()=",t.getIndex());var e=null;t.getIndex()>=0&&(e=this.m_data.ani_frame_list[t.getIndex()]),this.new_frame.getComponent(F).show_edit(t,e)},o.unSelectAllItem=function(){for(var t=0;t<this.frame_content.children.length;t++){this.frame_content.children[t].getComponent(C).unSelectStatus()}},o.updateFrameItemSelectStatus=function(t){for(var e=0;e<this.frame_content.children.length;e++){var n=this.frame_content.children[e];t===e?n.getComponent(C).selectStatus():n.getComponent(C).unSelectStatus()}},o.onClickFrame=function(t){this.opt_frame.getComponent(I).show(t)},o.addFrameOnList=function(t,e){var n=w(this.item_prefab);n.parent=this.frame_content,n.getComponent(C).initView(t,this.onClickFrame.bind(this),e)},o.onCreateFrame=function(t){console.log("this.m_data.ani_frame_list=",this.m_data.ani_frame_list),this.addFrameOnList(t,this.m_data.ani_frame_list.length),this.m_data.ani_frame_list.push(t),this.updateFirstFrameStatus()},e}(y)).prototype,"ani_sf",[P],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),K=e(q.prototype,"btn_new_ani_frame",[E],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),Z=e(q.prototype,"btn_save",[T],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),G=e(q.prototype,"btn_run",[k],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),J=e(q.prototype,"frame_content",[D],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),Q=e(q.prototype,"item_prefab",[U],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),W=e(q.prototype,"new_frame",[M],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),$=e(q.prototype,"btn_close",[O],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),tt=e(q.prototype,"slider_scale",[H],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),et=e(q.prototype,"lab_slider",[V],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),nt=e(q.prototype,"opt_frame",[X],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),it=e(q.prototype,"lab_run_status",[N],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),at=e(q.prototype,"toggle_loop",[Y],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),ot=e(q.prototype,"toggle_move",[j],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),R=q))||R));o._RF.pop()}}}));

System.register("chunks:///_virtual/edit_event_group_item.ts",["./rollupPluginModLoBabelHelpers.js","cc"],(function(e){var t,n,i,a,l,o,r,_,u,c;return{setters:[function(e){t=e.applyDecoratedDescriptor,n=e.inheritsLoose,i=e.initializerDefineProperty,a=e.assertThisInitialized},function(e){l=e.cclegacy,o=e._decorator,r=e.Node,_=e.EditBox,u=e.Label,c=e.Component}],execute:function(){var d,p,m,s,b,y,f,h,v,g,x,w,E;l._RF.push({},"9a07aswlmtEGIO8ZU20aZYG","edit_event_group_item",void 0);var k=o.ccclass,D=o.property;e("edit_event_group_item",(d=k("edit_event_group_item"),p=D(r),m=D(r),s=D(_),b=D(r),y=D(r),d((v=t((h=function(e){function t(){for(var t,n=arguments.length,l=new Array(n),o=0;o<n;o++)l[o]=arguments[o];return t=e.call.apply(e,[this].concat(l))||this,i(t,"btn_delete",v,a(t)),i(t,"lab_event_id",g,a(t)),i(t,"editBox_delay_time",x,a(t)),i(t,"btn_up",w,a(t)),i(t,"btn_down",E,a(t)),t.m_index=0,t.m_data=null,t.m_delete_callback=null,t.m_operation_callback=null,t}n(t,e);var l=t.prototype;return l.start=function(){var e=this;this.editBox_delay_time.node.on(_.EventType.EDITING_DID_ENDED,(function(){0==e.editBox_delay_time.string.length&&(e.editBox_delay_time.string="0"),e.m_data.delay_time=parseFloat(e.editBox_delay_time.string)})),this.btn_delete.on(r.EventType.TOUCH_END,(function(){null!=e.m_delete_callback&&e.m_delete_callback()})),this.btn_up.on(r.EventType.TOUCH_END,(function(){null!=e.m_operation_callback&&e.m_operation_callback(e,!0)})),this.btn_down.on(r.EventType.TOUCH_END,(function(){null!=e.m_operation_callback&&e.m_operation_callback(e,!1)}))},l.initView=function(e,t,n,i,a){this.m_index=e,this.m_data=n,this.m_delete_callback=i,this.m_operation_callback=a,this.lab_event_id.getComponent(u).string="事件名:"+this.m_data.event_item.event_name+"-id:"+this.m_data.event_item.event_id,this.editBox_delay_time.string=this.m_data.delay_time.toString(),this.btn_up.active=0!=e,this.btn_down.active=e<t-1},l.getIndex=function(){return this.m_index},t}(c)).prototype,"btn_delete",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),g=t(h.prototype,"lab_event_id",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),x=t(h.prototype,"editBox_delay_time",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),w=t(h.prototype,"btn_up",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),E=t(h.prototype,"btn_down",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),f=h))||f));l._RF.pop()}}}));

System.register("chunks:///_virtual/edit_event_more_delete_drag_other_item.ts",["./rollupPluginModLoBabelHelpers.js","cc","./tools.ts"],(function(e){var t,i,r,n,o,l,a,_,d,s,c;return{setters:[function(e){t=e.applyDecoratedDescriptor,i=e.inheritsLoose,r=e.initializerDefineProperty,n=e.assertThisInitialized},function(e){o=e.cclegacy,l=e._decorator,a=e.Node,_=e.EditBox,d=e.Label,s=e.Component},function(e){c=e.tools}],execute:function(){var u,b,g,m,p,h,f,v,x,y,k;o._RF.push({},"d140fVobd9Lv4dg/nwLXPsC","edit_event_more_delete_drag_other_item",void 0);var w=l.ccclass,D=l.property;e("edit_event_more_delete_drag_other_item",(u=w("edit_event_more_delete_drag_other_item"),b=D(a),g=D(a),m=D(_),p=D(a),u((v=t((f=function(e){function t(){for(var t,i=arguments.length,o=new Array(i),l=0;l<i;l++)o[l]=arguments[l];return t=e.call.apply(e,[this].concat(o))||this,r(t,"lab_id",v,n(t)),r(t,"lab_remark",x,n(t)),r(t,"editbox",y,n(t)),r(t,"btn_delete",k,n(t)),t.m_data=null,t.m_delete_callback=void 0,t}i(t,e);var o=t.prototype;return o.start=function(){var e=this;this.editbox.node.on(_.EventType.EDITING_DID_ENDED,(function(){if(e.editbox.string.length>0){var t=parseInt(e.editbox.string);e.m_data.delete_drag_other_index=t}else e.m_data.delete_drag_other_index=-1})),this.btn_delete.on(a.EventType.TOUCH_END,(function(){null!=e.m_delete_callback&&c.show_dialog("删除?",(function(){e.m_delete_callback()}))}))},o.initView=function(e,t){this.m_data=e,this.m_delete_callback=t,this.lab_id.getComponent(d).string="id:"+e.widget_id,0==e.widget_remark.length?this.lab_id.setPosition(this.lab_remark.position.x,0,1):this.lab_id.setPosition(this.lab_remark.position.x,25,1),this.lab_remark.getComponent(d).string=e.widget_remark,-1==e.delete_drag_other_index||(this.editbox.string=e.delete_drag_other_index.toString())},t}(s)).prototype,"lab_id",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),x=t(f.prototype,"lab_remark",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),y=t(f.prototype,"editbox",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),k=t(f.prototype,"btn_delete",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),h=f))||h));o._RF.pop()}}}));

System.register("chunks:///_virtual/edit_event_more_item.ts",["./rollupPluginModLoBabelHelpers.js","cc","./tools.ts"],(function(e){var t,i,n,r,l,o,a,c,_,u;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.Node,c=e.Label,_=e.Component},function(e){u=e.tools}],execute:function(){var s,d,m,p,b,f,g,h,v;l._RF.push({},"d1ec17IjcFIyo9H9Zbfp5nW","edit_event_more_item",void 0);var y=o.ccclass,k=o.property;e("edit_event_more_item",(s=y("edit_event_more_item"),d=k(a),m=k(a),p=k(a),s((g=t((f=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,"lab_id",g,r(t)),n(t,"lab_remark",h,r(t)),n(t,"img_delete",v,r(t)),t.m_delete_callback=null,t}i(t,e);var l=t.prototype;return l.start=function(){var e=this;this.img_delete.on(a.EventType.TOUCH_END,(function(){null!=e.m_delete_callback&&u.show_dialog("删除?",(function(){e.m_delete_callback()}))}),this)},l.initView=function(e,t){this.m_delete_callback=t,this.lab_id.getComponent(c).string="id:"+e.binding_widget_id,this.lab_remark.getComponent(c).string=e.binding_widget_remark},t}(_)).prototype,"lab_id",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),h=t(f.prototype,"lab_remark",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),v=t(f.prototype,"img_delete",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),b=f))||b));l._RF.pop()}}}));

System.register("chunks:///_virtual/edit_event_view_select_btn.ts",["./rollupPluginModLoBabelHelpers.js","cc"],(function(e){var t,n,i,o,l,r,c,a,s,_,u;return{setters:[function(e){t=e.applyDecoratedDescriptor,n=e.inheritsLoose,i=e.initializerDefineProperty,o=e.assertThisInitialized},function(e){l=e.cclegacy,r=e._decorator,c=e.Node,a=e.Label,s=e.Sprite,_=e.Color,u=e.Component}],execute:function(){var p,f,v,h,b;l._RF.push({},"c725dzz5MlOf5Eyfng2RM4o","edit_event_view_select_btn",void 0);var m=r.ccclass,y=r.property;e("edit_event_view_select_btn",(p=m("edit_event_view_select_btn"),f=y(c),p((b=t((h=function(e){function t(){for(var t,n=arguments.length,l=new Array(n),r=0;r<n;r++)l[r]=arguments[r];return t=e.call.apply(e,[this].concat(l))||this,i(t,"lab_name",b,o(t)),t.m_type=0,t.m_call_back=null,t}n(t,e);var l=t.prototype;return l.initView=function(e,t,n){var i=this;this.m_type=e,this.m_call_back=n,this.lab_name.getComponent(a).string=t,this.node.off(c.EventType.TOUCH_END),this.node.on(c.EventType.TOUCH_END,(function(){null!=i.m_call_back&&i.m_call_back(i)})),this.unselectStatus()},l.selectStatus=function(){this.node.getComponent(s).color=_.YELLOW},l.unselectStatus=function(){this.node.getComponent(s).color=_.GRAY},l.getType=function(){return this.m_type},t}(u)).prototype,"lab_name",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),v=h))||v));l._RF.pop()}}}));

System.register("chunks:///_virtual/edit_event_view.ts",["./rollupPluginModLoBabelHelpers.js","cc","./config.ts","./edit_event_view_select_btn.ts","./Attributes.ts","./event_item_view.ts","./main.ts","./clientEvent.ts","./tools.ts"],(function(t){var e,n,i,r,o,s,a,c,l,_,h,u,p,v,f,m,b,d,g,y;return{setters:[function(t){e=t.applyDecoratedDescriptor,n=t.inheritsLoose,i=t.initializerDefineProperty,r=t.assertThisInitialized},function(t){o=t.cclegacy,s=t._decorator,a=t.Prefab,c=t.Node,l=t.EditBox,_=t.instantiate,h=t.Size,u=t.UITransform,p=t.Component},function(t){v=t.config},function(t){f=t.edit_event_view_select_btn},function(t){m=t.Attributes},function(t){b=t.event_item_view},function(t){d=t.main},function(t){g=t.ClientEvent},function(t){y=t.tools}],execute:function(){var w,C,T,E,z,D,S,k,A,I,x,L,V,B,U,F,O,H,N,P,R,j,q,M,Z;o._RF.push({},"2d85aewZ+lAyr+zqBOFFzbk","edit_event_view",void 0);var G=s.ccclass,J=s.property;t("edit_event_view",(w=G("edit_event_view"),C=J(a),T=J(c),E=J(c),z=J(c),D=J(c),S=J(c),k=J(c),A=J(c),I=J(c),x=J(c),L=J(c),w((U=e((B=function(t){function e(){for(var e,n=arguments.length,o=new Array(n),s=0;s<n;s++)o[s]=arguments[s];return e=t.call.apply(t,[this].concat(o))||this,i(e,"event_item_prefab",U,r(e)),i(e,"btn_close",F,r(e)),i(e,"result_scrollview",O,r(e)),i(e,"content",H,r(e)),i(e,"type_content",N,r(e)),i(e,"type_btn",P,r(e)),i(e,"search_node",R,r(e)),i(e,"search_id_editbox",j,r(e)),i(e,"search_id_btn",q,r(e)),i(e,"search_content_editbox",M,r(e)),i(e,"search_content_btn",Z,r(e)),e.m_cur_select_type=-1,e.m_search_item_list=[],e}n(e,t);var o=e.prototype;return o.start=function(){var t=this;this.search_id_btn.on(c.EventType.TOUCH_END,(function(){var e=y.trimLeftAndRightblank(t.search_id_editbox.getComponent(l).string);if(t.search_id_editbox.getComponent(l).string=e,e.length<=0)return y.showToast("请输入id");t.searchAction(e,!0)}),this),this.search_content_btn.on(c.EventType.TOUCH_END,(function(){var e=y.trimLeftAndRightblank(t.search_content_editbox.getComponent(l).string);if(t.search_content_editbox.getComponent(l).string=e,e.length<=0)return y.showToast("请输入内容");t.searchAction(e,!1)}),this)},o.show=function(){var t=this;this.btn_close.on(c.EventType.TOUCH_END,(function(){t.node.removeFromParent()})),this.type_content.removeAllChildren();var e=_(this.type_btn);e.getComponent(f).initView(-1,"全部",this.onTypeItemClick.bind(this)),e.getComponent(f).selectStatus(),e.parent=this.type_content;var n=_(this.type_btn);n.getComponent(f).initView(-2,"搜索",this.onTypeItemClick.bind(this)),n.getComponent(f).unselectStatus(),n.parent=this.type_content,v.event_type_map.forEach((function(e,n){var i=_(t.type_btn);i.parent=t.type_content,i.getComponent(f).initView(n,e,t.onTypeItemClick.bind(t))})),this.m_cur_select_type=-1,this.updateView()},o.allBtnUnSelect=function(){for(var t=0;t<this.type_content.children.length;t++){this.type_content.children[t].getComponent(f).unselectStatus()}},o.onTypeItemClick=function(t){this.allBtnUnSelect(),t.selectStatus(),this.m_cur_select_type!=t.getType()&&(this.m_cur_select_type=t.getType(),this.updateView())},o.updateView=function(){var t;this.content.removeAllChildren();var e=new h(this.result_scrollview.getComponent(u).width,700);-2==this.m_cur_select_type?(this.search_node.active=!0,t=this.m_search_item_list):(this.search_node.active=!1,e.height=800,t=this.getEventListByType()),this.result_scrollview.getComponent(u).setContentSize(e);for(var n=0;n<t.length;n++){var i=t[n],r=_(this.event_item_prefab);r.parent=this.content,r.getComponent(b).initView(i.type,i,this.onDeleteItem.bind(this))}},o.onDeleteItem=function(t){var e=d.Singleton.edit_scene_view.getTaskData();if(null!=e)for(var n=0;n<e.event_list.length;n++){if(e.event_list[n].event_id===t.event_id){e.event_list.splice(n,1),this.updateView(),g.dispatchEvent(v.Event.UpdateEditScene);break}}},o.getEventListByType=function(){var t=m.Singleton.getEventList();if(-1==this.m_cur_select_type)return t;for(var e=[],n=0;n<t.length;n++){var i=t[n];i.type==this.m_cur_select_type&&e.push(i)}return e},o.searchAction=function(t,e){if(this.m_search_item_list.splice(0,this.m_search_item_list.length),e)this.searchData(parseInt(t));else{for(var n=!1,i=m.Singleton.getEventList(),r=0;r<i.length;r++){var o=i[r];if(-1!=o.event_name.indexOf(t)){0!=o.event_id&&(this.searchData(o.event_id),n=!0);break}}0==n&&y.showToast("搜索的内容不存在")}this.searchCreateItem()},o.searchData=function(t){for(var e=m.Singleton.getEventList(),n=0;n<e.length;n++){var i=e[n];if(i.event_id==t){this.m_search_item_list.push(i);var r=i.success.trigger_event_id;-1!=r&&this.searchData(r);break}}0==this.m_search_item_list.length&&y.showToast("搜索的id不存在")},o.searchCreateItem=function(){this.content.removeAllChildren();for(var t=0;t<this.m_search_item_list.length;t++){var e=this.m_search_item_list[t],n=_(this.event_item_prefab);n.parent=this.content,n.getComponent(b).initView(e.type,e,this.onDeleteItem.bind(this))}},e}(p)).prototype,"event_item_prefab",[C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),F=e(B.prototype,"btn_close",[T],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),O=e(B.prototype,"result_scrollview",[E],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),H=e(B.prototype,"content",[z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),N=e(B.prototype,"type_content",[D],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),P=e(B.prototype,"type_btn",[S],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),R=e(B.prototype,"search_node",[k],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),j=e(B.prototype,"search_id_editbox",[A],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),q=e(B.prototype,"search_id_btn",[I],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),M=e(B.prototype,"search_content_editbox",[x],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),Z=e(B.prototype,"search_content_btn",[L],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),V=B))||V));o._RF.pop()}}}));

System.register("chunks:///_virtual/edit_event.ts",["./rollupPluginModLoBabelHelpers.js","cc","./config.ts","./event_play_ani_view.ts","./tools.ts","./event_top_view_view.ts","./event_text_sound.ts","./event_change_one_item_status.ts","./event_show_new_item.ts","./event_show_question_select.ts","./event_countdown_over.ts","./Attributes.ts","./event_start_event.ts","./event_active_event.ts","./event_collect_event.ts","./event_be_event.ts","./event_hide.ts","./event_delay_exe_event.ts","./event_fail_event.ts","./event_play_sound.ts","./event_show_scene_title.ts","./event_scene_ani.ts","./event_delete_drag_other_data_view.ts","./event_stop_play_loop_sound.ts","./event_stop_active_event.ts","./event_switch_scene_event.ts","./event_more_scene_jump_assigned_page_event.ts","./event_more_scene_is_show_arrow_event.ts","./event_group.ts","./event_top_view_hide_view.ts"],(function(e){var t,n,i,_,a,s,o,r,l,c,v,u,p,h,d,m,g,b,w,f,y,C,z,k,x,V,E,T,j,q,D,N,H,A,O,U,L,B;return{setters:[function(e){t=e.applyDecoratedDescriptor,n=e.inheritsLoose,i=e.initializerDefineProperty,_=e.assertThisInitialized},function(e){a=e.cclegacy,s=e._decorator,o=e.Node,r=e.Label,l=e.Toggle,c=e.Component},function(e){v=e.config},function(e){u=e.event_play_ani_view},function(e){p=e.tools},function(e){h=e.event_top_view_view},function(e){d=e.event_text_sound},function(e){m=e.event_change_one_item_status},function(e){g=e.event_show_new_item},function(e){b=e.event_show_question_select},function(e){w=e.event_countdown_over},function(e){f=e.Attributes},function(e){y=e.event_start_event},function(e){C=e.event_active_event},function(e){z=e.event_collect_event},function(e){k=e.event_be_event},function(e){x=e.event_hide},function(e){V=e.event_delay_exe_event},function(e){E=e.event_fail_event},function(e){T=e.event_play_sound},function(e){j=e.event_show_scene_title},function(e){q=e.event_scene_ani},function(e){D=e.event_delete_drag_other_data_view},function(e){N=e.event_stop_play_loop_sound},function(e){H=e.event_stop_active_event},function(e){A=e.event_switch_scene_event},function(e){O=e.event_more_scene_jump_assigned_page_event},function(e){U=e.event_more_scene_is_show_arrow_event},function(e){L=e.event_group},function(e){B=e.event_top_view_hide_view}],execute:function(){var F,M,P,S,R,W,G,I,J,K,Q,X,Y,Z,$,ee,te,ne,ie,_e,ae,se,oe,re,le,ce,ve,ue,pe,he,de,me,ge,be,we,fe,ye,Ce,ze,ke,xe,Ve,Ee,Te,je,qe,De,Ne,He,Ae,Oe,Ue,Le,Be,Fe,Me,Pe,Se,Re,We,Ge,Ie,Je,Ke,Qe,Xe,Ye,Ze,$e,et,tt,nt,it,_t,at,st,ot,rt,lt,ct,vt,ut,pt,ht,dt;a._RF.push({},"3ae49k2961CEJGBVKu25opj","edit_event",void 0);var mt=s.ccclass,gt=s.property;e("edit_event",(F=mt("edit_event"),M=gt(o),P=gt(o),S=gt(o),R=gt(o),W=gt(o),G=gt(o),I=gt(o),J=gt(o),K=gt(o),Q=gt(o),X=gt(o),Y=gt(o),Z=gt(o),$=gt(o),ee=gt(o),te=gt(o),ne=gt(o),ie=gt(o),_e=gt(o),ae=gt(o),se=gt(o),oe=gt(o),re=gt(o),le=gt(o),ce=gt(o),ve=gt(o),ue=gt(o),pe=gt(o),he=gt(o),de=gt(o),me=gt(o),ge=gt(o),be=gt(o),we=gt(o),fe=gt(o),ye=gt(o),Ce=gt(o),ze=gt(o),ke=gt(o),xe=gt(o),Ve=gt(o),F((je=t((Te=function(e){function t(){for(var t,n=arguments.length,a=new Array(n),s=0;s<n;s++)a[s]=arguments[s];return t=e.call.apply(e,[this].concat(a))||this,i(t,"play_ani",je,_(t)),i(t,"top_view",qe,_(t)),i(t,"top_view_hide",De,_(t)),i(t,"text_sound",Ne,_(t)),i(t,"change_one_item_status",He,_(t)),i(t,"show_new_item",Ae,_(t)),i(t,"btn_delete",Oe,_(t)),i(t,"show_question_select",Ue,_(t)),i(t,"countdown_over",Le,_(t)),i(t,"active_event",Be,_(t)),i(t,"stop_active_event",Fe,_(t)),i(t,"start_event",Me,_(t)),i(t,"collect_event",Pe,_(t)),i(t,"be_event",Se,_(t)),i(t,"hide",Re,_(t)),i(t,"delay_exe_event",We,_(t)),i(t,"switch_scene_event",Ge,_(t)),i(t,"more_scene_is_show_arrow_event",Ie,_(t)),i(t,"more_scene_jump_assigned_page_event",Je,_(t)),i(t,"event_group",Ke,_(t)),i(t,"scene_ani",Qe,_(t)),i(t,"delete_drag_other_data",Xe,_(t)),i(t,"fail_event",Ye,_(t)),i(t,"play_sound",Ze,_(t)),i(t,"stop_play_loop_sound",$e,_(t)),i(t,"show_scene_title",et,_(t)),i(t,"is_finish_game",tt,_(t)),i(t,"is_next_scene",nt,_(t)),i(t,"btn_finish_trigger_event_id",it,_(t)),i(t,"lab_finish_trigger_event_id",_t,_(t)),i(t,"is_restart",at,_(t)),i(t,"is_relife",st,_(t)),i(t,"btn_fail_trigger_event_id",ot,_(t)),i(t,"lab_fail_trigger_event_id",rt,_(t)),i(t,"btn_set_next_event",lt,_(t)),i(t,"lab_set_next_event",ct,_(t)),i(t,"btn_fail",vt,_(t)),i(t,"btn_win",ut,_(t)),i(t,"lab_event_name",pt,_(t)),i(t,"btn_close",ht,_(t)),i(t,"btn_clear_event",dt,_(t)),t.widget_map=new Map,t.m_data=null,t.m_type=0,t.m_delete_call=null,t}n(t,e);var a=t.prototype;return a.show=function(e,t,n){var i=this;this.m_data=t,this.m_type=e,this.m_delete_call=n,this.initMap(),this.initEventView(),this.lab_event_name.getComponent(r).string="事件名字:"+this.m_data.event_name,this.m_delete_call=n,this.btn_delete.on(o.EventType.TOUCH_END,(function(){null!=i.m_delete_call&&p.show_dialog("是否删除选中的事件？",(function(){i.m_delete_call(i.m_data),i.node.destroy(),i.node.removeFromParent()}))})),this.btn_clear_event.on(o.EventType.TOUCH_END,(function(){i.m_data.success.trigger_event_id=-1,i.lab_finish_trigger_event_id.getComponent(r).string="暂未设置触发下个事件的id"})),this.btn_close.on(o.EventType.TOUCH_END,(function(){i.node.removeFromParent()})),this.is_finish_game.getComponent(l).isChecked=this.m_data.success.is_finish_game,this.is_next_scene.getComponent(l).isChecked=this.m_data.success.is_next_scene,this.lab_finish_trigger_event_id.getComponent(r).string=-1==this.m_data.success.trigger_event_id?"暂未设置触发下个事件的id":"触发下个事件的id"+this.m_data.success.trigger_event_id,this.is_relife.getComponent(l).isChecked=this.m_data.fail.is_relife,this.is_restart.getComponent(l).isChecked=this.m_data.fail.is_restart,this.lab_fail_trigger_event_id.getComponent(r).string=-1==this.m_data.fail.trigger_event_id?"暂未设置失败事件的id":'败事件的id":'+this.m_data.fail.trigger_event_id,this.is_finish_game.on("toggle",this.change.bind(this)),this.is_next_scene.on("toggle",this.change.bind(this)),this.is_relife.on("toggle",this.change.bind(this)),this.is_restart.on("toggle",this.change.bind(this)),this.btn_fail_trigger_event_id.on(o.EventType.TOUCH_END,(function(){var e=f.Singleton.getEventList();p.show_select_evele_list(e,(function(e){i.m_data.fail.trigger_event_id=e.event_id,i.lab_fail_trigger_event_id.getComponent(r).string=-1==i.m_data.fail.trigger_event_id?"暂未设置失败事件的id":'败事件的id":'+i.m_data.fail.trigger_event_id}))})),this.btn_finish_trigger_event_id.on(o.EventType.TOUCH_END,(function(){var e=f.Singleton.getEventList();p.show_select_evele_list(e,(function(e){i.m_data.success.trigger_event_id=e.event_id,i.lab_finish_trigger_event_id.getComponent(r).string=-1==i.m_data.success.trigger_event_id?"暂未设置触发下个事件的id":"触发下个事件的id"+i.m_data.success.trigger_event_id}))})),this.btn_set_next_event.on(o.EventType.TOUCH_START,(function(){0==i.btn_win.active?(i.btn_fail.active=!0,i.btn_win.active=!0,i.lab_set_next_event.getComponent(r).string="收起",i.m_type==v.event_type.switch_scene_event&&(i.btn_fail.active=!1,i.btn_win.getChildByName("is_finish_game").active=!1,i.btn_win.getChildByName("is_next_scene").active=!1)):(i.btn_fail.active=!1,i.btn_win.active=!1,i.lab_set_next_event.getComponent(r).string="设置后续关联")}))},a.change=function(){this.m_data.success.is_finish_game=this.is_finish_game.getComponent(l).isChecked,this.m_data.success.is_next_scene=this.is_next_scene.getComponent(l).isChecked,this.m_data.fail.is_relife=this.is_relife.getComponent(l).isChecked,this.m_data.fail.is_restart=this.is_restart.getComponent(l).isChecked},a.initMap=function(){this.widget_map.set(v.event_type.play_ani,this.play_ani),this.widget_map.set(v.event_type.top_view,this.top_view),this.widget_map.set(v.event_type.top_view_hide,this.top_view_hide),this.widget_map.set(v.event_type.text_sound,this.text_sound),this.widget_map.set(v.event_type.change_one_item_status,this.change_one_item_status),this.widget_map.set(v.event_type.show_new_item,this.show_new_item),this.widget_map.set(v.event_type.show_question_select,this.show_question_select),this.widget_map.set(v.event_type.countdown_over,this.countdown_over),this.widget_map.set(v.event_type.start_event,this.start_event),this.widget_map.set(v.event_type.collect_event,this.collect_event),this.widget_map.set(v.event_type.active_event,this.active_event),this.widget_map.set(v.event_type.stop_active_event,this.stop_active_event),this.widget_map.set(v.event_type.be_event,this.be_event),this.widget_map.set(v.event_type.hide,this.hide),this.widget_map.set(v.event_type.delay_exe_event,this.delay_exe_event),this.widget_map.set(v.event_type.switch_scene_event,this.switch_scene_event),this.widget_map.set(v.event_type.more_scene_is_show_arrow_event,this.more_scene_is_show_arrow_event),this.widget_map.set(v.event_type.more_scene_jump_assigned_page_event,this.more_scene_jump_assigned_page_event),this.widget_map.set(v.event_type.fail_event,this.fail_event),this.widget_map.set(v.event_type.play_sound,this.play_sound),this.widget_map.set(v.event_type.show_scene_title,this.show_scene_title),this.widget_map.set(v.event_type.scene_ani,this.scene_ani),this.widget_map.set(v.event_type.delete_drag_other_data,this.delete_drag_other_data),this.widget_map.set(v.event_type.stop_play_loop_sound,this.stop_play_loop_sound),this.widget_map.set(v.event_type.event_group,this.event_group)},a.hideAllWidget=function(){this.widget_map.forEach((function(e,t){e.active=!1}))},a.initEventView=function(){switch(this.hideAllWidget(),this.widget_map.get(this.m_type).active=!0,console.log("initEventView",this.m_type),this.m_type){case v.event_type.play_ani:this.play_ani.getComponent(u).initView(this.m_data.event_item_play_ani_data);break;case v.event_type.top_view:this.top_view.getComponent(h).initView(this.m_data.event_item_top_view_data);break;case v.event_type.top_view_hide:this.top_view_hide.getComponent(B).initView(this.m_data.event_item_top_view_hide_data);break;case v.event_type.text_sound:this.text_sound.getComponent(d).initView(this.m_data.event_item_text_sound_data);break;case v.event_type.change_one_item_status:this.change_one_item_status.getComponent(m).initView(this.m_data.event_item_change_one_item_status_data);break;case v.event_type.show_new_item:this.show_new_item.getComponent(g).initView(this.m_data.event_item_show_new_item_data);break;case v.event_type.show_question_select:this.show_question_select.getComponent(b).initView(this.m_data.event_item_show_question_select_data);break;case v.event_type.countdown_over:this.countdown_over.getComponent(w).initView(this.m_data.event_item_countdown_over_data);break;case v.event_type.start_event:this.start_event.getComponent(y).initView(this.m_data.event_item_start_event_data);break;case v.event_type.collect_event:this.collect_event.getComponent(z).initView(this.m_data.event_item_collect_event_data,this.m_data.event_id);break;case v.event_type.active_event:this.active_event.getComponent(C).initView(this.m_data.event_item_active_event_data);break;case v.event_type.stop_active_event:this.stop_active_event.getComponent(H).initView(this.m_data.event_item_stop_active_event_data);break;case v.event_type.be_event:this.be_event.getComponent(k).initView(this.m_data.event_item_be_event_data);break;case v.event_type.hide:this.hide.getComponent(x).initView(this.m_data.event_item_hide_data);break;case v.event_type.delay_exe_event:this.delay_exe_event.getComponent(V).initView(this.m_data.event_item_delay_exe_data);break;case v.event_type.fail_event:this.fail_event.getComponent(E).initView(this.m_data.event_item_fail_event_data);break;case v.event_type.play_sound:this.play_sound.getComponent(T).initView(this.m_data.event_item_play_sound_data);break;case v.event_type.show_scene_title:this.show_scene_title.getComponent(j).initView(this.m_data.event_item_show_scene_title_data);break;case v.event_type.scene_ani:this.scene_ani.getComponent(q).initView(this.m_data.event_item_scene_ani);break;case v.event_type.delete_drag_other_data:this.delete_drag_other_data.getComponent(D).initView(this.m_data.event_item_delete_drag_other_data);break;case v.event_type.stop_play_loop_sound:this.stop_play_loop_sound.getComponent(N).initView(this.m_data.event_item_stop_play_loop_sound_data);break;case v.event_type.switch_scene_event:this.switch_scene_event.getComponent(A).initView(this.m_data.event_item_switch_scene_event_data);break;case v.event_type.more_scene_is_show_arrow_event:this.more_scene_is_show_arrow_event.getComponent(U).initView(this.m_data.event_item_more_scene_is_show_arrow_event_data);break;case v.event_type.more_scene_jump_assigned_page_event:this.more_scene_jump_assigned_page_event.getComponent(O).initView(this.m_data.event_item_more_scene_jump_assigned_page_event_data);break;case v.event_type.event_group:this.event_group.getComponent(L).initView(this.m_data,this.m_data.event_item_event_group_data)}},t}(c)).prototype,"play_ani",[M],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),qe=t(Te.prototype,"top_view",[P],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),De=t(Te.prototype,"top_view_hide",[S],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),Ne=t(Te.prototype,"text_sound",[R],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),He=t(Te.prototype,"change_one_item_status",[W],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),Ae=t(Te.prototype,"show_new_item",[G],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),Oe=t(Te.prototype,"btn_delete",[I],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),Ue=t(Te.prototype,"show_question_select",[J],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),Le=t(Te.prototype,"countdown_over",[K],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),Be=t(Te.prototype,"active_event",[Q],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),Fe=t(Te.prototype,"stop_active_event",[X],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),Me=t(Te.prototype,"start_event",[Y],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),Pe=t(Te.prototype,"collect_event",[Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),Se=t(Te.prototype,"be_event",[$],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),Re=t(Te.prototype,"hide",[ee],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),We=t(Te.prototype,"delay_exe_event",[te],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),Ge=t(Te.prototype,"switch_scene_event",[ne],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),Ie=t(Te.prototype,"more_scene_is_show_arrow_event",[ie],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),Je=t(Te.prototype,"more_scene_jump_assigned_page_event",[_e],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),Ke=t(Te.prototype,"event_group",[ae],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),Qe=t(Te.prototype,"scene_ani",[se],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),Xe=t(Te.prototype,"delete_drag_other_data",[oe],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),Ye=t(Te.prototype,"fail_event",[re],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),Ze=t(Te.prototype,"play_sound",[le],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),$e=t(Te.prototype,"stop_play_loop_sound",[ce],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),et=t(Te.prototype,"show_scene_title",[ve],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),tt=t(Te.prototype,"is_finish_game",[ue],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),nt=t(Te.prototype,"is_next_scene",[pe],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),it=t(Te.prototype,"btn_finish_trigger_event_id",[he],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),_t=t(Te.prototype,"lab_finish_trigger_event_id",[de],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),at=t(Te.prototype,"is_restart",[me],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),st=t(Te.prototype,"is_relife",[ge],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),ot=t(Te.prototype,"btn_fail_trigger_event_id",[be],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),rt=t(Te.prototype,"lab_fail_trigger_event_id",[we],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),lt=t(Te.prototype,"btn_set_next_event",[fe],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),ct=t(Te.prototype,"lab_set_next_event",[ye],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),vt=t(Te.prototype,"btn_fail",[Ce],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),ut=t(Te.prototype,"btn_win",[ze],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),pt=t(Te.prototype,"lab_event_name",[ke],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),ht=t(Te.prototype,"btn_close",[xe],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),dt=t(Te.prototype,"btn_clear_event",[Ve],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),Ee=Te))||Ee));a._RF.pop()}}}));

System.register("chunks:///_virtual/edit_scene.ts",["./rollupPluginModLoBabelHelpers.js","cc","./tools.ts","./config.ts","./scene_select_list.ts","./clientEvent.ts","./cur_edit_scene.ts","./scene_task.ts","./Attributes.ts","./gameManager.ts"],(function(e){var t,n,i,r,c,o,s,l,u,a,_,f,p,b,d,g,h;return{setters:[function(e){t=e.applyDecoratedDescriptor,n=e.inheritsLoose,i=e.initializerDefineProperty,r=e.assertThisInitialized},function(e){c=e.cclegacy,o=e._decorator,s=e.Node,l=e.Prefab,u=e.Component},function(e){a=e.tools},function(e){_=e.config},function(e){f=e.scene_select_list},function(e){p=e.ClientEvent},function(e){b=e.cur_edit_scene},function(e){d=e.scene_task},function(e){g=e.Attributes},function(e){h=e.gameManager}],execute:function(){var m,v,w,y,E,C,S,T,z,D,U,k,H,N,A,L,O,P,V,B,M,x,I,F,R;c._RF.push({},"20e8erWUXNHSYTbZPmKh8py","edit_scene",void 0);var W=o.ccclass,j=o.property;e("edit_scene",(m=W("edit_scene"),v=j(s),w=j(s),y=j(s),E=j(s),C=j(s),S=j(s),T=j(s),z=j(s),D=j(l),U=j(s),k=j(s),m((A=t((N=function(e){function t(){for(var t,n=arguments.length,c=new Array(n),o=0;o<n;o++)c[o]=arguments[o];return t=e.call.apply(e,[this].concat(c))||this,i(t,"btn_refresh_scene",A,r(t)),i(t,"btn_add_scene",L,r(t)),i(t,"btn_run",O,r(t)),i(t,"btn_run_all",P,r(t)),i(t,"btn_save",V,r(t)),i(t,"btn_delete",B,r(t)),i(t,"scene_select_list",M,r(t)),i(t,"scene_task",x,r(t)),i(t,"scene_prefab",I,r(t)),i(t,"cur_edit_scene_node",F,r(t)),i(t,"btn_widget_list",R,r(t)),t.m_main=null,t}n(t,e);var c=t.prototype;return c.getMain=function(){return this.m_main},c.init=function(e){this.m_main=e,this.initSceneList(),this.cur_edit_scene_node.getComponent(b).initView(this),this.scene_select_list.getComponent(f).initView(this.m_main),this.scene_task.getComponent(d).initView(this)},c.getTaskData=function(){return this.scene_task.getComponent(d).getTaskData()},c.getCurSelectSceneIndex=function(){return this.scene_select_list.getComponent(f).getCurSelectSceneIndex()},c.getCurSelectScene=function(){return this.scene_select_list.getComponent(f).getCurSelectScene()},c.getCurEditBaseView=function(){return this.cur_edit_scene_node.getComponent(b).getCurEditBaseView()},c.getPrefabByType=function(){return this.scene_prefab},c.initSceneList=function(){},c.onAddScene=function(e){this.m_main.control_view.push_scene_data(e),p.dispatchEvent(_.Event.UpdateSceneList)},c.start=function(){var e=this;this.btn_refresh_scene.on(s.EventType.TOUCH_END,(function(){p.dispatchEvent(_.Event.UpdateEditScene)})),this.btn_add_scene.on(s.EventType.TOUCH_END,(function(){a.show_add_scene(e.onAddScene.bind(e))})),this.btn_run.on(s.EventType.TOUCH_END,(function(){if(e.getCurSelectScene().is_child_scene)return a.showToast("子场景不可以运行");a.show_loading((function(){a.game_run((function(){a.hide_loading()}))}))})),this.btn_run_all.on(s.EventType.TOUCH_END,(function(){a.game_run_all()})),this.btn_save.on(s.EventType.TOUCH_END,(function(){h.requestSaveEditScene()})),this.btn_delete.on(s.EventType.TOUCH_END,(function(){e.m_main.control_view.get_bag_data().content.length<=0?a.showToast("暂无场景可以删除！"):a.show_dialog("是否删除当前选中的场景？",(function(){e.m_main.control_view.remove_scene_data(e.scene_select_list.getComponent(f).getCurSelectScene()),p.dispatchEvent(_.Event.UpdateSceneList)}))})),this.btn_widget_list.on(s.EventType.TOUCH_END,(function(){g.Singleton.hideAllAtt(),p.dispatchEvent(_.Event.ShowWidgetList)}))},t}(u)).prototype,"btn_refresh_scene",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),L=t(N.prototype,"btn_add_scene",[w],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),O=t(N.prototype,"btn_run",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),P=t(N.prototype,"btn_run_all",[E],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),V=t(N.prototype,"btn_save",[C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),B=t(N.prototype,"btn_delete",[S],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),M=t(N.prototype,"scene_select_list",[T],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),x=t(N.prototype,"scene_task",[z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),I=t(N.prototype,"scene_prefab",[D],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),F=t(N.prototype,"cur_edit_scene_node",[U],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),R=t(N.prototype,"btn_widget_list",[k],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),H=N))||H));c._RF.pop()}}}));

System.register("chunks:///_virtual/event_active_event.ts",["./rollupPluginModLoBabelHelpers.js","cc","./data.ts","./Attributes.ts","./config.ts","./tools.ts","./clientEvent.ts","./edit_event_more_item.ts"],(function(t){var i,e,n,a,_,r,o,d,s,l,u,g,c,b,f,p,m;return{setters:[function(t){i=t.applyDecoratedDescriptor,e=t.inheritsLoose,n=t.initializerDefineProperty,a=t.assertThisInitialized},function(t){_=t.cclegacy,r=t._decorator,o=t.Node,d=t.Prefab,s=t.Label,l=t.Component,u=t.instantiate},function(t){g=t.event_widget_more_event_item},function(t){c=t.Attributes},function(t){b=t.config},function(t){f=t.tools},function(t){p=t.ClientEvent},function(t){m=t.edit_event_more_item}],execute:function(){var w,h,v,y,S,T,A,C,L,U,D,E,M;_._RF.push({},"ea227WDto9AabLCU/D2RGGU","event_active_event",void 0);var z=r.ccclass,V=r.property;t("event_active_event",(w=z("event_active_event"),h=V(o),v=V(o),y=V(o),S=V(o),T=V(d),w((L=i((C=function(t){function i(){for(var i,e=arguments.length,_=new Array(e),r=0;r<e;r++)_[r]=arguments[r];return(i=t.call.apply(t,[this].concat(_))||this).m_data=null,n(i,"btn_select_ui",L,a(i)),n(i,"lab_name",U,a(i)),n(i,"btn_more",D,a(i)),n(i,"content",E,a(i)),n(i,"item_more_prefab",M,a(i)),i}e(i,t);var _=i.prototype;return _.start=function(){var t=this;this.btn_more.on(o.EventType.TOUCH_END,(function(){t.onClickMoreBtn()}),this)},_.initView=function(t){var i=this;this.m_data=t,this.btn_select_ui.on(o.EventType.TOUCH_END,(function(){var t=c.Singleton.get_cur_scene_all_only_widget();if(t.length<=0)return f.showToast("当前场景没有添控件！");f.show_select_widget_list(t,(function(t){i.m_data.binding_widget_id=t.att.id,i.updateStatus()}),i.m_data.binding_widget_id)})),this.updateStatus(),this.updateMoreListStatus(),p.on(b.Event.UpdateAttributesToView,this.UpdateAttributesToView,this)},_.onDestroy=function(){p.off(b.Event.UpdateAttributesToView,this.UpdateAttributesToView,this)},_.UpdateAttributesToView=function(t,i){if(i==b.attributes_list_type.delete){this.m_data.binding_widget_id===t.id&&(this.m_data.binding_widget_id=-1,this.updateStatus());for(var e=!1,n=0;n<this.m_data.binding_widget_list.length;n++){var a=this.m_data.binding_widget_list[n];a.binding_widget_id===t.id&&(a.binding_widget_id=-1,e=!0)}e&&this.updateMoreListStatus()}},_.updateStatus=function(){this.lab_name.getComponent(s).string=-1===this.m_data.binding_widget_id?"当前选择激活的控件":"当前选择激活的控件id："+this.m_data.binding_widget_id},_.onClickMoreBtn=function(){var t=this,i=c.Singleton.get_cur_scene_all_only_widget();if(i.length<=0)return f.showToast("当前场景没有添控件！");f.show_select_widget_list(i,(function(i){if(i.att.id!=t.m_data.binding_widget_id){for(var e=-1,n=0;n<t.m_data.binding_widget_list.length;n++){if(t.m_data.binding_widget_list[n].binding_widget_id==i.att.id){e=n;break}}-1!=e&&t.m_data.binding_widget_list.splice(e,1);var a=new g;a.binding_widget_id=i.att.id,a.binding_widget_remark=i.att.remark,t.m_data.binding_widget_list.push(a),t.updateMoreListStatus()}}),this.m_data.binding_widget_id)},_.updateMoreListStatus=function(){var t=this;null==this.m_data.binding_widget_list&&(this.m_data.binding_widget_list=[]),this.content.removeAllChildren();for(var i=function(i){var e=t.m_data.binding_widget_list[i],n=u(t.item_more_prefab);n.parent=t.content,n.getComponent(m).initView(e,(function(){t.m_data.binding_widget_list.splice(i,1),t.updateMoreListStatus()}))},e=0;e<this.m_data.binding_widget_list.length;e++)i(e)},i}(l)).prototype,"btn_select_ui",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),U=i(C.prototype,"lab_name",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),D=i(C.prototype,"btn_more",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),E=i(C.prototype,"content",[S],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),M=i(C.prototype,"item_more_prefab",[T],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),A=C))||A));_._RF.pop()}}}));

System.register("chunks:///_virtual/event_be_event.ts",["./rollupPluginModLoBabelHelpers.js","cc","./Attributes.ts","./tools.ts","./clientEvent.ts","./config.ts"],(function(t){var e,i,n,o,s,a,r,_,d,l,u,c,g;return{setters:[function(t){e=t.applyDecoratedDescriptor,i=t.inheritsLoose,n=t.initializerDefineProperty,o=t.assertThisInitialized},function(t){s=t.cclegacy,a=t._decorator,r=t.Node,_=t.Label,d=t.Component},function(t){l=t.Attributes},function(t){u=t.tools},function(t){c=t.ClientEvent},function(t){g=t.config}],execute:function(){var b,p,f,w,h,v,m;s._RF.push({},"abd29V4ATJP6bEwjkn80VFW","event_be_event",void 0);var y=a.ccclass,T=a.property;t("event_be_event",(b=y("event_be_event"),p=T(r),f=T(r),b((v=e((h=function(t){function e(){for(var e,i=arguments.length,s=new Array(i),a=0;a<i;a++)s[a]=arguments[a];return(e=t.call.apply(t,[this].concat(s))||this).m_data=null,n(e,"btn_select_widget",v,o(e)),n(e,"lab_select_widget",m,o(e)),e}i(e,t);var s=e.prototype;return s.initView=function(t){var e=this;this.m_data=t,this.btn_select_widget.on(r.EventType.TOUCH_END,(function(){var t=l.Singleton.get_cur_scene_all_only_widget();if(t.length<=0)return u.showToast("当前场景没有添加控件！");u.show_select_widget_list(t,(function(t){e.m_data.binding_widget_id=t.att.id,e.updateStatus()}),e.m_data.binding_widget_id)})),this.updateStatus(),c.on(g.Event.UpdateAttributesToView,this.UpdateAttributesToView,this)},s.onDestroy=function(){c.off(g.Event.UpdateAttributesToView,this.UpdateAttributesToView,this)},s.UpdateAttributesToView=function(t,e){this.m_data.binding_widget_id===t.id&&e===g.attributes_list_type.delete&&(this.m_data.binding_widget_id=-1,this.updateStatus())},s.updateStatus=function(){-1===this.m_data.binding_widget_id?this.lab_select_widget.getComponent(_).string="选择被动触发事件的控件":this.lab_select_widget.getComponent(_).string="选择被动触发事件的控件id："+this.m_data.binding_widget_id},e}(d)).prototype,"btn_select_widget",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),m=e(h.prototype,"lab_select_widget",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),w=h))||w));s._RF.pop()}}}));

System.register("chunks:///_virtual/event_change_one_item_status.ts",["./rollupPluginModLoBabelHelpers.js","cc","./clientEvent.ts","./config.ts","./base_res.ts","./img_item.ts","./Attributes.ts","./tools.ts"],(function(t){var e,n,i,a,r,s,o,_,l,u,c,d,g,h,m,p,f,b,w,v,y;return{setters:[function(t){e=t.applyDecoratedDescriptor,n=t.inheritsLoose,i=t.initializerDefineProperty,a=t.assertThisInitialized},function(t){r=t.cclegacy,s=t._decorator,o=t.Node,_=t.assetManager,l=t.Texture2D,u=t.SpriteFrame,c=t.Sprite,d=t.Label,g=t.UITransform,h=t.Rect,m=t.Component},function(t){p=t.ClientEvent},function(t){f=t.config},function(t){b=t.base_res},function(t){w=t.img_item},function(t){v=t.Attributes},function(t){y=t.tools}],execute:function(){var C,E,T,D,R,S,O,U,z,A,k,V,x,F,I;r._RF.push({},"cf47dOI+C5ElKbtUK37wdy4","event_change_one_item_status",void 0);var L=s.ccclass,N=s.property;t("event_change_one_item_status",(C=L("event_change_one_item_status"),E=N(o),T=N(o),D=N(o),R=N(o),S=N(o),O=N(o),C((A=e((z=function(t){function e(){for(var e,n=arguments.length,r=new Array(n),s=0;s<n;s++)r[s]=arguments[s];return(e=t.call.apply(t,[this].concat(r))||this).m_data=null,i(e,"btn_select_widget",A,a(e)),i(e,"lab_select_widget",k,a(e)),i(e,"res_node",V,a(e)),i(e,"lab_res_name",x,a(e)),i(e,"rect_res",F,a(e)),i(e,"res_sf",I,a(e)),e}n(e,t);var r=e.prototype;return r.start=function(){var t=this;this.res_sf.on(o.EventType.TOUCH_END,(function(){y.select_res_list((function(e){t.m_data.att.res=e.url,t.m_data.att.res_name=e.name,e.url.length>0&&_.loadRemote(t.m_data.att.res,(function(e,n){if(!e&&n){var i=new l;i.image=n;var a=new u;a.texture=i,t.res_sf.getComponent(c).spriteFrame=a}})),t.lab_res_name.getComponent(d).string=t.m_data.att.res_name}))}),this)},r.initView=function(t){var e=this;this.m_data=t,this.btn_select_widget.on(o.EventType.TOUCH_END,(function(){var t=v.Singleton.get_cur_scene_all_only_widget();if(t.length<=0)return y.showToast("当前场景没有添加文本和音效！");y.show_select_widget_list(t,(function(t){e.m_data.binding_widget_id=t.att.id,e.updateStatus()}),e.m_data.binding_widget_id)})),this.updateStatus(),p.on(f.Event.UpdateAttributesToView,this.UpdateAttributesToView,this),p.on(f.Event.DragResEndOnCheck,this.DragResEndOnCheck,this)},r.onDestroy=function(){p.off(f.Event.UpdateAttributesToView,this.UpdateAttributesToView,this),p.off(f.Event.DragResEndOnCheck,this.DragResEndOnCheck,this)},r.UpdateAttributesToView=function(t,e){this.m_data.binding_widget_id===t.id&&e===f.attributes_list_type.delete&&(this.m_data.binding_widget_id=-1,this.updateStatus())},r.updateStatus=function(){var t=this;-1===this.m_data.binding_widget_id?(this.res_node.active=!1,this.lab_select_widget.getComponent(d).string="选择要改变状态的控件"):(this.res_node.active=!0,this.lab_select_widget.getComponent(d).string="当前要改变状态的控件id："+this.m_data.binding_widget_id,this.m_data.att.res.length>0&&_.loadRemote(this.m_data.att.res,(function(e,n){if(!e&&n){var i=new l;i.image=n;var a=new u;a.texture=i,t.res_sf.getComponent(c).spriteFrame=a}})),this.lab_res_name.getComponent(d).string=this.m_data.att.res_name.length>0?this.m_data.att.res_name:"无")},r.getRect=function(){var t=this.rect_res.getComponent(g).contentSize,e=this.rect_res.parent.getComponent(g).convertToWorldSpaceAR(this.rect_res.position);return new h(e.x-t.width/2,e.y-t.height/2,t.width,t.height)},r.DragResEndOnCheck=function(t,e){if(this.getRect().contains(t))if(e.getComponent(b).getType()===f.select_res_btn_type.SOUND_LIST);else{console.log("event_change_one_item_status-DragResEndOnCheck");var n=e.getComponent(w).getData();this.m_data.att.res=n.url,this.m_data.att.res_name=n.name,this.updateStatus()}},e}(m)).prototype,"btn_select_widget",[E],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),k=e(z.prototype,"lab_select_widget",[T],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),V=e(z.prototype,"res_node",[D],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),x=e(z.prototype,"lab_res_name",[R],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),F=e(z.prototype,"rect_res",[S],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),I=e(z.prototype,"res_sf",[O],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),U=z))||U));r._RF.pop()}}}));

System.register("chunks:///_virtual/event_collect_event.ts",["./rollupPluginModLoBabelHelpers.js","cc","./Attributes.ts","./tools.ts","./collect_event_item.ts"],(function(t){var e,n,i,l,o,r,c,a,s,_,u,v,f;return{setters:[function(t){e=t.applyDecoratedDescriptor,n=t.inheritsLoose,i=t.initializerDefineProperty,l=t.assertThisInitialized},function(t){o=t.cclegacy,r=t._decorator,c=t.Node,a=t.Prefab,s=t.instantiate,_=t.Component},function(t){u=t.Attributes},function(t){v=t.tools},function(t){f=t.collect_event_item}],execute:function(){var p,d,h,b,m,g,y,w,z;o._RF.push({},"5cc31tTgf9FdIKcmiX4PH3j","event_collect_event",void 0);var A=r.ccclass,S=r.property;t("event_collect_event",(p=A("event_collect_event"),d=S(c),h=S(c),b=S(a),p((y=e((g=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).m_data=null,i(e,"btn_select_collect_event",y,l(e)),i(e,"content",w,l(e)),i(e,"item_prefab",z,l(e)),e._self_event_id=0,e}n(e,t);var o=e.prototype;return o.initView=function(t,e){var n=this;this.m_data=t,this._self_event_id=e,this.btn_select_collect_event.on(c.EventType.TOUCH_END,(function(){var t=u.Singleton.getBeActionEventList();if(t.length<=0)return v.showToast("没有可添加的事件");v.select_collect_event(t,(function(t){n.m_data.event_id_list=t,n.updateStatus()}),n._self_event_id,n.m_data.event_id_list)})),this.updateStatus()},o.updateStatus=function(){this.content.removeAllChildren();for(var t=0;t<this.m_data.event_id_list.length;t++){var e=this.m_data.event_id_list[t],n=s(this.item_prefab);n.parent=this.content,n.getComponent(f).initView(e)}},e}(_)).prototype,"btn_select_collect_event",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),w=e(g.prototype,"content",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),z=e(g.prototype,"item_prefab",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),m=g))||m));o._RF.pop()}}}));

System.register("chunks:///_virtual/event_countdown_over.ts",["./rollupPluginModLoBabelHelpers.js","cc","./tools.ts","./Attributes.ts","./clientEvent.ts","./config.ts"],(function(t){var i,n,e,_,a,d,o,l,r,s,u,b,g;return{setters:[function(t){i=t.applyDecoratedDescriptor,n=t.inheritsLoose,e=t.initializerDefineProperty,_=t.assertThisInitialized},function(t){a=t.cclegacy,d=t._decorator,o=t.Node,l=t.Label,r=t.Component},function(t){s=t.tools},function(t){u=t.Attributes},function(t){b=t.ClientEvent},function(t){g=t.config}],execute:function(){var c,v,f,p,w,h,m,y,T,C,E,S,U,z,A;a._RF.push({},"32a36wlhsVBYY5uefdf3eLb","event_countdown_over",void 0);var D=d.ccclass,L=d.property;t("event_countdown_over",(c=D("event_countdown_over"),v=L(o),f=L(o),p=L(o),w=L(o),h=L(o),m=L(o),c((C=i((T=function(t){function i(){for(var i,n=arguments.length,a=new Array(n),d=0;d<n;d++)a[d]=arguments[d];return(i=t.call.apply(t,[this].concat(a))||this).m_data=null,e(i,"btn_select_widget",C,_(i)),e(i,"lab_select_widget",E,_(i)),e(i,"btn_binding_fail_event_id",S,_(i)),e(i,"lab_binding_fail_event_id",U,_(i)),e(i,"btn_binding_win_event_id",z,_(i)),e(i,"lab_binding_win_event_id",A,_(i)),i}n(i,t);var a=i.prototype;return a.initView=function(t){var i=this;this.m_data=t,this.btn_select_widget.on(o.EventType.TOUCH_END,(function(){var t=u.Singleton.get_cur_scene_widget_by_type(g.Widget_Type_List.COUNT_DOWN);if(t.length<=0)return s.showToast("当前场景没有添加倒计时！");s.show_select_widget_list(t,(function(t){i.m_data.binding_widget_id=t.att.id,i.updateStatus()}),i.m_data.binding_widget_id)})),this.btn_binding_fail_event_id.on(o.EventType.TOUCH_END,(function(){var t=u.Singleton.getEventList();s.show_select_evele_list(t,(function(t){i.m_data.binding_fail_event_id=t.event_id,i.updateStatus()}))})),this.btn_binding_win_event_id.on(o.EventType.TOUCH_END,(function(){var t=u.Singleton.getEventList();s.show_select_evele_list(t,(function(t){i.m_data.binding_win_event_id=t.event_id,i.updateStatus()}))})),this.updateStatus(),b.on(g.Event.UpdateAttributesToView,this.UpdateAttributesToView,this)},a.onDestroy=function(){b.off(g.Event.UpdateAttributesToView,this.UpdateAttributesToView,this)},a.UpdateAttributesToView=function(t,i){this.m_data.binding_widget_id===t.id&&i===g.attributes_list_type.delete&&(this.m_data.binding_widget_id=-1,this.updateStatus())},a.updateStatus=function(){-1===this.m_data.binding_widget_id?(this.lab_select_widget.getComponent(l).string="选择倒计时控件",this.btn_binding_fail_event_id.active=!1,this.btn_binding_win_event_id.active=!1):(this.btn_binding_fail_event_id.active=!0,this.btn_binding_win_event_id.active=!0,this.lab_select_widget.getComponent(l).string="选择倒计时控件id："+this.m_data.binding_widget_id,-1!=this.m_data.binding_win_event_id?this.lab_binding_win_event_id.getComponent(l).string="成功的事件id："+this.m_data.binding_win_event_id:this.lab_binding_win_event_id.getComponent(l).string="请选择成功的事件id",-1!=this.m_data.binding_fail_event_id?this.lab_binding_fail_event_id.getComponent(l).string="失败的事件id："+this.m_data.binding_fail_event_id:this.lab_binding_fail_event_id.getComponent(l).string="请选择失败的事件id")},i}(r)).prototype,"btn_select_widget",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),E=i(T.prototype,"lab_select_widget",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),S=i(T.prototype,"btn_binding_fail_event_id",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),U=i(T.prototype,"lab_binding_fail_event_id",[w],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),z=i(T.prototype,"btn_binding_win_event_id",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),A=i(T.prototype,"lab_binding_win_event_id",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),y=T))||y));a._RF.pop()}}}));

System.register("chunks:///_virtual/event_delay_exe_event.ts",["./rollupPluginModLoBabelHelpers.js","cc","./tools.ts","./Attributes.ts"],(function(t){var e,i,n,a,r,l,_,o,d,s,u,c;return{setters:[function(t){e=t.applyDecoratedDescriptor,i=t.inheritsLoose,n=t.initializerDefineProperty,a=t.assertThisInitialized},function(t){r=t.cclegacy,l=t._decorator,_=t.Node,o=t.EditBox,d=t.Label,s=t.Component},function(t){u=t.tools},function(t){c=t.Attributes}],execute:function(){var m,v,p,b,g,h,f,y,S;r._RF.push({},"2a54cNObl5AvrcsKLJCcIy7","event_delay_exe_event",void 0);var w=l.ccclass,x=l.property;t("event_delay_exe_event",(m=w("event_delay_exe_event"),v=x(_),p=x(_),b=x(o),m((f=e((h=function(t){function e(){for(var e,i=arguments.length,r=new Array(i),l=0;l<i;l++)r[l]=arguments[l];return(e=t.call.apply(t,[this].concat(r))||this).m_data=null,n(e,"btn_select_ui",f,a(e)),n(e,"lab_name",y,a(e)),n(e,"edit_time",S,a(e)),e}i(e,t);var r=e.prototype;return r.initView=function(t){var e=this;this.m_data=t,this.btn_select_ui.on(_.EventType.TOUCH_END,(function(){var t=c.Singleton.getEventList();u.show_select_evele_list(t,(function(t){e.m_data.binding_event_id=t.event_id,e.updateStatus()}))})),this.edit_time.node.on("editing-did-ended",(function(){e.m_data.delay_time=parseFloat(e.edit_time.string)})),this.updateStatus()},r.updateStatus=function(){-1!=this.m_data.binding_event_id&&(null==c.Singleton.getEventItemById(this.m_data.binding_event_id)&&(this.m_data.binding_event_id=-1),null!=this.m_data.delay_time&&(this.edit_time.string=this.m_data.delay_time.toString()));this.lab_name.getComponent(d).string=-1==this.m_data.binding_event_id?"选择一个事件":"事件的id:"+this.m_data.binding_event_id},e}(s)).prototype,"btn_select_ui",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),y=e(h.prototype,"lab_name",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),S=e(h.prototype,"edit_time",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),g=h))||g));r._RF.pop()}}}));

System.register("chunks:///_virtual/event_delete_drag_other_data_view.ts",["./rollupPluginModLoBabelHelpers.js","cc","./data.ts","./Attributes.ts","./tools.ts","./config.ts","./edit_event_more_delete_drag_other_item.ts"],(function(t){var e,i,_,a,n,r,o,d,l,s,u,g,c,h,m,w,p;return{setters:[function(t){e=t.applyDecoratedDescriptor,i=t.inheritsLoose,_=t.initializerDefineProperty,a=t.assertThisInitialized},function(t){n=t.cclegacy,r=t._decorator,o=t.Node,d=t.EditBox,l=t.Prefab,s=t.Label,u=t.Component,g=t.instantiate},function(t){c=t.event_item_delete_drag_other},function(t){h=t.Attributes},function(t){m=t.tools},function(t){w=t.config},function(t){p=t.edit_event_more_delete_drag_other_item}],execute:function(){var f,b,v,y,T,E,S,D,L,z,C,M,x,k,A,B,I;n._RF.push({},"244b6MkbLBBEJKmzGM1FLfE","event_delete_drag_other_data_view",void 0);var N=r.ccclass,P=r.property;t("event_delete_drag_other_data_view",(f=N("event_delete_drag_other_data_view"),b=P(o),v=P(o),y=P(o),T=P(d),E=P(o),S=P(o),D=P(l),f((C=e((z=function(t){function e(){for(var e,i=arguments.length,n=new Array(i),r=0;r<i;r++)n[r]=arguments[r];return e=t.call.apply(t,[this].concat(n))||this,_(e,"btn_select_widget",C,a(e)),_(e,"btn_select_select_other",M,a(e)),_(e,"lab_cur_select_widget",x,a(e)),_(e,"edit_other",k,a(e)),_(e,"btn_more",A,a(e)),_(e,"content",B,a(e)),_(e,"item_more_delete_drag_other_prefab",I,a(e)),e.m_data=null,e.m_widget_item_data=null,e}i(e,t);var n=e.prototype;return n.start=function(){var t=this;this.btn_more.on(o.EventType.TOUCH_END,(function(){t.onClickMoreBtn()}))},n.initView=function(t){var e=this;this.m_data=t,this.btn_select_widget.on(o.EventType.TOUCH_END,(function(){var t=h.Singleton.get_cur_scene_widget_by_type(w.Widget_Type_List.DRAG_TYPE);if(t.length<=0)return m.showToast("当前场景没有添加拖拽控件！");m.show_select_widget_list(t,(function(t){e.m_data.widget_id=t.att.id,e.m_widget_item_data=t,e.updateStatus()}),e.m_data.widget_id)})),this.edit_other.node.on(d.EventType.EDITING_DID_ENDED,(function(){var t=parseInt(e.edit_other.string);return null==e.m_widget_item_data?m.showToast("控件数据是空"):null==e.m_widget_item_data.att.drag_data||null==e.m_widget_item_data.att.drag_data?m.showToast("控件拖拽数据是空"):null==e.m_widget_item_data.att.drag_data.other_drag_list||null==e.m_widget_item_data.att.drag_data?m.showToast("当前控件其他控件列表是空的"):e.m_widget_item_data.att.drag_data.other_drag_list.length<=0?m.showToast("拖拽的列表是空的"):t>=e.m_widget_item_data.att.drag_data.other_drag_list.length?m.showToast("输入的拖拽目标不存在"):(e.m_data.delete_drag_other_index=t,void e.updateStatus())})),this.updateStatus(),this.updateMoreListStatus()},n.updateStatus=function(){-1==this.m_data.widget_id?this.lab_cur_select_widget.getComponent(s).string="选择控件":(null===this.m_widget_item_data&&(this.m_widget_item_data=h.Singleton.get_cur_scene_widget_by_id(this.m_data.widget_id)),this.btn_select_select_other.active=!0,this.lab_cur_select_widget.getComponent(s).string="选择控件id:"+this.m_data.widget_id,-1==this.m_data.delete_drag_other_index||null==this.m_data.delete_drag_other_index||(this.edit_other.string=this.m_data.delete_drag_other_index.toString()))},n.onClickMoreBtn=function(){var t=this,e=h.Singleton.get_cur_scene_widget_by_type(w.Widget_Type_List.DRAG_TYPE);if(e.length<=0)return m.showToast("当前场景没有添加拖拽控件！");m.show_select_widget_list(e,(function(e){var i=new c;i.widget_id=e.att.id,i.widget_remark=e.att.remark,i.delete_drag_other_index=-1,t.m_data.widget_list.push(i),t.updateMoreListStatus()}))},n.updateMoreListStatus=function(){var t=this;null==this.m_data.widget_list&&(this.m_data.widget_list=[]),this.content.removeAllChildren();for(var e=function(e){var i=t.m_data.widget_list[e],_=g(t.item_more_delete_drag_other_prefab);_.parent=t.content,_.getComponent(p).initView(i,(function(){t.m_data.widget_list.splice(e,1),t.updateMoreListStatus()}))},i=0;i<this.m_data.widget_list.length;i++)e(i)},e}(u)).prototype,"btn_select_widget",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),M=e(z.prototype,"btn_select_select_other",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),x=e(z.prototype,"lab_cur_select_widget",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),k=e(z.prototype,"edit_other",[T],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),A=e(z.prototype,"btn_more",[E],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),B=e(z.prototype,"content",[S],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),I=e(z.prototype,"item_more_delete_drag_other_prefab",[D],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),L=z))||L));n._RF.pop()}}}));

System.register("chunks:///_virtual/event_fail_event.ts",["./rollupPluginModLoBabelHelpers.js","cc"],(function(i){var e,t,n,a,o,s,r,u;return{setters:[function(i){e=i.applyDecoratedDescriptor,t=i.inheritsLoose,n=i.initializerDefineProperty,a=i.assertThisInitialized},function(i){o=i.cclegacy,s=i._decorator,r=i.Toggle,u=i.Component}],execute:function(){var l,h,c,_,f,p,m;o._RF.push({},"bb506ZxIChAE75NraMfEcQC","event_fail_event",void 0);var d=s.ccclass,v=s.property;i("event_fail_event",(l=d("event_fail_event"),h=v(r),c=v(r),l((p=e((f=function(i){function e(){for(var e,t=arguments.length,o=new Array(t),s=0;s<t;s++)o[s]=arguments[s];return e=i.call.apply(i,[this].concat(o))||this,n(e,"isReLife",p,a(e)),n(e,"isShowZhuaziAnimation",m,a(e)),e.m_data=null,e}t(e,i);var o=e.prototype;return o.initView=function(i){var e=this;this.m_data=i,this.updateStatus(),this.isReLife.node.on(r.EventType.TOGGLE,(function(){e.m_data.is_relife=e.isReLife.getComponent(r).isChecked})),this.isShowZhuaziAnimation.node.on(r.EventType.TOGGLE,(function(){e.m_data.is_show_animation=e.isShowZhuaziAnimation.getComponent(r).isChecked}))},o.updateStatus=function(){this.isReLife.getComponent(r).isChecked=this.m_data.is_relife,null!=this.m_data.is_show_animation&&null!=this.m_data.is_show_animation||(this.m_data.is_show_animation=!0),this.isShowZhuaziAnimation.getComponent(r).isChecked=this.m_data.is_show_animation},e}(u)).prototype,"isReLife",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),m=e(f.prototype,"isShowZhuaziAnimation",[c],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),_=f))||_));o._RF.pop()}}}));

System.register("chunks:///_virtual/event_group.ts",["./rollupPluginModLoBabelHelpers.js","cc","./data.ts","./edit_event_group_item.ts","./tools.ts","./Attributes.ts"],(function(t){var e,n,i,a,o,r,u,l,s,_,c,p,d,v;return{setters:[function(t){e=t.applyDecoratedDescriptor,n=t.inheritsLoose,i=t.initializerDefineProperty,a=t.assertThisInitialized},function(t){o=t.cclegacy,r=t._decorator,u=t.Node,l=t.Prefab,s=t.Component,_=t.instantiate},function(t){c=t.event_group_event_item_event_item},function(t){p=t.edit_event_group_item},function(t){d=t.tools},function(t){v=t.Attributes}],execute:function(){var f,m,h,b,g,w,y,C,D;o._RF.push({},"686da0TC/ZPn6Dwbj2qVoch","event_group",void 0);var T=r.ccclass,z=r.property;t("event_group",(f=T("event_group"),m=z(u),h=z(u),b=z(l),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,"btn_add_event",y,a(e)),i(e,"content",C,a(e)),i(e,"item_prefab",D,a(e)),e.m_event_item_data=null,e.m_data=null,e}n(e,t);var o=e.prototype;return o.start=function(){var t=this;this.btn_add_event.on(u.EventType.TOUCH_END,(function(){var e=v.Singleton.getEventList();d.show_select_evele_list(e,(function(e){if(null==e)return d.showToast("选择事件是空的,请检查!");if(t.m_event_item_data.event_id==e.event_id)return d.showToast("事件组中不能添加自己!!!");var n=new c;n.event_item=e,n.delay_time=0,t.m_data.list.push(n),t.updateContent()}))}))},o.initView=function(t,e){this.m_event_item_data=t,this.m_data=e,this.updateContent()},o.updateContent=function(){var t=this;this.content.removeAllChildren();for(var e=function(e){var n=t.m_data.list[e],i=_(t.item_prefab);i.parent=t.content,i.getComponent(p).initView(e,t.m_data.list.length,n,(function(){d.show_dialog("是否确定删除",(function(){t.m_data.list.splice(e,1),t.updateContent()}))}),t.onItemUpDownOperation.bind(t))},n=0;n<this.m_data.list.length;n++)e(n)},o.onItemUpDownOperation=function(t,e){var n=t.getIndex(),i=this.m_data.list[n],a=-1;if(-1!=(a=e?n-1:n+1)){var o=this.m_data.list[a];this.m_data.list[n]=o,this.m_data.list[a]=i,this.updateContent()}},e}(s)).prototype,"btn_add_event",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),C=e(w.prototype,"content",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),D=e(w.prototype,"item_prefab",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),g=w))||g));o._RF.pop()}}}));

System.register("chunks:///_virtual/event_hide.ts",["./rollupPluginModLoBabelHelpers.js","cc","./data.ts","./tools.ts","./Attributes.ts","./clientEvent.ts","./config.ts","./edit_event_more_item.ts"],(function(t){var i,e,n,a,r,o,_,d,s,l,u,g,c,b,f,p,w;return{setters:[function(t){i=t.applyDecoratedDescriptor,e=t.inheritsLoose,n=t.initializerDefineProperty,a=t.assertThisInitialized},function(t){r=t.cclegacy,o=t._decorator,_=t.Node,d=t.Prefab,s=t.Label,l=t.Component,u=t.instantiate},function(t){g=t.event_widget_more_event_item},function(t){c=t.tools},function(t){b=t.Attributes},function(t){f=t.ClientEvent},function(t){p=t.config},function(t){w=t.edit_event_more_item}],execute:function(){var h,m,v,y,T,S,C,A,E,V,z,M,L;r._RF.push({},"95fb6BJ2VxMEo6ZJzVQsZ1y","event_hide",void 0);var U=o.ccclass,k=o.property;t("event_hide",(h=U("event_hide"),m=k(_),v=k(_),y=k(_),T=k(_),S=k(d),h((E=i((A=function(t){function i(){for(var i,e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];return(i=t.call.apply(t,[this].concat(r))||this).m_data=null,n(i,"btn_select_widget",E,a(i)),n(i,"lab_select_widget",V,a(i)),n(i,"btn_more",z,a(i)),n(i,"content",M,a(i)),n(i,"item_more_prefab",L,a(i)),i}e(i,t);var r=i.prototype;return r.start=function(){var t=this;this.btn_more.on(_.EventType.TOUCH_END,(function(){t.onClickMoreBtn()}),this)},r.initView=function(t){var i=this;this.m_data=t,this.btn_select_widget.on(_.EventType.TOUCH_END,(function(){var t=b.Singleton.get_cur_scene_all_only_widget();if(t.length<=0)return c.showToast("当前场景没有添加控件！");c.show_select_widget_list(t,(function(t){i.m_data.binding_widget_id=t.att.id,i.updateStatus()}),i.m_data.binding_widget_id)})),this.updateStatus(),this.updateMoreListStatus(),f.on(p.Event.UpdateAttributesToView,this.UpdateAttributesToView,this)},r.onDestroy=function(){f.off(p.Event.UpdateAttributesToView,this.UpdateAttributesToView,this)},r.UpdateAttributesToView=function(t,i){this.m_data.binding_widget_id===t.id&&i===p.attributes_list_type.delete&&(this.m_data.binding_widget_id=-1,this.updateStatus())},r.updateStatus=function(){-1===this.m_data.binding_widget_id?this.lab_select_widget.getComponent(s).string="选择要隐藏的控件":this.lab_select_widget.getComponent(s).string="隐藏的控件id："+this.m_data.binding_widget_id},r.onClickMoreBtn=function(){var t=this,i=b.Singleton.get_cur_scene_all_only_widget();if(i.length<=0)return c.showToast("当前场景没有添控件！");c.show_select_widget_list(i,(function(i){if(i.att.id!=t.m_data.binding_widget_id){for(var e=-1,n=0;n<t.m_data.binding_widget_list.length;n++){if(t.m_data.binding_widget_list[n].binding_widget_id==i.att.id){e=n;break}}-1!=e&&t.m_data.binding_widget_list.splice(e,1);var a=new g;a.binding_widget_id=i.att.id,a.binding_widget_remark=i.att.remark,t.m_data.binding_widget_list.push(a),t.updateMoreListStatus()}}),this.m_data.binding_widget_id)},r.updateMoreListStatus=function(){var t=this;null==this.m_data.binding_widget_list&&(this.m_data.binding_widget_list=[]),this.content.removeAllChildren();for(var i=function(i){var e=t.m_data.binding_widget_list[i],n=u(t.item_more_prefab);n.parent=t.content,n.getComponent(w).initView(e,(function(){t.m_data.binding_widget_list.splice(i,1),t.updateMoreListStatus()}))},e=0;e<this.m_data.binding_widget_list.length;e++)i(e)},i}(l)).prototype,"btn_select_widget",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),V=i(A.prototype,"lab_select_widget",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),z=i(A.prototype,"btn_more",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),M=i(A.prototype,"content",[T],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),L=i(A.prototype,"item_more_prefab",[S],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),C=A))||C));r._RF.pop()}}}));

System.register("chunks:///_virtual/event_item_view.ts",["./rollupPluginModLoBabelHelpers.js","cc","./tools.ts","./config.ts"],(function(e){var t,n,i,o,a,r,l,_,u,c,m,s,p;return{setters:[function(e){t=e.applyDecoratedDescriptor,n=e.inheritsLoose,i=e.initializerDefineProperty,o=e.assertThisInitialized},function(e){a=e.cclegacy,r=e._decorator,l=e.Node,_=e.Label,u=e.Sprite,c=e.Color,m=e.Component},function(e){s=e.tools},function(e){p=e.config}],execute:function(){var v,d,f,b,h,g,y,w,C,E,z;a._RF.push({},"9878dX3zVpMgp8n4qeQUVf5","event_item_view",void 0);var D=r.ccclass,N=r.property;e("event_item_view",(v=D("event_item_view"),d=N(l),f=N(l),b=N(l),h=N(l),v((w=t((y=function(e){function t(){for(var t,n=arguments.length,a=new Array(n),r=0;r<n;r++)a[r]=arguments[r];return t=e.call.apply(e,[this].concat(a))||this,i(t,"lab_event_id",w,o(t)),i(t,"lab_event_name",C,o(t)),i(t,"btn_edit_event",E,o(t)),i(t,"btn_edit_name",z,o(t)),t.m_type=0,t.m_data=null,t.m_delete_call=null,t}n(t,e);var a=t.prototype;return a.start=function(){var e=this;this.btn_edit_name.on(l.EventType.TOUCH_END,(function(){s.show_dialog_input(e.m_data.event_name,(function(t){e.m_data.event_name=t,e.updateEventName()}))}))},a.initView=function(e,t,n){var i=this;this.m_data=t,this.m_type=e,this.m_delete_call=n,this.lab_event_id.getComponent(_).string=p.event_type_map.get(this.m_type)+"-id:"+this.m_data.event_id,this.updateEventName(),this.btn_edit_event.on(l.EventType.TOUCH_END,(function(){s.show_edit_event(i.m_type,i.m_data,(function(e){null!=i.m_delete_call&&(i.node.removeFromParent(),i.m_delete_call(e))}))}))},a.updateEventName=function(){this.lab_event_name.getComponent(_).string="事件名字:"+this.m_data.event_name},a.unselectBgColor=function(){this.node.getComponent(u).color=(new c).fromHEX("#9EB2F1")},a.selectBgColor=function(){this.node.getComponent(u).color=c.RED},t}(m)).prototype,"lab_event_id",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),C=t(y.prototype,"lab_event_name",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),E=t(y.prototype,"btn_edit_event",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),z=t(y.prototype,"btn_edit_name",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),g=y))||g));a._RF.pop()}}}));

System.register("chunks:///_virtual/event_more_scene_is_show_arrow_event.ts",["./rollupPluginModLoBabelHelpers.js","cc"],(function(e){var o,t,n,r,i,s,a,c,_;return{setters:[function(e){o=e.applyDecoratedDescriptor,t=e.inheritsLoose,n=e.initializerDefineProperty,r=e.assertThisInitialized},function(e){i=e.cclegacy,s=e._decorator,a=e.Node,c=e.Toggle,_=e.Component}],execute:function(){var l,h,u,p,w;i._RF.push({},"03f7clq9k9Ifo5YRBb66rX5","event_more_scene_is_show_arrow_event",void 0);var v=s.ccclass,d=s.property;e("event_more_scene_is_show_arrow_event",(l=v("event_more_scene_is_show_arrow_event"),h=d(a),l((w=o((p=function(e){function o(){for(var o,t=arguments.length,i=new Array(t),s=0;s<t;s++)i[s]=arguments[s];return o=e.call.apply(e,[this].concat(i))||this,n(o,"showNode",w,r(o)),o.m_data=null,o}t(o,e);var i=o.prototype;return i.start=function(){var e=this;this.showNode.on(c.EventType.TOGGLE,(function(){e.m_data.is_show=e.showNode.getComponent(c).isChecked}))},i.initView=function(e){this.m_data=e,this.showNode.getComponent(c).isChecked=e.is_show},o}(_)).prototype,"showNode",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),u=p))||u));i._RF.pop()}}}));

System.register("chunks:///_virtual/event_more_scene_jump_assigned_page_event.ts",["./rollupPluginModLoBabelHelpers.js","cc","./data.ts"],(function(e){var t,i,n,a,r,_,o,s,u,l;return{setters:[function(e){t=e.applyDecoratedDescriptor,i=e.inheritsLoose,n=e.initializerDefineProperty,a=e.assertThisInitialized},function(e){r=e.cclegacy,_=e._decorator,o=e.EditBox,s=e.Node,u=e.Component},function(e){l=e.event_item_more_scene_jump_assigned_page_event}],execute:function(){var p,d,m,c,g,v,f,h,b;r._RF.push({},"f1fb9fH5dRCPKzoPPT/UWSZ","event_more_scene_jump_assigned_page_event",void 0);var x=_.ccclass,y=_.property;e("event_more_scene_jump_assigned_page_event",(p=x("event_more_scene_jump_assigned_page_event"),d=y(o),m=y(o),c=y(s),p((f=t((v=function(e){function t(){for(var t,i=arguments.length,r=new Array(i),_=0;_<i;_++)r[_]=arguments[_];return t=e.call.apply(e,[this].concat(r))||this,n(t,"editBox_page",f,a(t)),n(t,"editBox_interval_time",h,a(t)),n(t,"btn_default_time",b,a(t)),t.m_data=null,t}i(t,e);var r=t.prototype;return r.start=function(){var e=this;this.editBox_page.node.on(o.EventType.EDITING_DID_ENDED,(function(){e.editBox_page.string.length>0&&(e.m_data.page_number=parseInt(e.editBox_page.string),e.updateStatus())})),this.editBox_interval_time.node.on(o.EventType.EDITING_DID_ENDED,(function(){e.editBox_interval_time.string.length>0&&(e.m_data.interval_time=parseFloat(e.editBox_interval_time.string),e.updateStatus())})),this.btn_default_time.on(s.EventType.TOUCH_END,(function(){e.m_data.interval_time=l.defaultIntervalTime(),e.updateStatus()}))},r.initView=function(e){this.m_data=e,null!=this.m_data.interval_time&&null!=this.m_data.interval_time||(this.m_data.interval_time=l.defaultIntervalTime()),this.updateStatus()},r.updateStatus=function(){-1==this.m_data.page_number||(this.editBox_page.string=this.m_data.page_number.toString()),this.editBox_interval_time.string=this.m_data.interval_time.toString()},t}(u)).prototype,"editBox_page",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),h=t(v.prototype,"editBox_interval_time",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),b=t(v.prototype,"btn_default_time",[c],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),g=v))||g));r._RF.pop()}}}));

System.register("chunks:///_virtual/event_play_ani_view.ts",["./rollupPluginModLoBabelHelpers.js","cc","./Attributes.ts","./tools.ts","./clientEvent.ts","./config.ts"],(function(t){var i,e,n,_,a,d,s,l,o,r,u,g,c;return{setters:[function(t){i=t.applyDecoratedDescriptor,e=t.inheritsLoose,n=t.initializerDefineProperty,_=t.assertThisInitialized},function(t){a=t.cclegacy,d=t._decorator,s=t.Node,l=t.Label,o=t.Component},function(t){r=t.Attributes},function(t){u=t.tools},function(t){g=t.ClientEvent},function(t){c=t.config}],execute:function(){var w,m,p,b,h,f,v,y,T,E,S,C,U;a._RF.push({},"04a7exvBudNip8QUrs0Slsu","event_play_ani_view",void 0);var A=d.ccclass,z=d.property;t("event_play_ani_view",(w=A("event_play_ani_view"),m=z(s),p=z(s),b=z(s),h=z(s),f=z(s),w((T=i((y=function(t){function i(){for(var i,e=arguments.length,a=new Array(e),d=0;d<e;d++)a[d]=arguments[d];return(i=t.call.apply(t,[this].concat(a))||this).m_data=null,n(i,"btn_widget_pos",T,_(i)),n(i,"btn_select_widget",E,_(i)),n(i,"btn_select_ani_id",S,_(i)),n(i,"lab_cur_select_widget",C,_(i)),n(i,"lab_cur_select_ani",U,_(i)),i.m_widget_item_data=null,i}e(i,t);var a=i.prototype;return a.initView=function(t){var i=this;this.m_data=t,this.btn_select_ani_id.on(s.EventType.TOUCH_END,(function(){return-1===i.m_data.binding_widget_id?u.showToast("请先绑定控件"):(null===i.m_widget_item_data&&(i.m_widget_item_data=r.Singleton.get_cur_scene_widget_by_id(i.m_data.binding_widget_id)),i.m_widget_item_data.att.animation_list.length<=0?u.showToast("当前控件没有添加动画！"):void u.show_select_animation_list(i.m_widget_item_data.att.animation_list,(function(t){i.m_data.ani_id=t.ani_id,i.updateStatus(i.m_widget_item_data)}),i.m_data.ani_id))})),this.btn_select_widget.on(s.EventType.TOUCH_END,(function(){var t=r.Singleton.get_cur_scene_all_only_widget();if(t.length<=0)return u.showToast("当前场景没有添加控件！");u.show_select_widget_list(t,(function(t){i.m_data.binding_widget_id=t.att.id,i.updateStatus(t)}),i.m_data.binding_widget_id)})),this.btn_widget_pos.on(s.EventType.TOUCH_END,(function(){if(-1===i.m_data.binding_widget_id)return u.showToast("当前没有设置控件");null===i.m_widget_item_data&&(i.m_widget_item_data=r.Singleton.get_cur_scene_widget_by_id(i.m_data.binding_widget_id));var t=r.Singleton.get_widget_at_page_by_widget(i.m_widget_item_data);g.dispatchEvent(c.Event.ChangeSelectPage,t),g.dispatchEvent(c.Event.UpdateAttributesToView,i.m_widget_item_data.att,c.attributes_list_type.find_widget_pos)})),this.updateStatus(),g.on(c.Event.UpdateAttributesToView,this.UpdateAttributesToView,this)},a.onDestroy=function(){g.off(c.Event.UpdateAttributesToView,this.UpdateAttributesToView,this)},a.UpdateAttributesToView=function(t,i){null!=this.m_widget_item_data&&this.m_widget_item_data.att.id===t.id&&i===c.attributes_list_type.delete&&(this.m_widget_item_data=null,this.m_data.binding_widget_id=-1,this.m_data.ani_id=-1,this.updateStatus())},a.updateStatus=function(t){void 0===t&&(t=null),-1===this.m_data.binding_widget_id?(this.btn_widget_pos.active=!1,this.lab_cur_select_widget.getComponent(l).string="未绑定控件",this.lab_cur_select_ani.getComponent(l).string="未选择动画"):(null!=t&&(this.m_widget_item_data=t,this.lab_cur_select_widget.getComponent(l).string="id:"+t.att.id,-1===this.m_data.ani_id||(this.lab_cur_select_ani.getComponent(l).string="动画id:"+this.m_data.ani_id)),null===this.m_widget_item_data&&(this.m_widget_item_data=r.Singleton.get_cur_scene_widget_by_id(this.m_data.binding_widget_id)),this.btn_widget_pos.active=!0,null!=this.m_widget_item_data&&(this.lab_cur_select_ani.getComponent(l).string="动画id:"+this.m_data.ani_id,this.lab_cur_select_widget.getComponent(l).string="id:"+this.m_widget_item_data.att.id))},i}(o)).prototype,"btn_widget_pos",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),E=i(y.prototype,"btn_select_widget",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),S=i(y.prototype,"btn_select_ani_id",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),C=i(y.prototype,"lab_cur_select_widget",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),U=i(y.prototype,"lab_cur_select_ani",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),v=y))||v));a._RF.pop()}}}));

System.register("chunks:///_virtual/event_play_sound.ts",["./rollupPluginModLoBabelHelpers.js","cc","./tools.ts"],(function(e){var t,n,i,o,l,a,r,s,u,c,_,p;return{setters:[function(e){t=e.applyDecoratedDescriptor,n=e.inheritsLoose,i=e.initializerDefineProperty,o=e.assertThisInitialized},function(e){l=e.cclegacy,a=e._decorator,r=e.Node,s=e.Toggle,u=e.Slider,c=e.Label,_=e.Component},function(e){p=e.tools}],execute:function(){var d,m,h,v,g,b,f,y,w,z,L,C,S,T,D;l._RF.push({},"e8533Oc7bBORrjP/+GKp/Pf","event_play_sound",void 0);var E=a.ccclass,O=a.property;e("event_play_sound",(d=E("event_play_sound"),m=O(r),h=O(r),v=O(s),g=O(u),b=O(r),f=O(r),d((z=t((w=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,i(t,"btn_select_sound",z,o(t)),i(t,"lab_name",L,o(t)),i(t,"toggle",C,o(t)),i(t,"slider_volume",S,o(t)),i(t,"select_loop",T,o(t)),i(t,"select_volume",D,o(t)),t.m_data=null,t}n(t,e);var l=t.prototype;return l.initView=function(e){var t=this;this.m_data=e,this.btn_select_sound.on(r.EventType.TOUCH_END,(function(){p.select_sound_list((function(e){t.m_data.sound_res.name=e.name,t.m_data.sound_res.url=e.url,t.updateStatus()}))})),this.updateStatus(),this.toggle.node.on(s.EventType.TOGGLE,(function(){t.m_data.isLoop=t.toggle.isChecked}))},l.onSlider=function(){this.m_data.volume=this.slider_volume.progress},l.updateStatus=function(){this.m_data.sound_res.name.length>0?(this.lab_name.getComponent(c).string=this.m_data.sound_res.name,this.select_loop.active=!0,this.select_volume.active=!0):(this.lab_name.getComponent(c).string="选择一个音频文件",this.select_loop.active=!1,this.select_volume.active=!1),null==this.m_data.isLoop&&(this.m_data.isLoop=!1),null==this.m_data.volume&&(this.m_data.volume=1),this.toggle.isChecked=this.m_data.isLoop,this.slider_volume.progress=this.m_data.volume},t}(_)).prototype,"btn_select_sound",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),L=t(w.prototype,"lab_name",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),C=t(w.prototype,"toggle",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),S=t(w.prototype,"slider_volume",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),T=t(w.prototype,"select_loop",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),D=t(w.prototype,"select_volume",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),y=w))||y));l._RF.pop()}}}));

System.register("chunks:///_virtual/event_scene_ani.ts",["./rollupPluginModLoBabelHelpers.js","cc","./main.ts","./tools.ts"],(function(t){var e,n,i,a,o,s,r,l,c,_,u;return{setters:[function(t){e=t.applyDecoratedDescriptor,n=t.inheritsLoose,i=t.initializerDefineProperty,a=t.assertThisInitialized},function(t){o=t.cclegacy,s=t._decorator,r=t.Node,l=t.Label,c=t.Component},function(t){_=t.main},function(t){u=t.tools}],execute:function(){var d,p,g,f,h,m,v;o._RF.push({},"65923kuhtFIuJ6DCuk/Fm7c","event_scene_ani",void 0);var b=s.ccclass,w=s.property;t("event_scene_ani",(d=b("event_scene_ani"),p=w(r),g=w(r),d((m=e((h=function(t){function e(){for(var e,n=arguments.length,o=new Array(n),s=0;s<n;s++)o[s]=arguments[s];return(e=t.call.apply(t,[this].concat(o))||this).m_data=null,i(e,"btn_select_widget",m,a(e)),i(e,"lab_select_widget",v,a(e)),e}n(e,t);var o=e.prototype;return o.initView=function(t){var e=this;this.m_data=t,this.btn_select_widget.on(r.EventType.TOUCH_END,(function(){var t=_.Singleton.edit_scene_view.getCurSelectScene();if(null!=t.page_list[0].att){var n=t.page_list[0].att.animation_list;n.length>0&&u.show_select_animation_list(n,(function(t){e.m_data.ani_id=t.ani_id,e.updateStatus()}),e.m_data.ani_id)}})),this.updateStatus()},o.onDestroy=function(){},o.updateStatus=function(){-1===this.m_data.ani_id?this.lab_select_widget.getComponent(l).string="选择动画":this.lab_select_widget.getComponent(l).string="选择动画id："+this.m_data.ani_id},e}(c)).prototype,"btn_select_widget",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),v=e(h.prototype,"lab_select_widget",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),f=h))||f));o._RF.pop()}}}));

System.register("chunks:///_virtual/event_show_new_item.ts",["./rollupPluginModLoBabelHelpers.js","cc","./Attributes.ts","./tools.ts","./clientEvent.ts","./config.ts"],(function(t){var e,i,n,o,s,a,r,_,d,l,u,c,g;return{setters:[function(t){e=t.applyDecoratedDescriptor,i=t.inheritsLoose,n=t.initializerDefineProperty,o=t.assertThisInitialized},function(t){s=t.cclegacy,a=t._decorator,r=t.Node,_=t.Label,d=t.Component},function(t){l=t.Attributes},function(t){u=t.tools},function(t){c=t.ClientEvent},function(t){g=t.config}],execute:function(){var w,p,b,h,f,m,v;s._RF.push({},"4d3612VbRBPGYiz5CcFTwDj","event_show_new_item",void 0);var y=a.ccclass,T=a.property;t("event_show_new_item",(w=y("event_show_new_item"),p=T(r),b=T(r),w((m=e((f=function(t){function e(){for(var e,i=arguments.length,s=new Array(i),a=0;a<i;a++)s[a]=arguments[a];return(e=t.call.apply(t,[this].concat(s))||this).m_data=null,n(e,"btn_select_widget",m,o(e)),n(e,"lab_select_widget",v,o(e)),e}i(e,t);var s=e.prototype;return s.initView=function(t){var e=this;this.m_data=t,this.btn_select_widget.on(r.EventType.TOUCH_END,(function(){var t=l.Singleton.get_cur_scene_all_only_widget();if(t.length<=0)return u.showToast("当前场景没有添加控件！");u.show_select_widget_list(t,(function(t){e.m_data.binding_widget_id=t.att.id,e.updateStatus()}),e.m_data.binding_widget_id)})),this.updateStatus(),c.on(g.Event.UpdateAttributesToView,this.UpdateAttributesToView,this)},s.onDestroy=function(){c.off(g.Event.UpdateAttributesToView,this.UpdateAttributesToView,this)},s.UpdateAttributesToView=function(t,e){this.m_data.binding_widget_id===t.id&&e===g.attributes_list_type.delete&&(this.m_data.binding_widget_id=-1,this.updateStatus())},s.updateStatus=function(){-1===this.m_data.binding_widget_id?this.lab_select_widget.getComponent(_).string="选择出现新道具控件":this.lab_select_widget.getComponent(_).string="选择出现新道具控件id："+this.m_data.binding_widget_id},e}(d)).prototype,"btn_select_widget",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),v=e(f.prototype,"lab_select_widget",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),h=f))||h));s._RF.pop()}}}));

System.register("chunks:///_virtual/event_show_question_select.ts",["./rollupPluginModLoBabelHelpers.js","cc","./clientEvent.ts","./data.ts","./Attributes.ts","./tools.ts","./config.ts","./show_question_select_item.ts"],(function(t){var e,i,n,s,_,a,o,r,u,l,d,c,g,h,w,b,p;return{setters:[function(t){e=t.applyDecoratedDescriptor,i=t.inheritsLoose,n=t.initializerDefineProperty,s=t.assertThisInitialized},function(t){_=t.cclegacy,a=t._decorator,o=t.Node,r=t.Prefab,u=t.Label,l=t.instantiate,d=t.Component},function(t){c=t.ClientEvent},function(t){g=t.event_item_show_question_select_item},function(t){h=t.Attributes},function(t){w=t.tools},function(t){b=t.config},function(t){p=t.show_question_select_item}],execute:function(){var f,m,v,y,q,T,S,A,C,E,V;_._RF.push({},"1aa88zKQ+JMTJS6w4ZZC6a2","event_show_question_select",void 0);var z=a.ccclass,L=a.property;t("event_show_question_select",(f=z("event_show_question_select"),m=L(o),v=L(o),y=L(o),q=L(r),f((A=e((S=function(t){function e(){for(var e,i=arguments.length,_=new Array(i),a=0;a<i;a++)_[a]=arguments[a];return e=t.call.apply(t,[this].concat(_))||this,n(e,"content",A,s(e)),n(e,"btn_select_widget",C,s(e)),n(e,"lab_select_widget",E,s(e)),n(e,"prefab_item",V,s(e)),e.cur_widget_item_data=null,e.m_data=null,e}i(e,t);var _=e.prototype;return _.initView=function(t){var e=this;this.m_data=t,this.btn_select_widget.on(o.EventType.TOUCH_END,(function(){var t=h.Singleton.get_cur_scene_widget_by_type(b.Widget_Type_List.QUESTION_SELECT);if(t.length<=0)return w.showToast("当前场景没有问题选择页面！");w.show_select_widget_list(t,(function(t){e.m_data.binding_widget_id=t.att.id,e.cur_widget_item_data=t,e.updateStatus()}),e.m_data.binding_widget_id)})),this.updateStatus(),c.on(b.Event.UpdateAttributesToView,this.UpdateAttributesToView,this)},_.onDestroy=function(){c.off(b.Event.UpdateAttributesToView,this.UpdateAttributesToView,this)},_.UpdateAttributesToView=function(t,e){this.m_data.binding_widget_id===t.id&&(e===b.attributes_list_type.delete?this.m_data.binding_widget_id=-1:e===b.attributes_list_type.question_select&&(this.cur_widget_item_data=h.Singleton.get_cur_scene_widget_by_id(this.m_data.binding_widget_id),this.updateStatus()))},_.updateStatus=function(){-1===this.m_data.binding_widget_id?(this.content.active=!1,this.lab_select_widget.getComponent(u).string="选择问题选择控件"):(this.content.active=!0,this.lab_select_widget.getComponent(u).string="选择问题选择控件id："+this.m_data.binding_widget_id,null==this.cur_widget_item_data&&(this.cur_widget_item_data=h.Singleton.get_cur_scene_widget_by_id(this.m_data.binding_widget_id)),this.initListView())},_.initListView=function(){this.content.removeAllChildren();for(var t=this.cur_widget_item_data.att.question_select.btn_question_list,e=0;e<t.length;e++){var i=t[e],n=l(this.prefab_item);n.parent=this.content;var s=null;null==this.m_data.question_list[e]||null==this.m_data.question_list[e]?((s=new g).binding_event_id=-1,s.isRight=!1,this.m_data.question_list.push(s)):s=this.m_data.question_list[e],n.getComponent(p).initView(i,s)}},e}(d)).prototype,"content",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),C=e(S.prototype,"btn_select_widget",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),E=e(S.prototype,"lab_select_widget",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),V=e(S.prototype,"prefab_item",[q],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),T=S))||T));_._RF.pop()}}}));

System.register("chunks:///_virtual/event_show_scene_title.ts",["./rollupPluginModLoBabelHelpers.js","cc"],(function(t){var e,i,n,o,r,a,s,l,c;return{setters:[function(t){e=t.applyDecoratedDescriptor,i=t.inheritsLoose,n=t.initializerDefineProperty,o=t.assertThisInitialized},function(t){r=t.cclegacy,a=t._decorator,s=t.Node,l=t.EditBox,c=t.Component}],execute:function(){var u,_,p,d,h;r._RF.push({},"1d223UpzTlMSa7mkBfzvokI","event_show_scene_title",void 0);var f=a.ccclass,v=a.property;t("event_show_scene_title",(u=f("event_show_scene_title"),_=v(s),u((h=e((d=function(t){function e(){for(var e,i=arguments.length,r=new Array(i),a=0;a<i;a++)r[a]=arguments[a];return e=t.call.apply(t,[this].concat(r))||this,n(e,"edit_box",h,o(e)),e.m_data=null,e}i(e,t);var r=e.prototype;return r.initView=function(t){var e=this;this.m_data=t,this.edit_box.on(l.EventType.EDITING_DID_ENDED,(function(){e.m_data.title=e.edit_box.getComponent(l).string,e.updateStatus()})),this.updateStatus()},r.updateStatus=function(){this.m_data.title.length<=0?this.edit_box.getComponent(l).string="":this.edit_box.getComponent(l).string=this.m_data.title},e}(c)).prototype,"edit_box",[_],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),p=d))||p));r._RF.pop()}}}));

System.register("chunks:///_virtual/event_start_event.ts",["./rollupPluginModLoBabelHelpers.js","cc","./Attributes.ts","./tools.ts"],(function(t){var e,n,i,a,r,o,_,s,l,u,d;return{setters:[function(t){e=t.applyDecoratedDescriptor,n=t.inheritsLoose,i=t.initializerDefineProperty,a=t.assertThisInitialized},function(t){r=t.cclegacy,o=t._decorator,_=t.Node,s=t.Label,l=t.Component},function(t){u=t.Attributes},function(t){d=t.tools}],execute:function(){var c,v,b,p,f,g,h,m,y;r._RF.push({},"1bfaaMvFbNBa5VUgP0UjjJ7","event_start_event",void 0);var w=o.ccclass,S=o.property;t("event_start_event",(c=w("event_start_event"),v=S(_),b=S(_),p=S(_),c((h=e((g=function(t){function e(){for(var e,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(e=t.call.apply(t,[this].concat(r))||this).m_data=null,i(e,"btn_select_ui",h,a(e)),i(e,"lab_name",m,a(e)),i(e,"btn_delete_event",y,a(e)),e}n(e,t);var r=e.prototype;return r.start=function(){var t=this;this.btn_delete_event.on(_.EventType.TOUCH_END,(function(){if(-1==t.m_data.binding_event_id)return d.showToast("请选择一个开始的事件");d.show_dialog("是否清空开始事件?",(function(){t.m_data.binding_event_id=-1,t.updateStatus()}))}))},r.initView=function(t){var e=this;this.m_data=t,this.btn_select_ui.on(_.EventType.TOUCH_END,(function(){var t=u.Singleton.getEventList();d.show_select_evele_list(t,(function(t){e.m_data.binding_event_id=t.event_id,e.updateStatus()}))})),this.updateStatus()},r.updateStatus=function(){-1!=this.m_data.binding_event_id&&(null==u.Singleton.getEventItemById(this.m_data.binding_event_id)&&(this.m_data.binding_event_id=-1));this.lab_name.getComponent(s).string=-1==this.m_data.binding_event_id?"选择一个开始的事件":"开始的事件的id:"+this.m_data.binding_event_id},e}(l)).prototype,"btn_select_ui",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),m=e(g.prototype,"lab_name",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),y=e(g.prototype,"btn_delete_event",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),f=g))||f));r._RF.pop()}}}));

System.register("chunks:///_virtual/event_stop_active_event.ts",["./rollupPluginModLoBabelHelpers.js","cc","./data.ts","./Attributes.ts","./tools.ts","./clientEvent.ts","./config.ts","./edit_event_more_item.ts"],(function(t){var i,e,n,a,_,r,o,d,s,l,u,g,c,b,p,f,m;return{setters:[function(t){i=t.applyDecoratedDescriptor,e=t.inheritsLoose,n=t.initializerDefineProperty,a=t.assertThisInitialized},function(t){_=t.cclegacy,r=t._decorator,o=t.Node,d=t.Prefab,s=t.Label,l=t.Component,u=t.instantiate},function(t){g=t.event_widget_more_event_item},function(t){c=t.Attributes},function(t){b=t.tools},function(t){p=t.ClientEvent},function(t){f=t.config},function(t){m=t.edit_event_more_item}],execute:function(){var w,h,v,y,S,T,M,A,C,E,L,V,z;_._RF.push({},"0225dj/HVZMp56qyeSyMN7j","event_stop_active_event",void 0);var U=r.ccclass,k=r.property;t("event_stop_active_event",(w=U("event_stop_active_event"),h=k(o),v=k(o),y=k(o),S=k(o),T=k(d),w((C=i((A=function(t){function i(){for(var i,e=arguments.length,_=new Array(e),r=0;r<e;r++)_[r]=arguments[r];return(i=t.call.apply(t,[this].concat(_))||this).m_data=null,n(i,"btn_select_ui",C,a(i)),n(i,"lab_name",E,a(i)),n(i,"btn_more",L,a(i)),n(i,"content",V,a(i)),n(i,"item_more_prefab",z,a(i)),i}e(i,t);var _=i.prototype;return _.start=function(){var t=this;this.btn_more.on(o.EventType.TOUCH_END,(function(){t.onClickMoreBtn()}),this)},_.initView=function(t){var i=this;this.m_data=t,this.btn_select_ui.on(o.EventType.TOUCH_END,(function(){var t=c.Singleton.get_cur_scene_all_only_widget();if(t.length<=0)return b.showToast("当前场景没有添控件！");b.show_select_widget_list(t,(function(t){i.m_data.binding_widget_id=t.att.id,i.updateStatus()}),i.m_data.binding_widget_id)})),this.updateStatus(),this.updateMoreListStatus(),p.on(f.Event.UpdateAttributesToView,this.UpdateAttributesToView,this)},_.onDestroy=function(){p.off(f.Event.UpdateAttributesToView,this.UpdateAttributesToView,this)},_.UpdateAttributesToView=function(t,i){if(i===f.attributes_list_type.delete){this.m_data.binding_widget_id===t.id&&(this.m_data.binding_widget_id=-1,this.updateStatus());for(var e=!1,n=0;n<this.m_data.binding_widget_list.length;n++){var a=this.m_data.binding_widget_list[n];a.binding_widget_id===t.id&&(a.binding_widget_id=-1,e=!0)}e&&this.updateMoreListStatus()}},_.updateStatus=function(){this.lab_name.getComponent(s).string=-1===this.m_data.binding_widget_id?"当前选择停用激活的控件":"当前选择停用激活的控件id："+this.m_data.binding_widget_id},_.onClickMoreBtn=function(){var t=this,i=c.Singleton.get_cur_scene_all_only_widget();if(i.length<=0)return b.showToast("当前场景没有添控件！");b.show_select_widget_list(i,(function(i){if(i.att.id!=t.m_data.binding_widget_id){for(var e=-1,n=0;n<t.m_data.binding_widget_list.length;n++){if(t.m_data.binding_widget_list[n].binding_widget_id==i.att.id){e=n;break}}-1!=e&&t.m_data.binding_widget_list.splice(e,1);var a=new g;a.binding_widget_id=i.att.id,a.binding_widget_remark=i.att.remark,t.m_data.binding_widget_list.push(a),t.updateMoreListStatus()}}),this.m_data.binding_widget_id)},_.updateMoreListStatus=function(){var t=this;null==this.m_data.binding_widget_list&&(this.m_data.binding_widget_list=[]),this.content.removeAllChildren();for(var i=function(i){var e=t.m_data.binding_widget_list[i],n=u(t.item_more_prefab);n.parent=t.content,n.getComponent(m).initView(e,(function(){t.m_data.binding_widget_list.splice(i,1),t.updateMoreListStatus()}))},e=0;e<this.m_data.binding_widget_list.length;e++)i(e)},i}(l)).prototype,"btn_select_ui",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),E=i(A.prototype,"lab_name",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),L=i(A.prototype,"btn_more",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),V=i(A.prototype,"content",[S],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),z=i(A.prototype,"item_more_prefab",[T],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),M=A))||M));_._RF.pop()}}}));

System.register("chunks:///_virtual/event_stop_play_loop_sound.ts",["./rollupPluginModLoBabelHelpers.js","cc","./tools.ts"],(function(t){var e,n,o,a,i,s,r,l,u,p;return{setters:[function(t){e=t.applyDecoratedDescriptor,n=t.inheritsLoose,o=t.initializerDefineProperty,a=t.assertThisInitialized},function(t){i=t.cclegacy,s=t._decorator,r=t.Node,l=t.Label,u=t.Component},function(t){p=t.tools}],execute:function(){var _,c,d,f,h,b,m;i._RF.push({},"3495f/P3shNCqQue+9f9N/A","event_stop_play_loop_sound",void 0);var y=s.ccclass,v=s.property;t("event_stop_play_loop_sound",(_=y("event_stop_play_loop_sound"),c=v(r),d=v(r),_((b=e((h=function(t){function e(){for(var e,n=arguments.length,i=new Array(n),s=0;s<n;s++)i[s]=arguments[s];return e=t.call.apply(t,[this].concat(i))||this,o(e,"btn_select_sound",b,a(e)),o(e,"lab_name",m,a(e)),e.m_data=null,e}n(e,t);var i=e.prototype;return i.initView=function(t){var e=this;this.m_data=t,this.btn_select_sound.on(r.EventType.TOUCH_END,(function(){p.select_sound_list((function(t){e.m_data.res=t.url,e.updateStatus()}))})),this.updateStatus()},i.updateStatus=function(){this.m_data.res.length>0?this.lab_name.getComponent(l).string=this.m_data.res:this.lab_name.getComponent(l).string="选择停止播放语音文件"},e}(u)).prototype,"btn_select_sound",[c],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),m=e(h.prototype,"lab_name",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),f=h))||f));i._RF.pop()}}}));

System.register("chunks:///_virtual/event_switch_scene_event.ts",["./rollupPluginModLoBabelHelpers.js","cc","./config.ts","./main.ts","./tools.ts"],(function(e){var t,n,i,o,a,_,c,s,d,r,h,l,u,p;return{setters:[function(e){t=e.applyDecoratedDescriptor,n=e.inheritsLoose,i=e.initializerDefineProperty,o=e.assertThisInitialized},function(e){a=e.cclegacy,_=e._decorator,c=e.Node,s=e.EditBox,d=e.Toggle,r=e.Label,h=e.Component},function(e){l=e.config},function(e){u=e.main},function(e){p=e.tools}],execute:function(){var g,m,f,w,b,C,y,v,k,S,x,T,E,D,O,z,N,L,H;a._RF.push({},"290589Kq1xOkYhV8ZAn1mlU","event_switch_scene_event",void 0);var U=_.ccclass,A=_.property;e("event_switch_scene_event",(g=U("event_switch_scene_event"),m=A(c),f=A(c),w=A(c),b=A(c),C=A(c),y=A(c),v=A(c),k=A(s),g((T=t((x=function(e){function t(){for(var t,n=arguments.length,a=new Array(n),_=0;_<n;_++)a[_]=arguments[_];return t=e.call.apply(e,[this].concat(a))||this,i(t,"lab_name",T,o(t)),i(t,"btn_select_page",E,o(t)),i(t,"up_node",D,o(t)),i(t,"down_node",O,o(t)),i(t,"left_node",z,o(t)),i(t,"right_node",N,o(t)),i(t,"only_once_node",L,o(t)),i(t,"edit_time",H,o(t)),t.m_data=null,t.m_scene_data=null,t}n(t,e);var a=t.prototype;return a.initView=function(e){this.m_data=e,this.m_scene_data=u.Singleton.getEditSceneView().getCurSelectScene(),this.updateSceneStatus(),this.updateLabStatus(),this.updateDirectionNodeStatus(),this.only_once_node.getComponent(d).isChecked=this.m_data.executeOnlyOnce,null==e.delay_time&&(e.delay_time=0),this.edit_time.string=e.delay_time.toString()},a.start=function(){var e=this;this.btn_select_page.on(c.EventType.TOUCH_END,(function(){p.show_select_more_scene_page(e.m_scene_data.page_list,e.m_data.binding_page_index,(function(t){e.m_data.binding_page_index=t,e.updateSceneStatus(),e.updateLabStatus()}))})),this.up_node.on(c.EventType.TOUCH_END,(function(){e.change(l.switch_scene_page_direction.up)})),this.down_node.on(c.EventType.TOUCH_END,(function(){e.change(l.switch_scene_page_direction.down)})),this.left_node.on(c.EventType.TOUCH_END,(function(){e.change(l.switch_scene_page_direction.left)})),this.right_node.on(c.EventType.TOUCH_END,(function(){e.change(l.switch_scene_page_direction.right)})),this.only_once_node.on("toggle",(function(){e.m_data.executeOnlyOnce=e.only_once_node.getComponent(d).isChecked})),this.edit_time.node.on("editing-did-ended",(function(){e.m_data.delay_time=parseFloat(e.edit_time.string)}))},a.change=function(e){void 0===e&&(e=l.switch_scene_page_direction.unknown),this.m_data.direction!=e?(this.m_data.direction=e,this.updateDirectionNodeStatus()):this.m_data.direction=l.switch_scene_page_direction.unknown},a.noCheckedAll=function(){this.up_node.getComponent(d).isChecked=!1,this.down_node.getComponent(d).isChecked=!1,this.left_node.getComponent(d).isChecked=!1,this.right_node.getComponent(d).isChecked=!1},a.updateSceneStatus=function(){switch(this.m_scene_data.type){case l.Scene_Type_List.many_screen_switch_up_down:this.up_node.active=!0,this.down_node.active=!0,this.left_node.active=!1,this.right_node.active=!1,0==this.m_data.binding_page_index?(this.up_node.active=!1,this.m_data.direction==l.switch_scene_page_direction.up&&(this.m_data.direction=l.switch_scene_page_direction.unknown,this.up_node.getComponent(d).isChecked=!1)):this.m_data.binding_page_index>=this.m_scene_data.page_list.length-1&&(this.down_node.active=!1,this.m_data.direction==l.switch_scene_page_direction.down&&(this.m_data.direction=l.switch_scene_page_direction.unknown,this.down_node.getComponent(d).isChecked=!1));break;case l.Scene_Type_List.many_screen_switch_left_right:this.up_node.active=!1,this.down_node.active=!1,this.left_node.active=!0,this.right_node.active=!0,0==this.m_data.binding_page_index?(this.left_node.active=!1,this.m_data.direction==l.switch_scene_page_direction.left&&(this.m_data.direction=l.switch_scene_page_direction.unknown,this.left_node.getComponent(d).isChecked=!1)):this.m_data.binding_page_index>=this.m_scene_data.page_list.length-1&&(this.right_node.active=!1,this.m_data.direction==l.switch_scene_page_direction.right&&(this.m_data.direction=l.switch_scene_page_direction.unknown,this.right_node.getComponent(d).isChecked=!1))}},a.updateDirectionNodeStatus=function(){var e=this;this.noCheckedAll(),this.scheduleOnce((function(){switch(e.m_data.direction){case l.switch_scene_page_direction.up:e.up_node.getComponent(d).isChecked=!0;break;case l.switch_scene_page_direction.down:e.down_node.getComponent(d).isChecked=!0;break;case l.switch_scene_page_direction.left:e.left_node.getComponent(d).isChecked=!0;break;case l.switch_scene_page_direction.right:e.right_node.getComponent(d).isChecked=!0}}),.1)},a.updateLabStatus=function(){var e="请选择切换场景的页数";null!=this.m_data.binding_page_index&&-1!=this.m_data.binding_page_index&&(e="选择切换场景的页数是："+(this.m_data.binding_page_index+1)),this.lab_name.getComponent(r).string=e},t}(h)).prototype,"lab_name",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),E=t(x.prototype,"btn_select_page",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),D=t(x.prototype,"up_node",[w],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),O=t(x.prototype,"down_node",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),z=t(x.prototype,"left_node",[C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),N=t(x.prototype,"right_node",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),L=t(x.prototype,"only_once_node",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),H=t(x.prototype,"edit_time",[k],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),S=x))||S));a._RF.pop()}}}));

System.register("chunks:///_virtual/event_text_sound.ts",["./rollupPluginModLoBabelHelpers.js","cc","./Attributes.ts","./config.ts","./tools.ts","./clientEvent.ts"],(function(t){var e,i,n,a,o,s,r,u,_,d,l,c,p;return{setters:[function(t){e=t.applyDecoratedDescriptor,i=t.inheritsLoose,n=t.initializerDefineProperty,a=t.assertThisInitialized},function(t){o=t.cclegacy,s=t._decorator,r=t.Node,u=t.Label,_=t.Component},function(t){d=t.Attributes},function(t){l=t.config},function(t){c=t.tools},function(t){p=t.ClientEvent}],execute:function(){var b,f,g,h,w,v,m;o._RF.push({},"afaa9XsOPJGjZ2JaA+VAlZu","event_text_sound",void 0);var y=s.ccclass,T=s.property;t("event_text_sound",(b=y("event_text_sound"),f=T(r),g=T(r),b((v=e((w=function(t){function e(){for(var e,i=arguments.length,o=new Array(i),s=0;s<i;s++)o[s]=arguments[s];return(e=t.call.apply(t,[this].concat(o))||this).m_data=null,n(e,"btn_select_ui",v,a(e)),n(e,"lab_name",m,a(e)),e}i(e,t);var o=e.prototype;return o.initView=function(t){var e=this;this.m_data=t,this.btn_select_ui.on(r.EventType.TOUCH_END,(function(){var t=d.Singleton.get_cur_scene_widget_by_type(l.Widget_Type_List.TEXT_SOUND);if(t.length<=0)return c.showToast("当前场景没有添加文本和音效！");c.show_select_widget_list(t,(function(t){e.m_data.binding_widget_id=t.att.id,e.updateStatus()}),e.m_data.binding_widget_id)})),this.updateStatus(),p.on(l.Event.UpdateAttributesToView,this.UpdateAttributesToView,this)},o.onDestroy=function(){p.off(l.Event.UpdateAttributesToView,this.UpdateAttributesToView,this)},o.UpdateAttributesToView=function(t,e){this.m_data.binding_widget_id===t.id&&e===l.attributes_list_type.delete&&(this.m_data.binding_widget_id=-1,this.updateStatus())},o.updateStatus=function(){this.lab_name.getComponent(u).string=-1===this.m_data.binding_widget_id?"添加文本和音效":"当前绑定的文本和音效id："+this.m_data.binding_widget_id},e}(_)).prototype,"btn_select_ui",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),m=e(w.prototype,"lab_name",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),h=w))||h));o._RF.pop()}}}));

System.register("chunks:///_virtual/event_top_view_hide_view.ts",["./rollupPluginModLoBabelHelpers.js","cc","./Attributes.ts","./config.ts","./tools.ts","./clientEvent.ts"],(function(t){var i,e,n,o,a,s,u,r,_,d,l,c,p;return{setters:[function(t){i=t.applyDecoratedDescriptor,e=t.inheritsLoose,n=t.initializerDefineProperty,o=t.assertThisInitialized},function(t){a=t.cclegacy,s=t._decorator,u=t.Node,r=t.Label,_=t.Component},function(t){d=t.Attributes},function(t){l=t.config},function(t){c=t.tools},function(t){p=t.ClientEvent}],execute:function(){var b,h,f,v,g,w,m;a._RF.push({},"13268EMF0FOJ6EF8u6O1TrO","event_top_view_hide_view",void 0);var y=s.ccclass,T=s.property;t("event_top_view_hide_view",(b=y("event_top_view_hide_view"),h=T(u),f=T(u),b((w=i((g=function(t){function i(){for(var i,e=arguments.length,a=new Array(e),s=0;s<e;s++)a[s]=arguments[s];return(i=t.call.apply(t,[this].concat(a))||this).m_data=null,n(i,"btn_select_ui",w,o(i)),n(i,"lab_name",m,o(i)),i}e(i,t);var a=i.prototype;return a.initView=function(t){var i=this;this.m_data=t,this.btn_select_ui.on(u.EventType.TOUCH_END,(function(){var t=d.Singleton.get_cur_scene_widget_by_type(l.Widget_Type_List.UI_TOP);if(t.length<=0)return c.showToast("当前场景没有添加弹窗！");c.show_select_widget_list(t,(function(t){i.m_data.binding_ui_id=t.att.id,i.updateStatus()}),i.m_data.binding_ui_id)})),this.updateStatus(),p.on(l.Event.UpdateAttributesToView,this.UpdateAttributesToView,this)},a.onDestroy=function(){p.off(l.Event.UpdateAttributesToView,this.UpdateAttributesToView,this)},a.UpdateAttributesToView=function(t,i){this.m_data.binding_ui_id===t.id&&i===l.attributes_list_type.delete&&(this.m_data.binding_ui_id=-1,this.updateStatus())},a.updateStatus=function(){this.lab_name.getComponent(r).string=-1===this.m_data.binding_ui_id?"添加弹窗隐藏":"当前绑定的弹窗隐藏id："+this.m_data.binding_ui_id},i}(_)).prototype,"btn_select_ui",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),m=i(g.prototype,"lab_name",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),v=g))||v));a._RF.pop()}}}));

System.register("chunks:///_virtual/event_top_view_view.ts",["./rollupPluginModLoBabelHelpers.js","cc","./tools.ts","./Attributes.ts","./clientEvent.ts","./config.ts"],(function(t){var i,e,n,o,a,s,r,u,_,c,l,d,p;return{setters:[function(t){i=t.applyDecoratedDescriptor,e=t.inheritsLoose,n=t.initializerDefineProperty,o=t.assertThisInitialized},function(t){a=t.cclegacy,s=t._decorator,r=t.Node,u=t.Label,_=t.Component},function(t){c=t.tools},function(t){l=t.Attributes},function(t){d=t.ClientEvent},function(t){p=t.config}],execute:function(){var b,f,v,h,g,w,m;a._RF.push({},"ca7eet1GoZJ2ZDrOmTBInXs","event_top_view_view",void 0);var y=s.ccclass,T=s.property;t("event_top_view_view",(b=y("event_top_view_view"),f=T(r),v=T(r),b((w=i((g=function(t){function i(){for(var i,e=arguments.length,a=new Array(e),s=0;s<e;s++)a[s]=arguments[s];return(i=t.call.apply(t,[this].concat(a))||this).m_data=null,n(i,"btn_select_ui",w,o(i)),n(i,"lab_name",m,o(i)),i}e(i,t);var a=i.prototype;return a.initView=function(t){var i=this;this.m_data=t,this.btn_select_ui.on(r.EventType.TOUCH_END,(function(){var t=l.Singleton.get_cur_scene_widget_by_type(p.Widget_Type_List.UI_TOP);if(t.length<=0)return c.showToast("当前场景没有添加弹窗！");c.show_select_widget_list(t,(function(t){i.m_data.binding_ui_id=t.att.id,i.updateStatus()}),i.m_data.binding_ui_id)})),this.updateStatus(),d.on(p.Event.UpdateAttributesToView,this.UpdateAttributesToView,this)},a.onDestroy=function(){d.off(p.Event.UpdateAttributesToView,this.UpdateAttributesToView,this)},a.UpdateAttributesToView=function(t,i){this.m_data.binding_ui_id===t.id&&i===p.attributes_list_type.delete&&(this.m_data.binding_ui_id=-1,this.updateStatus())},a.updateStatus=function(){this.lab_name.getComponent(u).string=-1===this.m_data.binding_ui_id?"添加弹窗":"当前绑定的弹窗id："+this.m_data.binding_ui_id},i}(_)).prototype,"btn_select_ui",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),m=i(g.prototype,"lab_name",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),h=g))||h));a._RF.pop()}}}));

System.register("chunks:///_virtual/fail_ani.ts",["./rollupPluginModLoBabelHelpers.js","cc","./gameManager.ts"],(function(n){var t,e,i,o,a,s;return{setters:[function(n){t=n.inheritsLoose},function(n){e=n.cclegacy,i=n._decorator,o=n.Animation,a=n.Component},function(n){s=n.gameManager}],execute:function(){var c;e._RF.push({},"4d8194SRUJAuL8LGvUGqm+s","fail_ani",void 0);var r=i.ccclass;i.property,n("fail_ani",r("fail_ani")(c=function(n){function e(){return n.apply(this,arguments)||this}t(e,n);var i=e.prototype;return i.Play=function(){var n=this;this.node.active=!0,this.node.getComponent(o).play(),this.scheduleOnce((function(){n.hideAndStop()}),1.5),s.Singleton.sys_fail_attack_music()},i.hideAndStop=function(){this.node.getComponent(o).stop(),this.node.active=!1},e}(a))||c);e._RF.pop()}}}));

System.register("chunks:///_virtual/fail.ts",["./rollupPluginModLoBabelHelpers.js","cc","./gameManager.ts"],(function(e){var t,n,i,l,r,a,o,c,_;return{setters:[function(e){t=e.applyDecoratedDescriptor,n=e.inheritsLoose,i=e.initializerDefineProperty,l=e.assertThisInitialized},function(e){r=e.cclegacy,a=e._decorator,o=e.Node,c=e.Component},function(e){_=e.gameManager}],execute:function(){var f,s,u,p,b,y,h,m,v;r._RF.push({},"5085ecER0VE+6RxyGStyx3Z","fail",void 0);var g=a.ccclass,E=a.property;e("fail",(f=g("fail"),s=E(o),u=E(o),p=E(o),f((h=t((y=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return t=e.call.apply(e,[this].concat(r))||this,i(t,"btn_close",h,l(t)),i(t,"btn_fail_reLife",m,l(t)),i(t,"btn_fail_reStart",v,l(t)),t.m_call_relife=null,t.m_call_restart=null,t}n(t,e);var r=t.prototype;return r.start=function(){var e=this;this.btn_fail_reLife.off(o.EventType.TOUCH_END),this.btn_fail_reLife.on(o.EventType.TOUCH_END,(function(){null!=e.m_call_relife&&e.m_call_relife()})),this.btn_fail_reStart.off(o.EventType.TOUCH_END),this.btn_fail_reStart.on(o.EventType.TOUCH_END,(function(){null!=e.m_call_restart&&e.m_call_restart()})),this.btn_close.off(o.EventType.TOUCH_END),this.btn_close.on(o.EventType.TOUCH_END,(function(){e.node.active=!1,null!=_.Singleton.getLevelData()&&_.Singleton.backGameList()}))},r.show=function(e,t,n){this.node.active=!0,this.m_call_relife=t,this.m_call_restart=n,this.btn_fail_reLife.active=!!e,_.Singleton.sys_fail_prompt_music()},t}(c)).prototype,"btn_close",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),m=t(y.prototype,"btn_fail_reLife",[u],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),v=t(y.prototype,"btn_fail_reStart",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),b=y))||b));r._RF.pop()}}}));

System.register("chunks:///_virtual/frame_item.ts",["./rollupPluginModLoBabelHelpers.js","cc"],(function(t){var e,n,i,a,r,o,c,l,s,u,m;return{setters:[function(t){e=t.applyDecoratedDescriptor,n=t.inheritsLoose,i=t.initializerDefineProperty,a=t.assertThisInitialized},function(t){r=t.cclegacy,o=t._decorator,c=t.Node,l=t.Label,s=t.Sprite,u=t.Color,m=t.Component}],execute:function(){var _,f,p,h,d;r._RF.push({},"e1966WLgNhPi4yZFzYeF3nw","frame_item",void 0);var g=o.ccclass,y=o.property;t("frame_item",(_=g("frame_item"),f=y(c),_((d=e((h=function(t){function e(){for(var e,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return e=t.call.apply(t,[this].concat(r))||this,i(e,"frame_name",d,a(e)),e.m_data=null,e.m_call_back=null,e.m_index=0,e}n(e,t);var r=e.prototype;return r.initView=function(t,e,n){var i=this;this.m_data=t,this.m_call_back=e,this.m_index=n,this.frame_name.getComponent(l).string="第"+n+"帧",this.node.on(c.EventType.TOUCH_END,(function(){null!=i.m_call_back&&i.m_call_back(i)}))},r.getIndex=function(){return this.m_index},r.getData=function(){return this.m_data},r.setData=function(t){this.m_data=t},r.selectStatus=function(){this.node.getComponent(s).color=u.GREEN},r.unSelectStatus=function(){this.node.getComponent(s).color=u.WHITE},e}(m)).prototype,"frame_name",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),p=h))||p));r._RF.pop()}}}));

System.register("chunks:///_virtual/game_list.ts",["./rollupPluginModLoBabelHelpers.js","cc","./http.ts","./gameManager.ts","./level_list_item2.ts","./config.ts","./tools.ts"],(function(t){var n,e,i,o,a,c,l,s,r,_,g,u,p,h,f,v,m,d;return{setters:[function(t){n=t.applyDecoratedDescriptor,e=t.inheritsLoose,i=t.initializerDefineProperty,o=t.assertThisInitialized},function(t){a=t.cclegacy,c=t._decorator,l=t.Node,s=t.Prefab,r=t.Vec3,_=t.Label,g=t.instantiate,u=t.UITransform,p=t.Component},function(t){h=t.http},function(t){f=t.gameManager},function(t){v=t.level_list_item},function(t){m=t.config},function(t){d=t.tools}],execute:function(){var b,y,C,T,U,S,x,w,E,L,D;a._RF.push({},"02107OYJA5Jw6toWUIZKR5E","game_list",void 0);var O=c.ccclass,k=c.property;t("game_list",(b=O("game_list"),y=k(l),C=k(l),T=k(l),U=k(s),b((w=n((x=function(t){function n(){for(var n,e=arguments.length,a=new Array(e),c=0;c<e;c++)a[c]=arguments[c];return n=t.call.apply(t,[this].concat(a))||this,i(n,"btn_back",w,o(n)),i(n,"lab_cur_select_page",E,o(n)),i(n,"content",L,o(n)),i(n,"game_level_item",D,o(n)),n.m_back_call=null,n.m_loading_finish_call=null,n.m_data=null,n.origin_pos=r.ZERO,n.x_len=0,n.onTouchActive=!0,n}e(n,t);var a=n.prototype;return a.initView=function(t,n){var e=this;this.m_back_call=n,this.m_loading_finish_call=t,this.btn_back.off(l.EventType.TOUCH_END),this.btn_back.on(l.EventType.TOUCH_END,(function(){null!=e.m_back_call&&e.m_back_call(),f.Singleton.sys_click_button_music()})),this.loadView()},a.loadView=function(){var t=this,n=f.getUserData(),e=h.getGameList(n.select_page);h.run_get(e,(function(n,e){if(!n){var i=JSON.parse(e);t.initGameList(i),null!=t.m_loading_finish_call&&t.m_loading_finish_call()}}))},a.initGameList=function(t){var n=this;this.m_data=t,this.lab_cur_select_page.getComponent(_).string=f.getUserData().select_page+"/"+this.getAllPage(),this.content.removeAllChildren();for(var e=0;e<this.m_data.content.list.length;e++){var i=this.m_data.content.list[e],o=g(this.game_level_item);o.parent=this.content,o.getComponent(v).initView(this.onItemClick.bind(this),i)}this.content.on(l.EventType.TOUCH_MOVE,(function(t){var e=new r(t.getUILocation().x,t.getUILocation().y),i=n.content.parent.getComponent(u).convertToNodeSpaceAR(e),o=n.content.parent.getComponent(u).convertToWorldSpaceAR(n.content.position);0==n.x_len&&(n.x_len=2*(t.getUILocation().x-o.x)),n.content.position=new r(i.x-n.x_len,n.content.position.y)})),this.content.on(l.EventType.TOUCH_CANCEL,(function(){n.x_len=0,n.content.position=new r(n.origin_pos.x,n.content.position.y)})),this.content.on(l.EventType.TOUCH_END,(function(){return n.x_len=0,n.content.position.x-n.origin_pos.x>300?(n.onUpPage(),void(n.content.position=new r(n.origin_pos.x,n.content.position.y))):n.content.position.x-n.origin_pos.x<-300?(n.onNextPage(),void(n.content.position=new r(n.origin_pos.x,n.content.position.y))):void(n.content.position=new r(n.origin_pos.x,n.content.position.y))}),this,!0)},a.updatePage=function(t){var n=this;this.onTouchActive=!1,this.content.removeAllChildren(),f.getStaticUserData().select_page=t,f.saveUserData(),this.content.off(l.EventType.TOUCH_MOVE),this.content.off(l.EventType.TOUCH_CANCEL),this.content.off(l.EventType.TOUCH_END);var e=h.getGameList(f.getStaticUserData().select_page);h.run_get(e,(function(t,e){if(!t){var i=JSON.parse(e);n.initGameList(i)}})),this.unscheduleAllCallbacks(),this.scheduleOnce((function(){n.onTouchActive=!0}),1)},a.onUpPage=function(){var t=f.getStaticUserData().select_page-1;t<1||this.updatePage(t)},a.onNextPage=function(){var t=f.getStaticUserData().select_page+1;t>this.getAllPage()||this.updatePage(t)},a.onItemClick=function(t){var n=this;if(this.onTouchActive)if(t.getIsUnLock()){var e=function(){var e=h.get_level_info(t.getData().id);f.Singleton.showLoadingLevel(),h.run_get(e,(function(e,i){if(e)console.log("进入关卡错误：",e);else{var o=JSON.parse(i);if(o.code===m.MSG_CODE.SUCCESS){if(o.content.content.length>0){var a=JSON.parse(o.content.content.toString());o.content.content=a}f.loadSceneRes(o.content.id,o.content.content.length,(function(){f.Singleton.setLevelData(t.getData()),f.Singleton.runGame(o.content.content),f.Singleton.hideLoadingLevel(),n.hide()}))}else d.showToast("错误码："+o.code)}}))};1===t.getData().category_id?f.Singleton.showCheck((function(){e()})):e()}else d.show_dialog("是否解锁?",(function(){t.UnLock()}))},a.hide=function(){this.node.active=!1},a.getAllPage=function(){return this.m_data.content.tool_number<=6?1:Math.floor(this.m_data.content.tool_number/6)},n}(p)).prototype,"btn_back",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),E=n(x.prototype,"lab_cur_select_page",[C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),L=n(x.prototype,"content",[T],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),D=n(x.prototype,"game_level_item",[U],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),S=x))||S));a._RF.pop()}}}));

System.register("chunks:///_virtual/game_run.ts",["./rollupPluginModLoBabelHelpers.js","cc","./gameManager.ts","./scene_layer.ts","./ui_layer.ts","./top_layer.ts","./control.ts","./loading_view.ts","./login_view.ts","./game_list.ts","./check_open.ts"],(function(e){var n,i,t,o,a,r,l,u,c,s,g,h,p,_,f,m,y,v;return{setters:[function(e){n=e.applyDecoratedDescriptor,i=e.inheritsLoose,t=e.initializerDefineProperty,o=e.assertThisInitialized},function(e){a=e.cclegacy,r=e._decorator,l=e.Node,u=e.Tween,c=e.Component},function(e){s=e.gameManager},function(e){g=e.scene_layer},function(e){h=e.ui_layer},function(e){p=e.top_layer},function(e){_=e.control},function(e){f=e.loading_view},function(e){m=e.login_view},function(e){y=e.game_list},function(e){v=e.check_open}],execute:function(){var w,b,d,C,L,T,k,S,z,F,G,P,I,R,D,M,U,A,W,x,N,E,H,O,Q;a._RF.push({},"ae970oGFgtFDbTPNF7UgK9L","game_run",void 0);var V=r.ccclass,j=r.property;e("game_run",(w=V("game_run"),b=j(l),d=j(l),C=j(l),L=j(l),T=j(l),k=j(l),S=j(l),z=j(l),F=j(l),G=j(l),P=j(s),w((D=n((R=function(e){function n(){for(var n,i=arguments.length,a=new Array(i),r=0;r<i;r++)a[r]=arguments[r];return n=e.call.apply(e,[this].concat(a))||this,t(n,"scene_layer",D,o(n)),t(n,"ui_layer",M,o(n)),t(n,"top_layer",U,o(n)),t(n,"btn_close",A,o(n)),t(n,"launch",W,o(n)),t(n,"game_list",x,o(n)),t(n,"login_view",N,o(n)),t(n,"loading_view",E,o(n)),t(n,"loading_level",H,o(n)),t(n,"check_open",O,o(n)),t(n,"mGameManger",Q,o(n)),n}i(n,e);var a=n.prototype;return a.start=function(){var e=this;this.btn_close.on(l.EventType.TOUCH_END,(function(){e.unInit(),e.close()}))},a.unInit=function(){u.stopAll(),this.ui_layer.getComponent(h).unInit(),this.top_layer.getComponent(p).unInit(),this.scene_layer.getComponent(g).unInit()},a.close=function(){this.node.removeFromParent()},a.run=function(e){void 0===e&&(e=null),this.mGameManger.init(this,_.Singleton.get_bag_data().content,e)},a.runAll=function(){var e=this;this.loading_view.active=!0,this.login_view.active=!1,this.game_list.active=!1,this.mGameManger.initGR(this),this.loading_view.getComponent(f).startLoading((function(){e.loading_view.active=!1,e.showLogin()}))},a.showLogin=function(){var e=this;this.login_view.active=!0,this.login_view.getComponent(m).initView((function(){e.showGameList((function(){e.login_view.active=!1}))}))},a.isCurScenePageCheckWidgetFinish=function(e){return this.scene_layer.getComponent(g).isCurScenePageCheckWidgetFinish(e)},a.isCurScenePageCheckWidgetShow=function(e){return this.scene_layer.getComponent(g).isCurScenePageCheckWidgetShow(e)},a.showGameList=function(e){var n=this;this.game_list.active=!0,this.game_list.getComponent(y).initView(e,(function(){n.game_list.active=!1,n.showLogin()}))},a.loadSceneTask=function(e){this.scene_layer.getComponent(g).initSceneTask(e)},a.loadSceneLayer=function(e,n){this.scene_layer.getComponent(g).initScene(e,n)},a.getCurSceneLayerPage=function(){return this.scene_layer.getComponent(g).getCurScenePage()},a.loadUILayer=function(e){this.ui_layer.getComponent(h).initUi(e),this.initTop()},a.initTop=function(){this.top_layer.getComponent(p).initTop()},a.loadTextSound=function(e){this.top_layer.getComponent(p).initTextSoundLlist(e)},a.initQuestionList=function(e){this.top_layer.getComponent(p).initQuestionList(e)},a.initCountDownList=function(e){this.ui_layer.getComponent(h).initCountDownList(e)},a.initTaskUi=function(e){this.ui_layer.getComponent(h).initTaskUi(e),this.top_layer.getComponent(p).initRuleAndTips()},a.showFindRuleTips=function(){this.top_layer.getComponent(p).showFindRuleTips()},a.showTips=function(){this.top_layer.getComponent(p).showTips()},a.showRule=function(){this.top_layer.getComponent(p).showRule()},a.showCheck=function(e){this.check_open.getComponent(v).show(e)},a.backGameList=function(){var e=this;this.unInit(),this.onlaunch((function(){e.showGameList((function(){}))}))},a.showLoadingLevel=function(){this.loading_level.active=!0},a.hideLoadingLevel=function(){this.loading_level.active=!1},a.loadTopLayer=function(){},a.onlaunch=function(e,n){var i=this;void 0===n&&(n=.7),this.launch.active=!0,e(),this.scheduleOnce((function(){i.launch.active=!1}),n)},n}(c)).prototype,"scene_layer",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),M=n(R.prototype,"ui_layer",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),U=n(R.prototype,"top_layer",[C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),A=n(R.prototype,"btn_close",[L],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),W=n(R.prototype,"launch",[T],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),x=n(R.prototype,"game_list",[k],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),N=n(R.prototype,"login_view",[S],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),E=n(R.prototype,"loading_view",[z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),H=n(R.prototype,"loading_level",[F],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),O=n(R.prototype,"check_open",[G],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),Q=n(R.prototype,"mGameManger",[P],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),I=R))||I));a._RF.pop()}}}));

System.register("chunks:///_virtual/gameManager.ts",["./rollupPluginModLoBabelHelpers.js","cc","./config.ts","./sceneManager.ts","./control.ts","./http.ts","./tools.ts","./main.ts","./taskServce.ts","./clientEvent.ts","./sysSound.ts"],(function(t){var n,e,i,a,s,o,u,c,l,r,_,h,g,f,d,m,v,S,p,E,y;return{setters:[function(t){n=t.applyDecoratedDescriptor,e=t.inheritsLoose,i=t.initializerDefineProperty,a=t.assertThisInitialized},function(t){s=t.cclegacy,o=t._decorator,u=t.sys,c=t.UITransform,l=t.Size,r=t.Vec3,_=t.Sprite,h=t.Component},function(t){g=t.config},function(t){f=t.sceneManager},function(t){d=t.control},function(t){m=t.http},function(t){v=t.tools},function(t){S=t.main},function(t){p=t.taskServce},function(t){E=t.ClientEvent},function(t){y=t.sysSound}],execute:function(){var I,L,D,R,T,C,G,O;s._RF.push({},"3c58aAUixJHqqIn2KKCxaOS","gameManager",void 0);var w=o.ccclass,N=o.property;t("gameManager",(I=w("gameManager"),L=N(f),D=N(y),I(((O=function(t){function n(){for(var n,e=arguments.length,s=new Array(e),o=0;o<e;o++)s[o]=arguments[o];return(n=t.call.apply(t,[this].concat(s))||this).mGameRun=null,n.mGameData=[],n.mCurSceneIndex=0,n.mLevelData=null,i(n,"mSceneManager",C,a(n)),i(n,"mSysSound",G,a(n)),n}e(n,t);var s=n.prototype;return s.start=function(){n.Singleton=this},n.loadSceneRes=function(t,e,i){for(var a=0,s=0,o=1,u=function(){a++,o>=e&&a>=s&&i()},c=0;c<=e;c++){var l=m.get_level_resource(t,c);m.run_get(l,(function(t,e){if(t)v.showToast("获取关卡错误"+t);else{var i=JSON.parse(e);o++,s+=i.content.length;for(var a=0;a<i.content.length;a++){var c=i.content[a];console.log("url=",c);var l=c.substring(c.length-3,c.length);"png"!==l&&"jpg"!==l||v.loadSceneImg(c,(function(t){n.res_map.set(t.url,t.sf),u()})),"mp3"===l&&v.loadSceneMp3(c,(function(t){n.mp3_cache.set(t.url,t.clip),u()}))}}}))}},s.setLevelData=function(t){this.mLevelData=t},s.getLevelData=function(){return this.mLevelData},n.setSysData=function(t){n.sys_data=t},n.getSysData=function(){return n.sys_data},n.loadSceneMp3=function(){},n.getUserData=function(){var t=u.localStorage.getItem(g.USER_DATA);return null==t||""==t||null==t?null:JSON.parse(t)},n.getStaticUserData=function(){return n.g_userData},n.setUserData=function(t){n.g_userData=t,n.saveUserData()},n.saveUserData=function(){null!=n.g_userData&&u.localStorage.setItem(g.USER_DATA,JSON.stringify(n.g_userData))},s.reLife=function(){n.Singleton.startLevelGame()},s.reStartGame=function(){this.mCurSceneIndex=0,n.Singleton.startLevelGame()},s.levleIsUnLock=function(t){for(var e=!1,i=0;i<n.getStaticUserData().unlock_levels.length;i++){if(n.getStaticUserData().unlock_levels[i]==t){e=!0;break}}return e},s.unLockLevel=function(t){for(var e=!1,i=0;i<n.getStaticUserData().unlock_levels.length;i++){if(n.getStaticUserData().unlock_levels[i]==t){e=!0;break}}e||(n.getStaticUserData().unlock_levels.push(t),n.saveUserData(),n.Singleton.sync_data())},s.sync_data=function(){var t=m.sync_data(),e=n.getStaticUserData().unlock_levels;m.run_post(t,{unlock_levels:JSON.stringify(e)},(function(t,n){}))},s.nextScene=function(){var t=this;this.onLaunch((function(){t.mCurSceneIndex++;var n=!1;t.mCurSceneIndex>=t.mGameData.length&&(n=!0),n||(t.mGameRun.unInit(),t.startLevelGame())}))},s.gameOver=function(){E.dispatchEvent(g.EventRun.ON_WIN)},s.backGameList=function(){null!=this.getLevelData()&&(this.unscheduleAllCallbacks(),this.mGameRun.backGameList())},s.initEvent=function(){E.offAll(g.EventRun.NOTICE_EVENT),E.offAll(g.EventRun.WIDGET_FINISH),E.offAll(g.EventRun.WIDGET_FAIL),E.offAll(g.EventRun.ON_WIDGET_FINISH_COLLECT_EVENT),E.offAll(g.EventRun.WIDGET_HIDE),E.offAll(g.EventRun.SHOW_ZHAO_BU_TONG_FINISH_STATUS),E.offAll(g.EventRun.ON_ZHAO_BU_TONG_ALL_FINISH),E.offAll(g.EventRun.TOP_VIEW_CLOSE),E.offAll(g.EventRun.TOP_VIEW_FINISH),E.offAll(g.EventRun.TOP_VIEW_FAIL),E.offAll(g.EventRun.ON_COUNT_DOWN_FAIL),E.offAll(g.EventRun.ON_COUNT_DOWN_START),E.offAll(g.EventRun.ON_SHOW_RULE_BTN),E.offAll(g.EventRun.ON_BOSS_HURT),E.on(g.EventRun.WIDGET_FINISH,this.onWidgetFinishEvent.bind(this),this),E.on(g.EventRun.WIDGET_FAIL,this.onWidgetFailEvent.bind(this),this),E.on(g.EventRun.TOP_VIEW_CLOSE,this.onUiCloseEvent.bind(this),this),E.on(g.EventRun.TOP_VIEW_FINISH,this.onUiFinishEvent.bind(this),this),E.on(g.EventRun.TOP_VIEW_FAIL,this.onUiFailEvent.bind(this),this),E.on(g.EventRun.ON_COUNT_DOWN_FAIL,this.onCountDownFailEvent.bind(this),this),E.on(g.EventRun.ON_COUNT_DOWN_START,this.onStartCountDownEvent.bind(this),this)},s.initGR=function(t){this.mGameRun=t,n.Singleton=this,this.mSceneManager.init(this),this.clearRes()},s.clearRes=function(){n.res_map.clear(),n.mp3_cache.clear()},s.init=function(t,e,i){if(void 0===i&&(i=null),this.mGameRun=t,n.Singleton=this,this.mSceneManager.init(this),this.mCurSceneIndex=S.Singleton.edit_scene_view.getCurSelectSceneIndex(),this.mGameData=e,this.mGameData.length<=0)return v.showToast("错误的场景信息");this.startLevelGame(i)},s.runGame=function(t){if(this.mCurSceneIndex=0,this.mGameData=t,this.mGameData.length<=0)return v.showToast("错误的场景信息");this.startLevelGame()},s.onLaunch=function(t,n){void 0===n&&(n=.7),this.mGameRun.onlaunch(t,n)},s.FilterChildScene=function(t){for(var n=[],e=0;e<t.length;e++){var i=t[e];i.is_child_scene||n.push(i)}return n},s.onDestroy=function(){E.off(g.EventRun.WIDGET_FINISH,this.onWidgetFinishEvent.bind(this),this)},s.startLevelGame=function(t){var e=this;void 0===t&&(t=null),this.initEvent(),null!=t&&t(),this.mSceneManager.startLevelGame(this.mGameData[this.mCurSceneIndex]),p.initTask(this.mGameData[this.mCurSceneIndex]._task_data),this.scheduleOnce((function(){e.startGame()}),.5),n.Singleton.getLevelData()&&this.mSceneManager.playMusic(this.mLevelData.piped_music,!0)},s.loadSceneTask=function(t){this.mGameRun.loadSceneTask(t)},s.loadScene=function(t,n){this.mGameRun.loadSceneLayer(t,n)},s.loadUi=function(t){this.mGameRun.loadUILayer(t)},s.loadTextSound=function(t){this.mGameRun.loadTextSound(t)},s.loadQuestion=function(t){this.mGameRun.initQuestionList(t)},s.initCountDownList=function(t){this.mGameRun.initCountDownList(t)},s.initTaskUi=function(t){this.mGameRun.initTaskUi(t)},s.startGame=function(){p.startFirstEvent()},s.showCheck=function(t){this.mGameRun.showCheck(t)},s.showLoadingLevel=function(){this.mGameRun.showLoadingLevel()},s.hideLoadingLevel=function(){this.mGameRun.hideLoadingLevel()},n.getWidgetList=function(t){for(var n=[],e=0;e<t.page_widget_list.length;e++){var i=t.page_widget_list[e];i.type<=4&&n.push(i)}return n},n.getUIWidgetList=function(t){for(var n=[],e=0;e<t.page_widget_list.length;e++){var i=t.page_widget_list[e];i.type===g.Widget_Type_List.UI_TOP&&null!=i.att.top_data&&i.att.top_data.top_ui_type!=g.top_view_type.__null&&n.push(i)}return n},n.getQuestionwidgetList=function(t){for(var n=[],e=0;e<t.page_widget_list.length;e++){var i=t.page_widget_list[e];i.type===g.Widget_Type_List.QUESTION_SELECT&&null!=i.att.question_select&&n.push(i)}return n},n.getTextSoundWidgetList=function(t){for(var n=[],e=0;e<t.page_widget_list.length;e++){var i=t.page_widget_list[e];i.type===g.Widget_Type_List.TEXT_SOUND&&null!=i.att.text_sound_data&&n.push(i)}return n},n.getCountDownWidgetList=function(t){for(var n=[],e=0;e<t.page_widget_list.length;e++){var i=t.page_widget_list[e];i.type===g.Widget_Type_List.COUNT_DOWN&&null!=i.att.count_down&&n.push(i)}return n},n.getCacheSpriteFrameByName=function(t){return n.res_map.get(t)},n.getCacheSoundByName=function(t){return n.mp3_cache.get(t)},n.initUiBaseAtt=function(t,e){t.getComponent(c).setContentSize(new l(e.width,e.height)),t.position=new r(e.x,e.y),t.getComponent(_).spriteFrame=n.getCacheSpriteFrameByName(e.res)},s.onWidgetFinishEvent=function(t){p.onWidgetFinishEvent(t)},s.onWidgetFailEvent=function(t){p.onWidgetFailEvent(t)},s.onUiCloseEvent=function(t){p.extEventByEventId(t)},s.onUiFinishEvent=function(t){p.extEventByEventId(t)},s.onUiFailEvent=function(t){p.extEventByEventId(t)},s.onCountDownFailEvent=function(t){p.extEventByEventId(t)},s.onStartCountDownEvent=function(t){p.extEventByEventId(t)},s.exeEvent=function(t){p.extEventByEventId(t)},s.exeSuccessTriggerEvent=function(t){p.exeSuccessTriggerEvent(t)},s.exeNextDelayEvent=function(t){p.exeNextDelayEvent(t)},s.showFindRuleTips=function(){this.mGameRun.showFindRuleTips()},s.showTips=function(){this.mGameRun.showTips()},s.showRule=function(){this.mGameRun.showRule()},s.getSceneManager=function(){return this.mSceneManager},s.IsOpenRuleStatus=function(){return-1==p.guo_ju_qing_binding_event_id},s.checkWidgetList=function(t){for(var n=-1,e=0;e<t.length;e++){var i=t[e];if(!this.mGameRun.isCurScenePageCheckWidgetFinish(i.widget_id)){n=i.event_id;break}}return n},s.isCurScenePageCheckWidgetFinish=function(t){return this.mGameRun.isCurScenePageCheckWidgetFinish(t)},s.isCurScenePageCheckWidgetShow=function(t){return this.mGameRun.isCurScenePageCheckWidgetShow(t)},s.sys_click_button_music=function(){null!=n.sys_data&&this.mSysSound.playSound(n.sys_data.content.sys_click_button_music)},s.sys_fail_attack_music=function(){null!=n.sys_data&&this.mSysSound.playSound(n.sys_data.content.sys_fail_attack_music)},s.sys_fail_prompt_music=function(){null!=n.sys_data&&this.mSysSound.playSound(n.sys_data.content.sys_fail_prompt_music)},s.sys_success_complete_music=function(){null!=n.sys_data&&this.mSysSound.playSound(n.sys_data.content.sys_success_complete_music)},s.sys_click_correct_detail_music=function(){null!=n.sys_data&&this.mSysSound.playSound(n.sys_data.content.sys_click_correct_detail_music)},s.getCurSceneIndex=function(){return this.mCurSceneIndex},n.requestSaveEditScene=function(){v.show_loading((function(){var t=d.Singleton.get_bag_data().content,n=g.last_id,e=d.Singleton.get_bag_data().id;console.log("btn_save",t);var i={content:JSON.stringify(t),zujian_id:n,id:e};m.post("/tool/mysnote/save",i,(function(t,n){t||v.showToast("保存成功!"),v.hide_loading()}))}))},n.LookVideoCallBack=function(t){null!=t&&t()},s.getCurSceneLayerPage=function(){return this.mGameRun.getCurSceneLayerPage()},n}(h)).Singleton=null,O.g_userData=void 0,O.res_map=new Map,O.mp3_cache=new Map,O.sys_data=null,C=n((T=O).prototype,"mSceneManager",[L],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),G=n(T.prototype,"mSysSound",[D],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),R=T))||R));s._RF.pop()}}}));

System.register("chunks:///_virtual/http.ts",["cc","./config.ts"],(function(e){var t,n,o;return{setters:[function(e){t=e.cclegacy,n=e._decorator},function(e){o=e.config}],execute:function(){var s,a;t._RF.push({},"ffa6dis5clM/bbVhOhYDw6k","http",void 0);var r=n.ccclass;n.property,e("http",r("http")(((a=function(){function e(){}return e.post=function(t,n,o){var s=new XMLHttpRequest;s.open("POST",e.domain+t),s.setRequestHeader("Content-Type","application/json"),s.send(JSON.stringify(n));["loadstart","abort","error","load","loadend","timeout"].forEach((function(e){s["on"+e]=function(){var t="\nEvent : "+e,n="";"timeout"===e?n+="(timeout)":"loadend"===e&&(n+="...loadend!"),console.log("str==",t),console.log("lstr==",n)}})),s.onreadystatechange=function(){4===s.readyState&&s.status>=200?o(null,s.responseText):404===s.status?(o("404 page not found!",null),console.log("status ==","404 page not found!")):3===s.readyState?(o("Request dealing!",null),console.log("status ==","Request dealing!")):2===s.readyState?(o("Request received!",null),console.log("status ==","Request received!")):1===s.readyState?(o("Server connection established! Request hasn't been received",null),console.log("status ==","Server connection established! Request hasn't been received")):0===s.readyState&&(o("Request hasn't been initiated!",null),console.log("status ==","Request hasn't been initiated!"))}},e.getGameList=function(e,t){return void 0===t&&(t=6),"/smistatic/levels/"+t+"_"+e+".json"},e.get_dyopen_id=function(){return"/note/user/get_dyopen_id"},e.get_login=function(){return"/note/user/login"},e.get_sys_config=function(){return"/smistatic/sys_config.json"},e.get_level_info=function(e){return"/smistatic/level_info/"+e+".json"},e.get_level_resource=function(e,t){return"/smistatic/resource/"+e+"_"+t+".json"},e.sync_data=function(){return"/note/user/sync_data"},e.run_get=function(t,n){var o=new XMLHttpRequest;o.open("GET",e.domain+t),o.setRequestHeader("Content-Type","application/json"),o.send();["loadstart","abort","error","load","loadend","timeout"].forEach((function(e){o["on"+e]=function(){var t="\nEvent : "+e,n="";"timeout"===e?n+="(timeout)":"loadend"===e&&(n+="...loadend!"),console.log("str==",t),console.log("lstr==",n)}})),o.onreadystatechange=function(){4===o.readyState&&o.status>=200?n(null,o.responseText):404===o.status&&n("404 page not found!",null)}},e.run_post=function(t,n,s){var a=new XMLHttpRequest;a.open("POST",e.domain+t),a.setRequestHeader("Content-Type","application/json"),a.setRequestHeader("token",o.TOKEN),a.send(JSON.stringify(n));["loadstart","abort","error","load","loadend","timeout"].forEach((function(e){a["on"+e]=function(){var t="\nEvent : "+e,n="";"timeout"===e?n+="(timeout)":"loadend"===e&&(n+="...loadend!"),console.log("str==",t),console.log("lstr==",n)}})),a.onreadystatechange=function(){4===a.readyState&&a.status>=200?s(null,a.responseText):404===a.status&&s("404 page not found!",null)}},e}()).domain="https://zcapi.xwrun.com",s=a))||s);t._RF.pop()}}}));

System.register("chunks:///_virtual/img_item.ts",["./rollupPluginModLoBabelHelpers.js","cc","./config.ts","./clientEvent.ts","./base_res.ts"],(function(e){var t,i,n,r,o,a,s,c,l,u,p,g;return{setters:[function(e){t=e.applyDecoratedDescriptor,i=e.inheritsLoose,n=e.initializerDefineProperty,r=e.assertThisInitialized},function(e){o=e.cclegacy,a=e._decorator,s=e.Node,c=e.Label,l=e.Sprite},function(e){u=e.config},function(e){p=e.ClientEvent},function(e){g=e.base_res}],execute:function(){var m,f,h,_,b,v,y;o._RF.push({},"03aeePlEPZBlLCGigQHbnuB","img_item",void 0);var d=a.ccclass,D=a.property;e("img_item",(m=d("img_item"),f=D(s),h=D(s),m((v=t((b=function(e){function t(){for(var t,i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return t=e.call.apply(e,[this].concat(o))||this,n(t,"img_icon",v,r(t)),n(t,"lab_name",y,r(t)),t}i(t,e);var o=t.prototype;return o.initView=function(e,t,i,n){this.setData(t),this.setType(e),this.lab_name.getComponent(c).string=i,this.img_icon.getComponent(l).spriteFrame=n,this.node.on(s.EventType.MOUSE_DOWN,this.onDragRes.bind(this),this)},o.onDragRes=function(){p.dispatchEvent(u.Event.DragRes,this.node)},t}(g)).prototype,"img_icon",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),y=t(b.prototype,"lab_name",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),_=b))||_));o._RF.pop()}}}));

System.register("chunks:///_virtual/interact_scene.ts",["./rollupPluginModLoBabelHelpers.js","cc","./ui_base.ts","./tools.ts","./scene_page.ts","./taskServce.ts"],(function(e){var t,n,i,r,c,a,o,s,l,u,p,h,f,g;return{setters:[function(e){t=e.applyDecoratedDescriptor,n=e.inheritsLoose,i=e.initializerDefineProperty,r=e.assertThisInitialized},function(e){c=e.cclegacy,a=e._decorator,o=e.Prefab,s=e.Node,l=e.instantiate,u=e.Widget},function(e){p=e.ui_base},function(e){h=e.tools},function(e){f=e.scene_page},function(e){g=e.taskServce}],execute:function(){var _,d,m,b,S,v,y;c._RF.push({},"d840a7I6OFPrZ66TCHuI9I+","interact_scene",void 0);var C=a.ccclass,P=a.property;e("interact_scene",(_=C("interact_scene"),d=P(o),m=P(s),_((v=t((S=function(e){function t(){for(var t,n=arguments.length,c=new Array(n),a=0;a<n;a++)c[a]=arguments[a];return t=e.call.apply(e,[this].concat(c))||this,i(t,"scenePagePrefab",v,r(t)),i(t,"content",y,r(t)),t.mInteractScene=void 0,t.mCurChildScene=null,t}n(t,e);var c=t.prototype;return c.init=function(){if(this.mInteractScene=this.mTopData._interact_scene_data,null===this.mInteractScene||this.mInteractScene.scene.page_list.length<=0)return h.showToast("错误的配置子场景")},c.loadChildScene=function(){if(this.content.children.length<=0){var e=this.mInteractScene.scene.page_list[0],t=l(this.scenePagePrefab);t.parent=this.content,t.getComponent(u).target=this.content,t.getComponent(f).initView(e),this.mCurChildScene=t.getComponent(f),g.StartChildSceneTask(e._task_data)}},t}(p)).prototype,"scenePagePrefab",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),y=t(S.prototype,"content",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),b=S))||b));c._RF.pop()}}}));

System.register("chunks:///_virtual/level_list_item.ts",["./rollupPluginModLoBabelHelpers.js","cc"],(function(e){var t,i,n,r,l,a,o,s,c;return{setters:[function(e){t=e.applyDecoratedDescriptor,i=e.inheritsLoose,n=e.initializerDefineProperty,r=e.assertThisInitialized},function(e){l=e.cclegacy,a=e._decorator,o=e.Node,s=e.Label,c=e.Component}],execute:function(){var u,p,_,m,f;l._RF.push({},"55881fUW49Mxaz9sgpYpOHA","level_list_item",void 0);var v=a.ccclass,h=a.property;e("level_list_item",(u=v("level_list_item"),p=h(o),u((f=t((m=function(e){function t(){for(var t,i=arguments.length,l=new Array(i),a=0;a<i;a++)l[a]=arguments[a];return t=e.call.apply(e,[this].concat(l))||this,n(t,"lab_name",f,r(t)),t.m_data=null,t}return i(t,e),t.prototype.initView=function(e,t){var i=this;this.m_data=e,this.lab_name.getComponent(s).string=e.name,this.node.on(o.EventType.TOUCH_END,(function(){t(i.m_data)}))},t}(c)).prototype,"lab_name",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),_=m))||_));l._RF.pop()}}}));

System.register("chunks:///_virtual/level_list_item2.ts",["./rollupPluginModLoBabelHelpers.js","cc","./tools.ts","./gameManager.ts"],(function(e){var i,t,n,a,r,o,l,c,u,_,s,m,g;return{setters:[function(e){i=e.applyDecoratedDescriptor,t=e.inheritsLoose,n=e.initializerDefineProperty,a=e.assertThisInitialized},function(e){r=e.cclegacy,o=e._decorator,l=e.Node,c=e.SpriteFrame,u=e.Sprite,_=e.Label,s=e.Component},function(e){m=e.tools},function(e){g=e.gameManager}],execute:function(){var p,h,b,f,d,y,k,v,w,L,z,U,C,T,F,D,S,j,E,q,H,M,N,I,O;r._RF.push({},"87c1d2c4y9DFrMoUZ679Jqa","level_list_item",void 0);var P=o.ccclass,R=o.property;e("level_list_item",(p=P("level_list_item"),h=R(l),b=R(l),f=R(l),d=R(l),y=R(l),k=R(l),v=R(c),w=R(c),L=R(c),z=R(c),U=R(c),p((F=i((T=function(e){function i(){for(var i,t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];return i=e.call.apply(e,[this].concat(r))||this,n(i,"icon",F,a(i)),n(i,"game_unlock",D,a(i)),n(i,"img_game_list_new",S,a(i)),n(i,"img_category_id",j,a(i)),n(i,"img_game_re",E,a(i)),n(i,"lab_name",q,a(i)),n(i,"kong_bu",H,a(i)),n(i,"ju_qing",M,a(i)),n(i,"huai_jiu",N,a(i)),n(i,"nao_dong",I,a(i)),n(i,"tui_li",O,a(i)),i.m_click_cb=null,i.m_data=null,i.isUnLock=!0,i}t(i,e);var r=i.prototype;return r.off_Touch=function(){this.node.off(l.EventType.TOUCH_END)},r.getIsUnLock=function(){return this.isUnLock},r.UnLock=function(){this.isUnLock=!0,g.Singleton.unLockLevel(this.m_data.id),this.updateLockStatus()},r.on_Touch=function(){var e=this;this.node.off(l.EventType.TOUCH_END),this.node.on(l.EventType.TOUCH_END,(function(i){null!=e.m_click_cb&&e.m_click_cb(e)}))},r.updateLockStatus=function(){this.isUnLock?this.game_unlock.active=!1:this.game_unlock.active=!0},r.initView=function(e,i){switch(this.m_data=i,this.m_click_cb=e,this.isUnLock=g.Singleton.levleIsUnLock(this.m_data.id),m.loadUrl(this.m_data.cover,this.icon.getComponent(u)),this.lab_name.getComponent(_).string=this.m_data.name,this.on_Touch(),this.m_data.category_id){case 0:this.img_category_id.active=!1;break;case 1:this.img_category_id.getComponent(u).spriteFrame=this.kong_bu;break;case 2:this.img_category_id.getComponent(u).spriteFrame=this.ju_qing;break;case 3:this.img_category_id.getComponent(u).spriteFrame=this.huai_jiu;break;case 4:this.img_category_id.getComponent(u).spriteFrame=this.nao_dong;break;case 5:this.img_category_id.getComponent(u).spriteFrame=this.tui_li}0===this.m_data.label_id?(this.img_game_re.active=!1,this.img_game_list_new.active=!1):1==this.m_data.label_id?(this.img_game_re.active=!1,this.img_game_list_new.active=!0):2==this.m_data.label_id&&(this.img_game_re.active=!0,this.img_game_list_new.active=!1),this.updateLockStatus()},r.getData=function(){return this.m_data},i}(s)).prototype,"icon",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),D=i(T.prototype,"game_unlock",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),S=i(T.prototype,"img_game_list_new",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),j=i(T.prototype,"img_category_id",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),E=i(T.prototype,"img_game_re",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),q=i(T.prototype,"lab_name",[k],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),H=i(T.prototype,"kong_bu",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),M=i(T.prototype,"ju_qing",[w],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),N=i(T.prototype,"huai_jiu",[L],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),I=i(T.prototype,"nao_dong",[z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),O=i(T.prototype,"tui_li",[U],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),C=T))||C));r._RF.pop()}}}));

System.register("chunks:///_virtual/level_list.ts",["./rollupPluginModLoBabelHelpers.js","cc","./http.ts","./config.ts","./level_list_item.ts","./tools.ts"],(function(e){var t,n,i,r,a,l,o,_,u,c,s,p,g,m,b;return{setters:[function(e){t=e.applyDecoratedDescriptor,n=e.inheritsLoose,i=e.initializerDefineProperty,r=e.assertThisInitialized},function(e){a=e.cclegacy,l=e._decorator,o=e.Node,_=e.Prefab,u=e.Label,c=e.instantiate,s=e.Component},function(e){p=e.http},function(e){g=e.config},function(e){m=e.level_list_item},function(e){b=e.tools}],execute:function(){var f,h,v,y,d,w,z,k,D,C,L,T,E,N,V,q,x;a._RF.push({},"5f2eeHdLEVORKEPayiLc37h","level_list",void 0);var H=l.ccclass,O=l.property;e("level_list",(f=H("level_list"),h=O(o),v=O(o),y=O(_),d=O(o),w=O(o),z=O(o),k=O(o),f((L=t((C=function(e){function t(){for(var t,n=arguments.length,a=new Array(n),l=0;l<n;l++)a[l]=arguments[l];return t=e.call.apply(e,[this].concat(a))||this,i(t,"version",L,r(t)),i(t,"content",T,r(t)),i(t,"item",E,r(t)),i(t,"page_number",N,r(t)),i(t,"btn_previous_page",V,r(t)),i(t,"lab_current_page",q,r(t)),i(t,"btn_next_page",x,r(t)),t.m_click_callback=null,t.m_cur_page=1,t.m_every_page_count=18,t.m_total_page_count=0,t.m_prefab_node_list=[],t}n(t,e);var a=t.prototype;return a.start=function(){this.version.getComponent(u).string=g.version,this.page_number.active=!1;var e=this;this.btn_previous_page.on(o.EventType.TOUCH_END,(function(){1!=e.m_cur_page?(e.m_cur_page-=1,e.requestData()):b.showToast("已是第一页")}),this),this.btn_next_page.on(o.EventType.TOUCH_END,(function(){e.m_cur_page>=e.m_total_page_count?b.showToast("已是最后一页"):(e.m_cur_page+=1,e.requestData())}),this)},a.init=function(e){this.m_click_callback=e,this.requestData()},a.initView=function(e){if(0==this.m_prefab_node_list.length){this.content.removeAllChildren();for(var t=0;t<e.length;t++){var n=e[t],i=c(this.item);i.parent=this.content,this.m_prefab_node_list.push(i),i.getComponent(m).initView(n,this.m_click_callback)}}else for(var r=0;r<this.m_prefab_node_list.length;r++){var a=this.m_prefab_node_list[r];if(r<e.length){a.active=!0;var l=e[r];a.getComponent(m).initView(l,this.m_click_callback)}else a.active=!1}},a.requestData=function(){var e=this,t={page:this.m_cur_page,limit:this.m_every_page_count};p.post("/tool/mysnote/levels",t,(function(t,n){if(!t){var i=JSON.parse(n),r=i.content;1==e.m_cur_page&&(e.page_number.active=!0,e.m_total_page_count=Math.ceil(r.tool_number/e.m_every_page_count)),e.setupLabNumber(),g.last_id=parseInt(i.content.zujian_id),console.log("level_list",g.last_id),e.initView(r.list)}}))},a.setupLabNumber=function(){var e=this.m_cur_page+" / "+this.m_total_page_count;this.lab_current_page.getComponent(u).string=e},t}(s)).prototype,"version",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),T=t(C.prototype,"content",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),E=t(C.prototype,"item",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),N=t(C.prototype,"page_number",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),V=t(C.prototype,"btn_previous_page",[w],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),q=t(C.prototype,"lab_current_page",[z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),x=t(C.prototype,"btn_next_page",[k],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),D=C))||D));a._RF.pop()}}}));

System.register("chunks:///_virtual/loading_view.ts",["./rollupPluginModLoBabelHelpers.js","cc","./data.ts","./gameManager.ts","./http.ts","./config.ts"],(function(n){var e,t,o,a,s,i,r,l,u,c,_,g,p,d;return{setters:[function(n){e=n.applyDecoratedDescriptor,t=n.inheritsLoose,o=n.initializerDefineProperty,a=n.assertThisInitialized},function(n){s=n.cclegacy,i=n._decorator,r=n.Node,l=n.ProgressBar,u=n.sys,c=n.Component},function(n){_=n.UserData},function(n){g=n.gameManager},function(n){p=n.http},function(n){d=n.config}],execute:function(){var f,m,v,h,y;s._RF.push({},"0759bnS0FNKG4VO0jMxKIuF","loading_view",void 0);var b=i.ccclass,C=i.property;n("loading_view",(f=b("loading_view"),m=C(r),f((y=e((h=function(n){function e(){for(var e,t=arguments.length,s=new Array(t),i=0;i<t;i++)s[i]=arguments[i];return e=n.call.apply(n,[this].concat(s))||this,o(e,"loading_bar",y,a(e)),e.m_finish_load_call=null,e.m_pause_status=!1,e}return t(e,n),e.prototype.startLoading=function(n){var e=this;this.m_finish_load_call=n,this.loading_bar.getComponent(l).progress=0,this.schedule((function(){if(!e.m_pause_status){switch(e.loading_bar.getComponent(l).progress+=.1,e.loading_bar.getComponent(l).progress){case.2:e.m_pause_status=!0,p.run_get(p.get_sys_config(),(function(n,t){if(!n){var o=JSON.parse(t);g.setSysData(o),e.m_pause_status=!1}}));break;case.5:e.m_pause_status=!0;var n=g.getUserData();null==n&&((n=new _).user_id="123");var t={openid:n.user_id,avatarUrl:""},o=function(){p.run_post(p.get_login(),t,(function(t,o){if(t);else{var a=JSON.parse(o);a.code==d.MSG_CODE.SUCCESS&&(n.user_id=a.content.openid,n.token=a.content.token,a.content.unlock_levels.length<=0&&(n.unlock_levels=[]),g.setUserData(n),n.unlock_levels.length<=0&&g.Singleton.unLockLevel(1),d.TOKEN=n.token,e.m_pause_status=!1)}}))};null==n.user_id&&u.platform==u.Platform.BYTEDANCE_MINI_GAME?tt.login({force:!0,success:function(n){var e=n.code,t=n.anonymousCode;p.run_post(p.get_dyopen_id(),{code:e,anonymous_code:t},(function(){o()}))},fail:function(n){console.log("login 调用失败")}}):o()}return e.loading_bar.getComponent(l).progress>=1?(null!=e.m_finish_load_call&&e.m_finish_load_call(),void e.unscheduleAllCallbacks()):void 0}}),.1)},e}(c)).prototype,"loading_bar",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),v=h))||v));s._RF.pop()}}}));

System.register("chunks:///_virtual/login_view.ts",["./rollupPluginModLoBabelHelpers.js","cc","./yinyue.ts","./yinxiao.ts","./peiyin.ts","./gameManager.ts"],(function(i){var n,t,e,r,o,a,l,u,c,s,y,p;return{setters:[function(i){n=i.applyDecoratedDescriptor,t=i.inheritsLoose,e=i.initializerDefineProperty,r=i.assertThisInitialized},function(i){o=i.cclegacy,a=i._decorator,l=i.Node,u=i.Component},function(i){c=i.yinyue},function(i){s=i.yinxiao},function(i){y=i.peiyin},function(i){p=i.gameManager}],execute:function(){var _,g,f,m,b,h,v,w,d,x,z;o._RF.push({},"595626MmG1J7qNT0NmgOkB5","login_view",void 0);var C=a.ccclass,D=a.property;i("login_view",(_=C("login_view"),g=D(l),f=D(l),m=D(l),b=D(l),_((w=n((v=function(i){function n(){for(var n,t=arguments.length,o=new Array(t),a=0;a<t;a++)o[a]=arguments[a];return n=i.call.apply(i,[this].concat(o))||this,e(n,"btn_start",w,r(n)),e(n,"yinyue",d,r(n)),e(n,"yinxiao",x,r(n)),e(n,"peiyin",z,r(n)),n.m_start_game_call=null,n}return t(n,i),n.prototype.initView=function(i){var n=this;this.m_start_game_call=i,this.btn_start.off(l.EventType.TOUCH_END),this.btn_start.on(l.EventType.TOUCH_END,(function(){null!=n.m_start_game_call&&n.m_start_game_call(),p.Singleton.sys_click_button_music()})),p.Singleton.getSceneManager().playMusic(p.getSysData().content.sys_piped_music,!0),this.yinyue.getComponent(c).initView(),this.yinxiao.getComponent(s).initView(),this.peiyin.getComponent(y).initView()},n}(u)).prototype,"btn_start",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),d=n(v.prototype,"yinyue",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),x=n(v.prototype,"yinxiao",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),z=n(v.prototype,"peiyin",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),h=v))||h));o._RF.pop()}}}));

System.register("chunks:///_virtual/main",["./debug-view-runtime-control.ts","./data.ts","./click_type_select.ts","./click_type_select_item.ts","./clientEvent.ts","./config.ts","./dailog.ts","./dialog_input.ts","./dialog_view.ts","./Attributes.ts","./add_scene.ts","./add_animation.ts","./add_animation_item.ts","./edit_animation.ts","./frame_item.ts","./new_animation.ts","./new_frame.ts","./opt_frame.ts","./res_preview.ts","./select_animation.ts","./attributes_active.ts","./attributes_anchor.ts","./attributes_animation.ts","./attributes_be_active.ts","./attributes_be_event.ts","./attributes_click.ts","./attributes_count_down.ts","./attributes_delete.ts","./attributes_dir.ts","./attributes_drop.ts","./attributes_name.ts","./attributes_origin.ts","./attributes_question_select.ts","./attributes_remark.ts","./attributes_res.ts","./attributes_rotation.ts","./attributes_scene_setting.ts","./attributes_show.ts","./attributes_slide.ts","./attributes_text_sound.ts","./attributes_top.ts","./attributes_w_h.ts","./attributes_x_y.ts","./attributes_z_index.ts","./other_drag_list_item.ts","./other_widget_finish_item.ts","./question_btn_info.ts","./scene_tips_rule_item.ts","./show_select_z_index.ts","./show_select_z_index_item.ts","./slider_widget.ts","./base_res.ts","./base_view.ts","./control.ts","./cur_edit_scene.ts","./edit_scene.ts","./add_event.ts","./add_event_item.ts","./collect_event_item.ts","./edit_event.ts","./edit_event_group_item.ts","./edit_event_more_delete_drag_other_item.ts","./edit_event_more_item.ts","./edit_event_view.ts","./edit_event_view_select_btn.ts","./event_active_event.ts","./event_be_event.ts","./event_change_one_item_status.ts","./event_collect_event.ts","./event_countdown_over.ts","./event_delay_exe_event.ts","./event_delete_drag_other_data_view.ts","./event_fail_event.ts","./event_group.ts","./event_hide.ts","./event_item_view.ts","./event_more_scene_is_show_arrow_event.ts","./event_more_scene_jump_assigned_page_event.ts","./event_play_ani_view.ts","./event_play_sound.ts","./event_scene_ani.ts","./event_show_new_item.ts","./event_show_question_select.ts","./event_show_scene_title.ts","./event_start_event.ts","./event_stop_active_event.ts","./event_stop_play_loop_sound.ts","./event_switch_scene_event.ts","./event_text_sound.ts","./event_top_view_hide_view.ts","./event_top_view_view.ts","./select_collect_event.ts","./select_collect_event_item.ts","./select_widget_list.ts","./show_question_select_item.ts","./img_item.ts","./level_list.ts","./level_list_item.ts","./res_list.ts","./scene.ts","./scene_select_list.ts","./scene_select_list_item.ts","./scroll_scene.ts","./Search.ts","./search_item.ts","./search_node.ts","./select_sound_list.ts","./set_color.ts","./show_copy_scene.ts","./show_select_evele_list.ts","./show_select_evele_list_item.ts","./show_select_more_scene_page.ts","./show_select_more_scene_page_item.ts","./show_setup_res_anchor.ts","./show_widget_list.ts","./slide.ts","./slide_dir_select.ts","./slide_dir_select_item.ts","./sound_item.ts","./add_task.ts","./add_task_item.ts","./scene_task.ts","./select_task_da_guai.ts","./select_task_da_guai_item.ts","./select_task_dai_dao_ju.ts","./select_task_dai_dao_ju_item.ts","./select_task_zhao_xi_jie.ts","./select_task_zhao_xi_jie_item.ts","./task_da_boss.ts","./task_dai_dao_ju.ts","./task_guo_ren_wu.ts","./task_zhao_xi_jie.ts","./tip_type_select.ts","./Text_Sound.ts","./att_res_set_view.ts","./att_widget_set_view.ts","./btn_question_item2.ts","./count_down.ts","./question_select.ts","./receive_res_item.ts","./receive_sound_item.ts","./receive_widget_item.ts","./res_boss_info.ts","./res_interact_input.ts","./res_interact_page.ts","./res_interact_puzzle.ts","./res_not_have_interact.ts","./res_pointer_ding_wei.ts","./res_wei_chi_pointer.ts","./select_ui_top_type.ts","./select_ui_top_type_item.ts","./show_select_child_scene.ts","./show_select_child_scene_item.ts","./single_ui_widget_info.ts","./ui_top.ts","./view_boss_info.ts","./view_interact_input.ts","./view_interact_page.ts","./view_interact_puzzle.ts","./view_interact_scene.ts","./view_not_have_interact.ts","./view_pointer_ding_wei.ts","./view_ui_att_item.ts","./view_wei_chi_pointer.ts","./widget_boss_info.ts","./widget_interact_input.ts","./widget_interact_page.ts","./widget_interact_puzzle.ts","./widget_not_have_interact.ts","./widget_pointer_ding_wei.ts","./widget_wei_chi_pointer.ts","./widget_item.ts","./widget_list.ts","./http.ts","./main.ts","./color.ts","./control2.ts","./cp_palette.ts","./cp_palette_color_alpha.ts","./cp_palette_color_hue.ts","./cp_palette_color_main.ts","./cp_palette_preview.ts","./cp_palette_slider.ts","./cp_palette_util.ts","./taskServce.ts","./bag_drag_item.ts","./dai_dao_ju_bag.ts","./widget_info.ts","./check_open.ts","./gameManager.ts","./game_list.ts","./level_list_item2.ts","./game_run.ts","./Coroutine.ts","./loading_view.ts","./login_view.ts","./peiyin.ts","./yinxiao.ts","./yinyue.ts","./sceneManager.ts","./scene_layer.ts","./scene_page.ts","./scene_page_dir.ts","./sysSound.ts","./boss_tips.ts","./content_only_tip.ts","./content_rule_and_tips.ts","./rule_view.ts","./shouji_item.ts","./tip_type_all.ts","./tip_type_single.ts","./tips_view.ts","./ui_manifestations.ts","./top_layer.ts","./back_title.ts","./btn_question_item.ts","./count_down2.ts","./fail.ts","./fail_ani.ts","./interact_scene.ts","./question_select2.ts","./sound_text_content.ts","./ui_base.ts","./ui_boss_info.ts","./ui_input_box_number_item.ts","./ui_interact_input.ts","./ui_interact_page.ts","./ui_interact_puzzle.ts","./ui_not_have_interact.ts","./ui_pointer_ding_wei.ts","./ui_wei_chi_pointer.ts","./win.ts","./ui_layer.ts","./widget_base.ts","./widget_click.ts","./widget_drag.ts","./widget_slide.ts","./sceme_type_select_item.ts","./select_res_list.ts","./select_res_list_item.ts","./select_res_type.ts","./test2.ts","./toast.ts","./tools.ts","./touch_chuan_tou.ts","./test.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,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],execute:function(){}}}));

System.register("chunks:///_virtual/main.ts",["./rollupPluginModLoBabelHelpers.js","cc","./level_list.ts","./http.ts","./tools.ts","./control.ts","./config.ts","./clientEvent.ts","./edit_scene.ts","./Attributes.ts","./base_res.ts","./widget_item.ts","./img_item.ts"],(function(t){var e,n,i,o,s,a,r,c,l,_,d,h,u,g,v,p,f,E,m,b,C,w,y,S,T,U;return{setters:[function(t){e=t.applyDecoratedDescriptor,n=t.inheritsLoose,i=t.initializerDefineProperty,o=t.assertThisInitialized},function(t){s=t.cclegacy,a=t._decorator,r=t.Node,c=t.Canvas,l=t.AudioSource,_=t.instantiate,d=t.UITransform,h=t.Vec3,u=t.Size,g=t.Rect,v=t.Component},function(t){p=t.level_list},function(t){f=t.http},function(t){E=t.tools},function(t){m=t.control},function(t){b=t.config},function(t){C=t.ClientEvent},function(t){w=t.edit_scene},function(t){y=t.Attributes},function(t){S=t.base_res},function(t){T=t.widget_item},function(t){U=t.img_item}],execute:function(){var L,D,R,A,M,W,O,z,I,k,V,N,H,x,B,F,P,j;s._RF.push({},"760b8Fk8b9MmbxoK/wt+TFq","main",void 0);var q=a.ccclass,J=a.property;t("main",(L=q("main"),D=J(r),R=J(r),A=J(m),M=J(w),W=J(r),O=J(r),z=J(r),L(((j=function(t){function e(){for(var e,n=arguments.length,s=new Array(n),a=0;a<n;a++)s[a]=arguments[a];return e=t.call.apply(t,[this].concat(s))||this,i(e,"level_list",V,o(e)),i(e,"btn_back_level_list",N,o(e)),i(e,"control_view",H,o(e)),i(e,"edit_scene_view",x,o(e)),i(e,"action_node",B,o(e)),i(e,"res_action_node",F,o(e)),i(e,"attributes_node",P,o(e)),e}n(e,t);var s=e.prototype;return s.start=function(){var t=this;this.level_list.active=!0,e.Singleton=this,e.g_canvas=this.node.getComponent(c),this.level_list.getComponent(p).init(this.onSelectLevel.bind(this)),this.btn_back_level_list.on(r.EventType.TOUCH_END,(function(){t.onBackLevelList()})),e.g_audioSource=this.node.addComponent(l),C.on(b.Event.DragWidget,this.onDragWidget,this),C.on(b.Event.DragRes,this.onDragRes,this),this.action_node.on(r.EventType.MOUSE_MOVE,this.onMoveWidget,this),this.action_node.on(r.EventType.TOUCH_END,this.onEndWidget,this),this.action_node.on(r.EventType.MOUSE_UP,this.onEndWidget,this),this.action_node.on(r.EventType.MOUSE_LEAVE,this.onEndWidget,this),this.action_node.on(r.EventType.TOUCH_CANCEL,this.onEndWidget,this),this.res_action_node.on(r.EventType.MOUSE_MOVE,this.onMoveRes,this),this.res_action_node.on(r.EventType.MOUSE_UP,this.onEndRes,this),this.res_action_node.on(r.EventType.MOUSE_LEAVE,this.onEndRes,this),this.res_action_node.on(r.EventType.TOUCH_CANCEL,this.onEndRes,this),this.attributes_node.getComponent(y).initView(this)},e.getAudioSource=function(){return e.g_audioSource},s.getEditSceneView=function(){return this.edit_scene_view},s.onSelectLevel=function(t){this.startEdit(t.id)},s.add_res=function(t){var e=this;E.show_loading((function(){e.control_view.loading_all_resources(t,(function(){e.level_list.active=!1,E.hide_loading(),e.control_view.init(e),e.edit_scene_view.init(e)}))}))},s.startEdit=function(t){var e=this;f.post("/tool/mysnote/level_info",{id:""+t},(function(t,n){if(!t){var i=JSON.parse(n);e.add_res(i)}}))},s.onBackLevelList=function(){this.level_list.active=!0,C.dispatchEvent(b.Event.BackLevelList)},s.onDragWidget=function(t){if(this.action_node.children.length<=0&&!this.action_node.active){this.action_node.active=!0;var e=_(t);e.parent=this.action_node,e.getComponent(T).setData(t.getComponent(T).getData());var n=t.parent.getComponent(d).convertToWorldSpaceAR(t.position);e.position=n}},s.onDragRes=function(t){if(this.res_action_node.children.length<=0&&!this.res_action_node.active){this.res_action_node.active=!0;var e=_(t);e.getComponent(S).setType(t.getComponent(S).getType()),e.getComponent(S).setData(t.getComponent(S).getData()),e.parent=this.res_action_node;var n=t.parent.getComponent(d).convertToWorldSpaceAR(t.position);e.position=n}},s.onMoveWidget=function(t){console.log("onMoveWidget"),this.action_node.children.length>0&&(this.action_node.children[0].position=new h(t.getUILocation().x,t.getUILocation().y))},s.onMoveRes=function(t){console.log("onMoveRes"),this.res_action_node.children.length>0&&(this.res_action_node.children[0].position=new h(t.getUILocation().x,t.getUILocation().y))},s.onEndRes=function(t){if(!(this.res_action_node.children.length<=0)){if(this.attributes_node.getComponent(y).getUrlCom().getRect().contains(t.getUILocation()))if(console.log("onEndRes"),this.res_action_node.children[0].getComponent(S).getType()===b.select_res_btn_type.SOUND_LIST)E.showToast("类型不一致！");else{var e=this.res_action_node.children[0].getComponent(U).getData();this.attributes_node.getComponent(y).getUrlCom().update_att(e.name);var n=this.attributes_node.getComponent(y).get_cur_att_data();n.src=e.url,n.src_name=e.name,C.dispatchEvent(b.Event.UpdateAttributesToView,n,b.attributes_list_type.url)}C.dispatchEvent(b.Event.DragResEndOnCheck,t.getUILocation(),this.res_action_node.children[0]),this.res_action_node.removeAllChildren(),this.res_action_node.active=!1}},s.onEndWidget=function(t){var e=new u(.5*this.edit_scene_view.getComponent(d).contentSize.width,.5*this.edit_scene_view.getComponent(d).contentSize.height),n=this.node.getComponent(d).convertToWorldSpaceAR(this.edit_scene_view.node.position);new g(n.x-e.width/2,n.y-e.height/2,e.width,e.height).contains(t.getUILocation())&&(console.log("onEndWidget"),C.dispatchEvent(b.Event.DragWidgetEnd)),this.action_node.removeAllChildren(),this.action_node.active=!1},s.IsHaveDragActionRes=function(){return this.res_action_node.children.length>0},e}(v)).g_canvas=null,j.loading_view=null,j.g_audioSource=null,j.cur_play_audio="",j.Singleton=null,V=e((k=j).prototype,"level_list",[D],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),N=e(k.prototype,"btn_back_level_list",[R],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),H=e(k.prototype,"control_view",[A],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),x=e(k.prototype,"edit_scene_view",[M],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),B=e(k.prototype,"action_node",[W],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),F=e(k.prototype,"res_action_node",[O],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),P=e(k.prototype,"attributes_node",[z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),I=k))||I));s._RF.pop()}}}));

System.register("chunks:///_virtual/new_animation.ts",["./rollupPluginModLoBabelHelpers.js","cc","./data.ts","./tools.ts"],(function(n){var t,e,i,a,r,o,l,_,c,u,s;return{setters:[function(n){t=n.applyDecoratedDescriptor,e=n.inheritsLoose,i=n.initializerDefineProperty,a=n.assertThisInitialized},function(n){r=n.cclegacy,o=n._decorator,l=n.Node,_=n.EditBox,c=n.Component},function(n){u=n.att_ani_data},function(n){s=n.tools}],execute:function(){var m,p,b,d,f,h,g,w,y,v,C;r._RF.push({},"055fbLS30VK9IE0p0m64hqw","new_animation",void 0);var z=o.ccclass,E=o.property;n("new_animation",(m=z("new_animation"),p=E(l),b=E(l),d=E(l),f=E(l),m((w=t((g=function(n){function t(){for(var t,e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];return t=n.call.apply(n,[this].concat(r))||this,i(t,"btn_sure",w,a(t)),i(t,"btn_cancel",y,a(t)),i(t,"eb_ani_name",v,a(t)),i(t,"eb_ani_id",C,a(t)),t.m_data=null,t.m_create_call=null,t}e(t,n);var r=t.prototype;return r.initView=function(n){var t=this;this.m_create_call=n,this.btn_sure.on(l.EventType.TOUCH_END,(function(){if(t.eb_ani_name.getComponent(_).string.length<=0)return s.showToast("必须要填写动画名字");t.m_data.ani_name=t.eb_ani_name.getComponent(_).string,null!=t.m_create_call&&t.m_create_call(t.m_data),t.node.active=!1})),this.btn_cancel.on(l.EventType.TOUCH_END,(function(){t.node.active=!1}))},r.show=function(n,t){this.m_data=new u,this.node.active=!0,this.m_data.ani_name=this.eb_ani_name.getComponent(_).string,this.m_data.ani_id=n,this.eb_ani_id.getComponent(_).placeholder=this.m_data.ani_id.toString(),this.m_data.binding_widget_id=t},t}(c)).prototype,"btn_sure",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),y=t(g.prototype,"btn_cancel",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),v=t(g.prototype,"eb_ani_name",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),C=t(g.prototype,"eb_ani_id",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),h=g))||h));r._RF.pop()}}}));

System.register("chunks:///_virtual/new_frame.ts",["./rollupPluginModLoBabelHelpers.js","cc","./tools.ts","./data.ts","./Attributes.ts","./control.ts"],(function(t){var i,n,e,a,o,r,_,s,h,l,p,m,u,c,d,g,f,b,y,z;return{setters:[function(t){i=t.applyDecoratedDescriptor,n=t.inheritsLoose,e=t.initializerDefineProperty,a=t.assertThisInitialized},function(t){o=t.cclegacy,r=t._decorator,_=t.Node,s=t.Size,h=t.Vec2,l=t.EditBox,p=t.Sprite,m=t.ScrollView,u=t.Label,c=t.UITransform,d=t.Vec3,g=t.Component},function(t){f=t.tools},function(t){b=t.ani_frame},function(t){y=t.Attributes},function(t){z=t.control}],execute:function(){var w,x,C,S,v,T,A,D,E,F,I,H,N,V,M,O,R,U,P,X,Y,k,L,B,j,W,Z,q,G,J,K,Q,$,tt,it,nt,et,at,ot,rt,_t,st,ht,lt,pt;o._RF.push({},"a25c5ayHdZLy5WvT+NwlhdO","new_frame",void 0);var mt=r.ccclass,ut=r.property;t("new_frame",(w=mt("new_frame"),x=ut(_),C=ut(_),S=ut(_),v=ut(_),T=ut(_),A=ut(_),D=ut(_),E=ut(_),F=ut(_),I=ut(_),H=ut(_),N=ut(_),V=ut(_),M=ut(_),O=ut(_),R=ut(_),U=ut(_),P=ut(_),X=ut(_),Y=ut(_),k=ut(_),w((j=i((B=function(t){function i(){for(var i,n=arguments.length,o=new Array(n),r=0;r<n;r++)o[r]=arguments[r];return i=t.call.apply(t,[this].concat(o))||this,e(i,"scrollView",j,a(i)),e(i,"btn_sure",W,a(i)),e(i,"btn_cancle",Z,a(i)),e(i,"next_time",q,a(i)),e(i,"pos_x",G,a(i)),e(i,"pos_y",J,a(i)),e(i,"size_width",K,a(i)),e(i,"size_height",Q,a(i)),e(i,"color",$,a(i)),e(i,"transparent",tt,a(i)),e(i,"btn_select_res",it,a(i)),e(i,"lab_origin_pos",nt,a(i)),e(i,"lab_origin_size",et,a(i)),e(i,"btn_origin_res",at,a(i)),e(i,"rotation",ot,a(i)),e(i,"anchor_point_x",rt,a(i)),e(i,"anchor_point_y",_t,a(i)),e(i,"btn_anchor_point",st,a(i)),e(i,"hide_spr",ht,a(i)),e(i,"res_preview",lt,a(i)),e(i,"btn_update_cur_pos",pt,a(i)),i.m_up_frame=null,i.m_create_call=null,i.m_edit_call=null,i.m_data=new b,i.edit_status=!1,i.m_item=null,i}n(i,t);var o=i.prototype;return o.initView=function(t,i){var n=this;this.m_edit_call=i,this.m_create_call=t,this.btn_cancle.on(_.EventType.TOUCH_END,(function(){n.close()})),this.btn_sure.on(_.EventType.TOUCH_END,(function(){n.edit_status?n.edit_frame():n.create_frame(),n.close()})),this.btn_anchor_point.on(_.EventType.TOUCH_END,(function(){if(0==n.m_data.url_name.length||"空"==n.m_data.url_name)return f.showToast("资源是空的");var t=z.res_map.get(n.m_data.url_name),i=new s(n.m_data.size_width,n.m_data.size_height),e=new h(n.m_data.anchor_point_x,n.m_data.anchor_point_y);f.show_setup_res_anchor(t,i,e,(function(t){n.m_data.anchor_point_x=t.x,n.m_data.anchor_point_y=t.y,n.anchor_point_x.getComponent(l).string=n.m_data.anchor_point_x.toString(),n.anchor_point_y.getComponent(l).string=n.m_data.anchor_point_y.toString(),n.setupSprRatationAction()}))})),this.btn_origin_res.on(_.EventType.TOUCH_END,(function(){if(0==n.m_data.url_name.length||"空"==n.m_data.url_name)return f.showToast("资源是空的");var t=z.res_map.get(n.m_data.url_name);n.m_data.size_width=t.originalSize.width,n.m_data.size_height=t.originalSize.height,n.size_width.getComponent(l).string=n.m_data.size_width.toString(),n.size_height.getComponent(l).string=n.m_data.size_height.toString(),n.setupSprContentSize()})),this.btn_select_res.on(_.EventType.TOUCH_END,(function(){f.select_res_list((function(t){n.m_data.url=t.url,n.m_data.url_name=t.name;var i=z.res_map.get(n.m_data.url_name);n.hide_spr.getComponent(p).spriteFrame=i,n.m_data.size_width=i.originalSize.width,n.m_data.size_height=i.originalSize.height,n.size_width.getComponent(l).string=n.m_data.size_width.toString(),n.size_height.getComponent(l).string=n.m_data.size_height.toString(),n.setupInitAnchorPointXY(),n.setupSprRatationAction(),n.setupSprContentSize()}))})),this.btn_update_cur_pos.on(_.EventType.TOUCH_END,(function(){var t=y.Singleton.get_cur_att_data();n.m_data.pos_x=Math.floor(t.x),n.m_data.pos_y=Math.floor(t.y),n.pos_x.getComponent(l).string=n.m_data.pos_x.toString(),n.pos_y.getComponent(l).string=n.m_data.pos_y.toString()})),this.next_time.on("editing-did-ended",this.change,this),this.pos_x.on("editing-did-ended",this.change,this),this.pos_y.on("editing-did-ended",this.change,this),this.size_height.on("editing-did-ended",this.change,this),this.size_width.on("editing-did-ended",this.change,this),this.color.on("editing-did-ended",this.change,this),this.transparent.on("editing-did-ended",this.change,this),this.rotation.on("editing-did-ended",this.change,this),this.anchor_point_x.on("editing-did-ended",this.change,this),this.anchor_point_y.on("editing-did-ended",this.change,this)},o.close=function(){this.node.active=!1},o.edit_frame=function(){null!=this.m_item&&this.m_item.setData(this.m_data),null!=this.m_edit_call&&this.checkAnchorXY()&&this.m_edit_call()},o.create_frame=function(){if(null!=this.m_create_call){this.updateData();var t=new b;t.next_time=this.m_data.next_time,t.pos_x=this.m_data.pos_x,t.pos_y=this.m_data.pos_y,t.size_width=this.m_data.size_width,t.size_height=this.m_data.size_height,t.color=this.m_data.color,t.transparent=this.m_data.transparent,t.url=this.m_data.url,t.url_name=this.m_data.url_name,t.rotation=this.m_data.rotation,t.anchor_point_x=this.m_data.anchor_point_x,t.anchor_point_y=this.m_data.anchor_point_y,console.log("ani_frame_data//",t),this.checkAnchorXY()&&this.m_create_call(t)}},o.show=function(t){void 0===t&&(t=null),this.scrollView.getComponent(m).scrollToTop(),this.edit_status=!1,this.m_up_frame=t,this.node.active=!0;var i=y.Singleton.get_cur_att_data(),n=i.src_name,e=i.src;null!=this.m_up_frame&&this.m_up_frame.url.length>0&&(n=this.m_up_frame.url_name,e=this.m_up_frame.url),n.length>0&&"空"!=n&&(this.hide_spr.getComponent(p).spriteFrame=z.res_map.get(n));var a=t?t.pos_x:Math.floor(i.x),o=t?t.pos_y:Math.floor(i.y);this.m_data.url=e,this.m_data.pos_x=a,this.m_data.pos_y=o,this.m_data.size_width=t?t.size_width:i.width,this.m_data.size_height=t?t.size_height:i.height,this.m_data.url_name=t?t.url_name:i.src_name,null!=this.m_data.rotation&&null!=this.m_data.rotation||(this.m_data.rotation=0),t&&(null!=t.rotation&&null!=t||(t.rotation=0),null!=t.anchor_point_x&&null!=t||(t.anchor_point_x=.5),null!=t.anchor_point_y&&null!=t||(t.anchor_point_y=.5)),this.m_data.rotation=t?t.rotation:0,this.m_data.anchor_point_x=t?t.anchor_point_x:i.anchor_x,this.m_data.anchor_point_y=t?t.anchor_point_y:i.anchor_y,this.lab_origin_pos.getComponent(u).string="(x:"+Math.floor(i.x)+",y:"+Math.floor(i.y)+")",this.lab_origin_size.getComponent(u).string="(w:"+i.width+",h:"+i.height+")",this.initAtt()},o.show_edit=function(t,i){void 0===i&&(i=null),this.scrollView.getComponent(m).scrollToTop(),this.m_up_frame=i,this.node.active=!0,this.m_data=t.getData(),this.m_item=t;this.m_data.url;this.m_data.url.length>0?this.m_data.url:null!=this.m_up_frame&&this.m_up_frame.url.length>0&&this.m_up_frame.url,this.edit_status=!0,this.hide_spr.getComponent(p).spriteFrame=z.res_map.get(this.m_data.url_name),this.initAtt()},o.initAtt=function(){this.next_time.getComponent(l).string=this.m_data.next_time.toString(),this.pos_x.getComponent(l).string=this.m_data.pos_x.toString(),this.pos_y.getComponent(l).string=this.m_data.pos_y.toString(),this.size_width.getComponent(l).string=this.m_data.size_width.toString(),this.size_height.getComponent(l).string=this.m_data.size_height.toString(),this.color.getComponent(l).string=this.m_data.color.toString(),this.transparent.getComponent(l).string=this.m_data.transparent.toString(),null==this.m_data.rotation&&(this.m_data.rotation=0),null==this.m_data.anchor_point_x&&(this.m_data.anchor_point_x=.5),null==this.m_data.anchor_point_y&&(this.m_data.anchor_point_y=.5),this.rotation.getComponent(l).string=this.m_data.rotation.toString(),this.anchor_point_x.getComponent(l).string=this.m_data.anchor_point_x.toString(),this.anchor_point_y.getComponent(l).string=this.m_data.anchor_point_y.toString(),this.setupSprContentSize(),this.setupSprRatationAction()},o.change=function(){this.updateData(),this.setupSprContentSize(),this.setupSprRatationAction()},o.updateData=function(){this.m_data.rotation=parseFloat(this.rotation.getComponent(l).string),this.m_data.anchor_point_x=parseFloat(this.anchor_point_x.getComponent(l).string),this.m_data.anchor_point_y=parseFloat(this.anchor_point_y.getComponent(l).string),this.m_data.next_time=parseFloat(this.next_time.getComponent(l).string),this.m_data.pos_x=parseInt(this.pos_x.getComponent(l).string),this.m_data.pos_y=parseInt(this.pos_y.getComponent(l).string),this.m_data.size_width=parseInt(this.size_width.getComponent(l).string),this.m_data.size_height=parseInt(this.size_height.getComponent(l).string),this.m_data.color=this.color.getComponent(l).string,this.m_data.transparent=parseInt(this.transparent.getComponent(l).string)},o.checkAnchorXY=function(){return this.m_data.anchor_point_x<0||this.m_data.anchor_point_x>1?(f.showToast("锚点X应在0-1之间"),!1):!(this.m_data.anchor_point_y<0||this.m_data.anchor_point_y>1)||(f.showToast("锚点Y应在0-1之间"),!1)},o.setupInitAnchorPointXY=function(){this.m_data.anchor_point_x=.5,this.m_data.anchor_point_y=.5,this.anchor_point_x.getComponent(l).string=this.m_data.anchor_point_x.toString(),this.anchor_point_y.getComponent(l).string=this.m_data.anchor_point_y.toString(),this.hide_spr.getComponent(c).setAnchorPoint(this.m_data.anchor_point_x,this.m_data.anchor_point_y)},o.setupSprContentSize=function(){var t=1,i=200;(this.m_data.size_width>i||this.m_data.size_height>i)&&(t=this.m_data.size_width>this.m_data.size_height?i/this.m_data.size_width:i/this.m_data.size_height),this.hide_spr.setScale(new d(t,t)),this.hide_spr.getComponent(c).contentSize=new s(this.m_data.size_width,this.m_data.size_height)},o.setupSprRatationAction=function(){this.hide_spr.angle=this.m_data.rotation,this.hide_spr.getComponent(c).setAnchorPoint(this.m_data.anchor_point_x,this.m_data.anchor_point_y)},i}(g)).prototype,"scrollView",[x],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),W=i(B.prototype,"btn_sure",[C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),Z=i(B.prototype,"btn_cancle",[S],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),q=i(B.prototype,"next_time",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),G=i(B.prototype,"pos_x",[T],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),J=i(B.prototype,"pos_y",[A],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),K=i(B.prototype,"size_width",[D],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),Q=i(B.prototype,"size_height",[E],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),$=i(B.prototype,"color",[F],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),tt=i(B.prototype,"transparent",[I],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),it=i(B.prototype,"btn_select_res",[H],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),nt=i(B.prototype,"lab_origin_pos",[N],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),et=i(B.prototype,"lab_origin_size",[V],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),at=i(B.prototype,"btn_origin_res",[M],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),ot=i(B.prototype,"rotation",[O],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),rt=i(B.prototype,"anchor_point_x",[R],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),_t=i(B.prototype,"anchor_point_y",[U],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),st=i(B.prototype,"btn_anchor_point",[P],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),ht=i(B.prototype,"hide_spr",[X],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),lt=i(B.prototype,"res_preview",[Y],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),pt=i(B.prototype,"btn_update_cur_pos",[k],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),L=B))||L));o._RF.pop()}}}));

System.register("chunks:///_virtual/opt_frame.ts",["./rollupPluginModLoBabelHelpers.js","cc"],(function(e){var t,n,i,l,r,o,a,c,u;return{setters:[function(e){t=e.applyDecoratedDescriptor,n=e.inheritsLoose,i=e.initializerDefineProperty,l=e.assertThisInitialized},function(e){r=e.cclegacy,o=e._decorator,a=e.Node,c=e.Label,u=e.Component}],execute:function(){var _,s,p,m,b,f,d,h,y,v,g;r._RF.push({},"1d7452rkvNEYItAIUn4dxzc","opt_frame",void 0);var w=o.ccclass,z=o.property;e("opt_frame",(_=w("opt_frame"),s=z(a),p=z(a),m=z(a),b=z(a),_((h=t((d=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return t=e.call.apply(e,[this].concat(r))||this,i(t,"lab_title",h,l(t)),i(t,"btn_delete",y,l(t)),i(t,"btn_edit",v,l(t)),i(t,"btn_cancel",g,l(t)),t.m_call_delete=null,t.m_call_edit=null,t.m_item=null,t}n(t,e);var r=t.prototype;return r.show=function(e){this.m_item=e,this.lab_title.getComponent(c).string="第"+e.getIndex()+"帧",this.node.active=!0},r.initView=function(e,t){var n=this;this.m_call_delete=e,this.m_call_edit=t,this.btn_delete.on(a.EventType.TOUCH_END,(function(){null!=n.m_call_delete&&n.m_call_delete(n.m_item),n.close()})),this.btn_edit.on(a.EventType.TOUCH_END,(function(){null!=n.m_call_edit&&n.m_call_edit(n.m_item),n.close()})),this.btn_cancel.on(a.EventType.TOUCH_END,(function(){n.close()}))},r.close=function(){this.node.active=!1},t}(u)).prototype,"lab_title",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),y=t(d.prototype,"btn_delete",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),v=t(d.prototype,"btn_edit",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),g=t(d.prototype,"btn_cancel",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),f=d))||f));r._RF.pop()}}}));

System.register("chunks:///_virtual/other_drag_list_item.ts",["./rollupPluginModLoBabelHelpers.js","cc","./Attributes.ts","./tools.ts","./config.ts","./clientEvent.ts"],(function(t){var i,e,n,r,a,o,_,l,s,d,h,u,g,c,p;return{setters:[function(t){i=t.applyDecoratedDescriptor,e=t.inheritsLoose,n=t.initializerDefineProperty,r=t.assertThisInitialized},function(t){a=t.cclegacy,o=t._decorator,_=t.EditBox,l=t.Node,s=t.Label,d=t.Toggle,h=t.Component},function(t){u=t.Attributes},function(t){g=t.tools},function(t){c=t.config},function(t){p=t.ClientEvent}],execute:function(){var b,m,f,w,y,v,E,x,z,T,k,C,B,D,U,I,S,N,H,L,O,A,F,P,M;a._RF.push({},"ec7d4YI6MdCZLO+DN0BXwEu","other_drag_list_item",void 0);var R=o.ccclass,V=o.property;t("other_drag_list_item",(b=R("other_drag_list_item"),m=V(_),f=V(_),w=V(_),y=V(_),v=V(l),E=V(l),x=V(l),z=V(_),T=V(l),k=V(l),C=V(l),b((U=i((D=function(t){function i(){for(var i,e=arguments.length,a=new Array(e),o=0;o<e;o++)a[o]=arguments[o];return i=t.call.apply(t,[this].concat(a))||this,n(i,"drag_width",U,r(i)),n(i,"drag_height",I,r(i)),n(i,"drag_x",S,r(i)),n(i,"drag_y",N,r(i)),n(i,"btn_finish_logic",H,r(i)),n(i,"lab_finish_logic",L,r(i)),n(i,"btn_delete",O,r(i)),n(i,"editBox_remark",A,r(i)),n(i,"btn_is_show",F,r(i)),n(i,"btn_up",P,r(i)),n(i,"btn_down",M,r(i)),i.m_index=0,i.m_data=null,i.m_delete_call=null,i.m_up_down_call=null,i}e(i,t);var a=i.prototype;return a.initView=function(t,i,e,n,r){var a=this;this.m_index=t,this.m_data=e,this.m_delete_call=n,this.m_up_down_call=r,this.update_att(this.m_data),this.btn_finish_logic.on(l.EventType.TOUCH_END,(function(){var t=u.Singleton.getEventList();g.show_select_evele_list(t,(function(t){a.m_data.other_event_id=t.event_id,a.update_att(a.m_data)}))})),this.btn_delete.on(l.EventType.TOUCH_END,(function(){a.m_delete_call&&a.m_delete_call(a.m_data),a.node.removeFromParent()})),this.drag_width.node.on("editing-did-ended",this.change,this),this.drag_height.node.on("editing-did-ended",this.change,this),this.drag_x.node.on("editing-did-ended",this.change,this),this.drag_y.node.on("editing-did-ended",this.change,this),this.editBox_remark.node.on("editing-did-ended",this.change,this),this.btn_is_show.on("toggle",(function(){a.m_data.is_show_inTheEditor=!a.m_data.is_show_inTheEditor,a.change()}),this),this.btn_up.active=0!=t,this.btn_down.active=t!=i-1,this.btn_up.on(l.EventType.TOUCH_END,(function(){a.onClickUpDownBtn(!0)})),this.btn_down.on(l.EventType.TOUCH_END,(function(){a.onClickUpDownBtn(!1)}))},a.onClickUpDownBtn=function(t){null!=this.m_up_down_call&&this.m_up_down_call(this,t)},a.change=function(){this.m_data.drag_pos_x=parseInt(this.drag_x.string),this.m_data.drag_pos_y=parseInt(this.drag_y.string),this.m_data.drag_size_width=parseInt(this.drag_width.string),this.m_data.drag_size_height=parseInt(this.drag_height.string),this.m_data.remark=this.editBox_remark.string,p.dispatchEvent(c.Event.UpdateAttributesToView,u.Singleton.get_cur_att_data(),c.attributes_list_type.drag)},a.update_att=function(t){this.drag_width.string=t.drag_size_width.toString(),this.drag_height.string=t.drag_size_height.toString(),this.drag_x.string=t.drag_pos_x.toString(),this.drag_y.string=t.drag_pos_y.toString(),this.lab_finish_logic.getComponent(s).string=-1==this.m_data.other_event_id?"无":"id:"+this.m_data.other_event_id,null==t.remark&&(t.remark=""),this.editBox_remark.string=t.remark,null==t.is_show_inTheEditor&&(t.is_show_inTheEditor=!0),this.btn_is_show.getComponent(d).isChecked=t.is_show_inTheEditor},a.getIndex=function(){return this.m_index},i}(h)).prototype,"drag_width",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),I=i(D.prototype,"drag_height",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),S=i(D.prototype,"drag_x",[w],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),N=i(D.prototype,"drag_y",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),H=i(D.prototype,"btn_finish_logic",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),L=i(D.prototype,"lab_finish_logic",[E],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),O=i(D.prototype,"btn_delete",[x],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),A=i(D.prototype,"editBox_remark",[z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),F=i(D.prototype,"btn_is_show",[T],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),P=i(D.prototype,"btn_up",[k],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),M=i(D.prototype,"btn_down",[C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),B=D))||B));a._RF.pop()}}}));

System.register("chunks:///_virtual/other_widget_finish_item.ts",["./rollupPluginModLoBabelHelpers.js","cc","./tools.ts","./Attributes.ts","./config.ts","./clientEvent.ts"],(function(t){var e,i,n,_,a,o,l,r,s,c,d,u,h;return{setters:[function(t){e=t.applyDecoratedDescriptor,i=t.inheritsLoose,n=t.initializerDefineProperty,_=t.assertThisInitialized},function(t){a=t.cclegacy,o=t._decorator,l=t.Node,r=t.Label,s=t.Component},function(t){c=t.tools},function(t){d=t.Attributes},function(t){u=t.config},function(t){h=t.ClientEvent}],execute:function(){var f,g,p,b,v,m,w,y,E,T,C,z,D;a._RF.push({},"bfcf4k3SptP4pqB6s3N1Tva","other_widget_finish_item",void 0);var S=o.ccclass,A=o.property;t("other_widget_finish_item",(f=S("other_widget_finish_item"),g=A(l),p=A(l),b=A(l),v=A(l),m=A(l),f((E=e((y=function(t){function e(){for(var e,i=arguments.length,a=new Array(i),o=0;o<i;o++)a[o]=arguments[o];return e=t.call.apply(t,[this].concat(a))||this,n(e,"btn_not_finish_event",E,_(e)),n(e,"lab_not_finish_event",T,_(e)),n(e,"btn_select_widget",C,_(e)),n(e,"lab_select_widget",z,_(e)),n(e,"btn_delete",D,_(e)),e.m_data=null,e.delete_call=null,e}i(e,t);var a=e.prototype;return a.initView=function(t,e){var i=this;this.m_data=t,this.delete_call=e,this.btn_delete.on(l.EventType.TOUCH_END,(function(){i.delete_call&&i.delete_call(i.m_data),i.node.removeFromParent()})),this.btn_select_widget.on(l.EventType.TOUCH_END,(function(){var t=d.Singleton.get_cur_scene_all_only_widget();if(t.length<=0)return c.showToast("当前场景没有添加控件！");c.show_select_widget_list(t,(function(t){i.m_data.widget_id=t.att.id,i.update_att(i.m_data),h.dispatchEvent(u.Event.UpdateAttributesToView,d.Singleton.get_cur_att_data(),u.attributes_list_type.drag)}),i.m_data.widget_id)})),this.btn_not_finish_event.on(l.EventType.TOUCH_END,(function(){var t=d.Singleton.getEventList();c.show_select_evele_list(t,(function(t){i.m_data.event_id=t.event_id,i.update_att(i.m_data),h.dispatchEvent(u.Event.UpdateAttributesToView,d.Singleton.get_cur_att_data(),u.attributes_list_type.drag)}))})),this.update_att(this.m_data)},a.update_att=function(t){-1==this.m_data.widget_id?(this.btn_not_finish_event.active=!1,this.lab_select_widget.getComponent(r).string="无"):(this.btn_not_finish_event.active=!0,this.lab_select_widget.getComponent(r).string="id:"+this.m_data.widget_id,-1==this.m_data.event_id?this.lab_not_finish_event.getComponent(r).string="无":this.lab_not_finish_event.getComponent(r).string="id:"+this.m_data.event_id)},e}(s)).prototype,"btn_not_finish_event",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),T=e(y.prototype,"lab_not_finish_event",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),C=e(y.prototype,"btn_select_widget",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),z=e(y.prototype,"lab_select_widget",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),D=e(y.prototype,"btn_delete",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),w=y))||w));a._RF.pop()}}}));

System.register("chunks:///_virtual/peiyin.ts",["./rollupPluginModLoBabelHelpers.js","cc","./gameManager.ts"],(function(t){var n,e,i,r,a,o,s,c,p;return{setters:[function(t){n=t.applyDecoratedDescriptor,e=t.inheritsLoose,i=t.initializerDefineProperty,r=t.assertThisInitialized},function(t){a=t.cclegacy,o=t._decorator,s=t.Node,c=t.Component},function(t){p=t.gameManager}],execute:function(){var u,l,f,h,b,g,y;a._RF.push({},"df830NqbH5BrLLDVR3YOhdB","peiyin",void 0);var v=o.ccclass,_=o.property;t("peiyin",(u=v("peiyin"),l=_(s),f=_(s),u((g=n((b=function(t){function n(){for(var n,e=arguments.length,a=new Array(e),o=0;o<e;o++)a[o]=arguments[o];return n=t.call.apply(t,[this].concat(a))||this,i(n,"btn_on",g,r(n)),i(n,"btn_off",y,r(n)),n.isOpen=!0,n}e(n,t);var a=n.prototype;return a.start=function(){var t=this;this.node.on(s.EventType.TOUCH_START,(function(){t.isOpen=!t.isOpen,t.changeStatus()}))},a.initView=function(){this.isOpen=p.getUserData().isOpenPeiYin,this.changeStatus()},a.changeStatus=function(){this.isOpen?(this.btn_on.active=!0,this.btn_off.active=!1):(this.btn_on.active=!1,this.btn_off.active=!0),p.getStaticUserData().isOpenPeiYin=this.isOpen,p.saveUserData()},n}(c)).prototype,"btn_on",[l],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),y=n(b.prototype,"btn_off",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),h=b))||h));a._RF.pop()}}}));

System.register("chunks:///_virtual/question_btn_info.ts",["./rollupPluginModLoBabelHelpers.js","cc","./receive_res_item.ts","./receive_widget_item.ts","./tools.ts","./config.ts"],(function(e){var t,n,i,o,r,a,l,s,_,c,u,d;return{setters:[function(e){t=e.applyDecoratedDescriptor,n=e.inheritsLoose,i=e.initializerDefineProperty,o=e.assertThisInitialized},function(e){r=e.cclegacy,a=e._decorator,l=e.Node,s=e.Component},function(e){_=e.receive_res_item},function(e){c=e.receive_widget_item},function(e){u=e.tools},function(e){d=e.config}],execute:function(){var f,p,b,m,h,y,v,g,w;r._RF.push({},"b88c1V9TDhFdq3poURTbQwR","question_btn_info",void 0);var D=a.ccclass,T=a.property;e("question_btn_info",(f=D("question_btn_info"),p=T(l),b=T(l),m=T(l),f((v=t((y=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return t=e.call.apply(e,[this].concat(r))||this,i(t,"res_node",v,o(t)),i(t,"att_node",g,o(t)),i(t,"btn_delete",w,o(t)),t.m_data=null,t.m_index=0,t.m_call_back=null,t}n(t,e);var r=t.prototype;return r.initView=function(e,t,n,i){var o=this;this.m_data=e,this.m_call_back=n,this.m_index=t,i===d.attributes_list_type.question_select?this.btn_delete.active=!0:this.btn_delete.active=!1,this.res_node.getComponent(_).initView(this.m_data,i),this.att_node.getComponent(c).updateView(this.m_data,i),this.btn_delete.off(l.EventType.TOUCH_END),this.btn_delete.on(l.EventType.TOUCH_END,(function(){null!=o.m_call_back&&u.show_dialog("确定删除此按钮？",(function(){o.m_call_back(o.m_index),o.node.destroy(),o.node.removeFromParent()}))}))},r.onDestroy=function(){this.res_node.destroy(),this.att_node.destroy()},t}(s)).prototype,"res_node",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),g=t(y.prototype,"att_node",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),w=t(y.prototype,"btn_delete",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),h=y))||h));r._RF.pop()}}}));

System.register("chunks:///_virtual/question_select.ts",["./rollupPluginModLoBabelHelpers.js","cc","./btn_question_item2.ts"],(function(t){var e,n,i,o,r,s,a,l,u,c;return{setters:[function(t){e=t.applyDecoratedDescriptor,n=t.inheritsLoose,i=t.initializerDefineProperty,o=t.assertThisInitialized},function(t){r=t.cclegacy,s=t._decorator,a=t.Node,l=t.instantiate,u=t.Component},function(t){c=t.btn_question_item}],execute:function(){var _,p,h,d,b,f,m;r._RF.push({},"5ddb4TBQGBMiqjATOGDFqyv","question_select",void 0);var q=s.ccclass,v=s.property;t("question_select",(_=q("question_select"),p=v(a),h=v(a),_((f=e((b=function(t){function e(){for(var e,n=arguments.length,r=new Array(n),s=0;s<n;s++)r[s]=arguments[s];return(e=t.call.apply(t,[this].concat(r))||this).m_data=null,i(e,"btn_question",f,o(e)),i(e,"content",m,o(e)),e}n(e,t);var r=e.prototype;return r.initView=function(t){this.m_data=t,this.updateView(this.m_data)},r.updateView=function(t){this.m_data=t,this.content.destroyAllChildren(),this.content.removeAllChildren();for(var e=0;e<this.m_data.btn_question_list.length;e++){var n=this.m_data.btn_question_list[e],i=l(this.btn_question);i.active=!0,i.parent=this.content,i.getComponent(c).initView(n,e),this.m_data.btn_question_list[e]=i.getComponent(c).getData()}},e}(u)).prototype,"btn_question",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),m=e(b.prototype,"content",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),d=b))||d));r._RF.pop()}}}));

System.register("chunks:///_virtual/question_select2.ts",["./rollupPluginModLoBabelHelpers.js","cc","./btn_question_item.ts","./gameManager.ts"],(function(t){var e,n,i,o,s,l,a,r,c,u,_;return{setters:[function(t){e=t.applyDecoratedDescriptor,n=t.inheritsLoose,i=t.initializerDefineProperty,o=t.assertThisInitialized},function(t){s=t.cclegacy,l=t._decorator,a=t.Prefab,r=t.instantiate,c=t.Component},function(t){u=t.btn_question_item},function(t){_=t.gameManager}],execute:function(){var h,p,m,d,f;s._RF.push({},"90b5eJMlJ1CLr0iaqkMMpBw","question_select",void 0);var b=l.ccclass,q=l.property;t("question_select",(h=b("question_select"),p=q(a),h((f=e((d=function(t){function e(){for(var e,n=arguments.length,s=new Array(n),l=0;l<n;l++)s[l]=arguments[l];return(e=t.call.apply(t,[this].concat(s))||this).m_data=null,i(e,"btn_question",f,o(e)),e.mCallBack=null,e}n(e,t);var s=e.prototype;return s.initView=function(t,e,n){this.m_data=t,this.mCallBack=n,this.node.destroyAllChildren(),this.node.removeAllChildren();for(var i=0;i<this.m_data.btn_question_list.length;i++){var o=this.m_data.btn_question_list[i],s=r(this.btn_question);s.parent=this.node,s.getComponent(u).initView(o,e.question_list[i],i,this.onItemClick.bind(this))}},s.onItemClick=function(t){null!=this.mCallBack&&this.mCallBack(t),_.Singleton.sys_click_button_music()},e}(c)).prototype,"btn_question",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),m=d))||m));s._RF.pop()}}}));

System.register("chunks:///_virtual/receive_res_item.ts",["./rollupPluginModLoBabelHelpers.js","cc","./clientEvent.ts","./config.ts","./img_item.ts","./base_res.ts","./Attributes.ts"],(function(t){var e,n,i,r,s,a,o,c,l,_,u,h,g,p,d,m;return{setters:[function(t){e=t.applyDecoratedDescriptor,n=t.inheritsLoose,i=t.initializerDefineProperty,r=t.assertThisInitialized},function(t){s=t.cclegacy,a=t._decorator,o=t.Node,c=t.Label,l=t.UITransform,_=t.Rect,u=t.Component},function(t){h=t.ClientEvent},function(t){g=t.config},function(t){p=t.img_item},function(t){d=t.base_res},function(t){m=t.Attributes}],execute:function(){var f,v,b,y,C;s._RF.push({},"b3edb4qUMJFLqeZLV/z9emq","receive_res_item",void 0);var E=a.ccclass,w=a.property;t("receive_res_item",(f=E("receive_res_item"),v=w(o),f((C=e((y=function(t){function e(){for(var e,n=arguments.length,s=new Array(n),a=0;a<n;a++)s[a]=arguments[a];return e=t.call.apply(t,[this].concat(s))||this,i(e,"btn_clear_res",C,r(e)),e.m_data=null,e.widget_type=g.attributes_list_type.top,e}n(e,t);var s=e.prototype;return s.initView=function(t,e){void 0===e&&(e=g.attributes_list_type.top),this.widget_type=e,this.m_data=t,this.m_data.res_name.length>0?this.getLabel().getComponent(c).string=this.m_data.res_name:this.getLabel().getComponent(c).string="无"},s.start=function(){var t=this;h.on(g.Event.DragResEndOnCheck,this.DragResEndOnCheck,this),null!=this.btn_clear_res&&this.btn_clear_res.on(o.EventType.TOUCH_END,(function(){t.m_data.res="",t.m_data.res_name="";var e=t.getLabel();null!=e&&(e.getComponent(c).string="无"),h.dispatchEvent(g.Event.UpdateAttributesToView,m.Singleton.get_cur_att_data(),t.widget_type)}))},s.onDestroy=function(){h.off(g.Event.DragResEndOnCheck,this.DragResEndOnCheck,this),this.unscheduleAllCallbacks()},s.getRect=function(){var t=this.node.getComponent(l).contentSize,e=this.node.parent.getComponent(l).convertToWorldSpaceAR(this.node.position);return new _(e.x-t.width/2,e.y-t.height/2,t.width,t.height)},s.getParentIsShow=function(){for(var t=this.node.parent,e=0;null!=t;){if(!t.active)return!1;if(t=t.parent,++e>=10)return!0}return!0},s.DragResEndOnCheck=function(t,e){var n=this.getParentIsShow();if(console.log("DragResEndOnCheck",n),this.getRect().contains(t)&&n)if(e.getComponent(d).getType()===g.select_res_btn_type.SOUND_LIST);else{var i=e.getComponent(p).getData();this.m_data.res=i.url,this.m_data.res_name=i.name;var r=this.getLabel();null!=r&&(r.getComponent(c).string=this.m_data.res_name),h.dispatchEvent(g.Event.UpdateAttributesToView,m.Singleton.get_cur_att_data(),this.widget_type)}},s.getLabel=function(){return this.node.getChildByPath("Sprite/Label")},e}(u)).prototype,"btn_clear_res",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),b=y))||b));s._RF.pop()}}}));

System.register("chunks:///_virtual/receive_sound_item.ts",["./rollupPluginModLoBabelHelpers.js","cc","./clientEvent.ts","./config.ts","./base_res.ts","./sound_item.ts","./Attributes.ts"],(function(t){var e,n,i,o,s,r,a,c,u,h,d,l;return{setters:[function(t){e=t.inheritsLoose},function(t){n=t.cclegacy,i=t._decorator,o=t.Label,s=t.UITransform,r=t.Rect,a=t.Component},function(t){c=t.ClientEvent},function(t){u=t.config},function(t){h=t.base_res},function(t){d=t.sound_item},function(t){l=t.Attributes}],execute:function(){var _;n._RF.push({},"7bda0zULM5Fcb8zDjCGiuRy","receive_sound_item",void 0);var g=i.ccclass;i.property,t("receive_sound_item",g("receive_sound_item")(_=function(t){function n(){for(var e,n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return(e=t.call.apply(t,[this].concat(i))||this).m_data=null,e}e(n,t);var i=n.prototype;return i.updateView=function(t){this.m_data=t;var e=this.getLabel();null!=e&&(e.getComponent(o).string=this.m_data.name)},i.start=function(){c.on(u.Event.DragResEndOnCheck,this.DragResEndOnCheck,this)},i.onDestroy=function(){c.off(u.Event.DragResEndOnCheck,this.DragResEndOnCheck,this)},i.getRect=function(){var t=this.node.getComponent(s).contentSize,e=this.node.parent.getComponent(s).convertToWorldSpaceAR(this.node.position);return new r(e.x-t.width/2,e.y-t.height/2,t.width,t.height)},i.DragResEndOnCheck=function(t,e){if(this.getRect().contains(t)&&e.getComponent(h).getType()===u.select_res_btn_type.SOUND_LIST){var n=e.getComponent(d).getData();this.m_data.name=n.name,this.m_data.url=n.url;var i=this.getLabel();null!=i&&(i.getComponent(o).string=this.m_data.name),c.dispatchEvent(u.Event.UpdateAttributesToView,l.Singleton.get_cur_att_data(),u.attributes_list_type.text_sound)}},i.getLabel=function(){return this.node.getChildByPath("Sprite/Label")},n}(a))||_);n._RF.pop()}}}));

System.register("chunks:///_virtual/receive_widget_item.ts",["./rollupPluginModLoBabelHelpers.js","cc","./Attributes.ts","./config.ts","./clientEvent.ts"],(function(t){var e,i,n,a,d,o,s,g;return{setters:[function(t){e=t.inheritsLoose},function(t){i=t.cclegacy,n=t._decorator,a=t.EditBox,d=t.Component},function(t){o=t.Attributes},function(t){s=t.config},function(t){g=t.ClientEvent}],execute:function(){var h;i._RF.push({},"9a394rbHJJJUYVtgE3lU3I2","receive_widget_item",void 0);var r=n.ccclass;n.property,t("receive_widget_item",r("receive_widget_item")(h=function(t){function i(){for(var e,i=arguments.length,n=new Array(i),a=0;a<i;a++)n[a]=arguments[a];return(e=t.call.apply(t,[this].concat(n))||this).m_data=null,e.widget_type=s.attributes_list_type.top,e.call_back=null,e}e(i,t);var n=i.prototype;return n.initView=function(t){this.call_back=t},n.updateView=function(t,e){var i=this;void 0===e&&(e=s.attributes_list_type.top),this.widget_type=e,null===this.m_data&&(this.node.getChildByName("x").on("editing-did-ended",(function(){i.change()})),this.node.getChildByName("y").on("editing-did-ended",(function(){i.change()})),this.node.getChildByName("w").on("editing-did-ended",(function(){i.change()})),this.node.getChildByName("h").on("editing-did-ended",(function(){i.change()}))),this.m_data=t;var n=this.getX(),a=this.getY(),d=this.getWidth(),o=this.getHeight();n.string=this.m_data.x.toString(),a.string=this.m_data.y.toString(),d.string=this.m_data.width.toString(),o.string=this.m_data.height.toString()},n.change=function(){this.m_data.x=parseInt(this.getX().string),this.m_data.y=parseInt(this.getY().string),this.m_data.width=parseInt(this.getWidth().string),this.m_data.height=parseInt(this.getHeight().string),g.dispatchEvent(s.Event.UpdateAttributesToView,o.Singleton.get_cur_att_data(),this.widget_type)},n.getX=function(){return this.node.getChildByName("x").getComponent(a)},n.getY=function(){return this.node.getChildByName("y").getComponent(a)},n.getWidth=function(){return this.node.getChildByName("w").getComponent(a)},n.getHeight=function(){return this.node.getChildByName("h").getComponent(a)},i}(d))||h);i._RF.pop()}}}));

System.register("chunks:///_virtual/res_boss_info.ts",["./rollupPluginModLoBabelHelpers.js","cc","./receive_res_item.ts"],(function(e){var t,i,r,n,o,a,s,l,u;return{setters:[function(e){t=e.applyDecoratedDescriptor,i=e.inheritsLoose,r=e.initializerDefineProperty,n=e.assertThisInitialized},function(e){o=e.cclegacy,a=e._decorator,s=e.Node,l=e.Component},function(e){u=e.receive_res_item}],execute:function(){var c,b,p,_,f,g,h,m,d,y,v;o._RF.push({},"88558NBvrlHFJDC25y6VBvW","res_boss_info",void 0);var w=a.ccclass,z=a.property;e("res_boss_info",(c=w("res_boss_info"),b=z(s),p=z(s),_=z(s),f=z(s),c((m=t((h=function(e){function t(){for(var t,i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return t=e.call.apply(e,[this].concat(o))||this,r(t,"bg",m,n(t)),r(t,"bg_bar",d,n(t)),r(t,"bar",y,n(t)),r(t,"head",v,n(t)),t.m_data=null,t}i(t,e);var o=t.prototype;return o.start=function(){},o.initView=function(e){this.m_data=e,this.bg.getComponent(u).initView(this.m_data.bg),this.bg_bar.getComponent(u).initView(this.m_data.bg_bar),this.bar.getComponent(u).initView(this.m_data.bar),this.head.getComponent(u).initView(this.m_data.head)},t}(l)).prototype,"bg",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),d=t(h.prototype,"bg_bar",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),y=t(h.prototype,"bar",[_],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),v=t(h.prototype,"head",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),g=h))||g));o._RF.pop()}}}));

System.register("chunks:///_virtual/res_interact_input.ts",["./rollupPluginModLoBabelHelpers.js","cc","./receive_res_item.ts"],(function(i){var e,t,n,r,u,a,m,_,o;return{setters:[function(i){e=i.applyDecoratedDescriptor,t=i.inheritsLoose,n=i.initializerDefineProperty,r=i.assertThisInitialized},function(i){u=i.cclegacy,a=i._decorator,m=i.Node,_=i.Component},function(i){o=i.receive_res_item}],execute:function(){var l,g,b,p,c,s,f,h,w,d,y,z,V,C,v,j,x,D,B,F,L,M,P,R,T,k,A,H,I,N,S,U,W,X,Z;u._RF.push({},"f630fVWUsBMd5s/ZnT+s9Xz","res_interact_input",void 0);var q=a.ccclass,E=a.property;i("res_interact_input",(l=q("res_interact_input"),g=E(m),b=E(m),p=E(m),c=E(m),s=E(m),f=E(m),h=E(m),w=E(m),d=E(m),y=E(m),z=E(m),V=E(m),C=E(m),v=E(m),j=E(m),x=E(m),l((F=e((B=function(i){function e(){for(var e,t=arguments.length,u=new Array(t),a=0;a<t;a++)u[a]=arguments[a];return e=i.call.apply(i,[this].concat(u))||this,n(e,"img_number_0",F,r(e)),n(e,"img_number_1",L,r(e)),n(e,"img_number_2",M,r(e)),n(e,"img_number_3",P,r(e)),n(e,"img_number_4",R,r(e)),n(e,"img_number_5",T,r(e)),n(e,"img_number_6",k,r(e)),n(e,"img_number_7",A,r(e)),n(e,"img_number_8",H,r(e)),n(e,"img_number_9",I,r(e)),n(e,"img_number_xing",N,r(e)),n(e,"img_number_jing",S,r(e)),n(e,"img_bg",U,r(e)),n(e,"input_default",W,r(e)),n(e,"input_fail",X,r(e)),n(e,"input_right",Z,r(e)),e.m_data=null,e}return t(e,i),e.prototype.initView=function(i){this.m_data=i,this.img_bg.getComponent(o).initView(this.m_data.bg),this.img_number_0.getComponent(o).initView(this.m_data.image_0),this.img_number_1.getComponent(o).initView(this.m_data.image_1),this.img_number_2.getComponent(o).initView(this.m_data.image_2),this.img_number_3.getComponent(o).initView(this.m_data.image_3),this.img_number_4.getComponent(o).initView(this.m_data.image_4),this.img_number_5.getComponent(o).initView(this.m_data.image_5),this.img_number_6.getComponent(o).initView(this.m_data.image_6),this.img_number_7.getComponent(o).initView(this.m_data.image_7),this.img_number_8.getComponent(o).initView(this.m_data.image_8),this.img_number_9.getComponent(o).initView(this.m_data.image_9),this.img_number_xing.getComponent(o).initView(this.m_data.image_xing),this.img_number_jing.getComponent(o).initView(this.m_data.image_jing),this.input_default.getComponent(o).initView(this.m_data.input_default),this.input_fail.getComponent(o).initView(this.m_data.input_fail),this.input_right.getComponent(o).initView(this.m_data.input_right)},e}(_)).prototype,"img_number_0",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),L=e(B.prototype,"img_number_1",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),M=e(B.prototype,"img_number_2",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),P=e(B.prototype,"img_number_3",[c],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),R=e(B.prototype,"img_number_4",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),T=e(B.prototype,"img_number_5",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),k=e(B.prototype,"img_number_6",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),A=e(B.prototype,"img_number_7",[w],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),H=e(B.prototype,"img_number_8",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),I=e(B.prototype,"img_number_9",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),N=e(B.prototype,"img_number_xing",[z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),S=e(B.prototype,"img_number_jing",[V],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),U=e(B.prototype,"img_bg",[C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),W=e(B.prototype,"input_default",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),X=e(B.prototype,"input_fail",[j],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),Z=e(B.prototype,"input_right",[x],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),D=B))||D));u._RF.pop()}}}));

System.register("chunks:///_virtual/res_interact_page.ts",["./rollupPluginModLoBabelHelpers.js","cc","./data.ts","./receive_res_item.ts","./tools.ts","./Attributes.ts","./config.ts","./clientEvent.ts"],(function(t){var e,i,n,r,a,o,_,l,c,u,s,m,g,b,p,h;return{setters:[function(t){e=t.applyDecoratedDescriptor,i=t.inheritsLoose,n=t.initializerDefineProperty,r=t.assertThisInitialized},function(t){a=t.cclegacy,o=t._decorator,_=t.Node,l=t.EditBox,c=t.instantiate,u=t.Component},function(t){s=t.ui_att_item},function(t){m=t.receive_res_item},function(t){g=t.tools},function(t){b=t.Attributes},function(t){p=t.config},function(t){h=t.ClientEvent}],execute:function(){var d,f,v,w,y,C,z,E,T,V,N,B,x,A,D,F,U,H,P,S,I,L,O;a._RF.push({},"d56dcF3mphFNK+u67nfldfC","res_interact_page",void 0);var R=o.ccclass,j=o.property;t("res_interact_page",(d=R("res_interact_page"),f=j(_),v=j(_),w=j(_),y=j(_),C=j(_),z=j(_),E=j(_),T=j(_),V=j(_),N=j(l),d((A=e((x=function(t){function e(){for(var e,i=arguments.length,a=new Array(i),o=0;o<i;o++)a[o]=arguments[o];return e=t.call.apply(t,[this].concat(a))||this,n(e,"bg",A,r(e)),n(e,"btn_interact_left",D,r(e)),n(e,"btn_interact_right",F,r(e)),n(e,"img_item_interact_bg",U,r(e)),n(e,"btn_sure",H,r(e)),n(e,"img_item_interact",P,r(e)),n(e,"btn_add",S,r(e)),n(e,"btn_sub",I,r(e)),n(e,"content",L,r(e)),n(e,"delete_index_eb",O,r(e)),e.img_item_interact_list=null,e.m_data=null,e}i(e,t);var a=e.prototype;return a.start=function(){var t=this;this.btn_add.on(_.EventType.TOUCH_END,(function(){var e=c(t.img_item_interact);e.parent=t.content,e.name=""+t.m_data.img_item_interact_list.length;var i=new s;i.width=100,i.height=100,t.m_data.img_item_interact_list.push(i),h.dispatchEvent(p.Event.UpdateAttributesToView,b.Singleton.get_cur_att_data(),p.attributes_list_type.top),e.getComponent(m).initView(i),g.showToast("添加成功！")})),this.btn_sub.on(_.EventType.TOUCH_END,(function(){var e=parseInt(t.delete_index_eb.string);return 0===e?g.showToast("不可删除第一个！"):e<t.m_data.img_item_interact_list.length?(t.removeNodeByName(""+e),t.m_data.img_item_interact_list.splice(e,1),g.showToast("删除成功！"),void h.dispatchEvent(p.Event.UpdateAttributesToView,b.Singleton.get_cur_att_data(),p.attributes_list_type.top)):g.showToast("没有找到该道具")}))},a.initView=function(t){this.m_data=t,this.bg.getComponent(m).initView(this.m_data.bg),this.btn_interact_left.getComponent(m).initView(this.m_data.btn_interact_left),this.btn_interact_right.getComponent(m).initView(this.m_data.btn_interact_right),this.img_item_interact_bg.getComponent(m).initView(this.m_data.img_item_interact_bg),this.btn_sure.getComponent(m).initView(this.m_data.btn_sure),this.img_item_interact.name="0",this.img_item_interact.getComponent(m).initView(this.m_data.img_item_interact_list[0]);for(var e=1;e<this.m_data.img_item_interact_list.length;e++){var i=""+e,n=null;null!=this.content.getChildByName(i)?n=this.content.getChildByName(i):((n=c(this.img_item_interact)).parent=this.content,n.name=""+e),n.getComponent(m).initView(this.m_data.img_item_interact_list[e])}},a.removeNodeByName=function(t){for(var e=0;e<this.content.children.length;e++){var i=this.content.children[e];if(i.name===t)return i.destroy(),void i.removeFromParent()}},e}(u)).prototype,"bg",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),D=e(x.prototype,"btn_interact_left",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),F=e(x.prototype,"btn_interact_right",[w],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),U=e(x.prototype,"img_item_interact_bg",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),H=e(x.prototype,"btn_sure",[C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),P=e(x.prototype,"img_item_interact",[z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),S=e(x.prototype,"btn_add",[E],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),I=e(x.prototype,"btn_sub",[T],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),L=e(x.prototype,"content",[V],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),O=e(x.prototype,"delete_index_eb",[N],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),B=x))||B));a._RF.pop()}}}));

System.register("chunks:///_virtual/res_interact_puzzle.ts",["./rollupPluginModLoBabelHelpers.js","cc","./receive_res_item.ts"],(function(e){var t,i,n,r,l,u,o,a,p;return{setters:[function(e){t=e.applyDecoratedDescriptor,i=e.inheritsLoose,n=e.initializerDefineProperty,r=e.assertThisInitialized},function(e){l=e.cclegacy,u=e._decorator,o=e.Node,a=e.Component},function(e){p=e.receive_res_item}],execute:function(){var z,c,s,b,m,_,f,g,h,w,d,y,v,C,V,F,D;l._RF.push({},"1aeea+boBFGqZZoTFqrtIv5","res_interact_puzzle",void 0);var q=u.ccclass,B=u.property;e("res_interact_puzzle",(z=q("res_interact_puzzle"),c=B(o),s=B(o),b=B(o),m=B(o),_=B(o),f=B(o),g=B(o),z((d=t((w=function(e){function t(){for(var t,i=arguments.length,l=new Array(i),u=0;u<i;u++)l[u]=arguments[u];return t=e.call.apply(e,[this].concat(l))||this,n(t,"bg",d,r(t)),n(t,"puzzle1",y,r(t)),n(t,"puzzle2",v,r(t)),n(t,"puzzle3",C,r(t)),n(t,"puzzle4",V,r(t)),n(t,"puzzle5",F,r(t)),n(t,"puzzle6",D,r(t)),t.m_data=null,t}return i(t,e),t.prototype.initView=function(e){this.m_data=e,this.bg.getComponent(p).initView(this.m_data.bg),this.puzzle1.getComponent(p).initView(this.m_data.puzzle1),this.puzzle2.getComponent(p).initView(this.m_data.puzzle2),this.puzzle3.getComponent(p).initView(this.m_data.puzzle3),this.puzzle4.getComponent(p).initView(this.m_data.puzzle4),this.puzzle5.getComponent(p).initView(this.m_data.puzzle5),this.puzzle6.getComponent(p).initView(this.m_data.puzzle6)},t}(a)).prototype,"bg",[c],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),y=t(w.prototype,"puzzle1",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),v=t(w.prototype,"puzzle2",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),C=t(w.prototype,"puzzle3",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),V=t(w.prototype,"puzzle4",[_],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),F=t(w.prototype,"puzzle5",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),D=t(w.prototype,"puzzle6",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),h=w))||h));l._RF.pop()}}}));

System.register("chunks:///_virtual/res_list.ts",["./rollupPluginModLoBabelHelpers.js","cc","./config.ts","./img_item.ts","./control.ts","./sound_item.ts"],(function(t){var e,n,i,o,r,s,a,c,_,p;return{setters:[function(t){e=t.inheritsLoose},function(t){n=t.cclegacy,i=t._decorator,o=t.ScrollView,r=t.instantiate,s=t.Component},function(t){a=t.config},function(t){c=t.img_item},function(t){_=t.control},function(t){p=t.sound_item}],execute:function(){var l;n._RF.push({},"65a31JHkWNPsopXhuX9Rktg","res_list",void 0);var m=i.ccclass;i.property,t("res_list",m("res_list")(l=function(t){function n(){for(var e,n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return(e=t.call.apply(t,[this].concat(i))||this).item_prefab=null,e.m_type=0,e.m_data=[],e}e(n,t);var i=n.prototype;return i.initView=function(t,e,n){this.item_prefab=t,this.m_data=n,this.m_type=e,this.node.getComponent(o).content.removeAllChildren();for(var i=0;i<this.m_data.length;i++){var s=this.m_data[i],l=(s.url,s.name),m=r(this.item_prefab);m.parent=this.node.getComponent(o).content,this.m_type===a.select_res_btn_type.SOUND_LIST?m.getComponent(p).initView(a.select_res_btn_type.SOUND_LIST,s,l,_.mp3_cache.get(l)):m.getComponent(c).initView(this.m_type,s,l,_.res_map.get(l))}},i.getType=function(){return this.m_type},i.getData=function(){return this.m_data},n}(s))||l);n._RF.pop()}}}));

System.register("chunks:///_virtual/res_not_have_interact.ts",["./rollupPluginModLoBabelHelpers.js","cc","./receive_res_item.ts"],(function(e){var t,i,r,n,o,a,c,s,l;return{setters:[function(e){t=e.applyDecoratedDescriptor,i=e.inheritsLoose,r=e.initializerDefineProperty,n=e.assertThisInitialized},function(e){o=e.cclegacy,a=e._decorator,c=e.Node,s=e.Component},function(e){l=e.receive_res_item}],execute:function(){var u,_,p,h,f;o._RF.push({},"1efabT7LNFPioxwWWtpXEhG","res_not_have_interact",void 0);var v=a.ccclass,g=a.property;e("res_not_have_interact",(u=v("res_not_have_interact"),_=g(c),u((f=t((h=function(e){function t(){for(var t,i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return t=e.call.apply(e,[this].concat(o))||this,r(t,"bg",f,n(t)),t.m_data=null,t}return i(t,e),t.prototype.initView=function(e){this.m_data=e,this.bg.getComponent(l).initView(this.m_data.bg)},t}(s)).prototype,"bg",[_],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),p=h))||p));o._RF.pop()}}}));

System.register("chunks:///_virtual/res_pointer_ding_wei.ts",["./rollupPluginModLoBabelHelpers.js","cc","./receive_res_item.ts"],(function(e){var i,t,n,r,o,_,a,l,p;return{setters:[function(e){i=e.applyDecoratedDescriptor,t=e.inheritsLoose,n=e.initializerDefineProperty,r=e.assertThisInitialized},function(e){o=e.cclegacy,_=e._decorator,a=e.Node,l=e.Component},function(e){p=e.receive_res_item}],execute:function(){var u,s,g,c,m,b,d,f,w,y,h,z,C,v,V,x,j;o._RF.push({},"b9d38zjx1tCm76oUdfjMSMz","res_pointer_ding_wei",void 0);var D=_.ccclass,M=_.property;e("res_pointer_ding_wei",(u=D("res_pointer_ding_wei"),s=M(a),g=M(a),c=M(a),m=M(a),b=M(a),d=M(a),f=M(a),u((h=i((y=function(e){function i(){for(var i,t=arguments.length,o=new Array(t),_=0;_<t;_++)o[_]=arguments[_];return i=e.call.apply(e,[this].concat(o))||this,n(i,"bg",h,r(i)),n(i,"pointer_bar",z,r(i)),n(i,"pointer_bar_point",C,r(i)),n(i,"img_text",v,r(i)),n(i,"img_eye_1",V,r(i)),n(i,"img_eye_2",x,r(i)),n(i,"btn_pointer_ding_wei_sure",j,r(i)),i.m_data=null,i}return t(i,e),i.prototype.initView=function(e){this.m_data=e,this.bg.getComponent(p).initView(this.m_data.bg),this.pointer_bar.getComponent(p).initView(this.m_data.pointer_bar),this.pointer_bar_point.getComponent(p).initView(this.m_data.pointer_bar_point),this.img_text.getComponent(p).initView(this.m_data.img_text),this.img_eye_1.getComponent(p).initView(this.m_data.img_eye_1),this.img_eye_2.getComponent(p).initView(this.m_data.img_eye_2),this.btn_pointer_ding_wei_sure.getComponent(p).initView(this.m_data.btn_pointer_ding_wei_sure)},i}(l)).prototype,"bg",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),z=i(y.prototype,"pointer_bar",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),C=i(y.prototype,"pointer_bar_point",[c],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),v=i(y.prototype,"img_text",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),V=i(y.prototype,"img_eye_1",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),x=i(y.prototype,"img_eye_2",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),j=i(y.prototype,"btn_pointer_ding_wei_sure",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),w=y))||w));o._RF.pop()}}}));

System.register("chunks:///_virtual/res_preview.ts",["./rollupPluginModLoBabelHelpers.js","cc"],(function(t){var e,i,n,o,r,a,s,c,l,h,_,p,u,m;return{setters:[function(t){e=t.applyDecoratedDescriptor,i=t.inheritsLoose,n=t.initializerDefineProperty,o=t.assertThisInitialized},function(t){r=t.cclegacy,a=t._decorator,s=t.Node,c=t.Vec2,l=t.Vec3,h=t.UITransform,_=t.Sprite,p=t.Size,u=t.Label,m=t.Component}],execute:function(){var g,b,w,f,y,d,v,x,z,C,F,S,T;r._RF.push({},"d3319Gvb79J176nu3uf0han","res_preview",void 0);var L=a.ccclass,D=a.property;t("res_preview",(g=L("res_preview"),b=D(s),w=D(s),f=D(s),y=D(s),d=D(s),g((z=e((x=function(t){function e(){for(var e,i=arguments.length,r=new Array(i),a=0;a<i;a++)r[a]=arguments[a];return e=t.call.apply(t,[this].concat(r))||this,n(e,"img_res",z,o(e)),n(e,"img_point",C,o(e)),n(e,"btn_cancel",F,o(e)),n(e,"btn_sure",S,o(e)),n(e,"lab_show",T,o(e)),e.m_data=null,e.m_anchor_point=new c(.5,.5),e.m_callback=null,e}i(e,t);var r=e.prototype;return r.start=function(){var t=this;this.btn_cancel.on(s.EventType.TOUCH_END,(function(){t.close()}),this),this.btn_sure.on(s.EventType.TOUCH_END,(function(){t.close(!0)}),this),this.img_res.on(s.EventType.TOUCH_END,(function(e){var i=new l(e.getUILocation().x,e.getUILocation().y),n=t.img_res.getComponent(h).convertToNodeSpaceAR(i);t.img_point.position=new l(n.x,n.y);var o=t.img_res.getComponent(h).contentSize,r=(o.width/2+n.x)/o.width,a=(o.height/2+n.y)/o.height;t.m_anchor_point=new c(r,a),t.setupLabShow()}),this)},r.initView=function(t,e,i){this.m_data=e,this.m_callback=i,this.m_anchor_point=new c(e.anchor_point_x,e.anchor_point_y),this.img_res.getComponent(_).spriteFrame=t,this.img_res.getComponent(h).contentSize=new p(e.size_width,e.size_height),this.img_res.getComponent(h).setAnchorPoint(.5,.5);var n=this.img_res.getComponent(h).contentSize,o=n.width*this.m_anchor_point.x-n.width/2,r=n.height*this.m_anchor_point.y-n.height/2;this.img_point.position=new l(o,r),this.setupLabShow()},r.setupLabShow=function(){var t=parseFloat(this.m_anchor_point.x.toFixed(2)),e=parseFloat(this.m_anchor_point.y.toFixed(2));this.lab_show.getComponent(u).string="锚点x: "+t+" 锚点y: "+e},r.close=function(t){void 0===t&&(t=!1),t?(this.m_data.anchor_point_x=parseFloat(this.m_anchor_point.x.toFixed(2)),this.m_data.anchor_point_y=parseFloat(this.m_anchor_point.y.toFixed(2)),this.m_callback(this.m_data)):this.m_callback(null),this.node.active=!1},e}(m)).prototype,"img_res",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),C=e(x.prototype,"img_point",[w],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),F=e(x.prototype,"btn_cancel",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),S=e(x.prototype,"btn_sure",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),T=e(x.prototype,"lab_show",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),v=x))||v));r._RF.pop()}}}));

System.register("chunks:///_virtual/res_wei_chi_pointer.ts",["./rollupPluginModLoBabelHelpers.js","cc","./receive_res_item.ts"],(function(i){var t,e,n,r,o,a,_,u,l;return{setters:[function(i){t=i.applyDecoratedDescriptor,e=i.inheritsLoose,n=i.initializerDefineProperty,r=i.assertThisInitialized},function(i){o=i.cclegacy,a=i._decorator,_=i.Node,u=i.Component},function(i){l=i.receive_res_item}],execute:function(){var g,c,p,m,b,s,h,f,d,w,y,x,z,v,C;o._RF.push({},"77e04EDcy1DZKv1Yz9gWThA","res_wei_chi_pointer",void 0);var V=a.ccclass,D=a.property;i("res_wei_chi_pointer",(g=V("res_wei_chi_pointer"),c=D(_),p=D(_),m=D(_),b=D(_),s=D(_),h=D(_),g((w=t((d=function(i){function t(){for(var t,e=arguments.length,o=new Array(e),a=0;a<e;a++)o[a]=arguments[a];return t=i.call.apply(i,[this].concat(o))||this,n(t,"bg",w,r(t)),n(t,"img_hand",y,r(t)),n(t,"img_bar",x,r(t)),n(t,"img_pointer",z,r(t)),n(t,"img_text_bing_zhu_hu_xi",v,r(t)),n(t,"btn_bingxi",C,r(t)),t.m_data=null,t}return e(t,i),t.prototype.initView=function(i){this.m_data=i,this.bg.getComponent(l).initView(this.m_data.bg),this.img_hand.getComponent(l).initView(this.m_data.img_hand),this.img_bar.getComponent(l).initView(this.m_data.img_bar),this.img_pointer.getComponent(l).initView(this.m_data.img_pointer),this.img_text_bing_zhu_hu_xi.getComponent(l).initView(this.m_data.img_text_bing_zhu_hu_xi),this.btn_bingxi.getComponent(l).initView(this.m_data.btn_bingxi)},t}(u)).prototype,"bg",[c],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),y=t(d.prototype,"img_hand",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),x=t(d.prototype,"img_bar",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),z=t(d.prototype,"img_pointer",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),v=t(d.prototype,"img_text_bing_zhu_hu_xi",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),C=t(d.prototype,"btn_bingxi",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),f=d))||f));o._RF.pop()}}}));

System.register("chunks:///_virtual/rule_view.ts",["./rollupPluginModLoBabelHelpers.js","cc","./gameManager.ts"],(function(t){var e,n,i,r,a,u,l,o,c,s;return{setters:[function(t){e=t.applyDecoratedDescriptor,n=t.inheritsLoose,i=t.initializerDefineProperty,r=t.assertThisInitialized},function(t){a=t.cclegacy,u=t._decorator,l=t.Node,o=t.Sprite,c=t.Component},function(t){s=t.gameManager}],execute:function(){var _,p,h,g,f,m,b,v,y,d,D;a._RF.push({},"3f584RFE6dAzpWe4a46gtOP","rule_view",void 0);var w=u.ccclass,S=u.property;t("rule_view",(_=w("rule_view"),p=S(l),h=S(l),g=S(l),f=S(l),_((v=e((b=function(t){function e(){for(var e,n=arguments.length,a=new Array(n),u=0;u<n;u++)a[u]=arguments[u];return e=t.call.apply(t,[this].concat(a))||this,i(e,"btn_rule_left",v,r(e)),i(e,"btn_rule_right",y,r(e)),i(e,"btn_rule_close",d,r(e)),i(e,"icon",D,r(e)),e.m_page=0,e.mData=null,e}n(e,t);var a=e.prototype;return a.initView=function(t){var e=this;this.mData=t,this.btn_rule_left.on(l.EventType.TOUCH_END,(function(){e.m_page-1<0||(e.m_page-=1),e.update_func(),e.updateBtnStatus(),s.Singleton.sys_click_button_music()})),this.btn_rule_right.on(l.EventType.TOUCH_END,(function(){e.m_page+1>=e.mData.length||(e.m_page+=1),e.update_func(),e.updateBtnStatus(),s.Singleton.sys_click_button_music()})),this.btn_rule_close.on(l.EventType.TOUCH_END,(function(){e.close(),s.Singleton.sys_click_button_music()})),this.mData.length<=0?this.m_page=0:this.m_page=this.mData.length-1,this.update_func(),this.updateBtnStatus()},a.show=function(){this.node.active=!0},a.close=function(){this.node.active=!1},a.updateBtnStatus=function(){this.mData.length<=1?(this.btn_rule_right.active=!1,this.btn_rule_left.active=!1):(this.btn_rule_right.active=!0,this.btn_rule_left.active=!0,this.m_page>=this.mData.length-1&&(this.btn_rule_right.active=!1),this.m_page<=0&&(this.btn_rule_left.active=!1))},a.update_func=function(){var t=this.mData[this.m_page];this.icon.getComponent(o).spriteFrame=s.getCacheSpriteFrameByName(t.res)},e}(c)).prototype,"btn_rule_left",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),y=e(b.prototype,"btn_rule_right",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),d=e(b.prototype,"btn_rule_close",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),D=e(b.prototype,"icon",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),m=b))||m));a._RF.pop()}}}));

System.register("chunks:///_virtual/sceme_type_select_item.ts",["./rollupPluginModLoBabelHelpers.js","cc","./data.ts"],(function(e){var t,n,i,c,a,l,r,o,u,s;return{setters:[function(e){t=e.applyDecoratedDescriptor,n=e.inheritsLoose,i=e.initializerDefineProperty,c=e.assertThisInitialized},function(e){a=e.cclegacy,l=e._decorator,r=e.Node,o=e.Toggle,u=e.Component},function(e){s=e.scene_item_data}],execute:function(){var _,p,h,m,f,b,d,k,y,g,v,C,w,z,D,T,E;a._RF.push({},"996b6zJIiZHppS6riBshW9o","sceme_type_select_item",void 0);var H=l.ccclass,S=l.property;e("sceme_type_select_item",(_=H("sceme_type_select_item"),p=S(r),h=S(r),m=S(r),f=S(r),b=S(r),d=S(r),k=S(r),_((v=t((g=function(e){function t(){for(var t,n=arguments.length,a=new Array(n),l=0;l<n;l++)a[l]=arguments[l];return t=e.call.apply(e,[this].concat(a))||this,i(t,"lab_name",v,c(t)),i(t,"check_mask",C,c(t)),i(t,"check",w,c(t)),i(t,"scenes_node",z,c(t)),i(t,"check_full",D,c(t)),i(t,"btn_add",T,c(t)),i(t,"btn_cancel",E,c(t)),t.m_data=new s("",0),t.m_call_back=null,t}n(t,e);var a=t.prototype;return a.initView=function(e){var t=this;this.m_call_back=e,this.btn_add.on(r.EventType.TOUCH_END,(function(){null!=t.m_call_back&&t.m_call_back(t.getData()),t.close()})),this.btn_cancel.on(r.EventType.TOUCH_END,(function(){t.close()})),this.check_full.on(r.EventType.TOUCH_END,(function(){t.updateStatus()})),this.updateStatus()},a.updateStatus=function(){this.check_full.getComponent(o).isChecked?(this.check_mask.active=!1,this.check.getComponent(o).isChecked=!1):this.check_mask.active=!0},a.getData=function(){return this.m_data.is_full_screen=this.check_full.getComponent(o).isChecked,this.m_data.is_check_mask=this.check.getComponent(o).isChecked,this.m_data},a.close=function(){this.node.removeFromParent()},t}(u)).prototype,"lab_name",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),C=t(g.prototype,"check_mask",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),w=t(g.prototype,"check",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),z=t(g.prototype,"scenes_node",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),D=t(g.prototype,"check_full",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),T=t(g.prototype,"btn_add",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),E=t(g.prototype,"btn_cancel",[k],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),y=g))||y));a._RF.pop()}}}));

System.register("chunks:///_virtual/scene_layer.ts",["./rollupPluginModLoBabelHelpers.js","cc","./scene_page.ts","./scene_page_dir.ts","./clientEvent.ts","./config.ts","./gameManager.ts"],(function(e){var t,n,i,s,o,a,c,r,l,_,u,h,g,d,p,m,v;return{setters:[function(e){t=e.applyDecoratedDescriptor,n=e.inheritsLoose,i=e.initializerDefineProperty,s=e.assertThisInitialized},function(e){o=e.cclegacy,a=e._decorator,c=e.Node,r=e.Prefab,l=e.AudioSource,_=e.instantiate,u=e.Widget,h=e.Component},function(e){g=e.scene_page},function(e){d=e.scene_page_dir},function(e){p=e.ClientEvent},function(e){m=e.config},function(e){v=e.gameManager}],execute:function(){var f,P,C,y,S,w,A,D,E;o._RF.push({},"19284OvHGdHcYMuzfHiEAjd","scene_layer",void 0);var k=a.ccclass,x=a.property,b=function(){this.event_item=void 0,this.is_finish=void 0};e("scene_layer",(f=k("scene_layer"),P=x(c),C=x(r),y=x(c),f((A=t((w=function(e){function t(){for(var t,n=arguments.length,o=new Array(n),a=0;a<n;a++)o[a]=arguments[a];return t=e.call.apply(e,[this].concat(o))||this,i(t,"content",A,s(t)),i(t,"scenePagePrefab",D,s(t)),i(t,"scenePageDir",E,s(t)),t.mSceneTask=null,t.mTaskEventItemList=new Map,t.mScenePages=[],t.mCurPage=0,t.mAudioList=new Map,t.up_id_string="_up",t.next_id_string="_next",t.is_show_cur_directionBtn=!1,t}n(t,e);var o=t.prototype;return o.start=function(){this.node.addComponent(l)},o.initSceneTask=function(e){this.mSceneTask=e,this.getTaskSwitchSceneEventList()},o.initScene=function(e,t){p.on(m.EventRun.NOTICE_EVENT,this.beActive.bind(this),this),this.mScenePages=e,this.initSceneDir(t),this.loadAllPage(),this.changeHideAllDirectionBtn()},o.unInit=function(){this.content.destroyAllChildren(),this.content.removeAllChildren(),this.mSceneTask=null,this.mTaskEventItemList.clear(),this.mScenePages=[],this.mCurPage=0,this.mAudioList.clear(),this.unscheduleAllCallbacks(),this.is_show_cur_directionBtn=!1,p.off(m.EventRun.NOTICE_EVENT,this.beActive.bind(this),this)},o.getAudioSource=function(){return null==this.node.getComponent(l)&&this.node.addComponent(l),this.node.getComponent(l)},o.beActive=function(e,t){var n=this;if(t.type===m.event_type.play_sound){var i=!0;v.Singleton.getLevelData()&&(i=!!v.getUserData().isOpenPeiYin),i&&null!=t.event_item_play_sound_data&&(null==t.event_item_play_sound_data.isLoop&&(t.event_item_play_sound_data.isLoop=!1),null==t.event_item_play_sound_data.volume&&(t.event_item_play_sound_data.volume=1),this.addAudioItemAndPlay(t.event_item_play_sound_data.sound_res.url,t.event_item_play_sound_data.volume,t.event_item_play_sound_data.isLoop))}else if(t.type===m.event_type.stop_play_loop_sound)null!=t.event_item_stop_play_loop_sound_data&&this.deleteAudioItem(t.event_item_stop_play_loop_sound_data.res);else if(t.type===m.event_type.more_scene_is_show_arrow_event){var s=t.event_item_more_scene_is_show_arrow_event_data;null!=s&&(this.is_show_cur_directionBtn=s.is_show,s.is_show?this.changeUpNextDirectionBtn():this.changeHideAllDirectionBtn(),v.Singleton.exeNextDelayEvent(t))}else if(t.type===m.event_type.more_scene_jump_assigned_page_event){var o=t.event_item_more_scene_jump_assigned_page_event_data;if(null!=o){var a=o.page_number-1;if(a>-1&&a<this.mScenePages.length){var c=o.interval_time;v.Singleton.onLaunch((function(){n.changePage(a),v.Singleton.exeNextDelayEvent(t)}),c)}}}else if(t.type===m.event_type.event_group){var r=t.event_item_event_group_data;null!=r&&r.list.length>0&&this.executeEventGroup(t,r)}},o.addAudioItemAndPlay=function(e,t,n){void 0===n&&(n=!1);var i=this.content,s=this.mAudioList.get(e);null==s&&((s=new c).parent=i,s.addComponent(l),this.mAudioList.set(e,s)),s.getComponent(l).clip=v.getCacheSoundByName(e),s.getComponent(l).play(),s.getComponent(l).volume=t,s.getComponent(l).loop=n},o.deleteAudioItem=function(e){var t=this.mAudioList.get(e);t&&(t.getComponent(l).stop(),t.removeFromParent(),this.mAudioList.delete(e))},o.changePage=function(e){this.mCurPage=e,this.onChangeUpdatePages(),this.changeUpNextDirectionBtn()},o.changeHideAllDirectionBtn=function(){this.scenePageDir.getComponent(d).hideAllBtn()},o.changeUpNextDirectionBtn=function(){0!=this.is_show_cur_directionBtn&&this.mScenePages.length>1&&(this.scenePageDir.getComponent(d).showAllBtn(),this.mCurPage<=0&&this.scenePageDir.getComponent(d).hideUpBtn(),this.mCurPage==this.mScenePages.length-1&&this.scenePageDir.getComponent(d).hideNextBtn())},o.onChangeUpdatePages=function(){for(var e=0;e<this.content.children.length;e++){var t=this.content.children[e];null!=t.getComponent(l)||(t.active=this.mCurPage==e)}},o.loadAllPage=function(){this.content.removeAllChildren();for(var e=0;e<this.mScenePages.length;e++){var t=this.mScenePages[e],n=_(this.scenePagePrefab);n.parent=this.content,n.getComponent(u).target=this.content,n.getComponent(g).initView(t)}this.changePage(0)},o.getCurScenePage=function(){return this.content.children[this.mCurPage].getComponent(g)},o.isCurScenePageCheckWidgetFinish=function(e){return this.getCurScenePage().checkFinish(e)},o.isCurScenePageCheckWidgetShow=function(e){return this.getCurScenePage().checkShow(e)},o.onUp=function(){var e=this,t=this.mCurPage,n=this.mCurPage-1;n>=0&&v.Singleton.onLaunch((function(){e.changePage(n),e.onClickCurPageDirectionButton(t,!0)}))},o.onNext=function(){var e=this,t=this.mCurPage,n=this.mCurPage+1;n<this.mScenePages.length&&v.Singleton.onLaunch((function(){e.changePage(n),e.onClickCurPageDirectionButton(t,!1)}))},o.onClickCurPageDirectionButton=function(e,t){if(null!=this.mSceneTask){var n=-1,i=e+"";i+=t?this.up_id_string:this.next_id_string;var s=this.mTaskEventItemList.get(i);null!=s&&0==s.is_finish&&(n=s.event_item.event_id),-1!=n&&this.checkDelayTimeNextEvent(n,s)}},o.checkDelayTimeNextEvent=function(e,t){var n=this;if(null!=t){var i=t.event_item,s=i.event_item_switch_scene_event_data,o=i.success.trigger_event_id;if(-1!=o){var a=function(){v.Singleton.exeSuccessTriggerEvent(o)};if(s.delay_time>0){this.changeHideAllDirectionBtn();var c=s.delay_time;this.scheduleOnce((function(){i.event_item_switch_scene_event_data.executeOnlyOnce&&(t.is_finish=!0),a(),n.changeUpNextDirectionBtn()}),c)}else a()}}},o.getTaskSwitchSceneEventList=function(){if(null!=this.mSceneTask)for(var e=0;e<this.mSceneTask.event_list.length;e++){var t=this.mSceneTask.event_list[e],n=t.event_item_switch_scene_event_data;if(t.type==m.event_type.switch_scene_event&&null!=n&&-1!=n.binding_page_index&&n.direction!=m.switch_scene_page_direction.unknown){var i=n.binding_page_index+"";n.direction==m.switch_scene_page_direction.up||n.direction==m.switch_scene_page_direction.left?i+=this.up_id_string:i+=this.next_id_string;var s=new b;s.event_item=t,s.is_finish=!1,this.mTaskEventItemList.set(i,s)}}},o.initSceneDir=function(e){this.mScenePages.length>1?this.scenePageDir.getComponent(d).initView(e,this.onUp.bind(this),this.onNext.bind(this)):this.scenePageDir.getComponent(d).hideAllBtn()},o.executeEventGroup=function(e,t){var n=this,i=0,s=t.list[i];this.runEventGrop(s,(function o(){++i>=t.list.length?v.Singleton.exeSuccessTriggerEvent(e.success.trigger_event_id):(s=t.list[i],n.runEventGrop(s,o))}))},o.runEventGrop=function(e,t){this.scheduleOnce((function(){v.Singleton.exeEvent(e.event_item.event_id),t()}),e.delay_time)},t}(h)).prototype,"content",[P],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),D=t(w.prototype,"scenePagePrefab",[C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),E=t(w.prototype,"scenePageDir",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),S=w))||S));o._RF.pop()}}}));

System.register("chunks:///_virtual/scene_page_dir.ts",["./rollupPluginModLoBabelHelpers.js","cc","./config.ts"],(function(t){var n,e,i,l,a,c,r,o,s;return{setters:[function(t){n=t.applyDecoratedDescriptor,e=t.inheritsLoose,i=t.initializerDefineProperty,l=t.assertThisInitialized},function(t){a=t.cclegacy,c=t._decorator,r=t.Node,o=t.Component},function(t){s=t.config}],execute:function(){var u,_,h,p,f,b,g,v,d,y,m;a._RF.push({},"3eaa7iRcKtDP7htLfPzX7fR","scene_page_dir",void 0);var B=c.ccclass,w=c.property;t("scene_page_dir",(u=B("scene_page_dir"),_=w(r),h=w(r),p=w(r),f=w(r),u((v=n((g=function(t){function n(){for(var n,e=arguments.length,a=new Array(e),c=0;c<e;c++)a[c]=arguments[c];return n=t.call.apply(t,[this].concat(a))||this,i(n,"btn_left",v,l(n)),i(n,"btn_right",d,l(n)),i(n,"btn_up",y,l(n)),i(n,"btn_down",m,l(n)),n.mLeftCallBack=null,n.mRightCallBack=null,n.mType=0,n}e(n,t);var a=n.prototype;return a.initView=function(t,n,e){var i=this;this.mLeftCallBack=n,this.mRightCallBack=e,this.btn_left.active=!1,this.btn_right.active=!1,this.btn_down.active=!1,this.mType=t,this.btn_up.active=!1,t===s.Scene_Type_List.single_screen||(t===s.Scene_Type_List.many_screen_switch_up_down?(this.btn_down.active=!0,this.btn_up.active=!0):(this.btn_left.active=!0,this.btn_right.active=!0)),this.btn_up.on(r.EventType.TOUCH_END,(function(){null!=i.mLeftCallBack&&i.mLeftCallBack()})),this.btn_down.on(r.EventType.TOUCH_END,(function(){null!=i.mRightCallBack&&i.mRightCallBack()})),this.btn_left.on(r.EventType.TOUCH_END,(function(){null!=i.mLeftCallBack&&i.mLeftCallBack()})),this.btn_right.on(r.EventType.TOUCH_END,(function(){null!=i.mRightCallBack&&i.mRightCallBack()}))},a.hideUpBtn=function(){this.btn_left.active=!1,this.btn_up.active=!1},a.hideNextBtn=function(){this.btn_right.active=!1,this.btn_down.active=!1},a.hideAllBtn=function(){this.hideUpBtn(),this.hideNextBtn()},a.showAllBtn=function(){this.mType===s.Scene_Type_List.many_screen_switch_up_down?(this.btn_down.active=!0,this.btn_up.active=!0):(this.btn_left.active=!0,this.btn_right.active=!0)},n}(o)).prototype,"btn_left",[_],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),d=n(g.prototype,"btn_right",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),y=n(g.prototype,"btn_up",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),m=n(g.prototype,"btn_down",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),b=g))||b));a._RF.pop()}}}));

System.register("chunks:///_virtual/scene_page.ts",["./rollupPluginModLoBabelHelpers.js","cc","./data.ts","./config.ts","./tools.ts","./gameManager.ts","./widget_base.ts","./clientEvent.ts","./widget_drag.ts"],(function(t){var i,e,n,o,a,r,s,_,l,h,g,c,u,d,m,p,f,v,w,b,y,A,T,L,C,S,z;return{setters:[function(t){i=t.applyDecoratedDescriptor,e=t.inheritsLoose,n=t.initializerDefineProperty,o=t.assertThisInitialized},function(t){a=t.cclegacy,r=t._decorator,s=t.Node,_=t.Prefab,l=t.Widget,h=t.Vec3,g=t.instantiate,c=t.Sprite,u=t.UITransform,d=t.Size,m=t.Tween,p=t.Color,f=t.tween,v=t.UIOpacity,w=t.ScrollView,b=t.Component},function(t){y=t.event_item_delete_drag_other},function(t){A=t.config},function(t){T=t.tools},function(t){L=t.gameManager},function(t){C=t.widget_base},function(t){S=t.ClientEvent},function(t){z=t.widget_drag}],execute:function(){var W,E,I,D,O,P,k,B,N,R,M,V,F,H,Y,x,G,U,Z;a._RF.push({},"d027c8hym1JgIO/d47b9ijJ","scene_page",void 0);var X=r.ccclass,j=r.property,J=function(){this.color=void 0,this.opacity=void 0,this.size=void 0,this.pos=void 0,this.rotation=void 0,this.anchorPointX=void 0,this.anchorPointY=void 0};t("scene_page",(W=X("scene_page"),E=j(s),I=j(s),D=j(s),O=j(_),P=j(_),k=j(_),B=j(_),N=j(_),W((V=i((M=function(t){function i(){for(var i,e=arguments.length,a=new Array(e),r=0;r<e;r++)a[r]=arguments[r];return i=t.call.apply(t,[this].concat(a))||this,n(i,"scroll_view",V,o(i)),n(i,"content",F,o(i)),n(i,"maskView",H,o(i)),n(i,"widget_click_prefab",Y,o(i)),n(i,"widget_drag_prefab",x,o(i)),n(i,"widget_slide_prefab",G,o(i)),n(i,"widget_img_prefab",U,o(i)),n(i,"widget_animation_prefab",Z,o(i)),i.mData=null,i.mIsMask=!1,i.mSceneAtt=null,i.mWidgetList=new Map,i.bindTarget=null,i.mAnimationList=[],i.mCurRunAnimation=[],i.mCurAnimation=null,i.mPlayStatus=!1,i}e(i,t);var a=i.prototype;return a.initView=function(t){this.mData=t,this.mIsMask=this.mData.is_check_mask,this.mSceneAtt=this.mData.att,this.mData.is_full_screen?this.content.getComponent(l).enabled=!0:this.content.getComponent(l).enabled=!1,this.content.position=h.ZERO,this.mAnimationList=this.mSceneAtt.animation_list,console.log("scene_page this.mAnimationList",this.mAnimationList),this.mIsMask?this.maskView.active=!0:this.maskView.active=!1,this.initViewAtt(),S.on(A.EventRun.NOTICE_EVENT,this.widgetBeActive.bind(this),this),S.on(A.EventRun.SHOW_ZHAO_BU_TONG_FINISH_STATUS,this.on_zhao_bu_tong_finish.bind(this),this),S.on(A.EventRun.ON_ZHAO_BU_TONG_ALL_FINISH,this.on_zhao_bu_tong_all_finish.bind(this),this)},a.checkFinish=function(t){var i=this.mWidgetList.get(t);return i?i.getComponent(C).getIsFinish():(T.showToast("配置监听其他控件错误"),!0)},a.checkShow=function(t){var i=this.mWidgetList.get(t);return!i||i.getComponent(C).getIsShow()},a.onDestroy=function(){this.mWidgetList.clear(),S.off(A.EventRun.SHOW_ZHAO_BU_TONG_FINISH_STATUS,this.on_zhao_bu_tong_finish.bind(this),this),S.off(A.EventRun.ON_ZHAO_BU_TONG_ALL_FINISH,this.on_zhao_bu_tong_all_finish.bind(this),this),S.off(A.EventRun.NOTICE_EVENT,this.widgetBeActive.bind(this),this)},a.widgetBeActive=function(t,i){var e=this.mWidgetList.get(t);if(e&&e.getComponent(C).beActive(t,i),console.log("scene_page =",i.type),i.type===A.event_type.scene_ani){var n=i.event_item_scene_ani.ani_id;if(this.mCurAnimation=this.getAniById(n),!this.mCurAnimation)return T.showToast("错误的动画配置！id:"+this.mData.att.id+"-请检查");this.mCurRunAnimation=this.mCurAnimation.ani_frame_list,this.mCurRunAnimation.length<2||this.runAnimation()}else if(i.type===A.event_type.delete_drag_other_data)this.eventDeleteDragOtherData(i);else if(i.type===A.event_type.active_event){var o=i.event_item_active_event_data;this.eventMoreBindingWidgetList(o,i)}else if(i.type===A.event_type.stop_active_event){var a=i.event_item_stop_active_event_data;this.eventMoreBindingWidgetList(a,i)}else if(i.type===A.event_type.hide){var r=i.event_item_hide_data;this.eventMoreBindingWidgetList(r,i)}},a.eventDeleteDragOtherData=function(t){var i=t.event_item_delete_drag_other_data.widget_id,e=t.event_item_delete_drag_other_data.delete_drag_other_index,n=t.event_item_delete_drag_other_data.widget_list;if(0==n.length){var o=this.mWidgetList.get(i);o&&o.getComponent(z).deleteOtherDrag(e)}else{var a=JSON.parse(JSON.stringify(n)),r=new y;r.widget_id=i,r.delete_drag_other_index=e,a.unshift(r);for(var s=new Map,_=0;_<a.length;_++){var l=a[_],h=l.widget_id,g=l.delete_drag_other_index;if(-1!=g){var c=this.mWidgetList.get(h);if(c){var u=0;if(null==s.get(h))s.set(h,0);else u=s.get(h)+1,s.set(h,u);var d=g-u;c.getComponent(z).deleteOtherDrag(d)}}}}},a.eventMoreBindingWidgetList=function(t,i){if(null!=t){if(null==t.binding_widget_list||0==t.binding_widget_list.length)return;for(var e=0;e<t.binding_widget_list.length;e++){var n=t.binding_widget_list[e].binding_widget_id,o=this.mWidgetList.get(n);-1!=n&&o&&o.getComponent(C).beActive(n,i)}}},a.on_zhao_bu_tong_finish=function(t){var i=this.mWidgetList.get(t.widget_id);if(null===i)return T.showToast("配置找茬错误！");i.getComponent(C).showZhaoButongFinishStatus()},a.on_zhao_bu_tong_all_finish=function(t){for(var i=L.getWidgetList(this.mData),e=0;e<i.length;e++){var n=i[e];if(n.type==A.Widget_Type_List.CLICK_TYPE||n.type==A.Widget_Type_List.SLIDE_TYPE||n.type==A.Widget_Type_List.DRAG_TYPE)this.mWidgetList.get(n.att.id).getComponent(C).hideZhaoButongFinishStatus()}},a.initViewAtt=function(){this.mData.is_full_screen||(this.initPos(),this.initSize()),this.initBG(),this.initWidgetList()},a.initWidgetList=function(){for(var t=L.getWidgetList(this.mData).sort((function(t,i){return t.att.z-i.att.z})),i=function(t){var i=L.Singleton.mSceneManager.getSceneTask()._guo_ju_qing_dai_dao_ju;if(null==i)return!1;for(var e=0;e<i.widget_list.length;e++){if(t==i.widget_list[e].widget_id)return!0}return!1},e=0;e<t.length;e++){var n=t[e],o=null;switch(n.type){case A.Widget_Type_List.CLICK_TYPE:o=g(this.widget_click_prefab);break;case A.Widget_Type_List.SLIDE_TYPE:o=g(this.widget_slide_prefab);break;case A.Widget_Type_List.DRAG_TYPE:i(n.att.id)||(o=g(this.widget_drag_prefab));break;case A.Widget_Type_List.IMG_TYPE:o=g(this.widget_img_prefab);break;case A.Widget_Type_List.ACTION_TYPE:o=g(this.widget_animation_prefab)}if(o){var a=o.getComponent(C);null===a?console.log("error--widget_data.type:",n.type):(o.name="type"+n.type+"-id"+n.att.id,a.initView(n),o.parent=this.content,this.mWidgetList.set(n.att.id,o))}}},a.getBG=function(){return this.content},a.initBG=function(){this.mSceneAtt.src.length>0&&T.loadUrl(this.mSceneAtt.src,this.content.getComponent(c))},a.initSize=function(){this.content.getComponent(u).contentSize=new d(this.mSceneAtt.width,this.mSceneAtt.height)},a.initPos=function(){this.content.position=new h(this.mSceneAtt.x,this.mSceneAtt.y)},a.runAnimation=function(){var t=this;null!=this.bindTarget&&(m.stopAllByTarget(this.bindTarget),this.bindTarget=null);var i=function(i){return{cur_frame:t.mCurRunAnimation[i],up_frame:i>0?t.mCurRunAnimation[i-1]:t.mCurRunAnimation[0]}},e=0,n=i(e);this.runFrame(n.cur_frame,n.up_frame,(function n(){if(++e>=t.mCurRunAnimation.length){if(!t.mCurAnimation.isLoop)return void(t.mPlayStatus=!1);e=0}var o=i(e);t.runFrame(o.cur_frame,o.up_frame,n)}))},a.runFrame=function(t,i,e){var n=this,o=t.next_time,a=new h(t.pos_x,t.pos_y),r=new p;r=r.fromHEX(t.color),this.bindTarget=new J;var s=null==i.rotation?0:i.rotation;this.bindTarget.rotation=s,this.bindTarget.color=(new p).fromHEX(i.color),this.bindTarget.opacity=i.transparent,this.bindTarget.size=new d(i.size_width,i.size_height),this.bindTarget.pos=new h(i.pos_x,i.pos_y),this.bindTarget.anchorPointX=null==i.anchor_point_x?.5:i.anchor_point_x,this.bindTarget.anchorPointY=null==i.anchor_point_y?.5:i.anchor_point_y,f(this.bindTarget).to(o,{pos:a,color:r,opacity:t.transparent,size:new d(t.size_width,t.size_height),rotation:t.rotation,anchorPointX:t.anchor_point_x,anchorPointY:t.anchor_point_y},{onUpdate:function(t){n.content.getComponent(c).color=t.color,n.content.getComponent(v).opacity=t.opacity,n.content.position=t.pos,n.content.angle=t.rotation,n.content.getComponent(u).setAnchorPoint(t.anchorPointX,t.anchorPointY)}}).call((function(){e()})).start()},a.startScrollTouch=function(){null!=this.maskView&&(this.scroll_view.getComponent(w).horizontal=!0,this.scroll_view.getComponent(w).vertical=!0)},a.stopScrollTouch=function(){null!=this.maskView&&(this.scroll_view.getComponent(w).horizontal=!1,this.scroll_view.getComponent(w).vertical=!1)},a.getAniById=function(t){if(this.mAnimationList.length>0)for(var i=0;i<this.mAnimationList.length;i++){var e=this.mAnimationList[i];if(t==e.ani_id)return e}return null},i}(b)).prototype,"scroll_view",[E],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),F=i(M.prototype,"content",[I],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),H=i(M.prototype,"maskView",[D],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),Y=i(M.prototype,"widget_click_prefab",[O],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),x=i(M.prototype,"widget_drag_prefab",[P],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),G=i(M.prototype,"widget_slide_prefab",[k],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),U=i(M.prototype,"widget_img_prefab",[B],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),Z=i(M.prototype,"widget_animation_prefab",[N],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),R=M))||R));a._RF.pop()}}}));

System.register("chunks:///_virtual/scene_select_list_item.ts",["./rollupPluginModLoBabelHelpers.js","cc","./tools.ts"],(function(t){var n,e,i,a,l,o,_,c,s,u,r,m;return{setters:[function(t){n=t.applyDecoratedDescriptor,e=t.inheritsLoose,i=t.initializerDefineProperty,a=t.assertThisInitialized},function(t){l=t.cclegacy,o=t._decorator,_=t.Node,c=t.Label,s=t.Sprite,u=t.Color,r=t.Component},function(t){m=t.tools}],execute:function(){var b,p,d,h,f,y,v,g,k,w,C,D,E;l._RF.push({},"8b2fb8u58BFRqFUnozzIHt+","scene_select_list_item",void 0);var L=o.ccclass,T=o.property;t("scene_select_list_item",(b=L("scene_select_list_item"),p=T(_),d=T(_),h=T(_),f=T(_),y=T(_),b((k=n((g=function(t){function n(){for(var n,e=arguments.length,l=new Array(e),o=0;o<e;o++)l[o]=arguments[o];return n=t.call.apply(t,[this].concat(l))||this,i(n,"lab_name",k,a(n)),i(n,"btn_up",w,a(n)),i(n,"btn_down",C,a(n)),i(n,"btn_copy",D,a(n)),i(n,"btn_modify_name",E,a(n)),n.m_data=null,n.m_is_select=!1,n.m_call_back=null,n.m_dataListLength=0,n.m_index=0,n.m_move_call_back=null,n.m_copy_call_back=null,n}e(n,t);var l=n.prototype;return l.start=function(){var t=this;this.node.on(_.EventType.TOUCH_END,(function(){null!=t.m_call_back&&t.m_call_back(t)})),this.btn_up.on(_.EventType.TOUCH_END,(function(){null!=t.m_move_call_back&&t.m_move_call_back(t,!0)})),this.btn_down.on(_.EventType.TOUCH_END,(function(){null!=t.m_move_call_back&&t.m_move_call_back(t,!1)})),this.btn_copy.on(_.EventType.TOUCH_END,(function(){null!=t.m_copy_call_back&&t.m_copy_call_back(t)})),this.btn_modify_name.on(_.EventType.TOUCH_END,(function(){m.show_dialog_input(t.m_data.scene_diy_name,(function(n){t.m_data.scene_diy_name=n,t.lab_name.getComponent(c).string=t.m_data.scene_diy_name}))}))},l.initView=function(t,n,e,i){this.m_dataListLength=t,this.m_data=n,this.m_call_back=e,this.m_call_back=e,this.m_index=i,this.lab_name.getComponent(c).string=this.m_data.scene_diy_name,this.updatSelectStatus(),this.updateUpDownBtnStatus()},l.moveCallback=function(t){this.m_move_call_back=t},l.copyCallback=function(t){this.m_copy_call_back=t},l.getIndex=function(){return this.m_index},l.setIsSelect=function(t){this.m_is_select=t},l.updatSelectStatus=function(){this.m_is_select?this.node.getComponent(s).color=u.YELLOW:this.node.getComponent(s).color=u.GRAY},l.updateUpDownBtnStatus=function(){0==this.m_index?this.btn_up.active=!1:this.btn_up.active=!0,this.m_index>=this.m_dataListLength-1?this.btn_down.active=!1:this.btn_down.active=!0},l.getSelect=function(){return this.m_is_select},l.getData=function(){return this.m_data},n}(r)).prototype,"lab_name",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),w=n(g.prototype,"btn_up",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),C=n(g.prototype,"btn_down",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),D=n(g.prototype,"btn_copy",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),E=n(g.prototype,"btn_modify_name",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),v=g))||v));l._RF.pop()}}}));

System.register("chunks:///_virtual/scene_select_list.ts",["./rollupPluginModLoBabelHelpers.js","cc","./scene_select_list_item.ts","./clientEvent.ts","./config.ts","./tools.ts"],(function(e){var t,n,i,c,s,o,l,a,r,_,u,d,h,p;return{setters:[function(e){t=e.applyDecoratedDescriptor,n=e.inheritsLoose,i=e.initializerDefineProperty,c=e.assertThisInitialized},function(e){s=e.cclegacy,o=e._decorator,l=e.Prefab,a=e.Node,r=e.instantiate,_=e.Component},function(e){u=e.scene_select_list_item},function(e){d=e.ClientEvent},function(e){h=e.config},function(e){p=e.tools}],execute:function(){var g,f,m,v,S,b,C;s._RF.push({},"777d6Qs7edI0INQi+yPDeOW","scene_select_list",void 0);var y=o.ccclass,I=o.property;e("scene_select_list",(g=y("scene_select_list"),f=I(l),m=I(a),g((b=t((S=function(e){function t(){for(var t,n=arguments.length,s=new Array(n),o=0;o<n;o++)s[o]=arguments[o];return t=e.call.apply(e,[this].concat(s))||this,i(t,"scene_select_list_item_prefab",b,c(t)),i(t,"content",C,c(t)),t.cur_select_index=0,t.m_main=null,t}n(t,e);var s=t.prototype;return s.initView=function(e){this.m_main=e,this.content.removeAllChildren(),this.onUpdateSceneList(),d.off(h.Event.UpdateSceneList,this.onUpdateSceneList,this),d.on(h.Event.UpdateSceneList,this.onUpdateSceneList,this)},s.onUpdateSceneList=function(e){void 0===e&&(e=!1);var t=this.m_main.control_view.get_bag_data().content;0==e&&(this.cur_select_index=t.length>0?t.length-1:0),this.content.removeAllChildren();for(var n=0;n<t.length;n++){var i=t[n],c=r(this.scene_select_list_item_prefab);c.parent=this.content;var s=c.getComponent(u);s.initView(t.length,i,this.onItemSelect.bind(this),n),s.moveCallback(this.onItemMoveClick.bind(this)),s.copyCallback(this.onItemCopyClick.bind(this))}this.updaetSelectStatus()},s.onItemSelect=function(e){e.getSelect()||(this.cur_select_index=e.getIndex(),this.updaetSelectStatus())},s.onItemMoveClick=function(e,t){var n=this.m_main.control_view.get_bag_data().content,i=e.getIndex(),c=n[i],s=-1;if(t?(s=i-1,e.getSelect()?this.cur_select_index-=1:this.cur_select_index+=1):(s=i+1,e.getSelect()?this.cur_select_index+=1:this.cur_select_index-=1),-1!=s){var o=n[s];n[i]=o,n[s]=c,this.onUpdateSceneList(!0)}},s.onItemCopyClick=function(e){var t=this,n=e.getIndex(),i=this.m_main.control_view.get_bag_data().content[n];p.show_copy_scene(i.scene_diy_name,(function(e,n){var c=JSON.parse(JSON.stringify(i));c.scene_diy_name=e;for(var s=0;s<c.page_list.length;s++){var o=c.page_list[s];o.att.id=h.getNewId();for(var l=0;l<o.page_list.length;l++){o.page_list[l].att.id=o.att.id}for(var a=0;a<o.page_widget_list.length;a++){o.page_widget_list[a].att.id=h.getNewId()}}t.m_main.control_view.push_scene_data(c),t.onUpdateSceneList(),n.close()}))},s.updaetSelectStatus=function(){for(var e=0;e<this.content.children.length;e++){var t=this.content.children[e];t.getComponent(u).setIsSelect(t.getComponent(u).getIndex()==this.cur_select_index),t.getComponent(u).updatSelectStatus()}d.dispatchEvent(h.Event.UpdateEditScene)},s.getCurSelectScene=function(){return this.content.children.length<=0?null:this.content.children[this.cur_select_index].getComponent(u).getData()},s.getCurSelectSceneIndex=function(){return this.cur_select_index},t}(_)).prototype,"scene_select_list_item_prefab",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),C=t(S.prototype,"content",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),v=S))||v));s._RF.pop()}}}));

System.register("chunks:///_virtual/scene_task.ts",["./rollupPluginModLoBabelHelpers.js","cc","./tools.ts","./clientEvent.ts","./config.ts","./data.ts","./event_item_view.ts","./task_zhao_xi_jie.ts","./task_guo_ren_wu.ts","./task_da_boss.ts","./Search.ts","./task_dai_dao_ju.ts"],(function(e){var t,_,a,n,i,s,o,u,d,r,c,v,l,p,g,h,k,m,b,w,f,y,j,C,q,E,z,x,T,S,V,D,L,U,B,I,O,N,H,A,M,P,F,R,Y,W,X,Z,G,J,K,Q,$,ee,te,_e;return{setters:[function(e){t=e.applyDecoratedDescriptor,_=e.inheritsLoose,a=e.initializerDefineProperty,n=e.assertThisInitialized},function(e){i=e.cclegacy,s=e._decorator,o=e.Node,u=e.Prefab,d=e.Label,r=e.ScrollView,c=e.instantiate,v=e.UITransform,l=e.Component,p=e.Vec2,g=e.tween},function(e){h=e.tools},function(e){k=e.ClientEvent},function(e){m=e.config},function(e){b=e.task_data,w=e.guo_ju_qing_dai_dao_ju,f=e.zhao_xi_jie_data,y=e.guo_ju_qing_not_rule_data,j=e.guo_ju_qing_data,C=e.da_guai_data,q=e.event_item,E=e.event_group_event_item,z=e.event_item_more_scene_jump_assigned_page_event,x=e.event_item_more_scene_is_show_arrow_event,T=e.event_item_switch_scene_event,S=e.event_item_stop_play_loop_sound,V=e.event_item_delete_drag_other,D=e.event_item_scene_ani,L=e.event_item_show_scene_title,U=e.event_item_play_sound,B=e.event_item_fail_event,I=e.event_item_delay_exe_event,O=e.event_item_hide,N=e.event_item_be_event,H=e.event_item_countdown_over,A=e.event_stop_active_event_item,M=e.event_active_event_item,P=e.event_start_event_item,F=e.event_collect_event_item,R=e.event_item_show_question_select,Y=e.event_item_show_new_item,W=e.event_item_change_one_item_status,X=e.event_item_text_sound,Z=e.event_item_top_view_hide,G=e.event_item_top_view,J=e.event_item_play_ani},function(e){K=e.event_item_view},function(e){Q=e.task_zhao_xi_jie},function(e){$=e.task_guo_ren_wu},function(e){ee=e.task_da_boss},function(e){te=e.Search},function(e){_e=e.task_dai_dao_ju}],execute:function(){var ae,ne,ie,se,oe,ue,de,re,ce,ve,le,pe,ge,he,ke,me,be,we,fe,ye,je,Ce,qe,Ee,ze,xe,Te;i._RF.push({},"cf9ebNol79CYLWs46eYZXtn","scene_task",void 0);var Se=s.ccclass,Ve=s.property;e("scene_task",(ae=Se("scene_task"),ne=Ve(o),ie=Ve(o),se=Ve(o),oe=Ve(o),ue=Ve(u),de=Ve(o),re=Ve(o),ce=Ve(o),ve=Ve(o),le=Ve(o),pe=Ve(o),ge=Ve(o),ae((me=t((ke=function(e){function t(){for(var t,_=arguments.length,i=new Array(_),s=0;s<_;s++)i[s]=arguments[s];return t=e.call.apply(e,[this].concat(i))||this,a(t,"btn_add_task",me,n(t)),a(t,"lab_task_title",be,n(t)),a(t,"btn_add_event",we,n(t)),a(t,"event_content",fe,n(t)),a(t,"event_item_prefab",ye,n(t)),a(t,"btn_update",je,n(t)),a(t,"btn_edit_event",Ce,n(t)),a(t,"task_zhao_xi_jie",qe,n(t)),a(t,"task_guo_ju_qing",Ee,n(t)),a(t,"task_da_guai",ze,n(t)),a(t,"task_guo_ju_qing_dai_dao_ju",xe,n(t)),a(t,"search_node",Te,n(t)),t.m_edit_scene=null,t.isUpdateStatus=!1,t}_(t,e);var i=t.prototype;return i.start=function(){var e=this;this.btn_add_task.on(o.EventType.TOUCH_END,(function(){h.show_add_task((function(t){e.addTask(t)}))})),this.btn_add_event.on(o.EventType.TOUCH_END,(function(){h.show_add_event((function(t,_){e.addEvent(t,_)}))})),this.btn_update.on(o.EventType.TOUCH_END,(function(){e.isUpdateStatus?h.showToast("正在刷新请稍后！"):(e.isUpdateStatus=!0,e.scheduleOnce((function(){e.UpdateEditScene(),e.isUpdateStatus=!1}),1))})),this.btn_edit_event.on(o.EventType.TOUCH_END,(function(){h.show_edit_event_view()})),this.search_node.getComponent(te).searchClick((function(t){e.searchContentLocationList(!0,t)}),(function(t){e.searchContentLocationList(!1,t)})),k.on(m.Event.BackLevelList,this.backLevelList.bind(this),this)},i.initView=function(e){this.m_edit_scene=e,this.lab_task_title.getComponent(d).string="",this.UpdateEditScene(),k.on(m.Event.UpdateEditScene,this.UpdateEditScene,this)},i.backLevelList=function(){k.off(m.Event.UpdateEditScene,this.UpdateEditScene,this)},i.UpdateEditScene=function(){this.btn_add_task.active=!1,this.btn_add_event.active=!1,this.btn_update.active=!1,this.btn_edit_event.active=!1,this.task_zhao_xi_jie.active=!1,this.task_guo_ju_qing.active=!1,this.task_guo_ju_qing_dai_dao_ju.active=!1,this.task_da_guai.active=!1;var e=this.m_edit_scene.getCurEditBaseView();if(this.event_content.removeAllChildren(),this.lab_task_title.getComponent(d).string="",null!=e){this.btn_update.active=!0,this.btn_edit_event.active=!0;var t=e.getData();if(t._task_data)switch(this.btn_add_task.active=!1,this.btn_add_event.active=!0,this.lab_task_title.getComponent(d).string=m.task_type_map.get(t._task_data.type),this.initSceneAllEvent(),t._task_data.type){case m.task_type.da_guai:this.task_da_guai.active=!0,this.task_da_guai.getComponent(ee).updateView(t._task_data._da_guai);break;case m.task_type.guo_ju_qing:this.task_guo_ju_qing.active=!0,this.task_guo_ju_qing.getComponent($).updateView(t._task_data._guo_ju_qing);break;case m.task_type.guo_ju_qing_not_rule:break;case m.task_type.zhao_xi_jie:this.task_zhao_xi_jie.active=!0,this.task_zhao_xi_jie.getComponent(Q).updateView(t._task_data._zhao_xi_jie_data);break;case m.task_type.guo_ju_qing_dai_dao_ju:this.task_guo_ju_qing_dai_dao_ju.active=!0,this.task_guo_ju_qing_dai_dao_ju.getComponent(_e).updateView(t._task_data._guo_ju_qing_dai_dao_ju)}else this.btn_add_task.active=!0,this.btn_add_event.active=!1}},i.onEnable=function(){},i.initSceneAllEvent=function(){for(var e=this.getTaskData(),t=0;t<e.event_list.length;t++){var _=e.event_list[t];this.addEventItemView(_.type,_)}this.node.getComponent(r).scrollToTop()},i.addTask=function(e){var t=this.m_edit_scene.getCurEditBaseView();if(null!=t){var _=t.getData();switch(_._task_data||(_._task_data=new b,_._task_data.type=e),this.btn_add_task.active=!1,this.btn_add_event.active=!0,e){case m.task_type.da_guai:null==_._task_data._da_guai&&(_._task_data._da_guai=new C),this.task_da_guai.active=!0,this.task_da_guai.getComponent(ee).updateView(_._task_data._da_guai);break;case m.task_type.guo_ju_qing:null==_._task_data._guo_ju_qing&&(_._task_data._guo_ju_qing=new j),this.task_guo_ju_qing.active=!0,this.task_guo_ju_qing.getComponent($).updateView(_._task_data._guo_ju_qing);break;case m.task_type.guo_ju_qing_not_rule:null==_._task_data._guo_ju_qing_not_rule_data&&(_._task_data._guo_ju_qing_not_rule_data=new y);break;case m.task_type.zhao_xi_jie:null==_._task_data._zhao_xi_jie_data&&(_._task_data._zhao_xi_jie_data=new f),this.task_zhao_xi_jie.active=!0,this.task_zhao_xi_jie.getComponent(Q).updateView(_._task_data._zhao_xi_jie_data);break;case m.task_type.guo_ju_qing_dai_dao_ju:null==_._task_data._guo_ju_qing_dai_dao_ju&&(_._task_data._guo_ju_qing_dai_dao_ju=new w),this.task_guo_ju_qing_dai_dao_ju.active=!0,this.task_guo_ju_qing_dai_dao_ju.getComponent(_e).updateView(_._task_data._guo_ju_qing_dai_dao_ju)}this.lab_task_title.getComponent(d).string=m.task_type_map.get(_._task_data.type)}},i.getTaskData=function(){var e=this.m_edit_scene.getCurEditBaseView();if(null!=e){var t=e.getData();if(t._task_data)return t._task_data}return null},i.addEventItemView=function(e,t){var _=c(this.event_item_prefab);_.parent=this.event_content,_.getComponent(K).initView(e,t,this.onDeleteItem.bind(this))},i.addEvent=function(e,t){var _=this.getTaskData();if(null===_)return h.showToast("当前没有任务，可以添加事件！");var a=new q;switch(a.type=e,a.event_name=t,a.event_id=m.getNewId(),e){case m.event_type.play_ani:a.event_item_play_ani_data=new J;break;case m.event_type.top_view:a.event_item_top_view_data=new G;break;case m.event_type.top_view_hide:a.event_item_top_view_hide_data=new Z;break;case m.event_type.text_sound:a.event_item_text_sound_data=new X;break;case m.event_type.change_one_item_status:a.event_item_change_one_item_status_data=new W;break;case m.event_type.show_new_item:a.event_item_show_new_item_data=new Y;break;case m.event_type.show_question_select:a.event_item_show_question_select_data=new R;break;case m.event_type.collect_event:a.event_item_collect_event_data=new F;break;case m.event_type.start_event:a.event_item_start_event_data=new P;break;case m.event_type.active_event:a.event_item_active_event_data=new M;break;case m.event_type.stop_active_event:a.event_item_stop_active_event_data=new A;break;case m.event_type.countdown_over:a.event_item_countdown_over_data=new H;break;case m.event_type.be_event:a.event_item_be_event_data=new N;break;case m.event_type.hide:a.event_item_hide_data=new O;break;case m.event_type.delay_exe_event:a.event_item_delay_exe_data=new I;break;case m.event_type.fail_event:a.event_item_fail_event_data=new B;break;case m.event_type.play_sound:a.event_item_play_sound_data=new U;break;case m.event_type.show_scene_title:a.event_item_show_scene_title_data=new L;break;case m.event_type.scene_ani:a.event_item_scene_ani=new D;break;case m.event_type.delete_drag_other_data:a.event_item_delete_drag_other_data=new V;break;case m.event_type.stop_play_loop_sound:a.event_item_stop_play_loop_sound_data=new S;break;case m.event_type.switch_scene_event:a.event_item_switch_scene_event_data=new T;break;case m.event_type.more_scene_is_show_arrow_event:a.event_item_more_scene_is_show_arrow_event_data=new x;break;case m.event_type.more_scene_jump_assigned_page_event:a.event_item_more_scene_jump_assigned_page_event_data=new z;break;case m.event_type.event_group:a.event_item_event_group_data=new E}this.addEventItemView(e,a),_.event_list.push(a)},i.onDeleteItem=function(e){var t=this.getTaskData();if(null!=t)for(var _=0;_<t.event_list.length;_++){if(t.event_list[_].event_id===e.event_id){t.event_list.splice(_,1);break}}},i.searchContentLocationList=function(e,t){var _=this,a=this.btn_add_event.getComponent(v).getBoundingBox(),n=a.y;n<0&&(n=Math.abs(n)),n=n+a.height+100;for(var i,s,o=this.getTaskData().event_list,u=!1,d=function(){var a=o[c];if(e?a.event_id.toString()==t&&(u=!0):-1!=a.event_name.indexOf(t)&&(u=!0),u){var d=o.length-1-c,v=Math.round(d/2),l=20*v;i=1,s=!0,o.length%2==0&&(s=!1),0==s&&c%2==0&&(i=2);var h=l+200*(v-i)+n;_.node.getComponent(r).scrollToOffset(new p(0,h)),_.search_node.getComponent(te).showTip(a);var k=_.event_content.children[c].getComponent(K);return null!=k&&_.scheduleOnce((function(){k.node.setScale(1.2,1.2),k.selectBgColor(),g(k).delay(.35).call((function(){k.node.setScale(1,1),k.unselectBgColor()})).start()}),.15),1}},c=0;c<o.length&&!d();c++);if(0==u){var l=new q;this.search_node.getComponent(te).showTip(l)}},t}(l)).prototype,"btn_add_task",[ne],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),be=t(ke.prototype,"lab_task_title",[ie],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),we=t(ke.prototype,"btn_add_event",[se],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),fe=t(ke.prototype,"event_content",[oe],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),ye=t(ke.prototype,"event_item_prefab",[ue],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),je=t(ke.prototype,"btn_update",[de],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),Ce=t(ke.prototype,"btn_edit_event",[re],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),qe=t(ke.prototype,"task_zhao_xi_jie",[ce],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),Ee=t(ke.prototype,"task_guo_ju_qing",[ve],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),ze=t(ke.prototype,"task_da_guai",[le],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),xe=t(ke.prototype,"task_guo_ju_qing_dai_dao_ju",[pe],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),Te=t(ke.prototype,"search_node",[ge],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),he=ke))||he));i._RF.pop()}}}));

System.register("chunks:///_virtual/scene_tips_rule_item.ts",["./rollupPluginModLoBabelHelpers.js","cc","./receive_res_item.ts","./tools.ts"],(function(e){var t,n,i,r,o,l,a,_,s,c;return{setters:[function(e){t=e.applyDecoratedDescriptor,n=e.inheritsLoose,i=e.initializerDefineProperty,r=e.assertThisInitialized},function(e){o=e.cclegacy,l=e._decorator,a=e.Node,_=e.Component},function(e){s=e.receive_res_item},function(e){c=e.tools}],execute:function(){var u,p,m,d,f,b,h,y,v;o._RF.push({},"828a7hq4vtDj5Um1aBCJuMj","scene_tips_rule_item",void 0);var g=l.ccclass,D=l.property;e("scene_tips_rule_item",(u=g("scene_tips_rule_item"),p=D(a),m=D(a),d=D(a),u((h=t((b=function(e){function t(){for(var t,n=arguments.length,o=new Array(n),l=0;l<n;l++)o[l]=arguments[l];return t=e.call.apply(e,[this].concat(o))||this,i(t,"res_node",h,r(t)),i(t,"btn_delete",y,r(t)),i(t,"btn_clear",v,r(t)),t.m_data=null,t.m_index=0,t.m_call_back=null,t}n(t,e);var o=t.prototype;return o.initView=function(e,t,n,i){var r=this;this.m_data=e,this.m_call_back=n,this.m_index=t,this.res_node.getComponent(s).initView(this.m_data,i),this.btn_delete.off(a.EventType.TOUCH_END),this.btn_delete.on(a.EventType.TOUCH_END,(function(){null!=r.m_call_back&&c.show_dialog("确定删除此按钮？",(function(){r.m_call_back(r.m_index),r.node.destroy(),r.node.removeFromParent()}))})),null!=this.btn_clear&&(this.btn_clear.off(a.EventType.TOUCH_END),this.btn_clear.on(a.EventType.TOUCH_END,(function(){r.m_data.res_name="",r.m_data.res="",r.res_node.getComponent(s).initView(r.m_data,i)})))},o.onDestroy=function(){this.res_node.destroy()},t}(_)).prototype,"res_node",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),y=t(b.prototype,"btn_delete",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),v=t(b.prototype,"btn_clear",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),f=b))||f));o._RF.pop()}}}));

System.register("chunks:///_virtual/scene.ts",["./rollupPluginModLoBabelHelpers.js","cc"],(function(e){var t,n,c,r;return{setters:[function(e){t=e.inheritsLoose},function(e){n=e.cclegacy,c=e._decorator,r=e.Component}],execute:function(){var o;n._RF.push({},"3b414wMbzBLuZIm1OzR8pTW","scene",void 0);var s=c.ccclass;c.property,e("scene",s("scene")(o=function(e){function n(){return e.apply(this,arguments)||this}t(n,e);var c=n.prototype;return c.start=function(){},c.update=function(e){},n}(r))||o);n._RF.pop()}}}));

System.register("chunks:///_virtual/sceneManager.ts",["./rollupPluginModLoBabelHelpers.js","cc","./config.ts","./gameManager.ts","./tools.ts","./clientEvent.ts"],(function(t){var e,n,a,i,s,o,u,c,g,r;return{setters:[function(t){e=t.inheritsLoose},function(t){n=t.cclegacy,a=t._decorator,i=t.assetManager,s=t.AudioSource,o=t.Component},function(t){u=t.config},function(t){c=t.gameManager},function(t){g=t.tools},function(t){r=t.ClientEvent}],execute:function(){var l;n._RF.push({},"ba40460BDxA7JmQhjktZQDI","sceneManager",void 0);var h=a.ccclass;a.property,t("sceneManager",h("sceneManager")(l=function(t){function n(){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).mSceneTask=null,e.mPageList=[],e.mCurPage=0,e.mGameManager=null,e.mSceneData=null,e}e(n,t);var a=n.prototype;return a.init=function(t){this.mGameManager=t,r.off(u.EventRun.TOGGLE_YIN_YUE,this.updateStatus.bind(this),this),r.on(u.EventRun.TOGGLE_YIN_YUE,this.updateStatus.bind(this),this)},a.updateStatus=function(){c.getUserData().isOpenYinYue?(this.getSound().loop=!0,this.getSound().play()):this.getSound().stop()},a.getSceneTask=function(){return this.mSceneTask},a.playMusic=function(t,e){var n=this;if(!(t.length<=0)){var a=function(e,a){e||(c.mp3_cache.set(t,a),n.playClip(a))};if(c.mp3_cache.get(t))a(null,c.mp3_cache.get(t));else i.loadRemote(t,a)}},a.playClip=function(t){this.getSound().stop(),this.getSound().loop=!0,this.getSound().clip=t,c.getUserData().isOpenYinYue&&this.getSound().play()},a.stopMusic=function(){this.getSound().pause()},a.play_music=function(){null!=this.getSound().clip?this.playClip(this.getSound().clip):c.Singleton.getSceneManager().playMusic(c.getSysData().content.sys_piped_music,!0)},a.getSound=function(){return null!=this.node.getComponent(s)?this.node.getComponent(s):this.node.addComponent(s)},a.getSceneData=function(){return this.mSceneData.page_list[0]},a.GetPageList=function(){return this.mPageList},a.startLevelGame=function(t){if(this.mSceneTask=t._task_data,this.mPageList=t.page_list,this.mSceneData=t,null==t._task_data)return g.showToast("场景任务没有配置！");if(this.mPageList.length<=0)throw"不可以为空";this.stopMusic(),this.mGameManager.loadSceneTask(t._task_data),this.mGameManager.loadScene(this.mPageList,t.type);for(var e=0;e<t.page_list.length;e++){var n=t.page_list[e];this.mGameManager.loadUi(c.getUIWidgetList(n)),this.mGameManager.loadQuestion(c.getQuestionwidgetList(n)),this.mGameManager.loadTextSound(c.getTextSoundWidgetList(n)),this.mGameManager.initCountDownList(c.getCountDownWidgetList(n))}this.mGameManager.initTaskUi(t._task_data)},n}(o))||l);n._RF.pop()}}}));

System.register("chunks:///_virtual/scroll_scene.ts",["./rollupPluginModLoBabelHelpers.js","cc","./config.ts","./clientEvent.ts"],(function(t){var e,i,n,a,s,o,r,c,h,l,_,m,u,g,p,d,f,k;return{setters:[function(t){e=t.applyDecoratedDescriptor,i=t.inheritsLoose,n=t.initializerDefineProperty,a=t.assertThisInitialized},function(t){s=t.cclegacy,o=t._decorator,r=t.Node,c=t.SpriteFrame,h=t.ScrollView,l=t.Sprite,_=t.assetManager,m=t.Texture2D,u=t.UITransform,g=t.Size,p=t.Toggle,d=t.Component},function(t){f=t.config},function(t){k=t.ClientEvent}],execute:function(){var b,w,v,C,y,B,T,z,S,A,V,x,D,E,F;s._RF.push({},"56490/uTIVDqaEBEz/p2VlG","scroll_scene",void 0);var U=o.ccclass,R=o.property;t("scroll_scene",(b=U("scroll_scene"),w=R(r),v=R(r),C=R(r),y=R(r),B=R(r),T=R(c),b((A=e((S=function(t){function e(){for(var e,i=arguments.length,s=new Array(i),o=0;o<i;o++)s[o]=arguments[o];return e=t.call.apply(t,[this].concat(s))||this,n(e,"mask_view",A,a(e)),n(e,"mask_view_content",V,a(e)),n(e,"mask_check_node",x,a(e)),n(e,"mask_check",D,a(e)),n(e,"mask",E,a(e)),n(e,"mask_sf",F,a(e)),e.m_data=null,e.m_att=null,e._bg=null,e.m_call_back=null,e}i(e,t);var s=e.prototype;return s.start=function(){null===this._bg&&this.setBg(this.node),k.on(f.Event.UpdateAttributesToView,this.UpdateAttributesToView,this)},s.UpdateAttributesToView=function(t,e){var i=this;if(t.id===this.m_att.id)switch(e){case f.attributes_list_type.pos:break;case f.attributes_list_type.animation:this.m_att.animation_list=t.animation_list;break;case f.attributes_list_type.size:this.m_att.width=t.width,this.m_att.height=t.height,this.getBg().getComponent(u).contentSize=new g(t.width,t.height);break;case f.attributes_list_type.anchor:this.m_att.anchor_x=t.anchor_x,this.m_att.anchor_y=t.anchor_y,this.getBg().getComponent(u).setAnchorPoint(t.anchor_x,t.anchor_y);break;case f.attributes_list_type.rotation:this.m_att.rotation=t.rotation,this.getBg().angle=t.rotation;break;case f.attributes_list_type.url:this.m_att.src=t.src,this.m_att.src_name=t.src_name,this.m_att.src.length<=0?this.getBg().getComponent(l).spriteFrame=null:_.loadRemote(this.m_att.src,(function(e,n){if(!e&&n){var a=new m;a.image=n;var s=new c;s.texture=a,i.getBg().getComponent(u).contentSize=new g(t.width,t.height),i.getBg().getComponent(l).spriteFrame=s}}));break;case f.attributes_list_type.is_interaction:null!=this.node.getComponent(h)&&(this.node.getComponent(h).enabled=this.m_att.is_interaction)}},s.onDestroy=function(){k.off(f.Event.UpdateAttributesToView,this.UpdateAttributesToView,this)},s.setBg=function(t){this._bg=t},s.getBg=function(){return null===this._bg&&this.setBg(this.node),this._bg},s.addWidget=function(t){t.parent=this.getBg()},s.initView=function(t,e){var i=this;void 0===e&&(e=null),null!=e?(this.m_att=e,this.m_att.src.length>0&&_.loadRemote(this.m_att.src,(function(t,e){if(!t&&e){var n=new m;n.image=e;var a=new c;a.texture=n,i.getBg().getComponent(u).contentSize=new g(i.m_data.att.width,i.m_data.att.height),i.getBg().getComponent(l).spriteFrame=a}}))):this.m_att.id=f.getNewId(),t?(this.mask_check_node.active=!0,this.mask_check.getComponent(p).isChecked=!0):(this.mask_check.getComponent(p).isChecked=!1,this.mask_check_node.active=!1),this.mask_check.on(r.EventType.TOUCH_START,(function(){i.mask_check.getComponent(p).isChecked=!i.mask_check.getComponent(p).isChecked,i.updatStatus()})),this.updatStatus(),this.setBg(this.mask_view_content)},s.initFullView=function(t){var e=this;void 0===t&&(t=null),null!=t?(this.m_att=t,this.m_att.src.length>0&&_.loadRemote(this.m_att.src,(function(t,i){if(!t&&i){var n=new m;n.image=i;var a=new c;a.texture=n,e.getBg().getComponent(u).contentSize=new g(e.m_data.att.width,e.m_data.att.height),e.getBg().getComponent(l).spriteFrame=a}}))):this.m_att.id=f.getNewId()},s.setData=function(t){this.m_data=t,this.m_data.att=this.m_att},s.getData=function(){return this.m_data},s.setCallBack=function(t){var e=this;this.m_call_back=t,this.getBg().on(r.EventType.TOUCH_START,(function(){null!=e.m_call_back&&e.m_call_back()}))},s.getScenePageAtt=function(){return 0!==this.m_att.height&&0!==this.m_att.width||(this.m_att.name=""!=this.m_data.name?this.m_data.name:"场景",this.m_att.height=this.getBg().getComponent(u).contentSize.height,this.m_att.width=this.getBg().getComponent(u).contentSize.width,this.m_att.rotation=this.getBg().angle,this.m_att.type=f.attributes_type.scene,this.m_att.src_name=this.m_att.src.length>0?this.m_att.src_name:"空"),this.m_att},s.updatStatus=function(){this.mask_check.getComponent(p).isChecked?this.mask.active=!0:this.mask.active=!1},s.stopTouch=function(){null!=this.mask_view&&(this.node.getComponent(h).enabled=!1)},s.startTouch=function(){null!=this.mask_view&&0!=this.m_att.is_interaction&&(this.node.getComponent(h).enabled=!0)},s.getContent=function(){return this.node.getComponent(h).content},s.getAtt=function(){return this.m_att},e}(d)).prototype,"mask_view",[w],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),V=e(S.prototype,"mask_view_content",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),x=e(S.prototype,"mask_check_node",[C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),D=e(S.prototype,"mask_check",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),E=e(S.prototype,"mask",[B],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),F=e(S.prototype,"mask_sf",[T],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),z=S))||z));s._RF.pop()}}}));

System.register("chunks:///_virtual/search_item.ts",["./rollupPluginModLoBabelHelpers.js","cc"],(function(t){var e,r,n,c;return{setters:[function(t){e=t.inheritsLoose},function(t){r=t.cclegacy,n=t._decorator,c=t.Component}],execute:function(){var o;r._RF.push({},"bd44fgYMwpAQZYkQJfAWt3p","search_item",void 0);var i=n.ccclass;n.property,t("search_item",i("search_item")(o=function(t){function r(){return t.apply(this,arguments)||this}e(r,t);var n=r.prototype;return n.start=function(){},n.update=function(t){},r}(c))||o);r._RF.pop()}}}));

System.register("chunks:///_virtual/search_node.ts",["./rollupPluginModLoBabelHelpers.js","cc","./Attributes.ts","./config.ts"],(function(e){var t,n,i,_,a,o,r,s,d,v,g,c,p,l;return{setters:[function(e){t=e.applyDecoratedDescriptor,n=e.inheritsLoose,i=e.initializerDefineProperty,_=e.assertThisInitialized},function(e){a=e.cclegacy,o=e._decorator,r=e.Node,s=e.Prefab,d=e.instantiate,v=e.Label,g=e.Color,c=e.Component},function(e){p=e.Attributes},function(e){l=e.config}],execute:function(){var m,h,b,f,w,u,y,C,E,k,L;a._RF.push({},"8a3910L+7FN+KexenFQZF3e","search_node",void 0);var B=o.ccclass,U=o.property;e("search_node",(m=B("search_node"),h=U(r),b=U(r),f=U(s),w=U(r),m((C=t((y=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,i(t,"btn_close",C,_(t)),i(t,"content",E,_(t)),i(t,"item_prefab",k,_(t)),i(t,"scrollView",L,_(t)),t.m_event_item=void 0,t.m_id=0,t}n(t,e);var a=t.prototype;return a.show=function(e){var t=this;this.m_event_item=e;var n=e.event_id.toString();this.node.active=!0,this.btn_close.on(r.EventType.TOUCH_END,(function(){t.close()})),this.m_id=parseInt(n),this.content.removeAllChildren();var i=this.getCurSearchType(),_=d(this.item_prefab);_.parent=this.content,_.getComponent(v).color=g.MAGENTA,null==i?_.getComponent(v).string="当前搜索的id不存在":0==i.type?(_.getComponent(v).string="您查找的是控件.\n 控件id："+i.widget.att.id+".控件名称："+i.widget.name,this.finAboutWidgetList(i.widget)):(_.getComponent(v).string="您查找的是事件.\n 事件id："+i.event.event_id+".事件名称："+i.event.event_name,this.finAboutEventList(i.event)),this.scrollView.off(r.EventType.TOUCH_MOVE),null!=i&&this.showBinding(i),this.showNextSuccessTrigger()},a.showBinding=function(e){var t=e.event;if(null!=t){var n,i="";switch(t.type){case l.event_type.play_ani:i="id:"+(n=t.event_item_play_ani_data).binding_widget_id+" 选中的动画id:"+n.ani_id;break;case l.event_type.top_view:i=""+t.event_item_top_view_data.binding_ui_id;break;case l.event_type.top_view_hide:i=""+t.event_item_top_view_hide_data.binding_ui_id;break;case l.event_type.text_sound:i=""+t.event_item_text_sound_data.binding_widget_id;break;case l.event_type.change_one_item_status:i=""+t.event_item_change_one_item_status_data.binding_widget_id;break;case l.event_type.show_new_item:i=""+t.event_item_show_new_item_data.binding_widget_id;break;case l.event_type.show_question_select:i=""+t.event_item_show_question_select_data.binding_widget_id;break;case l.event_type.start_event:i=""+t.event_item_start_event_data.binding_event_id;break;case l.event_type.collect_event:n=t.event_item_collect_event_data;for(var _=0;_<n.event_id_list.length;_++){i+=n.event_id_list[_]+" "}break;case l.event_type.active_event:i=""+(n=t.event_item_active_event_data).binding_widget_id;for(var a=0;a<n.binding_widget_list.length;a++){i+="\n"+n.binding_widget_list[a].binding_widget_id}break;case l.event_type.stop_active_event:i=""+(n=t.event_item_stop_active_event_data).binding_widget_id;for(var o=0;o<n.binding_widget_list.length;o++){i+="\n"+n.binding_widget_list[o].binding_widget_id}break;case l.event_type.countdown_over:i=""+t.event_item_countdown_over_data.binding_widget_id;break;case l.event_type.be_event:i=""+t.event_item_be_event_data.binding_widget_id;break;case l.event_type.hide:i=""+(n=t.event_item_hide_data).binding_widget_id;for(var r=0;r<n.binding_widget_list.length;r++){i+="\n"+n.binding_widget_list[r].binding_widget_id}break;case l.event_type.delay_exe_event:i=""+t.event_item_delay_exe_data.binding_event_id;break;case l.event_type.fail_event:i="是否可以复活:"+((n=t.event_item_fail_event_data).is_relife?"是":"否")+"  是否显示动画:"+(n.is_show_animation?"是":"否");break;case l.event_type.play_sound:i="是否循环:"+((n=t.event_item_play_sound_data).isLoop?"是":"否")+"  音量:"+n.volume;break;case l.event_type.show_scene_title:i=""+t.event_item_show_scene_title_data.title;break;case l.event_type.scene_ani:i=""+t.event_item_scene_ani.ani_id;break;case l.event_type.delete_drag_other_data:i=(n=t.event_item_delete_drag_other_data).widget_id+" 索引"+n.delete_drag_other_index;for(var s=0;s<n.widget_list.length;s++){var c=n.widget_list[s];i+="\n"+c.widget_id+" 索引"+c.delete_drag_other_index}break;case l.event_type.stop_play_loop_sound:i=""+t.event_item_stop_play_loop_sound_data.res;break;case l.event_type.switch_scene_event:var p=t.event_item_switch_scene_event_data.direction,m="按钮-无";p==l.switch_scene_page_direction.up?m="按钮-上":p==l.switch_scene_page_direction.down?m="按钮-下":p==l.switch_scene_page_direction.left?m="按钮-左":p==l.switch_scene_page_direction.right&&(m="按钮-右");var h=t.event_item_switch_scene_event_data.executeOnlyOnce?"是":"否";i="方向:"+m+" 页数:"+(t.event_item_switch_scene_event_data.binding_page_index+1)+" 仅执行一次:"+h;break;case l.event_type.more_scene_is_show_arrow_event:i=t.event_item_more_scene_is_show_arrow_event_data.is_show?"是":"否";break;case l.event_type.more_scene_jump_assigned_page_event:i="页数:"+t.event_item_more_scene_jump_assigned_page_event_data.page_number;break;case l.event_type.event_group:var b=t.event_item_event_group_data.list;if(b.length>0)for(var f=0;f<b.length;f++){var w=b[f],u="";0==f&&(u="\n");var y="\n";f==b.length-1&&(y=""),i+=u+"延时"+w.delay_time+"s 执行:事件名:"+w.event_item.event_name+"-id:"+w.event_item.event_id+y}else i="空"}if(""!=i){var C=l.get_event_type_name(t.type),E=d(this.item_prefab);E.parent=this.content,E.getComponent(v).color=g.BLACK,E.getComponent(v).string="\n当前绑定-> "+C+": "+i}}},a.showNextSuccessTrigger=function(){var e="";e=-1==this.m_event_item.success.trigger_event_id?"\n暂未设置触发下个事件的id":"\n触发下个事件的id"+this.m_event_item.success.trigger_event_id;var t=d(this.item_prefab);t.parent=this.content,t.getComponent(v).color=g.RED,t.getComponent(v).string=e},a.finAboutWidgetList=function(e){for(var t=e.att.id,n=p.Singleton.get_cur_scene_widget_by_type(l.Widget_Type_List.DRAG_TYPE),i=0;i<n.length;i++){var _=n[i];if(null!=_.att.drag_data.other_widget_finish_listen_list)for(var a=0;a<_.att.drag_data.other_widget_finish_listen_list.length;a++){if(_.att.drag_data.other_widget_finish_listen_list[a].widget_id===t){var o=d(this.item_prefab);o.parent=this.content,o.getComponent(v).color=g.GREEN,o.getComponent(v).string="被拖拽控件id："+_.att.id+"监听"}}}for(var r=p.Singleton.get_cur_scene_widget_by_type(l.Widget_Type_List.CLICK_TYPE),s=0;s<r.length;s++){var c=r[s];if(null!=c.att.click_data.other_widget_finish_listen_list)for(var m=0;m<c.att.click_data.other_widget_finish_listen_list.length;m++){if(c.att.click_data.other_widget_finish_listen_list[m].widget_id===t){var h=d(this.item_prefab);h.parent=this.content,h.getComponent(v).color=g.GREEN,h.getComponent(v).string="被点击控件id："+c.att.id+"监听"}}}for(var b=p.Singleton.get_cur_scene_widget_by_type(l.Widget_Type_List.SLIDE_TYPE),f=0;f<b.length;f++){var w=b[f];if(null!=w.att.slide_data.other_widget_finish_listen_list)for(var u=0;u<w.att.slide_data.other_widget_finish_listen_list.length;u++){if(w.att.slide_data.other_widget_finish_listen_list[u].widget_id===t){var y=d(this.item_prefab);y.parent=this.content,y.getComponent(v).color=g.GREEN,y.getComponent(v).string="被滑动控件id："+w.att.id+"监听"}}}for(var C=p.Singleton.getEventList(),E=0;E<C.length;E++){var k=C[E];switch(k.type){case l.event_type.play_ani:if(k.event_item_play_ani_data.binding_widget_id==t){var L=d(this.item_prefab);L.parent=this.content,L.getComponent(v).color=g.BLUE,L.getComponent(v).string=k.event_name+"-id："+k.event_id+"绑定"}break;case l.event_type.top_view:if(k.event_item_top_view_data.binding_ui_id===t){var B=d(this.item_prefab);B.parent=this.content,B.getComponent(v).color=g.BLUE,B.getComponent(v).string=k.event_name+"-id："+k.event_id+"绑定"}break;case l.event_type.top_view_hide:if(k.event_item_top_view_hide_data.binding_ui_id===t){var U=d(this.item_prefab);U.parent=this.content,U.getComponent(v).color=g.BLUE,U.getComponent(v).string=k.event_name+"-id："+k.event_id+"绑定"}break;case l.event_type.text_sound:if(k.event_item_text_sound_data.binding_widget_id===t){var T=d(this.item_prefab);T.parent=this.content,T.getComponent(v).color=g.BLUE,T.getComponent(v).string=k.event_name+"-id："+k.event_id+"绑定"}break;case l.event_type.change_one_item_status:if(k.event_item_change_one_item_status_data.binding_widget_id===t){var x=d(this.item_prefab);x.parent=this.content,x.getComponent(v).color=g.BLUE,x.getComponent(v).string=k.event_name+"-id："+k.event_id+"绑定"}break;case l.event_type.show_new_item:if(k.event_item_show_new_item_data.binding_widget_id===t){var S=d(this.item_prefab);S.parent=this.content,S.getComponent(v).color=g.BLUE,S.getComponent(v).string=k.event_name+"-id："+k.event_id+"绑定"}break;case l.event_type.show_question_select:if(k.event_item_show_question_select_data.binding_widget_id===t){var A=d(this.item_prefab);A.parent=this.content,A.getComponent(v).color=g.BLUE,A.getComponent(v).string=k.event_name+"-id："+k.event_id+"绑定"}break;case l.event_type.active_event:if(k.event_item_active_event_data.binding_widget_id===t){var N=d(this.item_prefab);N.parent=this.content,N.getComponent(v).color=g.BLUE,N.getComponent(v).string=k.event_name+"-id："+k.event_id+"绑定"}break;case l.event_type.stop_active_event:if(k.event_item_stop_active_event_data.binding_widget_id===t){var R=d(this.item_prefab);R.parent=this.content,R.getComponent(v).color=g.BLUE,R.getComponent(v).string=k.event_name+"-id："+k.event_id+"绑定"}break;case l.event_type.countdown_over:if(k.event_item_countdown_over_data.binding_widget_id===t){var G=d(this.item_prefab);G.parent=this.content,G.getComponent(v).color=g.BLUE,G.getComponent(v).string=k.event_name+"-id："+k.event_id+"绑定"}break;case l.event_type.be_event:if(k.event_item_be_event_data.binding_widget_id===t){var D=d(this.item_prefab);D.parent=this.content,D.getComponent(v).color=g.BLUE,D.getComponent(v).string=k.event_name+"-id："+k.event_id+"绑定"}break;case l.event_type.hide:if(k.event_item_hide_data.binding_widget_id===t){var P=d(this.item_prefab);P.parent=this.content,P.getComponent(v).color=g.BLUE,P.getComponent(v).string=k.event_name+"-id："+k.event_id+"绑定"}break;case l.event_type.delete_drag_other_data:if(k.event_item_delete_drag_other_data.widget_id===t){var q=d(this.item_prefab);q.parent=this.content,q.getComponent(v).color=g.BLUE,q.getComponent(v).string=k.event_name+"-id："+k.event_id+"绑定"}break;case l.event_type.top_view_hide:if(k.event_item_top_view_hide_data.binding_ui_id===t){var W=d(this.item_prefab);W.parent=this.content,W.getComponent(v).color=g.BLUE,W.getComponent(v).string=k.event_name+"-id："+k.event_id+"绑定"}}}},a.finAboutEventList=function(e){for(var t=e.event_id,n=p.Singleton.getEventList(),i=0;i<n.length;i++){var _=n[i];if(_.success.trigger_event_id==t){var a=d(this.item_prefab);a.parent=this.content,a.getComponent(v).color=g.BLUE,a.getComponent(v).string=_.event_name+"-id："+_.event_id+"绑定"}switch(_.type){case l.event_type.show_question_select:for(var o=_.event_item_show_question_select_data.question_list,r=0;r<o.length;r++){if(o[r].binding_event_id===t){var s=d(this.item_prefab);s.parent=this.content,s.getComponent(v).color=g.BLUE,s.getComponent(v).string=_.event_name+"-id："+_.event_id+"绑定"}}break;case l.event_type.start_event:if(t===_.event_item_start_event_data.binding_event_id){var c=d(this.item_prefab);c.parent=this.content,c.getComponent(v).color=g.BLUE,c.getComponent(v).string=_.event_name+"-id："+_.event_id+"绑定"}break;case l.event_type.collect_event:for(var m=_.event_item_collect_event_data.event_id_list,h=0;h<m.length;h++){if(m[h]===t){var b=d(this.item_prefab);b.parent=this.content,b.getComponent(v).color=g.BLUE,b.getComponent(v).string=_.event_name+"-id："+_.event_id+"绑定"}}break;case l.event_type.delay_exe_event:if(_.event_item_delay_exe_data.binding_event_id==t){var f=d(this.item_prefab);f.parent=this.content,f.getComponent(v).color=g.BLUE,f.getComponent(v).string=_.event_name+"-id："+_.event_id+"绑定"}}}for(var w=p.Singleton.get_cur_scene_widget_by_type(l.Widget_Type_List.DRAG_TYPE),u=0;u<w.length;u++){var y=w[u];if(null!=y.att.drag_data.other_widget_finish_listen_list)for(var C=0;C<y.att.drag_data.other_widget_finish_listen_list.length;C++){if(y.att.drag_data.other_widget_finish_listen_list[C].event_id===t){var E=d(this.item_prefab);E.parent=this.content,E.getComponent(v).color=g.GREEN,E.getComponent(v).string="被拖拽控件id："+y.att.id+"调用"}}}for(var k=p.Singleton.get_cur_scene_widget_by_type(l.Widget_Type_List.UI_TOP),L=0;L<k.length;L++){var B=k[L];if(B.att.top_data.close_event_id===t){var U=d(this.item_prefab);U.parent=this.content,U.getComponent(v).color=g.GREEN,U.getComponent(v).string="被弹窗件id："+B.att.id+"调用"}if(B.att.top_data.finish_event_id===t){var T=d(this.item_prefab);T.parent=this.content,T.getComponent(v).color=g.GREEN,T.getComponent(v).string="被弹窗件id："+B.att.id+"调用"}if(B.att.top_data.fail_event_id===t){var x=d(this.item_prefab);x.parent=this.content,x.getComponent(v).color=g.GREEN,x.getComponent(v).string="被弹窗件id："+B.att.id+"调用"}}},a.getCurSearchType=function(e){void 0===e&&(e=this.m_id);for(var t=p.Singleton.get_cur_scene_all_widget(),n=null,i=0;i<t.length;i++){var _=t[i];if(e==_.att.id){n=_;break}}var a=null;if(null!=n)return{widget:n,type:0};for(var o=p.Singleton.getEventList(),r=0;r<o.length;r++){var s=o[r];if(e==s.event_id){a=s;break}}return null!=a?{event:a,type:1}:null},a.close=function(){this.node.active=!1},t}(c)).prototype,"btn_close",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),E=t(y.prototype,"content",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),k=t(y.prototype,"item_prefab",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),L=t(y.prototype,"scrollView",[w],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),u=y))||u));a._RF.pop()}}}));

System.register("chunks:///_virtual/Search.ts",["./rollupPluginModLoBabelHelpers.js","cc","./tools.ts","./search_node.ts"],(function(t){var e,n,i,r,o,a,l,c,s,u,_;return{setters:[function(t){e=t.applyDecoratedDescriptor,n=t.inheritsLoose,i=t.initializerDefineProperty,r=t.assertThisInitialized},function(t){o=t.cclegacy,a=t._decorator,l=t.Node,c=t.EditBox,s=t.Component},function(t){u=t.tools},function(t){_=t.search_node}],execute:function(){var b,h,d,p,f,x,g,m,y,k,v,w,T;o._RF.push({},"e71acFi5AVAZqO8DZEpsl+2","Search",void 0);var z=a.ccclass,D=a.property;t("Search",(b=z("Search"),h=D(l),d=D(c),p=D(l),f=D(c),x=D(l),b((y=e((m=function(t){function e(){for(var e,n=arguments.length,o=new Array(n),a=0;a<n;a++)o[a]=arguments[a];return e=t.call.apply(t,[this].concat(o))||this,i(e,"btn_id_search",y,r(e)),i(e,"editbox_id",k,r(e)),i(e,"btn_text_search",v,r(e)),i(e,"editbox_text",w,r(e)),i(e,"search_node",T,r(e)),e.m_id_callback=null,e.m_text_callback=null,e}n(e,t);var o=e.prototype;return o.start=function(){var t=this;this.btn_id_search.on(l.EventType.TOUCH_END,(function(){if(t.editbox_id.string.length<=0)return u.showToast("输入错误！");null!=t.m_id_callback&&t.m_id_callback(t.editbox_id.string)})),this.btn_text_search.on(l.EventType.TOUCH_END,(function(){if(t.editbox_text.string.length<=0)return u.showToast("输入错误！");null!=t.m_text_callback&&t.m_text_callback(t.editbox_text.string)}))},o.searchClick=function(t,e){this.m_id_callback=t,this.m_text_callback=e},o.showTip=function(t){this.search_node.getComponent(_).show(t)},e}(s)).prototype,"btn_id_search",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),k=e(m.prototype,"editbox_id",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),v=e(m.prototype,"btn_text_search",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),w=e(m.prototype,"editbox_text",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),T=e(m.prototype,"search_node",[x],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),g=m))||g));o._RF.pop()}}}));

System.register("chunks:///_virtual/select_animation.ts",["./rollupPluginModLoBabelHelpers.js","cc","./add_animation_item.ts"],(function(t){var e,i,n,o,a,r,l,c,s,u,p;return{setters:[function(t){e=t.applyDecoratedDescriptor,i=t.inheritsLoose,n=t.initializerDefineProperty,o=t.assertThisInitialized},function(t){a=t.cclegacy,r=t._decorator,l=t.Node,c=t.Prefab,s=t.instantiate,u=t.Component},function(t){p=t.add_animation_item}],execute:function(){var _,f,m,h,b,d,y,v,g;a._RF.push({},"90ed6CpL+ZPi5+cD8yGr6f6","select_animation",void 0);var k=r.ccclass,C=r.property;t("select_animation",(_=k("select_animation"),f=C(l),m=C(l),h=C(c),_((y=e((d=function(t){function e(){for(var e,i=arguments.length,a=new Array(i),r=0;r<i;r++)a[r]=arguments[r];return e=t.call.apply(t,[this].concat(a))||this,n(e,"content",y,o(e)),n(e,"btn_close",v,o(e)),n(e,"item_prefab",g,o(e)),e.call_back=null,e.m_list=[],e}i(e,t);var a=e.prototype;return a.show=function(t,e,i){var n=this;void 0===i&&(i=-1),this.m_list=t,this.call_back=e;for(var o=0;o<this.m_list.length;o++){var a=this.m_list[o],r=s(this.item_prefab);r.parent=this.content,r.getComponent(p).initView(a,this.onItemClick.bind(this),o),i===a.ani_id&&r.getComponent(p).selectStatus()}this.btn_close.on(l.EventType.TOUCH_END,(function(){n.close()}))},a.onItemClick=function(t){null!=this.call_back&&this.call_back(t.getData()),this.close()},a.close=function(){this.node.destroy()},e}(u)).prototype,"content",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),v=e(d.prototype,"btn_close",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),g=e(d.prototype,"item_prefab",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),b=d))||b));a._RF.pop()}}}));

System.register("chunks:///_virtual/select_collect_event_item.ts",["./rollupPluginModLoBabelHelpers.js","cc"],(function(e){var t,n,i,r,l,a,c,o,s,u;return{setters:[function(e){t=e.applyDecoratedDescriptor,n=e.inheritsLoose,i=e.initializerDefineProperty,r=e.assertThisInitialized},function(e){l=e.cclegacy,a=e._decorator,c=e.Node,o=e.Toggle,s=e.Label,u=e.Component}],execute:function(){var _,p,m,d,h,b,f;l._RF.push({},"4d4ebrxhUdKw4anz2XtJF0/","select_collect_event_item",void 0);var g=a.ccclass,v=a.property;e("select_collect_event_item",(_=g("select_collect_event_item"),p=v(c),m=v(c),_((b=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,i(t,"btn_select",b,r(t)),i(t,"lab_name",f,r(t)),t.m_data=null,t}n(t,e);var l=t.prototype;return l.initView=function(e,t){t&&(this.btn_select.getComponent(o).isChecked=!0),this.m_data=e,this.lab_name.getComponent(s).string="事件id:"+this.m_data.event_id+",事件名:"+this.m_data.event_name},l.getIsSelect=function(){return this.btn_select.getComponent(o).isChecked},l.getData=function(){return this.m_data},t}(u)).prototype,"btn_select",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),f=t(h.prototype,"lab_name",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),d=h))||d));l._RF.pop()}}}));

System.register("chunks:///_virtual/select_collect_event.ts",["./rollupPluginModLoBabelHelpers.js","cc","./select_collect_event_item.ts"],(function(e){var t,n,i,r,l,o,c,a,s,u,_;return{setters:[function(e){t=e.applyDecoratedDescriptor,n=e.inheritsLoose,i=e.initializerDefineProperty,r=e.assertThisInitialized},function(e){l=e.cclegacy,o=e._decorator,c=e.Node,a=e.Prefab,s=e.instantiate,u=e.Component},function(e){_=e.select_collect_event_item}],execute:function(){var p,f,b,v,h,g,y,m,d,w,k;l._RF.push({},"a9765xySV1Io6GWOH2Zequt","select_collect_event",void 0);var z=o.ccclass,C=o.property;e("select_collect_event",(p=z("select_collect_event"),f=C(c),b=C(c),v=C(a),h=C(c),p((m=t((y=function(e){function t(){for(var t,n=arguments.length,l=new Array(n),o=0;o<n;o++)l[o]=arguments[o];return t=e.call.apply(e,[this].concat(l))||this,i(t,"content",m,r(t)),i(t,"btn_close",d,r(t)),i(t,"item_prefab",w,r(t)),i(t,"btn_sure",k,r(t)),t.call_back=null,t}n(t,e);var l=t.prototype;return l.show=function(e,t,n,i){var r=this;this.call_back=t;for(var l=0;l<e.length;l++){for(var o=e[l],a=!1,u=0;u<i.length;u++){if(i[u]==o.event_id){a=!0;break}}if(o.event_id!=n){var p=s(this.item_prefab);p.parent=this.content,p.getComponent(_).initView(o,a)}}this.btn_close.on(c.EventType.TOUCH_END,(function(){r.close()})),this.btn_sure.on(c.EventType.TOUCH_END,(function(){null!=r.call_back&&r.call_back(r.getSelectList()),r.close()}))},l.getSelectList=function(){for(var e=[],t=0;t<this.content.children.length;t++){var n=this.content.children[t];n.getComponent(_).getIsSelect()&&e.push(n.getComponent(_).getData().event_id)}return e},l.close=function(){this.node.destroy()},t}(u)).prototype,"content",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),d=t(y.prototype,"btn_close",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),w=t(y.prototype,"item_prefab",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),k=t(y.prototype,"btn_sure",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),g=y))||g));l._RF.pop()}}}));

System.register("chunks:///_virtual/select_res_list_item.ts",["./rollupPluginModLoBabelHelpers.js","cc"],(function(e){var t,n,i,r,a,o,l,c,s,u,_,m,p,f;return{setters:[function(e){t=e.applyDecoratedDescriptor,n=e.inheritsLoose,i=e.initializerDefineProperty,r=e.assertThisInitialized},function(e){a=e.cclegacy,o=e._decorator,l=e.Node,c=e.Label,s=e.assetManager,u=e.Texture2D,_=e.SpriteFrame,m=e.Sprite,p=e.Color,f=e.Component}],execute:function(){var h,b,d,g,v,y,C;a._RF.push({},"733ef61lP1AIqECuFY6OXt+","select_res_list_item",void 0);var w=o.ccclass,D=o.property;e("select_res_list_item",(h=w("select_res_list_item"),b=D(l),d=D(l),h((y=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,i(t,"lab_name",y,r(t)),i(t,"icon",C,r(t)),t.m_data=null,t.m_call_back=null,t}n(t,e);var a=t.prototype;return a.initView=function(e,t,n){var i=this;void 0===n&&(n=!0),this.m_data=e,this.m_call_back=t,this.lab_name.getComponent(c).string=e.name,this.node.on(l.EventType.TOUCH_END,(function(){null!=i.m_call_back&&i.m_call_back(i)})),n&&s.loadRemote(this.m_data.url,(function(e,t){if(!e&&t){var n=new u;n.image=t;var r=new _;r.texture=n,i.icon.getComponent(m).spriteFrame=r}}))},a.selectStatus=function(){this.node.getComponent(m).color=p.GREEN},a.unSelectStatus=function(){this.node.getComponent(m).color=p.WHITE},a.getData=function(){return this.m_data},t}(f)).prototype,"lab_name",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),C=t(v.prototype,"icon",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),g=v))||g));a._RF.pop()}}}));

System.register("chunks:///_virtual/select_res_list.ts",["./rollupPluginModLoBabelHelpers.js","cc","./select_res_type.ts","./control.ts","./select_res_list_item.ts"],(function(t){var e,n,i,l,r,s,c,o,a,_,u,p,m,b;return{setters:[function(t){e=t.applyDecoratedDescriptor,n=t.inheritsLoose,i=t.initializerDefineProperty,l=t.assertThisInitialized},function(t){r=t.cclegacy,s=t._decorator,c=t.Node,o=t.Prefab,a=t.Label,_=t.instantiate,u=t.Component},function(t){p=t.select_res_type},function(t){m=t.control},function(t){b=t.select_res_list_item}],execute:function(){var f,h,g,y,v,w,C,d,S,D,k,z,T,A,I;r._RF.push({},"f8d50UAVRpIKZgyvAQcoIkC","select_res_list",void 0);var E=s.ccclass,P=s.property;t("select_res_list",(f=E("select_res_list"),h=P(c),g=P(c),y=P(o),v=P(c),w=P(c),C=P(c),f((D=e((S=function(t){function e(){for(var e,n=arguments.length,r=new Array(n),s=0;s<n;s++)r[s]=arguments[s];return e=t.call.apply(t,[this].concat(r))||this,i(e,"select_res_type",D,l(e)),i(e,"content",k,l(e)),i(e,"item_prefab",z,l(e)),i(e,"btn_sure",T,l(e)),i(e,"btn_close",A,l(e)),i(e,"lab_title",I,l(e)),e.m_call_back=null,e.m_cur_select_item=null,e}n(e,t);var r=e.prototype;return r.initView=function(t){var e=this;this.m_call_back=t,this.select_res_type.getComponent(p).initView(this.start_show_view.bind(this)),this.btn_sure.on(c.EventType.TOUCH_END,(function(){null!=e.m_call_back&&e.m_call_back(e.m_cur_select_item.getData()),e.close()})),this.btn_close.on(c.EventType.TOUCH_END,(function(){e.close()}))},r.close=function(){this.node.removeFromParent()},r.onItemClick=function(t){this.unSelectAll(),this.m_cur_select_item=t,this.lab_title.getComponent(a).string=this.m_cur_select_item.getData().name,this.m_cur_select_item.selectStatus()},r.unSelectAll=function(){for(var t=0;t<this.content.children.length;t++){this.content.children[t].getComponent(b).unSelectStatus()}},r.start_show_view=function(t){this.select_res_type.active=!1;for(var e=m.Singleton.getResDataByType(t),n=0;n<e.length;n++){var i=e[n],l=_(this.item_prefab);l.parent=this.content,l.getComponent(b).initView(i,this.onItemClick.bind(this)),0===n?(this.m_cur_select_item=l.getComponent(b),this.m_cur_select_item.selectStatus(),this.lab_title.getComponent(a).string=this.m_cur_select_item.getData().name):l.getComponent(b).unSelectStatus()}},e}(u)).prototype,"select_res_type",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),k=e(S.prototype,"content",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),z=e(S.prototype,"item_prefab",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),T=e(S.prototype,"btn_sure",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),A=e(S.prototype,"btn_close",[w],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),I=e(S.prototype,"lab_title",[C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),d=S))||d));r._RF.pop()}}}));

System.register("chunks:///_virtual/select_res_type.ts",["./rollupPluginModLoBabelHelpers.js","cc","./config.ts"],(function(e){var t,n,r,i,l,o,_,c,s;return{setters:[function(e){t=e.applyDecoratedDescriptor,n=e.inheritsLoose,r=e.initializerDefineProperty,i=e.assertThisInitialized},function(e){l=e.cclegacy,o=e._decorator,_=e.Node,c=e.Component},function(e){s=e.config}],execute:function(){var p,u,a,y,b,f,h,m,T;l._RF.push({},"90d03vrjGNJ/bPYXPWyg5f0","select_res_type",void 0);var v=o.ccclass,j=o.property;e("select_res_type",(p=v("select_res_type"),u=j(_),a=j(_),y=j(_),p((h=t((f=function(e){function t(){for(var t,n=arguments.length,l=new Array(n),o=0;o<n;o++)l[o]=arguments[o];return t=e.call.apply(e,[this].concat(l))||this,r(t,"btn_dj",h,i(t)),r(t,"btn_bj",m,i(t)),r(t,"btn_zj",T,i(t)),t.m_type=s.select_res_btn_type.ITEM_LIST,t.m_call=null,t}n(t,e);var l=t.prototype;return l.initView=function(e){var t=this;this.m_call=e,this.btn_bj.on(_.EventType.TOUCH_END,(function(){t.m_type=s.select_res_btn_type.BG_LIST,t.enter()})),this.btn_dj.on(_.EventType.TOUCH_END,(function(){t.m_type=s.select_res_btn_type.ITEM_LIST,t.enter()})),this.btn_zj.on(_.EventType.TOUCH_END,(function(){t.m_type=s.select_res_btn_type.COMPONENT_LIST,t.enter()}))},l.enter=function(){null!=this.m_call&&this.m_call(this.m_type)},t}(c)).prototype,"btn_dj",[u],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),m=t(f.prototype,"btn_bj",[a],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),T=t(f.prototype,"btn_zj",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),b=f))||b));l._RF.pop()}}}));

System.register("chunks:///_virtual/select_sound_list.ts",["./rollupPluginModLoBabelHelpers.js","cc","./select_res_list_item.ts","./control.ts","./config.ts"],(function(t){var e,n,i,l,r,o,c,s,a,u,_,m,p,b;return{setters:[function(t){e=t.applyDecoratedDescriptor,n=t.inheritsLoose,i=t.initializerDefineProperty,l=t.assertThisInitialized},function(t){r=t.cclegacy,o=t._decorator,c=t.Node,s=t.Prefab,a=t.instantiate,u=t.Label,_=t.Component},function(t){m=t.select_res_list_item},function(t){p=t.control},function(t){b=t.config}],execute:function(){var f,h,g,y,d,v,S,C,D,w,k,z,T;r._RF.push({},"68f2dSJU7JIboI9rRGn+2R6","select_sound_list",void 0);var I=o.ccclass,R=o.property;t("select_sound_list",(f=I("select_sound_list"),h=R(c),g=R(s),y=R(c),d=R(c),v=R(c),f((D=e((C=function(t){function e(){for(var e,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return e=t.call.apply(t,[this].concat(r))||this,i(e,"content",D,l(e)),i(e,"item_prefab",w,l(e)),i(e,"btn_sure",k,l(e)),i(e,"btn_close",z,l(e)),i(e,"lab_title",T,l(e)),e.m_call_back=null,e.m_cur_select_item=null,e}n(e,t);var r=e.prototype;return r.initView=function(t){var e=this;this.m_call_back=t,this.btn_sure.on(c.EventType.TOUCH_END,(function(){null!=e.m_call_back&&e.m_call_back(e.m_cur_select_item.getData()),e.close()})),this.btn_close.on(c.EventType.TOUCH_END,(function(){e.close()}));for(var n=p.Singleton.getResDataByType(b.select_res_btn_type.SOUND_LIST),i=0;i<n.length;i++){var l=n[i],r=a(this.item_prefab);r.parent=this.content,r.getComponent(m).initView(l,this.onItemClick.bind(this),!1),0===i?(this.m_cur_select_item=r.getComponent(m),this.m_cur_select_item.selectStatus(),this.lab_title.getComponent(u).string=this.m_cur_select_item.getData().name):r.getComponent(m).unSelectStatus()}},r.close=function(){this.node.removeFromParent()},r.onItemClick=function(t){this.unSelectAll(),this.m_cur_select_item=t,this.lab_title.getComponent(u).string=this.m_cur_select_item.getData().name,this.m_cur_select_item.selectStatus()},r.unSelectAll=function(){for(var t=0;t<this.content.children.length;t++){this.content.children[t].getComponent(m).unSelectStatus()}},e}(_)).prototype,"content",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),w=e(C.prototype,"item_prefab",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),k=e(C.prototype,"btn_sure",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),z=e(C.prototype,"btn_close",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),T=e(C.prototype,"lab_title",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),S=C))||S));r._RF.pop()}}}));

System.register("chunks:///_virtual/select_task_da_guai_item.ts",["./rollupPluginModLoBabelHelpers.js","cc","./Attributes.ts","./tools.ts"],(function(t){var e,i,n,a,r,l,o,_,u,s,c,d;return{setters:[function(t){e=t.applyDecoratedDescriptor,i=t.inheritsLoose,n=t.initializerDefineProperty,a=t.assertThisInitialized},function(t){r=t.cclegacy,l=t._decorator,o=t.Node,_=t.EditBox,u=t.Label,s=t.Component},function(t){c=t.Attributes},function(t){d=t.tools}],execute:function(){var g,p,h,b,m,f,w,y,v,D,E;r._RF.push({},"14cfc7EmHpG+IrDovreABwC","select_task_da_guai_item",void 0);var k=l.ccclass,S=l.property;t("select_task_da_guai_item",(g=k("select_task_da_guai_item"),p=S(o),h=S(o),b=S(o),m=S(o),g((y=e((w=function(t){function e(){for(var e,i=arguments.length,r=new Array(i),l=0;l<i;l++)r[l]=arguments[l];return e=t.call.apply(t,[this].concat(r))||this,n(e,"btn_select_widget",y,a(e)),n(e,"lab_select_widget",v,a(e)),n(e,"btn_delete",D,a(e)),n(e,"edit_hurt",E,a(e)),e.m_call_back=null,e.m_data=null,e.m_index=0,e}i(e,t);var r=e.prototype;return r.initView=function(t,e,i){var n=this;this.m_data=t,this.m_call_back=e,this.m_index=i,this.btn_select_widget.on(o.EventType.TOUCH_END,(function(){var t=c.Singleton.get_cur_scene_all_only_widget();if(t.length<=0)return d.showToast("当前场景没有添控件！");d.show_select_widget_list(t,(function(t){n.m_data.widget_id=t.att.id,n.updateShowStatus()}),n.m_data.widget_id)})),this.btn_delete.on(o.EventType.TOUCH_END,(function(){null!=n.m_call_back&&n.m_call_back(n)})),this.edit_hurt.on(_.EventType.EDITING_DID_ENDED,(function(){n.m_data.hurt=parseInt(n.edit_hurt.getComponent(_).string)})),this.updateShowStatus()},r.getIndex=function(){return this.m_index},r.updateShowStatus=function(){this.edit_hurt.getComponent(_).string=this.m_data.hurt.toString(),this.lab_select_widget.getComponent(u).string=-1!=this.m_data.widget_id?"当前选择的控件:"+this.m_data.widget_id:"选择控件"},e}(s)).prototype,"btn_select_widget",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),v=e(w.prototype,"lab_select_widget",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),D=e(w.prototype,"btn_delete",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),E=e(w.prototype,"edit_hurt",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),f=w))||f));r._RF.pop()}}}));

System.register("chunks:///_virtual/select_task_da_guai.ts",["./rollupPluginModLoBabelHelpers.js","cc","./data.ts","./select_task_da_guai_item.ts","./tools.ts"],(function(t){var e,i,n,a,o,r,s,l,c,_,u,d,p;return{setters:[function(t){e=t.applyDecoratedDescriptor,i=t.inheritsLoose,n=t.initializerDefineProperty,a=t.assertThisInitialized},function(t){o=t.cclegacy,r=t._decorator,s=t.Node,l=t.Prefab,c=t.instantiate,_=t.Component},function(t){u=t.da_guai_item_data},function(t){d=t.select_task_da_guai_item},function(t){p=t.tools}],execute:function(){var h,f,m,b,g,v,w,y,D,k,I;o._RF.push({},"568b06jPUtEiZEhb7UPu2LD","select_task_da_guai",void 0);var z=r.ccclass,C=r.property;t("select_task_da_guai",(h=z("select_task_da_guai"),f=C(s),m=C(s),b=C(s),g=C(l),h((y=e((w=function(t){function e(){for(var e,i=arguments.length,o=new Array(i),r=0;r<i;r++)o[r]=arguments[r];return e=t.call.apply(t,[this].concat(o))||this,n(e,"btn_close",y,a(e)),n(e,"btn_add",D,a(e)),n(e,"content",k,a(e)),n(e,"item_prefab",I,a(e)),e.m_data=null,e}i(e,t);var o=e.prototype;return o.show=function(t){var e=this;this.m_data=t,this.btn_add.on(s.EventType.TOUCH_END,(function(){e.addItem()})),this.btn_close.on(s.EventType.TOUCH_END,(function(){e.close()})),this.content.removeAllChildren();for(var i=0;i<this.m_data.widget_id_list.length;i++){var n=this.m_data.widget_id_list[i],a=c(this.item_prefab);a.parent=this.content,a.getComponent(d).initView(n,this.onItemDelete.bind(this),i)}},o.onItemDelete=function(t){var e=this;p.show_dialog("是否删除？",(function(){t.node.removeFromParent(),e.m_data.widget_id_list.splice(t.getIndex(),1)}))},o.close=function(){this.node.active=!1},o.addItem=function(){var t=new u;this.m_data.widget_id_list.push(t);var e=this.m_data.widget_id_list.length-1,i=c(this.item_prefab);i.parent=this.content,i.getComponent(d).initView(t,this.onItemDelete.bind(this),e)},e}(_)).prototype,"btn_close",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),D=e(w.prototype,"btn_add",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),k=e(w.prototype,"content",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),I=e(w.prototype,"item_prefab",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),v=w))||v));o._RF.pop()}}}));

System.register("chunks:///_virtual/select_task_dai_dao_ju_item.ts",["./rollupPluginModLoBabelHelpers.js","cc","./Attributes.ts","./tools.ts","./config.ts","./control.ts"],(function(t){var e,i,n,a,_,o,l,s,r,c,u,d,g,p,b;return{setters:[function(t){e=t.applyDecoratedDescriptor,i=t.inheritsLoose,n=t.initializerDefineProperty,a=t.assertThisInitialized},function(t){_=t.cclegacy,o=t._decorator,l=t.Node,s=t.Toggle,r=t.Sprite,c=t.Label,u=t.Component},function(t){d=t.Attributes},function(t){g=t.tools},function(t){p=t.config},function(t){b=t.control}],execute:function(){var m,f,h,w,y,v,S,T,k,C,E,z,D;_._RF.push({},"56c475RyMVLXYSSPZpkhuYs","select_task_dai_dao_ju_item",void 0);var L=o.ccclass,j=o.property;t("select_task_dai_dao_ju_item",(m=L("select_task_dai_dao_ju_item"),f=j(l),h=j(l),w=j(l),y=j(l),v=j(l),m((k=e((T=function(t){function e(){for(var e,i=arguments.length,_=new Array(i),o=0;o<i;o++)_[o]=arguments[o];return e=t.call.apply(t,[this].concat(_))||this,n(e,"btn_select_widget",k,a(e)),n(e,"lab_select_widget",C,a(e)),n(e,"btn_delete",E,a(e)),n(e,"toggle_is_in_bag",z,a(e)),n(e,"btn_select_res",D,a(e)),e.m_call_back=null,e.m_data=null,e.m_index=0,e}i(e,t);var _=e.prototype;return _.initView=function(t,e,i){var n=this;this.m_data=t,this.m_call_back=e,this.m_index=i,this.btn_select_widget.on(l.EventType.TOUCH_END,(function(){var t=d.Singleton.get_cur_scene_widget_by_type(p.Widget_Type_List.DRAG_TYPE);if(t.length<=0)return g.showToast("当前场景没有添加拖拽控件！");g.show_select_widget_list(t,(function(t){n.m_data.widget_id=t.att.id,n.updateShowStatus()}),n.m_data.widget_id)})),this.btn_delete.on(l.EventType.TOUCH_END,(function(){null!=n.m_call_back&&n.m_call_back(n)})),this.toggle_is_in_bag.on(s.EventType.TOGGLE,(function(){n.m_data.is_in_bag=n.toggle_is_in_bag.getComponent(s).isChecked})),this.btn_select_res.on(l.EventType.TOUCH_END,(function(){g.select_res_list((function(t){n.m_data.info_res.url=t.url,n.m_data.info_res.name=t.name,n.updateShowStatus()}))})),this.updateShowStatus()},_.getIndex=function(){return this.m_index},_.updateShowStatus=function(){this.m_data.info_res.name.length>0&&(this.node.getComponent(r).spriteFrame=b.res_map.get(this.m_data.info_res.name)),this.toggle_is_in_bag.getComponent(s).isChecked=this.m_data.is_in_bag,this.lab_select_widget.getComponent(c).string=-1!=this.m_data.widget_id?"当前选择的控件:"+this.m_data.widget_id:"选择控件"},e}(u)).prototype,"btn_select_widget",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),C=e(T.prototype,"lab_select_widget",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),E=e(T.prototype,"btn_delete",[w],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),z=e(T.prototype,"toggle_is_in_bag",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),D=e(T.prototype,"btn_select_res",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),S=T))||S));_._RF.pop()}}}));

System.register("chunks:///_virtual/select_task_dai_dao_ju.ts",["./rollupPluginModLoBabelHelpers.js","cc","./data.ts","./tools.ts","./select_task_dai_dao_ju_item.ts"],(function(t){var e,i,n,a,o,r,s,l,c,_,u,d,p;return{setters:[function(t){e=t.applyDecoratedDescriptor,i=t.inheritsLoose,n=t.initializerDefineProperty,a=t.assertThisInitialized},function(t){o=t.cclegacy,r=t._decorator,s=t.Node,l=t.Prefab,c=t.instantiate,_=t.Component},function(t){u=t.dai_dao_ju_item},function(t){d=t.tools},function(t){p=t.select_task_dai_dao_ju_item}],execute:function(){var f,h,m,b,g,v,w,y,j,I,D;o._RF.push({},"f0c4dIjEqdC/qP8hIQyuvAb","select_task_dai_dao_ju",void 0);var k=r.ccclass,C=r.property;t("select_task_dai_dao_ju",(f=k("select_task_dai_dao_ju"),h=C(s),m=C(s),b=C(s),g=C(l),f((y=e((w=function(t){function e(){for(var e,i=arguments.length,o=new Array(i),r=0;r<i;r++)o[r]=arguments[r];return e=t.call.apply(t,[this].concat(o))||this,n(e,"btn_close",y,a(e)),n(e,"btn_add",j,a(e)),n(e,"content",I,a(e)),n(e,"item_prefab",D,a(e)),e.m_data=null,e}i(e,t);var o=e.prototype;return o.show=function(t){var e=this;this.m_data=t,this.btn_add.on(s.EventType.TOUCH_END,(function(){e.addItem()})),this.btn_close.on(s.EventType.TOUCH_END,(function(){e.close()})),this.content.removeAllChildren();for(var i=0;i<this.m_data.widget_list.length;i++){var n=this.m_data.widget_list[i],a=c(this.item_prefab);a.parent=this.content,a.getComponent(p).initView(n,this.onItemDelete.bind(this),i)}},o.onItemDelete=function(t){var e=this;d.show_dialog("是否删除？",(function(){t.node.removeFromParent(),e.m_data.widget_list.splice(t.getIndex(),1)}))},o.close=function(){this.node.active=!1},o.addItem=function(){var t=new u;this.m_data.widget_list.push(t);var e=this.m_data.widget_list.length-1,i=c(this.item_prefab);i.parent=this.content,i.getComponent(p).initView(t,this.onItemDelete.bind(this),e)},e}(_)).prototype,"btn_close",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),j=e(w.prototype,"btn_add",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),I=e(w.prototype,"content",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),D=e(w.prototype,"item_prefab",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),v=w))||v));o._RF.pop()}}}));

System.register("chunks:///_virtual/select_task_zhao_xi_jie_item.ts",["./rollupPluginModLoBabelHelpers.js","cc","./tools.ts","./Attributes.ts"],(function(t){var e,i,n,a,_,s,l,r,o,u,c,d;return{setters:[function(t){e=t.applyDecoratedDescriptor,i=t.inheritsLoose,n=t.initializerDefineProperty,a=t.assertThisInitialized},function(t){_=t.cclegacy,s=t._decorator,l=t.Node,r=t.Sprite,o=t.Label,u=t.Component},function(t){c=t.tools},function(t){d=t.Attributes}],execute:function(){var p,m,b,h,f,g,w,y,v,S,z,E,T,k,x;_._RF.push({},"f6747oEv9NE5582jwwbiBNE","select_task_zhao_xi_jie_item",void 0);var C=s.ccclass,D=s.property;t("select_task_zhao_xi_jie_item",(p=C("select_task_zhao_xi_jie_item"),m=D(l),b=D(l),h=D(l),f=D(l),g=D(l),w=D(l),p((S=e((v=function(t){function e(){for(var e,i=arguments.length,_=new Array(i),s=0;s<i;s++)_[s]=arguments[s];return e=t.call.apply(t,[this].concat(_))||this,n(e,"btn_select_widget",S,a(e)),n(e,"lab_select_widget",z,a(e)),n(e,"btn_select_res",E,a(e)),n(e,"lab_select_res",T,a(e)),n(e,"btn_delete",k,a(e)),n(e,"btn_add_tip_res",x,a(e)),e.m_call_back=null,e.m_data=null,e.m_index=0,e}i(e,t);var _=e.prototype;return _.initView=function(t,e,i){var n=this;this.m_data=t,this.m_call_back=e,this.m_index=i,null!=this.m_data.tips_res&&null!=this.m_data.tips_res||(this.m_data.tips_res=""),null!=this.m_data.tips_res_name&&null!=this.m_data.tips_res_name||(this.m_data.tips_res_name=""),this.btn_add_tip_res.on(l.EventType.TOUCH_END,(function(){c.select_res_list((function(t){n.m_data.tips_res=t.url,n.m_data.tips_res_name=t.name,n.updateShowStatus()}))})),this.btn_select_res.on(l.EventType.TOUCH_END,(function(){c.select_res_list((function(t){n.m_data.res=t.url,n.m_data.res_name=t.name,n.updateShowStatus()}))})),this.btn_select_widget.on(l.EventType.TOUCH_END,(function(){var t=d.Singleton.get_cur_scene_all_only_widget();if(t.length<=0)return c.showToast("当前场景没有添控件！");c.show_select_widget_list(t,(function(t){n.m_data.widget_id=t.att.id,n.updateShowStatus()}),n.m_data.widget_id)})),this.btn_delete.on(l.EventType.TOUCH_END,(function(){null!=n.m_call_back&&n.m_call_back(n)})),this.updateShowStatus()},_.getIndex=function(){return this.m_index},_.updateShowStatus=function(){c.loadUrl(this.m_data.res,this.node.getComponent(r)),this.lab_select_widget.getComponent(o).string=-1!=this.m_data.widget_id?"当前选择的控件:"+this.m_data.widget_id:"选择控件",this.lab_select_res.getComponent(o).string=this.m_data.res_name.length>0?this.m_data.res_name:"选择资源",c.loadUrl(this.m_data.tips_res,this.btn_add_tip_res.getComponent(r))},e}(u)).prototype,"btn_select_widget",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),z=e(v.prototype,"lab_select_widget",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),E=e(v.prototype,"btn_select_res",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),T=e(v.prototype,"lab_select_res",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),k=e(v.prototype,"btn_delete",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),x=e(v.prototype,"btn_add_tip_res",[w],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),y=v))||y));_._RF.pop()}}}));

System.register("chunks:///_virtual/select_task_zhao_xi_jie.ts",["./rollupPluginModLoBabelHelpers.js","cc","./data.ts","./select_task_zhao_xi_jie_item.ts","./tools.ts"],(function(t){var e,i,n,o,a,r,s,l,_,c,u,d,h;return{setters:[function(t){e=t.applyDecoratedDescriptor,i=t.inheritsLoose,n=t.initializerDefineProperty,o=t.assertThisInitialized},function(t){a=t.cclegacy,r=t._decorator,s=t.Node,l=t.Prefab,_=t.instantiate,c=t.Component},function(t){u=t.zhao_xi_jie_item_data},function(t){d=t.select_task_zhao_xi_jie_item},function(t){h=t.tools}],execute:function(){var p,f,m,b,g,v,w,y,z,j,x;a._RF.push({},"d3444jSM/ZPO7Vr1800rRpz","select_task_zhao_xi_jie",void 0);var D=r.ccclass,k=r.property;t("select_task_zhao_xi_jie",(p=D("select_task_zhao_xi_jie"),f=k(s),m=k(s),b=k(s),g=k(l),p((y=e((w=function(t){function e(){for(var e,i=arguments.length,a=new Array(i),r=0;r<i;r++)a[r]=arguments[r];return e=t.call.apply(t,[this].concat(a))||this,n(e,"btn_close",y,o(e)),n(e,"btn_add",z,o(e)),n(e,"content",j,o(e)),n(e,"item_prefab",x,o(e)),e.m_data=null,e}i(e,t);var a=e.prototype;return a.show=function(t){var e=this;this.m_data=t,this.btn_add.on(s.EventType.TOUCH_END,(function(){e.addItem()})),this.btn_close.on(s.EventType.TOUCH_END,(function(){e.close()})),this.content.removeAllChildren();for(var i=0;i<this.m_data.widget_id_list.length;i++){var n=this.m_data.widget_id_list[i],o=_(this.item_prefab);o.parent=this.content,o.getComponent(d).initView(n,this.onItemDelete.bind(this),i)}},a.onItemDelete=function(t){var e=this;h.show_dialog("是否删除？",(function(){t.node.removeFromParent(),e.m_data.widget_id_list.splice(t.getIndex(),1)}))},a.close=function(){this.node.active=!1},a.addItem=function(){var t=new u;this.m_data.widget_id_list.push(t);var e=this.m_data.widget_id_list.length-1,i=_(this.item_prefab);i.parent=this.content,i.getComponent(d).initView(t,this.onItemDelete.bind(this),e)},e}(c)).prototype,"btn_close",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),z=e(w.prototype,"btn_add",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),j=e(w.prototype,"content",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),x=e(w.prototype,"item_prefab",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),v=w))||v));a._RF.pop()}}}));

System.register("chunks:///_virtual/select_ui_top_type_item.ts",["./rollupPluginModLoBabelHelpers.js","cc","./config.ts"],(function(t){var e,i,n,o,r,c,l,a,p,_;return{setters:[function(t){e=t.applyDecoratedDescriptor,i=t.inheritsLoose,n=t.initializerDefineProperty,o=t.assertThisInitialized},function(t){r=t.cclegacy,c=t._decorator,l=t.Node,a=t.Label,p=t.Component},function(t){_=t.config}],execute:function(){var s,u,y,f,m;r._RF.push({},"af26eqZpKdJ+rK+AssZpoMR","select_ui_top_type_item",void 0);var h=c.ccclass,b=c.property;t("select_ui_top_type_item",(s=h("select_ui_top_type_item"),u=b(l),s((m=e((f=function(t){function e(){for(var e,i=arguments.length,r=new Array(i),c=0;c<i;c++)r[c]=arguments[c];return e=t.call.apply(t,[this].concat(r))||this,n(e,"lab_name",m,o(e)),e.call_back=null,e.m_type=0,e}return i(e,t),e.prototype.initView=function(t,e){var i=this;this.call_back=e,this.m_type=t,this.lab_name.getComponent(a).string=_.top_view_type_map.get(this.m_type),this.node.on(l.EventType.TOUCH_END,(function(){null!=i.call_back&&i.call_back(i.m_type)}))},e}(p)).prototype,"lab_name",[u],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),y=f))||y));r._RF.pop()}}}));

System.register("chunks:///_virtual/select_ui_top_type.ts",["./rollupPluginModLoBabelHelpers.js","cc","./config.ts","./select_ui_top_type_item.ts","./tools.ts"],(function(t){var e,n,i,o,c,l,r,a,u,p,s,_,f;return{setters:[function(t){e=t.applyDecoratedDescriptor,n=t.inheritsLoose,i=t.initializerDefineProperty,o=t.assertThisInitialized},function(t){c=t.cclegacy,l=t._decorator,r=t.Node,a=t.Prefab,u=t.instantiate,p=t.Component},function(t){s=t.config},function(t){_=t.select_ui_top_type_item},function(t){f=t.tools}],execute:function(){var b,y,h,m,v,d,g,w,k;c._RF.push({},"dbe285FKEdOGpVHMFEW16qD","select_ui_top_type",void 0);var z=l.ccclass,C=l.property;t("select_ui_top_type",(b=z("select_ui_top_type"),y=C(r),h=C(r),m=C(a),b((g=e((d=function(t){function e(){for(var e,n=arguments.length,c=new Array(n),l=0;l<n;l++)c[l]=arguments[l];return e=t.call.apply(t,[this].concat(c))||this,i(e,"content",g,o(e)),i(e,"btn_close",w,o(e)),i(e,"item_prefab",k,o(e)),e.call_back=null,e}n(e,t);var c=e.prototype;return c.show=function(t){var e=this;this.call_back=t,s.top_view_type_map.forEach((function(t,n){if(n!=s.top_view_type.__null){var i=u(e.item_prefab);i.parent=e.content,i.getComponent(_).initView(n,e.onItemClick.bind(e))}})),this.btn_close.on(r.EventType.TOUCH_END,(function(){e.close()}))},c.onItemClick=function(t){var e=this;null!=this.call_back&&f.show_dialog("选择后不可更改，是否确定？",(function(){e.call_back(t),e.close()}))},c.close=function(){this.node.destroy()},e}(p)).prototype,"content",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),w=e(d.prototype,"btn_close",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),k=e(d.prototype,"item_prefab",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),v=d))||v));c._RF.pop()}}}));

System.register("chunks:///_virtual/select_widget_list.ts",["./rollupPluginModLoBabelHelpers.js","cc","./widget_item.ts"],(function(t){var e,i,n,r,o,l,c,a,s,u,p;return{setters:[function(t){e=t.applyDecoratedDescriptor,i=t.inheritsLoose,n=t.initializerDefineProperty,r=t.assertThisInitialized},function(t){o=t.cclegacy,l=t._decorator,c=t.Node,a=t.Prefab,s=t.instantiate,u=t.Component},function(t){p=t.widget_item}],execute:function(){var _,f,b,h,d,g,m,y,v;o._RF.push({},"9834bh3gEdKYL8GGl9FSBQO","select_widget_list",void 0);var w=l.ccclass,k=l.property;t("select_widget_list",(_=w("select_widget_list"),f=k(c),b=k(c),h=k(a),_((m=e((g=function(t){function e(){for(var e,i=arguments.length,o=new Array(i),l=0;l<i;l++)o[l]=arguments[l];return e=t.call.apply(t,[this].concat(o))||this,n(e,"content",m,r(e)),n(e,"btn_close",y,r(e)),n(e,"item_prefab",v,r(e)),e.call_back=null,e}i(e,t);var o=e.prototype;return o.show=function(t,e,i){var n=this;void 0===i&&(i=-1),this.call_back=e;for(var r=0;r<t.length;r++){var o=t[r],l=s(this.item_prefab);l.parent=this.content,l.getComponent(p).initHideDragOtherList(),l.getComponent(p).initView(o,this.onItemClick.bind(this),i)}this.btn_close.on(c.EventType.TOUCH_END,(function(){n.close()}))},o.onItemClick=function(t){null!=this.call_back&&this.call_back(t),this.close()},o.close=function(){this.node.destroy()},e}(u)).prototype,"content",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),y=e(g.prototype,"btn_close",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),v=e(g.prototype,"item_prefab",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),d=g))||d));o._RF.pop()}}}));

System.register("chunks:///_virtual/set_color.ts",["./rollupPluginModLoBabelHelpers.js","cc","./cp_palette.ts","./control2.ts"],(function(t){var e,n,o,r,l,c,i,a,u,s;return{setters:[function(t){e=t.applyDecoratedDescriptor,n=t.inheritsLoose,o=t.initializerDefineProperty,r=t.assertThisInitialized},function(t){l=t.cclegacy,c=t._decorator,i=t.Node,a=t.Component},function(t){u=t.default},function(t){s=t.control}],execute:function(){var p,_,f,b,h,y,m,v,d;l._RF.push({},"5443ebW2stIV59XqeP82Xh7","set_color",void 0);var g=c.ccclass,w=c.property;t("set_color",(p=g("set_color"),_=w(i),f=w(u),b=w(s),p((m=e((y=function(t){function e(){for(var e,n=arguments.length,l=new Array(n),c=0;c<n;c++)l[c]=arguments[c];return e=t.call.apply(t,[this].concat(l))||this,o(e,"btn_close",m,r(e)),o(e,"palette",v,r(e)),o(e,"ctrl",d,r(e)),e.m_call_back=null,e}n(e,t);var l=e.prototype;return l.show=function(t,e){var n=this;this.m_call_back=e,this.btn_close.on(i.EventType.TOUCH_START,(function(){n.close()})),this.palette.show({color:t,alpha:t.a,update_listener:function(t,e){null!=n.m_call_back&&n.m_call_back(t)}})},l.close=function(){this.node.removeFromParent()},e}(a)).prototype,"btn_close",[_],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),v=e(y.prototype,"palette",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),d=e(y.prototype,"ctrl",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),h=y))||h));l._RF.pop()}}}));

System.register("chunks:///_virtual/shouji_item.ts",["./rollupPluginModLoBabelHelpers.js","cc","./gameManager.ts"],(function(t){var e,i,n,a,r,o,s,c,l,u;return{setters:[function(t){e=t.applyDecoratedDescriptor,i=t.inheritsLoose,n=t.initializerDefineProperty,a=t.assertThisInitialized},function(t){r=t.cclegacy,o=t._decorator,s=t.Node,c=t.Sprite,l=t.Component},function(t){u=t.gameManager}],execute:function(){var p,m,h,f,_,g,y;r._RF.push({},"0e200K2W1hM65S/ybIfXmw5","shouji_item",void 0);var v=o.ccclass,C=o.property;t("shouji_item",(p=v("shouji_item"),m=C(s),h=C(s),p((g=e((_=function(t){function e(){for(var e,i=arguments.length,r=new Array(i),o=0;o<i;o++)r[o]=arguments[o];return e=t.call.apply(t,[this].concat(r))||this,n(e,"spr_select_status",g,a(e)),n(e,"icon",y,a(e)),e.mData=null,e.mCallBack=null,e}i(e,t);var r=e.prototype;return r.initSingleTipView=function(t,e){var i=this;this.mData=t,this.mCallBack=e,this.node.on(s.EventType.TOUCH_START,(function(){null!=i.mCallBack&&i.mCallBack(i)})),this.icon.getComponent(c).spriteFrame=u.getCacheSpriteFrameByName(this.mData.res)},r.initAllTipView=function(t){this.mData=t,this.icon.getComponent(c).spriteFrame=u.getCacheSpriteFrameByName(this.mData.res)},r.getData=function(){return this.mData},r.onSelect=function(){this.spr_select_status.active=!0},r.unSelect=function(){this.spr_select_status.active=!1},r.showTipIcon=function(){this.icon.active=!0},e}(l)).prototype,"spr_select_status",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),y=e(_.prototype,"icon",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),f=_))||f));r._RF.pop()}}}));

System.register("chunks:///_virtual/show_copy_scene.ts",["./rollupPluginModLoBabelHelpers.js","cc","./tools.ts"],(function(e){var n,t,o,i,r,c,s,a,l,u;return{setters:[function(e){n=e.applyDecoratedDescriptor,t=e.inheritsLoose,o=e.initializerDefineProperty,i=e.assertThisInitialized},function(e){r=e.cclegacy,c=e._decorator,s=e.Node,a=e.EditBox,l=e.Component},function(e){u=e.tools}],execute:function(){var _,p,f,h,b,m,y,d,g;r._RF.push({},"1076aKT28hNTaLMmSPPvZ7a","show_copy_scene",void 0);var v=c.ccclass,w=c.property;e("show_copy_scene",(_=v("show_copy_scene"),p=w(s),f=w(s),h=w(s),_((y=n((m=function(e){function n(){for(var n,t=arguments.length,r=new Array(t),c=0;c<t;c++)r[c]=arguments[c];return n=e.call.apply(e,[this].concat(r))||this,o(n,"btn_sure",y,i(n)),o(n,"btn_cancel",d,i(n)),o(n,"editBox_scene_name",g,i(n)),n.m_sure_callback=null,n}t(n,e);var r=n.prototype;return r.start=function(){var e=this;this.btn_sure.on(s.EventType.TOUCH_END,(function(){if(null!=e.m_sure_callback){var n=u.trimLeftAndRightblank(e.editBox_scene_name.getComponent(a).string);if(e.editBox_scene_name.getComponent(a).string=n,""==n)return u.showToast("请输入场景名称");e.m_sure_callback(n,e)}}),this),this.btn_cancel.on(s.EventType.TOUCH_END,(function(){e.close()}),this)},r.initView=function(e,n){this.m_sure_callback=n,this.editBox_scene_name.getComponent(a).string=e},r.close=function(){this.node.removeFromParent()},n}(l)).prototype,"btn_sure",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),d=n(m.prototype,"btn_cancel",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),g=n(m.prototype,"editBox_scene_name",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),b=m))||b));r._RF.pop()}}}));

System.register("chunks:///_virtual/show_question_select_item.ts",["./rollupPluginModLoBabelHelpers.js","cc","./tools.ts","./Attributes.ts"],(function(e){var t,i,n,o,_,r,s,a,l,u,c,m,p,d,h;return{setters:[function(e){t=e.applyDecoratedDescriptor,i=e.inheritsLoose,n=e.initializerDefineProperty,o=e.assertThisInitialized},function(e){_=e.cclegacy,r=e._decorator,s=e.Node,a=e.assetManager,l=e.Texture2D,u=e.SpriteFrame,c=e.Sprite,m=e.Label,p=e.Component},function(e){d=e.tools},function(e){h=e.Attributes}],execute:function(){var g,v,b,f,w,y,q,D,S,z,E;_._RF.push({},"a165f81E8dE8oJmmDEl2I27","show_question_select_item",void 0);var C=r.ccclass,F=r.property;e("show_question_select_item",(g=C("show_question_select_item"),v=F(s),b=F(s),f=F(s),w=F(s),g((D=t((q=function(e){function t(){for(var t,i=arguments.length,_=new Array(i),r=0;r<i;r++)_[r]=arguments[r];return(t=e.call.apply(e,[this].concat(_))||this).m_data=null,n(t,"img_icon",D,o(t)),n(t,"btn_add_event",S,o(t)),n(t,"lab_cur_event_id",z,o(t)),n(t,"toggle_is_right",E,o(t)),t.m_event_item_show_question_select_item=null,t}i(t,e);var _=t.prototype;return _.initView=function(e,t){var i=this;this.m_data=e,this.m_event_item_show_question_select_item=t,this.m_data.res.length>0&&a.loadRemote(this.m_data.res,(function(e,t){if(!e&&t){var n=new l;n.image=t;var o=new u;o.texture=n,i.img_icon.getComponent(c).spriteFrame=o}})),this.btn_add_event.on(s.EventType.TOUCH_END,(function(){var e=h.Singleton.getEventList();d.show_select_evele_list(e,(function(e){i.m_event_item_show_question_select_item.binding_event_id=e.event_id,i.updateStatus()}))})),this.updateStatus()},_.updateStatus=function(){-1==this.m_event_item_show_question_select_item.binding_event_id?this.lab_cur_event_id.getComponent(m).string="添加事件":this.lab_cur_event_id.getComponent(m).string="事件ID:"+this.m_event_item_show_question_select_item.binding_event_id},t}(p)).prototype,"img_icon",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),S=t(q.prototype,"btn_add_event",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),z=t(q.prototype,"lab_cur_event_id",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),E=t(q.prototype,"toggle_is_right",[w],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),y=q))||y));_._RF.pop()}}}));

System.register("chunks:///_virtual/show_select_child_scene_item.ts",["./rollupPluginModLoBabelHelpers.js","cc"],(function(e){var t,n,i,a,c,l,r,o,s;return{setters:[function(e){t=e.applyDecoratedDescriptor,n=e.inheritsLoose,i=e.initializerDefineProperty,a=e.assertThisInitialized},function(e){c=e.cclegacy,l=e._decorator,r=e.Node,o=e.Label,s=e.Component}],execute:function(){var _,u,p,h,d;c._RF.push({},"a752aYSaIZAJbjXKEJHpyLr","show_select_child_scene_item",void 0);var m=l.ccclass,b=l.property;e("show_select_child_scene_item",(_=m("show_select_child_scene_item"),u=b(r),_((d=t((h=function(e){function t(){for(var t,n=arguments.length,c=new Array(n),l=0;l<n;l++)c[l]=arguments[l];return t=e.call.apply(e,[this].concat(c))||this,i(t,"lab_name",d,a(t)),t.call_back=null,t.m_data=null,t}return n(t,e),t.prototype.initView=function(e,t){var n=this;this.m_data=e,this.call_back=t,this.lab_name.getComponent(o).string=e.scene_diy_name,this.node.on(r.EventType.TOUCH_END,(function(){null!=n.call_back&&n.call_back(n.m_data)}))},t}(s)).prototype,"lab_name",[u],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),p=h))||p));c._RF.pop()}}}));

System.register("chunks:///_virtual/show_select_child_scene.ts",["./rollupPluginModLoBabelHelpers.js","cc","./show_select_child_scene_item.ts"],(function(e){var t,n,i,c,o,l,r,s,a,u,_;return{setters:[function(e){t=e.applyDecoratedDescriptor,n=e.inheritsLoose,i=e.initializerDefineProperty,c=e.assertThisInitialized},function(e){o=e.cclegacy,l=e._decorator,r=e.Node,s=e.Prefab,a=e.instantiate,u=e.Component},function(e){_=e.show_select_child_scene_item}],execute:function(){var h,p,f,b,d,m,w,v,y;o._RF.push({},"153e8uhBAZP8JUFdffwl2MQ","show_select_child_scene",void 0);var g=l.ccclass,k=l.property;e("show_select_child_scene",(h=g("show_select_child_scene"),p=k(r),f=k(r),b=k(s),h((w=t((m=function(e){function t(){for(var t,n=arguments.length,o=new Array(n),l=0;l<n;l++)o[l]=arguments[l];return t=e.call.apply(e,[this].concat(o))||this,i(t,"content",w,c(t)),i(t,"btn_close",v,c(t)),i(t,"item_prefab",y,c(t)),t.call_back=null,t}n(t,e);var o=t.prototype;return o.show=function(e,t){var n=this;this.call_back=t;for(var i=0;i<e.length;i++){var c=e[i],o=a(this.item_prefab);o.parent=this.content,o.getComponent(_).initView(c,this.onItemClick.bind(this))}this.btn_close.on(r.EventType.TOUCH_END,(function(){n.close()}))},o.onItemClick=function(e){null!=this.call_back&&(this.call_back(e),this.close())},o.close=function(){this.node.removeFromParent()},t}(u)).prototype,"content",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),v=t(m.prototype,"btn_close",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),y=t(m.prototype,"item_prefab",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),d=m))||d));o._RF.pop()}}}));

System.register("chunks:///_virtual/show_select_evele_list_item.ts",["./rollupPluginModLoBabelHelpers.js","cc"],(function(e){var t,i,n,a,l,r,o,s,c;return{setters:[function(e){t=e.applyDecoratedDescriptor,i=e.inheritsLoose,n=e.initializerDefineProperty,a=e.assertThisInitialized},function(e){l=e.cclegacy,r=e._decorator,o=e.Node,s=e.Label,c=e.Component}],execute:function(){var _,u,m,h,p;l._RF.push({},"16319LVdqlNP7MLEhwTokzP","show_select_evele_list_item",void 0);var d=r.ccclass,v=r.property;e("show_select_evele_list_item",(_=d("show_select_evele_list_item"),u=v(o),_((p=t((h=function(e){function t(){for(var t,i=arguments.length,l=new Array(i),r=0;r<i;r++)l[r]=arguments[r];return t=e.call.apply(e,[this].concat(l))||this,n(t,"lab_name",p,a(t)),t.m_data=null,t.m_call_back=null,t}i(t,e);var l=t.prototype;return l.initView=function(e,t){var i=this;this.m_data=e,this.m_call_back=t,this.lab_name.getComponent(s).string="事件名:"+this.m_data.event_name+"-id："+this.m_data.event_id.toString(),this.node.on(o.EventType.TOUCH_END,(function(){null!=i.m_call_back&&i.m_call_back(i.getData())}))},l.getData=function(){return this.m_data},t}(c)).prototype,"lab_name",[u],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),m=h))||m));l._RF.pop()}}}));

System.register("chunks:///_virtual/show_select_evele_list.ts",["./rollupPluginModLoBabelHelpers.js","cc","./show_select_evele_list_item.ts"],(function(e){var t,n,i,l,o,r,c,s,a,u,_;return{setters:[function(e){t=e.applyDecoratedDescriptor,n=e.inheritsLoose,i=e.initializerDefineProperty,l=e.assertThisInitialized},function(e){o=e.cclegacy,r=e._decorator,c=e.Node,s=e.Prefab,a=e.instantiate,u=e.Component},function(e){_=e.show_select_evele_list_item}],execute:function(){var p,h,f,b,v,m,y,w,d;o._RF.push({},"373e0z1FhFAMo0q2CjEWaIK","show_select_evele_list",void 0);var g=r.ccclass,k=r.property;e("show_select_evele_list",(p=g("show_select_evele_list"),h=k(c),f=k(c),b=k(s),p((y=t((m=function(e){function t(){for(var t,n=arguments.length,o=new Array(n),r=0;r<n;r++)o[r]=arguments[r];return t=e.call.apply(e,[this].concat(o))||this,i(t,"content",y,l(t)),i(t,"btn_close",w,l(t)),i(t,"item_prefab",d,l(t)),t.call_back=null,t}n(t,e);var o=t.prototype;return o.show=function(e,t){var n=this;this.call_back=t;for(var i=0;i<e.length;i++){var l=e[i],o=a(this.item_prefab);o.parent=this.content,o.getComponent(_).initView(l,this.onItemClick.bind(this))}this.btn_close.on(c.EventType.TOUCH_END,(function(){n.close()}))},o.onItemClick=function(e){null!=this.call_back&&this.call_back(e),this.close()},o.close=function(){this.node.destroy()},t}(u)).prototype,"content",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),w=t(m.prototype,"btn_close",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),d=t(m.prototype,"item_prefab",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),v=m))||v));o._RF.pop()}}}));

System.register("chunks:///_virtual/show_select_more_scene_page_item.ts",["./rollupPluginModLoBabelHelpers.js","cc"],(function(e){var t,n,i,o,c,s,l,r,a,_;return{setters:[function(e){t=e.applyDecoratedDescriptor,n=e.inheritsLoose,i=e.initializerDefineProperty,o=e.assertThisInitialized},function(e){c=e.cclegacy,s=e._decorator,l=e.Node,r=e.Label,a=e.Color,_=e.Component}],execute:function(){var u,m,p,h,f;c._RF.push({},"9b0abPPEuNGw5r60SYvAQUK","show_select_more_scene_page_item",void 0);var b=s.ccclass,g=s.property;e("show_select_more_scene_page_item",(u=b("show_select_more_scene_page_item"),m=g(l),u((f=t((h=function(e){function t(){for(var t,n=arguments.length,c=new Array(n),s=0;s<n;s++)c[s]=arguments[s];return t=e.call.apply(e,[this].concat(c))||this,i(t,"lab_name",f,o(t)),t.m_is_select=!1,t.m_index=null,t.m_callback=null,t}n(t,e);var c=t.prototype;return c.start=function(){var e=this;this.node.on(l.EventType.TOUCH_END,(function(){null!=e.m_callback&&e.m_callback(e)}),this)},c.initView=function(e,t,n){this.m_index=t,this.lab_name.getComponent(r).string=e,this.m_callback=n},c.getIndex=function(){return this.m_index},c.setIsSelect=function(e){this.m_is_select=e},c.getSelect=function(){return this.m_is_select},c.updatSelectStatus=function(){this.m_is_select?this.lab_name.getComponent(r).color=a.RED:this.lab_name.getComponent(r).color=a.BLACK},t}(_)).prototype,"lab_name",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),p=h))||p));c._RF.pop()}}}));

System.register("chunks:///_virtual/show_select_more_scene_page.ts",["./rollupPluginModLoBabelHelpers.js","cc","./show_select_more_scene_page_item.ts"],(function(e){var t,n,i,c,r,o,l,s,a,u,_;return{setters:[function(e){t=e.applyDecoratedDescriptor,n=e.inheritsLoose,i=e.initializerDefineProperty,c=e.assertThisInitialized},function(e){r=e.cclegacy,o=e._decorator,l=e.Node,s=e.Prefab,a=e.instantiate,u=e.Component},function(e){_=e.show_select_more_scene_page_item}],execute:function(){var p,h,f,m,b,g,d,v,S,y,w;r._RF.push({},"94503dNcGpNBLKuiAgh3IA1","show_select_more_scene_page",void 0);var x=o.ccclass,C=o.property;e("show_select_more_scene_page",(p=x("show_select_more_scene_page"),h=C(l),f=C(l),m=C(l),b=C(s),p((v=t((d=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return t=e.call.apply(e,[this].concat(r))||this,i(t,"content",v,c(t)),i(t,"btn_sure",S,c(t)),i(t,"btn_cancel",y,c(t)),i(t,"item_prefab",w,c(t)),t.m_callback=null,t.cur_select_index=-1,t}n(t,e);var r=t.prototype;return r.start=function(){var e=this;this.btn_sure.on(l.EventType.TOUCH_END,(function(){null!=e.m_callback&&e.m_callback(e.cur_select_index),e.close()}),this),this.btn_cancel.on(l.EventType.TOUCH_END,(function(){e.close()}),this)},r.show=function(e,t,n){this.m_callback=n,this.cur_select_index=t;for(var i=0;i<e.length;i++){var c=a(this.item_prefab);c.parent=this.content;var r="第"+(i+1)+"页";c.getComponent(_).initView(r,i,this.onItemSelect.bind(this))}this.updaetSelectStatus()},r.onItemSelect=function(e){e.getSelect()||(this.cur_select_index=e.getIndex(),this.updaetSelectStatus()),this.updaetSelectStatus()},r.updaetSelectStatus=function(){for(var e=0;e<this.content.children.length;e++){var t=this.content.children[e];t.getComponent(_).setIsSelect(t.getComponent(_).getIndex()==this.cur_select_index),t.getComponent(_).updatSelectStatus()}},r.close=function(){this.node.removeFromParent()},t}(u)).prototype,"content",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),S=t(d.prototype,"btn_sure",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),y=t(d.prototype,"btn_cancel",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),w=t(d.prototype,"item_prefab",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),g=d))||g));r._RF.pop()}}}));

System.register("chunks:///_virtual/show_select_z_index_item.ts",["./rollupPluginModLoBabelHelpers.js","cc"],(function(e){var t,n,i,r,l,o,c,a,_;return{setters:[function(e){t=e.applyDecoratedDescriptor,n=e.inheritsLoose,i=e.initializerDefineProperty,r=e.assertThisInitialized},function(e){l=e.cclegacy,o=e._decorator,c=e.Node,a=e.Label,_=e.Component}],execute:function(){var s,u,p,m,h;l._RF.push({},"832c7GgOqdJGL9hPyk5/qrd","show_select_z_index_item",void 0);var d=o.ccclass,b=o.property;e("show_select_z_index_item",(s=d("show_select_z_index_item"),u=b(c),s((h=t((m=function(e){function t(){for(var t,n=arguments.length,l=new Array(n),o=0;o<n;o++)l[o]=arguments[o];return t=e.call.apply(e,[this].concat(l))||this,i(t,"lab_name",h,r(t)),t.m_call_back=null,t.m_zIndex=0,t}return n(t,e),t.prototype.initView=function(e,t,n){var i=this;this.m_call_back=n,this.m_zIndex=e,this.lab_name.getComponent(a).string=t,this.node.on(c.EventType.TOUCH_END,(function(){null!=i.m_call_back&&i.m_call_back(i.m_zIndex)}))},t}(_)).prototype,"lab_name",[u],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),p=m))||p));l._RF.pop()}}}));

System.register("chunks:///_virtual/show_select_z_index.ts",["./rollupPluginModLoBabelHelpers.js","cc","./config.ts","./show_select_z_index_item.ts"],(function(e){var t,n,i,o,c,r,a,l,s,_,u,p;return{setters:[function(e){t=e.applyDecoratedDescriptor,n=e.inheritsLoose,i=e.initializerDefineProperty,o=e.assertThisInitialized},function(e){c=e.cclegacy,r=e._decorator,a=e.Prefab,l=e.Node,s=e.instantiate,_=e.Component},function(e){u=e.config},function(e){p=e.show_select_z_index_item}],execute:function(){var f,h,m,b,d,w,k;c._RF.push({},"665c37pBpRD6okJJBFu7kk4","show_select_z_index",void 0);var v=r.ccclass,g=r.property;e("show_select_z_index",(f=v("show_select_z_index"),h=g(a),m=g(l),f((w=t((d=function(e){function t(){for(var t,n=arguments.length,c=new Array(n),r=0;r<n;r++)c[r]=arguments[r];return(t=e.call.apply(e,[this].concat(c))||this).m_call_back=null,i(t,"item_prefab",w,o(t)),i(t,"content",k,o(t)),t}n(t,e);var c=t.prototype;return c.show=function(e){var t=this;this.m_call_back=e,u.Zindex_type_map.forEach((function(e,n){var i=s(t.item_prefab);i.parent=t.content,i.getComponent(p).initView(n,e,t.onItemClick.bind(t))}))},c.showDir=function(e){var t=this;this.m_call_back=e,u.widget_scale_dir_map.forEach((function(e,n){var i=s(t.item_prefab);i.parent=t.content,i.getComponent(p).initView(n,e,t.onItemClick.bind(t))}))},c.close=function(){this.node.removeFromParent()},c.onItemClick=function(e){null!=this.m_call_back&&this.m_call_back(e),this.close()},t}(_)).prototype,"item_prefab",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),k=t(d.prototype,"content",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),b=d))||b));c._RF.pop()}}}));

System.register("chunks:///_virtual/show_setup_res_anchor.ts",["./rollupPluginModLoBabelHelpers.js","cc"],(function(t){var e,n,i,o,r,a,s,c,h,l,p,_,u,m;return{setters:[function(t){e=t.applyDecoratedDescriptor,n=t.inheritsLoose,i=t.initializerDefineProperty,o=t.assertThisInitialized},function(t){r=t.cclegacy,a=t._decorator,s=t.Node,c=t.Vec2,h=t.Sprite,l=t.UITransform,p=t.Size,_=t.Vec3,u=t.Label,m=t.Component}],execute:function(){var g,b,w,f,y,v,d,x,F,z,C,S,L;r._RF.push({},"f9c70vFXQNAL5h82SUxdg3x","show_setup_res_anchor",void 0);var T=a.ccclass,U=a.property;t("show_setup_res_anchor",(g=T("show_setup_res_anchor"),b=U(s),w=U(s),f=U(s),y=U(s),v=U(s),g((F=e((x=function(t){function e(){for(var e,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return e=t.call.apply(t,[this].concat(r))||this,i(e,"img_res",F,o(e)),i(e,"img_point",z,o(e)),i(e,"btn_cancel",C,o(e)),i(e,"btn_sure",S,o(e)),i(e,"lab_show",L,o(e)),e.m_anchor_point=new c(.5,.5),e.m_callback=null,e}n(e,t);var r=e.prototype;return r.show=function(t,e,n,i){this.m_callback=i,this.m_anchor_point=new c(n.x,n.y),this.img_res.getComponent(h).spriteFrame=t,this.img_res.getComponent(l).contentSize=new p(e.width,e.height),this.img_res.getComponent(l).setAnchorPoint(.5,.5);var o=this.img_res.getComponent(l).contentSize,r=o.width*this.m_anchor_point.x-o.width/2,a=o.height*this.m_anchor_point.y-o.height/2;this.img_point.position=new _(r,a),this.setupLabShow()},r.start=function(){var t=this;this.btn_cancel.on(s.EventType.TOUCH_END,(function(){t.close()}),this),this.btn_sure.on(s.EventType.TOUCH_END,(function(){t.close(!0)}),this),this.img_res.on(s.EventType.TOUCH_END,(function(e){var n=new _(e.getUILocation().x,e.getUILocation().y),i=t.img_res.getComponent(l).convertToNodeSpaceAR(n);t.img_point.position=new _(i.x,i.y);var o=t.img_res.getComponent(l).contentSize,r=(o.width/2+i.x)/o.width,a=(o.height/2+i.y)/o.height;t.m_anchor_point=new c(r,a),t.setupLabShow()}),this)},r.setupLabShow=function(){var t=parseFloat(this.m_anchor_point.x.toFixed(2)),e=parseFloat(this.m_anchor_point.y.toFixed(2));this.lab_show.getComponent(u).string="锚点x: "+t+" 锚点y: "+e},r.close=function(t){if(void 0===t&&(t=!1),t){var e=parseFloat(this.m_anchor_point.x.toFixed(2)),n=parseFloat(this.m_anchor_point.y.toFixed(2));this.m_callback(new c(e,n))}this.node.removeFromParent()},e}(m)).prototype,"img_res",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),z=e(x.prototype,"img_point",[w],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),C=e(x.prototype,"btn_cancel",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),S=e(x.prototype,"btn_sure",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),L=e(x.prototype,"lab_show",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),d=x))||d));r._RF.pop()}}}));

System.register("chunks:///_virtual/show_widget_list.ts",["./rollupPluginModLoBabelHelpers.js","cc","./widget_item.ts","./clientEvent.ts","./config.ts"],(function(t){var e,n,i,o,l,r,a,c,s,u,p,h,_;return{setters:[function(t){e=t.applyDecoratedDescriptor,n=t.inheritsLoose,i=t.initializerDefineProperty,o=t.assertThisInitialized},function(t){l=t.cclegacy,r=t._decorator,a=t.Node,c=t.Prefab,s=t.instantiate,u=t.Component},function(t){p=t.widget_item},function(t){h=t.ClientEvent},function(t){_=t.config}],execute:function(){var f,g,b,d,w,m,v,y,C,E,T,D,S;l._RF.push({},"cab00cCfqlM34LocWEv1+bE","show_widget_list",void 0);var z=r.ccclass,H=r.property;t("show_widget_list",(f=z("show_widget_list"),g=H(a),b=H(a),d=H(c),w=H(a),m=H(a),f((C=e((y=function(t){function e(){for(var e,n=arguments.length,l=new Array(n),r=0;r<n;r++)l[r]=arguments[r];return e=t.call.apply(t,[this].concat(l))||this,i(e,"content",C,o(e)),i(e,"btn_close",E,o(e)),i(e,"item_prefab",T,o(e)),e.call_back=null,i(e,"btn_show_all",D,o(e)),i(e,"btn_hide_all",S,o(e)),e}n(e,t);var l=e.prototype;return l.show=function(t){for(var e=this,n=0;n<t.length;n++){var i=t[n],o=s(this.item_prefab);o.parent=this.content,o.getComponent(p).initHideDragOtherList(),o.getComponent(p).initView(i,this.onItemClick.bind(this),null)}this.btn_close.on(a.EventType.TOUCH_END,(function(){e.close()})),this.btn_show_all.on(a.EventType.TOUCH_END,(function(){e.onShowAll()})),this.btn_hide_all.on(a.EventType.TOUCH_END,(function(){e.onHideAll()}))},l.onShowAll=function(){for(var t=0;t<this.content.children.length;t++){var e=this.content.children[t];if(null!=e.getComponent(p).getShowWidgetData())e.getComponent(p).getShowWidgetData().type!=_.Widget_Type_List.TEXT_SOUND&&e.getComponent(p).setSelectStatus()}},l.onHideAll=function(){for(var t=0;t<this.content.children.length;t++){var e=this.content.children[t];if(null!=e.getComponent(p).getShowWidgetData())e.getComponent(p).getShowWidgetData().type!=_.Widget_Type_List.TEXT_SOUND&&e.getComponent(p).setUnSelectStatus()}},l.onItemClick=function(t){h.dispatchEvent(_.Event.UpdateAttributesToView,t.att,_.attributes_list_type.active)},l.close=function(){this.node.destroy()},e}(u)).prototype,"content",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),E=e(y.prototype,"btn_close",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),T=e(y.prototype,"item_prefab",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),D=e(y.prototype,"btn_show_all",[w],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),S=e(y.prototype,"btn_hide_all",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),v=y))||v));l._RF.pop()}}}));

System.register("chunks:///_virtual/single_ui_widget_info.ts",["./rollupPluginModLoBabelHelpers.js","cc","./clientEvent.ts","./config.ts","./base_res.ts","./img_item.ts"],(function(t){var i,e,n,r,a,s,o,u,h,l,_,c,g,d,p,f;return{setters:[function(t){i=t.applyDecoratedDescriptor,e=t.inheritsLoose,n=t.initializerDefineProperty,r=t.assertThisInitialized},function(t){a=t.cclegacy,s=t._decorator,o=t.Node,u=t.EditBox,h=t.Label,l=t.UITransform,_=t.Rect,c=t.Component},function(t){g=t.ClientEvent},function(t){d=t.config},function(t){p=t.base_res},function(t){f=t.img_item}],execute:function(){var m,b,y,w,C,v,D,E,I,R,k,x,z,S,O,T,L;a._RF.push({},"82161I66f5M/IN7KwfFVcmZ","single_ui_widget_info",void 0);var N=s.ccclass,F=s.property;t("single_ui_widget_info",(m=N("single_ui_widget_info"),b=F(o),y=F(o),w=F(o),C=F(o),v=F(o),D=F(o),E=F(o),m((k=i((R=function(t){function i(){for(var i,e=arguments.length,a=new Array(e),s=0;s<e;s++)a[s]=arguments[s];return i=t.call.apply(t,[this].concat(a))||this,n(i,"ui_x",k,r(i)),n(i,"ui_y",x,r(i)),n(i,"ui_width",z,r(i)),n(i,"ui_height",S,r(i)),n(i,"ui_res",O,r(i)),n(i,"ui_lab_res",T,r(i)),n(i,"btn_clear_res",L,r(i)),i.call_back=null,i.m_data=null,i}e(i,t);var a=i.prototype;return a.start=function(){var t=this;null!=this.btn_clear_res&&this.btn_clear_res.on(o.EventType.TOUCH_END,(function(){t.m_data.res="",t.m_data.res_name="",t.updateInfo(t.m_data),t.change()}))},a.initView=function(t){this.call_back=t,this.ui_x.on("editing-did-ended",this.change,this),this.ui_y.on("editing-did-ended",this.change,this),this.ui_width.on("editing-did-ended",this.change,this),this.ui_height.on("editing-did-ended",this.change,this),g.on(d.Event.DragResEndOnCheck,this.DragResEndOnCheck,this)},a.onDestroy=function(){g.off(d.Event.DragResEndOnCheck,this.DragResEndOnCheck,this)},a.DragResEndOnCheck=function(t,i){if(this.getRect().contains(t))if(i.getComponent(p).getType()===d.select_res_btn_type.SOUND_LIST);else{var e=i.getComponent(f).getData();this.m_data.res=e.url,this.m_data.res_name=e.name,this.updateInfo(this.m_data),this.change()}},a.updateInfo=function(t){this.m_data=t,this.ui_x.getComponent(u).string=this.m_data.x.toString(),this.ui_y.getComponent(u).string=this.m_data.y.toString(),this.ui_width.getComponent(u).string=this.m_data.width.toString(),this.ui_height.getComponent(u).string=this.m_data.height.toString(),this.ui_lab_res.getComponent(h).string=this.m_data.res_name},a.getRect=function(){var t=this.ui_res.getComponent(l).contentSize,i=this.ui_res.parent.getComponent(l).convertToWorldSpaceAR(this.ui_res.position);return new _(i.x-t.width/2,i.y-t.height/2,t.width,t.height)},a.change=function(){this.m_data.x=parseInt(this.ui_x.getComponent(u).string),this.m_data.y=parseInt(this.ui_y.getComponent(u).string),this.m_data.width=parseInt(this.ui_width.getComponent(u).string),this.m_data.height=parseInt(this.ui_height.getComponent(u).string),null!=this.call_back&&this.call_back(this.m_data)},i}(c)).prototype,"ui_x",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),x=i(R.prototype,"ui_y",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),z=i(R.prototype,"ui_width",[w],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),S=i(R.prototype,"ui_height",[C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),O=i(R.prototype,"ui_res",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),T=i(R.prototype,"ui_lab_res",[D],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),L=i(R.prototype,"btn_clear_res",[E],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),I=R))||I));a._RF.pop()}}}));

System.register("chunks:///_virtual/slide_dir_select_item.ts",["./rollupPluginModLoBabelHelpers.js","cc","./config.ts"],(function(e){var i,t,n,l,r,a,c,o,s,_;return{setters:[function(e){i=e.applyDecoratedDescriptor,t=e.inheritsLoose,n=e.initializerDefineProperty,l=e.assertThisInitialized},function(e){r=e.cclegacy,a=e._decorator,c=e.Node,o=e.Label,s=e.Component},function(e){_=e.config}],execute:function(){var u,p,d,m,f;r._RF.push({},"89dadrQ6apEX5oQWyI2GA6P","slide_dir_select_item",void 0);var h=a.ccclass,b=a.property;e("slide_dir_select_item",(u=h("slide_dir_select_item"),p=b(c),u((f=i((m=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,n(i,"lab_name",f,l(i)),i.call_back=null,i.m_dir=0,i}t(i,e);var r=i.prototype;return r.initView=function(e,i){var t=this;this.call_back=i,this.m_dir=e,this.lab_name.getComponent(o).string=_.slide_type_map.get(e),this.node.on(c.EventType.TOUCH_END,(function(){null!=t.call_back&&t.call_back(t.m_dir)}))},r.initTipView=function(e,i,t){var n=this;this.call_back=t,this.m_dir=e,this.lab_name.getComponent(o).string=i,this.node.on(c.EventType.TOUCH_END,(function(){null!=n.call_back&&n.call_back(n.m_dir)}))},i}(s)).prototype,"lab_name",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),d=m))||d));r._RF.pop()}}}));

System.register("chunks:///_virtual/slide_dir_select.ts",["./rollupPluginModLoBabelHelpers.js","cc","./config.ts","./slide_dir_select_item.ts"],(function(e){var t,i,n,r,l,o,c,a,s,u,_,p;return{setters:[function(e){t=e.applyDecoratedDescriptor,i=e.inheritsLoose,n=e.initializerDefineProperty,r=e.assertThisInitialized},function(e){l=e.cclegacy,o=e._decorator,c=e.Node,a=e.Prefab,s=e.instantiate,u=e.Component},function(e){_=e.config},function(e){p=e.slide_dir_select_item}],execute:function(){var f,b,d,h,m,y,g,v,k;l._RF.push({},"93047aGgG9Hj6gMI114/OYg","slide_dir_select",void 0);var w=o.ccclass,z=o.property;e("slide_dir_select",(f=w("slide_dir_select"),b=z(c),d=z(c),h=z(a),f((g=t((y=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,"content",g,r(t)),n(t,"btn_close",v,r(t)),n(t,"item_prefab",k,r(t)),t.call_back=null,t}i(t,e);var l=t.prototype;return l.show=function(e){var t=this;this.call_back=e,_.slide_type_map.forEach((function(e,i){var n=s(t.item_prefab);n.parent=t.content,n.getComponent(p).initView(i,t.onItemClick.bind(t))})),this.btn_close.on(c.EventType.TOUCH_END,(function(){t.close()}))},l.onItemClick=function(e){null!=this.call_back&&this.call_back(e),this.close()},l.close=function(){this.node.destroy()},t}(u)).prototype,"content",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),v=t(y.prototype,"btn_close",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),k=t(y.prototype,"item_prefab",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),m=y))||m));l._RF.pop()}}}));

System.register("chunks:///_virtual/slide.ts",["./rollupPluginModLoBabelHelpers.js","cc","./config.ts"],(function(e){var t,i,n,r,o,a,c,l,s,p,u;return{setters:[function(e){t=e.applyDecoratedDescriptor,i=e.inheritsLoose,n=e.initializerDefineProperty,r=e.assertThisInitialized},function(e){o=e.cclegacy,a=e._decorator,c=e.Node,l=e.UITransform,s=e.Size,p=e.Component},function(e){u=e.config}],execute:function(){var d,h,f,g,y,b,v,w,_,m,z;o._RF.push({},"4cf0bPL2pxBbac+GFxT7Mem","slide",void 0);var k=a.ccclass,D=a.property;e("slide",(d=k("slide"),h=D(c),f=D(c),g=D(c),y=D(c),d((w=t((v=function(e){function t(){for(var t,i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return t=e.call.apply(e,[this].concat(o))||this,n(t,"left",w,r(t)),n(t,"right",_,r(t)),n(t,"up",m,r(t)),n(t,"down",z,r(t)),t}i(t,e);var o=t.prototype;return o.updateDistance=function(e,t){e===u.slide_type.down||e===u.slide_type.up||e===u.slide_type.up_down?this.node.getComponent(l).contentSize=new s(this.node.getComponent(l).contentSize.width,t):this.node.getComponent(l).contentSize=new s(t,this.node.getComponent(l).contentSize.height),this.updateDir(e)},o.updateDir=function(e){switch(this.left.active=!1,this.right.active=!1,this.up.active=!1,this.down.active=!1,e){case u.slide_type.down:this.down.active=!0;break;case u.slide_type.up:this.up.active=!0;break;case u.slide_type.left:this.left.active=!0;break;case u.slide_type.right:this.right.active=!0;break;case u.slide_type.up_down:this.down.active=!0,this.up.active=!0;break;case u.slide_type.left_right:this.left.active=!0,this.right.active=!0}},t}(p)).prototype,"left",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),_=t(v.prototype,"right",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),m=t(v.prototype,"up",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),z=t(v.prototype,"down",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),b=v))||b));o._RF.pop()}}}));

System.register("chunks:///_virtual/slider_widget.ts",["./rollupPluginModLoBabelHelpers.js","cc"],(function(e){var n,t,i,r,l,o,s,c,a;return{setters:[function(e){n=e.applyDecoratedDescriptor,t=e.inheritsLoose,i=e.initializerDefineProperty,r=e.assertThisInitialized},function(e){l=e.cclegacy,o=e._decorator,s=e.Node,c=e.Slider,a=e.Component}],execute:function(){var d,u,_,p,h;l._RF.push({},"4868fID8EBFEa7h2JE71eRy","slider_widget",void 0);var f=o.ccclass,g=o.property;e("slider_widget",(d=f("slider_widget"),u=g(s),d((h=n((p=function(e){function n(){for(var n,t=arguments.length,l=new Array(t),o=0;o<t;o++)l[o]=arguments[o];return n=e.call.apply(e,[this].concat(l))||this,i(n,"slider",h,r(n)),n.m_call_back=null,n.m_end_call=null,n}t(n,e);var l=n.prototype;return l.getCurScale=function(){var e=this.slider.getComponent(c).progress;return e>.5?e+.5:1-(.5-e)},l.initView=function(e,n){var t=this;this.m_call_back=e,this.m_end_call=n,this.slider.on(s.EventType.TOUCH_END,(function(){t.on_end()})),this.slider.getComponent(c).handle.node.on(s.EventType.TOUCH_END,(function(){t.on_end()})),this.slider.getComponent(c).handle.node.on(s.EventType.TOUCH_CANCEL,(function(){t.on_end()})),this.slider.on(s.EventType.TOUCH_CANCEL,(function(){t.on_end()}))},l.on_end=function(){this.slider.getComponent(c).progress=.5,null!=this.m_end_call&&this.m_end_call()},l.onSlider=function(){null!=this.m_call_back&&this.m_call_back(this.getCurScale())},n}(a)).prototype,"slider",[u],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),_=p))||_));l._RF.pop()}}}));

System.register("chunks:///_virtual/sound_item.ts",["./rollupPluginModLoBabelHelpers.js","cc","./main.ts","./clientEvent.ts","./config.ts","./base_res.ts"],(function(t){var e,n,i,o,a,r,u,s,l,p,c,_,d,f,h,m;return{setters:[function(t){e=t.applyDecoratedDescriptor,n=t.inheritsLoose,i=t.initializerDefineProperty,o=t.assertThisInitialized},function(t){a=t.cclegacy,r=t._decorator,u=t.Node,s=t.SpriteFrame,l=t.Label,p=t.Sprite,c=t.AudioSource,_=t.AudioClip},function(t){d=t.main},function(t){f=t.ClientEvent},function(t){h=t.config},function(t){m=t.base_res}],execute:function(){var y,b,g,E,S,v,D,T,A,N,C,O,P;a._RF.push({},"be021qCr+lPN7jkNkBSlGKO","sound_item",void 0);var U=r.ccclass,w=r.property;t("sound_item",(y=U("sound_item"),b=w(u),g=w(u),E=w(u),S=w(s),v=w(s),y((A=e((T=function(t){function e(){for(var e,n=arguments.length,a=new Array(n),r=0;r<n;r++)a[r]=arguments[r];return e=t.call.apply(t,[this].concat(a))||this,i(e,"img_icon",A,o(e)),i(e,"lab_name",N,o(e)),e.m_audio_clip=null,e.m_name="",i(e,"btn_play",C,o(e)),i(e,"sf_pause",O,o(e)),i(e,"sf_play",P,o(e)),e}n(e,t);var a=e.prototype;return a.initView=function(t,e,n,i){this.setData(e),this.setType(t),this.m_audio_clip=i,this.m_name=n,this.lab_name.getComponent(l).string=n,this.init()},a.init=function(t){var e=this;void 0===t&&(t=!0),t&&this.btn_play.on(u.EventType.TOUCH_END,(function(){f.dispatchEvent(h.Event.PLAY_SOUND,e.m_name)})),f.on(h.Event.PLAY_SOUND,this.onPlaySound,this),t&&this.node.on(u.EventType.MOUSE_DOWN,this.onDragRes.bind(this),this)},a.changeAudio=function(t,e){var n=this;this.m_name=t.name,this.setData(t),this.setType(h.select_res_btn_type.SOUND_LIST),this.m_audio_clip=e,this.lab_name.getComponent(l).string=this.m_name,this.btn_play.off(u.EventType.TOUCH_END),this.btn_play.on(u.EventType.TOUCH_END,(function(){n.onPlaySound(n.m_name)}))},a.onDragRes=function(){f.dispatchEvent(h.Event.DragRes,this.node)},a.onDestroy=function(){f.off(h.Event.PLAY_SOUND,this.onPlaySound,this)},a.onPlaySound=function(t){this.m_name===t?d.cur_play_audio===t&&d.getAudioSource().playing?(d.getAudioSource().stop(),this.btn_play.getComponent(p).spriteFrame=this.sf_pause,d.cur_play_audio=""):(d.g_audioSource.node.off(c.EventType.STARTED),d.g_audioSource.node.off(c.EventType.ENDED),d.g_audioSource.node.on(c.EventType.STARTED,this.onAudioStarted,this),d.g_audioSource.node.on(c.EventType.ENDED,this.onAudioEnded,this),this.btn_play.getComponent(p).spriteFrame=this.sf_play,this.m_audio_clip instanceof _&&(d.getAudioSource().clip=this.m_audio_clip,d.getAudioSource().play(),d.getAudioSource().volume=1),d.cur_play_audio=t):this.btn_play.getComponent(p).spriteFrame=this.sf_pause},a.onAudioStarted=function(){},a.onAudioEnded=function(){this.btn_play.getComponent(p).spriteFrame=this.sf_pause},e}(m)).prototype,"img_icon",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),N=e(T.prototype,"lab_name",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),C=e(T.prototype,"btn_play",[E],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),O=e(T.prototype,"sf_pause",[S],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),P=e(T.prototype,"sf_play",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),D=T))||D));a._RF.pop()}}}));

System.register("chunks:///_virtual/sound_text_content.ts",["./rollupPluginModLoBabelHelpers.js","cc","./gameManager.ts","./clientEvent.ts","./config.ts"],(function(t){var e,n,o,i,s,a,u,c,d,r,l,p,h,_,f;return{setters:[function(t){e=t.applyDecoratedDescriptor,n=t.inheritsLoose,o=t.initializerDefineProperty,i=t.assertThisInitialized},function(t){s=t.cclegacy,a=t._decorator,u=t.Node,c=t.AudioSource,d=t.Label,r=t.Vec3,l=t.AudioClip,p=t.Component},function(t){h=t.gameManager},function(t){_=t.ClientEvent},function(t){f=t.config}],execute:function(){var m,g,E,v,y,T,D;s._RF.push({},"c641cbNCTpB2LGwCq/W5l6g","sound_text_content",void 0);var S=a.ccclass,A=a.property;t("sound_text_content",(m=S("sound_text_content"),g=A(u),E=A(u),m((T=e((y=function(t){function e(){for(var e,n=arguments.length,s=new Array(n),a=0;a<n;a++)s[a]=arguments[a];return e=t.call.apply(t,[this].concat(s))||this,o(e,"lab_text",T,i(e)),o(e,"item_node",D,i(e)),e.m_audio_clip=null,e.mData=null,e.mWidgetId=0,e}n(e,t);var s=e.prototype;return s.start=function(){this.node.addComponent(c)},s.isCanClose=function(){return null==this.mData.is_open_click_close?(this.mData.is_open_click_close=!0,!0):this.mData.is_open_click_close},s.show=function(t,e,n){var o=this;this.node.on(u.EventType.TOUCH_START,(function(){o.isCanClose()&&(o.node.off(u.EventType.TOUCH_START),o.onAudioEnded())})),this.mWidgetId=t,this.mData=e,this.m_audio_clip=n,this.lab_text.getComponent(d).string=this.mData.text,this.item_node.position=new r(this.item_node.position.x,this.mData.pos_y),h.Singleton.getLevelData()?h.getUserData().isOpenPeiYin&&this.onPlaySound():this.onPlaySound()},s.getAudioSource=function(){return null==this.node.getComponent(c)&&this.node.addComponent(c),this.node.getComponent(c)},s.onPlaySound=function(){this.getAudioSource().stop(),this.node.off(c.EventType.STARTED),this.node.off(c.EventType.ENDED),this.node.on(c.EventType.STARTED,this.onAudioStarted,this),this.node.on(c.EventType.ENDED,this.onAudioEnded,this),this.m_audio_clip instanceof l&&(this.getAudioSource().clip=this.m_audio_clip,this.getAudioSource().play(),this.getAudioSource().volume=1)},s.onAudioStarted=function(){},s.onAudioEnded=function(){this.node.off(c.EventType.STARTED),this.node.off(c.EventType.ENDED),this.node.active=!1,_.dispatchEvent(f.EventRun.WIDGET_FINISH,this.mWidgetId)},e}(p)).prototype,"lab_text",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),D=e(y.prototype,"item_node",[E],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),v=y))||v));s._RF.pop()}}}));

System.register("chunks:///_virtual/sysSound.ts",["./rollupPluginModLoBabelHelpers.js","cc","./gameManager.ts"],(function(n){var t,e,o,s,i,a,u;return{setters:[function(n){t=n.inheritsLoose},function(n){e=n.cclegacy,o=n._decorator,s=n.assetManager,i=n.AudioSource,a=n.Component},function(n){u=n.gameManager}],execute:function(){var c;e._RF.push({},"a59a3fcTj5FJbsYZWDLDfqU","sysSound",void 0);var r=o.ccclass;o.property,n("sysSound",r("sysSound")(c=function(n){function e(){return n.apply(this,arguments)||this}t(e,n);var o=e.prototype;return o.playSound=function(n){var t=this;if(u.getUserData().isOpenYinXiao&&!(n.length<=0)){var e=function(e,o){e||(u.mp3_cache.set(n,o),t.playClip(o))};if(u.mp3_cache.get(n))e(null,u.mp3_cache.get(n));else s.loadRemote(n,e)}},o.playClip=function(n){this.getSound().stop(),this.getSound().loop=!1,this.getSound().clip=n,this.getSound().play()},o.getSound=function(){return null!=this.node.getComponent(i)?this.node.getComponent(i):this.node.addComponent(i)},e}(a))||c);e._RF.pop()}}}));

System.register("chunks:///_virtual/task_da_boss.ts",["./rollupPluginModLoBabelHelpers.js","cc","./tools.ts"],(function(t){var e,n,i,s,o,a,r,c,l;return{setters:[function(t){e=t.applyDecoratedDescriptor,n=t.inheritsLoose,i=t.initializerDefineProperty,s=t.assertThisInitialized},function(t){o=t.cclegacy,a=t._decorator,r=t.Node,c=t.Component},function(t){l=t.tools}],execute:function(){var u,_,p,f,d;o._RF.push({},"f009904NIxFN4+3+gSp1M00","task_da_boss",void 0);var b=a.ccclass,g=a.property;t("task_da_boss",(u=b("task_da_boss"),_=g(r),u((d=e((f=function(t){function e(){for(var e,n=arguments.length,o=new Array(n),a=0;a<n;a++)o[a]=arguments[a];return e=t.call.apply(t,[this].concat(o))||this,i(e,"btn_setting",d,s(e)),e.m_data=null,e}return n(e,t),e.prototype.updateView=function(t){var e=this;this.m_data=t,this.btn_setting.off(r.EventType.TOUCH_END),this.btn_setting.on(r.EventType.TOUCH_END,(function(){l.select_task_da_guai(e.m_data)}))},e}(c)).prototype,"btn_setting",[_],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),p=f))||p));o._RF.pop()}}}));

System.register("chunks:///_virtual/task_dai_dao_ju.ts",["./rollupPluginModLoBabelHelpers.js","cc","./tools.ts","./Attributes.ts","./config.ts"],(function(t){var i,n,e,_,a,o,r,u,s,d,l,c,b;return{setters:[function(t){i=t.applyDecoratedDescriptor,n=t.inheritsLoose,e=t.initializerDefineProperty,_=t.assertThisInitialized},function(t){a=t.cclegacy,o=t._decorator,r=t.Node,u=t.EditBox,s=t.Label,d=t.Component},function(t){l=t.tools},function(t){c=t.Attributes},function(t){b=t.config}],execute:function(){var g,p,f,m,h,v,w,y,D,E,T,N,C,I,z;a._RF.push({},"06493apZRZFHI42bdDhTXk0","task_dai_dao_ju",void 0);var S=o.ccclass,k=o.property;t("task_dai_dao_ju",(g=S("task_dai_dao_ju"),p=k(r),f=k(r),m=k(r),h=k(r),v=k(r),w=k(r),g((E=i((D=function(t){function i(){for(var i,n=arguments.length,a=new Array(n),o=0;o<n;o++)a[o]=arguments[o];return i=t.call.apply(t,[this].concat(a))||this,e(i,"btn_setting",E,_(i)),e(i,"eidt_time",T,_(i)),e(i,"btn_binding_count_time_widget",N,_(i)),e(i,"lab_binding_count_time_widget",C,_(i)),e(i,"btn_binding_finish_event",I,_(i)),e(i,"lab_binding_finish_event",z,_(i)),i.m_data=null,i}n(i,t);var a=i.prototype;return a.updateView=function(t){var i=this;this.m_data=t,this.btn_setting.off(r.EventType.TOUCH_END),this.btn_setting.on(r.EventType.TOUCH_END,(function(){l.select_task_dai_dao_ju(i.m_data)})),this.btn_setting.off(u.EventType.EDITING_DID_ENDED),this.eidt_time.on(u.EventType.EDITING_DID_ENDED,(function(){i.m_data.add_time_number=parseInt(i.eidt_time.getComponent(u).string),i.updateStatus()})),this.btn_binding_finish_event.on(r.EventType.TOUCH_END,(function(){var t=c.Singleton.getEventList();l.show_select_evele_list(t,(function(t){i.m_data.finish_event_id=t.event_id,i.updateStatus()}))})),this.btn_binding_count_time_widget.on(r.EventType.TOUCH_END,(function(){var t=c.Singleton.get_cur_scene_widget_by_type(b.Widget_Type_List.COUNT_DOWN);if(t.length<=0)return l.showToast("当前场景没有倒计时控件！");l.show_select_widget_list(t,(function(t){i.m_data.binding_count_time_widget=t.att.id,i.updateStatus()}),i.m_data.binding_count_time_widget)})),this.updateStatus()},a.updateStatus=function(){-1!=this.m_data.finish_event_id&&(this.lab_binding_finish_event.getComponent(s).string="完成事件id:"+this.m_data.finish_event_id),-1!=this.m_data.binding_count_time_widget&&(this.lab_binding_count_time_widget.getComponent(s).string="倒计时控件id:"+this.m_data.binding_count_time_widget),this.eidt_time.getComponent(u).string=this.m_data.add_time_number+""},i}(d)).prototype,"btn_setting",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),T=i(D.prototype,"eidt_time",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),N=i(D.prototype,"btn_binding_count_time_widget",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),C=i(D.prototype,"lab_binding_count_time_widget",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),I=i(D.prototype,"btn_binding_finish_event",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),z=i(D.prototype,"lab_binding_finish_event",[w],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),y=D))||y));a._RF.pop()}}}));

System.register("chunks:///_virtual/task_guo_ren_wu.ts",["./rollupPluginModLoBabelHelpers.js","cc","./tools.ts","./Attributes.ts"],(function(t){var e,n,i,a,r,o,u,_,s,l,c;return{setters:[function(t){e=t.applyDecoratedDescriptor,n=t.inheritsLoose,i=t.initializerDefineProperty,a=t.assertThisInitialized},function(t){r=t.cclegacy,o=t._decorator,u=t.Node,_=t.Label,s=t.Component},function(t){l=t.tools},function(t){c=t.Attributes}],execute:function(){var d,p,b,f,v,g,h,m,y;r._RF.push({},"f754emrBo5NLpQOzWaYpT15","task_guo_ren_wu",void 0);var w=o.ccclass,T=o.property;t("task_guo_ren_wu",(d=w("task_guo_ren_wu"),p=T(u),b=T(u),f=T(u),d((h=e((g=function(t){function e(){for(var e,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return e=t.call.apply(t,[this].concat(r))||this,i(e,"btn_setting",h,a(e)),i(e,"lab_event_id",m,a(e)),i(e,"btn_clear",y,a(e)),e.m_data=null,e}n(e,t);var r=e.prototype;return r.updateView=function(t){var e=this;this.m_data=t,this.btn_setting.off(u.EventType.TOUCH_END),this.btn_setting.on(u.EventType.TOUCH_END,(function(){var t=c.Singleton.getEventList();l.show_select_evele_list(t,(function(t){e.m_data.binding_event_id=t.event_id,e.updateStatus()}))})),this.btn_clear.off(u.EventType.TOUCH_END),this.btn_clear.on(u.EventType.TOUCH_END,(function(){l.show_dialog("是否删除触发条件？",(function(){e.m_data.binding_event_id=-1,e.updateStatus()}))})),this.updateStatus()},r.updateStatus=function(){null!=this.m_data&&(-1!=this.m_data.binding_event_id?this.btn_clear.active=!0:this.btn_clear.active=!1,this.lab_event_id.getComponent(_).string=-1!=this.m_data.binding_event_id?"事件id:"+this.m_data.binding_event_id:"设置剧情的规则的触发条件")},e}(s)).prototype,"btn_setting",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),m=e(g.prototype,"lab_event_id",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),y=e(g.prototype,"btn_clear",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),v=g))||v));r._RF.pop()}}}));

System.register("chunks:///_virtual/task_zhao_xi_jie.ts",["./rollupPluginModLoBabelHelpers.js","cc","./tools.ts","./Attributes.ts","./config.ts"],(function(t){var e,i,n,_,a,s,l,o,r,u,d,h,p;return{setters:[function(t){e=t.applyDecoratedDescriptor,i=t.inheritsLoose,n=t.initializerDefineProperty,_=t.assertThisInitialized},function(t){a=t.cclegacy,s=t._decorator,l=t.Node,o=t.EditBox,r=t.Label,u=t.Component},function(t){d=t.tools},function(t){h=t.Attributes},function(t){p=t.config}],execute:function(){var c,f,b,y,m,g,v,w,E,x,z,D,T,C,N;a._RF.push({},"d13a7FHqj5FzppkqHJ9YNCM","task_zhao_xi_jie",void 0);var j=s.ccclass,H=s.property;t("task_zhao_xi_jie",(c=j("task_zhao_xi_jie"),f=H(l),b=H(l),y=H(l),m=H(l),g=H(l),v=H(o),c((x=e((E=function(t){function e(){for(var e,i=arguments.length,a=new Array(i),s=0;s<i;s++)a[s]=arguments[s];return e=t.call.apply(t,[this].concat(a))||this,n(e,"btn_setting",x,_(e)),n(e,"btn_setting_finish_event",z,_(e)),n(e,"lab_setting_finish_event",D,_(e)),n(e,"btn_select_type",T,_(e)),n(e,"lab_select_type",C,_(e)),n(e,"editbox_delay_time",N,_(e)),e.m_data=null,e}i(e,t);var a=e.prototype;return a.start=function(){var t=this;this.editbox_delay_time.node.on(o.EventType.EDITING_DID_ENDED,(function(){t.editbox_delay_time.string.length<=0&&(t.m_data.finish_all_hide_answer_dalay_time=0,t.editbox_delay_time.string=t.m_data.finish_all_hide_answer_dalay_time.toString()),t.m_data.finish_all_hide_answer_dalay_time=parseFloat(t.editbox_delay_time.string)}))},a.updateView=function(t){var e=this;this.m_data=t,this.btn_setting.off(l.EventType.TOUCH_END),this.btn_setting.on(l.EventType.TOUCH_END,(function(){d.select_task_zhao_xi_jie(e.m_data)})),this.btn_select_type.on(l.EventType.TOUCH_END,(function(){d.show_tip_type_select((function(t){e.m_data.tip_type!=t&&(e.m_data.tip_type=t),e.updateStatus()}))})),this.btn_setting_finish_event.off(l.EventType.TOUCH_END),this.btn_setting_finish_event.on(l.EventType.TOUCH_END,(function(){var t=h.Singleton.getEventList();d.show_select_evele_list(t,(function(t){e.m_data.finish_event_id=t.event_id,e.updateStatus()}))})),this.updateStatus()},a.updateStatus=function(){null==this.m_data.finish_event_id&&(this.m_data.finish_event_id=-1),this.lab_select_type.getComponent(r).string=p.zhao_xi_jie_tip_type_map.get(this.m_data.tip_type),this.lab_setting_finish_event.getComponent(r).string=-1==this.m_data.finish_event_id?"暂未设置完成事件":"事件id:"+this.m_data.finish_event_id,null==this.m_data.finish_all_hide_answer_dalay_time&&(this.m_data.finish_all_hide_answer_dalay_time=0),this.editbox_delay_time.string=this.m_data.finish_all_hide_answer_dalay_time.toString()},e}(u)).prototype,"btn_setting",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),z=e(E.prototype,"btn_setting_finish_event",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),D=e(E.prototype,"lab_setting_finish_event",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),T=e(E.prototype,"btn_select_type",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),C=e(E.prototype,"lab_select_type",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),N=e(E.prototype,"editbox_delay_time",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),w=E))||w));a._RF.pop()}}}));

System.register("chunks:///_virtual/taskServce.ts",["cc","./data.ts","./config.ts","./tools.ts","./clientEvent.ts","./gameManager.ts"],(function(e){var t,i,n,a,_,s,v,c;return{setters:[function(e){t=e.cclegacy,i=e._decorator},function(e){n=e.event_item,a=e.event_collect_event_item},function(e){_=e.config},function(e){s=e.tools},function(e){v=e.ClientEvent},function(e){c=e.gameManager}],execute:function(){var d,l;t._RF.push({},"01bf2hPiVdO1JXQfuIuX0EL","taskServce",void 0);var u=i.ccclass;i.property,e("taskServce",u("taskServce")(((l=function(){function e(){}return e.initTask=function(t){if(e.clearTask(),e.mTaskData=t,null!=e.mTaskData)switch(this.initAllBeEventListen(),e.mTaskData.type){case _.task_type.zhao_xi_jie:e.initZhaoXiJieTask();break;case _.task_type.guo_ju_qing:e.guo_ju_qing_binding_event_id=e.mTaskData._guo_ju_qing.binding_event_id;break;case _.task_type.guo_ju_qing_not_rule:break;case _.task_type.da_guai:e.initDaBoss()}},e.clearTask=function(){e.mTaskData=null,e.exeWidgeTaskDic.clear(),e.taskZhaoXiJie.clear(),e.taskDaGuai.clear(),e.finishDaGuai.clear(),e.finishZhaoXiJie.clear(),e.cur_collect_event=null,e.guo_ju_qing_binding_event_id=-1},e.initZhaoXiJieTask=function(){if(e.mTaskData.type==_.task_type.zhao_xi_jie&&null===e.mTaskData._zhao_xi_jie_data)return s.showToast("找细节配置错误");for(var t=0;t<e.mTaskData._zhao_xi_jie_data.widget_id_list.length;t++){var i=e.mTaskData._zhao_xi_jie_data.widget_id_list[t];e.taskZhaoXiJie.set(i.widget_id,i)}},e.initDaBoss=function(){if(e.mTaskData.type==_.task_type.da_guai&&null===e.mTaskData._da_guai)return s.showToast("打boss 配置错误");for(var t=0;t<e.mTaskData._da_guai.widget_id_list.length;t++){var i=e.mTaskData._da_guai.widget_id_list[t];e.taskDaGuai.set(i.widget_id,i)}},e.initChildSceneZhaoXiJieTask=function(){if(e.mChildSceneData.type==_.task_type.zhao_xi_jie&&null===e.mChildSceneData._zhao_xi_jie_data)return s.showToast("找细节配置错误");for(var t=0;t<e.mChildSceneData._zhao_xi_jie_data.widget_id_list.length;t++){var i=e.mChildSceneData._zhao_xi_jie_data.widget_id_list[t];e.childSceneZhaoXiJie.set(i.widget_id,i)}},e.startFirstEvent=function(){var t=this.getStartEvent();if(null==t)return s.showToast("第一个任务不可以为空，编辑错误！");var i=this.getEventById(t.binding_event_id);e.DistributedEvent(i)},e.StartChildSceneTask=function(t){switch(e.mChildSceneData=t,e.mChildSceneData.type){case _.task_type.zhao_xi_jie:e.initChildSceneZhaoXiJieTask();break;case _.task_type.guo_ju_qing:e.childSceneGuoJuQingBidingEventId=e.mChildSceneData._guo_ju_qing.binding_event_id;break;case _.task_type.guo_ju_qing_not_rule:case _.task_type.da_guai:}},e.DistributedEvent=function(t){var i=this;if(null!=t){switch(t.event_id===e.guo_ju_qing_binding_event_id&&(e.guo_ju_qing_binding_event_id=-1,v.dispatchEvent(_.EventRun.ON_SHOW_RULE_BTN)),t.type){case _.event_type.play_ani:v.dispatchEvent(_.EventRun.NOTICE_EVENT,t.event_item_play_ani_data.binding_widget_id,t);break;case _.event_type.top_view:v.dispatchEvent(_.EventRun.NOTICE_EVENT,t.event_item_top_view_data.binding_ui_id,t);break;case _.event_type.top_view_hide:v.dispatchEvent(_.EventRun.NOTICE_EVENT,t.event_item_top_view_hide_data.binding_ui_id,t);break;case _.event_type.text_sound:v.dispatchEvent(_.EventRun.NOTICE_EVENT,t.event_item_text_sound_data.binding_widget_id,t);break;case _.event_type.change_one_item_status:v.dispatchEvent(_.EventRun.NOTICE_EVENT,t.event_item_change_one_item_status_data.binding_widget_id,t);break;case _.event_type.show_new_item:v.dispatchEvent(_.EventRun.NOTICE_EVENT,t.event_item_show_new_item_data.binding_widget_id,t);break;case _.event_type.show_question_select:v.dispatchEvent(_.EventRun.NOTICE_EVENT,t.event_item_show_question_select_data.binding_widget_id,t);break;case _.event_type.collect_event:e.cur_collect_event=new n,e.cur_collect_event.event_id=t.event_id,e.cur_collect_event.type=t.type,e.cur_collect_event.event_item_collect_event_data=new a;for(var d=0;d<t.event_item_collect_event_data.event_id_list.length;d++){var l=t.event_item_collect_event_data.event_id_list[d];e.cur_collect_event.event_item_collect_event_data.event_id_list.push(l)}break;case _.event_type.active_event:v.dispatchEvent(_.EventRun.NOTICE_EVENT,t.event_item_active_event_data.binding_widget_id,t);break;case _.event_type.stop_active_event:v.dispatchEvent(_.EventRun.NOTICE_EVENT,t.event_item_stop_active_event_data.binding_widget_id,t);break;case _.event_type.countdown_over:break;case _.event_type.be_event:v.dispatchEvent(_.EventRun.NOTICE_EVENT,t.event_item_be_event_data.binding_widget_id,t);break;case _.event_type.hide:if(null==t.event_item_hide_data)return s.showToast("隐藏事件配置错误~");v.dispatchEvent(_.EventRun.NOTICE_EVENT,t.event_item_hide_data.binding_widget_id,t);break;case _.event_type.delay_exe_event:if(console.log("delay_exe_event"),null==t.event_item_delay_exe_data)return s.showToast("延迟执行事件配置错误");var u=t.event_item_delay_exe_data.delay_time,r=t.event_item_delay_exe_data.binding_event_id;c.Singleton.scheduleOnce((function(){var t=i.getEventById(r);e.DistributedEvent(t)}),u);break;case _.event_type.fail_event:console.log("play_sound --- 1"),v.dispatchEvent(_.EventRun.NOTICE_EVENT,-11,t);break;case _.event_type.play_sound:case _.event_type.show_scene_title:case _.event_type.scene_ani:case _.event_type.delete_drag_other_data:case _.event_type.stop_play_loop_sound:v.dispatchEvent(_.EventRun.NOTICE_EVENT,-11,t);break;case _.event_type.switch_scene_event:break;case _.event_type.more_scene_is_show_arrow_event:case _.event_type.more_scene_jump_assigned_page_event:case _.event_type.event_group:v.dispatchEvent(_.EventRun.NOTICE_EVENT,-11,t)}e.exeNextDelayEvent(t)}},e.getEventById=function(t){for(var i=0;i<e.mTaskData.event_list.length;i++){var n=e.mTaskData.event_list[i];if(n.event_id===t)return n}return null},e.initAllBeEventListen=function(){for(var t=0;t<e.mTaskData.event_list.length;t++){var i=e.mTaskData.event_list[t];i.type===_.event_type.be_event&&this.pushWidgetEvent(i.event_item_be_event_data.binding_widget_id,i)}},e.getStartEvent=function(){if(null==e.mTaskData)return null;for(var t=0;t<e.mTaskData.event_list.length;t++){var i=e.mTaskData.event_list[t];if(i.type===_.event_type.start_event)return i.event_item_start_event_data}return null},e.pushWidgetEvent=function(e,t){this.exeWidgeTaskDic.set(e,t)},e.onWidgetFailEvent=function(t){var i=this.exeWidgeTaskDic.get(t);if(null!=i){if(i.fail.is_restart)return c.Singleton.reStartGame();if(i.fail.is_relife)return c.Singleton.reLife();var n=i.success.trigger_event_id;if(-1!=n){var a=this.getEventById(n);e.DistributedEvent(a)}}},e.onWidgetFinishEvent=function(t){if(null!=e.mTaskData){var i=this.exeWidgeTaskDic.get(t);if(null!=e.cur_collect_event&&null!=i){var n=e.cur_collect_event.event_item_collect_event_data.event_id_list.indexOf(i.event_id);if(-1!=n&&e.cur_collect_event.event_item_collect_event_data.event_id_list.splice(n,1),e.cur_collect_event.event_item_collect_event_data.event_id_list.length<=0){v.dispatchEvent(_.EventRun.ON_WIDGET_FINISH_COLLECT_EVENT,e.cur_collect_event.event_id);var a=e.getEventById(e.cur_collect_event.event_id);-1!=a.success.trigger_event_id&&e.extEventByEventId(a.success.trigger_event_id),console.log("ON_WIDGET_FINISH_COLLECT_EVENT event",a)}}e.exeNextEvent(i);switch(e.mTaskData.type){case _.task_type.zhao_xi_jie:var s=e.taskZhaoXiJie.get(t);if(null==s)return;e.finishZhaoXiJie.set(t,!0),v.dispatchEvent(_.EventRun.SHOW_ZHAO_BU_TONG_FINISH_STATUS,s),e.checkFinishZhaoXiJieTask();break;case _.task_type.guo_ju_qing:case _.task_type.guo_ju_qing_not_rule:break;case _.task_type.da_guai:var c=e.taskDaGuai.get(t);if(null==c)return;e.finishDaGuai.set(t,!0),v.dispatchEvent(_.EventRun.ON_BOSS_HURT,c.hurt),e.checkFinishDaBossTask()}}},e.checkFinishDaBossTask=function(){var t=!0;if(!e.mTaskData._da_guai)return t;for(var i=0;i<e.mTaskData._da_guai.widget_id_list.length;i++){var n=e.mTaskData._da_guai.widget_id_list[i];if(c.Singleton.isCurScenePageCheckWidgetShow(n.widget_id)){t=!1;break}}t&&v.dispatchEvent(_.EventRun.ON_BOSS_HURT,0)},e.checkFinishZhaoXiJieTask=function(){for(var t=!0,i=0;i<e.mTaskData._zhao_xi_jie_data.widget_id_list.length;i++){var n=e.mTaskData._zhao_xi_jie_data.widget_id_list[i];if(!e.finishZhaoXiJie.get(n.widget_id)){t=!1;break}}if(t){var a=e.mTaskData._zhao_xi_jie_data,d=a.finish_event_id,l=0;if(null!=a.finish_all_hide_answer_dalay_time&&(l=a.finish_all_hide_answer_dalay_time),c.Singleton.scheduleOnce((function(){v.dispatchEvent(_.EventRun.ON_ZHAO_BU_TONG_ALL_FINISH,a)}),l),-1==d)return s.showToast("未设置全部找完任务的下一个事件！");e.DistributedEvent(e.getEventById(d))}},e.exeNextEvent=function(t){var i=-1;if(null!=t){if(t.success.is_finish_game)return s.showToast("调用了游戏结束"),c.Singleton.gameOver();if(t.success.is_next_scene)return c.Singleton.nextScene();if(-1!=(i=t.success.trigger_event_id)){var n=this.getEventById(i);e.DistributedEvent(n)}}return i},e.extEventByEventId=function(t){if(-1!==t){var i=e.getEventById(t);if(null==i)return s.showToast("事件错误"+t);e.DistributedEvent(i)}},e.exeNextDelayEvent=function(t){if(null!=t){if(t.success.is_finish_game)return c.Singleton.gameOver();if(t.success.is_next_scene)return c.Singleton.nextScene();var i=t.success.trigger_event_id;if(-1!=i){var n=this.getEventById(i);if(null===n)return s.showToast("配置延迟调用错误-"+i);n.type==_.event_type.delay_exe_event&&e.DistributedEvent(n)}}},e.exeSuccessTriggerEvent=function(t){if(-1!=t){var i=this.getEventById(t);null!=i&&e.extEventByEventId(i.event_id)}},e}()).mTaskData=null,l.exeWidgeTaskDic=new Map,l.taskZhaoXiJie=new Map,l.taskDaGuai=new Map,l.finishZhaoXiJie=new Map,l.finishDaGuai=new Map,l.cur_collect_event=null,l.guo_ju_qing_binding_event_id=-1,l.mChildSceneData=null,l.childSceneZhaoXiJie=new Map,l.childSceneGuoJuQingBidingEventId=-1,d=l))||d);t._RF.pop()}}}));

System.register("chunks:///_virtual/test.ts",["./rollupPluginModLoBabelHelpers.js","cc"],(function(t){var n,e,i,o,r,a,c,l,p,s,g,u;return{setters:[function(t){n=t.applyDecoratedDescriptor,e=t.inheritsLoose,i=t.initializerDefineProperty,o=t.assertThisInitialized},function(t){r=t.cclegacy,a=t._decorator,c=t.Node,l=t.Vec2,p=t.Vec3,s=t.UITransform,g=t.Label,u=t.Component}],execute:function(){var h,m,_,b,f,y,w,v,d,C,z;r._RF.push({},"132e57T+itK4JcDeAs9Pzty","test",void 0);var T=a.ccclass,D=a.property;t("test",(h=T("test"),m=D(c),_=D(c),b=D(c),f=D(c),h((v=n((w=function(t){function n(){for(var n,e=arguments.length,r=new Array(e),a=0;a<e;a++)r[a]=arguments[a];return n=t.call.apply(t,[this].concat(r))||this,i(n,"bg",v,o(n)),i(n,"img",d,o(n)),i(n,"img_point",C,o(n)),i(n,"btn_rotate",z,o(n)),n.is_rotate=!1,n.anchor_point=new l(.5,.5),n}return e(n,t),n.prototype.start=function(){var t=this;this.img.on(c.EventType.TOUCH_END,(function(n){var e=new p(n.getUILocation().x,n.getUILocation().y),i=t.img.getComponent(s).convertToNodeSpaceAR(e),o=i.x,r=i.y;t.img_point.position=new p(o,r,1),t.anchor_point=new l(.5,.5),t.img.getComponent(s).setAnchorPoint(t.anchor_point);var a=t.img.getComponent(s).contentSize,c=(a.width/2+i.x)/a.width,g=(a.height/2+i.y)/a.height;t.anchor_point=new l(c,g),console.log("当前锚点=",t.anchor_point)}),this),this.btn_rotate.on(c.EventType.TOUCH_END,(function(){t.is_rotate?(t.btn_rotate.children[0].getComponent(g).string="旋转",t.img.angle=0,t.anchor_point=new l(.5,.5),t.img_point.position=new p(0,0,1)):(t.btn_rotate.children[0].getComponent(g).string="归位",t.img.angle=10),t.img.getComponent(s).setAnchorPoint(t.anchor_point),t.is_rotate=!t.is_rotate}),this)},n}(u)).prototype,"bg",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),d=n(w.prototype,"img",[_],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),C=n(w.prototype,"img_point",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),z=n(w.prototype,"btn_rotate",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),y=w))||y));r._RF.pop()}}}));

System.register("chunks:///_virtual/test2.ts",["./rollupPluginModLoBabelHelpers.js","cc"],(function(t){var o,n,e,s,c;return{setters:[function(t){o=t.inheritsLoose},function(t){n=t.cclegacy,e=t._decorator,s=t.Node,c=t.Component}],execute:function(){var r;n._RF.push({},"78b90LvIctPwohLQXWfymqj","test",void 0);var i=e.ccclass;e.property,t("test",i("test")(r=function(t){function n(){return t.apply(this,arguments)||this}return o(n,t),n.prototype.start=function(){this.node.on(s.EventType.TOUCH_START,(function(){console.log("TOUCH_START")})),this.node.on(s.EventType.TOUCH_MOVE,(function(){console.log("TOUCH_MOVE")})),this.node.on(s.EventType.TOUCH_END,(function(){console.log("TOUCH_END")}))},n}(c))||r);n._RF.pop()}}}));

System.register("chunks:///_virtual/Text_Sound.ts",["./rollupPluginModLoBabelHelpers.js","cc","./data.ts","./sound_item.ts","./control.ts","./Attributes.ts"],(function(t){var e,n,i,o,a,s,r,u,d,_,l,c,m,p,h;return{setters:[function(t){e=t.applyDecoratedDescriptor,n=t.inheritsLoose,i=t.initializerDefineProperty,o=t.assertThisInitialized},function(t){a=t.cclegacy,s=t._decorator,r=t.Node,u=t.Vec3,d=t.UITransform,_=t.Label,l=t.Component},function(t){c=t.bag_item_data},function(t){m=t.sound_item},function(t){p=t.control},function(t){h=t.Attributes}],execute:function(){var f,g,y,b,x,v,w,T,S;a._RF.push({},"7571aVoZiBOK5SM8RN26nP/","Text_Sound",void 0);var V=s.ccclass,z=s.property;t("Text_Sound",(f=V("Text_Sound"),g=z(m),y=z(r),b=z(r),f((w=e((v=function(t){function e(){for(var e,n=arguments.length,a=new Array(n),s=0;s<n;s++)a[s]=arguments[s];return e=t.call.apply(t,[this].concat(a))||this,i(e,"m_sound_item",w,o(e)),i(e,"lab_text",T,o(e)),i(e,"item_node",S,o(e)),e.m_data=null,e}n(e,t);var a=e.prototype;return a.initView=function(t){var e=this;this.m_data=t,this.m_sound_item.init(!1),null===this.m_data.sound_data&&(this.m_data.sound_data=new c,this.m_data.pos_y=this.item_node.position.y),this.updateView(this.m_data),this.item_node.on(r.EventType.TOUCH_MOVE,(function(t){var n=new u(t.getUILocation().x,t.getUILocation().y),i=e.node.parent.getComponent(d).convertToNodeSpaceAR(n);e.node.position=new u(0,i.y),e.m_data.pos_y=i.y,h.Singleton.getTextSoundCom().update_att(e.m_data)}))},a.updateView=function(t){console.log("Text_Sound",t),this.m_data=t,this.m_data.text.length<=0||(this.lab_text.getComponent(_).string=this.m_data.text),0!=this.m_data.pos_y&&(this.item_node.position=new u(this.item_node.position.x,this.m_data.pos_y)),this.m_data.sound_data.url.length>0&&this.m_sound_item.changeAudio(this.m_data.sound_data,p.mp3_cache.get(this.m_data.sound_data.name))},e}(l)).prototype,"m_sound_item",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),T=e(v.prototype,"lab_text",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),S=e(v.prototype,"item_node",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),x=v))||x));a._RF.pop()}}}));

System.register("chunks:///_virtual/tip_type_all.ts",["./rollupPluginModLoBabelHelpers.js","cc","./shouji_item.ts","./gameManager.ts"],(function(t){var e,i,n,r,a,l,o,c,s,u,p,h;return{setters:[function(t){e=t.applyDecoratedDescriptor,i=t.inheritsLoose,n=t.initializerDefineProperty,r=t.assertThisInitialized},function(t){a=t.cclegacy,l=t._decorator,o=t.Node,c=t.Prefab,s=t.instantiate,u=t.Component},function(t){p=t.shouji_item},function(t){h=t.gameManager}],execute:function(){var m,_,f,b,g,y,d,v,w;a._RF.push({},"9b29bamDRBD5bWzPi5HrHWW","tip_type_all",void 0);var D=l.ccclass,C=l.property;t("tip_type_all",(m=D("tip_type_all"),_=C(o),f=C(c),b=C(o),m((d=e((y=function(t){function e(){for(var e,i=arguments.length,a=new Array(i),l=0;l<i;l++)a[l]=arguments[l];return e=t.call.apply(t,[this].concat(a))||this,n(e,"content",d,r(e)),n(e,"itemPrefab",v,r(e)),e.mData=null,n(e,"btn_tip",w,r(e)),e.mCallBack=null,e}i(e,t);var a=e.prototype;return a.initView=function(t,e){var i=this;this.mData=t,this.mCallBack=e,this.content.removeAllChildren();for(var n=0;n<this.mData.widget_id_list.length;n++){var r=this.mData.widget_id_list[n],a=s(this.itemPrefab);a.parent=this.content,a.getComponent(p).initAllTipView(r)}this.btn_tip.on(o.EventType.TOUCH_END,(function(){null!=i.mCallBack&&i.mCallBack(),h.Singleton.sys_click_button_music()}))},a.showFinishIcon=function(t){for(var e=0;e<this.content.children.length;e++){var i=this.content.children[e];i.getComponent(p).getData().widget_id===t&&i.getComponent(p).showTipIcon()}},e}(u)).prototype,"content",[_],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),v=e(y.prototype,"itemPrefab",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),w=e(y.prototype,"btn_tip",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),g=y))||g));a._RF.pop()}}}));

System.register("chunks:///_virtual/tip_type_select.ts",["./rollupPluginModLoBabelHelpers.js","cc","./config.ts","./slide_dir_select_item.ts"],(function(t){var e,i,n,o,r,c,l,a,s,p,u,_;return{setters:[function(t){e=t.applyDecoratedDescriptor,i=t.inheritsLoose,n=t.initializerDefineProperty,o=t.assertThisInitialized},function(t){r=t.cclegacy,c=t._decorator,l=t.Node,a=t.Prefab,s=t.instantiate,p=t.Component},function(t){u=t.config},function(t){_=t.slide_dir_select_item}],execute:function(){var f,b,y,h,m,d,v,g,k;r._RF.push({},"09f0ckavGxOsari6FUkAVDY","tip_type_select",void 0);var w=c.ccclass,z=c.property;t("tip_type_select",(f=w("tip_type_select"),b=z(l),y=z(l),h=z(a),f((v=e((d=function(t){function e(){for(var e,i=arguments.length,r=new Array(i),c=0;c<i;c++)r[c]=arguments[c];return e=t.call.apply(t,[this].concat(r))||this,n(e,"content",v,o(e)),n(e,"btn_close",g,o(e)),n(e,"item_prefab",k,o(e)),e.call_back=null,e}i(e,t);var r=e.prototype;return r.show=function(t){var e=this;this.call_back=t,u.zhao_xi_jie_tip_type_map.forEach((function(t,i){var n=s(e.item_prefab);n.parent=e.content,n.getComponent(_).initTipView(i,t,e.onItemClick.bind(e))})),this.btn_close.on(l.EventType.TOUCH_END,(function(){e.close()}))},r.onItemClick=function(t){null!=this.call_back&&this.call_back(t),this.close()},r.close=function(){this.node.destroy()},e}(p)).prototype,"content",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),g=e(d.prototype,"btn_close",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),k=e(d.prototype,"item_prefab",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),m=d))||m));r._RF.pop()}}}));

System.register("chunks:///_virtual/tip_type_single.ts",["./rollupPluginModLoBabelHelpers.js","cc","./shouji_item.ts","./gameManager.ts"],(function(t){var e,i,n,l,c,r,o,a,s,u,h,p;return{setters:[function(t){e=t.applyDecoratedDescriptor,i=t.inheritsLoose,n=t.initializerDefineProperty,l=t.assertThisInitialized},function(t){c=t.cclegacy,r=t._decorator,o=t.Node,a=t.Prefab,s=t.instantiate,u=t.Component},function(t){h=t.shouji_item},function(t){p=t.gameManager}],execute:function(){var m,_,g,f,b,d,v,y,C;c._RF.push({},"1f6547qE8tPp41jr0k6SJ+g","tip_type_single",void 0);var I=r.ccclass,S=r.property;t("tip_type_single",(m=I("tip_type_single"),_=S(o),g=S(a),f=S(o),m((v=e((d=function(t){function e(){for(var e,i=arguments.length,c=new Array(i),r=0;r<i;r++)c[r]=arguments[r];return e=t.call.apply(t,[this].concat(c))||this,n(e,"content",v,l(e)),n(e,"itemPrefab",y,l(e)),n(e,"btn_tip",C,l(e)),e.mData=null,e.mCallBack=null,e.mItemClick=null,e.curSelectItem=null,e}i(e,t);var c=e.prototype;return c.initView=function(t,e,i){var n=this;this.mData=t,this.mCallBack=i,this.mItemClick=e,this.btn_tip.active=!1,this.content.removeAllChildren();for(var l=0;l<this.mData.widget_id_list.length;l++){var c=this.mData.widget_id_list[l],r=s(this.itemPrefab);r.parent=this.content,r.getComponent(h).initSingleTipView(c,this.onItemClick.bind(this))}this.btn_tip.on(o.EventType.TOUCH_END,(function(){null!=n.mCallBack&&n.mCallBack(n.curSelectItem.getData()),p.Singleton.sys_click_button_music()}))},c.showFinishIcon=function(t){for(var e=0;e<this.content.children.length;e++){var i=this.content.children[e];i.getComponent(h).getData().widget_id===t&&i.getComponent(h).showTipIcon()}},c.allItemUnSelect=function(){for(var t=0;t<this.content.children.length;t++){this.content.children[t].getComponent(h).unSelect()}},c.hideTipBtn=function(){this.btn_tip.active=!1,null!=this.curSelectItem&&(this.curSelectItem.unSelect(),this.curSelectItem=null)},c.onItemClick=function(t){this.allItemUnSelect(),t.onSelect(),this.curSelectItem=t,this.btn_tip.active=!0,null!=this.mItemClick&&this.mItemClick(),p.Singleton.sys_click_button_music()},e}(u)).prototype,"content",[_],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),y=e(d.prototype,"itemPrefab",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),C=e(d.prototype,"btn_tip",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),b=d))||b));c._RF.pop()}}}));

System.register("chunks:///_virtual/tips_view.ts",["./rollupPluginModLoBabelHelpers.js","cc","./gameManager.ts"],(function(t){var e,i,n,s,o,r,a,c,p,l;return{setters:[function(t){e=t.applyDecoratedDescriptor,i=t.inheritsLoose,n=t.initializerDefineProperty,s=t.assertThisInitialized},function(t){o=t.cclegacy,r=t._decorator,a=t.Node,c=t.Sprite,p=t.Component},function(t){l=t.gameManager}],execute:function(){var u,_,h,b,v,w,f,m,y,g,T,d,C;o._RF.push({},"6dbb69UocxDAKdr/hBC6zpK","tips_view",void 0);var D=r.ccclass,F=r.property;t("tips_view",(u=D("tips_view"),_=F(a),h=F(a),b=F(a),v=F(a),w=F(a),u((y=e((m=function(t){function e(){for(var e,i=arguments.length,o=new Array(i),r=0;r<i;r++)o[r]=arguments[r];return e=t.call.apply(t,[this].concat(o))||this,n(e,"btn_tips",y,s(e)),n(e,"btn_answer",g,s(e)),n(e,"btn_close",T,s(e)),n(e,"icon",d,s(e)),n(e,"text_view",C,s(e)),e.mData=null,e.IsShowFindRuleTips=!1,e}i(e,t);var o=e.prototype;return o.initView=function(t){var e=this;this.mData=t,this.btn_tips.off(a.EventType.TOUCH_END),this.btn_answer.off(a.EventType.TOUCH_END),this.btn_close.off(a.EventType.TOUCH_END),this.btn_tips.on(a.EventType.TOUCH_END,(function(){e.showTips(),l.Singleton.sys_click_button_music()})),this.btn_answer.on(a.EventType.TOUCH_END,(function(){e.showAnswer(),l.Singleton.sys_click_button_music()})),this.btn_close.on(a.EventType.TOUCH_END,(function(){e.btn_answer.active||e.IsShowFindRuleTips?(e.IsShowFindRuleTips=!1,e.close()):e.show(),l.Singleton.sys_click_button_music()})),this.text_view.active=!1},o.show=function(){this.text_view.active=!1,this.btn_answer.active=!0,this.btn_tips.active=!0,this.node.active=!0},o.close=function(){this.node.active=!1},o.showTips=function(){this.text_view.active=!0,this.btn_answer.active=!1,this.btn_tips.active=!1,this.icon.getComponent(c).spriteFrame=l.getCacheSpriteFrameByName(this.mData.tips_tips.res)},o.showAnswer=function(){this.text_view.active=!0,this.btn_answer.active=!1,this.btn_tips.active=!1,this.icon.getComponent(c).spriteFrame=l.getCacheSpriteFrameByName(this.mData.tips_answer.res)},o.showFindRuleTips=function(t){this.IsShowFindRuleTips=!0,this.node.active=!0,this.text_view.active=!0,this.btn_answer.active=!1,this.btn_tips.active=!1,this.icon.getComponent(c).spriteFrame=l.getCacheSpriteFrameByName(t.res)},e}(p)).prototype,"btn_tips",[_],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),g=e(m.prototype,"btn_answer",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),T=e(m.prototype,"btn_close",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),d=e(m.prototype,"icon",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),C=e(m.prototype,"text_view",[w],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),f=m))||f));o._RF.pop()}}}));

System.register("chunks:///_virtual/toast.ts",["./rollupPluginModLoBabelHelpers.js","cc"],(function(t){var e,r,n,o,i,a,s,c,l;return{setters:[function(t){e=t.applyDecoratedDescriptor,r=t.inheritsLoose,n=t.initializerDefineProperty,o=t.assertThisInitialized},function(t){i=t.cclegacy,a=t._decorator,s=t.Node,c=t.Label,l=t.Component}],execute:function(){var u,p,f,h,b;i._RF.push({},"d1b9dauerVIlqox3PsiRbQF","toast",void 0);var d=a.ccclass,y=a.property;t("toast",(u=d("toast"),p=y(s),u((b=e((h=function(t){function e(){for(var e,r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return e=t.call.apply(t,[this].concat(i))||this,n(e,"lab_text",b,o(e)),e}return r(e,t),e.prototype.show=function(t){var e=this;this.lab_text.getComponent(c).string=t,this.scheduleOnce((function(){e.node.removeFromParent()}),1)},e}(l)).prototype,"lab_text",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),f=h))||f));i._RF.pop()}}}));

System.register("chunks:///_virtual/tools.ts",["cc","./main.ts","./toast.ts","./add_scene.ts","./dialog_view.ts","./sceme_type_select_item.ts","./slide_dir_select.ts","./click_type_select.ts","./add_event.ts","./add_task.ts","./add_animation.ts","./select_widget_list.ts","./select_animation.ts","./show_widget_list.ts","./select_ui_top_type.ts","./show_select_child_scene.ts","./show_select_evele_list.ts","./select_collect_event.ts","./select_res_list.ts","./select_task_zhao_xi_jie.ts","./show_select_z_index.ts","./game_run.ts","./config.ts","./edit_event.ts","./select_sound_list.ts","./select_task_da_guai.ts","./edit_event_view.ts","./tip_type_select.ts","./show_copy_scene.ts","./show_select_more_scene_page.ts","./select_task_dai_dao_ju.ts","./set_color.ts","./show_setup_res_anchor.ts","./dialog_input.ts"],(function(e){var n,t,o,a,s,_,i,c,l,d,u,r,f,p,g,v,w,h,m,b,C,k,y,x,R,z,j,T,V,F,S,D,A,I,K,L,M,O,P,U;return{setters:[function(e){n=e.cclegacy,t=e.resources,o=e.Prefab,a=e.instantiate,s=e.assetManager,_=e.Texture2D,i=e.SpriteFrame},function(e){c=e.main},function(e){l=e.toast},function(e){d=e.add_scene},function(e){u=e.dialog_view},function(e){r=e.sceme_type_select_item},function(e){f=e.slide_dir_select},function(e){p=e.click_type_select},function(e){g=e.add_event},function(e){v=e.add_task},function(e){w=e.add_animation},function(e){h=e.select_widget_list},function(e){m=e.select_animation},function(e){b=e.show_widget_list},function(e){C=e.select_ui_top_type},function(e){k=e.show_select_child_scene},function(e){y=e.show_select_evele_list},function(e){x=e.select_collect_event},function(e){R=e.select_res_list},function(e){z=e.select_task_zhao_xi_jie},function(e){j=e.show_select_z_index},function(e){T=e.game_run},function(e){V=e.config},function(e){F=e.edit_event},function(e){S=e.select_sound_list},function(e){D=e.select_task_da_guai},function(e){A=e.edit_event_view},function(e){I=e.tip_type_select},function(e){K=e.show_copy_scene},function(e){L=e.show_select_more_scene_page},function(e){M=e.select_task_dai_dao_ju},function(e){O=e.set_color},function(e){P=e.show_setup_res_anchor},function(e){U=e.dialog_input}],execute:function(){n._RF.push({},"712395VduJK+IROvRYhGxKk","tools",void 0);e("tools",function(){function e(){}return e.show_dialog=function(e,n,s){void 0===e&&(e="是否确定？"),void 0===s&&(s=null),t.load("prefab/dialog_view",o,(function(t,o){var _=a(o);_.parent=c.g_canvas.node,_.getComponent(u).show(e,n,s)}))},e.show_dialog_input=function(e,n,s){void 0===s&&(s=null),t.load("prefab/dialog_input",o,(function(t,o){var _=a(o);_.parent=c.g_canvas.node,_.getComponent(U).show(e,n,s)}))},e.show_loading=function(e){void 0===e&&(e=null),t.load("prefab/loading",o,(function(n,t){if(!c.loading_view){var o=a(t);o.name="loading",o.parent=c.g_canvas.node,c.loading_view=o,null!=e&&e()}}))},e.hide_loading=function(){null!=c.loading_view&&(c.loading_view.removeFromParent(),c.loading_view=null)},e.showToast=function(e){t.load("prefab/toast",o,(function(n,t){var o=a(t);o.name="toast",o.parent=c.g_canvas.node,o.getComponent(l).show(e)}))},e.show_add_scene=function(e){t.load("prefab/add_scene",o,(function(n,t){var o=a(t);o.parent=c.g_canvas.node,o.getComponent(d).initView(e)}))},e.add_scene_page=function(e){t.load("prefab/sceme_type_select_item",o,(function(n,t){var o=a(t);o.parent=c.g_canvas.node,o.getComponent(r).initView(e)}))},e.show_copy_scene=function(e,n){t.load("prefab/show_copy_scene",o,(function(t,o){var s=a(o);s.parent=c.g_canvas.node,s.getComponent(K).initView(e,n)}))},e.show_slide_dir_select=function(e){t.load("prefab/slide_dir_select",o,(function(n,t){var o=a(t);o.parent=c.g_canvas.node,o.getComponent(f).show(e)}))},e.show_tip_type_select=function(e){t.load("prefab/tip_type_select",o,(function(n,t){var o=a(t);o.parent=c.g_canvas.node,o.getComponent(I).show(e)}))},e.show_click_type_select=function(e){t.load("prefab/click_type_select",o,(function(n,t){var o=a(t);o.parent=c.g_canvas.node,o.getComponent(p).show(e)}))},e.show_add_event=function(e){t.load("prefab/add_event",o,(function(n,t){var o=a(t);o.parent=c.g_canvas.node,o.getComponent(g).show(e)}))},e.show_add_task=function(e){t.load("prefab/add_task",o,(function(n,t){var o=a(t);o.parent=c.g_canvas.node,o.getComponent(v).show(e)}))},e.show_add_animation=function(e,n){t.load("prefab/add_animation",o,(function(t,o){var s=a(o);s.parent=c.g_canvas.node,s.getComponent(w).show(e,n)}))},e.show_select_widget_list=function(e,n,s){void 0===s&&(s=-1),t.load("prefab/select_widget_list",o,(function(t,o){var _=a(o);_.parent=c.g_canvas.node,_.getComponent(h).show(e,n,s)}))},e.show_widget_list=function(e){t.load("prefab/show_widget_list",o,(function(n,t){var o=a(t);o.parent=c.g_canvas.node,o.getComponent(b).show(e)}))},e.show_select_animation_list=function(e,n,s){void 0===s&&(s=-1),t.load("prefab/select_animation",o,(function(t,o){var _=a(o);_.parent=c.g_canvas.node,_.getComponent(m).show(e,n,s)}))},e.show_select_ui_top_type=function(e){t.load("prefab/ui/select_ui_top_type",o,(function(n,t){var o=a(t);o.parent=c.g_canvas.node,o.getComponent(C).show(e)}))},e.show_select_child_scene=function(e,n){t.load("prefab/ui/show_select_child_scene",o,(function(t,o){var s=a(o);s.parent=c.g_canvas.node,s.getComponent(k).show(e,n)}))},e.show_select_evele_list=function(n,s){if(0==n.length)return e.showToast("任务事件列表是空的");t.load("prefab/show_select_evele_list",o,(function(e,t){var o=a(t);o.parent=c.g_canvas.node,o.getComponent(y).show(n,s)}))},e.show_setup_res_anchor=function(e,n,s,_){t.load("prefab/show_setup_res_anchor",o,(function(t,o){var i=a(o);i.parent=c.g_canvas.node,i.getComponent(P).show(e,n,s,_)}))},e.select_collect_event=function(e,n,s,_){t.load("prefab/ui/select_collect_event",o,(function(t,o){var i=a(o);i.parent=c.g_canvas.node,i.getComponent(x).show(e,n,s,_)}))},e.select_res_list=function(e){t.load("prefab/ui/select_res_list",o,(function(n,t){var o=a(t);o.parent=c.g_canvas.node,o.getComponent(R).initView(e)}))},e.select_sound_list=function(e){t.load("prefab/ui/select_sound_list",o,(function(n,t){var o=a(t);o.parent=c.g_canvas.node,o.getComponent(S).initView(e)}))},e.select_task_zhao_xi_jie=function(e){t.load("prefab/task/select_task_zhao_xi_jie",o,(function(n,t){var o=a(t);o.parent=c.g_canvas.node,o.getComponent(z).show(e)}))},e.select_task_da_guai=function(e){t.load("prefab/task/select_task_da_guai",o,(function(n,t){var o=a(t);o.parent=c.g_canvas.node,o.getComponent(D).show(e)}))},e.select_task_dai_dao_ju=function(e){t.load("prefab/task/select_task_dai_dao_ju",o,(function(n,t){var o=a(t);o.parent=c.g_canvas.node,o.getComponent(M).show(e)}))},e.show_select_z_index=function(e){t.load("prefab/show_select_z_index",o,(function(n,t){var o=a(t);o.parent=c.g_canvas.node,o.getComponent(j).show(e)}))},e.show_edit_event_view=function(){t.load("prefab/ui/edit_event_view",o,(function(e,n){var t=a(n);t.parent=c.g_canvas.node,t.getComponent(A).show()}))},e.show_select_dir=function(e){t.load("prefab/show_select_z_index",o,(function(n,t){var o=a(t);o.parent=c.g_canvas.node,o.getComponent(j).showDir(e)}))},e.show_select_more_scene_page=function(e,n,s){t.load("prefab/show_select_more_scene_page",o,(function(t,o){var _=a(o);_.parent=c.g_canvas.node,_.getComponent(L).show(e,n,s)}))},e.loadUrl=function(e,n,t){if(void 0===t&&(t=null),e.length<=0)return null;s.loadRemote(e,(function(e,o){if(!e&&o){var a=new _;a.image=o;var s=new i;s.texture=a,null!=n&&(n.spriteFrame=s),null!=t&&t(s)}else null!=t&&t(null)}))},e.loadSceneImg=function(e,n){if(e.length<=0)return null;s.loadRemote(e,(function(t,o){if(!t&&o){var a=new _;a.image=o;var s=new i;s.texture=a,s.addRef(),n({url:e,sf:s})}}))},e.loadSceneMp3=function(e,n){if(e.length<=0)return null;s.loadRemote(e,(function(t,o){o.addRef(),!t&&o&&n({url:e,clip:o})}))},e.game_run=function(e){void 0===e&&(e=null),t.load("prefab/run/game_run",o,(function(n,t){var o=a(t);o.parent=c.g_canvas.node,o.getComponent(T).run(e)}))},e.game_run_all=function(){t.load("prefab/run/game_run",o,(function(e,n){var t=a(n);t.parent=c.g_canvas.node,t.getComponent(T).runAll()}))},e.isWidgetType=function(e){return e!=V.Widget_Type_List.TEXT_SOUND},e.show_edit_event=function(e,n,s){t.load("prefab/edit_event",o,(function(t,o){var _=a(o);_.parent=c.g_canvas.node,_.getComponent(F).show(e,n,s)}))},e.trimLeftAndRightblank=function(e){return e.replace(/^\s+|\s+$/g,"")},e.show_set_color=function(e,n){t.load("prefab/set_color",o,(function(t,o){var s=a(o);s.parent=c.g_canvas.node,s.getComponent(O).show(e,n)}))},e}());n._RF.pop()}}}));

System.register("chunks:///_virtual/top_layer.ts",["./rollupPluginModLoBabelHelpers.js","cc","./data.ts","./clientEvent.ts","./config.ts","./fail_ani.ts","./tools.ts","./sound_text_content.ts","./gameManager.ts","./question_select2.ts","./rule_view.ts","./tips_view.ts","./fail.ts","./win.ts"],(function(t){var e,i,n,o,s,a,l,u,r,c,_,h,f,p,v,d,w,m,g,b,S,y,C;return{setters:[function(t){e=t.applyDecoratedDescriptor,i=t.inheritsLoose,n=t.initializerDefineProperty,o=t.assertThisInitialized},function(t){s=t.cclegacy,a=t._decorator,l=t.Node,u=t.Prefab,r=t.instantiate,c=t.Vec3,_=t.Component},function(t){h=t.ui_att_item},function(t){f=t.ClientEvent},function(t){p=t.config},function(t){v=t.fail_ani},function(t){d=t.tools},function(t){w=t.sound_text_content},function(t){m=t.gameManager},function(t){g=t.question_select},function(t){b=t.rule_view},function(t){S=t.tips_view},function(t){y=t.fail},function(t){C=t.win}],execute:function(){var T,E,R,x,Q,L,N,W,I,q,k,O,z,P,A,F,M,V,D;s._RF.push({},"a444ftlpYhADY7mt3OeYSEa","top_layer",void 0);var H=a.ccclass,Y=a.property;t("top_layer",(T=H("top_layer"),E=Y(l),R=Y(l),x=Y(u),Q=Y(l),L=Y(l),N=Y(l),W=Y(l),I=Y(l),T((O=e((k=function(t){function e(){for(var e,i=arguments.length,s=new Array(i),a=0;a<i;a++)s[a]=arguments[a];return e=t.call.apply(t,[this].concat(s))||this,n(e,"fail_ani_view",O,o(e)),n(e,"sound_text_content",z,o(e)),n(e,"question_select_prefab",P,o(e)),n(e,"question_content",A,o(e)),n(e,"rule_view",F,o(e)),n(e,"tips_view",M,o(e)),n(e,"win",V,o(e)),n(e,"fail",D,o(e)),e.mTextSoundList=new Map,e.mQuestionList=new Map,e.mQuestionSelect=null,e}i(e,t);var s=e.prototype;return s.initTop=function(){f.off(p.EventRun.NOTICE_EVENT,this.beActive.bind(this),this),f.off(p.EventRun.ON_WIN,this.onWin.bind(this),this),f.off(p.EventRun.SHOW_TIPS,this.onShowWidgetTip.bind(this),this),f.on(p.EventRun.SHOW_TIPS,this.onShowWidgetTip.bind(this),this),f.on(p.EventRun.NOTICE_EVENT,this.beActive.bind(this),this),f.on(p.EventRun.ON_WIN,this.onWin.bind(this),this)},s.unInit=function(){this.sound_text_content.active=!1,this.fail_ani_view.active=!1,this.question_content.removeAllChildren(),this.rule_view.active=!1,this.tips_view.active=!1,this.win.active=!1,this.fail.active=!1,this.mQuestionSelect=null,this.mTextSoundList.clear(),this.mQuestionList.clear(),f.off(p.EventRun.NOTICE_EVENT,this.beActive.bind(this),this),f.off(p.EventRun.ON_WIN,this.onWin.bind(this),this),f.off(p.EventRun.SHOW_TIPS,this.onShowWidgetTip.bind(this),this)},s.initQuestionList=function(t){for(var e=0;e<t.length;e++){var i=t[e];this.mQuestionList.set(i.att.id,i)}},s.initTextSoundLlist=function(t){for(var e=0;e<t.length;e++){var i=t[e];this.mTextSoundList.set(i.att.id,i)}},s.beActive=function(t,e){var i=this;if(e.type===p.event_type.text_sound){var n=this.mTextSoundList.get(t);n?(this.sound_text_content.active=!0,this.sound_text_content.getComponent(w).show(t,n.att.text_sound_data,m.getCacheSoundByName(n.att.text_sound_data.sound_data.url))):d.showToast("配置音效和文字错误！")}else if(e.type===p.event_type.show_question_select){var o=this.mQuestionList.get(t);o&&null==this.mQuestionSelect&&this.addQuestionSelect(o,e.event_item_show_question_select_data)}else if(e.type===p.event_type.hide){this.mQuestionList.get(t)&&null!=this.mQuestionSelect&&(this.mQuestionSelect.node.removeFromParent(),this.mQuestionSelect=null)}else if(e.type===p.event_type.fail_event){var s=e.event_item_fail_event_data;null!=s.is_show_animation&&null!=s.is_show_animation||(s.is_show_animation=!0),s.is_show_animation?(this.fail_ani_view.getComponent(v).Play(),this.scheduleOnce((function(){i.fail.getComponent(y).show(e.event_item_fail_event_data.is_relife,i.onClickReLife.bind(i),i.onClickReStart.bind(i))}),1.5)):this.fail.getComponent(y).show(e.event_item_fail_event_data.is_relife,this.onClickReLife.bind(this),this.onClickReStart.bind(this))}},s.onWin=function(){this.win.getComponent(C).show(this.onClickShare.bind(this),this.onClickNext.bind(this))},s.onClickShare=function(){},s.onClickNext=function(){},s.onClickReLife=function(){m.Singleton.reLife()},s.onClickReStart=function(){this.fail.active=!1,m.Singleton.reStartGame()},s.addQuestionSelect=function(t,e){var i=r(this.question_select_prefab);i.parent=this.question_content,i.position=new c(t.att.x,t.att.y),this.mQuestionSelect=i.getComponent(g),this.mQuestionSelect.initView(t.att.question_select,e,this.onQuestionItemSelect.bind(this))},s.onQuestionItemSelect=function(t){this.mQuestionSelect.node.removeFromParent(),this.mQuestionSelect=null,-1!=t.binding_event_id&&m.Singleton.exeEvent(t.binding_event_id)},s.showTips=function(){this.tips_view.getComponent(S).show()},s.showRule=function(){this.rule_view.getComponent(b).show()},s.onShowWidgetTip=function(t){var e=new h;e.res=t,this.tips_view.getComponent(S).showFindRuleTips(e)},s.showFindRuleTips=function(){var t=m.Singleton.getSceneManager().getSceneData();this.tips_view.getComponent(S).showFindRuleTips(t.att.scene_rule_tips_data.rule_find_tips)},s.initRuleAndTips=function(){var t=m.Singleton.getSceneManager().getSceneData();if(null==t.att.scene_rule_tips_data||null==t.att.scene_rule_tips_data)return d.showToast("没有配置提示资源！");this.tips_view.getComponent(S).initView(t.att.scene_rule_tips_data.tips_data),t.att.scene_rule_tips_data.rule_list.length<=0||this.rule_view.getComponent(b).initView(t.att.scene_rule_tips_data.rule_list)},e}(_)).prototype,"fail_ani_view",[E],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),z=e(k.prototype,"sound_text_content",[R],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),P=e(k.prototype,"question_select_prefab",[x],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),A=e(k.prototype,"question_content",[Q],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),F=e(k.prototype,"rule_view",[L],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),M=e(k.prototype,"tips_view",[N],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),V=e(k.prototype,"win",[W],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),D=e(k.prototype,"fail",[I],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),q=k))||q));s._RF.pop()}}}));

System.register("chunks:///_virtual/touch_chuan_tou.ts",["./rollupPluginModLoBabelHelpers.js","cc"],(function(t){var o,n,u,c;return{setters:[function(t){o=t.inheritsLoose},function(t){n=t.cclegacy,u=t._decorator,c=t.Component}],execute:function(){var e;n._RF.push({},"6b51cdYRMJJtKY0eMZLBsOx","touch_chuan_tou",void 0);var r=u.ccclass;u.property,t("ThroughInputEvents",r(e=function(t){function n(){return t.apply(this,arguments)||this}return o(n,t),n.prototype.onLoad=function(){},n}(c))||e);n._RF.pop()}}}));

System.register("chunks:///_virtual/ui_base.ts",["./rollupPluginModLoBabelHelpers.js","cc","./tools.ts","./gameManager.ts","./clientEvent.ts","./config.ts"],(function(t){var i,n,e,o,s,a,c,h,u,l,r,_;return{setters:[function(t){i=t.applyDecoratedDescriptor,n=t.inheritsLoose,e=t.initializerDefineProperty,o=t.assertThisInitialized},function(t){s=t.cclegacy,a=t._decorator,c=t.Node,h=t.Component},function(t){u=t.tools},function(t){l=t.gameManager},function(t){r=t.ClientEvent},function(t){_=t.config}],execute:function(){var p,f,v,m,b,d,T,E,D;s._RF.push({},"ab102bjCCJJgJE3Be+o2XCw","ui_base",void 0);var g=a.ccclass,y=a.property;t("ui_base",(p=g("ui_base"),f=y(c),v=y(c),m=y(c),p((T=i((d=function(t){function i(){for(var i,n=arguments.length,s=new Array(n),a=0;a<n;a++)s[a]=arguments[a];return i=t.call.apply(t,[this].concat(s))||this,e(i,"btn_close",T,o(i)),e(i,"btn_jump",E,o(i)),e(i,"bg",D,o(i)),i.mData=null,i.mTopData=null,i.mIsFinish=!1,i}n(i,t);var s=i.prototype;return s.initWidget=function(t){var i=this;this.mData=t,this.node.active=!1,this.mTopData=this.mData.att.top_data,null!==this.mTopData?(this.mTopData.is_open_close?(this.btn_close.active=!0,this.btn_close.on(c.EventType.TOUCH_END,(function(){i.close()})),this.node.on(c.EventType.TOUCH_START,(function(){i.close()})),l.initUiBaseAtt(this.btn_close,this.mTopData.close_info)):this.btn_close.active=!1,this.mTopData.is_open_jump?(this.btn_jump.active=!0,l.initUiBaseAtt(this.btn_jump,this.mTopData.jump_info)):this.btn_jump.active=!1,this.init(),r.on(_.EventRun.NOTICE_EVENT,this.beActive.bind(this),this)):u.showToast("初始化ui错误")},s.onDestroy=function(){r.off(_.EventRun.NOTICE_EVENT,this.beActive.bind(this),this)},s.beActive=function(t,i){t===this.mData.att.id&&i.type==_.event_type.active_event&&this.show()},s.close=function(){this.hide(),this.onCloseEvent()},s.show=function(){console.log("fuck!"),this.node.active=!0,this.onShow()},s.onShow=function(){},s.hide=function(){this.node.active=!1},s.loadBg=function(t){t.res_name.length>0&&l.initUiBaseAtt(this.bg,t)},s.onCloseEvent=function(){-1!=this.mTopData.close_event_id&&r.dispatchEvent(_.EventRun.TOP_VIEW_CLOSE,this.mTopData.close_event_id)},s.onFinishEvent=function(){this.mIsFinish=!0,this.hide(),console.log("his.mTopData.finish_event_id",this.mTopData.finish_event_id),-1!=this.mTopData.finish_event_id&&r.dispatchEvent(_.EventRun.TOP_VIEW_FINISH,this.mTopData.finish_event_id)},s.onFialEvent=function(){this.hide(),-1!=this.mTopData.fail_event_id&&r.dispatchEvent(_.EventRun.TOP_VIEW_FAIL,this.mTopData.fail_event_id)},s.init=function(){},s.initView=function(t){this.initWidget(t)},i}(h)).prototype,"btn_close",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),E=i(d.prototype,"btn_jump",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),D=i(d.prototype,"bg",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),b=d))||b));s._RF.pop()}}}));

System.register("chunks:///_virtual/ui_boss_info.ts",["./rollupPluginModLoBabelHelpers.js","cc","./ui_base.ts","./tools.ts","./gameManager.ts","./clientEvent.ts","./config.ts"],(function(t){var i,n,s,e,a,o,r,l,u,h,b,p,c,f,_,g,m,B;return{setters:[function(t){i=t.applyDecoratedDescriptor,n=t.inheritsLoose,s=t.initializerDefineProperty,e=t.assertThisInitialized},function(t){a=t.cclegacy,o=t._decorator,r=t.Node,l=t.ProgressBar,u=t.UITransform,h=t.Tween,b=t.Label,p=t.Color,c=t.tween},function(t){f=t.ui_base},function(t){_=t.tools},function(t){g=t.gameManager},function(t){m=t.ClientEvent},function(t){B=t.config}],execute:function(){var d,v,D,y,E,w,H,T,R,C,z,O,S;a._RF.push({},"40a64QLi4tK7K2EEgng585E","ui_boss_info",void 0);var U=o.ccclass,A=o.property;t("ui_boss_info",(d=U("ui_boss_info"),v=A(r),D=A(r),y=A(r),E=A(r),w=A(r),d((R=i((T=function(t){function i(){for(var i,n=arguments.length,a=new Array(n),o=0;o<n;o++)a[o]=arguments[o];return i=t.call.apply(t,[this].concat(a))||this,s(i,"bg",R,e(i)),s(i,"bg_bar",C,e(i)),s(i,"bar",z,e(i)),s(i,"head",O,e(i)),s(i,"hp_ani",S,e(i)),i.mBossData=null,i.bossHp=0,i}n(i,t);var a=i.prototype;return a.init=function(){if(this.mBossData=this.mTopData._boss_info_data,null===this.mBossData)return _.showToast("boss 配置错误！");this.loadBg(this.mBossData.bg),g.initUiBaseAtt(this.bg_bar,this.mBossData.bg_bar),g.initUiBaseAtt(this.bar,this.mBossData.bar),g.initUiBaseAtt(this.head,this.mBossData.head),this.bg_bar.getComponent(l).totalLength=this.bar.getComponent(u).width,this.bossHp=this.mBossData.hp,this.bg_bar.getComponent(l).progress=1,m.on(B.EventRun.ON_BOSS_HURT,this.hurt.bind(this),this)},a.onDisable=function(){m.off(B.EventRun.ON_BOSS_HURT,this.hurt.bind(this),this),this.unscheduleAllCallbacks()},a.hurt=function(t){var i=this;if(0===t)return _.showToast("道具用完失败"),void this.onFialEvent();var n=0;null!=this.mBossData.hp_delay_time&&(n=this.mBossData.hp_delay_time),this.scheduleOnce((function(){i.bossHp-=t,h.stopAllByTarget(i.hp_ani),i.hp_ani.getComponent(b).string=(t>0?"-":"+")+Math.abs(t),i.hp_ani.active=!0,i.hp_ani.getComponent(b).color=t>0?p.RED:p.GREEN,c(i.hp_ani).delay(2).call((function(){i.hp_ani.active=!1})).start(),i.bossHp>=i.mBossData.hp&&(i.bossHp=i.mBossData.hp);var n=i.bossHp/i.mBossData.hp;i.bg_bar.getComponent(l).progress=n,i.bossHp<=0&&(_.showToast("成功打死boss"),i.onFinishEvent(),m.off(B.EventRun.ON_BOSS_HURT,i.hurt.bind(i),i))}),n)},i}(f)).prototype,"bg",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),C=i(T.prototype,"bg_bar",[D],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),z=i(T.prototype,"bar",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),O=i(T.prototype,"head",[E],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),S=i(T.prototype,"hp_ani",[w],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),H=T))||H));a._RF.pop()}}}));

System.register("chunks:///_virtual/ui_input_box_number_item.ts",["./rollupPluginModLoBabelHelpers.js","cc"],(function(t){var e,n,i,r,o,u,p;return{setters:[function(t){e=t.inheritsLoose},function(t){n=t.cclegacy,i=t._decorator,r=t.UITransform,o=t.Size,u=t.Sprite,p=t.Component}],execute:function(){var s;n._RF.push({},"9e98bZtiZRPKahAUlgmFw4O","ui_input_box_number_item",void 0);var c=i.ccclass;i.property,t("ui_input_box_number_item",c("ui_input_box_number_item")(s=function(t){function n(){for(var e,n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];return(e=t.call.apply(t,[this].concat(i))||this).mData=null,e.mInputNumber="0",e}e(n,t);var i=n.prototype;return i.initView=function(t,e,n){this.mInputNumber=n,this.node.getComponent(r).setContentSize(new o(e.width,e.height)),console.log("sf",t,e),this.node.getComponent(u).spriteFrame=t},i.getInputNumber=function(){return this.mInputNumber},n}(p))||s);n._RF.pop()}}}));

System.register("chunks:///_virtual/ui_interact_input.ts",["./rollupPluginModLoBabelHelpers.js","cc","./ui_base.ts","./tools.ts","./gameManager.ts","./ui_input_box_number_item.ts"],(function(t){var i,n,e,u,s,a,p,r,_,h,o,l,b,m,c,f,g;return{setters:[function(t){i=t.applyDecoratedDescriptor,n=t.inheritsLoose,e=t.initializerDefineProperty,u=t.assertThisInitialized},function(t){s=t.cclegacy,a=t._decorator,p=t.Node,r=t.Prefab,_=t.instantiate,h=t.Sprite,o=t.UITransform,l=t.Size,b=t.Vec3},function(t){m=t.ui_base},function(t){c=t.tools},function(t){f=t.gameManager},function(t){g=t.ui_input_box_number_item}],execute:function(){var I,L,w,D,y,A,d,z,v,x,C,S,B,F,T,j,N,M,P,V,k,E,O,R,U,H,q,X,Y,G,J,K,Q,W,Z,$,tt,it,nt;s._RF.push({},"c51e0q+PyhINbXCYc6ssecF","ui_interact_input",void 0);var et=a.ccclass,ut=a.property;t("ui_interact_input",(I=et("ui_interact_input"),L=ut(p),w=ut(p),D=ut(p),y=ut(p),A=ut(p),d=ut(r),z=ut(p),v=ut(p),x=ut(p),C=ut(p),S=ut(p),B=ut(p),F=ut(p),T=ut(p),j=ut(p),N=ut(p),M=ut(p),P=ut(p),I((E=i((k=function(t){function i(){for(var i,n=arguments.length,s=new Array(n),a=0;a<n;a++)s[a]=arguments[a];return i=t.call.apply(t,[this].concat(s))||this,e(i,"input_default",E,u(i)),e(i,"input_fail",O,u(i)),e(i,"input_right",R,u(i)),e(i,"input_box",U,u(i)),e(i,"input_box_node",H,u(i)),e(i,"ui_input_box_number_item_prefab",q,u(i)),e(i,"input_btn_0",X,u(i)),e(i,"input_btn_1",Y,u(i)),e(i,"input_btn_2",G,u(i)),e(i,"input_btn_3",J,u(i)),e(i,"input_btn_4",K,u(i)),e(i,"input_btn_5",Q,u(i)),e(i,"input_btn_6",W,u(i)),e(i,"input_btn_7",Z,u(i)),e(i,"input_btn_8",$,u(i)),e(i,"input_btn_9",tt,u(i)),e(i,"input_btn_x",it,u(i)),e(i,"input_btn_j",nt,u(i)),i.mInputList=[],i.mInputData=null,i.mInputAttList=new Map,i.btnArrList=[],i.answer_list=[],i.input_answer_list=[],i}n(i,t);var s=i.prototype;return s.init=function(){if(this.mInputData=this.mTopData._interact_input_data,null===this.mInputData)return c.showToast("配置ui 输入类型错误！");this.loadBg(this.mInputData.bg),this.answer_list=this.mInputData.answer.split(","),this.initInputBtns(),this.initInputStatusView()},s.onShow=function(){this.input_default.active=!0,this.input_fail.active=!1,this.input_right.active=!1,this.input_box_node.removeAllChildren(),this.input_answer_list=[]},s.onInputBtnClick=function(t){var i=this,n=t.target.name.toString(),e=n.substring(4,n.length);this.input_answer_list.push(e),this.InputNumber(e),this.input_answer_list.length>=this.answer_list.length&&(console.log("input--",this.input_answer_list,this.answer_list),this.input_answer_list.toString()==this.answer_list.toString()?(this.input_right.active=!0,this.scheduleOnce((function(){i.onFinishEvent()}),1)):(this.input_fail.active=!0,this.scheduleOnce((function(){i.onFialEvent()}),1)))},s.InputNumber=function(t){var i=_(this.ui_input_box_number_item_prefab);i.parent=this.input_box_node;var n=f.getCacheSpriteFrameByName(this.mInputAttList.get(t).res);i.getComponent(g).initView(n,this.mInputData.font,t)},s.initInputStatusView=function(){f.initUiBaseAtt(this.input_default,this.mInputData.input_default),this.input_fail.getComponent(h).spriteFrame=f.getCacheSpriteFrameByName(this.mInputData.input_fail.res),this.input_fail.getComponent(o).setContentSize(this.input_default.getComponent(o).contentSize),this.input_fail.position=this.input_default.position,this.input_right.getComponent(h).spriteFrame=f.getCacheSpriteFrameByName(this.mInputData.input_right.res),this.input_right.getComponent(o).setContentSize(this.input_default.getComponent(o).contentSize),this.input_right.position=this.input_default.position,this.input_right.active=!1,this.input_fail.active=!1},s.initInputBtns=function(){this.mInputList.push(this.input_btn_0),this.mInputList.push(this.input_btn_1),this.mInputList.push(this.input_btn_2),this.mInputList.push(this.input_btn_3),this.mInputList.push(this.input_btn_4),this.mInputList.push(this.input_btn_5),this.mInputList.push(this.input_btn_6),this.mInputList.push(this.input_btn_7),this.mInputList.push(this.input_btn_8),this.mInputList.push(this.input_btn_9),this.mInputList.push(this.input_btn_x),this.mInputList.push(this.input_btn_j),this.btnArrList.push(this.mInputData.att_0),this.btnArrList.push(this.mInputData.att_1),this.btnArrList.push(this.mInputData.att_2),this.btnArrList.push(this.mInputData.att_3),this.btnArrList.push(this.mInputData.att_4),this.btnArrList.push(this.mInputData.att_5),this.btnArrList.push(this.mInputData.att_6),this.btnArrList.push(this.mInputData.att_7),this.btnArrList.push(this.mInputData.att_8),this.btnArrList.push(this.mInputData.att_9),this.btnArrList.push(this.mInputData.att_xing),this.btnArrList.push(this.mInputData.att_jing),this.mInputAttList.set("0",this.mInputData.image_0),this.mInputAttList.set("1",this.mInputData.image_1),this.mInputAttList.set("2",this.mInputData.image_2),this.mInputAttList.set("3",this.mInputData.image_3),this.mInputAttList.set("4",this.mInputData.image_4),this.mInputAttList.set("5",this.mInputData.image_5),this.mInputAttList.set("6",this.mInputData.image_6),this.mInputAttList.set("7",this.mInputData.image_7),this.mInputAttList.set("8",this.mInputData.image_8),this.mInputAttList.set("9",this.mInputData.image_9),this.mInputAttList.set("xing",this.mInputData.image_xing),this.mInputAttList.set("jing",this.mInputData.image_jing);for(var t=0;t<this.mInputList.length;t++){var i=this.mInputList[t],n=this.btnArrList[t];i.getComponent(o).setContentSize(new l(n.width,n.height)),i.position=new b(n.x,n.y),i.on(p.EventType.TOUCH_START,this.onInputBtnClick.bind(this))}},i}(m)).prototype,"input_default",[L],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),O=i(k.prototype,"input_fail",[w],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),R=i(k.prototype,"input_right",[D],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),U=i(k.prototype,"input_box",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),H=i(k.prototype,"input_box_node",[A],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),q=i(k.prototype,"ui_input_box_number_item_prefab",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),X=i(k.prototype,"input_btn_0",[z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),Y=i(k.prototype,"input_btn_1",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),G=i(k.prototype,"input_btn_2",[x],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),J=i(k.prototype,"input_btn_3",[C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),K=i(k.prototype,"input_btn_4",[S],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),Q=i(k.prototype,"input_btn_5",[B],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),W=i(k.prototype,"input_btn_6",[F],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),Z=i(k.prototype,"input_btn_7",[T],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),$=i(k.prototype,"input_btn_8",[j],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),tt=i(k.prototype,"input_btn_9",[N],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),it=i(k.prototype,"input_btn_x",[M],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),nt=i(k.prototype,"input_btn_j",[P],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),V=k))||V));s._RF.pop()}}}));

System.register("chunks:///_virtual/ui_interact_page.ts",["./rollupPluginModLoBabelHelpers.js","cc","./ui_base.ts","./tools.ts","./gameManager.ts"],(function(t){var e,i,a,n,r,_,c,o,s,g,u,l,m,p;return{setters:[function(t){e=t.applyDecoratedDescriptor,i=t.inheritsLoose,a=t.initializerDefineProperty,n=t.assertThisInitialized},function(t){r=t.cclegacy,_=t._decorator,c=t.Node,o=t.UITransform,s=t.Size,g=t.Vec3,u=t.Sprite},function(t){l=t.ui_base},function(t){m=t.tools},function(t){p=t.gameManager}],execute:function(){var h,b,f,D,P,w,y,I,v,d,T,z,E;r._RF.push({},"53752Xs421CdY1zrQBSVZqt","ui_interact_page",void 0);var B=_.ccclass,C=_.property;t("ui_interact_page",(h=B("ui_interact_page"),b=C(c),f=C(c),D=C(c),P=C(c),w=C(c),h((v=e((I=function(t){function e(){for(var e,i=arguments.length,r=new Array(i),_=0;_<i;_++)r[_]=arguments[_];return e=t.call.apply(t,[this].concat(r))||this,a(e,"btn_interact_left",v,n(e)),a(e,"btn_interact_right",d,n(e)),a(e,"img_item_interact_bg",T,n(e)),a(e,"btn_sure",z,n(e)),a(e,"img_item_interact",E,n(e)),e.mInteractPageData=null,e.m_page=0,e}i(e,t);var r=e.prototype;return r.init=function(){if(this.mInteractPageData=this.mTopData._interact_page_data,null===this.mInteractPageData)return m.showToast("设置ui分页错误");this.initPageView()},r.initPageView=function(){var t=this;this.btn_interact_left.on(c.EventType.TOUCH_END,(function(){t.mInteractPageData.img_item_interact_list.length>0?(t.m_page-1<0?t.m_page=t.mInteractPageData.img_item_interact_list.length-1:t.m_page-=1,t.update_func()):m.showToast("没有添加多页")})),this.btn_interact_right.on(c.EventType.TOUCH_END,(function(){t.mInteractPageData.img_item_interact_list.length>0?(t.m_page+1>=t.mInteractPageData.img_item_interact_list.length?t.m_page=0:t.m_page+=1,t.update_func()):m.showToast("没有添加多页")})),this.btn_sure.on(c.EventType.TOUCH_END,(function(){t.m_page==t.mInteractPageData.answer?(t.onFinishEvent(),m.showToast("成功")):(t.onFialEvent(),m.showToast("失败"),console.log("onFialEvent",t.mInteractPageData.answer,t.m_page))})),p.initUiBaseAtt(this.img_item_interact_bg,this.mInteractPageData.img_item_interact_bg),p.initUiBaseAtt(this.btn_interact_right,this.mInteractPageData.btn_interact_right),p.initUiBaseAtt(this.btn_interact_left,this.mInteractPageData.btn_interact_left),p.initUiBaseAtt(this.btn_sure,this.mInteractPageData.btn_sure),this.loadBg(this.mInteractPageData.bg),this.update_func()},r.update_func=function(){var t=this.mInteractPageData.img_item_interact_list[this.m_page],e=this.mInteractPageData.img_item_interact_list[0];this.img_item_interact.getComponent(o).setContentSize(new s(e.width,e.height)),this.img_item_interact.position=new g(e.x,e.y),this.img_item_interact.getComponent(u).spriteFrame=p.getCacheSpriteFrameByName(t.res)},e}(l)).prototype,"btn_interact_left",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),d=e(I.prototype,"btn_interact_right",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),T=e(I.prototype,"img_item_interact_bg",[D],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),z=e(I.prototype,"btn_sure",[P],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),E=e(I.prototype,"img_item_interact",[w],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),y=I))||y));r._RF.pop()}}}));

System.register("chunks:///_virtual/ui_interact_puzzle.ts",["./rollupPluginModLoBabelHelpers.js","cc","./ui_base.ts","./tools.ts","./gameManager.ts"],(function(e){var t,n,i,r,l,o,u,z,s,a,c,p,m,h,g;return{setters:[function(e){t=e.applyDecoratedDescriptor,n=e.inheritsLoose,i=e.initializerDefineProperty,r=e.assertThisInitialized},function(e){l=e.cclegacy,o=e._decorator,u=e.Node,z=e.Vec3,s=e.UITransform,a=e.Size,c=e.Sprite,p=e.instantiate},function(e){m=e.ui_base},function(e){h=e.tools},function(e){g=e.gameManager}],execute:function(){var P,C,f,S,d,_,y,b,w,v,D,N,I,L,T,F,O,B,E;l._RF.push({},"59d3cGRKV1PILaAxgy9E4ON","ui_interact_puzzle",void 0);var U=o.ccclass,x=o.property;e("ui_interact_puzzle",(P=U("ui_interact_puzzle"),C=x(u),f=x(u),S=x(u),d=x(u),_=x(u),y=x(u),b=x(u),w=x(u),P((N=t((D=function(e){function t(){for(var t,n=arguments.length,l=new Array(n),o=0;o<n;o++)l[o]=arguments[o];return t=e.call.apply(e,[this].concat(l))||this,i(t,"puzzle1",N,r(t)),i(t,"puzzle2",I,r(t)),i(t,"puzzle3",L,r(t)),i(t,"puzzle4",T,r(t)),i(t,"puzzle5",F,r(t)),i(t,"puzzle6",O,r(t)),i(t,"content",B,r(t)),i(t,"actionNode",E,r(t)),t.answer_list=[],t.input_answer_list=[],t.mPuzzleList=[],t.mInterctPuzzle=null,t.mCurSelectDragPuzzle=null,t.mOriginPos=z.ZERO,t}n(t,e);var l=t.prototype;return l.init=function(){if(this.mInterctPuzzle=this.mTopData._interact_puzzle_data,null===this.mInterctPuzzle)return h.showToast("设置拼图错误！");this.answer_list=this.mInterctPuzzle.answer.split(","),this.initPuzzleView()},l.initPuzzleView=function(){var e=this;this.loadBg(this.mInterctPuzzle.bg),this.content.getComponent(s).setContentSize(new a(this.mInterctPuzzle.content.width,this.mInterctPuzzle.content.height)),this.content.position=new z(this.mInterctPuzzle.content.x,this.mInterctPuzzle.content.y),this.puzzle1.getComponent(c).spriteFrame=g.getCacheSpriteFrameByName(this.mInterctPuzzle.puzzle1.res),this.puzzle2.getComponent(c).spriteFrame=g.getCacheSpriteFrameByName(this.mInterctPuzzle.puzzle2.res),this.puzzle3.getComponent(c).spriteFrame=g.getCacheSpriteFrameByName(this.mInterctPuzzle.puzzle3.res),this.puzzle4.getComponent(c).spriteFrame=g.getCacheSpriteFrameByName(this.mInterctPuzzle.puzzle4.res),this.puzzle5.getComponent(c).spriteFrame=g.getCacheSpriteFrameByName(this.mInterctPuzzle.puzzle5.res),this.puzzle6.getComponent(c).spriteFrame=g.getCacheSpriteFrameByName(this.mInterctPuzzle.puzzle6.res),this.actionNode.getComponent(s).contentSize=this.content.getComponent(s).contentSize,this.mPuzzleList.push(this.puzzle1),this.mPuzzleList.push(this.puzzle2),this.mPuzzleList.push(this.puzzle3),this.mPuzzleList.push(this.puzzle4),this.mPuzzleList.push(this.puzzle5),this.mPuzzleList.push(this.puzzle6);for(var t=0;t<this.mPuzzleList.length;t++){this.mPuzzleList[t].getComponent(s).setContentSize(this.content.getComponent(s).contentSize)}this.content.on(u.EventType.TOUCH_START,(function(t){if(e.actionNode.children.length>1)return null!=e.mCurSelectDragPuzzle&&(e.mCurSelectDragPuzzle.position=e.mOriginPos,e.mCurSelectDragPuzzle.getComponent(c).enabled=!0),e.mCurSelectDragPuzzle=null,void e.actionNode.removeAllChildren();(e.mCurSelectDragPuzzle=e.checkTouStartWho(t.getUILocation()),null!=e.mCurSelectDragPuzzle)&&(p(e.mCurSelectDragPuzzle).parent=e.actionNode,e.mCurSelectDragPuzzle.getComponent(c).enabled=!1,e.mOriginPos=new z(e.mCurSelectDragPuzzle.position.x,e.mCurSelectDragPuzzle.position.y))})),this.content.on(u.EventType.TOUCH_MOVE,(function(t){if(null!=e.mCurSelectDragPuzzle&&e.actionNode.children.length>0){var n=e.actionNode.getComponent(s).convertToNodeSpaceAR(new z(t.getUILocation().x,t.getUILocation().y));e.actionNode.children[0].position=new z(e.actionNode.children[0].position.x,n.y)}})),this.content.on(u.EventType.TOUCH_END,(function(t){if(null!=e.mCurSelectDragPuzzle){var n=e.checkTouStartWho(t.getUILocation());if(null!=n){var i=new z(n.position.x,n.position.y);n.position=e.mOriginPos,e.mCurSelectDragPuzzle.getComponent(c).enabled=!0,e.mCurSelectDragPuzzle.position=i}else e.mCurSelectDragPuzzle.position=e.mOriginPos;if(e.mCurSelectDragPuzzle=null,e.actionNode.removeAllChildren(),e.sortPuzzle())return void e.onFinishEvent()}})),this.content.on(u.EventType.TOUCH_CANCEL,(function(){null!=e.mCurSelectDragPuzzle&&(e.mCurSelectDragPuzzle.position=e.mOriginPos,e.mCurSelectDragPuzzle.getComponent(c).enabled=!0),e.mCurSelectDragPuzzle=null,e.actionNode.removeAllChildren()}))},l.checkTouStartWho=function(e){for(var t=0;t<this.mPuzzleList.length;t++){var n=this.mPuzzleList[t];if(n.getComponent(s).getBoundingBoxToWorld().contains(e))return n}return null},l.sortPuzzle=function(){var e=this.mPuzzleList.sort((function(e,t){return t.position.y-e.position.y}));this.input_answer_list=[];for(var t=0;t<e.length;t++){var n=e[t];this.input_answer_list.push(n.name.substring(6,n.name.length))}return console.log("this.input_answer_list",this.answer_list,this.input_answer_list),JSON.stringify(this.input_answer_list)===JSON.stringify(this.answer_list)},t}(m)).prototype,"puzzle1",[C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),I=t(D.prototype,"puzzle2",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),L=t(D.prototype,"puzzle3",[S],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),T=t(D.prototype,"puzzle4",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),F=t(D.prototype,"puzzle5",[_],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),O=t(D.prototype,"puzzle6",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),B=t(D.prototype,"content",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),E=t(D.prototype,"actionNode",[w],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),v=D))||v));l._RF.pop()}}}));

System.register("chunks:///_virtual/ui_layer.ts",["./rollupPluginModLoBabelHelpers.js","cc","./config.ts","./ui_base.ts","./gameManager.ts","./ui_manifestations.ts","./tools.ts","./clientEvent.ts","./count_down2.ts","./content_rule_and_tips.ts","./back_title.ts","./boss_tips.ts","./content_only_tip.ts","./dai_dao_ju_bag.ts"],(function(t){var n,e,i,o,a,_,s,r,u,l,c,p,h,b,f,w,d,g,v,m,y,C,D;return{setters:[function(t){n=t.applyDecoratedDescriptor,e=t.inheritsLoose,i=t.initializerDefineProperty,o=t.assertThisInitialized},function(t){a=t.cclegacy,_=t._decorator,s=t.Node,r=t.Prefab,u=t.instantiate,l=t.Vec3,c=t.Component},function(t){p=t.config},function(t){h=t.ui_base},function(t){b=t.gameManager},function(t){f=t.ui_manifestations},function(t){w=t.tools},function(t){d=t.ClientEvent},function(t){g=t.count_down},function(t){v=t.content_rule_and_tips},function(t){m=t.back_title},function(t){y=t.boss_tips},function(t){C=t.content_only_tip},function(t){D=t.dai_dao_ju_bag}],execute:function(){var T,E,k,z,A,L,S,R,j,N,O,I,U,V,B,q,x,F,M,W,H,P,G,X,J,K,Q,Y,Z,$,tt,nt,et,it,ot,at,_t;a._RF.push({},"4c160XARRBOx6TIr4C1wUmd","ui_layer",void 0);var st=_.ccclass,rt=_.property;t("ui_layer",(T=st("ui_layer"),E=rt(s),k=rt(r),z=rt(r),A=rt(r),L=rt(r),S=rt(r),R=rt(r),j=rt(r),N=rt(r),O=rt(r),I=rt(s),U=rt(s),V=rt(s),B=rt(s),q=rt(s),x=rt(s),F=rt(s),T((H=n((W=function(t){function n(){for(var n,e=arguments.length,a=new Array(e),_=0;_<e;_++)a[_]=arguments[_];return n=t.call.apply(t,[this].concat(a))||this,i(n,"ui_content",H,o(n)),i(n,"not_have_interact_prefab",P,o(n)),i(n,"interact_input_prefab",G,o(n)),i(n,"interact_page_prefab",X,o(n)),i(n,"interact_puzzle_prefab",J,o(n)),i(n,"pointer_ding_wei_prefab",K,o(n)),i(n,"wei_chi_pointer_prefab",Q,o(n)),i(n,"interact_scene_prefab",Y,o(n)),i(n,"count_down_prefab",Z,o(n)),i(n,"boss_info_data_prefab",$,o(n)),i(n,"ui_manifestations",tt,o(n)),i(n,"content_rule_and_tips",nt,o(n)),i(n,"content_only_tip",et,o(n)),i(n,"content_count_down",it,o(n)),i(n,"back_title_node",ot,o(n)),i(n,"boss_tips",at,o(n)),i(n,"dai_dao_ju_bag",_t,o(n)),n.mUIList=new Map,n.mCountDownLlist=new Map,n.mData=null,n.mAttCountDown=null,n}e(n,t);var a=n.prototype;return a.initUi=function(t){this.mData=t,this.loadAllUi();this.back_title_node.getComponent(m).initView("",this.onBack.bind(this)),d.on(p.EventRun.NOTICE_EVENT,this.beActive.bind(this),this),d.on(p.EventRun.ON_SHOW_RULE_BTN,this.onChangeShowRuleStatus.bind(this),this)},a.unInit=function(){this.mAttCountDown=null,this.mData=null,this.mCountDownLlist.clear(),this.mUIList.clear(),this.content_count_down.removeAllChildren(),this.ui_content.removeAllChildren(),this.ui_manifestations.active=!1,this.content_rule_and_tips.active=!1,this.content_only_tip.active=!1,this.boss_tips.active=!1,this.dai_dao_ju_bag.active=!1,d.off(p.EventRun.NOTICE_EVENT,this.beActive.bind(this),this),d.off(p.EventRun.ON_SHOW_RULE_BTN,this.onChangeShowRuleStatus.bind(this),this)},a.onBack=function(){null!=b.Singleton.getLevelData()&&b.Singleton.backGameList()},a.onDestroy=function(){d.off(p.EventRun.NOTICE_EVENT,this.beActive.bind(this),this)},a.loadAllUi=function(){for(var t=0;t<this.mData.length;t++){var n=this.mData[t],e=null;switch(n.att.top_data.top_ui_type){case p.top_view_type.not_have_interact:e=u(this.not_have_interact_prefab);break;case p.top_view_type.interact_input:e=u(this.interact_input_prefab);break;case p.top_view_type.interact_page:e=u(this.interact_page_prefab);break;case p.top_view_type.interact_puzzle:e=u(this.interact_puzzle_prefab);break;case p.top_view_type.pointer_ding_wei:e=u(this.pointer_ding_wei_prefab);break;case p.top_view_type.wei_chi_pointer:e=u(this.wei_chi_pointer_prefab);break;case p.top_view_type.interact_scene:e=u(this.interact_scene_prefab);break;case p.top_view_type.boss_info:e=u(this.boss_info_data_prefab)}null!=e&&(e.parent=this.ui_content,e.getComponent(h).initView(n),this.mUIList.set(n.att.id,e))}},a.initCountDownList=function(t){for(var n=0;n<t.length;n++){var e=t[n];this.mCountDownLlist.set(e.att.id,e)}},a.beActive=function(t,n){if(n.type===p.event_type.top_view){var e=this.mUIList.get(t);e?e.getComponent(h).show():w.showToast("配置弹窗错误！"+t)}else if(n.type===p.event_type.top_view_hide){var i=this.mUIList.get(t);i?i.getComponent(h).hide():w.showToast("配置弹窗错误！"+t)}else if(n.type===p.event_type.active_event){var o=this.mCountDownLlist.get(t);null!=o&&null==this.mAttCountDown&&this.createCountDown(o)}else if(n.type===p.event_type.stop_active_event){var a=this.mCountDownLlist.get(t);null!=a&&null==this.mAttCountDown&&this.createCountDown(a)}else if(n.type===p.event_type.hide){var _=this.mUIList.get(t);_&&_.getComponent(h).hide()}else n.type===p.event_type.show_scene_title&&this.back_title_node.getComponent(m).updateTitle(n.event_item_show_scene_title_data.title)},a.createCountDown=function(t){var n=u(this.count_down_prefab);n.parent=this.content_count_down,n.position=new l(t.att.x,t.att.y),this.mAttCountDown=n.getComponent(g),this.mAttCountDown.init(t.att.count_down,this.onCountDownOver.bind(this),t),this.mAttCountDown.startCountDown(),d.dispatchEvent(p.EventRun.ON_COUNT_DOWN_START,this.mAttCountDown.getData().start_event_id),d.on(p.EventRun.ON_WIDGET_FINISH_COLLECT_EVENT,this.onCountDownListening.bind(this),this)},a.onAddTime=function(t,n){var e=this;b.LookVideoCallBack((function(){null!=e.mAttCountDown&&e.mAttCountDown.addTime(t,n)}))},a.onCountDownListening=function(t){if(null!=this.mAttCountDown&&this.mAttCountDown.getData().start_event_id===t){var n=this.mAttCountDown.getData().finish_event_id;-1!=n?b.Singleton.exeEvent(n):w.showToast("没有配置完成的倒计时事件"),this.onCountDownOver(!1)}},a.onCountDownOver=function(t){var n=this.mAttCountDown.getData().fail_event_id;t&&(-1!=n?d.dispatchEvent(p.EventRun.ON_COUNT_DOWN_FAIL,n):w.showToast("配置倒计时失败事件错误！")),this.mAttCountDown.node.removeFromParent(),this.mAttCountDown=null,d.off(p.EventRun.ON_WIDGET_FINISH_COLLECT_EVENT,this.onCountDownListening.bind(this),this)},a.initTaskUi=function(t){switch(this.ui_manifestations.active=!1,this.content_rule_and_tips.active=!1,this.content_only_tip.active=!1,this.dai_dao_ju_bag.active=!1,t.type){case p.task_type.zhao_xi_jie:if(null==t._zhao_xi_jie_data)return w.showToast("找细节玩法没有配置！");this.ui_manifestations.active=!0,this.ui_manifestations.getComponent(f).initView(t._zhao_xi_jie_data);break;case p.task_type.guo_ju_qing:if(null==t._guo_ju_qing)return w.showToast("过剧情有规则玩法没有配置！");this.content_rule_and_tips.active=!0,this.content_rule_and_tips.getComponent(v).initView((function(){b.Singleton.IsOpenRuleStatus()?b.Singleton.showTips():b.Singleton.showFindRuleTips()}),(function(){b.Singleton.showRule()}),-1==t._guo_ju_qing.binding_event_id);break;case p.task_type.guo_ju_qing_not_rule:if(null==t._guo_ju_qing_not_rule_data)return w.showToast("过剧情-无规则玩法没有配置！");this.content_only_tip.active=!0,this.content_only_tip.getComponent(C).initView();break;case p.task_type.da_guai:if(null==t._da_guai)return w.showToast("打boss玩法没有配置！");b.Singleton.getSceneManager().getSceneData().att.scene_rule_tips_data.tips_data.tips_tips.res.length<=0||(this.boss_tips.active=!0,this.boss_tips.getComponent(y).initView(this.onClickBossTips.bind(this)));break;case p.task_type.guo_ju_qing_dai_dao_ju:if(null==t._guo_ju_qing_dai_dao_ju)return w.showToast("带道具没有配置！");this.dai_dao_ju_bag.active=!0,this.dai_dao_ju_bag.getComponent(D).initView(t._guo_ju_qing_dai_dao_ju,this.onClickBossTips.bind(this),this.onAddTime.bind(this))}},a.onClickBossTips=function(){b.Singleton.showTips()},a.onChangeShowRuleStatus=function(){b.Singleton.showRule(),this.content_rule_and_tips.getComponent(v).showRuleBtn()},n}(c)).prototype,"ui_content",[E],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),P=n(W.prototype,"not_have_interact_prefab",[k],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),G=n(W.prototype,"interact_input_prefab",[z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),X=n(W.prototype,"interact_page_prefab",[A],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),J=n(W.prototype,"interact_puzzle_prefab",[L],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),K=n(W.prototype,"pointer_ding_wei_prefab",[S],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),Q=n(W.prototype,"wei_chi_pointer_prefab",[R],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),Y=n(W.prototype,"interact_scene_prefab",[j],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),Z=n(W.prototype,"count_down_prefab",[N],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),$=n(W.prototype,"boss_info_data_prefab",[O],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),tt=n(W.prototype,"ui_manifestations",[I],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),nt=n(W.prototype,"content_rule_and_tips",[U],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),et=n(W.prototype,"content_only_tip",[V],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),it=n(W.prototype,"content_count_down",[B],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),ot=n(W.prototype,"back_title_node",[q],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),at=n(W.prototype,"boss_tips",[x],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),_t=n(W.prototype,"dai_dao_ju_bag",[F],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),M=W))||M));a._RF.pop()}}}));

System.register("chunks:///_virtual/ui_manifestations.ts",["./rollupPluginModLoBabelHelpers.js","cc","./config.ts","./tip_type_single.ts","./tip_type_all.ts","./clientEvent.ts","./gameManager.ts"],(function(i){var t,n,e,_,o,s,p,l,a,c,h,r,u;return{setters:[function(i){t=i.applyDecoratedDescriptor,n=i.inheritsLoose,e=i.initializerDefineProperty,_=i.assertThisInitialized},function(i){o=i.cclegacy,s=i._decorator,p=i.Node,l=i.Component},function(i){a=i.config},function(i){c=i.tip_type_single},function(i){h=i.tip_type_all},function(i){r=i.ClientEvent},function(i){u=i.gameManager}],execute:function(){var g,f,y,b,m,d,v,T,w;o._RF.push({},"b6635qTUcRIZbzAEfmyCUZb","ui_manifestations",void 0);var I=s.ccclass,z=s.property;i("ui_manifestations",(g=I("ui_manifestations"),f=z(p),y=z(p),b=z(p),g((v=t((d=function(i){function t(){for(var t,n=arguments.length,o=new Array(n),s=0;s<n;s++)o[s]=arguments[s];return t=i.call.apply(i,[this].concat(o))||this,e(t,"tip_type_single",v,_(t)),e(t,"tip_type_all",T,_(t)),e(t,"btn_single_click_hide_tip",w,_(t)),t.mData=null,t}n(t,i);var o=t.prototype;return o.initView=function(i){var t=this;this.mData=i,this.mData.tip_type===a.zhao_xi_jie_tip_type.select_tips?(this.tip_type_single.active=!0,this.btn_single_click_hide_tip.active=!1,this.btn_single_click_hide_tip.on(p.EventType.TOUCH_END,(function(){t.btn_single_click_hide_tip.active=!1,t.tip_type_single.getComponent(c).hideTipBtn()})),this.tip_type_all.active=!1,this.tip_type_single.getComponent(c).initView(i,this.onItemClick.bind(this),this.onItemTips.bind(this))):(this.tip_type_all.active=!0,this.tip_type_single.active=!1,this.tip_type_all.getComponent(h).initView(i,this.onShowTips.bind(this))),r.on(a.EventRun.SHOW_ZHAO_BU_TONG_FINISH_STATUS,this.on_zhao_bu_tong_finish.bind(this),this),r.on(a.EventRun.ON_ZHAO_BU_TONG_ALL_FINISH,this.on_zhao_bu_tong_all_finish.bind(this),this)},o.on_zhao_bu_tong_finish=function(i){this.mData.tip_type===a.zhao_xi_jie_tip_type.select_tips?this.tip_type_single.getComponent(c).showFinishIcon(i.widget_id):this.tip_type_all.getComponent(h).showFinishIcon(i.widget_id)},o.on_zhao_bu_tong_all_finish=function(i){this.node.active=!1},o.onItemClick=function(){this.btn_single_click_hide_tip.active=!0},o.onItemTips=function(i){r.dispatchEvent(a.EventRun.SHOW_TIPS,i.tips_res)},o.onShowTips=function(){u.Singleton.showTips()},t}(l)).prototype,"tip_type_single",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),T=t(d.prototype,"tip_type_all",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),w=t(d.prototype,"btn_single_click_hide_tip",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),m=d))||m));o._RF.pop()}}}));

System.register("chunks:///_virtual/ui_not_have_interact.ts",["./rollupPluginModLoBabelHelpers.js","cc","./ui_base.ts","./tools.ts"],(function(t){var n,e,o,a,r;return{setters:[function(t){n=t.inheritsLoose},function(t){e=t.cclegacy,o=t._decorator},function(t){a=t.ui_base},function(t){r=t.tools}],execute:function(){var i;e._RF.push({},"4404ccLE01C/rsX+0mJ1sb6","ui_not_have_interact",void 0);var c=o.ccclass;o.property,t("ui_not_have_interact",c("ui_not_have_interact")(i=function(t){function e(){for(var n,e=arguments.length,o=new Array(e),a=0;a<e;a++)o[a]=arguments[a];return(n=t.call.apply(t,[this].concat(o))||this).mNotHaveInteract=null,n}return n(e,t),e.prototype.init=function(){if(this.mNotHaveInteract=this.mTopData._not_have_interact_data,null===this.mNotHaveInteract)return r.showToast("配置正常弹窗无交互，错误！");this.loadBg(this.mNotHaveInteract.bg)},e}(a))||i);e._RF.pop()}}}));

System.register("chunks:///_virtual/ui_pointer_ding_wei.ts",["./rollupPluginModLoBabelHelpers.js","cc","./ui_base.ts","./tools.ts","./gameManager.ts"],(function(i){var t,n,e,o,r,a,s,_,u,p,g,l,h,c;return{setters:[function(i){t=i.applyDecoratedDescriptor,n=i.inheritsLoose,e=i.initializerDefineProperty,o=i.assertThisInitialized},function(i){r=i.cclegacy,a=i._decorator,s=i.Node,_=i.Tween,u=i.UITransform,p=i.tween,g=i.Vec3},function(i){l=i.ui_base},function(i){h=i.tools},function(i){c=i.gameManager}],execute:function(){var b,m,D,f,d,w,y,P,v,R,W,T,z,A,B;r._RF.push({},"d6a2c+GPT9PX6rjIrVwm/b/","ui_pointer_ding_wei",void 0);var I=a.ccclass,x=a.property;i("ui_pointer_ding_wei",(b=I("ui_pointer_ding_wei"),m=x(s),D=x(s),f=x(s),d=x(s),w=x(s),y=x(s),b((R=t((v=function(i){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return t=i.call.apply(i,[this].concat(r))||this,e(t,"pointer_bar",R,o(t)),e(t,"pointer_bar_point",W,o(t)),e(t,"img_text",T,o(t)),e(t,"img_eye_1",z,o(t)),e(t,"img_eye_2",A,o(t)),e(t,"btn_pointer_ding_wei_sure",B,o(t)),t.mPointDingWeiData=null,t.duration=1,t.moveDirIsRight=!0,t.rightLength=200,t}n(t,i);var r=t.prototype;return r.init=function(){if(this.mPointDingWeiData=this.mTopData._pointer_ding_wei_data,null===this.mPointDingWeiData)return h.showToast("指针定位配置错误~");this.rightLength=this.mPointDingWeiData.rightLength,this.initPointerDingWei()},r.initPointerDingWei=function(){this.loadBg(this.mPointDingWeiData.bg),c.initUiBaseAtt(this.pointer_bar,this.mPointDingWeiData.pointer_bar),c.initUiBaseAtt(this.pointer_bar_point,this.mPointDingWeiData.pointer_bar_point),c.initUiBaseAtt(this.img_text,this.mPointDingWeiData.img_text),c.initUiBaseAtt(this.img_eye_1,this.mPointDingWeiData.img_eye_1),c.initUiBaseAtt(this.img_eye_2,this.mPointDingWeiData.img_eye_2),c.initUiBaseAtt(this.btn_pointer_ding_wei_sure,this.mPointDingWeiData.btn_pointer_ding_wei_sure),this.btn_pointer_ding_wei_sure.on(s.EventType.TOUCH_START,this.stopRunPoint.bind(this)),this.startRunPoint()},r.stopRunPoint=function(){_.stopAllByTarget(this.pointer_bar_point);var i=.5*this.rightLength;this.pointer_bar_point.position.x>-i&&this.pointer_bar_point.position.x<i?(this.onFinishEvent(),console.log("过关成功")):(this.onFialEvent(),console.log("过关失败"))},r.startRunPoint=function(){var i=this,t=.5*this.pointer_bar.getComponent(u).contentSize.width,n=0===this.pointer_bar_point.position.x?.5*this.duration:this.duration;this.moveDirIsRight?p(this.pointer_bar_point).to(n,{position:new g(t,0,0)}).call((function(){i.moveDirIsRight=!i.moveDirIsRight,i.startRunPoint()})).start():p(this.pointer_bar_point).to(n,{position:new g(-t,0,0)}).call((function(){i.moveDirIsRight=!i.moveDirIsRight,i.startRunPoint()})).start()},t}(l)).prototype,"pointer_bar",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),W=t(v.prototype,"pointer_bar_point",[D],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),T=t(v.prototype,"img_text",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),z=t(v.prototype,"img_eye_1",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),A=t(v.prototype,"img_eye_2",[w],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),B=t(v.prototype,"btn_pointer_ding_wei_sure",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),P=v))||P));r._RF.pop()}}}));

System.register("chunks:///_virtual/ui_top.ts",["./rollupPluginModLoBabelHelpers.js","cc","./config.ts","./view_not_have_interact.ts","./view_ui_att_item.ts","./view_interact_input.ts","./view_interact_page.ts","./view_interact_puzzle.ts","./view_pointer_ding_wei.ts","./view_wei_chi_pointer.ts","./view_interact_scene.ts","./view_boss_info.ts"],(function(t){var e,i,a,_,n,o,p,s,r,u,c,h,m,w,l,d,g,v;return{setters:[function(t){e=t.applyDecoratedDescriptor,i=t.inheritsLoose,a=t.initializerDefineProperty,_=t.assertThisInitialized},function(t){n=t.cclegacy,o=t._decorator,p=t.Node,s=t.Component},function(t){r=t.config},function(t){u=t.view_not_have_interact},function(t){c=t.view_ui_att_item},function(t){h=t.view_interact_input},function(t){m=t.view_interact_page},function(t){w=t.view_interact_puzzle},function(t){l=t.view_pointer_ding_wei},function(t){d=t.view_wei_chi_pointer},function(t){g=t.view_interact_scene},function(t){v=t.view_boss_info}],execute:function(){var f,y,b,z,C,D,j,V,k,A,T,B,S,F,R,I,L,M,P,q,x,E,H;n._RF.push({},"4539bKApRBFhIn2kyl+oq2T","ui_top",void 0);var K=o.ccclass,N=o.property;t("ui_top",(f=K("ui_top"),y=N(p),b=N(p),z=N(p),C=N(p),D=N(p),j=N(p),V=N(p),k=N(p),A=N(p),T=N(p),f((F=e((S=function(t){function e(){for(var e,i=arguments.length,n=new Array(i),o=0;o<i;o++)n[o]=arguments[o];return e=t.call.apply(t,[this].concat(n))||this,a(e,"interact_page",F,_(e)),a(e,"interact_input",R,_(e)),a(e,"interact_puzzle",I,_(e)),a(e,"wei_chi_pointer",L,_(e)),a(e,"pointer_ding_wei",M,_(e)),a(e,"interact_scene",P,_(e)),a(e,"not_have_interact",q,_(e)),a(e,"boss_info",x,_(e)),a(e,"btn_close",E,_(e)),a(e,"btn_jump",H,_(e)),e.view_map=new Map,e.m_data=null,e}i(e,t);var n=e.prototype;return n.initView=function(t){this.m_data=t,this.view_map.set(r.top_view_type.interact_page,this.interact_page),this.view_map.set(r.top_view_type.interact_input,this.interact_input),this.view_map.set(r.top_view_type.interact_puzzle,this.interact_puzzle),this.view_map.set(r.top_view_type.wei_chi_pointer,this.wei_chi_pointer),this.view_map.set(r.top_view_type.pointer_ding_wei,this.pointer_ding_wei),this.view_map.set(r.top_view_type.interact_scene,this.interact_scene),this.view_map.set(r.top_view_type.not_have_interact,this.not_have_interact),this.view_map.set(r.top_view_type.boss_info,this.boss_info),this.updateStatus()},n.updateStatus=function(){this.hideAllTop(),this.m_data.close_info=this.m_data.close_info?this.m_data.close_info:this.btn_close.getComponent(c).getData(),this.btn_close.getComponent(c).updateAtt(this.m_data.close_info),this.m_data.jump_info=this.m_data.jump_info?this.m_data.jump_info:this.btn_jump.getComponent(c).getData(),this.btn_jump.getComponent(c).updateAtt(this.m_data.jump_info),this.m_data.top_ui_type!=r.top_view_type.__null&&(this.view_map.get(this.m_data.top_ui_type).active=!0),this.btn_jump.active=this.m_data.is_open_jump,this.btn_close.active=this.m_data.is_open_close,this.showViewByType()},n.changeData=function(t){this.m_data=t,this.updateStatus()},n.showViewByType=function(){switch(this.m_data.top_ui_type){case r.top_view_type.not_have_interact:this.view_map.get(this.m_data.top_ui_type).getComponent(u).updateView(this.m_data._not_have_interact_data),this.m_data._not_have_interact_data=this.view_map.get(this.m_data.top_ui_type).getComponent(u).getData();break;case r.top_view_type.interact_input:this.view_map.get(this.m_data.top_ui_type).getComponent(h).updateView(this.m_data._interact_input_data),this.m_data._interact_input_data=this.view_map.get(this.m_data.top_ui_type).getComponent(h).getData();break;case r.top_view_type.interact_page:this.view_map.get(this.m_data.top_ui_type).getComponent(m).updateView(this.m_data._interact_page_data),this.m_data._interact_page_data=this.view_map.get(this.m_data.top_ui_type).getComponent(m).getData();break;case r.top_view_type.interact_puzzle:this.view_map.get(this.m_data.top_ui_type).getComponent(w).updateView(this.m_data._interact_puzzle_data),this.m_data._interact_puzzle_data=this.view_map.get(this.m_data.top_ui_type).getComponent(w).getData();break;case r.top_view_type.pointer_ding_wei:this.view_map.get(this.m_data.top_ui_type).getComponent(l).updateView(this.m_data._pointer_ding_wei_data),this.m_data._pointer_ding_wei_data=this.view_map.get(this.m_data.top_ui_type).getComponent(l).getData();break;case r.top_view_type.wei_chi_pointer:this.view_map.get(this.m_data.top_ui_type).getComponent(d).updateView(this.m_data._wei_chi_pointer_data),this.m_data._wei_chi_pointer_data=this.view_map.get(this.m_data.top_ui_type).getComponent(d).getData();break;case r.top_view_type.interact_scene:this.view_map.get(this.m_data.top_ui_type).getComponent(g).updateView(this.m_data._interact_scene_data),this.m_data._interact_scene_data=this.view_map.get(this.m_data.top_ui_type).getComponent(g).getData();break;case r.top_view_type.boss_info:this.view_map.get(this.m_data.top_ui_type).getComponent(v).updateView(this.m_data._boss_info_data),this.m_data._boss_info_data=this.view_map.get(this.m_data.top_ui_type).getComponent(v).getData()}},n.hideAllTop=function(){this.view_map.forEach((function(t,e){t.active=!1}))},e}(s)).prototype,"interact_page",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),R=e(S.prototype,"interact_input",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),I=e(S.prototype,"interact_puzzle",[z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),L=e(S.prototype,"wei_chi_pointer",[C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),M=e(S.prototype,"pointer_ding_wei",[D],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),P=e(S.prototype,"interact_scene",[j],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),q=e(S.prototype,"not_have_interact",[V],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),x=e(S.prototype,"boss_info",[k],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),E=e(S.prototype,"btn_close",[A],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),H=e(S.prototype,"btn_jump",[T],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),B=S))||B));n._RF.pop()}}}));

System.register("chunks:///_virtual/ui_wei_chi_pointer.ts",["./rollupPluginModLoBabelHelpers.js","cc","./ui_base.ts","./tools.ts","./gameManager.ts"],(function(i){var t,n,e,o,r,s,h,u,a,_,l,m,c,g;return{setters:[function(i){t=i.applyDecoratedDescriptor,n=i.inheritsLoose,e=i.initializerDefineProperty,o=i.assertThisInitialized},function(i){r=i.cclegacy,s=i._decorator,h=i.Node,u=i.Tween,a=i.UITransform,_=i.Vec3,l=i.Label},function(i){m=i.ui_base},function(i){c=i.tools},function(i){g=i.gameManager}],execute:function(){var p,b,f,C,x,d,w,y,P,v,T,z,W,L,A;r._RF.push({},"be614qhVGFB0ZW7ZhFrunyw","ui_wei_chi_pointer",void 0);var B=s.ccclass,R=s.property;i("ui_wei_chi_pointer",(p=B("ui_wei_chi_pointer"),b=R(h),f=R(h),C=R(h),x=R(h),d=R(h),w=R(h),p((v=t((P=function(i){function t(){for(var t,n=arguments.length,r=new Array(n),s=0;s<n;s++)r[s]=arguments[s];return t=i.call.apply(i,[this].concat(r))||this,e(t,"img_hand",v,o(t)),e(t,"img_bar",T,o(t)),e(t,"img_pointer",z,o(t)),e(t,"img_text_bing_zhu_hu_xi",W,o(t)),e(t,"btn_bingxi",L,o(t)),e(t,"lab_time_count",A,o(t)),t.rightLength=200,t.moveLen=50,t.curTime=0,t.time=3,t.mWeiChiPointer=null,t}n(t,i);var r=t.prototype;return r.init=function(){if(this.mWeiChiPointer=this.mTopData._wei_chi_pointer_data,null===this.mWeiChiPointer)return c.showToast("指针定位界面编辑错误！");this.rightLength=this.mWeiChiPointer.rightLength,this.time=this.mWeiChiPointer.time,this.initWeiChiPointer()},r.initWeiChiPointer=function(){this.loadBg(this.mWeiChiPointer.bg),g.initUiBaseAtt(this.img_hand,this.mWeiChiPointer.img_hand),g.initUiBaseAtt(this.img_bar,this.mWeiChiPointer.img_bar),g.initUiBaseAtt(this.img_pointer,this.mWeiChiPointer.img_pointer),g.initUiBaseAtt(this.img_text_bing_zhu_hu_xi,this.mWeiChiPointer.img_text_bing_zhu_hu_xi),g.initUiBaseAtt(this.btn_bingxi,this.mWeiChiPointer.btn_bingxi),this.btn_bingxi.on(h.EventType.TOUCH_START,this.onClickMove.bind(this))},r.onEnable=function(){this.startRunPoint()},r.stopRunPoint=function(){u.stopAllByTarget(this.img_pointer);var i=.5*this.rightLength;this.img_pointer.position.x>-i&&this.img_pointer.position.x<i?(this.onFinishEvent(),console.log("过关成功")):(this.onFialEvent(),console.log("过关失败"))},r.onClickMove=function(){this.img_pointer.position.x<.5*this.img_bar.getComponent(a).contentSize.width&&(this.img_pointer.position=new _(this.img_pointer.position.x+this.moveLen,this.img_pointer.position.y))},r.startRunPoint=function(){var i=this;this.lab_time_count.getComponent(l).string="倒计时 "+(this.time-this.curTime)+" 秒",this.schedule(this.timeCount,1),this.schedule((function(){i.img_pointer.position.x>-.5*i.img_bar.getComponent(a).contentSize.width&&(i.img_pointer.position=new _(i.img_pointer.position.x-i.moveLen,i.img_pointer.position.y))}),.5)},r.timeCount=function(){if(this.curTime++,this.lab_time_count.getComponent(l).string="倒计时 "+(this.time-this.curTime)+" 秒",this.curTime>=this.time)return this.curTime=0,this.unscheduleAllCallbacks(),void this.stopRunPoint()},t}(m)).prototype,"img_hand",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),T=t(P.prototype,"img_bar",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),z=t(P.prototype,"img_pointer",[C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),W=t(P.prototype,"img_text_bing_zhu_hu_xi",[x],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),L=t(P.prototype,"btn_bingxi",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),A=t(P.prototype,"lab_time_count",[w],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),y=P))||y));r._RF.pop()}}}));

System.register("chunks:///_virtual/view_boss_info.ts",["./rollupPluginModLoBabelHelpers.js","cc","./data.ts","./view_ui_att_item.ts"],(function(t){var e,n,i,a,r,o,u,l,b,s;return{setters:[function(t){e=t.applyDecoratedDescriptor,n=t.inheritsLoose,i=t.initializerDefineProperty,a=t.assertThisInitialized},function(t){r=t.cclegacy,o=t._decorator,u=t.Node,l=t.Component},function(t){b=t.boss_info_data},function(t){s=t.view_ui_att_item}],execute:function(){var p,c,g,_,f,h,d,m,v,w,y;r._RF.push({},"3a841sBA51KmKBlnUQH9k5b","view_boss_info",void 0);var C=o.ccclass,D=o.property;t("view_boss_info",(p=C("view_boss_info"),c=D(u),g=D(u),_=D(u),f=D(u),p((m=e((d=function(t){function e(){for(var e,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return e=t.call.apply(t,[this].concat(r))||this,i(e,"bg",m,a(e)),i(e,"bg_bar",v,a(e)),i(e,"bar",w,a(e)),i(e,"head",y,a(e)),e.m_data=null,e}n(e,t);var r=e.prototype;return r.updateView=function(t){null===t&&(t=new b),this.m_data=t,this.bg.getComponent(s).updateAtt(t.bg),t.bg=this.bg.getComponent(s).getData(),this.bg_bar.getComponent(s).updateAtt(t.bg_bar),t.bg_bar=this.bg_bar.getComponent(s).getData(),this.bar.getComponent(s).updateAtt(t.bar),t.bar=this.bar.getComponent(s).getData(),this.head.getComponent(s).updateAtt(t.head),t.head=this.head.getComponent(s).getData()},r.getData=function(){return this.m_data},e}(l)).prototype,"bg",[c],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),v=e(d.prototype,"bg_bar",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),w=e(d.prototype,"bar",[_],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),y=e(d.prototype,"head",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),h=d))||h));r._RF.pop()}}}));

System.register("chunks:///_virtual/view_interact_input.ts",["./rollupPluginModLoBabelHelpers.js","cc","./data.ts","./view_ui_att_item.ts","./config.ts"],(function(t){var e,n,i,a,u,r,_,o,m,p,g,l;return{setters:[function(t){e=t.applyDecoratedDescriptor,n=t.inheritsLoose,i=t.initializerDefineProperty,a=t.assertThisInitialized},function(t){u=t.cclegacy,r=t._decorator,_=t.Node,o=t.Size,m=t.Component},function(t){p=t.interact_input_data},function(t){g=t.view_ui_att_item},function(t){l=t.config}],execute:function(){var b,f,d,c,s,h,y,C,w,D,z,A,v,j,x,L,R,B,E,F,P,S,k,q,H,I,J,K,M,N,T,V,W,G,O,Q,U,X,Y,Z,$,tt,et,nt,it,at,ut,rt,_t,ot,mt,pt,gt,lt,bt,ft,dt,ct,st,ht,yt;u._RF.push({},"1d938tD7RBAL6EEgJvWK1aq","view_interact_input",void 0);var Ct=r.ccclass,wt=r.property;t("view_interact_input",(b=Ct("view_interact_input"),f=wt(_),d=wt(_),c=wt(_),s=wt(_),h=wt(_),y=wt(_),C=wt(_),w=wt(_),D=wt(_),z=wt(_),A=wt(_),v=wt(_),j=wt(_),x=wt(_),L=wt(_),R=wt(_),B=wt(_),E=wt(_),F=wt(_),P=wt(_),S=wt(_),k=wt(_),q=wt(_),H=wt(_),I=wt(_),J=wt(_),K=wt(_),M=wt(_),N=wt(_),b((W=e((V=function(t){function e(){for(var e,n=arguments.length,u=new Array(n),r=0;r<n;r++)u[r]=arguments[r];return e=t.call.apply(t,[this].concat(u))||this,i(e,"img_number_0",W,a(e)),i(e,"img_number_1",G,a(e)),i(e,"img_number_2",O,a(e)),i(e,"img_number_3",Q,a(e)),i(e,"img_number_4",U,a(e)),i(e,"img_number_5",X,a(e)),i(e,"img_number_6",Y,a(e)),i(e,"img_number_7",Z,a(e)),i(e,"img_number_8",$,a(e)),i(e,"img_number_9",tt,a(e)),i(e,"img_number_xing",et,a(e)),i(e,"img_number_jing",nt,a(e)),i(e,"att_number_0",it,a(e)),i(e,"att_number_1",at,a(e)),i(e,"att_number_2",ut,a(e)),i(e,"att_number_3",rt,a(e)),i(e,"att_number_4",_t,a(e)),i(e,"att_number_5",ot,a(e)),i(e,"att_number_6",mt,a(e)),i(e,"att_number_7",pt,a(e)),i(e,"att_number_8",gt,a(e)),i(e,"att_number_9",lt,a(e)),i(e,"att_number_xing",bt,a(e)),i(e,"att_number_jing",ft,a(e)),i(e,"img_bg",dt,a(e)),i(e,"input_default",ct,a(e)),i(e,"input_fail",st,a(e)),i(e,"input_right",ht,a(e)),i(e,"font_info",yt,a(e)),e.m_data=null,e}n(e,t);var u=e.prototype;return u.updateView=function(t){null===t&&(t=new p),this.m_data=t,this.img_bg.getComponent(g).updateAtt(t.bg),t.bg=this.img_bg.getComponent(g).getData(),this.font_info.getComponent(g).updateAtt(t.font,l.update_type.update_info),t.font=this.font_info.getComponent(g).getData();var e=new o(t.font.width,t.font.height);this.img_number_0.getComponent(g).updateAtt(t.image_0,l.update_type.update_all),t.image_0=this.img_number_0.getComponent(g).getData(e),this.img_number_1.getComponent(g).updateAtt(t.image_1,l.update_type.update_all),t.image_1=this.img_number_1.getComponent(g).getData(e),this.img_number_2.getComponent(g).updateAtt(t.image_2,l.update_type.update_all),t.image_2=this.img_number_2.getComponent(g).getData(e),this.img_number_3.getComponent(g).updateAtt(t.image_3,l.update_type.update_all),t.image_3=this.img_number_3.getComponent(g).getData(e),this.img_number_4.getComponent(g).updateAtt(t.image_4,l.update_type.update_all),t.image_4=this.img_number_4.getComponent(g).getData(e),this.img_number_5.getComponent(g).updateAtt(t.image_5,l.update_type.update_all),t.image_5=this.img_number_5.getComponent(g).getData(e),this.img_number_6.getComponent(g).updateAtt(t.image_6,l.update_type.update_all),t.image_6=this.img_number_6.getComponent(g).getData(e),this.img_number_7.getComponent(g).updateAtt(t.image_7,l.update_type.update_all),t.image_7=this.img_number_7.getComponent(g).getData(e),this.img_number_8.getComponent(g).updateAtt(t.image_8,l.update_type.update_all),t.image_8=this.img_number_8.getComponent(g).getData(e),this.img_number_9.getComponent(g).updateAtt(t.image_9,l.update_type.update_all),t.image_9=this.img_number_8.getComponent(g).getData(e),this.img_number_xing.getComponent(g).updateAtt(t.image_xing,l.update_type.update_all),t.image_xing=this.img_number_xing.getComponent(g).getData(),this.img_number_jing.getComponent(g).updateAtt(t.image_jing,l.update_type.update_all),t.image_jing=this.img_number_jing.getComponent(g).getData(),this.input_default.getComponent(g).updateAtt(t.input_default),t.input_default=this.input_default.getComponent(g).getData(),this.input_fail.getComponent(g).updateAtt(t.input_fail),t.input_fail=this.input_fail.getComponent(g).getData(),this.input_right.getComponent(g).updateAtt(t.input_right),t.input_right=this.input_right.getComponent(g).getData(),this.att_number_0.getComponent(g).updateAtt(t.att_0,l.update_type.update_info),t.att_0=this.att_number_0.getComponent(g).getData(),this.att_number_1.getComponent(g).updateAtt(t.att_1,l.update_type.update_info),t.att_1=this.att_number_1.getComponent(g).getData(),this.att_number_2.getComponent(g).updateAtt(t.att_2,l.update_type.update_info),t.att_2=this.att_number_2.getComponent(g).getData(),this.att_number_3.getComponent(g).updateAtt(t.att_3,l.update_type.update_info),t.att_3=this.att_number_3.getComponent(g).getData(),this.att_number_4.getComponent(g).updateAtt(t.att_4,l.update_type.update_info),t.att_4=this.att_number_4.getComponent(g).getData(),this.att_number_5.getComponent(g).updateAtt(t.att_5,l.update_type.update_info),t.att_5=this.att_number_5.getComponent(g).getData(),this.att_number_6.getComponent(g).updateAtt(t.att_6,l.update_type.update_info),t.att_6=this.att_number_6.getComponent(g).getData(),this.att_number_7.getComponent(g).updateAtt(t.att_7,l.update_type.update_info),t.att_7=this.att_number_7.getComponent(g).getData(),this.att_number_8.getComponent(g).updateAtt(t.att_8,l.update_type.update_info),t.att_8=this.att_number_8.getComponent(g).getData(),this.att_number_9.getComponent(g).updateAtt(t.att_9,l.update_type.update_info),t.att_9=this.att_number_9.getComponent(g).getData(),this.att_number_xing.getComponent(g).updateAtt(t.att_xing,l.update_type.update_info),t.att_xing=this.att_number_xing.getComponent(g).getData(),this.att_number_jing.getComponent(g).updateAtt(t.att_jing,l.update_type.update_info),t.att_jing=this.att_number_jing.getComponent(g).getData()},u.getData=function(){return this.m_data},e}(m)).prototype,"img_number_0",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),G=e(V.prototype,"img_number_1",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),O=e(V.prototype,"img_number_2",[c],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),Q=e(V.prototype,"img_number_3",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),U=e(V.prototype,"img_number_4",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),X=e(V.prototype,"img_number_5",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),Y=e(V.prototype,"img_number_6",[C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),Z=e(V.prototype,"img_number_7",[w],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),$=e(V.prototype,"img_number_8",[D],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),tt=e(V.prototype,"img_number_9",[z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),et=e(V.prototype,"img_number_xing",[A],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),nt=e(V.prototype,"img_number_jing",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),it=e(V.prototype,"att_number_0",[j],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),at=e(V.prototype,"att_number_1",[x],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),ut=e(V.prototype,"att_number_2",[L],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),rt=e(V.prototype,"att_number_3",[R],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),_t=e(V.prototype,"att_number_4",[B],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),ot=e(V.prototype,"att_number_5",[E],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),mt=e(V.prototype,"att_number_6",[F],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),pt=e(V.prototype,"att_number_7",[P],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),gt=e(V.prototype,"att_number_8",[S],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),lt=e(V.prototype,"att_number_9",[k],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),bt=e(V.prototype,"att_number_xing",[q],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),ft=e(V.prototype,"att_number_jing",[H],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),dt=e(V.prototype,"img_bg",[I],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),ct=e(V.prototype,"input_default",[J],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),st=e(V.prototype,"input_fail",[K],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),ht=e(V.prototype,"input_right",[M],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),yt=e(V.prototype,"font_info",[N],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),T=V))||T));u._RF.pop()}}}));

System.register("chunks:///_virtual/view_interact_page.ts",["./rollupPluginModLoBabelHelpers.js","cc","./data.ts","./view_ui_att_item.ts","./tools.ts","./config.ts"],(function(t){var e,i,n,a,_,r,o,g,c,m,u,l;return{setters:[function(t){e=t.applyDecoratedDescriptor,i=t.inheritsLoose,n=t.initializerDefineProperty,a=t.assertThisInitialized},function(t){_=t.cclegacy,r=t._decorator,o=t.Node,g=t.Component},function(t){c=t.interact_page_data},function(t){m=t.view_ui_att_item},function(t){u=t.tools},function(t){l=t.config}],execute:function(){var p,s,b,f,h,d,y,w,v,C,D,z,A,T,H;_._RF.push({},"ff15bybWmpGgYe8oBaVBWHH","view_interact_page",void 0);var E=r.ccclass,B=r.property;t("view_interact_page",(p=E("view_interact_page"),s=B(o),b=B(o),f=B(o),h=B(o),d=B(o),y=B(o),p((C=e((v=function(t){function e(){for(var e,i=arguments.length,_=new Array(i),r=0;r<i;r++)_[r]=arguments[r];return e=t.call.apply(t,[this].concat(_))||this,n(e,"bg",C,a(e)),n(e,"btn_interact_left",D,a(e)),n(e,"btn_interact_right",z,a(e)),n(e,"img_item_interact_bg",A,a(e)),n(e,"btn_sure",T,a(e)),n(e,"img_item_interact",H,a(e)),e.m_data=null,e.m_page=0,e.update_func=function(){e.img_item_interact.getComponent(m).updateAtt(e.m_data.img_item_interact_list[e.m_page],l.update_type.update_img),e.m_data.img_item_interact_list[e.m_page]=e.img_item_interact.getComponent(m).getData(),null!=e.m_data.img_item_interact_list[0]&&e.img_item_interact.getComponent(m).updateAtt(e.m_data.img_item_interact_list[0],l.update_type.update_info)},e}i(e,t);var _=e.prototype;return _.start=function(){var t=this;this.btn_interact_left.on(o.EventType.TOUCH_END,(function(){t.m_data.img_item_interact_list.length>0?(t.m_page-1<0?t.m_page=t.m_data.img_item_interact_list.length-1:t.m_page-=1,t.update_func()):u.showToast("没有添加多页")})),this.btn_interact_right.on(o.EventType.TOUCH_END,(function(){t.m_data.img_item_interact_list.length>0?(t.m_page+1>=t.m_data.img_item_interact_list.length?t.m_page=0:t.m_page+=1,t.update_func()):u.showToast("没有添加多页")}))},_.updateView=function(t){null===t&&(t=new c),this.m_page=0,this.m_data=t,this.bg.getComponent(m).updateAtt(t.bg),t.bg=this.bg.getComponent(m).getData(),this.btn_interact_left.getComponent(m).updateAtt(t.btn_interact_left),t.btn_interact_left=this.btn_interact_left.getComponent(m).getData(),this.btn_interact_right.getComponent(m).updateAtt(t.btn_interact_right),t.btn_interact_right=this.btn_interact_right.getComponent(m).getData(),this.img_item_interact_bg.getComponent(m).updateAtt(t.img_item_interact_bg),t.img_item_interact_bg=this.img_item_interact_bg.getComponent(m).getData(),this.btn_sure.getComponent(m).updateAtt(t.btn_sure),t.btn_sure=this.btn_sure.getComponent(m).getData(),t.img_item_interact_list.length<=0&&this.m_data.img_item_interact_list.push(null),this.update_func()},_.getData=function(){return this.m_data},e}(g)).prototype,"bg",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),D=e(v.prototype,"btn_interact_left",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),z=e(v.prototype,"btn_interact_right",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),A=e(v.prototype,"img_item_interact_bg",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),T=e(v.prototype,"btn_sure",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),H=e(v.prototype,"img_item_interact",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),w=v))||w));_._RF.pop()}}}));

System.register("chunks:///_virtual/view_interact_puzzle.ts",["./rollupPluginModLoBabelHelpers.js","cc","./data.ts","./view_ui_att_item.ts","./config.ts"],(function(t){var e,n,p,u,l,a,i,o,z,r,c,d;return{setters:[function(t){e=t.applyDecoratedDescriptor,n=t.inheritsLoose,p=t.initializerDefineProperty,u=t.assertThisInitialized},function(t){l=t.cclegacy,a=t._decorator,i=t.Node,o=t.Size,z=t.Component},function(t){r=t.interact_puzzle_data},function(t){c=t.view_ui_att_item},function(t){d=t.config}],execute:function(){var g,_,s,m,h,f,b,y,C,w,A,v,D,F,I,R,S,L,N;l._RF.push({},"09c8coFJsRIwIyNr9CCSqd0","view_interact_puzzle",void 0);var P=a.ccclass,j=a.property;t("view_interact_puzzle",(g=P("view_interact_puzzle"),_=j(i),s=j(i),m=j(i),h=j(i),f=j(i),b=j(i),y=j(i),C=j(i),g((v=e((A=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,p(e,"bg",v,u(e)),p(e,"puzzle1",D,u(e)),p(e,"puzzle2",F,u(e)),p(e,"puzzle3",I,u(e)),p(e,"puzzle4",R,u(e)),p(e,"puzzle5",S,u(e)),p(e,"puzzle6",L,u(e)),p(e,"content",N,u(e)),e.m_data=null,e}n(e,t);var l=e.prototype;return l.updateView=function(t){null===t&&(t=new r),this.m_data=t,this.bg.getComponent(c).updateAtt(t.bg),t.bg=this.bg.getComponent(c).getData(),this.content.getComponent(c).updateAtt(t.content,d.update_type.update_info),t.content=this.content.getComponent(c).getData();var e=new o(t.content.width,t.content.height);this.puzzle1.getComponent(c).updateAtt(t.puzzle1,d.update_type.update_all),t.puzzle1=this.puzzle1.getComponent(c).getData(e),this.puzzle1.getComponent(c).updateAtt(t.puzzle1,d.update_type.update_all),this.puzzle2.getComponent(c).updateAtt(t.puzzle2,d.update_type.update_all),t.puzzle2=this.puzzle2.getComponent(c).getData(e),this.puzzle2.getComponent(c).updateAtt(t.puzzle2,d.update_type.update_all),this.puzzle3.getComponent(c).updateAtt(t.puzzle3,d.update_type.update_all),t.puzzle3=this.puzzle3.getComponent(c).getData(e),this.puzzle3.getComponent(c).updateAtt(t.puzzle3,d.update_type.update_all),this.puzzle4.getComponent(c).updateAtt(t.puzzle4,d.update_type.update_all),t.puzzle4=this.puzzle4.getComponent(c).getData(e),this.puzzle4.getComponent(c).updateAtt(t.puzzle4,d.update_type.update_all),this.puzzle5.getComponent(c).updateAtt(t.puzzle5,d.update_type.update_all),t.puzzle5=this.puzzle5.getComponent(c).getData(e),this.puzzle5.getComponent(c).updateAtt(t.puzzle5,d.update_type.update_all),this.puzzle6.getComponent(c).updateAtt(t.puzzle6,d.update_type.update_all),t.puzzle6=this.puzzle6.getComponent(c).getData(e),this.puzzle6.getComponent(c).updateAtt(t.puzzle6,d.update_type.update_all)},l.getData=function(){return this.m_data},e}(z)).prototype,"bg",[_],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),D=e(A.prototype,"puzzle1",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),F=e(A.prototype,"puzzle2",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),I=e(A.prototype,"puzzle3",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),R=e(A.prototype,"puzzle4",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),S=e(A.prototype,"puzzle5",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),L=e(A.prototype,"puzzle6",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),N=e(A.prototype,"content",[C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),w=A))||w));l._RF.pop()}}}));

System.register("chunks:///_virtual/view_interact_scene.ts",["./rollupPluginModLoBabelHelpers.js","cc","./data.ts"],(function(e){var t,n,i,a,r,c,s,o,l,u;return{setters:[function(e){t=e.applyDecoratedDescriptor,n=e.inheritsLoose,i=e.initializerDefineProperty,a=e.assertThisInitialized},function(e){r=e.cclegacy,c=e._decorator,s=e.Node,o=e.Label,l=e.Component},function(e){u=e.interact_scene_data}],execute:function(){var _,p,d,f,h;r._RF.push({},"59309R9mxNFP7vGhncf5Y/j","view_interact_scene",void 0);var v=c.ccclass,m=c.property;e("view_interact_scene",(_=v("view_interact_scene"),p=m(s),_((h=t((f=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),c=0;c<n;c++)r[c]=arguments[c];return t=e.call.apply(e,[this].concat(r))||this,i(t,"lab_scene_desc",h,a(t)),t.m_data=null,t}n(t,e);var r=t.prototype;return r.start=function(){},r.updateView=function(e){null===e&&(e=new u),this.m_data=e,this.lab_scene_desc.getComponent(o).string=this.m_data.scene?"当前的子场景名字："+this.m_data.scene.scene_diy_name:"没有添加子场景"},r.getData=function(){return this.m_data},t}(l)).prototype,"lab_scene_desc",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),d=f))||d));r._RF.pop()}}}));

System.register("chunks:///_virtual/view_not_have_interact.ts",["./rollupPluginModLoBabelHelpers.js","cc","./view_ui_att_item.ts","./data.ts"],(function(t){var e,n,i,a,r,o,u,_,c,l,s,p;return{setters:[function(t){e=t.applyDecoratedDescriptor,n=t.inheritsLoose,i=t.initializerDefineProperty,a=t.assertThisInitialized},function(t){r=t.cclegacy,o=t._decorator,u=t.Node,_=t.SpriteFrame,c=t.Sprite,l=t.Component},function(t){s=t.view_ui_att_item},function(t){p=t.not_have_interact_data}],execute:function(){var g,f,h,b,d,m,v;r._RF.push({},"d4569cmUB9LZaRqUsbFbrfe","view_not_have_interact",void 0);var w=o.ccclass,y=o.property;t("view_not_have_interact",(g=w("view_not_have_interact"),f=y(u),h=y(_),g((m=e((d=function(t){function e(){for(var e,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return e=t.call.apply(t,[this].concat(r))||this,i(e,"bg",m,a(e)),i(e,"sf_bg_default",v,a(e)),e.m_data=null,e}n(e,t);var r=e.prototype;return r.updateView=function(t){null===t&&(t=new p),this.m_data=t,this.bg.getComponent(s).updateAtt(t.bg),t.bg=this.bg.getComponent(s).getData(),0!=this.m_data.bg.res.length&&0!=this.m_data.bg.res_name.length||(this.bg.getComponent(s).getComponent(c).spriteFrame=this.sf_bg_default)},r.getData=function(){return this.m_data},e}(l)).prototype,"bg",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),v=e(d.prototype,"sf_bg_default",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),b=d))||b));r._RF.pop()}}}));

System.register("chunks:///_virtual/view_pointer_ding_wei.ts",["./rollupPluginModLoBabelHelpers.js","cc","./data.ts","./view_ui_att_item.ts"],(function(t){var e,i,n,r,o,_,a,p,u,g;return{setters:[function(t){e=t.applyDecoratedDescriptor,i=t.inheritsLoose,n=t.initializerDefineProperty,r=t.assertThisInitialized},function(t){o=t.cclegacy,_=t._decorator,a=t.Node,p=t.Component},function(t){u=t.pointer_ding_wei_data},function(t){g=t.view_ui_att_item}],execute:function(){var l,b,m,s,c,d,w,y,f,h,C,v,D,z,A,x,B;o._RF.push({},"7c12bJBlcpKQqImg4rCZ4Zi","view_pointer_ding_wei",void 0);var F=_.ccclass,I=_.property;t("view_pointer_ding_wei",(l=F("view_pointer_ding_wei"),b=I(a),m=I(a),s=I(a),c=I(a),d=I(a),w=I(a),y=I(a),l((C=e((h=function(t){function e(){for(var e,i=arguments.length,o=new Array(i),_=0;_<i;_++)o[_]=arguments[_];return e=t.call.apply(t,[this].concat(o))||this,n(e,"bg",C,r(e)),n(e,"pointer_bar",v,r(e)),n(e,"pointer_bar_point",D,r(e)),n(e,"img_text",z,r(e)),n(e,"img_eye_1",A,r(e)),n(e,"img_eye_2",x,r(e)),n(e,"btn_pointer_ding_wei_sure",B,r(e)),e.m_data=null,e}i(e,t);var o=e.prototype;return o.updateView=function(t){null===t&&(t=new u),this.m_data=t,this.bg.getComponent(g).updateAtt(t.bg),t.bg=this.bg.getComponent(g).getData(),this.pointer_bar.getComponent(g).updateAtt(t.pointer_bar),t.pointer_bar=this.pointer_bar.getComponent(g).getData(),this.pointer_bar_point.getComponent(g).updateAtt(t.pointer_bar_point),t.pointer_bar_point=this.pointer_bar_point.getComponent(g).getData(),this.img_text.getComponent(g).updateAtt(t.img_text),t.img_text=this.img_text.getComponent(g).getData(),this.img_eye_1.getComponent(g).updateAtt(t.img_eye_1),t.img_eye_1=this.img_eye_1.getComponent(g).getData(),this.img_eye_2.getComponent(g).updateAtt(t.img_eye_2),t.img_eye_2=this.img_eye_2.getComponent(g).getData(),this.btn_pointer_ding_wei_sure.getComponent(g).updateAtt(t.btn_pointer_ding_wei_sure),t.btn_pointer_ding_wei_sure=this.btn_pointer_ding_wei_sure.getComponent(g).getData()},o.getData=function(){return this.m_data},e}(p)).prototype,"bg",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),v=e(h.prototype,"pointer_bar",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),D=e(h.prototype,"pointer_bar_point",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),z=e(h.prototype,"img_text",[c],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),A=e(h.prototype,"img_eye_1",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),x=e(h.prototype,"img_eye_2",[w],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),B=e(h.prototype,"btn_pointer_ding_wei_sure",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),f=h))||f));o._RF.pop()}}}));

System.register("chunks:///_virtual/view_ui_att_item.ts",["./rollupPluginModLoBabelHelpers.js","cc","./data.ts","./config.ts"],(function(t){var e,i,a,n,o,s,h,d,u,r,_,p,m;return{setters:[function(t){e=t.inheritsLoose},function(t){i=t.cclegacy,a=t._decorator,n=t.UITransform,o=t.Size,s=t.Vec3,h=t.assetManager,d=t.Texture2D,u=t.SpriteFrame,r=t.Sprite,_=t.Component},function(t){p=t.ui_att_item},function(t){m=t.config}],execute:function(){var c;i._RF.push({},"ec81fyAgaJMXIMeO+kYybju","view_ui_att_item",void 0);var l=a.ccclass;a.property,t("view_ui_att_item",l("view_ui_att_item")(c=function(t){function i(){for(var e,i=arguments.length,a=new Array(i),n=0;n<i;n++)a[n]=arguments[n];return(e=t.call.apply(t,[this].concat(a))||this).m_data=null,e}e(i,t);var a=i.prototype;return a.getData=function(t){if(void 0===t&&(t=null),null===this.m_data){this.m_data=new p;var e=this.node.getComponent(n).contentSize,i=this.node.position;this.m_data.width=t?t.width:e.width,this.m_data.height=t?t.height:e.height,this.m_data.x=i.x,this.m_data.y=i.y}else this.m_data.width=t?t.width:this.m_data.width,this.m_data.height=t?t.height:this.m_data.height;return this.m_data},a.updateAtt=function(t,e){if(void 0===e&&(e=m.update_type.update_all),null!=t&&(e!==m.update_type.update_all&&e!==m.update_type.update_img||""!=t.res&&t.res.length>0&&this.updateRes(t.res),this.m_data=t,e===m.update_type.update_all||e===m.update_type.update_info)){var i=new o(this.m_data.width,this.m_data.height),a=new s(this.m_data.x,this.m_data.y);this.node.getComponent(n).contentSize=i,this.node.position=a}},a.updateRes=function(t){var e=this;h.loadRemote(t,(function(t,i){if(!t&&i){var a=new d;a.image=i;var n=new u;n.texture=a,e.getComponent(r).spriteFrame=n}}))},i}(_))||c);i._RF.pop()}}}));

System.register("chunks:///_virtual/view_wei_chi_pointer.ts",["./rollupPluginModLoBabelHelpers.js","cc","./data.ts","./view_ui_att_item.ts"],(function(t){var i,e,n,r,o,a,_,u,g,p;return{setters:[function(t){i=t.applyDecoratedDescriptor,e=t.inheritsLoose,n=t.initializerDefineProperty,r=t.assertThisInitialized},function(t){o=t.cclegacy,a=t._decorator,_=t.Node,u=t.Component},function(t){g=t.wei_chi_pointer_data},function(t){p=t.view_ui_att_item}],execute:function(){var l,b,m,c,h,s,d,f,w,x,y,z,v,C,D;o._RF.push({},"67c1b1KOg9K3LD4xUdyH5pD","view_wei_chi_pointer",void 0);var A=a.ccclass,L=a.property;t("view_wei_chi_pointer",(l=A("view_wei_chi_pointer"),b=L(_),m=L(_),c=L(_),h=L(_),s=L(_),d=L(_),l((x=i((w=function(t){function i(){for(var i,e=arguments.length,o=new Array(e),a=0;a<e;a++)o[a]=arguments[a];return i=t.call.apply(t,[this].concat(o))||this,n(i,"bg",x,r(i)),n(i,"img_hand",y,r(i)),n(i,"img_bar",z,r(i)),n(i,"img_pointer",v,r(i)),n(i,"img_text_bing_zhu_hu_xi",C,r(i)),n(i,"btn_bingxi",D,r(i)),i.m_data=null,i}e(i,t);var o=i.prototype;return o.updateView=function(t){null===t&&(t=new g),this.m_data=t,this.bg.getComponent(p).updateAtt(t.bg),t.bg=this.bg.getComponent(p).getData(),this.img_hand.getComponent(p).updateAtt(t.img_hand),t.img_hand=this.img_hand.getComponent(p).getData(),this.img_bar.getComponent(p).updateAtt(t.img_bar),t.img_bar=this.img_bar.getComponent(p).getData(),this.img_pointer.getComponent(p).updateAtt(t.img_pointer),t.img_pointer=this.img_pointer.getComponent(p).getData(),this.img_text_bing_zhu_hu_xi.getComponent(p).updateAtt(t.img_text_bing_zhu_hu_xi),t.img_text_bing_zhu_hu_xi=this.img_text_bing_zhu_hu_xi.getComponent(p).getData(),this.btn_bingxi.getComponent(p).updateAtt(t.btn_bingxi),t.btn_bingxi=this.btn_bingxi.getComponent(p).getData()},o.getData=function(){return this.m_data},i}(u)).prototype,"bg",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),y=i(w.prototype,"img_hand",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),z=i(w.prototype,"img_bar",[c],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),v=i(w.prototype,"img_pointer",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),C=i(w.prototype,"img_text_bing_zhu_hu_xi",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),D=i(w.prototype,"btn_bingxi",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),f=w))||f));o._RF.pop()}}}));

System.register("chunks:///_virtual/widget_base.ts",["./rollupPluginModLoBabelHelpers.js","cc","./gameManager.ts","./clientEvent.ts","./config.ts","./tools.ts","./scene_page.ts"],(function(t){var i,n,e,o,a,s,r,h,c,m,u,l,_,p,d,g,f,v,w,y,A;return{setters:[function(t){i=t.applyDecoratedDescriptor,n=t.inheritsLoose,e=t.initializerDefineProperty,o=t.assertThisInitialized},function(t){a=t.cclegacy,s=t._decorator,r=t.Node,h=t.UITransform,c=t.Size,m=t.Vec3,u=t.UIOpacity,l=t.Sprite,_=t.Tween,p=t.Color,d=t.tween,g=t.Component},function(t){f=t.gameManager},function(t){v=t.ClientEvent},function(t){w=t.config},function(t){y=t.tools},function(t){A=t.scene_page}],execute:function(){var C,D,I,b,T;a._RF.push({},"0c261//vlBLuY8y9JKRSqGV","widget_base",void 0);var S=s.ccclass,E=s.property,F=function(){this.color=void 0,this.opacity=void 0,this.size=void 0,this.pos=void 0,this.rotation=void 0,this.anchorPointX=void 0,this.anchorPointY=void 0};t("widget_base",(C=S("widget_base"),D=E(r),C((T=i((b=function(t){function i(){for(var i,n=arguments.length,a=new Array(n),s=0;s<n;s++)a[s]=arguments[s];return i=t.call.apply(t,[this].concat(a))||this,e(i,"icon",T,o(i)),i.mData=null,i.mAnimationList=[],i.mCurRunAnimation=[],i.mCurAnimation=null,i.mPlayStatus=!1,i.mIsFinish=!1,i.mIsActive=!1,i.mIsShow=!1,i.bindTarget=null,i.isInit=!0,i}n(i,t);var a=i.prototype;return a.initWidget=function(t){this.mData=t,this.icon.getComponent(h).contentSize=new c(this.mData.att.width,this.mData.att.height),this.icon.position=new m(this.mData.att.x,this.mData.att.y);var i=.5;null!=this.mData.att.anchor_x&&null!=this.mData.att.anchor_x&&(i=this.mData.att.anchor_x);var n=.5;null!=this.mData.att.anchor_x&&null!=this.mData.att.anchor_x&&(n=this.mData.att.anchor_y),this.icon.getComponent(h).setAnchorPoint(i,n),null==this.mData.att.rotation||null==this.mData.att.rotation?this.icon.angle=0:this.icon.angle=this.mData.att.rotation,null===this.icon.getComponent(u)&&this.icon.addComponent(u),this.mData.att.src.length>0&&(this.icon.getComponent(l).spriteFrame=f.getCacheSpriteFrameByName(this.mData.att.src)),this.updateDir(),this.mIsShow=this.mData.att.is_show,this.mIsActive=this.mData.att.is_interaction,this.mAnimationList=this.mData.att.animation_list,this.mIsShow?(this.node.active=!0,this.onWidgetShow()):this.node.active=!1,this.isInit?this.init():(this.node.position=m.ZERO,this.icon.position=m.ZERO,this.node.active=!0,this.onWidgetShow())},a.updateDir=function(){switch(this.mData.att.img_dir){case w.widget_scale_dir.left:this.node.scale=new m(-1,1,1);break;case w.widget_scale_dir.up:this.node.scale=new m(1,-1,1);break;case w.widget_scale_dir.normal:this.node.scale=new m(1,1,1)}},a.onDestroy=function(){},a.getAniById=function(t){if(this.mAnimationList.length>0)for(var i=0;i<this.mAnimationList.length;i++){var n=this.mAnimationList[i];if(t==n.ani_id)return n}return null},a.onWidgetShow=function(){if(this.node.active=!0,this.mIsShow=!0,this.mData.att.animation_list.length>0)if(this.mData.att.animation_list[0].ani_frame_list.length<=0);else{if(this.mCurAnimation=this.getAniById(this.mData.att.animation_list[0].ani_id),!this.mCurAnimation)return y.showToast("错误的动画配置！id:"+this.mData.att.id+"-请检查");this.mCurRunAnimation=this.mCurAnimation.ani_frame_list,this.mCurRunAnimation.length<2||this.runAnimation()}},a.hide=function(t,i){t===this.mData.att.id&&(this.mIsShow=!1,this.node.active=!1)},a.beActive=function(t,i){if(t===this.mData.att.id){if(i.type===w.event_type.hide)return void this.hide(t,i);switch(this.mIsShow||this.onWidgetShow(),this.mIsActive||this.registeredEvent(),this.mIsActive=!0,i.type){case w.event_type.play_ani:var n=i.event_item_play_ani_data;if(null!=n){if(this.mCurAnimation=this.getAniById(n.ani_id),!this.mCurAnimation)return y.showToast("错误的动画配置！请检查");this.mCurRunAnimation=this.mCurAnimation.ani_frame_list,this.runAnimation()}break;case w.event_type.change_one_item_status:var e=i.event_item_change_one_item_status_data;if(null!=e){var o=e.att.res;o.length>0&&y.loadUrl(o,this.icon.getComponent(l))}break;case w.event_type.show_new_item:break;case w.event_type.stop_active_event:console.log("停止激活 停止激活"),this.mIsActive=!1;break;case w.event_type.be_event:console.log("this.be_event",this.mIsShow)}}},a.runAnimation=function(){var t=this;null!=this.bindTarget&&(_.stopAllByTarget(this.bindTarget),this.bindTarget=null),null!=this.mCurAnimation.isMove&&null!=this.mCurAnimation.isMove||(this.mCurAnimation.isMove=!0);var i=function(i){return{cur_frame:t.mCurRunAnimation[i],up_frame:i>0?t.mCurRunAnimation[i-1]:t.mCurRunAnimation[0]}},n=0,e=i(n);this.runFrame(e.cur_frame,e.up_frame,(function e(){if(++n>=t.mCurRunAnimation.length){if(!t.mCurAnimation.isLoop)return t.mPlayStatus=!1,void t.onFinishAnimation();n=0}var o=i(n);t.runFrame(o.cur_frame,o.up_frame,e)}))},a.runFrame=function(t,i,n){var e=this,o=t.next_time;this.icon.getComponent(l).spriteFrame=f.getCacheSpriteFrameByName(t.url);var a=new m(t.pos_x,t.pos_y),s=new p;s=s.fromHEX(t.color),this.bindTarget=new F;var r=null==i.rotation?0:i.rotation;this.bindTarget.rotation=r,this.bindTarget.color=(new p).fromHEX(i.color),this.bindTarget.opacity=i.transparent,this.bindTarget.size=new c(i.size_width,i.size_height),this.bindTarget.pos=new m(i.pos_x,i.pos_y),this.bindTarget.anchorPointX=null==i.anchor_point_x?.5:i.anchor_point_x,this.bindTarget.anchorPointY=null==i.anchor_point_y?.5:i.anchor_point_y,d(this.bindTarget).to(o,{pos:a,color:s,opacity:t.transparent,size:new c(t.size_width,t.size_height),rotation:t.rotation,anchorPointX:t.anchor_point_x,anchorPointY:t.anchor_point_y},{onUpdate:function(t){e.icon.getComponent(l).color=t.color,e.icon.getComponent(u).opacity=t.opacity,e.icon.getComponent(h).setContentSize(t.size),e.icon.getComponent(h).setAnchorPoint(t.anchorPointX,t.anchorPointY),e.mCurAnimation.isMove&&(e.node.position=t.pos),e.node.angle=t.rotation}}).call((function(){n()})).start()},a.getIsFinish=function(){return this.mIsFinish},a.getIsShow=function(){return 0!=this.icon.getComponent(u).opacity&&!this.mIsFinish&&this.mIsShow},a.getScenePage=function(){return"content"==this.node.parent.name?this.node.parent.parent.parent.parent.getComponent(A):null},a.registeredEvent=function(){},a.offEvent=function(){this.node.off(r.EventType.TOUCH_START),this.node.off(r.EventType.TOUCH_END),this.node.off(r.EventType.TOUCH_CANCEL),this.node.off(r.EventType.TOUCH_MOVE),this.mIsFinish=!0},a.onFinishAnimation=function(){},a.onFinishEvent=function(){this.offEvent(),v.dispatchEvent(w.EventRun.WIDGET_FINISH,this.mData.att.id)},a.onFialEvent=function(){},a.init=function(){},a.initView=function(t,i){void 0===i&&(i=!0),this.isInit=i,this.initWidget(t)},a.showZhaoButongFinishStatus=function(){},a.hideZhaoButongFinishStatus=function(){},i}(g)).prototype,"icon",[D],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),I=b))||I));a._RF.pop()}}}));

System.register("chunks:///_virtual/widget_boss_info.ts",["./rollupPluginModLoBabelHelpers.js","cc","./receive_widget_item.ts"],(function(t){var e,i,n,a,r,o,_,p,l,d;return{setters:[function(t){e=t.applyDecoratedDescriptor,i=t.inheritsLoose,n=t.initializerDefineProperty,a=t.assertThisInitialized},function(t){r=t.cclegacy,o=t._decorator,_=t.Node,p=t.EditBox,l=t.Component},function(t){d=t.receive_widget_item}],execute:function(){var s,h,u,g,m,c,b,f,y,D,E,w,I,v,C;r._RF.push({},"cfaafAbENZNE7Ksm8hZSO8X","widget_boss_info",void 0);var N=o.ccclass,T=o.property;t("widget_boss_info",(s=N("widget_boss_info"),h=T(_),u=T(_),g=T(_),m=T(_),c=T(_),b=T(_),s((D=e((y=function(t){function e(){for(var e,i=arguments.length,r=new Array(i),o=0;o<i;o++)r[o]=arguments[o];return e=t.call.apply(t,[this].concat(r))||this,n(e,"bg",D,a(e)),n(e,"bg_bar",E,a(e)),n(e,"bar",w,a(e)),n(e,"head",I,a(e)),n(e,"edit_hp",v,a(e)),n(e,"edit_hp_delay_time",C,a(e)),e.m_data=null,e}return i(e,t),e.prototype.initView=function(t){var e=this;this.m_data=t,this.bg.getComponent(d).updateView(this.m_data.bg),this.bg_bar.getComponent(d).updateView(this.m_data.bg_bar),this.bar.getComponent(d).updateView(this.m_data.bar),this.head.getComponent(d).updateView(this.m_data.head),this.edit_hp.off(p.EventType.EDITING_DID_ENDED),this.edit_hp.on(p.EventType.EDITING_DID_ENDED,(function(){0==e.edit_hp.getComponent(p).string.length&&(e.edit_hp.getComponent(p).string="0"),e.m_data.hp=parseInt(e.edit_hp.getComponent(p).string)})),this.edit_hp.getComponent(p).string=this.m_data.hp.toString(),this.edit_hp_delay_time.off(p.EventType.EDITING_DID_ENDED),this.edit_hp_delay_time.on(p.EventType.EDITING_DID_ENDED,(function(){0==e.edit_hp_delay_time.getComponent(p).string.length&&(e.edit_hp_delay_time.getComponent(p).string="0"),e.m_data.hp_delay_time=parseFloat(e.edit_hp_delay_time.getComponent(p).string)})),null==this.m_data.hp_delay_time&&(this.m_data.hp_delay_time=0),this.edit_hp_delay_time.getComponent(p).string=this.m_data.hp_delay_time.toString()},e}(l)).prototype,"bg",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),E=e(y.prototype,"bg_bar",[u],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),w=e(y.prototype,"bar",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),I=e(y.prototype,"head",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),v=e(y.prototype,"edit_hp",[c],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),C=e(y.prototype,"edit_hp_delay_time",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),f=y))||f));r._RF.pop()}}}));

System.register("chunks:///_virtual/widget_click.ts",["./rollupPluginModLoBabelHelpers.js","cc","./widget_base.ts","./config.ts","./clientEvent.ts","./gameManager.ts"],(function(i){var t,e,n,c,s,o,l,h,a,u,r;return{setters:[function(i){t=i.applyDecoratedDescriptor,e=i.inheritsLoose,n=i.initializerDefineProperty,c=i.assertThisInitialized},function(i){s=i.cclegacy,o=i._decorator,l=i.Node},function(i){h=i.widget_base},function(i){a=i.config},function(i){u=i.ClientEvent},function(i){r=i.gameManager}],execute:function(){var m,_,d,k,g;s._RF.push({},"ec5d5a/gWtNfZfVyRIJVR0v","widget_click",void 0);var f=o.ccclass,v=o.property;i("widget_click",(m=f("widget_click"),_=v(l),m((g=t((k=function(i){function t(){for(var t,e=arguments.length,s=new Array(e),o=0;o<e;o++)s[o]=arguments[o];return t=i.call.apply(i,[this].concat(s))||this,n(t,"img_zhaobutong",g,c(t)),t.mClickData=null,t.mClickNum=0,t.mClickTime=1,t.mHoldTime=0,t}e(t,i);var s=t.prototype;return s.init=function(){null!=this.mData.att.click_data&&(this.mClickData=this.mData.att.click_data)},s.start=function(){this.mIsActive&&this.registeredEvent()},s.registeredEvent=function(){var i=this;switch(this.mHoldTime=0,this.mClickNum=0,this.mClickData.click_type){case a.clcik_type.Press_and_hold:this.node.on(l.EventType.TOUCH_START,(function(){i.mIsActive&&(i.mHoldTime=0,i.checkTime(),i.schedule(i.checkTime,1))})),this.node.on(l.EventType.TOUCH_END,(function(){i.mIsActive&&(i.getIsFinish()||(i.mHoldTime=0,i.unschedule(i.checkTime)))}));break;case a.clcik_type.Multiple_clicks:this.node.on(l.EventType.TOUCH_START,(function(){i.mIsActive&&(i.scheduleOnce(i.reSetClickNum,i.mClickTime),i.mClickNum++,i.mClickNum===i.mClickData.multiple_check_num&&(i.mClickNum=0,i.unschedule(i.reSetClickNum),i.exeFinish()))}));break;case a.clcik_type.click:this.node.off(l.EventType.TOUCH_END),this.node.on(l.EventType.TOUCH_END,(function(){i.mIsActive&&i.exeFinish()}));break;case a.clcik_type.click_not_auto_finish:this.node.off(l.EventType.TOUCH_END),this.node.on(l.EventType.TOUCH_END,(function(){i.mIsActive&&u.dispatchEvent(a.EventRun.WIDGET_FINISH,i.mData.att.id)}))}},s.exeFinish=function(){this.checkOtherListenWidgetFinish()&&this.onFinishEvent()},s.checkOtherListenWidgetFinish=function(){var i=!0;if(null==this.mClickData.other_widget_finish_listen_list)return!0;if(this.mClickData.other_widget_finish_listen_list.length<=0)return!0;var t=r.Singleton.checkWidgetList(this.mClickData.other_widget_finish_listen_list);return-1==t?i=!0:(i=!1,r.Singleton.exeEvent(t)),i},s.checkTime=function(){if(this.mHoldTime+=1,!this.getIsFinish())return this.mClickData.hold_time<=this.mHoldTime?(this.exeFinish(),void this.unschedule(this.checkTime)):void 0;this.unschedule(this.checkTime)},s.reSetClickNum=function(){this.mClickNum=0},s.showZhaoButongFinishStatus=function(){r.Singleton.sys_click_correct_detail_music(),this.img_zhaobutong.active=!0},s.hideZhaoButongFinishStatus=function(){null!=this.img_zhaobutong&&(this.img_zhaobutong.active=!1)},t}(h)).prototype,"img_zhaobutong",[_],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),d=k))||d));s._RF.pop()}}}));

System.register("chunks:///_virtual/widget_drag.ts",["./rollupPluginModLoBabelHelpers.js","cc","./widget_base.ts","./data.ts","./gameManager.ts"],(function(t){var e,i,a,n,r,o,s,h,g,c,_,d,l,u;return{setters:[function(t){e=t.applyDecoratedDescriptor,i=t.inheritsLoose,a=t.initializerDefineProperty,n=t.assertThisInitialized},function(t){r=t.cclegacy,o=t._decorator,s=t.Node,h=t.Vec3,g=t.UITransform,c=t.Rect,_=t.Vec2},function(t){d=t.widget_base},function(t){l=t.att_drag_data},function(t){u=t.gameManager}],execute:function(){var m,D,v,f,p;r._RF.push({},"030eeuJUepIT7jJlUsy2bGD","widget_drag",void 0);var y=o.ccclass,w=o.property;t("widget_drag",(m=y("widget_drag"),D=w(s),m((p=e((f=function(t){function e(){for(var e,i=arguments.length,r=new Array(i),o=0;o<i;o++)r[o]=arguments[o];return e=t.call.apply(t,[this].concat(r))||this,a(e,"img_zhaobutong",p,n(e)),e.mDragData=null,e.mIsStartMove=!1,e.offset_x=0,e.offset_y=0,e.mDragRect=null,e.other_drag_list=[],e}i(e,t);var r=e.prototype;return r.init=function(){if(null!=this.mData.att.drag_data&&(this.mDragData=this.mData.att.drag_data),null!=this.mData.att.drag_data.other_drag_list)for(var t=0;t<this.mData.att.drag_data.other_drag_list.length;t++){var e=this.mData.att.drag_data.other_drag_list[t],i=new l;i.drag_pos_x=e.drag_pos_x,i.drag_pos_y=e.drag_pos_y,i.other_event_id=e.other_event_id,i.drag_size_width=e.drag_size_width,i.drag_size_height=e.drag_size_height,this.other_drag_list.push(i)}},r.start=function(){this.mIsActive&&this.isInit&&this.registeredEvent()},r.registeredEvent=function(){var t=this;this.node.on(s.EventType.TOUCH_START,(function(e){if(t.mIsActive){t.mIsStartMove=!0;var i=new h(e.getUILocation().x,e.getUILocation().y),a=t.node.parent.getComponent(g).convertToNodeSpaceAR(i);t.node.position=new h(a.x,a.y),t.setScenePageScroll(!1)}})),this.node.on(s.EventType.TOUCH_MOVE,(function(e){if(t.mIsActive){var i=new h(e.getUILocation().x,e.getUILocation().y),a=t.node.parent.getComponent(g).convertToNodeSpaceAR(i);t.node.position=new h(a.x,a.y)}})),this.node.on(s.EventType.TOUCH_END,(function(){t.onEndEvent(),t.setScenePageScroll(!0)}))},r.setScenePageScroll=function(t){var e=this.getScenePage();null!=e&&(t?e.startScrollTouch():e.stopScrollTouch())},r.onEndEvent=function(){this.mIsActive&&(this.mIsStartMove=!1,this.checkOnecFinish())},r.checkOther=function(){if(null==this.mDragData.other_drag_list)return!1;var t=!1;if(this.other_drag_list.length>0)for(var e=0;e<this.other_drag_list.length;e++){var i=this.other_drag_list[e],a=i.drag_size_width,n=i.drag_size_height,r=new h(this.mData.att.x+i.drag_pos_x,this.mData.att.y+i.drag_pos_y),o=new c(r.x-.5*a,r.y-.5*n,a,n),s=this.node.position;if(o.contains(new _(s.x,s.y))&&-1!=i.other_event_id){this.offEvent(),console.log("item_data.other_event_id",i.other_event_id),u.Singleton.exeEvent(i.other_event_id),t=!0;break}}return t},r.checkOtherListenWidgetFinish=function(){var t=!0;if(null==this.mDragData.other_widget_finish_listen_list)return!0;if(this.mDragData.other_widget_finish_listen_list.length<=0)return!0;var e=u.Singleton.checkWidgetList(this.mDragData.other_widget_finish_listen_list);return-1==e?t=!0:(t=!1,u.Singleton.exeEvent(e)),t},r.deleteOtherDrag=function(t){this.other_drag_list.splice(t,1)},r.checkOnecFinish=function(){this.checkMoveToDragRect()?(this.mIsStartMove=!1,this.checkOtherListenWidgetFinish()&&this.onFinishEvent()):this.checkOther()?this.mIsStartMove=!1:this.mDragData.is_err_drag_back&&(this.node.position=new h(this.mData.att.x,this.mData.att.y))},r.getDragRect=function(){null==this.mDragData&&(this.mDragData=this.mData.att.drag_data);var t=this.mDragData.drag_size_width,e=this.mDragData.drag_size_height,i=new h(this.mData.att.x+this.mDragData.drag_pos_x,this.mData.att.y+this.mDragData.drag_pos_y);return this.mDragRect=new c(i.x-.5*t,i.y-.5*e,t,e),this.mDragRect},r.checkMoveToDragRect=function(){var t=this.node.position;return this.getDragRect().contains(new _(t.x,t.y))},r.onFinishAnimation=function(){this.icon.position=new h(this.mData.att.x,this.mData.att.y)},r.showZhaoButongFinishStatus=function(){u.Singleton.sys_click_correct_detail_music(),this.img_zhaobutong.active=!0,this.icon.position=new h(this.mData.att.x,this.mData.att.y)},r.hideZhaoButongFinishStatus=function(){null!=this.img_zhaobutong&&(this.img_zhaobutong.active=!1)},r.toFinishEvent=function(){this.onFinishEvent()},e}(d)).prototype,"img_zhaobutong",[D],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),v=f))||v));r._RF.pop()}}}));

System.register("chunks:///_virtual/widget_info.ts",["./rollupPluginModLoBabelHelpers.js","cc","./gameManager.ts"],(function(e){var t,n,i,r,o,a,c,u,l,s;return{setters:[function(e){t=e.applyDecoratedDescriptor,n=e.inheritsLoose,i=e.initializerDefineProperty,r=e.assertThisInitialized},function(e){o=e.cclegacy,a=e._decorator,c=e.Node,u=e.Sprite,l=e.Component},function(e){s=e.gameManager}],execute:function(){var p,f,h,g,b,d,_;o._RF.push({},"60c00teKB1FOKEQqZBn/N13","widget_info",void 0);var y=a.ccclass,v=a.property;e("widget_info",(p=y("widget_info"),f=v(c),h=v(c),p((d=t((b=function(e){function t(){for(var t,n=arguments.length,o=new Array(n),a=0;a<n;a++)o[a]=arguments[a];return t=e.call.apply(e,[this].concat(o))||this,i(t,"btn_back",d,r(t)),i(t,"icon",_,r(t)),t}n(t,e);var o=t.prototype;return o.show=function(e){var t=this;this.node.active=!0,this.icon.getComponent(u).spriteFrame=s.getCacheSpriteFrameByName(e.url),this.btn_back.off(c.EventType.TOUCH_END),this.btn_back.on(c.EventType.TOUCH_END,(function(){t.hide()}))},o.hide=function(){this.node.active=!1},t}(l)).prototype,"btn_back",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),_=t(b.prototype,"icon",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),g=b))||g));o._RF.pop()}}}));

System.register("chunks:///_virtual/widget_interact_input.ts",["./rollupPluginModLoBabelHelpers.js","cc","./receive_widget_item.ts","./config.ts","./clientEvent.ts"],(function(t){var e,i,n,r,u,a,o,_,m,l,g,b;return{setters:[function(t){e=t.applyDecoratedDescriptor,i=t.inheritsLoose,n=t.initializerDefineProperty,r=t.assertThisInitialized},function(t){u=t.cclegacy,a=t._decorator,o=t.Node,_=t.EditBox,m=t.Component},function(t){l=t.receive_widget_item},function(t){g=t.config},function(t){b=t.ClientEvent}],execute:function(){var p,s,c,d,f,w,h,y,z,C,V,v,x,A,B,j,E,D,R,T,F,J,L,P,k,H,I,M,N,S,U,Y,q,G,K;u._RF.push({},"f3da7TdzaRAzJ7hYJ/grp07","widget_interact_input",void 0);var O=a.ccclass,Q=a.property;t("widget_interact_input",(p=O("widget_interact_input"),s=Q(o),c=Q(o),d=Q(o),f=Q(o),w=Q(o),h=Q(o),y=Q(o),z=Q(o),C=Q(o),V=Q(o),v=Q(o),x=Q(o),A=Q(o),B=Q(o),j=Q(o),E=Q(_),p((T=e((R=function(t){function e(){for(var e,i=arguments.length,u=new Array(i),a=0;a<i;a++)u[a]=arguments[a];return e=t.call.apply(t,[this].concat(u))||this,n(e,"img_number_0",T,r(e)),n(e,"img_number_1",F,r(e)),n(e,"img_number_2",J,r(e)),n(e,"img_number_3",L,r(e)),n(e,"img_number_4",P,r(e)),n(e,"img_number_5",k,r(e)),n(e,"img_number_6",H,r(e)),n(e,"img_number_7",I,r(e)),n(e,"img_number_8",M,r(e)),n(e,"img_number_9",N,r(e)),n(e,"img_number_xing",S,r(e)),n(e,"img_number_jing",U,r(e)),n(e,"img_bg",Y,r(e)),n(e,"input_default",q,r(e)),n(e,"font_info",G,r(e)),n(e,"editBoxAnswer",K,r(e)),e.m_data=null,e}return i(e,t),e.prototype.initView=function(t){var e=this;this.m_data=t,this.img_number_0.getComponent(l).updateView(this.m_data.att_0),this.img_number_1.getComponent(l).updateView(this.m_data.att_1),this.img_number_2.getComponent(l).updateView(this.m_data.att_2),this.img_number_3.getComponent(l).updateView(this.m_data.att_3),this.img_number_4.getComponent(l).updateView(this.m_data.att_4),this.img_number_5.getComponent(l).updateView(this.m_data.att_5),this.img_number_6.getComponent(l).updateView(this.m_data.att_6),this.img_number_7.getComponent(l).updateView(this.m_data.att_7),this.img_number_8.getComponent(l).updateView(this.m_data.att_8),this.img_number_9.getComponent(l).updateView(this.m_data.att_9),this.img_number_xing.getComponent(l).updateView(this.m_data.att_xing),this.img_number_jing.getComponent(l).updateView(this.m_data.att_jing),this.font_info.getComponent(l).updateView(this.m_data.font),this.img_bg.getComponent(l).updateView(this.m_data.bg),this.input_default.getComponent(l).updateView(this.m_data.input_default),this.editBoxAnswer.string=this.editBoxAnswer.string,this.editBoxAnswer.node.on("editing-did-ended",(function(){e.m_data.answer=e.editBoxAnswer.string,b.dispatchEvent(g.Event.UpdateAttributesToView,e.m_data,g.attributes_list_type.top)}))},e}(m)).prototype,"img_number_0",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),F=e(R.prototype,"img_number_1",[c],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),J=e(R.prototype,"img_number_2",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),L=e(R.prototype,"img_number_3",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),P=e(R.prototype,"img_number_4",[w],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),k=e(R.prototype,"img_number_5",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),H=e(R.prototype,"img_number_6",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),I=e(R.prototype,"img_number_7",[z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),M=e(R.prototype,"img_number_8",[C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),N=e(R.prototype,"img_number_9",[V],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),S=e(R.prototype,"img_number_xing",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),U=e(R.prototype,"img_number_jing",[x],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),Y=e(R.prototype,"img_bg",[A],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),q=e(R.prototype,"input_default",[B],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),G=e(R.prototype,"font_info",[j],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),K=e(R.prototype,"editBoxAnswer",[E],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),D=R))||D));u._RF.pop()}}}));

System.register("chunks:///_virtual/widget_interact_page.ts",["./rollupPluginModLoBabelHelpers.js","cc","./receive_widget_item.ts","./clientEvent.ts","./config.ts"],(function(t){var e,i,n,r,a,o,_,u,c,l,s,g;return{setters:[function(t){e=t.applyDecoratedDescriptor,i=t.inheritsLoose,n=t.initializerDefineProperty,r=t.assertThisInitialized},function(t){a=t.cclegacy,o=t._decorator,_=t.Node,u=t.EditBox,c=t.Component},function(t){l=t.receive_widget_item},function(t){s=t.ClientEvent},function(t){g=t.config}],execute:function(){var p,m,b,d,f,h,w,y,v,z,B,C,x,A,V,E,D;a._RF.push({},"08af7Pd+fRBzYz77NYXfOTC","widget_interact_page",void 0);var P=o.ccclass,R=o.property;t("widget_interact_page",(p=P("widget_interact_page"),m=R(_),b=R(_),d=R(_),f=R(_),h=R(_),w=R(_),y=R(u),p((B=e((z=function(t){function e(){for(var e,i=arguments.length,a=new Array(i),o=0;o<i;o++)a[o]=arguments[o];return e=t.call.apply(t,[this].concat(a))||this,n(e,"img_bg",B,r(e)),n(e,"btn_interact_left",C,r(e)),n(e,"btn_interact_right",x,r(e)),n(e,"img_item_interact_bg",A,r(e)),n(e,"btn_sure",V,r(e)),n(e,"img_item_interact",E,r(e)),n(e,"editBoxAnswer",D,r(e)),e.m_data=null,e}return i(e,t),e.prototype.initView=function(t){var e=this;this.m_data=t,this.img_bg.getComponent(l).updateView(this.m_data.bg),this.btn_interact_left.getComponent(l).updateView(this.m_data.btn_interact_left),this.btn_interact_right.getComponent(l).updateView(this.m_data.btn_interact_right),this.img_item_interact_bg.getComponent(l).updateView(this.m_data.img_item_interact_bg),this.btn_sure.getComponent(l).updateView(this.m_data.btn_sure),this.img_item_interact.getComponent(l).updateView(this.m_data.img_item_interact_list[0]),this.editBoxAnswer.string=this.editBoxAnswer.string,this.editBoxAnswer.node.on("editing-did-ended",(function(){e.m_data.answer=parseInt(e.editBoxAnswer.string),s.dispatchEvent(g.Event.UpdateAttributesToView,e.m_data,g.attributes_list_type.top)}))},e}(c)).prototype,"img_bg",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),C=e(z.prototype,"btn_interact_left",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),x=e(z.prototype,"btn_interact_right",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),A=e(z.prototype,"img_item_interact_bg",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),V=e(z.prototype,"btn_sure",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),E=e(z.prototype,"img_item_interact",[w],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),D=e(z.prototype,"editBoxAnswer",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),v=z))||v));a._RF.pop()}}}));

System.register("chunks:///_virtual/widget_interact_puzzle.ts",["./rollupPluginModLoBabelHelpers.js","cc","./receive_widget_item.ts","./clientEvent.ts","./config.ts"],(function(t){var e,i,n,r,o,a,c,s,u,l,d,p;return{setters:[function(t){e=t.applyDecoratedDescriptor,i=t.inheritsLoose,n=t.initializerDefineProperty,r=t.assertThisInitialized},function(t){o=t.cclegacy,a=t._decorator,c=t.Node,s=t.EditBox,u=t.Component},function(t){l=t.receive_widget_item},function(t){d=t.ClientEvent},function(t){p=t.config}],execute:function(){var g,_,f,w,m,h,b,v,z;o._RF.push({},"201f129ESNLCJ5uw6NCNRcE","widget_interact_puzzle",void 0);var y=a.ccclass,x=a.property;t("widget_interact_puzzle",(g=y("widget_interact_puzzle"),_=x(c),f=x(c),w=x(s),g((b=e((h=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,"img_bg",b,r(e)),n(e,"content",v,r(e)),e.m_data=null,n(e,"editBoxAnswer",z,r(e)),e}return i(e,t),e.prototype.initView=function(t){var e=this;this.m_data=t,this.img_bg.getComponent(l).updateView(this.m_data.bg),this.content.getComponent(l).updateView(this.m_data.content),this.editBoxAnswer.string=this.editBoxAnswer.string,this.editBoxAnswer.node.on("editing-did-ended",(function(){e.m_data.answer=e.editBoxAnswer.string,d.dispatchEvent(p.Event.UpdateAttributesToView,e.m_data,p.attributes_list_type.top)}))},e}(u)).prototype,"img_bg",[_],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),v=e(h.prototype,"content",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),z=e(h.prototype,"editBoxAnswer",[w],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),m=h))||m));o._RF.pop()}}}));

System.register("chunks:///_virtual/widget_item.ts",["./rollupPluginModLoBabelHelpers.js","cc","./data.ts","./clientEvent.ts","./config.ts","./scroll_scene.ts","./slide.ts","./ui_top.ts","./tools.ts","./Text_Sound.ts","./question_select.ts","./count_down.ts"],(function(t){var e,i,n,a,o,s,_,r,d,h,l,c,g,m,p,u,b,y,v,f,w,C,T,E,x,k,S,z,A,U,D,O,L,W,I,N,R,V,M,H,q;return{setters:[function(t){e=t.applyDecoratedDescriptor,i=t.inheritsLoose,n=t.initializerDefineProperty,a=t.assertThisInitialized},function(t){o=t.cclegacy,s=t._decorator,_=t.Node,r=t.Prefab,d=t.Label,h=t.Toggle,l=t.Vec3,c=t.UITransform,g=t.instantiate,m=t.Size,p=t.Sprite,u=t.director,b=t.Director,y=t.assetManager,v=t.Texture2D,f=t.SpriteFrame,w=t.Tween,C=t.tween,T=t.Vec2,E=t.Component},function(t){x=t.attributes_data,k=t.att_drag_data,S=t.att_slide_data,z=t.att_click_data,A=t.att_top_data,U=t.att_text_sound_data,D=t.att_question_select,O=t.att_count_down},function(t){L=t.ClientEvent},function(t){W=t.config},function(t){I=t.scroll_scene},function(t){N=t.slide},function(t){R=t.ui_top},function(t){V=t.tools},function(t){M=t.Text_Sound},function(t){H=t.question_select},function(t){q=t.count_down}],execute:function(){var P,F,Y,B,G,K,Q,X,j,J,Z,$,tt,et,it,nt,at,ot,st,_t,rt,dt,ht,lt,ct,gt,mt,pt,ut,bt,yt,vt,ft;o._RF.push({},"841fatEKNlOWahOCy9e1gsm","widget_item",void 0);var wt=s.ccclass,Ct=s.property;t("widget_item",(P=wt("widget_item"),F=Ct(_),Y=Ct(_),B=Ct(_),G=Ct(_),K=Ct(_),Q=Ct(_),X=Ct(r),j=Ct(r),J=Ct(r),Z=Ct(r),$=Ct(_),tt=Ct(_),et=Ct(_),it=Ct(_),nt=Ct(_),P((st=e((ot=function(t){function e(){for(var e,i=arguments.length,o=new Array(i),s=0;s<i;s++)o[s]=arguments[s];return e=t.call.apply(t,[this].concat(o))||this,n(e,"lab_name",st,a(e)),n(e,"spr",_t,a(e)),n(e,"slide",rt,a(e)),n(e,"drag",dt,a(e)),n(e,"lab_drag",ht,a(e)),n(e,"img_select",lt,a(e)),n(e,"ui_prefab",ct,a(e)),n(e,"text_sound_pf",gt,a(e)),n(e,"count_down_pf",mt,a(e)),n(e,"question_select_pf",pt,a(e)),n(e,"toggle_active",ut,a(e)),n(e,"toggle_check",bt,a(e)),n(e,"other_drag_content",yt,a(e)),n(e,"lab_remark",vt,a(e)),n(e,"btn_look_voice_text",ft,a(e)),e.m_data=null,e.m_att=null,e.isMove=!1,e.call_back=null,e.m_ui_widget=null,e.m_text_sound=null,e.m_question_select=null,e.m_count_down=null,e.x_len=0,e.y_len=0,e.m_isShowDragOtherList=!1,e}i(e,t);var o=e.prototype;return o.initHideDragOtherList=function(){this.m_isShowDragOtherList=!0},o.initView=function(t,e,i){var n=this;void 0===e&&(e=null),void 0===i&&(i=-1),this.m_data=t,this.lab_name.getComponent(d).string=t.name+(this.m_data.att?"id:"+this.m_data.att.id:""),this.lab_remark.getComponent(d).string="",null!=t.att?(this.lab_remark.getComponent(d).string=this.m_data.att.remark,this.m_data.type==W.Widget_Type_List.TEXT_SOUND?(this.btn_look_voice_text.active=!0,this.btn_look_voice_text.off(_.EventType.TOUCH_END),this.btn_look_voice_text.on(_.EventType.TOUCH_END,(function(){V.show_dialog(n.m_data.att.text_sound_data.text,null)}),this)):this.btn_look_voice_text.active=!1,this.call_back=e,null===i?(this.toggle_active.active=!0,this.toggle_check.getComponent(h).isChecked=this.m_data.att.edit_active,this.toggle_check.on(_.EventType.TOUCH_END,(function(){null!=n.call_back&&(n.m_data.att.edit_active=!n.m_data.att.edit_active,n.call_back(n.m_data))}))):(this.node.on(_.EventType.TOUCH_END,(function(){null!=n.call_back&&n.call_back(n.m_data)})),i===this.m_data.att.id&&(this.img_select.active=!0)),this.initWidgetHaveAtt(t.att),this.node.active=!0):this.node.on(_.EventType.MOUSE_DOWN,this.onDragWidget.bind(this),this)},o.getShowWidgetData=function(){return this.m_data},o.setSelectStatus=function(){null!=this.call_back&&(this.m_data.att.edit_active=!0,this.toggle_check.getComponent(h).isChecked=!0,this.call_back(this.m_data))},o.setUnSelectStatus=function(){null!=this.call_back&&(this.m_data.att.edit_active=!1,this.toggle_check.getComponent(h).isChecked=!1,this.call_back(this.m_data))},o.onDragWidget=function(){L.dispatchEvent(W.Event.DragWidget,this.node)},o.initDrag=function(){var t=this;this.drag.on(_.EventType.TOUCH_MOVE,(function(e){var i=new l(e.getUILocation().x,e.getUILocation().y),n=t.node.getComponent(c).convertToNodeSpaceAR(i);t.drag.position=n,t.m_att.drag_data.drag_pos_x=t.drag.position.x,t.m_att.drag_data.drag_pos_y=t.drag.position.y})),null==this.m_att.drag_data.other_drag_list&&(this.m_att.drag_data.other_drag_list=[]),this.other_drag_content.removeAllChildren();for(var e=function(e){var i=t.m_att.drag_data.other_drag_list[e],n=g(t.drag);n.off(_.EventType.TOUCH_MOVE),n.parent=t.other_drag_content,n.position=new l(i.drag_pos_x,i.drag_pos_y),n.getComponent(c).setContentSize(new m(i.drag_size_width,i.drag_size_height)),n.on(_.EventType.TOUCH_MOVE,(function(i){var a=new l(i.getUILocation().x,i.getUILocation().y),o=t.node.getComponent(c).convertToNodeSpaceAR(a);n.position=o,t.m_att.drag_data.other_drag_list[e].drag_pos_x=n.position.x,t.m_att.drag_data.other_drag_list[e].drag_pos_y=n.position.y})),n.getComponent(p).color=t.getOtherDragListColor(e),n.getChildByName("lab_drag_remark").getComponent(d).string=i.remark,null==i.is_show_inTheEditor&&(i.is_show_inTheEditor=!0),n.active=i.is_show_inTheEditor},i=0;i<this.m_att.drag_data.other_drag_list.length;i++)e(i);this.lab_drag.getComponent(d).string=this.m_data.name+"id:"+this.m_att.id},o.initSlide=function(){this.slide.getComponent(N).updateDistance(this.m_att.slide_data.slide_dir,this.m_att.slide_data.slide_distance)},o.initUiWidget=function(){if(null==this.call_back){var t=g(this.ui_prefab);t.parent=this.node,t.getComponent(R).initView(this.m_att.top_data),this.m_ui_widget=t,this.node.getComponent(c).contentSize=new m(1080,1020)}},o.initTextSound=function(){if(null==this.call_back){var t=g(this.text_sound_pf);t.parent=this.node,t.getComponent(M).initView(this.m_att.text_sound_data),this.m_text_sound=t,this.node.getComponent(c).contentSize=new m(1080,1020)}},o.initQuestionSelect=function(){if(null==this.call_back){var t=g(this.question_select_pf);t.parent=this.node,t.getComponent(H).initView(this.m_att.question_select),this.m_question_select=t,this.node.getComponent(c).contentSize=new m(1080,1020)}},o.initCountDown=function(){if(null==this.call_back){var t=g(this.count_down_pf);t.parent=this.node,t.getComponent(q).initView(this.m_att.count_down),this.m_count_down=t,this.node.getComponent(c).contentSize=new m(1080,1020)}},o.initWidgetHaveAtt=function(t){null!=t?(this.lab_name.active=!0,this.m_att=t,this.initWidgetAtt()):(this.m_att=new x,this.m_att.id=W.getNewId()),this.m_data.type===W.Widget_Type_List.DRAG_TYPE?(null===this.m_att.drag_data&&(this.m_att.drag_data=new k),this.drag.active=!0,0==this.m_isShowDragOtherList&&this.initDrag()):this.m_data.type===W.Widget_Type_List.SLIDE_TYPE?(this.slide.active=!0,null===this.m_att.slide_data&&(this.m_att.slide_data=new S),this.initSlide()):this.m_data.type===W.Widget_Type_List.CLICK_TYPE?(null===this.m_att.click_data&&(this.m_att.click_data=new z),this.lab_name.getComponent(d).string=W.clcik_type_map.get(this.m_att.click_data.click_type)+"id"+this.m_att.id):this.m_data.type===W.Widget_Type_List.UI_TOP?(null===this.m_att.top_data&&(this.m_att.top_data=new A),this.initUiWidget(),this.lab_name.getComponent(d).string="弹窗:"+W.top_view_type_map.get(this.m_att.top_data.top_ui_type)+":id"+this.m_att.id):this.m_data.type===W.Widget_Type_List.TEXT_SOUND?(null===this.m_att.text_sound_data&&(this.m_att.text_sound_data=new U),this.lab_name.getComponent(d).string="文本和语音-id:"+this.m_att.id,this.initTextSound()):this.m_data.type===W.Widget_Type_List.QUESTION_SELECT?(null===this.m_att.question_select&&(this.m_att.question_select=new D),this.initQuestionSelect(),this.lab_name.getComponent(d).string="问题选择-id:"+this.m_att.id):this.m_data.type===W.Widget_Type_List.COUNT_DOWN&&(null===this.m_att.count_down&&(this.m_att.count_down=new O),this.initCountDown(),this.lab_name.getComponent(d).string="倒计时-id:"+this.m_att.id),this.node.active=this.m_att.edit_active},o.initWidgetByScene=function(t,e){var i=this;if(void 0===e&&(e=null),this.m_data=t,this.initWidgetHaveAtt(e),this.m_data.type===W.Widget_Type_List.UI_TOP){if(W.is_MAC_edit)return void this.node.on(_.EventType.TOUCH_END,(function(t){L.dispatchEvent(W.Event.UpdateAttributes,i.getWidgetAtt())}));this.node.on(_.EventType.MOUSE_DOWN,(function(t){L.dispatchEvent(W.Event.UpdateAttributes,i.getWidgetAtt())}))}else if(this.m_data.type===W.Widget_Type_List.TEXT_SOUND){if(W.is_MAC_edit)return void this.node.on(_.EventType.TOUCH_END,(function(t){L.dispatchEvent(W.Event.UpdateAttributes,i.getWidgetAtt())}));this.node.on(_.EventType.MOUSE_DOWN,(function(t){L.dispatchEvent(W.Event.UpdateAttributes,i.getWidgetAtt())}))}else this.node.on(_.EventType.TOUCH_MOVE,(function(t){if(i.isMove){var e=new l(t.getUILocation().x,t.getUILocation().y),n=i.node.parent.getComponent(c).convertToNodeSpaceAR(e),a=i.x_len,o=i.y_len;i.node.position=new l(n.x-a,n.y-o),"content"==i.node.parent.name&&i.node.parent.parent.parent.getComponent(I).stopTouch(),L.dispatchEvent(W.Event.UpdateAttributes,i.getWidgetAtt())}})),this.node.on(_.EventType.MOUSE_DOWN,(function(t){var e=i.node.parent.getComponent(c).convertToWorldSpaceAR(i.node.position);if(0==i.x_len){i.x_len=2*(t.getUILocation().x-e.x),i.y_len=2*(t.getUILocation().y-e.y);var n=new l(t.getUILocation().x,t.getUILocation().y),a=i.node.parent.getComponent(c).convertToNodeSpaceAR(n);i.node.position=new l(a.x-i.x_len,a.y-i.y_len)}i.isMove=!0,L.dispatchEvent(W.Event.UpdateAttributes,i.getWidgetAtt())})),this.node.on(_.EventType.MOUSE_LEAVE,(function(){"content"==i.node.parent.name&&i.node.parent.parent.parent.getComponent(I).startTouch(),i.isMove=!1,i.x_len=0,i.y_len=0})),this.node.on(_.EventType.TOUCH_END,(function(t){if("content"==i.node.parent.name&&i.node.parent.parent.parent.getComponent(I).startTouch(),i.isMove=!1,i.x_len=0,i.y_len=0,W.is_MAC_edit){var e=i.node.parent.getComponent(c).convertToWorldSpaceAR(i.node.position);if(0==i.x_len){i.x_len=2*(t.getUILocation().x-e.x),i.y_len=2*(t.getUILocation().y-e.y);var n=new l(t.getUILocation().x,t.getUILocation().y),a=i.node.parent.getComponent(c).convertToNodeSpaceAR(n);i.node.position=new l(a.x-i.x_len,a.y-i.y_len)}i.isMove=!0,L.dispatchEvent(W.Event.UpdateAttributes,i.getWidgetAtt())}}));L.dispatchEvent(W.Event.UpdateAttributes,this.getWidgetAtt()),L.on(W.Event.UpdateAttributesToView,this.UpdateAttributesToView,this)},o.onDestroy=function(){L.off(W.Event.UpdateAttributesToView,this.UpdateAttributesToView,this)},o.UpdateAttributesToView=function(t,e){var i=this;if(null!==this.m_att){if(t.id===this.m_att.id)switch(e){case W.attributes_list_type.pos:this.m_att.x=t.x,this.m_att.y=t.y,this.m_att.z=t.z,this.node.setSiblingIndex(this.m_att.z),this.node.position=new l(t.x,t.y);break;case W.attributes_list_type.animation:this.m_att.animation_list=t.animation_list;break;case W.attributes_list_type.size:this.m_att.width=t.width,this.m_att.height=t.height,this.spr.getComponent(c).contentSize=new m(t.width,t.height),this.node.getComponent(c).contentSize=this.spr.getComponent(c).contentSize;break;case W.attributes_list_type.anchor:this.m_att.anchor_x=t.anchor_x,this.m_att.anchor_y=t.anchor_y,this.spr.getComponent(c).setAnchorPoint(t.anchor_x,t.anchor_y);break;case W.attributes_list_type.rotation:this.m_att.rotation=t.rotation,this.spr.angle=t.rotation;break;case W.attributes_list_type.url:this.m_att.src=t.src,this.m_att.src_name=t.src_name,this.m_att.src.length<=0?this.spr.getComponent(p).spriteFrame=null:y.loadRemote(this.m_att.src,(function(e,n){if(!e&&n){i.lab_name.active=!1;var a=new v;a.image=n;var o=new f;o.texture=a,i.spr.getComponent(p).spriteFrame=o,i.spr.getComponent(c).contentSize=new m(t.width,t.height),u.once(b.EVENT_AFTER_DRAW,(function(){i.node.getComponent(c).contentSize=i.spr.getComponent(c).contentSize}))}}));break;case W.attributes_list_type.origin:this.m_att.src.length>0&&(this.spr.getComponent(p).sizeMode=p.SizeMode.RAW,u.once(b.EVENT_AFTER_DRAW,(function(){console.log("Director.EVENT_AFTER_DRAW"),i.m_att.width=i.spr.getComponent(c).contentSize.width,i.m_att.height=i.spr.getComponent(c).contentSize.height,u.once(b.EVENT_AFTER_DRAW,(function(){i.node.getComponent(c).contentSize=i.spr.getComponent(c).contentSize})),L.dispatchEvent(W.Event.UpdateAttributes,i.getWidgetAtt())})));break;case W.attributes_list_type.delete:this.node.destroy(),this.node.removeFromParent(),L.dispatchEvent(W.Event.UpdateAttributes,null),L.dispatchEvent(W.Event.RemoveWidget,this.node);break;case W.attributes_list_type.drag:if(this.m_att.drag_data=t.drag_data,this.m_data.type===W.Widget_Type_List.DRAG_TYPE){this.drag.getComponent(c).contentSize=new m(t.drag_data.drag_size_width,t.drag_data.drag_size_height),this.drag.position=new l(this.m_att.drag_data.drag_pos_x,this.m_att.drag_data.drag_pos_y),null==this.m_att.drag_data.other_drag_list&&(this.m_att.drag_data.other_drag_list=[]),this.other_drag_content.removeAllChildren();for(var n=function(t){var e=i.m_att.drag_data.other_drag_list[t],n=g(i.drag);n.off(_.EventType.TOUCH_MOVE),n.parent=i.other_drag_content,n.position=new l(e.drag_pos_x,e.drag_pos_y),n.getComponent(c).setContentSize(new m(e.drag_size_width,e.drag_size_height)),n.on(_.EventType.TOUCH_MOVE,(function(e){var a=new l(e.getUILocation().x,e.getUILocation().y),o=i.node.getComponent(c).convertToNodeSpaceAR(a);n.position=o,i.m_att.drag_data.other_drag_list[t].drag_pos_x=n.position.x,i.m_att.drag_data.other_drag_list[t].drag_pos_y=n.position.y})),n.getComponent(p).color=i.getOtherDragListColor(t),n.getChildByName("lab_drag_remark").getComponent(d).string=e.remark,n.active=e.is_show_inTheEditor},a=0;a<this.m_att.drag_data.other_drag_list.length;a++)n(a)}break;case W.attributes_list_type.drag_err_back_status:this.m_data.type===W.Widget_Type_List.DRAG_TYPE&&(this.m_att.drag_data.is_err_drag_back=t.drag_data.is_err_drag_back);break;case W.attributes_list_type.slide:this.m_data.type===W.Widget_Type_List.SLIDE_TYPE&&(this.m_att.slide_data.slide_dir=t.slide_data.slide_dir,this.m_att.slide_data.slide_distance=t.slide_data.slide_distance,this.m_att.slide_data.slide_num=t.slide_data.slide_num,this.slide.getComponent(N).updateDistance(this.m_att.slide_data.slide_dir,this.m_att.slide_data.slide_distance));break;case W.attributes_list_type.click:this.m_data.type===W.Widget_Type_List.CLICK_TYPE&&(this.m_att.click_data=t.click_data,this.lab_name.getComponent(d).string=W.clcik_type_map.get(this.m_att.click_data.click_type));case W.attributes_list_type.is_interaction:this.m_att.is_interaction=t.is_interaction;break;case W.attributes_list_type.find_widget_pos:this.Shiny();break;case W.attributes_list_type.active:this.m_att.edit_active=t.edit_active,this.node.active=this.m_att.edit_active,this.toggle_check.getComponent(h).isChecked=this.m_att.edit_active;break;case W.attributes_list_type.top:this.m_att.top_data=t.top_data,null!=this.m_ui_widget&&this.m_ui_widget.getComponent(R).changeData(this.m_att.top_data);break;case W.attributes_list_type.text_sound:this.m_att.text_sound_data=t.text_sound_data,null!=this.m_text_sound&&this.m_text_sound.getComponent(M).updateView(this.m_att.text_sound_data);break;case W.attributes_list_type.question_select:this.m_att.question_select=t.question_select,null!=this.m_question_select&&this.m_question_select.getComponent(H).updateView(this.m_att.question_select);break;case W.attributes_list_type.count_down:this.m_att.count_down=t.count_down,null!=this.m_count_down&&this.m_count_down.getComponent(q).updateView(this.m_att.count_down);break;case W.attributes_list_type.zIndex:this.m_att.zIndex=t.zIndex;break;case W.attributes_list_type.dir:this.m_att.img_dir=t.img_dir,this.updateDir();break;case W.attributes_list_type.show:this.m_att.is_show=t.is_show}u.once(b.EVENT_AFTER_DRAW,(function(){L.dispatchEvent(W.Event.updateWidgetData)}))}},o.updateDir=function(){if(null==this.call_back)switch(this.m_att.img_dir){case W.widget_scale_dir.left:this.spr.scale=new l(-1,1);break;case W.widget_scale_dir.up:this.spr.scale=new l(1,-1);break;case W.widget_scale_dir.normal:this.spr.scale=new l(1,1)}},o.getOtherDragListColor=function(t){var e=t;if(t>=W.COLOR_LIST.length){var i=Math.floor(t/W.COLOR_LIST.length);e=t-W.COLOR_LIST.length*i}return W.COLOR_LIST[e]},o.Shiny=function(){var t=this;this.img_select.active=!0,this.img_select.getComponent(c).setContentSize(this.node.getComponent(c).contentSize),w.stopAllByTarget(this.img_select),C(this.img_select).delay(.3).hide().delay(.3).show().delay(.3).hide().delay(.3).show().delay(.3).call((function(){t.img_select.active=!1})).start()},o.getWidgetAtt=function(){return this.m_att.name=""!=this.m_data.name?this.m_data.name:"普通控件",this.m_att.remark=this.m_att.remark,this.m_att.height=this.spr.getComponent(c).contentSize.height,this.m_att.width=this.spr.getComponent(c).contentSize.width,this.m_att.anchor_x=null==this.m_att.anchor_x?.5:this.m_att.anchor_x,this.m_att.anchor_y=null==this.m_att.anchor_y?.5:this.m_att.anchor_y,this.m_att.rotation=this.m_att.rotation,this.m_att.x=this.node.position.x,this.m_att.widget_type=this.m_data.type,this.m_att.y=this.node.position.y,this.m_att.z=this.node.getSiblingIndex(),this.m_att.type=W.attributes_type.widget,this.m_att.src_name=this.m_att.src.length>0?this.m_att.src_name:"空",null!=this.m_att.drag_data&&(this.m_att.drag_data.drag_pos_x=this.drag.position.x,this.m_att.drag_data.drag_pos_y=this.drag.position.y,this.m_att.drag_data.drag_size_width=this.drag.getComponent(c).contentSize.width,this.m_att.drag_data.drag_size_height=this.drag.getComponent(c).contentSize.height),this.m_att},o.initWidgetAtt=function(){var t=this;null==this.call_back?(this.node.position=new l(this.m_att.x,this.m_att.y),this.node.getComponent(c).setContentSize(new m(this.m_att.width,this.m_att.height)),this.spr.angle=this.m_att.rotation,this.spr.getComponent(c).setAnchorPoint(new T(this.m_att.anchor_x,this.m_att.anchor_y)),null!=this.m_att.drag_data&&(this.drag.position=new l(this.m_att.drag_data.drag_pos_x,this.m_att.drag_data.drag_pos_y),this.drag.getComponent(c).setContentSize(new m(this.m_att.drag_data.drag_size_width,this.m_att.drag_data.drag_size_height))),this.spr.getComponent(c).setContentSize(this.node.getComponent(c).contentSize),this.lab_name.getComponent(d).string=this.m_att.name+"id:"+this.m_att.id):this.lab_name.getComponent(d).string=this.m_data.name+"id:"+this.m_att.id,""!=this.m_att.src&&this.m_att.src.length>0&&y.loadRemote(this.m_att.src,(function(e,i){if(!e&&i){var n=new v;n.image=i;var a=new f;a.texture=n,t.spr.getComponent(p).spriteFrame=a}}));var e=new x;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var n=e[i];void 0===this.m_att[i]&&(this.m_att[i]=n)}this.updateDir()},o.getData=function(){return null!=this.m_att&&this.getWidgetAtt(),this.m_data.att=this.m_att,this.m_data},o.setData=function(t){this.m_data=t},e}(E)).prototype,"lab_name",[F],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),_t=e(ot.prototype,"spr",[Y],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),rt=e(ot.prototype,"slide",[B],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),dt=e(ot.prototype,"drag",[G],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),ht=e(ot.prototype,"lab_drag",[K],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),lt=e(ot.prototype,"img_select",[Q],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),ct=e(ot.prototype,"ui_prefab",[X],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),gt=e(ot.prototype,"text_sound_pf",[j],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),mt=e(ot.prototype,"count_down_pf",[J],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),pt=e(ot.prototype,"question_select_pf",[Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),ut=e(ot.prototype,"toggle_active",[$],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),bt=e(ot.prototype,"toggle_check",[tt],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),yt=e(ot.prototype,"other_drag_content",[et],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),vt=e(ot.prototype,"lab_remark",[it],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),ft=e(ot.prototype,"btn_look_voice_text",[nt],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),at=ot))||at));o._RF.pop()}}}));

System.register("chunks:///_virtual/widget_list.ts",["./rollupPluginModLoBabelHelpers.js","cc","./config.ts","./widget_item.ts"],(function(t){var e,i,n,r,o,c,a,l,s,p,u,f;return{setters:[function(t){e=t.applyDecoratedDescriptor,i=t.inheritsLoose,n=t.initializerDefineProperty,r=t.assertThisInitialized},function(t){o=t.cclegacy,c=t._decorator,a=t.Prefab,l=t.ScrollView,s=t.instantiate,p=t.Component},function(t){u=t.config},function(t){f=t.widget_item}],execute:function(){var g,d,_,h,m;o._RF.push({},"57003tRQJZAA6Ac+/+S/3pR","widget_list",void 0);var w=c.ccclass,v=c.property;t("widget_list",(g=w("widget_list"),d=v(a),g((m=e((h=function(t){function e(){for(var e,i=arguments.length,o=new Array(i),c=0;c<i;c++)o[c]=arguments[c];return e=t.call.apply(t,[this].concat(o))||this,n(e,"item_prefab",m,r(e)),e}i(e,t);var o=e.prototype;return o.start=function(){this.initView()},o.initView=function(){var t=this;u.init(),this.node.getComponent(l).content.removeAllChildren(),u.Widget_Type.forEach((function(e,i){var n=s(t.item_prefab);n.parent=t.node.getComponent(l).content,n.getComponent(f).initView(e)}))},e}(p)).prototype,"item_prefab",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),_=h))||_));o._RF.pop()}}}));

System.register("chunks:///_virtual/widget_not_have_interact.ts",["./rollupPluginModLoBabelHelpers.js","cc","./receive_widget_item.ts","./Attributes.ts","./tools.ts","./clientEvent.ts","./config.ts"],(function(t){var e,i,n,o,a,r,u,s,c,l,_,g,d;return{setters:[function(t){e=t.applyDecoratedDescriptor,i=t.inheritsLoose,n=t.initializerDefineProperty,o=t.assertThisInitialized},function(t){a=t.cclegacy,r=t._decorator,u=t.Node,s=t.Component},function(t){c=t.receive_widget_item},function(t){l=t.Attributes},function(t){_=t.tools},function(t){g=t.ClientEvent},function(t){d=t.config}],execute:function(){var p,f,h,b,v,w,m;a._RF.push({},"f438eUc3dpDTr8TME3Vpoye","widget_not_have_interact",void 0);var y=r.ccclass,z=r.property;t("widget_not_have_interact",(p=y("widget_not_have_interact"),f=z(u),h=z(u),p((w=e((v=function(t){function e(){for(var e,i=arguments.length,a=new Array(i),r=0;r<i;r++)a[r]=arguments[r];return e=t.call.apply(t,[this].concat(a))||this,n(e,"bg_widget_info",w,o(e)),n(e,"btn_original_size",m,o(e)),e.m_data=null,e}i(e,t);var a=e.prototype;return a.start=function(){var t=this;this.btn_original_size.on(u.EventType.TOUCH_END,(function(){if(0==t.m_data.bg.res.length)return _.showToast("还没有图片");_.loadUrl(t.m_data.bg.res,null,(function(e){t.m_data.bg.width=e.originalSize.width,t.m_data.bg.height=e.originalSize.height,t.updateStatus(),g.dispatchEvent(d.Event.UpdateAttributesToView,l.Singleton.get_cur_att_data(),d.attributes_list_type.top)}))}))},a.initView=function(t){this.m_data=t,this.updateStatus()},a.updateStatus=function(){this.bg_widget_info.getComponent(c).updateView(this.m_data.bg)},e}(s)).prototype,"bg_widget_info",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),m=e(v.prototype,"btn_original_size",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),b=v))||b));a._RF.pop()}}}));

System.register("chunks:///_virtual/widget_pointer_ding_wei.ts",["./rollupPluginModLoBabelHelpers.js","cc","./receive_widget_item.ts"],(function(e){var t,i,n,r,_,o,a,s,u;return{setters:[function(e){t=e.applyDecoratedDescriptor,i=e.inheritsLoose,n=e.initializerDefineProperty,r=e.assertThisInitialized},function(e){_=e.cclegacy,o=e._decorator,a=e.Node,s=e.Component},function(e){u=e.receive_widget_item}],execute:function(){var p,l,g,c,b,m,d,w,f,y,h,v,z,C,V,x,D;_._RF.push({},"7f350gc9l5IdbDHESj/CaoM","widget_pointer_ding_wei",void 0);var j=o.ccclass,F=o.property;e("widget_pointer_ding_wei",(p=j("widget_pointer_ding_wei"),l=F(a),g=F(a),c=F(a),b=F(a),m=F(a),d=F(a),w=F(a),p((h=t((y=function(e){function t(){for(var t,i=arguments.length,_=new Array(i),o=0;o<i;o++)_[o]=arguments[o];return t=e.call.apply(e,[this].concat(_))||this,n(t,"bg_widget_info",h,r(t)),n(t,"set_pointer_bar",v,r(t)),n(t,"set_pointer_point_bar",z,r(t)),n(t,"set_img_save_text_res",C,r(t)),n(t,"set_img_eys_res",V,r(t)),n(t,"set_img_eys_res1",x,r(t)),n(t,"set_btn_sure_res",D,r(t)),t.m_data=null,t}return i(t,e),t.prototype.initView=function(e){this.m_data=e,this.bg_widget_info.getComponent(u).updateView(this.m_data.bg),this.set_pointer_bar.getComponent(u).updateView(this.m_data.pointer_bar),this.set_pointer_point_bar.getComponent(u).updateView(this.m_data.pointer_bar_point),this.set_img_save_text_res.getComponent(u).updateView(this.m_data.img_text),this.set_img_eys_res.getComponent(u).updateView(this.m_data.img_eye_1),this.set_img_eys_res1.getComponent(u).updateView(this.m_data.img_eye_2),this.set_btn_sure_res.getComponent(u).updateView(this.m_data.btn_pointer_ding_wei_sure)},t}(s)).prototype,"bg_widget_info",[l],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),v=t(y.prototype,"set_pointer_bar",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),z=t(y.prototype,"set_pointer_point_bar",[c],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),C=t(y.prototype,"set_img_save_text_res",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),V=t(y.prototype,"set_img_eys_res",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),x=t(y.prototype,"set_img_eys_res1",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),D=t(y.prototype,"set_btn_sure_res",[w],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),f=y))||f));_._RF.pop()}}}));

System.register("chunks:///_virtual/widget_slide.ts",["./rollupPluginModLoBabelHelpers.js","cc","./widget_base.ts","./config.ts","./gameManager.ts"],(function(i){var e,t,n,s,l,a,o,d,h,r,c,m;return{setters:[function(i){e=i.applyDecoratedDescriptor,t=i.inheritsLoose,n=i.initializerDefineProperty,s=i.assertThisInitialized},function(i){l=i.cclegacy,a=i._decorator,o=i.Node,d=i.Vec3,h=i.UITransform},function(i){r=i.widget_base},function(i){c=i.config},function(i){m=i.gameManager}],execute:function(){var u,S,_,g,p;l._RF.push({},"f6560WFrNlAMIJpuAvoFjAr","widget_slide",void 0);var f=a.ccclass,F=a.property;i("widget_slide",(u=f("widget_slide"),S=F(o),u((p=e((g=function(i){function e(){for(var e,t=arguments.length,l=new Array(t),a=0;a<t;a++)l[a]=arguments[a];return e=i.call.apply(i,[this].concat(l))||this,n(e,"img_zhaobutong",p,s(e)),e.mSlideData=null,e.mStartClickPos=null,e.mCurSlideNum=0,e.mSlideFinishUp=!1,e.mSlideFinishDown=!1,e.mSlideFinishLeft=!1,e.mSlideFinishRight=!1,e}t(e,i);var l=e.prototype;return l.init=function(){null!=this.mData.att.slide_data&&(this.mSlideData=this.mData.att.slide_data)},l.start=function(){this.mIsActive&&this.registeredEvent()},l.registeredEvent=function(){var i=this;this.mSlideData&&(this.node.on(o.EventType.TOUCH_START,(function(e){i.mIsActive&&(i.mStartClickPos=e.getUILocation())})),this.mSlideData.slide_dir==c.slide_type.up_down||this.mSlideData.slide_dir==c.slide_type.left_right?(this.node.on(o.EventType.TOUCH_END,(function(){i.mIsActive&&(i.mSlideFinishUp=!1,i.mSlideFinishDown=!1,i.mSlideFinishLeft=!1,i.mSlideFinishRight=!1)})),this.node.on(o.EventType.TOUCH_MOVE,(function(e){if(i.mIsActive){var t=!1,n=i.mSlideData.slide_distance,s=e.getUILocation(),l=new d(s.x,s.y),a=i.node.parent.getComponent(h).convertToNodeSpaceAR(l);switch(i.mSlideData.slide_dir){case c.slide_type.up_down:var o=i.node.position.y-.5*n,r=i.node.position.y+.5*n;a.y>=r&&(i.mSlideFinishUp=!0),a.y<=o&&(i.mSlideFinishDown=!0),i.mSlideFinishUp&&i.mSlideFinishDown&&(t=!0,i.mSlideFinishUp=!1,i.mSlideFinishDown=!1);break;case c.slide_type.left_right:var m=i.node.position.x-.5*n,u=i.node.position.x+.5*n;a.x>=u&&(i.mSlideFinishRight=!0),a.x<=m&&(i.mSlideFinishLeft=!0),i.mSlideFinishLeft&&i.mSlideFinishRight&&(t=!0,i.mSlideFinishLeft=!1,i.mSlideFinishRight=!1)}t&&i.mCurSlideNum++,i.mCurSlideNum>=i.mSlideData.slide_num&&i.exeFinish()}}))):this.node.on(o.EventType.TOUCH_END,(function(e){if(i.mIsActive){var t=!1,n=e.getUILocation();switch(i.mSlideData.slide_dir){case c.slide_type.up:n.y-i.mStartClickPos.y>=i.mSlideData.slide_distance&&(t=!0);break;case c.slide_type.down:i.mStartClickPos.y-n.y>=i.mSlideData.slide_distance&&(t=!0);break;case c.slide_type.left:i.mStartClickPos.x-n.x>=i.mSlideData.slide_distance&&(t=!0);break;case c.slide_type.right:n.x-i.mStartClickPos.x>=i.mSlideData.slide_distance&&(t=!0)}t&&i.exeFinish()}})))},l.exeFinish=function(){this.checkOtherListenWidgetFinish()&&this.onFinishEvent()},l.checkOtherListenWidgetFinish=function(){var i=!0;if(null==this.mSlideData.other_widget_finish_listen_list)return!0;if(this.mSlideData.other_widget_finish_listen_list.length<=0)return!0;var e=m.Singleton.checkWidgetList(this.mSlideData.other_widget_finish_listen_list);return-1==e?i=!0:(i=!1,m.Singleton.exeEvent(e)),i},l.initSlide=function(){this.mCurSlideNum=0,this.mSlideFinishUp=!1,this.mSlideFinishDown=!1,this.mSlideFinishLeft=!1,this.mSlideFinishRight=!1},l.showZhaoButongFinishStatus=function(){m.Singleton.sys_click_correct_detail_music(),this.img_zhaobutong.active=!0},l.hideZhaoButongFinishStatus=function(){null!=this.img_zhaobutong&&(this.img_zhaobutong.active=!1)},e}(r)).prototype,"img_zhaobutong",[S],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),_=g))||_));l._RF.pop()}}}));

System.register("chunks:///_virtual/widget_wei_chi_pointer.ts",["./rollupPluginModLoBabelHelpers.js","cc","./receive_widget_item.ts"],(function(i){var t,e,n,r,a,o,_,u,l;return{setters:[function(i){t=i.applyDecoratedDescriptor,e=i.inheritsLoose,n=i.initializerDefineProperty,r=i.assertThisInitialized},function(i){a=i.cclegacy,o=i._decorator,_=i.Node,u=i.Component},function(i){l=i.receive_widget_item}],execute:function(){var g,p,c,m,b,h,s,d,w,f,x,y,z,v,C;a._RF.push({},"093ae1XFS1GxKv8ngF6xxgP","widget_wei_chi_pointer",void 0);var V=o.ccclass,F=o.property;i("widget_wei_chi_pointer",(g=V("widget_wei_chi_pointer"),p=F(_),c=F(_),m=F(_),b=F(_),h=F(_),s=F(_),g((f=t((w=function(i){function t(){for(var t,e=arguments.length,a=new Array(e),o=0;o<e;o++)a[o]=arguments[o];return t=i.call.apply(i,[this].concat(a))||this,n(t,"bg",f,r(t)),n(t,"img_hand",x,r(t)),n(t,"img_bar",y,r(t)),n(t,"img_pointer",z,r(t)),n(t,"img_text_bing_zhu_hu_xi",v,r(t)),n(t,"btn_bingxi",C,r(t)),t.m_data=null,t}return e(t,i),t.prototype.initView=function(i){this.m_data=i,this.bg.getComponent(l).updateView(this.m_data.bg),this.img_hand.getComponent(l).updateView(this.m_data.img_hand),this.img_bar.getComponent(l).updateView(this.m_data.img_bar),this.img_pointer.getComponent(l).updateView(this.m_data.img_pointer),this.img_text_bing_zhu_hu_xi.getComponent(l).updateView(this.m_data.img_text_bing_zhu_hu_xi),this.btn_bingxi.getComponent(l).updateView(this.m_data.btn_bingxi)},t}(u)).prototype,"bg",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),x=t(w.prototype,"img_hand",[c],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),y=t(w.prototype,"img_bar",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),z=t(w.prototype,"img_pointer",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),v=t(w.prototype,"img_text_bing_zhu_hu_xi",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),C=t(w.prototype,"btn_bingxi",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),d=w))||d));a._RF.pop()}}}));

System.register("chunks:///_virtual/win.ts",["./rollupPluginModLoBabelHelpers.js","cc","./tools.ts","./gameManager.ts"],(function(e){var n,t,i,l,o,r,a,c,s,u,_;return{setters:[function(e){n=e.applyDecoratedDescriptor,t=e.inheritsLoose,i=e.initializerDefineProperty,l=e.assertThisInitialized},function(e){o=e.cclegacy,r=e._decorator,a=e.Node,c=e.Sprite,s=e.Component},function(e){u=e.tools},function(e){_=e.gameManager}],execute:function(){var p,f,b,h,m,g,y,v,E,T,D;o._RF.push({},"b556cFc459EeKVJPflWoyAB","win",void 0);var w=r.ccclass,d=r.property;e("win",(p=w("win"),f=d(a),b=d(a),h=d(a),m=d(a),p((v=n((y=function(e){function n(){for(var n,t=arguments.length,o=new Array(t),r=0;r<t;r++)o[r]=arguments[r];return n=e.call.apply(e,[this].concat(o))||this,i(n,"btn_close",v,l(n)),i(n,"btn_share",E,l(n)),i(n,"btn_next",T,l(n)),i(n,"icon",D,l(n)),n.m_call_share=null,n.m_call_next=null,n}return t(n,e),n.prototype.show=function(e,n){var t=this;this.node.active=!0,this.m_call_next=n,this.m_call_share=e,this.btn_share.off(a.EventType.TOUCH_END),this.btn_next.off(a.EventType.TOUCH_END),this.btn_close.off(a.EventType.TOUCH_END),this.btn_share.on(a.EventType.TOUCH_END,(function(){null!=t.m_call_share&&t.m_call_share()})),this.btn_next.on(a.EventType.TOUCH_END,(function(){null!=t.m_call_next&&t.m_call_next()})),this.btn_close.on(a.EventType.TOUCH_END,(function(){t.node.active=!1,_.Singleton.backGameList()})),null!=_.Singleton.getLevelData()&&u.loadUrl(_.Singleton.getLevelData().complete_img,this.icon.getComponent(c)),_.Singleton.sys_success_complete_music()},n}(s)).prototype,"btn_close",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),E=n(y.prototype,"btn_share",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),T=n(y.prototype,"btn_next",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),D=n(y.prototype,"icon",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),g=y))||g));o._RF.pop()}}}));

System.register("chunks:///_virtual/yinxiao.ts",["./rollupPluginModLoBabelHelpers.js","cc","./gameManager.ts"],(function(t){var n,i,e,a,o,r,s,c,u;return{setters:[function(t){n=t.applyDecoratedDescriptor,i=t.inheritsLoose,e=t.initializerDefineProperty,a=t.assertThisInitialized},function(t){o=t.cclegacy,r=t._decorator,s=t.Node,c=t.Component},function(t){u=t.gameManager}],execute:function(){var p,l,f,h,b,g,y;o._RF.push({},"bc847MpfjZIdJLA+zVm+P87","yinxiao",void 0);var v=r.ccclass,_=r.property;t("yinxiao",(p=v("yinxiao"),l=_(s),f=_(s),p((g=n((b=function(t){function n(){for(var n,i=arguments.length,o=new Array(i),r=0;r<i;r++)o[r]=arguments[r];return n=t.call.apply(t,[this].concat(o))||this,e(n,"btn_on",g,a(n)),e(n,"btn_off",y,a(n)),n.isOpen=!0,n}i(n,t);var o=n.prototype;return o.start=function(){var t=this;this.node.on(s.EventType.TOUCH_START,(function(){t.isOpen=!t.isOpen,t.changeStatus()}))},o.initView=function(){this.isOpen=u.getUserData().isOpenYinXiao,this.changeStatus()},o.changeStatus=function(){this.isOpen?(this.btn_on.active=!0,this.btn_off.active=!1):(this.btn_on.active=!1,this.btn_off.active=!0),u.getStaticUserData().isOpenYinXiao=this.isOpen,u.saveUserData()},n}(c)).prototype,"btn_on",[l],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),y=n(b.prototype,"btn_off",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),h=b))||h));o._RF.pop()}}}));

System.register("chunks:///_virtual/yinyue.ts",["./rollupPluginModLoBabelHelpers.js","cc","./gameManager.ts","./clientEvent.ts","./config.ts"],(function(t){var n,e,i,o,a,r,s,c,u,l,p;return{setters:[function(t){n=t.applyDecoratedDescriptor,e=t.inheritsLoose,i=t.initializerDefineProperty,o=t.assertThisInitialized},function(t){a=t.cclegacy,r=t._decorator,s=t.Node,c=t.Component},function(t){u=t.gameManager},function(t){l=t.ClientEvent},function(t){p=t.config}],execute:function(){var f,h,y,v,g,b,_;a._RF.push({},"c3872uwtoxL7Y92WQ16Xotl","yinyue",void 0);var O=r.ccclass,d=r.property;t("yinyue",(f=O("yinyue"),h=d(s),y=d(s),f((b=n((g=function(t){function n(){for(var n,e=arguments.length,a=new Array(e),r=0;r<e;r++)a[r]=arguments[r];return n=t.call.apply(t,[this].concat(a))||this,i(n,"btn_on",b,o(n)),i(n,"btn_off",_,o(n)),n.isOpen=!0,n}e(n,t);var a=n.prototype;return a.start=function(){var t=this;this.node.on(s.EventType.TOUCH_START,(function(){t.isOpen=!t.isOpen,t.changeStatus()}))},a.initView=function(){this.isOpen=u.getUserData().isOpenYinYue,this.changeStatus()},a.changeStatus=function(){this.isOpen?(this.btn_on.active=!0,this.btn_off.active=!1):(this.btn_on.active=!1,this.btn_off.active=!0),u.getStaticUserData().isOpenYinYue=this.isOpen,u.saveUserData(),l.dispatchEvent(p.EventRun.TOGGLE_YIN_YUE)},n}(c)).prototype,"btn_on",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),_=n(g.prototype,"btn_off",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),v=g))||v));a._RF.pop()}}}));

(function(r) {
  r('virtual:///prerequisite-imports/main', 'chunks:///_virtual/main'); 
})(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 () { }
    };
    });
});
//# sourceMappingURL=index.js.map