drill.define(async a=>{let p,s,n,e,i=(await a("common/data")).project;return{async showSelectedInfo(){if(p)return void(p.display="");p=$('<div class="selectedInfoCon"></div>');let[s,n,e,l,t]=await a("pannel/box -pack","pannel/text -pack","pannel/bg -pack","pannel/animate -pack","pannel/image -pack").post(i);p.push(s),p.push(t),p.push(n),p.push(l),p.push(e),$(".split_con").push(p)},async showLayers(){s?s.display="":(s=await a("pannel/layers -pack").post(i),$(".split_con").push(s))},async showPreview(){n?n.display="":(n=await a("pannel/preview -pack").post(i),$(".split_con").push(n))},async showView(){e?e.display="":(e=await a("./view").post(i),$(".split_con").push(e))},hideAllPannel(){$(".split_con").forEach(a=>{a.display="none"})}}});