M("#plane",function(e,t){var n=Browser.webkit?document.body:document.documentElement,r=0,i=Dom.getDocRect().scrollHeight;e(".upToTop").on("click",function(e){e.preventDefault();var t=new ElAnim(n,{scrollTop:{to:r}},1e3,QW.Easing.easeBothStrong);t.play()}),t.receive("window-resize",function(){var e=Dom.getDocRect().width;t[e<1100?"hide":"show"]()}),QW.W(window).on("scroll",function(t){var n=Dom.getDocRect();n.scrollY>n.height?e(".upToTop").show():e(".upToTop").hide()}),QW.W(window).on("resize",function(){t.tweet("window-resize")}),t.tweet("window-resize")});