index.js 524 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378
  1. 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()}}}));
  2. 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()}}}));
  3. 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()}}}));
  4. 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()}}}));
  5. 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_rigth,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_rigth: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()}}}));
  6. 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()}}}));
  7. 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()}}}));
  8. 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"],(function(t){var e,i,n,_,a,r,o,p,c,s,u,l,h,d,m;return{setters:[function(t){e=t.applyDecoratedDescriptor,i=t.inheritsLoose,n=t.initializerDefineProperty,_=t.assertThisInitialized},function(t){a=t.cclegacy,r=t._decorator,o=t.Node,p=t.Component},function(t){c=t.config},function(t){s=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}],execute:function(){var w,g,f,y,v,b,z,C,k,V,A,H,D,N,B,F,L;a._RF.push({},"b0cac79u7dH2YBJHYHmAd60","att_res_set_view",void 0);var M=r.ccclass,P=r.property;t("att_res_set_view",(w=M("att_res_set_view"),g=P(o),f=P(o),y=P(o),v=P(o),b=P(o),z=P(o),C=P(o),w((A=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,"not_have_interact",A,_(e)),n(e,"interact_input",H,_(e)),n(e,"interact_page",D,_(e)),n(e,"interact_puzzle",N,_(e)),n(e,"interact_scene",B,_(e)),n(e,"pointer_ding_wei",F,_(e)),n(e,"wei_chi_pointer",L,_(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(c.top_view_type.not_have_interact,this.not_have_interact),this.map_node.set(c.top_view_type.interact_input,this.interact_input),this.map_node.set(c.top_view_type.interact_page,this.interact_page),this.map_node.set(c.top_view_type.interact_puzzle,this.interact_puzzle),this.map_node.set(c.top_view_type.interact_scene,this.interact_scene),this.map_node.set(c.top_view_type.pointer_ding_wei,this.pointer_ding_wei),this.map_node.set(c.top_view_type.wei_chi_pointer,this.wei_chi_pointer)},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 c.top_view_type.not_have_interact:this.map_node.get(this.m_data.top_ui_type).getComponent(s).initView(this.m_data._not_have_interact_data);break;case c.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 c.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 c.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 c.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 c.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)}},e}(p)).prototype,"not_have_interact",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),H=e(V.prototype,"interact_input",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),D=e(V.prototype,"interact_page",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),N=e(V.prototype,"interact_puzzle",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),B=e(V.prototype,"interact_scene",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),F=e(V.prototype,"pointer_ding_wei",[z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),L=e(V.prototype,"wei_chi_pointer",[C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),k=V))||k));a._RF.pop()}}}));
  9. 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"],(function(t){var e,i,n,_,a,o,r,p,c,s,u,d,l,h,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){c=t.config},function(t){s=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}],execute:function(){var g,m,f,y,v,b,z,C,k,V,A,N,D,I,L,R,F;a._RF.push({},"a34027QAvRI6ZafG9lILNnU","att_widget_set_view",void 0);var M=o.ccclass,P=o.property;t("att_widget_set_view",(g=M("att_widget_set_view"),m=P(r),f=P(r),y=P(r),v=P(r),b=P(r),z=P(r),C=P(r),g((A=e((V=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",A,_(e)),n(e,"interact_input",N,_(e)),n(e,"interact_page",D,_(e)),n(e,"interact_puzzle",I,_(e)),n(e,"interact_scene",L,_(e)),n(e,"pointer_ding_wei",R,_(e)),n(e,"wei_chi_pointer",F,_(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(c.top_view_type.not_have_interact,this.not_have_interact),this.map_node.set(c.top_view_type.interact_input,this.interact_input),this.map_node.set(c.top_view_type.interact_page,this.interact_page),this.map_node.set(c.top_view_type.interact_puzzle,this.interact_puzzle),this.map_node.set(c.top_view_type.interact_scene,this.interact_scene),this.map_node.set(c.top_view_type.pointer_ding_wei,this.pointer_ding_wei),this.map_node.set(c.top_view_type.wei_chi_pointer,this.wei_chi_pointer)},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 c.top_view_type.not_have_interact:this.map_node.get(this.m_data.top_ui_type).getComponent(s).initView(this.m_data._not_have_interact_data);break;case c.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 c.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 c.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 c.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 c.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)}},e}(p)).prototype,"not_have_interact",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),N=e(V.prototype,"interact_input",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),D=e(V.prototype,"interact_page",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),I=e(V.prototype,"interact_puzzle",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),L=e(V.prototype,"interact_scene",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),R=e(V.prototype,"pointer_ding_wei",[z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),F=e(V.prototype,"wei_chi_pointer",[C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),k=V))||k));a._RF.pop()}}}));
  10. 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()}}}));
  11. 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()}}}));
  12. 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()}}}));
  13. 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()}}}));
  14. System.register("chunks:///_virtual/attributes_click.ts",["./rollupPluginModLoBabelHelpers.js","cc","./config.ts","./tools.ts"],(function(t){var i,e,l,c,n,_,a,r,u,o,s,p;return{setters:[function(t){i=t.applyDecoratedDescriptor,e=t.inheritsLoose,l=t.initializerDefineProperty,c=t.assertThisInitialized},function(t){n=t.cclegacy,_=t._decorator,a=t.Node,r=t.EditBox,u=t.Label,o=t.Component},function(t){s=t.config},function(t){p=t.tools}],execute:function(){var h,m,d,k,b,f,y,g,v,w,z,D,E,I,C,F,L;n._RF.push({},"520aaQEF7NDuZij+MpVIdK3","attributes_click",void 0);var M=_.ccclass,N=_.property;t("attributes_click",(h=M("attributes_click"),m=N(a),d=N(a),k=N(a),b=N(a),f=N(a),y=N(r),g=N(r),h((z=i((w=function(t){function i(){for(var i,e=arguments.length,n=new Array(e),_=0;_<e;_++)n[_]=arguments[_];return i=t.call.apply(t,[this].concat(n))||this,l(i,"btn_finish_event",z,c(i)),l(i,"btn_click_type",D,c(i)),l(i,"lab_click_type",E,c(i)),l(i,"click_hold_time",I,c(i)),l(i,"multiple_clicks_num",C,c(i)),l(i,"edit_click_hold_time",F,c(i)),l(i,"edit_multiple_clicks_num",L,c(i)),i.call_back=null,i.m_data=null,i}e(i,t);var n=i.prototype;return n.initView=function(t){var i=this;this.call_back=t,this.btn_click_type.on(a.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()}))}))},n.start=function(){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)},n.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))},n.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===s.clcik_type.click?(this.click_hold_time.active=!1,this.multiple_clicks_num.active=!1):this.m_data.click_type===s.clcik_type.Press_and_hold?(this.multiple_clicks_num.active=!1,this.click_hold_time.active=!0):this.m_data.click_type===s.clcik_type.Multiple_clicks&&(this.multiple_clicks_num.active=!0,this.click_hold_time.active=!1),this.lab_click_type.getComponent(u).string=s.clcik_type_map.get(this.m_data.click_type)},i}(o)).prototype,"btn_finish_event",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),D=i(w.prototype,"btn_click_type",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),E=i(w.prototype,"lab_click_type",[k],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),I=i(w.prototype,"click_hold_time",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),C=i(w.prototype,"multiple_clicks_num",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),F=i(w.prototype,"edit_click_hold_time",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),L=i(w.prototype,"edit_multiple_clicks_num",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),v=w))||v));n._RF.pop()}}}));
  15. System.register("chunks:///_virtual/attributes_count_down.ts",["./rollupPluginModLoBabelHelpers.js","cc","./tools.ts","./question_btn_info.ts","./config.ts","./Attributes.ts"],(function(t){var e,n,i,a,_,r,o,l,s,u,c,d,f,b,g;return{setters:[function(t){e=t.applyDecoratedDescriptor,n=t.inheritsLoose,i=t.initializerDefineProperty,a=t.assertThisInitialized},function(t){_=t.cclegacy,r=t._decorator,o=t.Node,l=t.Toggle,s=t.EditBox,u=t.Label,c=t.Component},function(t){d=t.tools},function(t){f=t.question_btn_info},function(t){b=t.config},function(t){g=t.Attributes}],execute:function(){var p,h,m,v,w,y,B,C,z,E,T,P,D,k,x,H,N,L,O,U,S,A,V,F,R,j,q,I,J,M,X;_._RF.push({},"15202jfnA9P4JbxFRX7n6Bb","attributes_count_down",void 0);var G=r.ccclass,K=r.property;t("attributes_count_down",(p=G("attributes_count_down"),h=K(o),m=K(o),v=K(o),w=K(o),y=K(o),B=K(o),C=K(o),z=K(o),E=K(o),T=K(o),P=K(o),D=K(o),k=K(o),x=K(o),p((L=e((N=function(t){function e(){for(var e,n=arguments.length,_=new Array(n),r=0;r<n;r++)_[r]=arguments[r];return e=t.call.apply(t,[this].concat(_))||this,i(e,"ProgressBar_Bg",L,a(e)),i(e,"ProgressBar_Bar",O,a(e)),i(e,"img_text",U,a(e)),i(e,"toggle_enbale_time",S,a(e)),i(e,"edit_down_count_time",A,a(e)),i(e,"btn_finish_event",V,a(e)),i(e,"btn_fail_event",F,a(e)),i(e,"btn_start_event",R,a(e)),i(e,"lab_finish_event",j,a(e)),i(e,"lab_fail_event",q,a(e)),i(e,"lab_start_event",I,a(e)),i(e,"clear_finish_event",J,a(e)),i(e,"clear_fail_event",M,a(e)),i(e,"clear_start_event",X,a(e)),e.call_back=null,e.m_data=null,e}n(e,t);var _=e.prototype;return _.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(o.EventType.TOUCH_END,(function(){var t=g.Singleton.getEventList();d.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(o.EventType.TOUCH_END,(function(){var t=g.Singleton.getEventList();d.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(o.EventType.TOUCH_END,(function(){var t=g.Singleton.getEventList();d.show_select_evele_list(t,(function(t){if(t.type!=b.event_type.collect_event)return d.showToast("必须设置收集事件");e.m_data.start_event_id=t.event_id,e.change(),e.update_att(e.m_data)}))})),this.clear_finish_event.on(o.EventType.TOUCH_END,(function(){e.m_data.finish_event_id=-1,e.change(),e.update_att(e.m_data)})),this.clear_fail_event.on(o.EventType.TOUCH_END,(function(){e.m_data.fail_event_id=-1,e.change(),e.update_att(e.m_data)})),this.clear_start_event.on(o.EventType.TOUCH_END,(function(){e.m_data.start_event_id=-1,e.change(),e.update_att(e.m_data)}))},_.update_att=function(t){this.m_data=t,this.ProgressBar_Bg.getComponent(f).initView(this.m_data.ProgressBar_Bg,1,null,b.attributes_list_type.count_down),this.ProgressBar_Bar.getComponent(f).initView(this.m_data.ProgressBar_Bar,2,null,b.attributes_list_type.count_down),this.img_text.getComponent(f).initView(this.m_data.img_text,3,null,b.attributes_list_type.count_down),this.toggle_enbale_time.getComponent(l).isChecked=this.m_data.is_show_time,this.edit_down_count_time.getComponent(s).string=this.m_data.time_count.toString(),this.lab_finish_event.getComponent(u).string=-1!=this.m_data.finish_event_id?"绑定的id"+this.m_data.finish_event_id:"无",this.lab_fail_event.getComponent(u).string=-1!=this.m_data.fail_event_id?"绑定的id"+this.m_data.fail_event_id:"无",this.lab_start_event.getComponent(u).string=-1!=this.m_data.start_event_id?"绑定的id"+this.m_data.start_event_id:"无"},_.change=function(){this.m_data.is_show_time=this.toggle_enbale_time.getComponent(l).isChecked,this.m_data.time_count=parseInt(this.edit_down_count_time.getComponent(s).string),null!=this.call_back&&this.call_back(this.m_data)},e}(c)).prototype,"ProgressBar_Bg",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),O=e(N.prototype,"ProgressBar_Bar",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),U=e(N.prototype,"img_text",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),S=e(N.prototype,"toggle_enbale_time",[w],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),A=e(N.prototype,"edit_down_count_time",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),V=e(N.prototype,"btn_finish_event",[B],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),F=e(N.prototype,"btn_fail_event",[C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),R=e(N.prototype,"btn_start_event",[z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),j=e(N.prototype,"lab_finish_event",[E],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),q=e(N.prototype,"lab_fail_event",[T],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),I=e(N.prototype,"lab_start_event",[P],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),J=e(N.prototype,"clear_finish_event",[D],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),M=e(N.prototype,"clear_fail_event",[k],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),X=e(N.prototype,"clear_start_event",[x],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),H=N))||H));_._RF.pop()}}}));
  16. 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()}}}));
  17. 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()}}}));
  18. System.register("chunks:///_virtual/attributes_drop.ts",["./rollupPluginModLoBabelHelpers.js","cc"],(function(t){var i,r,e,n,a,_,s,o,l,d;return{setters:[function(t){i=t.applyDecoratedDescriptor,r=t.inheritsLoose,e=t.initializerDefineProperty,n=t.assertThisInitialized},function(t){a=t.cclegacy,_=t._decorator,s=t.EditBox,o=t.Node,l=t.Label,d=t.Component}],execute:function(){var c,g,u,h,b,p,f,k,y,m,w,z,v,x,I,S,F,C,D;a._RF.push({},"eb733d5QTRFtIMcF06OFISQ","attributes_drop",void 0);var T=_.ccclass,E=_.property;t("attributes_drop",(c=T("attributes_drop"),g=E(s),u=E(s),h=E(s),b=E(s),p=E(o),f=E(o),k=E(o),y=E(o),c((z=i((w=function(t){function i(){for(var i,r=arguments.length,a=new Array(r),_=0;_<r;_++)a[_]=arguments[_];return i=t.call.apply(t,[this].concat(a))||this,e(i,"drag_width",z,n(i)),e(i,"drag_height",v,n(i)),e(i,"drag_x",x,n(i)),e(i,"drag_y",I,n(i)),e(i,"btn_is_err_back_pos",S,n(i)),e(i,"lab_is_err_back_pos",F,n(i)),e(i,"btn_finish_condition",C,n(i)),e(i,"btn_finish_event",D,n(i)),i.call_back=null,i._err_back_status_call=null,i._is_err_drag_back=!1,i.m_data=null,i}r(i,t);var a=i.prototype;return a.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(l).string=this._is_err_drag_back?"是":"否"},a.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(o.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(l).string=t._is_err_drag_back?"是":"否")}))},a.initView=function(t,i){this.call_back=t,this._err_back_status_call=i},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),null!=this.call_back&&this.call_back(this.m_data)},i}(d)).prototype,"drag_width",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),v=i(w.prototype,"drag_height",[u],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),x=i(w.prototype,"drag_x",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),I=i(w.prototype,"drag_y",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),S=i(w.prototype,"btn_is_err_back_pos",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),F=i(w.prototype,"lab_is_err_back_pos",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),C=i(w.prototype,"btn_finish_condition",[k],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),D=i(w.prototype,"btn_finish_event",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),m=w))||m));a._RF.pop()}}}));
  19. 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()}}}));
  20. 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()}}}));
  21. 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,r,l,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,r=t.Node,l=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(r),f=P(l),m=P(r),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(r.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=200,t.height=100,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.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()}}}));
  22. 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,c,l,_,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,c=t.UITransform,l=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)}))})),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(c).contentSize,e=this.node.parent.getComponent(c).convertToWorldSpaceAR(this.node.position);return new l(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()}}}));
  23. System.register("chunks:///_virtual/attributes_scene_setting.ts",["./rollupPluginModLoBabelHelpers.js","cc","./data.ts","./scene_tips_rule_item.ts","./config.ts"],(function(t){var e,i,n,r,s,l,a,u,_,o,c,p,d,b;return{setters:[function(t){e=t.applyDecoratedDescriptor,i=t.inheritsLoose,n=t.initializerDefineProperty,r=t.assertThisInitialized},function(t){s=t.cclegacy,l=t._decorator,a=t.Prefab,u=t.Node,_=t.EditBox,o=t.instantiate,c=t.Component},function(t){p=t.ui_att_item},function(t){d=t.scene_tips_rule_item},function(t){b=t.config}],execute:function(){var h,f,m,g,y,w,v,D,z,C,T,E,P,V,k,I,N;s._RF.push({},"82bc2y3TFdL6JDlvKq5knUy","attributes_scene_setting",void 0);var R=l.ccclass,A=l.property;t("attributes_scene_setting",(h=R("attributes_scene_setting"),f=A(a),m=A(u),g=A(u),y=A(u),w=A(u),v=A(u),D=A(_),h((T=e((C=function(t){function e(){for(var e,i=arguments.length,s=new Array(i),l=0;l<i;l++)s[l]=arguments[l];return e=t.call.apply(t,[this].concat(s))||this,n(e,"itemPb",T,r(e)),n(e,"rule_content",E,r(e)),n(e,"btn_add_rule",P,r(e)),n(e,"rule_find_tips",V,r(e)),n(e,"tips",k,r(e)),n(e,"answer",I,r(e)),n(e,"edit_des",N,r(e)),e.call_back=null,e.m_data=null,e}i(e,t);var s=e.prototype;return s.initView=function(t){var e=this;this.call_back=t,this.btn_add_rule.on(u.EventType.TOUCH_END,(function(){e.addRule()})),this.edit_des.node.on(_.EventType.EDITING_DID_ENDED,(function(){e.m_data.scene_des=e.edit_des.string,e.update_att(e.m_data)}))},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=o(this.itemPb);i.parent=this.rule_content,i.getComponent(d).initView(this.m_data.rule_list[e],this.m_data.rule_list.length,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(d).initView(this.m_data.rule_find_tips,-1,null,b.attributes_list_type.scene_rule_tips),this.tips.getComponent(d).initView(this.m_data.tips_data.tips_tips,-1,null,b.attributes_list_type.scene_rule_tips),this.answer.getComponent(d).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=o(this.itemPb);t.parent=this.rule_content;var e=new p;t.getComponent(d).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}(c)).prototype,"itemPb",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),E=e(C.prototype,"rule_content",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),P=e(C.prototype,"btn_add_rule",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),V=e(C.prototype,"rule_find_tips",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),k=e(C.prototype,"tips",[w],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),I=e(C.prototype,"answer",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),N=e(C.prototype,"edit_des",[D],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),z=C))||z));s._RF.pop()}}}));
  24. 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()}}}));
  25. System.register("chunks:///_virtual/attributes_slide.ts",["./rollupPluginModLoBabelHelpers.js","cc","./config.ts","./tools.ts"],(function(i){var t,e,n,l,r,a,s,d,o,_,u,c;return{setters:[function(i){t=i.applyDecoratedDescriptor,e=i.inheritsLoose,n=i.initializerDefineProperty,l=i.assertThisInitialized},function(i){r=i.cclegacy,a=i._decorator,s=i.Node,d=i.EditBox,o=i.Label,_=i.Component},function(i){u=i.config},function(i){c=i.tools}],execute:function(){var b,p,f,h,g,m,y,v,w,z,k,D,I,C,S,E,H;r._RF.push({},"ea625Wvf3NCS7IXiHD1Ign3","attributes_slide",void 0);var L=a.ccclass,N=a.property;i("attributes_slide",(b=L("attributes_slide"),p=N(s),f=N(s),h=N(s),g=N(s),m=N(s),y=N(d),v=N(d),b((k=t((z=function(i){function t(){for(var t,e=arguments.length,r=new Array(e),a=0;a<e;a++)r[a]=arguments[a];return t=i.call.apply(i,[this].concat(r))||this,n(t,"btn_slide_dir",k,l(t)),n(t,"lab_slide_dir",D,l(t)),n(t,"btn_slide_distance",I,l(t)),n(t,"btn_slide_num",C,l(t)),n(t,"btn_finish_event",S,l(t)),n(t,"slide_num_edit",E,l(t)),n(t,"slide_distance_edit",H,l(t)),t.call_back=null,t.m_data=null,t}e(t,i);var r=t.prototype;return r.initView=function(i){var t=this;this.call_back=i,this.btn_slide_dir.on(s.EventType.TOUCH_END,(function(){c.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)}))}))},r.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=u.slide_type_map.get(i.slide_dir)},r.start=function(){this.slide_num_edit.node.on("editing-did-ended",this.change,this),this.slide_distance_edit.node.on("editing-did-ended",this.change,this)},r.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}(_)).prototype,"btn_slide_dir",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),D=t(z.prototype,"lab_slide_dir",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),I=t(z.prototype,"btn_slide_distance",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),C=t(z.prototype,"btn_slide_num",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),S=t(z.prototype,"btn_finish_event",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),E=t(z.prototype,"slide_num_edit",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),H=t(z.prototype,"slide_distance_edit",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),w=z))||w));r._RF.pop()}}}));
  26. System.register("chunks:///_virtual/attributes_text_sound.ts",["./rollupPluginModLoBabelHelpers.js","cc","./receive_sound_item.ts"],(function(t){var e,i,n,a,o,r,s,u,c,d;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,u=t.EditBox,c=t.Component},function(t){d=t.receive_sound_item}],execute:function(){var l,_,p,h,g,f,m,b,y;o._RF.push({},"54ac30fPYhEaq+sDlq9TrLN","attributes_text_sound",void 0);var x=r.ccclass,v=r.property;t("attributes_text_sound",(l=x("attributes_text_sound"),_=v(s),p=v(s),h=v(s),l((m=e((f=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,"edit_text",m,a(e)),n(e,"sound",b,a(e)),n(e,"edit_y",y,a(e)),e.call_back=null,e.m_data=null,e}i(e,t);var o=e.prototype;return o.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()}))},o.change=function(){this.m_data.pos_y=parseInt(this.edit_y.getComponent(u).string),this.m_data.text=this.edit_text.getComponent(u).string,null!=this.call_back&&this.call_back(this.m_data)},o.update_att=function(t){this.m_data=t,this.edit_text.getComponent(u).string=this.m_data.text,this.sound.getComponent(d).updateView(this.m_data.sound_data),this.edit_y.getComponent(u).string=this.m_data.pos_y.toString()},e}(c)).prototype,"edit_text",[_],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),b=e(f.prototype,"sound",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),y=e(f.prototype,"edit_y",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),g=f))||g));o._RF.pop()}}}));
  27. 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()}}}));
  28. 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()}}}));
  29. 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()}}}));
  30. 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()}}}));
  31. 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"],(function(t){var e,i,a,n,s,r,_,u,o,c,h,d,l,p,b,g,m,v,f,w,C,y,E,S,A,T,z,x,V,U,k,D;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){d=t.attributes_name},function(t){l=t.attributes_x_y},function(t){p=t.attributes_w_h},function(t){b=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){S=t.tools},function(t){A=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){V=t.attributes_z_index},function(t){U=t.attributes_dir},function(t){k=t.attributes_show},function(t){D=t.attributes_scene_setting}],execute:function(){var L,I,q,P,W,B,O,N,Q,R,Y,Z,M,F,G,j,H,J,K,X,$,tt,et,it,at,nt,st,rt,_t,ut,ot,ct,ht,dt,lt,pt,bt,gt,mt,vt,ft,wt,Ct,yt,Et,St,At,Tt;s._RF.push({},"d2d99A0tkVBfpmYBewJBSP+","Attributes",void 0);var zt=r.ccclass,xt=r.property;t("Attributes",(L=zt("Attributes"),I=xt(_),q=xt(_),P=xt(_),W=xt(_),B=xt(_),O=xt(_),N=xt(_),Q=xt(_),R=xt(_),Y=xt(_),Z=xt(_),M=xt(_),F=xt(_),G=xt(_),j=xt(_),H=xt(_),J=xt(_),K=xt(_),X=xt(_),$=xt(_),tt=xt(_),et=xt(_),L(((Tt=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",nt,n(e)),a(e,"attributes_x_y",st,n(e)),a(e,"attributes_w_h",rt,n(e)),a(e,"attributes_res",_t,n(e)),a(e,"attributes_origin",ut,n(e)),a(e,"attributes_be_event",ot,n(e)),a(e,"attributes_animation",ct,n(e)),a(e,"attributes_drop",ht,n(e)),a(e,"attributes_click",dt,n(e)),a(e,"attributes_slide",lt,n(e)),a(e,"attributes_delete",pt,n(e)),a(e,"attributes_be_active",bt,n(e)),a(e,"attributes_active",gt,n(e)),a(e,"attributes_top",mt,n(e)),a(e,"attributes_text_sound",vt,n(e)),a(e,"attributes_question_select",ft,n(e)),a(e,"attributes_count_down",wt,n(e)),a(e,"attributes_z_index",Ct,n(e)),a(e,"attributes_dir",yt,n(e)),a(e,"attributes_show",Et,n(e)),a(e,"attributes_scene_setting",St,n(e)),a(e,"content",At,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("pos",this.attributes_x_y),this.attributes_map.set("size",this.attributes_w_h),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_scene_setting.getComponent(D).initView(this.onChangSceneTipsRuleStatus.bind(this)),this.attributes_show.getComponent(k).initView(this.onChangShowStatus.bind(this)),this.attributes_dir.getComponent(U).initView(this.onChangeDir.bind(this)),this.attributes_z_index.getComponent(V).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(A).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(p).initView(this.onChangeSize.bind(this)),this.attributes_x_y.getComponent(l).initView(this.onChangePos.bind(this)),this.attributes_origin.getComponent(g).initView(this.onChangeOrigin.bind(this)),this.hideAllAtt()},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.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("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,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):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):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)):t.type===c.attributes_type.scene&&(this.hideAllAtt(),this.attributes_map.get("name").active=!0,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.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.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.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&&(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(k)},s.getTopCom=function(){return this.attributes_map.get("top").getComponent(A)},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(d)},s.getPosCom=function(){return this.attributes_map.get("pos").getComponent(l)},s.getSizeCom=function(){return this.attributes_map.get("size").getComponent(p)},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(b)},s.getTextSoundCom=function(){return this.attributes_map.get("text_sound").getComponent(T)},s.getZIndexCom=function(){return this.attributes_map.get("z_index").getComponent(V)},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 S.showToast("当前场景没有控件!");S.show_widget_list(t)},s.ShowALlChildScene=function(t){var e=this.get_scene_list();if(e.length<=0)return S.showToast("还没有添加子场景");S.show_select_child_scene(e,t)},s.getEventList=function(){return this._main.edit_scene_view.getCurSelectScene()._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,nt=e((at=Tt).prototype,"attributes_name",[I],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),st=e(at.prototype,"attributes_x_y",[q],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),rt=e(at.prototype,"attributes_w_h",[P],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),_t=e(at.prototype,"attributes_res",[W],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),ut=e(at.prototype,"attributes_origin",[B],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),ot=e(at.prototype,"attributes_be_event",[O],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),ct=e(at.prototype,"attributes_animation",[N],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),ht=e(at.prototype,"attributes_drop",[Q],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),dt=e(at.prototype,"attributes_click",[R],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),lt=e(at.prototype,"attributes_slide",[Y],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),pt=e(at.prototype,"attributes_delete",[Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),bt=e(at.prototype,"attributes_be_active",[M],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),gt=e(at.prototype,"attributes_active",[F],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),mt=e(at.prototype,"attributes_top",[G],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),vt=e(at.prototype,"attributes_text_sound",[j],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),ft=e(at.prototype,"attributes_question_select",[H],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),wt=e(at.prototype,"attributes_count_down",[J],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),Ct=e(at.prototype,"attributes_z_index",[K],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),yt=e(at.prototype,"attributes_dir",[X],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),Et=e(at.prototype,"attributes_show",[$],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),St=e(at.prototype,"attributes_scene_setting",[tt],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),At=e(at.prototype,"content",[et],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),it=at))||it));s._RF.pop()}}}));
  32. System.register("chunks:///_virtual/back_title.ts",["./rollupPluginModLoBabelHelpers.js","cc"],(function(t){var e,i,n,l,r,a,c,o,u;return{setters:[function(t){e=t.applyDecoratedDescriptor,i=t.inheritsLoose,n=t.initializerDefineProperty,l=t.assertThisInitialized},function(t){r=t.cclegacy,a=t._decorator,c=t.Node,o=t.Label,u=t.Component}],execute:function(){var s,p,b,_,h,f,g;r._RF.push({},"02339gPFzJDdIyh/2+OM41M","back_title",void 0);var m=a.ccclass,k=a.property;t("back_title",(s=m("back_title"),p=k(c),b=k(c),s((f=e((h=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,"btn_back",f,l(e)),n(e,"img_title",g,l(e)),e.mCallBack=null,e}i(e,t);var r=e.prototype;return r.initView=function(t,e){var i=this;this.mCallBack=e,this.updateTitle(t),this.btn_back.on(c.EventType.TOUCH_END,(function(){null!=i.mCallBack&&i.mCallBack()}))},r.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",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),g=e(h.prototype,"img_title",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),_=h))||_));r._RF.pop()}}}));
  33. 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()}}}));
  34. 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"],(function(t){var e,n,i,a,_,s,l,r,c,o,u,g,p,h,d,b,f,m,v,w;return{setters:[function(t){e=t.applyDecoratedDescriptor,n=t.inheritsLoose,i=t.initializerDefineProperty,a=t.assertThisInitialized},function(t){_=t.cclegacy,s=t._decorator,l=t.ScrollView,r=t.Node,c=t.Prefab,o=t.instantiate,u=t.Label,g=t.Component},function(t){p=t.scene_item_data,h=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){v=t.widget_item},function(t){w=t.ClientEvent}],execute:function(){var y,C,P,T,S,E,N,z,D,V,k,H,L,A,B,O,U,x,F,I,W,R,j,M,Y;_._RF.push({},"4da69v9rdhAhb1VNyYTEcxI","base_view",void 0);var q=s.ccclass,G=s.property;t("base_view",(y=q("base_view"),C=G(l),P=G(r),T=G(r),S=G(r),E=G(r),N=G(r),z=G(r),D=G(r),V=G(r),k=G(r),H=G(c),y((B=e((A=function(t){function e(){for(var e,n=arguments.length,_=new Array(n),s=0;s<n;s++)_[s]=arguments[s];return e=t.call.apply(t,[this].concat(_))||this,i(e,"scroll_view",B,a(e)),i(e,"btn_left",O,a(e)),i(e,"btn_right",U,a(e)),i(e,"btn_up",x,a(e)),i(e,"btn_down",F,a(e)),i(e,"content",I,a(e)),i(e,"temp_content",W,a(e)),i(e,"btn_add_page",R,a(e)),i(e,"btn_delete_page",j,a(e)),i(e,"lab_cur_page",M,a(e)),i(e,"widget_prefab",Y,a(e)),e.m_edit_scene=null,e.m_data=null,e.m_cur_page=0,e}n(e,t);var _=e.prototype;return _.initView=function(t){var e=this;this.m_edit_scene=t,this.btn_add_page.on(r.EventType.TOUCH_END,(function(){e.add_page()})),this.btn_delete_page.on(r.EventType.TOUCH_END,(function(){e.delete_page()}));var n=this.m_edit_scene.getCurSelectScene();null!=n&&(this.m_data=n,this.init()),this.btn_down.on(r.EventType.TOUCH_END,(function(){e.next_page()})),this.btn_up.on(r.EventType.TOUCH_END,(function(){e.up_page()})),this.btn_left.on(r.EventType.TOUCH_END,(function(){e.up_page()})),this.btn_right.on(r.EventType.TOUCH_END,(function(){e.next_page()})),this.updatePageNumber(),w.on(d.Event.ChangeSelectPage,this.ChangeSelectPage,this)},_.onDestroy=function(){w.off(d.Event.ChangeSelectPage,this.ChangeSelectPage,this)},_.ChangeSelectPage=function(t){t!=this.m_cur_page&&(this.m_cur_page=t,this.updatePageNumber())},_.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 p("",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 n=this.m_data.page_list[e];this.addScenePage(n)}}},_.initWidgets=function(t,e){for(var n=0;n<e.page_widget_list.length;n++){var i=e.page_widget_list[n],a=o(this.widget_prefab);a.getComponent(v).initWidgetByScene(i,i.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()},_.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,n=null;if(t.is_full_screen){if(n=o(this.temp_content),null==t.att&&(t.att=new h,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 i=new p(t.scene_diy_name,t.type,!0);t.page_list.push(i),t.page_list[0].att=t.att}n.getComponent(b).initFullView(t.att),n.parent=this.content}else n=o(this.scroll_view.node),null==t.att&&(t.att=new h,t.att.width=1920,t.att.height=1920,t.att.id=d.getNewId(),t.att.type=d.attributes_type.scene),n.getComponent(b).initView(t.is_check_mask,t.att),n.parent=this.content;n.getComponent(b).setData(t),this.m_data.page_list.length>0&&this.initWidgets(n.getComponent(b),t),setTimeout((function(){e.m_edit_scene.cur_edit_scene_node.getComponent(m).onClickScene(),n.getComponent(b).setCallBack((function(){e.m_edit_scene.cur_edit_scene_node.getComponent(m).onClickScene()}))}),0)},_.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}(g)).prototype,"scroll_view",[C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),O=e(A.prototype,"btn_left",[P],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),U=e(A.prototype,"btn_right",[T],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),x=e(A.prototype,"btn_up",[S],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),F=e(A.prototype,"btn_down",[E],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),I=e(A.prototype,"content",[N],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),W=e(A.prototype,"temp_content",[z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),R=e(A.prototype,"btn_add_page",[D],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),j=e(A.prototype,"btn_delete_page",[V],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),M=e(A.prototype,"lab_cur_page",[k],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),Y=e(A.prototype,"widget_prefab",[H],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),L=A))||L));_._RF.pop()}}}));
  35. 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()}}}));
  36. 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.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()}}}));
  37. 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()}}}));
  38. 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()}}}));
  39. 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()}}}));
  40. 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()}}}));
  41. System.register("chunks:///_virtual/config.ts",["cc","./data.ts"],(function(e){var t,_,i,p;return{setters:[function(e){t=e.cclegacy,_=e._decorator},function(e){i=e.widget_item_data,p=e.scene_item_data}],execute:function(){t._RF.push({},"ad37c+eA3RLWJubWu+s/0zX","config",void 0);_.ccclass,_.property;var n=e("config",function(){function e(){}return e.init=function(){e.Widget_Type.set(e.Widget_Type_List.CLICK_TYPE,new i("点击",this.Widget_Type_List.CLICK_TYPE)),e.Widget_Type.set(e.Widget_Type_List.SLIDE_TYPE,new i("滑动",this.Widget_Type_List.SLIDE_TYPE)),e.Widget_Type.set(e.Widget_Type_List.DRAG_TYPE,new i("拖拽",this.Widget_Type_List.DRAG_TYPE)),e.Widget_Type.set(e.Widget_Type_List.IMG_TYPE,new i("图片",this.Widget_Type_List.IMG_TYPE)),e.Widget_Type.set(e.Widget_Type_List.ACTION_TYPE,new i("动画",this.Widget_Type_List.ACTION_TYPE)),e.Widget_Type.set(e.Widget_Type_List.UI_TOP,new i("弹窗",this.Widget_Type_List.UI_TOP)),e.Widget_Type.set(e.Widget_Type_List.TEXT_SOUND,new i("文字和语音",this.Widget_Type_List.TEXT_SOUND)),e.Widget_Type.set(e.Widget_Type_List.QUESTION_SELECT,new i("问题选择",this.Widget_Type_List.QUESTION_SELECT)),e.Widget_Type.set(e.Widget_Type_List.COUNT_DOWN,new i("倒计时",this.Widget_Type_List.COUNT_DOWN)),e.SceneType.set(e.Scene_Type_List.single_screen,new p("独立场景",e.Scene_Type_List.single_screen,!0)),e.SceneType.set(e.Scene_Type_List.many_screen_switch_up_down,new p("多场景-上下",e.Scene_Type_List.many_screen_switch_up_down)),e.SceneType.set(e.Scene_Type_List.many_screen_switch_left_rigth,new p("多场景-左右",e.Scene_Type_List.many_screen_switch_left_rigth)),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.play_ani,"播放动画"),e.event_type_map.set(e.event_type.top_view,"弹窗"),e.event_type_map.set(e.event_type.text_sound,"出现文字及语音"),e.event_type_map.set(e.event_type.change_one_item_status,"改变指定道具状态"),e.event_type_map.set(e.event_type.show_new_item,"出现新道具"),e.event_type_map.set(e.event_type.show_question_select,"出现问题选择"),e.event_type_map.set(e.event_type.countdown_over,"倒计时结束"),e.event_type_map.set(e.event_type.active_event,"激活交互"),e.event_type_map.set(e.event_type.start_event,"开始事件"),e.event_type_map.set(e.event_type.collect_event,"收集事件"),e.event_type_map.set(e.event_type.be_event,"被动触发事件"),e.event_type_map.set(e.event_type.hide,"隐藏"),e.event_type_map.set(e.event_type.delay_exe_event,"延迟时间调用一个事件"),e.event_type_map.set(e.event_type.fail_event,"失败事件"),e.event_type_map.set(e.event_type.play_sound,"播放音效"),e.event_type_map.set(e.event_type.show_scene_title,"显示场景标签"),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.fail_type_map.set(e.fail_type.play_animation,"没有交互"),e.fail_type_map.set(e.fail_type.only_text,"播放文字"),e.fail_type_map.set(e.fail_type.play_animation_text,"播放动画+文字"),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.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.getNewId=function(){return e.last_id+=1,e.last_id},e}());n.debug=!0,n.domain="https://zcapi.xwrun.com",n.select_res_and_control_type={RES_TYPE:0,CONTROL_TYPE:1,SCENE_SELECT:2,TASK:3},n.select_res_btn_type={ITEM_LIST:0,COMPONENT_LIST:1,BG_LIST:2,SOUND_LIST:3},n.Event={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"},n.Widget_Type=new Map,n.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},n.SceneType=new Map,n.Scene_Type_List={single_screen:0,many_screen_switch_up_down:1,many_screen_switch_left_rigth:2},n.attributes_type={widget:0,scene:1},n.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"},n.last_id=0,n.slide_type_map=new Map,n.slide_type={up:0,down:1,left:2,right:3,up_down:4,left_right:5},n.clcik_type_map=new Map,n.clcik_type={Press_and_hold:0,Multiple_clicks:1,click:2,click_not_auto_finish:3},n.task_type_map=new Map,n.task_type={zhao_xi_jie:0,guo_ju_qing:1,da_guai:2},n.zhao_xi_jie_tip_type={select_tips:0,select_all:1},n.event_type_map=new Map,n.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,countdown_over:10,be_event:11,hide:12,delay_exe_event:13,fail_event:14,play_sound:15,show_scene_title:16},n.top_view_type_map=new Map,n.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},n.fail_type_map=new Map,n.fail_type={play_animation:0,only_text:1,play_animation_text:2},n.question_type_map=new Map,n.question_type={two:2,three:3,four:4},n.update_type={update_all:0,update_img:1,update_info:2},n.Zindex_type_map=new Map,n.Zindex_type={Zindex_scene:0,Zindex_ui:1,zIndex_top:2},n.widget_scale_dir_map=new Map,n.widget_scale_dir={left:0,normal:1,up:2},n.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",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"},t._RF.pop()}}}));
  42. 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()}}}));
  43. System.register("chunks:///_virtual/control.ts",["./rollupPluginModLoBabelHelpers.js","cc","./config.ts","./data.ts","./res_list.ts"],(function(t){var e,n,i,s,_,l,r,a,o,c,u,b,h,p,m,d,g;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}],execute:function(){var f,v,w,y,E,T,C,k,R,L,S,z,O,x,Y,D,N,I,A,P,G,M,U,B,W,H,V,F,K,j,q,J,Q,X,Z,$,tt,et,nt,it;_._RF.push({},"46b5aI0fUdAkJRRiqgG1Wh+","control",void 0);var st=l.ccclass,_t=l.property;t("control",(f=st("control"),v=_t(r),w=_t(r),y=_t(r),E=_t(r),T=_t(r),C=_t(r),k=_t(r),R=_t(r),L=_t(r),S=_t(r),z=_t(r),O=_t(r),x=_t(a),Y=_t(a),D=_t(r),N=_t(r),I=_t(r),A=_t(r),f(((it=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",M,s(e)),i(e,"btn_control",U,s(e)),i(e,"btn_select_scene",B,s(e)),i(e,"btn_task",W,s(e)),e.res_and_control_select_index=0,e.res_and_control_btn_list=null,i(e,"btn_item_list",H,s(e)),i(e,"btn_bg_list",V,s(e)),i(e,"btn_component_list",F,s(e)),i(e,"btn_sound_list",K,s(e)),e.res_select_index=0,e.res_btn_list=null,i(e,"item_list",j,s(e)),i(e,"bg_list",q,s(e)),i(e,"component_list",J,s(e)),i(e,"sound_list",Q,s(e)),e.res_view_list=null,e.m_bag_data=null,i(e,"prefab_img_item",X,s(e)),i(e,"prefab_sound_item",Z,s(e)),e.res_data_list=[],i(e,"res_list",$,s(e)),i(e,"widget_list",tt,s(e)),i(e,"task_list",et,s(e)),i(e,"scene_list",nt,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(t,i){if(!t&&i){var s=new h;s.image=i;var _=new p;_.texture=s,_.addRef(),e.res_map.set(n,_),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(t,i){if(!t&&i){var s=new h;s.image=i;var _=new p;_.texture=s,_.addRef(),e.res_map.set(n,_),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(t,i){if(!t&&i){var s=new h;s.image=i;var _=new p;_.texture=s,_.addRef(),e.res_map.set(n,_),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[f].url,n=i.m_bag_data.sound_list[f].name;b.loadRemote(t,(function(t,i){i.addRef(),!t&&i&&(e.mp3_cache.set(n,i),l())}))},f=0;f<this.m_bag_data.sound_list.length;f++)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,it.res_map=new Map,it.mp3_cache=new Map,M=e((G=it).prototype,"btn_res",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),U=e(G.prototype,"btn_control",[w],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),B=e(G.prototype,"btn_select_scene",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),W=e(G.prototype,"btn_task",[E],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),H=e(G.prototype,"btn_item_list",[T],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),V=e(G.prototype,"btn_bg_list",[C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),F=e(G.prototype,"btn_component_list",[k],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),K=e(G.prototype,"btn_sound_list",[R],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),j=e(G.prototype,"item_list",[L],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),q=e(G.prototype,"bg_list",[S],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),J=e(G.prototype,"component_list",[z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),Q=e(G.prototype,"sound_list",[O],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),X=e(G.prototype,"prefab_img_item",[x],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),Z=e(G.prototype,"prefab_sound_item",[Y],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),$=e(G.prototype,"res_list",[D],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),tt=e(G.prototype,"widget_list",[N],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),et=e(G.prototype,"task_list",[I],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),nt=e(G.prototype,"scene_list",[A],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),P=G))||P));_._RF.pop()}}}));
  44. System.register("chunks:///_virtual/count_down.ts",["./rollupPluginModLoBabelHelpers.js","cc","./view_ui_att_item.ts"],(function(t){var e,r,i,a,n,o,s,u,_,l;return{setters:[function(t){e=t.applyDecoratedDescriptor,r=t.inheritsLoose,i=t.initializerDefineProperty,a=t.assertThisInitialized},function(t){n=t.cclegacy,o=t._decorator,s=t.Node,u=t.Label,_=t.Component},function(t){l=t.view_ui_att_item}],execute:function(){var g,c,m,p,h,d,B,b,f,P,w;n._RF.push({},"0426cOeF8VP9LvFvhZFYmFQ","count_down",void 0);var v=o.ccclass,y=o.property;t("count_down",(g=v("count_down"),c=y(s),m=y(s),p=y(s),h=y(s),g((b=e((B=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,i(e,"ProgressBar_Bg",b,a(e)),i(e,"ProgressBar_Bar",f,a(e)),i(e,"img_text",P,a(e)),i(e,"lab_time",w,a(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(l).updateAtt(this.m_data.ProgressBar_Bar),this.m_data.ProgressBar_Bar=this.ProgressBar_Bar.getComponent(l).getData(),this.ProgressBar_Bg.getComponent(l).updateAtt(this.m_data.ProgressBar_Bg),this.m_data.ProgressBar_Bg=this.ProgressBar_Bg.getComponent(l).getData(),this.img_text.getComponent(l).updateAtt(this.m_data.img_text),this.m_data.img_text=this.img_text.getComponent(l).getData(),this.m_data.time_count>0?(this.lab_time.getComponent(u).string=this.m_data.time_count+"秒",this.lab_time.active=!0):this.lab_time.active=!1},e}(_)).prototype,"ProgressBar_Bg",[c],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),f=e(B.prototype,"ProgressBar_Bar",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),P=e(B.prototype,"img_text",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),w=e(B.prototype,"lab_time",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),d=B))||d));n._RF.pop()}}}));
  45. System.register("chunks:///_virtual/count_down2.ts",["./rollupPluginModLoBabelHelpers.js","cc","./gameManager.ts"],(function(t){var e,i,r,a,n,o,s,l,_,u,c;return{setters:[function(t){e=t.applyDecoratedDescriptor,i=t.inheritsLoose,r=t.initializerDefineProperty,a=t.assertThisInitialized},function(t){n=t.cclegacy,o=t._decorator,s=t.Node,l=t.ProgressBar,_=t.Label,u=t.Component},function(t){c=t.gameManager}],execute:function(){var m,g,h,d,p,B,f,b,v,w,P;n._RF.push({},"f65f7MuER9IdbjB0XqwvK24","count_down",void 0);var y=o.ccclass,C=o.property;t("count_down",(m=y("count_down"),g=C(s),h=C(s),d=C(s),p=C(s),m((b=e((f=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).m_data=null,r(e,"ProgressBar_Bg",b,a(e)),r(e,"ProgressBar_Bar",v,a(e)),r(e,"img_text",w,a(e)),r(e,"lab_time",P,a(e)),e.time_count=0,e.m_over_call=null,e}i(e,t);var n=e.prototype;return n.init=function(t,e){this.m_data=t,this.m_over_call=e,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(l).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},n.getData=function(){return this.m_data},n.startCountDown=function(){var t=this;this.schedule((function(){if(t.time_count+=1,t.time_count>t.m_data.time_count)return t.unscheduleAllCallbacks(),void(null!=t.m_over_call&&t.m_over_call(!0));t.ProgressBar_Bg.getComponent(l).progress=1-t.time_count/t.m_data.time_count,t.m_data.is_show_time&&(t.lab_time.getComponent(_).string=t.m_data.time_count-t.time_count+"秒")}),1)},e}(u)).prototype,"ProgressBar_Bg",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),v=e(f.prototype,"ProgressBar_Bar",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),w=e(f.prototype,"img_text",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),P=e(f.prototype,"lab_time",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),B=f))||B));n._RF.pop()}}}));
  46. 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()}}}));
  47. 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()}}}));
  48. 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.type=0,this.widget_type=0,this.x=0,this.y=0,this.z=0,this.width=0,this.height=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})),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.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.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.is_err_drag_back=!0})),t("att_slide_data",(function(){this.slide_dir=e.slide_type.down,this.slide_distance=100,this.slide_num=1})),t("att_click_data",(function(){this.click_type=e.clcik_type.click,this.hold_time=5,this.multiple_check_num=2})),t("att_text_sound_data",(function(){this.sound_data=null,this.text="",this.pos_y=0}));var _=t("scene_tips_rule_data",(function(){this.tips_data=new s,this.rule_list=[],this.rule_find_tips=new a,this.scene_des=""})),s=t("scene_tips_data",(function(){this.tips_answer=new a,this.tips_tips=new a})),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.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("ui_att_item",(function(){this.x=0,this.y=0,this.width=0,this.height=0,this.res="",this.res_name=""}))),l=(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("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=""}))),h=(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})),t("da_guai_data",(function(){})),t("guo_ju_qing_data",(function(){this.binding_event_id=-1})),t("zhao_xi_jie_item_data",(function(){this.widget_id=-1,this.res="",this.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})),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 r,this.success=new u,this.event_item_play_ani_data=null,this.event_item_top_view_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_fail_event_data=null,this.event_item_play_sound_data=null,this.event_item_show_scene_title_data=null})),t("base_event_item",(function(){}))),u=(t("event_item_fail_event",(function(){})),t("event_item_show_scene_title",(function(){this.title=""})),t("event_item_play_sound",(function(){this.sound_res=new l})),t("event_item_success",(function(){this.is_finish_game=!1,this.is_next_scene=!1,this.trigger_event_id=-1}))),r=t("event_item_fail",(function(){this.is_restart=!1,this.is_relife=!1,this.trigger_event_id=-1}));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}(h)),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}(h)),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}(h)),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 a,i}return i(n,t),n}(h)),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}(h)),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}return i(n,t),n}(h)),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}(h)),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}(h)),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}(h)),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}return i(n,t),n}(h)),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}(h)),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}(h)),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}(h));n._RF.pop()}}}));
  49. 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()}}}));
  50. 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()}}}));
  51. 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"],(function(t){var e,n,i,a,r,o,s,l,_,u,m,c,p,f,h,d,g,b,w,y,C,v,F,z,S,I,L;return{setters:[function(t){e=t.applyDecoratedDescriptor,n=t.inheritsLoose,i=t.initializerDefineProperty,a=t.assertThisInitialized},function(t){r=t.cclegacy,o=t._decorator,s=t.Node,l=t.Prefab,_=t.Slider,u=t.Tween,m=t.Label,c=t.Toggle,p=t.Sprite,f=t.Vec3,h=t.Color,d=t.Size,g=t.tween,b=t.UIOpacity,w=t.UITransform,y=t.instantiate,C=t.Component},function(t){v=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){L=t.control}],execute:function(){var A,T,x,E,k,D,U,O,H,V,P,N,j,R,X,B,K,M,Z,q,G,J,Q,W,Y,$,tt;r._RF.push({},"d36c87ZK69Pspy4Du7LcpIj","edit_animation",void 0);var et=o.ccclass,nt=o.property;t("edit_animation",(A=et("edit_animation"),T=nt(s),x=nt(s),E=nt(s),k=nt(s),D=nt(l),U=nt(s),O=nt(s),H=nt(_),V=nt(s),P=nt(s),N=nt(s),j=nt(s),A((B=e((X=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,"ani_sf",B,a(e)),i(e,"btn_new_ani_frame",K,a(e)),i(e,"btn_run",M,a(e)),i(e,"frame_content",Z,a(e)),i(e,"item_prefab",q,a(e)),i(e,"new_frame",G,a(e)),i(e,"btn_close",J,a(e)),i(e,"slider_scale",Q,a(e)),i(e,"lab_slider",W,a(e)),i(e,"opt_frame",Y,a(e)),i(e,"lab_run_status",$,a(e)),i(e,"toggle_loop",tt,a(e)),e.m_data=null,e.play_status=!1,e}n(e,t);var r=e.prototype;return r.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)}})),this.toggle_loop.on("toggle",(function(){u.stopAll(),t.lab_run_status.getComponent(m).string="运行",t.play_status=!1,t.unSelectAllItem(),t.m_data.isLoop=t.toggle_loop.getComponent(c).isChecked})),this.toggle_loop.getComponent(c).isChecked=this.m_data.isLoop,this.btn_close.on(s.EventType.TOUCH_END,(function(){t.play_status||(t.node.active=!1)})),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?(u.stopAll(),t.lab_run_status.getComponent(m).string="运行",t.play_status=!1,t.unSelectAllItem()):(t.play_status=!0,t.lab_run_status.getComponent(m).string="停止",t.runAnimation())})),this.onSlider()},r.runAnimation=function(){var t=this;u.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(m).string="运行",void t.unSelectAllItem();n=0}var a=e(n);t.runFrame(a.cur_frame,a.up_frame,i)}))},r.runFrame=function(t,e,n){var i=this,a=t.next_time,r=i.m_data.ani_frame_list[0].pos_x,o=i.m_data.ani_frame_list[0].pos_y;this.ani_sf.getComponent(p).spriteFrame=L.res_map.get(t.url_name);var s=new f(t.pos_x-r,t.pos_y-o),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};_.color=(new h).fromHEX(e.color),_.opacity=e.transparent,_.size=new d(e.size_width,e.size_height),_.pos=new f(e.pos_x-r,e.pos_y-o),g(_).to(a,{pos:s,color:l,opacity:t.transparent,size:new d(t.size_width,t.size_height)},{onUpdate:function(t){i.ani_sf.getComponent(p).color=t.color,i.ani_sf.getComponent(b).opacity=t.opacity,i.ani_sf.getComponent(w).setContentSize(t.size),i.ani_sf.position=t.pos}}).call((function(){n()})).start()},r.onSlider=function(){this.ani_sf.scale=new f(this.slider_scale.progress,this.slider_scale.progress),this.lab_slider.getComponent(m).string="显示缩放:"+this.slider_scale.progress.toFixed(3)},r.start=function(){this.initView()},r.show=function(t){this.node.active=!0,this.m_data=t,this.updateFrameList()},r.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()},r.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=L.res_map.get(t.url_name),this.ani_sf.getComponent(w).contentSize=new d(t.size_width,t.size_height)}else{var e=z.Singleton.get_cur_att_data();this.ani_sf.getComponent(p).spriteFrame=L.res_map.get(e.src_name),this.ani_sf.getComponent(w).contentSize=new d(e.width,e.height)}},r.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()}))},r.onUpdateFrame=function(){this.updateFrameList()},r.onClickEdit=function(t){var e=t.getIndex()>0?this.m_data.ani_frame_list[t.getIndex()-1]:null;this.new_frame.getComponent(F).show_edit(t,e)},r.unSelectAllItem=function(){for(var t=0;t<this.frame_content.children.length;t++){this.frame_content.children[t].getComponent(v).unSelectStatus()}},r.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(v).selectStatus():n.getComponent(v).unSelectStatus()}},r.onClickFrame=function(t){this.opt_frame.getComponent(I).show(t)},r.addFrameOnList=function(t,e){var n=y(this.item_prefab);n.parent=this.frame_content,n.getComponent(v).initView(t,this.onClickFrame.bind(this),e)},r.onCreateFrame=function(t){this.addFrameOnList(t,this.m_data.ani_frame_list.length),this.m_data.ani_frame_list.push(t),this.updateFirstFrameStatus()},e}(C)).prototype,"ani_sf",[T],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),K=e(X.prototype,"btn_new_ani_frame",[x],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),M=e(X.prototype,"btn_run",[E],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),Z=e(X.prototype,"frame_content",[k],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),q=e(X.prototype,"item_prefab",[D],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),G=e(X.prototype,"new_frame",[U],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),J=e(X.prototype,"btn_close",[O],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),Q=e(X.prototype,"slider_scale",[H],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),W=e(X.prototype,"lab_slider",[V],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),Y=e(X.prototype,"opt_frame",[P],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),$=e(X.prototype,"lab_run_status",[N],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),tt=e(X.prototype,"toggle_loop",[j],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),R=X))||R));r._RF.pop()}}}));
  52. 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"],(function(e){var t,n,i,_,a,s,o,r,l,u,c,v,h,p,d,g,m,b,f,w,y,C,z,x,k,V,E,T,q;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,u=e.Component},function(e){c=e.config},function(e){v=e.event_play_ani_view},function(e){h=e.tools},function(e){p=e.event_top_view_view},function(e){d=e.event_text_sound},function(e){g=e.event_change_one_item_status},function(e){m=e.event_show_new_item},function(e){b=e.event_show_question_select},function(e){f=e.event_countdown_over},function(e){w=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){x=e.event_be_event},function(e){k=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){q=e.event_show_scene_title}],execute:function(){var D,H,A,N,O,U,L,F,M,P,S,R,j,B,W,G,I,J,K,Q,X,Y,Z,$,ee,te,ne,ie,_e,ae,se,oe,re,le,ue,ce,ve,he,pe,de,ge,me,be,fe,we,ye,Ce,ze,xe,ke,Ve,Ee,Te,qe,De,He,Ae,Ne,Oe,Ue,Le,Fe,Me,Pe,Se,Re,je;a._RF.push({},"3ae49k2961CEJGBVKu25opj","edit_event",void 0);var Be=s.ccclass,We=s.property;e("edit_event",(D=Be("edit_event"),H=We(o),A=We(o),N=We(o),O=We(o),U=We(o),L=We(o),F=We(o),M=We(o),P=We(o),S=We(o),R=We(o),j=We(o),B=We(o),W=We(o),G=We(o),I=We(o),J=We(o),K=We(o),Q=We(o),X=We(o),Y=We(o),Z=We(o),$=We(o),ee=We(o),te=We(o),ne=We(o),ie=We(o),_e=We(o),ae=We(o),se=We(o),oe=We(o),re=We(o),D((ce=t((ue=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",ce,_(t)),i(t,"top_view",ve,_(t)),i(t,"text_sound",he,_(t)),i(t,"change_one_item_status",pe,_(t)),i(t,"show_new_item",de,_(t)),i(t,"btn_delete",ge,_(t)),i(t,"show_question_select",me,_(t)),i(t,"countdown_over",be,_(t)),i(t,"active_event",fe,_(t)),i(t,"start_event",we,_(t)),i(t,"collect_event",ye,_(t)),i(t,"be_event",Ce,_(t)),i(t,"hide",ze,_(t)),i(t,"delay_exe_event",xe,_(t)),i(t,"fail_event",ke,_(t)),i(t,"play_sound",Ve,_(t)),i(t,"show_scene_title",Ee,_(t)),i(t,"is_finish_game",Te,_(t)),i(t,"is_next_scene",qe,_(t)),i(t,"btn_finish_trigger_event_id",De,_(t)),i(t,"lab_finish_trigger_event_id",He,_(t)),i(t,"is_restart",Ae,_(t)),i(t,"is_relife",Ne,_(t)),i(t,"btn_fail_trigger_event_id",Oe,_(t)),i(t,"lab_fail_trigger_event_id",Ue,_(t)),i(t,"btn_set_next_event",Le,_(t)),i(t,"lab_set_next_event",Fe,_(t)),i(t,"btn_fail",Me,_(t)),i(t,"btn_win",Pe,_(t)),i(t,"lab_event_name",Se,_(t)),i(t,"btn_close",Re,_(t)),i(t,"btn_clear_event",je,_(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&&h.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=w.Singleton.getEventList();h.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=w.Singleton.getEventList();h.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_fail.active?(i.btn_fail.active=!0,i.btn_win.active=!0,i.lab_set_next_event.getComponent(r).string="收起"):(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(c.event_type.play_ani,this.play_ani),this.widget_map.set(c.event_type.top_view,this.top_view),this.widget_map.set(c.event_type.text_sound,this.text_sound),this.widget_map.set(c.event_type.change_one_item_status,this.change_one_item_status),this.widget_map.set(c.event_type.show_new_item,this.show_new_item),this.widget_map.set(c.event_type.show_question_select,this.show_question_select),this.widget_map.set(c.event_type.countdown_over,this.countdown_over),this.widget_map.set(c.event_type.start_event,this.start_event),this.widget_map.set(c.event_type.collect_event,this.collect_event),this.widget_map.set(c.event_type.active_event,this.active_event),this.widget_map.set(c.event_type.be_event,this.be_event),this.widget_map.set(c.event_type.hide,this.hide),this.widget_map.set(c.event_type.delay_exe_event,this.delay_exe_event),this.widget_map.set(c.event_type.fail_event,this.fail_event),this.widget_map.set(c.event_type.play_sound,this.play_sound),this.widget_map.set(c.event_type.show_scene_title,this.show_scene_title)},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,this.m_type){case c.event_type.play_ani:this.play_ani.getComponent(v).initView(this.m_data.event_item_play_ani_data);break;case c.event_type.top_view:this.top_view.getComponent(p).initView(this.m_data.event_item_top_view_data);break;case c.event_type.text_sound:this.text_sound.getComponent(d).initView(this.m_data.event_item_text_sound_data);break;case c.event_type.change_one_item_status:this.change_one_item_status.getComponent(g).initView(this.m_data.event_item_change_one_item_status_data);break;case c.event_type.show_new_item:this.show_new_item.getComponent(m).initView(this.m_data.event_item_show_new_item_data);break;case c.event_type.show_question_select:this.show_question_select.getComponent(b).initView(this.m_data.event_item_show_question_select_data);break;case c.event_type.countdown_over:this.countdown_over.getComponent(f).initView(this.m_data.event_item_countdown_over_data);break;case c.event_type.start_event:this.start_event.getComponent(y).initView(this.m_data.event_item_start_event_data);break;case c.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 c.event_type.active_event:this.active_event.getComponent(C).initView(this.m_data.event_item_active_event_data);break;case c.event_type.be_event:this.be_event.getComponent(x).initView(this.m_data.event_item_be_event_data);break;case c.event_type.hide:this.hide.getComponent(k).initView(this.m_data.event_item_hide_data);break;case c.event_type.delay_exe_event:this.delay_exe_event.getComponent(V).initView(this.m_data.event_item_delay_exe_data);break;case c.event_type.fail_event:this.fail_event.getComponent(E).initView(this.m_data.event_item_fail_event_data);break;case c.event_type.play_sound:this.play_sound.getComponent(T).initView(this.m_data.event_item_play_sound_data);break;case c.event_type.show_scene_title:this.show_scene_title.getComponent(q).initView(this.m_data.event_item_show_scene_title_data)}},t}(u)).prototype,"play_ani",[H],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),ve=t(ue.prototype,"top_view",[A],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),he=t(ue.prototype,"text_sound",[N],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),pe=t(ue.prototype,"change_one_item_status",[O],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),de=t(ue.prototype,"show_new_item",[U],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),ge=t(ue.prototype,"btn_delete",[L],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),me=t(ue.prototype,"show_question_select",[F],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),be=t(ue.prototype,"countdown_over",[M],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),fe=t(ue.prototype,"active_event",[P],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),we=t(ue.prototype,"start_event",[S],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),ye=t(ue.prototype,"collect_event",[R],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),Ce=t(ue.prototype,"be_event",[j],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),ze=t(ue.prototype,"hide",[B],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),xe=t(ue.prototype,"delay_exe_event",[W],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),ke=t(ue.prototype,"fail_event",[G],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),Ve=t(ue.prototype,"play_sound",[I],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),Ee=t(ue.prototype,"show_scene_title",[J],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),Te=t(ue.prototype,"is_finish_game",[K],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),qe=t(ue.prototype,"is_next_scene",[Q],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),De=t(ue.prototype,"btn_finish_trigger_event_id",[X],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),He=t(ue.prototype,"lab_finish_trigger_event_id",[Y],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),Ae=t(ue.prototype,"is_restart",[Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),Ne=t(ue.prototype,"is_relife",[$],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),Oe=t(ue.prototype,"btn_fail_trigger_event_id",[ee],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),Ue=t(ue.prototype,"lab_fail_trigger_event_id",[te],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),Le=t(ue.prototype,"btn_set_next_event",[ne],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),Fe=t(ue.prototype,"lab_set_next_event",[ie],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),Me=t(ue.prototype,"btn_fail",[_e],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),Pe=t(ue.prototype,"btn_win",[ae],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),Se=t(ue.prototype,"lab_event_name",[se],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),Re=t(ue.prototype,"btn_close",[oe],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),je=t(ue.prototype,"btn_clear_event",[re],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),le=ue))||le));a._RF.pop()}}}));
  53. System.register("chunks:///_virtual/edit_scene.ts",["./rollupPluginModLoBabelHelpers.js","cc","./tools.ts","./config.ts","./control.ts","./scene_select_list.ts","./clientEvent.ts","./cur_edit_scene.ts","./scene_task.ts","./http.ts","./Attributes.ts"],(function(e){var t,n,i,o,r,c,s,l,a,u,_,p,d,f,b,g,h,m;return{setters:[function(e){t=e.applyDecoratedDescriptor,n=e.inheritsLoose,i=e.initializerDefineProperty,o=e.assertThisInitialized},function(e){r=e.cclegacy,c=e._decorator,s=e.Node,l=e.Prefab,a=e.Component},function(e){u=e.tools},function(e){_=e.config},function(e){p=e.control},function(e){d=e.scene_select_list},function(e){f=e.ClientEvent},function(e){b=e.cur_edit_scene},function(e){g=e.scene_task},function(e){h=e.http},function(e){m=e.Attributes}],execute:function(){var v,w,y,S,C,E,T,z,D,N,U,H,A,L,O,k,P,V,B,x,F,I,j;r._RF.push({},"20e8erWUXNHSYTbZPmKh8py","edit_scene",void 0);var M=c.ccclass,R=c.property;e("edit_scene",(v=M("edit_scene"),w=R(s),y=R(s),S=R(s),C=R(s),E=R(s),T=R(s),z=R(s),D=R(l),N=R(s),U=R(s),v((L=t((A=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,"btn_add_scene",L,o(t)),i(t,"btn_run",O,o(t)),i(t,"btn_run_all",k,o(t)),i(t,"btn_save",P,o(t)),i(t,"btn_delete",V,o(t)),i(t,"scene_select_list",B,o(t)),i(t,"scene_task",x,o(t)),i(t,"scene_prefab",F,o(t)),i(t,"cur_edit_scene_node",I,o(t)),i(t,"btn_widget_list",j,o(t)),t.m_main=null,t}n(t,e);var r=t.prototype;return r.getMain=function(){return this.m_main},r.init=function(e){this.m_main=e,this.initSceneList(),this.cur_edit_scene_node.getComponent(b).initView(this),this.scene_select_list.getComponent(d).initView(this.m_main),this.scene_task.getComponent(g).initView(this)},r.getCurSelectSceneIndex=function(){return this.scene_select_list.getComponent(d).getCurSelectSceneIndex()},r.getCurSelectScene=function(){return this.scene_select_list.getComponent(d).getCurSelectScene()},r.getCurEditBaseView=function(){return this.cur_edit_scene_node.getComponent(b).getCurEditBaseView()},r.getPrefabByType=function(){return this.scene_prefab},r.initSceneList=function(){},r.onAddScene=function(e){this.m_main.control_view.push_scene_data(e),f.dispatchEvent(_.Event.UpdateSceneList)},r.start=function(){var e=this;this.btn_add_scene.on(s.EventType.TOUCH_END,(function(){u.show_add_scene(e.onAddScene.bind(e))})),this.btn_run.on(s.EventType.TOUCH_END,(function(){if(e.getCurSelectScene().is_child_scene)return u.showToast("子场景不可以运行");u.game_run()})),this.btn_run_all.on(s.EventType.TOUCH_END,(function(){})),this.btn_save.on(s.EventType.TOUCH_END,(function(){u.show_loading((function(){var e=new FormData,t=p.Singleton.get_bag_data().content,n=_.last_id,i=p.Singleton.get_bag_data().id;e.append("content",JSON.stringify(t)),e.append("zujian_id",n+""),e.append("id",i+""),h.post("/tool/mysnote/save",e,(function(e,t){e||u.showToast("保存成功!"),u.hide_loading()}))}))})),this.btn_delete.on(s.EventType.TOUCH_END,(function(){e.m_main.control_view.get_bag_data().content.length<=0?u.showToast("暂无场景可以删除!"):u.show_dialog("是否删除当前选中的场景?",(function(){e.m_main.control_view.remove_scene_data(e.scene_select_list.getComponent(d).getCurSelectScene()),f.dispatchEvent(_.Event.UpdateSceneList)}))})),this.btn_widget_list.on(s.EventType.TOUCH_END,(function(){m.Singleton.hideAllAtt(),f.dispatchEvent(_.Event.ShowWidgetList)}))},t}(a)).prototype,"btn_add_scene",[w],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),O=t(A.prototype,"btn_run",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),k=t(A.prototype,"btn_run_all",[S],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),P=t(A.prototype,"btn_save",[C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),V=t(A.prototype,"btn_delete",[E],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),B=t(A.prototype,"scene_select_list",[T],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),x=t(A.prototype,"scene_task",[z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),F=t(A.prototype,"scene_prefab",[D],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),I=t(A.prototype,"cur_edit_scene_node",[N],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),j=t(A.prototype,"btn_widget_list",[U],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),H=A))||H));r._RF.pop()}}}));
  54. System.register("chunks:///_virtual/event_active_event.ts",["./rollupPluginModLoBabelHelpers.js","cc","./Attributes.ts","./config.ts","./tools.ts","./clientEvent.ts"],(function(t){var e,i,n,a,o,s,r,u,_,c,l,d,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){c=t.Attributes},function(t){l=t.config},function(t){d=t.tools},function(t){p=t.ClientEvent}],execute:function(){var b,f,g,v,h,w,m;o._RF.push({},"ea227WDto9AabLCU/D2RGGU","event_active_event",void 0);var y=s.ccclass,A=s.property;t("event_active_event",(b=y("event_active_event"),f=A(r),g=A(r),b((w=e((h=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",w,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=c.Singleton.get_cur_scene_all_only_widget();if(t.length<=0)return d.showToast("当前场景没有添控件!");d.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(h.prototype,"lab_name",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),v=h))||v));o._RF.pop()}}}));
  55. 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()}}}));
  56. 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,c,u,d,g,h,p,m,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.Label,l=t.assetManager,c=t.Texture2D,u=t.SpriteFrame,d=t.Sprite,g=t.UITransform,h=t.Rect,p=t.Component},function(t){m=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,D,T,R,S,z,A,O,U,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),D=N(o),T=N(o),R=N(o),S=N(o),z=N(o),C((U=e((O=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",U,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.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(),m.on(f.Event.UpdateAttributesToView,this.UpdateAttributesToView,this),m.on(f.Event.DragResEndOnCheck,this.DragResEndOnCheck,this)},r.onDestroy=function(){m.off(f.Event.UpdateAttributesToView,this.UpdateAttributesToView,this),m.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(_).string="选择要改变状态的控件"):(this.res_node.active=!0,this.lab_select_widget.getComponent(_).string="当前要改变状态的控件id:"+this.m_data.binding_widget_id,this.m_data.att.res.length>0&&l.loadRemote(this.m_data.att.res,(function(e,n){if(!e&&n){var i=new c;i.image=n;var a=new u;a.texture=i,t.res_sf.getComponent(d).spriteFrame=a}})),this.lab_res_name.getComponent(_).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}(p)).prototype,"btn_select_widget",[E],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),k=e(O.prototype,"lab_select_widget",[D],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),V=e(O.prototype,"res_node",[T],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),x=e(O.prototype,"lab_res_name",[R],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),F=e(O.prototype,"rect_res",[S],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),I=e(O.prototype,"res_sf",[z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),A=O))||A));r._RF.pop()}}}));
  57. 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()}}}));
  58. 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()}}}));
  59. System.register("chunks:///_virtual/event_delay_exe_event.ts",["./rollupPluginModLoBabelHelpers.js","cc","./tools.ts","./Attributes.ts"],(function(t){var e,i,n,a,r,o,_,l,s,d,u,c;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,l=t.EditBox,s=t.Label,d=t.Component},function(t){u=t.tools},function(t){c=t.Attributes}],execute:function(){var v,p,m,b,g,f,h,y,S;r._RF.push({},"2a54cNObl5AvrcsKLJCcIy7","event_delay_exe_event",void 0);var w=o.ccclass,x=o.property;t("event_delay_exe_event",(v=w("event_delay_exe_event"),p=x(_),m=x(_),b=x(l),v((h=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).m_data=null,n(e,"btn_select_ui",h,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=parseInt(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));this.edit_time.string=this.m_data.delay_time.toString(),this.lab_name.getComponent(s).string=-1==this.m_data.binding_event_id?"选择一个事件":"事件的id:"+this.m_data.binding_event_id},e}(d)).prototype,"btn_select_ui",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),y=e(f.prototype,"lab_name",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),S=e(f.prototype,"edit_time",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),g=f))||g));r._RF.pop()}}}));
  60. System.register("chunks:///_virtual/event_fail_event.ts",["./rollupPluginModLoBabelHelpers.js","cc"],(function(e){var t,n,i,r;return{setters:[function(e){t=e.inheritsLoose},function(e){n=e.cclegacy,i=e._decorator,r=e.Component}],execute:function(){var o;n._RF.push({},"bb506ZxIChAE75NraMfEcQC","event_fail_event",void 0);var c=i.ccclass;i.property,e("event_fail_event",c("event_fail_event")(o=function(e){function n(){return e.apply(this,arguments)||this}return t(n,e),n.prototype.initView=function(e){},n}(r))||o);n._RF.pop()}}}));
  61. System.register("chunks:///_virtual/event_hide.ts",["./rollupPluginModLoBabelHelpers.js","cc","./tools.ts","./Attributes.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,d=t.Label,l=t.Component},function(t){u=t.tools},function(t){_=t.Attributes},function(t){c=t.ClientEvent},function(t){g=t.config}],execute:function(){var p,b,h,f,w,v,y;s._RF.push({},"95fb6BJ2VxMEo6ZJzVQsZ1y","event_hide",void 0);var m=a.ccclass,T=a.property;t("event_hide",(p=m("event_hide"),b=T(r),h=T(r),p((v=e((w=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",y,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=_.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(d).string="选择要隐藏的控件":this.lab_select_widget.getComponent(d).string="隐藏的控件id:"+this.m_data.binding_widget_id},e}(l)).prototype,"btn_select_widget",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),y=e(w.prototype,"lab_select_widget",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),f=w))||f));s._RF.pop()}}}));
  62. System.register("chunks:///_virtual/event_item_view.ts",["./rollupPluginModLoBabelHelpers.js","cc","./tools.ts","./config.ts"],(function(e){var t,n,i,l,r,a,o,_,c,u,s;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,_=e.Label,c=e.Component},function(e){u=e.tools},function(e){s=e.config}],execute:function(){var p,m,v,d,f,b,h,y,g;r._RF.push({},"9878dX3zVpMgp8n4qeQUVf5","event_item_view",void 0);var w=a.ccclass,z=a.property;e("event_item_view",(p=w("event_item_view"),m=z(o),v=z(o),d=z(o),p((h=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,"lab_event_id",h,l(t)),i(t,"lab_event_name",y,l(t)),i(t,"btn_edit_event",g,l(t)),t.m_type=0,t.m_data=null,t.m_delete_call=null,t}return n(t,e),t.prototype.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="当前-"+s.event_type_map.get(this.m_type)+"-事件id:"+this.m_data.event_id,this.lab_event_name.getComponent(_).string="当前事件名字:"+this.m_data.event_name,this.btn_edit_event.on(o.EventType.TOUCH_END,(function(){u.show_edit_event(i.m_type,i.m_data,(function(e){null!=i.m_delete_call&&(i.node.removeFromParent(),i.m_delete_call(e))}))}))},t}(c)).prototype,"lab_event_id",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),y=t(b.prototype,"lab_event_name",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),g=t(b.prototype,"btn_edit_event",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),f=b))||f));r._RF.pop()}}}));
  63. 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,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()}}}));
  64. System.register("chunks:///_virtual/event_play_sound.ts",["./rollupPluginModLoBabelHelpers.js","cc","./tools.ts"],(function(t){var e,n,a,o,i,r,s,u,l,c;return{setters:[function(t){e=t.applyDecoratedDescriptor,n=t.inheritsLoose,a=t.initializerDefineProperty,o=t.assertThisInitialized},function(t){i=t.cclegacy,r=t._decorator,s=t.Node,u=t.Label,l=t.Component},function(t){c=t.tools}],execute:function(){var _,p,d,m,f,b,h;i._RF.push({},"e8533Oc7bBORrjP/+GKp/Pf","event_play_sound",void 0);var y=r.ccclass,v=r.property;t("event_play_sound",(_=y("event_play_sound"),p=v(s),d=v(s),_((b=e((f=function(t){function e(){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,a(e,"btn_select_sound",b,o(e)),a(e,"lab_name",h,o(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(s.EventType.TOUCH_END,(function(){c.select_sound_list((function(t){e.m_data.sound_res.name=t.name,e.m_data.sound_res.url=t.url,e.updateStatus()}))})),this.updateStatus()},i.updateStatus=function(){this.m_data.sound_res.name.length>0?this.lab_name.getComponent(u).string=this.m_data.sound_res.name:this.lab_name.getComponent(u).string="选择一个音频文件"},e}(l)).prototype,"btn_select_sound",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),h=e(f.prototype,"lab_name",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),m=f))||m));i._RF.pop()}}}));
  65. 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()}}}));
  66. 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()}}}));
  67. 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()}}}));
  68. 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,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,s=t.Node,_=t.Label,l=t.Component},function(t){u=t.Attributes},function(t){c=t.tools}],execute:function(){var d,v,p,b,f,g,h;r._RF.push({},"1bfaaMvFbNBa5VUgP0UjjJ7","event_start_event",void 0);var m=o.ccclass,y=o.property;t("event_start_event",(d=m("event_start_event"),v=y(s),p=y(s),d((g=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).m_data=null,i(e,"btn_select_ui",g,a(e)),i(e,"lab_name",h,a(e)),e}n(e,t);var r=e.prototype;return r.initView=function(t){var e=this;this.m_data=t,this.btn_select_ui.on(s.EventType.TOUCH_END,(function(){var t=u.Singleton.getEventList();c.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(_).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}}),h=e(f.prototype,"lab_name",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),b=f))||b));r._RF.pop()}}}));
  69. 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()}}}));
  70. 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()}}}));
  71. System.register("chunks:///_virtual/fail_ani.ts",["./rollupPluginModLoBabelHelpers.js","cc"],(function(n){var t,i,e,o,a;return{setters:[function(n){t=n.inheritsLoose},function(n){i=n.cclegacy,e=n._decorator,o=n.Animation,a=n.Component}],execute:function(){var c;i._RF.push({},"4d8194SRUJAuL8LGvUGqm+s","fail_ani",void 0);var s=e.ccclass;e.property,n("fail_ani",s("fail_ani")(c=function(n){function i(){return n.apply(this,arguments)||this}t(i,n);var e=i.prototype;return e.Play=function(){var n=this;this.node.active=!0,this.node.getComponent(o).play(),this.scheduleOnce((function(){n.hideAndStop()}),1.5)},e.hideAndStop=function(){this.node.getComponent(o).stop(),this.node.active=!1},i}(a))||c);i._RF.pop()}}}));
  72. 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()}}}));
  73. System.register("chunks:///_virtual/game_run.ts",["./rollupPluginModLoBabelHelpers.js","cc","./gameManager.ts","./scene_layer.ts","./ui_layer.ts","./top_layer.ts","./config.ts","./control.ts"],(function(n){var t,e,i,o,r,a,u,l,c,s,p,f,y,g;return{setters:[function(n){t=n.applyDecoratedDescriptor,e=n.inheritsLoose,i=n.initializerDefineProperty,o=n.assertThisInitialized},function(n){r=n.cclegacy,a=n._decorator,u=n.Node,l=n.Component},function(n){c=n.gameManager},function(n){s=n.scene_layer},function(n){p=n.ui_layer},function(n){f=n.top_layer},function(n){y=n.config},function(n){g=n.control}],execute:function(){var _,h,m,b,d,w,C,T,v,L,z,F,D,R,M;r._RF.push({},"ae970oGFgtFDbTPNF7UgK9L","game_run",void 0);var S=a.ccclass,U=a.property;n("game_run",(_=S("game_run"),h=U(u),m=U(u),b=U(u),d=U(u),w=U(u),C=U(c),_((L=t((v=function(n){function t(){for(var t,e=arguments.length,r=new Array(e),a=0;a<e;a++)r[a]=arguments[a];return t=n.call.apply(n,[this].concat(r))||this,i(t,"scene_layer",L,o(t)),i(t,"ui_layer",z,o(t)),i(t,"top_layer",F,o(t)),i(t,"btn_close",D,o(t)),i(t,"launch",R,o(t)),i(t,"mGameManger",M,o(t)),t}e(t,n);var r=t.prototype;return r.start=function(){var n=this;this.btn_close.on(u.EventType.TOUCH_END,(function(){n.close()}))},r.close=function(){this.node.removeFromParent()},r.run=function(){this.mGameManger.init(this,g.Singleton.get_bag_data().content)},r.loadSceneLayer=function(n,t){this.scene_layer.getComponent(s).initScene(n,t)},r.loadUILayer=function(n){this.ui_layer.getComponent(p).initUi(n)},r.loadTextSound=function(n){this.top_layer.getComponent(f).initTextSoundLlist(n)},r.initQuestionList=function(n){this.top_layer.getComponent(f).initQuestionList(n)},r.initCountDownList=function(n){this.ui_layer.getComponent(p).initCountDownList(n)},r.initTaskUi=function(n){this.ui_layer.getComponent(p).initTaskUi(n),n.type===y.task_type.guo_ju_qing&&this.top_layer.getComponent(f).initRuleAndTips()},r.showFindRuleTips=function(){this.top_layer.getComponent(f).showFindRuleTips()},r.showTips=function(){this.top_layer.getComponent(f).showTips()},r.showRule=function(){this.top_layer.getComponent(f).showRule()},r.loadTopLayer=function(){},r.onlaunch=function(n){var t=this;this.launch.active=!0,this.scheduleOnce((function(){t.launch.active=!1,n()}),.7)},t}(l)).prototype,"scene_layer",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),z=t(v.prototype,"ui_layer",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),F=t(v.prototype,"top_layer",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),D=t(v.prototype,"btn_close",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),R=t(v.prototype,"launch",[w],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),M=t(v.prototype,"mGameManger",[C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),T=v))||T));r._RF.pop()}}}));
  74. 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"],(function(t){var n,e,i,o,a,s,u,r,c,l,h,_,f,g,v,m,d,E,p;return{setters:[function(t){n=t.applyDecoratedDescriptor,e=t.inheritsLoose,i=t.initializerDefineProperty,o=t.assertThisInitialized},function(t){a=t.cclegacy,s=t._decorator,u=t.UITransform,r=t.Size,c=t.Vec3,l=t.Sprite,h=t.Component},function(t){_=t.config},function(t){f=t.sceneManager},function(t){g=t.control},function(t){v=t.http},function(t){m=t.tools},function(t){d=t.main},function(t){E=t.taskServce},function(t){p=t.ClientEvent}],execute:function(){var I,S,T,R,C,O;a._RF.push({},"3c58aAUixJHqqIn2KKCxaOS","gameManager",void 0);var G=s.ccclass,L=s.property;t("gameManager",(I=G("gameManager"),S=L(f),I(((O=function(t){function n(){for(var n,e=arguments.length,a=new Array(e),s=0;s<e;s++)a[s]=arguments[s];return(n=t.call.apply(t,[this].concat(a))||this).mGameRun=null,n.mGameData=[],n.mCurSceneIndex=0,i(n,"mSceneManager",C,o(n)),n}e(n,t);var a=n.prototype;return a.start=function(){n.Singleton=this},a.reLife=function(){},a.reStartGame=function(){},a.nextScene=function(){var t=this;this.onLaunch((function(){t.mCurSceneIndex++;for(var n=!1;t.mGameData[t.mCurSceneIndex].is_child_scene;){if(!(t.mCurSceneIndex<t.mGameData.length)){n=!0;break}t.mCurSceneIndex++}n?m.showToast("没有场景了!"):t.startLevelGame()}))},a.gameOver=function(){},a.initEvent=function(){p.offAll(_.EventRun.NOTICE_EVENT),p.offAll(_.EventRun.WIDGET_FINISH),p.offAll(_.EventRun.WIDGET_FAIL),p.offAll(_.EventRun.ON_WIDGET_FINISH_COLLECT_EVENT),p.offAll(_.EventRun.WIDGET_HIDE),p.offAll(_.EventRun.SHOW_ZHAO_BU_TONG_FINISH_STATUS),p.offAll(_.EventRun.TOP_VIEW_CLOSE),p.offAll(_.EventRun.TOP_VIEW_FINISH),p.offAll(_.EventRun.TOP_VIEW_FAIL),p.offAll(_.EventRun.ON_COUNT_DOWN_FAIL),p.offAll(_.EventRun.ON_COUNT_DOWN_START),p.offAll(_.EventRun.ON_SHOW_RULE_BTN),p.on(_.EventRun.WIDGET_FINISH,this.onWidgetFinishEvent.bind(this),this),p.on(_.EventRun.WIDGET_FAIL,this.onWidgetFailEvent.bind(this),this),p.on(_.EventRun.TOP_VIEW_CLOSE,this.onUiCloseEvent.bind(this),this),p.on(_.EventRun.TOP_VIEW_FINISH,this.onUiFinishEvent.bind(this),this),p.on(_.EventRun.TOP_VIEW_FAIL,this.onUiFailEvent.bind(this),this),p.on(_.EventRun.ON_COUNT_DOWN_FAIL,this.onCountDownFailEvent.bind(this),this),p.on(_.EventRun.ON_COUNT_DOWN_START,this.onStartCountDownEvent.bind(this),this)},a.init=function(t,e){if(this.mGameRun=t,n.Singleton=this,this.mSceneManager.init(this),this.mCurSceneIndex=d.Singleton.edit_scene_view.getCurSelectSceneIndex(),this.mGameData=e,this.mGameData.length<=0)return m.showToast("错误的场景信息");this.startLevelGame()},a.onLaunch=function(t){this.mGameRun.onlaunch(t)},a.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},a.onDestroy=function(){p.off(_.EventRun.WIDGET_FINISH,this.onWidgetFinishEvent.bind(this),this)},a.postLevelInfo=function(t,n){void 0===n&&(n=0),v.post("/smistatic/resource/"+t+"_"+n+".json",null,(function(){}))},a.startLevelGame=function(){var t=this;this.initEvent(),console.log("this.mGameData",this.mGameData,this.mCurSceneIndex),this.mSceneManager.startLevelGame(this.mGameData[this.mCurSceneIndex]),E.initTask(this.mGameData[this.mCurSceneIndex]._task_data),this.scheduleOnce((function(){t.startGame()}),1)},a.loadScene=function(t,n){this.mGameRun.loadSceneLayer(t,n)},a.loadUi=function(t){this.mGameRun.loadUILayer(t)},a.loadTextSound=function(t){this.mGameRun.loadTextSound(t)},a.loadQuestion=function(t){this.mGameRun.initQuestionList(t)},a.initCountDownList=function(t){this.mGameRun.initCountDownList(t)},a.initTaskUi=function(t){this.mGameRun.initTaskUi(t)},a.startGame=function(){E.startFirstEvent()},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===_.Widget_Type_List.UI_TOP&&null!=i.att.top_data&&i.att.top_data.top_ui_type!=_.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===_.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===_.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===_.Widget_Type_List.COUNT_DOWN&&null!=i.att.count_down&&n.push(i)}return n},n.getCacheSpriteFrameByName=function(t){return g.res_map.get(t)},n.getCacheSoundByName=function(t){return g.mp3_cache.get(t)},n.initUiBaseAtt=function(t,e){t.getComponent(u).setContentSize(new r(e.width,e.height)),t.position=new c(e.x,e.y),t.getComponent(l).spriteFrame=n.getCacheSpriteFrameByName(e.res_name)},a.onWidgetFinishEvent=function(t){E.onWidgetFinishEvent(t)},a.onWidgetFailEvent=function(t){E.onWidgetFailEvent(t)},a.onUiCloseEvent=function(t){E.extEventByEventId(t)},a.onUiFinishEvent=function(t){E.extEventByEventId(t)},a.onUiFailEvent=function(t){E.extEventByEventId(t)},a.onCountDownFailEvent=function(t){E.extEventByEventId(t)},a.onStartCountDownEvent=function(t){E.extEventByEventId(t)},a.exeEvent=function(t){E.extEventByEventId(t)},a.showFindRuleTips=function(){this.mGameRun.showFindRuleTips()},a.showTips=function(){this.mGameRun.showTips()},a.showRule=function(){this.mGameRun.showRule()},a.getSceneManager=function(){return this.mSceneManager},a.IsOpenRuleStatus=function(){return-1==E.guo_ju_qing_binding_event_id},n}(h)).Singleton=null,C=n((R=O).prototype,"mSceneManager",[S],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),T=R))||T));a._RF.pop()}}}));
  75. System.register("chunks:///_virtual/http.ts",["cc"],(function(e){var t,n;return{setters:[function(e){t=e.cclegacy,n=e._decorator}],execute:function(){var o,s;t._RF.push({},"ffa6dis5clM/bbVhOhYDw6k","http",void 0);var a=n.ccclass;n.property,e("http",a("http")(((s=function(){function e(){}return e.post=function(t,n,o){var s=new XMLHttpRequest;s.open("POST",e.domain+t),s.send(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?(console.log("xml.responseText==",s.responseText),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}()).domain="https://zcapi.xwrun.com",o=s))||o);t._RF.pop()}}}));
  76. 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()}}}));
  77. System.register("chunks:///_virtual/interact_scene.ts",["./rollupPluginModLoBabelHelpers.js","cc","./ui_base.ts","./tools.ts","./scene_page.ts"],(function(e){var t,n,i,r,c,a,o,s,l,u,p,f,h;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){f=e.tools},function(e){h=e.scene_page}],execute:function(){var g,_,d,b,m,v,y;c._RF.push({},"d840a7I6OFPrZ66TCHuI9I+","interact_scene",void 0);var P=a.ccclass,I=a.property;e("interact_scene",(g=P("interact_scene"),_=I(o),d=I(s),g((v=t((m=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}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 f.showToast("错误的配置子场景");this.loadChildScene()},c.loadChildScene=function(){this.content.removeAllChildren();var e=this.mInteractScene.scene.page_list[0],t=l(this.scenePagePrefab);t.parent=this.content,t.getComponent(u).target=this.content,t.getComponent(h).initView(e)},t}(p)).prototype,"scenePagePrefab",[_],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),y=t(m.prototype,"content",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),b=m))||b));c._RF.pop()}}}));
  78. 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()}}}));
  79. System.register("chunks:///_virtual/level_list.ts",["./rollupPluginModLoBabelHelpers.js","cc","./http.ts","./config.ts","./level_list_item.ts"],(function(t){var e,i,n,l,r,o,a,c,s,u,p,_,f;return{setters:[function(t){e=t.applyDecoratedDescriptor,i=t.inheritsLoose,n=t.initializerDefineProperty,l=t.assertThisInitialized},function(t){r=t.cclegacy,o=t._decorator,a=t.Node,c=t.Prefab,s=t.instantiate,u=t.Component},function(t){p=t.http},function(t){_=t.config},function(t){f=t.level_list_item}],execute:function(){var v,m,h,g,d,y,b;r._RF.push({},"5f2eeHdLEVORKEPayiLc37h","level_list",void 0);var k=o.ccclass,w=o.property;t("level_list",(v=k("level_list"),m=w(a),h=w(c),v((y=e((d=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,"content",y,l(e)),n(e,"item",b,l(e)),e.m_click_callback=null,e.m_cur_page=1,e}i(e,t);var r=e.prototype;return r.init=function(t){var e=this;this.m_click_callback=t;var i=new FormData;i.append("page",""+this.m_cur_page),i.append("limit","18"),p.post("/tool/mysnote/levels",i,(function(t,i){if(!t){var n=JSON.parse(i),l=n.content;_.last_id=parseInt(n.content.zujian_id),console.log("level_list",_.last_id),e.initView(l.list)}}))},r.initView=function(t){for(var e=0;e<t.length;e++){var i=t[e],n=s(this.item);n.parent=this.content,n.getComponent(f).initView(i,this.m_click_callback)}},e}(u)).prototype,"content",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),b=e(d.prototype,"item",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),g=d))||g));r._RF.pop()}}}));
  80. 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_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","./select_animation.ts","./attributes_active.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_res.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","./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","./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_fail_event.ts","./event_hide.ts","./event_item_view.ts","./event_play_ani_view.ts","./event_play_sound.ts","./event_show_new_item.ts","./event_show_question_select.ts","./event_show_scene_title.ts","./event_start_event.ts","./event_text_sound.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","./select_sound_list.ts","./show_select_evele_list.ts","./show_select_evele_list_item.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_zhao_xi_jie.ts","./select_task_zhao_xi_jie_item.ts","./task_guo_ren_wu.ts","./task_zhao_xi_jie.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_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_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_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","./taskServce.ts","./gameManager.ts","./game_run.ts","./sceneManager.ts","./scene_layer.ts","./scene_page.ts","./scene_page_dir.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_ani.ts","./interact_scene.ts","./question_select2.ts","./sound_text_content.ts","./ui_base.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","./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","./test.ts","./toast.ts","./tools.ts","./touch_chuan_tou.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],execute:function(){}}}));
  81. 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,p,v,f,E,m,b,C,y,w,T,S,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,p=t.Component},function(t){v=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){y=t.edit_scene},function(t){w=t.Attributes},function(t){T=t.base_res},function(t){S=t.widget_item},function(t){U=t.img_item}],execute:function(){var D,L,R,A,M,W,O,z,I,k,N,V,H,x,F,P,B,j;s._RF.push({},"760b8Fk8b9MmbxoK/wt+TFq","main",void 0);var q=a.ccclass,J=a.property;t("main",(D=q("main"),L=J(r),R=J(r),A=J(m),M=J(y),W=J(r),O=J(r),z=J(r),D(((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",N,o(e)),i(e,"btn_back_level_list",V,o(e)),i(e,"control_view",H,o(e)),i(e,"edit_scene_view",x,o(e)),i(e,"action_node",F,o(e)),i(e,"res_action_node",P,o(e)),i(e,"attributes_node",B,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(v).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(w).initView(this)},e.getAudioSource=function(){return e.g_audioSource},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,n=new FormData;n.append("id",""+t),f.post("/tool/mysnote/level_info",n,(function(t,n){if(!t){var i=JSON.parse(n);e.add_res(i)}}))},s.onBackLevelList=function(){this.level_list.active=!0},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(S).setData(t.getComponent(S).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(T).setType(t.getComponent(T).getType()),e.getComponent(T).setData(t.getComponent(T).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(w).getUrlCom().getRect().contains(t.getUILocation()))if(console.log("onEndRes"),this.res_action_node.children[0].getComponent(T).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(w).getUrlCom().update_att(e.name);var n=this.attributes_node.getComponent(w).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}(p)).g_canvas=null,j.loading_view=null,j.g_audioSource=null,j.cur_play_audio="",j.Singleton=null,N=e((k=j).prototype,"level_list",[L],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),V=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}}),F=e(k.prototype,"action_node",[W],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),P=e(k.prototype,"res_action_node",[O],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),B=e(k.prototype,"attributes_node",[z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),I=k))||I));s._RF.pop()}}}));
  82. 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()}}}));
  83. System.register("chunks:///_virtual/new_frame.ts",["./rollupPluginModLoBabelHelpers.js","cc","./tools.ts","./data.ts","./Attributes.ts","./control.ts"],(function(t){var e,i,n,r,a,s,o,_,l,h,m,u,p,d,c,g;return{setters:[function(t){e=t.applyDecoratedDescriptor,i=t.inheritsLoose,n=t.initializerDefineProperty,r=t.assertThisInitialized},function(t){a=t.cclegacy,s=t._decorator,o=t.Node,_=t.Sprite,l=t.UITransform,h=t.EditBox,m=t.Label,u=t.Component},function(t){p=t.tools},function(t){d=t.ani_frame},function(t){c=t.Attributes},function(t){g=t.control}],execute:function(){var f,b,z,w,y,C,x,v,S,D,F,T,E,I,A,H,N,M,O,U,L,B,P,R,j,k,V,W,Z,q,G;a._RF.push({},"a25c5ayHdZLy5WvT+NwlhdO","new_frame",void 0);var J=s.ccclass,K=s.property;t("new_frame",(f=J("new_frame"),b=K(o),z=K(o),w=K(o),y=K(o),C=K(o),x=K(o),v=K(o),S=K(o),D=K(o),F=K(o),T=K(o),E=K(o),I=K(o),A=K(o),f((M=e((N=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_sure",M,r(e)),n(e,"btn_cancle",O,r(e)),n(e,"next_time",U,r(e)),n(e,"pos_x",L,r(e)),n(e,"pos_y",B,r(e)),n(e,"size_width",P,r(e)),n(e,"size_height",R,r(e)),n(e,"color",j,r(e)),n(e,"transparent",k,r(e)),n(e,"btn_select_res",V,r(e)),n(e,"lab_origin_pos",W,r(e)),n(e,"lab_origin_size",Z,r(e)),n(e,"btn_origin_res",q,r(e)),n(e,"hide_spr",G,r(e)),e.m_up_frame=null,e.m_create_call=null,e.m_edit_call=null,e.m_data=new d,e.edit_status=!1,e.m_item=null,e}i(e,t);var a=e.prototype;return a.initView=function(t,e){var i=this;this.m_edit_call=e,this.m_create_call=t,this.btn_cancle.on(o.EventType.TOUCH_END,(function(){i.close()})),this.btn_sure.on(o.EventType.TOUCH_END,(function(){i.edit_status?i.edit_frame():i.create_frame(),i.close()})),this.btn_select_res.on(o.EventType.TOUCH_END,(function(){p.select_res_list((function(t){i.m_data.url=t.url,i.m_data.url_name=t.name,i.btn_select_res.getComponent(_).spriteFrame=g.res_map.get(i.m_data.url_name),i.hide_spr.getComponent(_).spriteFrame=i.btn_select_res.getComponent(_).spriteFrame}))})),this.btn_origin_res.on(o.EventType.TOUCH_END,(function(){var t=i.hide_spr.getComponent(l).contentSize;i.m_data.size_width=t.width,i.m_data.size_height=t.height,i.size_width.getComponent(h).string=i.m_data.size_width.toString(),i.size_height.getComponent(h).string=i.m_data.size_height.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)},a.close=function(){this.node.active=!1},a.edit_frame=function(){null!=this.m_item&&this.m_item.setData(this.m_data),null!=this.m_edit_call&&this.m_edit_call()},a.create_frame=function(){if(null!=this.m_create_call){this.updateData();var t=new d;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,console.log("ani_frame_data//",t),this.m_create_call(t)}},a.show=function(t){void 0===t&&(t=null),this.edit_status=!1,this.m_up_frame=t,this.node.active=!0;var e=c.Singleton.get_cur_att_data(),i=e.src_name,n=e.src;null!=this.m_up_frame&&this.m_up_frame.url.length>0&&(i=this.m_up_frame.url_name,n=this.m_up_frame.url),i.length>0&&(this.btn_select_res.getComponent(_).spriteFrame=g.res_map.get(i));var r=t?t.pos_x:Math.floor(e.x),a=t?t.pos_y:Math.floor(e.y);this.m_data.url=n,this.m_data.pos_x=r,this.m_data.pos_y=a,this.m_data.size_width=t?t.size_width:e.width,this.m_data.size_height=t?t.size_height:e.height,this.m_data.url_name=t?t.url_name:e.src_name,this.hide_spr.getComponent(_).spriteFrame=this.btn_select_res.getComponent(_).spriteFrame,this.lab_origin_pos.getComponent(m).string="(x:"+Math.floor(e.x)+",y:"+Math.floor(e.y)+")",this.lab_origin_size.getComponent(m).string="(w:"+e.width+",h:"+e.height+")",this.initAtt()},a.show_edit=function(t,e){void 0===e&&(e=null),this.m_up_frame=e,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.btn_select_res.getComponent(_).spriteFrame=g.res_map.get(this.m_data.url_name),this.hide_spr.getComponent(_).spriteFrame=this.btn_select_res.getComponent(_).spriteFrame,this.initAtt()},a.initAtt=function(){this.next_time.getComponent(h).string=this.m_data.next_time.toString(),this.pos_x.getComponent(h).string=this.m_data.pos_x.toString(),this.pos_y.getComponent(h).string=this.m_data.pos_y.toString(),this.size_width.getComponent(h).string=this.m_data.size_width.toString(),this.size_height.getComponent(h).string=this.m_data.size_height.toString(),this.color.getComponent(h).string=this.m_data.color.toString(),this.transparent.getComponent(h).string=this.m_data.transparent.toString()},a.change=function(){this.updateData()},a.updateData=function(){this.m_data.next_time=parseFloat(this.next_time.getComponent(h).string),this.m_data.pos_x=parseInt(this.pos_x.getComponent(h).string),this.m_data.pos_y=parseInt(this.pos_y.getComponent(h).string),this.m_data.size_width=parseInt(this.size_width.getComponent(h).string),this.m_data.size_height=parseInt(this.size_height.getComponent(h).string),this.m_data.color=this.color.getComponent(h).string,this.m_data.transparent=parseInt(this.transparent.getComponent(h).string)},e}(u)).prototype,"btn_sure",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),O=e(N.prototype,"btn_cancle",[z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),U=e(N.prototype,"next_time",[w],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),L=e(N.prototype,"pos_x",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),B=e(N.prototype,"pos_y",[C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),P=e(N.prototype,"size_width",[x],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),R=e(N.prototype,"size_height",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),j=e(N.prototype,"color",[S],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),k=e(N.prototype,"transparent",[D],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),V=e(N.prototype,"btn_select_res",[F],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),W=e(N.prototype,"lab_origin_pos",[T],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),Z=e(N.prototype,"lab_origin_size",[E],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),q=e(N.prototype,"btn_origin_res",[I],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),G=e(N.prototype,"hide_spr",[A],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),H=N))||H));a._RF.pop()}}}));
  84. System.register("chunks:///_virtual/opt_frame.ts",["./rollupPluginModLoBabelHelpers.js","cc"],(function(e){var t,n,i,l,r,o,c,a;return{setters:[function(e){t=e.applyDecoratedDescriptor,n=e.inheritsLoose,i=e.initializerDefineProperty,l=e.assertThisInitialized},function(e){r=e.cclegacy,o=e._decorator,c=e.Node,a=e.Component}],execute:function(){var u,_,s,p,m,d,f,b,h;r._RF.push({},"1d7452rkvNEYItAIUn4dxzc","opt_frame",void 0);var v=o.ccclass,y=o.property;e("opt_frame",(u=v("opt_frame"),_=y(c),s=y(c),p=y(c),u((f=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,"btn_delete",f,l(t)),i(t,"btn_edit",b,l(t)),i(t,"btn_cancel",h,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.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(c.EventType.TOUCH_END,(function(){null!=n.m_call_delete&&n.m_call_delete(n.m_item),n.close()})),this.btn_edit.on(c.EventType.TOUCH_END,(function(){null!=n.m_call_edit&&n.m_call_edit(n.m_item),n.close()})),this.btn_cancel.on(c.EventType.TOUCH_END,(function(){n.close()}))},r.close=function(){this.node.active=!1},t}(a)).prototype,"btn_delete",[_],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),b=t(d.prototype,"btn_edit",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),h=t(d.prototype,"btn_cancel",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),m=d))||m));r._RF.pop()}}}));
  85. 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()}}}));
  86. 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()}}}));
  87. System.register("chunks:///_virtual/question_select2.ts",["./rollupPluginModLoBabelHelpers.js","cc","./btn_question_item.ts"],(function(t){var e,i,n,o,s,l,r,a,u,c;return{setters:[function(t){e=t.applyDecoratedDescriptor,i=t.inheritsLoose,n=t.initializerDefineProperty,o=t.assertThisInitialized},function(t){s=t.cclegacy,l=t._decorator,r=t.Prefab,a=t.instantiate,u=t.Component},function(t){c=t.btn_question_item}],execute:function(){var _,h,p,m,d;s._RF.push({},"90b5eJMlJ1CLr0iaqkMMpBw","question_select",void 0);var f=l.ccclass,b=l.property;t("question_select",(_=f("question_select"),h=b(r),_((d=e((m=function(t){function e(){for(var e,i=arguments.length,s=new Array(i),l=0;l<i;l++)s[l]=arguments[l];return(e=t.call.apply(t,[this].concat(s))||this).m_data=null,n(e,"btn_question",d,o(e)),e.mCallBack=null,e}i(e,t);var s=e.prototype;return s.initView=function(t,e,i){this.m_data=t,this.mCallBack=i,this.node.destroyAllChildren(),this.node.removeAllChildren();for(var n=0;n<this.m_data.btn_question_list.length;n++){var o=this.m_data.btn_question_list[n],s=a(this.btn_question);s.parent=this.node,s.getComponent(c).initView(o,e.question_list[n],n,this.onItemClick.bind(this))}},s.onItemClick=function(t){null!=this.mCallBack&&this.mCallBack(t)},e}(u)).prototype,"btn_question",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),p=m))||p));s._RF.pop()}}}));
  88. 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,o,a,c,h,g,u,_;return{setters:[function(t){e=t.inheritsLoose},function(t){n=t.cclegacy,i=t._decorator,r=t.Label,s=t.UITransform,o=t.Rect,a=t.Component},function(t){c=t.ClientEvent},function(t){h=t.config},function(t){g=t.img_item},function(t){u=t.base_res},function(t){_=t.Attributes}],execute:function(){var l;n._RF.push({},"b3edb4qUMJFLqeZLV/z9emq","receive_res_item",void 0);var p=i.ccclass;i.property,t("receive_res_item",p("receive_res_item")(l=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).m_data=null,e.widget_type=h.attributes_list_type.top,e}e(n,t);var i=n.prototype;return i.initView=function(t,e){void 0===e&&(e=h.attributes_list_type.top),this.widget_type=e,this.m_data=t,this.m_data.res_name.length>0?this.getLabel().getComponent(r).string=this.m_data.res_name:this.getLabel().getComponent(r).string="无"},i.start=function(){c.on(h.Event.DragResEndOnCheck,this.DragResEndOnCheck,this)},i.onDestroy=function(){c.off(h.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 o(e.x-t.width/2,e.y-t.height/2,t.width,t.height)},i.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},i.DragResEndOnCheck=function(t,e){var n=this.getParentIsShow();if(console.log("DragResEndOnCheck",n),this.getRect().contains(t)&&n)if(e.getComponent(u).getType()===h.select_res_btn_type.SOUND_LIST);else{var i=e.getComponent(g).getData();this.m_data.res=i.url,this.m_data.res_name=i.name;var s=this.getLabel();null!=s&&(s.getComponent(r).string=this.m_data.res_name),c.dispatchEvent(h.Event.UpdateAttributesToView,_.Singleton.get_cur_att_data(),this.widget_type)}},i.getLabel=function(){return this.node.getChildByPath("Sprite/Label")},n}(a))||l);n._RF.pop()}}}));
  89. 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()}}}));
  90. 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()}}}));
  91. 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()}}}));
  92. 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()}}}));
  93. 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()}}}));
  94. 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()}}}));
  95. 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()}}}));
  96. 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()}}}));
  97. 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()}}}));
  98. 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,f,g,b,m,v,d,y,D;a._RF.push({},"3f584RFE6dAzpWe4a46gtOP","rule_view",void 0);var w=u.ccclass,z=u.property;t("rule_view",(_=w("rule_view"),p=z(l),h=z(l),f=z(l),g=z(l),_((v=e((m=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",d,r(e)),i(e,"btn_rule_close",y,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()})),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()})),this.btn_rule_close.on(l.EventType.TOUCH_END,(function(){e.close()})),this.m_page=0,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_name)},e}(c)).prototype,"btn_rule_left",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),d=e(m.prototype,"btn_rule_right",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),y=e(m.prototype,"btn_rule_close",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),D=e(m.prototype,"icon",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),b=m))||b));a._RF.pop()}}}));
  99. 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()}}}));
  100. 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 n,t,i,o,a,r,s,c,g,u,h,l,p,d,f,m,P;return{setters:[function(e){n=e.applyDecoratedDescriptor,t=e.inheritsLoose,i=e.initializerDefineProperty,o=e.assertThisInitialized},function(e){a=e.cclegacy,r=e._decorator,s=e.Node,c=e.Prefab,g=e.AudioSource,u=e.instantiate,h=e.Widget,l=e.Component},function(e){p=e.scene_page},function(e){d=e.scene_page_dir},function(e){f=e.ClientEvent},function(e){m=e.config},function(e){P=e.gameManager}],execute:function(){var _,C,v,y,S,b,A,D,w;a._RF.push({},"19284OvHGdHcYMuzfHiEAjd","scene_layer",void 0);var E=r.ccclass,N=r.property;e("scene_layer",(_=E("scene_layer"),C=N(s),v=N(c),y=N(s),_((A=n((b=function(e){function n(){for(var n,t=arguments.length,a=new Array(t),r=0;r<t;r++)a[r]=arguments[r];return n=e.call.apply(e,[this].concat(a))||this,i(n,"content",A,o(n)),i(n,"scenePagePrefab",D,o(n)),i(n,"scenePageDir",w,o(n)),n.mScenePages=[],n.mCurPage=0,n}t(n,e);var a=n.prototype;return a.start=function(){this.node.addComponent(g)},a.initScene=function(e,n){f.on(m.EventRun.NOTICE_EVENT,this.beActive.bind(this),this),this.mScenePages=e,this.initSceneDir(n),this.loadAllPage()},a.getAudioSource=function(){return null==this.node.getComponent(g)&&this.node.addComponent(g),this.node.getComponent(g)},a.beActive=function(e,n){n.type===m.event_type.play_sound&&null!=n.event_item_play_sound_data&&(this.getAudioSource().clip=P.getCacheSoundByName(n.event_item_play_sound_data.sound_res.name),this.getAudioSource().play(),this.getAudioSource().volume=1)},a.changePage=function(e){this.mCurPage=e,this.onChangeUpdatePages(),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())},a.onChangeUpdatePages=function(){for(var e=0;e<this.content.children.length;e++){this.content.children[e].active=this.mCurPage==e}},a.loadAllPage=function(){this.content.removeAllChildren();for(var e=0;e<this.mScenePages.length;e++){var n=this.mScenePages[e],t=u(this.scenePagePrefab);t.parent=this.content,t.getComponent(h).target=this.content,t.getComponent(p).initView(n)}this.changePage(0)},a.onUp=function(){var e=this,n=this.mCurPage-1;n>=0&&P.Singleton.onLaunch((function(){e.changePage(n)}))},a.onNext=function(){var e=this,n=this.mCurPage+1;n<this.mScenePages.length&&P.Singleton.onLaunch((function(){e.changePage(n)}))},a.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()},n}(l)).prototype,"content",[C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),D=n(b.prototype,"scenePagePrefab",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),w=n(b.prototype,"scenePageDir",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),S=b))||S));a._RF.pop()}}}));
  101. 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()}}}));
  102. System.register("chunks:///_virtual/scene_page.ts",["./rollupPluginModLoBabelHelpers.js","cc","./config.ts","./tools.ts","./gameManager.ts","./widget_base.ts","./clientEvent.ts"],(function(t){var e,i,n,a,s,o,r,c,l,_,u,g,h,p,f,d,b,m,w,y;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.Prefab,l=t.Widget,_=t.instantiate,u=t.Sprite,g=t.UITransform,h=t.Size,p=t.Vec3,f=t.Component},function(t){d=t.config},function(t){b=t.tools},function(t){m=t.gameManager},function(t){w=t.widget_base},function(t){y=t.ClientEvent}],execute:function(){var S,v,T,A,z,k,L,I,W,E,C,D,P,V,O,B,M;s._RF.push({},"d027c8hym1JgIO/d47b9ijJ","scene_page",void 0);var N=o.ccclass,H=o.property;t("scene_page",(S=N("scene_page"),v=H(r),T=H(r),A=H(c),z=H(c),k=H(c),L=H(c),I=H(c),S((C=e((E=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,"content",C,a(e)),n(e,"maskView",D,a(e)),n(e,"widget_click_prefab",P,a(e)),n(e,"widget_drag_prefab",V,a(e)),n(e,"widget_slide_prefab",O,a(e)),n(e,"widget_img_prefab",B,a(e)),n(e,"widget_animation_prefab",M,a(e)),e.mData=null,e.mIsMask=!1,e.mSceneAtt=null,e.mWidgetList=new Map,e}i(e,t);var s=e.prototype;return s.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.mIsMask?this.maskView.active=!0:this.maskView.active=!1,this.initViewAtt(),y.on(d.EventRun.NOTICE_EVENT,this.widgetBeActive.bind(this),this),y.on(d.EventRun.SHOW_ZHAO_BU_TONG_FINISH_STATUS,this.on_zhao_bu_tong_finish.bind(this),this)},s.onDestroy=function(){y.off(d.EventRun.SHOW_ZHAO_BU_TONG_FINISH_STATUS,this.on_zhao_bu_tong_finish.bind(this),this)},s.widgetBeActive=function(t,e){var i=this.mWidgetList.get(t);i&&i.getComponent(w).beActive(t,e)},s.on_zhao_bu_tong_finish=function(t){var e=this.mWidgetList.get(t.widget_id);if(null===e)return b.showToast("配置找茬错误!");e.getComponent(w).showZhaoButongFinishStatus()},s.initViewAtt=function(){this.mData.is_full_screen||(this.initPos(),this.initSize()),this.initBG(),this.initWidgetList()},s.initWidgetList=function(){for(var t=m.getWidgetList(this.mData).sort((function(t,e){return t.att.z-e.att.z})),e=0;e<t.length;e++){var i=t[e],n=null;switch(i.type){case d.Widget_Type_List.CLICK_TYPE:n=_(this.widget_click_prefab);break;case d.Widget_Type_List.SLIDE_TYPE:n=_(this.widget_slide_prefab);break;case d.Widget_Type_List.DRAG_TYPE:n=_(this.widget_drag_prefab);break;case d.Widget_Type_List.IMG_TYPE:n=_(this.widget_img_prefab);break;case d.Widget_Type_List.ACTION_TYPE:n=_(this.widget_animation_prefab)}var a=n.getComponent(w);null===a?console.log("error--widget_data.type:",i.type):(n.name="type"+i.type+"-id"+i.att.id,a.initView(i),n.parent=this.content,this.mWidgetList.set(i.att.id,n))}},s.initBG=function(){this.mSceneAtt.src.length>0&&b.loadUrl(this.mSceneAtt.src,this.content.getComponent(u))},s.initSize=function(){this.content.getComponent(g).contentSize=new h(this.mSceneAtt.width,this.mSceneAtt.height)},s.initPos=function(){this.content.position=new p(this.mSceneAtt.x,this.mSceneAtt.y)},e}(f)).prototype,"content",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),D=e(E.prototype,"maskView",[T],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),P=e(E.prototype,"widget_click_prefab",[A],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),V=e(E.prototype,"widget_drag_prefab",[z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),O=e(E.prototype,"widget_slide_prefab",[k],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),B=e(E.prototype,"widget_img_prefab",[L],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),M=e(E.prototype,"widget_animation_prefab",[I],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),W=E))||W));s._RF.pop()}}}));
  103. System.register("chunks:///_virtual/scene_select_list_item.ts",["./rollupPluginModLoBabelHelpers.js","cc"],(function(t){var e,n,i,s,c,l,a,o,r,_,u;return{setters:[function(t){e=t.applyDecoratedDescriptor,n=t.inheritsLoose,i=t.initializerDefineProperty,s=t.assertThisInitialized},function(t){c=t.cclegacy,l=t._decorator,a=t.Node,o=t.Label,r=t.Sprite,_=t.Color,u=t.Component}],execute:function(){var m,p,h,d,f;c._RF.push({},"8b2fb8u58BFRqFUnozzIHt+","scene_select_list_item",void 0);var b=l.ccclass,g=l.property;t("scene_select_list_item",(m=b("scene_select_list_item"),p=g(a),m((f=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,"lab_name",f,s(e)),e.m_data=null,e.m_is_select=!1,e.m_call_back=null,e.m_index=0,e}n(e,t);var c=e.prototype;return c.initView=function(t,e,n){var i=this;this.m_data=t,this.m_call_back=e,this.m_call_back=e,this.m_index=n,this.lab_name.getComponent(o).string=this.m_data.scene_diy_name,this.updatSelectStatus(),this.node.on(a.EventType.TOUCH_END,(function(){null!=i.m_call_back&&i.m_call_back(i)}))},c.getIndex=function(){return this.m_index},c.setIsSelect=function(t){this.m_is_select=t},c.updatSelectStatus=function(){this.m_is_select?this.node.getComponent(r).color=_.YELLOW:this.node.getComponent(r).color=_.GRAY},c.getSelect=function(){return this.m_is_select},c.getData=function(){return this.m_data},e}(u)).prototype,"lab_name",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),h=d))||h));c._RF.pop()}}}));
  104. System.register("chunks:///_virtual/scene_select_list.ts",["./rollupPluginModLoBabelHelpers.js","cc","./scene_select_list_item.ts","./clientEvent.ts","./config.ts"],(function(e){var t,n,i,c,s,l,r,o,a,u,_,h,p;return{setters:[function(e){t=e.applyDecoratedDescriptor,n=e.inheritsLoose,i=e.initializerDefineProperty,c=e.assertThisInitialized},function(e){s=e.cclegacy,l=e._decorator,r=e.Prefab,o=e.Node,a=e.instantiate,u=e.Component},function(e){_=e.scene_select_list_item},function(e){h=e.ClientEvent},function(e){p=e.config}],execute:function(){var d,f,g,m,S,v,b;s._RF.push({},"777d6Qs7edI0INQi+yPDeOW","scene_select_list",void 0);var y=l.ccclass,C=l.property;e("scene_select_list",(d=y("scene_select_list"),f=C(r),g=C(o),d((v=t((S=function(e){function t(){for(var t,n=arguments.length,s=new Array(n),l=0;l<n;l++)s[l]=arguments[l];return t=e.call.apply(e,[this].concat(s))||this,i(t,"scene_select_list_item_prefab",v,c(t)),i(t,"content",b,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(),h.off(p.Event.UpdateSceneList,this.onUpdateSceneList,this),h.on(p.Event.UpdateSceneList,this.onUpdateSceneList,this)},s.onUpdateSceneList=function(){var e=this.m_main.control_view.get_bag_data().content;this.cur_select_index=e.length>0?e.length-1:0,this.content.removeAllChildren();for(var t=0;t<e.length;t++){var n=e[t],i=a(this.scene_select_list_item_prefab);i.parent=this.content,i.getComponent(_).initView(n,this.onItemSelect.bind(this),t)}this.updaetSelectStatus()},s.onItemSelect=function(e){e.getSelect()||(this.cur_select_index=e.getIndex(),this.updaetSelectStatus())},s.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()}h.dispatchEvent(p.Event.UpdateEditScene)},s.getCurSelectScene=function(){return this.content.children.length<=0?null:this.content.children[this.cur_select_index].getComponent(_).getData()},s.getCurSelectSceneIndex=function(){return this.cur_select_index},t}(u)).prototype,"scene_select_list_item_prefab",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),b=t(S.prototype,"content",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),m=S))||m));s._RF.pop()}}}));
  105. 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"],(function(e){var t,a,n,_,i,s,o,u,v,r,c,d,l,p,h,k,b,g,m,w,f,y,j,z,E,x,C,q,D,T,S,U,V,I,N,A,B;return{setters:[function(e){t=e.applyDecoratedDescriptor,a=e.inheritsLoose,n=e.initializerDefineProperty,_=e.assertThisInitialized},function(e){i=e.cclegacy,s=e._decorator,o=e.Node,u=e.Prefab,v=e.Label,r=e.instantiate,c=e.Component},function(e){d=e.tools},function(e){l=e.ClientEvent},function(e){p=e.config},function(e){h=e.task_data,k=e.zhao_xi_jie_data,b=e.guo_ju_qing_data,g=e.event_item,m=e.event_item_show_scene_title,w=e.event_item_play_sound,f=e.event_item_fail_event,y=e.event_item_delay_exe_event,j=e.event_item_hide,z=e.event_item_be_event,E=e.event_item_countdown_over,x=e.event_active_event_item,C=e.event_start_event_item,q=e.event_collect_event_item,D=e.event_item_show_question_select,T=e.event_item_show_new_item,S=e.event_item_change_one_item_status,U=e.event_item_text_sound,V=e.event_item_top_view,I=e.event_item_play_ani},function(e){N=e.event_item_view},function(e){A=e.task_zhao_xi_jie},function(e){B=e.task_guo_ren_wu}],execute:function(){var H,L,O,P,F,R,Y,M,W,X,Z,G,J,K,Q,$,ee,te,ae;i._RF.push({},"cf9ebNol79CYLWs46eYZXtn","scene_task",void 0);var ne=s.ccclass,_e=s.property;e("scene_task",(H=ne("scene_task"),L=_e(o),O=_e(o),P=_e(o),F=_e(o),R=_e(u),Y=_e(o),M=_e(o),W=_e(o),H((G=t((Z=function(e){function t(){for(var t,a=arguments.length,i=new Array(a),s=0;s<a;s++)i[s]=arguments[s];return t=e.call.apply(e,[this].concat(i))||this,n(t,"btn_add_task",G,_(t)),n(t,"lab_task_title",J,_(t)),n(t,"btn_add_event",K,_(t)),n(t,"event_content",Q,_(t)),n(t,"event_item_prefab",$,_(t)),n(t,"btn_update",ee,_(t)),n(t,"task_zhao_xi_jie",te,_(t)),n(t,"task_guo_ju_qing",ae,_(t)),t.m_edit_scene=null,t.isUpdateStatus=!1,t}a(t,e);var i=t.prototype;return i.start=function(){var e=this;this.btn_add_task.on(o.EventType.TOUCH_END,(function(){d.show_add_task((function(t){e.addTask(t)}))})),this.btn_add_event.on(o.EventType.TOUCH_END,(function(){d.show_add_event((function(t,a){e.addEvent(t,a)}))})),this.btn_update.on(o.EventType.TOUCH_END,(function(){e.isUpdateStatus?d.showToast("正在刷新请稍后!"):(e.isUpdateStatus=!0,e.scheduleOnce((function(){e.UpdateEditScene(),e.isUpdateStatus=!1}),1))}))},i.initView=function(e){this.m_edit_scene=e,this.lab_task_title.getComponent(v).string="",this.UpdateEditScene(),l.on(p.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.task_zhao_xi_jie.active=!1,this.task_guo_ju_qing.active=!1;var e=this.m_edit_scene.getCurEditBaseView();if(this.event_content.removeAllChildren(),this.lab_task_title.getComponent(v).string="",null!=e){this.btn_update.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(v).string=p.task_type_map.get(t._task_data.type),this.initSceneAllEvent(),t._task_data.type){case p.task_type.da_guai:break;case p.task_type.guo_ju_qing:this.task_guo_ju_qing.active=!0,this.task_guo_ju_qing.getComponent(B).updateView(t._task_data._guo_ju_qing);break;case p.task_type.zhao_xi_jie:this.task_zhao_xi_jie.active=!0,this.task_zhao_xi_jie.getComponent(A).updateView(t._task_data._zhao_xi_jie_data)}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 a=e.event_list[t];this.addEventItemView(a.type,a)}},i.addTask=function(e){var t=this.m_edit_scene.getCurEditBaseView();if(null!=t){var a=t.getData();switch(a._task_data||(a._task_data=new h,a._task_data.type=e),this.btn_add_task.active=!1,this.btn_add_event.active=!0,e){case p.task_type.da_guai:break;case p.task_type.guo_ju_qing:null==a._task_data._guo_ju_qing&&(a._task_data._guo_ju_qing=new b),this.task_guo_ju_qing.active=!0,this.task_guo_ju_qing.getComponent(B).updateView(a._task_data._guo_ju_qing);break;case p.task_type.zhao_xi_jie:null==a._task_data._zhao_xi_jie_data&&(a._task_data._zhao_xi_jie_data=new k),this.task_zhao_xi_jie.active=!0,this.task_zhao_xi_jie.getComponent(A).updateView(a._task_data._zhao_xi_jie_data)}this.lab_task_title.getComponent(v).string=p.task_type_map.get(a._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 a=r(this.event_item_prefab);a.parent=this.event_content,a.getComponent(N).initView(e,t,this.onDeleteItem.bind(this))},i.addEvent=function(e,t){var a=this.getTaskData();if(null===a)return d.showToast("当前没有任务,可以添加事件!");var n=new g;switch(n.type=e,n.event_name=t,n.event_id=p.getNewId(),e){case p.event_type.play_ani:n.event_item_play_ani_data=new I;break;case p.event_type.top_view:n.event_item_top_view_data=new V;break;case p.event_type.text_sound:n.event_item_text_sound_data=new U;break;case p.event_type.change_one_item_status:n.event_item_change_one_item_status_data=new S;break;case p.event_type.show_new_item:n.event_item_show_new_item_data=new T;break;case p.event_type.show_question_select:n.event_item_show_question_select_data=new D;break;case p.event_type.collect_event:n.event_item_collect_event_data=new q;break;case p.event_type.start_event:n.event_item_start_event_data=new C;break;case p.event_type.active_event:n.event_item_active_event_data=new x;break;case p.event_type.countdown_over:n.event_item_countdown_over_data=new E;break;case p.event_type.be_event:n.event_item_be_event_data=new z;break;case p.event_type.hide:n.event_item_hide_data=new j;break;case p.event_type.delay_exe_event:n.event_item_delay_exe_data=new y;break;case p.event_type.fail_event:n.event_item_fail_event_data=new f;break;case p.event_type.play_sound:n.event_item_play_sound_data=new w;break;case p.event_type.show_scene_title:n.event_item_show_scene_title_data=new m}this.addEventItemView(e,n),a.event_list.push(n)},i.onDeleteItem=function(e){var t=this.getTaskData();if(null!=t)for(var a=0;a<t.event_list.length;a++){if(t.event_list[a].event_id===e.event_id){t.event_list.splice(a,1);break}}},t}(c)).prototype,"btn_add_task",[L],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),J=t(Z.prototype,"lab_task_title",[O],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),K=t(Z.prototype,"btn_add_event",[P],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),Q=t(Z.prototype,"event_content",[F],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),$=t(Z.prototype,"event_item_prefab",[R],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),ee=t(Z.prototype,"btn_update",[Y],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),te=t(Z.prototype,"task_zhao_xi_jie",[M],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),ae=t(Z.prototype,"task_guo_ju_qing",[W],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),X=Z))||X));i._RF.pop()}}}));
  106. 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,s,a,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,s=e.Node,a=e.Component},function(e){c=e.receive_res_item},function(e){_=e.tools}],execute:function(){var u,p,d,m,f,h,b;o._RF.push({},"828a7hq4vtDj5Um1aBCJuMj","scene_tips_rule_item",void 0);var y=l.ccclass,v=l.property;e("scene_tips_rule_item",(u=y("scene_tips_rule_item"),p=v(s),d=v(s),u((h=t((f=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",b,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(c).initView(this.m_data,i),this.btn_delete.off(s.EventType.TOUCH_END),this.btn_delete.on(s.EventType.TOUCH_END,(function(){null!=r.m_call_back&&_.show_dialog("确定删除此按钮?",(function(){r.m_call_back(r.m_index),r.node.destroy(),r.node.removeFromParent()}))}))},o.onDestroy=function(){this.res_node.destroy()},t}(a)).prototype,"res_node",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),b=t(f.prototype,"btn_delete",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),m=f))||m));o._RF.pop()}}}));
  107. 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()}}}));
  108. System.register("chunks:///_virtual/sceneManager.ts",["./rollupPluginModLoBabelHelpers.js","cc","./gameManager.ts","./tools.ts"],(function(e){var t,a,n,i,s,r;return{setters:[function(e){t=e.inheritsLoose},function(e){a=e.cclegacy,n=e._decorator,i=e.Component},function(e){s=e.gameManager},function(e){r=e.tools}],execute:function(){var o;a._RF.push({},"ba40460BDxA7JmQhjktZQDI","sceneManager",void 0);var g=n.ccclass;n.property,e("sceneManager",g("sceneManager")(o=function(e){function a(){for(var t,a=arguments.length,n=new Array(a),i=0;i<a;i++)n[i]=arguments[i];return(t=e.call.apply(e,[this].concat(n))||this).mSceneTask=null,t.mPageList=[],t.mCurPage=0,t.mGameManager=null,t.mSceneData=null,t}t(a,e);var n=a.prototype;return n.init=function(e){this.mGameManager=e},n.getSceneTask=function(){return this.mSceneTask},n.getSceneData=function(){return null==this.mSceneData.att?this.mSceneData.page_list[0]:this.mSceneData},n.startLevelGame=function(e){if(this.mSceneTask=e._task_data,this.mPageList=e.page_list,this.mSceneData=e,null==e._task_data)return r.showToast("场景任务没有配置!");if(this.mPageList.length<=0)throw"不可以为空";this.mGameManager.loadScene(this.mPageList,e.type),this.mGameManager.loadUi(s.getUIWidgetList(e.page_list[this.mCurPage])),this.mGameManager.loadQuestion(s.getQuestionwidgetList(e.page_list[this.mCurPage])),this.mGameManager.loadTextSound(s.getTextSoundWidgetList(e.page_list[this.mCurPage])),this.mGameManager.initTaskUi(e._task_data),this.mGameManager.initCountDownList(s.getCountDownWidgetList(e.page_list[this.mCurPage]))},a}(i))||o);a._RF.pop()}}}));
  109. 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.Sprite,l=t.assetManager,m=t.Texture2D,u=t.UITransform,_=t.Size,g=t.Toggle,p=t.ScrollView,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,D,E,F,U;s._RF.push({},"56490/uTIVDqaEBEz/p2VlG","scroll_scene",void 0);var R=o.ccclass,x=o.property;t("scroll_scene",(b=R("scroll_scene"),w=x(r),v=x(r),C=x(r),y=x(r),B=x(r),T=x(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",D,a(e)),n(e,"mask_check",E,a(e)),n(e,"mask",F,a(e)),n(e,"mask_sf",U,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 _(t.width,t.height);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(h).spriteFrame=null:l.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 _(t.width,t.height),i.getBg().getComponent(h).spriteFrame=s}}))}},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&&l.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 _(i.m_data.att.width,i.m_data.att.height),i.getBg().getComponent(h).spriteFrame=a}}))):this.m_att.id=f.getNewId(),t?(this.mask_check_node.active=!0,this.mask_check.getComponent(g).isChecked=!0):(this.mask_check.getComponent(g).isChecked=!1,this.mask_check_node.active=!1),this.mask_check.on(r.EventType.TOUCH_START,(function(){i.mask_check.getComponent(g).isChecked=!i.mask_check.getComponent(g).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&&l.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 _(e.m_data.att.width,e.m_data.att.height),e.getBg().getComponent(h).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 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.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(g).isChecked?this.mask.active=!0:this.mask.active=!1},s.stopTouch=function(){null!=this.mask_view&&(this.node.getComponent(p).enabled=!1)},s.startTouch=function(){null!=this.mask_view&&(this.node.getComponent(p).enabled=!0)},s.getContent=function(){return this.node.getComponent(p).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}}),D=e(S.prototype,"mask_check_node",[C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),E=e(S.prototype,"mask_check",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),F=e(S.prototype,"mask",[B],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),U=e(S.prototype,"mask_sf",[T],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),z=S))||z));s._RF.pop()}}}));
  110. 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()}}}));
  111. 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()}}}));
  112. 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()}}}));
  113. 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.GRAY},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()}}}));
  114. 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()}}}));
  115. 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()}}}));
  116. 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()}}}));
  117. 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,l,r,_,s,o,c,u,d;return{setters:[function(t){e=t.applyDecoratedDescriptor,i=t.inheritsLoose,n=t.initializerDefineProperty,a=t.assertThisInitialized},function(t){l=t.cclegacy,r=t._decorator,_=t.Node,s=t.Sprite,o=t.Label,c=t.Component},function(t){u=t.tools},function(t){d=t.Attributes}],execute:function(){var b,p,h,m,g,f,w,y,v,z,S,k,x;l._RF.push({},"f6747oEv9NE5582jwwbiBNE","select_task_zhao_xi_jie_item",void 0);var E=r.ccclass,T=r.property;t("select_task_zhao_xi_jie_item",(b=E("select_task_zhao_xi_jie_item"),p=T(_),h=T(_),m=T(_),g=T(_),f=T(_),b((v=e((y=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_select_widget",v,a(e)),n(e,"lab_select_widget",z,a(e)),n(e,"btn_select_res",S,a(e)),n(e,"lab_select_res",k,a(e)),n(e,"btn_delete",x,a(e)),e.m_call_back=null,e.m_data=null,e.m_index=0,e}i(e,t);var l=e.prototype;return l.initView=function(t,e,i){var n=this;this.m_data=t,this.m_call_back=e,this.m_index=i,this.btn_select_res.on(_.EventType.TOUCH_END,(function(){u.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(_.EventType.TOUCH_END,(function(){var t=d.Singleton.get_cur_scene_all_only_widget();if(t.length<=0)return u.showToast("当前场景没有添控件!");u.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(_.EventType.TOUCH_END,(function(){null!=n.m_call_back&&n.m_call_back(n)})),this.updateShowStatus()},l.getIndex=function(){return this.m_index},l.updateShowStatus=function(){u.loadUrl(this.m_data.res,this.node.getComponent(s)),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:"选择资源"},e}(c)).prototype,"btn_select_widget",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),z=e(y.prototype,"lab_select_widget",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),S=e(y.prototype,"btn_select_res",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),k=e(y.prototype,"lab_select_res",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),x=e(y.prototype,"btn_delete",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),w=y))||w));l._RF.pop()}}}));
  118. 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()}}}));
  119. 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()}}}));
  120. 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()}}}));
  121. System.register("chunks:///_virtual/select_widget_list.ts",["./rollupPluginModLoBabelHelpers.js","cc","./widget_item.ts"],(function(t){var e,i,n,r,l,o,c,a,s,u,p;return{setters:[function(t){e=t.applyDecoratedDescriptor,i=t.inheritsLoose,n=t.initializerDefineProperty,r=t.assertThisInitialized},function(t){l=t.cclegacy,o=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;l._RF.push({},"9834bh3gEdKYL8GGl9FSBQO","select_widget_list",void 0);var w=o.ccclass,k=o.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,l=new Array(i),o=0;o<i;o++)l[o]=arguments[o];return e=t.call.apply(t,[this].concat(l))||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 l=e.prototype;return l.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 l=t[r],o=s(this.item_prefab);o.parent=this.content,o.getComponent(p).initView(l,this.onItemClick.bind(this),i)}this.btn_close.on(c.EventType.TOUCH_END,(function(){n.close()}))},l.onItemClick=function(t){null!=this.call_back&&this.call_back(t),this.close()},l.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));l._RF.pop()}}}));
  122. 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,h,m,f,_,g,y;r._RF.push({},"0e200K2W1hM65S/ybIfXmw5","shouji_item",void 0);var v=o.ccclass,D=o.property;t("shouji_item",(p=v("shouji_item"),h=D(s),m=D(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_name)},r.initAllTipView=function(t){this.mData=t},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",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),y=e(_.prototype,"icon",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),f=_))||f));r._RF.pop()}}}));
  123. 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()}}}));
  124. 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()}}}));
  125. 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()}}}));
  126. 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()}}}));
  127. 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()}}}));
  128. 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()}}}));
  129. 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()}}}));
  130. 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,v,y,m,C,E,T,S,D;l._RF.push({},"cab00cCfqlM34LocWEv1+bE","show_widget_list",void 0);var z=r.ccclass,U=r.property;t("show_widget_list",(f=z("show_widget_list"),g=U(a),b=U(a),d=U(c),w=U(a),v=U(a),f((C=e((m=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",S,o(e)),i(e,"btn_hide_all",D,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).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(m.prototype,"btn_close",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),T=e(m.prototype,"item_prefab",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),S=e(m.prototype,"btn_show_all",[w],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),D=e(m.prototype,"btn_hide_all",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),y=m))||y));l._RF.pop()}}}));
  131. 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,o,s,u,h,l,g,_,c,d,p,f;return{setters:[function(t){i=t.applyDecoratedDescriptor,e=t.inheritsLoose,n=t.initializerDefineProperty,r=t.assertThisInitialized},function(t){a=t.cclegacy,o=t._decorator,s=t.Node,u=t.EditBox,h=t.Label,l=t.UITransform,g=t.Rect,_=t.Component},function(t){c=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,I,R,k,x,E,z,S,O;a._RF.push({},"82161I66f5M/IN7KwfFVcmZ","single_ui_widget_info",void 0);var T=o.ccclass,L=o.property;t("single_ui_widget_info",(m=T("single_ui_widget_info"),b=L(s),y=L(s),w=L(s),C=L(s),v=L(s),D=L(s),m((k=i((R=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,"ui_x",k,r(i)),n(i,"ui_y",x,r(i)),n(i,"ui_width",E,r(i)),n(i,"ui_height",z,r(i)),n(i,"ui_res",S,r(i)),n(i,"ui_lab_res",O,r(i)),i.call_back=null,i.m_data=null,i}e(i,t);var a=i.prototype;return 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),c.on(d.Event.DragResEndOnCheck,this.DragResEndOnCheck,this)},a.onDestroy=function(){c.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 g(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}(_)).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}}),E=i(R.prototype,"ui_width",[w],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),z=i(R.prototype,"ui_height",[C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),S=i(R.prototype,"ui_res",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),O=i(R.prototype,"ui_lab_res",[D],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),I=R))||I));a._RF.pop()}}}));
  132. System.register("chunks:///_virtual/slide_dir_select_item.ts",["./rollupPluginModLoBabelHelpers.js","cc","./config.ts"],(function(e){var i,t,n,r,l,o,a,c,s,_;return{setters:[function(e){i=e.applyDecoratedDescriptor,t=e.inheritsLoose,n=e.initializerDefineProperty,r=e.assertThisInitialized},function(e){l=e.cclegacy,o=e._decorator,a=e.Node,c=e.Label,s=e.Component},function(e){_=e.config}],execute:function(){var p,u,d,m,f;l._RF.push({},"89dadrQ6apEX5oQWyI2GA6P","slide_dir_select_item",void 0);var y=o.ccclass,b=o.property;e("slide_dir_select_item",(p=y("slide_dir_select_item"),u=b(a),p((f=i((m=function(e){function i(){for(var i,t=arguments.length,l=new Array(t),o=0;o<t;o++)l[o]=arguments[o];return i=e.call.apply(e,[this].concat(l))||this,n(i,"lab_name",f,r(i)),i.call_back=null,i.m_dir=0,i}return t(i,e),i.prototype.initView=function(e,i){var t=this;this.call_back=i,this.m_dir=e,this.lab_name.getComponent(c).string=_.slide_type_map.get(e),this.node.on(a.EventType.TOUCH_END,(function(){null!=t.call_back&&(console.log("dir",e,_.slide_type_map.get(t.m_dir)),t.call_back(t.m_dir))}))},i}(s)).prototype,"lab_name",[u],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),d=m))||d));l._RF.pop()}}}));
  133. 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()}}}));
  134. 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()}}}));
  135. 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()}}}));
  136. 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()}}}));
  137. System.register("chunks:///_virtual/sound_text_content.ts",["./rollupPluginModLoBabelHelpers.js","cc","./clientEvent.ts","./config.ts"],(function(t){var n,e,o,i,u,s,d,r,c,a,l,p,h,f;return{setters:[function(t){n=t.applyDecoratedDescriptor,e=t.inheritsLoose,o=t.initializerDefineProperty,i=t.assertThisInitialized},function(t){u=t.cclegacy,s=t._decorator,d=t.Node,r=t.AudioSource,c=t.Label,a=t.Vec3,l=t.AudioClip,p=t.Component},function(t){h=t.ClientEvent},function(t){f=t.config}],execute:function(){var _,m,E,g,v,y,T;u._RF.push({},"c641cbNCTpB2LGwCq/W5l6g","sound_text_content",void 0);var A=s.ccclass,D=s.property;t("sound_text_content",(_=A("sound_text_content"),m=D(d),E=D(d),_((y=n((v=function(t){function n(){for(var n,e=arguments.length,u=new Array(e),s=0;s<e;s++)u[s]=arguments[s];return n=t.call.apply(t,[this].concat(u))||this,o(n,"lab_text",y,i(n)),o(n,"item_node",T,i(n)),n.m_audio_clip=null,n.mData=null,n.mWidgetId=0,n}e(n,t);var u=n.prototype;return u.start=function(){this.node.addComponent(r)},u.show=function(t,n,e){var o=this;this.node.on(d.EventType.TOUCH_START,(function(){o.onAudioEnded()})),this.mWidgetId=t,this.mData=n,this.m_audio_clip=e,this.lab_text.getComponent(c).string=this.mData.text,this.item_node.position=new a(this.item_node.position.x,this.mData.pos_y),this.onPlaySound()},u.getAudioSource=function(){return null==this.node.getComponent(r)&&this.node.addComponent(r),this.node.getComponent(r)},u.onPlaySound=function(){this.getAudioSource().stop(),this.node.off(r.EventType.STARTED),this.node.off(r.EventType.ENDED),this.node.on(r.EventType.STARTED,this.onAudioStarted,this),this.node.on(r.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)},u.onAudioStarted=function(){},u.onAudioEnded=function(){this.node.off(r.EventType.STARTED),this.node.off(r.EventType.ENDED),this.node.active=!1,h.dispatchEvent(f.EventRun.WIDGET_FINISH,this.mWidgetId)},n}(p)).prototype,"lab_text",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),T=n(v.prototype,"item_node",[E],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),g=v))||g));u._RF.pop()}}}));
  138. System.register("chunks:///_virtual/task_guo_ren_wu.ts",["./rollupPluginModLoBabelHelpers.js","cc","./tools.ts","./Attributes.ts"],(function(t){var e,n,i,r,a,o,s,u,_,l,c;return{setters:[function(t){e=t.applyDecoratedDescriptor,n=t.inheritsLoose,i=t.initializerDefineProperty,r=t.assertThisInitialized},function(t){a=t.cclegacy,o=t._decorator,s=t.Node,u=t.Label,_=t.Component},function(t){l=t.tools},function(t){c=t.Attributes}],execute:function(){var p,d,f,g,b,v,h;a._RF.push({},"f754emrBo5NLpQOzWaYpT15","task_guo_ren_wu",void 0);var y=o.ccclass,m=o.property;t("task_guo_ren_wu",(p=y("task_guo_ren_wu"),d=m(s),f=m(s),p((v=e((b=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,i(e,"btn_setting",v,r(e)),i(e,"lab_event_id",h,r(e)),e.m_data=null,e}n(e,t);var a=e.prototype;return a.updateView=function(t){var e=this;this.m_data=t,this.btn_setting.off(s.EventType.TOUCH_END),this.btn_setting.on(s.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.updateStatus()},a.updateStatus=function(){this.lab_event_id.getComponent(u).string=-1!=this.m_data.binding_event_id?"事件id:"+this.m_data.binding_event_id:"设置剧情的规则的触发条件"},e}(_)).prototype,"btn_setting",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),h=e(b.prototype,"lab_event_id",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),g=b))||g));a._RF.pop()}}}));
  139. System.register("chunks:///_virtual/task_zhao_xi_jie.ts",["./rollupPluginModLoBabelHelpers.js","cc","./tools.ts","./Attributes.ts"],(function(t){var e,i,n,s,a,_,o,r,l,u,c;return{setters:[function(t){e=t.applyDecoratedDescriptor,i=t.inheritsLoose,n=t.initializerDefineProperty,s=t.assertThisInitialized},function(t){a=t.cclegacy,_=t._decorator,o=t.Node,r=t.Label,l=t.Component},function(t){u=t.tools},function(t){c=t.Attributes}],execute:function(){var f,h,p,v,d,b,g,y,m;a._RF.push({},"d13a7FHqj5FzppkqHJ9YNCM","task_zhao_xi_jie",void 0);var z=_.ccclass,E=_.property;t("task_zhao_xi_jie",(f=z("task_zhao_xi_jie"),h=E(o),p=E(o),v=E(o),f((g=e((b=function(t){function e(){for(var e,i=arguments.length,a=new Array(i),_=0;_<i;_++)a[_]=arguments[_];return e=t.call.apply(t,[this].concat(a))||this,n(e,"btn_setting",g,s(e)),n(e,"btn_setting_finish_event",y,s(e)),n(e,"lab_setting_finish_event",m,s(e)),e.m_data=null,e}i(e,t);var a=e.prototype;return a.updateView=function(t){var e=this;this.m_data=t,this.btn_setting.off(o.EventType.TOUCH_END),this.btn_setting.on(o.EventType.TOUCH_END,(function(){u.select_task_zhao_xi_jie(e.m_data)})),this.btn_setting_finish_event.off(o.EventType.TOUCH_END),this.btn_setting_finish_event.on(o.EventType.TOUCH_END,(function(){var t=c.Singleton.getEventList();u.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_setting_finish_event.getComponent(r).string=-1==this.m_data.finish_event_id?"暂未设置完成事件":"事件id:"+this.m_data.finish_event_id},e}(l)).prototype,"btn_setting",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),y=e(b.prototype,"btn_setting_finish_event",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),m=e(b.prototype,"lab_setting_finish_event",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),d=b))||d));a._RF.pop()}}}));
  140. System.register("chunks:///_virtual/taskServce.ts",["cc","./data.ts","./config.ts","./tools.ts","./clientEvent.ts","./gameManager.ts"],(function(e){var t,n,i,_,a,v,s,c,d;return{setters:[function(e){t=e.cclegacy,n=e._decorator},function(e){i=e.event_item,_=e.event_collect_event_item,a=e.event_active_event_item},function(e){v=e.config},function(e){s=e.tools},function(e){c=e.ClientEvent},function(e){d=e.gameManager}],execute:function(){var l,r;t._RF.push({},"01bf2hPiVdO1JXQfuIuX0EL","taskServce",void 0);var o=n.ccclass;n.property,e("taskServce",o("taskServce")(((r=function(){function e(){}return e.initTask=function(t){if(e.clearTask(),e.mTaskData=t,null==e.mTaskData)return s.showToast("当前场景没有任务");switch(this.initAllBeEventListen(),e.mTaskData.type){case v.task_type.zhao_xi_jie:e.initZhaoXiJieTask();break;case v.task_type.guo_ju_qing:e.guo_ju_qing_binding_event_id=e.mTaskData._guo_ju_qing.binding_event_id;break;case v.task_type.da_guai:}},e.clearTask=function(){e.mTaskData=null,e.exeWidgeTaskDic.clear(),e.taskZhaoXiJie.clear(),e.finishZhaoXiJie.clear(),e.cur_collect_event=null,e.guo_ju_qing_binding_event_id=-1},e.initZhaoXiJieTask=function(){if(e.mTaskData.type==v.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 n=e.mTaskData._zhao_xi_jie_data.widget_id_list[t];e.taskZhaoXiJie.set(n.widget_id,n)}},e.startFirstEvent=function(){if(null==e.mTaskData)return s.showToast("当前场景没有任务");var t=this.getStartEvent();if(null==t)return s.showToast("第一个任务不可以为空,编辑错误!");var n=this.getEventById(t.binding_event_id);e.DistributedEvent(n)},e.DistributedEvent=function(t){var n=this;switch(t.event_id===e.guo_ju_qing_binding_event_id&&(e.guo_ju_qing_binding_event_id=-1,c.dispatchEvent(v.EventRun.ON_SHOW_RULE_BTN)),t.type){case v.event_type.play_ani:c.dispatchEvent(v.EventRun.NOTICE_EVENT,t.event_item_play_ani_data.binding_widget_id,t);break;case v.event_type.top_view:c.dispatchEvent(v.EventRun.NOTICE_EVENT,t.event_item_top_view_data.binding_ui_id,t);break;case v.event_type.text_sound:c.dispatchEvent(v.EventRun.NOTICE_EVENT,t.event_item_text_sound_data.binding_widget_id,t);break;case v.event_type.change_one_item_status:c.dispatchEvent(v.EventRun.NOTICE_EVENT,t.event_item_change_one_item_status_data.binding_widget_id,t);break;case v.event_type.show_new_item:c.dispatchEvent(v.EventRun.NOTICE_EVENT,t.event_item_show_new_item_data.binding_widget_id,t);break;case v.event_type.show_question_select:c.dispatchEvent(v.EventRun.NOTICE_EVENT,t.event_item_show_question_select_data.binding_widget_id,t);break;case v.event_type.collect_event:e.cur_collect_event=new i,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 _;for(var l=0;l<t.event_item_collect_event_data.event_id_list.length;l++){var r=t.event_item_collect_event_data.event_id_list[l];e.cur_collect_event.event_item_collect_event_data.event_id_list.push(r)}for(var o=0;o<e.cur_collect_event.event_item_collect_event_data.event_id_list.length;o++){var u=e.cur_collect_event.event_item_collect_event_data.event_id_list[o],g=e.getEventById(u).event_item_be_event_data.binding_widget_id,E=new i,h=new a;h.binding_widget_id=g,E.type=v.event_type.active_event,E.event_item_active_event_data=h,e.DistributedEvent(E),console.log("event_data--",E)}break;case v.event_type.active_event:c.dispatchEvent(v.EventRun.NOTICE_EVENT,t.event_item_active_event_data.binding_widget_id,t);break;case v.event_type.countdown_over:break;case v.event_type.be_event:c.dispatchEvent(v.EventRun.NOTICE_EVENT,t.event_item_be_event_data.binding_widget_id,t);break;case v.event_type.hide:if(null==t.event_item_hide_data)return s.showToast("隐藏事件配置错误~");c.dispatchEvent(v.EventRun.NOTICE_EVENT,t.event_item_hide_data.binding_widget_id,t);break;case v.event_type.delay_exe_event:if(console.log("delay_exe_event"),null==t.event_item_delay_exe_data)return s.showToast("延迟执行事件配置错误");var f=t.event_item_delay_exe_data.delay_time,T=t.event_item_delay_exe_data.binding_event_id;d.Singleton.scheduleOnce((function(){var t=n.getEventById(T);e.DistributedEvent(t)}),f);break;case v.event_type.fail_event:console.log("play_sound --- 1"),c.dispatchEvent(v.EventRun.NOTICE_EVENT,-11,t);break;case v.event_type.play_sound:case v.event_type.show_scene_title:c.dispatchEvent(v.EventRun.NOTICE_EVENT,-11,t)}e.exeNextDelayEvent(t)},e.getEventById=function(t){for(var n=0;n<e.mTaskData.event_list.length;n++){var i=e.mTaskData.event_list[n];if(i.event_id===t)return i}return null},e.initAllBeEventListen=function(){for(var t=0;t<e.mTaskData.event_list.length;t++){var n=e.mTaskData.event_list[t];n.type===v.event_type.be_event&&this.pushWidgetEvent(n.event_item_be_event_data.binding_widget_id,n)}},e.getStartEvent=function(){for(var t=0;t<e.mTaskData.event_list.length;t++){var n=e.mTaskData.event_list[t];if(n.type===v.event_type.start_event)return n.event_item_start_event_data}return null},e.pushWidgetEvent=function(e,t){this.exeWidgeTaskDic.set(e,t)},e.onWidgetFailEvent=function(t){var n=this.exeWidgeTaskDic.get(t);if(null!=n){if(n.fail.is_restart)return d.Singleton.reStartGame();if(n.fail.is_relife)return d.Singleton.reLife();var i=n.success.trigger_event_id;if(-1!=i){var _=this.getEventById(i);e.DistributedEvent(_)}}},e.onWidgetFinishEvent=function(t){var n=this.exeWidgeTaskDic.get(t);if(null!=e.cur_collect_event&&null!=n){var i=e.cur_collect_event.event_item_collect_event_data.event_id_list.indexOf(n.event_id);if(-1!=i&&e.cur_collect_event.event_item_collect_event_data.event_id_list.splice(i,1),e.cur_collect_event.event_item_collect_event_data.event_id_list.length<=0){c.dispatchEvent(v.EventRun.ON_WIDGET_FINISH_COLLECT_EVENT,e.cur_collect_event.event_id);var _=e.getEventById(e.cur_collect_event.event_id);-1!=_.success.trigger_event_id&&e.extEventByEventId(_.success.trigger_event_id),console.log("ON_WIDGET_FINISH_COLLECT_EVENT event",_)}}var a=e.exeNextEvent(n);switch(console.log("onWidgetFinishEvent",a,n),e.mTaskData.type){case v.task_type.zhao_xi_jie:var s=e.taskZhaoXiJie.get(t);if(null==s)return;e.finishZhaoXiJie.set(t,!0),c.dispatchEvent(v.EventRun.SHOW_ZHAO_BU_TONG_FINISH_STATUS,s),e.checkFinishZhaoXiJieTask();break;case v.task_type.guo_ju_qing:case v.task_type.da_guai:}},e.checkFinishZhaoXiJieTask=function(){for(var t=!0,n=0;n<e.mTaskData._zhao_xi_jie_data.widget_id_list.length;n++){var i=e.mTaskData._zhao_xi_jie_data.widget_id_list[n];if(!e.finishZhaoXiJie.get(i.widget_id)){t=!1;break}}if(t){var _=e.mTaskData._zhao_xi_jie_data.finish_event_id;if(-1==_)return s.showToast("未设置全部找完任务的下一个事件!");e.DistributedEvent(e.getEventById(_))}},e.exeNextEvent=function(t){var n=-1;if(null!=t){if(t.success.is_finish_game)return d.Singleton.gameOver();if(t.success.is_next_scene)return d.Singleton.nextScene();if(-1!=(n=t.success.trigger_event_id)){var i=this.getEventById(n);e.DistributedEvent(i)}}return n},e.extEventByEventId=function(t){if(-1!==t){var n=e.getEventById(t);if(null==n)return s.showToast("事件错误"+t);e.DistributedEvent(n)}},e.exeNextDelayEvent=function(t){if(null!=t){if(t.success.is_finish_game)return d.Singleton.gameOver();if(t.success.is_next_scene)return d.Singleton.nextScene();var n=t.success.trigger_event_id;if(-1!=n){var i=this.getEventById(n);if(null===i)return s.showToast("配置延迟调用错误-"+n);i.type==v.event_type.delay_exe_event&&e.DistributedEvent(i)}}},e}()).mTaskData=null,r.exeWidgeTaskDic=new Map,r.taskZhaoXiJie=new Map,r.finishZhaoXiJie=new Map,r.cur_collect_event=null,r.guo_ju_qing_binding_event_id=-1,l=r))||l);t._RF.pop()}}}));
  141. System.register("chunks:///_virtual/test.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()}}}));
  142. 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()}}}));
  143. System.register("chunks:///_virtual/tip_type_all.ts",["./rollupPluginModLoBabelHelpers.js","cc","./shouji_item.ts"],(function(t){var e,i,n,r,a,l,o,c,p,s,u;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,p=t.instantiate,s=t.Component},function(t){u=t.shouji_item}],execute:function(){var h,f,m,_,b,g,y,d,v;a._RF.push({},"9b29bamDRBD5bWzPi5HrHWW","tip_type_all",void 0);var w=l.ccclass,D=l.property;t("tip_type_all",(h=w("tip_type_all"),f=D(o),m=D(c),_=D(o),h((y=e((g=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",y,r(e)),n(e,"itemPrefab",d,r(e)),e.mData=null,n(e,"btn_tip",v,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=p(this.itemPrefab);a.parent=this.content,a.getComponent(u).initAllTipView(r)}this.btn_tip.on(o.EventType.TOUCH_END,(function(){null!=i.mCallBack&&i.mCallBack()}))},a.showFinishIcon=function(t){for(var e=0;e<this.content.children.length;e++){var i=this.content.children[e];i.getComponent(u).getData().widget_id===t&&i.getComponent(u).showTipIcon()}},e}(s)).prototype,"content",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),d=e(g.prototype,"itemPrefab",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),v=e(g.prototype,"btn_tip",[_],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),b=g))||b));a._RF.pop()}}}));
  144. System.register("chunks:///_virtual/tip_type_single.ts",["./rollupPluginModLoBabelHelpers.js","cc","./shouji_item.ts"],(function(t){var e,i,n,l,r,c,o,a,s,u,h;return{setters:[function(t){e=t.applyDecoratedDescriptor,i=t.inheritsLoose,n=t.initializerDefineProperty,l=t.assertThisInitialized},function(t){r=t.cclegacy,c=t._decorator,o=t.Node,a=t.Prefab,s=t.instantiate,u=t.Component},function(t){h=t.shouji_item}],execute:function(){var p,m,f,_,g,b,d,v,C;r._RF.push({},"1f6547qE8tPp41jr0k6SJ+g","tip_type_single",void 0);var I=c.ccclass,y=c.property;t("tip_type_single",(p=I("tip_type_single"),m=y(o),f=y(a),_=y(o),p((d=e((b=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",d,l(e)),n(e,"itemPrefab",v,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 r=e.prototype;return r.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 r=this.mData.widget_id_list[l],c=s(this.itemPrefab);c.parent=this.content,c.getComponent(h).initSingleTipView(r,this.onItemClick.bind(this))}this.btn_tip.on(o.EventType.TOUCH_END,(function(){null!=n.mCallBack&&n.mCallBack(n.curSelectItem)}))},r.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()}},r.allItemUnSelect=function(){for(var t=0;t<this.content.children.length;t++){this.content.children[t].getComponent(h).unSelect()}},r.hideTipBtn=function(){this.btn_tip.active=!1,null!=this.curSelectItem&&(this.curSelectItem.unSelect(),this.curSelectItem=null)},r.onItemClick=function(t){this.allItemUnSelect(),t.onSelect(),this.curSelectItem=t,this.btn_tip.active=!0,null!=this.mItemClick&&this.mItemClick()},e}(u)).prototype,"content",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),v=e(b.prototype,"itemPrefab",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),C=e(b.prototype,"btn_tip",[_],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),g=b))||g));r._RF.pop()}}}));
  145. System.register("chunks:///_virtual/tips_view.ts",["./rollupPluginModLoBabelHelpers.js","cc","./gameManager.ts"],(function(t){var e,i,n,r,a,s,o,c,p,l;return{setters:[function(t){e=t.applyDecoratedDescriptor,i=t.inheritsLoose,n=t.initializerDefineProperty,r=t.assertThisInitialized},function(t){a=t.cclegacy,s=t._decorator,o=t.Node,c=t.Sprite,p=t.Component},function(t){l=t.gameManager}],execute:function(){var u,h,_,v,b,w,m,f,g,y,C,d,D;a._RF.push({},"6dbb69UocxDAKdr/hBC6zpK","tips_view",void 0);var F=s.ccclass,T=s.property;t("tips_view",(u=F("tips_view"),h=T(o),_=T(o),v=T(o),b=T(o),w=T(o),u((g=e((f=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_tips",g,r(e)),n(e,"btn_answer",y,r(e)),n(e,"btn_close",C,r(e)),n(e,"icon",d,r(e)),n(e,"text_view",D,r(e)),e.mData=null,e}i(e,t);var a=e.prototype;return a.initView=function(t){var e=this;this.mData=t,this.btn_tips.on(o.EventType.TOUCH_END,(function(){e.showTips()})),this.btn_answer.on(o.EventType.TOUCH_END,(function(){e.showAnswer()})),this.btn_close.on(o.EventType.TOUCH_END,(function(){null!=e.icon.getComponent(c).spriteFrame?(e.icon.getComponent(c).spriteFrame=null,e.show()):e.close()})),this.text_view.active=!1},a.show=function(){this.text_view.active=!1,this.btn_answer.active=!0,this.btn_tips.active=!0,this.node.active=!0},a.close=function(){this.node.active=!1},a.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_name)},a.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_name)},a.showFindRuleTips=function(t){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_name)},e}(p)).prototype,"btn_tips",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),y=e(f.prototype,"btn_answer",[_],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),C=e(f.prototype,"btn_close",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),d=e(f.prototype,"icon",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),D=e(f.prototype,"text_view",[w],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),m=f))||m));a._RF.pop()}}}));
  146. 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()}}}));
  147. 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"],(function(e){var n,t,o,a,i,s,_,c,l,d,u,r,f,p,v,g,w,h,m,b,C,k,y,x,z,T,F,R,V,j,D;return{setters:[function(e){n=e.cclegacy,t=e.resources,o=e.Prefab,a=e.instantiate,i=e.assetManager,s=e.Texture2D,_=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){v=e.add_event},function(e){g=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){z=e.select_res_list},function(e){T=e.select_task_zhao_xi_jie},function(e){F=e.show_select_z_index},function(e){R=e.game_run},function(e){V=e.config},function(e){j=e.edit_event},function(e){D=e.select_sound_list}],execute:function(){n._RF.push({},"712395VduJK+IROvRYhGxKk","tools",void 0);e("tools",function(){function e(){}return e.show_dialog=function(e,n,i){void 0===e&&(e="是否确定?"),void 0===i&&(i=null),t.load("prefab/dialog_view",o,(function(t,o){var s=a(o);s.parent=c.g_canvas.node,s.getComponent(u).show(e,n,i)}))},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_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_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(v).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(g).show(e)}))},e.show_add_animation=function(e,n){t.load("prefab/add_animation",o,(function(t,o){var i=a(o);i.parent=c.g_canvas.node,i.getComponent(w).show(e,n)}))},e.show_select_widget_list=function(e,n,i){void 0===i&&(i=-1),t.load("prefab/select_widget_list",o,(function(t,o){var s=a(o);s.parent=c.g_canvas.node,s.getComponent(h).show(e,n,i)}))},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,i){void 0===i&&(i=-1),t.load("prefab/select_animation",o,(function(t,o){var s=a(o);s.parent=c.g_canvas.node,s.getComponent(m).show(e,n,i)}))},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 i=a(o);i.parent=c.g_canvas.node,i.getComponent(k).show(e,n)}))},e.show_select_evele_list=function(e,n){t.load("prefab/show_select_evele_list",o,(function(t,o){var i=a(o);i.parent=c.g_canvas.node,i.getComponent(y).show(e,n)}))},e.select_collect_event=function(e,n,i,s){t.load("prefab/ui/select_collect_event",o,(function(t,o){var _=a(o);_.parent=c.g_canvas.node,_.getComponent(x).show(e,n,i,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(z).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(D).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(T).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(F).show(e)}))},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(F).showDir(e)}))},e.loadUrl=function(e,n){if(e.length<=0)return null;i.loadRemote(e,(function(e,t){if(!e&&t){var o=new s;o.image=t;var a=new _;a.texture=o,n.spriteFrame=a}}))},e.game_run=function(){t.load("prefab/run/game_run",o,(function(e,n){var t=a(n);t.parent=c.g_canvas.node,t.getComponent(R).run()}))},e.isWidgetType=function(e){return e!=V.Widget_Type_List.TEXT_SOUND},e.show_edit_event=function(e,n,i){t.load("prefab/edit_event",o,(function(t,o){var s=a(o);s.parent=c.g_canvas.node,s.getComponent(j).show(e,n,i)}))},e}());n._RF.pop()}}}));
  148. System.register("chunks:///_virtual/top_layer.ts",["./rollupPluginModLoBabelHelpers.js","cc","./clientEvent.ts","./config.ts","./fail_ani.ts","./tools.ts","./sound_text_content.ts","./gameManager.ts","./question_select2.ts","./rule_view.ts","./tips_view.ts"],(function(t){var e,n,i,o,s,u,a,l,r,c,_,p,f,h,d,v,m,g,w,b;return{setters:[function(t){e=t.applyDecoratedDescriptor,n=t.inheritsLoose,i=t.initializerDefineProperty,o=t.assertThisInitialized},function(t){s=t.cclegacy,u=t._decorator,a=t.Node,l=t.Prefab,r=t.instantiate,c=t.Vec3,_=t.Component},function(t){p=t.ClientEvent},function(t){f=t.config},function(t){h=t.fail_ani},function(t){d=t.tools},function(t){v=t.sound_text_content},function(t){m=t.gameManager},function(t){g=t.question_select},function(t){w=t.rule_view},function(t){b=t.tips_view}],execute:function(){var y,S,Q,T,x,L,C,E,q,z,R,M,A,D,F;s._RF.push({},"a444ftlpYhADY7mt3OeYSEa","top_layer",void 0);var I=u.ccclass,N=u.property;t("top_layer",(y=I("top_layer"),S=N(a),Q=N(a),T=N(l),x=N(a),L=N(a),C=N(a),y((z=e((q=function(t){function e(){for(var e,n=arguments.length,s=new Array(n),u=0;u<n;u++)s[u]=arguments[u];return e=t.call.apply(t,[this].concat(s))||this,i(e,"fail_ani_view",z,o(e)),i(e,"sound_text_content",R,o(e)),i(e,"question_select_prefab",M,o(e)),i(e,"question_content",A,o(e)),i(e,"rule_view",D,o(e)),i(e,"tips_view",F,o(e)),e.mTextSoundList=new Map,e.mQuestionList=new Map,e.mQuestionSelect=null,e}n(e,t);var s=e.prototype;return s.start=function(){this.initTop()},s.initTop=function(){p.off(f.EventRun.NOTICE_EVENT,this.beActive.bind(this),this),p.on(f.EventRun.NOTICE_EVENT,this.beActive.bind(this),this)},s.initQuestionList=function(t){this.mQuestionList.clear();for(var e=0;e<t.length;e++){var n=t[e];this.mQuestionList.set(n.att.id,n)}},s.initTextSoundLlist=function(t){this.mTextSoundList.clear();for(var e=0;e<t.length;e++){var n=t[e];this.mTextSoundList.set(n.att.id,n)}},s.beActive=function(t,e){if(e.type===f.event_type.fail_event)this.fail_ani_view.getComponent(h).Play();else if(e.type===f.event_type.text_sound){console.log("调用文字和音效");var n=this.mTextSoundList.get(t);n?(this.sound_text_content.active=!0,this.sound_text_content.getComponent(v).show(t,n.att.text_sound_data,m.getCacheSoundByName(n.att.text_sound_data.sound_data.name))):d.showToast("配置音效和文字错误!")}else if(e.type===f.event_type.show_question_select){var i=this.mQuestionList.get(t);i&&null==this.mQuestionSelect&&this.addQuestionSelect(i,e.event_item_show_question_select_data)}else if(e.type===f.event_type.hide){console.log("hide widgetId==",t,this.mQuestionList),this.mQuestionList.get(t)&&null!=this.mQuestionSelect&&(this.mQuestionSelect.node.removeFromParent(),this.mQuestionSelect=null)}},s.addQuestionSelect=function(t,e){var n=r(this.question_select_prefab);n.parent=this.question_content,n.position=new c(t.att.x,t.att.y),this.mQuestionSelect=n.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(b).show()},s.showRule=function(){this.rule_view.getComponent(w).show()},s.showFindRuleTips=function(){var t=m.Singleton.getSceneManager().getSceneData();this.tips_view.getComponent(b).showFindRuleTips(t.att.scene_rule_tips_data.rule_find_tips)},s.initRuleAndTips=function(){var t=m.Singleton.getSceneManager().getSceneData();if(t.att.scene_rule_tips_data.rule_list.length<=0)return d.showToast("过剧情的规则资源没有设置!");this.rule_view.getComponent(w).initView(t.att.scene_rule_tips_data.rule_list),this.tips_view.getComponent(b).initView(t.att.scene_rule_tips_data.tips_data)},e}(_)).prototype,"fail_ani_view",[S],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),R=e(q.prototype,"sound_text_content",[Q],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),M=e(q.prototype,"question_select_prefab",[T],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),A=e(q.prototype,"question_content",[x],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),D=e(q.prototype,"rule_view",[L],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),F=e(q.prototype,"tips_view",[C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),E=q))||E));s._RF.pop()}}}));
  149. 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()}}}));
  150. 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()}}}));
  151. 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()}}}));
  152. 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_name);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_name),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_name),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()}}}));
  153. 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,m,u,l,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,m=t.Sprite},function(t){u=t.ui_base},function(t){l=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 l.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()):l.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()):l.showToast("没有添加多页")})),this.btn_sure.on(c.EventType.TOUCH_END,(function(){t.m_page==t.mInteractPageData.answer?(t.onFinishEvent(),l.showToast("成功")):(t.onFialEvent(),l.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(m).spriteFrame=p.getCacheSpriteFrameByName(t.res_name)},e}(u)).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()}}}));
  154. 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,a,s,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,a=e.UITransform,s=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),_=x(u),S=x(u),d=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(a).setContentSize(new s(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_name),this.puzzle2.getComponent(c).spriteFrame=g.getCacheSpriteFrameByName(this.mInterctPuzzle.puzzle2.res_name),this.puzzle3.getComponent(c).spriteFrame=g.getCacheSpriteFrameByName(this.mInterctPuzzle.puzzle3.res_name),this.puzzle4.getComponent(c).spriteFrame=g.getCacheSpriteFrameByName(this.mInterctPuzzle.puzzle4.res_name),this.puzzle5.getComponent(c).spriteFrame=g.getCacheSpriteFrameByName(this.mInterctPuzzle.puzzle5.res_name),this.puzzle6.getComponent(c).spriteFrame=g.getCacheSpriteFrameByName(this.mInterctPuzzle.puzzle6.res_name),this.actionNode.getComponent(a).contentSize=this.content.getComponent(a).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(a).setContentSize(this.content.getComponent(a).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(a).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(a).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",[_],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),T=t(D.prototype,"puzzle4",[S],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),F=t(D.prototype,"puzzle5",[d],{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()}}}));
  155. 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"],(function(t){var n,e,i,o,a,r,_,u,s,l,c,p,h,f,b,w,g,v,d,m;return{setters:[function(t){n=t.applyDecoratedDescriptor,e=t.inheritsLoose,i=t.initializerDefineProperty,o=t.assertThisInitialized},function(t){a=t.cclegacy,r=t._decorator,_=t.Node,u=t.Prefab,s=t.instantiate,l=t.Vec3,c=t.Component},function(t){p=t.config},function(t){h=t.ui_base},function(t){f=t.gameManager},function(t){b=t.ui_manifestations},function(t){w=t.tools},function(t){g=t.ClientEvent},function(t){v=t.count_down},function(t){d=t.content_rule_and_tips},function(t){m=t.back_title}],execute:function(){var C,y,D,T,E,z,A,k,L,R,N,O,I,S,U,V,j,x,F,B,M,W,H,P,q,G,X,J,K;a._RF.push({},"4c160XARRBOx6TIr4C1wUmd","ui_layer",void 0);var Q=r.ccclass,Y=r.property;t("ui_layer",(C=Q("ui_layer"),y=Y(_),D=Y(u),T=Y(u),E=Y(u),z=Y(u),A=Y(u),k=Y(u),L=Y(u),R=Y(u),N=Y(_),O=Y(_),I=Y(_),S=Y(_),C((j=n((V=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,"ui_content",j,o(n)),i(n,"not_have_interact_prefab",x,o(n)),i(n,"interact_input_prefab",F,o(n)),i(n,"interact_page_prefab",B,o(n)),i(n,"interact_puzzle_prefab",M,o(n)),i(n,"pointer_ding_wei_prefab",W,o(n)),i(n,"wei_chi_pointer_prefab",H,o(n)),i(n,"interact_scene_prefab",P,o(n)),i(n,"count_down_prefab",q,o(n)),i(n,"ui_manifestations",G,o(n)),i(n,"content_rule_and_tips",X,o(n)),i(n,"content_count_down",J,o(n)),i(n,"back_title_node",K,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.start=function(){g.on(p.EventRun.NOTICE_EVENT,this.beActive.bind(this),this),g.on(p.EventRun.ON_SHOW_RULE_BTN,this.onChangeShowRuleStatus.bind(this),this)},a.initUi=function(t){this.mData=t,this.loadAllUi();this.back_title_node.getComponent(m).initView("",this.onBack.bind(this))},a.onBack=function(){},a.onDestroy=function(){g.off(p.EventRun.NOTICE_EVENT,this.beActive.bind(this),this)},a.loadAllUi=function(){this.ui_content.removeAllChildren();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=s(this.not_have_interact_prefab);break;case p.top_view_type.interact_input:e=s(this.interact_input_prefab);break;case p.top_view_type.interact_page:e=s(this.interact_page_prefab);break;case p.top_view_type.interact_puzzle:e=s(this.interact_puzzle_prefab);break;case p.top_view_type.pointer_ding_wei:e=s(this.pointer_ding_wei_prefab);break;case p.top_view_type.wei_chi_pointer:e=s(this.wei_chi_pointer_prefab);break;case p.top_view_type.interact_scene:e=s(this.interact_scene_prefab)}null!=e&&(e.parent=this.ui_content,e.getComponent(h).initView(n),this.mUIList.set(n.att.id,e))}},a.initCountDownList=function(t){this.mCountDownLlist.clear();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.active_event){var i=this.mCountDownLlist.get(t);null!=i&&null==this.mAttCountDown&&this.createCountDown(i)}else if(n.type===p.event_type.hide){var o=this.mUIList.get(t);o&&o.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=s(this.count_down_prefab);n.parent=this.content_count_down,n.position=new l(t.att.x,t.att.y),this.mAttCountDown=n.getComponent(v),this.mAttCountDown.init(t.att.count_down,this.onCountDownOver.bind(this)),this.mAttCountDown.startCountDown(),g.dispatchEvent(p.EventRun.ON_COUNT_DOWN_START,this.mAttCountDown.getData().start_event_id),g.on(p.EventRun.ON_WIDGET_FINISH_COLLECT_EVENT,this.onCountDownListening.bind(this),this)},a.onCountDownListening=function(t){if(null!=this.mAttCountDown&&this.mAttCountDown.getData().start_event_id===t){w.showToast("完成了所有的收集");var n=this.mAttCountDown.getData().finish_event_id;-1!=n?f.Singleton.exeEvent(n):w.showToast("没有配置完成的倒计时事件"),this.onCountDownOver(!1)}},a.onCountDownOver=function(t){var n=this.mAttCountDown.getData().fail_event_id;t&&(-1!=n?g.dispatchEvent(p.EventRun.ON_COUNT_DOWN_FAIL,n):w.showToast("配置倒计时失败事件错误!")),this.mAttCountDown.node.removeFromParent(),this.mAttCountDown=null,g.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,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(b).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(d).initView((function(){f.Singleton.IsOpenRuleStatus()?f.Singleton.showTips():f.Singleton.showFindRuleTips()}),(function(){f.Singleton.showRule()}),-1==t._guo_ju_qing.binding_event_id);break;case p.task_type.da_guai:if(null==t._da_guai)return w.showToast("打boss玩法没有配置!")}},a.onChangeShowRuleStatus=function(){f.Singleton.showRule(),this.content_rule_and_tips.getComponent(d).showRuleBtn()},n}(c)).prototype,"ui_content",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),x=n(V.prototype,"not_have_interact_prefab",[D],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),F=n(V.prototype,"interact_input_prefab",[T],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),B=n(V.prototype,"interact_page_prefab",[E],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),M=n(V.prototype,"interact_puzzle_prefab",[z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),W=n(V.prototype,"pointer_ding_wei_prefab",[A],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),H=n(V.prototype,"wei_chi_pointer_prefab",[k],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),P=n(V.prototype,"interact_scene_prefab",[L],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),q=n(V.prototype,"count_down_prefab",[R],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),G=n(V.prototype,"ui_manifestations",[N],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),X=n(V.prototype,"content_rule_and_tips",[O],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),J=n(V.prototype,"content_count_down",[I],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),K=n(V.prototype,"back_title_node",[S],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),U=V))||U));a._RF.pop()}}}));
  156. System.register("chunks:///_virtual/ui_manifestations.ts",["./rollupPluginModLoBabelHelpers.js","cc","./config.ts","./tip_type_single.ts","./tip_type_all.ts","./clientEvent.ts"],(function(i){var t,e,n,_,s,o,p,l,a,c,r,h;return{setters:[function(i){t=i.applyDecoratedDescriptor,e=i.inheritsLoose,n=i.initializerDefineProperty,_=i.assertThisInitialized},function(i){s=i.cclegacy,o=i._decorator,p=i.Node,l=i.Component},function(i){a=i.config},function(i){c=i.tip_type_single},function(i){r=i.tip_type_all},function(i){h=i.ClientEvent}],execute:function(){var u,y,g,f,b,m,d,v,w;s._RF.push({},"b6635qTUcRIZbzAEfmyCUZb","ui_manifestations",void 0);var C=o.ccclass,I=o.property;i("ui_manifestations",(u=C("ui_manifestations"),y=I(p),g=I(p),f=I(p),u((d=t((m=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,"tip_type_single",d,_(t)),n(t,"tip_type_all",v,_(t)),n(t,"btn_single_click_hide_tip",w,_(t)),t.mData=null,t}e(t,i);var s=t.prototype;return s.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(r).initView(i,this.onItemTips.bind(this))),h.on(a.EventRun.SHOW_ZHAO_BU_TONG_FINISH_STATUS,this.on_zhao_bu_tong_finish.bind(this),this)},s.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(r).showFinishIcon(i.widget_id)},s.onItemClick=function(){this.btn_single_click_hide_tip.active=!0},s.onItemTips=function(){},t}(l)).prototype,"tip_type_single",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),v=t(m.prototype,"tip_type_all",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),w=t(m.prototype,"btn_single_click_hide_tip",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),b=m))||b));s._RF.pop()}}}));
  157. 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()}}}));
  158. 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()}}}));
  159. 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"],(function(t){var e,i,a,_,n,p,o,r,s,c,u,h,m,l,w,d,g;return{setters:[function(t){e=t.applyDecoratedDescriptor,i=t.inheritsLoose,a=t.initializerDefineProperty,_=t.assertThisInitialized},function(t){n=t.cclegacy,p=t._decorator,o=t.Node,r=t.Component},function(t){s=t.config},function(t){c=t.view_not_have_interact},function(t){u=t.view_ui_att_item},function(t){h=t.view_interact_input},function(t){m=t.view_interact_page},function(t){l=t.view_interact_puzzle},function(t){w=t.view_pointer_ding_wei},function(t){d=t.view_wei_chi_pointer},function(t){g=t.view_interact_scene}],execute:function(){var v,y,f,b,z,C,D,j,V,k,A,T,B,S,F,R,I,L,M,P,q;n._RF.push({},"4539bKApRBFhIn2kyl+oq2T","ui_top",void 0);var x=p.ccclass,E=p.property;t("ui_top",(v=x("ui_top"),y=E(o),f=E(o),b=E(o),z=E(o),C=E(o),D=E(o),j=E(o),V=E(o),k=E(o),v((B=e((T=function(t){function e(){for(var e,i=arguments.length,n=new Array(i),p=0;p<i;p++)n[p]=arguments[p];return e=t.call.apply(t,[this].concat(n))||this,a(e,"interact_page",B,_(e)),a(e,"interact_input",S,_(e)),a(e,"interact_puzzle",F,_(e)),a(e,"wei_chi_pointer",R,_(e)),a(e,"pointer_ding_wei",I,_(e)),a(e,"interact_scene",L,_(e)),a(e,"not_have_interact",M,_(e)),a(e,"btn_close",P,_(e)),a(e,"btn_jump",q,_(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(s.top_view_type.interact_page,this.interact_page),this.view_map.set(s.top_view_type.interact_input,this.interact_input),this.view_map.set(s.top_view_type.interact_puzzle,this.interact_puzzle),this.view_map.set(s.top_view_type.wei_chi_pointer,this.wei_chi_pointer),this.view_map.set(s.top_view_type.pointer_ding_wei,this.pointer_ding_wei),this.view_map.set(s.top_view_type.interact_scene,this.interact_scene),this.view_map.set(s.top_view_type.not_have_interact,this.not_have_interact),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(u).getData(),this.btn_close.getComponent(u).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(u).getData(),this.btn_jump.getComponent(u).updateAtt(this.m_data.jump_info),this.m_data.top_ui_type!=s.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 s.top_view_type.not_have_interact:this.view_map.get(this.m_data.top_ui_type).getComponent(c).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(c).getData();break;case s.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 s.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 s.top_view_type.interact_puzzle:this.view_map.get(this.m_data.top_ui_type).getComponent(l).updateView(this.m_data._interact_puzzle_data),this.m_data._interact_puzzle_data=this.view_map.get(this.m_data.top_ui_type).getComponent(l).getData();break;case s.top_view_type.pointer_ding_wei:this.view_map.get(this.m_data.top_ui_type).getComponent(w).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(w).getData();break;case s.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 s.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()}},n.hideAllTop=function(){this.view_map.forEach((function(t,e){t.active=!1}))},e}(r)).prototype,"interact_page",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),S=e(T.prototype,"interact_input",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),F=e(T.prototype,"interact_puzzle",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),R=e(T.prototype,"wei_chi_pointer",[z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),I=e(T.prototype,"pointer_ding_wei",[C],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),L=e(T.prototype,"interact_scene",[D],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),M=e(T.prototype,"not_have_interact",[j],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),P=e(T.prototype,"btn_close",[V],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),q=e(T.prototype,"btn_jump",[k],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),A=T))||A));n._RF.pop()}}}));
  160. 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()}}}));
  161. 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()}}}));
  162. 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()}}}));
  163. 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()}}}));
  164. 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()}}}));
  165. 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,c,u,_,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,c=t.Node,u=t.Component},function(t){_=t.view_ui_att_item},function(t){s=t.not_have_interact_data}],execute:function(){var l,p,v,h,f;r._RF.push({},"d4569cmUB9LZaRqUsbFbrfe","view_not_have_interact",void 0);var g=o.ccclass,d=o.property;t("view_not_have_interact",(l=g("view_not_have_interact"),p=d(c),l((f=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,"bg",f,a(e)),e.m_data=null,e}n(e,t);var r=e.prototype;return r.updateView=function(t){null===t&&(t=new s),this.m_data=t,this.bg.getComponent(_).updateAtt(t.bg),t.bg=this.bg.getComponent(_).getData()},r.getData=function(){return this.m_data},e}(u)).prototype,"bg",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),v=h))||v));r._RF.pop()}}}));
  166. 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()}}}));
  167. 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()}}}));
  168. 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()}}}));
  169. System.register("chunks:///_virtual/widget_base.ts",["./rollupPluginModLoBabelHelpers.js","cc","./gameManager.ts","./clientEvent.ts","./config.ts","./tools.ts"],(function(t){var i,n,e,a,o,s,r,h,m,c,u,l,_,f,p,d,g,v,w;return{setters:[function(t){i=t.applyDecoratedDescriptor,n=t.inheritsLoose,e=t.initializerDefineProperty,a=t.assertThisInitialized},function(t){o=t.cclegacy,s=t._decorator,r=t.Node,h=t.UITransform,m=t.Size,c=t.Vec3,u=t.UIOpacity,l=t.Sprite,_=t.Color,f=t.tween,p=t.Component},function(t){d=t.gameManager},function(t){g=t.ClientEvent},function(t){v=t.config},function(t){w=t.tools}],execute:function(){var y,A,C,D,I;o._RF.push({},"0c261//vlBLuY8y9JKRSqGV","widget_base",void 0);var S=s.ccclass,F=s.property;t("widget_base",(y=S("widget_base"),A=F(r),y((I=i((D=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,"icon",I,a(i)),i.mData=null,i.mAnimationList=[],i.mCurRunAnimation=[],i.mCurAnimation=null,i.mPlayStatus=!1,i.mIsFinish=!1,i.mIsActive=!1,i.mIsShow=!1,i}n(i,t);var o=i.prototype;return o.initWidget=function(t){this.mData=t,this.icon.getComponent(h).contentSize=new m(this.mData.att.width,this.mData.att.height),this.icon.position=new c(this.mData.att.x,this.mData.att.y),null===this.icon.getComponent(u)&&this.icon.addComponent(u),this.mData.att.src.length>0&&(this.icon.getComponent(l).spriteFrame=d.getCacheSpriteFrameByName(this.mData.att.src_name)),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.init()},o.updateDir=function(){switch(this.mData.att.img_dir){case v.widget_scale_dir.left:this.node.scale=new c(-1,1,1);break;case v.widget_scale_dir.up:this.node.scale=new c(1,-1,1);break;case v.widget_scale_dir.normal:this.node.scale=new c(1,1,1)}},o.onDestroy=function(){},o.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},o.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 w.showToast("错误的动画配置!id:"+this.mData.att.id+"-请检查");this.mCurRunAnimation=this.mCurAnimation.ani_frame_list,this.mCurRunAnimation.length<2||this.runAnimation()}},o.hide=function(t,i){t===this.mData.att.id&&(this.mIsShow=!1,this.node.active=!1)},o.beActive=function(t,i){if(t===this.mData.att.id){if(i.type===v.event_type.hide)return void this.hide(t,i);switch(this.mIsShow||this.onWidgetShow(),this.mIsActive||this.registeredEvent(),this.mIsActive=!0,i.type){case v.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 w.showToast("错误的动画配置!请检查");this.mCurRunAnimation=this.mCurAnimation.ani_frame_list,this.runAnimation()}break;case v.event_type.change_one_item_status:var e=i.event_item_change_one_item_status_data;null!=e&&d.initUiBaseAtt(this.icon,e.att);break;case v.event_type.show_new_item:break;case v.event_type.be_event:console.log("this.be_event",this.mIsShow)}}},o.runAnimation=function(){var t=this,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 a=i(n);t.runFrame(a.cur_frame,a.up_frame,e)}))},o.runFrame=function(t,i,n){var e=this,a=t.next_time;this.icon.getComponent(l).spriteFrame=d.getCacheSpriteFrameByName(t.url_name);var o=new c(t.pos_x,t.pos_y),s=new _;s=s.fromHEX(t.color);var r=new function(){this.color=void 0,this.opacity=void 0,this.size=void 0,this.pos=void 0};r.color=(new _).fromHEX(i.color),r.opacity=i.transparent,r.size=new m(i.size_width,i.size_height),r.pos=new c(i.pos_x,i.pos_y),f(r).to(a,{pos:o,color:s,opacity:t.transparent,size:new m(t.size_width,t.size_height)},{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.node.position=t.pos}}).call((function(){n()})).start()},o.getIsFinish=function(){return this.mIsFinish},o.registeredEvent=function(){},o.onFinishAnimation=function(){},o.onFinishEvent=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,g.dispatchEvent(v.EventRun.WIDGET_FINISH,this.mData.att.id)},o.onFialEvent=function(){},o.init=function(){},o.initView=function(t){this.initWidget(t)},o.showZhaoButongFinishStatus=function(){},i}(p)).prototype,"icon",[A],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),C=D))||C));o._RF.pop()}}}));
  170. System.register("chunks:///_virtual/widget_click.ts",["./rollupPluginModLoBabelHelpers.js","cc","./widget_base.ts","./config.ts","./clientEvent.ts"],(function(i){var t,e,c,n,s,o,l,a,u,h;return{setters:[function(i){t=i.applyDecoratedDescriptor,e=i.inheritsLoose,c=i.initializerDefineProperty,n=i.assertThisInitialized},function(i){s=i.cclegacy,o=i._decorator,l=i.Node},function(i){a=i.widget_base},function(i){u=i.config},function(i){h=i.ClientEvent}],execute:function(){var m,r,d,T,k;s._RF.push({},"ec5d5a/gWtNfZfVyRIJVR0v","widget_click",void 0);var _=o.ccclass,f=o.property;i("widget_click",(m=_("widget_click"),r=f(l),m((k=t((T=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,c(t,"img_zhaobutong",k,n(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 u.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 u.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.onFinishEvent()))}));break;case u.clcik_type.click:this.node.off(l.EventType.TOUCH_START),this.node.on(l.EventType.TOUCH_START,(function(){i.mIsActive&&i.onFinishEvent()}));break;case u.clcik_type.click_not_auto_finish:this.node.off(l.EventType.TOUCH_START),this.node.on(l.EventType.TOUCH_START,(function(){i.mIsActive&&h.dispatchEvent(u.EventRun.WIDGET_FINISH,i.mData.att.id)}))}},s.checkTime=function(){if(this.mHoldTime+=1,!this.getIsFinish())return this.mClickData.hold_time<=this.mHoldTime?(this.onFinishEvent(),void this.unschedule(this.checkTime)):void 0;this.unschedule(this.checkTime)},s.reSetClickNum=function(){this.mClickNum=0},s.showZhaoButongFinishStatus=function(){this.img_zhaobutong.active=!0},t}(a)).prototype,"img_zhaobutong",[r],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),d=T))||d));s._RF.pop()}}}));
  171. System.register("chunks:///_virtual/widget_drag.ts",["./rollupPluginModLoBabelHelpers.js","cc","./widget_base.ts"],(function(t){var e,n,a,i,o,r,s,c,g;return{setters:[function(t){e=t.inheritsLoose},function(t){n=t.cclegacy,a=t._decorator,i=t.Node,o=t.Vec3,r=t.UITransform,s=t.Rect,c=t.Vec2},function(t){g=t.widget_base}],execute:function(){var h;n._RF.push({},"030eeuJUepIT7jJlUsy2bGD","widget_drag",void 0);var d=a.ccclass;a.property,t("widget_drag",d("widget_drag")(h=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).mDragData=null,e.mIsStartMove=!1,e.offset_x=0,e.offset_y=0,e.mDragRect=null,e}e(n,t);var a=n.prototype;return a.init=function(){null!=this.mData.att.drag_data&&(this.mDragData=this.mData.att.drag_data)},a.start=function(){this.mIsActive&&this.registeredEvent()},a.registeredEvent=function(){var t=this;this.node.on(i.EventType.TOUCH_START,(function(e){if(t.mIsActive){console.log("target",e.target),t.mIsStartMove=!0;var n=new o(e.getUILocation().x,e.getUILocation().y),a=t.node.parent.getComponent(r).convertToNodeSpaceAR(n);t.node.position=new o(a.x,a.y)}})),this.node.on(i.EventType.TOUCH_MOVE,(function(e){if(t.mIsActive){var n=new o(e.getUILocation().x,e.getUILocation().y),a=t.node.parent.getComponent(r).convertToNodeSpaceAR(n);t.node.position=new o(a.x,a.y)}})),this.node.on(i.EventType.TOUCH_END,(function(){t.onEndEvent()}))},a.onEndEvent=function(){this.mIsActive&&(this.mIsStartMove=!1,this.checkOnecFinish())},a.checkOnecFinish=function(){this.checkMoveToDragRect()?(this.mIsStartMove=!1,this.onFinishEvent()):this.mDragData.is_err_drag_back&&(this.node.position=new o(this.mData.att.x,this.mData.att.y))},a.getDragRect=function(){var t=this.mDragData.drag_size_width,e=this.mDragData.drag_size_height,n=new o(this.mData.att.x+this.mDragData.drag_pos_x,this.mData.att.y+this.mDragData.drag_pos_y);return this.mDragRect=new s(n.x-.5*t,n.y-.5*e,t,e),this.mDragRect},a.checkMoveToDragRect=function(){var t=this.node.position;return this.getDragRect().contains(new c(t.x,t.y))},n}(g))||h);n._RF.pop()}}}));
  172. 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()}}}));
  173. 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()}}}));
  174. 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()}}}));
  175. System.register("chunks:///_virtual/widget_item.ts",["./rollupPluginModLoBabelHelpers.js","cc","./data.ts","./clientEvent.ts","./config.ts","./scroll_scene.ts","./slide.ts","./ui_top.ts","./Text_Sound.ts","./question_select.ts","./count_down.ts"],(function(t){var e,i,n,a,s,_,o,d,r,l,c,h,m,p,u,g,b,y,w,f,v,C,T,E,k,S,z,x,W,A,D,U,L,O,I,R,N,V,q;return{setters:[function(t){e=t.applyDecoratedDescriptor,i=t.inheritsLoose,n=t.initializerDefineProperty,a=t.assertThisInitialized},function(t){s=t.cclegacy,_=t._decorator,o=t.Node,d=t.Prefab,r=t.Label,l=t.Toggle,c=t.Vec3,h=t.UITransform,m=t.instantiate,p=t.Size,u=t.Sprite,g=t.director,b=t.Director,y=t.assetManager,w=t.Texture2D,f=t.SpriteFrame,v=t.Tween,C=t.tween,T=t.Component},function(t){E=t.attributes_data,k=t.att_drag_data,S=t.att_slide_data,z=t.att_click_data,x=t.att_top_data,W=t.att_text_sound_data,A=t.att_question_select,D=t.att_count_down},function(t){U=t.ClientEvent},function(t){L=t.config},function(t){O=t.scroll_scene},function(t){I=t.slide},function(t){R=t.ui_top},function(t){N=t.Text_Sound},function(t){V=t.question_select},function(t){q=t.count_down}],execute:function(){var M,P,F,H,Y,B,G,K,Q,j,X,J,Z,$,tt,et,it,nt,at,st,_t,ot,dt,rt,lt,ct,ht;s._RF.push({},"841fatEKNlOWahOCy9e1gsm","widget_item",void 0);var mt=_.ccclass,pt=_.property;t("widget_item",(M=mt("widget_item"),P=pt(o),F=pt(o),H=pt(o),Y=pt(o),B=pt(o),G=pt(o),K=pt(d),Q=pt(d),j=pt(d),X=pt(d),J=pt(o),Z=pt(o),M((et=e((tt=function(t){function e(){for(var e,i=arguments.length,s=new Array(i),_=0;_<i;_++)s[_]=arguments[_];return e=t.call.apply(t,[this].concat(s))||this,n(e,"lab_name",et,a(e)),n(e,"spr",it,a(e)),n(e,"slide",nt,a(e)),n(e,"drag",at,a(e)),n(e,"lab_drag",st,a(e)),n(e,"img_select",_t,a(e)),n(e,"ui_prefab",ot,a(e)),n(e,"text_sound_pf",dt,a(e)),n(e,"count_down_pf",rt,a(e)),n(e,"question_select_pf",lt,a(e)),n(e,"toggle_active",ct,a(e)),n(e,"toggle_check",ht,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}i(e,t);var s=e.prototype;return s.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(r).string=t.name+(this.m_data.att?"id:"+this.m_data.att.id:""),null!=t.att?(this.call_back=e,null===i?(this.toggle_active.active=!0,this.toggle_check.getComponent(l).isChecked=this.m_data.att.edit_active,this.toggle_check.on(o.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(o.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(o.EventType.MOUSE_DOWN,this.onDragWidget.bind(this),this)},s.getShowWidgetData=function(){return this.m_data},s.setSelectStatus=function(){null!=this.call_back&&(this.m_data.att.edit_active=!0,this.toggle_check.getComponent(l).isChecked=!0,this.call_back(this.m_data))},s.setUnSelectStatus=function(){null!=this.call_back&&(this.m_data.att.edit_active=!1,this.toggle_check.getComponent(l).isChecked=!1,this.call_back(this.m_data))},s.onDragWidget=function(){U.dispatchEvent(L.Event.DragWidget,this.node)},s.initDrag=function(){var t=this;this.drag.on(o.EventType.TOUCH_MOVE,(function(e){var i=new c(e.getUILocation().x,e.getUILocation().y),n=t.node.getComponent(h).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})),this.lab_drag.getComponent(r).string=this.m_data.name+"id:"+this.m_att.id},s.initSlide=function(){this.slide.getComponent(I).updateDistance(this.m_att.slide_data.slide_dir,this.m_att.slide_data.slide_distance)},s.initUiWidget=function(){if(null==this.call_back){var t=m(this.ui_prefab);t.parent=this.node,t.getComponent(R).initView(this.m_att.top_data),this.m_ui_widget=t,this.node.getComponent(h).contentSize=new p(1080,1020)}},s.initTextSound=function(){if(null==this.call_back){var t=m(this.text_sound_pf);t.parent=this.node,t.getComponent(N).initView(this.m_att.text_sound_data),this.m_text_sound=t,this.node.getComponent(h).contentSize=new p(1080,1020)}},s.initQuestionSelect=function(){if(null==this.call_back){var t=m(this.question_select_pf);t.parent=this.node,t.getComponent(V).initView(this.m_att.question_select),this.m_question_select=t,this.node.getComponent(h).contentSize=new p(1080,1020)}},s.initCountDown=function(){if(null==this.call_back){var t=m(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(h).contentSize=new p(1080,1020)}},s.initWidgetHaveAtt=function(t){null!=t?(this.lab_name.active=!0,this.m_att=t,this.initWidgetAtt()):(this.m_att=new E,this.m_att.id=L.getNewId()),this.m_data.type===L.Widget_Type_List.DRAG_TYPE?(null===this.m_att.drag_data&&(this.m_att.drag_data=new k),this.drag.active=!0,this.initDrag()):this.m_data.type===L.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===L.Widget_Type_List.CLICK_TYPE?(null===this.m_att.click_data&&(this.m_att.click_data=new z),this.lab_name.getComponent(r).string=L.clcik_type_map.get(this.m_att.click_data.click_type)+"id"+this.m_att.id):this.m_data.type===L.Widget_Type_List.UI_TOP?(null===this.m_att.top_data&&(this.m_att.top_data=new x),this.initUiWidget(),this.lab_name.getComponent(r).string="弹窗:"+L.top_view_type_map.get(this.m_att.top_data.top_ui_type)+":id"+this.m_att.id):this.m_data.type===L.Widget_Type_List.TEXT_SOUND?(null===this.m_att.text_sound_data&&(this.m_att.text_sound_data=new W),this.lab_name.getComponent(r).string="文本和语音-id:"+this.m_att.id,this.initTextSound()):this.m_data.type===L.Widget_Type_List.QUESTION_SELECT?(null===this.m_att.question_select&&(this.m_att.question_select=new A),this.initQuestionSelect(),this.lab_name.getComponent(r).string="问题选择-id:"+this.m_att.id):this.m_data.type===L.Widget_Type_List.COUNT_DOWN&&(null===this.m_att.count_down&&(this.m_att.count_down=new D),this.initCountDown(),this.lab_name.getComponent(r).string="倒计时-id:"+this.m_att.id),this.node.active=this.m_att.edit_active},s.initWidgetByScene=function(t,e){var i=this;void 0===e&&(e=null),this.m_data=t,this.initWidgetHaveAtt(e),this.m_data.type===L.Widget_Type_List.UI_TOP||this.m_data.type===L.Widget_Type_List.TEXT_SOUND?this.node.on(o.EventType.MOUSE_DOWN,(function(t){U.dispatchEvent(L.Event.UpdateAttributes,i.getWidgetAtt())})):(this.node.on(o.EventType.TOUCH_MOVE,(function(t){if(i.isMove){var e=new c(t.getUILocation().x,t.getUILocation().y),n=i.node.parent.getComponent(h).convertToNodeSpaceAR(e),a=i.x_len,s=i.y_len;i.node.position=new c(n.x-a,n.y-s),"content"==i.node.parent.name&&i.node.parent.parent.parent.getComponent(O).stopTouch(),U.dispatchEvent(L.Event.UpdateAttributes,i.getWidgetAtt())}})),this.node.on(o.EventType.MOUSE_DOWN,(function(t){var e=i.node.parent.getComponent(h).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 c(t.getUILocation().x,t.getUILocation().y),a=i.node.parent.getComponent(h).convertToNodeSpaceAR(n);i.node.position=new c(a.x-i.x_len,a.y-i.y_len)}i.isMove=!0,U.dispatchEvent(L.Event.UpdateAttributes,i.getWidgetAtt())})),this.node.on(o.EventType.MOUSE_LEAVE,(function(){"content"==i.node.parent.name&&i.node.parent.parent.parent.getComponent(O).startTouch(),i.isMove=!1,i.x_len=0,i.y_len=0})),this.node.on(o.EventType.TOUCH_END,(function(){"content"==i.node.parent.name&&i.node.parent.parent.parent.getComponent(O).startTouch(),i.isMove=!1,i.x_len=0,i.y_len=0}))),U.dispatchEvent(L.Event.UpdateAttributes,this.getWidgetAtt()),U.on(L.Event.UpdateAttributesToView,this.UpdateAttributesToView,this)},s.onDestroy=function(){U.off(L.Event.UpdateAttributesToView,this.UpdateAttributesToView,this)},s.UpdateAttributesToView=function(t,e){var i=this;if(null!==this.m_att){if(t.id===this.m_att.id)switch(e){case L.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 c(t.x,t.y);break;case L.attributes_list_type.animation:this.m_att.animation_list=t.animation_list;break;case L.attributes_list_type.size:this.m_att.width=t.width,this.m_att.height=t.height,this.spr.getComponent(h).contentSize=new p(t.width,t.height),this.node.getComponent(h).contentSize=this.spr.getComponent(h).contentSize;break;case L.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(u).spriteFrame=null:y.loadRemote(this.m_att.src,(function(e,n){if(!e&&n){i.lab_name.active=!1;var a=new w;a.image=n;var s=new f;s.texture=a,i.spr.getComponent(u).spriteFrame=s,i.spr.getComponent(h).contentSize=new p(t.width,t.height),g.once(b.EVENT_AFTER_DRAW,(function(){i.node.getComponent(h).contentSize=i.spr.getComponent(h).contentSize}))}}));break;case L.attributes_list_type.origin:this.m_att.src.length>0&&(this.spr.getComponent(u).sizeMode=u.SizeMode.RAW,g.once(b.EVENT_AFTER_DRAW,(function(){console.log("Director.EVENT_AFTER_DRAW"),i.m_att.width=i.spr.getComponent(h).contentSize.width,i.m_att.height=i.spr.getComponent(h).contentSize.height,g.once(b.EVENT_AFTER_DRAW,(function(){i.node.getComponent(h).contentSize=i.spr.getComponent(h).contentSize})),U.dispatchEvent(L.Event.UpdateAttributes,i.getWidgetAtt())})));break;case L.attributes_list_type.delete:this.node.destroy(),this.node.removeFromParent(),U.dispatchEvent(L.Event.UpdateAttributes,null),U.dispatchEvent(L.Event.RemoveWidget,this.node);break;case L.attributes_list_type.drag:this.m_att.drag_data=t.drag_data,this.m_data.type===L.Widget_Type_List.DRAG_TYPE&&(this.drag.getComponent(h).contentSize=new p(t.drag_data.drag_size_width,t.drag_data.drag_size_height),this.drag.position=new c(this.m_att.drag_data.drag_pos_x,this.m_att.drag_data.drag_pos_y));break;case L.attributes_list_type.drag_err_back_status:this.m_data.type===L.Widget_Type_List.DRAG_TYPE&&(this.m_att.drag_data.is_err_drag_back=t.drag_data.is_err_drag_back);break;case L.attributes_list_type.slide:this.m_data.type===L.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(I).updateDistance(this.m_att.slide_data.slide_dir,this.m_att.slide_data.slide_distance));break;case L.attributes_list_type.click:this.m_data.type===L.Widget_Type_List.CLICK_TYPE&&(this.m_att.click_data=t.click_data,this.lab_name.getComponent(r).string=L.clcik_type_map.get(this.m_att.click_data.click_type));case L.attributes_list_type.is_interaction:this.m_att.is_interaction=t.is_interaction;break;case L.attributes_list_type.find_widget_pos:this.Shiny();break;case L.attributes_list_type.active:this.m_att.edit_active=t.edit_active,this.node.active=this.m_att.edit_active,this.toggle_check.getComponent(l).isChecked=this.m_att.edit_active;break;case L.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 L.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(N).updateView(this.m_att.text_sound_data);break;case L.attributes_list_type.question_select:this.m_att.question_select=t.question_select,null!=this.m_question_select&&this.m_question_select.getComponent(V).updateView(this.m_att.question_select);break;case L.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 L.attributes_list_type.zIndex:this.m_att.zIndex=t.zIndex;break;case L.attributes_list_type.dir:this.m_att.img_dir=t.img_dir,this.updateDir();break;case L.attributes_list_type.show:this.m_att.is_show=t.is_show}g.once(b.EVENT_AFTER_DRAW,(function(){U.dispatchEvent(L.Event.updateWidgetData)}))}},s.updateDir=function(){if(null==this.call_back)switch(this.m_att.img_dir){case L.widget_scale_dir.left:this.spr.scale=new c(-1,1);break;case L.widget_scale_dir.up:this.spr.scale=new c(1,-1);break;case L.widget_scale_dir.normal:this.spr.scale=new c(1,1)}},s.Shiny=function(){var t=this;this.img_select.active=!0,this.img_select.getComponent(h).setContentSize(this.node.getComponent(h).contentSize),v.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()},s.getWidgetAtt=function(){return this.m_att.name=""!=this.m_data.name?this.m_data.name:"普通控件",this.m_att.height=this.spr.getComponent(h).contentSize.height,this.m_att.width=this.spr.getComponent(h).contentSize.width,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=L.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(h).contentSize.width,this.m_att.drag_data.drag_size_height=this.drag.getComponent(h).contentSize.height),this.m_att},s.initWidgetAtt=function(){var t=this;null==this.call_back?(this.node.position=new c(this.m_att.x,this.m_att.y),this.node.getComponent(h).setContentSize(new p(this.m_att.width,this.m_att.height)),null!=this.m_att.drag_data&&(this.drag.position=new c(this.m_att.drag_data.drag_pos_x,this.m_att.drag_data.drag_pos_y),this.drag.getComponent(h).setContentSize(new p(this.m_att.drag_data.drag_size_width,this.m_att.drag_data.drag_size_height))),this.spr.getComponent(h).setContentSize(this.node.getComponent(h).contentSize),this.lab_name.getComponent(r).string=this.m_att.name+"id:"+this.m_att.id):this.lab_name.getComponent(r).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 w;n.image=i;var a=new f;a.texture=n,t.spr.getComponent(u).spriteFrame=a}}));var e=new E;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()},s.getData=function(){return null!=this.m_att&&this.getWidgetAtt(),this.m_data.att=this.m_att,this.m_data},s.setData=function(t){this.m_data=t},e}(T)).prototype,"lab_name",[P],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),it=e(tt.prototype,"spr",[F],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),nt=e(tt.prototype,"slide",[H],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),at=e(tt.prototype,"drag",[Y],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),st=e(tt.prototype,"lab_drag",[B],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),_t=e(tt.prototype,"img_select",[G],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),ot=e(tt.prototype,"ui_prefab",[K],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),dt=e(tt.prototype,"text_sound_pf",[Q],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),rt=e(tt.prototype,"count_down_pf",[j],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),lt=e(tt.prototype,"question_select_pf",[X],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),ct=e(tt.prototype,"toggle_active",[J],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),ht=e(tt.prototype,"toggle_check",[Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),$=tt))||$));s._RF.pop()}}}));
  176. 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:null}),_=h))||_));o._RF.pop()}}}));
  177. System.register("chunks:///_virtual/widget_not_have_interact.ts",["./rollupPluginModLoBabelHelpers.js","cc","./receive_widget_item.ts"],(function(t){var e,i,n,r,o,a,c,_,u;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,_=t.Component},function(t){u=t.receive_widget_item}],execute:function(){var l,s,p,d,g;o._RF.push({},"f438eUc3dpDTr8TME3Vpoye","widget_not_have_interact",void 0);var f=a.ccclass,h=a.property;t("widget_not_have_interact",(l=f("widget_not_have_interact"),s=h(c),l((g=e((d=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,"bg_widget_info",g,r(e)),e.m_data=null,e}return i(e,t),e.prototype.initView=function(t){this.m_data=t,this.bg_widget_info.getComponent(u).updateView(this.m_data.bg)},e}(_)).prototype,"bg_widget_info",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),p=d))||p));o._RF.pop()}}}));
  178. 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()}}}));
  179. System.register("chunks:///_virtual/widget_slide.ts",["./rollupPluginModLoBabelHelpers.js","cc","./widget_base.ts","./config.ts"],(function(i){var e,t,n,s,d,l,a,o;return{setters:[function(i){e=i.inheritsLoose},function(i){t=i.cclegacy,n=i._decorator,s=i.Node,d=i.Vec3,l=i.UITransform},function(i){a=i.widget_base},function(i){o=i.config}],execute:function(){var r;t._RF.push({},"f6560WFrNlAMIJpuAvoFjAr","widget_slide",void 0);var c=n.ccclass;n.property,i("widget_slide",c("widget_slide")(r=function(i){function t(){for(var e,t=arguments.length,n=new Array(t),s=0;s<t;s++)n[s]=arguments[s];return(e=i.call.apply(i,[this].concat(n))||this).mSlideData=null,e.mStartClickPos=null,e.mCurSlideNum=0,e.mSlideFinishUp=!1,e.mSlideFinishDown=!1,e.mSlideFinishLeft=!1,e.mSlideFinishRight=!1,e}e(t,i);var n=t.prototype;return n.init=function(){null!=this.mData.att.slide_data&&(this.mSlideData=this.mData.att.slide_data)},n.start=function(){this.mIsActive&&this.registeredEvent()},n.registeredEvent=function(){var i=this;this.mSlideData&&(this.node.on(s.EventType.TOUCH_START,(function(e){i.mIsActive&&(i.mStartClickPos=e.getUILocation())})),this.mSlideData.slide_dir==o.slide_type.up_down||this.mSlideData.slide_dir==o.slide_type.left_right?(this.node.on(s.EventType.TOUCH_END,(function(){i.mIsActive&&(i.mSlideFinishUp=!1,i.mSlideFinishDown=!1,i.mSlideFinishLeft=!1,i.mSlideFinishRight=!1)})),this.node.on(s.EventType.TOUCH_MOVE,(function(e){if(i.mIsActive){var t=!1,n=i.mSlideData.slide_distance,s=e.getUILocation(),a=new d(s.x,s.y),r=i.node.parent.getComponent(l).convertToNodeSpaceAR(a);switch(i.mSlideData.slide_dir){case o.slide_type.up_down:var c=i.node.position.y-.5*n,m=i.node.position.y+.5*n;r.y>=m&&(i.mSlideFinishUp=!0),r.y<=c&&(i.mSlideFinishDown=!0),i.mSlideFinishUp&&i.mSlideFinishDown&&(t=!0,i.mSlideFinishUp=!1,i.mSlideFinishDown=!1);break;case o.slide_type.left_right:var h=i.node.position.x-.5*n,S=i.node.position.x+.5*n;r.x>=S&&(i.mSlideFinishRight=!0),r.x<=h&&(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.onFinishEvent()}}))):this.node.on(s.EventType.TOUCH_END,(function(e){if(i.mIsActive){var t=!1,n=e.getUILocation();switch(i.mSlideData.slide_dir){case o.slide_type.up:n.y-i.mStartClickPos.y>=i.mSlideData.slide_distance&&(t=!0);break;case o.slide_type.down:i.mStartClickPos.y-n.y>=i.mSlideData.slide_distance&&(t=!0);break;case o.slide_type.left:i.mStartClickPos.x-n.x>=i.mSlideData.slide_distance&&(t=!0);break;case o.slide_type.right:n.x-i.mStartClickPos.x>=i.mSlideData.slide_distance&&(t=!0)}t&&i.onFinishEvent()}})))},n.initSlide=function(){this.mCurSlideNum=0,this.mSlideFinishUp=!1,this.mSlideFinishDown=!1,this.mSlideFinishLeft=!1,this.mSlideFinishRight=!1},t}(a))||r);t._RF.pop()}}}));
  180. 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()}}}));
  181. (function(r) {
  182. r('virtual:///prerequisite-imports/main', 'chunks:///_virtual/main');
  183. })(function(mid, cid) {
  184. System.register(mid, [cid], function (_export, _context) {
  185. return {
  186. setters: [function(_m) {
  187. var _exportObj = {};
  188. for (var _key in _m) {
  189. if (_key !== "default" && _key !== "__esModule") _exportObj[_key] = _m[_key];
  190. }
  191. _export(_exportObj);
  192. }],
  193. execute: function () { }
  194. };
  195. });
  196. });