/** * Kendo UI v2019.2.514 (http://www.telerik.com/kendo-ui) * Copyright 2019 Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved. * * Kendo UI commercial licenses may be obtained at * http://www.telerik.com/purchase/license-agreement/kendo-ui-complete * If you do not own a commercial license, this file shall be governed by the trial license terms. */ !function(e,define){define("kendo.mobile.popover.min",["kendo.popup.min","kendo.mobile.pane.min"],e)}(function(){return function(e,o){var i=window.kendo,t=i.mobile,n=t.ui,p="hide",r="open",s="close",a='
',l='',d='',c="km-up km-down km-left km-right",h=n.Widget,u={down:{origin:"bottom center",position:"top center"},up:{origin:"top center",position:"bottom center"},left:{origin:"center left",position:"center right",collision:"fit flip"},right:{origin:"center right",position:"center left",collision:"fit flip"}},f={animation:{open:{effects:"fade:in",duration:0},close:{effects:"fade:out",duration:400}}},w={horizontal:{offset:"top",size:"height"},vertical:{offset:"left",size:"width"}},m={up:"down",down:"up",left:"right",right:"left"},v=h.extend({init:function(o,t){var n,r,s=this,c=o.closest(".km-modalview-wrapper"),m=o.closest(".km-root").children(".km-pane").first(),v=c[0]?c:m;t.viewport?m=t.viewport:m[0]||(m=window),t.container?v=t.container:v[0]||(v=document.body),n={viewport:m,copyAnchorStyles:!1,autosize:!0,open:function(){s.overlay.show()},activate:e.proxy(s._activate,s),deactivate:function(){s.overlay.hide(),s._apiCall||s.trigger(p),s._apiCall=!1}},h.fn.init.call(s,o,t),o=s.element,t=s.options,o.wrap(a).addClass("km-popup").show(),r=s.options.direction.match(/left|right/)?"horizontal":"vertical",s.dimensions=w[r],s.wrapper=o.parent().css({width:t.width,height:t.height}).addClass("km-popup-wrapper km-"+t.direction).hide(),s.arrow=e(l).prependTo(s.wrapper).hide(),s.overlay=e(d).appendTo(v).hide(),n.appendTo=s.overlay,t.className&&s.overlay.addClass(t.className),s.popup=new i.ui.Popup(s.wrapper,e.extend(!0,n,f,u[t.direction]))},options:{name:"Popup",width:240,height:"",direction:"down",container:null,viewport:null},events:[p],show:function(o){this.popup.options.anchor=e(o),this.popup.open()},hide:function(){this._apiCall=!0,this.popup.close()},destroy:function(){h.fn.destroy.call(this),this.popup.destroy(),this.overlay.remove()},target:function(){return this.popup.options.anchor},_activate:function(){var o=this,i=o.options.direction,t=o.dimensions,n=t.offset,p=o.popup,r=p.options.anchor,s=e(r).offset(),a=e(p.element).offset(),l=p.flipped?m[i]:i,d=2*o.arrow[t.size](),h=o.element[t.size]()-o.arrow[t.size](),u=e(r)[t.size](),f=s[n]-a[n]+u/2;f