!function e(t,o,n){function i(r,s){if(!o[r]){if(!t[r]){var c="function"==typeof require&&require;if(!s&&c)return c(r,!0);if(a)return a(r,!0);var l=new Error("Cannot find module '"+r+"'");throw l.code="MODULE_NOT_FOUND",l}var m=o[r]={exports:{}};t[r][0].call(m.exports,(function(e){return i(t[r][1][e]||e)}),m,m.exports,e,t,o,n)}return o[r].exports}for(var a="function"==typeof require&&require,r=0;rthis.length&&(i=this.length),i<0&&(i+=this.length+1);var a,r,s=[],c=[],l=[],m=[],u={},d=t.add,h=t.merge,p=t.remove,g=!1,f=this.comparator&&null==i&&!1!==t.sort,b=o.isString(this.comparator)?this.comparator:null;for(r=0;r7),this._useHashChange=this._wantsHashChange&&this._hasHashChange,this._wantsPushState=!!this.options.pushState,this._hasPushState=!(!this.history||!this.history.pushState),this._usePushState=this._wantsPushState&&this._hasPushState,this.fragment=this.getFragment(),this.root=("/"+this.root+"/").replace(F,"/"),this._wantsHashChange&&this._wantsPushState){if(!this._hasPushState&&!this.atRoot()){var t=this.root.slice(0,-1)||"/";return this.location.replace(t+"#"+this.getPath()),!0}this._hasPushState&&this.atRoot()&&this.navigate(this.getHash(),{replace:!0})}if(!this._hasHashChange&&this._wantsHashChange&&!this._usePushState){this.iframe=document.createElement("iframe"),this.iframe.src="javascript:0",this.iframe.style.display="none",this.iframe.tabIndex=-1;var n=document.body,i=n.insertBefore(this.iframe,n.firstChild).contentWindow;i.document.open(),i.document.close(),i.location.hash="#"+this.fragment}var a=window.addEventListener||function(e,t){return attachEvent("on"+e,t)};if(this._usePushState?a("popstate",this.checkUrl,!1):this._useHashChange&&!this.iframe?a("hashchange",this.checkUrl,!1):this._wantsHashChange&&(this._checkUrlInterval=setInterval(this.checkUrl,this.interval)),!this.options.silent)return this.loadUrl()},stop:function(){var e=window.removeEventListener||function(e,t){return detachEvent("on"+e,t)};this._usePushState?e("popstate",this.checkUrl,!1):this._useHashChange&&!this.iframe&&e("hashchange",this.checkUrl,!1),this.iframe&&(document.body.removeChild(this.iframe),this.iframe=null),this._checkUrlInterval&&clearInterval(this._checkUrlInterval),I.started=!1},route:function(e,t){this.handlers.unshift({route:e,callback:t})},checkUrl:function(e){var t=this.getFragment();if(t===this.fragment&&this.iframe&&(t=this.getHash(this.iframe.contentWindow)),t===this.fragment)return!1;this.iframe&&this.navigate(t),this.loadUrl()},loadUrl:function(e){return!!this.matchRoot()&&(e=this.fragment=this.getFragment(e),o.some(this.handlers,(function(t){if(t.route.test(e))return t.callback(e),!0})))},navigate:function(e,t){if(!I.started)return!1;t&&!0!==t||(t={trigger:!!t}),e=this.getFragment(e||"");var o=this.root;""!==e&&"?"!==e.charAt(0)||(o=o.slice(0,-1)||"/");var n=o+e;e=e.replace(N,"");var i=this.decodeFragment(e);if(this.fragment!==i){if(this.fragment=i,this._usePushState)this.history[t.replace?"replaceState":"pushState"]({},document.title,n);else{if(!this._wantsHashChange)return this.location.assign(n);if(this._updateHash(this.location,e,t.replace),this.iframe&&e!==this.getHash(this.iframe.contentWindow)){var a=this.iframe.contentWindow;t.replace||(a.document.open(),a.document.close()),this._updateHash(a.location,e,t.replace)}}return t.trigger?this.loadUrl(e):void 0}},_updateHash:function(e,t,o){if(o){var n=e.href.replace(/(javascript:|#).*$/,"");e.replace(n+"#"+t)}else e.hash="#"+t}}),t.history=new I;b.extend=v.extend=V.extend=D.extend=I.extend=function(e,t){var n,i=this;return n=e&&o.has(e,"constructor")?e.constructor:function(){return i.apply(this,arguments)},o.extend(n,i,t),n.prototype=o.create(i.prototype,e),n.prototype.constructor=n,n.__super__=i.prototype,n};var O=function(){throw new Error('A "url" property or function must be specified')},L=function(e,t){var o=t.error;t.error=function(n){o&&o.call(t.context,e,n,t),e.trigger("error",e,n,t)}};return t}))}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{jquery:18,underscore:2}],2:[function(e,t,o){(function(e){!function(){var n="object"==typeof self&&self.self===self&&self||"object"==typeof e&&e.global===e&&e||this||{},i=n._,a=Array.prototype,r=Object.prototype,s="undefined"!=typeof Symbol?Symbol.prototype:null,c=a.push,l=a.slice,m=r.toString,u=r.hasOwnProperty,d=Array.isArray,h=Object.keys,p=Object.create,g=function(){},f=function(e){return e instanceof f?e:this instanceof f?void(this._wrapped=e):new f(e)};void 0===o||o.nodeType?n._=f:(void 0!==t&&!t.nodeType&&t.exports&&(o=t.exports=f),o._=f),f.VERSION="1.9.2";var b,v=function(e,t,o){if(void 0===t)return e;switch(null==o?3:o){case 1:return function(o){return e.call(t,o)};case 3:return function(o,n,i){return e.call(t,o,n,i)};case 4:return function(o,n,i,a){return e.call(t,o,n,i,a)}}return function(){return e.apply(t,arguments)}},k=function(e,t,o){return f.iteratee!==b?f.iteratee(e,t):null==e?f.identity:f.isFunction(e)?v(e,t,o):f.isObject(e)&&!f.isArray(e)?f.matcher(e):f.property(e)};f.iteratee=b=function(e,t){return k(e,t,1/0)};var w=function(e,t){return t=null==t?e.length-1:+t,function(){for(var o=Math.max(arguments.length-t,0),n=Array(o),i=0;i=0&&t<=_};f.each=f.forEach=function(e,t,o){var n,i;if(t=v(t,o),D(e))for(n=0,i=e.length;n0?0:r-1;for(i||(n=t[a?a[s]:s],s+=e);s>=0&&s=3;return t(e,v(o,i,4),n,a)}};f.reduce=f.foldl=f.inject=E(1),f.reduceRight=f.foldr=E(-1),f.find=f.detect=function(e,t,o){var n=(D(e)?f.findIndex:f.findKey)(e,t,o);if(void 0!==n&&-1!==n)return e[n]},f.filter=f.select=function(e,t,o){var n=[];return t=k(t,o),f.each(e,(function(e,o,i){t(e,o,i)&&n.push(e)})),n},f.reject=function(e,t,o){return f.filter(e,f.negate(k(t)),o)},f.every=f.all=function(e,t,o){t=k(t,o);for(var n=!D(e)&&f.keys(e),i=(n||e).length,a=0;a=0},f.invoke=w((function(e,t,o){var n,i;return f.isFunction(t)?i=t:f.isArray(t)&&(n=t.slice(0,-1),t=t[t.length-1]),f.map(e,(function(e){var a=i;if(!a){if(n&&n.length&&(e=x(e,n)),null==e)return;a=e[t]}return null==a?a:a.apply(e,o)}))})),f.pluck=function(e,t){return f.map(e,f.property(t))},f.where=function(e,t){return f.filter(e,f.matcher(t))},f.findWhere=function(e,t){return f.find(e,f.matcher(t))},f.max=function(e,t,o){var n,i,a=-1/0,r=-1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e)for(var s=0,c=(e=D(e)?e:f.values(e)).length;sa&&(a=n);else t=k(t,o),f.each(e,(function(e,o,n){((i=t(e,o,n))>r||i===-1/0&&a===-1/0)&&(a=e,r=i)}));return a},f.min=function(e,t,o){var n,i,a=1/0,r=1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e)for(var s=0,c=(e=D(e)?e:f.values(e)).length;sn||void 0===o)return 1;if(o0?0:i-1;a>=0&&a0?r=a>=0?a:Math.max(a+s,r):s=a>=0?Math.min(a+1,s):a+s+1;else if(o&&a&&s)return n[a=o(n,i)]===i?a:-1;if(i!=i)return(a=t(l.call(n,r,s),f.isNaN))>=0?a+r:-1;for(a=e>0?r:s-1;a>=0&&at?(n&&(clearTimeout(n),n=null),s=l,r=e.apply(i,a),n||(i=a=null)):n||!1===o.trailing||(n=setTimeout(c,m)),r};return l.cancel=function(){clearTimeout(n),s=0,n=i=a=null},l},f.debounce=function(e,t,o){var n,i,a=function(t,o){n=null,o&&(i=e.apply(t,o))},r=w((function(r){if(n&&clearTimeout(n),o){var s=!n;n=setTimeout(a,t),s&&(i=e.apply(this,r))}else n=f.delay(a,t,this,r);return i}));return r.cancel=function(){clearTimeout(n),n=null},r},f.wrap=function(e,t){return f.partial(t,e)},f.negate=function(e){return function(){return!e.apply(this,arguments)}},f.compose=function(){var e=arguments,t=e.length-1;return function(){for(var o=t,n=e[t].apply(this,arguments);o--;)n=e[o].call(this,n);return n}},f.after=function(e,t){return function(){if(--e<1)return t.apply(this,arguments)}},f.before=function(e,t){var o;return function(){return--e>0&&(o=t.apply(this,arguments)),e<=1&&(t=null),o}},f.once=f.partial(f.before,2),f.restArguments=w;var B=!{toString:null}.propertyIsEnumerable("toString"),R=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],G=function(e,t){var o=R.length,n=e.constructor,i=f.isFunction(n)&&n.prototype||r,a="constructor";for(A(e,a)&&!f.contains(t,a)&&t.push(a);o--;)(a=R[o])in e&&e[a]!==i[a]&&!f.contains(t,a)&&t.push(a)};f.keys=function(e){if(!f.isObject(e))return[];if(h)return h(e);var t=[];for(var o in e)A(e,o)&&t.push(o);return B&&G(e,t),t},f.allKeys=function(e){if(!f.isObject(e))return[];var t=[];for(var o in e)t.push(o);return B&&G(e,t),t},f.values=function(e){for(var t=f.keys(e),o=t.length,n=Array(o),i=0;i1&&(n=v(n,t[1])),t=f.allKeys(e)):(n=F,t=T(t,!1,!1),e=Object(e));for(var i=0,a=t.length;i1&&(o=t[1])):(t=f.map(T(t,!1,!1),String),n=function(e,o){return!f.contains(t,o)}),f.pick(e,n,o)})),f.defaults=H(f.allKeys,!0),f.create=function(e,t){var o=y(e);return t&&f.extendOwn(o,t),o},f.clone=function(e){return f.isObject(e)?f.isArray(e)?e.slice():f.extend({},e):e},f.tap=function(e,t){return t(e),e},f.isMatch=function(e,t){var o=f.keys(t),n=o.length;if(null==e)return!n;for(var i=Object(e),a=0;a":">",'"':""","'":"'","`":"`"},L=f.invert(O),U=function(e){var t=function(t){return e[t]},o="(?:"+f.keys(e).join("|")+")",n=RegExp(o),i=RegExp(o,"g");return function(e){return e=null==e?"":""+e,n.test(e)?e.replace(i,t):e}};f.escape=U(O),f.unescape=U(L),f.result=function(e,t,o){f.isArray(t)||(t=[t]);var n=t.length;if(!n)return f.isFunction(o)?o.call(e):o;for(var i=0;i/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var $=/(.)^/,K={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},Q=/\\|'|\r|\n|\u2028|\u2029/g,Z=function(e){return"\\"+K[e]};f.template=function(e,t,o){!t&&o&&(t=o),t=f.defaults({},t,f.templateSettings);var n,i=RegExp([(t.escape||$).source,(t.interpolate||$).source,(t.evaluate||$).source].join("|")+"|$","g"),a=0,r="__p+='";e.replace(i,(function(t,o,n,i,s){return r+=e.slice(a,s).replace(Q,Z),a=s+t.length,o?r+="'+\n((__t=("+o+"))==null?'':_.escape(__t))+\n'":n?r+="'+\n((__t=("+n+"))==null?'':__t)+\n'":i&&(r+="';\n"+i+"\n__p+='"),t})),r+="';\n",t.variable||(r="with(obj||{}){\n"+r+"}\n"),r="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+r+"return __p;\n";try{n=new Function(t.variable||"obj","_",r)}catch(e){throw e.source=r,e}var s=function(e){return n.call(this,e,f)},c=t.variable||"obj";return s.source="function("+c+"){\n"+r+"}",s},f.chain=function(e){var t=f(e);return t._chain=!0,t};var Y=function(e,t){return e._chain?f(t).chain():t};f.mixin=function(e){return f.each(f.functions(e),(function(t){var o=f[t]=e[t];f.prototype[t]=function(){var e=[this._wrapped];return c.apply(e,arguments),Y(this,o.apply(f,e))}})),f},f.mixin(f),f.each(["pop","push","reverse","shift","sort","splice","unshift"],(function(e){var t=a[e];f.prototype[e]=function(){var o=this._wrapped;return t.apply(o,arguments),"shift"!==e&&"splice"!==e||0!==o.length||delete o[0],Y(this,o)}})),f.each(["concat","join","slice"],(function(e){var t=a[e];f.prototype[e]=function(){return Y(this,t.apply(this._wrapped,arguments))}})),f.prototype.value=function(){return this._wrapped},f.prototype.valueOf=f.prototype.toJSON=f.prototype.value,f.prototype.toString=function(){return String(this._wrapped)},"function"==typeof define&&define.amd&&define("underscore",[],(function(){return f}))}()}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],3:[function(e,t,o){},{}],4:[function(e,t,o){var n=Object.create||function(e){var t=function(){};return t.prototype=e,new t},i=Object.keys||function(e){var t=[];for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.push(o);return o},a=Function.prototype.bind||function(e){var t=this;return function(){return t.apply(e,arguments)}};function r(){this._events&&Object.prototype.hasOwnProperty.call(this,"_events")||(this._events=n(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0}t.exports=r,r.EventEmitter=r,r.prototype._events=void 0,r.prototype._maxListeners=void 0;var s,c=10;try{var l={};Object.defineProperty&&Object.defineProperty(l,"x",{value:0}),s=0===l.x}catch(e){s=!1}function m(e){return void 0===e._maxListeners?r.defaultMaxListeners:e._maxListeners}function u(e,t,o){if(t)e.call(o);else for(var n=e.length,i=y(e,n),a=0;a0&&s.length>a){s.warned=!0;var c=new Error("Possible EventEmitter memory leak detected. "+s.length+' "'+String(t)+'" listeners added. Use emitter.setMaxListeners() to increase limit.');c.name="MaxListenersExceededWarning",c.emitter=e,c.type=t,c.count=s.length,"object"==typeof console&&console.warn&&console.warn("%s: %s",c.name,c.message)}}else s=r[t]=o,++e._eventsCount;return e}function b(){if(!this.fired)switch(this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length){case 0:return this.listener.call(this.target);case 1:return this.listener.call(this.target,arguments[0]);case 2:return this.listener.call(this.target,arguments[0],arguments[1]);case 3:return this.listener.call(this.target,arguments[0],arguments[1],arguments[2]);default:for(var e=new Array(arguments.length),t=0;t1&&(t=arguments[1]),t instanceof Error)throw t;var c=new Error('Unhandled "error" event. ('+t+")");throw c.context=t,c}if(!(o=r[e]))return!1;var l="function"==typeof o;switch(n=arguments.length){case 1:u(o,l,this);break;case 2:d(o,l,this,arguments[1]);break;case 3:h(o,l,this,arguments[1],arguments[2]);break;case 4:p(o,l,this,arguments[1],arguments[2],arguments[3]);break;default:for(i=new Array(n-1),a=1;a=0;r--)if(o[r]===t||o[r].listener===t){s=o[r].listener,a=r;break}if(a<0)return this;0===a?o.shift():function(e,t){for(var o=t,n=o+1,i=e.length;n=0;a--)this.removeListener(e,t[a]);return this},r.prototype.listeners=function(e){return k(this,e,!0)},r.prototype.rawListeners=function(e){return k(this,e,!1)},r.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):w.call(e,t)},r.prototype.listenerCount=w,r.prototype.eventNames=function(){return this._eventsCount>0?Reflect.ownKeys(this._events):[]}},{}],5:[function(e,t,o){"use strict";var n=function(e){};t.exports=function(e,t,o,i,a,r,s,c){if(n(t),!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var m=[o,i,a,r,s,c],u=0;(l=new Error(t.replace(/%s/g,(function(){return m[u++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}}},{}],6:[function(e,t,o){t.exports.Dispatcher=e("./lib/Dispatcher")},{"./lib/Dispatcher":7}],7:[function(e,t,o){(function(n){"use strict";o.__esModule=!0;var i=e("fbjs/lib/invariant"),a=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._callbacks={},this._isDispatching=!1,this._isHandled={},this._isPending={},this._lastID=1}return e.prototype.register=function(e){var t="ID_"+this._lastID++;return this._callbacks[t]=e,t},e.prototype.unregister=function(e){this._callbacks[e]||("production"!==n.env.NODE_ENV?i(!1,"Dispatcher.unregister(...): `%s` does not map to a registered callback.",e):i(!1)),delete this._callbacks[e]},e.prototype.waitFor=function(e){this._isDispatching||("production"!==n.env.NODE_ENV?i(!1,"Dispatcher.waitFor(...): Must be invoked while dispatching."):i(!1));for(var t=0;t",options:{classes:{},disabled:!1,create:null},_createWidget:function(t,n){n=e(n||this.defaultElement||this)[0],this.element=e(n),this.uuid=o++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=e(),this.hoverable=e(),this.focusable=e(),this.classesElementLookup={},n!==this&&(e.data(n,this.widgetFullName,this),this._on(!0,this.element,{remove:function(e){e.target===n&&this.destroy()}}),this.document=e(n.style?n.ownerDocument:n.document||n),this.window=e(this.document[0].defaultView||this.document[0].parentWindow)),this.options=e.widget.extend({},this.options,this._getCreateOptions(),t),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:e.noop,_create:e.noop,_init:e.noop,destroy:function(){var t=this;this._destroy(),e.each(this.classesElementLookup,(function(e,o){t._removeClass(o,e)})),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:e.noop,widget:function(){return this.element},option:function(t,o){var n,i,a,r=t;if(0===arguments.length)return e.widget.extend({},this.options);if("string"==typeof t)if(r={},n=t.split("."),t=n.shift(),n.length){for(i=r[t]=e.widget.extend({},this.options[t]),a=0;a0||(this.handle=this._getHandle(t),!this.handle||(this._blurActiveElement(t),this._blockFrames(!0===o.iframeFix?"iframe":o.iframeFix),0)))},_blockFrames:function(t){this.iframeBlocks=this.document.find(t).map((function(){var t=e(this);return e("
").css("position","absolute").appendTo(t.parent()).outerWidth(t.outerWidth()).outerHeight(t.outerHeight()).offset(t.offset())[0]}))},_unblockFrames:function(){this.iframeBlocks&&(this.iframeBlocks.remove(),delete this.iframeBlocks)},_blurActiveElement:function(t){var o=e.ui.safeActiveElement(this.document[0]);e(t.target).closest(o).length||e.ui.safeBlur(o)},_mouseStart:function(t){var o=this.options;return this.helper=this._createHelper(t),this._addClass(this.helper,"ui-draggable-dragging"),this._cacheHelperProportions(),e.ui.ddmanager&&(e.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"===e(this).css("position")})).length>0,this.positionAbs=this.element.offset(),this._refreshOffsets(t),this.originalPosition=this.position=this._generatePosition(t,!1),this.originalPageX=t.pageX,this.originalPageY=t.pageY,o.cursorAt&&this._adjustOffsetFromHelper(o.cursorAt),this._setContainment(),!1===this._trigger("start",t)?(this._clear(),!1):(this._cacheHelperProportions(),e.ui.ddmanager&&!o.dropBehaviour&&e.ui.ddmanager.prepareOffsets(this,t),this._mouseDrag(t,!0),e.ui.ddmanager&&e.ui.ddmanager.dragStart(this,t),!0)},_refreshOffsets:function(e){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:e.pageX-this.offset.left,top:e.pageY-this.offset.top}},_mouseDrag:function(t,o){if(this.hasFixedAncestor&&(this.offset.parent=this._getParentOffset()),this.position=this._generatePosition(t,!0),this.positionAbs=this._convertPositionTo("absolute"),!o){var n=this._uiHash();if(!1===this._trigger("drag",t,n))return this._mouseUp(new e.Event("mouseup",t)),!1;this.position=n.position}return this.helper[0].style.left=this.position.left+"px",this.helper[0].style.top=this.position.top+"px",e.ui.ddmanager&&e.ui.ddmanager.drag(this,t),!1},_mouseStop:function(t){var o=this,n=!1;return e.ui.ddmanager&&!this.options.dropBehaviour&&(n=e.ui.ddmanager.drop(this,t)),this.dropped&&(n=this.dropped,this.dropped=!1),"invalid"===this.options.revert&&!n||"valid"===this.options.revert&&n||!0===this.options.revert||e.isFunction(this.options.revert)&&this.options.revert.call(this.element,n)?e(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),(function(){!1!==o._trigger("stop",t)&&o._clear()})):!1!==this._trigger("stop",t)&&this._clear(),!1},_mouseUp:function(t){return this._unblockFrames(),e.ui.ddmanager&&e.ui.ddmanager.dragStop(this,t),this.handleElement.is(t.target)&&this.element.trigger("focus"),e.ui.mouse.prototype._mouseUp.call(this,t)},cancel:function(){return this.helper.is(".ui-draggable-dragging")?this._mouseUp(new e.Event("mouseup",{target:this.element[0]})):this._clear(),this},_getHandle:function(t){return!this.options.handle||!!e(t.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(t){var o=this.options,n=e.isFunction(o.helper),i=n?e(o.helper.apply(this.element[0],[t])):"clone"===o.helper?this.element.clone().removeAttr("id"):this.element;return i.parents("body").length||i.appendTo("parent"===o.appendTo?this.element[0].parentNode:o.appendTo),n&&i[0]===this.element[0]&&this._setPositionRelative(),i[0]===this.element[0]||/(fixed|absolute)/.test(i.css("position"))||i.css("position","absolute"),i},_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(" ")),e.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(e){return/(html|body)/i.test(e.tagName)||e===this.document[0]},_getParentOffset:function(){var t=this.offsetParent.offset(),o=this.document[0];return"absolute"===this.cssPosition&&this.scrollParent[0]!==o&&e.contains(this.scrollParent[0],this.offsetParent[0])&&(t.left+=this.scrollParent.scrollLeft(),t.top+=this.scrollParent.scrollTop()),this._isRootNode(this.offsetParent[0])&&(t={top:0,left:0}),{top:t.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:t.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if("relative"!==this.cssPosition)return{top:0,left:0};var e=this.element.position(),t=this._isRootNode(this.scrollParent[0]);return{top:e.top-(parseInt(this.helper.css("top"),10)||0)+(t?0:this.scrollParent.scrollTop()),left:e.left-(parseInt(this.helper.css("left"),10)||0)+(t?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 t,o,n,i=this.options,a=this.document[0];this.relativeContainer=null,i.containment?"window"!==i.containment?"document"!==i.containment?i.containment.constructor!==Array?("parent"===i.containment&&(i.containment=this.helper[0].parentNode),(n=(o=e(i.containment))[0])&&(t=/(scroll|auto)/.test(o.css("overflow")),this.containment=[(parseInt(o.css("borderLeftWidth"),10)||0)+(parseInt(o.css("paddingLeft"),10)||0),(parseInt(o.css("borderTopWidth"),10)||0)+(parseInt(o.css("paddingTop"),10)||0),(t?Math.max(n.scrollWidth,n.offsetWidth):n.offsetWidth)-(parseInt(o.css("borderRightWidth"),10)||0)-(parseInt(o.css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,(t?Math.max(n.scrollHeight,n.offsetHeight):n.offsetHeight)-(parseInt(o.css("borderBottomWidth"),10)||0)-(parseInt(o.css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top-this.margins.bottom],this.relativeContainer=o)):this.containment=i.containment:this.containment=[0,0,e(a).width()-this.helperProportions.width-this.margins.left,(e(a).height()||a.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]:this.containment=[e(window).scrollLeft()-this.offset.relative.left-this.offset.parent.left,e(window).scrollTop()-this.offset.relative.top-this.offset.parent.top,e(window).scrollLeft()+e(window).width()-this.helperProportions.width-this.margins.left,e(window).scrollTop()+(e(window).height()||a.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]:this.containment=null},_convertPositionTo:function(e,t){t||(t=this.position);var o="absolute"===e?1:-1,n=this._isRootNode(this.scrollParent[0]);return{top:t.top+this.offset.relative.top*o+this.offset.parent.top*o-("fixed"===this.cssPosition?-this.offset.scroll.top:n?0:this.offset.scroll.top)*o,left:t.left+this.offset.relative.left*o+this.offset.parent.left*o-("fixed"===this.cssPosition?-this.offset.scroll.left:n?0:this.offset.scroll.left)*o}},_generatePosition:function(e,t){var o,n,i,a,r=this.options,s=this._isRootNode(this.scrollParent[0]),c=e.pageX,l=e.pageY;return s&&this.offset.scroll||(this.offset.scroll={top:this.scrollParent.scrollTop(),left:this.scrollParent.scrollLeft()}),t&&(this.containment&&(this.relativeContainer?(n=this.relativeContainer.offset(),o=[this.containment[0]+n.left,this.containment[1]+n.top,this.containment[2]+n.left,this.containment[3]+n.top]):o=this.containment,e.pageX-this.offset.click.lefto[2]&&(c=o[2]+this.offset.click.left),e.pageY-this.offset.click.top>o[3]&&(l=o[3]+this.offset.click.top)),r.grid&&(i=r.grid[1]?this.originalPageY+Math.round((l-this.originalPageY)/r.grid[1])*r.grid[1]:this.originalPageY,l=o?i-this.offset.click.top>=o[1]||i-this.offset.click.top>o[3]?i:i-this.offset.click.top>=o[1]?i-r.grid[1]:i+r.grid[1]:i,a=r.grid[0]?this.originalPageX+Math.round((c-this.originalPageX)/r.grid[0])*r.grid[0]:this.originalPageX,c=o?a-this.offset.click.left>=o[0]||a-this.offset.click.left>o[2]?a:a-this.offset.click.left>=o[0]?a-r.grid[0]:a+r.grid[0]:a),"y"===r.axis&&(c=this.originalPageX),"x"===r.axis&&(l=this.originalPageY)),{top:l-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.offset.scroll.top:s?0:this.offset.scroll.top),left:c-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.offset.scroll.left:s?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(t,o,n){return n=n||this._uiHash(),e.ui.plugin.call(this,t,[o,n,this],!0),/^(drag|start|stop)/.test(t)&&(this.positionAbs=this._convertPositionTo("absolute"),n.offset=this.positionAbs),e.Widget.prototype._trigger.call(this,t,o,n)},plugins:{},_uiHash:function(){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}}),e.ui.plugin.add("draggable","connectToSortable",{start:function(t,o,n){var i=e.extend({},o,{item:n.element});n.sortables=[],e(n.options.connectToSortable).each((function(){var o=e(this).sortable("instance");o&&!o.options.disabled&&(n.sortables.push(o),o.refreshPositions(),o._trigger("activate",t,i))}))},stop:function(t,o,n){var i=e.extend({},o,{item:n.element});n.cancelHelperRemoval=!1,e.each(n.sortables,(function(){this.isOver?(this.isOver=0,n.cancelHelperRemoval=!0,this.cancelHelperRemoval=!1,this._storedCSS={position:this.placeholder.css("position"),top:this.placeholder.css("top"),left:this.placeholder.css("left")},this._mouseStop(t),this.options.helper=this.options._helper):(this.cancelHelperRemoval=!0,this._trigger("deactivate",t,i))}))},drag:function(t,o,n){e.each(n.sortables,(function(){var i=!1,a=this;a.positionAbs=n.positionAbs,a.helperProportions=n.helperProportions,a.offset.click=n.offset.click,a._intersectsWith(a.containerCache)&&(i=!0,e.each(n.sortables,(function(){return this.positionAbs=n.positionAbs,this.helperProportions=n.helperProportions,this.offset.click=n.offset.click,this!==a&&this._intersectsWith(this.containerCache)&&e.contains(a.element[0],this.element[0])&&(i=!1),i}))),i?(a.isOver||(a.isOver=1,n._parent=o.helper.parent(),a.currentItem=o.helper.appendTo(a.element).data("ui-sortable-item",!0),a.options._helper=a.options.helper,a.options.helper=function(){return o.helper[0]},t.target=a.currentItem[0],a._mouseCapture(t,!0),a._mouseStart(t,!0,!0),a.offset.click.top=n.offset.click.top,a.offset.click.left=n.offset.click.left,a.offset.parent.left-=n.offset.parent.left-a.offset.parent.left,a.offset.parent.top-=n.offset.parent.top-a.offset.parent.top,n._trigger("toSortable",t),n.dropped=a.element,e.each(n.sortables,(function(){this.refreshPositions()})),n.currentItem=n.element,a.fromOutside=n),a.currentItem&&(a._mouseDrag(t),o.position=a.position)):a.isOver&&(a.isOver=0,a.cancelHelperRemoval=!0,a.options._revert=a.options.revert,a.options.revert=!1,a._trigger("out",t,a._uiHash(a)),a._mouseStop(t,!0),a.options.revert=a.options._revert,a.options.helper=a.options._helper,a.placeholder&&a.placeholder.remove(),o.helper.appendTo(n._parent),n._refreshOffsets(t),o.position=n._generatePosition(t,!0),n._trigger("fromSortable",t),n.dropped=!1,e.each(n.sortables,(function(){this.refreshPositions()})))}))}}),e.ui.plugin.add("draggable","cursor",{start:function(t,o,n){var i=e("body"),a=n.options;i.css("cursor")&&(a._cursor=i.css("cursor")),i.css("cursor",a.cursor)},stop:function(t,o,n){var i=n.options;i._cursor&&e("body").css("cursor",i._cursor)}}),e.ui.plugin.add("draggable","opacity",{start:function(t,o,n){var i=e(o.helper),a=n.options;i.css("opacity")&&(a._opacity=i.css("opacity")),i.css("opacity",a.opacity)},stop:function(t,o,n){var i=n.options;i._opacity&&e(o.helper).css("opacity",i._opacity)}}),e.ui.plugin.add("draggable","scroll",{start:function(e,t,o){o.scrollParentNotHidden||(o.scrollParentNotHidden=o.helper.scrollParent(!1)),o.scrollParentNotHidden[0]!==o.document[0]&&"HTML"!==o.scrollParentNotHidden[0].tagName&&(o.overflowOffset=o.scrollParentNotHidden.offset())},drag:function(t,o,n){var i=n.options,a=!1,r=n.scrollParentNotHidden[0],s=n.document[0];r!==s&&"HTML"!==r.tagName?(i.axis&&"x"===i.axis||(n.overflowOffset.top+r.offsetHeight-t.pageY=0;d--)l=(c=n.snapElements[d].left-n.margins.left)+n.snapElements[d].width,u=(m=n.snapElements[d].top-n.margins.top)+n.snapElements[d].height,bl+g||ku+g||!e.contains(n.snapElements[d].item.ownerDocument,n.snapElements[d].item)?(n.snapElements[d].snapping&&n.options.snap.release&&n.options.snap.release.call(n.element,t,e.extend(n._uiHash(),{snapItem:n.snapElements[d].item})),n.snapElements[d].snapping=!1):("inner"!==p.snapMode&&(i=Math.abs(m-k)<=g,a=Math.abs(u-v)<=g,r=Math.abs(c-b)<=g,s=Math.abs(l-f)<=g,i&&(o.position.top=n._convertPositionTo("relative",{top:m-n.helperProportions.height,left:0}).top),a&&(o.position.top=n._convertPositionTo("relative",{top:u,left:0}).top),r&&(o.position.left=n._convertPositionTo("relative",{top:0,left:c-n.helperProportions.width}).left),s&&(o.position.left=n._convertPositionTo("relative",{top:0,left:l}).left)),h=i||a||r||s,"outer"!==p.snapMode&&(i=Math.abs(m-v)<=g,a=Math.abs(u-k)<=g,r=Math.abs(c-f)<=g,s=Math.abs(l-b)<=g,i&&(o.position.top=n._convertPositionTo("relative",{top:m,left:0}).top),a&&(o.position.top=n._convertPositionTo("relative",{top:u-n.helperProportions.height,left:0}).top),r&&(o.position.left=n._convertPositionTo("relative",{top:0,left:c}).left),s&&(o.position.left=n._convertPositionTo("relative",{top:0,left:l-n.helperProportions.width}).left)),!n.snapElements[d].snapping&&(i||a||r||s||h)&&n.options.snap.snap&&n.options.snap.snap.call(n.element,t,e.extend(n._uiHash(),{snapItem:n.snapElements[d].item})),n.snapElements[d].snapping=i||a||r||s||h)}}),e.ui.plugin.add("draggable","stack",{start:function(t,o,n){var i,a=n.options,r=e.makeArray(e(a.stack)).sort((function(t,o){return(parseInt(e(t).css("zIndex"),10)||0)-(parseInt(e(o).css("zIndex"),10)||0)}));r.length&&(i=parseInt(e(r[0]).css("zIndex"),10)||0,e(r).each((function(t){e(this).css("zIndex",i+t)})),this.css("zIndex",i+r.length))}}),e.ui.plugin.add("draggable","zIndex",{start:function(t,o,n){var i=e(o.helper),a=n.options;i.css("zIndex")&&(a._zIndex=i.css("zIndex")),i.css("zIndex",a.zIndex)},stop:function(t,o,n){var i=n.options;i._zIndex&&e(o.helper).css("zIndex",i._zIndex)}}),e.ui.draggable},"function"==typeof define&&define.amd?define(["jquery","./mouse","../data","../plugin","../safe-active-element","../safe-blur","../scroll-parent","../version","../widget"],n):n(jQuery)},{}],16:[function(e,t,o){ /*! * jQuery UI Mouse 1.12.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license */var n;n=function(e){var t=!1;return e(document).on("mouseup",(function(){t=!1})),e.widget("ui.mouse",{version:"1.12.1",options:{cancel:"input, textarea, button, select, option",distance:1,delay:0},_mouseInit:function(){var t=this;this.element.on("mousedown."+this.widgetName,(function(e){return t._mouseDown(e)})).on("click."+this.widgetName,(function(o){if(!0===e.data(o.target,t.widgetName+".preventClickEvent"))return e.removeData(o.target,t.widgetName+".preventClickEvent"),o.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(o){if(!t){this._mouseMoved=!1,this._mouseStarted&&this._mouseUp(o),this._mouseDownEvent=o;var n=this,i=1===o.which,a=!("string"!=typeof this.options.cancel||!o.target.nodeName)&&e(o.target).closest(this.options.cancel).length;return!(i&&!a&&this._mouseCapture(o)&&(this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout((function(){n.mouseDelayMet=!0}),this.options.delay)),this._mouseDistanceMet(o)&&this._mouseDelayMet(o)&&(this._mouseStarted=!1!==this._mouseStart(o),!this._mouseStarted)?(o.preventDefault(),0):(!0===e.data(o.target,this.widgetName+".preventClickEvent")&&e.removeData(o.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(e){return n._mouseMove(e)},this._mouseUpDelegate=function(e){return n._mouseUp(e)},this.document.on("mousemove."+this.widgetName,this._mouseMoveDelegate).on("mouseup."+this.widgetName,this._mouseUpDelegate),o.preventDefault(),t=!0,0)))}},_mouseMove:function(t){if(this._mouseMoved){if(e.ui.ie&&(!document.documentMode||document.documentMode<9)&&!t.button)return this._mouseUp(t);if(!t.which)if(t.originalEvent.altKey||t.originalEvent.ctrlKey||t.originalEvent.metaKey||t.originalEvent.shiftKey)this.ignoreMissingWhich=!0;else if(!this.ignoreMissingWhich)return this._mouseUp(t)}return(t.which||t.button)&&(this._mouseMoved=!0),this._mouseStarted?(this._mouseDrag(t),t.preventDefault()):(this._mouseDistanceMet(t)&&this._mouseDelayMet(t)&&(this._mouseStarted=!1!==this._mouseStart(this._mouseDownEvent,t),this._mouseStarted?this._mouseDrag(t):this._mouseUp(t)),!this._mouseStarted)},_mouseUp:function(o){this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,o.target===this._mouseDownEvent.target&&e.data(o.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(o)),this._mouseDelayTimer&&(clearTimeout(this._mouseDelayTimer),delete this._mouseDelayTimer),this.ignoreMissingWhich=!1,t=!1,o.preventDefault()},_mouseDistanceMet:function(e){return Math.max(Math.abs(this._mouseDownEvent.pageX-e.pageX),Math.abs(this._mouseDownEvent.pageY-e.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}})},"function"==typeof define&&define.amd?define(["jquery","../ie","../version","../widget"],n):n(jQuery)},{}],17:[function(e,t,o){ /*! * jQuery UI Sortable 1.12.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license */var n;n=function(e){return e.widget("ui.sortable",e.ui.mouse,{version:"1.12.1",widgetEventPrefix:"sort",ready:!1,options:{appendTo:"parent",axis:!1,connectWith:!1,containment:!1,cursor:"auto",cursorAt:!1,dropOnEmpty:!0,forcePlaceholderSize:!1,forceHelperSize:!1,grid:!1,handle:!1,helper:"original",items:"> *",opacity:!1,placeholder:!1,revert:!1,scroll:!0,scrollSensitivity:20,scrollSpeed:20,scope:"default",tolerance:"intersect",zIndex:1e3,activate:null,beforeStop:null,change:null,deactivate:null,out:null,over:null,receive:null,remove:null,sort:null,start:null,stop:null,update:null},_isOverAxis:function(e,t,o){return e>=t&&e=0;e--)this.items[e].item.removeData(this.widgetName+"-item");return this},_mouseCapture:function(t,o){var n=null,i=!1,a=this;return!(this.reverting||this.options.disabled||"static"===this.options.type||(this._refreshItems(t),e(t.target).parents().each((function(){if(e.data(this,a.widgetName+"-item")===a)return n=e(this),!1})),e.data(t.target,a.widgetName+"-item")===a&&(n=e(t.target)),!n||this.options.handle&&!o&&(e(this.options.handle,n).find("*").addBack().each((function(){this===t.target&&(i=!0)})),!i)||(this.currentItem=n,this._removeCurrentsFromItems(),0)))},_mouseStart:function(t,o,n){var i,a,r=this.options;if(this.currentContainer=this,this.refreshPositions(),this.helper=this._createHelper(t),this._cacheHelperProportions(),this._cacheMargins(),this.scrollParent=this.helper.scrollParent(),this.offset=this.currentItem.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},e.extend(this.offset,{click:{left:t.pageX-this.offset.left,top:t.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()}),this.helper.css("position","absolute"),this.cssPosition=this.helper.css("position"),this.originalPosition=this._generatePosition(t),this.originalPageX=t.pageX,this.originalPageY=t.pageY,r.cursorAt&&this._adjustOffsetFromHelper(r.cursorAt),this.domPosition={prev:this.currentItem.prev()[0],parent:this.currentItem.parent()[0]},this.helper[0]!==this.currentItem[0]&&this.currentItem.hide(),this._createPlaceholder(),r.containment&&this._setContainment(),r.cursor&&"auto"!==r.cursor&&(a=this.document.find("body"),this.storedCursor=a.css("cursor"),a.css("cursor",r.cursor),this.storedStylesheet=e("").appendTo(a)),r.opacity&&(this.helper.css("opacity")&&(this._storedOpacity=this.helper.css("opacity")),this.helper.css("opacity",r.opacity)),r.zIndex&&(this.helper.css("zIndex")&&(this._storedZIndex=this.helper.css("zIndex")),this.helper.css("zIndex",r.zIndex)),this.scrollParent[0]!==this.document[0]&&"HTML"!==this.scrollParent[0].tagName&&(this.overflowOffset=this.scrollParent.offset()),this._trigger("start",t,this._uiHash()),this._preserveHelperProportions||this._cacheHelperProportions(),!n)for(i=this.containers.length-1;i>=0;i--)this.containers[i]._trigger("activate",t,this._uiHash(this));return e.ui.ddmanager&&(e.ui.ddmanager.current=this),e.ui.ddmanager&&!r.dropBehaviour&&e.ui.ddmanager.prepareOffsets(this,t),this.dragging=!0,this._addClass(this.helper,"ui-sortable-helper"),this._mouseDrag(t),!0},_mouseDrag:function(t){var o,n,i,a,r=this.options,s=!1;for(this.position=this._generatePosition(t),this.positionAbs=this._convertPositionTo("absolute"),this.lastPositionAbs||(this.lastPositionAbs=this.positionAbs),this.options.scroll&&(this.scrollParent[0]!==this.document[0]&&"HTML"!==this.scrollParent[0].tagName?(this.overflowOffset.top+this.scrollParent[0].offsetHeight-t.pageY=0;o--)if(i=(n=this.items[o]).item[0],(a=this._intersectsWithPointer(n))&&n.instance===this.currentContainer&&!(i===this.currentItem[0]||this.placeholder[1===a?"next":"prev"]()[0]===i||e.contains(this.placeholder[0],i)||"semi-dynamic"===this.options.type&&e.contains(this.element[0],i))){if(this.direction=1===a?"down":"up","pointer"!==this.options.tolerance&&!this._intersectsWithSides(n))break;this._rearrange(t,n),this._trigger("change",t,this._uiHash());break}return this._contactContainers(t),e.ui.ddmanager&&e.ui.ddmanager.drag(this,t),this._trigger("sort",t,this._uiHash()),this.lastPositionAbs=this.positionAbs,!1},_mouseStop:function(t,o){if(t){if(e.ui.ddmanager&&!this.options.dropBehaviour&&e.ui.ddmanager.drop(this,t),this.options.revert){var n=this,i=this.placeholder.offset(),a=this.options.axis,r={};a&&"x"!==a||(r.left=i.left-this.offset.parent.left-this.margins.left+(this.offsetParent[0]===this.document[0].body?0:this.offsetParent[0].scrollLeft)),a&&"y"!==a||(r.top=i.top-this.offset.parent.top-this.margins.top+(this.offsetParent[0]===this.document[0].body?0:this.offsetParent[0].scrollTop)),this.reverting=!0,e(this.helper).animate(r,parseInt(this.options.revert,10)||500,(function(){n._clear(t)}))}else this._clear(t,o);return!1}},cancel:function(){if(this.dragging){this._mouseUp(new e.Event("mouseup",{target:null})),"original"===this.options.helper?(this.currentItem.css(this._storedCSS),this._removeClass(this.currentItem,"ui-sortable-helper")):this.currentItem.show();for(var t=this.containers.length-1;t>=0;t--)this.containers[t]._trigger("deactivate",null,this._uiHash(this)),this.containers[t].containerCache.over&&(this.containers[t]._trigger("out",null,this._uiHash(this)),this.containers[t].containerCache.over=0)}return this.placeholder&&(this.placeholder[0].parentNode&&this.placeholder[0].parentNode.removeChild(this.placeholder[0]),"original"!==this.options.helper&&this.helper&&this.helper[0].parentNode&&this.helper.remove(),e.extend(this,{helper:null,dragging:!1,reverting:!1,_noFinalSort:null}),this.domPosition.prev?e(this.domPosition.prev).after(this.currentItem):e(this.domPosition.parent).prepend(this.currentItem)),this},serialize:function(t){var o=this._getItemsAsjQuery(t&&t.connected),n=[];return t=t||{},e(o).each((function(){var o=(e(t.item||this).attr(t.attribute||"id")||"").match(t.expression||/(.+)[\-=_](.+)/);o&&n.push((t.key||o[1]+"[]")+"="+(t.key&&t.expression?o[1]:o[2]))})),!n.length&&t.key&&n.push(t.key+"="),n.join("&")},toArray:function(t){var o=this._getItemsAsjQuery(t&&t.connected),n=[];return t=t||{},o.each((function(){n.push(e(t.item||this).attr(t.attribute||"id")||"")})),n},_intersectsWith:function(e){var t=this.positionAbs.left,o=t+this.helperProportions.width,n=this.positionAbs.top,i=n+this.helperProportions.height,a=e.left,r=a+e.width,s=e.top,c=s+e.height,l=this.offset.click.top,m=this.offset.click.left,u="x"===this.options.axis||n+l>s&&n+la&&t+me[this.floating?"width":"height"]?h:a0?"down":"up")},_getDragHorizontalDirection:function(){var e=this.positionAbs.left-this.lastPositionAbs.left;return 0!==e&&(e>0?"right":"left")},refresh:function(e){return this._refreshItems(e),this._setHandleClassName(),this.refreshPositions(),this},_connectWith:function(){var e=this.options;return e.connectWith.constructor===String?[e.connectWith]:e.connectWith},_getItemsAsjQuery:function(t){var o,n,i,a,r=[],s=[],c=this._connectWith();if(c&&t)for(o=c.length-1;o>=0;o--)for(n=(i=e(c[o],this.document[0])).length-1;n>=0;n--)(a=e.data(i[n],this.widgetFullName))&&a!==this&&!a.options.disabled&&s.push([e.isFunction(a.options.items)?a.options.items.call(a.element):e(a.options.items,a.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),a]);function l(){r.push(this)}for(s.push([e.isFunction(this.options.items)?this.options.items.call(this.element,null,{options:this.options,item:this.currentItem}):e(this.options.items,this.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),this]),o=s.length-1;o>=0;o--)s[o][0].each(l);return e(r)},_removeCurrentsFromItems:function(){var t=this.currentItem.find(":data("+this.widgetName+"-item)");this.items=e.grep(this.items,(function(e){for(var o=0;o=0;o--)for(n=(i=e(d[o],this.document[0])).length-1;n>=0;n--)(a=e.data(i[n],this.widgetFullName))&&a!==this&&!a.options.disabled&&(u.push([e.isFunction(a.options.items)?a.options.items.call(a.element[0],t,{item:this.currentItem}):e(a.options.items,a.element),a]),this.containers.push(a));for(o=u.length-1;o>=0;o--)for(r=u[o][1],n=0,l=(s=u[o][0]).length;n=0;o--)(n=this.items[o]).instance!==this.currentContainer&&this.currentContainer&&n.item[0]!==this.currentItem[0]||(i=this.options.toleranceElement?e(this.options.toleranceElement,n.item):n.item,t||(n.width=i.outerWidth(),n.height=i.outerHeight()),a=i.offset(),n.left=a.left,n.top=a.top);if(this.options.custom&&this.options.custom.refreshContainers)this.options.custom.refreshContainers.call(this);else for(o=this.containers.length-1;o>=0;o--)a=this.containers[o].element.offset(),this.containers[o].containerCache.left=a.left,this.containers[o].containerCache.top=a.top,this.containers[o].containerCache.width=this.containers[o].element.outerWidth(),this.containers[o].containerCache.height=this.containers[o].element.outerHeight();return this},_createPlaceholder:function(t){var o,n=(t=t||this).options;n.placeholder&&n.placeholder.constructor!==String||(o=n.placeholder,n.placeholder={element:function(){var n=t.currentItem[0].nodeName.toLowerCase(),i=e("<"+n+">",t.document[0]);return t._addClass(i,"ui-sortable-placeholder",o||t.currentItem[0].className)._removeClass(i,"ui-sortable-helper"),"tbody"===n?t._createTrPlaceholder(t.currentItem.find("tr").eq(0),e("",t.document[0]).appendTo(i)):"tr"===n?t._createTrPlaceholder(t.currentItem,i):"img"===n&&i.attr("src",t.currentItem.attr("src")),o||i.css("visibility","hidden"),i},update:function(e,i){o&&!n.forcePlaceholderSize||(i.height()||i.height(t.currentItem.innerHeight()-parseInt(t.currentItem.css("paddingTop")||0,10)-parseInt(t.currentItem.css("paddingBottom")||0,10)),i.width()||i.width(t.currentItem.innerWidth()-parseInt(t.currentItem.css("paddingLeft")||0,10)-parseInt(t.currentItem.css("paddingRight")||0,10)))}}),t.placeholder=e(n.placeholder.element.call(t.element,t.currentItem)),t.currentItem.after(t.placeholder),n.placeholder.update(t,t.placeholder)},_createTrPlaceholder:function(t,o){var n=this;t.children().each((function(){e(" ",n.document[0]).attr("colspan",e(this).attr("colspan")||1).appendTo(o)}))},_contactContainers:function(t){var o,n,i,a,r,s,c,l,m,u,d=null,h=null;for(o=this.containers.length-1;o>=0;o--)if(!e.contains(this.currentItem[0],this.containers[o].element[0]))if(this._intersectsWith(this.containers[o].containerCache)){if(d&&e.contains(this.containers[o].element[0],d.element[0]))continue;d=this.containers[o],h=o}else this.containers[o].containerCache.over&&(this.containers[o]._trigger("out",t,this._uiHash(this)),this.containers[o].containerCache.over=0);if(d)if(1===this.containers.length)this.containers[h].containerCache.over||(this.containers[h]._trigger("over",t,this._uiHash(this)),this.containers[h].containerCache.over=1);else{for(i=1e4,a=null,r=(m=d.floating||this._isFloating(this.currentItem))?"left":"top",s=m?"width":"height",u=m?"pageX":"pageY",n=this.items.length-1;n>=0;n--)e.contains(this.containers[h].element[0],this.items[n].item[0])&&this.items[n].item[0]!==this.currentItem[0]&&(c=this.items[n].item.offset()[r],l=!1,t[u]-c>this.items[n][s]/2&&(l=!0),Math.abs(t[u]-c)this.containment[2]&&(a=this.containment[2]+this.offset.click.left),t.pageY-this.offset.click.top>this.containment[3]&&(r=this.containment[3]+this.offset.click.top)),i.grid&&(o=this.originalPageY+Math.round((r-this.originalPageY)/i.grid[1])*i.grid[1],r=this.containment?o-this.offset.click.top>=this.containment[1]&&o-this.offset.click.top<=this.containment[3]?o:o-this.offset.click.top>=this.containment[1]?o-i.grid[1]:o+i.grid[1]:o,n=this.originalPageX+Math.round((a-this.originalPageX)/i.grid[0])*i.grid[0],a=this.containment?n-this.offset.click.left>=this.containment[0]&&n-this.offset.click.left<=this.containment[2]?n:n-this.offset.click.left>=this.containment[0]?n-i.grid[0]:n+i.grid[0]:n)),{top:r-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.scrollParent.scrollTop():c?0:s.scrollTop()),left:a-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():c?0:s.scrollLeft())}},_rearrange:function(e,t,o,n){o?o[0].appendChild(this.placeholder[0]):t.item[0].parentNode.insertBefore(this.placeholder[0],"down"===this.direction?t.item[0]:t.item[0].nextSibling),this.counter=this.counter?++this.counter:1;var i=this.counter;this._delay((function(){i===this.counter&&this.refreshPositions(!n)}))},_clear:function(e,t){this.reverting=!1;var o,n=[];if(!this._noFinalSort&&this.currentItem.parent().length&&this.placeholder.before(this.currentItem),this._noFinalSort=null,this.helper[0]===this.currentItem[0]){for(o in this._storedCSS)"auto"!==this._storedCSS[o]&&"static"!==this._storedCSS[o]||(this._storedCSS[o]="");this.currentItem.css(this._storedCSS),this._removeClass(this.currentItem,"ui-sortable-helper")}else this.currentItem.show();function i(e,t,o){return function(n){o._trigger(e,n,t._uiHash(t))}}for(this.fromOutside&&!t&&n.push((function(e){this._trigger("receive",e,this._uiHash(this.fromOutside))})),!this.fromOutside&&this.domPosition.prev===this.currentItem.prev().not(".ui-sortable-helper")[0]&&this.domPosition.parent===this.currentItem.parent()[0]||t||n.push((function(e){this._trigger("update",e,this._uiHash())})),this!==this.currentContainer&&(t||(n.push((function(e){this._trigger("remove",e,this._uiHash())})),n.push(function(e){return function(t){e._trigger("receive",t,this._uiHash(this))}}.call(this,this.currentContainer)),n.push(function(e){return function(t){e._trigger("update",t,this._uiHash(this))}}.call(this,this.currentContainer)))),o=this.containers.length-1;o>=0;o--)t||n.push(i("deactivate",this,this.containers[o])),this.containers[o].containerCache.over&&(n.push(i("out",this,this.containers[o])),this.containers[o].containerCache.over=0);if(this.storedCursor&&(this.document.find("body").css("cursor",this.storedCursor),this.storedStylesheet.remove()),this._storedOpacity&&this.helper.css("opacity",this._storedOpacity),this._storedZIndex&&this.helper.css("zIndex","auto"===this._storedZIndex?"":this._storedZIndex),this.dragging=!1,t||this._trigger("beforeStop",e,this._uiHash()),this.placeholder[0].parentNode.removeChild(this.placeholder[0]),this.cancelHelperRemoval||(this.helper[0]!==this.currentItem[0]&&this.helper.remove(),this.helper=null),!t){for(o=0;o0&&t-1 in e)}w.fn=w.prototype={jquery:"3.5.0",constructor:w,length:0,toArray:function(){return i.call(this)},get:function(e){return null==e?i.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=w.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return w.each(this,e)},map:function(e){return this.pushStack(w.map(this,(function(t,o){return e.call(t,o,t)})))},slice:function(){return this.pushStack(i.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(w.grep(this,(function(e,t){return(t+1)%2})))},odd:function(){return this.pushStack(w.grep(this,(function(e,t){return t%2})))},eq:function(e){var t=this.length,o=+e+(e<0?t:0);return this.pushStack(o>=0&&o+~]|"+G+")"+G+"*"),U=new RegExp(G+"|>"),W=new RegExp(P),$=new RegExp("^"+H+"$"),K={ID:new RegExp("^#("+H+")"),CLASS:new RegExp("^\\.("+H+")"),TAG:new RegExp("^("+H+"|[*])"),ATTR:new RegExp("^"+I),PSEUDO:new RegExp("^"+P),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+G+"*(even|odd|(([+-]|)(\\d*)n|)"+G+"*(?:([+-]|)"+G+"*(\\d+)|))"+G+"*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+G+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+G+"*((?:-\\d)?\\d*)"+G+"*\\)|)(?=[^-]|$)","i")},Q=/HTML$/i,Z=/^(?:input|select|textarea|button)$/i,Y=/^h\d$/i,J=/^[^{]+\{\s*\[native \w/,X=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}"+G+"?|\\\\([^\\r\\n\\f])","g"),oe=function(e,t){var o="0x"+e.slice(1)-65536;return t||(o<0?String.fromCharCode(o+65536):String.fromCharCode(o>>10|55296,1023&o|56320))},ne=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},ae=function(){d()},re=we((function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()}),{dir:"parentNode",next:"legend"});try{q.apply(z=V.call(y.childNodes),y.childNodes),z[y.childNodes.length].nodeType}catch(e){q={apply:z.length?function(e,t){S.apply(e,V.call(t))}:function(e,t){for(var o=e.length,n=0;e[o++]=t[n++];);e.length=o-1}}}function se(e,t,n,i){var a,s,l,m,u,p,b,v=t&&t.ownerDocument,y=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==y&&9!==y&&11!==y)return n;if(!i&&(d(t),t=t||h,g)){if(11!==y&&(u=X.exec(e)))if(a=u[1]){if(9===y){if(!(l=t.getElementById(a)))return n;if(l.id===a)return n.push(l),n}else if(v&&(l=v.getElementById(a))&&k(t,l)&&l.id===a)return n.push(l),n}else{if(u[2])return q.apply(n,t.getElementsByTagName(e)),n;if((a=u[3])&&o.getElementsByClassName&&t.getElementsByClassName)return q.apply(n,t.getElementsByClassName(a)),n}if(o.qsa&&!D[e+" "]&&(!f||!f.test(e))&&(1!==y||"object"!==t.nodeName.toLowerCase())){if(b=e,v=t,1===y&&(U.test(e)||L.test(e))){for((v=ee.test(e)&&be(t.parentNode)||t)===t&&o.scope||((m=t.getAttribute("id"))?m=m.replace(ne,ie):t.setAttribute("id",m=w)),s=(p=r(e)).length;s--;)p[s]=(m?"#"+m:":scope")+" "+ke(p[s]);b=p.join(",")}try{return q.apply(n,v.querySelectorAll(b)),n}catch(t){D(e,!0)}finally{m===w&&t.removeAttribute("id")}}}return c(e.replace(N,"$1"),t,n,i)}function ce(){var e=[];return function t(o,i){return e.push(o+" ")>n.cacheLength&&delete t[e.shift()],t[o+" "]=i}}function le(e){return e[w]=!0,e}function me(e){var t=h.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function ue(e,t){for(var o=e.split("|"),i=o.length;i--;)n.attrHandle[o[i]]=t}function de(e,t){var o=t&&e,n=o&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(n)return n;if(o)for(;o=o.nextSibling;)if(o===t)return-1;return e?1:-1}function he(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function pe(e){return function(t){var o=t.nodeName.toLowerCase();return("input"===o||"button"===o)&&t.type===e}}function ge(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&re(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function fe(e){return le((function(t){return t=+t,le((function(o,n){for(var i,a=e([],o.length,t),r=a.length;r--;)o[i=a[r]]&&(o[i]=!(n[i]=o[i]))}))}))}function be(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in o=se.support={},a=se.isXML=function(e){var t=e.namespaceURI,o=(e.ownerDocument||e).documentElement;return!Q.test(t||o&&o.nodeName||"HTML")},d=se.setDocument=function(e){var t,i,r=e?e.ownerDocument||e:y;return r!=h&&9===r.nodeType&&r.documentElement?(p=(h=r).documentElement,g=!a(h),y!=h&&(i=h.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",ae,!1):i.attachEvent&&i.attachEvent("onunload",ae)),o.scope=me((function(e){return p.appendChild(e).appendChild(h.createElement("div")),void 0!==e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length})),o.attributes=me((function(e){return e.className="i",!e.getAttribute("className")})),o.getElementsByTagName=me((function(e){return e.appendChild(h.createComment("")),!e.getElementsByTagName("*").length})),o.getElementsByClassName=J.test(h.getElementsByClassName),o.getById=me((function(e){return p.appendChild(e).id=w,!h.getElementsByName||!h.getElementsByName(w).length})),o.getById?(n.filter.ID=function(e){var t=e.replace(te,oe);return function(e){return e.getAttribute("id")===t}},n.find.ID=function(e,t){if(void 0!==t.getElementById&&g){var o=t.getElementById(e);return o?[o]:[]}}):(n.filter.ID=function(e){var t=e.replace(te,oe);return function(e){var o=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return o&&o.value===t}},n.find.ID=function(e,t){if(void 0!==t.getElementById&&g){var o,n,i,a=t.getElementById(e);if(a){if((o=a.getAttributeNode("id"))&&o.value===e)return[a];for(i=t.getElementsByName(e),n=0;a=i[n++];)if((o=a.getAttributeNode("id"))&&o.value===e)return[a]}return[]}}),n.find.TAG=o.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):o.qsa?t.querySelectorAll(e):void 0}:function(e,t){var o,n=[],i=0,a=t.getElementsByTagName(e);if("*"===e){for(;o=a[i++];)1===o.nodeType&&n.push(o);return n}return a},n.find.CLASS=o.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&g)return t.getElementsByClassName(e)},b=[],f=[],(o.qsa=J.test(h.querySelectorAll))&&(me((function(e){var t;p.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&f.push("[*^$]="+G+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||f.push("\\["+G+"*(?:value|"+R+")"),e.querySelectorAll("[id~="+w+"-]").length||f.push("~="),(t=h.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||f.push("\\["+G+"*name"+G+"*="+G+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||f.push(":checked"),e.querySelectorAll("a#"+w+"+*").length||f.push(".#.+[+~]"),e.querySelectorAll("\\\f"),f.push("[\\r\\n\\f]")})),me((function(e){e.innerHTML="";var t=h.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&f.push("name"+G+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&f.push(":enabled",":disabled"),p.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&f.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),f.push(",.*:")}))),(o.matchesSelector=J.test(v=p.matches||p.webkitMatchesSelector||p.mozMatchesSelector||p.oMatchesSelector||p.msMatchesSelector))&&me((function(e){o.disconnectedMatch=v.call(e,"*"),v.call(e,"[s!='']:x"),b.push("!=",P)})),f=f.length&&new RegExp(f.join("|")),b=b.length&&new RegExp(b.join("|")),t=J.test(p.compareDocumentPosition),k=t||J.test(p.contains)?function(e,t){var o=9===e.nodeType?e.documentElement:e,n=t&&t.parentNode;return e===n||!(!n||1!==n.nodeType||!(o.contains?o.contains(n):e.compareDocumentPosition&&16&e.compareDocumentPosition(n)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},E=t?function(e,t){if(e===t)return u=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!o.sortDetached&&t.compareDocumentPosition(e)===n?e==h||e.ownerDocument==y&&k(y,e)?-1:t==h||t.ownerDocument==y&&k(y,t)?1:m?B(m,e)-B(m,t):0:4&n?-1:1)}:function(e,t){if(e===t)return u=!0,0;var o,n=0,i=e.parentNode,a=t.parentNode,r=[e],s=[t];if(!i||!a)return e==h?-1:t==h?1:i?-1:a?1:m?B(m,e)-B(m,t):0;if(i===a)return de(e,t);for(o=e;o=o.parentNode;)r.unshift(o);for(o=t;o=o.parentNode;)s.unshift(o);for(;r[n]===s[n];)n++;return n?de(r[n],s[n]):r[n]==y?-1:s[n]==y?1:0},h):h},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if(d(e),o.matchesSelector&&g&&!D[t+" "]&&(!b||!b.test(t))&&(!f||!f.test(t)))try{var n=v.call(e,t);if(n||o.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){D(t,!0)}return se(t,h,null,[e]).length>0},se.contains=function(e,t){return(e.ownerDocument||e)!=h&&d(e),k(e,t)},se.attr=function(e,t){(e.ownerDocument||e)!=h&&d(e);var i=n.attrHandle[t.toLowerCase()],a=i&&j.call(n.attrHandle,t.toLowerCase())?i(e,t,!g):void 0;return void 0!==a?a:o.attributes||!g?e.getAttribute(t):(a=e.getAttributeNode(t))&&a.specified?a.value:null},se.escape=function(e){return(e+"").replace(ne,ie)},se.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},se.uniqueSort=function(e){var t,n=[],i=0,a=0;if(u=!o.detectDuplicates,m=!o.sortStable&&e.slice(0),e.sort(E),u){for(;t=e[a++];)t===e[a]&&(i=n.push(a));for(;i--;)e.splice(n[i],1)}return m=null,e},i=se.getText=function(e){var t,o="",n=0,a=e.nodeType;if(a){if(1===a||9===a||11===a){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)o+=i(e)}else if(3===a||4===a)return e.nodeValue}else for(;t=e[n++];)o+=i(t);return o},(n=se.selectors={cacheLength:50,createPseudo:le,match:K,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,oe),e[3]=(e[3]||e[4]||e[5]||"").replace(te,oe),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,o=!e[6]&&e[2];return K.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":o&&W.test(o)&&(t=r(o,!0))&&(t=o.indexOf(")",o.length-t)-o.length)&&(e[0]=e[0].slice(0,t),e[2]=o.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,oe).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=x[e+" "];return t||(t=new RegExp("(^|"+G+")"+e+"("+G+"|$)"))&&x(e,(function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")}))},ATTR:function(e,t,o){return function(n){var i=se.attr(n,e);return null==i?"!="===t:!t||(i+="","="===t?i===o:"!="===t?i!==o:"^="===t?o&&0===i.indexOf(o):"*="===t?o&&i.indexOf(o)>-1:"$="===t?o&&i.slice(-o.length)===o:"~="===t?(" "+i.replace(F," ")+" ").indexOf(o)>-1:"|="===t&&(i===o||i.slice(0,o.length+1)===o+"-"))}},CHILD:function(e,t,o,n,i){var a="nth"!==e.slice(0,3),r="last"!==e.slice(-4),s="of-type"===t;return 1===n&&0===i?function(e){return!!e.parentNode}:function(t,o,c){var l,m,u,d,h,p,g=a!==r?"nextSibling":"previousSibling",f=t.parentNode,b=s&&t.nodeName.toLowerCase(),v=!c&&!s,k=!1;if(f){if(a){for(;g;){for(d=t;d=d[g];)if(s?d.nodeName.toLowerCase()===b:1===d.nodeType)return!1;p=g="only"===e&&!p&&"nextSibling"}return!0}if(p=[r?f.firstChild:f.lastChild],r&&v){for(k=(h=(l=(m=(u=(d=f)[w]||(d[w]={}))[d.uniqueID]||(u[d.uniqueID]={}))[e]||[])[0]===C&&l[1])&&l[2],d=h&&f.childNodes[h];d=++h&&d&&d[g]||(k=h=0)||p.pop();)if(1===d.nodeType&&++k&&d===t){m[e]=[C,h,k];break}}else if(v&&(k=h=(l=(m=(u=(d=t)[w]||(d[w]={}))[d.uniqueID]||(u[d.uniqueID]={}))[e]||[])[0]===C&&l[1]),!1===k)for(;(d=++h&&d&&d[g]||(k=h=0)||p.pop())&&((s?d.nodeName.toLowerCase()!==b:1!==d.nodeType)||!++k||(v&&((m=(u=d[w]||(d[w]={}))[d.uniqueID]||(u[d.uniqueID]={}))[e]=[C,k]),d!==t)););return(k-=i)===n||k%n==0&&k/n>=0}}},PSEUDO:function(e,t){var o,i=n.pseudos[e]||n.setFilters[e.toLowerCase()]||se.error("unsupported pseudo: "+e);return i[w]?i(t):i.length>1?(o=[e,e,"",t],n.setFilters.hasOwnProperty(e.toLowerCase())?le((function(e,o){for(var n,a=i(e,t),r=a.length;r--;)e[n=B(e,a[r])]=!(o[n]=a[r])})):function(e){return i(e,0,o)}):i}},pseudos:{not:le((function(e){var t=[],o=[],n=s(e.replace(N,"$1"));return n[w]?le((function(e,t,o,i){for(var a,r=n(e,null,i,[]),s=e.length;s--;)(a=r[s])&&(e[s]=!(t[s]=a))})):function(e,i,a){return t[0]=e,n(t,null,a,o),t[0]=null,!o.pop()}})),has:le((function(e){return function(t){return se(e,t).length>0}})),contains:le((function(e){return e=e.replace(te,oe),function(t){return(t.textContent||i(t)).indexOf(e)>-1}})),lang:le((function(e){return $.test(e||"")||se.error("unsupported lang: "+e),e=e.replace(te,oe).toLowerCase(),function(t){var o;do{if(o=g?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(o=o.toLowerCase())===e||0===o.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}})),target:function(t){var o=e.location&&e.location.hash;return o&&o.slice(1)===t.id},root:function(e){return e===p},focus:function(e){return e===h.activeElement&&(!h.hasFocus||h.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:ge(!1),disabled:ge(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!n.pseudos.empty(e)},header:function(e){return Y.test(e.nodeName)},input:function(e){return Z.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:fe((function(){return[0]})),last:fe((function(e,t){return[t-1]})),eq:fe((function(e,t,o){return[o<0?o+t:o]})),even:fe((function(e,t){for(var o=0;ot?t:o;--n>=0;)e.push(n);return e})),gt:fe((function(e,t,o){for(var n=o<0?o+t:o;++n1?function(t,o,n){for(var i=e.length;i--;)if(!e[i](t,o,n))return!1;return!0}:e[0]}function Ce(e,t,o,n,i){for(var a,r=[],s=0,c=e.length,l=null!=t;s-1&&(a[l]=!(r[l]=u))}}else b=Ce(b===r?b.splice(p,b.length):b),i?i(null,r,b,c):q.apply(r,b)}))}function xe(e){for(var t,o,i,a=e.length,r=n.relative[e[0].type],s=r||n.relative[" "],c=r?1:0,m=we((function(e){return e===t}),s,!0),u=we((function(e){return B(t,e)>-1}),s,!0),d=[function(e,o,n){var i=!r&&(n||o!==l)||((t=o).nodeType?m(e,o,n):u(e,o,n));return t=null,i}];c1&&ye(d),c>1&&ke(e.slice(0,c-1).concat({value:" "===e[c-2].type?"*":""})).replace(N,"$1"),o,c0,i=e.length>0,a=function(a,r,s,c,m){var u,p,f,b=0,v="0",k=a&&[],w=[],y=l,A=a||i&&n.find.TAG("*",m),x=C+=null==y?1:Math.random()||.1,_=A.length;for(m&&(l=r==h||r||m);v!==_&&null!=(u=A[v]);v++){if(i&&u){for(p=0,r||u.ownerDocument==h||(d(u),s=!g);f=e[p++];)if(f(u,r||h,s)){c.push(u);break}m&&(C=x)}o&&((u=!f&&u)&&b--,a&&k.push(u))}if(b+=v,o&&v!==b){for(p=0;f=t[p++];)f(k,w,r,s);if(a){if(b>0)for(;v--;)k[v]||w[v]||(w[v]=T.call(c));w=Ce(w)}q.apply(c,w),m&&!a&&w.length>0&&b+t.length>1&&se.uniqueSort(c)}return m&&(C=x,l=y),k};return o?le(a):a}(a,i))).selector=e}return s},c=se.select=function(e,t,o,i){var a,c,l,m,u,d="function"==typeof e&&e,h=!i&&r(e=d.selector||e);if(o=o||[],1===h.length){if((c=h[0]=h[0].slice(0)).length>2&&"ID"===(l=c[0]).type&&9===t.nodeType&&g&&n.relative[c[1].type]){if(!(t=(n.find.ID(l.matches[0].replace(te,oe),t)||[])[0]))return o;d&&(t=t.parentNode),e=e.slice(c.shift().value.length)}for(a=K.needsContext.test(e)?0:c.length;a--&&(l=c[a],!n.relative[m=l.type]);)if((u=n.find[m])&&(i=u(l.matches[0].replace(te,oe),ee.test(c[0].type)&&be(t.parentNode)||t))){if(c.splice(a,1),!(e=i.length&&ke(c)))return q.apply(o,i),o;break}}return(d||s(e,h))(i,t,!g,o,!t||ee.test(e)&&be(t.parentNode)||t),o},o.sortStable=w.split("").sort(E).join("")===w,o.detectDuplicates=!!u,d(),o.sortDetached=me((function(e){return 1&e.compareDocumentPosition(h.createElement("fieldset"))})),me((function(e){return e.innerHTML="","#"===e.firstChild.getAttribute("href")}))||ue("type|href|height|width",(function(e,t,o){if(!o)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)})),o.attributes&&me((function(e){return e.innerHTML="",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")}))||ue("value",(function(e,t,o){if(!o&&"input"===e.nodeName.toLowerCase())return e.defaultValue})),me((function(e){return null==e.getAttribute("disabled")}))||ue(R,(function(e,t,o){var n;if(!o)return!0===e[t]?t.toLowerCase():(n=e.getAttributeNode(t))&&n.specified?n.value:null})),se}(e);w.find=C,w.expr=C.selectors,w.expr[":"]=w.expr.pseudos,w.uniqueSort=w.unique=C.uniqueSort,w.text=C.getText,w.isXMLDoc=C.isXML,w.contains=C.contains,w.escapeSelector=C.escape;var A=function(e,t,o){for(var n=[],i=void 0!==o;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&w(e).is(o))break;n.push(e)}return n},x=function(e,t){for(var o=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&o.push(e);return o},_=w.expr.match.needsContext;function M(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var D=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function E(e,t,o){return p(t)?w.grep(e,(function(e,n){return!!t.call(e,n,e)!==o})):t.nodeType?w.grep(e,(function(e){return e===t!==o})):"string"!=typeof t?w.grep(e,(function(e){return s.call(t,e)>-1!==o})):w.filter(t,e,o)}w.filter=function(e,t,o){var n=t[0];return o&&(e=":not("+e+")"),1===t.length&&1===n.nodeType?w.find.matchesSelector(n,e)?[n]:[]:w.find.matches(e,w.grep(t,(function(e){return 1===e.nodeType})))},w.fn.extend({find:function(e){var t,o,n=this.length,i=this;if("string"!=typeof e)return this.pushStack(w(e).filter((function(){for(t=0;t1?w.uniqueSort(o):o},filter:function(e){return this.pushStack(E(this,e||[],!1))},not:function(e){return this.pushStack(E(this,e||[],!0))},is:function(e){return!!E(this,"string"==typeof e&&_.test(e)?w(e):e||[],!1).length}});var j,z=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(w.fn.init=function(e,t,o){var n,i;if(!e)return this;if(o=o||j,"string"==typeof e){if(!(n="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:z.exec(e))||!n[1]&&t)return!t||t.jquery?(t||o).find(e):this.constructor(t).find(e);if(n[1]){if(t=t instanceof w?t[0]:t,w.merge(this,w.parseHTML(n[1],t&&t.nodeType?t.ownerDocument||t:f,!0)),D.test(n[1])&&w.isPlainObject(t))for(n in t)p(this[n])?this[n](t[n]):this.attr(n,t[n]);return this}return(i=f.getElementById(n[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):p(e)?void 0!==o.ready?o.ready(e):e(w):w.makeArray(e,this)}).prototype=w.fn,j=w(f);var T=/^(?:parents|prev(?:Until|All))/,S={children:!0,contents:!0,next:!0,prev:!0};function q(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}w.fn.extend({has:function(e){var t=w(e,this),o=t.length;return this.filter((function(){for(var e=0;e-1:1===o.nodeType&&w.find.matchesSelector(o,e))){a.push(o);break}return this.pushStack(a.length>1?w.uniqueSort(a):a)},index:function(e){return e?"string"==typeof e?s.call(w(e),this[0]):s.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(w.uniqueSort(w.merge(this.get(),w(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),w.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return A(e,"parentNode")},parentsUntil:function(e,t,o){return A(e,"parentNode",o)},next:function(e){return q(e,"nextSibling")},prev:function(e){return q(e,"previousSibling")},nextAll:function(e){return A(e,"nextSibling")},prevAll:function(e){return A(e,"previousSibling")},nextUntil:function(e,t,o){return A(e,"nextSibling",o)},prevUntil:function(e,t,o){return A(e,"previousSibling",o)},siblings:function(e){return x((e.parentNode||{}).firstChild,e)},children:function(e){return x(e.firstChild)},contents:function(e){return null!=e.contentDocument&&n(e.contentDocument)?e.contentDocument:(M(e,"template")&&(e=e.content||e),w.merge([],e.childNodes))}},(function(e,t){w.fn[e]=function(o,n){var i=w.map(this,t,o);return"Until"!==e.slice(-5)&&(n=o),n&&"string"==typeof n&&(i=w.filter(n,i)),this.length>1&&(S[e]||w.uniqueSort(i),T.test(e)&&i.reverse()),this.pushStack(i)}}));var V=/[^\x20\t\r\n\f]+/g;function B(e){return e}function R(e){throw e}function G(e,t,o,n){var i;try{e&&p(i=e.promise)?i.call(e).done(t).fail(o):e&&p(i=e.then)?i.call(e,t,o):t.apply(void 0,[e].slice(n))}catch(e){o.apply(void 0,[e])}}w.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return w.each(e.match(V)||[],(function(e,o){t[o]=!0})),t}(e):w.extend({},e);var t,o,n,i,a=[],r=[],s=-1,c=function(){for(i=i||e.once,n=t=!0;r.length;s=-1)for(o=r.shift();++s-1;)a.splice(o,1),o<=s&&s--})),this},has:function(e){return e?w.inArray(e,a)>-1:a.length>0},empty:function(){return a&&(a=[]),this},disable:function(){return i=r=[],a=o="",this},disabled:function(){return!a},lock:function(){return i=r=[],o||t||(a=o=""),this},locked:function(){return!!i},fireWith:function(e,o){return i||(o=[e,(o=o||[]).slice?o.slice():o],r.push(o),t||c()),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!n}};return l},w.extend({Deferred:function(t){var o=[["notify","progress",w.Callbacks("memory"),w.Callbacks("memory"),2],["resolve","done",w.Callbacks("once memory"),w.Callbacks("once memory"),0,"resolved"],["reject","fail",w.Callbacks("once memory"),w.Callbacks("once memory"),1,"rejected"]],n="pending",i={state:function(){return n},always:function(){return a.done(arguments).fail(arguments),this},catch:function(e){return i.then(null,e)},pipe:function(){var e=arguments;return w.Deferred((function(t){w.each(o,(function(o,n){var i=p(e[n[4]])&&e[n[4]];a[n[1]]((function(){var e=i&&i.apply(this,arguments);e&&p(e.promise)?e.promise().progress(t.notify).done(t.resolve).fail(t.reject):t[n[0]+"With"](this,i?[e]:arguments)}))})),e=null})).promise()},then:function(t,n,i){var a=0;function r(t,o,n,i){return function(){var s=this,c=arguments,l=function(){var e,l;if(!(t=a&&(n!==R&&(s=void 0,c=[e]),o.rejectWith(s,c))}};t?m():(w.Deferred.getStackHook&&(m.stackTrace=w.Deferred.getStackHook()),e.setTimeout(m))}}return w.Deferred((function(e){o[0][3].add(r(0,e,p(i)?i:B,e.notifyWith)),o[1][3].add(r(0,e,p(t)?t:B)),o[2][3].add(r(0,e,p(n)?n:R))})).promise()},promise:function(e){return null!=e?w.extend(e,i):i}},a={};return w.each(o,(function(e,t){var r=t[2],s=t[5];i[t[1]]=r.add,s&&r.add((function(){n=s}),o[3-e][2].disable,o[3-e][3].disable,o[0][2].lock,o[0][3].lock),r.add(t[3].fire),a[t[0]]=function(){return a[t[0]+"With"](this===a?void 0:this,arguments),this},a[t[0]+"With"]=r.fireWith})),i.promise(a),t&&t.call(a,a),a},when:function(e){var t=arguments.length,o=t,n=Array(o),a=i.call(arguments),r=w.Deferred(),s=function(e){return function(o){n[e]=this,a[e]=arguments.length>1?i.call(arguments):o,--t||r.resolveWith(n,a)}};if(t<=1&&(G(e,r.done(s(o)).resolve,r.reject,!t),"pending"===r.state()||p(a[o]&&a[o].then)))return r.then();for(;o--;)G(a[o],s(o),r.reject);return r.promise()}});var H=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;w.Deferred.exceptionHook=function(t,o){e.console&&e.console.warn&&t&&H.test(t.name)&&e.console.warn("jQuery.Deferred exception: "+t.message,t.stack,o)},w.readyException=function(t){e.setTimeout((function(){throw t}))};var I=w.Deferred();function P(){f.removeEventListener("DOMContentLoaded",P),e.removeEventListener("load",P),w.ready()}w.fn.ready=function(e){return I.then(e).catch((function(e){w.readyException(e)})),this},w.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--w.readyWait:w.isReady)||(w.isReady=!0,!0!==e&&--w.readyWait>0||I.resolveWith(f,[w]))}}),w.ready.then=I.then,"complete"===f.readyState||"loading"!==f.readyState&&!f.documentElement.doScroll?e.setTimeout(w.ready):(f.addEventListener("DOMContentLoaded",P),e.addEventListener("load",P));var F=function(e,t,o,n,i,a,r){var s=0,c=e.length,l=null==o;if("object"===k(o))for(s in i=!0,o)F(e,t,s,o[s],!0,a,r);else if(void 0!==n&&(i=!0,p(n)||(r=!0),l&&(r?(t.call(e,n),t=null):(l=t,t=function(e,t,o){return l.call(w(e),o)})),t))for(;s1,null,!0)},removeData:function(e){return this.each((function(){Q.remove(this,e)}))}}),w.extend({queue:function(e,t,o){var n;if(e)return t=(t||"fx")+"queue",n=K.get(e,t),o&&(!n||Array.isArray(o)?n=K.access(e,t,w.makeArray(o)):n.push(o)),n||[]},dequeue:function(e,t){t=t||"fx";var o=w.queue(e,t),n=o.length,i=o.shift(),a=w._queueHooks(e,t);"inprogress"===i&&(i=o.shift(),n--),i&&("fx"===t&&o.unshift("inprogress"),delete a.stop,i.call(e,(function(){w.dequeue(e,t)}),a)),!n&&a&&a.empty.fire()},_queueHooks:function(e,t){var o=t+"queueHooks";return K.get(e,o)||K.access(e,o,{empty:w.Callbacks("once memory").add((function(){K.remove(e,[t+"queue",o])}))})}}),w.fn.extend({queue:function(e,t){var o=2;return"string"!=typeof e&&(t=e,e="fx",o--),arguments.length\x20\t\r\n\f]*)/i,pe=/^$|^module$|\/(?:java|ecma)script/i;me=f.createDocumentFragment().appendChild(f.createElement("div")),(ue=f.createElement("input")).setAttribute("type","radio"),ue.setAttribute("checked","checked"),ue.setAttribute("name","t"),me.appendChild(ue),h.checkClone=me.cloneNode(!0).cloneNode(!0).lastChild.checked,me.innerHTML="",h.noCloneChecked=!!me.cloneNode(!0).lastChild.defaultValue,me.innerHTML="",h.option=!!me.lastChild;var ge={thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function fe(e,t){var o;return o=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&M(e,t)?w.merge([e],o):o}function be(e,t){for(var o=0,n=e.length;o",""]);var ve=/<|&#?\w+;/;function ke(e,t,o,n,i){for(var a,r,s,c,l,m,u=t.createDocumentFragment(),d=[],h=0,p=e.length;h-1)i&&i.push(a);else if(l=ne(a),r=fe(u.appendChild(a),"script"),l&&be(r),o)for(m=0;a=r[m++];)pe.test(a.type||"")&&o.push(a);return u}var we=/^key/,ye=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Ce=/^([^.]*)(?:\.(.+)|)/;function Ae(){return!0}function xe(){return!1}function _e(e,t){return e===function(){try{return f.activeElement}catch(e){}}()==("focus"===t)}function Me(e,t,o,n,i,a){var r,s;if("object"==typeof t){for(s in"string"!=typeof o&&(n=n||o,o=void 0),t)Me(e,s,o,n,t[s],a);return e}if(null==n&&null==i?(i=o,n=o=void 0):null==i&&("string"==typeof o?(i=n,n=void 0):(i=n,n=o,o=void 0)),!1===i)i=xe;else if(!i)return e;return 1===a&&(r=i,(i=function(e){return w().off(e),r.apply(this,arguments)}).guid=r.guid||(r.guid=w.guid++)),e.each((function(){w.event.add(this,t,i,n,o)}))}function De(e,t,o){o?(K.set(e,t,!1),w.event.add(e,t,{namespace:!1,handler:function(e){var n,a,r=K.get(this,t);if(1&e.isTrigger&&this[t]){if(r.length)(w.event.special[t]||{}).delegateType&&e.stopPropagation();else if(r=i.call(arguments),K.set(this,t,r),n=o(this,t),this[t](),r!==(a=K.get(this,t))||n?K.set(this,t,!1):a={},r!==a)return e.stopImmediatePropagation(),e.preventDefault(),a.value}else r.length&&(K.set(this,t,{value:w.event.trigger(w.extend(r[0],w.Event.prototype),r.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===K.get(e,t)&&w.event.add(e,t,Ae)}w.event={global:{},add:function(e,t,o,n,i){var a,r,s,c,l,m,u,d,h,p,g,f=K.get(e);if(W(e))for(o.handler&&(o=(a=o).handler,i=a.selector),i&&w.find.matchesSelector(oe,i),o.guid||(o.guid=w.guid++),(c=f.events)||(c=f.events=Object.create(null)),(r=f.handle)||(r=f.handle=function(t){return void 0!==w&&w.event.triggered!==t.type?w.event.dispatch.apply(e,arguments):void 0}),l=(t=(t||"").match(V)||[""]).length;l--;)h=g=(s=Ce.exec(t[l])||[])[1],p=(s[2]||"").split(".").sort(),h&&(u=w.event.special[h]||{},h=(i?u.delegateType:u.bindType)||h,u=w.event.special[h]||{},m=w.extend({type:h,origType:g,data:n,handler:o,guid:o.guid,selector:i,needsContext:i&&w.expr.match.needsContext.test(i),namespace:p.join(".")},a),(d=c[h])||((d=c[h]=[]).delegateCount=0,u.setup&&!1!==u.setup.call(e,n,p,r)||e.addEventListener&&e.addEventListener(h,r)),u.add&&(u.add.call(e,m),m.handler.guid||(m.handler.guid=o.guid)),i?d.splice(d.delegateCount++,0,m):d.push(m),w.event.global[h]=!0)},remove:function(e,t,o,n,i){var a,r,s,c,l,m,u,d,h,p,g,f=K.hasData(e)&&K.get(e);if(f&&(c=f.events)){for(l=(t=(t||"").match(V)||[""]).length;l--;)if(h=g=(s=Ce.exec(t[l])||[])[1],p=(s[2]||"").split(".").sort(),h){for(u=w.event.special[h]||{},d=c[h=(n?u.delegateType:u.bindType)||h]||[],s=s[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),r=a=d.length;a--;)m=d[a],!i&&g!==m.origType||o&&o.guid!==m.guid||s&&!s.test(m.namespace)||n&&n!==m.selector&&("**"!==n||!m.selector)||(d.splice(a,1),m.selector&&d.delegateCount--,u.remove&&u.remove.call(e,m));r&&!d.length&&(u.teardown&&!1!==u.teardown.call(e,p,f.handle)||w.removeEvent(e,h,f.handle),delete c[h])}else for(h in c)w.event.remove(e,h+t[l],o,n,!0);w.isEmptyObject(c)&&K.remove(e,"handle events")}},dispatch:function(e){var t,o,n,i,a,r,s=new Array(arguments.length),c=w.event.fix(e),l=(K.get(this,"events")||Object.create(null))[c.type]||[],m=w.event.special[c.type]||{};for(s[0]=c,t=1;t=1))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==e.type||!0!==l.disabled)){for(a=[],r={},o=0;o-1:w.find(i,this,null,[l]).length),r[i]&&a.push(n);a.length&&s.push({elem:l,handlers:a})}return l=this,c\s*$/g;function Te(e,t){return M(e,"table")&&M(11!==t.nodeType?t:t.firstChild,"tr")&&w(e).children("tbody")[0]||e}function Se(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function qe(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Ve(e,t){var o,n,i,a,r,s;if(1===t.nodeType){if(K.hasData(e)&&(s=K.get(e).events))for(i in K.remove(t,"handle events"),s)for(o=0,n=s[i].length;o1&&"string"==typeof f&&!h.checkClone&&je.test(f))return e.each((function(i){var a=e.eq(i);b&&(t[0]=f.call(this,i,a.html())),Re(a,t,o,n)}));if(d&&(r=(i=ke(t,e[0].ownerDocument,!1,e,n)).firstChild,1===i.childNodes.length&&(i=r),r||n)){for(c=(s=w.map(fe(i,"script"),Se)).length;u0&&be(r,!c&&fe(e,"script")),s},cleanData:function(e){for(var t,o,n,i=w.event.special,a=0;void 0!==(o=e[a]);a++)if(W(o)){if(t=o[K.expando]){if(t.events)for(n in t.events)i[n]?w.event.remove(o,n):w.removeEvent(o,n,t.handle);o[K.expando]=void 0}o[Q.expando]&&(o[Q.expando]=void 0)}}}),w.fn.extend({detach:function(e){return Ge(this,e,!0)},remove:function(e){return Ge(this,e)},text:function(e){return F(this,(function(e){return void 0===e?w.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)}))}),null,e,arguments.length)},append:function(){return Re(this,arguments,(function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Te(this,e).appendChild(e)}))},prepend:function(){return Re(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Te(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return Re(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return Re(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)}))},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(w.cleanData(fe(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return w.clone(this,e,t)}))},html:function(e){return F(this,(function(e){var t=this[0]||{},o=0,n=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Ee.test(e)&&!ge[(he.exec(e)||["",""])[1].toLowerCase()]){e=w.htmlPrefilter(e);try{for(;o3,oe.removeChild(t)),s}}))}();var Le=["Webkit","Moz","ms"],Ue=f.createElement("div").style,We={};function $e(e){var t=w.cssProps[e]||We[e];return t||(e in Ue?e:We[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),o=Le.length;o--;)if((e=Le[o]+t)in Ue)return e}(e)||e)}var Ke=/^(none|table(?!-c[ea]).+)/,Qe=/^--/,Ze={position:"absolute",visibility:"hidden",display:"block"},Ye={letterSpacing:"0",fontWeight:"400"};function Je(e,t,o){var n=ee.exec(t);return n?Math.max(0,n[2]-(o||0))+(n[3]||"px"):t}function Xe(e,t,o,n,i,a){var r="width"===t?1:0,s=0,c=0;if(o===(n?"border":"content"))return 0;for(;r<4;r+=2)"margin"===o&&(c+=w.css(e,o+te[r],!0,i)),n?("content"===o&&(c-=w.css(e,"padding"+te[r],!0,i)),"margin"!==o&&(c-=w.css(e,"border"+te[r]+"Width",!0,i))):(c+=w.css(e,"padding"+te[r],!0,i),"padding"!==o?c+=w.css(e,"border"+te[r]+"Width",!0,i):s+=w.css(e,"border"+te[r]+"Width",!0,i));return!n&&a>=0&&(c+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-a-c-s-.5))||0),c}function et(e,t,o){var n=Ie(e),i=(!h.boxSizingReliable()||o)&&"border-box"===w.css(e,"boxSizing",!1,n),a=i,r=Ne(e,t,n),s="offset"+t[0].toUpperCase()+t.slice(1);if(He.test(r)){if(!o)return r;r="auto"}return(!h.boxSizingReliable()&&i||!h.reliableTrDimensions()&&M(e,"tr")||"auto"===r||!parseFloat(r)&&"inline"===w.css(e,"display",!1,n))&&e.getClientRects().length&&(i="border-box"===w.css(e,"boxSizing",!1,n),(a=s in e)&&(r=e[s])),(r=parseFloat(r)||0)+Xe(e,t,o||(i?"border":"content"),a,n,r)+"px"}function tt(e,t,o,n,i){return new tt.prototype.init(e,t,o,n,i)}w.extend({cssHooks:{opacity:{get:function(e,t){if(t){var o=Ne(e,"opacity");return""===o?"1":o}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,o,n){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,a,r,s=U(t),c=Qe.test(t),l=e.style;if(c||(t=$e(s)),r=w.cssHooks[t]||w.cssHooks[s],void 0===o)return r&&"get"in r&&void 0!==(i=r.get(e,!1,n))?i:l[t];"string"===(a=typeof o)&&(i=ee.exec(o))&&i[1]&&(o=re(e,t,i),a="number"),null!=o&&o==o&&("number"!==a||c||(o+=i&&i[3]||(w.cssNumber[s]?"":"px")),h.clearCloneStyle||""!==o||0!==t.indexOf("background")||(l[t]="inherit"),r&&"set"in r&&void 0===(o=r.set(e,o,n))||(c?l.setProperty(t,o):l[t]=o))}},css:function(e,t,o,n){var i,a,r,s=U(t);return Qe.test(t)||(t=$e(s)),(r=w.cssHooks[t]||w.cssHooks[s])&&"get"in r&&(i=r.get(e,!0,o)),void 0===i&&(i=Ne(e,t,n)),"normal"===i&&t in Ye&&(i=Ye[t]),""===o||o?(a=parseFloat(i),!0===o||isFinite(a)?a||0:i):i}}),w.each(["height","width"],(function(e,t){w.cssHooks[t]={get:function(e,o,n){if(o)return!Ke.test(w.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?et(e,t,n):Pe(e,Ze,(function(){return et(e,t,n)}))},set:function(e,o,n){var i,a=Ie(e),r=!h.scrollboxSize()&&"absolute"===a.position,s=(r||n)&&"border-box"===w.css(e,"boxSizing",!1,a),c=n?Xe(e,t,n,s,a):0;return s&&r&&(c-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(a[t])-Xe(e,t,"border",!1,a)-.5)),c&&(i=ee.exec(o))&&"px"!==(i[3]||"px")&&(e.style[t]=o,o=w.css(e,t)),Je(0,o,c)}}})),w.cssHooks.marginLeft=Oe(h.reliableMarginLeft,(function(e,t){if(t)return(parseFloat(Ne(e,"marginLeft"))||e.getBoundingClientRect().left-Pe(e,{marginLeft:0},(function(){return e.getBoundingClientRect().left})))+"px"})),w.each({margin:"",padding:"",border:"Width"},(function(e,t){w.cssHooks[e+t]={expand:function(o){for(var n=0,i={},a="string"==typeof o?o.split(" "):[o];n<4;n++)i[e+te[n]+t]=a[n]||a[n-2]||a[0];return i}},"margin"!==e&&(w.cssHooks[e+t].set=Je)})),w.fn.extend({css:function(e,t){return F(this,(function(e,t,o){var n,i,a={},r=0;if(Array.isArray(t)){for(n=Ie(e),i=t.length;r1)}}),w.Tween=tt,tt.prototype={constructor:tt,init:function(e,t,o,n,i,a){this.elem=e,this.prop=o,this.easing=i||w.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=n,this.unit=a||(w.cssNumber[o]?"":"px")},cur:function(){var e=tt.propHooks[this.prop];return e&&e.get?e.get(this):tt.propHooks._default.get(this)},run:function(e){var t,o=tt.propHooks[this.prop];return this.options.duration?this.pos=t=w.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),o&&o.set?o.set(this):tt.propHooks._default.set(this),this}},tt.prototype.init.prototype=tt.prototype,tt.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=w.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){w.fx.step[e.prop]?w.fx.step[e.prop](e):1!==e.elem.nodeType||!w.cssHooks[e.prop]&&null==e.elem.style[$e(e.prop)]?e.elem[e.prop]=e.now:w.style(e.elem,e.prop,e.now+e.unit)}}},tt.propHooks.scrollTop=tt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},w.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},w.fx=tt.prototype.init,w.fx.step={};var ot,nt,it=/^(?:toggle|show|hide)$/,at=/queueHooks$/;function rt(){nt&&(!1===f.hidden&&e.requestAnimationFrame?e.requestAnimationFrame(rt):e.setTimeout(rt,w.fx.interval),w.fx.tick())}function st(){return e.setTimeout((function(){ot=void 0})),ot=Date.now()}function ct(e,t){var o,n=0,i={height:e};for(t=t?1:0;n<4;n+=2-t)i["margin"+(o=te[n])]=i["padding"+o]=e;return t&&(i.opacity=i.width=e),i}function lt(e,t,o){for(var n,i=(mt.tweeners[t]||[]).concat(mt.tweeners["*"]),a=0,r=i.length;a1)},removeAttr:function(e){return this.each((function(){w.removeAttr(this,e)}))}}),w.extend({attr:function(e,t,o){var n,i,a=e.nodeType;if(3!==a&&8!==a&&2!==a)return void 0===e.getAttribute?w.prop(e,t,o):(1===a&&w.isXMLDoc(e)||(i=w.attrHooks[t.toLowerCase()]||(w.expr.match.bool.test(t)?ut:void 0)),void 0!==o?null===o?void w.removeAttr(e,t):i&&"set"in i&&void 0!==(n=i.set(e,o,t))?n:(e.setAttribute(t,o+""),o):i&&"get"in i&&null!==(n=i.get(e,t))?n:null==(n=w.find.attr(e,t))?void 0:n)},attrHooks:{type:{set:function(e,t){if(!h.radioValue&&"radio"===t&&M(e,"input")){var o=e.value;return e.setAttribute("type",t),o&&(e.value=o),t}}}},removeAttr:function(e,t){var o,n=0,i=t&&t.match(V);if(i&&1===e.nodeType)for(;o=i[n++];)e.removeAttribute(o)}}),ut={set:function(e,t,o){return!1===t?w.removeAttr(e,o):e.setAttribute(o,o),o}},w.each(w.expr.match.bool.source.match(/\w+/g),(function(e,t){var o=dt[t]||w.find.attr;dt[t]=function(e,t,n){var i,a,r=t.toLowerCase();return n||(a=dt[r],dt[r]=i,i=null!=o(e,t,n)?r:null,dt[r]=a),i}}));var ht=/^(?:input|select|textarea|button)$/i,pt=/^(?:a|area)$/i;function gt(e){return(e.match(V)||[]).join(" ")}function ft(e){return e.getAttribute&&e.getAttribute("class")||""}function bt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(V)||[]}w.fn.extend({prop:function(e,t){return F(this,w.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each((function(){delete this[w.propFix[e]||e]}))}}),w.extend({prop:function(e,t,o){var n,i,a=e.nodeType;if(3!==a&&8!==a&&2!==a)return 1===a&&w.isXMLDoc(e)||(t=w.propFix[t]||t,i=w.propHooks[t]),void 0!==o?i&&"set"in i&&void 0!==(n=i.set(e,o,t))?n:e[t]=o:i&&"get"in i&&null!==(n=i.get(e,t))?n:e[t]},propHooks:{tabIndex:{get:function(e){var t=w.find.attr(e,"tabindex");return t?parseInt(t,10):ht.test(e.nodeName)||pt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),h.optSelected||(w.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),w.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){w.propFix[this.toLowerCase()]=this})),w.fn.extend({addClass:function(e){var t,o,n,i,a,r,s,c=0;if(p(e))return this.each((function(t){w(this).addClass(e.call(this,t,ft(this)))}));if((t=bt(e)).length)for(;o=this[c++];)if(i=ft(o),n=1===o.nodeType&&" "+gt(i)+" "){for(r=0;a=t[r++];)n.indexOf(" "+a+" ")<0&&(n+=a+" ");i!==(s=gt(n))&&o.setAttribute("class",s)}return this},removeClass:function(e){var t,o,n,i,a,r,s,c=0;if(p(e))return this.each((function(t){w(this).removeClass(e.call(this,t,ft(this)))}));if(!arguments.length)return this.attr("class","");if((t=bt(e)).length)for(;o=this[c++];)if(i=ft(o),n=1===o.nodeType&&" "+gt(i)+" "){for(r=0;a=t[r++];)for(;n.indexOf(" "+a+" ")>-1;)n=n.replace(" "+a+" "," ");i!==(s=gt(n))&&o.setAttribute("class",s)}return this},toggleClass:function(e,t){var o=typeof e,n="string"===o||Array.isArray(e);return"boolean"==typeof t&&n?t?this.addClass(e):this.removeClass(e):p(e)?this.each((function(o){w(this).toggleClass(e.call(this,o,ft(this),t),t)})):this.each((function(){var t,i,a,r;if(n)for(i=0,a=w(this),r=bt(e);t=r[i++];)a.hasClass(t)?a.removeClass(t):a.addClass(t);else void 0!==e&&"boolean"!==o||((t=ft(this))&&K.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":K.get(this,"__className__")||""))}))},hasClass:function(e){var t,o,n=0;for(t=" "+e+" ";o=this[n++];)if(1===o.nodeType&&(" "+gt(ft(o))+" ").indexOf(t)>-1)return!0;return!1}});var vt=/\r/g;w.fn.extend({val:function(e){var t,o,n,i=this[0];return arguments.length?(n=p(e),this.each((function(o){var i;1===this.nodeType&&(null==(i=n?e.call(this,o,w(this).val()):e)?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=w.map(i,(function(e){return null==e?"":e+""}))),(t=w.valHooks[this.type]||w.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))}))):i?(t=w.valHooks[i.type]||w.valHooks[i.nodeName.toLowerCase()])&&"get"in t&&void 0!==(o=t.get(i,"value"))?o:"string"==typeof(o=i.value)?o.replace(vt,""):null==o?"":o:void 0}}),w.extend({valHooks:{option:{get:function(e){var t=w.find.attr(e,"value");return null!=t?t:gt(w.text(e))}},select:{get:function(e){var t,o,n,i=e.options,a=e.selectedIndex,r="select-one"===e.type,s=r?null:[],c=r?a+1:i.length;for(n=a<0?c:r?a:0;n-1)&&(o=!0);return o||(e.selectedIndex=-1),a}}}}),w.each(["radio","checkbox"],(function(){w.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=w.inArray(w(e).val(),t)>-1}},h.checkOn||(w.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})})),h.focusin="onfocusin"in e;var kt=/^(?:focusinfocus|focusoutblur)$/,wt=function(e){e.stopPropagation()};w.extend(w.event,{trigger:function(t,o,n,i){var a,r,s,c,l,u,d,h,b=[n||f],v=m.call(t,"type")?t.type:t,k=m.call(t,"namespace")?t.namespace.split("."):[];if(r=h=s=n=n||f,3!==n.nodeType&&8!==n.nodeType&&!kt.test(v+w.event.triggered)&&(v.indexOf(".")>-1&&(k=v.split("."),v=k.shift(),k.sort()),l=v.indexOf(":")<0&&"on"+v,(t=t[w.expando]?t:new w.Event(v,"object"==typeof t&&t)).isTrigger=i?2:3,t.namespace=k.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+k.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=n),o=null==o?[t]:w.makeArray(o,[t]),d=w.event.special[v]||{},i||!d.trigger||!1!==d.trigger.apply(n,o))){if(!i&&!d.noBubble&&!g(n)){for(c=d.delegateType||v,kt.test(c+v)||(r=r.parentNode);r;r=r.parentNode)b.push(r),s=r;s===(n.ownerDocument||f)&&b.push(s.defaultView||s.parentWindow||e)}for(a=0;(r=b[a++])&&!t.isPropagationStopped();)h=r,t.type=a>1?c:d.bindType||v,(u=(K.get(r,"events")||Object.create(null))[t.type]&&K.get(r,"handle"))&&u.apply(r,o),(u=l&&r[l])&&u.apply&&W(r)&&(t.result=u.apply(r,o),!1===t.result&&t.preventDefault());return t.type=v,i||t.isDefaultPrevented()||d._default&&!1!==d._default.apply(b.pop(),o)||!W(n)||l&&p(n[v])&&!g(n)&&((s=n[l])&&(n[l]=null),w.event.triggered=v,t.isPropagationStopped()&&h.addEventListener(v,wt),n[v](),t.isPropagationStopped()&&h.removeEventListener(v,wt),w.event.triggered=void 0,s&&(n[l]=s)),t.result}},simulate:function(e,t,o){var n=w.extend(new w.Event,o,{type:e,isSimulated:!0});w.event.trigger(n,null,t)}}),w.fn.extend({trigger:function(e,t){return this.each((function(){w.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var o=this[0];if(o)return w.event.trigger(e,t,o,!0)}}),h.focusin||w.each({focus:"focusin",blur:"focusout"},(function(e,t){var o=function(e){w.event.simulate(t,e.target,w.event.fix(e))};w.event.special[t]={setup:function(){var n=this.ownerDocument||this.document||this,i=K.access(n,t);i||n.addEventListener(e,o,!0),K.access(n,t,(i||0)+1)},teardown:function(){var n=this.ownerDocument||this.document||this,i=K.access(n,t)-1;i?K.access(n,t,i):(n.removeEventListener(e,o,!0),K.remove(n,t))}}}));var yt=e.location,Ct={guid:Date.now()},At=/\?/;w.parseXML=function(t){var o;if(!t||"string"!=typeof t)return null;try{o=(new e.DOMParser).parseFromString(t,"text/xml")}catch(e){o=void 0}return o&&!o.getElementsByTagName("parsererror").length||w.error("Invalid XML: "+t),o};var xt=/\[\]$/,_t=/\r?\n/g,Mt=/^(?:submit|button|image|reset|file)$/i,Dt=/^(?:input|select|textarea|keygen)/i;function Et(e,t,o,n){var i;if(Array.isArray(t))w.each(t,(function(t,i){o||xt.test(e)?n(e,i):Et(e+"["+("object"==typeof i&&null!=i?t:"")+"]",i,o,n)}));else if(o||"object"!==k(t))n(e,t);else for(i in t)Et(e+"["+i+"]",t[i],o,n)}w.param=function(e,t){var o,n=[],i=function(e,t){var o=p(t)?t():t;n[n.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==o?"":o)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!w.isPlainObject(e))w.each(e,(function(){i(this.name,this.value)}));else for(o in e)Et(o,e[o],t,i);return n.join("&")},w.fn.extend({serialize:function(){return w.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=w.prop(this,"elements");return e?w.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!w(this).is(":disabled")&&Dt.test(this.nodeName)&&!Mt.test(e)&&(this.checked||!de.test(e))})).map((function(e,t){var o=w(this).val();return null==o?null:Array.isArray(o)?w.map(o,(function(e){return{name:t.name,value:e.replace(_t,"\r\n")}})):{name:t.name,value:o.replace(_t,"\r\n")}})).get()}});var jt=/%20/g,zt=/#.*$/,Tt=/([?&])_=[^&]*/,St=/^(.*?):[ \t]*([^\r\n]*)$/gm,qt=/^(?:GET|HEAD)$/,Vt=/^\/\//,Bt={},Rt={},Gt="*/".concat("*"),Ht=f.createElement("a");function It(e){return function(t,o){"string"!=typeof t&&(o=t,t="*");var n,i=0,a=t.toLowerCase().match(V)||[];if(p(o))for(;n=a[i++];)"+"===n[0]?(n=n.slice(1)||"*",(e[n]=e[n]||[]).unshift(o)):(e[n]=e[n]||[]).push(o)}}function Pt(e,t,o,n){var i={},a=e===Rt;function r(s){var c;return i[s]=!0,w.each(e[s]||[],(function(e,s){var l=s(t,o,n);return"string"!=typeof l||a||i[l]?a?!(c=l):void 0:(t.dataTypes.unshift(l),r(l),!1)})),c}return r(t.dataTypes[0])||!i["*"]&&r("*")}function Ft(e,t){var o,n,i=w.ajaxSettings.flatOptions||{};for(o in t)void 0!==t[o]&&((i[o]?e:n||(n={}))[o]=t[o]);return n&&w.extend(!0,e,n),e}Ht.href=yt.href,w.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:yt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(yt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Gt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":w.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Ft(Ft(e,w.ajaxSettings),t):Ft(w.ajaxSettings,e)},ajaxPrefilter:It(Bt),ajaxTransport:It(Rt),ajax:function(t,o){"object"==typeof t&&(o=t,t=void 0),o=o||{};var n,i,a,r,s,c,l,m,u,d,h=w.ajaxSetup({},o),p=h.context||h,g=h.context&&(p.nodeType||p.jquery)?w(p):w.event,b=w.Deferred(),v=w.Callbacks("once memory"),k=h.statusCode||{},y={},C={},A="canceled",x={readyState:0,getResponseHeader:function(e){var t;if(l){if(!r)for(r={};t=St.exec(a);)r[t[1].toLowerCase()+" "]=(r[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=r[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return l?a:null},setRequestHeader:function(e,t){return null==l&&(e=C[e.toLowerCase()]=C[e.toLowerCase()]||e,y[e]=t),this},overrideMimeType:function(e){return null==l&&(h.mimeType=e),this},statusCode:function(e){var t;if(e)if(l)x.always(e[x.status]);else for(t in e)k[t]=[k[t],e[t]];return this},abort:function(e){var t=e||A;return n&&n.abort(t),_(0,t),this}};if(b.promise(x),h.url=((t||h.url||yt.href)+"").replace(Vt,yt.protocol+"//"),h.type=o.method||o.type||h.method||h.type,h.dataTypes=(h.dataType||"*").toLowerCase().match(V)||[""],null==h.crossDomain){c=f.createElement("a");try{c.href=h.url,c.href=c.href,h.crossDomain=Ht.protocol+"//"+Ht.host!=c.protocol+"//"+c.host}catch(e){h.crossDomain=!0}}if(h.data&&h.processData&&"string"!=typeof h.data&&(h.data=w.param(h.data,h.traditional)),Pt(Bt,h,o,x),l)return x;for(u in(m=w.event&&h.global)&&0==w.active++&&w.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!qt.test(h.type),i=h.url.replace(zt,""),h.hasContent?h.data&&h.processData&&0===(h.contentType||"").indexOf("application/x-www-form-urlencoded")&&(h.data=h.data.replace(jt,"+")):(d=h.url.slice(i.length),h.data&&(h.processData||"string"==typeof h.data)&&(i+=(At.test(i)?"&":"?")+h.data,delete h.data),!1===h.cache&&(i=i.replace(Tt,"$1"),d=(At.test(i)?"&":"?")+"_="+Ct.guid+++d),h.url=i+d),h.ifModified&&(w.lastModified[i]&&x.setRequestHeader("If-Modified-Since",w.lastModified[i]),w.etag[i]&&x.setRequestHeader("If-None-Match",w.etag[i])),(h.data&&h.hasContent&&!1!==h.contentType||o.contentType)&&x.setRequestHeader("Content-Type",h.contentType),x.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+Gt+"; q=0.01":""):h.accepts["*"]),h.headers)x.setRequestHeader(u,h.headers[u]);if(h.beforeSend&&(!1===h.beforeSend.call(p,x,h)||l))return x.abort();if(A="abort",v.add(h.complete),x.done(h.success),x.fail(h.error),n=Pt(Rt,h,o,x)){if(x.readyState=1,m&&g.trigger("ajaxSend",[x,h]),l)return x;h.async&&h.timeout>0&&(s=e.setTimeout((function(){x.abort("timeout")}),h.timeout));try{l=!1,n.send(y,_)}catch(e){if(l)throw e;_(-1,e)}}else _(-1,"No Transport");function _(t,o,r,c){var u,d,f,y,C,A=o;l||(l=!0,s&&e.clearTimeout(s),n=void 0,a=c||"",x.readyState=t>0?4:0,u=t>=200&&t<300||304===t,r&&(y=function(e,t,o){for(var n,i,a,r,s=e.contents,c=e.dataTypes;"*"===c[0];)c.shift(),void 0===n&&(n=e.mimeType||t.getResponseHeader("Content-Type"));if(n)for(i in s)if(s[i]&&s[i].test(n)){c.unshift(i);break}if(c[0]in o)a=c[0];else{for(i in o){if(!c[0]||e.converters[i+" "+c[0]]){a=i;break}r||(r=i)}a=a||r}if(a)return a!==c[0]&&c.unshift(a),o[a]}(h,x,r)),!u&&w.inArray("script",h.dataTypes)>-1&&(h.converters["text script"]=function(){}),y=function(e,t,o,n){var i,a,r,s,c,l={},m=e.dataTypes.slice();if(m[1])for(r in e.converters)l[r.toLowerCase()]=e.converters[r];for(a=m.shift();a;)if(e.responseFields[a]&&(o[e.responseFields[a]]=t),!c&&n&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),c=a,a=m.shift())if("*"===a)a=c;else if("*"!==c&&c!==a){if(!(r=l[c+" "+a]||l["* "+a]))for(i in l)if((s=i.split(" "))[1]===a&&(r=l[c+" "+s[0]]||l["* "+s[0]])){!0===r?r=l[i]:!0!==l[i]&&(a=s[0],m.unshift(s[1]));break}if(!0!==r)if(r&&e.throws)t=r(t);else try{t=r(t)}catch(e){return{state:"parsererror",error:r?e:"No conversion from "+c+" to "+a}}}return{state:"success",data:t}}(h,y,x,u),u?(h.ifModified&&((C=x.getResponseHeader("Last-Modified"))&&(w.lastModified[i]=C),(C=x.getResponseHeader("etag"))&&(w.etag[i]=C)),204===t||"HEAD"===h.type?A="nocontent":304===t?A="notmodified":(A=y.state,d=y.data,u=!(f=y.error))):(f=A,!t&&A||(A="error",t<0&&(t=0))),x.status=t,x.statusText=(o||A)+"",u?b.resolveWith(p,[d,A,x]):b.rejectWith(p,[x,A,f]),x.statusCode(k),k=void 0,m&&g.trigger(u?"ajaxSuccess":"ajaxError",[x,h,u?d:f]),v.fireWith(p,[x,A]),m&&(g.trigger("ajaxComplete",[x,h]),--w.active||w.event.trigger("ajaxStop")))}return x},getJSON:function(e,t,o){return w.get(e,t,o,"json")},getScript:function(e,t){return w.get(e,void 0,t,"script")}}),w.each(["get","post"],(function(e,t){w[t]=function(e,o,n,i){return p(o)&&(i=i||n,n=o,o=void 0),w.ajax(w.extend({url:e,type:t,dataType:i,data:o,success:n},w.isPlainObject(e)&&e))}})),w.ajaxPrefilter((function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")})),w._evalUrl=function(e,t,o){return w.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){w.globalEval(e,t,o)}})},w.fn.extend({wrapAll:function(e){var t;return this[0]&&(p(e)&&(e=e.call(this[0])),t=w(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map((function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e})).append(this)),this},wrapInner:function(e){return p(e)?this.each((function(t){w(this).wrapInner(e.call(this,t))})):this.each((function(){var t=w(this),o=t.contents();o.length?o.wrapAll(e):t.append(e)}))},wrap:function(e){var t=p(e);return this.each((function(o){w(this).wrapAll(t?e.call(this,o):e)}))},unwrap:function(e){return this.parent(e).not("body").each((function(){w(this).replaceWith(this.childNodes)})),this}}),w.expr.pseudos.hidden=function(e){return!w.expr.pseudos.visible(e)},w.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},w.ajaxSettings.xhr=function(){try{return new e.XMLHttpRequest}catch(e){}};var Nt={0:200,1223:204},Ot=w.ajaxSettings.xhr();h.cors=!!Ot&&"withCredentials"in Ot,h.ajax=Ot=!!Ot,w.ajaxTransport((function(t){var o,n;if(h.cors||Ot&&!t.crossDomain)return{send:function(i,a){var r,s=t.xhr();if(s.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(r in t.xhrFields)s[r]=t.xhrFields[r];for(r in t.mimeType&&s.overrideMimeType&&s.overrideMimeType(t.mimeType),t.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest"),i)s.setRequestHeader(r,i[r]);o=function(e){return function(){o&&(o=n=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?a(0,"error"):a(s.status,s.statusText):a(Nt[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=o(),n=s.onerror=s.ontimeout=o("error"),void 0!==s.onabort?s.onabort=n:s.onreadystatechange=function(){4===s.readyState&&e.setTimeout((function(){o&&n()}))},o=o("abort");try{s.send(t.hasContent&&t.data||null)}catch(e){if(o)throw e}},abort:function(){o&&o()}}})),w.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),w.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return w.globalEval(e),e}}}),w.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),w.ajaxTransport("script",(function(e){var t,o;if(e.crossDomain||e.scriptAttrs)return{send:function(n,i){t=w("