drill.init(async(e,a)=>{let t=await e("util/uploadSource");a.que(".viewgroup").on("click",".con_right_tool_btn",e=>{let{delegateTarget:t}=e,i=t.parent.que(".active");if(i!=t)switch(i.class.remove("active"),t.class.add("active"),t.data.btntype){case"big":a.attr("view-mode","big");break;case"normal":a.attr("view-mode","normal")}}),a.que(".addFileBtn input").on("change",function(e){Array.from(this.ele.files).forEach(e=>{t(e)})})});