/* * Kendo UI Complete v2013.3.1119 (http://kendoui.com) * Copyright 2013 Telerik AD. All rights reserved. * * Kendo UI Complete commercial licenses may be obtained at * https://www.kendoui.com/purchase/license-agreement/kendo-ui-complete-commercial.aspx * If you do not own a commercial license, this file shall be governed by the trial license terms. */ !function(define){return define(["./kendo.core.min","./kendo.userevents.min"],function(){!function(t){var e=window.kendo,n=e.ui.Widget,i=t.proxy,a=Math.abs,o=20,r=e.Class.extend({init:function(n,i,o){o=t.extend({minXDelta:30,maxYDelta:20,maxDuration:1e3},o),new e.UserEvents(n,{surface:o.surface,allowSelection:!0,start:function(t){2*a(t.x.velocity)>=a(t.y.velocity)&&t.sender.capture()},move:function(t){var e=t.touch,n=t.event.timeStamp-e.startTime,r=e.x.initialDelta>0?"right":"left";a(e.x.initialDelta)>=o.minXDelta&&a(e.y.initialDelta)=a(t.y.velocity)&&t.sender.capture()},_swipemove:function(t){var e=this,n=e.options,i=t.touch,o=t.event.timeStamp-i.startTime,r=i.x.initialDelta>0?"right":"left";a(i.x.initialDelta)>=n.minXDelta&&a(i.y.initialDelta)