Files
memory-manager-concurrent/games/laya-snakes/libs/min/laya.debugtool.min.js
2026-01-21 18:11:33 +08:00

7 lines
206 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
!function(window,document,Laya){var __un=Laya.un,__uns=Laya.uns,__static=Laya["static"],__class=Laya["class"],__getset=Laya.getset,__newvec=Laya.__newvec,Box=laya.ui.Box,Browser=laya.utils.Browser,Button=laya.ui.Button,Byte=laya.utils.Byte,CSSStyle=laya.display.css.CSSStyle,Component=laya.ui.Component,Config=Laya.Config,Event=laya.events.Event,EventDispatcher=laya.events.EventDispatcher,Filter=laya.filters.Filter,GrahamScan=laya.maths.GrahamScan,Graphics=laya.display.Graphics,HTMLCanvas=laya.resource.HTMLCanvas,Handler=laya.utils.Handler,Image=laya.ui.Image,Input=laya.display.Input,Label=laya.ui.Label,List=laya.ui.List,Loader=laya.net.Loader,LoaderManager=laya.net.LoaderManager,LocalStorage=laya.net.LocalStorage,MathUtil=laya.maths.MathUtil,Matrix=laya.maths.Matrix,Node=laya.display.Node,Point=laya.maths.Point,Pool=laya.utils.Pool,Rectangle=laya.maths.Rectangle,Render=laya.renders.Render,RenderContext=laya.renders.RenderContext,RenderSprite=laya.renders.RenderSprite,Resource=laya.resource.Resource,ResourceManager=laya.resource.ResourceManager,RunDriver=laya.utils.RunDriver,Sprite=laya.display.Sprite,Stage=laya.display.Stage,Stat=laya.utils.Stat,Style=laya.display.css.Style,Text=laya.display.Text,TextInput=laya.ui.TextInput,Texture=laya.resource.Texture,Tree=laya.ui.Tree,UIEvent=laya.ui.UIEvent,URL=laya.net.URL,Utils=laya.utils.Utils,View=laya.ui.View,Base64AtlasManager=function(){function e(){}return __class(e,"laya.debug.data.Base64AtlasManager"),e.replaceRes=function(t){e.base64.replaceRes(t)},__static(e,["dataO",function(){return this.dataO={"comp/button1.png":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGIAAABRCAYAAAApS3MNAAABSUlEQVR4Xu3a0QmFMADFUJ1JXM0h3moPZ6qg4AoNeLqAIenFn65jjLE40w2sQkxvcAMI0eggRKSDEEJUDEQ4/COEiBiIYFiEEBEDEQyLECJiIIJhEUJEDEQwLEKIiIEIhkUIETEQwbAIISIGIhgWIUTEQATDIoSIGIhgWIQQEQMRDIsQImIggnEvYvv9IzjfxDiP/XlgJsTcCyDEXP/v14UQImIggmERQkQMRDAsQoiIgQiGRQgRMRDBsAghIgYiGBYhRMRABMMihIgYiGBYhBARAxEMixAiYiCCYRFCRAxEMCxCiIiBCMa7iAjPpzG8fY3kF0KIiIEIhkUIETEQwbAIISIGIhgWIUTEQATDIoSIGIhgWIQQEQMRDIsQImIggmERQkQMRDAsQoiIgQiGRQgRMRDBsAghIgYiGBYhRMRABMMihIgYiGBcGJiOHTRZjZAAAAAASUVORK5CYII=","comp/line2.png":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAECAYAAACOXx+WAAAAG0lEQVQYV2NkoDJgpLJ5DIxtra3/qWko1V0IAJvgApS1libIAAAAAElFTkSuQmCC","view/create.png":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAkCAYAAAC9itu8AAAAdElEQVQ4T2NkwAIWLFjwH5t4QkICIyM2CXQxmAHka/j///9mXDYxMjL6YtgwBDUg+w8crIT8MBQ0oEca55JvWNPS9xgu4tISzADyNfz///8MnrRkgmHDENSALWng9fRQ0DA40xLecglbWhpqGoZCMUNKUQkANAHAJVkE5XwAAAAASUVORK5CYII=","view/rendertime.png":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAkCAYAAAC9itu8AAABeUlEQVQ4T+2Uv0tCURSAvyNdcwiXBlsaaomWFgeHlqAtCPsDJHwIiUtDSxERtErtmQ6CjkHo4FpDBQ0tbVFR0BYE0eQvOnFF7T17QlOTd3m88873OD8+rtA9uVzOBIPBlIisAwvd8B1QajQahXQ63bIx6QHFYrEEJHrv7qeqZhzHOfYA+Xw+Yow5B+YHoGwymdxW1QAQEFWNAk8i8uEDuZM3gUcLZIEJYNcNqWrVcZyd7p9t8jLwYIFTYBx47UHlcjmcSCQ+B5JtpU0LnAFj3br7kE+yTalb4BCYczVqoT3AjteW4T73FlgFNgY+1IGQz4hPLGCAI2DGbweu2Auw1Vmcqk4C+8DsEOgZOBCR9/6mVdU2vgIsAdOuIVwANRFpezatuahpTYVSop1m+y6pasm8NQqSvvW61KwslkSHuCRkgvErr0taiUXaal1Sr0siWRO/9HfpF+RN9nfpB/qqmrXrv7mktVhYVm5GLo1cct9LI5e8d84/3UvfAgdlKH0EO7MAAAAASUVORK5CYII=","view/cache.png":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAAkCAYAAABSSLCCAAAAcElEQVQ4T2NcsGDB/4SEBEYGBgYGYtmMxCpENhhsA6mA8f///5tHNTEwkBcQpIYcSD15kUtWigi51vR/jVYdOGUQy2YkViGywWSnvTOkhiAonkY1gZIRqSEHTntkRe4g10RWQIyWe5Bgo2O5R7dkBADztyP+yFzirAAAAABJRU5ErkJggg==","comp/clip_selectBox.png":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAAAoCAYAAAAIeF9DAAAAsElEQVRoQ+3ZQQ0AMQzEwAuqEgh/Sj2pKObhIrBsrfLonHPu12MMTEGYFg+kIFaPgmA9ClIQzQDG0w0pCGYAw2khBcEMYDgtpCCYAQynhRQEM4DhtJCCYAYwnBZSEMwAhtNCCoIZwHBmd/tTh6IUBIrx/tRbiFWkIFaPFoL1KEhBNAMYTzekIJgBDKeFFAQzgOG0kIJgBjCcFlIQzACG00IKghnAcFpIQTADGE4LwYL8U/BE1dCJ3PsAAAAASUVORK5CYII=","comp/label.png":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAASCAYAAACQCxruAAAAmElEQVRoQ+3aMQqAQBBDUef+hx4Zq1mrbPnhWylECHmghVZ397OOqqp97TlugdNzgEXFIaaFuwROt0LmBEay5aXb920+FjIpMJItLy1wvhUyKTCSLS8tcL4VMikwki0vLXC+FTIpMJItLy1wvhUyKTCSLS89wPP1Qeh8M0zy+84gMMbruqjA15OxbtjAu7mPa5bj0fb/A8cLgD4n/wQKNiIAAAAASUVORK5CYII=","comp/clip_tree_arrow.png":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAQCAYAAAArij59AAAAwUlEQVQoU5WRPRKCMBCFWUt6vYQeB06RUDpoBbFDa7yDwm30FGi9dHnOMiQDBgvT5c3b7+0PRVEUlVV9A3NmzL6T//SRfMz5CgCdtVafjlmzaHAigAbM2tE8YVo1pf0yvABoc9D3wACgBbMKIgD4qqDJsqqlMV8VGL5n/88geCJKlijSMBXFZUNx/CSi9WwX1r7R99thzKKqkxXRbMUWSE2u2sEwHsxHCbrMVSq6N4xRD9HAvJstylEkarhurlqnfQC58YP5+CvQNwAAAABJRU5ErkJggg==","view/bg_panel.png":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAMUlEQVRYR+3QQREAAAjDMGZk/l2CDD6pgl7SduexGCBAgAABAgQIECBAgAABAgS+BQ4oyStBhXcy5AAAAABJRU5ErkJggg==","view/bg_top.png":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAMUlEQVRYR+3QQREAAAjDMKZp/rWBDD6pgl7SduexGCBAgAABAgQIECBAgAABAgS+BQ6WyDMhXMLeQgAAAABJRU5ErkJggg==","view/clickselect.png":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAqCAYAAACDdWrxAAACfElEQVRIS8WVO2iTYRSGn5OWqpMOurg0VRBdVVCsg7GgDjpZECyirl4GEYfSgBlaB5VSpApdxCJIoeKgg7dKC21ALahIiyiKKUjxAiI4qCH1lRP/hPhfAnHpGZPv+c4573nP95ukO/xHmINmtq8RtswsPiipB/gAPAFem5nCbcSWKukIsD84/A2Y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FD5U8CB7u+/DGybgXxnFMA3/m1GISGwegNMAeuYBuON53lKpVBrePBG5RkTuSPc1b2ZmZnDzRKRnHoDYvIODg3u5XM69/E8AKAO40G1aNcb0N6/ZbF5X1fsAbjpInXnGmETzGo3GRdew+0DPGmPSzRORTQA988bHx89NTk6mmtdoNGLziGjJ9/1085rN5l1VPWSeMSbVvLW1tXwYhoXp6en+5olIbB6A2Dzf9wcyb319/cju7m5hdnY22TwRic3zPO98qVQayLxWq3U0DMPYPGNMsnmrq6snx8bGNqempgYyT0SKzjoAsXnGmP7mNZvNU9lsdqtYLKaaJyJXABwyzxiTbp6IxOYRUd33/VTzNjY2RnZ2dnrmAdgyxqSbJyJnAMTmEdFl3/cTzROR2DzHk6qWiei4Maa/eSJScZY99FRXPM+7MTIy8iAMQ6/dbsfmEVHPPGPM4OaJiBtDqnmuqfuL4Pv+8Oa1Wq1jYRg+ZR6A2DxjzP/mPRupfwAf56Q4urCh6QAAAABJRU5ErkJggg==","view/tab_panel.png":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAABICAYAAADyMAW8AAAAcUlEQVRYR+3WsQ3AMAhE0TCMeyTvP1tShRQo7lxYegxA8fUPLuac97VhwuKXKhTlFxRQ9GPDClawYvGEDwxIZu7pFRZXr4ACinY1ghWsYMX/NxWQr22edyvGGHt6hcV1NqGAon8QVrCCFYteISDnBuQB3xJuQcDkEngAAAAASUVORK5CYII=","view/btn_close.png":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAqCAYAAACz+XvQAAACmUlEQVRIS7WWS0/bUBCFz7mJmyZxENm06mNVoVZC7LqGn9FNqy55/BSWSEhs2/4uuqFVoA150JLKJvGdaiIH2TfXNoKQpeP5PHPO3GMTK/5xxTwsAUWkBeBZ+qAByb/Zh4pIA8CL9NqY5Dj7vw9YA/ABwDsAfwB8ITnUIhF5CuATgNcAfgH4RnJSCkwLl6AA/lXBtLZQQxFxoTr6q6LOFl2WmuJAtcY7ZuXIixscz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5dlsf/0yO2ElsSJ7ZES1lLbCWgJE5siZaylthKQEmc2BItZS2xlYCSOLElWspaYisBJXFiS7SUtcRWAkrixJZoKWuJrQSUxIkt0VLWElsJKIkTW6L1t5an6wFooRGerofKBeZ4uh4IFxrj6XqoXECOp+sBaJoIT9c1esIsT9eFYFbl/J5tJc13agyliU1sWwHDbtyziW0oYNiKk22JfXJ6xnfXjcDdFttnb43a/b9tovQ5iG30/IltBL1tQ2xiGwoYtuJkE9tQILBV/ugl4rh2MF1sPJJP59fuc7IDsTe37mHz8Bki+MoKHhFqn9+j9vs7sQN9K7G89xRx837levHzG5Lph8p1TrZK3iF//ApxdLVI4YFk/BpA9Uc5sVXYwObOCfyDJ3AoUcIh+vIRtYuve1clthJ7G8/7p4hv30Xx6weSybuDKxL7BrARxcjTF0iyN4AviH0Tpto1ONlaQUGe2AIsbSmxtYKCPLEFWNpSYmsFBXliC7C0pZfY2oWY/zeBP8uaLni/AFTVAAAAAElFTkSuQmCC","comp/textinput.png":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFsAAAAWCAYAAACv8OArAAAAZElEQVRYR+3UQQkAMAwEwcZI/LtsoSL2NTGwMByZ3b3HJQIDO3H+EdidNezQGjbsUiBs+dmwQ4EwZdmwQ4EwZdmwQ4EwZdmwQ4EwZdmwQ4EwZdmwQ4EwZdmwQ4EwZdmwQ4Ew9QBe0R29X9x+dwAAAABJRU5ErkJggg==","comp/vscroll.png":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAhCAYAAAA/F0BXAAAAOklEQVRIS2N8+OzVf2YWFgYmJiYGcgHjqCEYQTcaJpipaTRMRsOEmDJmNJ2MppPRdEJMCIymE2JCCQAYonwDuu2VMAAAAABJRU5ErkJggg==","comp/vscroll$down.png":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAzCAYAAABxCePHAAAC/klEQVRIS+2WS0wTURSG/zszBcrLFVvjio0LiAqRRDAmGpRodFE1MQQQkOKGq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rUn+eHIDzNbltBSG33O+jcnxNZmrYcw5Yc7hoXotRenRPyz0IgBzrGYkTp9qEtxiEV10eEKD08Wgh7bzwTonSvIV/soK5jd53rE6I0eGY3/PL5wWYxQ+nFgShRKqK6LqTwhJNEafRKNQHCcWK3WmDHqR5NlMoSQzAWUV+9vkBMsKXYLCSbs3Oe+SGqqupGrIL3h3YclifYkjo7yZ7izIzUUGrhnvXAzA+PURkR8xCwPnMVsCUVpW0bsiCUKOH9S0980JvaLJSQUTal9Q+9/RgRJQSgnvgCgdBkxkCKektSpC9cR0HCOQgiZUMI3njijwYg+COzLP9rkLr7E3Dn4Gbhp7BPDC+n0TkhlK2zJpccuSBIfVdsutVdt9U4pLbjtVC2B0cKYN/N50LZHh0rFGGguztV14aFsvWfLiVhSrVboaSlXyjbk/NlBNKFVLT0k7INX3KAx+sXfkBlKzjpJItGLlcmhmSkptAB83h9MTuCICxBRUkMwUmY5+uFPY7LmJ7GW05SZycsSos9xUsmSr8BfgGeWI6+BgEAAAAASUVORK5CYII=","comp/button.png":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE0AAABFCAYAAAAPWmvdAAABA0lEQVR4Xu3ZMRGDUBRFwXwfKSgxFhfRgAbUxEakkCEO3qmX+p9m5w7NW9v7cz18I4EFbeT1fwxtbgYtmEGDVgRC458GLQiExNKgBYGQWBq0IBASS4MWBEJiadCCQEgsDVoQCImlQQsCIbE0aEEgJJZW0Pbj64Q3hFvQhmL3CQ8atLlAKCwNWhAIiaVBCwIhsTRoQSAklgYtCITE0qAFgZBYGrQgEBJLgxYEQmJp0IJASCwNWhAIiaUVtOfrdMIbwi1oQ7H7hAcN2lwgFJYGLQiExNKgBYGQWBq0IBASS4MWBEJiadCCQEgsDVoQCImlQQsCIbE0aEEgJJYGLQiExNIC2g/MxaMp6CSauwAAAABJRU5ErkJggg==","view/bg_tool.png":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAMklEQVRYR+3QQREAAAjDMCYG/DsEGXxSBb2ke7YeiwECBAgQIECAAAECBAgQIEDgW+AAAeIuAVS/mngAAAAASUVORK5CYII=","comp/minBtn.png":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAA8CAYAAAB1odqiAAAArUlEQVRYR+3X0QmAMAwE0GQN19B9nM193CmiIH7ZXOAoRc/fpjl8jVDdOj/eOc8USBcXqUjLAtDQRMSOdHb3JatTYCZUXodIy10bGxTI1Lx6/YA0Ima6W2tKFcjmdpGKtCow7NBAdxozy+804Gfx/cDqbLzWDzs0ekNY4B9nOMEehMKTVIEEyKeFSKmc18+MppRtipJuYPCa1SkwEyqvo6Tlxm8bFEijvBt9n/QA/fOPydLHcUIAAAAASUVORK5CYII=","view/zoom_out.png":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAoCAYAAAD6xArmAAACy0lEQVRIS92WQU8TQRTH/28oQkj0CL0QOMAJQkz4DkS6A+GA+A00Hrhj0uy8NiTwEdBPAOrB0Fnq3U8g6gkOSjxUjpCQCu08M5u2qaVAt7YmOqfNZPa3b9/+Z35L6NOgPnHx98Gbm5sTlUplA0AGQBpACcBBKpXazmaz3+5607YVM/MjEXlNRPdbASJyTkRrzPz+Nvg1MDNPAvgI4AGA10qpvHPuSCk17ZwLAazV4HPM/PUmeDvwSwBPAbxl5sf+RmYWZo7XMvOehwPYYebnScAnAMaVUrNhGH5pBefz+Rnn3GcAJ8w8kQT8E8A9AEMA/HXrqM9fMrO/bjvataJvFdd7/IaZfS9/67ExZpeIngB4xczPklQ8KSKHPmoispdKpXKjo6PHp6enU5VKxXhoV6moVXhnjpVS5wDOwjD81K7qG7e033lXV1cviMjvvDEAP0TkYHBwcKtarT4UkXcALolo1RhTaIV3dVYYY9aIyOfZDw9fMcYUm+FdgWvtYgCmBisrpRbCMPxQh3cNbgM3zJzvCdhDcrncuojMA8gy8/eegTvO8U0Lk87/UY9ve9h/BI6iyJ+1GyLScB4RHQDYDoKgO+dFUR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3YeXv/ALDwD+TbY8Dbd9BBAAAAAElFTkSuQmCC","view/setting.png":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAkCAYAAAC9itu8AAACAklEQVQ4T5XUS4iOcRTH8c9xCeVeiiiXhSJRJFIusRO2lEtZKFlgY6GxZDUrk2TFwii22JJLlERRLKRQJmXBkHIb8+hM/2d6ememed93957n93v+55zf9/mHll9VVTNxopTPR8T3piTyT1VVs7AL9zEd+4roOn5gK25HxLfacAjL8A8TWw6ta28jorc2LMLhIu7Ds2Jah4XlRVci4mNUVTUDadiLFF/G5GL4iyOYjxsYMnQ1BDfxujk0VmJPecFAO4bV2Nk05Bqzz3Za6ut86JJDx2vN4Hbj3hjBbcOt4eCaQZXUj5daT4pGoNFimI1zpdYVEf2jsTQX+5MX5NaOFdFFJHzJ2bWI+FJv6SRWYACTWliqa68ioqc2LMWpwtJ7PCymzVhSWOqOiHeZdPachqNIcXdBJV/2B6cLa5cwZLjQYOkqnuNsOeEM1uJgE43xDBsaH9QQfJ21VNBoHfpBaWHLiKGLoeO1ZnAHkpcxgkvOeoeDa0FjTnNLEfF1PJamYkcR3YmIX6OxNA35Kb7BFKwvoqf4jeV4GRE/azQ2Yh4GMaGFpbr2OSKe1Ibse1MRJ84fimkxMqc0Pc55MrjsOYvZRoofNW6/vPUSwEQ+2+tPQ14h9fX4Ap+aQ2MB1pQTB9sx5K24qmnorKWCRvtDF0PHa+0suBaW0ry91O5mus3n/wHmQwUTIH+tVgAAAABJRU5ErkJggg==","view/refresh.png":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAkCAYAAAC9itu8AAACiElEQVQ4T4WVS4iPYRTGf4/7/X6XcivXcktEUhTKQkqyYCOKjWyUhezFThbIlJ3LYrIRkoWGUhhhTMko4zJujYRpxgxHj9737/P3zfh239c57/uc5/zO+UQ3T0QsBRYCtZI+5jBVx0fEcGA6MA+YCXQCVyXddWwlISL6ARuARcXvhQPrJF3/nRARvYHtwLRu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4159lKA9gUQqR3njHGHpx9tOxKKfvnvGq1OmQrC2AKwIQQon/OOzk5GQzD0I5hPIqi/jvPGNN2npTyH3feTzoJOzgswwlqAAAAAElFTkSuQmCC","view/search.png":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAqCAYAAABcOxDuAAABX0lEQVRIS+3VsUrEQBAG4H9HiDZiJQg+gJVaiKAoWClYXWeZ7D6CtbWFr5Ai2ayQxkLQRgsLGwtBUQsRC6sDCxHxEIvIZSRwxRGSu83pNUe23c0H+89kR2AISwzBxAiinuctCSH2AawD+AFwRkR7QRC85CO0ur5SaoOZzwGM54A3IlrJw1aolPIewEJJUY+01jvde31RKeUMgNceXdLSWk9VQl3XnSWiZhnKzF9RFE1WQrPDUsonAHNFsBDiJAzDRmXUdd1tIjoFMJaDW0KI1TAMH61RpdQ0Mx8z8zMzHxLRAYBlAG0Al2ma7hpjHqxbqgNeAJgHcKW1XutEMeE4Ttv3/axXC1dh9XPgbZqmW8aYd9t3ohCVUt4BWARwkyTJZhzHH7Zgdq4MvQbw7ThOw/f9zypgKVoVsS7UX+C+v+kgeI0Oklrvb0Yw03rwlZW8Hnz14OvqjXrw1e/pPyfwCww91CttlMG7AAAAAElFTkSuQmCC","view/save.png":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAoCAYAAAD6xArmAAAA1klEQVRIS+2VzQ3DIAyFwxwdoMMAA/VQ8ZByyEBhmA7QOVxxKLIaOcIoSZUfrlifHw/wM91Ky6zE7SZgANTaDEDhzYJ5odSMC7nA5U7+b4X2dVQr3ic4hHCTlMcY33xPZUUGcwBvdEJwjcfGGIQQ4rd2qenWA3hyAUuABwCP31NtN+i1v02qP4DicRybM885J2ceB/NCyUupfuLxBS4WbmKF9rNUv4p9gq21d0l5SunF91RWZDAH8EYnBNd4nDPPWitnXst0I6Leez+feVowEQ3e+wNk3ge7C/Qp3GfwkgAAAABJRU5ErkJggg=="}},"base64",function(){return this.base64=new Base64Atlas(e.dataO)}]),e}(),DebugTool=function(){function e(){}return __class(e,"laya.debug.DebugTool"),__getset(1,e,"target",function(){return e._target},function(t){e._target=t}),__getset(1,e,"isThisShow",function(){return!1}),__getset(1,e,"showStatu",null,function(t){t?Stat.show():(Stat.hide(),e.clearDebugLayer())}),__getset(1,e,"showBound",function(){return e._showBound},function(t){e._showBound=t,e._showBound||e.clearDebugLayer()}),e.getMenuShowEvent=function(){return Browser.onMobile?"doubleclick":"rightclick"},e.init=function(t,i,o,n,s){void 0===t&&(t=!0),void 0===i&&(i=!0),void 0===o&&(o=!0),void 0===n&&(n=!0),void 0===s&&(s=!1),e.enableCacheAnalyse=t,e.enableCacheAnalyse&&RenderSpriteHook.init(),n&&SpriteRenderHook.init(),e.enableNodeCreateAnalyse=o,e.enableNodeCreateAnalyse&&ClassCreateHook.I.hookClass(Node),i&&LoaderHook.init(),CacheAnalyser.showCacheSprite=s,DisplayHook.initMe(),NodeInfoPanel.init(),e.debugLayer||(e.debugLayer=DebugInfoLayer.I.graphicLayer,e.debugLayer.mouseEnabled=!1,e.debugLayer.mouseThrough=!0,e.showStatu=!0,Laya.stage.on("keydown",null,e.keyHandler),e.cmdToTypeO[1]="IMAGE",e.cmdToTypeO[2]="ALPHA",e.cmdToTypeO[4]="TRANSFORM",e.cmdToTypeO[8]="CANVAS",e.cmdToTypeO[256]="GRAPHICS",e.cmdToTypeO[512]="CUSTOM",e.cmdToTypeO[2048]="CHILDS",DebugExport["export"]())},e.dTrace=function(t){null!=e._traceFun&&e._traceFun(t),console.log(t)},e.keyHandler=function(t){var i;if(i=String.fromCharCode(t.keyCode),t.altKey){switch(t.keyCode){case 38:e.showParent();break;case 40:e.showChild();break;case 37:e.showBrother(e.target,1);break;case 39:e.showBrother(e.target,-1)}e.dealCMDKey(i)}},e.dealCMDKey=function(t){switch(t){case"上":e.showParent();break;case"下":e.showChild();break;case"左":e.showBrother(e.target,1);break;case"右":e.showBrother(e.target,-1);break;case"B":e.showAllBrother();break;case"C":e.showAllChild();break;case"E":e.traceDisMouseEnable();break;case"S":e.traceDisSizeChain();break;case"D":DisControlTool.downDis(e.target);break;case"U":DisControlTool.upDis(e.target);break;case"N":e.getNodeInfo();break;case"M":e.showAllUnderMosue();break;case"I":break;case"O":ObjectCreateView.I.show();break;case"L":DisController.I.switchType();break;case"Q":e.showNodeInfo();break;case"F":e.showToolPanel();break;case"P":e.showToolFilter();break;case"V":e.selectNodeUnderMouse();break;case"A":NodeToolView.I.target&&MouseEventAnalyser.analyseNode(NodeToolView.I.target);break;case"K":NodeUtils.traceStage();break;case"T":e.switchNodeTree();break;case"R":RenderCostRankView.I.show();break;case"X":NodeTree.I.fresh();break;case"mCMD":e.traceCMD();break;case"allCMD":e.traceCMDR()}},e.switchNodeTree=function(){ToolPanel.I.switchShow("Tree")},e.analyseMouseHit=function(){e.target&&MouseEventAnalyser.analyseNode(e.target)},e.selectNodeUnderMouse=function(){DisplayHook.instance.selectDisUnderMouse(),e.showDisBound()},e.showToolPanel=function(){ToolPanel.I.switchShow("Find")},e.showToolFilter=function(){ToolPanel.I.switchShow("Filter")},e.showNodeInfo=function(){NodeInfoPanel.I.isWorkState?NodeInfoPanel.I.recoverNodes():NodeInfoPanel.I.showDisInfo(e.target)},e.switchDisController=function(){DisController.I.target?DisController.I.target=null:e.target&&(DisController.I.target=e.target)},e.showParent=function(t){return t||(t=e.target),t?(e.target=t.parent,void e.autoWork()):(console.log("no targetAvalible"),null)},e.showChild=function(t){return t||(t=e.target),t?void(t.numChildren>0&&(e.target=t.getChildAt(0),e.autoWork())):(console.log("no targetAvalible"),null)},e.showAllChild=function(t){return t||(t=e.target),t?(e.selectedNodes=DisControlTool.getAllChild(t),void e.showSelected()):(console.log("no targetAvalible"),null)},e.showAllUnderMosue=function(){e.selectedNodes=DisControlTool.getObjectsUnderGlobalPoint(Laya.stage),e.showSelected()},e.showParentChain=function(t){if(t){e.selectedNodes=[];var i;for(i=t.parent;i;)e.selectedNodes.push(i),i=i.parent;e.showSelected()}},e.showAllBrother=function(t){return t||(t=e.target),t?void(t.parent&&(e.selectedNodes=DisControlTool.getAllChild(t.parent),e.showSelected())):(console.log("no targetAvalible"),null)},e.showBrother=function(t,i){if(void 0===i&&(i=1),t||(t=e.target),!t)return console.log("no targetAvalible"),null;var o;if(o=t.parent){var n=0;n=o.getChildIndex(t),n+=i,0>n&&(n+=o.numChildren),n>=o.numChildren&&(n-=o.numChildren),e.target=o.getChildAt(n),e.autoWork()}},e.clearDebugLayer=function(){e.debugLayer.graphics&&e.debugLayer.graphics.clear()},e.showSelected=function(){if(e.autoShowSelected&&e.selectedNodes&&!(e.selectedNodes.length<1)){console.log("selected:"),console.log(e.selectedNodes);var t=0,i=0;for(i=e.selectedNodes.length,e.clearDebugLayer(),t=0;i>t;t++)e.showDisBound(e.selectedNodes[t],!1)}},e.getClassCreateInfo=function(e){return RunProfile.getRunInfo(e)},e.autoWork=function(){e.isThisShow&&(e.showBound&&e.showDisBound(),e.autoTraceSpriteInfo&&e.target&&TraceTool.traceSpriteInfo(e.target,e.autoTraceBounds,e.autoTraceSize,e.autoTraceTree),e.target&&(e.autoTraceCMD&&e.traceCMD(),e.autoTraceCMDR&&e.traceCMDR(),e.autoTraceEnable&&e.traceDisMouseEnable(e.target)))},e.traceDisMouseEnable=function(t){if(console.log("traceDisMouseEnable:"),t||(t=e.target),!t)return console.log("no targetAvalible"),null;var i;for(i=["TraceDisMouseEnable"],e.selectedNodes=[];t;)i.push(ClassTool.getNodeClassAndName(t)+":"+t.mouseEnabled+" hitFirst:"+t.hitTestPrior),e.selectedNodes.push(t),t=t.parent;return e.showSelected(),i.join("\n")},e.traceDisSizeChain=function(t){if(console.log("traceDisSizeChain:"),t||(t=e.target),!t)return console.log("no targetAvalible"),null;e.selectedNodes=[];var i;
for(i=["traceDisSizeChain"];t;)e.dTrace(TraceTool.getClassName(t)+":"),i.push(ClassTool.getNodeClassAndName(t)+":"),i.push("Size: x:"+t.x+" y:"+t.y+" w:"+t.width+" h:"+t.height+" scaleX:"+t.scaleX+" scaleY:"+t.scaleY),TraceTool.traceSize(t),e.selectedNodes.push(t),t=t.parent;return e.showSelected(),i.join("\n")},e.showDisBound=function(t,i,o){if(void 0===i&&(i=!0),void 0===o&&(o="#ff0000"),t||(t=e.target),!t)return console.log("no targetAvalible"),null;i&&e.clearDebugLayer();var n;n=t._getBoundPointsM(!0),!n||n.length<1||(n=GrahamScan.pListToPointList(n,!0),WalkTools.walkArr(n,t.localToGlobal,t),n=GrahamScan.pointListToPlist(n),e._disBoundRec=Rectangle._getWrapRec(n,e._disBoundRec),e.debugLayer.graphics.drawRect(e._disBoundRec.x,e._disBoundRec.y,e._disBoundRec.width,e._disBoundRec.height,null,o),DebugInfoLayer.I.setTop())},e.showDisBoundToSprite=function(t,i,o,n){void 0===o&&(o="#ff0000"),void 0===n&&(n=1);var s;s=t._getBoundPointsM(!0),!s||s.length<1||(s=GrahamScan.pListToPointList(s,!0),WalkTools.walkArr(s,t.localToGlobal,t),s=GrahamScan.pointListToPlist(s),e._disBoundRec=Rectangle._getWrapRec(s,e._disBoundRec),i.graphics.drawRect(e._disBoundRec.x,e._disBoundRec.y,e._disBoundRec.width,e._disBoundRec.height,null,o,n))},e.getNodeInfo=function(){return e.counter.reset(),WalkTools.walkTarget(Laya.stage,e.addNodeInfo),console.log("node info:"),e.counter.traceSelf(),e.counter.data},e.findByClass=function(t){return e._classList=[],e._tFindClass=t,WalkTools.walkTarget(Laya.stage,e.addClassNode),e.selectedNodes=e._classList,e.showSelected(),e._classList},e.addClassNode=function(t){var i;i=t.constructor.name,i==e._tFindClass&&e._classList.push(t)},e.traceCMD=function(t){if(t||(t=e.target),!t)return console.log("no targetAvalible"),null;console.log("self CMDs:"),console.log(t.graphics.cmds);var i;for(i=RenderSprite.renders[t._renderType],console.log("renderSprite:",i),e._rSpList.length=0;i&&i._sign>0;)e._rSpList.push(e.cmdToTypeO[i._sign]),i=i._next;return console.log("fun:",e._rSpList.join(",")),e.counter.reset(),e.addCMDs(t.graphics.cmds),e.counter.traceSelf(),e.counter.data},e.addCMDs=function(t){WalkTools.walkArr(t,e.addCMD)},e.addCMD=function(t){e.counter.add(t.callee)},e.traceCMDR=function(t){return t||(t=e.target),t?(e.counter.reset(),WalkTools.walkTarget(t,e.getCMdCount),console.log("cmds include children"),e.counter.traceSelf(),e.counter.data):(console.log("no targetAvalible"),0)},e.getCMdCount=function(t){if(!t)return 0;if(!(t instanceof laya.display.Sprite))return 0;if(!t.graphics.cmds)return 0;e.addCMDs(t.graphics.cmds);var i=t.graphics.cmds.length;return i},e.addNodeInfo=function(t){var i;i=t.constructor.name,e.counter.add(i)},e.find=function(t,i){void 0===i&&(i=!0);var o;return o=e.findTarget(Laya.stage,t),e.selectedNodes=o,e.selectedNodes&&(e.target=e.selectedNodes[0]),i&&e.showSelected(),o},e.findByName=function(t){return e.nameFilter.name=t,e.find(e.nameFilter)},e.findNameStartWith=function(t){return e.nameFilter.name=e.getStartWithFun(t),e.find(e.nameFilter)},e.findNameHas=function(t,i){return void 0===i&&(i=!0),e.nameFilter.name=e.getHasFun(t),e.find(e.nameFilter,i)},e.getStartWithFun=function(e){var t=function(t){return t?0==t.indexOf(e):!1};return t},e.getHasFun=function(e){var t=function(t){return t?t.indexOf(e)>=0:!1};return t},e.findTarget=function(t,i){var o=[];e.isFit(t,i)&&o.push(t);var n,s=0,a=0;for(a=t.numChildren,s=0;a>s;s++)n=t.getChildAt(s),n instanceof laya.display.Sprite&&(o=o.concat(e.findTarget(n,i)));return o},e.findClassHas=function(t,i){var o=[];ClassTool.getClassName(t).indexOf(i)>=0&&o.push(t);var n,s=0,a=0;for(a=t.numChildren,s=0;a>s;s++)n=t.getChildAt(s),n instanceof laya.display.Sprite&&(o=o.concat(e.findClassHas(n,i)));return o},e.isFit=function(e,t){if(!e)return!1;if(!t)return!0;if("function"==typeof t)return t(e);var i;for(i in t)if("function"==typeof t[i]){if(!t[i](e[i]))return!1}else if(e[i]!=t[i])return!1;return!0},e.log=function(t){var i,o=arguments;i=DTrace.getArgArr(o),null!=e._logFun&&e._logFun(i.join(" "))},e.enableCacheAnalyse=!1,e.enableNodeCreateAnalyse=!0,e._traceFun=null,e.debugLayer=null,e._target=null,e.selectedNodes=[],e.autoShowSelected=!0,e._showBound=!0,e._disBoundRec=null,e.autoTraceEnable=!1,e.autoTraceBounds=!1,e.autoTraceSize=!1,e.autoTraceTree=!0,e.autoTraceCMD=!0,e.autoTraceCMDR=!1,e.autoTraceSpriteInfo=!0,e._classList=null,e._tFindClass=null,e._rSpList=[],e._logFun=null,__static(e,["text",function(){return this.text=new Stat},"cmdToTypeO",function(){return this.cmdToTypeO={}},"counter",function(){return this.counter=new CountTool},"nameFilter",function(){return this.nameFilter={name:"name"}}]),e}(),Base64Atlas=function(){function e(e,t){this.data=null,this.replaceO=null,this.idKey=null,this._loadedHandler=null,this.data=e,t||(t=Math.random()+"key"),this.idKey=t,this.init()}__class(e,"laya.debug.tools.Base64Atlas");var t=e.prototype;return t.init=function(){this.replaceO={};var e;for(e in this.data)this.replaceO[e]=this.idKey+"/"+e},t.getAdptUrl=function(e){return this.replaceO[e]},t.preLoad=function(e){this._loadedHandler=e,Laya.loader.load(Base64ImageTool.getPreloads(this.data),new Handler(this,this.preloadEnd))},t.preloadEnd=function(){var e;for(e in this.data){var t;t=Laya.loader.getRes(this.data[e]),Loader.cacheRes(this.replaceO[e],t)}this._loadedHandler&&this._loadedHandler.run()},t.replaceRes=function(e){ObjectTools.replaceValue(e,this.replaceO)},e}(),Base64ImageTool=function(){function e(){}return __class(e,"laya.debug.tools.Base64ImageTool"),e.getCanvasPic=function(e){e=e.bitmap;var t=Browser.createElement("canvas"),i=t.getContext("2d");return t.height=e.height,t.width=e.width,i.drawImage(e.source,0,0),t},e.getBase64Pic=function(t){return e.getCanvasPic(t).toDataURL("image/png")},e.getPreloads=function(e){var t;t=[];var i;for(i in e)t.push({url:e[i],type:"image"});return t},e}(),Base64Tool=function(){function e(){}return __class(e,"laya.debug.tools.Base64Tool"),e.init=function(){if(!e.lookup){e.lookup=new Uint8Array(256);for(var t=0;t<e.chars.length;t++)e.lookup[e.chars.charCodeAt(t)]=t}},e.encode=function(t){var i=new Uint8Array(t),o=0,n=i.length,s="";for(o=0;n>o;o+=3)s+=e.chars[i[o]>>2],s+=e.chars[(3&i[o])<<4|i[o+1]>>4],s+=e.chars[(15&i[o+1])<<2|i[o+2]>>6],s+=e.chars[63&i[o+2]];return n%3===2?s=s.substring(0,s.length-1)+"=":n%3===1&&(s=s.substring(0,s.length-2)+"=="),s},e.encodeStr=function(t){var i;return i=new Byte,i.writeUTFString(t),e.encodeByte(i)},e.encodeByte=function(t,i,o){return void 0===i&&(i=0),void 0===o&&(o=-1),0>o&&(o=t.length),e.encode(t.buffer.slice(i,o))},e.decodeToByte=function(t){return new Byte(e.decode(t))},e.decode=function(t){e.init();var i=.75*t.length,o=t.length,n=0,s=0,a=0,r=0,l=0,h=0;"="===t[t.length-1]&&(i--,"="===t[t.length-2]&&i--);var c=new ArrayBuffer(i),u=new Uint8Array(c);for(n=0;o>n;n+=4)a=e.lookup[t.charCodeAt(n)],r=e.lookup[t.charCodeAt(n+1)],l=e.lookup[t.charCodeAt(n+2)],h=e.lookup[t.charCodeAt(n+3)],u[s++]=a<<2|r>>4,u[s++]=(15&r)<<4|l>>2,u[s++]=(3&l)<<6|63&h;return c},e.chars="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",e.lookup=null,e}(),CacheAnalyser=function(){function e(){}__class(e,"laya.debug.tools.CacheAnalyser");var t=e.prototype;return t.renderCanvas=function(t,i){void 0===i&&(i=0),e.showCacheSprite&&(DebugInfoLayer.I.isDebugItem(t)||DebugTool.showDisBoundToSprite(t,DebugInfoLayer.I.cacheViewLayer,"#ff0000",2))},t.reCacheCanvas=function(t,i){if(void 0===i&&(i=0),!DebugInfoLayer.I.isDebugItem(t)){var o;o=e.getNodeInfoByNode(t),o.addCount(i),e.counter.addTime(t,i),o.parent||DebugInfoLayer.I.nodeRecInfoLayer.addChild(o)}},e.renderLoopBegin=function(){DebugInfoLayer.I.cacheViewLayer.graphics.clear()},e.getNodeInfoByNode=function(t){IDTools.idObj(t);var i=0;return i=IDTools.getObjID(t),e._nodeInfoDic[i]||(e._nodeInfoDic[i]=new ReCacheRecInfo),e._nodeInfoDic[i].setTarget(t),e._nodeInfoDic[i]},e._nodeInfoDic={},e.showCacheSprite=!1,__static(e,["counter",function(){return this.counter=new ObjTimeCountTool},"I",function(){return this.I=new e}]),e}(),CanvasTools=function(){function e(){}return __class(e,"laya.debug.tools.CanvasTools"),e.createCanvas=function(e,t){var i=new HTMLCanvas("2D");return i.getContext("2d"),i.size(e,t),i},e.renderSpriteToCanvas=function(e,t,i,o){RenderSprite.renders[e._renderType]._fun(e,t.context,i,o)},e.getImageDataFromCanvas=function(e,t,i,o,n){void 0===t&&(t=0),void 0===i&&(i=0),void 0===o&&(o=0),void 0===n&&(n=0),0>=o&&(o=e.width),0>=n&&(n=e.height);var s=e.context.getImageData(t,i,o,n);return s},e.getImageDataFromCanvasByRec=function(e,t){var i=e.context.getImageData(t.x,t.y,t.width,t.height);return i},e.getDifferCount=function(t,i){function o(t,i,o,r){e.isPoinSame(o,n,s)||a++}var n=t.data,s=i.data,a=0;return a=0,e.walkImageData(t,o),a},e.getDifferRate=function(t,i){return e.getDifferCount(t,i)/(t.width*t.height)},e.getCanvasDisRec=function(t){var i;i=new Rectangle;var o;o=e.getImageDataFromCanvas(t,0,0);var n=0,s=0,a=0,r=0;n=a=0,s=o.width,r=o.height;var l=0,h=0,c=0,u=0;h=o.width,u=o.height;var f;f=o.data;var d=0;for(c=0;u>c;c++)for(l=0;h>l;l++)e.isEmptyPoint(f,d)||(s>l&&(s=l),l>n&&(n=l),r>c&&(r=c),c>a&&(a=c)),d+=4;return i.setTo(s,r,n-s+1,a-r+1),i},e.fillCanvasRec=function(e,t,i){var o=e.context;o.fillStyle=i,o.fillRect(t.x,t.y,t.width,t.height)},e.isEmptyPoint=function(e,t){return 0==e[t]&&0==e[t+1]&&0==e[t+2]&&0==e[t+3]},e.isPoinSame=function(e,t,i){return t[e]==i[e]&&t[e+1]==i[e+1]&&t[e+2]==i[e+2]&&t[e+3]==i[e+3]},e.walkImageData=function(e,t){var i=0,o=0,n=0,s=0;o=e.width,s=e.height;var a=0,r=e.data;for(i=0;o>i;i++)for(n=0;s>n;n++)t(i,n,a,r),a+=4},e.getSpriteByCanvas=function(e){var t;return t=new Sprite,t.graphics.drawTexture(new Texture(e),0,0,e.width,e.height),t},e.renderSpritesToCanvas=function(t,i,o,n,s){void 0===o&&(o=0),void 0===n&&(n=0),void 0===s&&(s=0);var a=0,r=0;for(r=i.length,a=s;r>a;a++)e.renderSpriteToCanvas(i[a],t,o,n)},e.clearCanvas=function(e){var t=NaN,i=NaN;t=e.width,i=e.height,e.size(t+1,i),e.size(t,i)},e}(),ClassTool=function(){function ClassTool(){}return __class(ClassTool,"laya.debug.tools.ClassTool"),ClassTool.defineProperty=function(e,t,i){Object.defineProperty(e,t,i)},ClassTool.getOwnPropertyDescriptor=function(e,t){var i;return i=Object.getOwnPropertyDescriptor(e,t)},ClassTool.getOwnPropertyNames=function(e){var t;return t=Object.getOwnPropertyNames(e)},ClassTool.getClassName=function(e){return"function"==typeof e?e.name:e.constructor.name},ClassTool.getNodeClassAndName=function(e){if(!e)return"null";var t;return t=e.name?ClassTool.getClassName(e)+"("+e.name+")":ClassTool.getClassName(e)},ClassTool.getClassNameByClz=function(e){return e.name},ClassTool.getClassByName=function(className){var rst;return rst=eval(className)},ClassTool.createObjByName=function(e){var t;return new(t=ClassTool.getClassByName(e))},ClassTool}(),ColorTool=function(){function e(){this.red=NaN,this.green=NaN,this.blue=NaN}return __class(e,"laya.debug.tools.ColorTool"),e.toHexColor=function(e){if(0>e||isNaN(e))return null;for(var t=e.toString(16);t.length<6;)t="0"+t;return"#"+t},e.getRGBByRGBStr=function(e){"#"==e.charAt(0)&&(e=e.substr(1));var t,i=parseInt(e,16);8==e.length;return t=[(16711680&i)>>16,(65280&i)>>8,255&i]},e.getColorBit=function(e){var t;return t=Math.floor(e).toString(16),t=t.length>1?t:"0"+t},e.getRGBStr=function(t){return"#"+e.getColorBit(t[0])+e.getColorBit(t[1])+e.getColorBit(t[2])},e.traseHSB=function(e){console.log("hsb:",e[0],e[1],e[2])},e.rgb2hsb=function(e,t,i){var o=[e,t,i];o.sort(MathTools.sortNumSmallFirst);var n=o[2],s=o[0],a=n/255,r=0==n?0:(n-s)/n,l=0;return n==s?l=1:0==e&&0==t&&0==i||(n==e&&t>=i?l=60*(t-i)/(n-s)+0:n==e&&i>t?l=60*(t-i)/(n-s)+360:n==t?l=60*(i-e)/(n-s)+120:n==i&&(l=60*(e-t)/(n-s)+240)),[l,r,a]},e.hsb2rgb=function(e,t,i){var o=0,n=0,s=0,a=Math.floor(e/60%6),r=e/60-a,l=i*(1-t),h=i*(1-r*t),c=i*(1-(1-r)*t);switch(a){case 0:o=i,n=c,s=l;break;case 1:o=h,n=i,s=l;break;case 2:o=l,n=i,s=c;break;case 3:o=l,n=h,s=i;break;case 4:o=c,n=l,s=i;break;case 5:o=i,n=l,s=h}return[Math.floor(255*o),Math.floor(255*n),Math.floor(255*s)]},e}(),CommonTools=function(){function e(){}return __class(e,"laya.debug.tools.CommonTools"),e.bind=function(e,t){var i;return i=e.bind(t)},e.insertP=function(t,i,o,n,s,a){var r;r=new Sprite,t.parent.addChild(r),r.x=i,r.y=o,r.scaleX=n,r.scaleY=s,r.rotation=a,r.addChild(t),e.count++,r.name="insertP:"+e.count},e.insertChild=function(e,t,i,o,n,s,a){void 0===a&&(a="#ff00ff");var r;return r=new Sprite,e.addChild(r),r.x=t,r.y=i,r.scaleX=o,r.scaleY=n,r.rotation=s,r.graphics.drawRect(0,0,20,20,a),r.name="child:"+e.numChildren,r},e.count=0,e}(),CountTool=function(){function e(){this.data={},this.preO={},this.changeO={},this.count=0}__class(e,"laya.debug.tools.CountTool");var t=e.prototype;return t.reset=function(){this.data={},this.count=0},t.add=function(e,t){void 0===t&&(t=1),this.count++,this.data.hasOwnProperty(e)||(this.data[e]=0),this.data[e]=this.data[e]+t},t.getKeyCount=function(e){return this.data.hasOwnProperty(e)||(this.data[e]=0),this.data[e]},t.getKeyChange=function(e){return this.changeO[e]?this.changeO[e]:0},t.record=function(){var e;for(e in this.changeO)this.changeO[e]=0;for(e in this.data)this.preO[e]||(this.preO[e]=0),this.changeO[e]=this.data[e]-this.preO[e],this.preO[e]=this.data[e]},t.getCount=function(e){var t,i=0;for(t in e)i+=e[t];return i},t.traceSelf=function(e){e||(e=this.data);var t=0;return t=this.getCount(e),console.log("total:"+t),"total:"+t+"\n"+TraceTool.traceObj(e)},t.traceSelfR=function(e){e||(e=this.data);var t=0;return t=this.getCount(e),console.log("total:"+t),"total:"+t+"\n"+TraceTool.traceObjR(e)},e}(),DebugExport=function(){function e(){}return __class(e,"laya.debug.tools.DebugExport"),e["export"]=function(){var t;t=window;var i;for(i in e._exportsDic)t[i]=e._exportsDic[i]},__static(e,["_exportsDic",function(){return this._exportsDic={DebugTool:DebugTool,Watcher:Watcher}}]),e}(),DifferTool=function(){function e(e,t){this.autoTrace=!0,this.sign="",this.obj=null,void 0===e&&(e=""),void 0===t&&(t=!0),this.sign=e,this.autoTrace=t}__class(e,"laya.debug.tools.DifferTool");var t=e.prototype;return t.update=function(e,t){t&&console.log(t);var i=ObjectTools.copyObj(e);this.obj||(this.obj={});var o;return o=ObjectTools.differ(this.obj,i),this.obj=i,this.autoTrace&&(console.log(this.sign+" differ:"),ObjectTools.traceDifferObj(o)),o},e.differ=function(t,i,o){e._differO[t]||(e._differO[t]=new e(t,!0));var n;return n=e._differO[t],n.update(i,o)},e._differO={},e}(),DisController=function(){function e(){this.arrowAxis=null,this._target=null,this.recInfo=null,e.init(),this.arrowAxis=new Axis,this.arrowAxis.mouseEnabled=!0}__class(e,"laya.debug.tools.DisController");var t=e.prototype;return t.switchType=function(){this.arrowAxis.switchType()},t.updateMe=function(){this._target&&(this.recInfo=RecInfo.getGlobalRecInfo(this._target,0,0,1,0,0,1),console.log("rotation:",this.recInfo.rotation),console.log("pos:",this.recInfo.x,this.recInfo.y),console.log("scale:",this.recInfo.width,this.recInfo.height),this.arrowAxis.x=this.recInfo.x,this.arrowAxis.y=this.recInfo.y,this.arrowAxis.rotation=this.recInfo.rotation,this.arrowAxis.yAxis.rotation=this.recInfo.rotationV-this.recInfo.rotation)},__getset(0,t,"target",function(){return this._target},function(t){this._target=t,t?(e._container.addChild(this.arrowAxis),Laya.timer.loop(100,this,this.updateMe)):(this.arrowAxis.removeSelf(),Laya.timer.clear(this,this.updateMe)),this.arrowAxis.target=t,this.updateMe()}),__getset(0,t,"type",function(){return this.arrowAxis.type},function(e){this.arrowAxis.type=e}),e.init=function(){return e._container?void DisControlTool.setTop(e._container):(e._container=new Sprite,e._container.mouseEnabled=!0,void Laya.stage.addChild(e._container))},e._container=null,__static(e,["I",function(){return this.I=new e}]),e}(),DisControlTool=function(){function e(){}return __class(e,"laya.debug.tools.DisControlTool"),e.getObjectsUnderPoint=function(t,i,o,n,s){if(n=n?n:[],null!=s&&!s(t))return n;if(t.getBounds().contains(i,o)){n.push(t);var a=new Point;a.setTo(i,o),a=t.fromParentPoint(a),i=a.x,o=a.y;for(var r=t._childs.length-1;r>-1;r--){var l=t._childs[r];l instanceof laya.display.Sprite&&e.getObjectsUnderPoint(l,i,o,n,s)}}return n},e.getObjectsUnderGlobalPoint=function(t,i){var o=new Point;return o.setTo(Laya.stage.mouseX,Laya.stage.mouseY),t.parent&&(o=t.parent.globalToLocal(o)),e.getObjectsUnderPoint(t,o.x,o.y,null,i)},e.findFirstObjectsUnderGlobalPoint=function(){var t;if(t=e.getObjectsUnderGlobalPoint(Laya.stage),!t)return null;var i,o=0,n=0;for(n=t.length,o=n-1;o>=0;o--)if(i=t[o],i&&i.numChildren<1)return i;return i},e.visibleAndEnableObjFun=function(e){return e.visible&&e.mouseEnabled},e.visibleObjFun=function(e){return e.visible},e.getMousePoint=function(e){var t=new Point;return t.setTo(Laya.stage.mouseX,Laya.stage.mouseY),t=e.globalToLocal(t)},e.isChildE=function(e,t){if(!e)return!1;for(;t;){if(t.parent==e)return!0;t=t.parent}return!1},e.isInTree=function(t,i){return t==i||e.isChildE(t,i)},e.setTop=function(e){if(e&&e.parent){var t;t=e.parent,t.setChildIndex(e,t.numChildren-1)}},e.clearItemRelativeInfo=function(e){var t="NaN";e.getLayout().left=t,e.getLayout().right=t,e.getLayout().top=t,e.getLayout().bottom=t},e.swap=function(e,t){if(e!=t){var i=0;i=e.parent.getChildIndex(e);var o=0;o=t.parent.getChildIndex(t);var n;n=t.parent,e.parent.addChildAt(t,i),n.addChildAt(e,o)}},e.insertToTarParent=function(t,i,o){void 0===o&&(o=!1);var n,s=0;t&&(n=t.parent,n&&(s=n.getChildIndex(t),o&&s++,e.insertToParent(n,i,s)))},e.insertToParent=function(t,i,o){if(void 0===o&&(o=-1),t){0>o&&(o=t.numChildren);var n=0,s=0;for(s=i.length,n=0;s>n;n++)e.transParent(i[n],t),t.addChildAt(i[n],o)}},e.transParent=function(e,t){if(e&&t&&e.parent){var i;i=e.parent;var o;o=new Point(e.x,e.y),o=i.localToGlobal(o),o=t.globalToLocal(o),e.pos(o.x,o.y)}},e.transPoint=function(e,t,i){return i=e.localToGlobal(i),i=t.globalToLocal(i)},e.removeItems=function(e){var t=0,i=0;for(i=e.length,t=0;i>t;t++)e[t].removeSelf()},e.addItems=function(e,t){var i=0,o=0;for(o=e.length,i=0;o>i;i++)t.addChild(e[i])},e.getAllChild=function(e){if(!e)return[];var t=0,i=0,o=[];for(i=e.numChildren,t=0;i>t;t++)o.push(e.getChildAt(t));return o},e.upDis=function(e){if(e&&e.parent){var t;t=e.parent;var i=0;i=t.getChildIndex(e)+1,i>=t.numChildren&&(i=t.numChildren-1),console.log("setChildIndex:"+i),t.setChildIndex(e,i)}},e.downDis=function(e){if(e&&e.parent){var t;t=e.parent;var i=0;i=t.getChildIndex(e)-1,0>i&&(i=0),console.log("setChildIndex:"+i),t.setChildIndex(e,i)}},e.setResizeAbleEx=function(e){var t;t=e.getChildByName("resizeBtn"),t&&SimpleResizer.setResizeAble(t,e)},e.setResizeAble=function(t){t.on("click",null,e.resizeHandler,[t])},e.resizeHandler=function(e){DisResizer.setUp(e)},e.setDragingItem=function(t,i){t.on("mousedown",null,e.dragingHandler,[i]),i.on("dragend",null,e.dragingEnd,[i])},e.dragingHandler=function(e){e&&e.startDrag()},e.dragingEnd=function(t){e.intFyDisPos(t),console.log(t.x,t.y)},e.showToStage=function(t,i,o){void 0===i&&(i=0),void 0===o&&(o=0);var n=t.getBounds();t.x=Laya.stage.mouseX+i,t.y=Laya.stage.mouseY+o,t.x+n.width>Laya.stage.width&&(t.x-=n.width+i),t.y+n.height>Laya.stage.height&&(t.y-=n.height+o),e.intFyDisPos(t)},e.intFyDisPos=function(e){e&&(e.x=Math.round(e.x),e.y=Math.round(e.y))},e.showOnly=function(e,t){var i=0,o=0;for(o=e.length,i=0;o>i;i++)e[i].visible=e[i]==t},e.showOnlyByIndex=function(t,i){e.showOnly(t,t[i])},e.addOnly=function(e,t,i){var o=0,n=0;for(n=e.length,o=0;n>o;o++)e[o]!=t?e[o].removeSelf():i.addChild(e[o])},e.addOnlyByIndex=function(t,i,o){e.addOnly(t,t[i],o)},__static(e,["tempP",function(){return this.tempP=new Point}]),e}(),DisEditor=function(){function e(){this.tar=null,this.rec=new Sprite,this.rootContainer=new Sprite}__class(e,"laya.debug.tools.DisEditor");var t=e.prototype;return t.setTarget=function(e){this.tar=e;var t;t=this.rec.graphics,t.clear();var i;i=this.tar.getSelfBounds(),t.drawRect(i.x,i.y,i.width,i.height,null,"#00ff00"),this.createSameDisChain(),Laya.stage.addChild(this.rootContainer)},t.createSameDisChain=function(){var e,t,i;for(i=this.rec,e=this.tar;e&&e!=Laya.stage;)t=new Sprite,t.addChild(i),t.x=e.x,t.y=e.y,t.scaleX=e.scaleX,t.scaleY=e.scaleY,t.rotation=e.rotation,t.scrollRect=e.scrollRect,i=t,e=e.parent;this.rootContainer.removeChildren(),this.rootContainer.addChild(i)},e}(),DisplayHook=function(){function e(){this.mouseX=NaN,this.mouseY=NaN,this._stage=null,this._target=null,this.isGetting=!1,this._matrix=new Matrix,this._point=new Point,this._rect=new Rectangle,this._event=Event.EMPTY,this._stage=Laya.stage,this.init(Render.context.canvas)}__class(e,"laya.debug.tools.DisplayHook");var t=e.prototype;return t.init=function(t){function i(e,t){n._event._stoped=!1,n._event.nativeEvent=t||e,n._target=null,e.offsetX?(n.mouseX=e.offsetX,n.mouseY=e.offsetY):(n.mouseX=e.clientX-Laya.stage.offset.x,n.mouseY=e.clientY-Laya.stage.offset.y)}var o=this;Browser.window.navigator.msPointerEnabled&&(t.style["-ms-content-zooming"]="none",t.style["-ms-touch-action"]="none");var n=this;Browser.document.addEventListener("mousedown",function(t){o._event._stoped=!1,e.isFirst=!0,n.check(n._stage,t.offsetX,t.offsetY,n.onMouseDown,!0,!1)},!0),Browser.document.addEventListener("touchstart",function(t){o._event._stoped=!1,e.isFirst=!0;for(var s=t.changedTouches,a=0,r=s.length;r>a;a++){var l=s[a];i(l,t),n.check(n._stage,n.mouseX,n.mouseY,n.onMouseDown,!0,!1)}},!0)},t.onMouseMove=function(e,t){this.sendEvent(e,"mousemove")},t.onMouseUp=function(e,t){t&&this.sendEvent(e,"mouseup")},t.onMouseDown=function(e,t){t&&(e.$_MOUSEDOWN=!0,this.sendEvent(e,"mousedown"))},t.sendEvent=function(e,t){this._event._stoped||(e.event(t,this._event.setTo(t,e,e)),"mouseup"===t&&e.$_MOUSEDOWN&&(e.$_MOUSEDOWN=!1,e.event("click",this._event.setTo("click",e,e))))},t.selectDisUnderMouse=function(){e.isFirst=!0,this.check(Laya.stage,Laya.stage.mouseX,Laya.stage.mouseY,null,!0,!1),SelectInfosView.I.setSelectTarget(DebugTool.target)},t.getDisUnderMouse=function(){return this.isGetting=!0,e.isFirst=!0,DebugTool.target=null,this.check(Laya.stage,Laya.stage.mouseX,Laya.stage.mouseY,null,!0,!1),this.isGetting=!1,DebugTool.target},t.check=function(t,i,o,n,s,a){if(t==DebugTool.debugLayer)return!1;if(t==DebugInfoLayer.I)return!1;if(this.isGetting&&t==DebugInfoLayer.I)return!1;if(!t.visible||t.getSelfBounds().width<=0)return!1;var r=!1;if(a=!0){var l=!1;if(s&&(this._rect=t.getBounds(),r=this._rect.contains(i,o),this._point.setTo(i,o),t.fromParentPoint(this._point),i=this._point.x,o=this._point.y),r){for(var h=!1,c=t._childs.length-1;c>-1;c--){var u=t._childs[c];if(h=this.check(u,i,o,n,s,!0))break}l=t.getGraphicBounds().contains(i,o),r=h||l,r&&!h&&e.isFirst&&(e.isFirst=!1,t instanceof laya.debug.tools.debugUI.DButton||(DebugTool.target=t,this.isGetting||(DebugTool.autoWork(),Notice.notify("ItemClicked",t))))}}return r},e.initMe=function(){e.instance||(e.instance=new e)},e.ITEM_CLICKED="ItemClicked",e.instance=null,e.isFirst=!1,e}(),DisPool=function(){function e(){}return __class(e,"laya.debug.tools.DisPool"),e.getDis=function(t){var i;i=ClassTool.getClassNameByClz(t),e._objDic[i]||(e._objDic[i]=[]);var o;o=e._objDic[i];var n=0,s=0;for(s=o.length,n=0;s>n;n++)if(!o[n].parent)return o[n];return o.push(new t),o[o.length-1]},e._objDic={},e}(),DTrace=function(){function e(){}return __class(e,"laya.debug.tools.DTrace"),e.getArgArr=function(e){var t;t=[];var i=0,o=e.length;for(i=0;o>i;i++)t.push(e[i]);return t},e.dTrace=function(t){var i=arguments;i=e.getArgArr(i),i.push(TraceTool.getCallLoc(2)),console.log.apply(console,i);var o;o=i.join(" ")},e.timeStart=function(e){console.time(e)},e.timeEnd=function(e){console.timeEnd(e)},e.traceTable=function(e){console.table(e)},e}(),ClassCreateHook=function(){function e(){this.createInfo={}}__class(e,"laya.debug.tools.enginehook.ClassCreateHook");var t=e.prototype;return t.hookClass=function(e){var t=this,i=function(i){t.classCreated(i,e)};FunHook.hook(e,"call",i)},t.classCreated=function(t,i){var o;o=ClassTool.getNodeClassAndName(t);var n,s=0;for(n=t;n&&n!=i;)n=n.__super,s++;e.I.createInfo[o]||(e.I.createInfo[o]=0),e.I.createInfo[o]=e.I.createInfo[o]+1,RunProfile.run(o,s+6)},t.getClassCreateInfo=function(e){var t;return t=ClassTool.getClassName(e),RunProfile.getRunInfo(t)},__static(e,["I",function(){return this.I=new e}]),e}(),FunctionTimeHook=function(){function e(){}return __class(e,"laya.debug.tools.enginehook.FunctionTimeHook"),e.hookFun=function(t,i){if(t&&!t.timeHooked){var o;e.HookID++,o=ClassTool.getNodeClassAndName(t)+"."+i+"():"+e.HookID;var n=function(t){e.funBegin(o)},s=function(t){e.funEnd(o)};t.timeHooked=!0,FunHook.hook(t,i,n,s)}},e.funBegin=function(t){e.funPre[t]=Browser.now()},e.funEnd=function(t){e.funPre[t]||(e.funPre[t]=0),e.counter.add(t,Browser.now()-e.funPre[t])},e.fresh=function(){e.funEnd("TotalSign"),e.counter.record(),e.funBegin("TotalSign")},e.HookID=1,e.funPre={},e.TotalSign="TotalSign",__static(e,["counter",function(){return this.counter=new CountTool}]),e}(),RenderSpriteHook=function(){function e(){}__class(e,"laya.debug.tools.enginehook.RenderSpriteHook");var t=e.prototype;return t.createRenderSprite=function(t,i){var o;return o=new RenderSprite(t,i),8==t&&(o._oldCanvas=o._fun,o._fun=e.I._canvas),o},t._canvas=function(e,t,i,o){if(SpriteRenderForVisibleAnalyse.allowRendering){var n=e._$P.cacheCanvas,s=this._next;if(!n||SpriteRenderForVisibleAnalyse.isVisibleTesting)return void s._fun.call(s,e,t,i,o);var a;a=Browser.now();var r=n.ctx,l=e._needRepaint()||!r;this._oldCanvas(e,t,i,o),Config.showCanvasMark,l?CacheAnalyser.I.reCacheCanvas(e,Browser.now()-a):CacheAnalyser.I.renderCanvas(e,Browser.now()-a)}},e.init=function(){e.I=new e,RunDriver.createRenderSprite=e.I.createRenderSprite},e.IMAGE=1,e.FILTERS=2,e.ALPHA=4,e.TRANSFORM=8,e.CANVAS=16,e.BLEND=32,e.CLIP=64,e.STYLE=128,e.GRAPHICS=256,e.CUSTOM=512,e.ENABLERENDERMERGE=1024,e.CHILDS=2048,e.INIT=69905,e.renders=[],e.I=null,e}(),SpriteRenderForVisibleAnalyse=function(){function e(){this._repaint=1,this._renderType=1,this._x=0,this._y=0,this.target=null,this.isTargetRenderd=!1,this.preFun=null,this._next=null,this.pgraphic=RenderSprite.prototype._graphics,this.pimage=RenderSprite.prototype._image,this.pimage2=RenderSprite.prototype._image2}__class(e,"laya.debug.tools.enginehook.SpriteRenderForVisibleAnalyse");var t=e.prototype;return t.setRenderHook=function(){Sprite.prototype.render=e.I.render},t.render=function(t,i,o){var n;if(n=this,!DebugInfoLayer.I.isDebugItem(n))if(n==laya.debug.tools.enginehook.SpriteRenderForVisibleAnalyse.I.target&&(laya.debug.tools.enginehook.SpriteRenderForVisibleAnalyse.allowRendering=!0,laya.debug.tools.enginehook.SpriteRenderForVisibleAnalyse.I.isTargetRenderd=!0,CanvasTools.clearCanvas(e.mainCanvas)),RenderSprite.renders[this._renderType]._fun(this,t,i+this._x,o+this._y),n==laya.debug.tools.enginehook.SpriteRenderForVisibleAnalyse.I.target)e.tarRec=CanvasTools.getCanvasDisRec(laya.debug.tools.enginehook.SpriteRenderForVisibleAnalyse.mainCanvas),console.log("rec",e.tarRec.toString()),e.tarRec.width>0&&e.tarRec.height>0?(e.isTarRecOK=!0,e.preImageData=CanvasTools.getImageDataFromCanvasByRec(e.mainCanvas,e.tarRec),e.tarImageData=CanvasTools.getImageDataFromCanvasByRec(e.mainCanvas,e.tarRec)):console.log("tarRec Not OK:",e.tarRec);else if(e.isTarRecOK){e.tImageData=CanvasTools.getImageDataFromCanvasByRec(e.mainCanvas,e.tarRec);var s=NaN;s=CanvasTools.getDifferRate(e.preImageData,e.tImageData),e.preImageData=e.tImageData,s>0&&VisibleAnalyser.addCoverNode(n,s)}},t.analyseNode=function(t){VisibleAnalyser.resetCoverList(),Sprite.prototype.render!=e.I.render&&(this.preFun=Sprite.prototype.render),this.target=t,Sprite.prototype.render=this.render,e.tarCanvas||(e.tarCanvas=CanvasTools.createCanvas(Laya.stage.width,Laya.stage.height)),e.mainCanvas||(e.mainCanvas=CanvasTools.createCanvas(Laya.stage.width,Laya.stage.height)),this.isTargetRenderd=!1,e.isVisibleTesting=!0,e.allowRendering=!1,CanvasTools.clearCanvas(e.mainCanvas),CanvasTools.clearCanvas(e.tarCanvas),e.isTarRecOK=!1;var i=new RenderContext(e.mainCanvas.width,e.mainCanvas.height,e.mainCanvas);e.mainCanvas=i.canvas,this.render.call(Laya.stage,i,0,0),e.isTarRecOK?e.coverRate=CanvasTools.getDifferRate(e.preImageData,e.tarImageData):e.coverRate=0,VisibleAnalyser.coverRate=e.coverRate,VisibleAnalyser.isTarRecOK=e.isTarRecOK,console.log("coverRate:",e.coverRate),this.isTargetRenderd=!1,e.isVisibleTesting=!1,e.allowRendering=!0,Sprite.prototype.render=this.preFun},t.noRenderMode=function(){},t.normalMode=function(){RenderSprite.prototype._graphics=this.pgraphic,RenderSprite.prototype._image=this.pimage,RenderSprite.prototype._image2=this.pimage2},t.inits=function(){this.noRenderMode()},t.m_graphics=function(e,t,i,o){if(laya.debug.tools.enginehook.SpriteRenderForVisibleAnalyse.allowRendering){var n=e._style._tf;e._graphics&&e._graphics._render(e,t,i-n.translateX,o-n.translateY)}var s=this._next;s._fun.call(s,e,t,i,o)},t.m_image=function(e,t,i,o){if(laya.debug.tools.enginehook.SpriteRenderForVisibleAnalyse.allowRendering){var n=e._style;t.ctx.drawTexture2(i,o,n._tf.translateX,n._tf.translateY,e.transform,n.alpha,n.blendMode,e._graphics._one)}},t.m_image2=function(e,t,i,o){if(laya.debug.tools.enginehook.SpriteRenderForVisibleAnalyse.allowRendering){var n=e._style._tf;t.ctx.drawTexture2(i,o,n.translateX,n.translateY,e.transform,1,null,e._graphics._one)}},e.tarCanvas=null,e.mainCanvas=null,e.preImageData=null,e.tImageData=null,e.tarImageData=null,e.tarRec=null,e.isTarRecOK=!1,e.isVisibleTesting=!1,e.allowRendering=!0,e.coverRate=NaN,__static(e,["I",function(){return this.I=new e}]),e}(),SpriteRenderHook=function(){function e(){this._repaint=1,this._renderType=1,this._x=0,this._y=0}__class(e,"laya.debug.tools.enginehook.SpriteRenderHook");var t=e.prototype;return t.render=function(e,t,i){this==Laya.stage&&CacheAnalyser.renderLoopBegin();var o=0;o=Browser.now(),Stat.spriteCount++,RenderSprite.renders[this._renderType]._fun(this,e,t+this._x,i+this._y),this._repaint=0,RenderAnalyser.I.render(this,Browser.now()-o)},e.init=function(){e.I=new e,e.setRenderHook()},e.setRenderHook=function(){Sprite.prototype.render=e.I.render},e.I=null,e}(),Observer=function(){function e(){}return __class(e,"laya.debug.tools.exp.Observer"),e.observe=function(e,t){Object.observe(e,t)},e.unobserve=function(e,t){Object.unobserve(e,t)},e.observeDiffer=function(t,i,o){void 0===o&&(o="obDiffer");var n=function(){DifferTool.differ(i,t,o)};e.observe(t,n)},e}(),Watch=function(){function e(){}return __class(e,"laya.debug.tools.exp.Watch"),e.watch=function(e,t,i){e.watch(t,i)},e.unwatch=function(e,t,i){e.unwatch(t,i)},e}(),FilterTool=function(){function e(){}return __class(e,"laya.debug.tools.FilterTool"),e.getArrByFilter=function(e,t){var i=0,o=e.length,n=[];for(i=0;o>i;i++)t(e[i])&&n.push(e[i]);return n},e.getArr=function(e,t,i){var o=0,n=e.length,s=[];for(o=0;n>o;o++)e[o][t]==i&&s.push(e[o]);return s},e}(),FunHook=function(){function e(){}return __class(e,"laya.debug.tools.hook.FunHook"),e.hook=function(t,i,o,n){e.hookFuns(t,i,[o,t[i],n],1)},e.hookAllFun=function(t){var i,o;o=ClassTool.getOwnPropertyNames(t);for(i in o)i=o[i],e.special[i]||(console.log("try hook:",i),"function"==typeof t[i]&&(console.log("hook:",i),e.hookFuns(t,i,[e.getTraceMsg("call:"+i),t[i]],1)));t.__proto__?e.hookAllFun(t.__proto__):console.log("end:",t)},e.getTraceMsg=function(e){var t;return t=function(){console.log(e)}},e.hookFuns=function(e,t,i,o){void 0===o&&(o=-1);var n,s=e[t];n=function(e){var t,n=arguments,s=0,a=0;for(a=i.length,s=0;a>s;s++)i[s]&&(s==o?t=i[s].apply(this,n):i[s].apply(this,n));return t},n.pre=s,e[t]=n},e.removeHook=function(e,t){null!=e[t].pre&&(e[t]=e[t].pre)},e.debugHere=function(){},e.traceLoc=function(e,t){void 0===e&&(e=0),void 0===t&&(t=""),console.log(t,"fun loc:",TraceTool.getCallLoc(3+e))},e.getLocFun=function(t,i){void 0===t&&(t=0),void 0===i&&(i=""),t+=1;var o;return o=function(){e.traceLoc(t,i);
}},__static(e,["special",function(){return this.special={length:!0,name:!0,arguments:!0,caller:!0,prototype:!0,is:!0,isExtensible:!0,isFrozen:!0,isSealed:!0,preventExtensions:!0,seal:!0,unobserve:!0,apply:!0,call:!0,bind:!0,freeze:!0,unobserve:!0}}]),e}(),VarHook=function(){function e(){}return __class(e,"laya.debug.tools.hook.VarHook"),e.hookVar=function(e,t,i,o){i||(i=[]),o||(o=[]);var n,s=e,a=e[t];n=ClassTool.getOwnPropertyDescriptor(e,t);var r={},l=function(e){console.log("var hook set "+t+":",e),a=e},h=function(){return console.log("var hook get"+t+":",a),a};if(n)return r.set=l,r.get=h,r.enumerable=n.enumerable,i.push(r.set),o.push(r.get),FunHook.hookFuns(r,"set",i),FunHook.hookFuns(r,"get",o,o.length-1),void ClassTool.defineProperty(e,t,r);for(;!n&&e.__proto__;)e=e.__proto__,n=ClassTool.getOwnPropertyDescriptor(e,t);n&&(r.set=n.set?n.set:l,r.get=n.get?n.get:h,r.enumerable=n.enumerable,i.push(r.set),o.push(r.get),FunHook.hookFuns(r,"set",i),FunHook.hookFuns(r,"get",o,o.length-1),ClassTool.defineProperty(s,t,r)),n||(console.log("get des fail add directly"),r.set=l,r.get=h,i.push(r.set),o.push(r.get),FunHook.hookFuns(r,"set",i),FunHook.hookFuns(r,"get",o,o.length-1),ClassTool.defineProperty(e,t,r))},e.getLocFun=function(e,t){void 0===e&&(e=""),void 0===t&&(t=0),t+=1;var i;return i=function(){FunHook.traceLoc(t,e)}},e}(),IDTools=function(){function e(){this.tID=1}__class(e,"laya.debug.tools.IDTools");var t=e.prototype;return t.getID=function(){return this.tID++},e.getAID=function(){return e._ID.getID()},e.idObjE=function(t,i){return void 0===i&&(i="default"),t._M_id_?t:(i||(i="default"),e._idDic[i]||(e._idDic[i]=new e),t._M_id_=e._idDic[i].getAID(),t)},e.setObjID=function(e,t){return e._M_id_=t,e},e.idObj=function(t){return t._M_id_?t:(t._M_id_=e.getAID(),t)},e.getObjID=function(e){return e?e._M_id_:-1},e.idSign="_M_id_",__static(e,["_ID",function(){return this._ID=new e},"_idDic",function(){return this._idDic={"default":new e}}]),e}(),JsonTool=function(){function e(){}return __class(e,"laya.debug.tools.JsonTool"),e.getJsonString=function(t,i,o,n,s){void 0===i&&(i=!0),void 0===o&&(o="\n"),void 0===n&&(n=0),void 0===s&&(s=4);var a="";a=e.getEmptyStr(n*s);var r,l;l={};var h,c,u;u=[];for(h in t)u.push(h),c=t[h],e.singleLineKey[h]?l[h]=e.getValueStr(c,!0,o,n+1,s):l[h]=e.getValueStr(c,i,o,n+1,s);var f=0,d=0;d=u.length,u.sort(),u=u.reverse();var g;g=e.getEmptyStr((n+1)*s),i&&(o="",a="",g="");var p;for(p=[],f=0;d>f;f++)h=u[f],p.push(g+e.wrapValue(h)+":"+l[h]);return r="{"+o+p.join(","+o)+o+a+"}"},e.wrapValue=function(e,t){return void 0===t&&(t='"'),t+e+t},e.getArrStr=function(t,i,o,n,s){void 0===i&&(i=!0),void 0===o&&(o="\n"),void 0===n&&(n=0),void 0===s&&(s=4);var a,r=0,l=0;l=t.length;var h;for(h=[],r=0;l>r;r++)h.push(e.getValueStr(t[r],i,o,n+1,s));var c="";return c=e.getEmptyStr((n+1)*s),i&&(o="",c=""),a="["+o+c+h.join(","+o+c)+"]"},e.quote=function(t){return e.escapable.lastIndex=0,e.escapable.test(t)?'"'+t.replace(e.escapable,function(t){var i=e.meta[t];return"string"==typeof i?i:"\\u"+("0000"+t.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+t+'"'},e.getValueStr=function(t,i,o,n,s){void 0===i&&(i=!0),void 0===o&&(o="\n"),void 0===n&&(n=0),void 0===s&&(s=0);var a;return a="string"==typeof t?e.quote(t):null==t?"null":"number"==typeof t||"number"==typeof t&&Math.floor(t)==t||"boolean"==typeof t?t:t instanceof Array?e.getArrStr(t,i,o,n,s):"object"==typeof t?e.getJsonString(t,i,o,n,s):t},e.getEmptyStr=function(t){if(!e.emptyDic.hasOwnProperty(t)){var i=0,o=0;o=t;var n;for(n="",i=0;o>i;i++)n+=" ";e.emptyDic[t]=n}return e.emptyDic[t]},e.emptyDic={},__static(e,["singleLineKey",function(){return this.singleLineKey={props:!0}},"escapable",function(){return this.escapable=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g},"meta",function(){return this.meta={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"}}]),e}(),JSTools=function(){function e(){}return __class(e,"laya.debug.tools.JSTools"),e.showToBody=function(e,t,i){void 0===t&&(t=0),void 0===i&&(i=0),Browser.document.body.appendChild(e);var o;o=e.style,o.position="absolute",o.top=i+"px",o.left=t+"px"},e.showToParent=function(e,t,i,o){void 0===t&&(t=0),void 0===i&&(i=0),o.appendChild(e);var n;n=e.style,n.position="absolute",n.top=i+"px",n.left=t+"px"},e.addToBody=function(e){Browser.document.body.appendChild(e)},e.setPos=function(e,t,i){var o;o=e.style,o.top=i+"px",o.left=t+"px"},e.setSize=function(e,t,i){var o;o=e.style,o.width=t+"px",o.height=i+"px"},e.setTransform=function(e,t){var i;i=e.style,i.transformOrigin=i.webkitTransformOrigin=i.msTransformOrigin=i.mozTransformOrigin=i.oTransformOrigin="0px 0px 0px",i.transform=i.webkitTransform=i.msTransform=i.mozTransform=i.oTransform="matrix("+t.toString()+")"},e.noMouseEvent=function(e){var t;t=e.style,t["pointer-events"]="none"},e.setMouseEnable=function(e,t){var i;i=e.style,i["pointer-events"]=t?"auto":"none"},e.setZIndex=function(e,t){var i;i=e.style,i["z-index"]=t},e.showAboveSprite=function(t,i,o,n){void 0===o&&(o=0),void 0===n&&(n=0);var s;s=new Point,s=i.localToGlobal(s),s.x+=o,s.y+=n,s.x+=Laya.stage.offset.x,s.y+=Laya.stage.offset.y,e.showToBody(t,s.x,s.y)},e.removeElement=function(e){Browser.removeElement(e)},e.isElementInDom=function(e){return e&&e.parentNode},e.getImageSpriteByFile=function(e,t,i){void 0===t&&(t=0),void 0===i&&(i=0);var o;o=new FileReader,o.readAsDataURL(e);var n;return n=new Sprite,o.onload=function(e){var s;s=new Texture,s.load(o.result),n.graphics.drawTexture(s,0,0,t,i)},n},e.getPixelRatio=function(){if(e._pixelRatio>0)return e._pixelRatio;var t=Browser.createElement("canvas"),i=t.getContext("2d"),o=Browser.window.devicePixelRatio||1,n=i.webkitBackingStorePixelRatio||i.mozBackingStorePixelRatio||i.msBackingStorePixelRatio||i.oBackingStorePixelRatio||i.backingStorePixelRatio||1,s=o/n;return console.log("pixelRatioc:",s),e._pixelRatio=s,s},e._pixelRatio=-1,e}(),Layouter=function(){function e(){this.data=null,this._items=null,this.layoutFun=null,this._sX=0,this._width=0}__class(e,"laya.debug.tools.layout.Layouter");var t=e.prototype;return t.layout=function(){this.layoutFun(this._width,this._items,this.data,this._sX)},t.changed=function(){Laya.timer.callLater(this,this.layout)},t.calSize=function(){var e,t=0,i=0;e=this.items[0],this._sX=e.x;var o=NaN;for(o=this._sX+e.width,i=this.items.length,t=1;i>t;t++)e=this.items[t],this._sX>e.x&&(this._sX=e.x),o<e.x+e.width&&(o=e.x+e.width);this._width=o-this._sX},__getset(0,t,"width",function(){return this._width},function(e){this._width=e,this.changed()}),__getset(0,t,"x",function(){return this._sX},function(e){this._sX=e,this.changed()}),__getset(0,t,"items",function(){return this._items},function(e){this._items=e,this.calSize()}),e}(),LayoutFuns=function(){function e(){}return __class(e,"laya.debug.tools.layout.LayoutFuns"),e.sameWidth=function(e,t,i,o){void 0===o&&(o=0);var n=0;i&&i.dWidth&&(n=i.dWidth);var s=NaN;s=(e-(t.length-1)*n)/t.length;var a,r=0,l=0,h=NaN;for(h=o,l=t.length,r=0;l>r;r++)a=t[r],a.x=h,a.width=s,h+=n+s},e.getSameWidthLayout=function(t,i){var o;return o={},o.dWidth=i,e.getLayouter(t,o,laya.debug.tools.layout.LayoutFuns.sameWidth)},e.getLayouter=function(e,t,i){var o;return o=new Layouter,o.items=e,o.data=t,o.layoutFun=i,o},e.sameDis=function(t,i,o,n){void 0===n&&(n=0);var s=NaN;s=t;var a,r=0,l=0;for(l=i.length,e.prepareForLayoutWidth(t,i),r=0;l>r;r++)a=i[r],s-=a.width;i.length>1&&(s/=i.length-1);var h=NaN;for(h=n,l=i.length,r=0;l>r;r++)a=i[r],a.x=h,h+=s+a.width},e.getSameDisLayout=function(t,i){void 0===i&&(i=!1);var o;if(o={},i){var n=0,s=0;s=t.length;var a,r=NaN;for(r=0,n=0;s>n;n++)a=t[n],r+=a.width;for(r=a.x+a.width,n=0;s>n;n++)a=t[n],e.setItemRate(a,a.width/r)}return e.getLayouter(t,o,laya.debug.tools.layout.LayoutFuns.sameDis)},e.fullFill=function(e,t,i,o){void 0===o&&(o=0);var n=0,s=0;i&&(i.dL&&(n=i.dL),i.dR&&(s=i.dR));var a,r=0,l=0;for(l=t.length,r=0;l>r;r++)a=t[r],a.x=o+n,a.width=e-n-s},e.getFullFillLayout=function(t,i,o){void 0===i&&(i=0),void 0===o&&(o=0);var n;return n={},n.dL=i,n.dR=o,e.getLayouter(t,n,laya.debug.tools.layout.LayoutFuns.fullFill)},e.fixPos=function(e,t,i,o){void 0===o&&(o=0);var n=0,s=[],a=!1;i&&(i.dLen&&(n=i.dLen),i.poss&&(s=i.poss),i.isRate&&(a=i.isRate));var r,l=0,h=0;h=s.length;var c=NaN;c=o;var u,f=NaN;for(u=null,l=0;h>l;l++)r=t[l],f=o+s[l],a&&(f=o+s[l]*e),r.x=f,u&&(u.width=r.x-n-u.x),u=r;var d;d=t[t.length-1],d.width=o+e-n-d.x},e.getFixPos=function(t,i,o,n){void 0===i&&(i=0),void 0===o&&(o=!1);var s;s={};var a;a=e.getLayouter(t,s,e.fixPos);var r=0,l=0,h=NaN,c=NaN;if(h=a.x,c=a.width,!n){n=[],l=t.length;var u=NaN;for(r=0;l>r;r++)u=t[r].x-h,o&&(u/=c),n.push(u)}return s.dLen=i,s.poss=n,s.isRate=o,a},e.clearItemsRelativeInfo=function(t){var i=0,o=0;for(o=t.length,i=0;o>i;i++)e.clearItemRelativeInfo(t[i])},e.clearItemRelativeInfo=function(e){var t="NaN";e.getLayout().left=t,e.getLayout().right=t},e.prepareForLayoutWidth=function(t,i){var o=0,n=0;for(n=i.length,o=0;n>o;o++)e.prepareItemForLayoutWidth(t,i[o])},e.getSumWidth=function(e){var t=NaN;t=0;var i=0,o=0;for(o=e.length,i=0;o>i;i++)t+=e[i].width;return t},e.prepareItemForLayoutWidth=function(t,i){e.getItemRate(i)>0&&(i.width=t*e.getItemRate(i))},e.setItemRate=function(e,t){e.layoutRate=t},e.getItemRate=function(e){return e.layoutRate?e.layoutRate:-1},e.setItemFreeSize=function(e,t){void 0===t&&(t=!0),e.layoutFreeSize=t},e.isItemFreeSize=function(e){return e.layoutFreeSize},e.lockedDis=function(t,i,o,n){void 0===n&&(n=0);var s;s=o.dists;var a=NaN;a=o.sumDis;var r,l,h=NaN,c=0,u=0;e.prepareForLayoutWidth(t,i),h=e.getSumWidth(i);var f=NaN;f=t-a-h;var d;for(d=e.getFreeItem(i),d&&(d.width+=f),l=i[0],l.x=n,u=i.length,c=1;u>c;c++)r=i[c],r.x=l.x+l.width+s[c-1],l=r},e.getFreeItem=function(t){var i=0,o=0;for(o=t.length,i=0;o>i;i++)if(e.isItemFreeSize(t[i]))return t[i];return null},e.getLockedDis=function(t){var i;i={};var o,n,s,a=0,r=0,l=NaN;l=0;var h=NaN;for(s=t[0],o=[],r=t.length,a=1;r>a;a++)n=t[a],h=n.x-s.x-s.width,o.push(h),l+=h,s=n;return i.dists=o,i.sumDis=l,e.getLayouter(t,i,laya.debug.tools.layout.LayoutFuns.lockedDis)},e.RateSign="layoutRate",e.FreeSizeSign="layoutFreeSize",e}(),LayoutTools=function(){function e(){}return __class(e,"laya.debug.tools.LayoutTools"),e.layoutToXCount=function(e,t,i,o,n,s){void 0===t&&(t=1),void 0===i&&(i=0),void 0===o&&(o=0),void 0===n&&(n=0),void 0===s&&(s=0);var a,r=NaN,l=NaN,h=0,c=0,u=0,f=0;for(u=0,f=0,r=n,l=s,c=e.length,h=0;c>h;h++)a=e[h],a.x=r,a.y=l,a.height>f&&(f=a.height),u++,u>=t?(u%=t,a.y+=f+o,f=0):r+=a.width+i},e.layoutToWidth=function(e,t,i,o,n,s){var a,r=NaN,l=NaN,h=0,c=0;for(r=n,l=s,c=e.length,h=0;c>h;h++)a=e[h],r+a.width+i>t&&(r=n,l+=o+a.height),a.x=r,a.y=l,r+=i+a.width},e}(),MathTools=function(){function e(){}return __class(e,"laya.debug.tools.MathTools"),e.sortBigFirst=function(e,t){return e==t?0:t>e?1:-1},e.sortSmallFirst=function(e,t){return e==t?0:t>e?-1:1},e.sortNumBigFirst=function(e,t){return parseFloat(t)-parseFloat(e)},e.sortNumSmallFirst=function(e,t){return parseFloat(e)-parseFloat(t)},e.sortByKey=function(t,i,o){void 0===i&&(i=!1),void 0===o&&(o=!0);var n;return n=i?o?e.sortNumBigFirst:e.sortBigFirst:o?e.sortNumSmallFirst:e.sortSmallFirst,function(e,i){return n(e[t],i[t])}},e}(),MouseEventAnalyser=function(){function e(){}return __class(e,"laya.debug.tools.MouseEventAnalyser"),e.analyseNode=function(t){DebugTool.showDisBound(t,!0);var i;i=t,ObjectTools.clearObj(e.infoO),ObjectTools.clearObj(e.nodeO),ObjectTools.clearObj(e.hitO);var o;for(o=[];t;)IDTools.idObj(t),e.nodeO[IDTools.getObjID(t)]=t,o.push(t),t=t.parent;e.check(Laya.stage,Laya.stage.mouseX,Laya.stage.mouseY,null);var n;e.hitO[IDTools.getObjID(i)]?(console.log("can hit"),n="can hit"):(console.log("can't hit"),n="can't hit");var s=0,a=0;o=o.reverse(),a=o.length;var r;for(r=["[分析对象]:"+ClassTool.getNodeClassAndName(i)+":"+n],s=0;a>s;s++)t=o[s],e.hitO[IDTools.getObjID(t)]?(console.log("can hit:",ClassTool.getNodeClassAndName(t)),console.log("原因:",e.infoO[IDTools.getObjID(t)]),r.push("can hit: "+ClassTool.getNodeClassAndName(t)),r.push("原因: "+e.infoO[IDTools.getObjID(t)])):(console.log("can't hit:"+ClassTool.getNodeClassAndName(t)),console.log("原因:",e.infoO[IDTools.getObjID(t)]?e.infoO[IDTools.getObjID(t)]:"鼠标事件在父级已停止派发"),r.push("can't hit: "+ClassTool.getNodeClassAndName(t)),r.push("原因: "+(e.infoO[IDTools.getObjID(t)]?e.infoO[IDTools.getObjID(t)]:"鼠标事件在父级已停止派发")));var l;l=r.join("\n"),ToolPanel.I.showTxtInfo(l)},e.check=function(t,i,o,n){IDTools.idObj(t);var s=!1;s=e.nodeO[IDTools.getObjID(t)];var a=t.transform||e._matrix,r=t.pivotX,l=t.pivotY;if(0===r&&0===l)a.setTranslate(t.x,t.y);else if(a===e._matrix)a.setTranslate(t.x-r,t.y-l);else{var h=a.cos,c=a.sin;a.setTranslate(t.x-(r*h-l*c)*t.scaleX,t.y-(r*c+l*h)*t.scaleY)}a.invertTransformPoint(e._point.setTo(i,o)),a.setTranslate(0,0),i=e._point.x,o=e._point.y;var u=t.scrollRect;if(u){e._rect.setTo(0,0,u.width,u.height);var f=e._rect.contains(i,o);if(!f)return s&&(e.infoO[IDTools.getObjID(t)]="scrollRect没有包含鼠标"+e._rect.toString()+":"+i+","+o),!1}var d,g=0,p=0;d=t._childs,p=d.length;var w,v;for(v=null,g=0;p>g;g++)if(w=d[g],IDTools.idObj(w),e.nodeO[IDTools.getObjID(w)]){v=w;break}var y=!1;y=!!v;var m=!1;if(t.hitTestPrior&&!t.mouseThrough&&!e.hitTest(t,i,o))return e.infoO[IDTools.getObjID(t)]="hitTestPrior=true宽高区域不包含鼠标::"+i+","+o+" size:"+t.width+","+t.height,!1;for(g=t._childs.length-1;g>-1;g--)if(w=t._childs[g],w==v&&(v.mouseEnabled||(e.infoO[IDTools.getObjID(v)]="mouseEnabled=false"),v.visible||(e.infoO[IDTools.getObjID(v)]="visible=false"),y=!1),w.mouseEnabled&&w.visible){if(m=e.check(w,i+(u?u.x:0),o+(u?u.y:0),n))return e.hitO[IDTools.getObjID(t)]=!0,e.infoO[IDTools.getObjID(t)]="子对象被击中",w==v?e.infoO[IDTools.getObjID(t)]="子对象被击中,击中对象在分析链中":(e.infoO[IDTools.getObjID(t)]="子对象被击中,击中对象不在分析链中",y&&(e.infoO[IDTools.getObjID(v)]="被兄弟节点挡住,兄弟节点信息:"+ClassTool.getNodeClassAndName(w)+","+w.getBounds().toString(),DebugTool.showDisBound(w,!1,"#ffff00"))),!0;w==v&&(y=!1)}var A=new Rectangle,b=!1;if(b=t.getGraphicBounds().contains(i,o),t.width>0&&t.height>0){var C=e._rect;t.mouseThrough?(f=b,A.copyFrom(t.getGraphicBounds())):(t.hitArea?C=t.hitArea:C.setTo(0,0,t.width,t.height),A.copyFrom(C),f=C.contains(i,o)),f&&(e.hitO[IDTools.getObjID(t)]=!0)}return f?e.infoO[IDTools.getObjID(t)]="自身区域被击中":b?e.infoO[IDTools.getObjID(t)]="子对象未包含鼠标,实际绘图区域包含鼠标,设置的宽高区域不包含鼠标::"+i+","+o+" hitRec:"+A.toString()+" graphicBounds:"+t.getGraphicBounds().toString()+"设置mouseThrough=true或将宽高设置到实际绘图区域可解决问题":e.infoO[IDTools.getObjID(t)]="子对象未包含鼠标,实际绘图区域不包含鼠标,设置的宽高区域不包含鼠标::"+i+","+o+" hitRec:"+A.toString()+" graphicBounds:"+t.getGraphicBounds().toString(),f},e.hitTest=function(t,i,o){var n=!1;if(t.width>0&&t.height>0||t.mouseThrough||t.hitArea){var s=e._rect;t.mouseThrough?n=t.getGraphicBounds().contains(i,o):(t.hitArea?s=t.hitArea:s.setTo(0,0,t.width,t.height),n=s.contains(i,o))}return n},e.infoO={},e.nodeO={},e.hitO={},__static(e,["_matrix",function(){return this._matrix=new Matrix},"_point",function(){return this._point=new Point},"_rect",function(){return this._rect=new Rectangle}]),e}(),ObjectTools=function(){function e(){}return __class(e,"laya.debug.tools.ObjectTools"),e.getFlatKey=function(t,i){return""==t?i:t+e.sign+i},e.flatObj=function(t,i,o){void 0===o&&(o=""),i=i?i:{};var n,s;for(n in t)"object"==typeof t[n]?e.flatObj(t[n],i,e.getFlatKey(o,n)):(s=t[n],i[e.getFlatKey(o,n)]=t[n]);return i},e.recoverObj=function(t){var i,o={};for(i in t)e.setKeyValue(o,i,t[i]);return o},e.differ=function(t,i){var o;t=e.flatObj(t),i=e.flatObj(i);var n={};for(o in t)i.hasOwnProperty(o)||(n[o]="被删除");for(o in i)i[o]!=t[o]&&(n[o]={pre:t[o],now:i[o]});return n},e.traceDifferObj=function(e){var t,i;for(t in e)"string"==typeof e[t]?console.log(t+":",e[t]):(i=e[t],console.log(t+":","now:",i.now,"pre:",i.pre))},e.setKeyValue=function(t,i,o){if(i.indexOf(e.sign)>=0){for(var n,s=i.split(e.sign);s.length>1;)if(n=s.shift(),t[n]||(t[n]={},console.log("addKeyObj:",n)),t=t[n],!t)return void console.log("wrong flatKey:",i);t[s.shift()]=o}else t[i]=o},e.clearObj=function(e){var t;for(t in e)delete e[t]},e.copyObjFast=function(e){var t;return t=laya.debug.tools.ObjectTools.getJsonString(e),laya.debug.tools.ObjectTools.getObj(t)},e.copyObj=function(t){if(t instanceof Array)return e.copyArr(t);var i,o={};for(i in t)t[i]instanceof Array?o[i]=e.copyArr(t[i]):"object"==typeof t[i]?o[i]=e.copyObj(t[i]):o[i]=t[i];return o},e.copyArr=function(t){var i;i=[];var o=0,n=0;for(n=t.length,o=0;n>o;o++)i.push(e.copyObj(t[o]));return i},e.concatArr=function(e,t){if(!t)return e;if(!e)return t;var i=0,o=t.length;for(i=0;o>i;i++)e.push(t[i]);return e},e.clearArr=function(e){return e?(e.length=0,e):e},e.removeFromArr=function(e,t){var i=0,o=0;for(o=e.length,i=0;o>i;i++)if(e[i]==t)return void e[i].splice(i,1)},e.setValueArr=function(t,i){return t||(t=[]),t.length=0,e.concatArr(t,i)},e.getFrom=function(e,t,i){var o=0;for(o=0;i>o;o++)e.push(t[o]);return e},e.getFromR=function(e,t,i){var o=0;for(o=0;i>o;o++)e.push(t.pop());return e},e.enableDisplayTree=function(e){for(;e;)e.mouseEnabled=!0,e=e.parent},e.getJsonString=function(e){var t;return t=JSON.stringify(e)},e.getObj=function(e){var t;return t=JSON.parse(e)},e.getKeyArr=function(e){var t,i;t=[];for(i in e)t.push(i);return t},e.getObjValues=function(e,t){var i,o=0,n=0;for(n=e.length,i=[],o=0;n>o;o++)i.push(e[o][t]);return i},e.hasKeys=function(e,t){var i=0,o=0;for(o=t.length,i=0;o>i;i++)if(!e.hasOwnProperty(t[i]))return!1;return!0},e.copyValueByArr=function(e,t,i){var o=0,n=i.length;for(o=0;n>o;o++)null!==t[i[o]]&&(e[i[o]]=t[i[o]])},e.insertValue=function(e,t){var i;for(i in t)e[i]=t[i]},e.replaceValue=function(t,i){var o;for(o in t)i.hasOwnProperty(t[o])&&(t[o]=i[t[o]]),"object"==typeof t[o]&&e.replaceValue(t[o],i)},e.setKeyValues=function(e,t,i){var o=0,n=0;for(n=e.length,o=0;n>o;o++)e[o][t]=i},e.findItemPos=function(e,t,i){var o=0,n=0;for(n=e.length,o=0;n>o;o++)if(e[o][t]==i)return o;return-1},e.setObjValue=function(e,t,i){return e[t]=i,e},e.setAutoTypeValue=function(t,i,o){return t.hasOwnProperty(i)&&e.isNumber(t[i])?t[i]=parseFloat(o):t[i]=o,t},e.getAutoValue=function(e){return parseFloat(e)==e?parseFloat(e):e},e.isNumber=function(e){return parseFloat(e)==e},e.isNaNS=function(e){return"NaN"==e.toString()},e.isNaN=function(e){return"number"==typeof e?!1:"string"!=typeof e||"NaN"==parseFloat(e).toString()||parseFloat(e)!=e},e.getStrTypedValue=function(t){return"false"==t?!1:"true"==t?!0:"null"==t?null:"undefined"==t?null:e.getAutoValue(t)},e.createKeyValueDic=function(e,t){var i;i={};var o=0,n=0;n=e.length;var s,a;for(o=0;n>o;o++)s=e[o],a=s[t],i[a]=s;return i},e.sign="_",e}(),ObjTimeCountTool=function(){function e(){this.timeDic={},this.resultDic={},this.countDic={},this.resultCountDic={},this.nodeDic={},this.resultNodeDic={}}__class(e,"laya.debug.tools.ObjTimeCountTool");var t=e.prototype;return t.addTime=function(e,t){IDTools.idObj(e);var i=0;i=IDTools.getObjID(e),this.timeDic.hasOwnProperty(i)||(this.timeDic[i]=0),this.timeDic[i]=this.timeDic[i]+t,this.countDic.hasOwnProperty(i)||(this.countDic[i]=0),this.countDic[i]=this.countDic[i]+1,this.nodeDic[i]=e},t.getTime=function(e){IDTools.idObj(e);var t=0;return t=IDTools.getObjID(e),this.resultDic[t]?this.resultDic[t]:0},t.getCount=function(e){IDTools.idObj(e);var t=0;return t=IDTools.getObjID(e),this.resultCountDic[t]},t.reset=function(){var e;for(e in this.timeDic)this.timeDic[e]=0,this.countDic[e]=0;ObjectTools.clearObj(this.nodeDic)},t.updates=function(){ObjectTools.clearObj(this.resultDic),ObjectTools.insertValue(this.resultDic,this.timeDic),ObjectTools.clearObj(this.resultCountDic),ObjectTools.insertValue(this.resultCountDic,this.countDic),ObjectTools.insertValue(this.resultNodeDic,this.nodeDic),this.reset()},e}(),RecInfo=function(){function e(){this.oX=0,this.oY=0,this.hX=1,this.hY=0,this.vX=0,this.vY=1}__class(e,"laya.debug.tools.RecInfo");var t=e.prototype;return t.initByPoints=function(e,t,i){this.oX=e.x,this.oY=e.y,this.hX=t.x,this.hY=t.y,this.vX=i.x,this.vY=i.y},__getset(0,t,"rotation",function(){return this.rotationRad/Math.PI*180}),__getset(0,t,"width",function(){return Math.sqrt((this.hX-this.oX)*(this.hX-this.oX)+(this.hY-this.oY)*(this.hY-this.oY))}),__getset(0,t,"x",function(){return this.oX}),__getset(0,t,"rotationRadV",function(){var e=this.vX-this.oX,t=this.vY-this.oY;return Math.atan2(t,e)}),__getset(0,t,"y",function(){return this.oY}),__getset(0,t,"rotationRad",function(){var e=this.hX-this.oX,t=this.hY-this.oY;return Math.atan2(t,e)}),__getset(0,t,"height",function(){return Math.sqrt((this.vX-this.oX)*(this.vX-this.oX)+(this.vY-this.oY)*(this.vY-this.oY))}),__getset(0,t,"rotationV",function(){return this.rotationRadV/Math.PI*180}),e.createByPoints=function(t,i,o){var n;return n=new e,n.initByPoints(t,i,o),n},e.getGlobalPoints=function(e,t,i){return e.localToGlobal(new Point(t,i))},e.getGlobalRecInfo=function(t,i,o,n,s,a,r){return void 0===i&&(i=0),void 0===o&&(o=0),void 0===n&&(n=1),void 0===s&&(s=0),void 0===a&&(a=0),void 0===r&&(r=1),e.createByPoints(e.getGlobalPoints(t,i,o),e.getGlobalPoints(t,n,s),e.getGlobalPoints(t,a,r))},e}(),RenderAnalyser=function(){function e(){this.timeDic={},this.resultDic={},this.countDic={},this.resultCountDic={},this.nodeDic={},this.isWorking=!1,this.working=!0}__class(e,"laya.debug.tools.RenderAnalyser");var t=e.prototype;return t.render=function(e,t){this.addTime(e,t)},t.addTime=function(e,t){IDTools.idObj(e);var i=0;i=IDTools.getObjID(e),this.timeDic.hasOwnProperty(i)||(this.timeDic[i]=0),this.timeDic[i]=this.timeDic[i]+t,this.countDic.hasOwnProperty(i)||(this.countDic[i]=0),this.countDic[i]=this.countDic[i]+1,this.nodeDic[i]=e},t.getTime=function(e){IDTools.idObj(e);var t=0;return t=IDTools.getObjID(e),this.resultDic[t]?this.resultDic[t]:0},t.getCount=function(e){IDTools.idObj(e);var t=0;return t=IDTools.getObjID(e),this.resultCountDic[t]},t.reset=function(){var e;for(e in this.timeDic)this.timeDic[e]=0,this.countDic[e]=0;ObjectTools.clearObj(this.nodeDic)},t.updates=function(){ObjectTools.clearObj(this.resultDic),ObjectTools.insertValue(this.resultDic,this.timeDic),ObjectTools.clearObj(this.resultCountDic),ObjectTools.insertValue(this.resultCountDic,this.countDic),this.reset()},__getset(0,t,"working",null,function(e){this.isWorking=e,e?Laya.timer.loop(NodeConsts.RenderCostMaxTime,this,this.updates):Laya.timer.clear(this,this.updates)}),__static(e,["I",function(){return this.I=new e}]),e}(),DisResizer=function(){function e(){}return __class(e,"laya.debug.tools.resizer.DisResizer"),e.init=function(){e._up||(e._up=new AutoFillRec("T"),e._up.height=2,e._up.type=0,e._down=new AutoFillRec("T"),e._down.height=2,e._down.type=0,e._left=new AutoFillRec("R"),e._left.width=2,e._left.type=1,e._right=new AutoFillRec("R"),e._right.width=2,e._right.type=1,e._barList=[e._up,e._down,e._left,e._right],e.addEvent())},e.stageDown=function(t){var i;i=t.target,e._tar&&DisControlTool.isInTree(e._tar,i)||e.clear()},e.clear=function(){e._tar=null,Laya.stage.off("mouseup",null,e.stageDown),DisControlTool.removeItems(e._barList),e.clearDragEvents()},e.addEvent=function(){var t,i=0,o=0;for(o=e._barList.length,i=0;o>i;i++)t=e._barList[i],t.on("mousedown",null,e.barDown)},e.barDown=function(t){if(e.clearDragEvents(),e.tBar=t.target,e.tBar){var i;i=new Rectangle,0==e.tBar.type?(i.x=e.tBar.x,i.width=0,i.y=e.tBar.y-200,i.height=400):(i.x=e.tBar.x-200,i.width=400,i.y=0,i.height=0);var o;o={},o.area=i,e.tBar.record(),e.tBar.startDrag(i),e.tBar.on("dragmove",null,e.draging),e.tBar.on("dragend",null,e.dragEnd)}},e.draging=function(t){if(console.log("draging"),e.tBar&&e._tar){switch(e.tBar){case e._left:e._tar.x+=e.tBar.getDx(),e._tar.width-=e.tBar.getDx(),e._up.width-=e.tBar.getDx(),e._down.width-=e.tBar.getDx(),e._right.x-=e.tBar.getDx(),e.tBar.x-=e.tBar.getDx();break;case e._right:e._tar.width+=e.tBar.getDx(),e._up.width+=e.tBar.getDx(),e._down.width+=e.tBar.getDx();break;case e._up:e._tar.y+=e.tBar.getDy(),e._tar.height-=e.tBar.getDy(),e._right.height-=e.tBar.getDy(),e._left.height-=e.tBar.getDy(),e._down.y-=e.tBar.getDy(),e.tBar.y-=e.tBar.getDy();break;case e._down:e._tar.height+=e.tBar.getDy(),e._right.height+=e.tBar.getDy(),e._left.height+=e.tBar.getDy()}e.tBar.record()}},e.dragEnd=function(t){console.log("dragEnd"),e.clearDragEvents(),e.updates()},e.clearDragEvents=function(){e.tBar&&(e.tBar.off("dragmove",null,e.draging),e.tBar.off("dragend",null,e.dragEnd))},e.setUp=function(t,i){void 0===i&&(i=!1),i&&t==e._tar||(DisControlTool.removeItems(e._barList),(e._tar!=t||(e._tar=null,e.clearDragEvents(),i))&&(e._tar=t,e.updates(),DisControlTool.addItems(e._barList,t),Laya.stage.off("mouseup",null,e.stageDown),Laya.stage.on("mouseup",null,e.stageDown)))},e.updates=function(){var t;if(t=e._tar){var i;i=new Rectangle(0,0,t.width,t.height),e._up.x=i.x,e._up.y=i.y,e._up.width=i.width,e._down.x=i.x,e._down.y=i.y+i.height-2,e._down.width=i.width,e._left.x=i.x,e._left.y=i.y,e._left.height=i.height,e._right.x=i.x+i.width-2,e._right.y=i.y,e._right.height=i.height}},e.Side=2,e.Vertical=1,e.Horizon=0,e._up=null,e._down=null,e._left=null,e._right=null,e._barList=null,e._tar=null,e.barWidth=2,e.useGetBounds=!1,e.tBar=null,e}(),SimpleResizer=function(){function e(){}return __class(e,"laya.debug.tools.resizer.SimpleResizer"),e.setResizeAble=function(t,i,o,n){void 0===o&&(o=150),void 0===n&&(n=150),t.on("mousedown",null,e.onMouseDown,[i,o,n])},e.onMouseDown=function(t,i,o,n){if(e.clearEvents(),t){e.preMousePoint.setTo(Laya.stage.mouseX,Laya.stage.mouseY),e.preTarSize.setTo(t.width,t.height),e.preScale.setTo(1,1);var s;for(s=t;s&&s!=Laya.stage;)e.preScale.x*=s.scaleX,e.preScale.y*=s.scaleY,s=s.parent;Laya.stage.on("mouseup",null,e.onMouseMoveEnd),Laya.timer.loop(100,null,e.onMouseMoving,[t,i,o])}},e.onMouseMoving=function(t,i,o,n){var s=(Laya.stage.mouseX-e.preMousePoint.x)/e.preScale.x+e.preTarSize.x,a=(Laya.stage.mouseY-e.preMousePoint.y)/e.preScale.y+e.preTarSize.y;t.width=s>i?s:i,t.height=a>o?a:o},e.onMouseMoveEnd=function(t){e.clearEvents()},e.clearEvents=function(){Laya.timer.clear(null,e.onMouseMoving),Laya.stage.off("mouseup",null,e.onMouseMoveEnd)},__static(e,["preMousePoint",function(){return this.preMousePoint=new Point},"preTarSize",function(){return this.preTarSize=new Point},"preScale",function(){return this.preScale=new Point}]),e}(),ResTools=function(){function e(){}return __class(e,"laya.debug.tools.ResTools"),e.getCachedResList=function(){return Render.isWebGL?e.getWebGlResList():e.getCanvasResList()},e.getWebGlResList=function(){var e;e=[];var t,i;i=ResourceManager.currentResourceManager._resources;for(var o=0;o<i.length;o++)if(t=i[o],"WebGLImage"==ClassTool.getClassName(t)){var n=t.src;n&&n.indexOf("data:image/png;base64")<0&&e.push(n)}return e},e.getCanvasResList=function(){var t;t={};var i;return i=Loader.loadedMap,e.collectPics(i,t),e.getArrFromDic(t)},e.getArrFromDic=function(e){var t,i;i=[];for(t in e)i.push(t);return i},e.collectPics=function(e,t){if(e){var i,o;for(i in e)if(o=e[i],o&&o.bitmap&&o.bitmap.src){var n=o.bitmap.src;n.indexOf("data:image/png;base64")<0&&(t[o.bitmap.src]=!0)}}},e}(),RunProfile=function(){function e(){}return __class(e,"laya.debug.tools.RunProfile"),e.run=function(t,i){void 0===i&&(i=3);var o;e.infoDic.hasOwnProperty(t)||(e.infoDic[t]=new CountTool),o=e.infoDic[t];var n;n=TraceTool.getCallLoc(i)+"\n"+TraceTool.getCallStack(1,i-3),o.add(n),e._runShowDic[t]&&(console.log("Create:"+t),console.log(n))},e.showClassCreate=function(t){e._runShowDic[t]=!0},e.hideClassCreate=function(t){e._runShowDic[t]=!1},e.getRunInfo=function(t){var i;return i=e.infoDic[t],e.infoDic[t]},e.runTest=function(e,t,i){void 0===i&&(i="runTest"),DTrace.timeStart(i);var o=0;for(o=0;t>o;o++)e();DTrace.timeEnd(i)},e.infoDic={},e._runShowDic={},e}(),SingleTool=function(){function e(){this._objDic={}}__class(e,"laya.debug.tools.SingleTool");var t=e.prototype;return t.getArr=function(e){var t;return t=this.getTypeDic("Array"),t[e]||(t[e]=[]),t[e]},t.getObject=function(e){var t;return t=this.getTypeDic("Object"),t[e]||(t[e]={}),t[e]},t.getByClass=function(e,t,i){var o;return o=this.getTypeDic(t),o[e]||(o[e]=new i),o[e]},t.getTypeDic=function(e){return this._objDic[e]||(this._objDic[e]={}),this._objDic[e]},__static(e,["I",function(){return this.I=new e}]),e}(),StringTool=function(){function e(){}return __class(e,"laya.debug.tools.StringTool"),e.toUpCase=function(e){return e.toUpperCase()},e.toLowCase=function(e){return e.toLowerCase()},e.toUpHead=function(e){var t;return e.length<=1?e.toUpperCase():t=e.charAt(0).toUpperCase()+e.substr(1)},e.toLowHead=function(e){var t;return e.length<=1?e.toLowerCase():t=e.charAt(0).toLowerCase()+e.substr(1)},e.packageToFolderPath=function(e){var t;return t=e.replace(".","/")},e.insert=function(e,t,i){return e.substring(0,i)+t+e.substr(i)},e.insertAfter=function(t,i,o,n){void 0===n&&(n=!1);var s=0;return s=n?t.lastIndexOf(o):t.indexOf(o),s>=0?e.insert(t,i,s+o.length):t},e.insertBefore=function(t,i,o,n){void 0===n&&(n=!1);var s=0;return s=n?t.lastIndexOf(o):t.indexOf(o),s>=0?e.insert(t,i,s):t},e.insertParamToFun=function(t,i){var o;o=e.getParamArr(t);var n;return n=i.join(","),o.length>0&&(n=","+n),e.insertBefore(t,n,")",!0)},e.trim=function(t,i){i||(i=[" ","\r","\n"," ",String.fromCharCode(65279)]);var o,n=0,s=0;for(o=t,s=i.length,n=0;s>n;n++)o=e.getReplace(o,i[n],"");return o},e.isEmpty=function(t){return t.length<1?!0:e.emptyStrDic.hasOwnProperty(t)},e.trimLeft=function(t){var i=0;i=0;var o=0;for(o=t.length;e.isEmpty(t.charAt(i))&&o>i;)i++;return o>i?t.substr(i):""},e.trimRight=function(t){var i=0;for(i=t.length-1;e.isEmpty(t.charAt(i))&&i>=0;)i--;var o;return o=t.substring(0,i),i>=0?t.substring(0,i+1):""},e.trimSide=function(t){var i;return i=e.trimLeft(t),i=e.trimRight(i)},e.isOkFileName=function(t){if(""==laya.debug.tools.StringTool.trimSide(t))return!1;var i=0,o=0;for(o=t.length,i=0;o>i;i++)if(e.specialChars[t.charAt(i)])return!1;return!0},e.trimButEmpty=function(t){return e.trim(t,["\r","\n"," "])},e.removeEmptyStr=function(t){var i=0;i=t.length-1;var o;for(i=i;i>=0;i--)o=t[i],o=laya.debug.tools.StringTool.trimSide(o),e.isEmpty(o)?t.splice(i,1):t[i]=o;return t},e.ifNoAddToTail=function(e,t){return e.indexOf(t)>=0?e:e+t},e.trimEmptyLine=function(t){var i,o,n=0;for(i=t.split("\n"),n=i.length-1;n>=0;n--)o=i[n],e.isEmptyLine(o)&&i.splice(n,1);return i.join("\n")},e.isEmptyLine=function(e){return e=laya.debug.tools.StringTool.trim(e),""==e},e.removeCommentLine=function(t){var i;i=[];var o,n,s=0;s=0;var a=0,r=0;for(a=t.length;a>s;){if(n=o=t[s],r=o.indexOf("/**"),r>=0)for(n=o.substring(0,r-1),e.addIfNotEmpty(i,n);a>s;){if(o=t[s],r=o.indexOf("*/"),r>=0){n=o.substring(r+2),e.addIfNotEmpty(i,n);break}s++}else o.indexOf("//")>=0?0==laya.debug.tools.StringTool.trim(o).indexOf("//")||e.addIfNotEmpty(i,n):e.addIfNotEmpty(i,n);s++}return i},e.addIfNotEmpty=function(t,i){if(i){var o;o=e.trim(i),""!=o&&t.push(i)}},e.trimExt=function(t,i){var o;o=e.trim(t);var n=0,s=0;for(s=i.length,n=0;s>n;n++)o=e.getReplace(o,i[n],"");return o},e.getBetween=function(e,t,i,o){if(void 0===o&&(o=!1),!e)return"";if(!t)return"";if(!i)return"";var n=0,s=0;if(n=e.indexOf(t),0>n)return"";if(o){if(s=e.lastIndexOf(i),n>s)return""}else s=e.indexOf(i,n);return 0>s?"":e.substring(n+t.length,s)},e.getSplitLine=function(e,t){return void 0===t&&(t=" "),e.split(t)},e.getLeft=function(e,t){var i=0;return i=e.indexOf(t),e.substr(0,i)},e.getRight=function(e,t){var i=0;return i=e.indexOf(t),e.substr(i+1)},e.delelteItem=function(e){for(;e.length>0&&""==e[0];)e.shift()},e.getWords=function(t){var i=e.getSplitLine(t);return e.delelteItem(i),i},e.getLinesI=function(e,t,i){var o=0,n=[];for(o=e;t>=o;o++)n.push(i[o]);return n},e.structfy=function(t,i,o){void 0===i&&(i=4),void 0===o&&(o=!0),o&&(t=laya.debug.tools.StringTool.trimEmptyLine(t));var n,s=0;s=0;var a;a=e.getEmptyStr(0),n=t.split("\n");var r,l=0,h=0;for(h=n.length,l=0;h>l;l++)r=n[l],r=laya.debug.tools.StringTool.trimLeft(r),
r=laya.debug.tools.StringTool.trimRight(r),s+=e.getPariCount(r),r.indexOf("}")>=0&&(a=e.getEmptyStr(s*i)),r=a+r,n[l]=r,a=e.getEmptyStr(s*i);return n.join("\n")},e.getEmptyStr=function(t){if(!e.emptyDic.hasOwnProperty(t)){var i=0,o=0;o=t;var n;for(n="",i=0;o>i;i++)n+=" ";e.emptyDic[t]=n}return e.emptyDic[t]},e.getPariCount=function(e,t,i){void 0===t&&(t="{"),void 0===i&&(i="}");var o;o={},o[t]=1,o[i]=-1;var n,s=0,a=0;a=e.length;var r=0;for(r=0,s=0;a>s;s++)n=e.charAt(s),o.hasOwnProperty(n)&&(r+=o[n]);return r},e.readInt=function(e,t){void 0===t&&(t=0);var i=NaN;i=0;var o,n=0,s=!1;s=!1;var a=0;for(a=e.length,n=t;a>n;n++)if(o=e.charAt(n),Number(o)>0||"0"==o)i=10*i+Number(o),i>0&&(s=!0);else if(s)return i;return i},e.getReplace=function(e,t,i){if(!e)return"";var o;return o=e.replace(new RegExp(t,"g"),i)},e.getWordCount=function(e,t){var i=new RegExp(t,"g");return e.match(i).length},e.getResolvePath=function(t,i){if(e.isAbsPath(t))return t;var o;o="\\",i.indexOf("/")>=0&&(o="/"),i.charAt(i.length-1)==o&&(i=i.substr(0,i.length-1));var n;n=".."+o;var s;s="."+o;var a=0;a=e.getWordCount(t,n),t=laya.debug.tools.StringTool.getReplace(t,n,""),t=laya.debug.tools.StringTool.getReplace(t,s,"");var r=0,l=0;l=a;for(r=0;l>r;r++)i=e.removeLastSign(t,o);return i+o+t},e.isAbsPath=function(e){return e.indexOf(":")>=0},e.removeLastSign=function(e,t){var i=0;return i=e.lastIndexOf(t),e=e.substring(0,i)},e.getParamArr=function(t){var i;return i=laya.debug.tools.StringTool.getBetween(t,"(",")",!0),e.trim(i).length<1?[]:i.split(",")},e.copyStr=function(e){return e.substring()},e.ArrayToString=function(t){var i;return i="[{items}]".replace(new RegExp("\\{items\\}","g"),e.getArrayItems(t))},e.getArrayItems=function(t){var i;if(t.length<1)return"";i=e.parseItem(t[0]);var o=0,n=0;for(n=t.length,o=1;n>o;o++)i+=","+e.parseItem(t[o]);return i},e.parseItem=function(e){var t;return t='"'+e+'"',""},e.emptyDic={},__static(e,["emptyStrDic",function(){return this.emptyStrDic={" ":!0,"\r":!0,"\n":!0," ":!0}},"specialChars",function(){return this.specialChars={"*":!0,"&":!0,"%":!0,"#":!0,"?":!0}}]),e}(),TimerControlTool=function(){function e(){}return __class(e,"laya.debug.tools.TimerControlTool"),e.now=function(){return 1!=e._timeRate?e.getRatedNow():Date.now()},e.getRatedNow=function(){var t=NaN;return t=e.getNow()-e._startTime,t*e._timeRate+e._startTime},e.getNow=function(){return Date.now()},e.setTimeRate=function(t){null==e._browerNow&&(e._browerNow=Browser.now),e._startTime=e.getNow(),e._timeRate=t,1!=t?Browser.now=e.now:null!=e._browerNow&&(Browser.now=e._browerNow)},e.recoverRate=function(){e.setTimeRate(1)},e._startTime=NaN,e._timeRate=1,e._browerNow=null,e}(),TimeTool=function(){function e(){}return __class(e,"laya.debug.tools.TimeTool"),e.getTime=function(t,i){void 0===i&&(i=!0),e.timeDic[t]||(e.timeDic[t]=0);var o=NaN;o=Browser.now();var n=NaN;return n=o-e.timeDic[t],e.timeDic[t]=o,n},e.timeDic={},e}(),TraceTool=function(){function e(){}return __class(e,"laya.debug.tools.TraceTool"),e.closeAllLog=function(){var t;t=e.emptyLog,Browser.window.console.log=t},e.emptyLog=function(){},e.traceObj=function(t){e.tempArr.length=0;var i;for(i in t)e.tempArr.push(i+":"+t[i]);var o;return o=e.tempArr.join("\n"),console.log(o),o},e.traceObjR=function(t){e.tempArr.length=0;var i;for(i in t)e.tempArr.push(t[i]+":"+i);var o;return o=e.tempArr.join("\n"),console.log(o),o},e.traceSize=function(e){DebugTool.dTrace("Size: x:"+e.x+" y:"+e.y+" w:"+e.width+" h:"+e.height+" scaleX:"+e.scaleX+" scaleY:"+e.scaleY)},e.traceSplit=function(e){console.log("---------------------"+e+"---------------------------")},e.group=function(e){console.group(e)},e.groupEnd=function(){console.groupEnd()},e.getCallStack=function(t,i){void 0===t&&(t=1),void 0===i&&(i=1);var o;o=e.getCallStack,o=o.caller.caller;var n;for(n="";o&&t>0;)0>=i&&(n+=o+"<-",t--),o=o.caller,i--;return n},e.getCallLoc=function(t){void 0===t&&(t=2);var i;try{e.Erroer.i++}catch(o){var n;n=o.stack.replace(/Error\n/).split(/\n/),i=n[t]?n[t].replace(/^\s+|\s+$/,""):"unknow"}return i},e.traceCallStack=function(){var t;try{e.Erroer.i++}catch(i){t=i.stack}return console.log(t),t},e.getPlaceHolder=function(t){if(!e.holderDic.hasOwnProperty(t)){var i;i="";var o=0;for(o=0;t>o;o++)i+="-";e.holderDic[t]=i}return e.holderDic[t]},e.traceTree=function(t,i,o){if(void 0===i&&(i=0),void 0===o&&(o=!0),o&&console.log("traceTree"),t){var n=0,s=0;if(t.numChildren<1)return void console.log(t);for(e.group(t),s=t.numChildren,i++,n=0;s>n;n++)e.traceTree(t.getChildAt(n),i,!1);e.groupEnd()}},e.getClassName=function(e){return e.constructor.name},e.traceSpriteInfo=function(t,i,o,n){return void 0===i&&(i=!0),void 0===o&&(o=!0),void 0===n&&(n=!0),t instanceof laya.display.Sprite?t?(e.traceSplit("traceSpriteInfo"),DebugTool.dTrace(laya.debug.tools.TraceTool.getClassName(t)+":"+t.name),n?e.traceTree(t):console.log(t),o&&e.traceSize(t),void(i&&console.log("bounds:"+t.getBounds()))):void console.log("null Sprite"):void console.log("not Sprite")},e.tempArr=[],e.Erroer=null,e.holderDic={},e}(),UVTools=function(){function e(){}return __class(e,"laya.debug.tools.UVTools"),e.getUVByRec=function(e,t,i,o){return[e,t,e+i,t,e+i,t+o,e,t+o]},e.getRecFromUV=function(e){var t;return t=new Rectangle(e[0],e[1],e[2]-e[0],e[5]-e[1])},e.isUVRight=function(e){return e[0]!=e[6]?!1:e[1]!=e[3]?!1:e[2]!=e[4]?!1:e[5]==e[7]},e.getTextureRec=function(t){var i;return i=e.getRecFromUV(t.uv),i.x*=t.bitmap.width,i.y*=t.bitmap.height,i.width*=t.bitmap.width,i.height*=t.bitmap.height,i},e}(),ValueChanger=function(){function e(){this.target=null,this.key=null,this._tValue=NaN,this.preValue=0}__class(e,"laya.debug.tools.ValueChanger");var t=e.prototype;return t.record=function(){this.preValue=this.value},t.showValueByAdd=function(e){this.value=this.preValue+e},t.showValueByScale=function(e){this.value=this.preValue*e},t.recover=function(){this.value=this.preValue},t.dispose=function(){this.target=null},__getset(0,t,"value",function(){return this.target&&(this._tValue=this.target[this.key]),this._tValue},function(e){this._tValue=e,this.target&&(this.target[this.key]=e)}),__getset(0,t,"dValue",function(){return this.value-this.preValue}),__getset(0,t,"scaleValue",function(){return this.value/this.preValue}),e.create=function(t,i){var o;return o=new e,o.target=t,o.key=i,o},e}(),VisibleAnalyser=function(){function e(){}return __class(e,"laya.debug.tools.VisibleAnalyser"),e.analyseTarget=function(t){var i=!1;i=t.displayedInStage;var o;o=NodeUtils.getGRec(t);var n=new Rectangle;n.setTo(0,0,Laya.stage.width,Laya.stage.height);var s,a=!1;s=n.intersection(o),a=s.width>0&&s.height>0;var r=NaN;r=NodeUtils.getGAlpha(t);var l=!1;l=NodeUtils.getGVisible(t);var h;h="",h+="isInstage:"+i+"\n",h+="isInVisibleRec:"+a+"\n",h+="gVisible:"+l+"\n",h+="gAlpha:"+r+"\n",i&&a&&l&&r>0&&(Render.isWebGL?e.anlyseRecVisible(t):SpriteRenderForVisibleAnalyse.I.analyseNode(t),h+="coverRate:"+e.coverRate+"\n",e._coverList.length>0&&Laya.timer.once(1e3,null,e.showListLater)),console.log(h),OutPutView.I.showTxt(h)},e.showListLater=function(){NodeListPanelView.I.showList(e._coverList)},e.isCoverByBrother=function(e){var t=e.parent;if(t){var i;i=t._childs;var o=0;if(o=i.indexOf(e),!(0>o)){var n;n=t.getSelfBounds(),n.width<=0||n.height<=0}}},e.anlyseRecVisible=function(t){e.isNodeWalked=!1,e._analyseTarget=t,e.mainCanvas||(e.mainCanvas=CanvasTools.createCanvas(Laya.stage.width,Laya.stage.height)),CanvasTools.clearCanvas(e.mainCanvas),e.tColor=1,e.resetCoverList(),WalkTools.walkTargetEX(Laya.stage,e.recVisibleWalker,null,e.filterFun),e.isTarRecOK?e.coverRate=CanvasTools.getDifferRate(e.preImageData,e.tarImageData):e.coverRate=0,console.log("coverRate:",e.coverRate)},e.getRecArea=function(e){return e.width*e.height},e.addCoverNode=function(t,i){var o;o={},o.path=t,o.label=ClassTool.getNodeClassAndName(t)+":"+i,o.coverRate=i,e._coverList.push(o),console.log("coverByNode:",t,i)},e.resetCoverList=function(){e._coverList.length=0},e.recVisibleWalker=function(t){if(t==e._analyseTarget)e.isNodeWalked=!0,e.tarRec.copyFrom(NodeUtils.getGRec(t)),console.log("tarRec:",e.tarRec.toString()),e.tarRec.width>0&&e.tarRec.height>0?(e.isTarRecOK=!0,e.tColor++,CanvasTools.fillCanvasRec(e.mainCanvas,e.tarRec,ColorTool.toHexColor(e.tColor)),e.preImageData=CanvasTools.getImageDataFromCanvasByRec(e.mainCanvas,e.tarRec),e.tarImageData=CanvasTools.getImageDataFromCanvasByRec(e.mainCanvas,e.tarRec)):console.log("tarRec Not OK:",e.tarRec);else if(e.isTarRecOK){var i;if(i=NodeUtils.getGRec(t),e.interRec=e.tarRec.intersection(i,e.interRec),e.interRec&&e.interRec.width>0&&e.interRec.height>0){e.tColor++,CanvasTools.fillCanvasRec(e.mainCanvas,i,ColorTool.toHexColor(e.tColor)),e.tImageData=CanvasTools.getImageDataFromCanvasByRec(e.mainCanvas,e.tarRec);var o=NaN;o=CanvasTools.getDifferRate(e.preImageData,e.tImageData),e.preImageData=e.tImageData,e.addCoverNode(t,o)}}},e.filterFun=function(e){return 0==e.visible?!1:e.alpha<0?!1:!DebugInfoLayer.I.isDebugItem(e)},e.isNodeWalked=!1,e._analyseTarget=null,e.isTarRecOK=!1,e.mainCanvas=null,e.preImageData=null,e.tImageData=null,e.tarImageData=null,e.coverRate=NaN,e.tColor=0,e._coverList=[],__static(e,["tarRec",function(){return this.tarRec=new Rectangle},"interRec",function(){return this.interRec=new Rectangle}]),e}(),WalkTools=function(){function e(){}return __class(e,"laya.debug.tools.WalkTools"),e.walkTarget=function(t,i,o){i.apply(o,[t]);var n,s=0,a=0;for(a=t.numChildren,s=0;a>s;s++)n=t.getChildAt(s),e.walkTarget(n,i,n)},e.walkTargetEX=function(t,i,o,n){if(null==n||n(t)){i.apply(o,[t]);var s,a,r=0,l=0;for(a=t._childs,l=a.length,r=0;l>r;r++)s=a[r],e.walkTarget(s,i,s)}},e.walkChildren=function(t,i,o){!t||t.numChildren<1||e.walkArr(DisControlTool.getAllChild(t),i,o)},e.walkArr=function(e,t,i){if(e){var o=0,n=0;for(n=e.length,o=0;n>o;o++)t.apply(i,[e[o],o])}},e}(),Watcher=function(){function e(){}return __class(e,"laya.debug.tools.Watcher"),e.watch=function(e,t,i){VarHook.hookVar(e,t,i)},e.traceChange=function(t,i,o){void 0===o&&(o="var changed:"),VarHook.hookVar(t,i,[e.getTraceValueFun(i),VarHook.getLocFun(o)])},e.debugChange=function(e,t){VarHook.hookVar(e,t,[VarHook.getLocFun("debug loc"),FunHook.debugHere])},e.differChange=function(t,i,o,n){void 0===n&&(n=""),VarHook.hookVar(t,i,[e.getDifferFun(t,i,o,n)])},e.getDifferFun=function(e,t,i,o){void 0===o&&(o="");var n;return n=function(){DifferTool.differ(i,e[t],o)}},e.traceValue=function(e){console.log("value:",e)},e.getTraceValueFun=function(e){var t;return t=function(t){console.log("set "+e+" :",t)}},e}(),XML2Object=function(){function e(){}return __class(e,"laya.debug.tools.XML2Object"),__getset(1,e,"arrays",function(){return e._arrays||(e._arrays=[]),e._arrays},function(t){e._arrays=t}),e.parse=function(t,i){void 0===i&&(i=!0);var o={};i&&(o.Name=t.localName);var n=t.children.length,s=[],a={};o.c=a,o.cList=s;for(var r=0;n>r;r++){var l,h,c=t.children[r],u=c.localName;l=e.parse(c,!0),s.push(l),a[u]?"array"==e.getTypeof(a[u])?a[u].push(l):a[u]=[a[u],l]:e.isArray(u)?a[u]=[l]:a[u]=l}if(h=0,t.attributes){h=t.attributes.length;var f={};for(o.p=f,r=0;h>r;r++)f[t.attributes[r].name.toString()]=String(t.attributes[r].nodeValue)}return 0==n&&0==h&&(o=""),o},e.getArr=function(t){return t?"array"==e.getTypeof(t)?t:[t]:[]},e.isArray=function(t){for(var i=e._arrays?e._arrays.length:0,o=0;i>o;o++)if(t==e._arrays[o])return!0;return!1},e.getTypeof=function(e){return"object"==typeof e?null==e.length?"object":"number"==typeof e.length?"array":"object":typeof e},e._arrays=null,e}(),NodeMenu=function(){function e(){this._tar=null,this._menu=null,this._shareBtns=["信息面板","边框","进入节点","树定位","Enable链","Size链","节点工具","可见分析","输出到控制台"],this._menuItems=["隐藏节点"],this._menuHide=null,this._menuItemsHide=["显示节点"],this._menu1=null,this._menuItems1=["输出到控制台"]}__class(e,"laya.debug.view.nodeInfo.menus.NodeMenu");var t=e.prototype;return t.showNodeMenu=function(e){return e._style?(this._tar=e,this._menu||(this._menuItems=this._menuItems.concat(this._shareBtns),this._menu=ContextMenu.createMenuByArray(this._menuItems),this._menu.on("select",this,this.onEmunSelect),this._menuItemsHide=this._menuItemsHide.concat(this._shareBtns),this._menuHide=ContextMenu.createMenuByArray(this._menuItemsHide),this._menuHide.on("select",this,this.onEmunSelect)),void(e.visible?this._menu.show():this._menuHide.show())):void DebugTool.log("该节点已不存在,请刷新列表")},t.nodeDoubleClick=function(e){NodeToolView.I.showByNode(e)},t.setNodeListDoubleClickAction=function(e){Browser.onMobile||e.on("doubleclick",this,this.onListDoubleClick,[e])},t.onListDoubleClick=function(e){if(e.selectedItem){var t;t=e.selectedItem.path,laya.debug.view.nodeInfo.menus.NodeMenu.I.nodeDoubleClick(t)}},t.setNodeListAction=function(e){e.on(DebugTool.getMenuShowEvent(),this,this.onListRightClick,[e])},t.onListRightClick=function(e){if(e.selectedItem){var t;t=e.selectedItem.path,laya.debug.view.nodeInfo.menus.NodeMenu.I.objRightClick(t)}},t.objRightClick=function(e){e instanceof laya.display.Sprite?laya.debug.view.nodeInfo.menus.NodeMenu.I.showNodeMenu(e):"object"==typeof e&&laya.debug.view.nodeInfo.menus.NodeMenu.I.showObjectMenu(e)},t.showObjectMenu=function(e){this._tar=e,this._menu1||(this._menu1=ContextMenu.createMenuByArray(this._menuItems1),this._menu1.on("select",this,this.onEmunSelect)),this._menu1.show()},t.onEmunSelect=function(e){var t=e.target.data;if("string"==typeof t){var i;switch(i=t){case"信息面板":ObjectInfoView.showObject(this._tar);break;case"边框":DebugTool.showDisBound(this._tar);break;case"输出到控制台":console.log(this._tar);break;case"树节点":ToolPanel.I.showNodeTree(this._tar);break;case"进入节点":ToolPanel.I.showNodeTree(this._tar);break;case"树定位":ToolPanel.I.showSelectInStage(this._tar);break;case"Enable链":OutPutView.I.dTrace(DebugTool.traceDisMouseEnable(this._tar)),SelectInfosView.I.setSelectList(DebugTool.selectedNodes);break;case"Size链":OutPutView.I.dTrace(DebugTool.traceDisSizeChain(this._tar)),SelectInfosView.I.setSelectList(DebugTool.selectedNodes);break;case"节点工具":NodeToolView.I.showByNode(this._tar);break;case"显示节点":this._tar.visible=!0;break;case"隐藏节点":this._tar.visible=!1;break;case"可见分析":this._tar&&VisibleAnalyser.analyseTarget(this._tar)}}},__getset(1,e,"I",function(){return e._I||(e._I=new e),e._I}),e._I=null,e}(),NodeConsts=function(){function e(){}return __class(e,"laya.debug.view.nodeInfo.NodeConsts"),e.defaultFitlerStr="x,y,width,height,scaleX,scaleY,alpha,renderCost",e.RenderCostMaxTime=3e3,e}(),NodeUtils=function(){function e(){}return __class(e,"laya.debug.view.nodeInfo.NodeUtils"),e.getFilterdTree=function(t,i){i||(i=e.defaultKeys);var o;o={};var n,s=0,a=0;for(a=i.length,s=0;a>s;s++)n=i[s],o[n]=t[n];var r,l;r=t._childs,a=r.length;var h;for(h=[],s=0;a>s;s++)l=r[s],h.push(e.getFilterdTree(l,i));return o.childs=h,o},e.getPropertyDesO=function(t,i){i||(i=e.defaultKeys);var o={};"object"==typeof t?o.label=""+ClassTool.getNodeClassAndName(t):o.label=""+t,o.type="",o.path=t,o.childs=[],o.isDirectory=!1;var n,s,a=0,r=0;if(t instanceof laya.display.Node){for(o.des=ClassTool.getNodeClassAndName(t),o.isDirectory=!0,r=i.length,a=0;r>a;a++)n=i[a],s=e.getPropertyDesO(t[n],i),t.hasOwnProperty(n)?s.label=""+n+":"+s.des:s.label=""+n+":"+ObjectInfoView.getNodeValue(t,n),o.childs.push(s);n="_childs",s=e.getPropertyDesO(t[n],i),s.label=""+n+":"+s.des,s.isChilds=!0,o.childs.push(s)}else if(t instanceof Array){o.des="Array["+t.length+"]",o.isDirectory=!0;var l;for(l=t,r=l.length,a=0;r>a;a++)s=e.getPropertyDesO(l[a],i),s.label=""+a+":"+s.des,o.childs.push(s)}else if("object"==typeof t){o.des=ClassTool.getNodeClassAndName(t),o.isDirectory=!0;for(n in t)s=e.getPropertyDesO(t[n],i),s.label=""+n+":"+s.des,o.childs.push(s)}else o.des=""+t;return o.hasChild=o.childs.length>0,o},e.adptShowKeys=function(e){var t=0,i=0;for(i=e.length,t=i-1;t>=0;t--)e[t]=StringTool.trimSide(e[t]),e[t].length<1&&e.splice(t,1);return e},e.getNodeTreeData=function(t,i){e.adptShowKeys(i);var o;o=e.getPropertyDesO(t,i);var n;return n=[],e.getTreeArr(o,n),n},e.getTreeArr=function(t,i,o){void 0===o&&(o=!0),o&&i.push(t);var n=t.childs,s=0,a=n.length;for(s=0;a>s;s++)o?n[s].nodeParent=t:n[s].nodeParent=null,n[s].isDirectory?e.getTreeArr(n[s],i):i.push(n[s])},e.traceStage=function(){console.log(e.getFilterdTree(Laya.stage,null)),console.log("treeArr:",e.getNodeTreeData(Laya.stage,null))},e.getNodeCount=function(t,i){if(void 0===i&&(i=!1),i&&!t.visible)return 0;var o=0;o=1;var n,s=0,a=0;for(n=t._childs,a=n.length,s=0;a>s;s++)o+=e.getNodeCount(n[s],i);return o},e.getGVisible=function(e){for(;e;){if(!e.visible)return!1;e=e.parent}return!0},e.getGAlpha=function(e){var t=NaN;for(t=1;e;)t*=e.alpha,e=e.parent;return t},e.getGPos=function(e){var t;return t=new Point,e.localToGlobal(t),t},e.getGRec=function(e){var t;if(t=e._getBoundPointsM(!0),!t||t.length<1)return Rectangle.TEMP.setTo(0,0,0,0);t=GrahamScan.pListToPointList(t,!0),WalkTools.walkArr(t,e.localToGlobal,e),t=GrahamScan.pointListToPlist(t);var i;return i=Rectangle._getWrapRec(t,i)},e.getGGraphicRec=function(e){var t;if(t=e.getGraphicBounds()._getBoundPoints(),!t||t.length<1)return Rectangle.TEMP.setTo(0,0,0,0);t=GrahamScan.pListToPointList(t,!0),WalkTools.walkArr(t,e.localToGlobal,e),t=GrahamScan.pointListToPlist(t);var i;return i=Rectangle._getWrapRec(t,i)},e.getNodeCmdCount=function(e){var t=0;return t=e.graphics?e.graphics.cmds?e.graphics.cmds.length:e.graphics._one?1:0:0},e.getNodeCmdTotalCount=function(t){var i,o=0,n=0,s=0;for(i=t._childs,s=i.length,o=e.getNodeCmdCount(t),n=0;s>n;n++)o+=e.getNodeCmdTotalCount(i[n]);return o},e.getRenderNodeCount=function(t){if("none"!=t.cacheAs)return 1;var i,o=0,n=0,s=0;for(i=t._childs,s=i.length,o=1,n=0;s>n;n++)o+=e.getRenderNodeCount(i[n]);return o},e.getReFreshRenderNodeCount=function(t){var i,o=0,n=0,s=0;for(i=t._childs,s=i.length,o=1,n=0;s>n;n++)o+=e.getRenderNodeCount(i[n]);return o},e.showCachedSpriteRecs=function(){e.g=DebugInfoLayer.I.graphicLayer.graphics,e.g.clear(),WalkTools.walkTarget(Laya.stage,e.drawCachedBounds,null)},e.drawCachedBounds=function(t){if("none"!=t.cacheAs&&!DebugInfoLayer.I.isDebugItem(t)){var i;i=e.getGRec(t),e.g.drawRect(i.x,i.y,i.width,i.height,null,"#0000ff",2)}},e.g=null,__static(e,["defaultKeys",function(){return this.defaultKeys=["x","y","width","height"]}]),e}(),StyleConsts=function(){function e(){}return __class(e,"laya.debug.view.StyleConsts"),e.setViewScale=function(t){t.scaleX=t.scaleY=e.PanelScale},__static(e,["PanelScale",function(){return this.PanelScale=Browser.onPC?1:Browser.pixelRatio}]),e}(),Notice=function(e){function t(){t.__super.call(this)}return __class(t,"laya.debug.tools.Notice",e),t.notify=function(e,i){t.I.event(e,i)},t.listen=function(e,i,o,n,s){void 0===s&&(s=!1),s&&t.cancel(e,i,o),t.I.on(e,i,o,n)},t.cancel=function(e,i,o){t.I.off(e,i,o)},__static(t,["I",function(){return this.I=new t}]),t}(EventDispatcher),LoaderHook=function(e){function t(){t.__super.call(this)}__class(t,"laya.debug.tools.enginehook.LoaderHook",e);var i=t.prototype;return i.checkUrls=function(e){var i;i="string"==typeof e?e:e.url,t.preFails[i]&&t.enableFailDebugger},i.chekUrlList=function(e){var t=0,i=0;for(i=e.length,t=0;i>t;t++)this.checkUrls(e[t])},i.load=function(t,i,o,n,s,a,r,l){return void 0===s&&(s=1),void 0===a&&(a=!0),void 0===l&&(l=!1),t instanceof Array?this.chekUrlList(t):this.checkUrls(t),e.prototype.load.call(this,t,i,o,n,s,a,r,l)},t.init=function(){Laya.loader=new t,Laya.loader.on("error",null,t.onFail),t.preFails=LocalStorage.getJSON("LoadFailItems"),t.preFails||(t.preFails={})},t.onFail=function(e){OutPutView.I.dTrace("LoadFail:"+e),t.nowFails[e]=!0,LocalStorage.setJSON("LoadFailItems",t.nowFails)},t.resetFails=function(){t.nowFails={},LocalStorage.setJSON("LoadFailItems",t.nowFails)},t.preFails={},t.nowFails={},t.enableFailDebugger=!0,t.FailSign="LoadFailItems",t}(LoaderManager),ColorSelector=function(e){function t(){this.sideColor=null,this.mainColor=null,this.demoColor=null,this.posSp=null,this.hPos=null,this.container=null,this.isChanging=!1,this.tColor=null,this.tH=NaN,t.__super.call(this),this.container=this,this.createUI()}__class(t,"laya.debug.tools.ColorSelector",e);var i=t.prototype;return i.createUI=function(){this.sideColor=new Sprite,this.container.addChild(this.sideColor),this.posSp=new Sprite,this.posSp.pos(100,100),this.posSp.graphics.drawCircle(0,0,5,null,"#ff0000"),this.posSp.graphics.drawCircle(0,0,6,null,"#ffff00"),this.posSp.autoSize=!0,this.posSp.cacheAsBitmap=!0,this.sideColor.addChild(this.posSp),this.sideColor.pos(0,0),this.sideColor.size(150,150),this.sideColor.on("mousedown",this,this.sideColorClick);var e=0;this.mainColor=new Sprite;var t;t=this.mainColor.graphics;var i;for(e=0;150>e;e++)i=ColorTool.hsb2rgb(e/150*360,1,1),t.drawLine(0,e,20,e,ColorTool.getRGBStr(i));this.mainColor.pos(160,0),this.mainColor.size(20,e),this.mainColor.cacheAsBitmap=!0,this.hPos=new Sprite,this.hPos.graphics.drawPie(0,0,10,-10,10,"#ff0000"),this.hPos.x=this.mainColor.x+22,this.container.addChild(this.hPos),this.container.addChild(this.mainColor),this.mainColor.on("mousedown",this,this.mainColorClick),this.demoColor=new Sprite,this.demoColor.pos(this.sideColor.x,this.sideColor.y+this.sideColor.height+10),this.demoColor.size(150,20),this.container.addChild(this.demoColor),this.setColorByRGBStr("#099599"),this.posSp.on("dragmove",this,this.posDraging)},i.posMouseDown=function(e){},i.posDraging=function(){this.updatePosSpAndShowColor()},i.posDragEnd=function(){this.isChanging=!1,this.updatePosSpAndShowColor()},i.setColorByRGBStr=function(e){var t;t=ColorTool.getRGBByRGBStr(e),this.setColor(t[0],t[1],t[2])},i.setColor=function(e,t,i,o){void 0===o&&(o=!0);var n;n=ColorTool.rgb2hsb(e,t,i);var s;s=ColorTool.hsb2rgb(n[0],n[1],n[2]),this.setColorByHSB(n[0],n[1],n[2],o)},i.setColorByHSB=function(e,t,i,o){void 0===o&&(o=!0),this.hPos.y=this.mainColor.y+e/360*150,this.posSp.x=150*t,this.posSp.y=150*(1-i),this.updateSideColor(e,o)},i.sideColorClick=function(e){this.isChanging=!0,this.posSp.startDrag(),this.updatePosSpAndShowColor(),Laya.stage.off("mouseup",this,this.sideColorMouseUp),Laya.stage.once("mouseup",this,this.sideColorMouseUp)},i.sideColorMouseUp=function(e){this.isChanging=!1,this.updatePosSpAndShowColor()},i.updatePosSpAndShowColor=function(){this.posSp.x=this.sideColor.mouseX,this.posSp.y=this.sideColor.mouseY,this.posSp.x<0&&(this.posSp.x=0),this.posSp.y<0&&(this.posSp.y=0),this.posSp.x>150&&(this.posSp.x=150),this.posSp.y>150&&(this.posSp.y=150),this.updateDemoColor()},i.updateDemoColor=function(e){void 0===e&&(e=!0);var t=NaN,i=NaN,o=NaN;t=this.tH,i=this.posSp.x/150,o=1-this.posSp.y/150,this.tColor=ColorTool.hsb2rgb(t,i,o);var n;n=this.demoColor.graphics,n.clear(),n.drawRect(0,0,this.demoColor.width,this.demoColor.height,ColorTool.getRGBStr(this.tColor)),this.isChanging||e&&this.event("ColorChanged",this)},i.mainColorClick=function(e){var t=NaN;t=this.mainColor.mouseY,this.hPos.y=t+this.mainColor.y;var i=NaN;i=t/150*360,this.updateSideColor(i)},i.updateSideColor=function(e,t){void 0===t&&(t=!0),this.tH=e;var i;i=this.sideColor.graphics,i.clear(),this.sideColor.cacheAsBitmap=!1;var o;o=ColorTool.hsb2rgb(e,1,1);var n=Browser.context.createLinearGradient(0,0,80,0);n.addColorStop(0,"white"),n.addColorStop(1,ColorTool.getRGBStr(o)),this.sideColor.graphics.drawRect(0,0,150,150,n),this.sideColor.graphics.loadImage("comp/colorpicker_overlay.png",0,0),this.sideColor.size(150,150),this.sideColor.cacheAsBitmap=!0,this.updateDemoColor(t)},t.COLOR_CHANGED="ColorChanged",t.COLOR_CLEARED="COLOR_CLEARED",t.RecWidth=150,t}(Sprite),Arrow=function(e){function t(){t.__super.call(this),this.drawMe()}__class(t,"laya.debug.tools.comps.Arrow",e);var i=t.prototype;return i.drawMe=function(){var e;e=this.graphics,e.clear(),e.drawLine(0,0,-1,-1,"#ff0000"),e.drawLine(0,0,1,-1,"#ff0000")},t}(Sprite),ArrowLine=function(e){function t(e){this.lineLen=160,this.arrowLen=10,this.sign="Y",this._targetChanger=null,this._isMoving=!1,this.lenControl=new Rect,this.rotationControl=new Rect,this.lenChanger=ValueChanger.create(this,"lineLen"),this.lenControlXChanger=ValueChanger.create(this.lenControl,"x"),void 0===e&&(e="X"),t.__super.call(this),this.sign=e,this.addChild(this.lenControl),this.addChild(this.rotationControl),this.lenControl.on("mousedown",this,this.controlMouseDown),this.drawMe()}__class(t,"laya.debug.tools.comps.ArrowLine",e);var i=t.prototype;return i.drawMe=function(){var e;e=this.graphics,e.clear(),e.drawLine(0,0,this.lineLen,0,"#ffff00"),e.drawLine(this.lineLen,0,this.lineLen-this.arrowLen,-this.arrowLen,"#ff0000"),e.drawLine(this.lineLen,0,this.lineLen-this.arrowLen,this.arrowLen,"#ff0000"),e.fillText(this.sign,50,-5,"","#ff0000","left"),this._isMoving&&this._targetChanger&&e.fillText(this._targetChanger.key+":"+this._targetChanger.value.toFixed(2),this.lineLen-15,-25,"","#ffff00","center"),this.lenControl.posTo(this.lineLen-15,0),this.rotationControl.posTo(this.lineLen+10,0),this.size(this.arrowLen,this.lineLen)},i.clearMoveEvents=function(){Laya.stage.off("mousemove",this,this.stageMouseMove),Laya.stage.off("mouseup",this,this.stageMouseUp)},i.controlMouseDown=function(e){this.clearMoveEvents(),this.lenControlXChanger.record(),this.lenChanger.record(),this.targetChanger&&this.targetChanger.record(),this._isMoving=!0,Laya.stage.on("mousemove",this,this.stageMouseMove),Laya.stage.on("mouseup",this,this.stageMouseUp)},i.stageMouseMove=function(e){this.lenControlXChanger.value=this.mouseX,this.lenChanger.showValueByScale(this.lenControlXChanger.scaleValue),this.targetChanger&&this.targetChanger.showValueByScale(this.lenControlXChanger.scaleValue),this.drawMe()},i.stageMouseUp=function(e){this._isMoving=!1,this.noticeChange(),this.clearMoveEvents(),this.lenControlXChanger.recover(),this.lenChanger.recover(),this.drawMe()},i.noticeChange=function(){var e=NaN;e=this.lenChanger.dValue,console.log("lenChange:",e)},__getset(0,i,"targetChanger",function(){return this._targetChanger},function(e){this._targetChanger&&this._targetChanger.dispose(),this._targetChanger=e}),t}(Sprite),AutoSizeRec=function(e){function t(e){this.type=0,this._color="#ffffff",this.preX=NaN,this.preY=NaN,t.__super.call(this)}__class(t,"laya.debug.tools.comps.AutoSizeRec",e);var i=t.prototype;return i.setColor=function(e){this._color=e,this.reRender()},i.changeSize=function(){this.reRender()},i.reRender=function(){var e=this.graphics;e.clear(),e.drawRect(0,0,this.width,this.height,this._color)},i.record=function(){this.preX=this.x,this.preY=this.y},i.getDx=function(){return this.x-this.preX},i.getDy=function(){return this.y-this.preY},__getset(0,i,"height",e.prototype._$get_height,function(t){e.prototype._$set_height.call(this,t),this.changeSize()}),__getset(0,i,"width",e.prototype._$get_width,function(t){e.prototype._$set_width.call(this,t),this.changeSize()}),t}(Sprite),Axis=function(e){function t(){this._target=null,this._lenType=[["width","height"],["scaleX","scaleY"]],this._type=1,this.xAxis=new ArrowLine("X"),this.yAxis=new ArrowLine("Y"),this.controlBox=new Rect,this._point=new Point,this.oPoint=new Point,this.myRotationChanger=ValueChanger.create(this,"rotation"),this.targetRotationChanger=ValueChanger.create(null,"rotation"),this.stageMouseRotationChanger=new ValueChanger,t.__super.call(this),this.mouseEnabled=!0,this.size(1,1),this.initMe(),this.xAxis.rotationControl.on("mousedown",this,this.controlMouseDown),this.yAxis.rotationControl.on("mousedown",this,this.controlMouseDown),this.controlBox.on("mousedown",this,this.controlBoxMouseDown),this.on("dragmove",this,this.dragging)}__class(t,"laya.debug.tools.comps.Axis",e);var i=t.prototype;return i.updateChanges=function(){if(this._target){var e;e=this._lenType[this._type],this.xAxis.targetChanger=ValueChanger.create(this._target,e[0]),this.yAxis.targetChanger=ValueChanger.create(this._target,e[1])}},i.switchType=function(){this._type++,this._type=this._type%this._lenType.length,this.type=this._type},i.controlBoxMouseDown=function(e){this.startDrag()},i.dragging=function(){this._target&&(this._point.setTo(this.x,this.y),DisControlTool.transPoint(this.parent,this._target.parent,this._point),this._target.pos(this._point.x,this._point.y))},i.initMe=function(){this.addChild(this.xAxis),this.addChild(this.yAxis),this.yAxis.rotation=90,this.addChild(this.controlBox),this.controlBox.posTo(0,0)},i.clearMoveEvents=function(){Laya.stage.off("mousemove",this,this.stageMouseMove),Laya.stage.off("mouseup",this,this.stageMouseUp)},i.controlMouseDown=function(e){this.targetRotationChanger.target=this.target,this.clearMoveEvents(),this.oPoint.setTo(0,0),this.myRotationChanger.record(),this.oPoint=this.localToGlobal(this.oPoint),this.stageMouseRotationChanger.value=this.getStageMouseRatation(),this.stageMouseRotationChanger.record(),this.targetRotationChanger.record(),Laya.stage.on("mousemove",this,this.stageMouseMove),Laya.stage.on("mouseup",this,this.stageMouseUp)},i.getStageMouseRatation=function(){return MathUtil.getRotation(this.oPoint.x,this.oPoint.y,Laya.stage.mouseX,Laya.stage.mouseY)},i.stageMouseMove=function(e){this.stageMouseRotationChanger.value=this.getStageMouseRatation();var t=NaN;t=-this.stageMouseRotationChanger.dValue,this.target?this.targetRotationChanger.showValueByAdd(t):this.myRotationChanger.showValueByAdd(t)},i.stageMouseUp=function(e){this.noticeChange(),this.clearMoveEvents()},i.noticeChange=function(){console.log("rotate:",-this.stageMouseRotationChanger.dValue)},__getset(0,i,"target",function(){return this._target},function(e){this._target=e,this.updateChanges()}),__getset(0,i,"type",function(){return this._type},function(e){this._type=e,this.updateChanges()}),t}(Sprite),Rect=function(e){function t(){this.recWidth=10,t.__super.call(this),this.drawMe()}__class(t,"laya.debug.tools.comps.Rect",e);var i=t.prototype;return i.drawMe=function(){var e;e=this.graphics,e.clear(),e.drawRect(0,0,this.recWidth,this.recWidth,"#22ff22"),this.size(this.recWidth,this.recWidth)},i.posTo=function(e,t){this.x=e-.5*this.recWidth,this.y=t-.5*this.recWidth},t}(Sprite),DragBox=function(e){function t(e){this._box=null,this._target=null,this._currDir=null,this._type=0,this.fixScale=NaN,t.__super.call(this),this._left=this.drawBlock(),this._right=this.drawBlock(),this._top=this.drawBlock(),this._bottom=this.drawBlock(),this._topLeft=this.drawBlock(),this._topRight=this.drawBlock(),this._bottomLeft=this.drawBlock(),this._bottomRight=this.drawBlock(),this._lastPoint=new Point,this._type=e=3,this.addChild(this._box=this.drawBorder(0,0,16711680)),1!=e&&3!=e||(this.addChild(this._left),this.addChild(this._right)),2!=e&&3!=e||(this.addChild(this._top),this.addChild(this._bottom)),3==e&&(this.addChild(this._topLeft),this.addChild(this._topRight),this.addChild(this._bottomLeft),this.addChild(this._bottomRight)),this.on("mousedown",this,this.onMouseDown),this.mouseThrough=!0}__class(t,"laya.debug.tools.DragBox",e);var i=t.prototype;return i.onMouseDown=function(e){this._currDir=e.target,e.nativeEvent.shiftKey&&this.initFixScale(),this._currDir!=this&&(this._lastPoint.x=Laya.stage.mouseX,this._lastPoint.y=Laya.stage.mouseY,Laya.stage.on("mousemove",this,this.onMouseMove),Laya.stage.on("mouseup",this,this.onMouseUp),e.stopPropagation())},i.onMouseUp=function(e){Laya.stage.off("mousemove",this,this.onMouseMove),Laya.stage.off("mouseup",this,this.onMouseUp)},i.initFixScale=function(){this.fixScale=this._target.height/this._target.width},i.onMouseMove=function(e){var t=1,i=(Laya.stage.mouseX-this._lastPoint.x)/t,o=(Laya.stage.mouseY-this._lastPoint.y)/t,n=!1,s=NaN,a=NaN;if(e.nativeEvent.shiftKey)switch(this.fixScale<0&&this.initFixScale(),a=i*this.fixScale,s=o/this.fixScale,n=!0,this._currDir){case this._topLeft:case this._bottomLeft:this._currDir=this._left;break;case this._topRight:case this._bottomRight:this._currDir=this._right}if(0!=i||0!=o){this._lastPoint.x+=i*t,this._lastPoint.y+=o*t;var r=i/this._target.scaleX,l=o/this._target.scaleY;this._currDir==this._left?(this._target.x+=i,this._target.width-=r,n&&(this._target.height=this._target.width*this.fixScale)):this._currDir==this._right?(this._target.width+=r,
n&&(this._target.height=this._target.width*this.fixScale)):this._currDir==this._top?(this._target.y+=o,this._target.height-=l,n&&(this._target.width=this._target.height/this.fixScale)):this._currDir==this._bottom?(this._target.height+=l,n&&(this._target.width=this._target.height/this.fixScale)):this._currDir==this._topLeft?(this._target.x+=i,this._target.y+=o,this._target.width-=r,this._target.height-=l):this._currDir==this._topRight?(this._target.y+=o,this._target.width+=r,this._target.height-=l):this._currDir==this._bottomLeft?(this._target.x+=i,this._target.width-=r,this._target.height+=l):this._currDir==this._bottomRight&&(this._target.width+=r,this._target.height+=l),this._target.width<1&&(this._target.width=1),this._target.height<1&&(this._target.height=1),this._target.width=Math.round(this._target.width),this._target.x=Math.round(this._target.x),this._target.y=Math.round(this._target.y),this._target.height=Math.round(this._target.height),this.refresh()}},i.drawBorder=function(e,t,i,o){void 0===o&&(o=1);var n=new Sprite,s=n.graphics;return s.clear(),s.drawRect(0,0,e,t,null,"#"+i),n},i.drawBlock=function(){var e=new Sprite,i=e.graphics;return i.clear(),e.width=t.BLOCK_WIDTH,e.height=t.BLOCK_WIDTH,i.drawRect(.5*-t.BLOCK_WIDTH,.5*-t.BLOCK_WIDTH,t.BLOCK_WIDTH,t.BLOCK_WIDTH,"#ffffff","#ff0000",1),e.mouseEnabled=!0,e.mouseThrough=!0,e},i.setTarget=function(e){this._target=e,this.refresh()},i.refresh=function(){this.changePoint(),this.changeSize()},i.changePoint=function(){var e=this._target.localToGlobal(new Point),t=this.parent.globalToLocal(e);this.x=t.x,this.y=t.y},i.changeSize=function(){var e=this._target.width*this._target.scaleX,t=this._target.height*this._target.scaleY;console.log("change size"),this.rotation=this._target.rotation,this._box.width==e&&this._box.height==t||(this._box.graphics.clear(),this._box.graphics.drawRect(0,0,Math.abs(e),Math.abs(t),null,"#ff0000"),this._box.size(e,t),this.size(e,t),this._box.scaleX=Math.abs(this._box.scaleX)*(this._target.scaleX>0?1:-1),this._box.scaleY=Math.abs(this._box.scaleY)*(this._target.scaleY>0?1:-1),this._left.x=0,this._left.y=.5*t,this._right.x=e,this._right.y=.5*t,this._top.x=.5*e,this._top.y=0,this._bottom.x=.5*e,this._bottom.y=t,this._topLeft.x=this._topLeft.y=0,this._topRight.x=e,this._topRight.y=0,this._bottomLeft.x=0,this._bottomLeft.y=t,this._bottomRight.x=e,this._bottomRight.y=t)},t.BLOCK_WIDTH=6,t}(Sprite),DebugInfoLayer=function(e){function t(){this.nodeRecInfoLayer=null,this.lineLayer=null,this.txtLayer=null,this.popLayer=null,this.graphicLayer=null,this.cacheViewLayer=null,t.__super.call(this),this.nodeRecInfoLayer=new Sprite,this.lineLayer=new Sprite,this.txtLayer=new Sprite,this.popLayer=new Sprite,this.graphicLayer=new Sprite,this.cacheViewLayer=new Sprite,this.nodeRecInfoLayer.name="nodeRecInfoLayer",this.lineLayer.name="lineLayer",this.txtLayer.name="txtLayer",this.popLayer.name="popLayer",this.graphicLayer.name="graphicLayer",this.cacheViewLayer.name="cacheViewLayer",this.addChild(this.lineLayer),this.addChild(this.cacheViewLayer),this.addChild(this.nodeRecInfoLayer),this.addChild(this.txtLayer),this.addChild(this.popLayer),this.addChild(this.graphicLayer),t.I=this,Laya.stage.on("doubleclick",this,this.setTop)}__class(t,"laya.debug.view.nodeInfo.DebugInfoLayer",e);var i=t.prototype;return i.setTop=function(){DisControlTool.setTop(this)},i.isDebugItem=function(e){return DisControlTool.isInTree(this,e)},t.I=null,t}(Sprite),NodeInfoPanel=function(e){function t(){this._stateDic={},this.isWorkState=!1,t.__super.call(this)}__class(t,"laya.debug.view.nodeInfo.NodeInfoPanel",e);var i=t.prototype;return i.showDisInfo=function(e){this.recoverNodes(),NodeInfosItem.showDisInfos(e),this.showOnly(e),this.isWorkState=!0},i.showOnly=function(e){e&&(this.hideBrothers(e),this.showOnly(e.parent))},i.recoverNodes=function(){NodeInfosItem.hideAllInfos();var e,t,i;for(e in this._stateDic)if(t=this._stateDic[e],i=t.target)try{i.visible=t.visible}catch(o){}this.isWorkState=!1},i.hideOtherChain=function(e){if(e)for(;e;)this.hideBrothers(e),e=e.parent},i.hideChilds=function(e){if(e){var t,i=0,o=0;t=e._childs,o=t.length;var n;for(i=0;o>i;i++)n=t[i],n!=NodeInfosItem.NodeInfoContainer&&(this.saveNodeInfo(n),n.visible=!1)}},i.hideBrothers=function(e){if(e){var t;if(t=e.parent){var i,o=0,n=0;i=t._childs,n=i.length;var s;for(o=0;n>o;o++)s=i[o],s!=NodeInfosItem.NodeInfoContainer&&s!=e&&(this.saveNodeInfo(s),s.visible=!1)}}},i.saveNodeInfo=function(e){if(IDTools.idObj(e),!this._stateDic.hasOwnProperty(IDTools.getObjID(e))){var t;t={},t.target=e,t.visible=e.visible,this._stateDic[IDTools.getObjID(e)]=t}},i.recoverNodeInfo=function(e){if(IDTools.idObj(e),this._stateDic.hasOwnProperty(IDTools.getObjID(e))){var t;t=this._stateDic[IDTools.getObjID(e)],e.visible=t.visible}},t.init=function(){t.I||(t.I=new t,NodeInfosItem.init(),ToolPanel.init())},t.I=null,t}(Sprite),NodeInfosItem=function(e){function t(){this._infoTxt=null,this._tar=null,t.__super.call(this),this._infoTxt=new Text,this._infoTxt.color="#ff0000",this._infoTxt.bgColor="#00ff00",this._infoTxt.fontSize=12}__class(t,"laya.debug.view.nodeInfo.NodeInfosItem",e);var i=t.prototype;return i.removeSelf=function(){return this._infoTxt.removeSelf(),laya.display.Node.prototype.removeSelf.call(this)},i.showToUI=function(){t.NodeInfoContainer.nodeRecInfoLayer.addChild(this),this._infoTxt.removeSelf(),t.NodeInfoContainer.txtLayer.addChild(this._infoTxt),this.findOkPos()},i.randomAPos=function(e){this._infoTxt.x=this.x+Laya.stage.width*Math.random(),this._infoTxt.y=this.y+e*Math.random()},i.findOkPos=function(){var e=0;return e=20,void this.randomAPos(e)},i.isPosOk=function(){var e;e=t.NodeInfoContainer.nodeRecInfoLayer;var i,o=0,n=0;i=e._childs,n=i.length;var s,a;if(a=this._infoTxt.getBounds(),a.x<0)return!1;if(a.y<0)return!1;if(a.right>Laya.stage.width)return!1;for(o=0;n>o;o++)if(s=i[o],s!=this._infoTxt&&a.intersects(s.getBounds()))return!1;return!0},i.showInfo=function(e){if(this._tar=e,e){t._txts.length=0;var i,o=0,n=0;for(n=t.showValues.length,e.name?t._txts.push(ClassTool.getClassName(e)+"("+e.name+")"):t._txts.push(ClassTool.getClassName(e)),o=0;n>o;o++)i=t.showValues[o],t._txts.push(i+":"+t.getNodeValue(e,i));this._infoTxt.text=t._txts.join("\n"),this.graphics.clear();var s;s=e._getBoundPointsM(!0),!s||s.length<1||(s=GrahamScan.pListToPointList(s,!0),WalkTools.walkArr(s,e.localToGlobal,e),s=GrahamScan.pointListToPlist(s),t._disBoundRec=Rectangle._getWrapRec(s,t._disBoundRec),this.graphics.drawRect(0,0,t._disBoundRec.width,t._disBoundRec.height,null,"#00ffff"),this.pos(t._disBoundRec.x,t._disBoundRec.y))}},i.fresh=function(){this.showInfo(this._tar)},i.clearMe=function(){this._tar=null},i.recover=function(){Pool.recover("NodeInfosItem",this)},t.init=function(){t.NodeInfoContainer||(t.NodeInfoContainer=new DebugInfoLayer,Laya.stage.addChild(t.NodeInfoContainer))},t.getNodeInfoByNode=function(e){IDTools.idObj(e);var i=0;return i=IDTools.getObjID(e),t._nodeInfoDic[i]||(t._nodeInfoDic[i]=new t),t._nodeInfoDic[i]},t.hideAllInfos=function(){var e,i;for(e in t._nodeInfoDic)i=t._nodeInfoDic[e],i.removeSelf();t.clearRelations()},t.showNodeInfo=function(e){var i;i=t.getNodeInfoByNode(e),i.showInfo(e),i.showToUI()},t.showDisInfos=function(e){var i;if(i=e,e){for(;e;)t.showNodeInfo(e),e=e.parent;DisControlTool.setTop(t.NodeInfoContainer),t.apdtTxtInfoPoss(i),t.updateRelations()}},t.apdtTxtInfoPoss=function(e){var i;for(i=[];e;)i.push(e),e=e.parent;var o,n,s=0,a=0;a=i.length;var r=NaN;r=Laya.stage.width-150;var l=0;for(l=100,e=i[0],e&&(o=t.getNodeInfoByNode(e),o&&(n=o._infoTxt,r=Laya.stage.width-n.width-10,l=n.height+10)),i=i.reverse(),s=0;a>s;s++)e=i[s],o=t.getNodeInfoByNode(e),o&&(n=o._infoTxt,n.pos(r,l*s))},t.clearRelations=function(){var e;e=t.NodeInfoContainer.lineLayer.graphics,e.clear()},t.updateRelations=function(){var e;e=t.NodeInfoContainer.lineLayer.graphics,e.clear();var i,o;for(i in t._nodeInfoDic)o=t._nodeInfoDic[i],o.parent&&e.drawLine(o.x,o.y,o._infoTxt.x,o._infoTxt.y,"#0000ff")},t.getNodeValue=function(e,i){var o;switch(t._nodePoint.setTo(0,0),i){case"x":o=e.x+" (g:"+e.localToGlobal(t._nodePoint).x+")";break;case"y":o=e.y+" (g:"+e.localToGlobal(t._nodePoint).y+")";break;default:o=e[i]}return o},t.NodeInfoContainer=null,t._nodeInfoDic={},t._txts=[],__static(t,["showValues",function(){return this.showValues=["x","y","scaleX","scaleY","width","height","visible","mouseEnabled"]},"_disBoundRec",function(){return this._disBoundRec=new Rectangle},"_nodePoint",function(){return this._nodePoint=new Point}]),t}(Sprite),NodeRecInfo=function(e){function t(){this.txt=null,this._tar=null,this.recColor="#00ff00",t.__super.call(this),this.txt=new Text,this.txt.color="#ff0000",this.txt.bgColor="#00ff00",this.txt.fontSize=12,this.addChild(this.txt)}__class(t,"laya.debug.view.nodeInfo.recinfos.NodeRecInfo",e);var i=t.prototype;return i.setInfo=function(e){this.txt.text=e},i.setTarget=function(e){this._tar=e},i.showInfo=function(e){if(this._tar=e,e&&e._$P){this.graphics.clear();var i;i=e._getBoundPointsM(!0),!i||i.length<1||(i=GrahamScan.pListToPointList(i,!0),WalkTools.walkArr(i,e.localToGlobal,e),i=GrahamScan.pointListToPlist(i),t._disBoundRec=Rectangle._getWrapRec(i,t._disBoundRec),this.graphics.drawRect(0,0,t._disBoundRec.width,t._disBoundRec.height,null,this.recColor,2),this.pos(t._disBoundRec.x,t._disBoundRec.y))}},i.fresh=function(){this.showInfo(this._tar)},i.clearMe=function(){this._tar=null},__static(t,["_disBoundRec",function(){return this._disBoundRec=new Rectangle}]),t}(Sprite),ToolPanel=function(e){function t(){t.__super.call(this),Base64AtlasManager.base64.preLoad(Handler.create(this,this.showToolBar)),ContextMenu.init(),DisResizer.init();var e;e=new TipManagerForDebug}__class(t,"laya.debug.view.nodeInfo.ToolPanel",e);var i=t.prototype;return i.showToolBar=function(){DebugPanelView.I.show()},i.createViews=function(){t.typeClassDic.Find=FindView,t.typeClassDic.Filter=FilterView,t.typeClassDic.TxtInfo=TxtInfoView,t.typeClassDic.Tree=NodeTreeView},i.switchShow=function(e){var t;t=this.getView(e),t&&t.switchShow()},i.getView=function(e){var i;return i=t.viewDic[e],!i&&t.typeClassDic[e]&&(i=t.viewDic[e]=new t.typeClassDic[e]),i},i.showTxtInfo=function(e){OutPutView.I.showTxt(e)},i.showNodeTree=function(e){NodeTree.I.setDis(e),DebugPanelView.I.switchToTree()},i.showSelectInStage=function(e){NodeTree.I.showSelectInStage(e),DebugPanelView.I.switchToTree()},i.showSelectItems=function(e){DebugPanelView.I.swichToSelect(),SelectInfosView.I.setSelectList(e)},t.init=function(){t.I||(t.I=new t)},t.I=null,t.viewDic={},t.Find="Find",t.Filter="Filter",t.TxtInfo="TxtInfo",t.Tree="Tree",__static(t,["typeClassDic",function(){return this.typeClassDic={}}]),t}(Sprite),DButton=function(e){function t(){t.__super.call(this),this.bgColor="#ffff00",this.wordWrap=!1,this.mouseEnabled=!0}return __class(t,"laya.debug.tools.debugUI.DButton",e),t}(Text),AutoFillRec=function(e){function t(e){this.type=0,this.preX=NaN,this.preY=NaN,t.__super.call(this)}__class(t,"laya.debug.tools.resizer.AutoFillRec",e);var i=t.prototype;return i.changeSize=function(){e.prototype.changeSize.call(this);var t=this.graphics;t.clear(),t.drawRect(0,0,this.width,this.height,"#33c5f5")},i.record=function(){this.preX=this.x,this.preY=this.y},i.getDx=function(){return this.x-this.preX},i.getDy=function(){return this.y-this.preY},t}(Component),TipManagerForDebug=function(e){function t(){this._tipBox=null,this._tipText=null,this._defaultTipHandler=null,t.__super.call(this),this._tipBox=new Component,this._tipBox.addChild(this._tipText=new Text),this._tipText.x=this._tipText.y=5,this._tipText.color=t.tipTextColor,this._defaultTipHandler=this.showDefaultTip,Laya.stage.on("showtip",this,this.onStageShowTip),Laya.stage.on("hidetip",this,this.onStageHideTip)}__class(t,"laya.debug.tools.TipManagerForDebug",e);var i=t.prototype;return i.onStageHideTip=function(e){Laya.timer.clear(this,this.showTip),this.closeAll(),this.removeSelf()},i.onStageShowTip=function(e){Laya.timer.once(t.tipDelay,this,this.showTip,[e],!0)},i.showTip=function(e){if("string"==typeof e){var t=String(e);Boolean(t)&&this._defaultTipHandler(t)}else e instanceof laya.utils.Handler?e.run():"function"==typeof e&&e.apply();Laya.stage.on("mousemove",this,this.onStageMouseMove),Laya.stage.on("mousedown",this,this.onStageMouseDown),this.onStageMouseMove(null)},i.onStageMouseDown=function(e){this.closeAll()},i.onStageMouseMove=function(e){this.showToStage(this,t.offsetX,t.offsetY)},i.showToStage=function(e,t,i){void 0===t&&(t=0),void 0===i&&(i=0);var o=e.getBounds();e.x=Laya.stage.mouseX+t,e.y=Laya.stage.mouseY+i,e.x+o.width>Laya.stage.width&&(e.x-=o.width+t),e.y+o.height>Laya.stage.height&&(e.y-=o.height+i)},i.closeAll=function(){Laya.timer.clear(this,this.showTip),Laya.stage.off("mousemove",this,this.onStageMouseMove),Laya.stage.off("mousedown",this,this.onStageMouseDown),this.removeChildren()},i.showDisTip=function(e){this.addChild(e),this.showToStage(this),Laya.stage.addChild(this)},i.showDefaultTip=function(e){this._tipText.text=e;var i=this._tipBox.graphics;i.clear(),i.drawRect(0,0,this._tipText.width+10,this._tipText.height+10,t.tipBackColor),this.addChild(this._tipBox),this.showToStage(this),Laya.stage.addChild(this)},__getset(0,i,"defaultTipHandler",function(){return this._defaultTipHandler},function(e){this._defaultTipHandler=e}),t.offsetX=10,t.offsetY=15,t.tipTextColor="#ffffff",t.tipBackColor="#111111",t.tipDelay=200,t}(Component),UIViewBase=function(e){function t(){this.minHandler=null,this.maxHandler=null,this.isFirstShow=!0,this.dis=null,t.__super.call(this),this.dis=this,this.minHandler=new Handler(this,this.close),this.maxHandler=new Handler(this,this.show),this.createPanel(),this.dis&&(this.dis.on("mousedown",this,this.bringToTop),this.dis.cacheAsBitmap=!0)}__class(t,"laya.debug.view.nodeInfo.views.UIViewBase",e);var i=t.prototype;return i.show=function(){DebugInfoLayer.I.setTop(),DebugInfoLayer.I.popLayer.addChild(this.dis),this.isFirstShow&&(this.firstShowFun(),this.isFirstShow=!1)},i.firstShowFun=function(){this.dis.x=.5*(Laya.stage.width-this.dis.width),this.dis.y=.5*(Laya.stage.height-this.dis.height),DisControlTool.intFyDisPos(this.dis)},i.bringToTop=function(){DisControlTool.setTop(this.dis)},i.switchShow=function(){this.dis.parent?this.close():this.show()},i.close=function(){this.dis.removeSelf()},i.createPanel=function(){},i.getInput=function(){var e;return e=new DInput,e.size(200,30),e.fontSize=30,e},i.getButton=function(){var e;return e=new DButton,e.size(40,30),e.fontSize=30,e},t}(Component),ReCacheRecInfo=function(e){function t(){this.isWorking=!1,this.count=0,this.mTime=0,t.__super.call(this),this.txt.fontSize=12}__class(t,"laya.debug.view.nodeInfo.recinfos.ReCacheRecInfo",e);var i=t.prototype;return i.addCount=function(e){void 0===e&&(e=0),this.count++,this.mTime+=e,this.isWorking||(this.working=!0)},i.updates=function(){this._tar.displayedInStage||(this.working=!1,this.removeSelf()),this.txt.text=ClassTool.getNodeClassAndName(this._tar)+"\nreCache:"+this.count+"\ntime:"+this.mTime,this.count>0?(this.fresh(),Laya.timer.clear(this,this.removeSelfLater)):(this.working=!1,Laya.timer.once(3e3,this,this.removeSelfLater)),this.count=0,this.mTime=0},i.removeSelfLater=function(){this.working=!1,this.removeSelf()},__getset(0,i,"working",null,function(e){this.isWorking=e,e?Laya.timer.loop(1e3,this,this.updates):Laya.timer.clear(this,this.updates)}),t.showTime=3e3,t}(NodeRecInfo),DInput=function(e){function t(){t.__super.call(this),this.bgColor="#11ff00"}return __class(t,"laya.debug.tools.debugUI.DInput",e),t}(Input),ContextMenu=function(e){function t(){this._tY=0,t.__super.call(this),StyleConsts.setViewScale(this)}__class(t,"laya.debug.uicomps.ContextMenu",e);var i=t.prototype;return i.addItem=function(e){this.addChild(e),e.y=this._tY,this._tY+=e.height,e.on("mousedown",this,this.onClick)},i.onClick=function(e){this.event("select",e),this.removeSelf()},i.show=function(e,i){void 0===e&&(e=-999),void 0===i&&(i=-999),Laya.timer.once(100,this,t.showMenu,[this,e,i])},t.init=function(){Laya.stage.on("click",null,t.cleanMenu)},t.cleanMenu=function(e){var i=0,o=0;for(o=t._menuList.length,i=0;o>i;i++)t._menuList[i]&&t._menuList[i].removeSelf();t._menuList.length=0},t.showMenu=function(e,i,o){void 0===i&&(i=-999),void 0===o&&(o=-999),t.cleanMenu(),t.adptMenu(e),Laya.stage.addChild(e),DisControlTool.showToStage(e),-999!=i&&-999!=o&&e.pos(i,o),t._menuList.push(e)},t.createMenu=function(e){var i=arguments;return t.createMenuByArray(i)},t.createMenuByArray=function(e){for(var i,o=new t,n=!1,s=0,a=e.length;a>s;s++){var r=e[s],l={};"string"==typeof r?l.label=r:l=r,""!=l.label?(i=new ContextMenuItem(l.label,n),i.data=r,o.addItem(i),n=!1):(i=new ContextMenuItem("",n),i.data=r,o.addItem(i),n=!0)}return o},t.adptMenu=function(e){var t=80,i=80,o=0,n=e.numChildren;for(o=0;n>o;o++)t=e.getChildAt(o).width,t>i&&(i=t);for(o=0;n>o;o++)e.getChildAt(o).width=i},t._menuList=[],t}(Box),ContextMenuItem=function(e){function t(e,i){this.data=null,this.img=null,t.__super.call(this),this.img||(this.img=new Image),""!=e?(this.label=e,this.name=e):(this.label="------",this.height=5,this.mouseEnabled=!1,this.img.skin=Base64AtlasManager.base64.getAdptUrl("comp/line2.png"),this.img.sizeGrid="0,2,0,2",this.addChild(this.img)),this.labelColors="#000000,#000000,#000000,#000000",this._text.x=10,this._text.padding=[-2,0,0,0],this._text.align="left",this._text.wordWrap=!1,this._text.typeset(),this.width=this._text.width+25,this.sizeGrid="3,3,3,3",this.skin=Base64AtlasManager.base64.getAdptUrl("comp/button1.png")}__class(t,"laya.debug.uicomps.ContextMenuItem",e);var i=t.prototype;return __getset(0,i,"width",e.prototype._$get_width,function(t){e.prototype._$set_width.call(this,t),this.img.width=this.width,this.img.x=0}),t}(Button),CacheRankView=function(e){function t(){this.view=null,t.__super.call(this)}__class(t,"laya.debug.view.nodeInfo.views.CacheRankView",e);var i=t.prototype;return i.createPanel=function(){this.view=new Rank,this.view.top=this.view.bottom=this.view.left=this.view.right=0,this.addChild(this.view),NodeMenu.I.setNodeListAction(this.view.itemList),this.view.closeBtn.on("click",this,this.close),this.view.freshBtn.on("click",this,this.fresh),this.view.itemList.scrollBar.hide=!0,this.view.autoUpdate.on("change",this,this.onAutoUpdateChange),this.dis=this,this.view.itemList.array=[],this.onAutoUpdateChange(),this.fresh()},i.onRightClick=function(){var e;if(e=this.view.itemList,e.selectedItem){var t;t=e.selectedItem.path,NodeMenu.I.objRightClick(t)}},i.onAutoUpdateChange=function(){this.autoUpdate=this.view.autoUpdate.selected},i.fresh=function(){CacheAnalyser.counter.updates(),this.view.title.text="ReCache排行",DebugTool.enableCacheAnalyse||(this.view.title.text="ReCache排行(未开启)",this.view.title.toolTip="DebugTool.init(true)可开启该功能");var e;e=CacheAnalyser.counter.resultNodeDic;var i,o,n,s;s=[];for(i in e)o=e[i],t.filterDebugNodes&&DisControlTool.isInTree(DebugInfoLayer.I,o)||CacheAnalyser.counter.getCount(o)<=0||(n={},n.time=CacheAnalyser.counter.getCount(o),n.path=o,n.label=ClassTool.getNodeClassAndName(o)+":"+n.time,s.push(n));s.sort(MathTools.sortByKey("time",!0,!0)),this.view.itemList.array=s},__getset(0,i,"autoUpdate",null,function(e){Laya.timer.clear(this,this.fresh),e&&(this.fresh(),Laya.timer.loop(NodeConsts.RenderCostMaxTime,this,this.fresh))}),__getset(1,t,"I",function(){return t._I||(t._I=new t),t._I},laya.debug.view.nodeInfo.views.UIViewBase._$SET_I),t._I=null,t.filterDebugNodes=!0,t}(UIViewBase),DebugPanelView=function(e){function t(){this.view=null,this.dragIcon=null,this.tSelectTar=null,this._selectTip=new Sprite,t.__super.call(this),this._selectTip.setBounds(new Rectangle(0,0,0,0))}__class(t,"laya.debug.view.nodeInfo.views.DebugPanelView",e);var i=t.prototype;return i.createPanel=function(){this.view=new DebugPanel,this.dis=this.view,this.view.minBtn.minHandler=this.minHandler,this.view.minBtn.maxHandler=this.maxHandler,this.view.minBtn.tar=this.view,DisControlTool.setDragingItem(this.view.bg,this.view),DisControlTool.setDragingItem(this.view.tab,this.view),DisControlTool.setDragingItem(this.view.clearBtn,this.view),this.clickSelectChange(),this.view.selectWhenClick.on("change",this,this.clickSelectChange),Notice.listen("ItemClicked",this,this.itemClicked),StyleConsts.setViewScale(this.view),this.dragIcon=this.view.dragIcon,this.dragIcon.removeSelf(),this.view.mouseAnalyseBtn.on("mousedown",this,this.mouseAnalyserMouseDown),this.dragIcon.on("dragend",this,this.mouseAnalyserDragEnd),this.view.clearBtn.on("mousedown",this,this.clearBtnClick)},i.clearBtnClick=function(){DebugTool.clearDebugLayer()},i.mouseAnalyserMouseDown=function(){var e=t.tempPos;e.setTo(0,0),e=this.view.mouseAnalyseBtn.localToGlobal(e),this.dragIcon.pos(e.x,e.y),this.dragIcon.mouseEnabled=!1,Laya.stage.addChild(this.dragIcon),this.dragIcon.startDrag()},i.mouseAnalyserDragEnd=function(){this.dragIcon.removeSelf(),this.selectTarget(DisplayHook.instance.getDisUnderMouse()),NodeToolView.I.showByNode(DisplayHook.instance.getDisUnderMouse(),!1)},i.switchToTree=function(){this.view.tab.selectedIndex=0},i.swichToSelect=function(){this.view.tab.selectedIndex=1},i.itemClicked=function(e){t.isClickSelectState&&(t.ignoreDebugTool&&DebugInfoLayer.I.isDebugItem(e)||e instanceof laya.debug.uicomps.ContextMenuItem||e.parent instanceof laya.debug.uicomps.ContextMenuItem||(ToolPanel.I.showSelectInStage(e),NodeToolView.I.showByNode(e,!1),this.view.selectWhenClick.selected=!1,DebugTool.showDisBound(e),this.clickSelectChange()))},i.selectTarget=function(e){e&&(ToolPanel.I.showSelectInStage(e),DebugTool.showDisBound(e))},i.clickSelectChange=function(){t.isClickSelectState=this.view.selectWhenClick.selected,Browser.onPC&&(this.tSelectTar=null,this.clearSelectTip(),t.isClickSelectState?Laya.timer.loop(200,this,this.updateSelectTar,null,!0):Laya.timer.clear(this,this.updateSelectTar))},i.clearSelectTip=function(){this._selectTip.removeSelf()},i.updateSelectTar=function(){if(this.clearSelectTip(),this.tSelectTar=DisplayHook.instance.getDisUnderMouse(),this.tSelectTar&&!DebugInfoLayer.I.isDebugItem(this.tSelectTar)){var e;e=this._selectTip.graphics,e.clear();var t;t=NodeUtils.getGRec(this.tSelectTar),DebugInfoLayer.I.popLayer.addChild(this._selectTip),e.drawRect(0,0,t.width,t.height,null,"#00ffff",2),this._selectTip.pos(t.x,t.y)}},__getset(1,t,"I",function(){return t._I||(t._I=new t),t._I},laya.debug.view.nodeInfo.views.UIViewBase._$SET_I),t._I=null,t.ignoreDebugTool=!0,t.isClickSelectState=!1,__static(t,["tempPos",function(){return this.tempPos=new Point}]),t}(UIViewBase),FilterView=function(e){function t(){this.input=null,t.__super.call(this)}__class(t,"laya.debug.view.nodeInfo.views.FilterView",e);var i=t.prototype;return i.createPanel=function(){this.input=new Input,this.input.size(400,500),this.input.multiline=!0,this.input.bgColor="#ff00ff",this.input.fontSize=24,this.addChild(this.input)},i.show=function(){this.input.text=NodeInfosItem.showValues.join("\n"),e.prototype.show.call(this)},i.close=function(){e.prototype.close.call(this),NodeInfosItem.showValues=this.input.text.split("\n")},t}(UIViewBase),FindSmallView=function(e){function t(){this.view=null,t.__super.call(this)}__class(t,"laya.debug.view.nodeInfo.views.FindSmallView",e);var i=t.prototype;return i.createPanel=function(){this.view=new FindNodeSmall,StyleConsts.setViewScale(this.view),DisControlTool.setDragingItem(this.view.bg,this.view),this.view.typeSelect.selectedIndex=1,this.view.closeBtn.on("click",this,this.close),this.view.findBtn.on("click",this,this.onFind),this.dis=this.view},i.onFind=function(){var e;e=this.view.findTxt.text,e=StringTool.trimSide(e);var t;t=0==this.view.typeSelect.selectedIndex?DebugTool.findNameHas(e,!1):DebugTool.findClassHas(Laya.stage,e),ToolPanel.I.showSelectItems(t),this.close()},__getset(1,t,"I",function(){return t._I||(t._I=new t),t._I},laya.debug.view.nodeInfo.views.UIViewBase._$SET_I),t._I=null,t}(UIViewBase),FindView=function(e){function t(){this.view=null,t.__super.call(this)}__class(t,"laya.debug.view.nodeInfo.views.FindView",e);var i=t.prototype;return i.createPanel=function(){this.view=new FindNode,DisControlTool.setDragingItem(this.view.bg,this.view),this.view.result.scrollBar.hide=!0,this.view.result.array=[],this.view.typeSelect.selectedIndex=1,this.view.closeBtn.on("click",this,this.close),this.view.findBtn.on("click",this,this.onFind),NodeMenu.I.setNodeListAction(this.view.result),this.dis=this.view},i.onRightClick=function(){var e;if(e=this.view.result,e.selectedItem){var t;t=e.selectedItem.path,NodeMenu.I.objRightClick(t)}},i.onFind=function(){var e;e=this.view.findTxt.text,e=StringTool.trimSide(e);var t;t=0==this.view.typeSelect.selectedIndex?DebugTool.findNameHas(e,!1):DebugTool.findClassHas(Laya.stage,e),this.showFindResult(t)},i.showFindResult=function(e){if(e){var t=0,i=0;i=e.length;var o;o=[];var n,s;for(t=0;i>t;t++)s=e[t],n={},n.label=ClassTool.getNodeClassAndName(s),n.path=s,o.push(n);this.view.result.array=o}},__getset(1,t,"I",function(){return t._I||(t._I=new t),t._I},laya.debug.view.nodeInfo.views.UIViewBase._$SET_I),t._I=null,t}(UIViewBase),NodeListPanelView=function(e){function t(){this.view=null,t.__super.call(this)}__class(t,"laya.debug.view.nodeInfo.views.NodeListPanelView",e);var i=t.prototype;return i.createPanel=function(){this.view=new NodeListPanel,this.addChild(this.view),DisControlTool.setDragingItem(this.view.bg,this.view),NodeMenu.I.setNodeListAction(this.view.itemList),this.view.closeBtn.on("click",this,this.close),this.view.itemList.scrollBar.hide=!0,this.dis=this,this.view.itemList.array=[]},i.showList=function(e){this.view.itemList.array=e,this.show()},__getset(1,t,"I",function(){return t._I||(t._I=new t),t._I},laya.debug.view.nodeInfo.views.UIViewBase._$SET_I),t._I=null,t.filterDebugNodes=!0,t}(UIViewBase),NodeToolView=function(e){function t(){this.view=null,this.dragIcon=null,this._tar=null,t.__super.call(this)}__class(t,"laya.debug.view.nodeInfo.views.NodeToolView",e);var i=t.prototype;return i.show=function(){this.showByNode()},i.createPanel=function(){this.view=new NodeTool,this.addChild(this.view),this.view.on("click",this,this.onBtnClick),this.view.closeBtn.on("click",this,this.onCloseBtn),DisControlTool.setDragingItem(this.view.bg,this.view),this.dis=this.view,this.view.freshBtn.on("click",this,this.onFreshBtn),this.dragIcon=this.view.dragIcon,this.dragIcon.removeSelf(),this.dragIcon.on("dragend",this,this.mouseAnalyserDragEnd),this.view.mouseAnalyseBtn.on("mousedown",this,this.mouseAnalyserMouseDown)},i.mouseAnalyserMouseDown=function(){var e=t.tempPos;e.setTo(0,0),e=this.view.mouseAnalyseBtn.localToGlobal(e),this.dragIcon.pos(e.x,e.y),this.dragIcon.mouseEnabled=!1,Laya.stage.addChild(this.dragIcon),this.dragIcon.startDrag()},i.mouseAnalyserDragEnd=function(){this.dragIcon.removeSelf(),laya.debug.view.nodeInfo.views.NodeToolView.I.target&&MouseEventAnalyser.analyseNode(laya.debug.view.nodeInfo.views.NodeToolView.I.target)},i.onFreshBtn=function(){this._tar&&(this._tar.reCache(),this._tar.repaint())},i.onCloseBtn=function(){this.close()},i.onBtnClick=function(e){if(this._tar){var t;t=e.target,console.log("onBtnClick:",t);var i;switch(i=t.label){case"父链":DebugTool.showParentChain(this._tar),SelectInfosView.I.setSelectList(DebugTool.selectedNodes);break;case"子":DebugTool.showAllChild(this._tar),SelectInfosView.I.setSelectList(DebugTool.selectedNodes);break;case"兄弟":DebugTool.showAllBrother(this._tar),SelectInfosView.I.setSelectList(DebugTool.selectedNodes);break;case"Enable链":OutPutView.I.dTrace(DebugTool.traceDisMouseEnable(this._tar)),SelectInfosView.I.setSelectList(DebugTool.selectedNodes);break;case"Size链":OutPutView.I.dTrace(DebugTool.traceDisSizeChain(this._tar)),SelectInfosView.I.setSelectList(DebugTool.selectedNodes);break;case"隐藏旁支":NodeInfoPanel.I.recoverNodes(),NodeInfoPanel.I.hideOtherChain(this._tar);break;case"隐藏兄弟":NodeInfoPanel.I.recoverNodes(),NodeInfoPanel.I.hideBrothers(this._tar);break;case"隐藏子":NodeInfoPanel.I.recoverNodes(),NodeInfoPanel.I.hideChilds(this._tar);break;case"恢复":NodeInfoPanel.I.recoverNodes();break;case"节点树定位":ToolPanel.I.showSelectInStage(this._tar);break;case"显示边框":DebugTool.showDisBound(this._tar);break;case"输出到控制台":console.log(this._tar);break;case"显示切换":this._tar.visible=!this._tar.visible}}},i.showByNode=function(t,i){void 0===i&&(i=!0),t||(t=Laya.stage),i&&e.prototype.show.call(this),this._tar=t,this.fresh()},i.fresh=function(){this._tar&&(this.view.tarTxt.text=ClassTool.getNodeClassAndName(this._tar))},__getset(0,i,"target",function(){return this._tar}),__getset(1,t,"I",function(){return t._I||(t._I=new t),t._I},laya.debug.view.nodeInfo.views.UIViewBase._$SET_I),t._I=null,__static(t,["tempPos",function(){return this.tempPos=new Point}]),t}(UIViewBase),NodeTreeSettingView=function(e){function t(){this.view=null,this._handler=null,t.__super.call(this)}__class(t,"laya.debug.view.nodeInfo.views.NodeTreeSettingView",e);var i=t.prototype;return i.createPanel=function(){e.prototype.createPanel.call(this),this.view=new NodeTreeSetting,StyleConsts.setViewScale(this.view),this.addChild(this.view),this.inits(),this.dis=this.view},i.show=function(){e.prototype.show.call(this)},i.showSetting=function(e,t,i){i instanceof laya.display.Node?this.view.showTxt.text=NodeConsts.defaultFitlerStr.split(",").join("\n"):this.view.showTxt.text=e.join("\n"),this._handler=t,this.show()},i.inits=function(){this.view.okBtn.on("click",this,this.onOkBtn),this.view.closeBtn.on("click",this,this.onCloseBtn),DisControlTool.setDragingItem(this.view.bg,this.view),this.dis=this.view},i.onCloseBtn=function(){this.close()},i.onOkBtn=function(){this.close();var e;e=this.view.showTxt.text.split("\n"),this._handler&&(this._handler.runWith([e]),this._handler=null)},__getset(1,t,"I",function(){return t._I||(t._I=new t),t._I},laya.debug.view.nodeInfo.views.UIViewBase._$SET_I),t._I=null,t}(UIViewBase),NodeTreeView=function(e){function t(){this.nodeTree=null,t.__super.call(this)}__class(t,"laya.debug.view.nodeInfo.views.NodeTreeView",e);var i=t.prototype;return i.show=function(){this.showByNode()},i.showByNode=function(e){e||(e=Laya.stage),this.nodeTree.setDis(e)},i.createPanel=function(){e.prototype.createPanel.call(this),this.nodeTree||(this.nodeTree=new NodeTree),this.dis=null;var t;t=this.nodeTree,t.top=t.bottom=t.left=t.right=0,this.addChild(t),this.showByNode(Laya.stage)},i.showSelectInStage=function(e){this.showByNode(Laya.stage),this.nodeTree.selectByNode(e)},t}(UIViewBase),ObjectCreateView=function(e){function t(){this.view=null,this._menu=null,this._menuItems=["统计详情","增量详情"],this._tSelectKey=null,this.preInfo={},t.__super.call(this),t._I=this}__class(t,"laya.debug.view.nodeInfo.views.ObjectCreateView",e);var i=t.prototype;return i.createPanel=function(){this.view=new ObjectCreate,this.view.top=this.view.bottom=this.view.left=this.view.right=0,this.addChild(this.view),this.view.itemList.on(DebugTool.getMenuShowEvent(),this,this.onRightClick),this.view.closeBtn.on("click",this,this.close),this.view.freshBtn.on("click",this,this.fresh),this.view.itemList.scrollBar.hide=!0,this._menu=ContextMenu.createMenuByArray(this._menuItems),this._menu.on("select",this,this.onEmunSelect),this.fresh()},i.onEmunSelect=function(e){if(this._tSelectKey){var t=e.target.data;if("string"==typeof t){var i;i=t;var o;switch(i){case"统计详情":o=RunProfile.getRunInfo(this._tSelectKey),o&&OutPutView.I.showTxt(this._tSelectKey+" createInfo:\n"+o.traceSelfR());break;case"增量详情":o=RunProfile.getRunInfo(this._tSelectKey),o&&OutPutView.I.showTxt(this._tSelectKey+" createInfo:\n"+o.traceSelfR(o.changeO))}}}},i.onRightClick=function(){var e;if(e=this.view.itemList,e.selectedItem){var t;t=e.selectedItem.path,this._tSelectKey=t,this._tSelectKey&&this._menu.show()}},i.show=function(){this.fresh()},i.fresh=function(){var e;e=ClassCreateHook.I.createInfo;var t,i;i=[];var o,n;for(t in e)this.preInfo[t]||(this.preInfo[t]=0),o={},o.path=t,o.count=e[t],
o.add=e[t]-this.preInfo[t],o.add>0?o.label=t+":"+e[t]+" +"+o.add:o.label=t+":"+e[t],n=RunProfile.getRunInfo(t),n&&n.record(),o.rank=1e3*o.add+o.count,this.preInfo[t]=e[t],i.push(o);i.sort(MathTools.sortByKey("rank",!0,!0)),this.view.itemList.array=i},__getset(1,t,"I",function(){return t._I||(t._I=new t),t._I},laya.debug.view.nodeInfo.views.UIViewBase._$SET_I),t._I=null,t}(UIViewBase),ObjectInfoView=function(e){function t(){this.view=null,this.showKeys=["x","y","width","height","renderCost"],this._closeSettingHandler=null,this._tar=null,t.__super.call(this)}__class(t,"laya.debug.view.nodeInfo.views.ObjectInfoView",e);var i=t.prototype;return i.createPanel=function(){e.prototype.createPanel.call(this),this.view=new ObjectInfo,StyleConsts.setViewScale(this.view),this.addChild(this.view),this.inits()},i.inits=function(){this.view.closeBtn.on("click",this,this.close),this.view.settingBtn.on("click",this,this.onSettingBtn),this.view.autoUpdate.on("change",this,this.onAutoUpdateChange),DisControlTool.setDragingItem(this.view.bg,this.view),DisControlTool.setResizeAbleEx(this.view),this._closeSettingHandler=new Handler(this,this.closeSetting),this.dis=this.view},i.onAutoUpdateChange=function(){this.autoUpdate=this.view.autoUpdate.selected},i.onSettingBtn=function(){NodeTreeSettingView.I.showSetting(this.showKeys,this._closeSettingHandler,this._tar)},i.reset=function(){this.showKeys=["x","y","width","height","renderCost"]},i.closeSetting=function(e){this.showKeys=e,this.fresh()},i.showObjectInfo=function(e){this._tar=e,this.fresh(),this.show(),this.onAutoUpdateChange()},i.fresh=function(){this._tar?(this.view.title.text=ClassTool.getNodeClassAndName(this._tar),this.view.showTxt.text=t.getObjValueStr(this._tar,this.showKeys,!1)):(this.view.showTxt.text="",this.view.title.text="未选中对象")},i.freshKeyInfos=function(){this.fresh()},i.close=function(){e.prototype.close.call(this),this.autoUpdate=!1,Pool.recover("ObjectInfoView",this)},i.show=function(){e.prototype.show.call(this)},__getset(0,i,"autoUpdate",null,function(e){Laya.timer.clear(this,this.freshKeyInfos),e&&Laya.timer.loop(2e3,this,this.freshKeyInfos)}),t.getObjValueStr=function(e,i,o){void 0===o&&(o=!0);var n,s=0,a=0;for(t._txts.length=0,a=i.length,o&&(e.name?t._txts.push(ClassTool.getClassName(e)+"("+e.name+")"):t._txts.push(ClassTool.getClassName(e))),s=0;a>s;s++)n=i[s],t._txts.push(n+":"+t.getNodeValue(e,n));return t._txts.join("\n")},t.getNodeValue=function(e,t){var i;if(e instanceof laya.display.Sprite){var o;switch(o=e,t){case"gRec":i=NodeUtils.getGRec(o).toString();break;case"gAlpha":i=NodeUtils.getGAlpha(o)+"";break;case"cmdCount":i=NodeUtils.getNodeCmdCount(o)+"";break;case"cmdAll":i=NodeUtils.getNodeCmdTotalCount(o)+"";break;case"nodeAll":i=""+NodeUtils.getNodeCount(o);break;case"nodeVisible":i=""+NodeUtils.getNodeCount(o,!0);break;case"nodeRender":i=""+NodeUtils.getRenderNodeCount(o);break;case"nodeReCache":i=""+NodeUtils.getReFreshRenderNodeCount(o);break;case"renderCost":i=""+RenderAnalyser.I.getTime(o);break;case"renderCount":i=""+RenderAnalyser.I.getCount(o);break;default:i=e[t]+""}}else i=e[t]+"";return i},t.showObject=function(e){var i;i=Pool.getItemByClass("ObjectInfoView",t),i.reset(),i.showObjectInfo(e)},t._txts=[],t}(UIViewBase),OutPutView=function(e){function t(){this.view=null,t.__super.call(this),DebugTool._logFun=t.log}__class(t,"laya.debug.view.nodeInfo.views.OutPutView",e);var i=t.prototype;return i.createPanel=function(){this.view=new OutPut,DisControlTool.setDragingItem(this.view.txt,this.view),DisControlTool.setDragingItem(this.view.bg,this.view),StyleConsts.setViewScale(this.view),this.view.txt.textField.overflow=Text.SCROLL,this.view.txt.textField.wordWrap=!0,this.view.on("mousewheel",this,this.mouseWheel),this.view.txt.text="",DisControlTool.setResizeAbleEx(this.view),this.view.closeBtn.on("click",this,this.close),this.view.clearBtn.on("click",this,this.onClearBtn),this.dis=this.view},i.onClearBtn=function(){this.clearText()},i.mouseWheel=function(e){this.view.txt.textField.scrollY-=10*e.delta},i.showTxt=function(e){this.view.txt.text=e,this.show(),this.view.txt.textField.scrollY=this.view.txt.textField.maxScrollY},i.clearText=function(){this.view.txt.text=""},i.dTrace=function(e){var t=arguments;this.view.txt.textField.scrollY>1e3&&(this.view.txt.text="");var i,o=0,n=0;for(n=t.length,i=t[0],o=1;n>o;o++)i+=" "+t[o];this.addStr(i)},i.addStr=function(e){this.view.txt.text+="\n"+e,this.show(),this.view.txt.textField.scrollY=this.view.txt.textField.maxScrollY},__getset(1,t,"I",function(){return t._I||(t._I=new t),t._I},laya.debug.view.nodeInfo.views.UIViewBase._$SET_I),t.log=function(e){t.I.addStr(e)},t._I=null,t}(UIViewBase),RenderCostRankView=function(e){function t(){this.view=null,t.__super.call(this)}__class(t,"laya.debug.view.nodeInfo.views.RenderCostRankView",e);var i=t.prototype;return i.createPanel=function(){this.view=new Rank,this.view.top=this.view.bottom=this.view.left=this.view.right=0,this.addChild(this.view),NodeMenu.I.setNodeListAction(this.view.itemList),this.view.closeBtn.on("click",this,this.close),this.view.freshBtn.on("click",this,this.fresh),this.view.itemList.scrollBar.hide=!0,this.view.autoUpdate.on("change",this,this.onAutoUpdateChange),this.dis=this,this.view.itemList.array=[],this.onAutoUpdateChange(),this.fresh(),Laya.timer.once(5e3,this,this.fresh)},i.onRightClick=function(){var e;if(e=this.view.itemList,e.selectedItem){var t;t=e.selectedItem.path,NodeMenu.I.objRightClick(t)}},i.onAutoUpdateChange=function(){this.autoUpdate=this.view.autoUpdate.selected},i.fresh=function(){this.view.title.text="渲染用时排行("+NodeConsts.RenderCostMaxTime+"ms)";var e;e=RenderAnalyser.I.nodeDic;var i,o,n,s;s=[];for(i in e)o=e[i],t.filterDebugNodes&&DisControlTool.isInTree(DebugInfoLayer.I,o)||RenderAnalyser.I.getTime(o)<=0||(n={},n.time=RenderAnalyser.I.getTime(o),t.filterDebugNodes&&o==Laya.stage&&(n.time-=RenderAnalyser.I.getTime(DebugInfoLayer.I)),n.path=o,n.label=ClassTool.getNodeClassAndName(o)+":"+n.time,s.push(n));s.sort(MathTools.sortByKey("time",!0,!0)),this.view.itemList.array=s},__getset(0,i,"autoUpdate",null,function(e){Laya.timer.clear(this,this.fresh),e&&(this.fresh(),Laya.timer.loop(NodeConsts.RenderCostMaxTime,this,this.fresh))}),__getset(1,t,"I",function(){return t._I||(t._I=new t),t._I},laya.debug.view.nodeInfo.views.UIViewBase._$SET_I),t._I=null,t.filterDebugNodes=!0,t}(UIViewBase),ResRankView=function(e){function t(){this.view=null,t.__super.call(this)}__class(t,"laya.debug.view.nodeInfo.views.ResRankView",e);var i=t.prototype;return i.createPanel=function(){this.view=new Rank,this.view.top=this.view.bottom=this.view.left=this.view.right=0,this.addChild(this.view),this.view.closeBtn.on("click",this,this.close),this.view.freshBtn.on("click",this,this.fresh),this.view.itemList.scrollBar.hide=!0,this.view.autoUpdate.on("change",this,this.onAutoUpdateChange),this.dis=this,this.view.itemList.array=[],this.view.itemList.on("rightclick",this,this.onRightClick),this.onAutoUpdateChange(),this.fresh()},i.onRightClick=function(){var e;e=this.view.itemList,e.selectedItem&&console.log(e.selectedItem.url)},i.onAutoUpdateChange=function(){this.autoUpdate=this.view.autoUpdate.selected},i.fresh=function(){this.view.title.text="图片缓存列表";var e;e=ResTools.getCachedResList();var t,i;i=[];var o=0,n=0;for(n=e.length,o=0;n>o;o++){t={};var s;s=e[o],s=s.replace(URL.rootPath,""),t.label=s,t.url=s,i.push(t)}this.view.itemList.array=i},__getset(0,i,"autoUpdate",null,function(e){Laya.timer.clear(this,this.fresh),e&&(this.fresh(),Laya.timer.loop(NodeConsts.RenderCostMaxTime,this,this.fresh))}),__getset(1,t,"I",function(){return t._I||(t._I=new t),t._I},laya.debug.view.nodeInfo.views.UIViewBase._$SET_I),t._I=null,t.filterDebugNodes=!0,t}(UIViewBase),SelectInfosView=function(e){function t(){this.showKeys=[],this.view=null,this.fliterTxt=null,this.itemList=null,t.__super.call(this),t._I=this,this.setSelectList(null)}__class(t,"laya.debug.view.nodeInfo.views.SelectInfosView",e);var i=t.prototype;return i.createPanel=function(){this.view=new SelectInfos,this.addChild(this.view),this.view.top=this.view.bottom=this.view.left=this.view.right=0,NodeMenu.I.setNodeListAction(this.view.selectList),this.view.closeBtn.on("click",this,this.close),this.view.selectList.scrollBar.hide=!0,this.dis=null,this.view.findBtn.on("click",this,this.onFindBtn),this.fliterTxt=this.view.fliterTxt,this.view.fliterTxt.on("enter",this,this.onFliterTxtChange),this.view.fliterTxt.on("blur",this,this.onFliterTxtChange)},i.onFliterTxtChange=function(e){var t;t=this.fliterTxt.text,""==t?0!=this.showKeys.length&&(this.showKeys.length=0,this.fresh()):t!=this.showKeys.join(",")&&(this.showKeys=t.split(","),this.fresh())},i.onFindBtn=function(){FindSmallView.I.show()},i.onRightClick=function(){var e;if(e=this.view.selectList,e.selectedItem){var t;t=e.selectedItem.path,NodeMenu.I.objRightClick(t)}},i.setSelectTarget=function(e){e&&this.setSelectList([e])},i.setSelectList=function(e){this.itemList=e,this.fresh()},i.fresh=function(){var e;if(e=this.itemList,!e||e.length<1)return void(this.view.selectList.array=[]);var t,i,o=0,n=0;n=e.length;var s;for(s=[],o=0;n>o;o++)t=e[o],i={},i.label=this.getLabelTxt(t),i.path=t,s.push(i);this.view.selectList.array=s},i.getLabelTxt=function(e){var t;t=ClassTool.getNodeClassAndName(e);var i=0,o=0;for(o=this.showKeys.length,i=0;o>i;i++)t+=","+ObjectInfoView.getNodeValue(e,this.showKeys[i]);return t},__getset(1,t,"I",function(){return t._I||(t._I=new t),t._I},laya.debug.view.nodeInfo.views.UIViewBase._$SET_I),t._I=null,t}(UIViewBase),ToolBarView=function(e){function t(){this.view=null,t.__super.call(this)}__class(t,"laya.debug.view.nodeInfo.views.ToolBarView",e);var i=t.prototype;return i.createPanel=function(){this.view=new ToolBar,this.addChild(this.view),DisControlTool.setDragingItem(this.view.bg,this.view),this.view.on("click",this,this.onBtnClick),this.view.minBtn.minHandler=this.minHandler,this.view.minBtn.maxHandler=this.maxHandler,this.view.minBtn.tar=this.view,this.clickSelectChange(),this.view.selectWhenClick.on("change",this,this.clickSelectChange),Notice.listen("ItemClicked",this,this.itemClicked),this.dis=this.view},i.itemClicked=function(e){t.isClickSelectState&&(DisControlTool.isInTree(this.view.selectWhenClick,e)||t.ignoreDebugTool&&DebugInfoLayer.I.isDebugItem(e))},i.clickSelectChange=function(){t.isClickSelectState=this.view.selectWhenClick.selected},i.firstShowFun=function(){this.dis.x=Laya.stage.width-this.dis.width-20,this.dis.y=5},i.onBtnClick=function(e){switch(e.target){case this.view.treeBtn:ToolPanel.I.switchShow("Tree");break;case this.view.findBtn:ToolPanel.I.switchShow("Find");break;case this.view.clearBtn:DebugTool.clearDebugLayer();break;case this.view.rankBtn:RenderCostRankView.I.show();break;case this.view.nodeRankBtn:ObjectCreateView.I.show();break;case this.view.cacheBtn:NodeUtils.showCachedSpriteRecs()}},__getset(1,t,"I",function(){return t._I||(t._I=new t),t._I},laya.debug.view.nodeInfo.views.UIViewBase._$SET_I),t._I=null,t.ignoreDebugTool=!0,t.isClickSelectState=!1,t}(UIViewBase),TxtInfoView=function(e){function t(){this.input=null,this.btn=null,t.__super.call(this)}__class(t,"laya.debug.view.nodeInfo.views.TxtInfoView",e);var i=t.prototype;return i.createPanel=function(){this.input=new Input,this.input.size(200,400),this.input.multiline=!0,this.input.bgColor="#ff00ff",this.input.fontSize=12,this.input.wordWrap=!0,this.addChild(this.input),this.btn=this.getButton(),this.btn.text="关闭",this.btn.size(50,20),this.btn.align="center",this.btn.on("mousedown",this,this.onCloseBtn),this.btn.pos(5,this.input.height+5),this.addChild(this.btn)},i.showInfo=function(e){this.input.text=e,this.show()},i.show=function(){DebugInfoLayer.I.setTop(),DebugInfoLayer.I.popLayer.addChild(this),this.x=Laya.stage.width-this.width,this.y=0},i.onCloseBtn=function(){this.close()},t}(UIViewBase),CodeUsedResUI=function(e){function t(){this.tab=null,t.__super.call(this)}__class(t,"laya.debug.ui.debugui.CodeUsedResUI",e);var i=t.prototype;return i.createChildren=function(){this.viewMapRegists(),laya.ui.Component.prototype.createChildren.call(this),this.createView(t.uiView)},i.viewMapRegists=function(){},__static(t,["uiView",function(){return this.uiView={type:"View",child:[{props:{x:359,y:91,skin:"comp/button1.png"},type:"Image"},{props:{x:309,y:283,skin:"comp/line2.png"},type:"Image"},{type:"Tab",child:[{props:{skin:"view/create.png",label:" 对象创建",width:70,height:17,name:"item0"},type:"CheckBox"},{props:{x:70,skin:"view/rendertime.png",label:"渲染用时",width:70,height:19,name:"item1"},type:"CheckBox"},{props:{x:140,skin:"view/cache.png",label:"Cache",width:70,height:16,name:"item2"},type:"CheckBox"}],props:{x:76,y:210,selectedIndex:0,"var":"tab"}}],props:{width:600,height:400,base64pic:!0}}}]),t}(View),ListItemUI=function(e){function t(){t.__super.call(this)}__class(t,"laya.debug.ui.debugui.comps.ListItemUI",e);var i=t.prototype;return i.createChildren=function(){this.viewMapRegists(),laya.ui.Component.prototype.createChildren.call(this),this.createView(t.uiView)},i.viewMapRegists=function(){},__static(t,["uiView",function(){return this.uiView={type:"View",props:{base64pic:!0,width:244,height:19},child:[{type:"Clip",props:{y:-1,skin:"comp/clip_selectBox.png",clipY:2,height:19,name:"selectBox",left:2,right:2,x:0}},{type:"Label",props:{x:25,text:"render",color:"#dcea36",width:77,height:17,name:"label",y:2,fontSize:12}},{type:"Clip",props:{skin:"comp/clip_tree_arrow.png",clipY:2,name:"arrow",x:8,y:4,mouseEnabled:!1}}]}}]),t}(View),RankListItemUI=function(e){function t(){t.__super.call(this)}__class(t,"laya.debug.ui.debugui.comps.RankListItemUI",e);var i=t.prototype;return i.createChildren=function(){this.viewMapRegists(),laya.ui.Component.prototype.createChildren.call(this),this.createView(t.uiView)},i.viewMapRegists=function(){},__static(t,["uiView",function(){return this.uiView={type:"View",child:[{props:{y:-1,skin:"comp/clip_selectBox.png",clipY:2,height:19,name:"selectBox",left:0,right:0,x:0},type:"Clip"},{props:{text:"render",color:"#a0a0a0",height:15,name:"label",y:2,left:11,right:5,fontSize:12,x:11,width:163},type:"Label"}],props:{width:179,height:19}}}]),t}(View),DebugPanelUI=function(e){function t(){this.bg=null,this.minBtn=null,this.treePanel=null,this.selectWhenClick=null,this.profilePanel=null,this.resizeBtn=null,this.mouseAnalyseBtn=null,this.dragIcon=null,this.clearBtn=null,this.selectPanel=null,this.tab=null,t.__super.call(this)}__class(t,"laya.debug.ui.debugui.DebugPanelUI",e);var i=t.prototype;return i.createChildren=function(){this.viewMapRegists(),laya.ui.Component.prototype.createChildren.call(this),this.createView(t.uiView)},i.viewMapRegists=function(){View.regComponent("laya.debug.view.nodeInfo.nodetree.MinBtnComp",MinBtnComp),View.regComponent("laya.debug.view.nodeInfo.views.NodeTreeView",NodeTreeView),View.regComponent("laya.debug.view.nodeInfo.nodetree.Profile",Profile),View.regComponent("laya.debug.view.nodeInfo.views.SelectInfosView",SelectInfosView)},__static(t,["uiView",function(){return this.uiView={type:"View",props:{base64pic:!0,width:260,height:400},child:[{type:"Image",props:{x:205,y:254,skin:"view/bg_panel.png",left:0,right:0,top:0,bottom:0,"var":"bg",sizeGrid:"5,5,5,5"}},{type:"Image",props:{y:0,skin:"view/bg_top.png",left:0,right:0}},{type:"MinBtnComp",props:{y:-3,"var":"minBtn",runtime:"laya.debug.view.nodeInfo.nodetree.MinBtnComp",right:-3,x:207}},{type:"NodeTree",props:{left:0,right:0,top:32,bottom:0,name:"节点树","var":"treePanel",runtime:"laya.debug.view.nodeInfo.views.NodeTreeView"}},{type:"CheckBox",props:{x:8,y:9,skin:"view/clickselect.png",toolTip:"点击选取","var":"selectWhenClick",mouseEnabled:!0,width:14,height:14}},{type:"Profile",props:{name:"性能",top:32,right:0,left:0,bottom:0,"var":"profilePanel",runtime:"laya.debug.view.nodeInfo.nodetree.Profile"}},{type:"Button",props:{x:169,y:247,skin:"view/resize.png",right:2,bottom:2,name:"resizeBtn","var":"resizeBtn",stateNum:3}},{type:"Clip",props:{y:9,skin:"view/clickanalyse.png","var":"mouseAnalyseBtn",toolTip:"拖动选取",left:33,x:33,clipY:3}},{type:"Clip",props:{y:0,skin:"view/clickanalyse.png","var":"dragIcon",x:33,clipY:3}},{type:"Button",props:{y:7,skin:"view/res.png",stateNum:2,toolTip:"清除边框","var":"clearBtn",right:34,x:184}},{type:"SelectInfos",props:{top:32,left:0,right:0,bottom:0,name:"选中","var":"selectPanel",runtime:"laya.debug.view.nodeInfo.views.SelectInfosView"}},{type:"Tab",props:{x:59,y:0,name:"tab","var":"tab",selectedIndex:0},child:[{type:"Button",props:{skin:"view/tab_panel.png",label:"节点",width:42,height:32,name:"item0",labelColors:"#ffffff,#ffffff,#ffffff,#ffffff"}},{type:"Button",props:{x:42,skin:"view/tab_panel.png",label:"查询",width:42,height:32,name:"item1",labelColors:"#ffffff,#ffffff,#ffffff,#ffffff"}},{type:"Button",props:{x:84,skin:"view/tab_panel.png",label:"性能",width:42,height:32,name:"item2",labelColors:"#ffffff,#ffffff,#ffffff,#ffffff"}}]}]}}]),t}(View),FindNodeSmallUI=function(e){function t(){this.bg=null,this.closeBtn=null,this.title=null,this.typeSelect=null,this.findTxt=null,this.findBtn=null,t.__super.call(this)}__class(t,"laya.debug.ui.debugui.FindNodeSmallUI",e);var i=t.prototype;return i.createChildren=function(){this.viewMapRegists(),laya.ui.Component.prototype.createChildren.call(this),this.createView(t.uiView)},i.viewMapRegists=function(){},__static(t,["uiView",function(){return this.uiView={type:"View",child:[{props:{x:185,y:234,skin:"view/bg_tool.png",left:0,right:0,top:0,bottom:0,"var":"bg"},type:"Image"},{props:{x:185,y:15,skin:"view/btn_close.png","var":"closeBtn",top:2,right:2},type:"Button"},{props:{x:6,y:4,text:"查找对象",width:67,height:20,color:"#288edf","var":"title"},type:"Label"},{props:{x:60,y:81,skin:"comp/combobox.png",labels:"name,class",width:63,height:21,"var":"typeSelect",sizeGrid:"5,35,5,5",labelColors:"#a0a0a0,#fffff,#ffffff#fffff"},type:"ComboBox"},{props:{x:27,y:83,text:"类型",width:27,height:20,color:"#288edf",align:"right"},type:"Label"},{props:{x:7,y:40,text:"包含内容",width:47,height:20,color:"#288edf",align:"right"},type:"Label"},{props:{x:60,y:37,skin:"comp/textinput.png",text:"Sprite",width:164,height:22,"var":"findTxt",sizeGrid:"5,5,5,5",color:"#a0a0a0"},type:"TextInput"},{props:{x:158,y:79,skin:"comp/button.png",label:"查找",width:65,height:23,"var":"findBtn",mouseEnabled:"true",labelColors:"#ffffff,#ffffff,#ffffff,#ffffff"},type:"Button"}],props:{base64pic:!0,width:233,height:120}}}]),t}(View),FindNodeUI=function(e){function t(){this.bg=null,this.closeBtn=null,this.title=null,this.typeSelect=null,this.findTxt=null,this.result=null,this.findBtn=null,t.__super.call(this)}__class(t,"laya.debug.ui.debugui.FindNodeUI",e);var i=t.prototype;return i.createChildren=function(){this.viewMapRegists(),laya.ui.Component.prototype.createChildren.call(this),this.createView(t.uiView)},i.viewMapRegists=function(){View.regComponent("laya.debug.uicomps.RankListItem",RankListItem)},__static(t,["uiView",function(){return this.uiView={type:"View",child:[{props:{x:185,y:234,skin:"view/bg_panel.png",left:0,right:0,top:0,bottom:0,"var":"bg",sizeGrid:"5,5,5,5"},type:"Image"},{props:{x:185,y:15,skin:"view/btn_close.png","var":"closeBtn",top:2,right:2},type:"Button"},{props:{x:6,y:4,text:"查找对象",width:67,height:20,color:"#88ef19","var":"title"},type:"Label"},{props:{x:52,y:75,skin:"comp/combobox.png",labels:"name,class",width:63,height:21,"var":"typeSelect",sizeGrid:"5,35,5,5",labelColors:"#a0a0a0,#fffff,#ffffff#fffff"},type:"ComboBox"},{props:{x:10,y:77,text:"类型",width:27,height:20,color:"#88ef19",align:"right"},type:"Label"},{props:{x:7,y:34,text:"包含内容",width:47,height:20,color:"#88ef19",align:"right"},type:"Label"},{props:{x:59,y:31,skin:"comp/textinput.png",text:"Sprite",width:131,height:22,"var":"findTxt",sizeGrid:"5,5,5,5",color:"#a0a0a0"},type:"TextInput"},{type:"List",child:[{type:"RankListItem",props:{y:30,left:5,right:5,name:"render",x:30,runtime:"laya.debug.uicomps.RankListItem"}}],props:{x:6,y:106,width:188,height:180,vScrollBarSkin:"comp/vscroll.png","var":"result"}},{props:{x:125,y:73,skin:"comp/button.png",label:"查找",width:65,height:23,"var":"findBtn",mouseEnabled:"true",labelColors:"#ffffff,#ffffff,#ffffff,#ffffff"},type:"Button"}],props:{width:200,height:300,base64pic:!0}}}]),t}(View),MinBtnCompUI=function(e){function t(){this.minBtn=null,this.maxUI=null,this.bg=null,this.maxBtn=null,t.__super.call(this)}__class(t,"laya.debug.ui.debugui.MinBtnCompUI",e);var i=t.prototype;return i.createChildren=function(){this.viewMapRegists(),laya.ui.Component.prototype.createChildren.call(this),this.createView(t.uiView)},i.viewMapRegists=function(){},__static(t,["uiView",function(){return this.uiView={type:"View",child:[{props:{x:7,y:8,skin:"comp/minBtn.png",stateNum:"3","var":"minBtn",width:22,height:20,toolTip:"最小化"},type:"Button"},{type:"Box",child:[{props:{x:0,y:0,skin:"view/bg_panel.png","var":"bg",width:36,height:36,sizeGrid:"5,5,5,5"},type:"Image"},{props:{x:6,y:8,skin:"view/zoom_out.png",stateNum:"2","var":"maxBtn"},type:"Button"}],props:{"var":"maxUI"}}],props:{width:36,height:36,base64pic:!0}}}]),t}(View),NodeListPanelUI=function(e){function t(){this.bg=null,this.closeBtn=null,this.title=null,this.itemList=null,t.__super.call(this)}__class(t,"laya.debug.ui.debugui.NodeListPanelUI",e);var i=t.prototype;return i.createChildren=function(){this.viewMapRegists(),laya.ui.Component.prototype.createChildren.call(this),this.createView(t.uiView)},i.viewMapRegists=function(){View.regComponent("laya.debug.uicomps.RankListItem",RankListItem)},__static(t,["uiView",function(){return this.uiView={type:"View",child:[{props:{x:235,y:284,skin:"view/bg_panel.png",left:0,right:0,top:0,bottom:0,"var":"bg",sizeGrid:"5,5,5,5"},type:"Image"},{props:{x:204,y:32,skin:"view/btn_close.png","var":"closeBtn",top:2,right:2,visible:!0},type:"Button"},{props:{x:10,y:6,text:"节点信息",width:147,height:16,color:"#288edf","var":"title"},type:"Label"},{type:"List",child:[{type:"RankListItem",props:{left:5,right:5,name:"render",runtime:"laya.debug.uicomps.RankListItem"}}],props:{vScrollBarSkin:"comp/vscroll.png","var":"itemList",left:2,right:2,top:26,bottom:0,repeatX:1,x:20}}],props:{width:200,height:300}}}]),t}(View),NodeToolUI=function(e){function t(){this.bg=null,this.closeBtn=null,this.tarTxt=null,this.freshBtn=null,this.mouseAnalyseBtn=null,this.dragIcon=null,t.__super.call(this)}__class(t,"laya.debug.ui.debugui.NodeToolUI",e);var i=t.prototype;return i.createChildren=function(){this.viewMapRegists(),laya.ui.Component.prototype.createChildren.call(this),this.createView(t.uiView)},i.viewMapRegists=function(){},__static(t,["uiView",function(){return this.uiView={type:"View",props:{base64pic:!0,width:200,height:341},child:[{type:"Image",props:{x:195,y:244,skin:"view/bg_panel.png",left:0,right:0,top:0,bottom:0,"var":"bg",sizeGrid:"5,5,5,5"}},{type:"Label",props:{x:9,y:5,text:"当前选中对象",width:67,height:16,color:"#a0a0a0"}},{type:"Button",props:{x:195,y:25,skin:"view/btn_close.png","var":"closeBtn",top:2,right:2}},{type:"Label",props:{x:10,y:25,text:"当前对象",width:67,height:16,color:"#a0a0a0","var":"tarTxt"}},{type:"Button",props:{x:15,y:65,skin:"comp/button.png",label:"父链",width:39,height:23,mouseEnabled:"true",labelColors:"#ffffff,#ffffff,#ffffff,#ffffff"}},{type:"Button",props:{x:66,y:65,skin:"comp/button.png",label:"子",width:35,height:23,mouseEnabled:"true",labelColors:"#ffffff,#ffffff,#ffffff,#ffffff"}},{type:"Button",props:{x:112,y:65,skin:"comp/button.png",label:"兄弟",width:49,height:23,mouseEnabled:"true",labelColors:"#ffffff,#ffffff,#ffffff,#ffffff"}},{type:"Button",props:{x:13,y:117,skin:"comp/button.png",label:"Enable链",mouseEnabled:"true",labelColors:"#ffffff,#ffffff,#ffffff,#ffffff"}},{type:"Button",props:{x:100,y:117,skin:"comp/button.png",label:"Size链",mouseEnabled:"true",labelColors:"#ffffff,#ffffff,#ffffff,#ffffff"}},{type:"Label",props:{x:14,y:97,text:"节点链信息",width:67,height:16,color:"#a0a0a0"}},{type:"Label",props:{x:15,y:45,text:"对象选取",width:67,height:16,color:"#a0a0a0"}},{type:"Label",props:{x:16,y:145,text:"节点显示",width:67,height:16,color:"#a0a0a0"}},{type:"Button",props:{x:13,y:164,skin:"comp/button.png",label:"隐藏旁支",mouseEnabled:"true",labelColors:"#ffffff,#ffffff,#ffffff,#ffffff"}},{type:"Button",props:{x:100,y:164,skin:"comp/button.png",label:"隐藏兄弟",mouseEnabled:"true",labelColors:"#ffffff,#ffffff,#ffffff,#ffffff"}},{type:"Button",props:{x:13,y:197,skin:"comp/button.png",label:"隐藏子",mouseEnabled:"true",labelColors:"#ffffff,#ffffff,#ffffff,#ffffff"}},{type:"Button",props:{x:99,y:197,skin:"comp/button.png",label:"恢复",mouseEnabled:"true",labelColors:"#ffffff,#ffffff,#ffffff,#ffffff"}},{type:"Label",props:{x:15,y:228,text:"其他",width:67,height:16,color:"#a0a0a0"}},{type:"Button",props:{x:12,y:247,skin:"comp/button.png",label:"节点树定位",mouseEnabled:"true",labelColors:"#ffffff,#ffffff,#ffffff,#ffffff"}},{type:"Button",props:{x:99,y:247,skin:"comp/button.png",label:"显示边框",mouseEnabled:"true",labelColors:"#ffffff,#ffffff,#ffffff,#ffffff"}},{type:"Label",props:{x:12,y:315,text:"Alt+A分析鼠标能否够点中对象",width:173,height:16,color:"#a0a0a0"}},{type:"Button",props:{x:156,y:1,skin:"view/refresh2.png","var":"freshBtn",left:156,toolTip:"recache节点"}},{type:"Button",props:{x:12,y:279,skin:"comp/button.png",label:"输出到控制台",mouseEnabled:"true",labelColors:"#ffffff,#ffffff,#ffffff,#ffffff"}},{type:"Button",props:{x:99,y:279,skin:"comp/button.png",label:"显示切换",mouseEnabled:"true",labelColors:"#ffffff,#ffffff,#ffffff,#ffffff"}},{type:"Clip",props:{y:44,skin:"view/clickanalyse.png","var":"mouseAnalyseBtn",toolTip:"拖动到对象上方判断是否能够点中",left:84,x:84,clipY:3}},{type:"Clip",props:{y:35,skin:"view/clickanalyse.png","var":"dragIcon",x:94,clipY:3}}]}}]),t}(View),NodeTreeSettingUI=function(e){function t(){this.bg=null,this.showTxt=null,this.okBtn=null,this.closeBtn=null,t.__super.call(this)}__class(t,"laya.debug.ui.debugui.NodeTreeSettingUI",e);var i=t.prototype;return i.createChildren=function(){this.viewMapRegists(),laya.ui.Component.prototype.createChildren.call(this),this.createView(t.uiView)},i.viewMapRegists=function(){},__static(t,["uiView",function(){return this.uiView={type:"View",child:[{props:{x:0,y:0,skin:"view/bg_panel.png",left:0,top:0,bottom:0,right:0,"var":"bg",width:200,height:300,sizeGrid:"5,5,5,5"},type:"Image"},{props:{x:9,y:7,text:"要显示的属性",width:76,height:16,color:"#ffffff",align:"left"},type:"Label"},{props:{x:6,y:29,skin:"comp/textinput.png",text:"x\\ny\\nwidth\\nheight",width:188,height:230,multiline:!0,"var":"showTxt",color:"#a0a0a0",sizeGrid:"5,5,5,5"},type:"TextInput"},{props:{x:57,y:269,skin:"comp/button.png",label:"确定","var":"okBtn",mouseEnabled:"true",labelColors:"#ffffff,#ffffff,#ffffff,#ffffff"},type:"Button"},{props:{x:175,y:5,skin:"view/btn_close.png","var":"closeBtn"},type:"Button"}],props:{base64pic:!0,width:200,height:300}}}]),t}(View),NodeTreeUI=function(e){function t(){this.nodeTree=null,this.controlBar=null,this.settingBtn=null,this.freshBtn=null,this.fliterTxt=null,this.closeBtn=null,this.ifShowProps=null,t.__super.call(this)}__class(t,"laya.debug.ui.debugui.NodeTreeUI",e);var i=t.prototype;return i.createChildren=function(){this.viewMapRegists(),laya.ui.Component.prototype.createChildren.call(this),this.createView(t.uiView)},i.viewMapRegists=function(){View.regComponent("laya.debug.uicomps.TreeListItem",TreeListItem)},__static(t,["uiView",function(){return this.uiView={type:"View",props:{width:200,height:260,base64pic:!0},child:[{type:"Image",props:{x:-22,y:-47,skin:"view/bg_panel.png",width:211,height:206,left:0,right:0,top:0,bottom:0,sizeGrid:"5,5,5,5"}},{props:{y:0,skin:"view/bg_tool.png",left:0,right:0},type:"Image"},{type:"Tree",props:{x:0,scrollBarSkin:"comp/vscroll.png",width:195,height:229,"var":"nodeTree",left:0,right:0,top:38,bottom:20},child:[{type:"ListItem",props:{y:0,name:"render",left:0,right:0,runtime:"laya.debug.uicomps.TreeListItem"}}]},{type:"Box",props:{x:3,y:5,"var":"controlBar",left:3,right:3,top:5,height:23},child:[{type:"Button",props:{x:6,skin:"view/setting.png",stateNum:3,"var":"settingBtn",toolTip:"设置显示的属性",y:6}},{type:"Button",props:{y:6,skin:"view/refresh.png","var":"freshBtn",left:30,toolTip:"刷新数据"}},{type:"TextInput",props:{y:0,skin:"view/bg_top.png",height:22,"var":"fliterTxt",left:53,right:0,color:"#a0a0a0"}},{type:"Button",props:{x:172,y:2,skin:"view/btn_close.png","var":"closeBtn",right:1,visible:!1}}]},{props:{y:243,skin:"comp/checkbox.png",label:"显示属性","var":"ifShowProps",bottom:3,selected:!0,visible:!0,x:2,width:70,height:14,labelColors:"#a0a0a0,#fffff,#ffffff,#fffff"},type:"CheckBox"}]}}]),t}(View),ObjectCreateUI=function(e){function t(){this.bg=null,this.closeBtn=null,this.itemList=null,this.freshBtn=null,t.__super.call(this)}__class(t,"laya.debug.ui.debugui.ObjectCreateUI",e);var i=t.prototype;return i.createChildren=function(){this.viewMapRegists(),laya.ui.Component.prototype.createChildren.call(this),this.createView(t.uiView)},i.viewMapRegists=function(){View.regComponent("laya.debug.uicomps.RankListItem",RankListItem)},__static(t,["uiView",function(){return this.uiView={type:"View",child:[{props:{x:215,y:264,skin:"view/bg_panel.png",left:0,right:0,top:0,bottom:0,"var":"bg",sizeGrid:"5,5,5,5"},type:"Image"},{props:{x:184,y:12,skin:"view/btn_close.png","var":"closeBtn",top:2,right:2,visible:!1},type:"Button"},{props:{x:11,y:5,text:"对象创建统计",width:83,height:16,color:"#288edf"},type:"Label"},{type:"List",child:[{type:"RankListItem",props:{y:0,left:5,right:5,name:"render",runtime:"laya.debug.uicomps.RankListItem"}}],props:{vScrollBarSkin:"comp/vscroll.png","var":"itemList",top:26,bottom:5,left:5,right:5,repeatX:1}},{props:{y:1,skin:"view/refresh2.png","var":"freshBtn",toolTip:"刷新数据",right:1,x:178},type:"Button"}],props:{width:200,height:300,base64pic:!0}}}]),t}(View),ObjectInfoUI=function(e){function t(){this.bg=null,this.title=null,this.showTxt=null,this.closeBtn=null,this.autoUpdate=null,this.settingBtn=null,t.__super.call(this)}__class(t,"laya.debug.ui.debugui.ObjectInfoUI",e);var i=t.prototype;return i.createChildren=function(){this.viewMapRegists(),laya.ui.Component.prototype.createChildren.call(this),this.createView(t.uiView)},i.viewMapRegists=function(){},__static(t,["uiView",function(){return this.uiView={type:"View",child:[{props:{x:-1,y:0,skin:"view/bg_panel.png",left:-1,right:1,top:0,bottom:0,"var":"bg",sizeGrid:"5,5,5,5"},type:"Image"},{props:{x:7,y:5,text:"对象类型",width:67,height:20,color:"#ffffff","var":"title",left:7,right:6},type:"Label"},{props:{x:2,skin:"comp/textinput.png",text:"属性内容",width:196,height:228,left:2,right:2,"var":"showTxt",top:25,bottom:20,editable:!1,multiline:!0,sizeGrid:"5,5,5,5",color:"#a0a0a0"},type:"TextArea"},{props:{x:178,y:4,skin:"view/btn_close.png","var":"closeBtn",top:4,right:2},type:"Button"},{props:{skin:"comp/checkbox.png",label:"自动刷新属性","var":"autoUpdate",bottom:2,x:3,labelColors:"#a0a0a0,#fffff,#ffffff,#fffff"},type:"CheckBox"},{props:{x:164,skin:"view/setting.png",stateNum:"3","var":"settingBtn",y:6,top:6,right:24,toolTip:"设置显示属性"},type:"Button"},{props:{x:179,y:257,skin:"view/resize.png",right:2,bottom:2,name:"resizeBtn",stateNum:3},type:"Button"}],props:{base64pic:!0,width:200,height:200}}}]),t}(View),OutPutUI=function(e){function t(){this.bg=null,this.txt=null,this.closeBtn=null,this.clearBtn=null,t.__super.call(this)}__class(t,"laya.debug.ui.debugui.OutPutUI",e);var i=t.prototype;return i.createChildren=function(){this.viewMapRegists(),laya.ui.Component.prototype.createChildren.call(this),this.createView(t.uiView)},i.viewMapRegists=function(){},__static(t,["uiView",function(){return this.uiView={type:"View",props:{width:300,height:200,base64pic:!0},child:[{type:"Image",props:{x:205,y:254,skin:"view/bg_panel.png",left:0,right:0,top:0,bottom:0,"var":"bg",sizeGrid:"5,5,5,5"}},{type:"Label",props:{skin:"comp/textarea.png",text:"TextArea",color:"#a0a0a0","var":"txt",left:5,right:5,top:22,bottom:5,mouseEnabled:!0,sizeGrid:"3,3,3,3"}},{type:"Button",props:{x:185,y:15,skin:"view/btn_close.png","var":"closeBtn",top:2,right:2}},{props:{x:253,y:1,skin:"view/re.png",
stateNum:"2","var":"clearBtn",right:25},type:"Button"},{props:{x:169,y:247,skin:"view/resize.png",right:2,bottom:2,name:"resizeBtn",stateNum:3},type:"Button"}]}}]),t}(View),ProfileUI=function(e){function t(){this.renderPanel=null,this.createPanel=null,this.cachePanel=null,this.tab=null,this.resPanel=null,t.__super.call(this)}__class(t,"laya.debug.ui.debugui.ProfileUI",e);var i=t.prototype;return i.createChildren=function(){this.viewMapRegists(),laya.ui.Component.prototype.createChildren.call(this),this.createView(t.uiView)},i.viewMapRegists=function(){View.regComponent("laya.debug.view.nodeInfo.views.RenderCostRankView",RenderCostRankView),View.regComponent("laya.debug.view.nodeInfo.views.ObjectCreateView",ObjectCreateView),View.regComponent("laya.debug.view.nodeInfo.views.CacheRankView",CacheRankView),View.regComponent("laya.debug.view.nodeInfo.views.ResRankView",ResRankView)},__static(t,["uiView",function(){return this.uiView={type:"View",props:{width:260,height:329,base64pic:!0},child:[{type:"Image",props:{y:0,skin:"view/bg_tool.png",right:0,left:0}},{type:"Rank",props:{"var":"renderPanel",top:29,runtime:"laya.debug.view.nodeInfo.views.RenderCostRankView",right:0,name:"渲染用时",left:0,bottom:0}},{type:"ObjectCreate",props:{"var":"createPanel",top:29,runtime:"laya.debug.view.nodeInfo.views.ObjectCreateView",right:0,name:"对象创建统计",left:0,bottom:0}},{type:"Rank",props:{x:10,"var":"cachePanel",top:29,runtime:"laya.debug.view.nodeInfo.views.CacheRankView",right:0,name:"cache用时",left:0,bottom:0}},{type:"Tab",props:{y:9,x:7,width:191,"var":"tab",selectedIndex:0,height:19},child:[{type:"CheckBox",props:{y:0,x:0,width:50,skin:"view/create.png",name:"item0",labelColors:"#a0a0a0,#ffffff,#ffffff,#ffffff",label:" 对象",height:17}},{type:"CheckBox",props:{y:0,x:55,width:50,skin:"view/rendertime.png",name:"item1",labelColors:"#a0a0a0,#ffffff,#ffffff,#ffffff",label:" 渲染",height:19}},{type:"CheckBox",props:{y:0,x:110,width:50,skin:"view/cache.png",name:"item2",labelColors:"#a0a0a0,#ffffff,#ffffff,#ffffff",label:" 重绘",height:16}},{type:"CheckBox",props:{y:0,x:165,width:50,skin:"view/cache.png",name:"item3",labelColors:"#a0a0a0,#ffffff,#ffffff,#ffffff",label:" 资源",height:16}}]},{type:"Rank",props:{y:40,x:50,"var":"resPanel",top:29,runtime:"laya.debug.view.nodeInfo.views.ResRankView",right:0,name:"资源缓存",left:0,bottom:0}}]}}]),t}(View),RankUI=function(e){function t(){this.bg=null,this.closeBtn=null,this.title=null,this.itemList=null,this.autoUpdate=null,this.freshBtn=null,t.__super.call(this)}__class(t,"laya.debug.ui.debugui.RankUI",e);var i=t.prototype;return i.createChildren=function(){this.viewMapRegists(),laya.ui.Component.prototype.createChildren.call(this),this.createView(t.uiView)},i.viewMapRegists=function(){View.regComponent("laya.debug.uicomps.RankListItem",RankListItem)},__static(t,["uiView",function(){return this.uiView={type:"View",child:[{props:{x:225,y:274,skin:"view/bg_panel.png",left:0,right:0,top:0,bottom:0,"var":"bg",sizeGrid:"5,5,5,5"},type:"Image"},{props:{x:194,y:22,skin:"view/btn_close.png","var":"closeBtn",top:2,right:2,visible:!1},type:"Button"},{props:{x:8,y:5,text:"渲染用时表(3000ms)",width:109,height:16,color:"#288edf","var":"title"},type:"Label"},{type:"List",child:[{type:"RankListItem",props:{left:5,right:5,name:"render",runtime:"laya.debug.uicomps.RankListItem"}}],props:{vScrollBarSkin:"comp/vscroll.png","var":"itemList",left:2,right:2,top:26,bottom:25,repeatX:1,x:10,y:10}},{props:{skin:"comp/checkbox.png",label:"自动刷新属性","var":"autoUpdate",bottom:3,selected:!1,visible:!0,left:2,labelColors:"#a0a0a0,#fffff,#ffffff,#fffff"},type:"CheckBox"},{props:{y:1,skin:"view/refresh2.png","var":"freshBtn",toolTip:"刷新数据",right:1},type:"Button"}],props:{width:200,height:300}}}]),t}(View),SelectInfosUI=function(e){function t(){this.bg=null,this.closeBtn=null,this.selectList=null,this.findBtn=null,this.fliterTxt=null,t.__super.call(this)}__class(t,"laya.debug.ui.debugui.SelectInfosUI",e);var i=t.prototype;return i.createChildren=function(){this.viewMapRegists(),laya.ui.Component.prototype.createChildren.call(this),this.createView(t.uiView)},i.viewMapRegists=function(){View.regComponent("laya.debug.uicomps.RankListItem",RankListItem)},__static(t,["uiView",function(){return this.uiView={type:"View",child:[{props:{x:205,y:254,skin:"view/bg_panel.png",left:0,right:0,top:0,bottom:0,"var":"bg",sizeGrid:"5,5,5,5"},type:"Image"},{props:{skin:"view/btn_close.png","var":"closeBtn",top:32,visible:!1,right:2},type:"Button"},{props:{x:7,y:36,text:"当前选中列表",width:83,height:16,color:"#288edf"},type:"Label"},{type:"List",child:[{type:"RankListItem",props:{left:5,right:5,name:"render",runtime:"laya.debug.uicomps.RankListItem"}}],props:{vScrollBarSkin:"comp/vscroll.png","var":"selectList",left:5,right:5,top:56,bottom:25,repeatX:1,x:20}},{props:{x:6,text:"Alt+V选取鼠标下的对象",width:189,height:16,color:"#a0a0a0",bottom:3},type:"Label"},{type:"Image",props:{y:0,skin:"view/bg_tool.png",left:0,right:0}},{type:"Clip",props:{y:6,skin:"view/search.png",clipY:2,"var":"findBtn",right:5,toolTip:"查找",x:174}},{type:"TextInput",props:{y:6,skin:"view/bg_top.png",height:22,"var":"fliterTxt",left:8,right:45,color:"#a0a0a0",x:8,width:147}}],props:{width:200,height:300,base64pic:!0}}}]),t}(View),ToolBarUI=function(e){function t(){this.bg=null,this.treeBtn=null,this.findBtn=null,this.minBtn=null,this.selectWhenClick=null,this.clearBtn=null,this.rankBtn=null,this.nodeRankBtn=null,this.cacheBtn=null,t.__super.call(this)}__class(t,"laya.debug.ui.debugui.ToolBarUI",e);var i=t.prototype;return i.createChildren=function(){this.viewMapRegists(),laya.ui.Component.prototype.createChildren.call(this),this.createView(t.uiView)},i.viewMapRegists=function(){View.regComponent("laya.debug.view.nodeInfo.nodetree.MinBtnComp",MinBtnComp)},__static(t,["uiView",function(){return this.uiView={type:"View",props:{base64pic:!0,width:250,height:30},child:[{type:"Image",props:{x:195,y:244,skin:"view/bg_panel.png",left:0,right:0,top:0,bottom:0,"var":"bg",sizeGrid:"5,5,5,5"}},{type:"Button",props:{x:2,y:6,skin:"view/save.png",stateNum:2,"var":"treeBtn",toolTip:"节点树"}},{type:"Button",props:{x:25,y:6,skin:"view/save.png",stateNum:2,"var":"findBtn",toolTip:"查找面板"}},{type:"MinBtnComp",props:{x:218,y:-3,"var":"minBtn",runtime:"laya.debug.view.nodeInfo.nodetree.MinBtnComp"}},{type:"CheckBox",props:{x:124,y:8,skin:"comp/checkbox.png",label:"点击选取","var":"selectWhenClick",labelColors:"#a0a0a0,#fffff,#ffffff,#fffff"}},{type:"Button",props:{x:193,y:5,skin:"view/res.png",stateNum:2,toolTip:"清除边框","var":"clearBtn"}},{type:"Button",props:{x:49,y:6,skin:"view/save.png",stateNum:2,"var":"rankBtn",toolTip:"渲染用时排行"}},{type:"Button",props:{x:72,y:6,skin:"view/save.png",stateNum:2,"var":"nodeRankBtn",toolTip:"创建对象排行"}},{type:"Button",props:{x:94,y:6,skin:"view/save.png",stateNum:2,"var":"cacheBtn",toolTip:"cache对象"}}]}}]),t}(View),ListBase=function(e){function t(){t.__super.call(this)}__class(t,"laya.debug.uicomps.ListBase",e);var i=t.prototype;return __getset(0,i,"selectedIndex",e.prototype._$get_selectedIndex,function(e){if(this._selectedIndex!=e&&(this._selectedIndex=e,this.changeSelectStatus(),this.event("change"),this.selectHandler&&this.selectHandler.runWith(e)),this.selectEnable&&this._scrollBar){var t=this._isVertical?this.repeatX:this.repeatY;(e<this._startIndex||e+t>this._startIndex+this.repeatX*this.repeatY)&&this.scrollTo(e)}}),t}(List),TreeBase=function(e){function t(){t.__super.call(this)}__class(t,"laya.debug.uicomps.TreeBase",e);var i=t.prototype;return i.createChildren=function(){this.addChild(this._list=new ListBase),this._list.renderHandler=Handler.create(this,this.renderItem,null,!1),this._list.repeatX=1,this._list.on("change",this,this.onListChange)},t}(Tree),RankListItem=function(e){function t(){t.__super.call(this),Base64AtlasManager.replaceRes(RankListItemUI.uiView),this.createView(RankListItemUI.uiView)}__class(t,"laya.debug.uicomps.RankListItem",e);var i=t.prototype;return i.createChildren=function(){},t}(RankListItemUI),TreeListItem=function(e){function t(){t.__super.call(this),Base64AtlasManager.replaceRes(ListItemUI.uiView),this.createView(ListItemUI.uiView)}__class(t,"laya.debug.uicomps.TreeListItem",e);var i=t.prototype;return i.createChildren=function(){},t}(ListItemUI),DebugPanel=function(e){function t(){this.views=null,t.__super.call(this),this.msRec=new Rectangle,Base64AtlasManager.replaceRes(DebugPanelUI.uiView),this.createView(DebugPanelUI.uiView),DisControlTool.setResizeAbleEx(this),this.views=[this.treePanel,this.selectPanel,this.profilePanel],this.tab.selectedIndex=0,this.tabChange(),this.tab.on("change",this,this.tabChange),this.changeSize()}__class(t,"laya.debug.view.nodeInfo.nodetree.DebugPanel",e);var i=t.prototype;return i.createChildren=function(){this.viewMapRegists()},i.tabChange=function(){DisControlTool.addOnlyByIndex(this.views,this.tab.selectedIndex,this),DisControlTool.setTop(this.resizeBtn)},i.changeSize=function(){this.width<245&&(this.width=245),this.height<100&&(this.height=200),laya.ui.Component.prototype.changeSize.call(this),this.msRec.setTo(0,0,this.width,this.height),this.scrollRect=this.msRec},t}(DebugPanelUI),FindNode=function(e){function t(){t.__super.call(this),Base64AtlasManager.replaceRes(FindNodeUI.uiView),this.createView(FindNodeUI.uiView)}__class(t,"laya.debug.view.nodeInfo.nodetree.FindNode",e);var i=t.prototype;return i.createChildren=function(){this.viewMapRegists()},t}(FindNodeUI),FindNodeSmall=function(e){function t(){t.__super.call(this),Base64AtlasManager.replaceRes(FindNodeSmallUI.uiView),this.createView(FindNodeSmallUI.uiView)}__class(t,"laya.debug.view.nodeInfo.nodetree.FindNodeSmall",e);var i=t.prototype;return i.createChildren=function(){},t}(FindNodeSmallUI),MinBtnComp=function(e){function t(){this.tar=null,this.minHandler=null,this.maxHandler=null,this.prePos=new Point,t.__super.call(this),Base64AtlasManager.replaceRes(MinBtnCompUI.uiView),this.createView(MinBtnCompUI.uiView),this.init()}__class(t,"laya.debug.view.nodeInfo.nodetree.MinBtnComp",e);var i=t.prototype;return i.createChildren=function(){},i.init=function(){this.minBtn.on("click",this,this.onMinBtn),this.maxBtn.on("click",this,this.onMaxBtn),this.minState=!1,this.maxUI.removeSelf(),DisControlTool.setDragingItem(this.bg,this.maxUI)},i.onMaxBtn=function(){this.maxUI.removeSelf(),this.maxHandler&&this.maxHandler.run(),this.tar&&(this.tar.x+=this.maxUI.x-this.prePos.x,this.tar.y+=this.maxUI.y-this.prePos.y)},i.onMinBtn=function(){if(this.displayedInStage){var e;e=Point.TEMP,e.setTo(0,0),e=this.localToGlobal(e),e=DebugInfoLayer.I.popLayer.globalToLocal(e),this.maxUI.pos(e.x,e.y),DebugInfoLayer.I.popLayer.addChild(this.maxUI),this.tar&&this.prePos.setTo(e.x,e.y),this.minHandler&&this.minHandler.run()}},__getset(0,i,"minState",null,function(e){}),t}(MinBtnCompUI),NodeListPanel=function(e){function t(){t.__super.call(this),Base64AtlasManager.replaceRes(NodeListPanelUI.uiView),this.createView(NodeListPanelUI.uiView)}__class(t,"laya.debug.view.nodeInfo.nodetree.NodeListPanel",e);var i=t.prototype;return i.createChildren=function(){this.viewMapRegists()},t}(NodeListPanelUI),NodeTool=function(e){function t(){t.__super.call(this),Base64AtlasManager.replaceRes(NodeToolUI.uiView),this.createView(NodeToolUI.uiView)}__class(t,"laya.debug.view.nodeInfo.nodetree.NodeTool",e);var i=t.prototype;return i.createChildren=function(){},t}(NodeToolUI),NodeTreeSetting=function(e){function t(){t.__super.call(this),Base64AtlasManager.replaceRes(NodeTreeSettingUI.uiView),this.createView(NodeTreeSettingUI.uiView)}__class(t,"laya.debug.view.nodeInfo.nodetree.NodeTreeSetting",e);var i=t.prototype;return i.createChildren=function(){},t}(NodeTreeSettingUI),NodeTree=function(e){function t(){this.showProps=!1,this._closeSettingHandler=null,this._tar=null,t.__super.call(this),Base64AtlasManager.replaceRes(NodeTreeUI.uiView),View.regComponent("Tree",TreeBase),this.createView(NodeTreeUI.uiView),View.regComponent("Tree",Tree),this.inits(),t.I=this}__class(t,"laya.debug.view.nodeInfo.nodetree.NodeTree",e);var i=t.prototype;return i.createChildren=function(){this.viewMapRegists()},i.inits=function(){this.nodeTree.list.scrollBar.hide=!0,this.nodeTree.list.selectEnable=!0,this.settingBtn.on("click",this,this.onSettingBtn),this.freshBtn.on("click",this,this.fresh),this.closeBtn.on("click",this,this.onCloseBtn),this.fliterTxt.on("enter",this,this.onFliterTxtChange),this.fliterTxt.on("blur",this,this.onFliterTxtChange),NodeMenu.I.setNodeListAction(this.nodeTree.list),this.nodeTree.list.on("click",this,this.onListClick,[this.nodeTree.list]),this.nodeTree.renderHandler=new Handler(this,this.treeRender),this._closeSettingHandler=new Handler(this,this.closeSetting),this.onIfShowPropsChange(),this.ifShowProps.on("change",this,this.onIfShowPropsChange)},i.onIfShowPropsChange=function(){this.showProps=this.ifShowProps.selected,this.fresh()},i.onListClick=function(e){e.selectedItem&&e.selectedItem.isDirectory&&(e.selectedItem.isOpen=!e.selectedItem.isOpen,this.nodeTree.fresh())},i.onFindBtn=function(){FindSmallView.I.show()},i.onCloseBtn=function(){this.removeSelf()},i.onTreeDoubleClick=function(e){if(this.nodeTree.selectedItem){var t;t=this.nodeTree.selectedItem.path,NodeMenu.I.objRightClick(t)}},i.onTreeRightMouseDown=function(e){if(this.nodeTree.selectedItem){var t;t=this.nodeTree.selectedItem.path,NodeMenu.I.objRightClick(t)}},i.onSettingBtn=function(){NodeTreeSettingView.I.showSetting(t.showKeys,this._closeSettingHandler,this._tar)},i.closeSetting=function(e){t.showKeys=e,this.fresh()},i.onFliterTxtChange=function(e){var i;i=this.fliterTxt.text,""!=i&&i!=t.showKeys.join(",")&&(t.showKeys=i.split(","),this.fresh())},i.selecteByFile=function(e){var t;t=this.nodeTree.source;var i;if(i=DebugTool.findNameHas(e,!1),i&&i.length>0){var o;o=i[0],this.parseOpen(t,o)}},i.showSelectInStage=function(e){this.setDis(Laya.stage),this.selectByNode(e)},i.selectByNode=function(e){if(e){var t;t=this.nodeTree.source,this.parseOpen(t,e)}},i.showNodeList=function(e){if(e){var t=0,i=0;i=e.length;var o;o=[];var n,s;for(t=0;i>t;t++)s=e[t],n={},n.label=ClassTool.getNodeClassAndName(s),n.path=s,o.push(n);this.nodeTree.array=o}},i.parseOpen=function(e,t){if(!(e.length<1)&&t){var i=0,o=0;o=e.length;var n;for(i=0;o>i;i++)if(n=e[i],n.path==t){var s;for(s=n;n;)n.isOpen=!0,this.nodeTree.fresh(),n=n.nodeParent;return void(this.nodeTree.selectedItem=s)}}},i.getFilterSource=function(e,t,i){i=i.toLocaleLowerCase();var o;for(var n in e)o=e[n],o.isDirectory&&String(o.label).toLowerCase().indexOf(i)>-1&&(o.x=0,t.push(o)),o.child&&o.child.length>0&&this.getFilterSource(o.child,t,i)},i.onControlDown=function(){this.startDrag()},i.setDis=function(e){this._tar=e,this.fresh()},i.fresh=function(){var e;if(this.nodeTree.selectedItem){var i;for(i=this.nodeTree.selectedItem;i&&!(i.path instanceof laya.display.Sprite);)i=i.nodeParent;i&&i.path&&(e=i.path)}this._tar?this.nodeTree.array=NodeUtils.getNodeTreeData(this._tar,this.showProps?t.showKeys:t.emptyShowKey):this.nodeTree.array=[],e&&this.selectByNode(e)},i.treeRender=function(e,t){var i=e.dataSource;if(i){var o=(i.child||i.isDirectory,e.getChildByName("label"));i.path instanceof laya.display.Node?o.color="#09a4f6":i.isChilds?o.color="#00ff11":o.color="#838bc5"}},t.I=null,t.emptyShowKey=[],__static(t,["showKeys",function(){return this.showKeys=["x","y","width","height","renderCost"]}]),t}(NodeTreeUI),ObjectCreate=function(e){function t(){t.__super.call(this),Base64AtlasManager.replaceRes(ObjectCreateUI.uiView),this.createView(ObjectCreateUI.uiView)}__class(t,"laya.debug.view.nodeInfo.nodetree.ObjectCreate",e);var i=t.prototype;return i.createChildren=function(){this.viewMapRegists()},t}(ObjectCreateUI),ObjectInfo=function(e){function t(){t.__super.call(this),Base64AtlasManager.replaceRes(ObjectInfoUI.uiView),this.createView(ObjectInfoUI.uiView)}__class(t,"laya.debug.view.nodeInfo.nodetree.ObjectInfo",e);var i=t.prototype;return i.createChildren=function(){},t}(ObjectInfoUI),OutPut=function(e){function t(){t.__super.call(this),Base64AtlasManager.replaceRes(OutPutUI.uiView),this.createView(OutPutUI.uiView)}__class(t,"laya.debug.view.nodeInfo.nodetree.OutPut",e);var i=t.prototype;return i.createChildren=function(){},t}(OutPutUI),Profile=function(e){function t(){this.views=null,t.__super.call(this),Base64AtlasManager.replaceRes(ProfileUI.uiView),this.createView(ProfileUI.uiView),this.views=[this.createPanel,this.renderPanel,this.cachePanel,this.resPanel],this.tab.selectedIndex=0,this.tabChange(),this.tab.on("change",this,this.tabChange)}__class(t,"laya.debug.view.nodeInfo.nodetree.Profile",e);var i=t.prototype;return i.createChildren=function(){this.viewMapRegists()},i.tabChange=function(){DisControlTool.addOnlyByIndex(this.views,this.tab.selectedIndex,this)},t}(ProfileUI),Rank=function(e){function t(){t.__super.call(this),Base64AtlasManager.replaceRes(RankUI.uiView),this.createView(RankUI.uiView)}__class(t,"laya.debug.view.nodeInfo.nodetree.Rank",e);var i=t.prototype;return i.createChildren=function(){this.viewMapRegists()},t}(RankUI),SelectInfos=function(e){function t(){t.__super.call(this),Base64AtlasManager.replaceRes(SelectInfosUI.uiView),this.createView(SelectInfosUI.uiView)}__class(t,"laya.debug.view.nodeInfo.nodetree.SelectInfos",e);var i=t.prototype;return i.createChildren=function(){this.viewMapRegists()},t}(SelectInfosUI),ToolBar=function(e){function t(){t.__super.call(this),Base64AtlasManager.replaceRes(ToolBarUI.uiView),this.createView(ToolBarUI.uiView)}__class(t,"laya.debug.view.nodeInfo.nodetree.ToolBar",e);var i=t.prototype;return i.createChildren=function(){},t}(ToolBarUI)}(window,document,Laya);