!function(t){var e={};function i(o){if(e[o])return e[o].exports;var s=e[o]={i:o,l:!1,exports:{}};return t[o].call(s.exports,s,s.exports,i),s.l=!0,s.exports}i.m=t,i.c=e,i.d=function(t,e,o){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(i.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var s in t)i.d(o,s,function(e){return t[e]}.bind(null,s));return o},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="/",i(i.s=388)}({15:function(t,e,i){var o,s,n;
/*!
 * jQuery UI Mouse 1.13.0
 * http://jqueryui.com
 *
 * Copyright jQuery Foundation and other contributors
 * Released under the MIT license.
 * http://jquery.org/license
 */!function(a){"use strict";s=[i(3),i(30),i(4),i(7)],void 0===(n="function"==typeof(o=function(t){var e=!1;return t(document).on("mouseup",(function(){e=!1})),t.widget("ui.mouse",{version:"1.13.0",options:{cancel:"input, textarea, button, select, option",distance:1,delay:0},_mouseInit:function(){var e=this;this.element.on("mousedown."+this.widgetName,(function(t){return e._mouseDown(t)})).on("click."+this.widgetName,(function(i){if(!0===t.data(i.target,e.widgetName+".preventClickEvent"))return t.removeData(i.target,e.widgetName+".preventClickEvent"),i.stopImmediatePropagation(),!1})),this.started=!1},_mouseDestroy:function(){this.element.off("."+this.widgetName),this._mouseMoveDelegate&&this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(i){if(!e){this._mouseMoved=!1,this._mouseStarted&&this._mouseUp(i),this._mouseDownEvent=i;var o=this,s=1===i.which,n=!("string"!=typeof this.options.cancel||!i.target.nodeName)&&t(i.target).closest(this.options.cancel).length;return!(s&&!n&&this._mouseCapture(i))||(this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout((function(){o.mouseDelayMet=!0}),this.options.delay)),this._mouseDistanceMet(i)&&this._mouseDelayMet(i)&&(this._mouseStarted=!1!==this._mouseStart(i),!this._mouseStarted)?(i.preventDefault(),!0):(!0===t.data(i.target,this.widgetName+".preventClickEvent")&&t.removeData(i.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(t){return o._mouseMove(t)},this._mouseUpDelegate=function(t){return o._mouseUp(t)},this.document.on("mousemove."+this.widgetName,this._mouseMoveDelegate).on("mouseup."+this.widgetName,this._mouseUpDelegate),i.preventDefault(),e=!0,!0))}},_mouseMove:function(e){if(this._mouseMoved){if(t.ui.ie&&(!document.documentMode||document.documentMode<9)&&!e.button)return this._mouseUp(e);if(!e.which)if(e.originalEvent.altKey||e.originalEvent.ctrlKey||e.originalEvent.metaKey||e.originalEvent.shiftKey)this.ignoreMissingWhich=!0;else if(!this.ignoreMissingWhich)return this._mouseUp(e)}return(e.which||e.button)&&(this._mouseMoved=!0),this._mouseStarted?(this._mouseDrag(e),e.preventDefault()):(this._mouseDistanceMet(e)&&this._mouseDelayMet(e)&&(this._mouseStarted=!1!==this._mouseStart(this._mouseDownEvent,e),this._mouseStarted?this._mouseDrag(e):this._mouseUp(e)),!this._mouseStarted)},_mouseUp:function(i){this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,i.target===this._mouseDownEvent.target&&t.data(i.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(i)),this._mouseDelayTimer&&(clearTimeout(this._mouseDelayTimer),delete this._mouseDelayTimer),this.ignoreMissingWhich=!1,e=!1,i.preventDefault()},_mouseDistanceMet:function(t){return Math.max(Math.abs(this._mouseDownEvent.pageX-t.pageX),Math.abs(this._mouseDownEvent.pageY-t.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}})})?o.apply(e,s):o)||(t.exports=n)}()},18:function(t,e,i){var o,s,n;
/*!
 * jQuery UI Keycode 1.13.0
 * http://jqueryui.com
 *
 * Copyright jQuery Foundation and other contributors
 * Released under the MIT license.
 * http://jquery.org/license
 */!function(a){"use strict";s=[i(3),i(4)],void 0===(n="function"==typeof(o=function(t){return t.ui.keyCode={BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38}})?o.apply(e,s):o)||(t.exports=n)}()},19:function(t,e,i){var o,s,n;
/*!
 * jQuery UI Draggable 1.13.0
 * http://jqueryui.com
 *
 * Copyright jQuery Foundation and other contributors
 * Released under the MIT license.
 * http://jquery.org/license
 */!function(a){"use strict";s=[i(3),i(15),i(31),i(20),i(21),i(22),i(32),i(4),i(7)],void 0===(n="function"==typeof(o=function(t){return t.widget("ui.draggable",t.ui.mouse,{version:"1.13.0",widgetEventPrefix:"drag",options:{addClasses:!0,appendTo:"parent",axis:!1,connectToSortable:!1,containment:!1,cursor:"auto",cursorAt:!1,grid:!1,handle:!1,helper:"original",iframeFix:!1,opacity:!1,refreshPositions:!1,revert:!1,revertDuration:500,scope:"default",scroll:!0,scrollSensitivity:20,scrollSpeed:20,snap:!1,snapMode:"both",snapTolerance:20,stack:!1,zIndex:!1,drag:null,start:null,stop:null},_create:function(){"original"===this.options.helper&&this._setPositionRelative(),this.options.addClasses&&this._addClass("ui-draggable"),this._setHandleClassName(),this._mouseInit()},_setOption:function(t,e){this._super(t,e),"handle"===t&&(this._removeHandleClassName(),this._setHandleClassName())},_destroy:function(){(this.helper||this.element).is(".ui-draggable-dragging")?this.destroyOnClear=!0:(this._removeHandleClassName(),this._mouseDestroy())},_mouseCapture:function(e){var i=this.options;return!(this.helper||i.disabled||t(e.target).closest(".ui-resizable-handle").length>0)&&(this.handle=this._getHandle(e),!!this.handle&&(this._blurActiveElement(e),this._blockFrames(!0===i.iframeFix?"iframe":i.iframeFix),!0))},_blockFrames:function(e){this.iframeBlocks=this.document.find(e).map((function(){var e=t(this);return t("<div>").css("position","absolute").appendTo(e.parent()).outerWidth(e.outerWidth()).outerHeight(e.outerHeight()).offset(e.offset())[0]}))},_unblockFrames:function(){this.iframeBlocks&&(this.iframeBlocks.remove(),delete this.iframeBlocks)},_blurActiveElement:function(e){var i=t.ui.safeActiveElement(this.document[0]);t(e.target).closest(i).length||t.ui.safeBlur(i)},_mouseStart:function(e){var i=this.options;return this.helper=this._createHelper(e),this._addClass(this.helper,"ui-draggable-dragging"),this._cacheHelperProportions(),t.ui.ddmanager&&(t.ui.ddmanager.current=this),this._cacheMargins(),this.cssPosition=this.helper.css("position"),this.scrollParent=this.helper.scrollParent(!0),this.offsetParent=this.helper.offsetParent(),this.hasFixedAncestor=this.helper.parents().filter((function(){return"fixed"===t(this).css("position")})).length>0,this.positionAbs=this.element.offset(),this._refreshOffsets(e),this.originalPosition=this.position=this._generatePosition(e,!1),this.originalPageX=e.pageX,this.originalPageY=e.pageY,i.cursorAt&&this._adjustOffsetFromHelper(i.cursorAt),this._setContainment(),!1===this._trigger("start",e)?(this._clear(),!1):(this._cacheHelperProportions(),t.ui.ddmanager&&!i.dropBehaviour&&t.ui.ddmanager.prepareOffsets(this,e),this._mouseDrag(e,!0),t.ui.ddmanager&&t.ui.ddmanager.dragStart(this,e),!0)},_refreshOffsets:function(t){this.offset={top:this.positionAbs.top-this.margins.top,left:this.positionAbs.left-this.margins.left,scroll:!1,parent:this._getParentOffset(),relative:this._getRelativeOffset()},this.offset.click={left:t.pageX-this.offset.left,top:t.pageY-this.offset.top}},_mouseDrag:function(e,i){if(this.hasFixedAncestor&&(this.offset.parent=this._getParentOffset()),this.position=this._generatePosition(e,!0),this.positionAbs=this._convertPositionTo("absolute"),!i){var o=this._uiHash();if(!1===this._trigger("drag",e,o))return this._mouseUp(new t.Event("mouseup",e)),!1;this.position=o.position}return this.helper[0].style.left=this.position.left+"px",this.helper[0].style.top=this.position.top+"px",t.ui.ddmanager&&t.ui.ddmanager.drag(this,e),!1},_mouseStop:function(e){var i=this,o=!1;return t.ui.ddmanager&&!this.options.dropBehaviour&&(o=t.ui.ddmanager.drop(this,e)),this.dropped&&(o=this.dropped,this.dropped=!1),"invalid"===this.options.revert&&!o||"valid"===this.options.revert&&o||!0===this.options.revert||"function"==typeof this.options.revert&&this.options.revert.call(this.element,o)?t(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),(function(){!1!==i._trigger("stop",e)&&i._clear()})):!1!==this._trigger("stop",e)&&this._clear(),!1},_mouseUp:function(e){return this._unblockFrames(),t.ui.ddmanager&&t.ui.ddmanager.dragStop(this,e),this.handleElement.is(e.target)&&this.element.trigger("focus"),t.ui.mouse.prototype._mouseUp.call(this,e)},cancel:function(){return this.helper.is(".ui-draggable-dragging")?this._mouseUp(new t.Event("mouseup",{target:this.element[0]})):this._clear(),this},_getHandle:function(e){return!this.options.handle||!!t(e.target).closest(this.element.find(this.options.handle)).length},_setHandleClassName:function(){this.handleElement=this.options.handle?this.element.find(this.options.handle):this.element,this._addClass(this.handleElement,"ui-draggable-handle")},_removeHandleClassName:function(){this._removeClass(this.handleElement,"ui-draggable-handle")},_createHelper:function(e){var i=this.options,o="function"==typeof i.helper,s=o?t(i.helper.apply(this.element[0],[e])):"clone"===i.helper?this.element.clone().removeAttr("id"):this.element;return s.parents("body").length||s.appendTo("parent"===i.appendTo?this.element[0].parentNode:i.appendTo),o&&s[0]===this.element[0]&&this._setPositionRelative(),s[0]===this.element[0]||/(fixed|absolute)/.test(s.css("position"))||s.css("position","absolute"),s},_setPositionRelative:function(){/^(?:r|a|f)/.test(this.element.css("position"))||(this.element[0].style.position="relative")},_adjustOffsetFromHelper:function(t){"string"==typeof t&&(t=t.split(" ")),Array.isArray(t)&&(t={left:+t[0],top:+t[1]||0}),"left"in 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)},_isRootNode:function(t){return/(html|body)/i.test(t.tagName)||t===this.document[0]},_getParentOffset:function(){var e=this.offsetParent.offset(),i=this.document[0];return"absolute"===this.cssPosition&&this.scrollParent[0]!==i&&t.contains(this.scrollParent[0],this.offsetParent[0])&&(e.left+=this.scrollParent.scrollLeft(),e.top+=this.scrollParent.scrollTop()),this._isRootNode(this.offsetParent[0])&&(e={top:0,left:0}),{top:e.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:e.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if("relative"!==this.cssPosition)return{top:0,left:0};var t=this.element.position(),e=this._isRootNode(this.scrollParent[0]);return{top:t.top-(parseInt(this.helper.css("top"),10)||0)+(e?0:this.scrollParent.scrollTop()),left:t.left-(parseInt(this.helper.css("left"),10)||0)+(e?0:this.scrollParent.scrollLeft())}},_cacheMargins:function(){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(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var e,i,o,s=this.options,n=this.document[0];this.relativeContainer=null,s.containment?"window"!==s.containment?"document"!==s.containment?s.containment.constructor!==Array?("parent"===s.containment&&(s.containment=this.helper[0].parentNode),(o=(i=t(s.containment))[0])&&(e=/(scroll|auto)/.test(i.css("overflow")),this.containment=[(parseInt(i.css("borderLeftWidth"),10)||0)+(parseInt(i.css("paddingLeft"),10)||0),(parseInt(i.css("borderTopWidth"),10)||0)+(parseInt(i.css("paddingTop"),10)||0),(e?Math.max(o.scrollWidth,o.offsetWidth):o.offsetWidth)-(parseInt(i.css("borderRightWidth"),10)||0)-(parseInt(i.css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,(e?Math.max(o.scrollHeight,o.offsetHeight):o.offsetHeight)-(parseInt(i.css("borderBottomWidth"),10)||0)-(parseInt(i.css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top-this.margins.bottom],this.relativeContainer=i)):this.containment=s.containment:this.containment=[0,0,t(n).width()-this.helperProportions.width-this.margins.left,(t(n).height()||n.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]:this.containment=[t(window).scrollLeft()-this.offset.relative.left-this.offset.parent.left,t(window).scrollTop()-this.offset.relative.top-this.offset.parent.top,t(window).scrollLeft()+t(window).width()-this.helperProportions.width-this.margins.left,t(window).scrollTop()+(t(window).height()||n.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]:this.containment=null},_convertPositionTo:function(t,e){e||(e=this.position);var i="absolute"===t?1:-1,o=this._isRootNode(this.scrollParent[0]);return{top:e.top+this.offset.relative.top*i+this.offset.parent.top*i-("fixed"===this.cssPosition?-this.offset.scroll.top:o?0:this.offset.scroll.top)*i,left:e.left+this.offset.relative.left*i+this.offset.parent.left*i-("fixed"===this.cssPosition?-this.offset.scroll.left:o?0:this.offset.scroll.left)*i}},_generatePosition:function(t,e){var i,o,s,n,a=this.options,r=this._isRootNode(this.scrollParent[0]),l=t.pageX,h=t.pageY;return r&&this.offset.scroll||(this.offset.scroll={top:this.scrollParent.scrollTop(),left:this.scrollParent.scrollLeft()}),e&&(this.containment&&(this.relativeContainer?(o=this.relativeContainer.offset(),i=[this.containment[0]+o.left,this.containment[1]+o.top,this.containment[2]+o.left,this.containment[3]+o.top]):i=this.containment,t.pageX-this.offset.click.left<i[0]&&(l=i[0]+this.offset.click.left),t.pageY-this.offset.click.top<i[1]&&(h=i[1]+this.offset.click.top),t.pageX-this.offset.click.left>i[2]&&(l=i[2]+this.offset.click.left),t.pageY-this.offset.click.top>i[3]&&(h=i[3]+this.offset.click.top)),a.grid&&(s=a.grid[1]?this.originalPageY+Math.round((h-this.originalPageY)/a.grid[1])*a.grid[1]:this.originalPageY,h=i?s-this.offset.click.top>=i[1]||s-this.offset.click.top>i[3]?s:s-this.offset.click.top>=i[1]?s-a.grid[1]:s+a.grid[1]:s,n=a.grid[0]?this.originalPageX+Math.round((l-this.originalPageX)/a.grid[0])*a.grid[0]:this.originalPageX,l=i?n-this.offset.click.left>=i[0]||n-this.offset.click.left>i[2]?n:n-this.offset.click.left>=i[0]?n-a.grid[0]:n+a.grid[0]:n),"y"===a.axis&&(l=this.originalPageX),"x"===a.axis&&(h=this.originalPageY)),{top:h-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.offset.scroll.top:r?0:this.offset.scroll.top),left:l-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.offset.scroll.left:r?0:this.offset.scroll.left)}},_clear:function(){this._removeClass(this.helper,"ui-draggable-dragging"),this.helper[0]===this.element[0]||this.cancelHelperRemoval||this.helper.remove(),this.helper=null,this.cancelHelperRemoval=!1,this.destroyOnClear&&this.destroy()},_trigger:function(e,i,o){return o=o||this._uiHash(),t.ui.plugin.call(this,e,[i,o,this],!0),/^(drag|start|stop)/.test(e)&&(this.positionAbs=this._convertPositionTo("absolute"),o.offset=this.positionAbs),t.Widget.prototype._trigger.call(this,e,i,o)},plugins:{},_uiHash:function(){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}}),t.ui.plugin.add("draggable","connectToSortable",{start:function(e,i,o){var s=t.extend({},i,{item:o.element});o.sortables=[],t(o.options.connectToSortable).each((function(){var i=t(this).sortable("instance");i&&!i.options.disabled&&(o.sortables.push(i),i.refreshPositions(),i._trigger("activate",e,s))}))},stop:function(e,i,o){var s=t.extend({},i,{item:o.element});o.cancelHelperRemoval=!1,t.each(o.sortables,(function(){this.isOver?(this.isOver=0,o.cancelHelperRemoval=!0,this.cancelHelperRemoval=!1,this._storedCSS={position:this.placeholder.css("position"),top:this.placeholder.css("top"),left:this.placeholder.css("left")},this._mouseStop(e),this.options.helper=this.options._helper):(this.cancelHelperRemoval=!0,this._trigger("deactivate",e,s))}))},drag:function(e,i,o){t.each(o.sortables,(function(){var s=!1,n=this;n.positionAbs=o.positionAbs,n.helperProportions=o.helperProportions,n.offset.click=o.offset.click,n._intersectsWith(n.containerCache)&&(s=!0,t.each(o.sortables,(function(){return this.positionAbs=o.positionAbs,this.helperProportions=o.helperProportions,this.offset.click=o.offset.click,this!==n&&this._intersectsWith(this.containerCache)&&t.contains(n.element[0],this.element[0])&&(s=!1),s}))),s?(n.isOver||(n.isOver=1,o._parent=i.helper.parent(),n.currentItem=i.helper.appendTo(n.element).data("ui-sortable-item",!0),n.options._helper=n.options.helper,n.options.helper=function(){return i.helper[0]},e.target=n.currentItem[0],n._mouseCapture(e,!0),n._mouseStart(e,!0,!0),n.offset.click.top=o.offset.click.top,n.offset.click.left=o.offset.click.left,n.offset.parent.left-=o.offset.parent.left-n.offset.parent.left,n.offset.parent.top-=o.offset.parent.top-n.offset.parent.top,o._trigger("toSortable",e),o.dropped=n.element,t.each(o.sortables,(function(){this.refreshPositions()})),o.currentItem=o.element,n.fromOutside=o),n.currentItem&&(n._mouseDrag(e),i.position=n.position)):n.isOver&&(n.isOver=0,n.cancelHelperRemoval=!0,n.options._revert=n.options.revert,n.options.revert=!1,n._trigger("out",e,n._uiHash(n)),n._mouseStop(e,!0),n.options.revert=n.options._revert,n.options.helper=n.options._helper,n.placeholder&&n.placeholder.remove(),i.helper.appendTo(o._parent),o._refreshOffsets(e),i.position=o._generatePosition(e,!0),o._trigger("fromSortable",e),o.dropped=!1,t.each(o.sortables,(function(){this.refreshPositions()})))}))}}),t.ui.plugin.add("draggable","cursor",{start:function(e,i,o){var s=t("body"),n=o.options;s.css("cursor")&&(n._cursor=s.css("cursor")),s.css("cursor",n.cursor)},stop:function(e,i,o){var s=o.options;s._cursor&&t("body").css("cursor",s._cursor)}}),t.ui.plugin.add("draggable","opacity",{start:function(e,i,o){var s=t(i.helper),n=o.options;s.css("opacity")&&(n._opacity=s.css("opacity")),s.css("opacity",n.opacity)},stop:function(e,i,o){var s=o.options;s._opacity&&t(i.helper).css("opacity",s._opacity)}}),t.ui.plugin.add("draggable","scroll",{start:function(t,e,i){i.scrollParentNotHidden||(i.scrollParentNotHidden=i.helper.scrollParent(!1)),i.scrollParentNotHidden[0]!==i.document[0]&&"HTML"!==i.scrollParentNotHidden[0].tagName&&(i.overflowOffset=i.scrollParentNotHidden.offset())},drag:function(e,i,o){var s=o.options,n=!1,a=o.scrollParentNotHidden[0],r=o.document[0];a!==r&&"HTML"!==a.tagName?(s.axis&&"x"===s.axis||(o.overflowOffset.top+a.offsetHeight-e.pageY<s.scrollSensitivity?a.scrollTop=n=a.scrollTop+s.scrollSpeed:e.pageY-o.overflowOffset.top<s.scrollSensitivity&&(a.scrollTop=n=a.scrollTop-s.scrollSpeed)),s.axis&&"y"===s.axis||(o.overflowOffset.left+a.offsetWidth-e.pageX<s.scrollSensitivity?a.scrollLeft=n=a.scrollLeft+s.scrollSpeed:e.pageX-o.overflowOffset.left<s.scrollSensitivity&&(a.scrollLeft=n=a.scrollLeft-s.scrollSpeed))):(s.axis&&"x"===s.axis||(e.pageY-t(r).scrollTop()<s.scrollSensitivity?n=t(r).scrollTop(t(r).scrollTop()-s.scrollSpeed):t(window).height()-(e.pageY-t(r).scrollTop())<s.scrollSensitivity&&(n=t(r).scrollTop(t(r).scrollTop()+s.scrollSpeed))),s.axis&&"y"===s.axis||(e.pageX-t(r).scrollLeft()<s.scrollSensitivity?n=t(r).scrollLeft(t(r).scrollLeft()-s.scrollSpeed):t(window).width()-(e.pageX-t(r).scrollLeft())<s.scrollSensitivity&&(n=t(r).scrollLeft(t(r).scrollLeft()+s.scrollSpeed)))),!1!==n&&t.ui.ddmanager&&!s.dropBehaviour&&t.ui.ddmanager.prepareOffsets(o,e)}}),t.ui.plugin.add("draggable","snap",{start:function(e,i,o){var s=o.options;o.snapElements=[],t(s.snap.constructor!==String?s.snap.items||":data(ui-draggable)":s.snap).each((function(){var e=t(this),i=e.offset();this!==o.element[0]&&o.snapElements.push({item:this,width:e.outerWidth(),height:e.outerHeight(),top:i.top,left:i.left})}))},drag:function(e,i,o){var s,n,a,r,l,h,c,u,p,d,f=o.options,g=f.snapTolerance,m=i.offset.left,v=m+o.helperProportions.width,b=i.offset.top,_=b+o.helperProportions.height;for(p=o.snapElements.length-1;p>=0;p--)h=(l=o.snapElements[p].left-o.margins.left)+o.snapElements[p].width,u=(c=o.snapElements[p].top-o.margins.top)+o.snapElements[p].height,v<l-g||m>h+g||_<c-g||b>u+g||!t.contains(o.snapElements[p].item.ownerDocument,o.snapElements[p].item)?(o.snapElements[p].snapping&&o.options.snap.release&&o.options.snap.release.call(o.element,e,t.extend(o._uiHash(),{snapItem:o.snapElements[p].item})),o.snapElements[p].snapping=!1):("inner"!==f.snapMode&&(s=Math.abs(c-_)<=g,n=Math.abs(u-b)<=g,a=Math.abs(l-v)<=g,r=Math.abs(h-m)<=g,s&&(i.position.top=o._convertPositionTo("relative",{top:c-o.helperProportions.height,left:0}).top),n&&(i.position.top=o._convertPositionTo("relative",{top:u,left:0}).top),a&&(i.position.left=o._convertPositionTo("relative",{top:0,left:l-o.helperProportions.width}).left),r&&(i.position.left=o._convertPositionTo("relative",{top:0,left:h}).left)),d=s||n||a||r,"outer"!==f.snapMode&&(s=Math.abs(c-b)<=g,n=Math.abs(u-_)<=g,a=Math.abs(l-m)<=g,r=Math.abs(h-v)<=g,s&&(i.position.top=o._convertPositionTo("relative",{top:c,left:0}).top),n&&(i.position.top=o._convertPositionTo("relative",{top:u-o.helperProportions.height,left:0}).top),a&&(i.position.left=o._convertPositionTo("relative",{top:0,left:l}).left),r&&(i.position.left=o._convertPositionTo("relative",{top:0,left:h-o.helperProportions.width}).left)),!o.snapElements[p].snapping&&(s||n||a||r||d)&&o.options.snap.snap&&o.options.snap.snap.call(o.element,e,t.extend(o._uiHash(),{snapItem:o.snapElements[p].item})),o.snapElements[p].snapping=s||n||a||r||d)}}),t.ui.plugin.add("draggable","stack",{start:function(e,i,o){var s,n=o.options,a=t.makeArray(t(n.stack)).sort((function(e,i){return(parseInt(t(e).css("zIndex"),10)||0)-(parseInt(t(i).css("zIndex"),10)||0)}));a.length&&(s=parseInt(t(a[0]).css("zIndex"),10)||0,t(a).each((function(e){t(this).css("zIndex",s+e)})),this.css("zIndex",s+a.length))}}),t.ui.plugin.add("draggable","zIndex",{start:function(e,i,o){var s=t(i.helper),n=o.options;s.css("zIndex")&&(n._zIndex=s.css("zIndex")),s.css("zIndex",n.zIndex)},stop:function(e,i,o){var s=o.options;s._zIndex&&t(i.helper).css("zIndex",s._zIndex)}}),t.ui.draggable})?o.apply(e,s):o)||(t.exports=n)}()},20:function(t,e,i){var o,s,n;!function(a){"use strict";s=[i(3),i(4)],void 0===(n="function"==typeof(o=function(t){return t.ui.plugin={add:function(e,i,o){var s,n=t.ui[e].prototype;for(s in o)n.plugins[s]=n.plugins[s]||[],n.plugins[s].push([i,o[s]])},call:function(t,e,i,o){var s,n=t.plugins[e];if(n&&(o||t.element[0].parentNode&&11!==t.element[0].parentNode.nodeType))for(s=0;s<n.length;s++)t.options[n[s][0]]&&n[s][1].apply(t.element,i)}}})?o.apply(e,s):o)||(t.exports=n)}()},21:function(t,e,i){var o,s,n;!function(a){"use strict";s=[i(3),i(4)],void 0===(n="function"==typeof(o=function(t){return t.ui.safeActiveElement=function(t){var e;try{e=t.activeElement}catch(i){e=t.body}return e||(e=t.body),e.nodeName||(e=t.body),e}})?o.apply(e,s):o)||(t.exports=n)}()},22:function(t,e,i){var o,s,n;!function(a){"use strict";s=[i(3),i(4)],void 0===(n="function"==typeof(o=function(t){return t.ui.safeBlur=function(e){e&&"body"!==e.nodeName.toLowerCase()&&t(e).trigger("blur")}})?o.apply(e,s):o)||(t.exports=n)}()},23:function(t,e,i){var o,s,n;
/*!
 * jQuery UI Focusable 1.13.0
 * http://jqueryui.com
 *
 * Copyright jQuery Foundation and other contributors
 * Released under the MIT license.
 * http://jquery.org/license
 */!function(a){"use strict";s=[i(3),i(4)],void 0===(n="function"==typeof(o=function(t){return t.ui.focusable=function(e,i){var o,s,n,a,r,l=e.nodeName.toLowerCase();return"area"===l?(s=(o=e.parentNode).name,!(!e.href||!s||"map"!==o.nodeName.toLowerCase())&&((n=t("img[usemap='#"+s+"']")).length>0&&n.is(":visible"))):(/^(input|select|textarea|button|object)$/.test(l)?(a=!e.disabled)&&(r=t(e).closest("fieldset")[0])&&(a=!r.disabled):a="a"===l&&e.href||i,a&&t(e).is(":visible")&&function(t){var e=t.css("visibility");for(;"inherit"===e;)t=t.parent(),e=t.css("visibility");return"visible"===e}(t(e)))},t.extend(t.expr.pseudos,{focusable:function(e){return t.ui.focusable(e,null!=t.attr(e,"tabindex"))}}),t.ui.focusable})?o.apply(e,s):o)||(t.exports=n)}()},28:function(t,e,i){var o,s,n;
/*!
 * jQuery UI Dialog 1.13.0
 * http://jqueryui.com
 *
 * Copyright jQuery Foundation and other contributors
 * Released under the MIT license.
 * http://jquery.org/license
 */!function(a){"use strict";s=[i(3),i(29),i(19),i(15),i(44),i(23),i(18),i(46),i(21),i(22),i(47),i(48),i(4),i(7)],void 0===(n="function"==typeof(o=function(t){t.widget("ui.dialog",{version:"1.13.0",options:{appendTo:"body",autoOpen:!0,buttons:[],classes:{"ui-dialog":"ui-corner-all","ui-dialog-titlebar":"ui-corner-all"},closeOnEscape:!0,closeText:"Close",draggable:!0,hide:null,height:"auto",maxHeight:null,maxWidth:null,minHeight:150,minWidth:150,modal:!1,position:{my:"center",at:"center",of:window,collision:"fit",using:function(e){var i=t(this).css(e).offset().top;i<0&&t(this).css("top",e.top-i)}},resizable:!0,show:null,title:null,width:300,beforeClose:null,close:null,drag:null,dragStart:null,dragStop:null,focus:null,open:null,resize:null,resizeStart:null,resizeStop:null},sizeRelatedOptions:{buttons:!0,height:!0,maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0,width:!0},resizableRelatedOptions:{maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0},_create:function(){this.originalCss={display:this.element[0].style.display,width:this.element[0].style.width,minHeight:this.element[0].style.minHeight,maxHeight:this.element[0].style.maxHeight,height:this.element[0].style.height},this.originalPosition={parent:this.element.parent(),index:this.element.parent().children().index(this.element)},this.originalTitle=this.element.attr("title"),null==this.options.title&&null!=this.originalTitle&&(this.options.title=this.originalTitle),this.options.disabled&&(this.options.disabled=!1),this._createWrapper(),this.element.show().removeAttr("title").appendTo(this.uiDialog),this._addClass("ui-dialog-content","ui-widget-content"),this._createTitlebar(),this._createButtonPane(),this.options.draggable&&t.fn.draggable&&this._makeDraggable(),this.options.resizable&&t.fn.resizable&&this._makeResizable(),this._isOpen=!1,this._trackFocus()},_init:function(){this.options.autoOpen&&this.open()},_appendTo:function(){var e=this.options.appendTo;return e&&(e.jquery||e.nodeType)?t(e):this.document.find(e||"body").eq(0)},_destroy:function(){var t,e=this.originalPosition;this._untrackInstance(),this._destroyOverlay(),this.element.removeUniqueId().css(this.originalCss).detach(),this.uiDialog.remove(),this.originalTitle&&this.element.attr("title",this.originalTitle),(t=e.parent.children().eq(e.index)).length&&t[0]!==this.element[0]?t.before(this.element):e.parent.append(this.element)},widget:function(){return this.uiDialog},disable:t.noop,enable:t.noop,close:function(e){var i=this;this._isOpen&&!1!==this._trigger("beforeClose",e)&&(this._isOpen=!1,this._focusedElement=null,this._destroyOverlay(),this._untrackInstance(),this.opener.filter(":focusable").trigger("focus").length||t.ui.safeBlur(t.ui.safeActiveElement(this.document[0])),this._hide(this.uiDialog,this.options.hide,(function(){i._trigger("close",e)})))},isOpen:function(){return this._isOpen},moveToTop:function(){this._moveToTop()},_moveToTop:function(e,i){var o=!1,s=this.uiDialog.siblings(".ui-front:visible").map((function(){return+t(this).css("z-index")})).get(),n=Math.max.apply(null,s);return n>=+this.uiDialog.css("z-index")&&(this.uiDialog.css("z-index",n+1),o=!0),o&&!i&&this._trigger("focus",e),o},open:function(){var e=this;this._isOpen?this._moveToTop()&&this._focusTabbable():(this._isOpen=!0,this.opener=t(t.ui.safeActiveElement(this.document[0])),this._size(),this._position(),this._createOverlay(),this._moveToTop(null,!0),this.overlay&&this.overlay.css("z-index",this.uiDialog.css("z-index")-1),this._show(this.uiDialog,this.options.show,(function(){e._focusTabbable(),e._trigger("focus")})),this._makeFocusTarget(),this._trigger("open"))},_focusTabbable:function(){var t=this._focusedElement;t||(t=this.element.find("[autofocus]")),t.length||(t=this.element.find(":tabbable")),t.length||(t=this.uiDialogButtonPane.find(":tabbable")),t.length||(t=this.uiDialogTitlebarClose.filter(":tabbable")),t.length||(t=this.uiDialog),t.eq(0).trigger("focus")},_restoreTabbableFocus:function(){var e=t.ui.safeActiveElement(this.document[0]);this.uiDialog[0]===e||t.contains(this.uiDialog[0],e)||this._focusTabbable()},_keepFocus:function(t){t.preventDefault(),this._restoreTabbableFocus(),this._delay(this._restoreTabbableFocus)},_createWrapper:function(){this.uiDialog=t("<div>").hide().attr({tabIndex:-1,role:"dialog"}).appendTo(this._appendTo()),this._addClass(this.uiDialog,"ui-dialog","ui-widget ui-widget-content ui-front"),this._on(this.uiDialog,{keydown:function(e){if(this.options.closeOnEscape&&!e.isDefaultPrevented()&&e.keyCode&&e.keyCode===t.ui.keyCode.ESCAPE)return e.preventDefault(),void this.close(e);if(e.keyCode===t.ui.keyCode.TAB&&!e.isDefaultPrevented()){var i=this.uiDialog.find(":tabbable"),o=i.first(),s=i.last();e.target!==s[0]&&e.target!==this.uiDialog[0]||e.shiftKey?e.target!==o[0]&&e.target!==this.uiDialog[0]||!e.shiftKey||(this._delay((function(){s.trigger("focus")})),e.preventDefault()):(this._delay((function(){o.trigger("focus")})),e.preventDefault())}},mousedown:function(t){this._moveToTop(t)&&this._focusTabbable()}}),this.element.find("[aria-describedby]").length||this.uiDialog.attr({"aria-describedby":this.element.uniqueId().attr("id")})},_createTitlebar:function(){var e;this.uiDialogTitlebar=t("<div>"),this._addClass(this.uiDialogTitlebar,"ui-dialog-titlebar","ui-widget-header ui-helper-clearfix"),this._on(this.uiDialogTitlebar,{mousedown:function(e){t(e.target).closest(".ui-dialog-titlebar-close")||this.uiDialog.trigger("focus")}}),this.uiDialogTitlebarClose=t("<button type='button'></button>").button({label:t("<a>").text(this.options.closeText).html(),icon:"ui-icon-closethick",showLabel:!1}).appendTo(this.uiDialogTitlebar),this._addClass(this.uiDialogTitlebarClose,"ui-dialog-titlebar-close"),this._on(this.uiDialogTitlebarClose,{click:function(t){t.preventDefault(),this.close(t)}}),e=t("<span>").uniqueId().prependTo(this.uiDialogTitlebar),this._addClass(e,"ui-dialog-title"),this._title(e),this.uiDialogTitlebar.prependTo(this.uiDialog),this.uiDialog.attr({"aria-labelledby":e.attr("id")})},_title:function(t){this.options.title?t.text(this.options.title):t.html("&#160;")},_createButtonPane:function(){this.uiDialogButtonPane=t("<div>"),this._addClass(this.uiDialogButtonPane,"ui-dialog-buttonpane","ui-widget-content ui-helper-clearfix"),this.uiButtonSet=t("<div>").appendTo(this.uiDialogButtonPane),this._addClass(this.uiButtonSet,"ui-dialog-buttonset"),this._createButtons()},_createButtons:function(){var e=this,i=this.options.buttons;this.uiDialogButtonPane.remove(),this.uiButtonSet.empty(),t.isEmptyObject(i)||Array.isArray(i)&&!i.length?this._removeClass(this.uiDialog,"ui-dialog-buttons"):(t.each(i,(function(i,o){var s,n;o="function"==typeof o?{click:o,text:i}:o,o=t.extend({type:"button"},o),s=o.click,n={icon:o.icon,iconPosition:o.iconPosition,showLabel:o.showLabel,icons:o.icons,text:o.text},delete o.click,delete o.icon,delete o.iconPosition,delete o.showLabel,delete o.icons,"boolean"==typeof o.text&&delete o.text,t("<button></button>",o).button(n).appendTo(e.uiButtonSet).on("click",(function(){s.apply(e.element[0],arguments)}))})),this._addClass(this.uiDialog,"ui-dialog-buttons"),this.uiDialogButtonPane.appendTo(this.uiDialog))},_makeDraggable:function(){var e=this,i=this.options;function o(t){return{position:t.position,offset:t.offset}}this.uiDialog.draggable({cancel:".ui-dialog-content, .ui-dialog-titlebar-close",handle:".ui-dialog-titlebar",containment:"document",start:function(i,s){e._addClass(t(this),"ui-dialog-dragging"),e._blockFrames(),e._trigger("dragStart",i,o(s))},drag:function(t,i){e._trigger("drag",t,o(i))},stop:function(s,n){var a=n.offset.left-e.document.scrollLeft(),r=n.offset.top-e.document.scrollTop();i.position={my:"left top",at:"left"+(a>=0?"+":"")+a+" top"+(r>=0?"+":"")+r,of:e.window},e._removeClass(t(this),"ui-dialog-dragging"),e._unblockFrames(),e._trigger("dragStop",s,o(n))}})},_makeResizable:function(){var e=this,i=this.options,o=i.resizable,s=this.uiDialog.css("position"),n="string"==typeof o?o:"n,e,s,w,se,sw,ne,nw";function a(t){return{originalPosition:t.originalPosition,originalSize:t.originalSize,position:t.position,size:t.size}}this.uiDialog.resizable({cancel:".ui-dialog-content",containment:"document",alsoResize:this.element,maxWidth:i.maxWidth,maxHeight:i.maxHeight,minWidth:i.minWidth,minHeight:this._minHeight(),handles:n,start:function(i,o){e._addClass(t(this),"ui-dialog-resizing"),e._blockFrames(),e._trigger("resizeStart",i,a(o))},resize:function(t,i){e._trigger("resize",t,a(i))},stop:function(o,s){var n=e.uiDialog.offset(),r=n.left-e.document.scrollLeft(),l=n.top-e.document.scrollTop();i.height=e.uiDialog.height(),i.width=e.uiDialog.width(),i.position={my:"left top",at:"left"+(r>=0?"+":"")+r+" top"+(l>=0?"+":"")+l,of:e.window},e._removeClass(t(this),"ui-dialog-resizing"),e._unblockFrames(),e._trigger("resizeStop",o,a(s))}}).css("position",s)},_trackFocus:function(){this._on(this.widget(),{focusin:function(e){this._makeFocusTarget(),this._focusedElement=t(e.target)}})},_makeFocusTarget:function(){this._untrackInstance(),this._trackingInstances().unshift(this)},_untrackInstance:function(){var e=this._trackingInstances(),i=t.inArray(this,e);-1!==i&&e.splice(i,1)},_trackingInstances:function(){var t=this.document.data("ui-dialog-instances");return t||(t=[],this.document.data("ui-dialog-instances",t)),t},_minHeight:function(){var t=this.options;return"auto"===t.height?t.minHeight:Math.min(t.minHeight,t.height)},_position:function(){var t=this.uiDialog.is(":visible");t||this.uiDialog.show(),this.uiDialog.position(this.options.position),t||this.uiDialog.hide()},_setOptions:function(e){var i=this,o=!1,s={};t.each(e,(function(t,e){i._setOption(t,e),t in i.sizeRelatedOptions&&(o=!0),t in i.resizableRelatedOptions&&(s[t]=e)})),o&&(this._size(),this._position()),this.uiDialog.is(":data(ui-resizable)")&&this.uiDialog.resizable("option",s)},_setOption:function(e,i){var o,s,n=this.uiDialog;"disabled"!==e&&(this._super(e,i),"appendTo"===e&&this.uiDialog.appendTo(this._appendTo()),"buttons"===e&&this._createButtons(),"closeText"===e&&this.uiDialogTitlebarClose.button({label:t("<a>").text(""+this.options.closeText).html()}),"draggable"===e&&((o=n.is(":data(ui-draggable)"))&&!i&&n.draggable("destroy"),!o&&i&&this._makeDraggable()),"position"===e&&this._position(),"resizable"===e&&((s=n.is(":data(ui-resizable)"))&&!i&&n.resizable("destroy"),s&&"string"==typeof i&&n.resizable("option","handles",i),s||!1===i||this._makeResizable()),"title"===e&&this._title(this.uiDialogTitlebar.find(".ui-dialog-title")))},_size:function(){var t,e,i,o=this.options;this.element.show().css({width:"auto",minHeight:0,maxHeight:"none",height:0}),o.minWidth>o.width&&(o.width=o.minWidth),t=this.uiDialog.css({height:"auto",width:o.width}).outerHeight(),e=Math.max(0,o.minHeight-t),i="number"==typeof o.maxHeight?Math.max(0,o.maxHeight-t):"none","auto"===o.height?this.element.css({minHeight:e,maxHeight:i,height:"auto"}):this.element.height(Math.max(0,o.height-t)),this.uiDialog.is(":data(ui-resizable)")&&this.uiDialog.resizable("option","minHeight",this._minHeight())},_blockFrames:function(){this.iframeBlocks=this.document.find("iframe").map((function(){var e=t(this);return t("<div>").css({position:"absolute",width:e.outerWidth(),height:e.outerHeight()}).appendTo(e.parent()).offset(e.offset())[0]}))},_unblockFrames:function(){this.iframeBlocks&&(this.iframeBlocks.remove(),delete this.iframeBlocks)},_allowInteraction:function(e){return!!t(e.target).closest(".ui-dialog").length||!!t(e.target).closest(".ui-datepicker").length},_createOverlay:function(){if(this.options.modal){var e=t.fn.jquery.substring(0,4),i=!0;this._delay((function(){i=!1})),this.document.data("ui-dialog-overlays")||this.document.on("focusin.ui-dialog",function(t){if(!i){var o=this._trackingInstances()[0];o._allowInteraction(t)||(t.preventDefault(),o._focusTabbable(),"3.4."!==e&&"3.5."!==e||o._delay(o._restoreTabbableFocus))}}.bind(this)),this.overlay=t("<div>").appendTo(this._appendTo()),this._addClass(this.overlay,null,"ui-widget-overlay ui-front"),this._on(this.overlay,{mousedown:"_keepFocus"}),this.document.data("ui-dialog-overlays",(this.document.data("ui-dialog-overlays")||0)+1)}},_destroyOverlay:function(){if(this.options.modal&&this.overlay){var t=this.document.data("ui-dialog-overlays")-1;t?this.document.data("ui-dialog-overlays",t):(this.document.off("focusin.ui-dialog"),this.document.removeData("ui-dialog-overlays")),this.overlay.remove(),this.overlay=null}}}),!1!==t.uiBackCompat&&t.widget("ui.dialog",t.ui.dialog,{options:{dialogClass:""},_createWrapper:function(){this._super(),this.uiDialog.addClass(this.options.dialogClass)},_setOption:function(t,e){"dialogClass"===t&&this.uiDialog.removeClass(this.options.dialogClass).addClass(e),this._superApply(arguments)}});return t.ui.dialog})?o.apply(e,s):o)||(t.exports=n)}()},29:function(t,e,i){var o,s,n;function a(t){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}
/*!
 * jQuery UI Button 1.13.0
 * http://jqueryui.com
 *
 * Copyright jQuery Foundation and other contributors
 * Released under the MIT license.
 * http://jquery.org/license
 */!function(r){"use strict";s=[i(3),i(39),i(40),i(18),i(7)],void 0===(n="function"==typeof(o=function(t){t.widget("ui.button",{version:"1.13.0",defaultElement:"<button>",options:{classes:{"ui-button":"ui-corner-all"},disabled:null,icon:null,iconPosition:"beginning",label:null,showLabel:!0},_getCreateOptions:function(){var t,e=this._super()||{};return this.isInput=this.element.is("input"),null!=(t=this.element[0].disabled)&&(e.disabled=t),this.originalLabel=this.isInput?this.element.val():this.element.html(),this.originalLabel&&(e.label=this.originalLabel),e},_create:function(){!this.option.showLabel&!this.options.icon&&(this.options.showLabel=!0),null==this.options.disabled&&(this.options.disabled=this.element[0].disabled||!1),this.hasTitle=!!this.element.attr("title"),this.options.label&&this.options.label!==this.originalLabel&&(this.isInput?this.element.val(this.options.label):this.element.html(this.options.label)),this._addClass("ui-button","ui-widget"),this._setOption("disabled",this.options.disabled),this._enhance(),this.element.is("a")&&this._on({keyup:function(e){e.keyCode===t.ui.keyCode.SPACE&&(e.preventDefault(),this.element[0].click?this.element[0].click():this.element.trigger("click"))}})},_enhance:function(){this.element.is("button")||this.element.attr("role","button"),this.options.icon&&(this._updateIcon("icon",this.options.icon),this._updateTooltip())},_updateTooltip:function(){this.title=this.element.attr("title"),this.options.showLabel||this.title||this.element.attr("title",this.options.label)},_updateIcon:function(e,i){var o="iconPosition"!==e,s=o?this.options.iconPosition:i,n="top"===s||"bottom"===s;this.icon?o&&this._removeClass(this.icon,null,this.options.icon):(this.icon=t("<span>"),this._addClass(this.icon,"ui-button-icon","ui-icon"),this.options.showLabel||this._addClass("ui-button-icon-only")),o&&this._addClass(this.icon,null,i),this._attachIcon(s),n?(this._addClass(this.icon,null,"ui-widget-icon-block"),this.iconSpace&&this.iconSpace.remove()):(this.iconSpace||(this.iconSpace=t("<span> </span>"),this._addClass(this.iconSpace,"ui-button-icon-space")),this._removeClass(this.icon,null,"ui-wiget-icon-block"),this._attachIconSpace(s))},_destroy:function(){this.element.removeAttr("role"),this.icon&&this.icon.remove(),this.iconSpace&&this.iconSpace.remove(),this.hasTitle||this.element.removeAttr("title")},_attachIconSpace:function(t){this.icon[/^(?:end|bottom)/.test(t)?"before":"after"](this.iconSpace)},_attachIcon:function(t){this.element[/^(?:end|bottom)/.test(t)?"append":"prepend"](this.icon)},_setOptions:function(t){var e=void 0===t.showLabel?this.options.showLabel:t.showLabel,i=void 0===t.icon?this.options.icon:t.icon;e||i||(t.showLabel=!0),this._super(t)},_setOption:function(t,e){"icon"===t&&(e?this._updateIcon(t,e):this.icon&&(this.icon.remove(),this.iconSpace&&this.iconSpace.remove())),"iconPosition"===t&&this._updateIcon(t,e),"showLabel"===t&&(this._toggleClass("ui-button-icon-only",null,!e),this._updateTooltip()),"label"===t&&(this.isInput?this.element.val(e):(this.element.html(e),this.icon&&(this._attachIcon(this.options.iconPosition),this._attachIconSpace(this.options.iconPosition)))),this._super(t,e),"disabled"===t&&(this._toggleClass(null,"ui-state-disabled",e),this.element[0].disabled=e,e&&this.element.trigger("blur"))},refresh:function(){var t=this.element.is("input, button")?this.element[0].disabled:this.element.hasClass("ui-button-disabled");t!==this.options.disabled&&this._setOptions({disabled:t}),this._updateTooltip()}}),!1!==t.uiBackCompat&&(t.widget("ui.button",t.ui.button,{options:{text:!0,icons:{primary:null,secondary:null}},_create:function(){this.options.showLabel&&!this.options.text&&(this.options.showLabel=this.options.text),!this.options.showLabel&&this.options.text&&(this.options.text=this.options.showLabel),this.options.icon||!this.options.icons.primary&&!this.options.icons.secondary?this.options.icon&&(this.options.icons.primary=this.options.icon):this.options.icons.primary?this.options.icon=this.options.icons.primary:(this.options.icon=this.options.icons.secondary,this.options.iconPosition="end"),this._super()},_setOption:function(t,e){"text"!==t?("showLabel"===t&&(this.options.text=e),"icon"===t&&(this.options.icons.primary=e),"icons"===t&&(e.primary?(this._super("icon",e.primary),this._super("iconPosition","beginning")):e.secondary&&(this._super("icon",e.secondary),this._super("iconPosition","end"))),this._superApply(arguments)):this._super("showLabel",e)}}),t.fn.button=(e=t.fn.button,function(i){var o="string"==typeof i,s=Array.prototype.slice.call(arguments,1),n=this;return o?this.length||"instance"!==i?this.each((function(){var e,o=t(this).attr("type"),a="checkbox"!==o&&"radio"!==o?"button":"checkboxradio",r=t.data(this,"ui-"+a);return"instance"===i?(n=r,!1):r?"function"!=typeof r[i]||"_"===i.charAt(0)?t.error("no such method '"+i+"' for button widget instance"):(e=r[i].apply(r,s))!==r&&void 0!==e?(n=e&&e.jquery?n.pushStack(e.get()):e,!1):void 0:t.error("cannot call methods on button prior to initialization; attempted to call method '"+i+"'")})):n=void 0:(s.length&&(i=t.widget.extend.apply(null,[i].concat(s))),this.each((function(){var o=t(this).attr("type"),s="checkbox"!==o&&"radio"!==o?"button":"checkboxradio",n=t.data(this,"ui-"+s);if(n)n.option(i||{}),n._init&&n._init();else{if("button"===s)return void e.call(t(this),i);t(this).checkboxradio(t.extend({icon:!1},i))}}))),n}),t.fn.buttonset=function(){return t.ui.controlgroup||t.error("Controlgroup widget missing"),"option"===arguments[0]&&"items"===arguments[1]&&arguments[2]?this.controlgroup.apply(this,[arguments[0],"items.button",arguments[2]]):"option"===arguments[0]&&"items"===arguments[1]?this.controlgroup.apply(this,[arguments[0],"items.button"]):("object"===a(arguments[0])&&arguments[0].items&&(arguments[0].items={button:arguments[0].items}),this.controlgroup.apply(this,arguments))});var e;return t.ui.button})?o.apply(e,s):o)||(t.exports=n)}()},3:function(t,e){t.exports=jQuery},30:function(t,e,i){var o,s,n;!function(a){"use strict";s=[i(3),i(4)],void 0===(n="function"==typeof(o=function(t){return t.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase())})?o.apply(e,s):o)||(t.exports=n)}()},31:function(t,e,i){var o,s,n;
/*!
 * jQuery UI :data 1.13.0
 * http://jqueryui.com
 *
 * Copyright jQuery Foundation and other contributors
 * Released under the MIT license.
 * http://jquery.org/license
 */!function(a){"use strict";s=[i(3),i(4)],void 0===(n="function"==typeof(o=function(t){return t.extend(t.expr.pseudos,{data:t.expr.createPseudo?t.expr.createPseudo((function(e){return function(i){return!!t.data(i,e)}})):function(e,i,o){return!!t.data(e,o[3])}})})?o.apply(e,s):o)||(t.exports=n)}()},32:function(t,e,i){var o,s,n;
/*!
 * jQuery UI Scroll Parent 1.13.0
 * http://jqueryui.com
 *
 * Copyright jQuery Foundation and other contributors
 * Released under the MIT license.
 * http://jquery.org/license
 */!function(a){"use strict";s=[i(3),i(4)],void 0===(n="function"==typeof(o=function(t){return t.fn.scrollParent=function(e){var i=this.css("position"),o="absolute"===i,s=e?/(auto|scroll|hidden)/:/(auto|scroll)/,n=this.parents().filter((function(){var e=t(this);return(!o||"static"!==e.css("position"))&&s.test(e.css("overflow")+e.css("overflow-y")+e.css("overflow-x"))})).eq(0);return"fixed"!==i&&n.length?n:t(this[0].ownerDocument||document)}})?o.apply(e,s):o)||(t.exports=n)}()},33:function(module,exports){!function(global,$){"use strict";function onDialogCreate(t){t.parent().addClass("animated fadeIn")}function onDialogOpen(t){if(1==$(".ui-widget-overlay").length&&$(".ui-widget-overlay").addClass("ui-widget-overlay-active"),t.parent().find(".ui-dialog-titlebar-close").addClass("btn-close btn-close-white"),$.fn.dialog.activateDialogContents(t),t.jqdialog("option","resizable")){var e=$(t.parent()),i=parseInt(e.find(".ui-dialog-buttonpane").css("z-index"));e.find(".ui-resizable-handle").css("z-index",i+1e3)}}function fixDialogButtons(t){var e=t.find(".dialog-buttons").eq(0);if(0!==e.length&&0!==$.trim(e.html()).length){var i=t.parent();0===i.find(".ui-dialog-buttonset").length&&(t.jqdialog("option","buttons",[{}]),i.find(".ui-dialog-buttonset").remove(),e.children().appendTo(i.find(".ui-dialog-buttonpane").empty()))}}$.widget("concrete.dialog",$.ui.dialog,{_allowInteraction:function(t){return!!$(t.target).closest(".ccm-interaction-dialog").length||!!$(t.target).closest(".cke_dialog").length||this._super(t)}}),$.widget.bridge("jqdialog",$.concrete.dialog),$.fn.dialog=function(){switch(arguments.length){case 0:if($(this).is("div"))return void $(this).jqdialog();break;case 1:var t=arguments[0];if($.isPlainObject(t)){var e=t.open||null,i=t.create||null;t.create=function(t){onDialogCreate($(this)),i&&i.call(this)},t.dialogClass="ccm-ui",t.open=function(t,i){onDialogOpen($(this)),e&&e.call(this,t,i)}}return void $.fn.jqdialog.call($(this),t);default:return void $.fn.jqdialog.apply($(this),arguments)}return $(this).each((function(){$(this).unbind("click.make-dialog").bind("click.make-dialog",(function(t){if(t.preventDefault(),!$(this).hasClass("ccm-dialog-launching")){$(this).addClass("ccm-dialog-launching");var e=$(this).attr("href"),i=$(this).attr("dialog-width"),o=$(this).attr("dialog-height"),s=$(this).attr("dialog-title"),n=$(this).attr("dialog-on-open"),a=$(this).attr("dialog-class"),r={modal:!0,href:e,width:i,height:o,title:s,onOpen:n,onDestroy:$(this).attr("dialog-on-destroy"),dialogClass:a,onClose:$(this).attr("dialog-on-close"),onDirectClose:$(this).attr("dialog-on-direct-close"),launcher:$(this)};$.fn.dialog.open(r)}}))}))},$.fn.dialog.close=function(t){t++,$("#ccm-dialog-content"+t).jqdialog("close")},$.fn.dialog.open=function(options){if("undefined"!=typeof ConcreteMenu){var activeMenu=ConcreteMenuManager.getActiveMenu();activeMenu&&activeMenu.hide()}var w,h;"string"==typeof options.width?"auto"==options.width?w="auto":options.width.indexOf("%",0)>0?(w=options.width.replace("%",""),w=$(window).width()*(w/100),w+=50):w=parseInt(options.width)+50:w=options.width?parseInt(options.width)+50:550,"string"==typeof options.height?"auto"==options.height?h="auto":options.height.indexOf("%",0)>0?(h=options.height.replace("%",""),h=$(window).height()*(h/100),h+=100):h=parseInt(options.height)+100:h=options.height?parseInt(options.height)+100:400,"auto"!==h&&h>$(window).height()&&(h=$(window).height()),options.width=w,options.height=h;var defaults={modal:!0,escapeClose:!0,width:w,height:h,type:"GET",dialogClass:"ccm-ui",resizable:!0,create:function(){onDialogCreate($(this))},open:function open(){var $dialog=$(this);onDialogOpen($dialog),void 0!==options.onOpen&&("function"==typeof options.onOpen?options.onOpen($dialog):eval(options.onOpen)),options.launcher&&options.launcher.removeClass("ccm-dialog-launching")},beforeClose:function(){1==$(".ui-dialog:visible").length&&$("body").css("overflow",$("body").attr("data-last-overflow"))},close:function close(ev,u){options.element||$(this).jqdialog("destroy").remove(),void 0!==options.onClose&&("function"==typeof options.onClose?options.onClose($(this)):eval(options.onClose)),void 0===options.onDirectClose||!ev.handleObj||"keydown"!=ev.handleObj.type&&"click"!=ev.handleObj.type||("function"==typeof options.onDirectClose?options.onDirectClose():eval(options.onDirectClose)),void 0!==options.onDestroy&&("function"==typeof options.onDestroy?options.onDestroy():eval(options.onDestroy))}},finalSettings={autoOpen:!1,data:{}};$.extend(finalSettings,defaults,options),finalSettings.element?($(finalSettings.element).jqdialog(finalSettings).jqdialog(),$(finalSettings.element).jqdialog("open")):($.fn.dialog.showLoader(),$.ajax({type:finalSettings.type,url:finalSettings.href,data:finalSettings.data,success:function(t){$.fn.dialog.hideLoader(),$("<div />").jqdialog(finalSettings).html(t).jqdialog("open")},error:function(t,e,i){$.fn.dialog.hideLoader(),ConcreteAlert.dialog(ccmi18n.error,ConcreteAjaxRequest.renderErrorResponse(t,!0))}}))},$.fn.dialog.activateDialogContents=function(t){if(t.find("button[data-dialog-action=cancel]").on("click",(function(){$.fn.dialog.closeTop()})),t.find("[data-dialog-form]").each((function(){var t=$(this),e={};"progressive"==t.attr("data-dialog-form-processing")&&(e.progressiveOperation=!0,e.progressiveOperationElement="div[data-dialog-form-element=progress-bar]"),t.concreteAjaxForm(e)})),t.find("button[data-dialog-action=submit]").on("click",(function(){t.find("[data-dialog-form]").submit()})),fixDialogButtons(t),t.find(".dialog-launch").dialog(),t.find(".ccm-dialog-close").on("click",(function(){t.dialog("close")})),[].slice.call(t.find(".launch-tooltip")).map((function(t){return new bootstrap.Tooltip(t,{container:"#ccm-tooltip-holder"})})),t.find(".dialog-help").length>0){t.find(".dialog-help").hide();var e=t.find(".dialog-help").html();ccmi18n.helpPopup?ccmi18n.helpPopup:"Help";var i=$('<button class="btn-help"><svg><use xlink:href="#icon-dialog-help" /></svg></button>'),o=$("#ccm-tooltip-holder");i.insertBefore(t.parent().find(".ui-dialog-titlebar-close")),i.popover({content:function(){return e},placement:"bottom",html:!0,container:o,trigger:"click"}),i.on("shown.bs.popover",(function(){var t=function(){i.popover("hide",i),t=$.noop};i.on("hide.bs.popover",(function(e){i.unbind(e),t=$.noop})),$("body").mousedown((function(e){$(e.target).closest(o).length||$(e.target).closest(i).length||($(this).unbind(e),t())}))}))}},$.fn.dialog.getTop=function(){var t=$(".ui-dialog:visible").length;return $($(".ui-dialog:visible")[t-1]).find(".ui-dialog-content")},$.fn.dialog.replaceTop=function(t){var e=$.fn.dialog.getTop();e.html(t),$.fn.dialog.activateDialogContents(e)},$.fn.dialog.showLoader=function(t){NProgress.start()},$.fn.dialog.hideLoader=function(){NProgress.done()},$.fn.dialog.closeTop=function(){$.fn.dialog.getTop().jqdialog("close")},$.fn.dialog.closeAll=function(){$($(".ui-dialog-content").get().reverse()).jqdialog("close")},$.ui.dialog.prototype._focusTabbable=$.noop}(window,jQuery)},388:function(t,e,i){t.exports=i(61)},39:function(t,e,i){var o,s,n;
/*!
 * jQuery UI Controlgroup 1.13.0
 * http://jqueryui.com
 *
 * Copyright jQuery Foundation and other contributors
 * Released under the MIT license.
 * http://jquery.org/license
 */!function(a){"use strict";s=[i(3),i(7)],void 0===(n="function"==typeof(o=function(t){var e=/ui-corner-([a-z]){2,6}/g;return t.widget("ui.controlgroup",{version:"1.13.0",defaultElement:"<div>",options:{direction:"horizontal",disabled:null,onlyVisible:!0,items:{button:"input[type=button], input[type=submit], input[type=reset], button, a",controlgroupLabel:".ui-controlgroup-label",checkboxradio:"input[type='checkbox'], input[type='radio']",selectmenu:"select",spinner:".ui-spinner-input"}},_create:function(){this._enhance()},_enhance:function(){this.element.attr("role","toolbar"),this.refresh()},_destroy:function(){this._callChildMethod("destroy"),this.childWidgets.removeData("ui-controlgroup-data"),this.element.removeAttr("role"),this.options.items.controlgroupLabel&&this.element.find(this.options.items.controlgroupLabel).find(".ui-controlgroup-label-contents").contents().unwrap()},_initWidgets:function(){var e=this,i=[];t.each(this.options.items,(function(o,s){var n,a={};if(s)return"controlgroupLabel"===o?((n=e.element.find(s)).each((function(){var e=t(this);e.children(".ui-controlgroup-label-contents").length||e.contents().wrapAll("<span class='ui-controlgroup-label-contents'></span>")})),e._addClass(n,null,"ui-widget ui-widget-content ui-state-default"),void(i=i.concat(n.get()))):void(t.fn[o]&&(a=e["_"+o+"Options"]?e["_"+o+"Options"]("middle"):{classes:{}},e.element.find(s).each((function(){var s=t(this),n=s[o]("instance"),r=t.widget.extend({},a);if("button"!==o||!s.parent(".ui-spinner").length){n||(n=s[o]()[o]("instance")),n&&(r.classes=e._resolveClassesValues(r.classes,n)),s[o](r);var l=s[o]("widget");t.data(l[0],"ui-controlgroup-data",n||s[o]("instance")),i.push(l[0])}}))))})),this.childWidgets=t(t.uniqueSort(i)),this._addClass(this.childWidgets,"ui-controlgroup-item")},_callChildMethod:function(e){this.childWidgets.each((function(){var i=t(this).data("ui-controlgroup-data");i&&i[e]&&i[e]()}))},_updateCornerClass:function(t,e){var i=this._buildSimpleOptions(e,"label").classes.label;this._removeClass(t,null,"ui-corner-top ui-corner-bottom ui-corner-left ui-corner-right ui-corner-all"),this._addClass(t,null,i)},_buildSimpleOptions:function(t,e){var i="vertical"===this.options.direction,o={classes:{}};return o.classes[e]={middle:"",first:"ui-corner-"+(i?"top":"left"),last:"ui-corner-"+(i?"bottom":"right"),only:"ui-corner-all"}[t],o},_spinnerOptions:function(t){var e=this._buildSimpleOptions(t,"ui-spinner");return e.classes["ui-spinner-up"]="",e.classes["ui-spinner-down"]="",e},_buttonOptions:function(t){return this._buildSimpleOptions(t,"ui-button")},_checkboxradioOptions:function(t){return this._buildSimpleOptions(t,"ui-checkboxradio-label")},_selectmenuOptions:function(t){var e="vertical"===this.options.direction;return{width:!!e&&"auto",classes:{middle:{"ui-selectmenu-button-open":"","ui-selectmenu-button-closed":""},first:{"ui-selectmenu-button-open":"ui-corner-"+(e?"top":"tl"),"ui-selectmenu-button-closed":"ui-corner-"+(e?"top":"left")},last:{"ui-selectmenu-button-open":e?"":"ui-corner-tr","ui-selectmenu-button-closed":"ui-corner-"+(e?"bottom":"right")},only:{"ui-selectmenu-button-open":"ui-corner-top","ui-selectmenu-button-closed":"ui-corner-all"}}[t]}},_resolveClassesValues:function(i,o){var s={};return t.each(i,(function(t){var n=o.options.classes[t]||"";n=String.prototype.trim.call(n.replace(e,"")),s[t]=(n+" "+i[t]).replace(/\s+/g," ")})),s},_setOption:function(t,e){"direction"===t&&this._removeClass("ui-controlgroup-"+this.options.direction),this._super(t,e),"disabled"!==t?this.refresh():this._callChildMethod(e?"disable":"enable")},refresh:function(){var e,i=this;this._addClass("ui-controlgroup ui-controlgroup-"+this.options.direction),"horizontal"===this.options.direction&&this._addClass(null,"ui-helper-clearfix"),this._initWidgets(),e=this.childWidgets,this.options.onlyVisible&&(e=e.filter(":visible")),e.length&&(t.each(["first","last"],(function(t,o){var s=e[o]().data("ui-controlgroup-data");if(s&&i["_"+s.widgetName+"Options"]){var n=i["_"+s.widgetName+"Options"](1===e.length?"only":o);n.classes=i._resolveClassesValues(n.classes,s),s.element[s.widgetName](n)}else i._updateCornerClass(e[o](),o)})),this._callChildMethod("refresh"))}})})?o.apply(e,s):o)||(t.exports=n)}()},4:function(t,e,i){var o,s,n;!function(a){"use strict";s=[i(3)],void 0===(n="function"==typeof(o=function(t){return t.ui=t.ui||{},t.ui.version="1.13.0"})?o.apply(e,s):o)||(t.exports=n)}()},40:function(t,e,i){var o,s,n;
/*!
 * jQuery UI Checkboxradio 1.13.0
 * http://jqueryui.com
 *
 * Copyright jQuery Foundation and other contributors
 * Released under the MIT license.
 * http://jquery.org/license
 */!function(a){"use strict";s=[i(3),i(41),i(43),i(7)],void 0===(n="function"==typeof(o=function(t){return t.widget("ui.checkboxradio",[t.ui.formResetMixin,{version:"1.13.0",options:{disabled:null,label:null,icon:!0,classes:{"ui-checkboxradio-label":"ui-corner-all","ui-checkboxradio-icon":"ui-corner-all"}},_getCreateOptions:function(){var e,i,o=this,s=this._super()||{};return this._readType(),i=this.element.labels(),this.label=t(i[i.length-1]),this.label.length||t.error("No label found for checkboxradio widget"),this.originalLabel="",this.label.contents().not(this.element[0]).each((function(){o.originalLabel+=3===this.nodeType?t(this).text():this.outerHTML})),this.originalLabel&&(s.label=this.originalLabel),null!=(e=this.element[0].disabled)&&(s.disabled=e),s},_create:function(){var t=this.element[0].checked;this._bindFormResetHandler(),null==this.options.disabled&&(this.options.disabled=this.element[0].disabled),this._setOption("disabled",this.options.disabled),this._addClass("ui-checkboxradio","ui-helper-hidden-accessible"),this._addClass(this.label,"ui-checkboxradio-label","ui-button ui-widget"),"radio"===this.type&&this._addClass(this.label,"ui-checkboxradio-radio-label"),this.options.label&&this.options.label!==this.originalLabel?this._updateLabel():this.originalLabel&&(this.options.label=this.originalLabel),this._enhance(),t&&this._addClass(this.label,"ui-checkboxradio-checked","ui-state-active"),this._on({change:"_toggleClasses",focus:function(){this._addClass(this.label,null,"ui-state-focus ui-visual-focus")},blur:function(){this._removeClass(this.label,null,"ui-state-focus ui-visual-focus")}})},_readType:function(){var e=this.element[0].nodeName.toLowerCase();this.type=this.element[0].type,"input"===e&&/radio|checkbox/.test(this.type)||t.error("Can't create checkboxradio on element.nodeName="+e+" and element.type="+this.type)},_enhance:function(){this._updateIcon(this.element[0].checked)},widget:function(){return this.label},_getRadioGroup:function(){var e=this.element[0].name,i="input[name='"+t.escapeSelector(e)+"']";return e?(this.form.length?t(this.form[0].elements).filter(i):t(i).filter((function(){return 0===t(this)._form().length}))).not(this.element):t([])},_toggleClasses:function(){var e=this.element[0].checked;this._toggleClass(this.label,"ui-checkboxradio-checked","ui-state-active",e),this.options.icon&&"checkbox"===this.type&&this._toggleClass(this.icon,null,"ui-icon-check ui-state-checked",e)._toggleClass(this.icon,null,"ui-icon-blank",!e),"radio"===this.type&&this._getRadioGroup().each((function(){var e=t(this).checkboxradio("instance");e&&e._removeClass(e.label,"ui-checkboxradio-checked","ui-state-active")}))},_destroy:function(){this._unbindFormResetHandler(),this.icon&&(this.icon.remove(),this.iconSpace.remove())},_setOption:function(t,e){if("label"!==t||e){if(this._super(t,e),"disabled"===t)return this._toggleClass(this.label,null,"ui-state-disabled",e),void(this.element[0].disabled=e);this.refresh()}},_updateIcon:function(e){var i="ui-icon ui-icon-background ";this.options.icon?(this.icon||(this.icon=t("<span>"),this.iconSpace=t("<span> </span>"),this._addClass(this.iconSpace,"ui-checkboxradio-icon-space")),"checkbox"===this.type?(i+=e?"ui-icon-check ui-state-checked":"ui-icon-blank",this._removeClass(this.icon,null,e?"ui-icon-blank":"ui-icon-check")):i+="ui-icon-blank",this._addClass(this.icon,"ui-checkboxradio-icon",i),e||this._removeClass(this.icon,null,"ui-icon-check ui-state-checked"),this.icon.prependTo(this.label).after(this.iconSpace)):void 0!==this.icon&&(this.icon.remove(),this.iconSpace.remove(),delete this.icon)},_updateLabel:function(){var t=this.label.contents().not(this.element[0]);this.icon&&(t=t.not(this.icon[0])),this.iconSpace&&(t=t.not(this.iconSpace[0])),t.remove(),this.label.append(this.options.label)},refresh:function(){var t=this.element[0].checked,e=this.element[0].disabled;this._updateIcon(t),this._toggleClass(this.label,"ui-checkboxradio-checked","ui-state-active",t),null!==this.options.label&&this._updateLabel(),e!==this.options.disabled&&this._setOptions({disabled:e})}}]),t.ui.checkboxradio})?o.apply(e,s):o)||(t.exports=n)}()},41:function(t,e,i){var o,s,n;
/*!
 * jQuery UI Form Reset Mixin 1.13.0
 * http://jqueryui.com
 *
 * Copyright jQuery Foundation and other contributors
 * Released under the MIT license.
 * http://jquery.org/license
 */!function(a){"use strict";s=[i(3),i(42),i(4)],void 0===(n="function"==typeof(o=function(t){return t.ui.formResetMixin={_formResetHandler:function(){var e=t(this);setTimeout((function(){var i=e.data("ui-form-reset-instances");t.each(i,(function(){this.refresh()}))}))},_bindFormResetHandler:function(){if(this.form=this.element._form(),this.form.length){var t=this.form.data("ui-form-reset-instances")||[];t.length||this.form.on("reset.ui-form-reset",this._formResetHandler),t.push(this),this.form.data("ui-form-reset-instances",t)}},_unbindFormResetHandler:function(){if(this.form.length){var e=this.form.data("ui-form-reset-instances");e.splice(t.inArray(this,e),1),e.length?this.form.data("ui-form-reset-instances",e):this.form.removeData("ui-form-reset-instances").off("reset.ui-form-reset")}}}})?o.apply(e,s):o)||(t.exports=n)}()},42:function(t,e,i){var o,s,n;!function(a){"use strict";s=[i(3),i(4)],void 0===(n="function"==typeof(o=function(t){return t.fn._form=function(){return"string"==typeof this[0].form?this.closest("form"):t(this[0].form)}})?o.apply(e,s):o)||(t.exports=n)}()},43:function(t,e,i){var o,s,n;
/*!
 * jQuery UI Labels 1.13.0
 * http://jqueryui.com
 *
 * Copyright jQuery Foundation and other contributors
 * Released under the MIT license.
 * http://jquery.org/license
 */!function(a){"use strict";s=[i(3),i(4)],void 0===(n="function"==typeof(o=function(t){return t.fn.labels=function(){var e,i,o,s,n;return this.length?this[0].labels&&this[0].labels.length?this.pushStack(this[0].labels):(s=this.eq(0).parents("label"),(o=this.attr("id"))&&(n=(e=this.eq(0).parents().last()).add(e.length?e.siblings():this.siblings()),i="label[for='"+t.escapeSelector(o)+"']",s=s.add(n.find(i).addBack(i))),this.pushStack(s)):this.pushStack([])}})?o.apply(e,s):o)||(t.exports=n)}()},44:function(t,e,i){var o,s,n;
/*!
 * jQuery UI Resizable 1.13.0
 * http://jqueryui.com
 *
 * Copyright jQuery Foundation and other contributors
 * Released under the MIT license.
 * http://jquery.org/license
 */!function(a){"use strict";s=[i(3),i(15),i(45),i(20),i(4),i(7)],void 0===(n="function"==typeof(o=function(t){return t.widget("ui.resizable",t.ui.mouse,{version:"1.13.0",widgetEventPrefix:"resize",options:{alsoResize:!1,animate:!1,animateDuration:"slow",animateEasing:"swing",aspectRatio:!1,autoHide:!1,classes:{"ui-resizable-se":"ui-icon ui-icon-gripsmall-diagonal-se"},containment:!1,ghost:!1,grid:!1,handles:"e,s,se",helper:!1,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:90,resize:null,start:null,stop:null},_num:function(t){return parseFloat(t)||0},_isNumber:function(t){return!isNaN(parseFloat(t))},_hasScroll:function(e,i){if("hidden"===t(e).css("overflow"))return!1;var o=i&&"left"===i?"scrollLeft":"scrollTop",s=!1;if(e[o]>0)return!0;try{e[o]=1,s=e[o]>0,e[o]=0}catch(t){}return s},_create:function(){var e,i=this.options,o=this;this._addClass("ui-resizable"),t.extend(this,{_aspectRatio:!!i.aspectRatio,aspectRatio:i.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:i.helper||i.ghost||i.animate?i.helper||"ui-resizable-helper":null}),this.element[0].nodeName.match(/^(canvas|textarea|input|select|button|img)$/i)&&(this.element.wrap(t("<div class='ui-wrapper'></div>").css({overflow:"hidden",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("ui-resizable",this.element.resizable("instance")),this.elementIsWrapper=!0,e={marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom"),marginLeft:this.originalElement.css("marginLeft")},this.element.css(e),this.originalElement.css("margin",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(e),this._proportionallyResize()),this._setupHandles(),i.autoHide&&t(this.element).on("mouseenter",(function(){i.disabled||(o._removeClass("ui-resizable-autohide"),o._handles.show())})).on("mouseleave",(function(){i.disabled||o.resizing||(o._addClass("ui-resizable-autohide"),o._handles.hide())})),this._mouseInit()},_destroy:function(){this._mouseDestroy(),this._addedHandles.remove();var e,i=function(e){t(e).removeData("resizable").removeData("ui-resizable").off(".resizable")};return this.elementIsWrapper&&(i(this.element),e=this.element,this.originalElement.css({position:e.css("position"),width:e.outerWidth(),height:e.outerHeight(),top:e.css("top"),left:e.css("left")}).insertAfter(e),e.remove()),this.originalElement.css("resize",this.originalResizeStyle),i(this.originalElement),this},_setOption:function(t,e){switch(this._super(t,e),t){case"handles":this._removeHandles(),this._setupHandles();break;case"aspectRatio":this._aspectRatio=!!e}},_setupHandles:function(){var e,i,o,s,n,a=this.options,r=this;if(this.handles=a.handles||(t(".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=t(),this._addedHandles=t(),this.handles.constructor===String)for("all"===this.handles&&(this.handles="n,e,s,w,se,sw,ne,nw"),o=this.handles.split(","),this.handles={},i=0;i<o.length;i++)s="ui-resizable-"+(e=String.prototype.trim.call(o[i])),n=t("<div>"),this._addClass(n,"ui-resizable-handle "+s),n.css({zIndex:a.zIndex}),this.handles[e]=".ui-resizable-"+e,this.element.children(this.handles[e]).length||(this.element.append(n),this._addedHandles=this._addedHandles.add(n));this._renderAxis=function(e){var i,o,s,n;for(i in e=e||this.element,this.handles)this.handles[i].constructor===String?this.handles[i]=this.element.children(this.handles[i]).first().show():(this.handles[i].jquery||this.handles[i].nodeType)&&(this.handles[i]=t(this.handles[i]),this._on(this.handles[i],{mousedown:r._mouseDown})),this.elementIsWrapper&&this.originalElement[0].nodeName.match(/^(textarea|input|select|button)$/i)&&(o=t(this.handles[i],this.element),n=/sw|ne|nw|se|n|s/.test(i)?o.outerHeight():o.outerWidth(),s=["padding",/ne|nw|n/.test(i)?"Top":/se|sw|s/.test(i)?"Bottom":/^e$/.test(i)?"Right":"Left"].join(""),e.css(s,n),this._proportionallyResize()),this._handles=this._handles.add(this.handles[i])},this._renderAxis(this.element),this._handles=this._handles.add(this.element.find(".ui-resizable-handle")),this._handles.disableSelection(),this._handles.on("mouseover",(function(){r.resizing||(this.className&&(n=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)),r.axis=n&&n[1]?n[1]:"se")})),a.autoHide&&(this._handles.hide(),this._addClass("ui-resizable-autohide"))},_removeHandles:function(){this._addedHandles.remove()},_mouseCapture:function(e){var i,o,s=!1;for(i in this.handles)((o=t(this.handles[i])[0])===e.target||t.contains(o,e.target))&&(s=!0);return!this.options.disabled&&s},_mouseStart:function(e){var i,o,s,n=this.options,a=this.element;return this.resizing=!0,this._renderProxy(),i=this._num(this.helper.css("left")),o=this._num(this.helper.css("top")),n.containment&&(i+=t(n.containment).scrollLeft()||0,o+=t(n.containment).scrollTop()||0),this.offset=this.helper.offset(),this.position={left:i,top:o},this.size=this._helper?{width:this.helper.width(),height:this.helper.height()}:{width:a.width(),height:a.height()},this.originalSize=this._helper?{width:a.outerWidth(),height:a.outerHeight()}:{width:a.width(),height:a.height()},this.sizeDiff={width:a.outerWidth()-a.width(),height:a.outerHeight()-a.height()},this.originalPosition={left:i,top:o},this.originalMousePosition={left:e.pageX,top:e.pageY},this.aspectRatio="number"==typeof n.aspectRatio?n.aspectRatio:this.originalSize.width/this.originalSize.height||1,s=t(".ui-resizable-"+this.axis).css("cursor"),t("body").css("cursor","auto"===s?this.axis+"-resize":s),this._addClass("ui-resizable-resizing"),this._propagate("start",e),!0},_mouseDrag:function(e){var i,o,s=this.originalMousePosition,n=this.axis,a=e.pageX-s.left||0,r=e.pageY-s.top||0,l=this._change[n];return this._updatePrevProperties(),!!l&&(i=l.apply(this,[e,a,r]),this._updateVirtualBoundaries(e.shiftKey),(this._aspectRatio||e.shiftKey)&&(i=this._updateRatio(i,e)),i=this._respectSize(i,e),this._updateCache(i),this._propagate("resize",e),o=this._applyChanges(),!this._helper&&this._proportionallyResizeElements.length&&this._proportionallyResize(),t.isEmptyObject(o)||(this._updatePrevProperties(),this._trigger("resize",e,this.ui()),this._applyChanges()),!1)},_mouseStop:function(e){this.resizing=!1;var i,o,s,n,a,r,l,h=this.options;return this._helper&&(s=(o=(i=this._proportionallyResizeElements).length&&/textarea/i.test(i[0].nodeName))&&this._hasScroll(i[0],"left")?0:this.sizeDiff.height,n=o?0:this.sizeDiff.width,a={width:this.helper.width()-n,height:this.helper.height()-s},r=parseFloat(this.element.css("left"))+(this.position.left-this.originalPosition.left)||null,l=parseFloat(this.element.css("top"))+(this.position.top-this.originalPosition.top)||null,h.animate||this.element.css(t.extend(a,{top:l,left:r})),this.helper.height(this.size.height),this.helper.width(this.size.width),this._helper&&!h.animate&&this._proportionallyResize()),t("body").css("cursor","auto"),this._removeClass("ui-resizable-resizing"),this._propagate("stop",e),this._helper&&this.helper.remove(),!1},_updatePrevProperties:function(){this.prevPosition={top:this.position.top,left:this.position.left},this.prevSize={width:this.size.width,height:this.size.height}},_applyChanges:function(){var t={};return this.position.top!==this.prevPosition.top&&(t.top=this.position.top+"px"),this.position.left!==this.prevPosition.left&&(t.left=this.position.left+"px"),this.size.width!==this.prevSize.width&&(t.width=this.size.width+"px"),this.size.height!==this.prevSize.height&&(t.height=this.size.height+"px"),this.helper.css(t),t},_updateVirtualBoundaries:function(t){var e,i,o,s,n,a=this.options;n={minWidth:this._isNumber(a.minWidth)?a.minWidth:0,maxWidth:this._isNumber(a.maxWidth)?a.maxWidth:1/0,minHeight:this._isNumber(a.minHeight)?a.minHeight:0,maxHeight:this._isNumber(a.maxHeight)?a.maxHeight:1/0},(this._aspectRatio||t)&&(e=n.minHeight*this.aspectRatio,o=n.minWidth/this.aspectRatio,i=n.maxHeight*this.aspectRatio,s=n.maxWidth/this.aspectRatio,e>n.minWidth&&(n.minWidth=e),o>n.minHeight&&(n.minHeight=o),i<n.maxWidth&&(n.maxWidth=i),s<n.maxHeight&&(n.maxHeight=s)),this._vBoundaries=n},_updateCache:function(t){this.offset=this.helper.offset(),this._isNumber(t.left)&&(this.position.left=t.left),this._isNumber(t.top)&&(this.position.top=t.top),this._isNumber(t.height)&&(this.size.height=t.height),this._isNumber(t.width)&&(this.size.width=t.width)},_updateRatio:function(t){var e=this.position,i=this.size,o=this.axis;return this._isNumber(t.height)?t.width=t.height*this.aspectRatio:this._isNumber(t.width)&&(t.height=t.width/this.aspectRatio),"sw"===o&&(t.left=e.left+(i.width-t.width),t.top=null),"nw"===o&&(t.top=e.top+(i.height-t.height),t.left=e.left+(i.width-t.width)),t},_respectSize:function(t){var e=this._vBoundaries,i=this.axis,o=this._isNumber(t.width)&&e.maxWidth&&e.maxWidth<t.width,s=this._isNumber(t.height)&&e.maxHeight&&e.maxHeight<t.height,n=this._isNumber(t.width)&&e.minWidth&&e.minWidth>t.width,a=this._isNumber(t.height)&&e.minHeight&&e.minHeight>t.height,r=this.originalPosition.left+this.originalSize.width,l=this.originalPosition.top+this.originalSize.height,h=/sw|nw|w/.test(i),c=/nw|ne|n/.test(i);return n&&(t.width=e.minWidth),a&&(t.height=e.minHeight),o&&(t.width=e.maxWidth),s&&(t.height=e.maxHeight),n&&h&&(t.left=r-e.minWidth),o&&h&&(t.left=r-e.maxWidth),a&&c&&(t.top=l-e.minHeight),s&&c&&(t.top=l-e.maxHeight),t.width||t.height||t.left||!t.top?t.width||t.height||t.top||!t.left||(t.left=null):t.top=null,t},_getPaddingPlusBorderDimensions:function(t){for(var e=0,i=[],o=[t.css("borderTopWidth"),t.css("borderRightWidth"),t.css("borderBottomWidth"),t.css("borderLeftWidth")],s=[t.css("paddingTop"),t.css("paddingRight"),t.css("paddingBottom"),t.css("paddingLeft")];e<4;e++)i[e]=parseFloat(o[e])||0,i[e]+=parseFloat(s[e])||0;return{height:i[0]+i[2],width:i[1]+i[3]}},_proportionallyResize:function(){if(this._proportionallyResizeElements.length)for(var t,e=0,i=this.helper||this.element;e<this._proportionallyResizeElements.length;e++)t=this._proportionallyResizeElements[e],this.outerDimensions||(this.outerDimensions=this._getPaddingPlusBorderDimensions(t)),t.css({height:i.height()-this.outerDimensions.height||0,width:i.width()-this.outerDimensions.width||0})},_renderProxy:function(){var e=this.element,i=this.options;this.elementOffset=e.offset(),this._helper?(this.helper=this.helper||t("<div></div>").css({overflow:"hidden"}),this._addClass(this.helper,this._helper),this.helper.css({width:this.element.outerWidth(),height:this.element.outerHeight(),position:"absolute",left:this.elementOffset.left+"px",top:this.elementOffset.top+"px",zIndex:++i.zIndex}),this.helper.appendTo("body").disableSelection()):this.helper=this.element},_change:{e:function(t,e){return{width:this.originalSize.width+e}},w:function(t,e){var i=this.originalSize;return{left:this.originalPosition.left+e,width:i.width-e}},n:function(t,e,i){var o=this.originalSize;return{top:this.originalPosition.top+i,height:o.height-i}},s:function(t,e,i){return{height:this.originalSize.height+i}},se:function(e,i,o){return t.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[e,i,o]))},sw:function(e,i,o){return t.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[e,i,o]))},ne:function(e,i,o){return t.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[e,i,o]))},nw:function(e,i,o){return t.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[e,i,o]))}},_propagate:function(e,i){t.ui.plugin.call(this,e,[i,this.ui()]),"resize"!==e&&this._trigger(e,i,this.ui())},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}}),t.ui.plugin.add("resizable","animate",{stop:function(e){var i=t(this).resizable("instance"),o=i.options,s=i._proportionallyResizeElements,n=s.length&&/textarea/i.test(s[0].nodeName),a=n&&i._hasScroll(s[0],"left")?0:i.sizeDiff.height,r=n?0:i.sizeDiff.width,l={width:i.size.width-r,height:i.size.height-a},h=parseFloat(i.element.css("left"))+(i.position.left-i.originalPosition.left)||null,c=parseFloat(i.element.css("top"))+(i.position.top-i.originalPosition.top)||null;i.element.animate(t.extend(l,c&&h?{top:c,left:h}:{}),{duration:o.animateDuration,easing:o.animateEasing,step:function(){var o={width:parseFloat(i.element.css("width")),height:parseFloat(i.element.css("height")),top:parseFloat(i.element.css("top")),left:parseFloat(i.element.css("left"))};s&&s.length&&t(s[0]).css({width:o.width,height:o.height}),i._updateCache(o),i._propagate("resize",e)}})}}),t.ui.plugin.add("resizable","containment",{start:function(){var e,i,o,s,n,a,r,l=t(this).resizable("instance"),h=l.options,c=l.element,u=h.containment,p=u instanceof t?u.get(0):/parent/.test(u)?c.parent().get(0):u;p&&(l.containerElement=t(p),/document/.test(u)||u===document?(l.containerOffset={left:0,top:0},l.containerPosition={left:0,top:0},l.parentData={element:t(document),left:0,top:0,width:t(document).width(),height:t(document).height()||document.body.parentNode.scrollHeight}):(e=t(p),i=[],t(["Top","Right","Left","Bottom"]).each((function(t,o){i[t]=l._num(e.css("padding"+o))})),l.containerOffset=e.offset(),l.containerPosition=e.position(),l.containerSize={height:e.innerHeight()-i[3],width:e.innerWidth()-i[1]},o=l.containerOffset,s=l.containerSize.height,n=l.containerSize.width,a=l._hasScroll(p,"left")?p.scrollWidth:n,r=l._hasScroll(p)?p.scrollHeight:s,l.parentData={element:p,left:o.left,top:o.top,width:a,height:r}))},resize:function(e){var i,o,s,n,a=t(this).resizable("instance"),r=a.options,l=a.containerOffset,h=a.position,c=a._aspectRatio||e.shiftKey,u={top:0,left:0},p=a.containerElement,d=!0;p[0]!==document&&/static/.test(p.css("position"))&&(u=l),h.left<(a._helper?l.left:0)&&(a.size.width=a.size.width+(a._helper?a.position.left-l.left:a.position.left-u.left),c&&(a.size.height=a.size.width/a.aspectRatio,d=!1),a.position.left=r.helper?l.left:0),h.top<(a._helper?l.top:0)&&(a.size.height=a.size.height+(a._helper?a.position.top-l.top:a.position.top),c&&(a.size.width=a.size.height*a.aspectRatio,d=!1),a.position.top=a._helper?l.top:0),s=a.containerElement.get(0)===a.element.parent().get(0),n=/relative|absolute/.test(a.containerElement.css("position")),s&&n?(a.offset.left=a.parentData.left+a.position.left,a.offset.top=a.parentData.top+a.position.top):(a.offset.left=a.element.offset().left,a.offset.top=a.element.offset().top),i=Math.abs(a.sizeDiff.width+(a._helper?a.offset.left-u.left:a.offset.left-l.left)),o=Math.abs(a.sizeDiff.height+(a._helper?a.offset.top-u.top:a.offset.top-l.top)),i+a.size.width>=a.parentData.width&&(a.size.width=a.parentData.width-i,c&&(a.size.height=a.size.width/a.aspectRatio,d=!1)),o+a.size.height>=a.parentData.height&&(a.size.height=a.parentData.height-o,c&&(a.size.width=a.size.height*a.aspectRatio,d=!1)),d||(a.position.left=a.prevPosition.left,a.position.top=a.prevPosition.top,a.size.width=a.prevSize.width,a.size.height=a.prevSize.height)},stop:function(){var e=t(this).resizable("instance"),i=e.options,o=e.containerOffset,s=e.containerPosition,n=e.containerElement,a=t(e.helper),r=a.offset(),l=a.outerWidth()-e.sizeDiff.width,h=a.outerHeight()-e.sizeDiff.height;e._helper&&!i.animate&&/relative/.test(n.css("position"))&&t(this).css({left:r.left-s.left-o.left,width:l,height:h}),e._helper&&!i.animate&&/static/.test(n.css("position"))&&t(this).css({left:r.left-s.left-o.left,width:l,height:h})}}),t.ui.plugin.add("resizable","alsoResize",{start:function(){var e=t(this).resizable("instance").options;t(e.alsoResize).each((function(){var e=t(this);e.data("ui-resizable-alsoresize",{width:parseFloat(e.width()),height:parseFloat(e.height()),left:parseFloat(e.css("left")),top:parseFloat(e.css("top"))})}))},resize:function(e,i){var o=t(this).resizable("instance"),s=o.options,n=o.originalSize,a=o.originalPosition,r={height:o.size.height-n.height||0,width:o.size.width-n.width||0,top:o.position.top-a.top||0,left:o.position.left-a.left||0};t(s.alsoResize).each((function(){var e=t(this),o=t(this).data("ui-resizable-alsoresize"),s={},n=e.parents(i.originalElement[0]).length?["width","height"]:["width","height","top","left"];t.each(n,(function(t,e){var i=(o[e]||0)+(r[e]||0);i&&i>=0&&(s[e]=i||null)})),e.css(s)}))},stop:function(){t(this).removeData("ui-resizable-alsoresize")}}),t.ui.plugin.add("resizable","ghost",{start:function(){var e=t(this).resizable("instance"),i=e.size;e.ghost=e.originalElement.clone(),e.ghost.css({opacity:.25,display:"block",position:"relative",height:i.height,width:i.width,margin:0,left:0,top:0}),e._addClass(e.ghost,"ui-resizable-ghost"),!1!==t.uiBackCompat&&"string"==typeof e.options.ghost&&e.ghost.addClass(this.options.ghost),e.ghost.appendTo(e.helper)},resize:function(){var e=t(this).resizable("instance");e.ghost&&e.ghost.css({position:"relative",height:e.size.height,width:e.size.width})},stop:function(){var e=t(this).resizable("instance");e.ghost&&e.helper&&e.helper.get(0).removeChild(e.ghost.get(0))}}),t.ui.plugin.add("resizable","grid",{resize:function(){var e,i=t(this).resizable("instance"),o=i.options,s=i.size,n=i.originalSize,a=i.originalPosition,r=i.axis,l="number"==typeof o.grid?[o.grid,o.grid]:o.grid,h=l[0]||1,c=l[1]||1,u=Math.round((s.width-n.width)/h)*h,p=Math.round((s.height-n.height)/c)*c,d=n.width+u,f=n.height+p,g=o.maxWidth&&o.maxWidth<d,m=o.maxHeight&&o.maxHeight<f,v=o.minWidth&&o.minWidth>d,b=o.minHeight&&o.minHeight>f;o.grid=l,v&&(d+=h),b&&(f+=c),g&&(d-=h),m&&(f-=c),/^(se|s|e)$/.test(r)?(i.size.width=d,i.size.height=f):/^(ne)$/.test(r)?(i.size.width=d,i.size.height=f,i.position.top=a.top-p):/^(sw)$/.test(r)?(i.size.width=d,i.size.height=f,i.position.left=a.left-u):((f-c<=0||d-h<=0)&&(e=i._getPaddingPlusBorderDimensions(this)),f-c>0?(i.size.height=f,i.position.top=a.top-p):(f=c-e.height,i.size.height=f,i.position.top=a.top+n.height-f),d-h>0?(i.size.width=d,i.position.left=a.left-u):(d=h-e.width,i.size.width=d,i.position.left=a.left+n.width-d))}}),t.ui.resizable})?o.apply(e,s):o)||(t.exports=n)}()},45:function(t,e,i){var o,s,n;
/*!
 * jQuery UI Disable Selection 1.13.0
 * http://jqueryui.com
 *
 * Copyright jQuery Foundation and other contributors
 * Released under the MIT license.
 * http://jquery.org/license
 */!function(a){"use strict";s=[i(3),i(4)],void 0===(n="function"==typeof(o=function(t){return t.fn.extend({disableSelection:(e="onselectstart"in document.createElement("div")?"selectstart":"mousedown",function(){return this.on(e+".ui-disableSelection",(function(t){t.preventDefault()}))}),enableSelection:function(){return this.off(".ui-disableSelection")}});var e})?o.apply(e,s):o)||(t.exports=n)}()},46:function(t,e,i){var o,s,n;
/*!
 * jQuery UI Position 1.13.0
 * http://jqueryui.com
 *
 * Copyright jQuery Foundation and other contributors
 * Released under the MIT license.
 * http://jquery.org/license
 *
 * http://api.jqueryui.com/position/
 */!function(a){"use strict";s=[i(3),i(4)],void 0===(n="function"==typeof(o=function(t){return function(){var e,i=Math.max,o=Math.abs,s=/left|center|right/,n=/top|center|bottom/,a=/[\+\-]\d+(\.[\d]+)?%?/,r=/^\w+/,l=/%$/,h=t.fn.position;function c(t,e,i){return[parseFloat(t[0])*(l.test(t[0])?e/100:1),parseFloat(t[1])*(l.test(t[1])?i/100:1)]}function u(e,i){return parseInt(t.css(e,i),10)||0}function p(t){return null!=t&&t===t.window}function d(t){var e=t[0];return 9===e.nodeType?{width:t.width(),height:t.height(),offset:{top:0,left:0}}:p(e)?{width:t.width(),height:t.height(),offset:{top:t.scrollTop(),left:t.scrollLeft()}}:e.preventDefault?{width:0,height:0,offset:{top:e.pageY,left:e.pageX}}:{width:t.outerWidth(),height:t.outerHeight(),offset:t.offset()}}t.position={scrollbarWidth:function(){if(void 0!==e)return e;var i,o,s=t("<div style='display:block;position:absolute;width:200px;height:200px;overflow:hidden;'><div style='height:300px;width:auto;'></div></div>"),n=s.children()[0];return t("body").append(s),i=n.offsetWidth,s.css("overflow","scroll"),i===(o=n.offsetWidth)&&(o=s[0].clientWidth),s.remove(),e=i-o},getScrollInfo:function(e){var i=e.isWindow||e.isDocument?"":e.element.css("overflow-x"),o=e.isWindow||e.isDocument?"":e.element.css("overflow-y"),s="scroll"===i||"auto"===i&&e.width<e.element[0].scrollWidth;return{width:"scroll"===o||"auto"===o&&e.height<e.element[0].scrollHeight?t.position.scrollbarWidth():0,height:s?t.position.scrollbarWidth():0}},getWithinInfo:function(e){var i=t(e||window),o=p(i[0]),s=!!i[0]&&9===i[0].nodeType;return{element:i,isWindow:o,isDocument:s,offset:!o&&!s?t(e).offset():{left:0,top:0},scrollLeft:i.scrollLeft(),scrollTop:i.scrollTop(),width:i.outerWidth(),height:i.outerHeight()}}},t.fn.position=function(e){if(!e||!e.of)return h.apply(this,arguments);var l,p,f,g,m,v,b="string"==typeof(e=t.extend({},e)).of?t(document).find(e.of):t(e.of),_=t.position.getWithinInfo(e.within),y=t.position.getScrollInfo(_),w=(e.collision||"flip").split(" "),x={};return v=d(b),b[0].preventDefault&&(e.at="left top"),p=v.width,f=v.height,g=v.offset,m=t.extend({},g),t.each(["my","at"],(function(){var t,i,o=(e[this]||"").split(" ");1===o.length&&(o=s.test(o[0])?o.concat(["center"]):n.test(o[0])?["center"].concat(o):["center","center"]),o[0]=s.test(o[0])?o[0]:"center",o[1]=n.test(o[1])?o[1]:"center",t=a.exec(o[0]),i=a.exec(o[1]),x[this]=[t?t[0]:0,i?i[0]:0],e[this]=[r.exec(o[0])[0],r.exec(o[1])[0]]})),1===w.length&&(w[1]=w[0]),"right"===e.at[0]?m.left+=p:"center"===e.at[0]&&(m.left+=p/2),"bottom"===e.at[1]?m.top+=f:"center"===e.at[1]&&(m.top+=f/2),l=c(x.at,p,f),m.left+=l[0],m.top+=l[1],this.each((function(){var s,n,a=t(this),r=a.outerWidth(),h=a.outerHeight(),d=u(this,"marginLeft"),v=u(this,"marginTop"),z=r+d+u(this,"marginRight")+y.width,D=h+v+u(this,"marginBottom")+y.height,k=t.extend({},m),C=c(x.my,a.outerWidth(),a.outerHeight());"right"===e.my[0]?k.left-=r:"center"===e.my[0]&&(k.left-=r/2),"bottom"===e.my[1]?k.top-=h:"center"===e.my[1]&&(k.top-=h/2),k.left+=C[0],k.top+=C[1],s={marginLeft:d,marginTop:v},t.each(["left","top"],(function(i,o){t.ui.position[w[i]]&&t.ui.position[w[i]][o](k,{targetWidth:p,targetHeight:f,elemWidth:r,elemHeight:h,collisionPosition:s,collisionWidth:z,collisionHeight:D,offset:[l[0]+C[0],l[1]+C[1]],my:e.my,at:e.at,within:_,elem:a})})),e.using&&(n=function(t){var s=g.left-k.left,n=s+p-r,l=g.top-k.top,c=l+f-h,u={target:{element:b,left:g.left,top:g.top,width:p,height:f},element:{element:a,left:k.left,top:k.top,width:r,height:h},horizontal:n<0?"left":s>0?"right":"center",vertical:c<0?"top":l>0?"bottom":"middle"};p<r&&o(s+n)<p&&(u.horizontal="center"),f<h&&o(l+c)<f&&(u.vertical="middle"),i(o(s),o(n))>i(o(l),o(c))?u.important="horizontal":u.important="vertical",e.using.call(this,t,u)}),a.offset(t.extend(k,{using:n}))}))},t.ui.position={fit:{left:function(t,e){var o,s=e.within,n=s.isWindow?s.scrollLeft:s.offset.left,a=s.width,r=t.left-e.collisionPosition.marginLeft,l=n-r,h=r+e.collisionWidth-a-n;e.collisionWidth>a?l>0&&h<=0?(o=t.left+l+e.collisionWidth-a-n,t.left+=l-o):t.left=h>0&&l<=0?n:l>h?n+a-e.collisionWidth:n:l>0?t.left+=l:h>0?t.left-=h:t.left=i(t.left-r,t.left)},top:function(t,e){var o,s=e.within,n=s.isWindow?s.scrollTop:s.offset.top,a=e.within.height,r=t.top-e.collisionPosition.marginTop,l=n-r,h=r+e.collisionHeight-a-n;e.collisionHeight>a?l>0&&h<=0?(o=t.top+l+e.collisionHeight-a-n,t.top+=l-o):t.top=h>0&&l<=0?n:l>h?n+a-e.collisionHeight:n:l>0?t.top+=l:h>0?t.top-=h:t.top=i(t.top-r,t.top)}},flip:{left:function(t,e){var i,s,n=e.within,a=n.offset.left+n.scrollLeft,r=n.width,l=n.isWindow?n.scrollLeft:n.offset.left,h=t.left-e.collisionPosition.marginLeft,c=h-l,u=h+e.collisionWidth-r-l,p="left"===e.my[0]?-e.elemWidth:"right"===e.my[0]?e.elemWidth:0,d="left"===e.at[0]?e.targetWidth:"right"===e.at[0]?-e.targetWidth:0,f=-2*e.offset[0];c<0?((i=t.left+p+d+f+e.collisionWidth-r-a)<0||i<o(c))&&(t.left+=p+d+f):u>0&&((s=t.left-e.collisionPosition.marginLeft+p+d+f-l)>0||o(s)<u)&&(t.left+=p+d+f)},top:function(t,e){var i,s,n=e.within,a=n.offset.top+n.scrollTop,r=n.height,l=n.isWindow?n.scrollTop:n.offset.top,h=t.top-e.collisionPosition.marginTop,c=h-l,u=h+e.collisionHeight-r-l,p="top"===e.my[1],d=p?-e.elemHeight:"bottom"===e.my[1]?e.elemHeight:0,f="top"===e.at[1]?e.targetHeight:"bottom"===e.at[1]?-e.targetHeight:0,g=-2*e.offset[1];c<0?((s=t.top+d+f+g+e.collisionHeight-r-a)<0||s<o(c))&&(t.top+=d+f+g):u>0&&((i=t.top-e.collisionPosition.marginTop+d+f+g-l)>0||o(i)<u)&&(t.top+=d+f+g)}},flipfit:{left:function(){t.ui.position.flip.left.apply(this,arguments),t.ui.position.fit.left.apply(this,arguments)},top:function(){t.ui.position.flip.top.apply(this,arguments),t.ui.position.fit.top.apply(this,arguments)}}}}(),t.ui.position})?o.apply(e,s):o)||(t.exports=n)}()},47:function(t,e,i){var o,s,n;
/*!
 * jQuery UI Tabbable 1.13.0
 * http://jqueryui.com
 *
 * Copyright jQuery Foundation and other contributors
 * Released under the MIT license.
 * http://jquery.org/license
 */!function(a){"use strict";s=[i(3),i(4),i(23)],void 0===(n="function"==typeof(o=function(t){return t.extend(t.expr.pseudos,{tabbable:function(e){var i=t.attr(e,"tabindex"),o=null!=i;return(!o||i>=0)&&t.ui.focusable(e,o)}})})?o.apply(e,s):o)||(t.exports=n)}()},48:function(t,e,i){var o,s,n;
/*!
 * jQuery UI Unique ID 1.13.0
 * http://jqueryui.com
 *
 * Copyright jQuery Foundation and other contributors
 * Released under the MIT license.
 * http://jquery.org/license
 */!function(a){"use strict";s=[i(3),i(4)],void 0===(n="function"==typeof(o=function(t){return t.fn.extend({uniqueId:(e=0,function(){return this.each((function(){this.id||(this.id="ui-id-"+ ++e)}))}),removeUniqueId:function(){return this.each((function(){/^ui-id-\d+$/.test(this.id)&&t(this).removeAttr("id")}))}});var e})?o.apply(e,s):o)||(t.exports=n)}()},5:function(t,e){function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var o;o=function(){return this}();try{o=o||new Function("return this")()}catch(t){"object"===("undefined"==typeof window?"undefined":i(window))&&(o=window)}t.exports=o},53:function(t,e,i){var o,s,n;function a(t){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}
/*!
 * jQuery Form Plugin
 * version: 4.3.0
 * Requires jQuery v1.7.2 or later
 * Project repository: https://github.com/jquery-form/form

 * Copyright 2017 Kevin Morris
 * Copyright 2006 M. Alsup

 * Dual licensed under the LGPL-2.1+ or MIT licenses
 * https://github.com/jquery-form/form#license

 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 */s=[i(3)],void 0===(n="function"==typeof(o=function(t){"use strict";var e=/\r?\n/g,i={};i.fileapi=void 0!==t('<input type="file">').get(0).files,i.formdata=void 0!==window.FormData;var o=!!t.fn.prop;function s(e){var i=e.data;e.isDefaultPrevented()||(e.preventDefault(),t(e.target).closest("form").ajaxSubmit(i))}function n(e){var i=e.target,o=t(i);if(!o.is("[type=submit],[type=image]")){var s=o.closest("[type=submit]");if(0===s.length)return;i=s[0]}var n,a=i.form;"image"===(a.clk=i).type&&(void 0!==e.offsetX?(a.clk_x=e.offsetX,a.clk_y=e.offsetY):"function"==typeof t.fn.offset?(n=o.offset(),a.clk_x=e.pageX-n.left,a.clk_y=e.pageY-n.top):(a.clk_x=e.pageX-i.offsetLeft,a.clk_y=e.pageY-i.offsetTop)),setTimeout((function(){a.clk=a.clk_x=a.clk_y=null}),100)}function r(){var e;t.fn.ajaxSubmit.debug&&(e="[jquery.form] "+Array.prototype.join.call(arguments,""),window.console&&window.console.log?window.console.log(e):window.opera&&window.opera.postError&&window.opera.postError(e))}t.fn.attr2=function(){if(!o)return this.attr.apply(this,arguments);var t=this.prop.apply(this,arguments);return t&&t.jquery||"string"==typeof t?t:this.attr.apply(this,arguments)},t.fn.ajaxSubmit=function(e,s,n,a){if(!this.length)return r("ajaxSubmit: skipping submit process - no element selected"),this;var l,h,c,u,p=this;"function"==typeof e?e={success:e}:"string"==typeof e||!1===e&&0<arguments.length?(e={url:e,data:s,dataType:n},"function"==typeof a&&(e.success=a)):void 0===e&&(e={}),l=e.method||e.type||this.attr2("method"),c=(c=(c="string"==typeof(h=e.url||this.attr2("action"))?t.trim(h):"")||window.location.href||"")&&(c.match(/^([^#]+)/)||[])[1],u=/(MSIE|Trident)/.test(navigator.userAgent||"")&&/^https/i.test(window.location.href||"")?"javascript:false":"about:blank",e=t.extend(!0,{url:c,success:t.ajaxSettings.success,type:l||t.ajaxSettings.type,iframeSrc:u},e);var d={};if(this.trigger("form-pre-serialize",[this,e,d]),d.veto)return r("ajaxSubmit: submit vetoed via form-pre-serialize trigger"),this;if(e.beforeSerialize&&!1===e.beforeSerialize(this,e))return r("ajaxSubmit: submit aborted via beforeSerialize callback"),this;var f=e.traditional;void 0===f&&(f=t.ajaxSettings.traditional);var g,m,v=[],b=this.formToArray(e.semantic,v,e.filtering);if(e.data&&(m=t.isFunction(e.data)?e.data(b):e.data,e.extraData=m,g=t.param(m,f)),e.beforeSubmit&&!1===e.beforeSubmit(b,this,e))return r("ajaxSubmit: submit aborted via beforeSubmit callback"),this;if(this.trigger("form-submit-validate",[b,this,e,d]),d.veto)return r("ajaxSubmit: submit vetoed via form-submit-validate trigger"),this;var _=t.param(b,f);g&&(_=_?_+"&"+g:g),"GET"===e.type.toUpperCase()?(e.url+=(0<=e.url.indexOf("?")?"&":"?")+_,e.data=null):e.data=_;var y,w,x,z=[];e.resetForm&&z.push((function(){p.resetForm()})),e.clearForm&&z.push((function(){p.clearForm(e.includeHidden)})),!e.dataType&&e.target?(y=e.success||function(){},z.push((function(i,o,s){var n=arguments,a=e.replaceTarget?"replaceWith":"html";t(e.target)[a](i).each((function(){y.apply(this,n)}))}))):e.success&&(t.isArray(e.success)?t.merge(z,e.success):z.push(e.success)),e.success=function(t,i,o){for(var s=e.context||this,n=0,a=z.length;n<a;n++)z[n].apply(s,[t,i,o||p,p])},e.error&&(w=e.error,e.error=function(t,i,o){var s=e.context||this;w.apply(s,[t,i,o,p])}),e.complete&&(x=e.complete,e.complete=function(t,i){var o=e.context||this;x.apply(o,[t,i,p])});var D=0<t("input[type=file]:enabled",this).filter((function(){return""!==t(this).val()})).length,k="multipart/form-data",C=p.attr("enctype")===k||p.attr("encoding")===k,T=i.fileapi&&i.formdata;r("fileAPI :"+T);var S,P=(D||C)&&!T;!1!==e.iframe&&(e.iframe||P)?e.closeKeepAlive?t.get(e.closeKeepAlive,(function(){S=H(b)})):S=H(b):S=(D||C)&&T?function(i){for(var o=new FormData,s=0;s<i.length;s++)o.append(i[s].name,i[s].value);if(e.extraData){var n=function(i){var o,s,n=t.param(i,e.traditional).split("&"),a=n.length,r=[];for(o=0;o<a;o++)n[o]=n[o].replace(/\+/g," "),s=n[o].split("="),r.push([decodeURIComponent(s[0]),decodeURIComponent(s[1])]);return r}(e.extraData);for(s=0;s<n.length;s++)n[s]&&o.append(n[s][0],n[s][1])}e.data=null;var a=t.extend(!0,{},t.ajaxSettings,e,{contentType:!1,processData:!1,cache:!1,type:l||"POST"});e.uploadProgress&&(a.xhr=function(){var i=t.ajaxSettings.xhr();return i.upload&&i.upload.addEventListener("progress",(function(t){var i=0,o=t.loaded||t.position,s=t.total;t.lengthComputable&&(i=Math.ceil(o/s*100)),e.uploadProgress(t,o,s,i)}),!1),i}),a.data=null;var r=a.beforeSend;return a.beforeSend=function(t,i){e.formData?i.data=e.formData:i.data=o,r&&r.call(this,t,i)},t.ajax(a)}(b):t.ajax(e),p.removeData("jqxhr").data("jqxhr",S);for(var E=0;E<v.length;E++)v[E]=null;return this.trigger("form-submit-notify",[this,e]),this;function H(i){var s,n,a,h,c,u,d,f,g,m,b,_,y=p[0],w=t.Deferred();if(w.abort=function(t){f.abort(t)},i)for(n=0;n<v.length;n++)s=t(v[n]),o?s.prop("disabled",!1):s.removeAttr("disabled");(a=t.extend(!0,{},t.ajaxSettings,e)).context=a.context||a,c="jqFormIO"+(new Date).getTime();var x=y.ownerDocument,z=p.closest("body");if(a.iframeTarget?(m=(u=t(a.iframeTarget,x)).attr2("name"))?c=m:u.attr2("name",c):(u=t('<iframe name="'+c+'" src="'+a.iframeSrc+'" />',x)).css({position:"absolute",top:"-1000px",left:"-1000px"}),d=u[0],f={aborted:0,responseText:null,responseXML:null,status:0,statusText:"n/a",getAllResponseHeaders:function(){},getResponseHeader:function(){},setRequestHeader:function(){},abort:function(e){var i="timeout"===e?"timeout":"aborted";r("aborting upload... "+i),this.aborted=1;try{d.contentWindow.document.execCommand&&d.contentWindow.document.execCommand("Stop")}catch(e){}u.attr("src",a.iframeSrc),f.error=i,a.error&&a.error.call(a.context,f,i,e),h&&t.event.trigger("ajaxError",[f,a,i]),a.complete&&a.complete.call(a.context,f,i)}},(h=a.global)&&0==t.active++&&t.event.trigger("ajaxStart"),h&&t.event.trigger("ajaxSend",[f,a]),a.beforeSend&&!1===a.beforeSend.call(a.context,f,a))return a.global&&t.active--,w.reject(),w;if(f.aborted)return w.reject(),w;function D(t){var e=null;try{t.contentWindow&&(e=t.contentWindow.document)}catch(t){r("cannot get iframe.contentWindow document: "+t)}if(e)return e;try{e=t.contentDocument?t.contentDocument:t.document}catch(i){r("cannot get iframe.contentDocument: "+i),e=t.document}return e}(g=y.clk)&&(m=g.name)&&!g.disabled&&(a.extraData=a.extraData||{},a.extraData[m]=g.value,"image"===g.type&&(a.extraData[m+".x"]=y.clk_x,a.extraData[m+".y"]=y.clk_y));var k=t("meta[name=csrf-token]").attr("content"),C=t("meta[name=csrf-param]").attr("content");function T(){var e=p.attr2("target"),i=p.attr2("action"),o=p.attr("enctype")||p.attr("encoding")||"multipart/form-data";y.setAttribute("target",c),l&&!/post/i.test(l)||y.setAttribute("method","POST"),i!==a.url&&y.setAttribute("action",a.url),a.skipEncodingOverride||l&&!/post/i.test(l)||p.attr({encoding:"multipart/form-data",enctype:"multipart/form-data"}),a.timeout&&(_=setTimeout((function(){b=!0,O(1)}),a.timeout));var s=[];try{if(a.extraData)for(var n in a.extraData)a.extraData.hasOwnProperty(n)&&(t.isPlainObject(a.extraData[n])&&a.extraData[n].hasOwnProperty("name")&&a.extraData[n].hasOwnProperty("value")?s.push(t('<input type="hidden" name="'+a.extraData[n].name+'">',x).val(a.extraData[n].value).appendTo(y)[0]):s.push(t('<input type="hidden" name="'+n+'">',x).val(a.extraData[n]).appendTo(y)[0]));a.iframeTarget||u.appendTo(z),d.attachEvent?d.attachEvent("onload",O):d.addEventListener("load",O,!1),setTimeout((function t(){try{var e=D(d).readyState;r("state = "+e),e&&"uninitialized"===e.toLowerCase()&&setTimeout(t,50)}catch(t){r("Server abort: ",t," (",t.name,")"),O(2),_&&clearTimeout(_),_=void 0}}),15);try{y.submit()}catch(e){document.createElement("form").submit.apply(y)}}finally{y.setAttribute("action",i),y.setAttribute("enctype",o),e?y.setAttribute("target",e):p.removeAttr("target"),t(s).remove()}}C&&k&&(a.extraData=a.extraData||{},a.extraData[C]=k),a.forceSync?T():setTimeout(T,10);var S,P,E,H=50;function O(e){if(!f.aborted&&!E){if((P=D(d))||(r("cannot access response document"),e=2),1===e&&f)return f.abort("timeout"),void w.reject(f,"timeout");if(2===e&&f)return f.abort("server abort"),void w.reject(f,"error","server abort");if(P&&P.location.href!==a.iframeSrc||b){d.detachEvent?d.detachEvent("onload",O):d.removeEventListener("load",O,!1);var i,o="success";try{if(b)throw"timeout";var s="xml"===a.dataType||P.XMLDocument||t.isXMLDoc(P);if(r("isXml="+s),!s&&window.opera&&(null===P.body||!P.body.innerHTML)&&--H)return r("requeing onLoad callback, DOM not available"),void setTimeout(O,250);var n=P.body?P.body:P.documentElement;f.responseText=n?n.innerHTML:null,f.responseXML=P.XMLDocument?P.XMLDocument:P,s&&(a.dataType="xml"),f.getResponseHeader=function(t){return{"content-type":a.dataType}[t.toLowerCase()]},n&&(f.status=Number(n.getAttribute("status"))||f.status,f.statusText=n.getAttribute("statusText")||f.statusText);var l,c,p,g=(a.dataType||"").toLowerCase(),m=/(json|script|text)/.test(g);m||a.textarea?(l=P.getElementsByTagName("textarea")[0])?(f.responseText=l.value,f.status=Number(l.getAttribute("status"))||f.status,f.statusText=l.getAttribute("statusText")||f.statusText):m&&(c=P.getElementsByTagName("pre")[0],p=P.getElementsByTagName("body")[0],c?f.responseText=c.textContent?c.textContent:c.innerText:p&&(f.responseText=p.textContent?p.textContent:p.innerText)):"xml"===g&&!f.responseXML&&f.responseText&&(f.responseXML=L(f.responseText));try{S=I(f,g,a)}catch(e){o="parsererror",f.error=i=e||o}}catch(e){r("error caught: ",e),o="error",f.error=i=e||o}f.aborted&&(r("upload aborted"),o=null),f.status&&(o=200<=f.status&&f.status<300||304===f.status?"success":"error"),"success"===o?(a.success&&a.success.call(a.context,S,"success",f),w.resolve(f.responseText,"success",f),h&&t.event.trigger("ajaxSuccess",[f,a])):o&&(void 0===i&&(i=f.statusText),a.error&&a.error.call(a.context,f,o,i),w.reject(f,"error",i),h&&t.event.trigger("ajaxError",[f,a,i])),h&&t.event.trigger("ajaxComplete",[f,a]),h&&!--t.active&&t.event.trigger("ajaxStop"),a.complete&&a.complete.call(a.context,f,o),E=!0,a.timeout&&clearTimeout(_),setTimeout((function(){a.iframeTarget?u.attr("src",a.iframeSrc):u.remove(),f.responseXML=null}),100)}}}var L=t.parseXML||function(t,e){return window.ActiveXObject?((e=new ActiveXObject("Microsoft.XMLDOM")).async="false",e.loadXML(t)):e=(new DOMParser).parseFromString(t,"text/xml"),e&&e.documentElement&&"parsererror"!==e.documentElement.nodeName?e:null},W=t.parseJSON||function(t){return window.eval("("+t+")")},I=function(e,i,o){var s=e.getResponseHeader("content-type")||"",n=("xml"===i||!i)&&0<=s.indexOf("xml"),a=n?e.responseXML:e.responseText;return n&&"parsererror"===a.documentElement.nodeName&&t.error&&t.error("parsererror"),o&&o.dataFilter&&(a=o.dataFilter(a,i)),"string"==typeof a&&(("json"===i||!i)&&0<=s.indexOf("json")?a=W(a):("script"===i||!i)&&0<=s.indexOf("javascript")&&t.globalEval(a)),a};return w}},t.fn.ajaxForm=function(e,i,o,a){if(("string"==typeof e||!1===e&&0<arguments.length)&&(e={url:e,data:i,dataType:o},"function"==typeof a&&(e.success=a)),(e=e||{}).delegation=e.delegation&&t.isFunction(t.fn.on),e.delegation||0!==this.length)return e.delegation?(t(document).off("submit.form-plugin",this.selector,s).off("click.form-plugin",this.selector,n).on("submit.form-plugin",this.selector,e,s).on("click.form-plugin",this.selector,e,n),this):(e.beforeFormUnbind&&e.beforeFormUnbind(this,e),this.ajaxFormUnbind().on("submit.form-plugin",e,s).on("click.form-plugin",e,n));var l={s:this.selector,c:this.context};return!t.isReady&&l.s?(r("DOM not ready, queuing ajaxForm"),t((function(){t(l.s,l.c).ajaxForm(e)}))):r("terminating; zero elements found by selector"+(t.isReady?"":" (DOM not ready)")),this},t.fn.ajaxFormUnbind=function(){return this.off("submit.form-plugin click.form-plugin")},t.fn.formToArray=function(e,o,s){var n=[];if(0===this.length)return n;var a,r,l,h,c,u,p,d,f,g,m=this[0],v=this.attr("id"),b=(b=e||void 0===m.elements?m.getElementsByTagName("*"):m.elements)&&t.makeArray(b);if(v&&(e||/(Edge|Trident)\//.test(navigator.userAgent))&&(a=t(':input[form="'+v+'"]').get()).length&&(b=(b||[]).concat(a)),!b||!b.length)return n;for(t.isFunction(s)&&(b=t.map(b,s)),r=0,u=b.length;r<u;r++)if((g=(c=b[r]).name)&&!c.disabled)if(e&&m.clk&&"image"===c.type)m.clk===c&&(n.push({name:g,value:t(c).val(),type:c.type}),n.push({name:g+".x",value:m.clk_x},{name:g+".y",value:m.clk_y}));else if((h=t.fieldValue(c,!0))&&h.constructor===Array)for(o&&o.push(c),l=0,p=h.length;l<p;l++)n.push({name:g,value:h[l]});else if(i.fileapi&&"file"===c.type){o&&o.push(c);var _=c.files;if(_.length)for(l=0;l<_.length;l++)n.push({name:g,value:_[l],type:c.type});else n.push({name:g,value:"",type:c.type})}else null!=h&&(o&&o.push(c),n.push({name:g,value:h,type:c.type,required:c.required}));return e||!m.clk||(g=(f=(d=t(m.clk))[0]).name)&&!f.disabled&&"image"===f.type&&(n.push({name:g,value:d.val()}),n.push({name:g+".x",value:m.clk_x},{name:g+".y",value:m.clk_y})),n},t.fn.formSerialize=function(e){return t.param(this.formToArray(e))},t.fn.fieldSerialize=function(e){var i=[];return this.each((function(){var o=this.name;if(o){var s=t.fieldValue(this,e);if(s&&s.constructor===Array)for(var n=0,a=s.length;n<a;n++)i.push({name:o,value:s[n]});else null!=s&&i.push({name:this.name,value:s})}})),t.param(i)},t.fn.fieldValue=function(e){for(var i=[],o=0,s=this.length;o<s;o++){var n=this[o],a=t.fieldValue(n,e);null==a||a.constructor===Array&&!a.length||(a.constructor===Array?t.merge(i,a):i.push(a))}return i},t.fieldValue=function(i,o){var s=i.name,n=i.type,a=i.tagName.toLowerCase();if(void 0===o&&(o=!0),o&&(!s||i.disabled||"reset"===n||"button"===n||("checkbox"===n||"radio"===n)&&!i.checked||("submit"===n||"image"===n)&&i.form&&i.form.clk!==i||"select"===a&&-1===i.selectedIndex))return null;if("select"!==a)return t(i).val().replace(e,"\r\n");var r=i.selectedIndex;if(r<0)return null;for(var l=[],h=i.options,c="select-one"===n,u=c?r+1:h.length,p=c?r:0;p<u;p++){var d=h[p];if(d.selected&&!d.disabled){var f=(f=d.value)||(d.attributes&&d.attributes.value&&!d.attributes.value.specified?d.text:d.value);if(c)return f;l.push(f)}}return l},t.fn.clearForm=function(e){return this.each((function(){t("input,select,textarea",this).clearFields(e)}))},t.fn.clearFields=t.fn.clearInputs=function(e){var i=/^(?:color|date|datetime|email|month|number|password|range|search|tel|text|time|url|week)$/i;return this.each((function(){var o=this.type,s=this.tagName.toLowerCase();i.test(o)||"textarea"===s?this.value="":"checkbox"===o||"radio"===o?this.checked=!1:"select"===s?this.selectedIndex=-1:"file"===o?/MSIE/.test(navigator.userAgent)?t(this).replaceWith(t(this).clone(!0)):t(this).val(""):e&&(!0===e&&/hidden/.test(o)||"string"==typeof e&&t(this).is(e))&&(this.value="")}))},t.fn.resetForm=function(){return this.each((function(){var e=t(this),i=this.tagName.toLowerCase();switch(i){case"input":this.checked=this.defaultChecked;case"textarea":return this.value=this.defaultValue,!0;case"option":case"optgroup":var o=e.parents("select");return o.length&&o[0].multiple?"option"===i?this.selected=this.defaultSelected:e.find("option").resetForm():o.resetForm(),!0;case"select":return e.find("option").each((function(t){if(this.selected=this.defaultSelected,this.defaultSelected&&!e[0].multiple)return e[0].selectedIndex=t,!1})),!0;case"label":var s=t(e.attr("for")),n=e.find("input,select,textarea");return s[0]&&n.unshift(s[0]),n.resetForm(),!0;case"form":return"function"!=typeof this.reset&&("object"!=a(this.reset)||this.reset.nodeType)||this.reset(),!0;default:return e.find("form,input,label,select,textarea").resetForm(),!0}}))},t.fn.enable=function(t){return void 0===t&&(t=!0),this.each((function(){this.disabled=!t}))},t.fn.selected=function(e){return void 0===e&&(e=!0),this.each((function(){var i,o=this.type;"checkbox"===o||"radio"===o?this.checked=e:"option"===this.tagName.toLowerCase()&&(i=t(this).parent("select"),e&&i[0]&&"select-one"===i[0].type&&i.find("option").selected(!1),this.selected=e)}))},t.fn.ajaxSubmit.debug=!1})?o.apply(e,s):o)||(t.exports=n)},61:function(t,e,i){"use strict";i.r(e);i(53),i(28),i(33),i(62),i(63)},62:function(t,e,i){(function(t){!function(t,e){"use strict";function i(t,i){var o=this;i=e.extend({},i),o.$element=t,o.options=i,o.$element.on("click","div.ccm-pagination-wrapper a",(function(t){t.preventDefault(),o.showLoader(),window.scrollTo(0,0),e.concreteAjax({loader:!1,dataType:"html",url:e(this).attr("href"),method:"get",success:function(t){o.$element.replaceWith(t)},complete:function(){o.hideLoader()}})})),o.$element.find(".dialog-launch").dialog()}i.prototype={showLoader:function(){this.$element.find(".ccm-block-desktop-draft-list-for-me-loader").removeClass("invisible")},hideLoader:function(){this.$element.find(".ccm-block-desktop-draft-list-for-me-loader").addClass("invisible")}},e.fn.concreteDraftList=function(t){return e.each(e(this),(function(o,s){new i(e(this),t)}))},t.ConcreteDraftList=i}(t,jQuery)}).call(this,i(5))},63:function(t,e,i){(function(t){!function(t,e){"use strict";function i(t,i){var o=this;i=e.extend({},i),o.$element=t,o.options=i,o.$element.on("click","[data-notification-action=archive]",(function(t){t.preventDefault();var i=e(this).closest("div[data-notification-alert-id]"),s=i.attr("data-notification-alert-id"),n=i.attr("data-token");e.ajax({url:CCM_DISPATCHER_FILENAME+"/ccm/system/notification/alert/archive",dataType:"json",data:{naID:s,ccm_token:n},type:"post"}),i.queue((function(){i.addClass("animated fadeOut"),i.dequeue()})).delay(500).queue((function(){i.remove(),i.dequeue(),o.handleEmpty()}))})),o.$element.on("change","div[data-form=notification] select",(function(t){e(this).closest("form").ajaxSubmit({dataType:"html",beforeSubmit:function(){o.showLoader()},success:function(t){e("div[data-wrapper=desktop-waiting-for-me]").replaceWith(t)},complete:function(){o.hideLoader()}})})),o.$element.on("click","div.ccm-pagination-wrapper a",(function(t){t.preventDefault(),o.showLoader(),window.scrollTo(0,0),e.concreteAjax({loader:!1,dataType:"html",url:e(this).attr("href"),method:"get",success:function(t){e("div[data-wrapper=desktop-waiting-for-me]").replaceWith(t)},complete:function(){o.hideLoader()}})})),o.$element.on("click","a[data-workflow-task]",(function(t){var i=e(this).attr("data-workflow-task"),s=e(this).closest("form"),n=e(this).closest("div[data-notification-alert-id]");t.preventDefault(),s.append('<input type="hidden" name="action_'+i+'" value="'+i+'">'),s.ajaxSubmit({dataType:"json",beforeSubmit:function(){o.showLoader()},success:function(t){n.addClass("animated fadeOut"),setTimeout((function(){n.remove(),o.handleEmpty()}),500)},complete:function(){o.hideLoader()}})})),o.$element.find(".dialog-launch").dialog()}i.prototype={handleEmpty:function(){this.$element.find("div[data-notification-alert-id]").length<1&&this.$element.find("[data-notification-description=empty]").show()},showLoader:function(){e("div[data-list=notification]").addClass("ccm-block-desktop-waiting-for-me-loading")},hideLoader:function(){e("div[data-list=notification]").removeClass()}},e.fn.concreteNotificationList=function(t){return e.each(e(this),(function(o,s){new i(e(this),t)}))},t.ConcreteNotificationList=i}(t,jQuery)}).call(this,i(5))},7:function(t,e,i){var o,s,n;
/*!
 * jQuery UI Widget 1.13.0
 * http://jqueryui.com
 *
 * Copyright jQuery Foundation and other contributors
 * Released under the MIT license.
 * http://jquery.org/license
 */!function(a){"use strict";s=[i(3),i(4)],void 0===(n="function"==typeof(o=function(t){var e=0,i=Array.prototype.hasOwnProperty,o=Array.prototype.slice;return t.cleanData=function(e){return function(i){var o,s,n;for(n=0;null!=(s=i[n]);n++)(o=t._data(s,"events"))&&o.remove&&t(s).triggerHandler("remove");e(i)}}(t.cleanData),t.widget=function(e,i,o){var s,n,a,r={},l=e.split(".")[0],h=l+"-"+(e=e.split(".")[1]);return o||(o=i,i=t.Widget),Array.isArray(o)&&(o=t.extend.apply(null,[{}].concat(o))),t.expr.pseudos[h.toLowerCase()]=function(e){return!!t.data(e,h)},t[l]=t[l]||{},s=t[l][e],n=t[l][e]=function(t,e){if(!this._createWidget)return new n(t,e);arguments.length&&this._createWidget(t,e)},t.extend(n,s,{version:o.version,_proto:t.extend({},o),_childConstructors:[]}),(a=new i).options=t.widget.extend({},a.options),t.each(o,(function(t,e){r[t]="function"==typeof e?function(){function o(){return i.prototype[t].apply(this,arguments)}function s(e){return i.prototype[t].apply(this,e)}return function(){var t,i=this._super,n=this._superApply;return this._super=o,this._superApply=s,t=e.apply(this,arguments),this._super=i,this._superApply=n,t}}():e})),n.prototype=t.widget.extend(a,{widgetEventPrefix:s&&a.widgetEventPrefix||e},r,{constructor:n,namespace:l,widgetName:e,widgetFullName:h}),s?(t.each(s._childConstructors,(function(e,i){var o=i.prototype;t.widget(o.namespace+"."+o.widgetName,n,i._proto)})),delete s._childConstructors):i._childConstructors.push(n),t.widget.bridge(e,n),n},t.widget.extend=function(e){for(var s,n,a=o.call(arguments,1),r=0,l=a.length;r<l;r++)for(s in a[r])n=a[r][s],i.call(a[r],s)&&void 0!==n&&(t.isPlainObject(n)?e[s]=t.isPlainObject(e[s])?t.widget.extend({},e[s],n):t.widget.extend({},n):e[s]=n);return e},t.widget.bridge=function(e,i){var s=i.prototype.widgetFullName||e;t.fn[e]=function(n){var a="string"==typeof n,r=o.call(arguments,1),l=this;return a?this.length||"instance"!==n?this.each((function(){var i,o=t.data(this,s);return"instance"===n?(l=o,!1):o?"function"!=typeof o[n]||"_"===n.charAt(0)?t.error("no such method '"+n+"' for "+e+" widget instance"):(i=o[n].apply(o,r))!==o&&void 0!==i?(l=i&&i.jquery?l.pushStack(i.get()):i,!1):void 0:t.error("cannot call methods on "+e+" prior to initialization; attempted to call method '"+n+"'")})):l=void 0:(r.length&&(n=t.widget.extend.apply(null,[n].concat(r))),this.each((function(){var e=t.data(this,s);e?(e.option(n||{}),e._init&&e._init()):t.data(this,s,new i(n,this))}))),l}},t.Widget=function(){},t.Widget._childConstructors=[],t.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{classes:{},disabled:!1,create:null},_createWidget:function(i,o){o=t(o||this.defaultElement||this)[0],this.element=t(o),this.uuid=e++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=t(),this.hoverable=t(),this.focusable=t(),this.classesElementLookup={},o!==this&&(t.data(o,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===o&&this.destroy()}}),this.document=t(o.style?o.ownerDocument:o.document||o),this.window=t(this.document[0].defaultView||this.document[0].parentWindow)),this.options=t.widget.extend({},this.options,this._getCreateOptions(),i),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:t.noop,_create:t.noop,_init:t.noop,destroy:function(){var e=this;this._destroy(),t.each(this.classesElementLookup,(function(t,i){e._removeClass(i,t)})),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:t.noop,widget:function(){return this.element},option:function(e,i){var o,s,n,a=e;if(0===arguments.length)return t.widget.extend({},this.options);if("string"==typeof e)if(a={},o=e.split("."),e=o.shift(),o.length){for(s=a[e]=t.widget.extend({},this.options[e]),n=0;n<o.length-1;n++)s[o[n]]=s[o[n]]||{},s=s[o[n]];if(e=o.pop(),1===arguments.length)return void 0===s[e]?null:s[e];s[e]=i}else{if(1===arguments.length)return void 0===this.options[e]?null:this.options[e];a[e]=i}return this._setOptions(a),this},_setOptions:function(t){var e;for(e in t)this._setOption(e,t[e]);return this},_setOption:function(t,e){return"classes"===t&&this._setOptionClasses(e),this.options[t]=e,"disabled"===t&&this._setOptionDisabled(e),this},_setOptionClasses:function(e){var i,o,s;for(i in e)s=this.classesElementLookup[i],e[i]!==this.options.classes[i]&&s&&s.length&&(o=t(s.get()),this._removeClass(s,i),o.addClass(this._classes({element:o,keys:i,classes:e,add:!0})))},_setOptionDisabled:function(t){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!t),t&&(this._removeClass(this.hoverable,null,"ui-state-hover"),this._removeClass(this.focusable,null,"ui-state-focus"))},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_classes:function(e){var i=[],o=this;function s(s,n){var a,r;for(r=0;r<s.length;r++)a=o.classesElementLookup[s[r]]||t(),e.add?(e.element.each((function(e,i){t.map(o.classesElementLookup,(function(t){return t})).some((function(t){return t.is(i)}))||o._on(t(i),{remove:"_untrackClassesElement"})})),a=t(t.uniqueSort(a.get().concat(e.element.get())))):a=t(a.not(e.element).get()),o.classesElementLookup[s[r]]=a,i.push(s[r]),n&&e.classes[s[r]]&&i.push(e.classes[s[r]])}return(e=t.extend({element:this.element,classes:this.options.classes||{}},e)).keys&&s(e.keys.match(/\S+/g)||[],!0),e.extra&&s(e.extra.match(/\S+/g)||[]),i.join(" ")},_untrackClassesElement:function(e){var i=this;t.each(i.classesElementLookup,(function(o,s){-1!==t.inArray(e.target,s)&&(i.classesElementLookup[o]=t(s.not(e.target).get()))})),this._off(t(e.target))},_removeClass:function(t,e,i){return this._toggleClass(t,e,i,!1)},_addClass:function(t,e,i){return this._toggleClass(t,e,i,!0)},_toggleClass:function(t,e,i,o){o="boolean"==typeof o?o:i;var s="string"==typeof t||null===t,n={extra:s?e:i,keys:s?t:e,element:s?this.element:t,add:o};return n.element.toggleClass(this._classes(n),o),this},_on:function(e,i,o){var s,n=this;"boolean"!=typeof e&&(o=i,i=e,e=!1),o?(i=s=t(i),this.bindings=this.bindings.add(i)):(o=i,i=this.element,s=this.widget()),t.each(o,(function(o,a){function r(){if(e||!0!==n.options.disabled&&!t(this).hasClass("ui-state-disabled"))return("string"==typeof a?n[a]:a).apply(n,arguments)}"string"!=typeof a&&(r.guid=a.guid=a.guid||r.guid||t.guid++);var l=o.match(/^([\w:-]*)\s*(.*)$/),h=l[1]+n.eventNamespace,c=l[2];c?s.on(h,c,r):i.on(h,r)}))},_off:function(e,i){i=(i||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,e.off(i),this.bindings=t(this.bindings.not(e).get()),this.focusable=t(this.focusable.not(e).get()),this.hoverable=t(this.hoverable.not(e).get())},_delay:function(t,e){var i=this;return setTimeout((function(){return("string"==typeof t?i[t]:t).apply(i,arguments)}),e||0)},_hoverable:function(e){this.hoverable=this.hoverable.add(e),this._on(e,{mouseenter:function(e){this._addClass(t(e.currentTarget),null,"ui-state-hover")},mouseleave:function(e){this._removeClass(t(e.currentTarget),null,"ui-state-hover")}})},_focusable:function(e){this.focusable=this.focusable.add(e),this._on(e,{focusin:function(e){this._addClass(t(e.currentTarget),null,"ui-state-focus")},focusout:function(e){this._removeClass(t(e.currentTarget),null,"ui-state-focus")}})},_trigger:function(e,i,o){var s,n,a=this.options[e];if(o=o||{},(i=t.Event(i)).type=(e===this.widgetEventPrefix?e:this.widgetEventPrefix+e).toLowerCase(),i.target=this.element[0],n=i.originalEvent)for(s in n)s in i||(i[s]=n[s]);return this.element.trigger(i,o),!("function"==typeof a&&!1===a.apply(this.element[0],[i].concat(o))||i.isDefaultPrevented())}},t.each({show:"fadeIn",hide:"fadeOut"},(function(e,i){t.Widget.prototype["_"+e]=function(o,s,n){var a;"string"==typeof s&&(s={effect:s});var r=s?!0===s||"number"==typeof s?i:s.effect||i:e;"number"==typeof(s=s||{})?s={duration:s}:!0===s&&(s={}),a=!t.isEmptyObject(s),s.complete=n,s.delay&&o.delay(s.delay),a&&t.effects&&t.effects.effect[r]?o[e](s):r!==e&&o[r]?o[r](s.duration,s.easing,n):o.queue((function(i){t(this)[e](),n&&n.call(o[0]),i()}))}})),t.widget})?o.apply(e,s):o)||(t.exports=n)}()}});