")).addClass("ui-dialog-buttonpane ui-widget-content ui-helper-clearfix"),(this.uiButtonSet=l("
")).addClass("ui-dialog-buttonset").appendTo(n),a.attr({role:"dialog","aria-labelledby":e.attr("id")}),i.find("*").add(i).disableSelection(),this._hoverable(t),this._focusable(t),s.draggable&&l.fn.draggable&&this._makeDraggable(),s.resizable&&l.fn.resizable&&this._makeResizable(),this._createButtons(s.buttons),this._isOpen=!1,l.fn.bgiframe&&a.bgiframe(),this._on(a,{keydown:function(i){if(s.modal&&i.keyCode===l.ui.keyCode.TAB){var t=l(":tabbable",a),e=t.filter(":first"),t=t.filter(":last");return i.target!==t[0]||i.shiftKey?i.target===e[0]&&i.shiftKey?(t.focus(1),!1):void 0:(e.focus(1),!1)}}})},_init:function(){this.options.autoOpen&&this.open()},_destroy:function(){var i,t=this.oldPosition;this.overlay&&this.overlay.destroy(),this.uiDialog.hide(),this.element.removeClass("ui-dialog-content ui-widget-content").hide().appendTo("body"),this.uiDialog.remove(),this.originalTitle&&this.element.attr("title",this.originalTitle),(i=t.parent.children().eq(t.index)).length&&i[0]!==this.element[0]?i.before(this.element):t.parent.append(this.element)},widget:function(){return this.uiDialog},close:function(i){var t,e,o=this;if(this._isOpen&&!1!==this._trigger("beforeClose",i))return this._isOpen=!1,this.overlay&&this.overlay.destroy(),this.options.hide?this._hide(this.uiDialog,this.options.hide,function(){o._trigger("close",i)}):(this.uiDialog.hide(),this._trigger("close",i)),l.ui.dialog.overlay.resize(),this.options.modal&&(t=0,l(".ui-dialog").each(function(){this!==o.uiDialog[0]&&(e=l(this).css("z-index"),isNaN(e)||(t=Math.max(t,e)))}),l.ui.dialog.maxZ=t),this},isOpen:function(){return this._isOpen},moveToTop:function(i,t){var e=this.options;return e.modal&&!i||!e.stack&&!e.modal?this._trigger("focus",t):(e.zIndex>l.ui.dialog.maxZ&&(l.ui.dialog.maxZ=e.zIndex),this.overlay&&(l.ui.dialog.maxZ+=1,l.ui.dialog.overlay.maxZ=l.ui.dialog.maxZ,this.overlay.$el.css("z-index",l.ui.dialog.overlay.maxZ)),e={scrollTop:this.element.scrollTop(),scrollLeft:this.element.scrollLeft()},l.ui.dialog.maxZ+=1,this.uiDialog.css("z-index",l.ui.dialog.maxZ),this.element.attr(e),this._trigger("focus",t),this)},open:function(){if(!this._isOpen){var i=this.options,t=this.uiDialog;return this._size(),this._position(i.position),t.show(i.show),this.overlay=i.modal?new l.ui.dialog.overlay(this):null,this.moveToTop(!0),(i=!(i=this.element.find(":tabbable")).length&&!(i=this.uiDialogButtonPane.find(":tabbable")).length?t:i).eq(0).focus(),this._isOpen=!0,this._trigger("open"),this}},_createButtons:function(i){var o=this,t=!1;this.uiDialogButtonPane.remove(),this.uiButtonSet.empty(),"object"==typeof i&&null!==i&&l.each(i,function(){return!(t=!0)}),t?(l.each(i,function(i,t){var e;t=l.isFunction(t)?{click:t,text:i}:t,t=l.extend({type:"button"},t),e=t.click,t.click=function(){e.apply(o.element[0],arguments)},t=l("",t).appendTo(o.uiButtonSet),l.fn.button&&t.button()}),this.uiDialog.addClass("ui-dialog-buttons"),this.uiDialogButtonPane.appendTo(this.uiDialog)):this.uiDialog.removeClass("ui-dialog-buttons")},_makeDraggable:function(){var e=this,o=this.options;function s(i){return{position:i.position,offset:i.offset}}this.uiDialog.draggable({cancel:".ui-dialog-content, .ui-dialog-titlebar-close",handle:".ui-dialog-titlebar",containment:"document",start:function(i,t){l(this).addClass("ui-dialog-dragging"),e._trigger("dragStart",i,s(t))},drag:function(i,t){e._trigger("drag",i,s(t))},stop:function(i,t){o.position=[t.position.left-e.document.scrollLeft(),t.position.top-e.document.scrollTop()],l(this).removeClass("ui-dialog-dragging"),e._trigger("dragStop",i,s(t)),l.ui.dialog.overlay.resize()}})},_makeResizable:function(i){i=void 0===i?this.options.resizable:i;var e=this,o=this.options,t=this.uiDialog.css("position"),i="string"==typeof i?i:"n,e,s,w,se,sw,ne,nw";function s(i){return{originalPosition:i.originalPosition,originalSize:i.originalSize,position:i.position,size:i.size}}this.uiDialog.resizable({cancel:".ui-dialog-content",containment:"document",alsoResize:this.element,maxWidth:o.maxWidth,maxHeight:o.maxHeight,minWidth:o.minWidth,minHeight:this._minHeight(),handles:i,start:function(i,t){l(this).addClass("ui-dialog-resizing"),e._trigger("resizeStart",i,s(t))},resize:function(i,t){e._trigger("resize",i,s(t))},stop:function(i,t){l(this).removeClass("ui-dialog-resizing"),o.height=l(this).height(),o.width=l(this).width(),e._trigger("resizeStop",i,s(t)),l.ui.dialog.overlay.resize()}}).css("position",t).find(".ui-resizable-se").addClass("ui-icon ui-icon-grip-diagonal-se")},_minHeight:function(){var i=this.options;return"auto"===i.height?i.minHeight:Math.min(i.minHeight,i.height)},_position:function(i){var t,e=[],o=[0,0];i=i?(("string"==typeof i||"object"==typeof i&&"0"in i)&&(1===(e=i.split?i.split(" "):[i[0],i[1]]).length&&(e[1]=e[0]),l.each(["left","top"],function(i,t){+e[i]===e[i]&&(o[i]=e[i],e[i]=t)}),i={my:e[0]+(o[0]<0?o[0]:"+"+o[0])+" "+e[1]+(o[1]<0?o[1]:"+"+o[1]),at:e.join(" ")}),l.extend({},l.ui.dialog.prototype.options.position,i)):l.ui.dialog.prototype.options.position,(t=this.uiDialog.is(":visible"))||this.uiDialog.show(),this.uiDialog.position(i),t||this.uiDialog.hide()},_setOptions:function(i){var e=this,o={},s=!1;l.each(i,function(i,t){e._setOption(i,t),i in n&&(s=!0),i in a&&(o[i]=t)}),s&&this._size(),this.uiDialog.is(":data(resizable)")&&this.uiDialog.resizable("option",o)},_setOption:function(i,t){var e,o=this.uiDialog;switch(i){case"buttons":this._createButtons(t);break;case"closeText":this.uiDialogTitlebarCloseText.text(""+t);break;case"dialogClass":o.removeClass(this.options.dialogClass).addClass(h+t);break;case"disabled":t?o.addClass("ui-dialog-disabled"):o.removeClass("ui-dialog-disabled");break;case"draggable":(e=o.is(":data(draggable)"))&&!t&&o.draggable("destroy"),!e&&t&&this._makeDraggable();break;case"position":this._position(t);break;case"resizable":(e=o.is(":data(resizable)"))&&!t&&o.resizable("destroy"),e&&"string"==typeof t&&o.resizable("option","handles",t),e||!1===t||this._makeResizable(t);break;case"title":l(".ui-dialog-title",this.uiDialogTitlebar).html(""+(t||" "))}this._super(i,t)},_size:function(){var i,t,e,o=this.options,s=this.uiDialog.is(":visible");this.element.show().css({width:"auto",minHeight:0,height:0}),o.minWidth>o.width&&(o.width=o.minWidth),i=this.uiDialog.css({height:"auto",width:o.width}).outerHeight(),t=Math.max(0,o.minHeight-i),"auto"===o.height?l.support.minHeight?this.element.css({minHeight:t,height:"auto"}):(this.uiDialog.show(),e=this.element.css("height","auto").height(),s||this.uiDialog.hide(),this.element.height(Math.max(e,t))):this.element.height(Math.max(o.height-i,0)),this.uiDialog.is(":data(resizable)")&&this.uiDialog.resizable("option","minHeight",this._minHeight())}}),l.extend(l.ui.dialog,{uuid:0,maxZ:0,getTitleId:function(i){i=i.attr("id");return i||(this.uuid+=1,i=this.uuid),"ui-dialog-title-"+i},overlay:function(i){this.$el=l.ui.dialog.overlay.create(i)}}),l.extend(l.ui.dialog.overlay,{instances:[],oldInstances:[],maxZ:0,events:l.map("focus,mousedown,mouseup,keydown,keypress,click".split(","),function(i){return i+".dialog-overlay"}).join(" "),create:function(e){0===this.instances.length&&(setTimeout(function(){l.ui.dialog.overlay.instances.length&&l(document).bind(l.ui.dialog.overlay.events,function(i){if(l(i.target).zIndex()").addClass("ui-widget-overlay");return l(document).bind("keydown.dialog-overlay",function(i){var t=l.ui.dialog.overlay.instances;0!==t.length&&t[t.length-1]===o&&e.options.closeOnEscape&&!i.isDefaultPrevented()&&i.keyCode&&i.keyCode===l.ui.keyCode.ESCAPE&&(e.close(i),i.preventDefault())}),o.appendTo(document.body).css({width:this.width(),height:this.height()}),l.fn.bgiframe&&o.bgiframe(),this.instances.push(o),o},destroy:function(i){var t=l.inArray(i,this.instances),e=0;-1!==t&&this.oldInstances.push(this.instances.splice(t,1)[0]),0===this.instances.length&&l([document,window]).unbind(".dialog-overlay"),i.height(0).width(0).remove(),l.each(this.instances,function(){e=Math.max(e,this.css("z-index"))}),this.maxZ=e},height:function(){var i;return l.ui.ie?(i=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight))",delay:300,options:{icons:{submenu:"ui-icon-carat-1-e"},menus:"ul",position:{my:"left top",at:"right top"},role:"menu",blur:null,focus:null,select:null},_create:function(){this.activeMenu=this.element,this.element.uniqueId().addClass("ui-menu ui-widget ui-widget-content ui-corner-all").toggleClass("ui-menu-icons",!!this.element.find(".ui-icon").length).attr({role:this.options.role,tabIndex:0}).bind("click"+this.eventNamespace,r.proxy(function(e){this.options.disabled&&e.preventDefault()},this)),this.options.disabled&&this.element.addClass("ui-state-disabled").attr("aria-disabled","true"),this._on({"mousedown .ui-menu-item > a":function(e){e.preventDefault()},"click .ui-state-disabled > a":function(e){e.preventDefault()},"click .ui-menu-item:has(a)":function(e){var t=r(e.target).closest(".ui-menu-item");!i&&t.not(".ui-state-disabled").length&&(i=!0,this.select(e),t.has(".ui-menu").length?this.expand(e):this.element.is(":focus")||(this.element.trigger("focus",[!0]),this.active&&1===this.active.parents(".ui-menu").length&&clearTimeout(this.timer)))},"mouseenter .ui-menu-item":function(e){var t=r(e.currentTarget);t.siblings().children(".ui-state-active").removeClass("ui-state-active"),this.focus(e,t)},mouseleave:"collapseAll","mouseleave .ui-menu":"collapseAll",focus:function(e,t){var i=this.active||this.element.children(".ui-menu-item").eq(0);t||this.focus(e,i)},blur:function(e){this._delay(function(){r.contains(this.element[0],this.document[0].activeElement)||this.collapseAll(e)})},keydown:"_keydown"}),this.refresh(),this._on(this.document,{click:function(e){r(e.target).closest(".ui-menu").length||this.collapseAll(e),i=!1}})},_destroy:function(){this.element.removeAttr("aria-activedescendant").find(".ui-menu").andSelf().removeClass("ui-menu ui-widget ui-widget-content ui-corner-all ui-menu-icons").removeAttr("role").removeAttr("tabIndex").removeAttr("aria-labelledby").removeAttr("aria-expanded").removeAttr("aria-hidden").removeAttr("aria-disabled").removeUniqueId().show(),this.element.find(".ui-menu-item").removeClass("ui-menu-item").removeAttr("role").removeAttr("aria-disabled").children("a").removeUniqueId().removeClass("ui-corner-all ui-state-hover").removeAttr("tabIndex").removeAttr("role").removeAttr("aria-haspopup").children().each(function(){var e=r(this);e.data("ui-menu-submenu-carat")&&e.remove()}),this.element.find(".ui-menu-divider").removeClass("ui-menu-divider ui-widget-content")},_keydown:function(e){var t,i,s,n,a=!0;function u(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}switch(e.keyCode){case r.ui.keyCode.PAGE_UP:this.previousPage(e);break;case r.ui.keyCode.PAGE_DOWN:this.nextPage(e);break;case r.ui.keyCode.HOME:this._move("first","first",e);break;case r.ui.keyCode.END:this._move("last","last",e);break;case r.ui.keyCode.UP:this.previous(e);break;case r.ui.keyCode.DOWN:this.next(e);break;case r.ui.keyCode.LEFT:this.collapse(e);break;case r.ui.keyCode.RIGHT:this.active&&!this.active.is(".ui-state-disabled")&&this.expand(e);break;case r.ui.keyCode.ENTER:case r.ui.keyCode.SPACE:this._activate(e);break;case r.ui.keyCode.ESCAPE:this.collapse(e);break;default:a=!1,t=this.previousFilter||"",i=String.fromCharCode(e.keyCode),s=!1,clearTimeout(this.filterTimer),i===t?s=!0:i=t+i,n=new RegExp("^"+u(i),"i"),t=this.activeMenu.children(".ui-menu-item").filter(function(){return n.test(r(this).children("a").text())}),(t=s&&-1!==t.index(this.active.next())?this.active.nextAll(".ui-menu-item"):t).length||(i=String.fromCharCode(e.keyCode),n=new RegExp("^"+u(i),"i"),t=this.activeMenu.children(".ui-menu-item").filter(function(){return n.test(r(this).children("a").text())})),t.length?(this.focus(e,t),1").addClass("ui-menu-icon ui-icon "+s).data("ui-menu-submenu-carat",!0);t.attr("aria-haspopup","true").prepend(i),e.attr("aria-labelledby",t.attr("id"))}),(e=e.add(this.element)).children(":not(.ui-menu-item):has(a)").addClass("ui-menu-item").attr("role","presentation").children("a").uniqueId().addClass("ui-corner-all").attr({tabIndex:-1,role:this._itemRole()}),e.children(":not(.ui-menu-item)").each(function(){var e=r(this);/[^\-—–\s]/.test(e.text())||e.addClass("ui-widget-content ui-menu-divider")}),e.children(".ui-state-disabled").attr("aria-disabled","true"),this.active&&!r.contains(this.element[0],this.active[0])&&this.blur()},_itemRole:function(){return{menu:"menuitem",listbox:"option"}[this.options.role]},focus:function(e,t){var i;this.blur(e,e&&"focus"===e.type),this._scrollIntoView(t),this.active=t.first(),i=this.active.children("a").addClass("ui-state-focus"),this.options.role&&this.element.attr("aria-activedescendant",i.attr("id")),this.active.parent().closest(".ui-menu-item").children("a:first").addClass("ui-state-active"),e&&"keydown"===e.type?this._close():this.timer=this._delay(function(){this._close()},this.delay),(i=t.children(".ui-menu")).length&&/^mouse/.test(e.type)&&this._startOpening(i),this.activeMenu=t.parent(),this._trigger("focus",e,{item:t})},_scrollIntoView:function(e){var t,i,s;this._hasScroll()&&(i=parseFloat(r.css(this.activeMenu[0],"borderTopWidth"))||0,s=parseFloat(r.css(this.activeMenu[0],"paddingTop"))||0,t=e.offset().top-this.activeMenu.offset().top-i-s,i=this.activeMenu.scrollTop(),s=this.activeMenu.height(),e=e.height(),t<0?this.activeMenu.scrollTop(i+t):s
").appendTo(this.element),this.oldValue=this._value(),this._refreshValue()},_destroy:function(){this.element.removeClass("ui-progressbar ui-widget ui-widget-content ui-corner-all").removeAttr("role").removeAttr("aria-valuemin").removeAttr("aria-valuemax").removeAttr("aria-valuenow"),this.valueDiv.remove()},value:function(e){return void 0===e?this._value():(this._setOption("value",e),this)},_setOption:function(e,t){"value"===e&&(this.options.value=t,this._refreshValue(),this._value()===this.options.max&&this._trigger("complete")),this._super(e,t)},_value:function(){var e=this.options.value;return"number"!=typeof e&&(e=0),Math.min(this.options.max,Math.max(this.min,e))},_percentage:function(){return 100*this._value()/this.options.max},_refreshValue:function(){var e=this.value(),t=this._percentage();this.oldValue!==e&&(this.oldValue=e,this._trigger("change")),this.valueDiv.toggle(e>this.min).toggleClass("ui-corner-right",e===this.options.max).width(t.toFixed(0)+"%"),this.element.attr("aria-valuenow",e)}})}(jQuery);!function(r){r.widget("ui.slider",r.ui.mouse,{version:"1.9.2",widgetEventPrefix:"slide",options:{animate:!1,distance:0,max:100,min:0,orientation:"horizontal",range:!1,step:1,value:0,values:null},_create:function(){var e,i,t=this.options,s=this.element.find(".ui-slider-handle").addClass("ui-state-default ui-corner-all"),a=[];for(this._keySliding=!1,this._mouseSliding=!1,this._animateOff=!0,this._handleIndex=null,this._detectOrientation(),this._mouseInit(),this.element.addClass("ui-slider ui-slider-"+this.orientation+" ui-widget ui-widget-content ui-corner-all"+(t.disabled?" ui-slider-disabled ui-disabled":"")),this.range=r([]),t.range&&(!0===t.range&&(t.values||(t.values=[this._valueMin(),this._valueMin()]),t.values.length&&2!==t.values.length&&(t.values=[t.values[0],t.values[0]])),this.range=r("
").appendTo(this.element).addClass("ui-slider-range ui-widget-header"+("min"===t.range||"max"===t.range?" ui-slider-range-"+t.range:""))),i=t.values&&t.values.length||1,e=s.length;e
");this.handles=s.add(r(a.join("")).appendTo(this.element)),this.handle=this.handles.eq(0),this.handles.add(this.range).filter("a").click(function(e){e.preventDefault()}).mouseenter(function(){t.disabled||r(this).addClass("ui-state-hover")}).mouseleave(function(){r(this).removeClass("ui-state-hover")}).focus(function(){t.disabled?r(this).blur():(r(".ui-slider .ui-state-focus").removeClass("ui-state-focus"),r(this).addClass("ui-state-focus"))}).blur(function(){r(this).removeClass("ui-state-focus")}),this.handles.each(function(e){r(this).data("ui-slider-handle-index",e)}),this._on(this.handles,{keydown:function(e){var i,t,s,a=r(e.target).data("ui-slider-handle-index");switch(e.keyCode){case r.ui.keyCode.HOME:case r.ui.keyCode.END:case r.ui.keyCode.PAGE_UP:case r.ui.keyCode.PAGE_DOWN:case r.ui.keyCode.UP:case r.ui.keyCode.RIGHT:case r.ui.keyCode.DOWN:case r.ui.keyCode.LEFT:if(e.preventDefault(),!this._keySliding&&(this._keySliding=!0,r(e.target).addClass("ui-state-active"),!1===this._start(e,a)))return}switch(s=this.options.step,i=t=this.options.values&&this.options.values.length?this.values(a):this.value(),e.keyCode){case r.ui.keyCode.HOME:t=this._valueMin();break;case r.ui.keyCode.END:t=this._valueMax();break;case r.ui.keyCode.PAGE_UP:t=this._trimAlignValue(i+(this._valueMax()-this._valueMin())/5);break;case r.ui.keyCode.PAGE_DOWN:t=this._trimAlignValue(i-(this._valueMax()-this._valueMin())/5);break;case r.ui.keyCode.UP:case r.ui.keyCode.RIGHT:if(i===this._valueMax())return;t=this._trimAlignValue(i+s);break;case r.ui.keyCode.DOWN:case r.ui.keyCode.LEFT:if(i===this._valueMin())return;t=this._trimAlignValue(i-s)}this._slide(e,a,t)},keyup:function(e){var i=r(e.target).data("ui-slider-handle-index");this._keySliding&&(this._keySliding=!1,this._stop(e,i),this._change(e,i),r(e.target).removeClass("ui-state-active"))}}),this._refreshValue(),this._animateOff=!1},_destroy:function(){this.handles.remove(),this.range.remove(),this.element.removeClass("ui-slider ui-slider-horizontal ui-slider-vertical ui-slider-disabled ui-widget ui-widget-content ui-corner-all"),this._mouseDestroy()},_mouseCapture:function(e){var t,s,a,n,i,l=this,h=this.options;return!h.disabled&&(this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()},this.elementOffset=this.element.offset(),i={x:e.pageX,y:e.pageY},t=this._normValueFromMouse(i),s=this._valueMax()-this._valueMin()+1,this.handles.each(function(e){var i=Math.abs(t-l.values(e));i=this._valueMax())return this._valueMax();var i=0=i&&(e+=0",widgetEventPrefix:"spin",options:{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.element.val(),!0),this._draw(),this._on(this._events),this._refresh(),this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_getCreateOptions:function(){var n={},s=this.element;return r.each(["min","max","step"],function(t,i){var e=s.attr(i);void 0!==e&&e.length&&(n[i]=e)}),n},_events:{keydown:function(t){this._start(t)&&this._keydown(t)&&t.preventDefault()},keyup:"_stop",focus:function(){this.previous=this.element.val()},blur:function(t){this.cancelBlur?delete this.cancelBlur:(this._refresh(),this.previous!==this.element.val()&&this._trigger("change",t))},mousewheel:function(t,i){if(i){if(!this.spinning&&!this._start(t))return!1;this._spin((0Math.ceil(.5*t.height())&&0"},_buttonHtml:function(){return"▲▼"},_start:function(t){return!(!this.spinning&&!1===this._trigger("start",t))&&(this.counter||(this.counter=1),this.spinning=!0)},_repeat:function(t,i,e){t=t||500,clearTimeout(this.timer),this.timer=this._delay(function(){this._repeat(40,i,e)},t),this._spin(i*this.options.step,e)},_spin:function(t,i){var e=this.value()||0;this.counter||(this.counter=1),e=this._adjustValue(e+t*this._increment(this.counter)),this.spinning&&!1===this._trigger("spin",i,{value:e})||(this._value(e),this.counter++)},_increment:function(t){var i=this.options.incremental;return i?r.isFunction(i)?i(t):Math.floor(t*t*t/5e4-t*t/500+17*t/200+1):1},_precision:function(){var t=this._precisionOf(this.options.step);return t=null!==this.options.min?Math.max(t,this._precisionOf(this.options.min)):t},_precisionOf:function(t){var i=t.toString(),t=i.indexOf(".");return-1===t?0:i.length-t-1},_adjustValue:function(t){var i=this.options,e=null!==i.min?i.min:0,n=t-e;return t=e+Math.round(n/i.step)*i.step,t=parseFloat(t.toFixed(this._precision())),null!==i.max&&t>i.max?i.max:null!==i.min&&t li","mousedown"+this.eventNamespace,function(t){h(this).is(".ui-state-disabled")&&t.preventDefault()}).delegate(".ui-tabs-anchor","focus"+this.eventNamespace,function(){h(this).closest("li").is(".ui-state-disabled")&&this.blur()}),this._processTabs(),null===i&&(s&&this.tabs.each(function(t,e){if(h(e).attr("aria-controls")===s)return i=t,!1}),null!==(i=null===i?this.tabs.index(this.tabs.filter(".ui-tabs-active")):i)&&-1!==i||(i=!!this.tabs.length&&0)),!1!==i&&-1===(i=this.tabs.index(this.tabs.eq(i)))&&(i=!t.collapsible&&0),t.active=i,!t.collapsible&&!1===t.active&&this.anchors.length&&(t.active=0),h.isArray(t.disabled)&&(t.disabled=h.unique(t.disabled.concat(h.map(this.tabs.filter(".ui-state-disabled"),function(t){return e.tabs.index(t)}))).sort()),!1!==this.options.active&&this.anchors.length?this.active=this._findActive(this.options.active):this.active=h(),this._refresh(),this.active.length&&this.load(t.active)},_getCreateEventData:function(){return{tab:this.active,panel:this.active.length?this._getPanelForTab(this.active):h()}},_tabKeydown:function(t){var e=h(this.document[0].activeElement).closest("li"),i=this.tabs.index(e),s=!0;if(!this._handlePageNav(t)){switch(t.keyCode){case h.ui.keyCode.RIGHT:case h.ui.keyCode.DOWN:i++;break;case h.ui.keyCode.UP:case h.ui.keyCode.LEFT:s=!1,i--;break;case h.ui.keyCode.END:i=this.anchors.length-1;break;case h.ui.keyCode.HOME:i=0;break;case h.ui.keyCode.SPACE:return t.preventDefault(),clearTimeout(this.activating),void this._activate(i);case h.ui.keyCode.ENTER:return t.preventDefault(),clearTimeout(this.activating),void this._activate(i!==this.options.active&&i);default:return}t.preventDefault(),clearTimeout(this.activating),i=this._focusNextTab(i,s),t.ctrlKey||(e.attr("aria-selected","false"),this.tabs.eq(i).attr("aria-selected","true"),this.activating=this._delay(function(){this.option("active",i)},this.delay))}},_panelKeydown:function(t){this._handlePageNav(t)||t.ctrlKey&&t.keyCode===h.ui.keyCode.UP&&(t.preventDefault(),this.active.focus())},_handlePageNav:function(t){return t.altKey&&t.keyCode===h.ui.keyCode.PAGE_UP?(this._activate(this._focusNextTab(this.options.active-1,!1)),!0):t.altKey&&t.keyCode===h.ui.keyCode.PAGE_DOWN?(this._activate(this._focusNextTab(this.options.active+1,!0)),!0):void 0},_findNextTab:function(t,e){var i=this.tabs.length-1;for(;-1!==h.inArray(t=(t=i?@\[\]\^`{|}~]/g,"\\$&"):""},refresh:function(){var t=this.options,e=this.tablist.children(":has(a[href])");t.disabled=h.map(e.filter(".ui-state-disabled"),function(t){return e.index(t)}),this._processTabs(),!1!==t.active&&this.anchors.length?this.active.length&&!h.contains(this.tablist[0],this.active[0])?this.tabs.length===t.disabled.length?(t.active=!1,this.active=h()):this._activate(this._findNextTab(Math.max(0,t.active-1),!1)):t.active=this.tabs.index(this.active):(t.active=!1,this.active=h()),this._refresh()},_refresh:function(){this._setupDisabled(this.options.disabled),this._setupEvents(this.options.event),this._setupHeightStyle(this.options.heightStyle),this.tabs.not(this.active).attr({"aria-selected":"false",tabIndex:-1}),this.panels.not(this._getPanelForTab(this.active)).hide().attr({"aria-expanded":"false","aria-hidden":"true"}),this.active.length?(this.active.addClass("ui-tabs-active ui-state-active").attr({"aria-selected":"true",tabIndex:0}),this._getPanelForTab(this.active).show().attr({"aria-expanded":"true","aria-hidden":"false"})):this.tabs.eq(0).attr("tabIndex",0)},_processTabs:function(){var r=this;this.tablist=this._getList().addClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all").attr("role","tablist"),this.tabs=this.tablist.find("> li:has(a[href])").addClass("ui-state-default ui-corner-top").attr({role:"tab",tabIndex:-1}),this.anchors=this.tabs.map(function(){return h("a",this)[0]}).addClass("ui-tabs-anchor").attr({role:"presentation",tabIndex:-1}),this.panels=h(),this.anchors.each(function(t,e){var i,s,a=h(e).uniqueId().attr("id"),n=h(e).closest("li"),o=n.attr("aria-controls");l(e)?(i=e.hash,s=r.element.find(r._sanitizeSelector(i))):(e=r._tabId(n),(s=r.element.find(i="#"+e)).length||(s=r._createPanel(e)).insertAfter(r.panels[t-1]||r.tablist),s.attr("aria-live","polite")),s.length&&(r.panels=r.panels.add(s)),o&&n.data("ui-tabs-aria-controls",o),n.attr({"aria-controls":i.substring(1),"aria-labelledby":a}),s.attr("aria-labelledby",a)}),this.panels.addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").attr("role","tabpanel")},_getList:function(){return this.element.find("ol,ul").eq(0)},_createPanel:function(t){return h("").attr("id",t).addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").data("ui-tabs-destroy",!0)},_setupDisabled:function(t){h.isArray(t)&&(t.length?t.length===this.anchors.length&&(t=!0):t=!1);for(var e,i=0;e=this.tabs[i];i++)!0===t||-1!==h.inArray(i,t)?h(e).addClass("ui-state-disabled").attr("aria-disabled","true"):h(e).removeClass("ui-state-disabled").removeAttr("aria-disabled");this.options.disabled=t},_setupEvents:function(t){var i={click:function(t){t.preventDefault()}};t&&h.each(t.split(" "),function(t,e){i[e]="_eventHandler"}),this._off(this.anchors.add(this.tabs).add(this.panels)),this._on(this.anchors,i),this._on(this.tabs,{keydown:"_tabKeydown"}),this._on(this.panels,{keydown:"_panelKeydown"}),this._focusable(this.tabs),this._hoverable(this.tabs)},_setupHeightStyle:function(t){var i,e,s=this.element.parent();"fill"===t?(h.support.minHeight||(e=s.css("overflow"),s.css("overflow","hidden")),i=s.height(),this.element.siblings(":visible").each(function(){var t=h(this),e=t.css("position");"absolute"!==e&&"fixed"!==e&&(i-=t.outerHeight(!0))}),e&&s.css("overflow",e),this.element.children().not(this.panels).each(function(){i-=h(this).outerHeight(!0)}),this.panels.each(function(){h(this).height(Math.max(0,i-h(this).innerHeight()+h(this).height()))}).css("overflow","auto")):"auto"===t&&(i=0,this.panels.each(function(){i=Math.max(i,h(this).height("").height())}).height(i))},_eventHandler:function(t){var e=this.options,i=this.active,s=h(t.currentTarget).closest("li"),a=s[0]===i[0],n=a&&e.collapsible,o=n?h():this._getPanelForTab(s),r=i.length?this._getPanelForTab(i):h(),i={oldTab:i,oldPanel:r,newTab:n?h():s,newPanel:o};t.preventDefault(),s.hasClass("ui-state-disabled")||s.hasClass("ui-tabs-loading")||this.running||a&&!e.collapsible||!1===this._trigger("beforeActivate",t,i)||(e.active=!n&&this.tabs.index(s),this.active=a?h():s,this.xhr&&this.xhr.abort(),r.length||o.length||h.error("jQuery UI Tabs: Mismatching fragment identifier."),o.length&&this.load(this.tabs.index(s),t),this._toggle(t,i))},_toggle:function(t,e){var i=this,s=e.newPanel,a=e.oldPanel;function n(){i.running=!1,i._trigger("activate",t,e)}function o(){e.newTab.closest("li").addClass("ui-tabs-active ui-state-active"),s.length&&i.options.show?i._show(s,i.options.show,n):(s.show(),n())}this.running=!0,a.length&&this.options.hide?this._hide(a,this.options.hide,function(){e.oldTab.closest("li").removeClass("ui-tabs-active ui-state-active"),o()}):(e.oldTab.closest("li").removeClass("ui-tabs-active ui-state-active"),a.hide(),o()),a.attr({"aria-expanded":"false","aria-hidden":"true"}),e.oldTab.attr("aria-selected","false"),s.length&&a.length?e.oldTab.attr("tabIndex",-1):s.length&&this.tabs.filter(function(){return 0===h(this).attr("tabIndex")}).attr("tabIndex",-1),s.attr({"aria-expanded":"true","aria-hidden":"false"}),e.newTab.attr({"aria-selected":"true",tabIndex:0})},_activate:function(t){var t=this._findActive(t);t[0]!==this.active[0]&&(t=(t=!t.length?this.active:t).find(".ui-tabs-anchor")[0],this._eventHandler({target:t,currentTarget:t,preventDefault:h.noop}))},_findActive:function(t){return!1===t?h():this.tabs.eq(t)},_getIndex:function(t){return t="string"==typeof t?this.anchors.index(this.anchors.filter("[href$='"+t+"']")):t},_destroy:function(){this.xhr&&this.xhr.abort(),this.element.removeClass("ui-tabs ui-widget ui-widget-content ui-corner-all ui-tabs-collapsible"),this.tablist.removeClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all").removeAttr("role"),this.anchors.removeClass("ui-tabs-anchor").removeAttr("role").removeAttr("tabIndex").removeData("href.tabs").removeData("load.tabs").removeUniqueId(),this.tabs.add(this.panels).each(function(){h.data(this,"ui-tabs-destroy")?h(this).remove():h(this).removeClass("ui-state-default ui-state-active ui-state-disabled ui-corner-top ui-corner-bottom ui-widget-content ui-tabs-active ui-tabs-panel").removeAttr("tabIndex").removeAttr("aria-live").removeAttr("aria-busy").removeAttr("aria-selected").removeAttr("aria-labelledby").removeAttr("aria-hidden").removeAttr("aria-expanded").removeAttr("role")}),this.tabs.each(function(){var t=h(this),e=t.data("ui-tabs-aria-controls");e?t.attr("aria-controls",e):t.removeAttr("aria-controls")}),this.panels.show(),"content"!==this.options.heightStyle&&this.panels.css("height","")},enable:function(i){var t=this.options.disabled;!1!==t&&(t=i!==o&&(i=this._getIndex(i),h.isArray(t)?h.map(t,function(t){return t!==i?t:null}):h.map(this.tabs,function(t,e){return e!==i?e:null})),this._setupDisabled(t))},disable:function(t){var e=this.options.disabled;if(!0!==e){if(t===o)e=!0;else{if(t=this._getIndex(t),-1!==h.inArray(t,e))return;e=h.isArray(e)?h.merge([t],e).sort():[t]}this._setupDisabled(e)}},load:function(t,e){t=this._getIndex(t);var i=this,s=this.tabs.eq(t),t=s.find(".ui-tabs-anchor"),a=this._getPanelForTab(s),n={tab:s,panel:a};l(t[0])||(this.xhr=h.ajax(this._ajaxSettings(t,e,n)),this.xhr&&"canceled"!==this.xhr.statusText&&(s.addClass("ui-tabs-loading"),a.attr("aria-busy","true"),this.xhr.success(function(t){setTimeout(function(){a.html(t),i._trigger("load",e,n)},1)}).complete(function(t,e){setTimeout(function(){"abort"===e&&i.panels.stop(!1,!0),s.removeClass("ui-tabs-loading"),a.removeAttr("aria-busy"),t===i.xhr&&delete i.xhr},1)})))},_ajaxSettings:function(t,i,s){var a=this;return{url:t.attr("href"),beforeSend:function(t,e){return a._trigger("beforeLoad",i,h.extend({jqXHR:t,ajaxSettings:e},s))}}},_getPanelForTab:function(t){t=h(t).attr("aria-controls");return this.element.find(this._sanitizeSelector("#"+t))}}),!1!==h.uiBackCompat&&(h.ui.tabs.prototype._ui=function(t,e){return{tab:t,panel:e,index:this.anchors.index(t)}},h.widget("ui.tabs",h.ui.tabs,{url:function(t,e){this.anchors.eq(t).attr("href",e)}}),h.widget("ui.tabs",h.ui.tabs,{options:{ajaxOptions:null,cache:!1},_create:function(){this._super();var i=this;this._on({tabsbeforeload:function(t,e){h.data(e.tab[0],"cache.tabs")?t.preventDefault():e.jqXHR.success(function(){i.options.cache&&h.data(e.tab[0],"cache.tabs",!0)})}})},_ajaxSettings:function(t,e,i){var s=this.options.ajaxOptions;return h.extend({},s,{error:function(t,e){try{s.error(t,e,i.tab.closest("li").index(),i.tab[0])}catch(t){}}},this._superApply(arguments))},_setOption:function(t,e){"cache"===t&&!1===e&&this.anchors.removeData("cache.tabs"),this._super(t,e)},_destroy:function(){this.anchors.removeData("cache.tabs"),this._super()},url:function(t){this.anchors.eq(t).removeData("cache.tabs"),this._superApply(arguments)}}),h.widget("ui.tabs",h.ui.tabs,{abort:function(){this.xhr&&this.xhr.abort()}}),h.widget("ui.tabs",h.ui.tabs,{options:{spinner:"
Loading…"},_create:function(){this._super(),this._on({tabsbeforeload:function(t,e){var i,s;t.target===this.element[0]&&this.options.spinner&&(i=e.tab.find("span"),s=i.html(),i.html(this.options.spinner),e.jqXHR.complete(function(){i.html(s)}))}})}}),h.widget("ui.tabs",h.ui.tabs,{options:{enable:null,disable:null},enable:function(t){var e,i=this.options;(t&&!0===i.disabled||h.isArray(i.disabled)&&-1!==h.inArray(t,i.disabled))&&(e=!0),this._superApply(arguments),e&&this._trigger("enable",null,this._ui(this.anchors[t],this.panels[t]))},disable:function(t){var e,i=this.options;(t&&!1===i.disabled||h.isArray(i.disabled)&&-1===h.inArray(t,i.disabled))&&(e=!0),this._superApply(arguments),e&&this._trigger("disable",null,this._ui(this.anchors[t],this.panels[t]))}}),h.widget("ui.tabs",h.ui.tabs,{options:{add:null,remove:null,tabTemplate:"
#{label}"},add:function(t,e,i){i===o&&(i=this.anchors.length);var s=this.options,a=h(s.tabTemplate.replace(/#\{href\}/g,t).replace(/#\{label\}/g,e)),n=t.indexOf("#")?this._tabId(a):t.replace("#","");return a.addClass("ui-state-default ui-corner-top").data("ui-tabs-destroy",!0),a.attr("aria-controls",n),e=i>=this.tabs.length,(t=this.element.find("#"+n)).length||(t=this._createPanel(n),e?0
"},_createPanel:function(t){return h(this.options.panelTemplate).attr("id",t).addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").data("ui-tabs-destroy",!0)}}),h.widget("ui.tabs",h.ui.tabs,{_create:function(){var t=this.options;null===t.active&&t.selected!==o&&(t.active=-1!==t.selected&&t.selected),this._super(),t.selected=t.active,!1===t.selected&&(t.selected=-1)},_setOption:function(t,e){if("selected"!==t)return this._super(t,e);t=this.options;this._super("active",-1!==e&&e),t.selected=t.active,!1===t.selected&&(t.selected=-1)},_eventHandler:function(){this._superApply(arguments),this.options.selected=this.options.active,!1===this.options.selected&&(this.options.selected=-1)}}),h.widget("ui.tabs",h.ui.tabs,{options:{show:null,select:null},_create:function(){this._super(),!1!==this.options.active&&this._trigger("show",null,this._ui(this.active.find(".ui-tabs-anchor")[0],this._getPanelForTab(this.active)[0]))},_trigger:function(t,e,i){var s,a,n=this._superApply(arguments);return!!n&&("beforeActivate"===t?(s=i.newTab.length?i.newTab:i.oldTab,a=i.newPanel.length?i.newPanel:i.oldPanel,n=this._super("select",e,{tab:s.find(".ui-tabs-anchor")[0],panel:a[0],index:s.closest("li").index()})):"activate"===t&&i.newTab.length&&(n=this._super("show",e,{tab:i.newTab.find(".ui-tabs-anchor")[0],panel:i.newPanel[0],index:i.newTab.closest("li").index()})),n)}}),h.widget("ui.tabs",h.ui.tabs,{select:function(t){if(-1===(t=this._getIndex(t))){if(!this.options.collapsible||-1===this.options.selected)return;t=this.options.selected}this.anchors.eq(t).trigger(this.options.event+this.eventNamespace)}}),i=0,h.widget("ui.tabs",h.ui.tabs,{options:{cookie:null},_create:function(){var t,e=this.options;null==e.active&&e.cookie&&(t=parseInt(this._cookie(),10),e.active=t=-1===t?!1:t),this._super()},_cookie:function(t){var e=[this.cookie||(this.cookie=this.options.cookie.name||"ui-tabs-"+ ++i)];return arguments.length&&(e.push(!1===t?-1:t),e.push(this.options.cookie)),h.cookie.apply(null,e)},_refresh:function(){this._super(),this.options.cookie&&this._cookie(this.options.active,this.options.cookie)},_eventHandler:function(){this._superApply(arguments),this.options.cookie&&this._cookie(this.options.active,this.options.cookie)},_destroy:function(){this._super(),this.options.cookie&&this._cookie(null,this.options.cookie)}}),h.widget("ui.tabs",h.ui.tabs,{_trigger:function(t,e,i){i=h.extend({},i);return"load"===t&&(i.panel=i.panel[0],i.tab=i.tab.find(".ui-tabs-anchor")[0]),this._super(t,e,i)}}),h.widget("ui.tabs",h.ui.tabs,{options:{fx:null},_getFx:function(){var t,e,i=this.options.fx;return i&&(h.isArray(i)?(t=i[0],e=i[1]):t=e=i),i?{show:e,hide:t}:null},_toggle:function(t,e){var i=this,s=e.newPanel,a=e.oldPanel,n=this._getFx();if(!n)return this._super(t,e);function o(){i.running=!1,i._trigger("activate",t,e)}function r(){e.newTab.closest("li").addClass("ui-tabs-active ui-state-active"),s.length&&n.show?s.animate(n.show,n.show.duration,function(){o()}):(s.show(),o())}i.running=!0,a.length&&n.hide?a.animate(n.hide,n.hide.duration,function(){e.oldTab.closest("li").removeClass("ui-tabs-active ui-state-active"),r()}):(e.oldTab.closest("li").removeClass("ui-tabs-active ui-state-active"),a.hide(),r())}}))}(jQuery);!function(u){var o=0;u.widget("ui.tooltip",{version:"1.9.2",options:{content:function(){return u(this).attr("title")},hide:!0,items:"[title]:not([disabled])",position:{my:"left top+15",at:"left bottom",collision:"flipfit flip"},show:!0,tooltipClass:null,track:!1,close:null,open:null},_create:function(){this._on({mouseover:"open",focusin:"open"}),this.tooltips={},this.parents={},this.options.disabled&&this._disable()},_setOption:function(t,i){var e=this;if("disabled"===t)return this[i?"_disable":"_enable"](),void(this.options[t]=i);this._super(t,i),"content"===t&&u.each(this.tooltips,function(t,i){e._updateContent(i)})},_disable:function(){var o=this;u.each(this.tooltips,function(t,i){var e=u.Event("blur");e.target=e.currentTarget=i[0],o.close(e,!0)}),this.element.find(this.options.items).andSelf().each(function(){var t=u(this);t.is("[title]")&&t.data("ui-tooltip-title",t.attr("title")).attr("title","")})},_enable:function(){this.element.find(this.options.items).andSelf().each(function(){var t=u(this);t.data("ui-tooltip-title")&&t.attr("title",t.data("ui-tooltip-title"))})},open:function(t){var e=this,i=u(t?t.target:this.element).closest(this.options.items);i.length&&!i.data("ui-tooltip-id")&&(i.attr("title")&&i.data("ui-tooltip-title",i.attr("title")),i.data("ui-tooltip-open",!0),t&&"mouseover"===t.type&&i.parents().each(function(){var t,i=u(this);i.data("ui-tooltip-open")&&((t=u.Event("blur")).target=t.currentTarget=this,e.close(t,!0)),i.attr("title")&&(i.uniqueId(),e.parents[this.id]={element:this,title:i.attr("title")},i.attr("title",""))}),this._updateContent(i,t))},_updateContent:function(i,e){var t=this.options.content,o=this,n=e?e.type:null;if("string"==typeof t)return this._open(e,i,t);(t=t.call(i[0],function(t){i.data("ui-tooltip-open")&&o._delay(function(){e&&(e.type=n),this._open(e,i,t)})}))&&this._open(e,i,t)},_open:function(t,i,e){var o,n,s,l,a,r=u.extend({},this.options.position);function p(t){r.of=t,a.is(":hidden")||a.position(r)}e&&((a=this._find(i)).length?a.find(".ui-tooltip-content").html(e):(i.is("[title]")&&(t&&"mouseover"===t.type?i.attr("title",""):i.removeAttr("title")),a=this._tooltip(i),n=i,s=a.attr("id"),(l=(n.attr("aria-describedby")||"").split(/\s+/)).push(s),n.data("ui-tooltip-id",s).attr("aria-describedby",u.trim(l.join(" "))),a.find(".ui-tooltip-content").html(e),this.options.track&&t&&/^mouse/.test(t.type)?(this._on(this.document,{mousemove:p}),p(t)):a.position(u.extend({of:i},this.options.position)),a.hide(),this._show(a,this.options.show),this.options.show&&this.options.show.delay&&(o=setInterval(function(){a.is(":visible")&&(p(r.of),clearInterval(o))},u.fx.interval)),this._trigger("open",t,{tooltip:a}),e={keyup:function(t){t.keyCode===u.ui.keyCode.ESCAPE&&((t=u.Event(t)).currentTarget=i[0],this.close(t,!0))},remove:function(){this._removeTooltip(a)}},t&&"mouseover"!==t.type||(e.mouseleave="close"),t&&"focusin"!==t.type||(e.focusout="close"),this._on(!0,i,e)))},close:function(t){var i,e,o,n=this,s=u(t?t.currentTarget:this.element),l=this._find(s);this.closing||(s.data("ui-tooltip-title")&&s.attr("title",s.data("ui-tooltip-title")),e=(i=s).data("ui-tooltip-id"),o=(i.attr("aria-describedby")||"").split(/\s+/),-1!==(e=u.inArray(e,o))&&o.splice(e,1),i.removeData("ui-tooltip-id"),(o=u.trim(o.join(" ")))?i.attr("aria-describedby",o):i.removeAttr("aria-describedby"),l.stop(!0),this._hide(l,this.options.hide,function(){n._removeTooltip(u(this))}),s.removeData("ui-tooltip-open"),this._off(s,"mouseleave focusout keyup"),s[0]!==this.element[0]&&this._off(s,"remove"),this._off(this.document,"mousemove"),t&&"mouseleave"===t.type&&u.each(this.parents,function(t,i){u(i.element).attr("title",i.title),delete n.parents[t]}),this.closing=!0,this._trigger("close",t,{tooltip:l}),this.closing=!1)},_tooltip:function(t){var i="ui-tooltip-"+o++,e=u("").attr({id:i,role:"tooltip"}).addClass("ui-tooltip ui-widget ui-corner-all ui-widget-content "+(this.options.tooltipClass||""));return u("
").addClass("ui-tooltip-content").appendTo(e),e.appendTo(this.document[0].body),u.fn.bgiframe&&e.bgiframe(),this.tooltips[i]=t,e},_find:function(t){t=t.data("ui-tooltip-id");return t?u("#"+t):u()},_removeTooltip:function(t){t.remove(),delete this.tooltips[t.attr("id")]},_destroy:function(){var o=this;u.each(this.tooltips,function(t,i){var e=u.Event("blur");e.target=e.currentTarget=i[0],o.close(e,!0),u("#"+t).remove(),i.data("ui-tooltip-title")&&(i.attr("title",i.data("ui-tooltip-title")),i.removeData("ui-tooltip-title"))})}})}(jQuery);jQuery.effects||function(i,s){var u,l,c,t,d,e,h,p,g,a,n,m,f,b,r,o=!1!==i.uiBackCompat,y="ui-effects-";function v(t,e,n){var r=g[e.type]||{};return null==t?n||!e.def?null:e.def:(t=r.floor?~~t:parseFloat(t),isNaN(t)?e.def:r.mod?(t+r.mod)%r.mod:t<0?0:r.max")[0],m=u.each,n.style.cssText="background-color:rgba(1,1,1,.5)",a.rgba=-1s.mod/2?r+=s.mod:r-o>s.mod/2&&(r-=s.mod)),c[n]=v((o-r)*a+r,e)))}),this[e](c)},blend:function(t){if(1===this._rgba[3])return this;var e=this._rgba.slice(),n=e.pop(),r=h(t)._rgba;return h(u.map(e,function(t,e){return(1-n)*r[e]+n*t}))},toRgbaString:function(){var t="rgba(",e=u.map(this._rgba,function(t,e){return null==t?2
").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0}),e={width:n.width(),height:n.height()},o=document.activeElement;try{o.id}catch(t){o=document.body}return n.wrap(t),n[0]!==o&&!i.contains(n[0],o)||i(o).focus(),t=n.parent(),"static"===n.css("position")?(t.css({position:"relative"}),n.css({position:"relative"})):(i.extend(r,{position:n.css("position"),zIndex:n.css("z-index")}),i.each(["top","left","bottom","right"],function(t,e){r[e]=n.css(e),isNaN(parseInt(r[e],10))&&(r[e]="auto")}),n.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})),n.css(e),t.css(r).show()},removeWrapper:function(t){var e=document.activeElement;return t.parent().is(".ui-effects-wrapper")&&(t.parent().replaceWith(t),t[0]!==e&&!i.contains(t[0],e)||i(e).focus()),t},setTransition:function(r,t,o,s){return s=s||{},i.each(t,function(t,e){var n=r.cssUnit(e);0
").css({position:"absolute",visibility:"visible",left:-o*r,top:-t*u}).parent().addClass("ui-effects-explode").css({position:"absolute",overflow:"hidden",width:r,height:u,left:s+(a?d*r:0),top:f+(a?n*u:0),opacity:a?0:1}).animate({left:s+(a?0:d*r),top:f+(a?0:n*u),opacity:a?1:0},e.duration||500,e.easing,b)}}(jQuery);!function(i){i.effects.effect.fade=function(e,t){var a=i(this),f=i.effects.setMode(a,e.mode||"toggle");a.animate({opacity:f},{queue:!1,duration:e.duration,easing:e.easing,complete:t})}}(jQuery);!function(m){m.effects.effect.fold=function(e,t){var i=m(this),h=["position","top","bottom","left","right","height","width"],s=m.effects.setMode(i,e.mode||"hide"),f="show"===s,o="hide"===s,d=e.size||15,r=/([0-9]+)%/.exec(d),c=!!e.horizFirst,n=f!=c,a=n?["width","height"]:["height","width"],g=e.duration/2,w={},p={};m.effects.save(i,h),i.show(),s=m.effects.createWrapper(i).css({overflow:"hidden"}),n=n?[s.width(),s.height()]:[s.height(),s.width()],r&&(d=parseInt(r[1],10)/100*n[o?0:1]),f&&s.css(c?{height:0,width:d}:{height:d,width:0}),w[a[0]]=f?n[0]:d,p[a[1]]=f?n[1]:0,s.animate(w,g,e.easing).animate(p,g,e.easing,function(){o&&i.hide(),m.effects.restore(i,h),m.effects.removeWrapper(i),t()})}}(jQuery);!function(f){f.effects.effect.highlight=function(e,o){var c=f(this),n=["backgroundImage","backgroundColor","opacity"],a=f.effects.setMode(c,e.mode||"show"),t={backgroundColor:c.css("backgroundColor")};"hide"===a&&(t.opacity=0),f.effects.save(c,n),c.show().css({backgroundImage:"none",backgroundColor:e.color||"#ffff99"}).animate(t,{queue:!1,duration:e.duration,easing:e.easing,complete:function(){"hide"===a&&c.hide(),f.effects.restore(c,n),o()}})}}(jQuery);!function(p){p.effects.effect.pulsate=function(e,i){var t,s=p(this),a=p.effects.setMode(s,e.mode||"show"),c="show"===a,o="hide"===a,n=2*(e.times||5)+(c||"hide"===a?1:0),u=e.duration/n,f=0,h=s.queue(),a=h.length;for(!c&&s.is(":visible")||(s.css("opacity",0).show(),f=1),t=1;t ').appendTo(document.body).addClass(t.className).css({top:o.top-f,left:o.left-d,height:i.innerHeight(),width:i.innerWidth(),position:n?"fixed":"absolute"}).animate(s,t.duration,t.easing,function(){a.remove(),e()})}}(jQuery);
\ No newline at end of file
diff --git a/media/js/removed/jquery.dropdownPlain.js b/media/js/unused-or-removed/jquery.dropdownPlain.js
similarity index 100%
rename from media/js/removed/jquery.dropdownPlain.js
rename to media/js/unused-or-removed/jquery.dropdownPlain.js
diff --git a/media/js/removed/jquery.quicksearch.js b/media/js/unused-or-removed/jquery.quicksearch.js
similarity index 100%
rename from media/js/removed/jquery.quicksearch.js
rename to media/js/unused-or-removed/jquery.quicksearch.js
diff --git a/media/js/unused-or-removed/jquery/jquery.min.js b/media/js/unused-or-removed/jquery/jquery.min.js
new file mode 100644
index 0000000..ff510df
--- /dev/null
+++ b/media/js/unused-or-removed/jquery/jquery.min.js
@@ -0,0 +1,5 @@
+(function(global,factory){"use strict";if(typeof module==="object"&&typeof module.exports==="object"){module.exports=global.document?factory(global,true):function(w){if(!w.document){throw new Error("jQuery requires a window with a document")}return factory(w)}}else{factory(global)}})(typeof window!=="undefined"?window:this,function(window,noGlobal){var arr=[];var document=window.document;var getProto=Object.getPrototypeOf;var slice=arr.slice;var concat=arr.concat;var push=arr.push;var indexOf=arr.indexOf;var class2type={};var toString=class2type.toString;var hasOwn=class2type.hasOwnProperty;var fnToString=hasOwn.toString;var ObjectFunctionString=fnToString.call(Object);var support={};function DOMEval(code,doc){doc=doc||document;var script=doc.createElement("script");script.text=code;doc.head.appendChild(script).parentNode.removeChild(script)}var version="3.1.1",jQuery=function(selector,context){return new jQuery.fn.init(selector,context)},rtrim=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,rmsPrefix=/^-ms-/,rdashAlpha=/-([a-z])/g,fcamelCase=function(all,letter){return letter.toUpperCase()};jQuery.fn=jQuery.prototype={jquery:version,constructor:jQuery,length:0,toArray:function(){return slice.call(this)},get:function(num){if(num==null){return slice.call(this)}return num<0?this[num+this.length]:this[num]},pushStack:function(elems){var ret=jQuery.merge(this.constructor(),elems);ret.prevObject=this;return ret},each:function(callback){return jQuery.each(this,callback)},map:function(callback){return this.pushStack(jQuery.map(this,function(elem,i){return callback.call(elem,i,elem)}))},slice:function(){return this.pushStack(slice.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(i){var len=this.length,j=+i+(i<0?len:0);return this.pushStack(j>=0&&j