/*! * jquery ui position 1.11.4 * http://jqueryui.com * * copyright jquery foundation and other contributors * released under the mit license. * http://jquery.org/license * * http://api.jqueryui.com/position/ */ !function(t){"function"==typeof define&&define.amd?define(["jquery"],t):t(jquery)}(function(i){return function(){i.ui=i.ui||{};var o,h,x=math.max,t=math.abs,l=math.round,n=/left|center|right/,l=/top|center|bottom/,f=/[\+\-]\d+(\.[\d]+)?%?/,s=/^\w+/,h=/%$/,e=i.fn.position;function p(t,i,e){return[parsefloat(t[0])*(h.test(t[0])?i/100:1),parsefloat(t[1])*(h.test(t[1])?e/100:1)]}function d(t,i){return parseint(i.css(t,i),10)||0}i.position={scrollbarwidth:function(){if(void 0!==o)return o;var t,i=i("
"),e=i.children()[0];return i("body").append(i),t=e.offsetwidth,i.css("overflow","scroll"),t===(e=e.offsetwidth)&&(e=i[0].clientwidth),i.remove(),o=t-e},getscrollinfo:function(t){var i=t.iswindow||t.isdocument?"":t.element.css("overflow-x"),e=t.iswindow||t.isdocument?"":t.element.css("overflow-y"),i="scroll"===i||"auto"===i&&t.width