",{title:i.element.attr("title")});return i.disabled&&this._addclass(s,null,"ui-state-disabled"),this._settext(n,i.label),s.append(n).appendto(e)},_settext:function(t,e){e?t.text(e):t.html(" ")},_move:function(t,e){var i,s,n=".ui-menu-item";this.isopen?i=this.menuitems.eq(this.focusindex).parent("li"):(i=this.menuitems.eq(this.element[0].selectedindex).parent("li"),n+=":not(.ui-state-disabled)"),s="first"===t||"last"===t?i["first"===t?"prevall":"nextall"](n).eq(-1):i[t+"all"](n).eq(0),s.length&&this.menuinstance.focus(e,s)},_getselecteditem:function(){return this.menuitems.eq(this.element[0].selectedindex).parent("li")},_toggle:function(t){this[this.isopen?"close":"open"](t)},_setselection:function(){var t;this.range&&(window.getselection?(t=window.getselection(),t.removeallranges(),t.addrange(this.range)):this.range.select(),this.button.focus())},_documentclick:{mousedown:function(e){this.isopen&&(t(e.target).closest(".ui-selectmenu-menu, #"+t.ui.escapeselector(this.ids.button)).length||this.close(e))}},_buttonevents:{mousedown:function(){var t;window.getselection?(t=window.getselection(),t.rangecount&&(this.range=t.getrangeat(0))):this.range=document.selection.createrange()},click:function(t){this._setselection(),this._toggle(t)},keydown:function(e){var i=!0;switch(e.keycode){case t.ui.keycode.tab:case t.ui.keycode.escape:this.close(e),i=!1;break;case t.ui.keycode.enter:this.isopen&&this._selectfocuseditem(e);break;case t.ui.keycode.up:e.altkey?this._toggle(e):this._move("prev",e);break;case t.ui.keycode.down:e.altkey?this._toggle(e):this._move("next",e);break;case t.ui.keycode.space:this.isopen?this._selectfocuseditem(e):this._toggle(e);break;case t.ui.keycode.left:this._move("prev",e);break;case t.ui.keycode.right:this._move("next",e);break;case t.ui.keycode.home:case t.ui.keycode.page_up:this._move("first",e);break;case t.ui.keycode.end:case t.ui.keycode.page_down:this._move("last",e);break;default:this.menu.trigger(e),i=!1}i&&e.preventdefault()}},_selectfocuseditem:function(t){var e=this.menuitems.eq(this.focusindex).parent("li");e.hasclass("ui-state-disabled")||this._select(e.data("ui-selectmenu-item"),t)},_select:function(t,e){var i=this.element[0].selectedindex;this.element[0].selectedindex=t.index,this.buttonitem.replacewith(this.buttonitem=this._renderbuttonitem(t)),this._setaria(t),this._trigger("select",e,{item:t}),t.index!==i&&this._trigger("change",e,{item:t}),this.close(e)},_setaria:function(t){var e=this.menuitems.eq(t.index).attr("id");this.button.attr({"aria-labelledby":e,"aria-activedescendant":e}),this.menu.attr("aria-activedescendant",e)},_setoption:function(t,e){if("icons"===t){var i=this.button.find("span.ui-icon");this._removeclass(i,null,this.options.icons.button)._addclass(i,null,e.button)}this._super(t,e),"appendto"===t&&this.menuwrap.appendto(this._appendto()),"width"===t&&this._resizebutton()},_setoptiondisabled:function(t){this._super(t),this.menuinstance.option("disabled",t),this.button.attr("aria-disabled",t),this._toggleclass(this.button,null,"ui-state-disabled",t),this.element.prop("disabled",t),t?(this.button.attr("tabindex",-1),this.close()):this.button.attr("tabindex",0)},_appendto:function(){var e=this.options.appendto;return e&&(e=e.jquery||e.nodetype?t(e):this.document.find(e).eq(0)),e&&e[0]||(e=this.element.closest(".ui-front, dialog")),e.length||(e=this.document[0].body),e},_toggleattr:function(){this.button.attr("aria-expanded",this.isopen),this._removeclass(this.button,"ui-selectmenu-button-"+(this.isopen?"closed":"open"))._addclass(this.button,"ui-selectmenu-button-"+(this.isopen?"open":"closed"))._toggleclass(this.menuwrap,"ui-selectmenu-open",null,this.isopen),this.menu.attr("aria-hidden",!this.isopen)},_resizebutton:function(){var t=this.options.width;return t===!1?(this.button.css("width",""),void 0):(null===t&&(t=this.element.show().outerwidth(),this.element.hide()),this.button.outerwidth(t),void 0)},_resizemenu:function(){this.menu.outerwidth(math.max(this.button.outerwidth(),this.menu.width("").outerwidth()+1))},_getcreateoptions:function(){var t=this._super();return t.disabled=this.element.prop("disabled"),t},_parseoptions:function(e){var i=this,s=[];e.each(function(e,n){s.push(i._parseoption(t(n),e))}),this.items=s},_parseoption:function(t,e){var i=t.parent("optgroup");return{element:t,index:e,value:t.val(),label:t.text(),optgroup:i.attr("label")||"",disabled:i.prop("disabled")||t.prop("disabled")}},_destroy:function(){this._unbindformresethandler(),this.menuwrap.remove(),this.button.remove(),this.element.show(),this.element.removeuniqueid(),this.labels.attr("for",this.ids.element)}}]),t.widget("ui.slider",t.ui.mouse,{version:"1.12.1",widgeteventprefix:"slide",options:{animate:!1,classes:{"ui-slider":"ui-corner-all","ui-slider-handle":"ui-corner-all","ui-slider-range":"ui-corner-all ui-widget-header"},distance:0,max:100,min:0,orientation:"horizontal",range:!1,step:1,value:0,values:null,change:null,slide:null,start:null,stop:null},numpages:5,_create:function(){this._keysliding=!1,this._mousesliding=!1,this._animateoff=!0,this._handleindex=null,this._detectorientation(),this._mouseinit(),this._calculatenewmax(),this._addclass("ui-slider ui-slider-"+this.orientation,"ui-widget ui-widget-content"),this._refresh(),this._animateoff=!1},_refresh:function(){this._createrange(),this._createhandles(),this._setupevents(),this._refreshvalue()},_createhandles:function(){var e,i,s=this.options,n=this.element.find(".ui-slider-handle"),o="
",a=[];for(i=s.values&&s.values.length||1,n.length>i&&(n.slice(i).remove(),n=n.slice(0,i)),e=n.length;i>e;e++)a.push(o);this.handles=n.add(t(a.join("")).appendto(this.element)),this._addclass(this.handles,"ui-slider-handle","ui-state-default"),this.handle=this.handles.eq(0),this.handles.each(function(e){t(this).data("ui-slider-handle-index",e).attr("tabindex",0)})},_createrange:function(){var e=this.options;e.range?(e.range===!0&&(e.values?e.values.length&&2!==e.values.length?e.values=[e.values[0],e.values[0]]:t.isarray(e.values)&&(e.values=e.values.slice(0)):e.values=[this._valuemin(),this._valuemin()]),this.range&&this.range.length?(this._removeclass(this.range,"ui-slider-range-min ui-slider-range-max"),this.range.css({left:"",bottom:""})):(this.range=t("
").appendto(this.element),this._addclass(this.range,"ui-slider-range")),("min"===e.range||"max"===e.range)&&this._addclass(this.range,"ui-slider-range-"+e.range)):(this.range&&this.range.remove(),this.range=null)},_setupevents:function(){this._off(this.handles),this._on(this.handles,this._handleevents),this._hoverable(this.handles),this._focusable(this.handles)},_destroy:function(){this.handles.remove(),this.range&&this.range.remove(),this._mousedestroy()},_mousecapture:function(e){var i,s,n,o,a,r,l,h,c=this,u=this.options;return u.disabled?!1:(this.elementsize={width:this.element.outerwidth(),height:this.element.outerheight()},this.elementoffset=this.element.offset(),i={x:e.pagex,y:e.pagey},s=this._normvaluefrommouse(i),n=this._valuemax()-this._valuemin()+1,this.handles.each(function(e){var i=math.abs(s-c.values(e));(n>i||n===i&&(e===c._lastchangedvalue||c.values(e)===u.min))&&(n=i,o=t(this),a=e)}),r=this._start(e,a),r===!1?!1:(this._mousesliding=!0,this._handleindex=a,this._addclass(o,null,"ui-state-active"),o.trigger("focus"),l=o.offset(),h=!t(e.target).parents().addback().is(".ui-slider-handle"),this._clickoffset=h?{left:0,top:0}:{left:e.pagex-l.left-o.width()/2,top:e.pagey-l.top-o.height()/2-(parseint(o.css("bordertopwidth"),10)||0)-(parseint(o.css("borderbottomwidth"),10)||0)+(parseint(o.css("margintop"),10)||0)},this.handles.hasclass("ui-state-hover")||this._slide(e,a,s),this._animateoff=!0,!0))},_mousestart:function(){return!0},_mousedrag:function(t){var e={x:t.pagex,y:t.pagey},i=this._normvaluefrommouse(e);return this._slide(t,this._handleindex,i),!1},_mousestop:function(t){return this._removeclass(this.handles,null,"ui-state-active"),this._mousesliding=!1,this._stop(t,this._handleindex),this._change(t,this._handleindex),this._handleindex=null,this._clickoffset=null,this._animateoff=!1,!1},_detectorientation:function(){this.orientation="vertical"===this.options.orientation?"vertical":"horizontal"},_normvaluefrommouse:function(t){var e,i,s,n,o;return"horizontal"===this.orientation?(e=this.elementsize.width,i=t.x-this.elementoffset.left-(this._clickoffset?this._clickoffset.left:0)):(e=this.elementsize.height,i=t.y-this.elementoffset.top-(this._clickoffset?this._clickoffset.top:0)),s=i/e,s>1&&(s=1),0>s&&(s=0),"vertical"===this.orientation&&(s=1-s),n=this._valuemax()-this._valuemin(),o=this._valuemin()+s*n,this._trimalignvalue(o)},_uihash:function(t,e,i){var s={handle:this.handles[t],handleindex:t,value:void 0!==e?e:this.value()};return this._hasmultiplevalues()&&(s.value=void 0!==e?e:this.values(t),s.values=i||this.values()),s},_hasmultiplevalues:function(){return this.options.values&&this.options.values.length},_start:function(t,e){return this._trigger("start",t,this._uihash(e))},_slide:function(t,e,i){var s,n,o=this.value(),a=this.values();this._hasmultiplevalues()&&(n=this.values(e?0:1),o=this.values(e),2===this.options.values.length&&this.options.range===!0&&(i=0===e?math.min(n,i):math.max(n,i)),a[e]=i),i!==o&&(s=this._trigger("slide",t,this._uihash(e,i,a)),s!==!1&&(this._hasmultiplevalues()?this.values(e,i):this.value(i)))},_stop:function(t,e){this._trigger("stop",t,this._uihash(e))},_change:function(t,e){this._keysliding||this._mousesliding||(this._lastchangedvalue=e,this._trigger("change",t,this._uihash(e)))},value:function(t){return arguments.length?(this.options.value=this._trimalignvalue(t),this._refreshvalue(),this._change(null,0),void 0):this._value()},values:function(e,i){var s,n,o;if(arguments.length>1)return this.options.values[e]=this._trimalignvalue(i),this._refreshvalue(),this._change(null,e),void 0;if(!arguments.length)return this._values();if(!t.isarray(arguments[0]))return this._hasmultiplevalues()?this._values(e):this.value();for(s=this.options.values,n=arguments[0],o=0;s.length>o;o+=1)s[o]=this._trimalignvalue(n[o]),this._change(null,o);this._refreshvalue()},_setoption:function(e,i){var s,n=0;switch("range"===e&&this.options.range===!0&&("min"===i?(this.options.value=this._values(0),this.options.values=null):"max"===i&&(this.options.value=this._values(this.options.values.length-1),this.options.values=null)),t.isarray(this.options.values)&&(n=this.options.values.length),this._super(e,i),e){case"orientation":this._detectorientation(),this._removeclass("ui-slider-horizontal ui-slider-vertical")._addclass("ui-slider-"+this.orientation),this._refreshvalue(),this.options.range&&this._refreshrange(i),this.handles.css("horizontal"===i?"bottom":"left","");break;case"value":this._animateoff=!0,this._refreshvalue(),this._change(null,0),this._animateoff=!1;break;case"values":for(this._animateoff=!0,this._refreshvalue(),s=n-1;s>=0;s--)this._change(null,s);this._animateoff=!1;break;case"step":case"min":case"max":this._animateoff=!0,this._calculatenewmax(),this._refreshvalue(),this._animateoff=!1;break;case"range":this._animateoff=!0,this._refresh(),this._animateoff=!1}},_setoptiondisabled:function(t){this._super(t),this._toggleclass(null,"ui-state-disabled",!!t)},_value:function(){var t=this.options.value;return t=this._trimalignvalue(t)},_values:function(t){var e,i,s;if(arguments.length)return e=this.options.values[t],e=this._trimalignvalue(e);if(this._hasmultiplevalues()){for(i=this.options.values.slice(),s=0;i.length>s;s+=1)i[s]=this._trimalignvalue(i[s]);return i}return[]},_trimalignvalue:function(t){if(this._valuemin()>=t)return this._valuemin();if(t>=this._valuemax())return this._valuemax();var e=this.options.step>0?this.options.step:1,i=(t-this._valuemin())%e,s=t-i;return 2*math.abs(i)>=e&&(s+=i>0?e:-e),parsefloat(s.tofixed(5))},_calculatenewmax:function(){var t=this.options.max,e=this._valuemin(),i=this.options.step,s=math.round((t-e)/i)*i;t=s+e,t>this.options.max&&(t-=i),this.max=parsefloat(t.tofixed(this._precision()))},_precision:function(){var t=this._precisionof(this.options.step);
return null!==this.options.min&&(t=math.max(t,this._precisionof(this.options.min))),t},_precisionof:function(t){var e=""+t,i=e.indexof(".");return-1===i?0:e.length-i-1},_valuemin:function(){return this.options.min},_valuemax:function(){return this.max},_refreshrange:function(t){"vertical"===t&&this.range.css({width:"",left:""}),"horizontal"===t&&this.range.css({height:"",bottom:""})},_refreshvalue:function(){var e,i,s,n,o,a=this.options.range,r=this.options,l=this,h=this._animateoff?!1:r.animate,c={};this._hasmultiplevalues()?this.handles.each(function(s){i=100*((l.values(s)-l._valuemin())/(l._valuemax()-l._valuemin())),c["horizontal"===l.orientation?"left":"bottom"]=i+"%",t(this).stop(1,1)[h?"animate":"css"](c,r.animate),l.options.range===!0&&("horizontal"===l.orientation?(0===s&&l.range.stop(1,1)[h?"animate":"css"]({left:i+"%"},r.animate),1===s&&l.range[h?"animate":"css"]({width:i-e+"%"},{queue:!1,duration:r.animate})):(0===s&&l.range.stop(1,1)[h?"animate":"css"]({bottom:i+"%"},r.animate),1===s&&l.range[h?"animate":"css"]({height:i-e+"%"},{queue:!1,duration:r.animate}))),e=i}):(s=this.value(),n=this._valuemin(),o=this._valuemax(),i=o!==n?100*((s-n)/(o-n)):0,c["horizontal"===this.orientation?"left":"bottom"]=i+"%",this.handle.stop(1,1)[h?"animate":"css"](c,r.animate),"min"===a&&"horizontal"===this.orientation&&this.range.stop(1,1)[h?"animate":"css"]({width:i+"%"},r.animate),"max"===a&&"horizontal"===this.orientation&&this.range.stop(1,1)[h?"animate":"css"]({width:100-i+"%"},r.animate),"min"===a&&"vertical"===this.orientation&&this.range.stop(1,1)[h?"animate":"css"]({height:i+"%"},r.animate),"max"===a&&"vertical"===this.orientation&&this.range.stop(1,1)[h?"animate":"css"]({height:100-i+"%"},r.animate))},_handleevents:{keydown:function(e){var i,s,n,o,a=t(e.target).data("ui-slider-handle-index");switch(e.keycode){case t.ui.keycode.home:case t.ui.keycode.end:case t.ui.keycode.page_up:case t.ui.keycode.page_down:case t.ui.keycode.up:case t.ui.keycode.right:case t.ui.keycode.down:case t.ui.keycode.left:if(e.preventdefault(),!this._keysliding&&(this._keysliding=!0,this._addclass(t(e.target),null,"ui-state-active"),i=this._start(e,a),i===!1))return}switch(o=this.options.step,s=n=this._hasmultiplevalues()?this.values(a):this.value(),e.keycode){case t.ui.keycode.home:n=this._valuemin();break;case t.ui.keycode.end:n=this._valuemax();break;case t.ui.keycode.page_up:n=this._trimalignvalue(s+(this._valuemax()-this._valuemin())/this.numpages);break;case t.ui.keycode.page_down:n=this._trimalignvalue(s-(this._valuemax()-this._valuemin())/this.numpages);break;case t.ui.keycode.up:case t.ui.keycode.right:if(s===this._valuemax())return;n=this._trimalignvalue(s+o);break;case t.ui.keycode.down:case t.ui.keycode.left:if(s===this._valuemin())return;n=this._trimalignvalue(s-o)}this._slide(e,a,n)},keyup:function(e){var i=t(e.target).data("ui-slider-handle-index");this._keysliding&&(this._keysliding=!1,this._stop(e,i),this._change(e,i),this._removeclass(t(e.target),null,"ui-state-active"))}}}),t.widget("ui.spinner",{version:"1.12.1",defaultelement:"
",widgeteventprefix:"spin",options:{classes:{"ui-spinner":"ui-corner-all","ui-spinner-down":"ui-corner-br","ui-spinner-up":"ui-corner-tr"},culture:null,icons:{down:"ui-icon-triangle-1-s",up:"ui-icon-triangle-1-n"},incremental:!0,max:null,min:null,numberformat:null,page:10,step:1,change:null,spin:null,start:null,stop:null},_create:function(){this._setoption("max",this.options.max),this._setoption("min",this.options.min),this._setoption("step",this.options.step),""!==this.value()&&this._value(this.element.val(),!0),this._draw(),this._on(this._events),this._refresh(),this._on(this.window,{beforeunload:function(){this.element.removeattr("autocomplete")}})},_getcreateoptions:function(){var e=this._super(),i=this.element;return t.each(["min","max","step"],function(t,s){var n=i.attr(s);null!=n&&n.length&&(e[s]=n)}),e},_events:{keydown:function(t){this._start(t)&&this._keydown(t)&&t.preventdefault()},keyup:"_stop",focus:function(){this.previous=this.element.val()},blur:function(t){return this.cancelblur?(delete this.cancelblur,void 0):(this._stop(),this._refresh(),this.previous!==this.element.val()&&this._trigger("change",t),void 0)},mousewheel:function(t,e){if(e){if(!this.spinning&&!this._start(t))return!1;this._spin((e>0?1:-1)*this.options.step,t),cleartimeout(this.mousewheeltimer),this.mousewheeltimer=this._delay(function(){this.spinning&&this._stop(t)},100),t.preventdefault()}},"mousedown .ui-spinner-button":function(e){function i(){var e=this.element[0]===t.ui.safeactiveelement(this.document[0]);e||(this.element.trigger("focus"),this.previous=s,this._delay(function(){this.previous=s}))}var s;s=this.element[0]===t.ui.safeactiveelement(this.document[0])?this.previous:this.element.val(),e.preventdefault(),i.call(this),this.cancelblur=!0,this._delay(function(){delete this.cancelblur,i.call(this)}),this._start(e)!==!1&&this._repeat(null,t(e.currenttarget).hasclass("ui-spinner-up")?1:-1,e)},"mouseup .ui-spinner-button":"_stop","mouseenter .ui-spinner-button":function(e){return t(e.currenttarget).hasclass("ui-state-active")?this._start(e)===!1?!1:(this._repeat(null,t(e.currenttarget).hasclass("ui-spinner-up")?1:-1,e),void 0):void 0},"mouseleave .ui-spinner-button":"_stop"},_enhance:function(){this.uispinner=this.element.attr("autocomplete","off").wrap("
").parent().append("")},_draw:function(){this._enhance(),this._addclass(this.uispinner,"ui-spinner","ui-widget ui-widget-content"),this._addclass("ui-spinner-input"),this.element.attr("role","spinbutton"),this.buttons=this.uispinner.children("a").attr("tabindex",-1).attr("aria-hidden",!0).button({classes:{"ui-button":""}}),this._removeclass(this.buttons,"ui-corner-all"),this._addclass(this.buttons.first(),"ui-spinner-button ui-spinner-up"),this._addclass(this.buttons.last(),"ui-spinner-button ui-spinner-down"),this.buttons.first().button({icon:this.options.icons.up,showlabel:!1}),this.buttons.last().button({icon:this.options.icons.down,showlabel:!1}),this.buttons.height()>math.ceil(.5*this.uispinner.height())&&this.uispinner.height()>0&&this.uispinner.height(this.uispinner.height())},_keydown:function(e){var i=this.options,s=t.ui.keycode;switch(e.keycode){case s.up:return this._repeat(null,1,e),!0;case s.down:return this._repeat(null,-1,e),!0;case s.page_up:return this._repeat(null,i.page,e),!0;case s.page_down:return this._repeat(null,-i.page,e),!0}return!1},_start:function(t){return this.spinning||this._trigger("start",t)!==!1?(this.counter||(this.counter=1),this.spinning=!0,!0):!1},_repeat:function(t,e,i){t=t||500,cleartimeout(this.timer),this.timer=this._delay(function(){this._repeat(40,e,i)},t),this._spin(e*this.options.step,i)},_spin:function(t,e){var i=this.value()||0;this.counter||(this.counter=1),i=this._adjustvalue(i+t*this._increment(this.counter)),this.spinning&&this._trigger("spin",e,{value:i})===!1||(this._value(i),this.counter++)},_increment:function(e){var i=this.options.incremental;return i?t.isfunction(i)?i(e):math.floor(e*e*e/5e4-e*e/500+17*e/200+1):1},_precision:function(){var t=this._precisionof(this.options.step);return null!==this.options.min&&(t=math.max(t,this._precisionof(this.options.min))),t},_precisionof:function(t){var e=""+t,i=e.indexof(".");return-1===i?0:e.length-i-1},_adjustvalue:function(t){var e,i,s=this.options;return e=null!==s.min?s.min:0,i=t-e,i=math.round(i/s.step)*s.step,t=e+i,t=parsefloat(t.tofixed(this._precision())),null!==s.max&&t>s.max?s.max:null!==s.min&&s.min>t?s.min:t},_stop:function(t){this.spinning&&(cleartimeout(this.timer),cleartimeout(this.mousewheeltimer),this.counter=0,this.spinning=!1,this._trigger("stop",t))},_setoption:function(t,e){var i,s,n;return"culture"===t||"numberformat"===t?(i=this._parse(this.element.val()),this.options[t]=e,this.element.val(this._format(i)),void 0):(("max"===t||"min"===t||"step"===t)&&"string"==typeof e&&(e=this._parse(e)),"icons"===t&&(s=this.buttons.first().find(".ui-icon"),this._removeclass(s,null,this.options.icons.up),this._addclass(s,null,e.up),n=this.buttons.last().find(".ui-icon"),this._removeclass(n,null,this.options.icons.down),this._addclass(n,null,e.down)),this._super(t,e),void 0)},_setoptiondisabled:function(t){this._super(t),this._toggleclass(this.uispinner,null,"ui-state-disabled",!!t),this.element.prop("disabled",!!t),this.buttons.button(t?"disable":"enable")},_setoptions:r(function(t){this._super(t)}),_parse:function(t){return"string"==typeof t&&""!==t&&(t=window.globalize&&this.options.numberformat?globalize.parsefloat(t,10,this.options.culture):+t),""===t||isnan(t)?null:t},_format:function(t){return""===t?"":window.globalize&&this.options.numberformat?globalize.format(t,this.options.numberformat,this.options.culture):t},_refresh:function(){this.element.attr({"aria-valuemin":this.options.min,"aria-valuemax":this.options.max,"aria-valuenow":this._parse(this.element.val())})},isvalid:function(){var t=this.value();return null===t?!1:t===this._adjustvalue(t)},_value:function(t,e){var i;""!==t&&(i=this._parse(t),null!==i&&(e||(i=this._adjustvalue(i)),t=this._format(i))),this.element.val(t),this._refresh()},_destroy:function(){this.element.prop("disabled",!1).removeattr("autocomplete role aria-valuemin aria-valuemax aria-valuenow"),this.uispinner.replacewith(this.element)},stepup:r(function(t){this._stepup(t)}),_stepup:function(t){this._start()&&(this._spin((t||1)*this.options.step),this._stop())},stepdown:r(function(t){this._stepdown(t)}),_stepdown:function(t){this._start()&&(this._spin((t||1)*-this.options.step),this._stop())},pageup:r(function(t){this._stepup((t||1)*this.options.page)}),pagedown:r(function(t){this._stepdown((t||1)*this.options.page)}),value:function(t){return arguments.length?(r(this._value).call(this,t),void 0):this._parse(this.element.val())},widget:function(){return this.uispinner}}),t.uibackcompat!==!1&&t.widget("ui.spinner",t.ui.spinner,{_enhance:function(){this.uispinner=this.element.attr("autocomplete","off").wrap(this._uispinnerhtml()).parent().append(this._buttonhtml())},_uispinnerhtml:function(){return""},_buttonhtml:function(){return""}}),t.ui.spinner});