drill.init(async e=>{let t,i=await e("common/selfSplitData"),[a,c]=await e("util/selectAnimate","util/selecteSource");window.addEventListener("resize",e=>{clearTimeout(t),t=setTimeout(()=>{i.w=window.innerWidth,i.h=window.innerHeight},200)}),i.watch("command",async(e,t)=>{if(t&&"string"==typeof t){let e=t.split(":");if(e.length>1)switch(e[0]){case"click":let t=$(e[1]);t&&t.ele.click()}else{let e="";switch(t){case"selecteSource":e=await c();break;case"selectAnimate":e=await a()}i.command=e}}})});