function _typeof(t){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function _typeof(t){return typeof t}:function _typeof(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}!function(r,l){function s(t,e){var i=t.nodeName.toLowerCase();if("area"!==i)return(/input|select|textarea|button|object/.test(i)?!t.disabled:"a"==i&&t.href||e)&&n(t);i=t.parentNode,e=i.name;return!(!t.href||!e||"map"!==i.nodeName.toLowerCase())&&(!!(e=r("img[usemap=#"+e+"]")[0])&&n(e))}function n(t){return!r(t).parents().andSelf().filter(function(){return"hidden"===r.curCSS(this,"visibility")||r.expr.filters.hidden(this)}).length}r.ui=r.ui||{},r.ui.version||(r.extend(r.ui,{version:"@VERSION",keyCode:{ALT:18,BACKSPACE:8,CAPS_LOCK:20,COMMA:188,COMMAND:91,COMMAND_LEFT:91,COMMAND_RIGHT:93,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,MENU:93,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38,WINDOWS:91}}),r.fn.extend({propAttr:r.fn.prop||r.fn.attr,_focus:r.fn.focus,focus:function t(e,i){return"number"==typeof e?this.each(function(){var t=this;setTimeout(function(){r(t).focus(),i&&i.call(t)},e)}):this._focus.apply(this,arguments)},scrollParent:function e(){var e;return e=(r.ui.ie&&/(static|relative)/.test(this.css("position"))||/absolute/.test(this.css("position"))?this.parents().filter(function(){return/(relative|absolute|fixed)/.test(r.css(this,"position"))&&/(auto|scroll)/.test(r.css(this,"overflow")+r.css(this,"overflow-y")+r.css(this,"overflow-x"))}):this.parents().filter(function(){return/(auto|scroll)/.test(r.css(this,"overflow")+r.css(this,"overflow-y")+r.css(this,"overflow-x"))})).eq(0),/fixed/.test(this.css("position"))||!e.length?r(document):e},zIndex:function a(t){if(t!==l)return this.css("zIndex",t);if(this.length)for(var e,i,s=r(this[0]);s.length&&s[0]!==document;){if(("absolute"===(e=s.css("position"))||"relative"===e||"fixed"===e)&&(i=parseInt(s.css("zIndex"),10),!isNaN(i)&&0!==i))return i;s=s.parent()}return 0},disableSelection:function i(){return this.bind((r.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(t){t.preventDefault()})},enableSelection:function o(){return this.unbind(".ui-disableSelection")}}),r("").outerWidth(1).jquery||r.each(["Width","Height"],function(t,i){var n="Width"===i?["Left","Right"]:["Top","Bottom"],s=i.toLowerCase(),a={innerWidth:r.fn.innerWidth,innerHeight:r.fn.innerHeight,outerWidth:r.fn.outerWidth,outerHeight:r.fn.outerHeight};function o(t,e,i,s){return r.each(n,function(){e-=parseFloat(r.curCSS(t,"padding"+this,!0))||0,i&&(e-=parseFloat(r.curCSS(t,"border"+this+"Width",!0))||0),s&&(e-=parseFloat(r.curCSS(t,"margin"+this,!0))||0)}),e}r.fn["inner"+i]=function(t){return t===l?a["inner"+i].call(this):this.each(function(){r(this).css(s,o(this,t)+"px")})},r.fn["outer"+i]=function(t,e){return"number"!=typeof t?a["outer"+i].call(this,t):this.each(function(){r(this).css(s,o(this,t,!0,e)+"px")})}}),r.extend(r.expr[":"],{data:r.expr.createPseudo?r.expr.createPseudo(function(e){return function(t){return!!r.data(t,e)}}):function(t,e,i){return!!r.data(t,i[3])},focusable:function h(t){return s(t,!isNaN(r.attr(t,"tabindex")))},tabbable:function c(t){var e=r.attr(t,"tabindex"),i=isNaN(e);return(i||0<=e)&&s(t,!i)}}),r(function(){var t=document.body,e=t.appendChild(e=document.createElement("div"));e.offsetHeight,r.extend(e.style,{minHeight:"100px",height:"auto",padding:0,borderWidth:0}),r.support.minHeight=100===e.offsetHeight,r.support.selectstart="onselectstart"in e,t.removeChild(e).style.display="none"}),r.curCSS||(r.curCSS=r.css),r.extend(r.ui,{plugin:{add:function d(t,e,i){var s,n=r.ui[t].prototype;for(s in i)n.plugins[s]=n.plugins[s]||[],n.plugins[s].push([e,i[s]])},call:function u(t,e,i){var s=t.plugins[e];if(s&&t.element[0].parentNode)for(var n=0;n=this.options.distance},_mouseDelayMet:function l(t){return this.mouseDelayMet},_mouseStart:function h(t){},_mouseDrag:function c(t){},_mouseStop:function d(t){},_mouseCapture:function u(t){return!0}})}(jQuery),function(y){y.widget("ui.sortable",y.ui.mouse,{widgetEventPrefix:"sort",ready:!1,options:{appendTo:"parent",axis:!1,connectWith:!1,containment:!1,cursor:"auto",cursorAt:!1,dropOnEmpty:!0,forcePlaceholderSize:!1,forceHelperSize:!1,grid:!1,handle:!1,helper:"original",items:"> *",opacity:!1,placeholder:!1,revert:!1,scroll:!0,scrollSensitivity:20,scrollSpeed:20,scope:"default",tolerance:"intersect",zIndex:1e3,scrollParent:"default",smartTolerance:2},_create:function e(){var t=this.options;this.containerCache={},this.element.addClass("ui-sortable"),this.refresh(),this.floating=!!this.items.length&&("x"===t.axis||/left|right/.test(this.items[0].item.css("float"))||/inline|table-cell/.test(this.items[0].item.css("display"))),this.offset=this.element.offset(),this._mouseInit(),this.ready=!0},destroy:function i(){y.Widget.prototype.destroy.call(this),this.element.removeClass("ui-sortable ui-sortable-disabled"),this._mouseDestroy();for(var t=this.items.length-1;0<=t;t--)this.items[t].item.removeData(this.widgetName+"-item");return this},_setOption:function s(t,e){"disabled"===t?(this.options[t]=e,this.widget()[e?"addClass":"removeClass"]("ui-sortable-disabled")):y.Widget.prototype._setOption.apply(this,arguments)},_mouseCapture:function o(t,e){var i=this;if(this.reverting)return!1;if(this.options.disabled||"static"==this.options.type)return!1;if(t.ctrlKey)return!1;this._refreshItems(t);var s=null,n=this;y(t.target).parents().each(function(){if(y.data(this,i.widgetName+"-item")==n)return s=y(this),!1});if(!(s=y.data(t.target,i.widgetName+"-item")==n?y(t.target):s))return!1;if(this.options.handle&&!e){var a=!1;if(y(this.options.handle,s).find("*").andSelf().each(function(){this==t.target&&(a=!0)}),!a)return!1}return this.currentItem=s,this._removeCurrentsFromItems(),!0},_mouseStart:function r(t,e,i){var s=this.options,n=this;if((this.currentContainer=this)._trigger("beforeStart",t,this._uiHash()),this._refreshItems(t),this.refreshPositions(),this.helper=this._createHelper(t),this._cacheHelperProportions(),this._cacheMargins(),this.scrollParent=this._getScrollParent(),this.offset=this.currentItem.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},y.extend(this.offset,{click:{left:t.pageX-this.offset.left,top:t.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(t),this.originalPageX=t.pageX,this.originalPageY=t.pageY,s.cursorAt&&this._adjustOffsetFromHelper(s.cursorAt),this.domPosition={prev:this.currentItem.prev()[0],parent:this.currentItem.parent()[0]},this.helper[0]!=this.currentItem[0]&&this.currentItem.hide(),this._createPlaceholder(),s.containment&&this._setContainment(),s.cursor&&(y("body").css("cursor")&&(this._storedCursor=y("body").css("cursor")),y("body").css("cursor",s.cursor)),s.opacity&&(this.helper.css("opacity")&&(this._storedOpacity=this.helper.css("opacity")),this.helper.css("opacity",s.opacity)),s.zIndex&&(this.helper.css("zIndex")&&(this._storedZIndex=this.helper.css("zIndex")),this.helper.css("zIndex",s.zIndex)),this.scrollParent[0]!=document&&"HTML"!=this.scrollParent[0].tagName&&(this.overflowOffset=this.scrollParent.offset()),this._trigger("start",t,this._uiHash()),this._preserveHelperProportions||this._cacheHelperProportions(),!i)for(var a=this.containers.length-1;0<=a;a--)this.containers[a]._trigger("activate",t,n._uiHash(this));return y.ui.ddmanager&&(y.ui.ddmanager.current=this),y.ui.ddmanager&&!s.dropBehaviour&&y.ui.ddmanager.prepareOffsets(this,t),this.dragging=!0,this.helper.addClass("ui-sortable-helper"),this._mouseDrag(t),!0},_mouseDrag:function l(t){var e,i;this.position=this._generatePosition(t),this.positionAbs=this._convertPositionTo("absolute"),this.lastPositionAbs||(this.lastPositionAbs=this.positionAbs),this.options.scroll&&(e=this.options,i=!1,this.scrollParent[0]!=document&&"HTML"!=this.scrollParent[0].tagName?(this.overflowOffset.top+this.scrollParent[0].offsetHeight-t.pageYt[this.floating?"width":"height"]?c:athis.items[l].item.offset().left+this.items[l].item.outerWidth()||t.pageYthis.items[l].item.offset().top+this.items[l].item.outerHeight()||this.currentItem[0]!=this.items[l].item[0]&&(n=this.containers[i].floating?this.items[l].item.offset().left:this.items[l].item.offset().top,Math.abs(n-r)this.containment[2]&&(n=this.containment[2]+this.offset.click.left),t.pageY-this.offset.click.top>this.containment[3]&&(a=this.containment[3]+this.offset.click.top)),e.grid&&(t=this.originalPageY+Math.round((a-this.originalPageY)/e.grid[1])*e.grid[1],a=this.containment&&(t-this.offset.click.topthis.containment[3])?t-this.offset.click.topthis.containment[2])?t-this.offset.click.left=o+y(window).scrollTop()||a<=y(window).scrollTop()||e>=r+y(window).scrollLeft()||t<=y(window).scrollLeft()||void c.elements.push({item:this,width:s,height:i,top:n,left:e}))}),c.elements.push({item:window,width:y(window).width(),height:y(window).height(),top:y(".floatLeftTop")[0].getBoundingClientRect().top,left:0}),c.elements.sort(function(t,e){return(t=y(t.item).hasClass("line")?0:1)-(e=y(e.item).hasClass("line")?0:1)})}c.elements=[],c.guidesElements=[],Fai.top.$(window).off("scroll.sort").on("scroll.sort",function(){i()}),i()},stop:function E(){y("#absAlignTop, #absAlignRight, #absAlignBottom, #absAlignLeft, #absAlignLevel, #absAlignVertical").hide(),y(window).off("scroll.sort")},sort:function U(t,T){var C=y(this).data("sortable"),e=C.options,i=e.smartTolerance;e.scale;y("#absAlignTop, #absAlignRight, #absAlignBottom, #absAlignLeft, #absAlignLevel, #absAlignVertical").hide();var s=T.helper.is(":visible")?T.helper[0]:null;if(s){for(var e=s.getBoundingClientRect(),s=Fai.isIE8(),n=T.offset.left+C.margins.left,S=s?e.right-e.left:e.width,a=n+S,o=(n+a)/2,r=T.offset.top+C.margins.top,M=s?e.bottom-e.top:e.height,l=r+M,h=(r+l)/2,I=[r,l],P=[r,l],z=[r,l],O=[n,a],A=[n,a],L=[n,a],N=0,H=0,F=0,W=0,E=0,R=0,j=!1,Y=!1,B=!1,$=!1,q=!1,K=!1,c=C.elements.length-1;0<=c;c--){var d=C.elements[c],u=d.left,p=u+d.width,f=d.top,m=f+d.height,g=(f+m)/2,v=(u+p)/2;w({l:u,r:p,t:f,b:m,level:g,vertical:v,ls:Math.abs(u-n)<=i,ls2:Math.abs(u-a)<=i,ls3:Math.abs(u-o)<=i,rs:Math.abs(p-n)<=i,rs2:Math.abs(p-a)<=i,rs3:Math.abs(p-o)<=i,ts:Math.abs(f-r)<=i,ts2:Math.abs(f-l)<=i,ts3:Math.abs(f-h)<=i,bs:Math.abs(m-r)<=i,bs2:Math.abs(m-l)<=i,bs3:Math.abs(m-h)<=i,levelS:Math.abs(g-r)<=i,levelS2:Math.abs(g-l)<=i,levelS3:Math.abs(g-h)<=i,verticalS:Math.abs(v-n)<=i,verticalS2:Math.abs(v-a)<=i,verticalS3:Math.abs(v-o)<=i,isAuxLine:y(d.item).hasClass("line")})}var e=Site.absAlignLine.commFunc,_=y(window).scrollTop(),b=y(window).scrollLeft();2').css({width:this.offsetWidth+"px",height:this.offsetHeight+"px",position:"absolute",opacity:"0.001",zIndex:1e3}).css(y(this).offset()).appendTo("body")}),!0)))},_mouseStart:function s(t){var e=this.options;return this.helper=this._createHelper(t),this.helper.addClass("ui-draggable-dragging"),this._cacheHelperProportions(),this._trigger("beforeStart",t,this._uiHash()),y.ui.ddmanager&&(y.ui.ddmanager.current=this),this._cacheMargins(),this.cssPosition=this.helper.css("position"),this.scrollParent=this.helper.scrollParent(),this.offset=this.positionAbs=this.element.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},y.extend(this.offset,{click:{left:t.pageX-this.offset.left,top:t.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()}),this.originalPosition=this.position=this._generatePosition(t),this.originalPageX=t.pageX,this.originalPageY=t.pageY,e.cursorAt&&this._adjustOffsetFromHelper(e.cursorAt),e.containment&&this._setContainment(),!1===this._trigger("start",t)?(this._clear(),!1):(this._cacheHelperProportions(),y.ui.ddmanager&&!e.dropBehaviour&&y.ui.ddmanager.prepareOffsets(this,t),this._mouseDrag(t,!0),y.ui.ddmanager&&y.ui.ddmanager.dragStart(this,t),!0)},_mouseDrag:function a(t,e){if(this.position=this._generatePosition(t),this.positionAbs=this._convertPositionTo("absolute"),!e){e=this._uiHash();if(!1===this._trigger("drag",t,e))return this._mouseUp({}),!1;this.position=e.position}return this.options.axis&&"y"==this.options.axis||(this.helper[0].style.left=this.position.left+"px"),this.options.axis&&"x"==this.options.axis||(this.helper[0].style.top=this.position.top+"px"),y.ui.ddmanager&&y.ui.ddmanager.drag(this,t),!1},_mouseStop:function o(t){var e=!1;y.ui.ddmanager&&!this.options.dropBehaviour&&(e=y.ui.ddmanager.drop(this,t)),this.dropped&&(e=this.dropped,this.dropped=!1);for(var i,s=this.element[0],n=!1;s=s&&s.parentNode;)s==document&&(n=!0);return(n||"original"!==this.options.helper)&&("invalid"==this.options.revert&&!e||"valid"==this.options.revert&&e||!0===this.options.revert||y.isFunction(this.options.revert)&&this.options.revert.call(this.element,e)?y((i=this).helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),function(){!1!==i._trigger("stop",t)&&i._clear()}):!1!==this._trigger("stop",t)&&this._clear()),!1},_mouseUp:function r(t){return y("div.ui-draggable-iframeFix").each(function(){this.parentNode.removeChild(this)}),y.ui.ddmanager&&y.ui.ddmanager.dragStop(this,t),y.ui.mouse.prototype._mouseUp.call(this,t)},cancel:function l(){return this.helper.is(".ui-draggable-dragging")?this._mouseUp({}):this._clear(),this},_getHandle:function h(t){var e=!this.options.handle||!y(this.options.handle,this.element).length;return y(this.options.handle,this.element).find("*").andSelf().each(function(){this==t.target&&(e=!0)}),e},_createHelper:function c(t){var e=this.options,t=y.isFunction(e.helper)?y(e.helper.apply(this.element[0],[t])):"clone"==e.helper?this.element.clone().removeAttr("id"):this.element;return t.parents("body").length||t.appendTo("parent"==e.appendTo?this.element[0].parentNode:e.appendTo),t[0]==this.element[0]||/(fixed|absolute)/.test(t.css("position"))||t.css("position","absolute"),t},_adjustOffsetFromHelper:function d(t){"string"==typeof t&&(t=t.split(" ")),"left"in(t=y.isArray(t)?{left:+t[0],top:+t[1]||0}:t)&&(this.offset.click.left=t.left+this.margins.left),"right"in t&&(this.offset.click.left=this.helperProportions.width-t.right+this.margins.left),"top"in t&&(this.offset.click.top=t.top+this.margins.top),"bottom"in t&&(this.offset.click.top=this.helperProportions.height-t.bottom+this.margins.top)},_getParentOffset:function u(){this.offsetParent=this.helper.offsetParent();var t=this.offsetParent.offset();return"absolute"==this.cssPosition&&this.scrollParent[0]!=document&&y.ui.contains(this.scrollParent[0],this.offsetParent[0])&&(t.left+=this.scrollParent.scrollLeft(),t.top+=this.scrollParent.scrollTop()),{top:(t=this.offsetParent[0]==document.body||this.offsetParent[0].tagName&&"html"==this.offsetParent[0].tagName.toLowerCase()&&y.browser.msie?{top:0,left:0}:t).top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:t.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function p(){if("relative"!=this.cssPosition)return{top:0,left:0};var t=this.element.position();return{top:t.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:t.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}},_cacheMargins:function f(){this.margins={left:parseInt(this.element.css("marginLeft"),10)||0,top:parseInt(this.element.css("marginTop"),10)||0,right:parseInt(this.element.css("marginRight"),10)||0,bottom:parseInt(this.element.css("marginBottom"),10)||0}},_cacheHelperProportions:function m(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function g(){var t,e,i=this.options;"parent"==i.containment&&(i.containment=this.helper[0].parentNode),"document"!=i.containment&&"window"!=i.containment||(this.containment=["document"==i.containment?0:y(window).scrollLeft()-this.offset.relative.left-this.offset.parent.left,"document"==i.containment?0:y(window).scrollTop()-this.offset.relative.top-this.offset.parent.top,("document"==i.containment?0:y(window).scrollLeft())+y("document"==i.containment?document:window).width()-this.helperProportions.width-this.margins.left,("document"==i.containment?0:y(window).scrollTop())+(y("document"==i.containment?document:window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]),/^(document|window|parent)$/.test(i.containment)||i.containment.constructor==Array?i.containment.constructor==Array&&(this.containment=i.containment):(e=(t=y(i.containment))[0])&&(t.offset(),i="hidden"!=y(e).css("overflow"),this.containment=[(parseInt(y(e).css("borderLeftWidth"),10)||0)+(parseInt(y(e).css("paddingLeft"),10)||0),(parseInt(y(e).css("borderTopWidth"),10)||0)+(parseInt(y(e).css("paddingTop"),10)||0),(i?Math.max(e.scrollWidth,e.offsetWidth):e.offsetWidth)-(parseInt(y(e).css("borderLeftWidth"),10)||0)-(parseInt(y(e).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,(i?Math.max(e.scrollHeight,e.offsetHeight):e.offsetHeight)-(parseInt(y(e).css("borderTopWidth"),10)||0)-(parseInt(y(e).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top-this.margins.bottom],this.relative_container=t)},_convertPositionTo:function v(t,e){e=e||this.position;var i="absolute"==t?1:-1,s=(this.options,"absolute"!=this.cssPosition||this.scrollParent[0]!=document&&y.ui.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent),t=/(html|body)/i.test(s[0].tagName);return{top:e.top+this.offset.relative.top*i+this.offset.parent.top*i-(y.browser.safari&&y.browser.version<526&&"fixed"==this.cssPosition?0:("fixed"==this.cssPosition?-this.scrollParent.scrollTop():t?0:s.scrollTop())*i),left:e.left+this.offset.relative.left*i+this.offset.parent.left*i-(y.browser.safari&&y.browser.version<526&&"fixed"==this.cssPosition?0:("fixed"==this.cssPosition?-this.scrollParent.scrollLeft():t?0:s.scrollLeft())*i)}},_generatePosition:function _(t){var e,i=this.options,s="absolute"!=this.cssPosition||this.scrollParent[0]!=document&&y.ui.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,n=/(html|body)/i.test(s[0].tagName),a=t.pageX,o=t.pageY;return this.originalPosition&&(this.containment&&(e=this.relative_container?(e=this.relative_container.offset(),[this.containment[0]+e.left,this.containment[1]+e.top,this.containment[2]+e.left,this.containment[3]+e.top]):this.containment,t.pageX-this.offset.click.lefte[2]&&(a=e[2]+this.offset.click.left),t.pageY-this.offset.click.top>e[3]&&(o=e[3]+this.offset.click.top)),i.grid&&(t=i.grid[1]?this.originalPageY+Math.round((o-this.originalPageY)/i.grid[1])*i.grid[1]:this.originalPageY,o=e&&(t-this.offset.click.tope[3])?t-this.offset.click.tope[2])?t-this.offset.click.left=o+y(window).scrollTop()||a<=y(window).scrollTop()||e>=r+y(window).scrollLeft()||t<=y(window).scrollLeft()||void(this!=c.element[0]&&c.elements.push({item:this,width:s,height:i,top:n,left:e})))}),c.elements.push({item:window,width:y(window).width(),height:y(window).height(),top:y(".floatLeftTop")[0].getBoundingClientRect().top,left:0}),c.elements.sort(function(t,e){return(t=y(t.item).hasClass("line")?0:1)-(e=y(e.item).hasClass("line")?0:1)})}c.elements=[],c.guidesElements=[],Fai.top.$(window).off("scroll.drag").on("scroll.drag",function(){i()}),i()},stop:function D(){y("#absAlignTop, #absAlignRight, #absAlignBottom, #absAlignLeft, #absAlignLevel, #absAlignVertical").hide(),y(window).off("scroll.drag")},drag:function U(t,T){var C=y(this).data("draggable"),e=C.options,i=e.tolerance||2;e.scale;y("#absAlignTop, #absAlignRight, #absAlignBottom, #absAlignLeft, #absAlignLevel, #absAlignVertical").hide();for(var s=this[0].getBoundingClientRect(),e=Fai.isIE8(),n=T.offset.left+C.margins.left,S=e?s.right-s.left:s.width,a=n+S,o=(n+a)/2,r=T.offset.top+C.margins.top,M=e?s.bottom-s.top:s.height,l=r+M,h=(r+l)/2,I=[r,l],P=[r,l],z=[r,l],O=[n,a],A=[n,a],L=[n,a],N=0,H=0,F=0,W=0,E=0,R=0,j=!1,Y=!1,B=!1,$=!1,q=!1,K=!1,c=C.elements.length-1;0<=c;c--){var d=C.elements[c],u=d.left,p=u+d.width,f=d.top,m=f+d.height,g=(f+m)/2,v=(u+p)/2;_({l:u,r:p,t:f,b:m,level:g,vertical:v,ls:Math.abs(u-n)<=i,ls2:Math.abs(u-a)<=i,ls3:Math.abs(u-o)<=i,rs:Math.abs(p-n)<=i,rs2:Math.abs(p-a)<=i,rs3:Math.abs(p-o)<=i,ts:Math.abs(f-r)<=i,ts2:Math.abs(f-l)<=i,ts3:Math.abs(f-h)<=i,bs:Math.abs(m-r)<=i,bs2:Math.abs(m-l)<=i,bs3:Math.abs(m-h)<=i,levelS:Math.abs(g-r)<=i,levelS2:Math.abs(g-l)<=i,levelS3:Math.abs(g-h)<=i,verticalS:Math.abs(v-n)<=i,verticalS2:Math.abs(v-a)<=i,verticalS3:Math.abs(v-o)<=i,isAuxLine:y(d.item).hasClass("line")})}function _(t){t.type;var e=t.l,i=t.r,s=t.t,n=t.b,a=t.level,o=t.vertical,r=t.ls,l=t.ls2,h=t.ls3,c=t.rs,d=t.rs2,u=t.rs3,p=t.ts,f=t.ts2,m=t.ts3,g=t.bs,v=t.bs2,_=t.bs3,b=t.levelS,w=t.levelS2,y=t.levelS3,k=t.verticalS,x=t.verticalS2,D=t.verticalS3,t=t.isAuxLine;r&&(T.position.left=C._convertPositionTo("relative",{top:0,left:e}).left-C.margins.left,I.push(s,n),E=e,q=t),l&&(T.position.left=C._convertPositionTo("relative",{top:0,left:e-S}).left-C.margins.left,P.push(s,n),H=e,Y=t),h&&(T.position.left=C._convertPositionTo("relative",{top:0,left:e-S/2}).left-C.margins.left,z.push(s,n),R=e,K=t),c&&(T.position.left=C._convertPositionTo("relative",{top:0,left:i}).left-C.margins.left,I.push(s,n),E=i,q=t),d&&(T.position.left=C._convertPositionTo("relative",{top:0,left:i-S}).left-C.margins.left,P.push(s,n),H=i,Y=t),u&&(T.position.left=C._convertPositionTo("relative",{top:0,left:i-S/2}).left-C.margins.left,z.push(s,n),R=i,K=t),k&&(T.position.left=C._convertPositionTo("relative",{top:0,left:o}).left-C.margins.left,I.push(s,n),E=o,q=t),x&&(T.position.left=C._convertPositionTo("relative",{top:0,left:o-S}).left-C.margins.left,P.push(s,n),H=o,Y=t),D&&(T.position.left=C._convertPositionTo("relative",{top:0,left:o-S/2}).left-C.margins.left,z.push(s,n),R=o,K=t),p&&(T.position.top=C._convertPositionTo("relative",{top:s,left:0}).top-C.margins.top,O.push(e,i),N=s,j=t),f&&(T.position.top=C._convertPositionTo("relative",{top:s-M,left:0}).top-C.margins.top,A.push(e,i),W=s,$=t),m&&(T.position.top=C._convertPositionTo("relative",{top:s-M/2,left:0}).top-C.margins.top,L.push(e,i),F=s,B=t),g&&(T.position.top=C._convertPositionTo("relative",{top:n,left:0}).top-C.margins.top,O.push(e,i),N=n,j=t),v&&(T.position.top=C._convertPositionTo("relative",{top:n-M,left:0}).top-C.margins.top,A.push(e,i),W=n,$=t),_&&(T.position.top=C._convertPositionTo("relative",{top:n-M/2,left:0}).top-C.margins.top,L.push(e,i),F=n,B=t),b&&(T.position.top=C._convertPositionTo("relative",{top:a,left:0}).top-C.margins.top,O.push(e,i),N=a,j=t),w&&(T.position.top=C._convertPositionTo("relative",{top:a-M,left:0}).top-C.margins.top,A.push(e,i),W=a,$=t),y&&(T.position.top=C._convertPositionTo("relative",{top:a-M/2,left:0}).top-C.margins.top,L.push(e,i),F=a,B=t)}var s=Site.absAlignLine.commFunc,b=y(window).scrollTop(),w=y(window).scrollLeft();2").addClass("ui-autocomplete site-ui-autocomplete").appendTo(l(this.options.appendTo||"body",a)[0]).mousedown(function(t){var e=n.menu.element[0];l(t.target).closest(".ui-menu-item").length||setTimeout(function(){l(document).one("mousedown",function(t){t.target===n.element[0]||t.target===e||l.ui.contains(e,t.target)||n.close()})},1),setTimeout(function(){clearTimeout(n.closing)},13)}).menu({focus:function s(t,e){e=e.item.data("item.autocomplete");!1!==n._trigger("focus",t,{item:e})&&/^key/.test(t.originalEvent.type)&&n.element.val(e.value)},selected:function o(t,e){var i=e.item.data("item.autocomplete"),s=n.previous;n.element[0]!==a.activeElement&&(n.element.focus(),n.previous=s,setTimeout(function(){n.previous=s,n.selectedItem=i},1)),!1!==n._trigger("select",t,{item:i})&&n.element.val(i.value),n.term=n.element.val(),n.close(t),n.selectedItem=i},blur:function r(t,e){n.menu.element.is(":visible")&&n.element.val()!==n.term&&n.element.val(n.term)}}).zIndex(this.element.zIndex()+1).css({top:0,left:0}).hide().data("menu"),l.fn.bgiframe&&this.menu.element.bgiframe(),n.beforeunloadHandler=function(){n.element.removeAttr("autocomplete")},l(window).bind("beforeunload",n.beforeunloadHandler)},destroy:function e(){this.element.removeClass("ui-autocomplete-input").removeAttr("autocomplete").removeAttr("role").removeAttr("aria-autocomplete").removeAttr("aria-haspopup"),this.menu.element.remove(),l(window).unbind("beforeunload",this.beforeunloadHandler),l.Widget.prototype.destroy.call(this)},_setOption:function i(t,e){l.Widget.prototype._setOption.apply(this,arguments),"source"===t&&this._initSource(),"appendTo"===t&&this.menu.element.appendTo(l(e||"body",this.element[0].ownerDocument)[0]),"disabled"===t&&e&&this.xhr&&this.xhr.abort()},_initSource:function o(){var i,n,a=this;l.isArray(this.options.source)?(i=this.options.source,this.source=function(t,e){e(l.ui.autocomplete.filter(i,t.term))}):"string"==typeof this.options.source?(n=this.options.source,this.source=function(t,i){a.xhr&&a.xhr.abort(),a.xhr=l.ajax({url:n,data:t,dataType:"json",success:function s(t,e){i(t)},error:function e(){i([])}})}):this.source=this.options.source},search:function n(t,e){return t=null!=t?t:this.element.val(),this.term=this.element.val(),t.length").text(i);return"string"==typeof e.title&&0").attr("title",e.label).data("item.autocomplete",e).append(i).appendTo(t)},_move:function v(t,e){if(this.menu.element.is(":visible"))return this.menu.first()&&/^previous/.test(t)||this.menu.last()&&/^next/.test(t)?(this.element.val(this.term),void this.menu.deactivate()):void this.menu[t](e);this.search(null,e)},widget:function _(){return this.menu.element},_keyEvent:function b(t,e){this.isMultiLine&&!this.menu.element.is(":visible")||(this._move(t,e),e.preventDefault())}}),l.extend(l.ui.autocomplete,{escapeRegex:function w(t){return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")},filter:function y(t,e){var i=new RegExp(l.ui.autocomplete.escapeRegex(e),"i");return l.grep(t,function(t){return i.test(t.label||t.value||t)})}})}(jQuery),function(n){n.widget("ui.menu",{_create:function t(){var e=this;this.element.addClass("ui-menu ui-widget ui-widget-content ui-corner-all").attr({role:"listbox","aria-activedescendant":"ui-active-menuitem"}).click(function(t){n(t.target).closest(".ui-menu-item a").length&&(t.preventDefault(),e.select(t))}),this.refresh()},refresh:function i(){var e=this;this.element.children("li:not(.ui-menu-item):has(a)").addClass("ui-menu-item").attr("role","menuitem").children("a").addClass("ui-corner-all").attr("tabindex",-1).mouseenter(function(t){e.activate(t,n(this).parent())}).mouseleave(function(){e.deactivate()})},activate:function a(t,e){var i,s,n;this.deactivate(),this.hasScroll()&&(i=e.offset().top-this.element.offset().top,s=this.element.scrollTop(),n=this.element.height(),i<0?this.element.scrollTop(s+i):n<=i&&this.element.scrollTop(s+i-n+e.height())),this.active=e.eq(0).children("a").addClass("ui-state-hover").attr("id","ui-active-menuitem").end(),this._trigger("focus",t,{item:e})},deactivate:function e(){this.active&&(this.active.children("a").removeClass("ui-state-hover").removeAttr("id"),this._trigger("blur"),this.active=null)},next:function s(t){this.move("next",".ui-menu-item:first",t)},previous:function o(t){this.move("prev",".ui-menu-item:last",t)},first:function r(){return this.active&&!this.active.prevAll(".ui-menu-item").length},last:function l(){return this.active&&!this.active.nextAll(".ui-menu-item").length},move:function h(t,e,i){this.active&&(t=this.active[t+"All"](".ui-menu-item").eq(0)).length?this.activate(i,t):this.activate(i,this.element.children(e))},nextPage:function c(t){var e,i,s;this.hasScroll()?this.active&&!this.last()?(e=this.active.offset().top,i=this.element.height(),(s=this.element.children(".ui-menu-item").filter(function(){var t=n(this).offset().top-e-i+n(this).height();return t<10&&-10').css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")})),this.element=this.element.parent().data("resizable",this.element.data("resizable")),this.elementIsWrapper=!0,this.element.css({marginLeft:this.originalElement.css("marginLeft"),marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom")}),this.originalElement.css({marginLeft:0,marginTop:0,marginRight:0,marginBottom:0}),this.originalResizeStyle=this.originalElement.css("resize"),this.originalElement.css("resize","none"),this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"})),this.originalElement.css({margin:this.originalElement.css("margin")}),this._proportionallyResize()),this.handles=t.handles||(c(".ui-resizable-handle",this.element).length?{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"}:"e,s,se"),this.handles.constructor==String){"all"==this.handles&&(this.handles="n,e,s,w,se,sw,ne,nw");var i=this.handles.split(",");this.handles={};for(var s=0;s');a.css({zIndex:t.zIndex}),"se"==n&&a.addClass("ui-icon ui-icon-gripsmall-diagonal-se"),this.handles[n]=".ui-resizable-"+n,this.element.append(a)}}this._renderAxis=function(t){for(var e in t=t||this.element,this.handles){var i,s;this.handles[e].constructor==String&&(this.handles[e]=c(this.handles[e],this.element).show()),this.elementIsWrapper&&this.originalElement[0].nodeName.match(/textarea|input|select|button/i)&&(s=c(this.handles[e],this.element),i=0,i=/sw|ne|nw|se|n|s/.test(e)?s.outerHeight():s.outerWidth(),s=["padding",/ne|nw|n/.test(e)?"Top":/se|sw|s/.test(e)?"Bottom":/^e$/.test(e)?"Right":"Left"].join(""),t.css(s,i),this._proportionallyResize()),c(this.handles[e]).length}},this._renderAxis(this.element),this._handles=c(".ui-resizable-handle",this.element).disableSelection(),this._handles.mouseover(function(){var t;e.resizing||(this.className&&(t=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)),e.axis=t&&t[1]?t[1]:"se")}),t.autoHide&&(this._handles.hide(),c(this.element).addClass("ui-resizable-autohide").hover(function(){t.disabled||(c(this).removeClass("ui-resizable-autohide"),e._handles.show())},function(){t.disabled||e.resizing||(c(this).addClass("ui-resizable-autohide"),e._handles.hide())})),this._mouseInit()},destroy:function i(){this._mouseDestroy();var t,e=function e(t){c(t).removeClass("ui-resizable ui-resizable-disabled ui-resizable-resizing").removeData("resizable").unbind(".resizable").children(".ui-resizable-handle").remove()};return this.elementIsWrapper&&(e(this.element),(t=this.element).after(this.originalElement.css({position:t.css("position"),width:t.outerWidth(),height:t.outerHeight(),top:t.css("top"),left:t.css("left")})).remove()),this.originalElement.css("resize",this.originalResizeStyle),e(this.originalElement),this},_mouseCapture:function e(i){if(i.ctrlKey)return!1;var t,s=!1;for(t in this.handles)c(this.handles[t]).each(function(t,e){e!=i.target&&e!=i.target.parentNode||(s=!0)});return!this.options.disabled&&s},_mouseStart:function a(t){var e=this.options,i=this.element.position(),s=this.element;this.resizing=!0,this.documentScroll={top:c(document).scrollTop(),left:c(document).scrollLeft()},(s.is(".ui-draggable")||/absolute/.test(s.css("position")))&&(e.alwaysRelative||s.css({position:"absolute",top:i.top,left:i.left})),this._renderProxy();var n=h(this.helper.css("left")),i=h(this.helper.css("top"));e.containment&&(n+=c(e.containment).scrollLeft()||0,i+=c(e.containment).scrollTop()||0),this.offset=this.helper.offset(),this.position={left:n,top:i},this.size=this._helper?{width:s.outerWidth(),height:s.outerHeight()}:{width:s.width(),height:s.height()},this.originalSize=this._helper?{width:s.outerWidth(),height:s.outerHeight()}:{width:s.width(),height:s.height()},this.originalPosition={left:n,top:i},this.sizeDiff={width:s.outerWidth()-s.width(),height:s.outerHeight()-s.height()},this.originalMousePosition={left:t.pageX,top:t.pageY},this.aspectRatio="number"==typeof e.aspectRatio?e.aspectRatio:this.originalSize.width/this.originalSize.height||1;e=c(".ui-resizable-"+this.axis).css("cursor");return c("body").css("cursor","auto"==e?this.axis+"-resize":e),s.addClass("ui-resizable-resizing"),this._propagate("start",t),!0},_mouseDrag:function r(t){var e=this.helper,i=(this.options,this.originalMousePosition),s=this.axis,n=t.pageX-i.left||0,i=t.pageY-i.top||0,s=this._change[s];if(!s)return!1;s=s.apply(this,[t,n,i]),c.browser.msie&&c.browser.version,this.sizeDiff;return this._updateVirtualBoundaries(t.shiftKey),(this._aspectRatio||t.shiftKey)&&(s=this._updateRatio(s,t)),s=this._respectSize(s,t),this._propagate("resize",t),e.css({top:this.position.top+"px",left:this.position.left+"px",width:this.size.width+"px",height:this.size.height+"px"}),!this._helper&&this._proportionallyResizeElements.length&&this._proportionallyResize(),this._updateCache(s),this._trigger("resize",t,this.ui()),!1},_mouseStop:function l(t){this.resizing=!1;var e,i,s,n=this.options,a=this;return this._helper&&(e=(s=(i=this._proportionallyResizeElements).length&&/textarea/i.test(i[0].nodeName))&&c.ui.hasScroll(i[0],"left")?0:a.sizeDiff.height,i=s?0:a.sizeDiff.width,s=a.helper.height()-e,n.notSoffsethHeight&&(s=a.helper.height()),e={width:a.helper.width()-i,height:s},i=parseInt(a.element.css("left"),10)+(a.position.left-a.originalPosition.left),s=parseInt(a.element.css("top"),10)+(a.position.top-a.originalPosition.top),s=n.reserveZero?(i=0===i||i?i:null,0===s||s?s:null):(i=i||null,s||null),n.animate||this.element.css(c.extend(e,{top:s,left:i})),a.helper.height(a.size.height),a.helper.width(a.size.width),this._helper&&!n.animate&&this._proportionallyResize()),c("body").css("cursor","auto"),this.element.removeClass("ui-resizable-resizing"),this._propagate("stop",t),this._helper&&this.helper.remove(),!1},_updateVirtualBoundaries:function u(t){var e,i,s=this.options,n={minWidth:d(s.minWidth)?s.minWidth:0,maxWidth:d(s.maxWidth)?s.maxWidth:Infinity,minHeight:d(s.minHeight)?s.minHeight:0,maxHeight:d(s.maxHeight)?s.maxHeight:Infinity};(this._aspectRatio||t)&&(e=n.minHeight*this.aspectRatio,i=n.minWidth/this.aspectRatio,s=n.maxHeight*this.aspectRatio,t=n.maxWidth/this.aspectRatio,e>n.minWidth&&(n.minWidth=e),i>n.minHeight&&(n.minHeight=i),st.width,r=d(t.height)&&i.minHeight&&i.minHeight>t.height;o&&(t.width=i.minWidth),r&&(t.height=i.minHeight),n&&(t.width=i.maxWidth),a&&(t.height=i.maxHeight);var l=this.originalPosition.left+this.originalSize.width,h=this.position.top+this.size.height,e=/sw|nw|w/.test(s),s=/nw|ne|n/.test(s);o&&e&&(t.left=l-i.minWidth),n&&e&&(t.left=l-i.maxWidth),r&&s&&(t.top=h-i.minHeight),a&&s&&(t.top=h-i.maxHeight);i=!t.width&&!t.height;return i&&!t.left&&t.top?t.top=null:i&&!t.top&&t.left&&(t.left=null),t},_proportionallyResize:function m(){this.options;if(this._proportionallyResizeElements.length)for(var t=this.helper||this.element,e=0;e'),e=(t=c.browser.msie&&c.browser.version<7)?1:0,t=t?2:-1,this.helper.addClass(this._helper).css({width:this.element.outerWidth()+t,height:this.element.outerHeight()+t,position:"absolute",left:this.elementOffset.left-e+"px",top:this.elementOffset.top-e+"px",zIndex:++i.zIndex}),this.helper.appendTo("body").disableSelection()):this.helper=this.element},_change:{e:function g(t,e,i){return{width:this.originalSize.width+e}},w:function v(t,e,i){this.options;var s=this.originalSize;return{left:this.originalPosition.left+e,width:s.width-e}},n:function _(t,e,i){this.options;var s=this.originalSize;return{top:this.originalPosition.top+i,height:s.height-i}},s:function b(t,e,i){return{height:this.originalSize.height+i}},se:function w(t,e,i){return c.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[t,e,i]))},sw:function y(t,e,i){return c.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[t,e,i]))},ne:function k(t,e,i){return c.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[t,e,i]))},nw:function x(t,e,i){return c.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[t,e,i]))}},_propagate:function D(t,e){c.ui.plugin.call(this,t,[e,this.ui()]),"resize"!=t&&this._trigger(t,e,this.ui())},plugins:{},ui:function t(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}}),c.extend(c.ui.resizable,{version:"@VERSION"}),c.ui.plugin.add("resizable","alsoResize",{start:function T(t,e){var i=c(this).data("resizable").options,s=function s(t){c(t).each(function(){var t=c(this);t.data("resizable-alsoresize",{width:parseInt(t.width(),10),height:parseInt(t.height(),10),left:parseInt(t.css("left"),10),top:parseInt(t.css("top"),10)})})};"object"!=_typeof(i.alsoResize)||i.alsoResize.parentNode?s(i.alsoResize):i.alsoResize.length?(i.alsoResize=i.alsoResize[0],s(i.alsoResize)):c.each(i.alsoResize,function(t){s(t)})},resize:function C(t,a){var e=c(this).data("resizable"),i=e.options,s=e.originalSize,n=e.originalPosition,o={height:e.size.height-s.height||0,width:e.size.width-s.width||0,top:e.position.top-n.top||0,left:e.position.left-n.left||0},r=function r(t,i){c(t).each(function(){var t=c(this),s=c(this).data("resizable-alsoresize"),n={},e=i&&i.length?i:t.parents(a.originalElement[0]).length?["width","height"]:["width","height","top","left"];c.each(e,function(t,e){var i=(s[e]||0)+(o[e]||0);i&&0<=i&&(n[e]=i||null)}),t.css(n)})};"object"!=_typeof(i.alsoResize)||i.alsoResize.nodeType?r(i.alsoResize):c.each(i.alsoResize,function(t,e){r(t,e)})},stop:function S(t,e){c(this).removeData("resizable-alsoresize")}}),c.ui.plugin.add("resizable","animate",{stop:function S(e,t){var i=c(this).data("resizable"),s=i.options,n=i._proportionallyResizeElements,a=n.length&&/textarea/i.test(n[0].nodeName),o=a&&c.ui.hasScroll(n[0],"left")?0:i.sizeDiff.height,r=a?0:i.sizeDiff.width,a={width:i.size.width-r,height:i.size.height-o},r=parseInt(i.element.css("left"),10)+(i.position.left-i.originalPosition.left)||null,o=parseInt(i.element.css("top"),10)+(i.position.top-i.originalPosition.top)||null;i.element.animate(c.extend(a,o&&r?{top:o,left:r}:{}),{duration:s.animateDuration,easing:s.animateEasing,step:function l(){var t={width:parseInt(i.element.css("width"),10),height:parseInt(i.element.css("height"),10),top:parseInt(i.element.css("top"),10),left:parseInt(i.element.css("left"),10)};n&&n.length&&c(n[0]).css({width:t.width,height:t.height}),i._updateCache(t),i._propagate("resize",e)}})}}),c.ui.plugin.add("resizable","containment",{start:function T(t,e){var i,s,n=c(this).data("resizable"),a=n.options,o=n.element,r=a.containment,l=r instanceof c?r.get(0):/parent/.test(r)?o.parent().get(0):r;l&&(n.containerElement=c(l),/document/.test(r)||r==document?(n.containerOffset={left:0,top:0},n.containerPosition={left:0,top:0},n.parentData={element:c(document),left:0,top:0,width:c(document).width(),height:c(document).height()||document.body.parentNode.scrollHeight}):(i=c(l),s=[],c(["Top","Right","Left","Bottom"]).each(function(t,e){s[t]=h(i.css("padding"+e))}),n.containerOffset=i.offset(),n.containerPosition=i.position(),n.containerSize={height:i.innerHeight()-s[3],width:i.innerWidth()-s[1]},a=n.containerOffset,o=n.containerSize.height,r=n.containerSize.width,r=c.ui.hasScroll(l,"left")?l.scrollWidth:r,o=c.ui.hasScroll(l)?l.scrollHeight:o,n.parentData={element:l,left:a.left,top:a.top,width:r,height:o}))},resize:function C(t,e){var i=c(this).data("resizable"),s=i.options,n=(i.containerSize,i.containerOffset),a=(i.size,i.position),o=i._aspectRatio||t.shiftKey,r={top:0,left:0},t=i.containerElement;t[0]!=document&&/static/.test(t.css("position"))&&(r=n),a.left<(i._helper?n.left:0)&&(i.size.width=i.size.width+(i._helper?i.position.left-n.left:i.position.left-r.left),o&&(i.size.height=i.size.width/i.aspectRatio),i.position.left=s.helper?n.left:0),a.top<(i._helper?n.top:0)&&(i.size.height=i.size.height+(i._helper?i.position.top-n.top:i.position.top),o&&(i.size.width=i.size.height*i.aspectRatio),i.position.top=i._helper?n.top:0),i.offset.left=i.parentData.left+i.position.left,i.offset.top=i.parentData.top+i.position.top;s=Math.abs((i._helper,i.offset.left-r.left+i.sizeDiff.width)),a=Math.abs((i._helper?i.offset.top-r.top:i.offset.top-n.top)+i.sizeDiff.height),r=i.containerElement.get(0)==i.element.parent().get(0),n=/relative|absolute/.test(i.containerElement.css("position"));r&&n&&(s-=i.parentData.left),s+i.size.width>=i.parentData.width&&(i.size.width=i.parentData.width-s,o&&(i.size.height=i.size.width/i.aspectRatio)),a+i.size.height>=i.parentData.height&&(i.size.height=i.parentData.height-a,o&&(i.size.width=i.size.height*i.aspectRatio))},stop:function S(t,e){var i=c(this).data("resizable"),s=i.options,n=(i.position,i.containerOffset),a=i.containerPosition,o=i.containerElement,r=c(i.helper),l=r.offset(),h=r.outerWidth()-i.sizeDiff.width,r=r.outerHeight()-i.sizeDiff.height;i._helper&&!s.animate&&/relative/.test(o.css("position"))&&c(this).css({left:l.left-a.left-n.left,width:h,height:r}),i._helper&&!s.animate&&/static/.test(o.css("position"))&&c(this).css({left:l.left-a.left-n.left,width:h,height:r})}}),c.ui.plugin.add("resizable","ghost",{start:function T(t,e){var i=c(this).data("resizable"),s=i.options,n=i.size;i.ghost=i.originalElement.clone(),i.ghost.css({opacity:.25,display:"block",position:"relative",height:n.height,width:n.width,margin:0,left:0,top:0}).addClass("ui-resizable-ghost").addClass("string"==typeof s.ghost?s.ghost:""),i.ghost.appendTo(i.helper)},resize:function C(t,e){var i=c(this).data("resizable");i.options;i.ghost&&i.ghost.css({position:"relative",height:i.size.height,width:i.size.width})},stop:function S(t,e){var i=c(this).data("resizable");i.options;i.ghost&&i.helper&&i.helper.get(0).removeChild(i.ghost.get(0))}}),c.ui.plugin.add("resizable","grid",{resize:function C(t,e){var i=c(this).data("resizable"),s=i.options,n=i.size,a=i.originalSize,o=i.originalPosition,r=i.axis;s._aspectRatio||t.shiftKey;s.grid="number"==typeof s.grid?[s.grid,s.grid]:s.grid;t=Math.round((n.width-a.width)/(s.grid[0]||1))*(s.grid[0]||1),s=Math.round((n.height-a.height)/(s.grid[1]||1))*(s.grid[1]||1);/^(se|s|e)$/.test(r)?(i.size.width=a.width+t,i.size.height=a.height+s):/^(ne)$/.test(r)?(i.size.width=a.width+t,i.size.height=a.height+s,i.position.top=o.top-s):(/^(sw)$/.test(r)?(i.size.width=a.width+t,i.size.height=a.height+s):(i.size.width=a.width+t,i.size.height=a.height+s,i.position.top=o.top-s),i.position.left=o.left-t)}});var h=function h(t){return parseInt(t,10)||0},d=function d(t){return!isNaN(parseInt(t,10))}}(jQuery),function(V,l){V.extend(V.ui,{datepicker:{version:"@VERSION"}});var a,r="datepicker",c=(new Date).getTime();function t(){this.debug=!1,this._curInst=null,this._keyEvent=!1,this._disabledInputs=[],this._datepickerShowing=!1,this._inDialog=!1,this._mainDivId="ui-datepicker-div",this._inlineClass="ui-datepicker-inline",this._appendClass="ui-datepicker-append",this._triggerClass="ui-datepicker-trigger",this._dialogClass="ui-datepicker-dialog",this._disableClass="ui-datepicker-disabled",this._unselectableClass="ui-datepicker-unselectable",this._currentClass="ui-datepicker-current-day",this._dayOverClass="ui-datepicker-days-cell-over",this.regional=[],this.regional[""]={closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],weekHeader:"Wk",dateFormat:"mm/dd/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},this._defaults={showOn:"focus",showAnim:"fadeIn",showOptions:{},defaultDate:null,appendText:"",buttonText:"...",buttonImage:"",buttonImageOnly:!1,hideIfNoPrevNext:!1,navigationAsDateFormat:!1,gotoCurrent:!1,changeMonth:!1,changeYear:!1,yearRange:"c-10:c+10",showOtherMonths:!1,selectOtherMonths:!1,showWeek:!1,calculateWeek:this.iso8601Week,shortYearCutoff:"+10",minDate:null,maxDate:null,duration:"fast",beforeShowDay:null,beforeShow:null,onSelect:null,onAfterSelect:null,onAfterUpdatePicker:null,onChangeMonthYear:null,onAfterAdjustDate:null,hourAccuracy:!1,onClose:null,numberOfMonths:1,showCurrentAtPos:0,stepMonths:1,stepBigMonths:12,altField:"",altFormat:"",constrainInput:!0,showButtonPanel:!1,autoSize:!1,disabled:!1},V.extend(this._defaults,this.regional[""]),this.dpDiv=i(V('
'))}function i(e){var i="button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a";return e.bind("mouseout",function(t){t=V(t.target).closest(i);t.length&&t.removeClass("ui-state-hover ui-datepicker-prev-hover ui-datepicker-next-hover")}).bind("mouseover",function(t){t=V(t.target).closest(i);!V.datepicker._isDisabledDatepicker((a.inline?e.parent():a.input)[0])&&t.length&&(t.parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover"),t.addClass("ui-state-hover"),t.hasClass("ui-datepicker-prev")&&t.addClass("ui-datepicker-prev-hover"),t.hasClass("ui-datepicker-next")&&t.addClass("ui-datepicker-next-hover"))})}function h(t,e){for(var i in V.extend(t,e),e)null!=e[i]&&e[i]!=l||(t[i]=e[i]);return t}V.extend(t.prototype,{markerClassName:"hasDatepicker",maxRows:4,log:function e(){this.debug&&console.log.apply("",arguments)},_widgetDatepicker:function s(){return this.dpDiv},setDefaults:function n(t){return h(this._defaults,t||{}),this},_attachDatepicker:function d(t,e){var i,s=null;for(i in this._defaults){var n=t.getAttribute("date:"+i);if(n){s=s||{};try{s[i]=window.eval.call(window,n)}catch(l){s[i]=n}}}var a=t.nodeName.toLowerCase(),o="div"==a||"span"==a;t.id||(this.uuid+=1,t.id="dp"+this.uuid);var r=this._newInst(V(t),o);r.settings=V.extend({},e||{},s||{}),"input"==a?this._connectDatepicker(t,r):o&&this._inlineDatepicker(t,r)},_newInst:function o(t,e){return{id:t[0].id.replace(/([^A-Za-z0-9_-])/g,"\\\\$1"),input:t,selectedDay:0,selectedMonth:0,selectedYear:0,drawMonth:0,drawYear:0,inline:e,dpDiv:e?i(V('
')):this.dpDiv}},_connectDatepicker:function u(t,s){var e=V(t);s.append=V([]),s.trigger=V([]),e.hasClass(this.markerClassName)||(this._attachments(e,s),e.addClass(this.markerClassName).keydown(this._doKeyDown).keypress(this._doKeyPress).keyup(this._doKeyUp).bind("setData.datepicker",function(t,e,i){s.settings[e]=i}).bind("getData.datepicker",function(t,e){return this._get(s,e)}),this._autoSize(s),V.data(t,r,s),s.settings.disabled&&this._disableDatepicker(t))},_attachments:function p(t,e){var i=this._get(e,"appendText"),s=this._get(e,"isRTL");e.append&&e.append.remove(),i&&(e.append=V(''+i+""),t[s?"before":"after"](e.append)),t.unbind("focus",this._showDatepicker),e.trigger&&e.trigger.remove();var n=this._get(e,"showOn");"focus"!=n&&"both"!=n||t.focus(this._showDatepicker),"button"!=n&&"both"!=n||(i=this._get(e,"buttonText"),n=this._get(e,"buttonImage"),e.trigger=V(this._get(e,"buttonImageOnly")?V("").addClass(this._triggerClass).attr({src:n,alt:i,title:i}):V('').addClass(this._triggerClass).html(""==n?i:V("").attr({src:n,alt:i,title:i}))),t[s?"before":"after"](e.trigger),e.trigger.click(function(){return V.datepicker._datepickerShowing&&V.datepicker._lastInput==t[0]?V.datepicker._hideDatepicker():(V.datepicker._datepickerShowing&&V.datepicker._lastInput!=t[0]&&V.datepicker._hideDatepicker(),V.datepicker._showDatepicker(t[0])),!1}))},_autoSize:function f(t){var e,i,n;this._get(t,"autoSize")&&!t.inline&&(e=new Date(2009,11,20),(i=this._get(t,"dateFormat")).match(/[DM]/)&&(n=function n(t){for(var e=0,i=0,s=0;se&&(e=t[s].length,i=s);return i},e.setMonth(n(this._get(t,i.match(/MM/)?"monthNames":"monthNamesShort"))),e.setDate(n(this._get(t,i.match(/DD/)?"dayNames":"dayNamesShort"))+20-e.getDay())),t.input.attr("size",this._formatDate(t,e).length))},_inlineDatepicker:function m(t,s){var e=V(t);e.hasClass(this.markerClassName)||(e.addClass(this.markerClassName).append(s.dpDiv).bind("setData.datepicker",function(t,e,i){s.settings[e]=i}).bind("getData.datepicker",function(t,e){return this._get(s,e)}),V.data(t,r,s),this._setDate(s,this._getDefaultDate(s),!0),this._updateDatepicker(s),this._updateAlternate(s),s.settings.disabled&&this._disableDatepicker(t),s.dpDiv.css("display","block"))},_dialogDatepicker:function g(t,e,i,s,n){var a,o=this._dialogInst;return o||(this.uuid+=1,a="dp"+this.uuid,this._dialogInput=V(''),this._dialogInput.keydown(this._doKeyDown),V("body").append(this._dialogInput),(o=this._dialogInst=this._newInst(this._dialogInput,!1)).settings={},V.data(this._dialogInput[0],r,o)),h(o.settings,s||{}),e=e&&e.constructor==Date?this._formatDate(o,e):e,this._dialogInput.val(e),this._pos=n?n.length?n:[n.pageX,n.pageY]:null,this._pos||(a=document.documentElement.clientWidth,s=document.documentElement.clientHeight,e=document.documentElement.scrollLeft||document.body.scrollLeft,n=document.documentElement.scrollTop||document.body.scrollTop,this._pos=[a/2-100+e,s/2-150+n]),this._dialogInput.css("left",this._pos[0]+20+"px").css("top",this._pos[1]+"px"),o.settings.onSelect=i,this._inDialog=!0,this.dpDiv.addClass(this._dialogClass),this._showDatepicker(this._dialogInput[0]),V.blockUI&&V.blockUI(this.dpDiv),V.data(this._dialogInput[0],r,o),this},_destroyDatepicker:function v(t){var e,i=V(t),s=V.data(t,r);i.hasClass(this.markerClassName)&&(e=t.nodeName.toLowerCase(),V.removeData(t,r),"input"==e?(s.append.remove(),s.trigger.remove(),i.removeClass(this.markerClassName).unbind("focus",this._showDatepicker).unbind("keydown",this._doKeyDown).unbind("keypress",this._doKeyPress).unbind("keyup",this._doKeyUp)):"div"!=e&&"span"!=e||i.removeClass(this.markerClassName).empty())},_enableDatepicker:function _(e){var t,i=V(e),s=V.data(e,r);i.hasClass(this.markerClassName)&&("input"==(t=e.nodeName.toLowerCase())?(e.disabled=!1,s.trigger.filter("button").each(function(){this.disabled=!1}).end().filter("img").css({opacity:"1.0",cursor:""})):"div"!=t&&"span"!=t||((i=i.children("."+this._inlineClass)).children().removeClass("ui-state-disabled"),i.find("select.ui-datepicker-month, select.ui-datepicker-year").removeAttr("disabled")),this._disabledInputs=V.map(this._disabledInputs,function(t){return t==e?null:t}))},_disableDatepicker:function b(e){var t,i=V(e),s=V.data(e,r);i.hasClass(this.markerClassName)&&("input"==(t=e.nodeName.toLowerCase())?(e.disabled=!0,s.trigger.filter("button").each(function(){this.disabled=!0}).end().filter("img").css({opacity:"0.5",cursor:"default"})):"div"!=t&&"span"!=t||((i=i.children("."+this._inlineClass)).children().addClass("ui-state-disabled"),i.find("select.ui-datepicker-month, select.ui-datepicker-year").attr("disabled","disabled")),this._disabledInputs=V.map(this._disabledInputs,function(t){return t==e?null:t}),this._disabledInputs[this._disabledInputs.length]=e)},_isDisabledDatepicker:function w(t){if(!t)return!1;for(var e=0;el&&nr&&sl&&nm;)--p<0&&(p=11,f--);t.drawMonth=p,t.drawYear=f;for(var r=this._get(t,"prevText"),r=a?this.formatDate(r,this._daylightSavingAdjust(new Date(f,p-l,1)),this._getFormatConfig(t)):r,g=this._canAdjustMonth(t,-1,f,p)?''+r+"":n?"":''+r+"",r=this._get(t,"nextText"),r=a?this.formatDate(r,this._daylightSavingAdjust(new Date(f,p+l,1)),this._getFormatConfig(t)):r,v=this._canAdjustMonth(t,1,f,p)?''+r+"":n?"":''+r+"",l=this._get(t,"currentText"),n=this._get(t,"gotoCurrent")&&t.currentDay?c:e,l=a?this.formatDate(l,n,this._getFormatConfig(t)):l,r=t.inline?"":'",a=this._get(t,"otherButton"),a=void 0===a?"":'",r=s?'
'+(i?r:"")+(this._isInRange(t,n)?'":"")+a+(i?"":r)+"
":"",_=parseInt(this._get(t,"firstDay"),10),_=isNaN(_)?0:_,b=this._get(t,"showWeek"),w=this._get(t,"dayNames"),y=(this._get(t,"dayNamesShort"),this._get(t,"dayNamesMin")),k=this._get(t,"monthNames"),x=this._get(t,"monthNamesShort"),D=this._get(t,"beforeShowDay"),T=this._get(t,"showOtherMonths"),C=this._get(t,"selectOtherMonths"),S=(this._get(t,"calculateWeek")||this.iso8601Week,this._getDefaultDate(t)),M="",I=0;I'+(/all|left/.test(A)&&0==I?i?v:g:"")+(/all|right/.test(A)&&0==I?i?g:v:"")+this._generateMonthYearHeader(t,p,f,d,u,0';for(var N=b?'":"",H=0;H<7;H++){var F=(H+_)%7;N+="'+y[F]+""}L+=N+"";var W=this._getDaysInMonth(f,p);f==t.selectedYear&&p==t.selectedMonth&&(t.selectedDay=Math.min(t.selectedDay,W));var E=(this._getFirstDayOfMonth(f,p)-_+7)%7,W=Math.ceil((E+W)/7),R=h&&this.maxRows>W?this.maxRows:W;this.maxRows=R;for(var j=this._daylightSavingAdjust(new Date(f,p,1-E)),Y=0;Y";for(var B=b?'":"",H=0;H<7;H++){var $=D?D.apply(t.input?t.input[0]:null,[j]):[!0,""],q=j.getMonth()!=p,K=q&&!C||!$[0]||d&&j"+(q&&!T?" ":K?''+j.getDate()+"":"'+j.getDate()+"")+"",j.setDate(j.getDate()+1),j=this._daylightSavingAdjust(j)}L+=B+""}11<++p&&(p=0,f++),P+=L+="
'+this._get(t,"weekHeader")+"
'+this._get(t,"calculateWeek")(j)+"
"+(h?""+(0':""):"")}M+=P}return M+=r+(V.browser.msie&&parseInt(V.browser.version,10)<7&&!t.inline?'':""),t._keyEvent=!1,M},_generateMonthYearHeader:function rt(t,e,i,s,n,a,o,r){var l=this._get(t,"changeMonth"),h=this._get(t,"changeYear"),c=this._get(t,"showMonthAfterYear"),d='
',u="";if(a||!l)u+=''+o[e]+"";else{var p=s&&s.getFullYear()==i,f=n&&n.getFullYear()==i;u+='"}if(c||(d+=u+(!a&&l&&h?"":" ")),!t.yearshtml)if(t.yearshtml="",a||!h)d+=''+i+"";else{var g,o=this._get(t,"yearRange").split(":"),v=(new Date).getFullYear(),_=this._get(t,"yearSuffix"),b=(g=function g(t){t=t.match(/c[+-].*/)?i+parseInt(t.substring(1),10):t.match(/[+-].*/)?v+parseInt(t,10):parseInt(t,10);return isNaN(t)?v:t})(o[0]),w=Math.max(b,g(o[1]||"")),b=s?Math.max(b,s.getFullYear()):b,w=n?Math.min(w,n.getFullYear()):w;for(t.yearshtml+='",d+=t.yearshtml,t.yearshtml=null}return c&&(d+=(!a&&l&&h?"":" ")+u),d+="
"},_adjustInstDate:function lt(t,e,i){var s=t.drawYear+("Y"==i?e:0),n=t.drawMonth+("M"==i?e:0),e=Math.min(t.selectedDay,this._getDaysInMonth(s,n))+("D"==i?e:0),e=this._restrictMinMax(t,this._daylightSavingAdjust(new Date(s,n,e)));t.selectedDay=e.getDate(),t.drawMonth=t.selectedMonth=e.getMonth(),t.drawYear=t.selectedYear=e.getFullYear(),"M"!=i&&"Y"!=i||this._notifyChange(t)},_restrictMinMax:function ht(t,e){var i=this._getMinMaxDate(t,"min"),t=this._getMinMaxDate(t,"max"),e=i&&e=i.getTime())&&(!t||e.getTime()<=t.getTime())},_getFormatConfig:function vt(t){var e=this._get(t,"shortYearCutoff");return{shortYearCutoff:e="string"!=typeof e?e:(new Date).getFullYear()%100+parseInt(e,10),dayNamesShort:this._get(t,"dayNamesShort"),dayNames:this._get(t,"dayNames"),monthNamesShort:this._get(t,"monthNamesShort"),monthNames:this._get(t,"monthNames")}},_formatDate:function _t(t,e,i,s){e||(t.currentDay=t.selectedDay,t.currentMonth=t.selectedMonth,t.currentYear=t.selectedYear);e=e?"object"==_typeof(e)?e:this._daylightSavingAdjust(new Date(s,i,e)):this._daylightSavingAdjust(new Date(t.currentYear,t.currentMonth,t.currentDay));return this.formatDate(this._get(t,"dateFormat"),e,this._getFormatConfig(t))}}),V.fn.datepicker=function(t){if(!this.length)return this;V.datepicker.initialized||(V(document).mousedown(V.datepicker._checkExternalClick).find("body").append(V.datepicker.dpDiv),V.datepicker.initialized=!0);var e=Array.prototype.slice.call(arguments,1);return"string"==typeof t&&("isDisabled"==t||"getDate"==t||"widget"==t)||"option"==t&&2==arguments.length&&"string"==typeof arguments[1]?V.datepicker["_"+t+"Datepicker"].apply(V.datepicker,[this[0]].concat(e)):this.each(function(){"string"==typeof t?V.datepicker["_"+t+"Datepicker"].apply(V.datepicker,[this].concat(e)):V.datepicker._attachDatepicker(this,t)})},V.datepicker=new t,V.datepicker.initialized=!1,V.datepicker.uuid=(new Date).getTime(),V.datepicker.version="@VERSION",window["DP_jQuery_"+c]=V}(jQuery),jQuery(function(t){var e=["日","一","二","三","四","五","六"],i="今天";"undefined"!=typeof LS&&(e=[LS.date_Sun,LS.date_Mon,LS.date_Tue,LS.date_Wed,LS.date_Thu,LS.date_Fri,LS.date_Sat],i=LS.date_today),t.datepicker.regional["zh-CN"]={closeText:"关闭",prevText:"<上月",nextText:"下月>",currentText:i,monthNames:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],monthNamesShort:["1","2","3","4","5","6","7","8","9","10","11","12"],dayNames:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],dayNamesShort:["周日","周一","周二","周三","周四","周五","周六"],dayNamesMin:e,weekHeader:"周",dateFormat:"yy-mm-dd",firstDay:1,isRTL:!1,showMonthAfterYear:!0,yearSuffix:""},t.datepicker.setDefaults(t.datepicker.regional["zh-CN"])}),function(p){p.widget("ui.droppable",{widgetEventPrefix:"drop",options:{accept:"*",activeClass:!1,addClasses:!0,greedy:!1,hoverClass:!1,scope:"default",tolerance:"intersect"},_create:function i(){var t=this.options,e=t.accept;this.isover=0,this.isout=1,this.accept=p.isFunction(e)?e:function(t){return t.is(e)},this.proportions={width:this.element[0].offsetWidth,height:this.element[0].offsetHeight},p.ui.ddmanager.droppables[t.scope]=p.ui.ddmanager.droppables[t.scope]||[],p.ui.ddmanager.droppables[t.scope].push(this),t.addClasses&&this.element.addClass("ui-droppable")},destroy:function s(){for(var t=p.ui.ddmanager.droppables[this.options.scope],e=0;e",remove:null,select:null,show:null,spinner:"Loading…",tabTemplate:"
  • #{label}
  • ",version:"",popupID:0,reduceELHeight:0},_create:function n(){this._tabify(!0)},_setOption:function a(t,e){"selected"==t?this.options.collapsible&&e==this.options.selected||this.select(e):(this.options[t]=e,this._tabify())},_tabId:function o(t){return t.title&&t.title.replace(/\s/g,"_").replace(/[^\w\u00c0-\uFFFF-]/g,"")||this.options.idPrefix+i()},_sanitizeSelector:function r(t){return t.replace(/:/g,"\\:")},_cookie:function l(){var t=this.cookie||(this.cookie=this.options.cookie.name||"ui-tabs-"+s());return f.cookie.apply(null,[t].concat(f.makeArray(arguments)))},_ui:function h(t,e){return{tab:t,panel:e,index:this.anchors.index(t)}},_cleanup:function c(){this.lis.filter(".ui-state-processing").removeClass("ui-state-processing").find("span:data(label.tabs)").each(function(){var t=f(this);t.html(t.data("label.tabs")).removeData("label.tabs")})},_showRectangularBlock:function d(t,e,i){var s=t.find("."+i),n=t.find("li"),a=0;s.length||t.append("
    ");for(var o=0;o li:has(a[href])",this.list),this.anchors=this.lis.map(function(){return f("a",this)[0]}),this.panels=f([]),this.anchors.each(function(t,e){var i,s=f(e).attr("href"),n=s.split("#")[0];n&&(n===location.toString().split("#")[0]||(i=f("base")[0])&&n===i.href)&&(s=e.hash,e.href=s),l.test(s)?a.panels=a.panels.add(a.element.find(a._sanitizeSelector(s))):s&&"#"!==s?(f.data(e,"href.tabs",s),f.data(e,"load.tabs",s.replace(/#.*$/,"")),s=a._tabId(e),e.href="#"+s,(e=a.element.find("#"+s)).length||(e=(r?f(o.panelTemplate).attr("id",s).addClass("ui-tabs-panel-v2 ui-widget-content-v2 ui-corner-bottom-v2"):f(o.panelTemplate).attr("id",s).addClass("ui-tabs-panel ui-widget-content ui-corner-bottom")).insertAfter(a.panels[t-1]||a.list)).data("destroy.tabs",!0),a.panels=a.panels.add(e)):o.disabled.push(t)}),t?(r?(this.element.addClass("ui-tabs-v2 ui-widget-v2 ui-widget-content-v2 ui-corner-all-v2"),this.list.addClass("ui-tabs-nav-v2 ui-helper-reset-v2 ui-helper-clearfix-v2 ui-widget-header-v2 ui-corner-all-v2"),this.lis.addClass("ui-state-default-v2 ui-corner-top-v2"),this.panels.addClass("ui-tabs-panel-v2 ui-widget-content-v2 ui-corner-bottom-v2")):(this.element.addClass("ui-tabs ui-widget ui-widget-content ui-corner-all"),this.list.addClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all"),this.lis.addClass("ui-state-default ui-corner-top"),this.panels.addClass("ui-tabs-panel ui-widget-content ui-corner-bottom")),o.selected===m?(location.hash&&this.anchors.each(function(t,e){if(e.hash==location.hash)return o.selected=t,!1}),"number"!=typeof o.selected&&o.cookie&&(o.selected=parseInt(a._cookie(),10)),"number"!=typeof o.selected&&this.lis.filter(".ui-tabs-selected").length&&(o.selected=this.lis.index(this.lis.filter(".ui-tabs-selected"))),o.selected=o.selected||(this.lis.length?0:-1)):null===o.selected&&(o.selected=-1),o.selected=0<=o.selected&&this.anchors[o.selected]||o.selected<0?o.selected:0,o.disabled=f.unique(o.disabled.concat(f.map(this.lis.filter(".ui-state-disabled"),function(t,e){return a.lis.index(t)}))).sort(),-1!=f.inArray(o.selected,o.disabled)&&o.disabled.splice(f.inArray(o.selected,o.disabled),1),this.panels.addClass("ui-tabs-hide"),this.lis.removeClass("ui-tabs-selected ui-state-active"),0<=o.selected&&this.anchors.length&&(a.element.find(a._sanitizeSelector(a.anchors[o.selected].hash)).removeClass("ui-tabs-hide"),this.lis.eq(o.selected).addClass("ui-tabs-selected ui-state-active"),r&&(a._showRectangularBlock(this.list,o.selected,"rectangularBlock"),a._extendedLinePosition(this.lis,o.selected),setTimeout(function(){a.lis.addClass("ui-state-animation-v2")},0)),a.element.queue("tabs",function(){a._trigger("show",null,a._ui(a.anchors[o.selected],a.element.find(a._sanitizeSelector(a.anchors[o.selected].hash))[0]))}),this.load(o.selected)),f(window).bind("unload",function(){a.lis.add(a.anchors).unbind(".tabs"),a.lis=a.anchors=a.panels=null,o.popupID&&r&&Fai.top.$("#popupWindow"+o.popupID).find(".pWCenter .tabs_extendedLine").hide()})):(o.selected=this.lis.index(this.lis.filter(".ui-tabs-selected")),r&&(a._showRectangularBlock(this.list,o.selected,"rectangularBlock"),a._extendedLinePosition(this.lis,o.selected),setTimeout(function(){a.lis.addClass("ui-state-animation-v2")},0))),this.element[o.collapsible?"addClass":"removeClass"]("ui-tabs-collapsible"),o.cookie&&this._cookie(o.selected,o.cookie);for(var e,i,s,n,h,c=0;e=this.lis[c];c++)f(e)[-1==f.inArray(c,o.disabled)||f(e).hasClass("ui-tabs-selected")?"removeClass":"addClass"]("ui-state-disabled");function d(t,e){t.css("display",""),!f.support.opacity&&e.opacity&&t[0].style.removeAttribute("filter")}!1===o.cache&&this.anchors.removeData("cache.tabs"),this.lis.add(this.anchors).unbind(".tabs"),"mouseover"!==o.event&&(i=function i(t,e){e.is(":not(.ui-state-disabled)")&&e.addClass("ui-state-"+t)},s=function s(t,e){e.removeClass("ui-state-"+t)},this.lis.bind("mouseover.tabs",function(){i("hover",f(this))}),this.lis.bind("mouseout.tabs",function(){s("hover",f(this))}),this.anchors.bind("focus.tabs",function(){i("focus",f(this).closest("li"))}),this.anchors.bind("blur.tabs",function(){s("focus",f(this).closest("li"))})),o.fx&&(f.isArray(o.fx)?(n=o.fx[0],h=o.fx[1]):n=h=o.fx);var u=h?function(t,e){f(t).closest("li").addClass("ui-tabs-selected ui-state-active"),r&&(a._showRectangularBlock(f(t).closest("li").parent(),f(t).closest("li").index(),"rectangularBlock"),a._extendedLinePosition(f(t).closest("li").parent().find("li"),f(t).closest("li").index())),e.hide().removeClass("ui-tabs-hide").animate(h,h.duration||"normal",function(){d(e,h),a._trigger("show",null,a._ui(t,e[0]))})}:function(t,e){f(t).closest("li").addClass("ui-tabs-selected ui-state-active"),r&&(a._showRectangularBlock(f(t).closest("li").parent(),f(t).closest("li").index(),"rectangularBlock"),a._extendedLinePosition(f(t).closest("li").parent().find("li"),f(t).closest("li").index())),e.removeClass("ui-tabs-hide"),a._trigger("show",null,a._ui(t,e[0]))},p=n?function(t,e){e.animate(n,n.duration||"normal",function(){a.lis.removeClass("ui-tabs-selected ui-state-active"),e.addClass("ui-tabs-hide"),d(e,n),a.element.dequeue("tabs")})}:function(t,e,i){a.lis.removeClass("ui-tabs-selected ui-state-active"),e.addClass("ui-tabs-hide"),a.element.dequeue("tabs")};this.anchors.bind(o.event+".tabs",function(){var t=this,e=f(t).closest("li"),i=a.panels.filter(":not(.ui-tabs-hide)"),s=a.element.find(a._sanitizeSelector(t.hash));if(e.hasClass("ui-tabs-selected")&&!o.collapsible||e.hasClass("ui-state-disabled")||e.hasClass("ui-state-processing")||a.panels.filter(":animated").length||!1===a._trigger("select",null,a._ui(this,s[0])))return this.blur(),!1;if(o.selected=a.anchors.index(this),a.abort(),o.collapsible){if(e.hasClass("ui-tabs-selected"))return o.selected=-1,o.cookie&&a._cookie(o.selected,o.cookie),a.element.queue("tabs",function(){p(t,i)}).dequeue("tabs"),this.blur(),!1;if(!i.length)return o.cookie&&a._cookie(o.selected,o.cookie),a.element.queue("tabs",function(){u(t,s)}),a.load(a.anchors.index(this)),this.blur(),!1}if(o.cookie&&a._cookie(o.selected,o.cookie),!s.length)throw"jQuery UI Tabs: Mismatching fragment identifier.";i.length&&a.element.queue("tabs",function(){p(t,i)}),a.element.queue("tabs",function(){u(t,s)}),a.load(a.anchors.index(this)),f.browser.msie&&this.blur()}),this.anchors.bind("click.tabs",function(){return!1})},_getIndex:function p(t){return t="string"==typeof t?this.anchors.index(this.anchors.filter("[href$='"+t+"']")):t},destroy:function v(){var t=this.options,e=2==t.version;return this.abort(),this.element.unbind(".tabs").removeData("tabs"),e?(this.element.removeClass("ui-tabs-v2 ui-widget-v2 ui-widget-content-v2 ui-corner-all-v2 ui-tabs-collapsible"),this.list.removeClass("ui-tabs-nav-v2 ui-helper-reset-v2 ui-helper-clearfix-v2 ui-widget-header-v2 ui-corner-all-v2")):(this.element.removeClass("ui-tabs ui-widget ui-widget-content ui-corner-all ui-tabs-collapsible"),this.list.removeClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all")),this.anchors.each(function(){var t=f.data(this,"href.tabs");t&&(this.href=t);var i=f(this).unbind(".tabs");f.each(["href","load","cache"],function(t,e){i.removeData(e+".tabs")})}),this.lis.unbind(".tabs").add(this.panels).each(function(){f.data(this,"destroy.tabs")?f(this).remove():e?f(this).removeClass(["ui-state-animation-v2","ui-state-default-v2","ui-corner-top-v2","ui-tabs-selected","ui-state-active","ui-state-hover","ui-state-focus","ui-state-disabled","ui-tabs-panel-v2","ui-widget-content-v2","ui-corner-bottom-v2","ui-tabs-hide"].join(" ")):f(this).removeClass(["ui-state-default","ui-corner-top","ui-tabs-selected","ui-state-active","ui-state-hover","ui-state-focus","ui-state-disabled","ui-tabs-panel","ui-widget-content","ui-corner-bottom","ui-tabs-hide"].join(" "))}),t.cookie&&this._cookie(null,t.cookie),this},add:function _(t,e,i){i===m&&(i=this.anchors.length);var s=this,n=this.options,a=2==n.version,o=f(n.tabTemplate.replace(/#\{href\}/g,t).replace(/#\{label\}/g,e)),e=t.indexOf("#")?this._tabId(f("a",o)[0]):t.replace("#","");(a?o.addClass("ui-state-default-v2 ui-corner-top-v2"):o.addClass("ui-state-default ui-corner-top")).data("destroy.tabs",!0);t=s.element.find("#"+e);return t.length||(t=f(n.panelTemplate).attr("id",e).data("destroy.tabs",!0)),a?t.addClass("ui-tabs-panel-v2 ui-widget-content-v2 ui-corner-bottom-v2 ui-tabs-hide"):t.addClass("ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide"),i>=this.lis.length?(o.appendTo(this.list),t.appendTo(this.list[0].parentNode)):(o.insertBefore(this.lis[i]),t.insertBefore(this.panels[i])),n.disabled=f.map(n.disabled,function(t,e){return i<=t?++t:t}),this._tabify(),1==this.anchors.length&&(n.selected=0,o.addClass("ui-tabs-selected ui-state-active"),t.removeClass("ui-tabs-hide"),this.element.queue("tabs",function(){s._trigger("show",null,s._ui(s.anchors[0],s.panels[0]))}),this.load(0)),this._trigger("add",null,this._ui(this.anchors[i],this.panels[i])),this},remove:function b(i){i=this._getIndex(i);var t=this.options,e=this.lis.eq(i).remove(),s=this.panels.eq(i).remove();return e.hasClass("ui-tabs-selected")&&1 li"),e=-1,s=!1,r=!1,l=0;function h(t){if(0").attr("id","g_top_leftTopCover").addClass("g_topBar_marquee_cover"),e=g("
    ").attr("id","g_top_rightTopCover").addClass("g_topBar_marquee_cover"),g("body").append(t),t.offset({top:a.offset().top-1,left:a.offset().left}),g("body").append(e),e.offset({top:a.offset().top-1,left:a.offset().left+a.width()-1}))}function p(){r=!1,1!=a.data("marquee.showing")&&c(o.filter("."+n.cssShowing),1),n.hoverChange&&(a.removeClass("unfoldMarquee").addClass("marquee"),g("#g_top_leftTopCover").remove(),g("#g_top_rightTopCover").remove())}function f(t){return t.outerWidth()>a.innerWidth()}function m(){if(++e>=o.length){if(!isNaN(n.loop)&&0=n.loop)return!1;e=0}h(e)}g.data(a[0],"marquee",i),this.pause=function(){s=!0,u()},this.resume=function(){s=!1,p()},this.update=function(){var t=o.length;o=a.find("> li"),t<=1&&p()},n.pauseOnHover&&a.hover(function(){return!s&&void u()},function(){return!s&&void p()}),g.isFunction(n.init)&&n.init.apply(i,[a,n]),m()},g.Marquee.defaults={yScroll:"top",showSpeed:850,scrollSpeed:12,pauseSpeed:5e3,pauseOnHover:!0,loop:-1,fxEasingShow:"swing",fxEasingScroll:"linear",cssShowing:"marquee-showing",init:null,beforeshow:null,show:null,aftershow:null,hoverChange:!1}}(jQuery),function(M){function I(t,e,i){if(null==e||null==i||null==t||e.width<=0||e.height<=0||i.width<=0||i.height<=0||""==t)return t;if(-1i.width&&(n=e.width/i.width,i.width*=n,i.height*=n),e.height>i.height&&(n=e.height/i.height,i.width*=n,i.height*=n),0==(s=(s=i.width>=i.height?i.width:i.height)<=60?60:s<=100?100:s<=160?160:s<=200?200:s<=300?300:s<=400?400:s<=500?500:s<=600?600:s<=700?700:s<=800?800:s<=900?900:s<=1500?1500:s<=2e3?2e3:0))return t;var n=t.lastIndexOf("/");if(n<0)return t;i=t.lastIndexOf(".");if(i').css({position:"absolute",display:"none",zIndex:2,height:"30px","line-height":"30px",width:M.browser.msie&&6==M.browser.version?M(i).parent().parent().width()+"px":M(i).parent().width()+"px"}).appendTo(i);0==e&&l.css("visibility","hidden"),S.showImageName?l.css("display","block"):l.remove();var h,t="none";1').css({position:"absolute",zIndex:3,display:t}).appendTo(i)),M("
    ").appendTo(i);var a,c,d=M('
    ').css({width:S.width<=i.width()?S.width:"100%",position:"relative",overflow:"hidden"}).height(-1!="y,show-y".indexOf(S.animateStyle)?o*e:o).appendTo(i),u=0,p="100%";0==S.btnType&&(S.animateStyle="x"),M.each(S.data,function(t,e){var i="onclick='";null!=e.click&&(i+=e.click);e.href?JZ.getIsOpenRemoveUrlArg()&&e.podReqArgs&&(i+=JZ.createUrlArgsOnclickStr(e.podReqArgs,!1)):i+="return false;";var s,n=r==t?"absolute":"",a=M('").css({width:p,height:o+"px",cursor:e.href?"pointer":"default","background-position":S.position,"background-repeat":S.repeat,overflow:"hidden",position:n,display:"block","float":-1!="x,show-x".indexOf(S.animateStyle)?"left":""}).attr({id:"photoList"+(e.pic||t),href:e.href||"javascript:;",target:e.target||"",title:e.tip||""}).appendTo(d),i={width:e.width,height:e.height},n={width:e.widthOr,height:e.heightOr};e.width&&0"):a.html(""+e.name+""):a.css("background-image","url("+e.src+")"),1==S.btnType?s=M('').appendTo(h).html(""+(t+1)+""):2==S.btnType&&(s=M('').appendTo(h));e=M('').appendTo(l).css("margin-left","10px").html(Fai.encodeHtml(e.name));0!=S.btnType&&t==r&&(1==S.btnType?s.addClass("imageSwitchBtnSel"):s.addClass("imageSwitchBtnSel_dot"),e.addClass("spanShowName")),1==S.btnType&&(u+=M(s).outerWidth(!0))}),0==S.btnType&&1').appendTo(i).css("position","absolute").css("zIndex",3),c=M('').appendTo(i).css("position","absolute").css("zIndex",3)),1==S.btnType&&h.width(u);var f=i.parent(),m=f.width();M.browser.msie&&6==M.browser.version&&(m=f.parent().width());var g,v,_,b,t=f.height();"module"==S.from?m>S.width&&(m=S.width):(m=m>S.width?S.width+(m-S.width)/2:m)>i.width()&&(m=i.width()),o=i.width()?h.css("right","0px"):(h.css("right","50%"),h.css("marginRight","-"+s/2+"px")):2==S.btnType&&(h.css("left","50%"),h.css("marginLeft","-"+h.width()/2+"px")):h.css("left",m-u+"px"):(f=i.width()-s,s<=i.width()?f-=.5*f:f=0,a.css("left",f),c.css("right",f))),0!=S.btnType?(g=h.children("a"),v=d.children("a")):(_=c,b=a);var w,y,k,x,D,T=l.children("span"),m=m-u;function C(){if(0
    ',t/3,t/2-t/6)).find(":last").css("opacity",.5))},200);var x=function x(){null!==e&&(e.remove(),e=null)};this.removeBits=function(){_&&(_.remove(),_=null),b&&(b.remove(),b=null),w&&(w.remove(),w=null),x(),D(".cloud-zoom-loading",l.parent()).remove()},this.destroy=function(){l.data("zoom",null),i&&(i.unbind(),i.remove(),i=null),v&&(v.remove(),v=null),this.removeBits()},this.fadedOut=function(){v&&(v.remove(),v=null),this.removeBits()},this.controlLoop=function(t){var e,i,s;_&&(e=p-g.offset().left-.5*d>>0,i=f-g.offset().top-.5*u>>0,e<0?e=0:e>g.parent().outerWidth()-d&&(e=g.parent().outerWidth()-d),i<0?i=0:i>g.parent().outerHeight()-u&&(i=g.parent().outerHeight()-u),_.css({left:e,top:i}),_.css("background-position",-e+"px "+-i+"px"),a=e/g.parent().outerWidth()*c.width>>0,o=i/g.parent().outerHeight()*c.height>>0,y+=(a-y)/h.smoothMove,r+=(o-r)/h.smoothMove,h.imageWidth>0)+"px "+-(r>>0)+"px")),n=setTimeout(function(){var t=!1;k.controlLoop(t)},30)},this.init2=function(t,e){1===e&&(c=t),2===++s&&this.init()},this.init=function(){D(".cloud-zoom-loading",l.parent()).remove(),l.parent().find(".mousetrap").remove();var t=h.imageWidth,e=h.imageHeight;if(i=l.parent().append(T("
    ",g.parent().outerWidth(),g.parent().outerHeight(),0,0)).find(":last"),e<=h.maxHeight&&t<=h.maxWidth)return!1;l.parent().find("img").bind("mousemove",this,function(t){p=t.pageX,f=t.pageY,i&&i.mouseenter()}),l.parent().find("img").bind("mouseleave",this,function(t){return clearTimeout(n),_&&_.fadeOut(299),b&&b.fadeOut(299),w&&w.fadeOut(299),v&&v.fadeOut(300,function(){k.fadedOut()}),!1}),i.bind("mousemove",this,function(t){p=t.pageX,f=t.pageY}),i.bind("mouseleave",this,function(t){return clearTimeout(n),_&&_.fadeOut(299),b&&b.fadeOut(299),w&&w.fadeOut(299),v&&v.fadeOut(300,function(){k.fadedOut()}),!1}),i.bind("mouseenter",this,function(t){p=t.pageX,f=t.pageY,m=t.data,v&&(v.stop(!0,!1),v.remove());var e=h.adjustX,i=h.adjustY,s=g.parent().outerWidth(),n=g.parent().outerHeight(),a=h.zoomWidth,o=h.zoomHeight;"auto"==h.zoomWidth&&(a=s),"auto"==h.zoomHeight&&(o=n);var r=l.parent();switch(h.position){case"top":i-=o;break;case"right":e+=s;break;case"bottom":i+=n;break;case"left":e-=a;break;case"inside":a=s,o=n;break;default:(r=D("#"+h.position)).length?(a=r.innerWidth(),o=r.innerHeight()):(r=l,e+=s,i+=n)}v=r.append(T('',e,i,a,o,c.src)).find(":last"),g.attr("title")&&h.showTitle&&v.append(T('
    %0
    ',g.attr("title"))).find(":last").css("opacity",h.titleOpacity),v.fadeIn(500),_&&(_.remove(),_=null),d=g.parent().outerWidth()/c.width*v.width(),u=g.parent().outerHeight()/c.height*v.height(),_=l.append(T("",d,u)).find(":last");t=!1;h.tint&&(_.css("background",'url("'+g.attr("src")+'")'),(b=l.append(T('
    ',g.parent().outerWidth(),g.parent().outerHeight(),h.tint)).find(":last")).css("opacity",h.tintOpacity),t=!0,b.fadeIn(500)),h.softFocus&&(_.css("background",'url("'+g.attr("src")+'")'),(w=l.append(T('
    ',g.parent().outerWidth()-2,g.parent().outerHeight()-2,h.tint)).find(":last")).css("background",'url("'+g.attr("src")+'")'),w.css("opacity",.5),t=!0,w.fadeIn(500)),t||_.css("opacity",h.lensOpacity),"inside"!==h.position&&_.fadeIn(500);t=!0;m.controlLoop(t)})},t=new Image,D(t).load(function(){k.init2(this,0)}),t.src=g.attr("src"),t=new Image,D(t).load(function(){k.init2(this,1)}),t.src=l.attr("href")}D(document).ready(function(){}),D.fn.CloudZoom=function(i){var t={},t=D.extend({},t,i);try{document.execCommand("BackgroundImageCache",!1,!0)}catch(e){}return this.each(function(){var t,e;window.eval.call(window,"var\ta = {"+D(this).attr("rel")+"}"),t=a,D(this).is(".cloud-zoom")?(D(this).css({position:"relative",display:"block"}),D("img",D(this)).css({display:"block"}),"wrap"!=D(this).parent().attr("id")&&D(this).wrap('
    '),e=D.extend({},D.fn.CloudZoom.defaults,i),e=D.extend({},e,t),D(this).data("zoom",new s(D(this),e))):D(this).is(".cloud-zoom-gallery")&&(e=D.extend({},t,i),D(this).data("relOpts",e))}),this},D.fn.CloudZoom.defaults={zoomWidth:"auto",zoomHeight:"auto",position:"right",tint:!1,tintOpacity:.5,lensOpacity:.5,softFocus:!1,smoothMove:3,showTitle:!0,titleOpacity:.5,adjustX:0,adjustY:0}}(jQuery),function(i){"undefined"!=typeof jQuery.widget&&i.widget("ui.faiButton",{options:{},_create:function s(){var t,e=this,e=(e.options,e.element);i(e).is(":button")&&(void 0!==(t=i(e).attr("extClass"))&&""!=t?e.addClass(t).on("mouseenter",function(){i(this).addClass(t+"-hover")}).on("mouseleave",function(){i(this).removeClass(t+"-hover").removeClass(t+"-active")}).on("mousedown",function(){i(this).addClass(t+"-active")}).on("mouseup",function(){i(this).removeClass(t+"-active")}).on("focus"+this.eventNamespace,function(){i(this).addClass(t+"-hover")}).on("blur"+this.eventNamespace,function(){i(this).removeClass(t+"-hover").removeClass(t+"-active")}):e.on("mouseenter",function(){i(this).addClass("faiButton-hover")}).on("mouseleave",function(){i(this).removeClass("faiButton-hover").removeClass("faiButton-active")}).on("mousedown",function(){i(this).addClass("faiButton-active")}).on("mouseup",function(){i(this).removeClass("faiButton-active")}).on("focus"+this.eventNamespace,function(){i(this).addClass("faiButton-hover")}).on("blur"+this.eventNamespace,function(){i(this).removeClass(t+"-hover").removeClass("faiButton-active")}))},_setOption:function n(t,e){this.options[t]=e},disable:function a(){var t=this,e=(t.options,t.element);i(e).is(":button")&&(void 0!==(t=i(e).attr("extClass"))&&""!=t?i(e).prop("disabled",!0).addClass(t+"-disabled"):i(e).prop("disabled",!0).addClass("faiButton-disabled"))},enable:function o(){var t=this,e=(t.options,t.element);i(e).is(":button")&&(void 0!==(t=i(e).attr("extClass"))&&""!=t?i(e).prop("disabled",!1).removeClass(t+"-disabled"):i(e).prop("disabled",!1).removeClass("faiButton-disabled"))}})}(jQuery);var JPlaceHolder={_check:function _check(){return"placeholder"in document.createElement("input")},init:function init(){this._check()||this.fix()},fix:function fix(){jQuery(":input[placeholder]").each(function(t,e){var i,s=$(this),n=s.attr("placeholder"),a=s.position(),o=s.outerHeight(!0),r=(s.outerWidth(!0),s.css("padding-left"),s.css("padding-top")),r=parseInt(o/4);i=("TEXTAREA"==s[0].nodeName?$("").text(n).css({position:"absolute",left:a.left,top:a.top,lineHeight:"26px",paddingLeft:8,paddingTop:0}):$("").text(n).css({position:"absolute",left:a.left,top:a.top,height:o,lineHeight:o,paddingLeft:8,paddingTop:r})).appendTo(s.parent()),s.focusin(function(t){}).focusout(function(t){s.val()||i.show()}),s.keydown(function(t){i.hide(),s.focus()}),i.click(function(){s.focus()})})}};jQuery(function(){JPlaceHolder.init()}),function(t){var i=t.ui.resizable.prototype._setOption;t.ui.resizable.prototype._setOption=function(t,e){i.apply(this,arguments),"aspectRatio"===t&&(this._aspectRatio=!!e)}}(jQuery),function(n){n.datepicker._base_gotoToday=n.datepicker._gotoToday,n.datepicker._gotoToday=function(t){var e=this._getInst(n(t)[0]),i=e.dpDiv;this._base_gotoToday(t);var s=this._get(e,"timepicker");a(s);t=new Date,s=new Date(t.getFullYear(),t.getMonth(),t.getDate()),t=this._get(e,"hourAccuracy")?s:t;this._setTime(e,t),n(".ui-datepicker-today",i).click()};var a=function a(t,e){t&&t.timezone_select&&(t._defaults.useLocalTimezone=!0,e=void 0!==e?e:new Date,e=n.timepicker.timeZoneOffsetString(e),t._defaults.timezoneIso8601&&(e=e.substring(0,3)+":"+e.substring(3)),t.timezone_select.val(e))};n.datepicker._setTime=function(t,e){var i,s=this._get(t,"timepicker");s&&(i=s._defaults,s.hour=e?e.getHours():i.hour,s.minute=e?e.getMinutes():i.minute,s.second=e?e.getSeconds():i.second,s.millisec=e?e.getMilliseconds():i.millisec,s._limitMinMaxDateTime(t,!0),s._onTimeChange(),s._updateDateTime(t))}}(jQuery),function(f,n,t,m){var s="stellar",i={scrollProperty:"scroll",positionProperty:"position",horizontalScrolling:!0,verticalScrolling:!0,horizontalOffset:0,verticalOffset:0,responsive:!1,parallaxBackgrounds:!0,parallaxElements:!0,hideDistantElements:!0,hideElement:function c(t){t.hide()},showElement:function d(t){t.show()}},r={scroll:{getLeft:function u(t){return t.scrollLeft()},setLeft:function p(t,e){t.scrollLeft(e)},getTop:function _(t){return t.scrollTop()},setTop:function b(t,e){t.scrollTop(e)}},position:{getLeft:function u(t){return-1*parseInt(t.css("left"),10)},getTop:function _(t){return-1*parseInt(t.css("top"),10)}},margin:{getLeft:function u(t){return-1*parseInt(t.css("margin-left"),10)},getTop:function _(t){return-1*parseInt(t.css("margin-top"),10)}},transform:{getLeft:function u(t){t=getComputedStyle(t[0])[a];return"none"!==t?-1*parseInt(t.match(/(-?[0-9]+)/g)[4],10):0},getTop:function _(t){t=getComputedStyle(t[0])[a];return"none"!==t?-1*parseInt(t.match(/(-?[0-9]+)/g)[5],10):0}}},l={position:{setLeft:function p(t,e){t.css("left",e)},setTop:function b(t,e){t.css("top",e)}},transform:{setPosition:function w(t,e,i,s,n){t[0].style[a]="translate3d("+(e-i)+"px, "+(s-n)+"px, 0)"}}},a=function(){var t,e=/^(Moz|Webkit|Khtml|O|ms|Icab)(?=[A-Z])/,i=f("script")[0].style,s="";for(t in i)if(e.test(t)){s=t.match(e)[0];break}return"WebkitOpacity"in i&&(s="Webkit"),"KhtmlOpacity"in i&&(s="Khtml"),function(t){return s+(0",{style:"background:#fff"}).css("background-position-x")!==m,g=e?function(t,e,i){t.css({"background-position-x":e,"background-position-y":i})}:function(t,e,i){t.css("background-position",e+" "+i)},v=e?function(t){return[t.css("background-position-x"),t.css("background-position-y")]}:function(t){return t.css("background-position").split(" ")},o=n.requestAnimationFrame||n.webkitRequestAnimationFrame||n.mozRequestAnimationFrame||n.oRequestAnimationFrame||n.msRequestAnimationFrame||function(t){setTimeout(t,1e3/60)};function h(t,e){this.element=t,this.options=f.extend({},i,e),this._defaults=i,this._name=s,this.init()}h.prototype={init:function init(){this.options.name=s+"_"+Math.floor(1e9*Math.random()),this._defineElements(),this._defineGetters(),this._defineSetters(),this._handleWindowLoadAndResize(),this._detectViewport(),this.refresh({firstLoad:!0}),"scroll"===this.options.scrollProperty?this._handleScrollEvent():this._startAnimationLoop()},_defineElements:function y(){this.element===t.body&&(this.element=n),this.$scrollElement=f(this.element),this.$element=this.element===n?f("body"):this.$scrollElement,this.$viewportElement=this.options.viewportElement!==m?f(this.options.viewportElement):this.$scrollElement[0]===n||"scroll"===this.options.scrollProperty?this.$scrollElement:this.$scrollElement.parent()},_defineGetters:function k(){var t=this,e=r[t.options.scrollProperty];this._getScrollLeft=function(){return e.getLeft(t.$scrollElement)},this._getScrollTop=function(){return e.getTop(t.$scrollElement)}},_defineSetters:function x(){var a=this,t=r[a.options.scrollProperty],o=l[a.options.positionProperty],e=t.setLeft,i=t.setTop;this._setScrollLeft="function"==typeof e?function(t){e(a.$scrollElement,t)}:f.noop,this._setScrollTop="function"==typeof i?function(t){i(a.$scrollElement,t)}:f.noop,this._setPosition=o.setPosition||function(t,e,i,s,n){a.options.horizontalScrolling&&o.setLeft(t,e,i),a.options.verticalScrolling&&o.setTop(t,s,n)}},_handleWindowLoadAndResize:function D(){var t=this,e=f(n);t.options.responsive&&e.bind("load."+this.name,function(){t.refresh()}),e.bind("resize."+this.name,function(){t._detectViewport(),t.options.responsive&&t.refresh()})},refresh:function T(t){var i=this,e=i._getScrollLeft(),s=i._getScrollTop();t&&t.firstLoad||this._reset(),this._setScrollLeft(0),this._setScrollTop(0),this._setOffsets(),this._findParticles(),this._findBackgrounds(),t&&t.firstLoad&&/WebKit/.test(navigator.userAgent)&&f(n).load(function(){var t=i._getScrollLeft(),e=i._getScrollTop();i._setScrollLeft(t+1),i._setScrollTop(e+1),i._setScrollLeft(t),i._setScrollTop(e)}),this._setScrollLeft(e),this._setScrollTop(s)},_detectViewport:function C(){var t=this.$viewportElement.offset(),e=null!==t&&t!==m;this.viewportWidth=this.$viewportElement.width(),this.viewportHeight=this.$viewportElement.height(),this.viewportOffsetTop=e?t.top:0,this.viewportOffsetLeft=e?t.left:0},_findParticles:function S(){var p=this;this._getScrollLeft(),this._getScrollTop();if(this.particles!==m)for(var t=this.particles.length-1;0<=t;t--)this.particles[t].$element.data("stellar-elementIsActive",m);this.particles=[],this.options.parallaxElements&&this.$element.find("[data-stellar-ratio]").each(function(t){var e,i,s,n,a,o,r,l=f(this),h=0,c=0,d=0,u=0;if(l.data("stellar-elementIsActive")){if(l.data("stellar-elementIsActive")!==this)return}else l.data("stellar-elementIsActive",this);p.options.showElement(l),l.data("stellar-startingLeft")?(l.css("left",l.data("stellar-startingLeft")),l.css("top",l.data("stellar-startingTop"))):(l.data("stellar-startingLeft",l.css("left")),l.data("stellar-startingTop",l.css("top"))),e=l.position().left,i=l.position().top,s="auto"===l.css("margin-left")?0:parseInt(l.css("margin-left"),10),n="auto"===l.css("margin-top")?0:parseInt(l.css("margin-top"),10),o=l.offset().left-s,r=l.offset().top-n,l.parents().each(function(){var t=f(this);if(!0===t.data("stellar-offset-parent"))return h=d,c=u,a=t,!1;d+=t.position().left,u+=t.position().top}),s=l.data("stellar-horizontal-offset")!==m?l.data("stellar-horizontal-offset"):a!==m&&a.data("stellar-horizontal-offset")!==m?a.data("stellar-horizontal-offset"):p.horizontalOffset,n=l.data("stellar-vertical-offset")!==m?l.data("stellar-vertical-offset"):a!==m&&a.data("stellar-vertical-offset")!==m?a.data("stellar-vertical-offset"):p.verticalOffset,p.particles.push({$element:l,$offsetParent:a,isFixed:"fixed"===l.css("position"),horizontalOffset:s,verticalOffset:n,startingPositionLeft:e,startingPositionTop:i,startingOffsetLeft:o,startingOffsetTop:r,parentOffsetLeft:h,parentOffsetTop:c,stellarRatio:l.data("stellar-ratio")!==m?l.data("stellar-ratio"):1,width:l.outerWidth(!0),height:l.outerHeight(!0),isHidden:!1})})},_findBackgrounds:function M(){var t,d=this,u=this._getScrollLeft(),p=this._getScrollTop();this.backgrounds=[],this.options.parallaxBackgrounds&&(t=this.$element.find("[data-stellar-background-ratio]"),(t=this.$element.data("stellar-background-ratio")?t.add(this.$element):t).each(function(){var t,e,i,s,n,a=f(this),o=v(a),r=0,l=0,h=0,c=0;if(a.data("stellar-backgroundIsActive")){if(a.data("stellar-backgroundIsActive")!==this)return}else a.data("stellar-backgroundIsActive",this);a.data("stellar-backgroundStartingLeft")?g(a,a.data("stellar-backgroundStartingLeft"),a.data("stellar-backgroundStartingTop")):(a.data("stellar-backgroundStartingLeft",o[0]),a.data("stellar-backgroundStartingTop",o[1])),t="auto"===a.css("margin-left")?0:parseInt(a.css("margin-left"),10),e="auto"===a.css("margin-top")?0:parseInt(a.css("margin-top"),10),i=a.offset().left-t-u,s=a.offset().top-e-p,a.parents().each(function(){var t=f(this);if(!0===t.data("stellar-offset-parent"))return r=h,l=c,n=t,!1;h+=t.position().left,c+=t.position().top}),t=a.data("stellar-horizontal-offset")!==m?a.data("stellar-horizontal-offset"):n!==m&&n.data("stellar-horizontal-offset")!==m?n.data("stellar-horizontal-offset"):d.horizontalOffset,e=a.data("stellar-vertical-offset")!==m?a.data("stellar-vertical-offset"):n!==m&&n.data("stellar-vertical-offset")!==m?n.data("stellar-vertical-offset"):d.verticalOffset,d.backgrounds.push({$element:a,$offsetParent:n,isFixed:"fixed"===a.css("background-attachment"),horizontalOffset:t,verticalOffset:e,startingValueLeft:o[0],startingValueTop:o[1],startingBackgroundPositionLeft:isNaN(parseInt(o[0],10))?0:parseInt(o[0],10),startingBackgroundPositionTop:isNaN(parseInt(o[1],10))?0:parseInt(o[1],10),startingPositionLeft:a.position().left,startingPositionTop:a.position().top,startingOffsetLeft:i,startingOffsetTop:s,parentOffsetLeft:r,parentOffsetTop:l,stellarRatio:a.data("stellar-background-ratio")===m?1:a.data("stellar-background-ratio")})}))},_reset:function I(){for(var t,e,i,s,n=this.particles.length-1;0<=n;n--)e=(t=this.particles[n]).$element.data("stellar-startingLeft"),i=t.$element.data("stellar-startingTop"),this._setPosition(t.$element,e,e,i,i),this.options.showElement(t.$element),t.$element.data("stellar-startingLeft",null).data("stellar-elementIsActive",null).data("stellar-backgroundIsActive",null);for(n=this.backgrounds.length-1;0<=n;n--)(s=this.backgrounds[n]).$element.data("stellar-backgroundStartingLeft",null).data("stellar-backgroundStartingTop",null),g(s.$element,s.startingValueLeft,s.startingValueTop)},destroy:function P(){this._reset(),this.$scrollElement.unbind("resize."+this.name).unbind("scroll."+this.name),this._animationLoop=f.noop,f(n).unbind("load."+this.name).unbind("resize."+this.name)},_setOffsets:function z(){var t=this,e=f(n);e.unbind("resize.horizontal-"+this.name).unbind("resize.vertical-"+this.name),"function"==typeof this.options.horizontalOffset?(this.horizontalOffset=this.options.horizontalOffset(),e.bind("resize.horizontal-"+this.name,function(){t.horizontalOffset=t.options.horizontalOffset()})):this.horizontalOffset=this.options.horizontalOffset,"function"==typeof this.options.verticalOffset?(this.verticalOffset=this.options.verticalOffset(),e.bind("resize.vertical-"+this.name,function(){t.verticalOffset=t.options.verticalOffset()})):this.verticalOffset=this.options.verticalOffset},_repositionElements:function O(){var t,e,i,s,n,a,o,r=this._getScrollLeft(),l=this._getScrollTop(),h=!0,c=!0;if(this.currentScrollLeft!==r||this.currentScrollTop!==l||this.currentWidth!==this.viewportWidth||this.currentHeight!==this.viewportHeight){for(this.currentScrollLeft=r,this.currentScrollTop=l,this.currentWidth=this.viewportWidth,this.currentHeight=this.viewportHeight,d=this.particles.length-1;0<=d;d--)e=(t=this.particles[d]).isFixed?1:0,a=this.options.horizontalScrolling?(s=(r+t.horizontalOffset+this.viewportOffsetLeft+t.startingPositionLeft-t.startingOffsetLeft+t.parentOffsetLeft)*-(t.stellarRatio+e-1)+t.startingPositionLeft)-t.startingPositionLeft+t.startingOffsetLeft:(s=t.startingPositionLeft,t.startingOffsetLeft),o=this.options.verticalScrolling?(n=(l+t.verticalOffset+this.viewportOffsetTop+t.startingPositionTop-t.startingOffsetTop+t.parentOffsetTop)*-(t.stellarRatio+e-1)+t.startingPositionTop)-t.startingPositionTop+t.startingOffsetTop:(n=t.startingPositionTop,t.startingOffsetTop),this.options.hideDistantElements&&(c=!this.options.horizontalScrolling||a+t.width>(t.isFixed?0:r)&&a<(t.isFixed?0:r)+this.viewportWidth+this.viewportOffsetLeft,h=!this.options.verticalScrolling||o+t.height>(t.isFixed?0:l)&&o<(t.isFixed?0:l)+this.viewportHeight+this.viewportOffsetTop),c&&h?(t.isHidden&&(this.options.showElement(t.$element),t.isHidden=!1),this._setPosition(t.$element,s,t.startingPositionLeft,n,t.startingPositionTop)):t.isHidden||(this.options.hideElement(t.$element),t.isHidden=!0);Fai.top.$(".floatLeftTop").getBoundingClientRect().top;for(var d=this.backgrounds.length-1;0<=d;d--)e=(i=this.backgrounds[d]).isFixed?0:1,this.options.horizontalScrolling?(i.horizontalOffset,this.viewportOffsetLeft,i.startingOffsetLeft,i.parentOffsetLeft,i.startingBackgroundPositionLeft,i.stellarRatio):i.startingValueLeft}},_handleScrollEvent:function A(){var t=!1,e=function e(){t=!1},i=function i(){t||(o(e),t=!0)};this.$scrollElement.bind("scroll."+this.name,i),i()},_startAnimationLoop:function L(){var t=this;this._animationLoop=function(){o(t._animationLoop)},this._animationLoop()}},f.fn[s]=function(e){var i=arguments;return e===m||"object"===_typeof(e)?this.each(function(){f.data(this,"plugin_"+s)||f.data(this,"plugin_"+s,new h(this,e))}):"string"==typeof e&&"_"!==e[0]&&"init"!==e?this.each(function(){var t=f.data(this,"plugin_"+s);t instanceof h&&"function"==typeof t[e]&&t[e].apply(t,Array.prototype.slice.call(i,1)),"destroy"===e&&f.data(this,"plugin_"+s,null)}):void 0},f[s]=function(t){var e=f(n);return e.stellar.apply(e,Array.prototype.slice.call(arguments,0))},f[s].scrollProperty=r,f[s].positionProperty=l,n.Stellar=h}(jQuery,this,document),jQuery.effects||function(c,a){function s(t){var e;return t&&t.constructor==Array&&3==t.length?t:(e=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(t))?[parseInt(e[1],10),parseInt(e[2],10),parseInt(e[3],10)]:(e=/rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(t))?[2.55*parseFloat(e[1]),2.55*parseFloat(e[2]),2.55*parseFloat(e[3])]:(e=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(t))?[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]:(e=/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(t))?[parseInt(e[1]+e[1],16),parseInt(e[2]+e[2],16),parseInt(e[3]+e[3],16)]:(e=/rgba\(0, 0, 0, 0\)/.exec(t))?n.transparent:n[c.trim(t).toLowerCase()]}function i(t,e){for(var i;!(""!=(i=(c.curCSS||c.css)(t,e))&&"transparent"!=i||c.nodeName(t,"body"))&&(e="backgroundColor",t=t.parentNode););return s(i)}c.effects={},c.each(["backgroundColor","borderBottomColor","borderLeftColor","borderRightColor","borderTopColor","borderColor","color","outlineColor"],function(t,e){c.fx.step[e]=function(t){t.colorInit||(t.start=i(t.elem,e),t.end=s(t.end),t.colorInit=!0),t.elem.style[e]="rgb("+Math.max(Math.min(parseInt(t.pos*(t.end[0]-t.start[0])+t.start[0],10),255),0)+","+Math.max(Math.min(parseInt(t.pos*(t.end[1]-t.start[1])+t.start[1],10),255),0)+","+Math.max(Math.min(parseInt(t.pos*(t.end[2]-t.start[2])+t.start[2],10),255),0)+")"}});var n={aqua:[0,255,255],azure:[240,255,255],beige:[245,245,220],black:[0,0,0],blue:[0,0,255],brown:[165,42,42],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgrey:[169,169,169],darkgreen:[0,100,0],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkviolet:[148,0,211],fuchsia:[255,0,255],gold:[255,215,0],green:[0,128,0],indigo:[75,0,130],khaki:[240,230,140],lightblue:[173,216,230],lightcyan:[224,255,255],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightyellow:[255,255,224],lime:[0,255,0],magenta:[255,0,255],maroon:[128,0,0],navy:[0,0,128],olive:[128,128,0],orange:[255,165,0],pink:[255,192,203],purple:[128,0,128],violet:[128,0,128],red:[255,0,0],silver:[192,192,192],white:[255,255,255],yellow:[255,255,0],transparent:[255,255,255]},d=["add","remove","toggle"],o={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1};function u(){var t,e=document.defaultView?document.defaultView.getComputedStyle(this,null):this.currentStyle,i={};if(e&&e.length&&e[0]&&e[e[0]])for(var s=e.length;s--;)"string"==typeof e[t=e[s]]&&(i[t.replace(/\-(\w)/g,function(t,e){return e.toUpperCase()})]=e[t]);else for(t in e)"string"==typeof e[t]&&(i[t]=e[t]);return i}function p(t){var e,i;for(e in t)(null==(i=t[e])||c.isFunction(i)||e in o||/scrollbar/.test(e)||!/color/i.test(e)&&isNaN(parseFloat(i)))&&delete t[e];return t}function f(t,e){var i,s={_:0};for(i in e)t[i]!=e[i]&&(s[i]=e[i]);return s}function r(t,e,i,s){return"object"==_typeof(t)&&(s=e,i=null,t=(e=t).effect),c.isFunction(e)&&(s=e,i=null,e={}),"number"!=typeof e&&!c.fx.speeds[e]||(s=i,i=e,e={}),c.isFunction(i)&&(s=i,i=null),e=e||{},i=i||e.duration,[t,e,i=c.fx.off?0:"number"==typeof i?i:i in c.fx.speeds?c.fx.speeds[i]:c.fx.speeds._default,s=s||e.complete]}function l(t){return!(t&&"number"!=typeof t&&!c.fx.speeds[t])||"string"==typeof t&&!c.effects[t]}c.effects.animateClass=function(o,r,l,h){return c.isFunction(l)&&(h=l,l=null),this.queue(function(){var t,i=c(this),e=i.attr("style")||" ",s=p(u.call(this)),n=i.attr("class")||"";c.each(d,function(t,e){o[e]&&i[e+"Class"](o[e])}),t=p(u.call(this)),i.attr("class",n),i.animate(f(s,t),{queue:!1,duration:r,easing:l,complete:function a(){c.each(d,function(t,e){o[e]&&i[e+"Class"](o[e])}),"object"==_typeof(i.attr("style"))?(i.attr("style").cssText="",i.attr("style").cssText=e):i.attr("style",e),h&&h.apply(this,arguments),c.dequeue(this)}})})},c.fn.extend({_addClass:c.fn.addClass,addClass:function m(t,e,i,s){return e?c.effects.animateClass.apply(this,[{add:t},e,i,s]):this._addClass(t)},_removeClass:c.fn.removeClass,removeClass:function g(t,e,i,s){return e?c.effects.animateClass.apply(this,[{remove:t},e,i,s]):this._removeClass(t)},_toggleClass:c.fn.toggleClass,toggleClass:function v(t,e,i,s,n){return"boolean"==typeof e||e===a?i?c.effects.animateClass.apply(this,[e?{add:t}:{remove:t},i,s,n]):this._toggleClass(t,e):c.effects.animateClass.apply(this,[{toggle:t},e,i,s])},switchClass:function _(t,e,i,s,n){return c.effects.animateClass.apply(this,[{add:e,remove:t},i,s,n])}}),c.extend(c.effects,{version:"@VERSION",save:function b(t,e){for(var i=0;i
    ").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0}),e=document.activeElement;try{e.id}catch(n){e=document.body}return i.wrap(t),i[0]!==e&&!c.contains(i[0],e)||c(e).focus(),t=i.parent(),"static"==i.css("position")?(t.css({position:"relative"}),i.css({position:"relative"})):(c.extend(s,{position:i.css("position"),zIndex:i.css("z-index")}),c.each(["top","left","bottom","right"],function(t,e){s[e]=i.css(e),isNaN(parseInt(s[e],10))&&(s[e]="auto")}),i.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})),t.css(s).show()},removeWrapper:function D(t){var e,i=document.activeElement;return t.parent().is(".ui-effects-wrapper")?(e=t.parent().replaceWith(t),t[0]!==i&&!c.contains(t[0],i)||c(i).focus(),e):t},setTransition:function e(s,t,n,a){return a=a||{},c.each(t,function(t,e){var i=s.cssUnit(e);0
    "+a.timeText+'
    ",c=0,d=this.units.length;c"+a[e+"Text"]+'
    ",a["show"+i]&&0',"hour"==e)for(var u=a[e+"Min"];u<=s[e];u+=parseInt(a[e+"Grid"],10)){n[e]++;var p=a.ampm&&12'+p+""}else for(var f=a[e+"Min"];f<=s[e];f+=parseInt(a[e+"Grid"],10))n[e]++,h+='";h+="
    '+(f<10?"0":"")+f+"
    "}h+=""}h+='
    "+a.timezoneText+"
    ",h+='
    ";var m=S(h+="
    ");!0===a.timeOnly&&(m.prepend('
    '+a.timeOnlyTitle+"
    "),t.find(".ui-datepicker-header, .ui-datepicker-calendar").hide());for(c=0,d=o.units.length;c").find("select"),S.fn.append.apply(this.timezone_select,S.map(a.timezoneList,function(t,e){return S("
    ").appendTo(m),v=S("