drill.init(async(n,e)=>{await n("./page.css");let[a,t,i]=await n("util/syncPannelSelected","common/animation","util/selectAnimate"),{code:c}=await n("./page.dcode"),l=$(c),{runInBtn:u,runOutBtn:m,resRunInBtn:r,resRunOutBtn:s,btnGroupEle:o}=l.marks,p=l.viewData();Object.assign(p,{pageIn:"",pageOut:"",runAnime:"",runOutAnime:""}),u.on("click",n=>{p.runAnime=1}),m.on("click",n=>{p.runAnime=2}),r.on("click",n=>{p.runAnime=3}),s.on("click",n=>{p.runAnime=4}),p.watch("runAnime",(n,e)=>{0==e?o.class.remove("not_click"):o.class.add("not_click")});let{pageInBtn:g,pageOutBtn:d}=l.marks;return p.watch({pageIn(n,e){let a=e;t.animateIn.some(n=>{if(n.animateId==e)return a=n.name,!0}),g.text=a},pageOut(n,e){let a=e;t.animateOut.some(n=>{if(n.animateId==e)return a=n.name,!0}),d.text=a}}),g.on("click",async n=>{let e=await i("in","page");e&&(p.pageIn=e.value)}),d.on("click",async n=>{let e=await i("out","page");e&&(p.pageOut=e.value)}),a(e,p,n=>{n&&"p-page"==n.tag?l.display="":l.display="none"}),window.pageData=p,l});