/*! jQuery UI - v1.12.1 - 2020-04-02 * http://jqueryui.com * Includes: widget.js, position.js, data.js, keycode.js, scroll-parent.js, unique-id.js, widgets/sortable.js, widgets/datepicker.js, widgets/mouse.js, widgets/tabs.js, widgets/tooltip.js, effect.js, effects/effect-blind.js, effects/effect-fade.js, effects/effect-scale.js, effects/effect-size.js * Copyright jQuery Foundation and other contributors; Licensed MIT */ (function(a){if(typeof define==="function"&&define.amd){define(["jquery"],a)}else{a(jQuery)}}(function(g){g.ui=g.ui||{};var e=g.ui.version="1.12.1"; /*! * jQuery UI Widget 1.12.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license */ ;var C=0;var B=Array.prototype.slice;g.cleanData=(function(I){return function(J){var L,M,K;for(K=0;(M=J[K])!=null;K++){try{L=g._data(M,"events");if(L&&L.remove){g(M).triggerHandler("remove")}}catch(N){}}I(J)}})(g.cleanData);g.widget=function(I,J,Q){var O,L,P;var K={};var N=I.split(".")[0];I=I.split(".")[1];var M=N+"-"+I;if(!Q){Q=J;J=g.Widget}if(g.isArray(Q)){Q=g.extend.apply(null,[{}].concat(Q))}g.expr[":"][M.toLowerCase()]=function(R){return !!g.data(R,M)};g[N]=g[N]||{};O=g[N][I];L=g[N][I]=function(R,S){if(!this._createWidget){return new L(R,S)}if(arguments.length){this._createWidget(R,S)}};g.extend(L,O,{version:Q.version,_proto:g.extend({},Q),_childConstructors:[]});P=new J();P.options=g.widget.extend({},P.options);g.each(Q,function(S,R){if(!g.isFunction(R)){K[S]=R;return}K[S]=(function(){function T(){return J.prototype[S].apply(this,arguments)}function U(V){return J.prototype[S].apply(this,V)}return function(){var X=this._super;var V=this._superApply;var W;this._super=T;this._superApply=U;W=R.apply(this,arguments);this._super=X;this._superApply=V;return W}})()});L.prototype=g.widget.extend(P,{widgetEventPrefix:O?(P.widgetEventPrefix||I):I},K,{constructor:L,namespace:N,widgetName:I,widgetFullName:M});if(O){g.each(O._childConstructors,function(S,T){var R=T.prototype;g.widget(R.namespace+"."+R.widgetName,L,T._proto)});delete O._childConstructors}else{J._childConstructors.push(L)}g.widget.bridge(I,L);return L};g.widget.extend=function(N){var J=B.call(arguments,1);var M=0;var I=J.length;var K;var L;for(;M",options:{classes:{},disabled:false,create:null},_createWidget:function(I,J){J=g(J||this.defaultElement||this)[0];this.element=g(J);this.uuid=C++;this.eventNamespace="."+this.widgetName+this.uuid;this.bindings=g();this.hoverable=g();this.focusable=g();this.classesElementLookup={};if(J!==this){g.data(J,this.widgetFullName,this);this._on(true,this.element,{remove:function(K){if(K.target===J){this.destroy()}}});this.document=g(J.style?J.ownerDocument:J.document||J);this.window=g(this.document[0].defaultView||this.document[0].parentWindow)}this.options=g.widget.extend({},this.options,this._getCreateOptions(),I);this._create();if(this.options.disabled){this._setOptionDisabled(this.options.disabled)}this._trigger("create",null,this._getCreateEventData());this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:g.noop,_create:g.noop,_init:g.noop,destroy:function(){var I=this;this._destroy();g.each(this.classesElementLookup,function(J,K){I._removeClass(K,J)});this.element.off(this.eventNamespace).removeData(this.widgetFullName);this.widget().off(this.eventNamespace).removeAttr("aria-disabled");this.bindings.off(this.eventNamespace)},_destroy:g.noop,widget:function(){return this.element},option:function(L,M){var I=L;var N;var K;var J;if(arguments.length===0){return g.widget.extend({},this.options)}if(typeof L==="string"){I={};N=L.split(".");L=N.shift();if(N.length){K=I[L]=g.widget.extend({},this.options[L]);for(J=0;J
"),W=X.children()[0];g("body").append(X);V=W.offsetWidth;X.css("overflow","scroll");U=W.offsetWidth;if(V===U){U=X[0].clientWidth}X.remove();return(P=V-U)},getScrollInfo:function(Y){var X=Y.isWindow||Y.isDocument?"":Y.element.css("overflow-x"),W=Y.isWindow||Y.isDocument?"":Y.element.css("overflow-y"),V=X==="scroll"||(X==="auto"&&Y.width0?"right":"center",vertical:at<0?"top":aw>0?"bottom":"middle"};if(abQ(T(aw),T(at))){ar.important="horizontal"}else{ar.important="vertical"}ae.using.call(this,av,ar)}}aj.offset(g.extend(am,{using:aq}))})};g.ui.position={fit:{left:function(Y,X){var W=X.within,aa=W.isWindow?W.scrollLeft:W.offset.left,ac=W.width,Z=Y.left-X.collisionPosition.marginLeft,ab=aa-Z,V=Z+X.collisionWidth-ac-aa,U;if(X.collisionWidth>ac){if(ab>0&&V<=0){U=Y.left+ab+X.collisionWidth-ac-aa;Y.left+=ab-U}else{if(V>0&&ab<=0){Y.left=aa}else{if(ab>V){Y.left=aa+ac-X.collisionWidth}else{Y.left=aa}}}}else{if(ab>0){Y.left+=ab}else{if(V>0){Y.left-=V}else{Y.left=Q(Y.left-Z,Y.left)}}}},top:function(X,W){var V=W.within,ab=V.isWindow?V.scrollTop:V.offset.top,ac=W.within.height,Z=X.top-W.collisionPosition.marginTop,aa=ab-Z,Y=Z+W.collisionHeight-ac-ab,U;if(W.collisionHeight>ac){if(aa>0&&Y<=0){U=X.top+aa+W.collisionHeight-ac-ab;X.top+=aa-U}else{if(Y>0&&aa<=0){X.top=ab}else{if(aa>Y){X.top=ab+ac-W.collisionHeight}else{X.top=ab}}}}else{if(aa>0){X.top+=aa}else{if(Y>0){X.top-=Y}else{X.top=Q(X.top-Z,X.top)}}}}},flip:{left:function(aa,Z){var Y=Z.within,ae=Y.offset.left+Y.scrollLeft,ah=Y.width,W=Y.isWindow?Y.scrollLeft:Y.offset.left,ab=aa.left-Z.collisionPosition.marginLeft,af=ab-W,V=ab+Z.collisionWidth-ah-W,ad=Z.my[0]==="left"?-Z.elemWidth:Z.my[0]==="right"?Z.elemWidth:0,ag=Z.at[0]==="left"?Z.targetWidth:Z.at[0]==="right"?-Z.targetWidth:0,X=-2*Z.offset[0],U,ac;if(af<0){U=aa.left+ad+ag+X+Z.collisionWidth-ah-ae;if(U<0||U0){ac=aa.left-Z.collisionPosition.marginLeft+ad+ag+X-W;if(ac>0||T(ac)0){af=Z.top-Y.collisionPosition.marginTop+ac+ai+W-U;if(af>0||T(af)=this.options.distance)},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return true}}); /*! * jQuery UI Sortable 1.12.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license */ ;var k=g.widget("ui.sortable",g.ui.mouse,{version:"1.12.1",widgetEventPrefix:"sort",ready:false,options:{appendTo:"parent",axis:false,connectWith:false,containment:false,cursor:"auto",cursorAt:false,dropOnEmpty:true,forcePlaceholderSize:false,forceHelperSize:false,grid:false,handle:false,helper:"original",items:"> *",opacity:false,placeholder:false,revert:false,scroll:true,scrollSensitivity:20,scrollSpeed:20,scope:"default",tolerance:"intersect",zIndex:1000,activate:null,beforeStop:null,change:null,deactivate:null,out:null,over:null,receive:null,remove:null,sort:null,start:null,stop:null,update:null},_isOverAxis:function(J,I,K){return(J>=I)&&(J<(I+K))},_isFloating:function(I){return(/left|right/).test(I.css("float"))||(/inline|table-cell/).test(I.css("display"))},_create:function(){this.containerCache={};this._addClass("ui-sortable");this.refresh();this.offset=this.element.offset();this._mouseInit();this._setHandleClassName();this.ready=true},_setOption:function(I,J){this._super(I,J);if(I==="handle"){this._setHandleClassName()}},_setHandleClassName:function(){var I=this;this._removeClass(this.element.find(".ui-sortable-handle"),"ui-sortable-handle");g.each(this.items,function(){I._addClass(this.instance.options.handle?this.item.find(this.instance.options.handle):this.item,"ui-sortable-handle")})},_destroy:function(){this._mouseDestroy();for(var I=this.items.length-1;I>=0;I--){this.items[I].item.removeData(this.widgetName+"-item")}return this},_mouseCapture:function(K,L){var I=null,M=false,J=this;if(this.reverting){return false}if(this.options.disabled||this.options.type==="static"){return false}this._refreshItems(K);g(K.target).parents().each(function(){if(g.data(this,J.widgetName+"-item")===J){I=g(this);return false}});if(g.data(K.target,J.widgetName+"-item")===J){I=g(K.target)}if(!I){return false}if(this.options.handle&&!L){g(this.options.handle,I).find("*").addBack().each(function(){if(this===K.target){M=true}});if(!M){return false}}this.currentItem=I;this._removeCurrentsFromItems();return true},_mouseStart:function(L,M,J){var K,I,N=this.options;this.currentContainer=this;this.refreshPositions();this.helper=this._createHelper(L);this._cacheHelperProportions();this._cacheMargins();this.scrollParent=this.helper.scrollParent();this.offset=this.currentItem.offset();this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left};g.extend(this.offset,{click:{left:L.pageX-this.offset.left,top:L.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()});this.helper.css("position","absolute");this.cssPosition=this.helper.css("position");this.originalPosition=this._generatePosition(L);this.originalPageX=L.pageX;this.originalPageY=L.pageY;(N.cursorAt&&this._adjustOffsetFromHelper(N.cursorAt));this.domPosition={prev:this.currentItem.prev()[0],parent:this.currentItem.parent()[0]};if(this.helper[0]!==this.currentItem[0]){this.currentItem.hide()}this._createPlaceholder();if(N.containment){this._setContainment()}if(N.cursor&&N.cursor!=="auto"){I=this.document.find("body");this.storedCursor=I.css("cursor");I.css("cursor",N.cursor);this.storedStylesheet=g("").appendTo(I)}if(N.opacity){if(this.helper.css("opacity")){this._storedOpacity=this.helper.css("opacity")}this.helper.css("opacity",N.opacity)}if(N.zIndex){if(this.helper.css("zIndex")){this._storedZIndex=this.helper.css("zIndex")}this.helper.css("zIndex",N.zIndex)}if(this.scrollParent[0]!==this.document[0]&&this.scrollParent[0].tagName!=="HTML"){this.overflowOffset=this.scrollParent.offset()}this._trigger("start",L,this._uiHash());if(!this._preserveHelperProportions){this._cacheHelperProportions()}if(!J){for(K=this.containers.length-1;K>=0;K--){this.containers[K]._trigger("activate",L,this._uiHash(this))}}if(g.ui.ddmanager){g.ui.ddmanager.current=this}if(g.ui.ddmanager&&!N.dropBehaviour){g.ui.ddmanager.prepareOffsets(this,L)}this.dragging=true;this._addClass(this.helper,"ui-sortable-helper");this._mouseDrag(L);return true},_mouseDrag:function(M){var K,L,J,O,N=this.options,I=false;this.position=this._generatePosition(M);this.positionAbs=this._convertPositionTo("absolute");if(!this.lastPositionAbs){this.lastPositionAbs=this.positionAbs}if(this.options.scroll){if(this.scrollParent[0]!==this.document[0]&&this.scrollParent[0].tagName!=="HTML"){if((this.overflowOffset.top+this.scrollParent[0].offsetHeight)-M.pageY=0;K--){L=this.items[K];J=L.item[0];O=this._intersectsWithPointer(L);if(!O){continue}if(L.instance!==this.currentContainer){continue}if(J!==this.currentItem[0]&&this.placeholder[O===1?"next":"prev"]()[0]!==J&&!g.contains(this.placeholder[0],J)&&(this.options.type==="semi-dynamic"?!g.contains(this.element[0],J):true)){this.direction=O===1?"down":"up";if(this.options.tolerance==="pointer"||this._intersectsWithSides(L)){this._rearrange(M,L)}else{break}this._trigger("change",M,this._uiHash());break}}this._contactContainers(M);if(g.ui.ddmanager){g.ui.ddmanager.drag(this,M)}this._trigger("sort",M,this._uiHash());this.lastPositionAbs=this.positionAbs;return false},_mouseStop:function(K,M){if(!K){return}if(g.ui.ddmanager&&!this.options.dropBehaviour){g.ui.ddmanager.drop(this,K)}if(this.options.revert){var J=this,N=this.placeholder.offset(),I=this.options.axis,L={};if(!I||I==="x"){L.left=N.left-this.offset.parent.left-this.margins.left+(this.offsetParent[0]===this.document[0].body?0:this.offsetParent[0].scrollLeft)}if(!I||I==="y"){L.top=N.top-this.offset.parent.top-this.margins.top+(this.offsetParent[0]===this.document[0].body?0:this.offsetParent[0].scrollTop)}this.reverting=true;g(this.helper).animate(L,parseInt(this.options.revert,10)||500,function(){J._clear(K)})}else{this._clear(K,M)}return false},cancel:function(){if(this.dragging){this._mouseUp(new g.Event("mouseup",{target:null}));if(this.options.helper==="original"){this.currentItem.css(this._storedCSS);this._removeClass(this.currentItem,"ui-sortable-helper")}else{this.currentItem.show()}for(var I=this.containers.length-1;I>=0;I--){this.containers[I]._trigger("deactivate",null,this._uiHash(this));if(this.containers[I].containerCache.over){this.containers[I]._trigger("out",null,this._uiHash(this));this.containers[I].containerCache.over=0}}}if(this.placeholder){if(this.placeholder[0].parentNode){this.placeholder[0].parentNode.removeChild(this.placeholder[0])}if(this.options.helper!=="original"&&this.helper&&this.helper[0].parentNode){this.helper.remove()}g.extend(this,{helper:null,dragging:false,reverting:false,_noFinalSort:null});if(this.domPosition.prev){g(this.domPosition.prev).after(this.currentItem)}else{g(this.domPosition.parent).prepend(this.currentItem)}}return this},serialize:function(K){var I=this._getItemsAsjQuery(K&&K.connected),J=[];K=K||{};g(I).each(function(){var L=(g(K.item||this).attr(K.attribute||"id")||"").match(K.expression||(/(.+)[\-=_](.+)/));if(L){J.push((K.key||L[1]+"[]")+"="+(K.key&&K.expression?L[1]:L[2]))}});if(!J.length&&K.key){J.push(K.key+"=")}return J.join("&")},toArray:function(K){var I=this._getItemsAsjQuery(K&&K.connected),J=[];K=K||{};I.each(function(){J.push(g(K.item||this).attr(K.attribute||"id")||"")});return J},_intersectsWith:function(T){var K=this.positionAbs.left,J=K+this.helperProportions.width,R=this.positionAbs.top,Q=R+this.helperProportions.height,L=T.left,I=L+T.width,U=T.top,P=U+T.height,V=this.offset.click.top,O=this.offset.click.left,N=(this.options.axis==="x")||((R+V)>U&&(R+V)L&&(K+O)T[this.floating?"width":"height"])){return M}else{return(L0?"down":"up")},_getDragHorizontalDirection:function(){var I=this.positionAbs.left-this.lastPositionAbs.left;return I!==0&&(I>0?"right":"left")},refresh:function(I){this._refreshItems(I);this._setHandleClassName();this.refreshPositions();return this},_connectWith:function(){var I=this.options;return I.connectWith.constructor===String?[I.connectWith]:I.connectWith},_getItemsAsjQuery:function(I){var K,J,P,M,N=[],L=[],O=this._connectWith();if(O&&I){for(K=O.length-1;K>=0;K--){P=g(O[K],this.document[0]);for(J=P.length-1;J>=0;J--){M=g.data(P[J],this.widgetFullName);if(M&&M!==this&&!M.options.disabled){L.push([g.isFunction(M.options.items)?M.options.items.call(M.element):g(M.options.items,M.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),M])}}}}L.push([g.isFunction(this.options.items)?this.options.items.call(this.element,null,{options:this.options,item:this.currentItem}):g(this.options.items,this.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),this]);function Q(){N.push(this)}for(K=L.length-1;K>=0;K--){L[K][0].each(Q)}return g(N)},_removeCurrentsFromItems:function(){var I=this.currentItem.find(":data("+this.widgetName+"-item)");this.items=g.grep(this.items,function(K){for(var J=0;J=0;M--){R=g(P[M],this.document[0]);for(K=R.length-1;K>=0;K--){N=g.data(R[K],this.widgetFullName);if(N&&N!==this&&!N.options.disabled){L.push([g.isFunction(N.options.items)?N.options.items.call(N.element[0],I,{item:this.currentItem}):g(N.options.items,N.element),N]);this.containers.push(N)}}}}for(M=L.length-1;M>=0;M--){Q=L[M][1];J=L[M][0];for(K=0,S=J.length;K=0;K--){L=this.items[K];if(L.instance!==this.currentContainer&&this.currentContainer&&L.item[0]!==this.currentItem[0]){continue}J=this.options.toleranceElement?g(this.options.toleranceElement,L.item):L.item;if(!I){L.width=J.outerWidth();L.height=J.outerHeight()}M=J.offset();L.left=M.left;L.top=M.top}if(this.options.custom&&this.options.custom.refreshContainers){this.options.custom.refreshContainers.call(this)}else{for(K=this.containers.length-1;K>=0;K--){M=this.containers[K].element.offset();this.containers[K].containerCache.left=M.left;this.containers[K].containerCache.top=M.top;this.containers[K].containerCache.width=this.containers[K].element.outerWidth();this.containers[K].containerCache.height=this.containers[K].element.outerHeight()}}return this},_createPlaceholder:function(J){J=J||this;var I,K=J.options;if(!K.placeholder||K.placeholder.constructor===String){I=K.placeholder;K.placeholder={element:function(){var M=J.currentItem[0].nodeName.toLowerCase(),L=g("<"+M+">",J.document[0]);J._addClass(L,"ui-sortable-placeholder",I||J.currentItem[0].className)._removeClass(L,"ui-sortable-helper");if(M==="tbody"){J._createTrPlaceholder(J.currentItem.find("tr").eq(0),g("",J.document[0]).appendTo(L))}else{if(M==="tr"){J._createTrPlaceholder(J.currentItem,L)}else{if(M==="img"){L.attr("src",J.currentItem.attr("src"))}}}if(!I){L.css("visibility","hidden")}return L},update:function(L,M){if(I&&!K.forcePlaceholderSize){return}if(!M.height()){M.height(J.currentItem.innerHeight()-parseInt(J.currentItem.css("paddingTop")||0,10)-parseInt(J.currentItem.css("paddingBottom")||0,10))}if(!M.width()){M.width(J.currentItem.innerWidth()-parseInt(J.currentItem.css("paddingLeft")||0,10)-parseInt(J.currentItem.css("paddingRight")||0,10))}}}}J.placeholder=g(K.placeholder.element.call(J.element,J.currentItem));J.currentItem.after(J.placeholder);K.placeholder.update(J,J.placeholder)},_createTrPlaceholder:function(J,I){var K=this;J.children().each(function(){g(" ",K.document[0]).attr("colspan",g(this).attr("colspan")||1).appendTo(I)})},_contactContainers:function(I){var N,L,R,O,P,T,U,M,Q,K,J=null,S=null;for(N=this.containers.length-1;N>=0;N--){if(g.contains(this.currentItem[0],this.containers[N].element[0])){continue}if(this._intersectsWith(this.containers[N].containerCache)){if(J&&g.contains(this.containers[N].element[0],J.element[0])){continue}J=this.containers[N];S=N}else{if(this.containers[N].containerCache.over){this.containers[N]._trigger("out",I,this._uiHash(this));this.containers[N].containerCache.over=0}}}if(!J){return}if(this.containers.length===1){if(!this.containers[S].containerCache.over){this.containers[S]._trigger("over",I,this._uiHash(this));this.containers[S].containerCache.over=1}}else{R=10000;O=null;Q=J.floating||this._isFloating(this.currentItem);P=Q?"left":"top";T=Q?"width":"height";K=Q?"pageX":"pageY";for(L=this.items.length-1;L>=0;L--){if(!g.contains(this.containers[S].element[0],this.items[L].item[0])){continue}if(this.items[L].item[0]===this.currentItem[0]){continue}U=this.items[L].item.offset()[P];M=false;if(I[K]-U>this.items[L][T]/2){M=true}if(Math.abs(I[K]-U)this.containment[2]){K=this.containment[2]+this.offset.click.left}if(L.pageY-this.offset.click.top>this.containment[3]){J=this.containment[3]+this.offset.click.top}}if(O.grid){N=this.originalPageY+Math.round((J-this.originalPageY)/O.grid[1])*O.grid[1];J=this.containment?((N-this.offset.click.top>=this.containment[1]&&N-this.offset.click.top<=this.containment[3])?N:((N-this.offset.click.top>=this.containment[1])?N-O.grid[1]:N+O.grid[1])):N;M=this.originalPageX+Math.round((K-this.originalPageX)/O.grid[0])*O.grid[0];K=this.containment?((M-this.offset.click.left>=this.containment[0]&&M-this.offset.click.left<=this.containment[2])?M:((M-this.offset.click.left>=this.containment[0])?M-O.grid[0]:M+O.grid[0])):M}}return{top:(J-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+((this.cssPosition==="fixed"?-this.scrollParent.scrollTop():(P?0:I.scrollTop())))),left:(K-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+((this.cssPosition==="fixed"?-this.scrollParent.scrollLeft():P?0:I.scrollLeft())))}},_rearrange:function(M,L,J,K){J?J[0].appendChild(this.placeholder[0]):L.item[0].parentNode.insertBefore(this.placeholder[0],(this.direction==="down"?L.item[0]:L.item[0].nextSibling));this.counter=this.counter?++this.counter:1;var I=this.counter;this._delay(function(){if(I===this.counter){this.refreshPositions(!K)}})},_clear:function(J,L){this.reverting=false;var I,M=[];if(!this._noFinalSort&&this.currentItem.parent().length){this.placeholder.before(this.currentItem)}this._noFinalSort=null;if(this.helper[0]===this.currentItem[0]){for(I in this._storedCSS){if(this._storedCSS[I]==="auto"||this._storedCSS[I]==="static"){this._storedCSS[I]=""}}this.currentItem.css(this._storedCSS);this._removeClass(this.currentItem,"ui-sortable-helper")}else{this.currentItem.show()}if(this.fromOutside&&!L){M.push(function(N){this._trigger("receive",N,this._uiHash(this.fromOutside))})}if((this.fromOutside||this.domPosition.prev!==this.currentItem.prev().not(".ui-sortable-helper")[0]||this.domPosition.parent!==this.currentItem.parent()[0])&&!L){M.push(function(N){this._trigger("update",N,this._uiHash())})}if(this!==this.currentContainer){if(!L){M.push(function(N){this._trigger("remove",N,this._uiHash())});M.push((function(N){return function(O){N._trigger("receive",O,this._uiHash(this))}}).call(this,this.currentContainer));M.push((function(N){return function(O){N._trigger("update",O,this._uiHash(this))}}).call(this,this.currentContainer))}}function K(P,N,O){return function(Q){O._trigger(P,Q,N._uiHash(N))}}for(I=this.containers.length-1;I>=0;I--){if(!L){M.push(K("deactivate",this,this.containers[I]))}if(this.containers[I].containerCache.over){M.push(K("out",this,this.containers[I]));this.containers[I].containerCache.over=0}}if(this.storedCursor){this.document.find("body").css("cursor",this.storedCursor);this.storedStylesheet.remove()}if(this._storedOpacity){this.helper.css("opacity",this._storedOpacity)}if(this._storedZIndex){this.helper.css("zIndex",this._storedZIndex==="auto"?"":this._storedZIndex)}this.dragging=false;if(!L){this._trigger("beforeStop",J,this._uiHash())}this.placeholder[0].parentNode.removeChild(this.placeholder[0]);if(!this.cancelHelperRemoval){if(this.helper[0]!==this.currentItem[0]){this.helper.remove()}this.helper=null}if(!L){for(I=0;I"))}g.extend(y.prototype,{markerClassName:"hasDatepicker",maxRows:4,_widgetDatepicker:function(){return this.dpDiv},setDefaults:function(I){F(this._defaults,I||{});return this},_attachDatepicker:function(L,I){var M,K,J;M=L.nodeName.toLowerCase();K=(M==="div"||M==="span");if(!L.id){this.uuid+=1;L.id="dp"+this.uuid}J=this._newInst(g(L),K);J.settings=g.extend({},I||{});if(M==="input"){this._connectDatepicker(L,J)}else{if(K){this._inlineDatepicker(L,J)}}},_newInst:function(J,I){var K=J[0].id.replace(/([^A-Za-z0-9_\-])/g,"\\\\$1");return{id:K,input:J,selectedDay:0,selectedMonth:0,selectedYear:0,drawMonth:0,drawYear:0,inline:I,dpDiv:(!I?this.dpDiv:b(g("
")))}},_connectDatepicker:function(K,J){var I=g(K);J.append=g([]);J.trigger=g([]);if(I.hasClass(this.markerClassName)){return}this._attachments(I,J);I.addClass(this.markerClassName).on("keydown",this._doKeyDown).on("keypress",this._doKeyPress).on("keyup",this._doKeyUp);this._autoSize(J);g.data(K,"datepicker",J);if(J.settings.disabled){this._disableDatepicker(K)}},_attachments:function(K,N){var J,M,I,O=this._get(N,"appendText"),L=this._get(N,"isRTL");if(N.append){N.append.remove()}if(O){N.append=g(""+O+"");K[L?"before":"after"](N.append)}K.off("focus",this._showDatepicker);if(N.trigger){N.trigger.remove()}J=this._get(N,"showOn");if(J==="focus"||J==="both"){K.on("focus",this._showDatepicker)}if(J==="button"||J==="both"){M=this._get(N,"buttonText");I=this._get(N,"buttonImage");N.trigger=g(this._get(N,"buttonImageOnly")?g("").addClass(this._triggerClass).attr({src:I,alt:M,title:M}):g("").addClass(this._triggerClass).html(!I?M:g("").attr({src:I,alt:M,title:M})));K[L?"before":"after"](N.trigger);N.trigger.on("click",function(){if(g.datepicker._datepickerShowing&&g.datepicker._lastInput===K[0]){g.datepicker._hideDatepicker()}else{if(g.datepicker._datepickerShowing&&g.datepicker._lastInput!==K[0]){g.datepicker._hideDatepicker();g.datepicker._showDatepicker(K[0])}else{g.datepicker._showDatepicker(K[0])}}return false})}},_autoSize:function(O){if(this._get(O,"autoSize")&&!O.inline){var L,J,K,N,M=new Date(2009,12-1,20),I=this._get(O,"dateFormat");if(I.match(/[DM]/)){L=function(P){J=0;K=0;for(N=0;NJ){J=P[N].length;K=N}}return K};M.setMonth(L(this._get(O,(I.match(/MM/)?"monthNames":"monthNamesShort"))));M.setDate(L(this._get(O,(I.match(/DD/)?"dayNames":"dayNamesShort")))+20-M.getDay())}O.input.attr("size",this._formatDate(O,M).length)}},_inlineDatepicker:function(J,I){var K=g(J);if(K.hasClass(this.markerClassName)){return}K.addClass(this.markerClassName).append(I.dpDiv);g.data(J,"datepicker",I);this._setDate(I,this._getDefaultDate(I),true);this._updateDatepicker(I);this._updateAlternate(I);if(I.settings.disabled){this._disableDatepicker(J)}I.dpDiv.css("display","block")},_dialogDatepicker:function(P,J,N,K,O){var I,S,M,R,Q,L=this._dialogInst;if(!L){this.uuid+=1;I="dp"+this.uuid;this._dialogInput=g("");this._dialogInput.on("keydown",this._doKeyDown);g("body").append(this._dialogInput);L=this._dialogInst=this._newInst(this._dialogInput,false);L.settings={};g.data(this._dialogInput[0],"datepicker",L)}F(L.settings,K||{});J=(J&&J.constructor===Date?this._formatDate(L,J):J);this._dialogInput.val(J);this._pos=(O?(O.length?O:[O.pageX,O.pageY]):null);if(!this._pos){S=document.documentElement.clientWidth;M=document.documentElement.clientHeight;R=document.documentElement.scrollLeft||document.body.scrollLeft;Q=document.documentElement.scrollTop||document.body.scrollTop;this._pos=[(S/2)-100+R,(M/2)-150+Q]}this._dialogInput.css("left",(this._pos[0]+20)+"px").css("top",this._pos[1]+"px");L.settings.onSelect=N;this._inDialog=true;this.dpDiv.addClass(this._dialogClass);this._showDatepicker(this._dialogInput[0]);if(g.blockUI){g.blockUI(this.dpDiv)}g.data(this._dialogInput[0],"datepicker",L);return this},_destroyDatepicker:function(K){var L,I=g(K),J=g.data(K,"datepicker");if(!I.hasClass(this.markerClassName)){return}L=K.nodeName.toLowerCase();g.removeData(K,"datepicker");if(L==="input"){J.append.remove();J.trigger.remove();I.removeClass(this.markerClassName).off("focus",this._showDatepicker).off("keydown",this._doKeyDown).off("keypress",this._doKeyPress).off("keyup",this._doKeyUp)}else{if(L==="div"||L==="span"){I.removeClass(this.markerClassName).empty()}}if(A===J){A=null}},_enableDatepicker:function(L){var M,K,I=g(L),J=g.data(L,"datepicker");if(!I.hasClass(this.markerClassName)){return}M=L.nodeName.toLowerCase();if(M==="input"){L.disabled=false;J.trigger.filter("button").each(function(){this.disabled=false}).end().filter("img").css({opacity:"1.0",cursor:""})}else{if(M==="div"||M==="span"){K=I.children("."+this._inlineClass);K.children().removeClass("ui-state-disabled");K.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",false)}}this._disabledInputs=g.map(this._disabledInputs,function(N){return(N===L?null:N)})},_disableDatepicker:function(L){var M,K,I=g(L),J=g.data(L,"datepicker");if(!I.hasClass(this.markerClassName)){return}M=L.nodeName.toLowerCase();if(M==="input"){L.disabled=true;J.trigger.filter("button").each(function(){this.disabled=true}).end().filter("img").css({opacity:"0.5",cursor:"default"})}else{if(M==="div"||M==="span"){K=I.children("."+this._inlineClass);K.children().addClass("ui-state-disabled");K.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",true)}}this._disabledInputs=g.map(this._disabledInputs,function(N){return(N===L?null:N)});this._disabledInputs[this._disabledInputs.length]=L},_isDisabledDatepicker:function(J){if(!J){return false}for(var I=0;I-1)}},_doKeyUp:function(K){var I,L=g.datepicker._getInst(K.target);if(L.input.val()!==L.lastVal){try{I=g.datepicker.parseDate(g.datepicker._get(L,"dateFormat"),(L.input?L.input.val():null),g.datepicker._getFormatConfig(L));if(I){g.datepicker._setDateFromField(L);g.datepicker._updateAlternate(L);g.datepicker._updateDatepicker(L)}}catch(J){}}return true},_showDatepicker:function(J){J=J.target||J;if(J.nodeName.toLowerCase()!=="input"){J=g("input",J.parentNode)[0]}if(g.datepicker._isDisabledDatepicker(J)||g.datepicker._lastInput===J){return}var L,P,K,N,O,I,M;L=g.datepicker._getInst(J);if(g.datepicker._curInst&&g.datepicker._curInst!==L){g.datepicker._curInst.dpDiv.stop(true,true);if(L&&g.datepicker._datepickerShowing){g.datepicker._hideDatepicker(g.datepicker._curInst.input[0])}}P=g.datepicker._get(L,"beforeShow");K=P?P.apply(J,[J,L]):{};if(K===false){return}F(L.settings,K);L.lastVal=null;g.datepicker._lastInput=J;g.datepicker._setDateFromField(L);if(g.datepicker._inDialog){J.value=""}if(!g.datepicker._pos){g.datepicker._pos=g.datepicker._findPos(J);g.datepicker._pos[1]+=J.offsetHeight}N=false;g(J).parents().each(function(){N|=g(this).css("position")==="fixed";return !N});O={left:g.datepicker._pos[0],top:g.datepicker._pos[1]};g.datepicker._pos=null;L.dpDiv.empty();L.dpDiv.css({position:"absolute",display:"block",top:"-1000px"});g.datepicker._updateDatepicker(L);O=g.datepicker._checkOffset(L,O,N);L.dpDiv.css({position:(g.datepicker._inDialog&&g.blockUI?"static":(N?"fixed":"absolute")),display:"none",left:O.left+"px",top:O.top+"px"});if(!L.inline){I=g.datepicker._get(L,"showAnim");M=g.datepicker._get(L,"duration");L.dpDiv.css("z-index",D(g(J))+1);g.datepicker._datepickerShowing=true;if(g.effects&&g.effects.effect[I]){L.dpDiv.show(I,g.datepicker._get(L,"showOptions"),M)}else{L.dpDiv[I||"show"](I?M:null)}if(g.datepicker._shouldFocusInput(L)){L.input.trigger("focus")}g.datepicker._curInst=L}},_updateDatepicker:function(L){this.maxRows=4;A=L;L.dpDiv.empty().append(this._generateHTML(L));this._attachHandlers(L);var N,I=this._getNumberOfMonths(L),M=I[1],K=17,J=L.dpDiv.find("."+this._dayOverClass+" a");if(J.length>0){E.apply(J.get(0))}L.dpDiv.removeClass("ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4").width("");if(M>1){L.dpDiv.addClass("ui-datepicker-multi-"+M).css("width",(K*M)+"em")}L.dpDiv[(I[0]!==1||I[1]!==1?"add":"remove")+"Class"]("ui-datepicker-multi");L.dpDiv[(this._get(L,"isRTL")?"add":"remove")+"Class"]("ui-datepicker-rtl");if(L===g.datepicker._curInst&&g.datepicker._datepickerShowing&&g.datepicker._shouldFocusInput(L)){L.input.trigger("focus")}if(L.yearshtml){N=L.yearshtml;setTimeout(function(){if(N===L.yearshtml&&L.yearshtml){L.dpDiv.find("select.ui-datepicker-year:first").replaceWith(L.yearshtml)}N=L.yearshtml=null},0)}},_shouldFocusInput:function(I){return I.input&&I.input.is(":visible")&&!I.input.is(":disabled")&&!I.input.is(":focus")},_checkOffset:function(N,L,K){var M=N.dpDiv.outerWidth(),Q=N.dpDiv.outerHeight(),P=N.input?N.input.outerWidth():0,I=N.input?N.input.outerHeight():0,O=document.documentElement.clientWidth+(K?0:g(document).scrollLeft()),J=document.documentElement.clientHeight+(K?0:g(document).scrollTop());L.left-=(this._get(N,"isRTL")?(M-P):0);L.left-=(K&&L.left===N.input.offset().left)?g(document).scrollLeft():0;L.top-=(K&&L.top===(N.input.offset().top+I))?g(document).scrollTop():0;L.left-=Math.min(L.left,(L.left+M>O&&O>M)?Math.abs(L.left+M-O):0);L.top-=Math.min(L.top,(L.top+Q>J&&J>Q)?Math.abs(Q+I):0);return L},_findPos:function(L){var I,K=this._getInst(L),J=this._get(K,"isRTL");while(L&&(L.type==="hidden"||L.nodeType!==1||g.expr.filters.hidden(L))){L=L[J?"previousSibling":"nextSibling"]}I=g(L).offset();return[I.left,I.top]},_hideDatepicker:function(K){var J,N,M,I,L=this._curInst;if(!L||(K&&L!==g.data(K,"datepicker"))){return}if(this._datepickerShowing){J=this._get(L,"showAnim");N=this._get(L,"duration");M=function(){g.datepicker._tidyDialog(L)};if(g.effects&&(g.effects.effect[J]||g.effects[J])){L.dpDiv.hide(J,g.datepicker._get(L,"showOptions"),N,M)}else{L.dpDiv[(J==="slideDown"?"slideUp":(J==="fadeIn"?"fadeOut":"hide"))]((J?N:null),M)}if(!J){M()}this._datepickerShowing=false;I=this._get(L,"onClose");if(I){I.apply((L.input?L.input[0]:null),[(L.input?L.input.val():""),L])}this._lastInput=null;if(this._inDialog){this._dialogInput.css({position:"absolute",left:"0",top:"-100px"});if(g.blockUI){g.unblockUI();g("body").append(this.dpDiv)}}this._inDialog=false}},_tidyDialog:function(I){I.dpDiv.removeClass(this._dialogClass).off(".ui-datepicker-calendar")},_checkExternalClick:function(J){if(!g.datepicker._curInst){return}var I=g(J.target),K=g.datepicker._getInst(I[0]);if(((I[0].id!==g.datepicker._mainDivId&&I.parents("#"+g.datepicker._mainDivId).length===0&&!I.hasClass(g.datepicker.markerClassName)&&!I.closest("."+g.datepicker._triggerClass).length&&g.datepicker._datepickerShowing&&!(g.datepicker._inDialog&&g.blockUI)))||(I.hasClass(g.datepicker.markerClassName)&&g.datepicker._curInst!==K)){g.datepicker._hideDatepicker()}},_adjustDate:function(M,L,K){var J=g(M),I=this._getInst(J[0]);if(this._isDisabledDatepicker(J[0])){return}this._adjustInstDate(I,L+(K==="M"?this._get(I,"showCurrentAtPos"):0),K);this._updateDatepicker(I)},_gotoToday:function(L){var I,K=g(L),J=this._getInst(K[0]);if(this._get(J,"gotoCurrent")&&J.currentDay){J.selectedDay=J.currentDay;J.drawMonth=J.selectedMonth=J.currentMonth;J.drawYear=J.selectedYear=J.currentYear}else{I=new Date();J.selectedDay=I.getDate();J.drawMonth=J.selectedMonth=I.getMonth();J.drawYear=J.selectedYear=I.getFullYear()}this._notifyChange(J);this._adjustDate(K)},_selectMonthYear:function(M,I,L){var K=g(M),J=this._getInst(K[0]);J["selected"+(L==="M"?"Month":"Year")]=J["draw"+(L==="M"?"Month":"Year")]=parseInt(I.options[I.selectedIndex].value,10);this._notifyChange(J);this._adjustDate(K)},_selectDay:function(N,L,I,M){var J,K=g(N);if(g(M).hasClass(this._unselectableClass)||this._isDisabledDatepicker(K[0])){return}J=this._getInst(K[0]);J.selectedDay=J.currentDay=g("a",M).html();J.selectedMonth=J.currentMonth=L;J.selectedYear=J.currentYear=I;this._selectDate(N,this._formatDate(J,J.currentDay,J.currentMonth,J.currentYear))},_clearDate:function(J){var I=g(J);this._selectDate(I,"")},_selectDate:function(M,I){var J,L=g(M),K=this._getInst(L[0]);I=(I!=null?I:this._formatDate(K));if(K.input){K.input.val(I)}this._updateAlternate(K);J=this._get(K,"onSelect");if(J){J.apply((K.input?K.input[0]:null),[I,K])}else{if(K.input){K.input.trigger("change")}}if(K.inline){this._updateDatepicker(K)}else{this._hideDatepicker();this._lastInput=K.input[0];if(typeof(K.input[0])!=="object"){K.input.trigger("focus")}this._lastInput=null}},_updateAlternate:function(M){var L,K,I,J=this._get(M,"altField");if(J){L=this._get(M,"altFormat")||this._get(M,"dateFormat");K=this._getDate(M);I=this.formatDate(L,K,this._getFormatConfig(M));g(J).val(I)}},noWeekends:function(J){var I=J.getDay();return[(I>0&&I<6),""]},iso8601Week:function(I){var J,K=new Date(I.getTime());K.setDate(K.getDate()+4-(K.getDay()||7));J=K.getTime();K.setMonth(0);K.setDate(1);return Math.floor(Math.round((J-K)/86400000)/7)+1},parseDate:function(Y,T,aa){if(Y==null||T==null){throw"Invalid arguments"}T=(typeof T==="object"?T.toString():T+"");if(T===""){return null}var L,V,J,Z=0,O=(aa?aa.shortYearCutoff:null)||this._defaults.shortYearCutoff,K=(typeof O!=="string"?O:new Date().getFullYear()%100+parseInt(O,10)),R=(aa?aa.dayNamesShort:null)||this._defaults.dayNamesShort,ac=(aa?aa.dayNames:null)||this._defaults.dayNames,I=(aa?aa.monthNamesShort:null)||this._defaults.monthNamesShort,M=(aa?aa.monthNames:null)||this._defaults.monthNames,N=-1,ad=-1,X=-1,Q=-1,W=false,ab,S=function(af){var ag=(L+1-1){ad=1;X=Q;do{V=this._getDaysInMonth(N,ad-1);if(X<=V){break}ad++;X-=V}while(true)}ab=this._daylightSavingAdjust(new Date(N,ad-1,X));if(ab.getFullYear()!==N||ab.getMonth()+1!==ad||ab.getDate()!==X){throw"Invalid date"}return ab},ATOM:"yy-mm-dd",COOKIE:"D, dd M yy",ISO_8601:"yy-mm-dd",RFC_822:"D, d M y",RFC_850:"DD, dd-M-y",RFC_1036:"D, d M y",RFC_1123:"D, d M yy",RFC_2822:"D, d M yy",RSS:"D, d M y",TICKS:"!",TIMESTAMP:"@",W3C:"yy-mm-dd",_ticksTo1970:(((1970-1)*365+Math.floor(1970/4)-Math.floor(1970/100)+Math.floor(1970/400))*24*60*60*10000000),formatDate:function(R,L,M){if(!L){return""}var T,U=(M?M.dayNamesShort:null)||this._defaults.dayNamesShort,J=(M?M.dayNames:null)||this._defaults.dayNames,P=(M?M.monthNamesShort:null)||this._defaults.monthNamesShort,N=(M?M.monthNames:null)||this._defaults.monthNames,S=function(V){var W=(T+112?I.getHours()+2:0);return I},_setDate:function(O,L,N){var I=!L,K=O.selectedMonth,M=O.selectedYear,J=this._restrictMinMax(O,this._determineDate(O,L,new Date()));O.selectedDay=O.currentDay=J.getDate();O.drawMonth=O.selectedMonth=O.currentMonth=J.getMonth();O.drawYear=O.selectedYear=O.currentYear=J.getFullYear();if((K!==O.selectedMonth||M!==O.selectedYear)&&!N){this._notifyChange(O)}this._adjustInstDate(O);if(O.input){O.input.val(I?"":this._formatDate(O))}},_getDate:function(J){var I=(!J.currentYear||(J.input&&J.input.val()==="")?null:this._daylightSavingAdjust(new Date(J.currentYear,J.currentMonth,J.currentDay)));return I},_attachHandlers:function(J){var I=this._get(J,"stepMonths"),K="#"+J.id.replace(/\\\\/g,"\\");J.dpDiv.find("[data-handler]").map(function(){var L={prev:function(){g.datepicker._adjustDate(K,-I,"M")},next:function(){g.datepicker._adjustDate(K,+I,"M")},hide:function(){g.datepicker._hideDatepicker()},today:function(){g.datepicker._gotoToday(K)},selectDay:function(){g.datepicker._selectDay(K,+this.getAttribute("data-month"),+this.getAttribute("data-year"),this);return false},selectMonth:function(){g.datepicker._selectMonthYear(K,this,"M");return false},selectYear:function(){g.datepicker._selectMonthYear(K,this,"Y");return false}};g(this).on(this.getAttribute("data-event"),L[this.getAttribute("data-handler")])})},_generateHTML:function(az){var ab,aa,au,al,M,aD,ax,ap,aG,aj,aK,T,V,U,J,aC,R,ae,aF,ar,aL,ad,ai,S,N,av,an,aq,ao,Q,ag,W,ay,aB,L,aE,aI,am,X,aA=new Date(),ac=this._daylightSavingAdjust(new Date(aA.getFullYear(),aA.getMonth(),aA.getDate())),aH=this._get(az,"isRTL"),aJ=this._get(az,"showButtonPanel"),at=this._get(az,"hideIfNoPrevNext"),ah=this._get(az,"navigationAsDateFormat"),Y=this._getNumberOfMonths(az),P=this._get(az,"showCurrentAtPos"),ak=this._get(az,"stepMonths"),af=(Y[0]!==1||Y[1]!==1),K=this._daylightSavingAdjust((!az.currentDay?new Date(9999,9,9):new Date(az.currentYear,az.currentMonth,az.currentDay))),O=this._getMinMaxDate(az,"min"),Z=this._getMinMaxDate(az,"max"),I=az.drawMonth-P,aw=az.drawYear;if(I<0){I+=12;aw--}if(Z){ab=this._daylightSavingAdjust(new Date(Z.getFullYear(),Z.getMonth()-(Y[0]*Y[1])+1,Z.getDate()));ab=(O&&abab){I--;if(I<0){I=11;aw--}}}az.drawMonth=I;az.drawYear=aw;aa=this._get(az,"prevText");aa=(!ah?aa:this.formatDate(aa,this._daylightSavingAdjust(new Date(aw,I-ak,1)),this._getFormatConfig(az)));au=(this._canAdjustMonth(az,-1,aw,I)?""+aa+"":(at?"":""+aa+""));al=this._get(az,"nextText");al=(!ah?al:this.formatDate(al,this._daylightSavingAdjust(new Date(aw,I+ak,1)),this._getFormatConfig(az)));M=(this._canAdjustMonth(az,+1,aw,I)?""+al+"":(at?"":""+al+""));aD=this._get(az,"currentText");ax=(this._get(az,"gotoCurrent")&&az.currentDay?K:ac);aD=(!ah?aD:this.formatDate(aD,ax,this._getFormatConfig(az)));ap=(!az.inline?"":"");aG=(aJ)?"
"+(aH?ap:"")+(this._isInRange(az,ax)?"":"")+(aH?"":ap)+"
":"";aj=parseInt(this._get(az,"firstDay"),10);aj=(isNaN(aj)?0:aj);aK=this._get(az,"showWeek");T=this._get(az,"dayNames");V=this._get(az,"dayNamesMin");U=this._get(az,"monthNames");J=this._get(az,"monthNamesShort");aC=this._get(az,"beforeShowDay");R=this._get(az,"showOtherMonths");ae=this._get(az,"selectOtherMonths");aF=this._getDefaultDate(az);ar="";for(ad=0;ad1){switch(S){case 0:an+=" ui-datepicker-group-first";av=" ui-corner-"+(aH?"right":"left");break;case Y[1]-1:an+=" ui-datepicker-group-last";av=" ui-corner-"+(aH?"left":"right");break;default:an+=" ui-datepicker-group-middle";av="";break}}an+="'>"}an+="
"+(/all|left/.test(av)&&ad===0?(aH?M:au):"")+(/all|right/.test(av)&&ad===0?(aH?au:M):"")+this._generateMonthYearHeader(az,I,aw,O,Z,ad>0||S>0,U,J)+"
";aq=(aK?"":"");for(aL=0;aL<7;aL++){ao=(aL+aj)%7;aq+=""}an+=aq+"";Q=this._getDaysInMonth(aw,I);if(aw===az.selectedYear&&I===az.selectedMonth){az.selectedDay=Math.min(az.selectedDay,Q)}ag=(this._getFirstDayOfMonth(aw,I)-aj+7)%7;W=Math.ceil((ag+Q)/7);ay=(af?this.maxRows>W?this.maxRows:W:W);this.maxRows=ay;aB=this._daylightSavingAdjust(new Date(aw,I,1-ag));for(L=0;L";aE=(!aK?"":"");for(aL=0;aL<7;aL++){aI=(aC?aC.apply((az.input?az.input[0]:null),[aB]):[true,""]);am=(aB.getMonth()!==I);X=(am&&!ae)||!aI[0]||(O&&aBZ);aE+="";aB.setDate(aB.getDate()+1);aB=this._daylightSavingAdjust(aB)}an+=aE+""}I++;if(I>11){I=0;aw++}an+="
"+this._get(az,"weekHeader")+"=5?" class='ui-datepicker-week-end'":"")+">"+V[ao]+"
"+this._get(az,"calculateWeek")(aB)+""+(am&&!R?" ":(X?""+aB.getDate()+"":""+aB.getDate()+""))+"
"+(af?""+((Y[0]>0&&S===Y[1]-1)?"
":""):"");ai+=an}ar+=ai}ar+=aG;az._keyEvent=false;return ar},_generateMonthYearHeader:function(M,K,U,O,S,V,Q,I){var Z,J,aa,X,N,W,T,P,L=this._get(M,"changeMonth"),ab=this._get(M,"changeYear"),ac=this._get(M,"showMonthAfterYear"),R="
",Y="";if(V||!L){Y+=""+Q[K]+""}else{Z=(O&&O.getFullYear()===U);J=(S&&S.getFullYear()===U);Y+=""}if(!ac){R+=Y+(V||!(L&&ab)?" ":"")}if(!M.yearshtml){M.yearshtml="";if(V||!ab){R+=""+U+""}else{X=this._get(M,"yearRange").split(":");N=new Date().getFullYear();W=function(ae){var ad=(ae.match(/c[+\-].*/)?U+parseInt(ae.substring(1),10):(ae.match(/[+\-].*/)?N+parseInt(ae,10):parseInt(ae,10)));return(isNaN(ad)?N:ad)};T=W(X[0]);P=Math.max(T,W(X[1]||""));T=(O?Math.max(T,O.getFullYear()):T);P=(S?Math.min(P,S.getFullYear()):P);M.yearshtml+="";R+=M.yearshtml;M.yearshtml=null}}R+=this._get(M,"yearSuffix");if(ac){R+=(V||!(L&&ab)?" ":"")+Y}R+="
";return R},_adjustInstDate:function(L,O,N){var K=L.selectedYear+(N==="Y"?O:0),M=L.selectedMonth+(N==="M"?O:0),I=Math.min(L.selectedDay,this._getDaysInMonth(K,M))+(N==="D"?O:0),J=this._restrictMinMax(L,this._daylightSavingAdjust(new Date(K,M,I)));L.selectedDay=J.getDate();L.drawMonth=L.selectedMonth=J.getMonth();L.drawYear=L.selectedYear=J.getFullYear();if(N==="M"||N==="Y"){this._notifyChange(L)}},_restrictMinMax:function(L,J){var K=this._getMinMaxDate(L,"min"),M=this._getMinMaxDate(L,"max"),I=(K&&JM?M:I)},_notifyChange:function(J){var I=this._get(J,"onChangeMonthYear");if(I){I.apply((J.input?J.input[0]:null),[J.selectedYear,J.selectedMonth+1,J])}},_getNumberOfMonths:function(J){var I=this._get(J,"numberOfMonths");return(I==null?[1,1]:(typeof I==="number"?[1,I]:I))},_getMinMaxDate:function(J,I){return this._determineDate(J,this._get(J,I+"Date"),null)},_getDaysInMonth:function(I,J){return 32-this._daylightSavingAdjust(new Date(I,J,32)).getDate()},_getFirstDayOfMonth:function(I,J){return new Date(I,J,1).getDay()},_canAdjustMonth:function(L,N,K,M){var I=this._getNumberOfMonths(L),J=this._daylightSavingAdjust(new Date(K,M+(N<0?N:I[0]*I[1]),1));if(N<0){J.setDate(this._getDaysInMonth(J.getFullYear(),J.getMonth()))}return this._isInRange(L,J)},_isInRange:function(M,K){var J,P,L=this._getMinMaxDate(M,"min"),I=this._getMinMaxDate(M,"max"),Q=null,N=null,O=this._get(M,"yearRange");if(O){J=O.split(":");P=new Date().getFullYear();Q=parseInt(J[0],10);N=parseInt(J[1],10);if(J[0].match(/[+\-].*/)){Q+=P}if(J[1].match(/[+\-].*/)){N+=P}}return((!L||K.getTime()>=L.getTime())&&(!I||K.getTime()<=I.getTime())&&(!Q||K.getFullYear()>=Q)&&(!N||K.getFullYear()<=N))},_getFormatConfig:function(I){var J=this._get(I,"shortYearCutoff");J=(typeof J!=="string"?J:new Date().getFullYear()%100+parseInt(J,10));return{shortYearCutoff:J,dayNamesShort:this._get(I,"dayNamesShort"),dayNames:this._get(I,"dayNames"),monthNamesShort:this._get(I,"monthNamesShort"),monthNames:this._get(I,"monthNames")}},_formatDate:function(L,I,M,K){if(!I){L.currentDay=L.selectedDay;L.currentMonth=L.selectedMonth;L.currentYear=L.selectedYear}var J=(I?(typeof I==="object"?I:this._daylightSavingAdjust(new Date(K,M,I))):this._daylightSavingAdjust(new Date(L.currentYear,L.currentMonth,L.currentDay)));return this.formatDate(this._get(L,"dateFormat"),J,this._getFormatConfig(L))}});function b(J){var I="button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a";return J.on("mouseout",I,function(){g(this).removeClass("ui-state-hover");if(this.className.indexOf("ui-datepicker-prev")!==-1){g(this).removeClass("ui-datepicker-prev-hover")}if(this.className.indexOf("ui-datepicker-next")!==-1){g(this).removeClass("ui-datepicker-next-hover")}}).on("mouseover",I,E)}function E(){if(!g.datepicker._isDisabledDatepicker(A.inline?A.dpDiv.parent()[0]:A.input[0])){g(this).parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover");g(this).addClass("ui-state-hover");if(this.className.indexOf("ui-datepicker-prev")!==-1){g(this).addClass("ui-datepicker-prev-hover")}if(this.className.indexOf("ui-datepicker-next")!==-1){g(this).addClass("ui-datepicker-next-hover")}}}function F(K,J){g.extend(K,J);for(var I in J){if(J[I]==null){K[I]=J[I]}}return K}g.fn.datepicker=function(J){if(!this.length){return this}if(!g.datepicker.initialized){g(document).on("mousedown",g.datepicker._checkExternalClick);g.datepicker.initialized=true}if(g("#"+g.datepicker._mainDivId).length===0){g("body").append(g.datepicker.dpDiv)}var I=Array.prototype.slice.call(arguments,1);if(typeof J==="string"&&(J==="isDisabled"||J==="getDate"||J==="widget")){return g.datepicker["_"+J+"Datepicker"].apply(g.datepicker,[this[0]].concat(I))}if(J==="option"&&arguments.length===2&&typeof arguments[1]==="string"){return g.datepicker["_"+J+"Datepicker"].apply(g.datepicker,[this[0]].concat(I))}return this.each(function(){typeof J==="string"?g.datepicker["_"+J+"Datepicker"].apply(g.datepicker,[this].concat(I)):g.datepicker._attachDatepicker(this,J)})};g.datepicker=new y();g.datepicker.initialized=false;g.datepicker.uuid=new Date().getTime();g.datepicker.version="1.12.1";var x=g.datepicker;var q=g.ui.escapeSelector=(function(){var I=/([!"#$%&'()*+,./:;<=>?@[\]^`{|}~])/g;return function(J){return J.replace(I,"\\$1")}})();var i=g.ui.safeActiveElement=function(I){var K;try{K=I.activeElement}catch(J){K=I.body}if(!K){K=I.body}if(!K.nodeName){K=I.body}return K}; /*! * jQuery UI Tabs 1.12.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license */ ;g.widget("ui.tabs",{version:"1.12.1",delay:300,options:{active:null,classes:{"ui-tabs":"ui-corner-all","ui-tabs-nav":"ui-corner-all","ui-tabs-panel":"ui-corner-bottom","ui-tabs-tab":"ui-corner-top"},collapsible:false,event:"click",heightStyle:"content",hide:null,show:null,activate:null,beforeActivate:null,beforeLoad:null,load:null},_isLocal:(function(){var I=/#.*$/;return function(K){var M,L;M=K.href.replace(I,"");L=location.href.replace(I,"");try{M=decodeURIComponent(M)}catch(J){}try{L=decodeURIComponent(L)}catch(J){}return K.hash.length>1&&M===L}})(),_create:function(){var J=this,I=this.options;this.running=false;this._addClass("ui-tabs","ui-widget ui-widget-content");this._toggleClass("ui-tabs-collapsible",null,I.collapsible);this._processTabs();I.active=this._initialActive();if(g.isArray(I.disabled)){I.disabled=g.unique(I.disabled.concat(g.map(this.tabs.filter(".ui-state-disabled"),function(K){return J.tabs.index(K)}))).sort()}if(this.options.active!==false&&this.anchors.length){this.active=this._findActive(I.active)}else{this.active=g()}this._refresh();if(this.active.length){this.load(I.active)}},_initialActive:function(){var J=this.options.active,I=this.options.collapsible,K=location.hash.substring(1);if(J===null){if(K){this.tabs.each(function(L,M){if(g(M).attr("aria-controls")===K){J=L;return false}})}if(J===null){J=this.tabs.index(this.tabs.filter(".ui-tabs-active"))}if(J===null||J===-1){J=this.tabs.length?0:false}}if(J!==false){J=this.tabs.index(this.tabs.eq(J));if(J===-1){J=I?false:0}}if(!I&&J===false&&this.anchors.length){J=0}return J},_getCreateEventData:function(){return{tab:this.active,panel:!this.active.length?g():this._getPanelForTab(this.active)}},_tabKeydown:function(K){var J=g(g.ui.safeActiveElement(this.document[0])).closest("li"),I=this.tabs.index(J),L=true;if(this._handlePageNav(K)){return}switch(K.keyCode){case g.ui.keyCode.RIGHT:case g.ui.keyCode.DOWN:I++;break;case g.ui.keyCode.UP:case g.ui.keyCode.LEFT:L=false;I--;break;case g.ui.keyCode.END:I=this.anchors.length-1;break;case g.ui.keyCode.HOME:I=0;break;case g.ui.keyCode.SPACE:K.preventDefault();clearTimeout(this.activating);this._activate(I);return;case g.ui.keyCode.ENTER:K.preventDefault();clearTimeout(this.activating);this._activate(I===this.options.active?false:I);return;default:return}K.preventDefault();clearTimeout(this.activating);I=this._focusNextTab(I,L);if(!K.ctrlKey&&!K.metaKey){J.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(I){if(this._handlePageNav(I)){return}if(I.ctrlKey&&I.keyCode===g.ui.keyCode.UP){I.preventDefault();this.active.trigger("focus")}},_handlePageNav:function(I){if(I.altKey&&I.keyCode===g.ui.keyCode.PAGE_UP){this._activate(this._focusNextTab(this.options.active-1,false));return true}if(I.altKey&&I.keyCode===g.ui.keyCode.PAGE_DOWN){this._activate(this._focusNextTab(this.options.active+1,true));return true}},_findNextTab:function(J,K){var I=this.tabs.length-1;function L(){if(J>I){J=0}if(J<0){J=I}return J}while(g.inArray(L(),this.options.disabled)!==-1){J=K?J+1:J-1}return J},_focusNextTab:function(I,J){I=this._findNextTab(I,J);this.tabs.eq(I).trigger("focus");return I},_setOption:function(I,J){if(I==="active"){this._activate(J);return}this._super(I,J);if(I==="collapsible"){this._toggleClass("ui-tabs-collapsible",null,J);if(!J&&this.options.active===false){this._activate(0)}}if(I==="event"){this._setupEvents(J)}if(I==="heightStyle"){this._setupHeightStyle(J)}},_sanitizeSelector:function(I){return I?I.replace(/[!"$%&'()*+,.\/:;<=>?@\[\]\^`{|}~]/g,"\\$&"):""},refresh:function(){var J=this.options,I=this.tablist.children(":has(a[href])");J.disabled=g.map(I.filter(".ui-state-disabled"),function(K){return I.index(K)});this._processTabs();if(J.active===false||!this.anchors.length){J.active=false;this.active=g()}else{if(this.active.length&&!g.contains(this.tablist[0],this.active[0])){if(this.tabs.length===J.disabled.length){J.active=false;this.active=g()}else{this._activate(this._findNextTab(Math.max(0,J.active-1),false))}}else{J.active=this.tabs.index(this.active)}}this._refresh()},_refresh:function(){this._setOptionDisabled(this.options.disabled);this._setupEvents(this.options.event);this._setupHeightStyle(this.options.heightStyle);this.tabs.not(this.active).attr({"aria-selected":"false","aria-expanded":"false",tabIndex:-1});this.panels.not(this._getPanelForTab(this.active)).hide().attr({"aria-hidden":"true"});if(!this.active.length){this.tabs.eq(0).attr("tabIndex",0)}else{this.active.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0});this._addClass(this.active,"ui-tabs-active","ui-state-active");this._getPanelForTab(this.active).show().attr({"aria-hidden":"false"})}},_processTabs:function(){var K=this,L=this.tabs,J=this.anchors,I=this.panels;this.tablist=this._getList().attr("role","tablist");this._addClass(this.tablist,"ui-tabs-nav","ui-helper-reset ui-helper-clearfix ui-widget-header");this.tablist.on("mousedown"+this.eventNamespace,"> li",function(M){if(g(this).is(".ui-state-disabled")){M.preventDefault()}}).on("focus"+this.eventNamespace,".ui-tabs-anchor",function(){if(g(this).closest("li").is(".ui-state-disabled")){this.blur()}});this.tabs=this.tablist.find("> li:has(a[href])").attr({role:"tab",tabIndex:-1});this._addClass(this.tabs,"ui-tabs-tab","ui-state-default");this.anchors=this.tabs.map(function(){return g("a",this)[0]}).attr({role:"presentation",tabIndex:-1});this._addClass(this.anchors,"ui-tabs-anchor");this.panels=g();this.anchors.each(function(R,P){var M,N,Q,O=g(P).uniqueId().attr("id"),S=g(P).closest("li"),T=S.attr("aria-controls");if(K._isLocal(P)){M=P.hash;Q=M.substring(1);N=K.element.find(K._sanitizeSelector(M))}else{Q=S.attr("aria-controls")||g({}).uniqueId()[0].id;M="#"+Q;N=K.element.find(M);if(!N.length){N=K._createPanel(Q);N.insertAfter(K.panels[R-1]||K.tablist)}N.attr("aria-live","polite")}if(N.length){K.panels=K.panels.add(N)}if(T){S.data("ui-tabs-aria-controls",T)}S.attr({"aria-controls":Q,"aria-labelledby":O});N.attr("aria-labelledby",O)});this.panels.attr("role","tabpanel");this._addClass(this.panels,"ui-tabs-panel","ui-widget-content");if(L){this._off(L.not(this.tabs));this._off(J.not(this.anchors));this._off(I.not(this.panels))}},_getList:function(){return this.tablist||this.element.find("ol, ul").eq(0)},_createPanel:function(I){return g("
").attr("id",I).data("ui-tabs-destroy",true)},_setOptionDisabled:function(L){var K,I,J;if(g.isArray(L)){if(!L.length){L=false}else{if(L.length===this.anchors.length){L=true}}}for(J=0;(I=this.tabs[J]);J++){K=g(I);if(L===true||g.inArray(J,L)!==-1){K.attr("aria-disabled","true");this._addClass(K,null,"ui-state-disabled")}else{K.removeAttr("aria-disabled");this._removeClass(K,null,"ui-state-disabled")}}this.options.disabled=L;this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,L===true)},_setupEvents:function(J){var I={};if(J){g.each(J.split(" "),function(L,K){I[K]="_eventHandler"})}this._off(this.anchors.add(this.tabs).add(this.panels));this._on(true,this.anchors,{click:function(K){K.preventDefault()}});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(I){var K,J=this.element.parent();if(I==="fill"){K=J.height();K-=this.element.outerHeight()-this.element.height();this.element.siblings(":visible").each(function(){var M=g(this),L=M.css("position");if(L==="absolute"||L==="fixed"){return}K-=M.outerHeight(true)});this.element.children().not(this.panels).each(function(){K-=g(this).outerHeight(true)});this.panels.each(function(){g(this).height(Math.max(0,K-g(this).innerHeight()+g(this).height()))}).css("overflow","auto")}else{if(I==="auto"){K=0;this.panels.each(function(){K=Math.max(K,g(this).height("").height())}).height(K)}}},_eventHandler:function(I){var R=this.options,M=this.active,N=g(I.currentTarget),L=N.closest("li"),P=L[0]===M[0],J=P&&R.collapsible,K=J?g():this._getPanelForTab(L),O=!M.length?g():this._getPanelForTab(M),Q={oldTab:M,oldPanel:O,newTab:J?g():L,newPanel:K};I.preventDefault();if(L.hasClass("ui-state-disabled")||L.hasClass("ui-tabs-loading")||this.running||(P&&!R.collapsible)||(this._trigger("beforeActivate",I,Q)===false)){return}R.active=J?false:this.tabs.index(L);this.active=P?g():L;if(this.xhr){this.xhr.abort()}if(!O.length&&!K.length){g.error("jQuery UI Tabs: Mismatching fragment identifier.")}if(K.length){this.load(this.tabs.index(L),I)}this._toggle(I,Q)},_toggle:function(O,N){var M=this,I=N.newPanel,L=N.oldPanel;this.running=true;function K(){M.running=false;M._trigger("activate",O,N)}function J(){M._addClass(N.newTab.closest("li"),"ui-tabs-active","ui-state-active");if(I.length&&M.options.show){M._show(I,M.options.show,K)}else{I.show();K()}}if(L.length&&this.options.hide){this._hide(L,this.options.hide,function(){M._removeClass(N.oldTab.closest("li"),"ui-tabs-active","ui-state-active");J()})}else{this._removeClass(N.oldTab.closest("li"),"ui-tabs-active","ui-state-active");L.hide();J()}L.attr("aria-hidden","true");N.oldTab.attr({"aria-selected":"false","aria-expanded":"false"});if(I.length&&L.length){N.oldTab.attr("tabIndex",-1)}else{if(I.length){this.tabs.filter(function(){return g(this).attr("tabIndex")===0}).attr("tabIndex",-1)}}I.attr("aria-hidden","false");N.newTab.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0})},_activate:function(J){var I,K=this._findActive(J);if(K[0]===this.active[0]){return}if(!K.length){K=this.active}I=K.find(".ui-tabs-anchor")[0];this._eventHandler({target:I,currentTarget:I,preventDefault:g.noop})},_findActive:function(I){return I===false?g():this.tabs.eq(I)},_getIndex:function(I){if(typeof I==="string"){I=this.anchors.index(this.anchors.filter("[href$='"+g.ui.escapeSelector(I)+"']"))}return I},_destroy:function(){if(this.xhr){this.xhr.abort()}this.tablist.removeAttr("role").off(this.eventNamespace);this.anchors.removeAttr("role tabIndex").removeUniqueId();this.tabs.add(this.panels).each(function(){if(g.data(this,"ui-tabs-destroy")){g(this).remove()}else{g(this).removeAttr("role tabIndex aria-live aria-busy aria-selected aria-labelledby aria-hidden aria-expanded")}});this.tabs.each(function(){var I=g(this),J=I.data("ui-tabs-aria-controls");if(J){I.attr("aria-controls",J).removeData("ui-tabs-aria-controls")}else{I.removeAttr("aria-controls")}});this.panels.show();if(this.options.heightStyle!=="content"){this.panels.css("height","")}},enable:function(I){var J=this.options.disabled;if(J===false){return}if(I===undefined){J=false}else{I=this._getIndex(I);if(g.isArray(J)){J=g.map(J,function(K){return K!==I?K:null})}else{J=g.map(this.tabs,function(K,L){return L!==I?L:null})}}this._setOptionDisabled(J)},disable:function(I){var J=this.options.disabled;if(J===true){return}if(I===undefined){J=true}else{I=this._getIndex(I);if(g.inArray(I,J)!==-1){return}if(g.isArray(J)){J=g.merge([I],J).sort()}else{J=[I]}}this._setOptionDisabled(J)},load:function(L,P){L=this._getIndex(L);var O=this,M=this.tabs.eq(L),K=M.find(".ui-tabs-anchor"),J=this._getPanelForTab(M),N={tab:M,panel:J},I=function(R,Q){if(Q==="abort"){O.panels.stop(false,true)}O._removeClass(M,"ui-tabs-loading");J.removeAttr("aria-busy");if(R===O.xhr){delete O.xhr}};if(this._isLocal(K[0])){return}this.xhr=g.ajax(this._ajaxSettings(K,P,N));if(this.xhr&&this.xhr.statusText!=="canceled"){this._addClass(M,"ui-tabs-loading");J.attr("aria-busy","true");this.xhr.done(function(R,Q,S){setTimeout(function(){J.html(R);O._trigger("load",P,N);I(S,Q)},1)}).fail(function(R,Q){setTimeout(function(){I(R,Q)},1)})}},_ajaxSettings:function(I,L,K){var J=this;return{url:I.attr("href").replace(/#.*$/,""),beforeSend:function(N,M){return J._trigger("beforeLoad",L,g.extend({jqXHR:N,ajaxSettings:M},K))}}},_getPanelForTab:function(I){var J=g(I).attr("aria-controls");return this.element.find(this._sanitizeSelector("#"+J))}});if(g.uiBackCompat!==false){g.widget("ui.tabs",g.ui.tabs,{_processTabs:function(){this._superApply(arguments);this._addClass(this.tabs,"ui-tab")}})}var a=g.ui.tabs; /*! * jQuery UI Tooltip 1.12.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license */ ;g.widget("ui.tooltip",{version:"1.12.1",options:{classes:{"ui-tooltip":"ui-corner-all ui-widget-shadow"},content:function(){var I=g(this).attr("title")||"";return g("").text(I).html()},hide:true,items:"[title]:not([disabled])",position:{my:"left top+15",at:"left bottom",collision:"flipfit flip"},show:true,track:false,close:null,open:null},_addDescribedBy:function(J,K){var I=(J.attr("aria-describedby")||"").split(/\s+/);I.push(K);J.data("ui-tooltip-id",K).attr("aria-describedby",g.trim(I.join(" ")))},_removeDescribedBy:function(K){var L=K.data("ui-tooltip-id"),J=(K.attr("aria-describedby")||"").split(/\s+/),I=g.inArray(L,J);if(I!==-1){J.splice(I,1)}K.removeData("ui-tooltip-id");J=g.trim(J.join(" "));if(J){K.attr("aria-describedby",J)}else{K.removeAttr("aria-describedby")}},_create:function(){this._on({mouseover:"open",focusin:"open"});this.tooltips={};this.parents={};this.liveRegion=g("
").attr({role:"log","aria-live":"assertive","aria-relevant":"additions"}).appendTo(this.document[0].body);this._addClass(this.liveRegion,null,"ui-helper-hidden-accessible");this.disabledTitles=g([])},_setOption:function(I,K){var J=this;this._super(I,K);if(I==="content"){g.each(this.tooltips,function(M,L){J._updateContent(L.element)})}},_setOptionDisabled:function(I){this[I?"_disable":"_enable"]()},_disable:function(){var I=this;g.each(this.tooltips,function(L,K){var J=g.Event("blur");J.target=J.currentTarget=K.element[0];I.close(J,true)});this.disabledTitles=this.disabledTitles.add(this.element.find(this.options.items).addBack().filter(function(){var J=g(this);if(J.is("[title]")){return J.data("ui-tooltip-title",J.attr("title")).removeAttr("title")}}))},_enable:function(){this.disabledTitles.each(function(){var I=g(this);if(I.data("ui-tooltip-title")){I.attr("title",I.data("ui-tooltip-title"))}});this.disabledTitles=g([])},open:function(J){var I=this,K=g(J?J.target:this.element).closest(this.options.items);if(!K.length||K.data("ui-tooltip-id")){return}if(K.attr("title")){K.data("ui-tooltip-title",K.attr("title"))}K.data("ui-tooltip-open",true);if(J&&J.type==="mouseover"){K.parents().each(function(){var M=g(this),L;if(M.data("ui-tooltip-open")){L=g.Event("blur");L.target=L.currentTarget=this;I.close(L,true)}if(M.attr("title")){M.uniqueId();I.parents[this.id]={element:this,title:M.attr("title")};M.attr("title","")}})}this._registerCloseHandlers(J,K);this._updateContent(K,J)},_updateContent:function(N,M){var L,I=this.options.content,K=this,J=M?M.type:null;if(typeof I==="string"||I.nodeType||I.jquery){return this._open(M,N,I)}L=I.call(N[0],function(O){K._delay(function(){if(!N.data("ui-tooltip-open")){return}if(M){M.type=J}this._open(M,N,O)})});if(L){this._open(M,N,L)}},_open:function(J,M,N){var I,Q,P,K,O=g.extend({},this.options.position);if(!N){return}I=this._find(M);if(I){I.tooltip.find(".ui-tooltip-content").html(N);return}if(M.is("[title]")){if(J&&J.type==="mouseover"){M.attr("title","")}else{M.removeAttr("title")}}I=this._tooltip(M);Q=I.tooltip;this._addDescribedBy(M,Q.attr("id"));Q.find(".ui-tooltip-content").html(N);this.liveRegion.children().hide();K=g("
").html(Q.find(".ui-tooltip-content").html());K.removeAttr("name").find("[name]").removeAttr("name");K.removeAttr("id").find("[id]").removeAttr("id");K.appendTo(this.liveRegion);function L(R){O.of=R;if(Q.is(":hidden")){return}Q.position(O)}if(this.options.track&&J&&/^mouse/.test(J.type)){this._on(this.document,{mousemove:L});L(J)}else{Q.position(g.extend({of:M},this.options.position))}Q.hide();this._show(Q,this.options.show);if(this.options.track&&this.options.show&&this.options.show.delay){P=this.delayedShow=setInterval(function(){if(Q.is(":visible")){L(O.of);clearInterval(P)}},g.fx.interval)}this._trigger("open",J,{tooltip:Q})},_registerCloseHandlers:function(J,K){var I={keyup:function(L){if(L.keyCode===g.ui.keyCode.ESCAPE){var M=g.Event(L);M.currentTarget=K[0];this.close(M,true)}}};if(K[0]!==this.element[0]){I.remove=function(){this._removeTooltip(this._find(K).tooltip)}}if(!J||J.type==="mouseover"){I.mouseleave="close"}if(!J||J.type==="focusin"){I.focusout="close"}this._on(true,K,I)},close:function(J){var L,I=this,M=g(J?J.currentTarget:this.element),K=this._find(M);if(!K){M.removeData("ui-tooltip-open");return}L=K.tooltip;if(K.closing){return}clearInterval(this.delayedShow);if(M.data("ui-tooltip-title")&&!M.attr("title")){M.attr("title",M.data("ui-tooltip-title"))}this._removeDescribedBy(M);K.hiding=true;L.stop(true);this._hide(L,this.options.hide,function(){I._removeTooltip(g(this))});M.removeData("ui-tooltip-open");this._off(M,"mouseleave focusout keyup");if(M[0]!==this.element[0]){this._off(M,"remove")}this._off(this.document,"mousemove");if(J&&J.type==="mouseleave"){g.each(this.parents,function(O,N){g(N.element).attr("title",N.title);delete I.parents[O]})}K.closing=true;this._trigger("close",J,{tooltip:L});if(!K.hiding){K.closing=false}},_tooltip:function(I){var K=g("
").attr("role","tooltip"),J=g("
").appendTo(K),L=K.uniqueId().attr("id");this._addClass(J,"ui-tooltip-content");this._addClass(K,"ui-tooltip","ui-widget ui-widget-content");K.appendTo(this._appendTo(I));return this.tooltips[L]={element:I,tooltip:K}},_find:function(I){var J=I.data("ui-tooltip-id");return J?this.tooltips[J]:null},_removeTooltip:function(I){I.remove();delete this.tooltips[I.attr("id")]},_appendTo:function(J){var I=J.closest(".ui-front, dialog");if(!I.length){I=this.document[0].body}return I},_destroy:function(){var I=this;g.each(this.tooltips,function(M,L){var K=g.Event("blur"),J=L.element;K.target=K.currentTarget=J[0];I.close(K,true);g("#"+M).remove();if(J.data("ui-tooltip-title")){if(!J.attr("title")){J.attr("title",J.data("ui-tooltip-title"))}J.removeData("ui-tooltip-title")}});this.liveRegion.remove()}});if(g.uiBackCompat!==false){g.widget("ui.tooltip",g.ui.tooltip,{options:{tooltipClass:null},_tooltip:function(){var I=this._superApply(arguments);if(this.options.tooltipClass){I.tooltip.addClass(this.options.tooltipClass)}return I}})}var d=g.ui.tooltip; /*! * jQuery UI Effects 1.12.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license */ ;var p="ui-effects-",h="ui-effects-style",w="ui-effects-animated",n=g;g.effects={effect:{}}; /*! * jQuery Color Animations v2.1.2 * https://github.com/jquery/jquery-color * * Copyright 2014 jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license * * Date: Wed Jan 16 08:47:09 2013 -0600 */ (function(W,L){var S="backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor",P=/^([\-+])=\s*(\d+\.?\d*)/,O=[{re:/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(X){return[X[1],X[2],X[3],X[4]]}},{re:/rgba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(X){return[X[1]*2.55,X[2]*2.55,X[3]*2.55,X[4]]}},{re:/#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})/,parse:function(X){return[parseInt(X[1],16),parseInt(X[2],16),parseInt(X[3],16)]}},{re:/#([a-f0-9])([a-f0-9])([a-f0-9])/,parse:function(X){return[parseInt(X[1]+X[1],16),parseInt(X[2]+X[2],16),parseInt(X[3]+X[3],16)]}},{re:/hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,space:"hsla",parse:function(X){return[X[1],X[2]/100,X[3]/100,X[4]]}}],M=W.Color=function(Y,Z,X,aa){return new W.Color.fn.parse(Y,Z,X,aa)},R={rgba:{props:{red:{idx:0,type:"byte"},green:{idx:1,type:"byte"},blue:{idx:2,type:"byte"}}},hsla:{props:{hue:{idx:0,type:"degrees"},saturation:{idx:1,type:"percent"},lightness:{idx:2,type:"percent"}}}},V={"byte":{floor:true,max:255},percent:{max:1},degrees:{mod:360,floor:true}},U=M.support={},J=W("

")[0],I,T=W.each;J.style.cssText="background-color:rgba(1,1,1,.5)";U.rgba=J.style.backgroundColor.indexOf("rgba")>-1;T(R,function(X,Y){Y.cache="_"+X;Y.props.alpha={idx:3,type:"percent",def:1}});function Q(Y,aa,Z){var X=V[aa.type]||{};if(Y==null){return(Z||!aa.def)?null:aa.def}Y=X.floor?~~Y:parseFloat(Y);if(isNaN(Y)){return aa.def}if(X.mod){return(Y+X.mod)%X.mod}return 0>Y?0:X.maxaj.mod/2){ag+=aj.mod}else{if(ag-af>aj.mod/2){ag-=aj.mod}}}X[ah]=Q((af-ag)*ae+ag,ak)}});return this[aa](X)},blend:function(aa){if(this._rgba[3]===1){return this}var Z=this._rgba.slice(),Y=Z.pop(),X=M(aa)._rgba;return M(W.map(Z,function(ab,ac){return(1-Y)*X[ac]+Y*ab}))},toRgbaString:function(){var Y="rgba(",X=W.map(this._rgba,function(Z,aa){return Z==null?(aa>2?1:0):Z});if(X[3]===1){X.pop();Y="rgb("}return Y+X.join()+")"},toHslaString:function(){var Y="hsla(",X=W.map(this.hsla(),function(Z,aa){if(Z==null){Z=aa>2?1:0}if(aa&&aa<3){Z=Math.round(Z*100)+"%"}return Z});if(X[3]===1){X.pop();Y="hsl("}return Y+X.join()+")"},toHexString:function(X){var Y=this._rgba.slice(),Z=Y.pop();if(X){Y.push(~~(Z*255))}return"#"+W.map(Y,function(aa){aa=(aa||0).toString(16);return aa.length===1?"0"+aa:aa}).join("")},toString:function(){return this._rgba[3]===0?"transparent":this.toRgbaString()}});M.fn.parse.prototype=M.fn;function K(Z,Y,X){X=(X+1)%1;if(X*6<1){return Z+(Y-Z)*X*6}if(X*2<1){return Y}if(X*3<2){return Z+(Y-Z)*((2/3)-X)*6}return Z}R.hsla.to=function(Z){if(Z[0]==null||Z[1]==null||Z[2]==null){return[null,null,null,Z[3]]}var X=Z[0]/255,ac=Z[1]/255,ad=Z[2]/255,af=Z[3],ae=Math.max(X,ac,ad),aa=Math.min(X,ac,ad),ag=ae-aa,ah=ae+aa,Y=ah*0.5,ab,ai;if(aa===ae){ab=0}else{if(X===ae){ab=(60*(ac-ad)/ag)+360}else{if(ac===ae){ab=(60*(ad-X)/ag)+120}else{ab=(60*(X-ac)/ag)+240}}}if(ag===0){ai=0}else{if(Y<=0.5){ai=ag/ah}else{ai=ag/(2-ah)}}return[Math.round(ab)%360,ai,Y,af==null?1:af]};R.hsla.from=function(ab){if(ab[0]==null||ab[1]==null||ab[2]==null){return[null,null,null,ab[3]]}var aa=ab[0]/360,Z=ab[1],Y=ab[2],X=ab[3],ac=Y<=0.5?Y*(1+Z):Y+Z-Y*Z,ad=2*Y-ac;return[Math.round(K(ad,ac,aa+(1/3))*255),Math.round(K(ad,ac,aa)*255),Math.round(K(ad,ac,aa-(1/3))*255),X]};T(R,function(Y,aa){var Z=aa.props,X=aa.cache,ac=aa.to,ab=aa.from;M.fn[Y]=function(ah){if(ac&&!this[X]){this[X]=ac(this._rgba)}if(ah===L){return this[X].slice()}var ae,ag=W.type(ah),ad=(ag==="array"||ag==="object")?ah:arguments,af=this[X].slice();T(Z,function(ai,ak){var aj=ad[ag==="object"?ai:ak.idx];if(aj==null){aj=af[ak.idx]}af[ak.idx]=Q(aj,ak)});if(ab){ae=M(ab(af));ae[X]=af;return ae}else{return M(af)}};T(Z,function(ad,ae){if(M.fn[ad]){return}M.fn[ad]=function(ai){var ak=W.type(ai),ah=(ad==="alpha"?(this._hsla?"hsla":"rgba"):Y),ag=this[ah](),aj=ag[ae.idx],af;if(ak==="undefined"){return aj}if(ak==="function"){ai=ai.call(this,aj);ak=W.type(ai)}if(ai==null&&ae.empty){return this}if(ak==="string"){af=P.exec(ai);if(af){ai=aj+parseFloat(af[2])*(af[1]==="+"?1:-1)}}ag[ae.idx]=ai;return this[ah](ag)}})});M.hook=function(Y){var X=Y.split(" ");T(X,function(Z,aa){W.cssHooks[aa]={set:function(ae,af){var ac,ad,ab="";if(af!=="transparent"&&(W.type(af)!=="string"||(ac=N(af)))){af=M(ac||af);if(!U.rgba&&af._rgba[3]!==1){ad=aa==="backgroundColor"?ae.parentNode:ae;while((ab===""||ab==="transparent")&&ad&&ad.style){try{ab=W.css(ad,"backgroundColor");ad=ad.parentNode}catch(ag){}}af=af.blend(ab&&ab!=="transparent"?ab:"_default")}af=af.toRgbaString()}try{ae.style[aa]=af}catch(ag){}}};W.fx.step[aa]=function(ab){if(!ab.colorInit){ab.start=M(ab.elem,aa);ab.end=M(ab.end);ab.colorInit=true}W.cssHooks[aa].set(ab.elem,ab.start.transition(ab.end,ab.pos))}})};M.hook(S);W.cssHooks.borderColor={expand:function(Y){var X={};T(["Top","Right","Bottom","Left"],function(aa,Z){X["border"+Z+"Color"]=Y});return X}};I=W.Color.names={aqua:"#00ffff",black:"#000000",blue:"#0000ff",fuchsia:"#ff00ff",gray:"#808080",green:"#008000",lime:"#00ff00",maroon:"#800000",navy:"#000080",olive:"#808000",purple:"#800080",red:"#ff0000",silver:"#c0c0c0",teal:"#008080",white:"#ffffff",yellow:"#ffff00",transparent:[null,null,null,0],_default:"#ffffff"}})(n);(function(){var J=["add","remove","toggle"],K={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1};g.each(["borderLeftStyle","borderRightStyle","borderBottomStyle","borderTopStyle"],function(M,N){g.fx.step[N]=function(O){if(O.end!=="none"&&!O.setAttr||O.pos===1&&!O.setAttr){n.style(O.elem,N,O.end);O.setAttr=true}}});function L(Q){var N,M,O=Q.ownerDocument.defaultView?Q.ownerDocument.defaultView.getComputedStyle(Q,null):Q.currentStyle,P={};if(O&&O.length&&O[0]&&O[O[0]]){M=O.length;while(M--){N=O[M];if(typeof O[N]==="string"){P[g.camelCase(N)]=O[N]}}}else{for(N in O){if(typeof O[N]==="string"){P[N]=O[N]}}}return P}function I(M,O){var Q={},N,P;for(N in O){P=O[N];if(M[N]!==P){if(!K[N]){if(g.fx.step[N]||!isNaN(parseFloat(P))){Q[N]=P}}}}return Q}if(!g.fn.addBack){g.fn.addBack=function(M){return this.add(M==null?this.prevObject:this.prevObject.filter(M))}}g.effects.animateClass=function(M,N,Q,P){var O=g.speed(N,Q,P);return this.queue(function(){var T=g(this),R=T.attr("class")||"",S,U=O.children?T.find("*").addBack():T;U=U.map(function(){var V=g(this);return{el:V,start:L(this)}});S=function(){g.each(J,function(V,W){if(M[W]){T[W+"Class"](M[W])}})};S();U=U.map(function(){this.end=L(this.el[0]);this.diff=I(this.start,this.end);return this});T.attr("class",R);U=U.map(function(){var X=this,V=g.Deferred(),W=g.extend({},O,{queue:false,complete:function(){V.resolve(X)}});this.el.animate(this.diff,W);return V.promise()});g.when.apply(g,U.get()).done(function(){S();g.each(arguments,function(){var V=this.el;g.each(this.diff,function(W){V.css(W,"")})});O.complete.call(T[0])})})};g.fn.extend({addClass:(function(M){return function(O,N,Q,P){return N?g.effects.animateClass.call(this,{add:O},N,Q,P):M.apply(this,arguments)}})(g.fn.addClass),removeClass:(function(M){return function(O,N,Q,P){return arguments.length>1?g.effects.animateClass.call(this,{remove:O},N,Q,P):M.apply(this,arguments)}})(g.fn.removeClass),toggleClass:(function(M){return function(P,O,N,R,Q){if(typeof O==="boolean"||O===undefined){if(!N){return M.apply(this,arguments)}else{return g.effects.animateClass.call(this,(O?{add:P}:{remove:P}),N,R,Q)}}else{return g.effects.animateClass.call(this,{toggle:P},O,N,R)}}})(g.fn.toggleClass),switchClass:function(M,O,N,Q,P){return g.effects.animateClass.call(this,{add:O,remove:M},N,Q,P)}})})();(function(){if(g.expr&&g.expr.filters&&g.expr.filters.animated){g.expr.filters.animated=(function(L){return function(M){return !!g(M).data(w)||L(M)}})(g.expr.filters.animated)}if(g.uiBackCompat!==false){g.extend(g.effects,{save:function(M,O){var L=0,N=O.length;for(;L

").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0}),L={width:M.width(),height:M.height()},P=document.activeElement;try{P.id}catch(O){P=document.body}M.wrap(Q);if(M[0]===P||g.contains(M[0],P)){g(P).trigger("focus")}Q=M.parent();if(M.css("position")==="static"){Q.css({position:"relative"});M.css({position:"relative"})}else{g.extend(N,{position:M.css("position"),zIndex:M.css("z-index")});g.each(["top","left","bottom","right"],function(R,S){N[S]=M.css(S);if(isNaN(parseInt(N[S],10))){N[S]="auto"}});M.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})}M.css(L);return Q.css(N).show()},removeWrapper:function(L){var M=document.activeElement;if(L.parent().is(".ui-effects-wrapper")){L.parent().replaceWith(L);if(L[0]===M||g.contains(L[0],M)){g(M).trigger("focus")}}return L}})}g.extend(g.effects,{version:"1.12.1",define:function(L,N,M){if(!M){M=N;N="effect"}g.effects.effect[L]=M;g.effects.effect[L].mode=N;return M},scaledDimensions:function(M,N,O){if(N===0){return{height:0,width:0,outerHeight:0,outerWidth:0}}var L=O!=="horizontal"?((N||100)/100):1,P=O!=="vertical"?((N||100)/100):1;return{height:M.height()*P,width:M.width()*L,outerHeight:M.outerHeight()*P,outerWidth:M.outerWidth()*L}},clipToBox:function(L){return{width:L.clip.right-L.clip.left,height:L.clip.bottom-L.clip.top,left:L.clip.left,top:L.clip.top}},unshift:function(M,O,N){var L=M.queue();if(O>1){L.splice.apply(L,[1,0].concat(L.splice(O,N)))}M.dequeue()},saveStyle:function(L){L.data(h,L[0].style.cssText)},restoreStyle:function(L){L[0].style.cssText=L.data(h)||"";L.removeData(h)},mode:function(L,N){var M=L.is(":hidden");if(N==="toggle"){N=M?"show":"hide"}if(M?N==="hide":N==="show"){N="none"}return N},getBaseline:function(M,N){var O,L;switch(M[0]){case"top":O=0;break;case"middle":O=0.5;break;case"bottom":O=1;break;default:O=M[0]/N.height}switch(M[1]){case"left":L=0;break;case"center":L=0.5;break;case"right":L=1;break;default:L=M[1]/N.width}return{x:L,y:O}},createPlaceholder:function(M){var O,N=M.css("position"),L=M.position();M.css({marginTop:M.css("marginTop"),marginBottom:M.css("marginBottom"),marginLeft:M.css("marginLeft"),marginRight:M.css("marginRight")}).outerWidth(M.outerWidth()).outerHeight(M.outerHeight());if(/^(static|relative)/.test(N)){N="absolute";O=g("<"+M[0].nodeName+">").insertAfter(M).css({display:/^(inline|ruby)/.test(M.css("display"))?"inline-block":"block",visibility:"hidden",marginTop:M.css("marginTop"),marginBottom:M.css("marginBottom"),marginLeft:M.css("marginLeft"),marginRight:M.css("marginRight"),"float":M.css("float")}).outerWidth(M.outerWidth()).outerHeight(M.outerHeight()).addClass("ui-effects-placeholder");M.data(p+"placeholder",O)}M.css({position:N,left:L.left,top:L.top});return O},removePlaceholder:function(L){var N=p+"placeholder",M=L.data(N);if(M){M.remove();L.removeData(N)}},cleanUp:function(L){g.effects.restoreStyle(L);g.effects.removePlaceholder(L)},setTransition:function(M,O,L,N){N=N||{};g.each(O,function(Q,P){var R=M.cssUnit(P);if(R[0]>0){N[P]=R[0]*L+R[1]}});return N}});function J(M,L,N,O){if(g.isPlainObject(M)){L=M;M=M.effect}M={effect:M};if(L==null){L={}}if(g.isFunction(L)){O=L;N=null;L={}}if(typeof L==="number"||g.fx.speeds[L]){O=N;N=L;L={}}if(g.isFunction(N)){O=N;N=null}if(L){g.extend(M,L)}N=N||L.duration;M.duration=g.fx.off?0:typeof N==="number"?N:N in g.fx.speeds?g.fx.speeds[N]:g.fx.speeds._default;M.complete=O||L.complete;return M}function K(L){if(!L||typeof L==="number"||g.fx.speeds[L]){return true}if(typeof L==="string"&&!g.effects.effect[L]){return true}if(g.isFunction(L)){return true}if(typeof L==="object"&&!L.effect){return true}return false}g.fn.extend({effect:function(){var T=J.apply(this,arguments),S=g.effects.effect[T.effect],P=S.mode,R=T.queue,O=R||"fx",L=T.complete,Q=T.mode,M=[],U=function(X){var W=g(this),V=g.effects.mode(W,Q)||P;W.data(w,true);M.push(V);if(P&&(V==="show"||(V===P&&V==="hide"))){W.show()}if(!P||V!=="none"){g.effects.saveStyle(W)}if(g.isFunction(X)){X()}};if(g.fx.off||!S){if(Q){return this[Q](T.duration,L)}else{return this.each(function(){if(L){L.call(this)}})}}function N(X){var Y=g(this);function W(){Y.removeData(w);g.effects.cleanUp(Y);if(T.mode==="hide"){Y.hide()}V()}function V(){if(g.isFunction(L)){L.call(Y[0])}if(g.isFunction(X)){X()}}T.mode=M.shift();if(g.uiBackCompat!==false&&!P){if(Y.is(":hidden")?Q==="hide":Q==="show"){Y[Q]();V()}else{S.call(Y[0],T,V)}}else{if(T.mode==="none"){Y[Q]();V()}else{S.call(Y[0],T,W)}}}return R===false?this.each(U).each(N):this.queue(O,U).queue(O,N)},show:(function(L){return function(N){if(K(N)){return L.apply(this,arguments)}else{var M=J.apply(this,arguments);M.mode="show";return this.effect.call(this,M)}}})(g.fn.show),hide:(function(L){return function(N){if(K(N)){return L.apply(this,arguments)}else{var M=J.apply(this,arguments);M.mode="hide";return this.effect.call(this,M)}}})(g.fn.hide),toggle:(function(L){return function(N){if(K(N)||typeof N==="boolean"){return L.apply(this,arguments)}else{var M=J.apply(this,arguments);M.mode="toggle";return this.effect.call(this,M)}}})(g.fn.toggle),cssUnit:function(L){var M=this.css(L),N=[];g.each(["em","px","%","pt"],function(O,P){if(M.indexOf(P)>0){N=[parseFloat(M),P]}});return N},cssClip:function(L){if(L){return this.css("clip","rect("+L.top+"px "+L.right+"px "+L.bottom+"px "+L.left+"px)")}return I(this.css("clip"),this)},transfer:function(W,O){var Q=g(this),S=g(W.to),V=S.css("position")==="fixed",R=g("body"),T=V?R.scrollTop():0,U=V?R.scrollLeft():0,L=S.offset(),N={top:L.top-T,left:L.left-U,height:S.innerHeight(),width:S.innerWidth()},P=Q.offset(),M=g("
").appendTo("body").addClass(W.className).css({top:P.top-T,left:P.left-U,height:Q.innerHeight(),width:Q.innerWidth(),position:V?"fixed":"absolute"}).animate(N,W.duration,W.easing,function(){M.remove();if(g.isFunction(O)){O()}})}});function I(Q,N){var P=N.outerWidth(),O=N.outerHeight(),M=/^rect\((-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto)\)$/,L=M.exec(Q)||["",0,P,O,0];return{top:parseFloat(L[1])||0,right:L[2]==="auto"?P:parseFloat(L[2]),bottom:L[3]==="auto"?O:parseFloat(L[3]),left:parseFloat(L[4])||0}}g.fx.step.clip=function(L){if(!L.clipInit){L.start=g(L.elem).cssClip();if(typeof L.end==="string"){L.end=I(L.end,L.elem)}L.clipInit=true}g(L.elem).cssClip({top:L.pos*(L.end.top-L.start.top)+L.start.top,right:L.pos*(L.end.right-L.start.right)+L.start.right,bottom:L.pos*(L.end.bottom-L.start.bottom)+L.start.bottom,left:L.pos*(L.end.left-L.start.left)+L.start.left})}})();(function(){var I={};g.each(["Quad","Cubic","Quart","Quint","Expo"],function(K,J){I[J]=function(L){return Math.pow(L,K+2)}});g.extend(I,{Sine:function(J){return 1-Math.cos(J*Math.PI/2)},Circ:function(J){return 1-Math.sqrt(1-J*J)},Elastic:function(J){return J===0||J===1?J:-Math.pow(2,8*(J-1))*Math.sin(((J-1)*80-7.5)*Math.PI/15)},Back:function(J){return J*J*(3*J-2)},Bounce:function(L){var J,K=4;while(L<((J=Math.pow(2,--K))-1)/11){}return 1/Math.pow(4,3-K)-7.5625*Math.pow((J*3-2)/22-L,2)}});g.each(I,function(K,J){g.easing["easeIn"+K]=J;g.easing["easeOut"+K]=function(L){return 1-J(1-L)};g.easing["easeInOut"+K]=function(L){return L<0.5?J(L*2)/2:1-J(L*-2+2)/2}})})();var s=g.effects; /*! * jQuery UI Effects Blind 1.12.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license */ ;var m=g.effects.define("blind","hide",function(K,I){var N={up:["bottom","top"],vertical:["bottom","top"],down:["top","bottom"],left:["right","left"],horizontal:["right","left"],right:["left","right"]},L=g(this),M=K.direction||"up",P=L.cssClip(),J={clip:g.extend({},P)},O=g.effects.createPlaceholder(L);J.clip[N[M][0]]=J.clip[N[M][1]];if(K.mode==="show"){L.cssClip(J.clip);if(O){O.css(g.effects.clipToBox(J))}J.clip=P}if(O){O.animate(g.effects.clipToBox(J),K.duration,K.easing)}L.animate(J,{queue:false,duration:K.duration,easing:K.easing,complete:I})}); /*! * jQuery UI Effects Fade 1.12.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license */ ;var z=g.effects.define("fade","toggle",function(K,J){var I=K.mode==="show";g(this).css("opacity",I?0:1).animate({opacity:I?1:0},{queue:false,duration:K.duration,easing:K.easing,complete:J})}); /*! * jQuery UI Effects Size 1.12.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license */ ;var v=g.effects.define("size",function(L,R){var P,Q,V,I=g(this),N=["fontSize"],W=["borderTopWidth","borderBottomWidth","paddingTop","paddingBottom"],K=["borderLeftWidth","borderRightWidth","paddingLeft","paddingRight"],O=L.mode,U=O!=="effect",Z=L.scale||"both",X=L.origin||["middle","center"],Y=I.css("position"),M=I.position(),S=g.effects.scaledDimensions(I),T=L.from||S,J=L.to||g.effects.scaledDimensions(I,0);g.effects.createPlaceholder(I);if(O==="show"){V=T;T=J;J=V}Q={from:{y:T.height/S.height,x:T.width/S.width},to:{y:J.height/S.height,x:J.width/S.width}};if(Z==="box"||Z==="both"){if(Q.from.y!==Q.to.y){T=g.effects.setTransition(I,W,Q.from.y,T);J=g.effects.setTransition(I,W,Q.to.y,J)}if(Q.from.x!==Q.to.x){T=g.effects.setTransition(I,K,Q.from.x,T);J=g.effects.setTransition(I,K,Q.to.x,J)}}if(Z==="content"||Z==="both"){if(Q.from.y!==Q.to.y){T=g.effects.setTransition(I,N,Q.from.y,T);J=g.effects.setTransition(I,N,Q.to.y,J)}}if(X){P=g.effects.getBaseline(X,S);T.top=(S.outerHeight-T.outerHeight)*P.y+M.top;T.left=(S.outerWidth-T.outerWidth)*P.x+M.left;J.top=(S.outerHeight-J.outerHeight)*P.y+M.top;J.left=(S.outerWidth-J.outerWidth)*P.x+M.left}I.css(T);if(Z==="content"||Z==="both"){W=W.concat(["marginTop","marginBottom"]).concat(N);K=K.concat(["marginLeft","marginRight"]);I.find("*[width]").each(function(){var ad=g(this),aa=g.effects.scaledDimensions(ad),ac={height:aa.height*Q.from.y,width:aa.width*Q.from.x,outerHeight:aa.outerHeight*Q.from.y,outerWidth:aa.outerWidth*Q.from.x},ab={height:aa.height*Q.to.y,width:aa.width*Q.to.x,outerHeight:aa.height*Q.to.y,outerWidth:aa.width*Q.to.x};if(Q.from.y!==Q.to.y){ac=g.effects.setTransition(ad,W,Q.from.y,ac);ab=g.effects.setTransition(ad,W,Q.to.y,ab)}if(Q.from.x!==Q.to.x){ac=g.effects.setTransition(ad,K,Q.from.x,ac);ab=g.effects.setTransition(ad,K,Q.to.x,ab)}if(U){g.effects.saveStyle(ad)}ad.css(ac);ad.animate(ab,L.duration,L.easing,function(){if(U){g.effects.restoreStyle(ad)}})})}I.animate(J,{queue:false,duration:L.duration,easing:L.easing,complete:function(){var aa=I.offset();if(J.opacity===0){I.css("opacity",T.opacity)}if(!U){I.css("position",Y==="static"?"relative":Y).offset(aa);g.effects.saveStyle(I)}R()}})}); /*! * jQuery UI Effects Scale 1.12.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license */ ;var o=g.effects.define("scale",function(J,I){var K=g(this),N=J.mode,L=parseInt(J.percent,10)||(parseInt(J.percent,10)===0?0:(N!=="effect"?0:100)),M=g.extend(true,{from:g.effects.scaledDimensions(K),to:g.effects.scaledDimensions(K,L,J.direction||"both"),origin:J.origin||["middle","center"]},J);if(J.fade){M.from.opacity=1;M.to.opacity=0}g.effects.effect.size.call(this,M,I)})}));