define(["Logger"],function(r){"use strict";return{generatePageTransformData:function(t,n,a,e){if(!t)return null;var s=JSON.parse("{}"),i=e||n>0,o=e||n<0;return t.currentPage&&(s[t.currentPage.getId()]={transform:"translate3d("+n+"px,0,0)","-webkit-transform":"translate3d("+n+"px,0,0)",transitionDuration:a+"ms"}),i&&t.previousPage&&(s[t.previousPage.getId()]={transform:"translate3d("+n+"px,0,0)","-webkit-transform":"translate3d("+n+"px,0,0)",transitionDuration:a+"ms"}),o&&t.nextPage&&(s[t.nextPage.getId()]={transform:"translate3d("+n+"px,0,0)","-webkit-transform":"translate3d("+n+"px,0,0)",transitionDuration:a+"ms"}),"{}"!==JSON.stringify(s)?s:(r.info("SwipeHandler::transformPages: There is no page to transform!"),null)}}});