drill=(async e=>{try{let{remote:e}=require("electron");const a=require("path");e.getCurrentWindow().setIcon(a.normalize(process.resourcesPath+"/app/img/icon-min.png"))}catch(e){}e.config({baseUrl:"js/",paths:{"util/selecteSource":"splitjs/selecteSource","util/selectAnimate":"splitjs/selectAnimate"}}),await load("xhear","drill-domcode");let[a,l,t]=await load("splitjs/sUtil","common/urlData","common/data");$("title").text=t.project.name;let s,n=await load("common/selfSplitData");switch(n.watch("showPannel",()=>{let{showPannel:e}=n;switch(e){case"preview":a.hideAllPannel(),a.showPreview();break;case"layers":a.hideAllPannel(),a.showLayers();break;case"selectedInfo":a.hideAllPannel(),a.showSelectedInfo();break;case"view":a.hideAllPannel(),a.showView()}}),l.type){case void 0:n.showPannel="selectedInfo",n.pannelType="split";break;case"view":n.showPannel="view",n.pannelType="main";break;case"outer":n.showPannel="view",n.pannelType="outer"}load("task/splitBlockUpdate"),n.watch("isHandle",s=(e=>{if(n.isHandle){let e=$('<div class="handle_layer">挂起中...</div>');$("body").push(e)}else $(".handle_layer")&&$(".handle_layer").remove()})),s()});