Files
ai/charting_library/bundles/jquery.06844b74f8270fb0698b.js
2023-02-02 13:31:14 +00:00

70 lines
207 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[1729],{23127:t=>{var e=window.document,i=window.navigator,n=window.location,s=function(){var t,n,s,r,o=function(e,i){return new o.fn.init(e,i,t)},a=window.jQuery,l=window.$,h=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,c=/\S/,u=/^\s+/,d=/\s+$/,p=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,f=/^[\],:{}\s]*$/,g=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,m=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,v=/(?:^|:|,)(?:\s*\[)+/g,y=/(webkit)[ \/]([\w.]+)/,_=/(opera)(?:.*version)?[ \/]([\w.]+)/,b=/(msie) ([\w.]+)/,w=/(mozilla)(?:.*? rv:([\w.]+))?/,x=/-([a-z]|[0-9])/gi,k=/^-ms-/,D=function(t,e){return(e+"").toUpperCase()},C=i.userAgent,T=Object.prototype.toString,N=Object.prototype.hasOwnProperty,S=Array.prototype.push,M=Array.prototype.slice,P=String.prototype.trim,E=Array.prototype.indexOf,I={};function A(){if(!o.isReady){try{e.documentElement.doScroll("left")}catch(t){return void setTimeout(A,1)}o.ready()}}return o.fn=o.prototype={constructor:o,init:function(t,i,n){var s,r,a,l;if(!t)return this;if(t.nodeType)return this.context=this[0]=t,this.length=1,this;if("body"===t&&!i&&e.body)return this.context=e,this[0]=e.body,this.selector=t,this.length=1,this;if("string"==typeof t){if(!(s="<"===t.charAt(0)&&">"===t.charAt(t.length-1)&&t.length>=3?[null,t,null]:h.exec(t))||!s[1]&&i)return!i||i.jquery?(i||n).find(t):this.constructor(i).find(t);if(s[1])return l=(i=i instanceof o?i[0]:i)?i.ownerDocument||i:e,(a=p.exec(t))?o.isPlainObject(i)?(t=[e.createElement(a[1])],o.fn.attr.call(t,i,!0)):t=[l.createElement(a[1])]:t=((a=o.buildFragment([s[1]],[l])).cacheable?o.clone(a.fragment):a.fragment).childNodes,o.merge(this,t);if((r=e.getElementById(s[2]))&&r.parentNode){if(r.id!==s[2])return n.find(t);this.length=1,this[0]=r}return this.context=e,this.selector=t,this}return o.isFunction(t)?n.ready(t):(void 0!==t.selector&&(this.selector=t.selector,this.context=t.context),o.makeArray(t,this))},selector:"",jquery:"1.7.2",length:0,size:function(){return this.length},toArray:function(){return M.call(this,0)},get:function(t){return null==t?this.toArray():t<0?this[this.length+t]:this[t]},pushStack:function(t,e,i){var n=this.constructor();return o.isArray(t)?S.apply(n,t):o.merge(n,t),n.prevObject=this,n.context=this.context,"find"===e?n.selector=this.selector+(this.selector?" ":"")+i:e&&(n.selector=this.selector+"."+e+"("+i+")"),n},each:function(t,e){return o.each(this,t,e)},ready:function(t){return o.bindReady(),s.add(t),this},eq:function(t){return-1===(t=+t)?this.slice(t):this.slice(t,t+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(M.apply(this,arguments),"slice",M.call(arguments).join(","))},map:function(t){return this.pushStack(o.map(this,(function(e,i){return t.call(e,i,e)})))},end:function(){return this.prevObject||this.constructor(null)},push:S,sort:[].sort,splice:[].splice},o.fn.init.prototype=o.fn,o.extend=o.fn.extend=function(){var t,e,i,n,s,r,a=arguments[0]||{},l=1,h=arguments.length,c=!1
;for("boolean"==typeof a&&(c=a,a=arguments[1]||{},l=2),"object"==typeof a||o.isFunction(a)||(a={}),h===l&&(a=this,--l);l<h;l++)if(null!=(t=arguments[l]))for(e in t)i=a[e],a!==(n=t[e])&&(c&&n&&(o.isPlainObject(n)||(s=o.isArray(n)))?(s?(s=!1,r=i&&o.isArray(i)?i:[]):r=i&&o.isPlainObject(i)?i:{},a[e]=o.extend(c,r,n)):void 0!==n&&(a[e]=n));return a},o.extend({noConflict:function(t){return window.$===o&&(window.$=l),t&&window.jQuery===o&&(window.jQuery=a),o},isReady:!1,readyWait:1,holdReady:function(t){t?o.readyWait++:o.ready(!0)},ready:function(t){if(!0===t&&!--o.readyWait||!0!==t&&!o.isReady){if(!e.body)return setTimeout(o.ready,1);if(o.isReady=!0,!0!==t&&--o.readyWait>0)return;s.fireWith(e,[o]),o.fn.trigger&&o(e).trigger("ready").off("ready")}},bindReady:function(){if(!s){if(s=o.Callbacks("once memory"),"complete"===e.readyState)return setTimeout(o.ready,1);if(e.addEventListener)e.addEventListener("DOMContentLoaded",r,!1),window.addEventListener("load",o.ready,!1);else if(e.attachEvent){e.attachEvent("onreadystatechange",r),window.attachEvent("onload",o.ready);var t=!1;try{t=null==window.frameElement}catch(t){}e.documentElement.doScroll&&t&&A()}}},isFunction:function(t){return"function"===o.type(t)},isArray:Array.isArray||function(t){return"array"===o.type(t)},isWindow:function(t){return null!=t&&t==t.window},isNumeric:function(t){return!isNaN(parseFloat(t))&&isFinite(t)},type:function(t){return null==t?String(t):I[T.call(t)]||"object"},isPlainObject:function(t){if(!t||"object"!==o.type(t)||t.nodeType||o.isWindow(t))return!1;try{if(t.constructor&&!N.call(t,"constructor")&&!N.call(t.constructor.prototype,"isPrototypeOf"))return!1}catch(t){return!1}var e;for(e in t);return void 0===e||N.call(t,e)},isEmptyObject:function(t){for(var e in t)return!1;return!0},error:function(t){throw new Error(t)},parseJSON:function(t){return"string"==typeof t&&t?(t=o.trim(t),window.JSON&&window.JSON.parse?window.JSON.parse(t):f.test(t.replace(g,"@").replace(m,"]").replace(v,""))?new Function("return "+t)():void o.error("Invalid JSON: "+t)):null},parseXML:function(t){if("string"!=typeof t||!t)return null;var e;try{window.DOMParser?e=(new DOMParser).parseFromString(t,"text/xml"):((e=new ActiveXObject("Microsoft.XMLDOM")).async="false",e.loadXML(t))}catch(t){e=void 0}return e&&e.documentElement&&!e.getElementsByTagName("parsererror").length||o.error("Invalid XML: "+t),e},noop:function(){},globalEval:function(t){t&&c.test(t)&&(window.execScript||function(t){window.eval.call(window,t)})(t)},camelCase:function(t){return t.replace(k,"ms-").replace(x,D)},nodeName:function(t,e){return t.nodeName&&t.nodeName.toUpperCase()===e.toUpperCase()},each:function(t,e,i){var n,s=0,r=t.length,a=void 0===r||o.isFunction(t);if(i)if(a){for(n in t)if(!1===e.apply(t[n],i))break}else for(;s<r&&!1!==e.apply(t[s++],i););else if(a){for(n in t)if(!1===e.call(t[n],n,t[n]))break}else for(;s<r&&!1!==e.call(t[s],s,t[s++]););return t},trim:P?function(t){return null==t?"":P.call(t)}:function(t){return null==t?"":t.toString().replace(u,"").replace(d,"")},makeArray:function(t,e){
var i=e||[];if(null!=t){var n=o.type(t);null==t.length||"string"===n||"function"===n||"regexp"===n||o.isWindow(t)?S.call(i,t):o.merge(i,t)}return i},inArray:function(t,e,i){var n;if(e){if(E)return E.call(e,t,i);for(n=e.length,i=i?i<0?Math.max(0,n+i):i:0;i<n;i++)if(i in e&&e[i]===t)return i}return-1},merge:function(t,e){var i=t.length,n=0;if("number"==typeof e.length)for(var s=e.length;n<s;n++)t[i++]=e[n];else for(;void 0!==e[n];)t[i++]=e[n++];return t.length=i,t},grep:function(t,e,i){var n=[];i=!!i;for(var s=0,r=t.length;s<r;s++)i!==!!e(t[s],s)&&n.push(t[s]);return n},map:function(t,e,i){var n,s,r=[],a=0,l=t.length;if(t instanceof o||void 0!==l&&"number"==typeof l&&(l>0&&t[0]&&t[l-1]||0===l||o.isArray(t)))for(;a<l;a++)null!=(n=e(t[a],a,i))&&(r[r.length]=n);else for(s in t)null!=(n=e(t[s],s,i))&&(r[r.length]=n);return r.concat.apply([],r)},guid:1,proxy:function(t,e){if("string"==typeof e){var i=t[e];e=t,t=i}if(o.isFunction(t)){var n=M.call(arguments,2),s=function(){return t.apply(e,n.concat(M.call(arguments)))};return s.guid=t.guid=t.guid||s.guid||o.guid++,s}},access:function(t,e,i,n,s,r,a){var l,h=null==i,c=0,u=t.length;if(i&&"object"==typeof i){for(c in i)o.access(t,e,c,i[c],1,r,n);s=1}else if(void 0!==n){if(l=void 0===a&&o.isFunction(n),h&&(l?(l=e,e=function(t,e,i){return l.call(o(t),i)}):(e.call(t,n),e=null)),e)for(;c<u;c++)e(t[c],i,l?n.call(t[c],c,e(t[c],i)):n,a);s=1}return s?t:h?e.call(t):u?e(t[0],i):r},now:function(){return(new Date).getTime()},uaMatch:function(t){t=t.toLowerCase();var e=y.exec(t)||_.exec(t)||b.exec(t)||t.indexOf("compatible")<0&&w.exec(t)||[];return{browser:e[1]||"",version:e[2]||"0"}},sub:function(){function t(e,i){return new t.fn.init(e,i)}o.extend(!0,t,this),t.superclass=this,t.fn=t.prototype=this(),t.fn.constructor=t,t.sub=this.sub,t.fn.init=function(e,n){return n&&n instanceof o&&!(n instanceof t)&&(n=t(n)),o.fn.init.call(this,e,n,i)},t.fn.init.prototype=t.fn;var i=t(e);return t},browser:{}}),o.each("Boolean Number String Function Array Date RegExp Object".split(" "),(function(t,e){I["[object "+e+"]"]=e.toLowerCase()})),(n=o.uaMatch(C)).browser&&(o.browser[n.browser]=!0,o.browser.version=n.version),o.browser.webkit&&(o.browser.safari=!0),c.test(" ")&&(u=/^[\s\xA0]+/,d=/[\s\xA0]+$/),t=o(e),e.addEventListener?r=function(){e.removeEventListener("DOMContentLoaded",r,!1),o.ready()}:e.attachEvent&&(r=function(){"complete"===e.readyState&&(e.detachEvent("onreadystatechange",r),o.ready())}),o}(),r={};s.Callbacks=function(t){t=t?r[t]||function(t){var e,i,n=r[t]={};for(e=0,i=(t=t.split(/\s+/)).length;e<i;e++)n[t[e]]=!0;return n}(t):{};var e,i,n,o,a,l,h=[],c=[],u=function(e){var i,n,r,o;for(i=0,n=e.length;i<n;i++)r=e[i],"array"===(o=s.type(r))?u(r):"function"===o&&(t.unique&&p.has(r)||h.push(r))},d=function(s,r){for(r=r||[],e=!t.memory||[s,r],i=!0,n=!0,l=o||0,o=0,a=h.length;h&&l<a;l++)if(!1===h[l].apply(s,r)&&t.stopOnFalse){e=!0;break}n=!1,h&&(t.once?!0===e?p.disable():h=[]:c&&c.length&&(e=c.shift(),p.fireWith(e[0],e[1])))},p={add:function(){if(h){var t=h.length;u(arguments),
n?a=h.length:e&&!0!==e&&(o=t,d(e[0],e[1]))}return this},remove:function(){if(h)for(var e=arguments,i=0,s=e.length;i<s;i++)for(var r=0;r<h.length&&(e[i]!==h[r]||(n&&r<=a&&(a--,r<=l&&l--),h.splice(r--,1),!t.unique));r++);return this},has:function(t){if(h)for(var e=0,i=h.length;e<i;e++)if(t===h[e])return!0;return!1},empty:function(){return h=[],this},disable:function(){return h=c=e=void 0,this},disabled:function(){return!h},lock:function(){return c=void 0,e&&!0!==e||p.disable(),this},locked:function(){return!c},fireWith:function(i,s){return c&&(n?t.once||c.push([i,s]):t.once&&e||d(i,s)),this},fire:function(){return p.fireWith(this,arguments),this},fired:function(){return!!i}};return p};var o=[].slice;s.extend({Deferred:function(t){var e,i=s.Callbacks("once memory"),n=s.Callbacks("once memory"),r=s.Callbacks("memory"),o="pending",a={resolve:i,reject:n,notify:r},l={done:i.add,fail:n.add,progress:r.add,state:function(){return o},isResolved:i.fired,isRejected:n.fired,then:function(t,e,i){return h.done(t).fail(e).progress(i),this},always:function(){return h.done.apply(h,arguments).fail.apply(h,arguments),this},pipe:function(t,e,i){return s.Deferred((function(n){s.each({done:[t,"resolve"],fail:[e,"reject"],progress:[i,"notify"]},(function(t,e){var i,r=e[0],o=e[1];s.isFunction(r)?h[t]((function(){(i=r.apply(this,arguments))&&s.isFunction(i.promise)?i.promise().then(n.resolve,n.reject,n.notify):n[o+"With"](this===h?n:this,[i])})):h[t](n[o])}))})).promise()},promise:function(t){if(null==t)t=l;else for(var e in l)t[e]=l[e];return t}},h=l.promise({});for(e in a)h[e]=a[e].fire,h[e+"With"]=a[e].fireWith;return h.done((function(){o="resolved"}),n.disable,r.lock).fail((function(){o="rejected"}),i.disable,r.lock),t&&t.call(h,h),h},when:function(t){var e=o.call(arguments,0),i=0,n=e.length,r=new Array(n),a=n,l=n<=1&&t&&s.isFunction(t.promise)?t:s.Deferred(),h=l.promise();function c(t){return function(i){e[t]=arguments.length>1?o.call(arguments,0):i,--a||l.resolveWith(l,e)}}function u(t){return function(e){r[t]=arguments.length>1?o.call(arguments,0):e,l.notifyWith(h,r)}}if(n>1){for(;i<n;i++)e[i]&&e[i].promise&&s.isFunction(e[i].promise)?e[i].promise().then(c(i),l.reject,u(i)):--a;a||l.resolveWith(l,e)}else l!==t&&l.resolveWith(l,n?[t]:[]);return h}}),s.support=function(){var t,i,n,r,o,a,l,h,c,u,d,p=e.createElement("div");e.documentElement;if(p.setAttribute("className","t"),p.innerHTML=" <link/><table></table><a href='/a' style='top:1px;float:left;opacity:.55;'>a</a><input type='checkbox'/>",i=p.getElementsByTagName("*"),n=p.getElementsByTagName("a")[0],!i||!i.length||!n)return{};o=(r=e.createElement("select")).appendChild(e.createElement("option")),a=p.getElementsByTagName("input")[0],t={leadingWhitespace:3===p.firstChild.nodeType,tbody:!p.getElementsByTagName("tbody").length,htmlSerialize:!!p.getElementsByTagName("link").length,style:/top/.test(n.getAttribute("style")),hrefNormalized:"/a"===n.getAttribute("href"),opacity:/^0.55/.test(n.style.opacity),cssFloat:!!n.style.cssFloat,checkOn:"on"===a.value,optSelected:o.selected,
getSetAttribute:"t"!==p.className,enctype:!!e.createElement("form").enctype,html5Clone:"<:nav></:nav>"!==e.createElement("nav").cloneNode(!0).outerHTML,submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0,pixelMargin:!0},s.boxModel=t.boxModel="CSS1Compat"===e.compatMode,a.checked=!0,t.noCloneChecked=a.cloneNode(!0).checked,r.disabled=!0,t.optDisabled=!o.disabled;try{delete p.test}catch(e){t.deleteExpando=!1}if(!p.addEventListener&&p.attachEvent&&p.fireEvent&&(p.attachEvent("onclick",(function(){t.noCloneEvent=!1})),p.cloneNode(!0).fireEvent("onclick")),(a=e.createElement("input")).value="t",a.setAttribute("type","radio"),t.radioValue="t"===a.value,a.setAttribute("checked","checked"),a.setAttribute("name","t"),p.appendChild(a),(l=e.createDocumentFragment()).appendChild(p.lastChild),t.checkClone=l.cloneNode(!0).cloneNode(!0).lastChild.checked,t.appendChecked=a.checked,l.removeChild(a),l.appendChild(p),p.attachEvent)for(u in{submit:1,change:1,focusin:1})(d=(c="on"+u)in p)||(p.setAttribute(c,"return;"),d="function"==typeof p[c]),t[u+"Bubbles"]=d;return l.removeChild(p),l=r=o=p=a=null,s((function(){var i,n,r,o,a,l,c,u=e.getElementsByTagName("body")[0];u&&(c="style='position:absolute;top:0;left:0;width:1px;height:1px;padding:0;margin:0;border:5px solid #000;",(i=e.createElement("div")).style.cssText="padding:0;margin:0;border:0;visibility:hidden;width:0;height:0;position:static;top:0;margin-top:1px",u.insertBefore(i,u.firstChild),p=e.createElement("div"),i.appendChild(p),p.innerHTML="<table><tr><td style='padding:0;margin:0;border:0;display:none'></td><td>t</td></tr></table>",h=p.getElementsByTagName("td"),d=0===h[0].offsetHeight,h[0].style.display="",h[1].style.display="none",t.reliableHiddenOffsets=d&&0===h[0].offsetHeight,window.getComputedStyle&&(p.innerHTML="",(l=e.createElement("div")).style.width="0",l.style.marginRight="0",p.style.width="2px",p.appendChild(l),t.reliableMarginRight=0===(parseInt((window.getComputedStyle(l,null)||{marginRight:0}).marginRight,10)||0)),void 0!==p.style.zoom&&(p.innerHTML="",p.style.width=p.style.padding="1px",p.style.border=0,p.style.overflow="hidden",p.style.display="inline",p.style.zoom=1,t.inlineBlockNeedsLayout=3===p.offsetWidth,p.style.display="block",p.style.overflow="visible",p.innerHTML="<div style='width:5px;'></div>",t.shrinkWrapBlocks=3!==p.offsetWidth),p.style.cssText="position:absolute;top:0;left:0;width:1px;height:1px;padding:0;margin:0;border:0;visibility:hidden;",p.innerHTML="<div style='position:absolute;top:0;left:0;width:1px;height:1px;padding:0;margin:0;border:5px solid #000;display:block;'><div style='padding:0;margin:0;border:0;display:block;overflow:hidden;'></div></div><table style='position:absolute;top:0;left:0;width:1px;height:1px;padding:0;margin:0;border:5px solid #000;' cellpadding='0' cellspacing='0'><tr><td></td></tr></table>",r=(n=p.firstChild).firstChild,o=n.nextSibling.firstChild.firstChild,a={doesNotAddBorder:5!==r.offsetTop,
doesAddBorderForTableAndCells:5===o.offsetTop},r.style.position="fixed",r.style.top="20px",a.fixedPosition=20===r.offsetTop||15===r.offsetTop,r.style.position=r.style.top="",n.style.overflow="hidden",n.style.position="relative",a.subtractsBorderForOverflowNotVisible=-5===r.offsetTop,a.doesNotIncludeMarginInBodyOffset=1!==u.offsetTop,window.getComputedStyle&&(p.style.marginTop="1%",t.pixelMargin="1%"!==(window.getComputedStyle(p,null)||{marginTop:0}).marginTop),void 0!==i.style.zoom&&(i.style.zoom=1),u.removeChild(i),l=p=i=null,s.extend(t,a))})),t}();var a=/^(?:\{.*\}|\[.*\])$/,l=/([A-Z])/g;function h(t,e,i){if(void 0===i&&1===t.nodeType){var n="data-"+e.replace(l,"-$1").toLowerCase();if("string"==typeof(i=t.getAttribute(n))){try{i="true"===i||"false"!==i&&("null"===i?null:s.isNumeric(i)?+i:a.test(i)?s.parseJSON(i):i)}catch(t){}s.data(t,e,i)}else i=void 0}return i}function c(t){for(var e in t)if(("data"!==e||!s.isEmptyObject(t[e]))&&"toJSON"!==e)return!1;return!0}function u(t,e,i){var n=e+"defer",r=e+"queue",o=e+"mark",a=s._data(t,n);!a||"queue"!==i&&s._data(t,r)||"mark"!==i&&s._data(t,o)||setTimeout((function(){s._data(t,r)||s._data(t,o)||(s.removeData(t,n,!0),a.fire())}),0)}s.extend({cache:{},uuid:0,expando:"jQuery"+(s.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(t){return!!(t=t.nodeType?s.cache[t[s.expando]]:t[s.expando])&&!c(t)},data:function(t,e,i,n){if(s.acceptData(t)){var r,o,a,l=s.expando,h="string"==typeof e,c=t.nodeType,u=c?s.cache:t,d=c?t[l]:t[l]&&l,p="events"===e;if(d&&u[d]&&(p||n||u[d].data)||!h||void 0!==i)return d||(c?t[l]=d=++s.uuid:d=l),u[d]||(u[d]={},c||(u[d].toJSON=s.noop)),"object"!=typeof e&&"function"!=typeof e||(n?u[d]=s.extend(u[d],e):u[d].data=s.extend(u[d].data,e)),r=o=u[d],n||(o.data||(o.data={}),o=o.data),void 0!==i&&(o[s.camelCase(e)]=i),p&&!o[e]?r.events:(h?null==(a=o[e])&&(a=o[s.camelCase(e)]):a=o,a)}},removeData:function(t,e,i){if(s.acceptData(t)){var n,r,o,a=s.expando,l=t.nodeType,h=l?s.cache:t,u=l?t[a]:a;if(h[u]){if(e&&(n=i?h[u]:h[u].data)){s.isArray(e)||(e=e in n||(e=s.camelCase(e))in n?[e]:e.split(" "));for(r=0,o=e.length;r<o;r++)delete n[e[r]];if(!(i?c:s.isEmptyObject)(n))return}(i||(delete h[u].data,c(h[u])))&&(s.support.deleteExpando||!h.setInterval?delete h[u]:h[u]=null,l&&(s.support.deleteExpando?delete t[a]:t.removeAttribute?t.removeAttribute(a):t[a]=null))}}},_data:function(t,e,i){return s.data(t,e,i,!0)},acceptData:function(t){if(t.nodeName){var e=s.noData[t.nodeName.toLowerCase()];if(e)return!(!0===e||t.getAttribute("classid")!==e)}return!0}}),s.fn.extend({data:function(t,e){var i,n,r,o,a,l=this[0],c=0,u=null;if(void 0===t){if(this.length&&(u=s.data(l),1===l.nodeType&&!s._data(l,"parsedAttrs"))){for(a=(r=l.attributes).length;c<a;c++)0===(o=r[c].name).indexOf("data-")&&(o=s.camelCase(o.substring(5)),h(l,o,u[o]));s._data(l,"parsedAttrs",!0)}return u}return"object"==typeof t?this.each((function(){s.data(this,t)})):((i=t.split(".",2))[1]=i[1]?"."+i[1]:"",n=i[1]+"!",
s.access(this,(function(e){if(void 0===e)return void 0===(u=this.triggerHandler("getData"+n,[i[0]]))&&l&&(u=s.data(l,t),u=h(l,t,u)),void 0===u&&i[1]?this.data(i[0]):u;i[1]=e,this.each((function(){var r=s(this);r.triggerHandler("setData"+n,i),s.data(this,t,e),r.triggerHandler("changeData"+n,i)}))}),null,e,arguments.length>1,null,!1))},removeData:function(t){return this.each((function(){s.removeData(this,t)}))}}),s.extend({_mark:function(t,e){t&&(e=(e||"fx")+"mark",s._data(t,e,(s._data(t,e)||0)+1))},_unmark:function(t,e,i){if(!0!==t&&(i=e,e=t,t=!1),e){var n=(i=i||"fx")+"mark",r=t?0:(s._data(e,n)||1)-1;r?s._data(e,n,r):(s.removeData(e,n,!0),u(e,i,"mark"))}},queue:function(t,e,i){var n;if(t)return e=(e||"fx")+"queue",n=s._data(t,e),i&&(!n||s.isArray(i)?n=s._data(t,e,s.makeArray(i)):n.push(i)),n||[]},dequeue:function(t,e){e=e||"fx";var i=s.queue(t,e),n=i.shift(),r={};"inprogress"===n&&(n=i.shift()),n&&("fx"===e&&i.unshift("inprogress"),s._data(t,e+".run",r),n.call(t,(function(){s.dequeue(t,e)}),r)),i.length||(s.removeData(t,e+"queue "+e+".run",!0),u(t,e,"queue"))}}),s.fn.extend({queue:function(t,e){var i=2;return"string"!=typeof t&&(e=t,t="fx",i--),arguments.length<i?s.queue(this[0],t):void 0===e?this:this.each((function(){var i=s.queue(this,t,e);"fx"===t&&"inprogress"!==i[0]&&s.dequeue(this,t)}))},dequeue:function(t){return this.each((function(){s.dequeue(this,t)}))},delay:function(t,e){return t=s.fx&&s.fx.speeds[t]||t,e=e||"fx",this.queue(e,(function(e,i){var n=setTimeout(e,t);i.stop=function(){clearTimeout(n)}}))},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){"string"!=typeof t&&(e=t,t=void 0),t=t||"fx";var i,n=s.Deferred(),r=this,o=r.length,a=1,l=t+"defer",h=t+"queue",c=t+"mark";function u(){--a||n.resolveWith(r,[r])}for(;o--;)(i=s.data(r[o],l,void 0,!0)||(s.data(r[o],h,void 0,!0)||s.data(r[o],c,void 0,!0))&&s.data(r[o],l,s.Callbacks("once memory"),!0))&&(a++,i.add(u));return u(),n.promise(e)}});var d,p,f,g=/[\n\t\r]/g,m=/\s+/,v=/\r/g,y=/^(?:button|input)$/i,_=/^(?:button|input|object|select|textarea)$/i,b=/^a(?:rea)?$/i,w=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,x=s.support.getSetAttribute;s.fn.extend({attr:function(t,e){return s.access(this,s.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each((function(){s.removeAttr(this,t)}))},prop:function(t,e){return s.access(this,s.prop,t,e,arguments.length>1)},removeProp:function(t){return t=s.propFix[t]||t,this.each((function(){try{this[t]=void 0,delete this[t]}catch(t){}}))},addClass:function(t){var e,i,n,r,o,a,l;if(s.isFunction(t))return this.each((function(e){s(this).addClass(t.call(this,e,this.className))}));if(t&&"string"==typeof t)for(e=t.split(m),i=0,n=this.length;i<n;i++)if(1===(r=this[i]).nodeType)if(r.className||1!==e.length){for(o=" "+r.className+" ",a=0,l=e.length;a<l;a++)~o.indexOf(" "+e[a]+" ")||(o+=e[a]+" ");r.className=s.trim(o)}else r.className=t;return this},removeClass:function(t){var e,i,n,r,o,a,l
;if(s.isFunction(t))return this.each((function(e){s(this).removeClass(t.call(this,e,this.className))}));if(t&&"string"==typeof t||void 0===t)for(e=(t||"").split(m),i=0,n=this.length;i<n;i++)if(1===(r=this[i]).nodeType&&r.className)if(t){for(o=(" "+r.className+" ").replace(g," "),a=0,l=e.length;a<l;a++)o=o.replace(" "+e[a]+" "," ");r.className=s.trim(o)}else r.className="";return this},toggleClass:function(t,e){var i=typeof t,n="boolean"==typeof e;return s.isFunction(t)?this.each((function(i){s(this).toggleClass(t.call(this,i,this.className,e),e)})):this.each((function(){if("string"===i)for(var r,o=0,a=s(this),l=e,h=t.split(m);r=h[o++];)l=n?l:!a.hasClass(r),a[l?"addClass":"removeClass"](r);else"undefined"!==i&&"boolean"!==i||(this.className&&s._data(this,"__className__",this.className),this.className=this.className||!1===t?"":s._data(this,"__className__")||"")}))},hasClass:function(t){for(var e=" "+t+" ",i=0,n=this.length;i<n;i++)if(1===this[i].nodeType&&(" "+this[i].className+" ").replace(g," ").indexOf(e)>-1)return!0;return!1},val:function(t){var e,i,n,r=this[0];return arguments.length?(n=s.isFunction(t),this.each((function(i){var r,o=s(this);1===this.nodeType&&(null==(r=n?t.call(this,i,o.val()):t)?r="":"number"==typeof r?r+="":s.isArray(r)&&(r=s.map(r,(function(t){return null==t?"":t+""}))),(e=s.valHooks[this.type]||s.valHooks[this.nodeName.toLowerCase()])&&"set"in e&&void 0!==e.set(this,r,"value")||(this.value=r))}))):r?(e=s.valHooks[r.type]||s.valHooks[r.nodeName.toLowerCase()])&&"get"in e&&void 0!==(i=e.get(r,"value"))?i:"string"==typeof(i=r.value)?i.replace(v,""):null==i?"":i:void 0}}),s.extend({valHooks:{option:{get:function(t){var e=t.attributes.value;return!e||e.specified?t.value:t.text}},select:{get:function(t){var e,i,n,r,o=t.selectedIndex,a=[],l=t.options,h="select-one"===t.type;if(o<0)return null;for(i=h?o:0,n=h?o+1:l.length;i<n;i++)if((r=l[i]).selected&&(s.support.optDisabled?!r.disabled:null===r.getAttribute("disabled"))&&(!r.parentNode.disabled||!s.nodeName(r.parentNode,"optgroup"))){if(e=s(r).val(),h)return e;a.push(e)}return h&&!a.length&&l.length?s(l[o]).val():a},set:function(t,e){var i=s.makeArray(e);return s(t).find("option").each((function(){this.selected=s.inArray(s(this).val(),i)>=0})),i.length||(t.selectedIndex=-1),i}}},attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attr:function(t,e,i,n){var r,o,a,l=t.nodeType;if(t&&3!==l&&8!==l&&2!==l)return n&&e in s.attrFn?s(t)[e](i):void 0===t.getAttribute?s.prop(t,e,i):((a=1!==l||!s.isXMLDoc(t))&&(e=e.toLowerCase(),o=s.attrHooks[e]||(w.test(e)?p:d)),void 0!==i?null===i?void s.removeAttr(t,e):o&&"set"in o&&a&&void 0!==(r=o.set(t,i,e))?r:(t.setAttribute(e,""+i),i):o&&"get"in o&&a&&null!==(r=o.get(t,e))?r:null===(r=t.getAttribute(e))?void 0:r)},removeAttr:function(t,e){var i,n,r,o,a,l=0;if(e&&1===t.nodeType)for(o=(n=e.toLowerCase().split(m)).length;l<o;l++)(r=n[l])&&(i=s.propFix[r]||r,(a=w.test(r))||s.attr(t,r,""),t.removeAttribute(x?r:i),a&&i in t&&(t[i]=!1))},attrHooks:{type:{set:function(t,e){
if(y.test(t.nodeName)&&t.parentNode)s.error("type property can't be changed");else if(!s.support.radioValue&&"radio"===e&&s.nodeName(t,"input")){var i=t.value;return t.setAttribute("type",e),i&&(t.value=i),e}}},value:{get:function(t,e){return d&&s.nodeName(t,"button")?d.get(t,e):e in t?t.value:null},set:function(t,e,i){if(d&&s.nodeName(t,"button"))return d.set(t,e,i);t.value=e}}},propFix:{tabindex:"tabIndex",readonly:"readOnly",for:"htmlFor",class:"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(t,e,i){var n,r,o=t.nodeType;if(t&&3!==o&&8!==o&&2!==o)return(1!==o||!s.isXMLDoc(t))&&(e=s.propFix[e]||e,r=s.propHooks[e]),void 0!==i?r&&"set"in r&&void 0!==(n=r.set(t,i,e))?n:t[e]=i:r&&"get"in r&&null!==(n=r.get(t,e))?n:t[e]},propHooks:{tabIndex:{get:function(t){var e=t.getAttributeNode("tabindex");return e&&e.specified?parseInt(e.value,10):_.test(t.nodeName)||b.test(t.nodeName)&&t.href?0:void 0}}}}),s.attrHooks.tabindex=s.propHooks.tabIndex,p={get:function(t,e){var i,n=s.prop(t,e);return!0===n||"boolean"!=typeof n&&(i=t.getAttributeNode(e))&&!1!==i.nodeValue?e.toLowerCase():void 0},set:function(t,e,i){var n;return!1===e?s.removeAttr(t,i):((n=s.propFix[i]||i)in t&&(t[n]=!0),t.setAttribute(i,i.toLowerCase())),i}},x||(f={name:!0,id:!0,coords:!0},d=s.valHooks.button={get:function(t,e){var i;return(i=t.getAttributeNode(e))&&(f[e]?""!==i.nodeValue:i.specified)?i.nodeValue:void 0},set:function(t,i,n){var s=t.getAttributeNode(n);return s||(s=e.createAttribute(n),t.setAttributeNode(s)),s.nodeValue=i+""}},s.attrHooks.tabindex.set=d.set,s.each(["width","height"],(function(t,e){s.attrHooks[e]=s.extend(s.attrHooks[e],{set:function(t,i){if(""===i)return t.setAttribute(e,"auto"),i}})})),s.attrHooks.contenteditable={get:d.get,set:function(t,e,i){""===e&&(e="false"),d.set(t,e,i)}}),s.support.hrefNormalized||s.each(["href","src","width","height"],(function(t,e){s.attrHooks[e]=s.extend(s.attrHooks[e],{get:function(t){var i=t.getAttribute(e,2);return null===i?void 0:i}})})),s.support.style||(s.attrHooks.style={get:function(t){return t.style.cssText.toLowerCase()||void 0},set:function(t,e){return t.style.cssText=""+e}}),s.support.optSelected||(s.propHooks.selected=s.extend(s.propHooks.selected,{get:function(t){var e=t.parentNode;return e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex),null}})),s.support.enctype||(s.propFix.enctype="encoding"),s.support.checkOn||s.each(["radio","checkbox"],(function(){s.valHooks[this]={get:function(t){return null===t.getAttribute("value")?"on":t.value}}})),s.each(["radio","checkbox"],(function(){s.valHooks[this]=s.extend(s.valHooks[this],{set:function(t,e){if(s.isArray(e))return t.checked=s.inArray(s(t).val(),e)>=0}})}))
;var k=/^(?:textarea|input|select)$/i,D=/^([^\.]*)?(?:\.(.+))?$/,C=/(?:^|\s)hover(\.\S+)?\b/,T=/^key/,N=/^(?:mouse|contextmenu)|click/,S=/^(?:focusinfocus|focusoutblur)$/,M=/^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/,P=function(t){var e=M.exec(t);return e&&(e[1]=(e[1]||"").toLowerCase(),e[3]=e[3]&&new RegExp("(?:^|\\s)"+e[3]+"(?:\\s|$)")),e},E=function(t,e){var i=t.attributes||{};return(!e[1]||t.nodeName.toLowerCase()===e[1])&&(!e[2]||(i.id||{}).value===e[2])&&(!e[3]||e[3].test((i.class||{}).value))},I=function(t){return s.event.special.hover?t:t.replace(C,"mouseenter$1 mouseleave$1")};function A(){return!1}function F(){return!0}s.event={add:function(t,e,i,n,r){var o,a,l,h,c,u,d,p,f,g,m;if(3!==t.nodeType&&8!==t.nodeType&&e&&i&&(o=s._data(t))){for(i.handler&&(i=(f=i).handler,r=f.selector),i.guid||(i.guid=s.guid++),(l=o.events)||(o.events=l={}),(a=o.handle)||(o.handle=a=function(t){return void 0===s||t&&s.event.triggered===t.type?void 0:s.event.dispatch.apply(a.elem,arguments)},a.elem=t),e=s.trim(I(e)).split(" "),h=0;h<e.length;h++)u=(c=D.exec(e[h])||[])[1],d=(c[2]||"").split(".").sort(),m=s.event.special[u]||{},u=(r?m.delegateType:m.bindType)||u,m=s.event.special[u]||{},p=s.extend({type:u,origType:c[1],data:n,handler:i,guid:i.guid,selector:r,quick:r&&P(r),namespace:d.join(".")},f),(g=l[u])||((g=l[u]=[]).delegateCount=0,m.setup&&!1!==m.setup.call(t,n,d,a)||(t.addEventListener?t.addEventListener(u,a,!1):t.attachEvent&&t.attachEvent("on"+u,a))),m.add&&(m.add.call(t,p),p.handler.guid||(p.handler.guid=i.guid)),r?g.splice(g.delegateCount++,0,p):g.push(p),s.event.global[u]=!0;t=null}},global:{},remove:function(t,e,i,n,r){var o,a,l,h,c,u,d,p,f,g,m,v,y=s.hasData(t)&&s._data(t);if(y&&(p=y.events)){for(e=s.trim(I(e||"")).split(" "),o=0;o<e.length;o++)if(l=h=(a=D.exec(e[o])||[])[1],c=a[2],l){for(f=s.event.special[l]||{},u=(m=p[l=(n?f.delegateType:f.bindType)||l]||[]).length,c=c?new RegExp("(^|\\.)"+c.split(".").sort().join("\\.(?:.*\\.)?")+"(\\.|$)"):null,d=0;d<m.length;d++)v=m[d],!r&&h!==v.origType||i&&i.guid!==v.guid||c&&!c.test(v.namespace)||n&&n!==v.selector&&("**"!==n||!v.selector)||(m.splice(d--,1),v.selector&&m.delegateCount--,f.remove&&f.remove.call(t,v));0===m.length&&u!==m.length&&(f.teardown&&!1!==f.teardown.call(t,c)||s.removeEvent(t,l,y.handle),delete p[l])}else for(l in p)s.event.remove(t,l+e[o],i,n,!0);s.isEmptyObject(p)&&((g=y.handle)&&(g.elem=null),s.removeData(t,["events","handle"],!0))}},customEvent:{getData:!0,setData:!0,changeData:!0},trigger:function(t,e,i,n){if(!i||3!==i.nodeType&&8!==i.nodeType){var r,o,a,l,h,c,u,d,p,f,g=t.type||t,m=[];if(!S.test(g+s.event.triggered)&&(g.indexOf("!")>=0&&(g=g.slice(0,-1),o=!0),g.indexOf(".")>=0&&(m=g.split("."),g=m.shift(),m.sort()),i&&!s.event.customEvent[g]||s.event.global[g]))if((t="object"==typeof t?t[s.expando]?t:new s.Event(g,t):new s.Event(g)).type=g,t.isTrigger=!0,t.exclusive=o,t.namespace=m.join("."),t.namespace_re=t.namespace?new RegExp("(^|\\.)"+m.join("\\.(?:.*\\.)?")+"(\\.|$)"):null,c=g.indexOf(":")<0?"on"+g:"",i){if(t.result=void 0,t.target||(t.target=i),
(e=null!=e?s.makeArray(e):[]).unshift(t),!(u=s.event.special[g]||{}).trigger||!1!==u.trigger.apply(i,e)){if(p=[[i,u.bindType||g]],!n&&!u.noBubble&&!s.isWindow(i)){for(f=u.delegateType||g,l=S.test(f+g)?i:i.parentNode,h=null;l;l=l.parentNode)p.push([l,f]),h=l;h&&h===i.ownerDocument&&p.push([h.defaultView||h.parentWindow||window,f])}for(a=0;a<p.length&&!t.isPropagationStopped();a++)l=p[a][0],t.type=p[a][1],(d=(s._data(l,"events")||{})[t.type]&&s._data(l,"handle"))&&d.apply(l,e),(d=c&&l[c])&&s.acceptData(l)&&!1===d.apply(l,e)&&t.preventDefault();return t.type=g,n||t.isDefaultPrevented()||u._default&&!1!==u._default.apply(i.ownerDocument,e)||"click"===g&&s.nodeName(i,"a")||!s.acceptData(i)||c&&i[g]&&("focus"!==g&&"blur"!==g||0!==t.target.offsetWidth)&&!s.isWindow(i)&&((h=i[c])&&(i[c]=null),s.event.triggered=g,i[g](),s.event.triggered=void 0,h&&(i[c]=h)),t.result}}else for(a in r=s.cache)r[a].events&&r[a].events[g]&&s.event.trigger(t,e,r[a].handle.elem,!0)}},dispatch:function(t){t=s.event.fix(t||window.event);var e,i,n,r,o,a,l,h,c,u,d=(s._data(this,"events")||{})[t.type]||[],p=d.delegateCount,f=[].slice.call(arguments,0),g=!t.exclusive&&!t.namespace,m=s.event.special[t.type]||{},v=[];if(f[0]=t,t.delegateTarget=this,!m.preDispatch||!1!==m.preDispatch.call(this,t)){if(p&&(!t.button||"click"!==t.type))for((r=s(this)).context=this.ownerDocument||this,n=t.target;n!=this;n=n.parentNode||this)if(!0!==n.disabled){for(a={},h=[],r[0]=n,e=0;e<p;e++)void 0===a[u=(c=d[e]).selector]&&(a[u]=c.quick?E(n,c.quick):r.is(u)),a[u]&&h.push(c);h.length&&v.push({elem:n,matches:h})}for(d.length>p&&v.push({elem:this,matches:d.slice(p)}),e=0;e<v.length&&!t.isPropagationStopped();e++)for(l=v[e],t.currentTarget=l.elem,i=0;i<l.matches.length&&!t.isImmediatePropagationStopped();i++)c=l.matches[i],(g||!t.namespace&&!c.namespace||t.namespace_re&&t.namespace_re.test(c.namespace))&&(t.data=c.data,t.handleObj=c,void 0!==(o=((s.event.special[c.origType]||{}).handle||c.handler).apply(l.elem,f))&&(t.result=o,!1===o&&(t.preventDefault(),t.stopPropagation())));return m.postDispatch&&m.postDispatch.call(this,t),t.result}},props:"attrChange attrName relatedNode srcElement altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(t,e){return null==t.which&&(t.which=null!=e.charCode?e.charCode:e.keyCode),t}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(t,i){var n,s,r,o=i.button,a=i.fromElement;return null==t.pageX&&null!=i.clientX&&(s=(n=t.target.ownerDocument||e).documentElement,r=n.body,t.pageX=i.clientX+(s&&s.scrollLeft||r&&r.scrollLeft||0)-(s&&s.clientLeft||r&&r.clientLeft||0),t.pageY=i.clientY+(s&&s.scrollTop||r&&r.scrollTop||0)-(s&&s.clientTop||r&&r.clientTop||0)),!t.relatedTarget&&a&&(t.relatedTarget=a===t.target?i.toElement:a),t.which||void 0===o||(t.which=1&o?1:2&o?3:4&o?2:0),t}},fix:function(t){
if(t[s.expando])return t;var i,n,r=t,o=s.event.fixHooks[t.type]||{},a=o.props?this.props.concat(o.props):this.props;for(t=s.Event(r),i=a.length;i;)t[n=a[--i]]=r[n];return t.target||(t.target=r.srcElement||e),3===t.target.nodeType&&(t.target=t.target.parentNode),void 0===t.metaKey&&(t.metaKey=t.ctrlKey),o.filter?o.filter(t,r):t},special:{ready:{setup:s.bindReady},load:{noBubble:!0},focus:{delegateType:"focusin"},blur:{delegateType:"focusout"},beforeunload:{setup:function(t,e,i){s.isWindow(this)&&(this.onbeforeunload=i)},teardown:function(t,e){this.onbeforeunload===e&&(this.onbeforeunload=null)}}},simulate:function(t,e,i,n){var r=s.extend(new s.Event,i,{type:t,isSimulated:!0,originalEvent:{}});n?s.event.trigger(r,null,e):s.event.dispatch.call(e,r),r.isDefaultPrevented()&&i.preventDefault()}},s.event.handle=s.event.dispatch,s.removeEvent=e.removeEventListener?function(t,e,i){t.removeEventListener&&t.removeEventListener(e,i,!1)}:function(t,e,i){t.detachEvent&&t.detachEvent("on"+e,i)},s.Event=function(t,e){if(!(this instanceof s.Event))return new s.Event(t,e);t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||!1===t.returnValue||t.getPreventDefault&&t.getPreventDefault()?F:A):this.type=t,e&&s.extend(this,e),this.timeStamp=t&&t.timeStamp||s.now(),this[s.expando]=!0},s.Event.prototype={preventDefault:function(){this.isDefaultPrevented=F;var t=this.originalEvent;t&&(t.preventDefault?t.preventDefault():t.returnValue=!1)},stopPropagation:function(){this.isPropagationStopped=F;var t=this.originalEvent;t&&(t.stopPropagation&&t.stopPropagation(),t.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=F,this.stopPropagation()},isDefaultPrevented:A,isPropagationStopped:A,isImmediatePropagationStopped:A},s.each({mouseenter:"mouseover",mouseleave:"mouseout"},(function(t,e){s.event.special[t]={delegateType:e,bindType:e,handle:function(t){var i,n=this,r=t.relatedTarget,o=t.handleObj;o.selector;return r&&(r===n||s.contains(n,r))||(t.type=o.origType,i=o.handler.apply(this,arguments),t.type=e),i}}})),s.support.submitBubbles||(s.event.special.submit={setup:function(){if(s.nodeName(this,"form"))return!1;s.event.add(this,"click._submit keypress._submit",(function(t){var e=t.target,i=s.nodeName(e,"input")||s.nodeName(e,"button")?e.form:void 0;i&&!i._submit_attached&&(s.event.add(i,"submit._submit",(function(t){t._submit_bubble=!0})),i._submit_attached=!0)}))},postDispatch:function(t){t._submit_bubble&&(delete t._submit_bubble,this.parentNode&&!t.isTrigger&&s.event.simulate("submit",this.parentNode,t,!0))},teardown:function(){if(s.nodeName(this,"form"))return!1;s.event.remove(this,"._submit")}}),s.support.changeBubbles||(s.event.special.change={setup:function(){if(k.test(this.nodeName))return"checkbox"!==this.type&&"radio"!==this.type||(s.event.add(this,"propertychange._change",(function(t){"checked"===t.originalEvent.propertyName&&(this._just_changed=!0)})),s.event.add(this,"click._change",(function(t){this._just_changed&&!t.isTrigger&&(this._just_changed=!1,
s.event.simulate("change",this,t,!0))}))),!1;s.event.add(this,"beforeactivate._change",(function(t){var e=t.target;k.test(e.nodeName)&&!e._change_attached&&(s.event.add(e,"change._change",(function(t){!this.parentNode||t.isSimulated||t.isTrigger||s.event.simulate("change",this.parentNode,t,!0)})),e._change_attached=!0)}))},handle:function(t){var e=t.target;if(this!==e||t.isSimulated||t.isTrigger||"radio"!==e.type&&"checkbox"!==e.type)return t.handleObj.handler.apply(this,arguments)},teardown:function(){return s.event.remove(this,"._change"),k.test(this.nodeName)}}),s.support.focusinBubbles||s.each({focus:"focusin",blur:"focusout"},(function(t,i){var n=0,r=function(t){s.event.simulate(i,t.target,s.event.fix(t),!0)};s.event.special[i]={setup:function(){0==n++&&e.addEventListener(t,r,!0)},teardown:function(){0==--n&&e.removeEventListener(t,r,!0)}}})),s.fn.extend({on:function(t,e,i,n,r){var o,a;if("object"==typeof t){for(a in"string"!=typeof e&&(i=i||e,e=void 0),t)this.on(a,e,i,t[a],r);return this}if(null==i&&null==n?(n=e,i=e=void 0):null==n&&("string"==typeof e?(n=i,i=void 0):(n=i,i=e,e=void 0)),!1===n)n=A;else if(!n)return this;return 1===r&&(o=n,(n=function(t){return s().off(t),o.apply(this,arguments)}).guid=o.guid||(o.guid=s.guid++)),this.each((function(){s.event.add(this,t,n,i,e)}))},one:function(t,e,i,n){return this.on(t,e,i,n,1)},off:function(t,e,i){if(t&&t.preventDefault&&t.handleObj){var n=t.handleObj;return s(t.delegateTarget).off(n.namespace?n.origType+"."+n.namespace:n.origType,n.selector,n.handler),this}if("object"==typeof t){for(var r in t)this.off(r,e,t[r]);return this}return!1!==e&&"function"!=typeof e||(i=e,e=void 0),!1===i&&(i=A),this.each((function(){s.event.remove(this,t,i,e)}))},bind:function(t,e,i){return this.on(t,null,e,i)},unbind:function(t,e){return this.off(t,null,e)},live:function(t,e,i){return s(this.context).on(t,this.selector,e,i),this},die:function(t,e){return s(this.context).off(t,this.selector||"**",e),this},delegate:function(t,e,i,n){return this.on(e,t,i,n)},undelegate:function(t,e,i){return 1==arguments.length?this.off(t,"**"):this.off(e,t,i)},trigger:function(t,e){return this.each((function(){s.event.trigger(t,e,this)}))},triggerHandler:function(t,e){if(this[0])return s.event.trigger(t,e,this[0],!0)},toggle:function(t){var e=arguments,i=t.guid||s.guid++,n=0,r=function(i){var r=(s._data(this,"lastToggle"+t.guid)||0)%n;return s._data(this,"lastToggle"+t.guid,r+1),i.preventDefault(),e[r].apply(this,arguments)||!1};for(r.guid=i;n<e.length;)e[n++].guid=i;return this.click(r)},hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)}}),s.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),(function(t,e){s.fn[e]=function(t,i){return null==i&&(i=t,t=null),arguments.length>0?this.on(e,null,t,i):this.trigger(e)},s.attrFn&&(s.attrFn[e]=!0),T.test(e)&&(s.event.fixHooks[e]=s.event.keyHooks),
N.test(e)&&(s.event.fixHooks[e]=s.event.mouseHooks)})),function(){var t=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,i="sizcache"+(Math.random()+"").replace(".",""),n=0,r=Object.prototype.toString,o=!1,a=!0,l=/\\/g,h=/\r\n/g,c=/\W/;[0,0].sort((function(){return a=!1,0}));var u=function(i,n,s,o){s=s||[];var a=n=n||e;if(1!==n.nodeType&&9!==n.nodeType)return[];if(!i||"string"!=typeof i)return s;var l,h,c,d,g,m,v,y,_=!0,w=u.isXML(n),x=[],D=i;do{if(t.exec(""),(l=t.exec(D))&&(D=l[3],x.push(l[1]),l[2])){d=l[3];break}}while(l);if(x.length>1&&f.exec(i))if(2===x.length&&p.relative[x[0]])h=k(x[0]+x[1],n,o);else for(h=p.relative[x[0]]?[n]:u(x.shift(),n);x.length;)i=x.shift(),p.relative[i]&&(i+=x.shift()),h=k(i,h,o);else if(!o&&x.length>1&&9===n.nodeType&&!w&&p.match.ID.test(x[0])&&!p.match.ID.test(x[x.length-1])&&(n=(g=u.find(x.shift(),n,w)).expr?u.filter(g.expr,g.set)[0]:g.set[0]),n)for(h=(g=o?{expr:x.pop(),set:b(o)}:u.find(x.pop(),1!==x.length||"~"!==x[0]&&"+"!==x[0]||!n.parentNode?n:n.parentNode,w)).expr?u.filter(g.expr,g.set):g.set,x.length>0?c=b(h):_=!1;x.length;)v=m=x.pop(),p.relative[m]?v=x.pop():m="",null==v&&(v=n),p.relative[m](c,v,w);else c=x=[];if(c||(c=h),c||u.error(m||i),"[object Array]"===r.call(c))if(_)if(n&&1===n.nodeType)for(y=0;null!=c[y];y++)c[y]&&(!0===c[y]||1===c[y].nodeType&&u.contains(n,c[y]))&&s.push(h[y]);else for(y=0;null!=c[y];y++)c[y]&&1===c[y].nodeType&&s.push(h[y]);else s.push.apply(s,c);else b(c,s);return d&&(u(d,a,s,o),u.uniqueSort(s)),s};u.uniqueSort=function(t){if(v&&(o=a,t.sort(v),o))for(var e=1;e<t.length;e++)t[e]===t[e-1]&&t.splice(e--,1);return t},u.matches=function(t,e){return u(t,null,null,e)},u.matchesSelector=function(t,e){return u(e,null,null,[t]).length>0},u.find=function(t,e,i){var n,s,r,o,a,h;if(!t)return[];for(s=0,r=p.order.length;s<r;s++)if(a=p.order[s],(o=p.leftMatch[a].exec(t))&&(h=o[1],o.splice(1,1),"\\"!==h.substr(h.length-1)&&(o[1]=(o[1]||"").replace(l,""),null!=(n=p.find[a](o,e,i))))){t=t.replace(p.match[a],"");break}return n||(n=void 0!==e.getElementsByTagName?e.getElementsByTagName("*"):[]),{set:n,expr:t}},u.filter=function(t,e,i,n){for(var s,r,o,a,l,h,c,d,f,g=t,m=[],v=e,y=e&&e[0]&&u.isXML(e[0]);t&&e.length;){for(o in p.filter)if(null!=(s=p.leftMatch[o].exec(t))&&s[2]){if(h=p.filter[o],c=s[1],r=!1,s.splice(1,1),"\\"===c.substr(c.length-1))continue;if(v===m&&(m=[]),p.preFilter[o])if(s=p.preFilter[o](s,v,i,m,n,y)){if(!0===s)continue}else r=a=!0;if(s)for(d=0;null!=(l=v[d]);d++)l&&(f=n^(a=h(l,s,d,v)),i&&null!=a?f?r=!0:v[d]=!1:f&&(m.push(l),r=!0));if(void 0!==a){if(i||(v=m),t=t.replace(p.match[o],""),!r)return[];break}}if(t===g){if(null!=r)break;u.error(t)}g=t}return v},u.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)};var d=u.getText=function(t){var e,i,n=t.nodeType,s="";if(n){if(1===n||9===n||11===n){if("string"==typeof t.textContent)return t.textContent;if("string"==typeof t.innerText)return t.innerText.replace(h,"")
;for(t=t.firstChild;t;t=t.nextSibling)s+=d(t)}else if(3===n||4===n)return t.nodeValue}else for(e=0;i=t[e];e++)8!==i.nodeType&&(s+=d(i));return s},p=u.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(?:(['"])(.*?)\3|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{class:"className",for:"htmlFor"},attrHandle:{href:function(t){return t.getAttribute("href")},type:function(t){return t.getAttribute("type")}},relative:{"+":function(t,e){var i="string"==typeof e,n=i&&!c.test(e),s=i&&!n;n&&(e=e.toLowerCase());for(var r,o=0,a=t.length;o<a;o++)if(r=t[o]){for(;(r=r.previousSibling)&&1!==r.nodeType;);t[o]=s||r&&r.nodeName.toLowerCase()===e?r||!1:r===e}s&&u.filter(e,t,!0)},">":function(t,e){var i,n="string"==typeof e,s=0,r=t.length;if(n&&!c.test(e)){for(e=e.toLowerCase();s<r;s++)if(i=t[s]){var o=i.parentNode;t[s]=o.nodeName.toLowerCase()===e&&o}}else{for(;s<r;s++)(i=t[s])&&(t[s]=n?i.parentNode:i.parentNode===e);n&&u.filter(e,t,!0)}},"":function(t,e,i){var s,r=n++,o=x;"string"!=typeof e||c.test(e)||(s=e=e.toLowerCase(),o=w),o("parentNode",e,r,t,s,i)},"~":function(t,e,i){var s,r=n++,o=x;"string"!=typeof e||c.test(e)||(s=e=e.toLowerCase(),o=w),o("previousSibling",e,r,t,s,i)}},find:{ID:function(t,e,i){if(void 0!==e.getElementById&&!i){var n=e.getElementById(t[1]);return n&&n.parentNode?[n]:[]}},NAME:function(t,e){if(void 0!==e.getElementsByName){for(var i=[],n=e.getElementsByName(t[1]),s=0,r=n.length;s<r;s++)n[s].getAttribute("name")===t[1]&&i.push(n[s]);return 0===i.length?null:i}},TAG:function(t,e){if(void 0!==e.getElementsByTagName)return e.getElementsByTagName(t[1])}},preFilter:{CLASS:function(t,e,i,n,s,r){if(t=" "+t[1].replace(l,"")+" ",r)return t;for(var o,a=0;null!=(o=e[a]);a++)o&&(s^(o.className&&(" "+o.className+" ").replace(/[\t\n\r]/g," ").indexOf(t)>=0)?i||n.push(o):i&&(e[a]=!1));return!1},ID:function(t){return t[1].replace(l,"")},TAG:function(t,e){return t[1].replace(l,"").toLowerCase()},CHILD:function(t){if("nth"===t[1]){t[2]||u.error(t[0]),t[2]=t[2].replace(/^\+|\s*/g,"");var e=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(("even"===t[2]?"2n":"odd"===t[2]&&"2n+1")||!/\D/.test(t[2])&&"0n+"+t[2]||t[2]);t[2]=e[1]+(e[2]||1)-0,t[3]=e[3]-0}else t[2]&&u.error(t[0]);return t[0]=n++,t},ATTR:function(t,e,i,n,s,r){var o=t[1]=t[1].replace(l,"");return!r&&p.attrMap[o]&&(t[1]=p.attrMap[o]),t[4]=(t[4]||t[5]||"").replace(l,""),"~="===t[2]&&(t[4]=" "+t[4]+" "),t},PSEUDO:function(e,i,n,s,r){if("not"===e[1]){if(!((t.exec(e[3])||"").length>1||/^\w/.test(e[3]))){var o=u.filter(e[3],i,n,!0^r);return n||s.push.apply(s,o),!1}e[3]=u(e[3],null,null,i)
}else if(p.match.POS.test(e[0])||p.match.CHILD.test(e[0]))return!0;return e},POS:function(t){return t.unshift(!0),t}},filters:{enabled:function(t){return!1===t.disabled&&"hidden"!==t.type},disabled:function(t){return!0===t.disabled},checked:function(t){return!0===t.checked},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},parent:function(t){return!!t.firstChild},empty:function(t){return!t.firstChild},has:function(t,e,i){return!!u(i[3],t).length},header:function(t){return/h\d/i.test(t.nodeName)},text:function(t){var e=t.getAttribute("type"),i=t.type;return"input"===t.nodeName.toLowerCase()&&"text"===i&&(e===i||null===e)},radio:function(t){return"input"===t.nodeName.toLowerCase()&&"radio"===t.type},checkbox:function(t){return"input"===t.nodeName.toLowerCase()&&"checkbox"===t.type},file:function(t){return"input"===t.nodeName.toLowerCase()&&"file"===t.type},password:function(t){return"input"===t.nodeName.toLowerCase()&&"password"===t.type},submit:function(t){var e=t.nodeName.toLowerCase();return("input"===e||"button"===e)&&"submit"===t.type},image:function(t){return"input"===t.nodeName.toLowerCase()&&"image"===t.type},reset:function(t){var e=t.nodeName.toLowerCase();return("input"===e||"button"===e)&&"reset"===t.type},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},input:function(t){return/input|select|textarea|button/i.test(t.nodeName)},focus:function(t){return t===t.ownerDocument.activeElement}},setFilters:{first:function(t,e){return 0===e},last:function(t,e,i,n){return e===n.length-1},even:function(t,e){return e%2==0},odd:function(t,e){return e%2==1},lt:function(t,e,i){return e<i[3]-0},gt:function(t,e,i){return e>i[3]-0},nth:function(t,e,i){return i[3]-0===e},eq:function(t,e,i){return i[3]-0===e}},filter:{PSEUDO:function(t,e,i,n){var s=e[1],r=p.filters[s];if(r)return r(t,i,e,n);if("contains"===s)return(t.textContent||t.innerText||d([t])||"").indexOf(e[3])>=0;if("not"===s){for(var o=e[3],a=0,l=o.length;a<l;a++)if(o[a]===t)return!1;return!0}u.error(s)},CHILD:function(t,e){var n,s,r,o,a,l,h=e[1],c=t;switch(h){case"only":case"first":for(;c=c.previousSibling;)if(1===c.nodeType)return!1;if("first"===h)return!0;c=t;case"last":for(;c=c.nextSibling;)if(1===c.nodeType)return!1;return!0;case"nth":if(n=e[2],s=e[3],1===n&&0===s)return!0;if(r=e[0],(o=t.parentNode)&&(o[i]!==r||!t.nodeIndex)){for(a=0,c=o.firstChild;c;c=c.nextSibling)1===c.nodeType&&(c.nodeIndex=++a);o[i]=r}return l=t.nodeIndex-s,0===n?0===l:l%n==0&&l/n>=0}},ID:function(t,e){return 1===t.nodeType&&t.getAttribute("id")===e},TAG:function(t,e){return"*"===e&&1===t.nodeType||!!t.nodeName&&t.nodeName.toLowerCase()===e},CLASS:function(t,e){return(" "+(t.className||t.getAttribute("class"))+" ").indexOf(e)>-1},ATTR:function(t,e){var i=e[1],n=u.attr?u.attr(t,i):p.attrHandle[i]?p.attrHandle[i](t):null!=t[i]?t[i]:t.getAttribute(i),s=n+"",r=e[2],o=e[4]
;return null==n?"!="===r:!r&&u.attr?null!=n:"="===r?s===o:"*="===r?s.indexOf(o)>=0:"~="===r?(" "+s+" ").indexOf(o)>=0:o?"!="===r?s!==o:"^="===r?0===s.indexOf(o):"$="===r?s.substr(s.length-o.length)===o:"|="===r&&(s===o||s.substr(0,o.length+1)===o+"-"):s&&!1!==n},POS:function(t,e,i,n){var s=e[2],r=p.setFilters[s];if(r)return r(t,i,e,n)}}},f=p.match.POS,g=function(t,e){return"\\"+(e-0+1)};for(var m in p.match)p.match[m]=new RegExp(p.match[m].source+/(?![^\[]*\])(?![^\(]*\))/.source),p.leftMatch[m]=new RegExp(/(^(?:.|\r|\n)*?)/.source+p.match[m].source.replace(/\\(\d+)/g,g));p.match.globalPOS=f;var v,y,_,b=function(t,e){return t=Array.prototype.slice.call(t,0),e?(e.push.apply(e,t),e):t};try{Array.prototype.slice.call(e.documentElement.childNodes,0)[0].nodeType}catch(t){b=function(t,e){var i=0,n=e||[];if("[object Array]"===r.call(t))Array.prototype.push.apply(n,t);else if("number"==typeof t.length)for(var s=t.length;i<s;i++)n.push(t[i]);else for(;t[i];i++)n.push(t[i]);return n}}function w(t,e,n,s,r,o){for(var a=0,l=s.length;a<l;a++){var h=s[a];if(h){var c=!1;for(h=h[t];h;){if(h[i]===n){c=s[h.sizset];break}if(1!==h.nodeType||o||(h[i]=n,h.sizset=a),h.nodeName.toLowerCase()===e){c=h;break}h=h[t]}s[a]=c}}}function x(t,e,n,s,r,o){for(var a=0,l=s.length;a<l;a++){var h=s[a];if(h){var c=!1;for(h=h[t];h;){if(h[i]===n){c=s[h.sizset];break}if(1===h.nodeType)if(o||(h[i]=n,h.sizset=a),"string"!=typeof e){if(h===e){c=!0;break}}else if(u.filter(e,[h]).length>0){c=h;break}h=h[t]}s[a]=c}}}e.documentElement.compareDocumentPosition?v=function(t,e){return t===e?(o=!0,0):t.compareDocumentPosition&&e.compareDocumentPosition?4&t.compareDocumentPosition(e)?-1:1:t.compareDocumentPosition?-1:1}:(v=function(t,e){if(t===e)return o=!0,0;if(t.sourceIndex&&e.sourceIndex)return t.sourceIndex-e.sourceIndex;var i,n,s=[],r=[],a=t.parentNode,l=e.parentNode,h=a;if(a===l)return y(t,e);if(!a)return-1;if(!l)return 1;for(;h;)s.unshift(h),h=h.parentNode;for(h=l;h;)r.unshift(h),h=h.parentNode;i=s.length,n=r.length;for(var c=0;c<i&&c<n;c++)if(s[c]!==r[c])return y(s[c],r[c]);return c===i?y(t,r[c],-1):y(s[c],e,1)},y=function(t,e,i){if(t===e)return i;for(var n=t.nextSibling;n;){if(n===e)return-1;n=n.nextSibling}return 1}),function(){var t=e.createElement("div"),i="script"+(new Date).getTime(),n=e.documentElement;t.innerHTML="<a name='"+i+"'/>",n.insertBefore(t,n.firstChild),e.getElementById(i)&&(p.find.ID=function(t,e,i){if(void 0!==e.getElementById&&!i){var n=e.getElementById(t[1]);return n?n.id===t[1]||void 0!==n.getAttributeNode&&n.getAttributeNode("id").nodeValue===t[1]?[n]:void 0:[]}},p.filter.ID=function(t,e){var i=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return 1===t.nodeType&&i&&i.nodeValue===e}),n.removeChild(t),n=t=null}(),(_=e.createElement("div")).appendChild(e.createComment("")),_.getElementsByTagName("*").length>0&&(p.find.TAG=function(t,e){var i=e.getElementsByTagName(t[1]);if("*"===t[1]){for(var n=[],s=0;i[s];s++)1===i[s].nodeType&&n.push(i[s]);i=n}return i}),_.innerHTML="<a href='#'></a>",
_.firstChild&&void 0!==_.firstChild.getAttribute&&"#"!==_.firstChild.getAttribute("href")&&(p.attrHandle.href=function(t){return t.getAttribute("href",2)}),_=null,e.querySelectorAll&&function(){var t=u,i=e.createElement("div");if(i.innerHTML="<p class='TEST'></p>",!i.querySelectorAll||0!==i.querySelectorAll(".TEST").length){for(var n in u=function(i,n,s,r){if(n=n||e,!r&&!u.isXML(n)){var o=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(i);if(o&&(1===n.nodeType||9===n.nodeType)){if(o[1])return b(n.getElementsByTagName(i),s);if(o[2]&&p.find.CLASS&&n.getElementsByClassName)return b(n.getElementsByClassName(o[2]),s)}if(9===n.nodeType){if("body"===i&&n.body)return b([n.body],s);if(o&&o[3]){var a=n.getElementById(o[3]);if(!a||!a.parentNode)return b([],s);if(a.id===o[3])return b([a],s)}try{return b(n.querySelectorAll(i),s)}catch(t){}}else if(1===n.nodeType&&"object"!==n.nodeName.toLowerCase()){var l=n,h=n.getAttribute("id"),c=h||"__sizzle__",d=n.parentNode,f=/^\s*[+~]/.test(i);h?c=c.replace(/'/g,"\\$&"):n.setAttribute("id",c),f&&d&&(n=n.parentNode);try{if(!f||d)return b(n.querySelectorAll("[id='"+c+"'] "+i),s)}catch(t){}finally{h||l.removeAttribute("id")}}}return t(i,n,s,r)},t)u[n]=t[n];i=null}}(),function(){var t=e.documentElement,i=t.matchesSelector||t.mozMatchesSelector||t.webkitMatchesSelector||t.msMatchesSelector;if(i){var n=!i.call(e.createElement("div"),"div"),s=!1;try{i.call(e.documentElement,"[test!='']:sizzle")}catch(t){s=!0}u.matchesSelector=function(t,e){if(e=e.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']"),!u.isXML(t))try{if(s||!p.match.PSEUDO.test(e)&&!/!=/.test(e)){var r=i.call(t,e);if(r||!n||t.document&&11!==t.document.nodeType)return r}}catch(t){}return u(e,null,null,[t]).length>0}}}(),function(){var t=e.createElement("div");t.innerHTML="<div class='test e'></div><div class='test'></div>",t.getElementsByClassName&&0!==t.getElementsByClassName("e").length&&(t.lastChild.className="e",1!==t.getElementsByClassName("e").length&&(p.order.splice(1,0,"CLASS"),p.find.CLASS=function(t,e,i){if(void 0!==e.getElementsByClassName&&!i)return e.getElementsByClassName(t[1])},t=null))}(),e.documentElement.contains?u.contains=function(t,e){return t!==e&&(!t.contains||t.contains(e))}:e.documentElement.compareDocumentPosition?u.contains=function(t,e){return!!(16&t.compareDocumentPosition(e))}:u.contains=function(){return!1},u.isXML=function(t){var e=(t?t.ownerDocument||t:0).documentElement;return!!e&&"HTML"!==e.nodeName};var k=function(t,e,i){for(var n,s=[],r="",o=e.nodeType?[e]:e;n=p.match.PSEUDO.exec(t);)r+=n[0],t=t.replace(p.match.PSEUDO,"");t=p.relative[t]?t+"*":t;for(var a=0,l=o.length;a<l;a++)u(t,o[a],s,i);return u.filter(r,s)};u.attr=s.attr,u.selectors.attrMap={},s.find=u,s.expr=u.selectors,s.expr[":"]=s.expr.filters,s.unique=u.uniqueSort,s.text=u.getText,s.isXMLDoc=u.isXML,s.contains=u.contains}();var H=/Until$/,z=/^(?:parents|prevUntil|prevAll)/,L=/,/,O=/^.[^:#\[\.,]*$/,j=Array.prototype.slice,W=s.expr.match.globalPOS,R={children:!0,contents:!0,next:!0,prev:!0};function Y(t){return!t||!t.parentNode||11===t.parentNode.nodeType}
function B(t,e,i){if(e=e||0,s.isFunction(e))return s.grep(t,(function(t,n){return!!e.call(t,n,t)===i}));if(e.nodeType)return s.grep(t,(function(t,n){return t===e===i}));if("string"==typeof e){var n=s.grep(t,(function(t){return 1===t.nodeType}));if(O.test(e))return s.filter(e,n,!i);e=s.filter(e,n)}return s.grep(t,(function(t,n){return s.inArray(t,e)>=0===i}))}function q(t){var e=X.split("|"),i=t.createDocumentFragment();if(i.createElement)for(;e.length;)i.createElement(e.pop());return i}s.fn.extend({find:function(t){var e,i,n=this;if("string"!=typeof t)return s(t).filter((function(){for(e=0,i=n.length;e<i;e++)if(s.contains(n[e],this))return!0}));var r,o,a,l=this.pushStack("","find",t);for(e=0,i=this.length;e<i;e++)if(r=l.length,s.find(t,this[e],l),e>0)for(o=r;o<l.length;o++)for(a=0;a<r;a++)if(l[a]===l[o]){l.splice(o--,1);break}return l},has:function(t){var e=s(t);return this.filter((function(){for(var t=0,i=e.length;t<i;t++)if(s.contains(this,e[t]))return!0}))},not:function(t){return this.pushStack(B(this,t,!1),"not",t)},filter:function(t){return this.pushStack(B(this,t,!0),"filter",t)},is:function(t){return!!t&&("string"==typeof t?W.test(t)?s(t,this.context).index(this[0])>=0:s.filter(t,this).length>0:this.filter(t).length>0)},closest:function(t,e){var i,n,r=[],o=this[0];if(s.isArray(t)){for(var a=1;o&&o.ownerDocument&&o!==e;){for(i=0;i<t.length;i++)s(o).is(t[i])&&r.push({selector:t[i],elem:o,level:a});o=o.parentNode,a++}return r}var l=W.test(t)||"string"!=typeof t?s(t,e||this.context):0;for(i=0,n=this.length;i<n;i++)for(o=this[i];o;){if(l?l.index(o)>-1:s.find.matchesSelector(o,t)){r.push(o);break}if(!(o=o.parentNode)||!o.ownerDocument||o===e||11===o.nodeType)break}return r=r.length>1?s.unique(r):r,this.pushStack(r,"closest",t)},index:function(t){return t?"string"==typeof t?s.inArray(this[0],s(t)):s.inArray(t.jquery?t[0]:t,this):this[0]&&this[0].parentNode?this.prevAll().length:-1},add:function(t,e){var i="string"==typeof t?s(t,e):s.makeArray(t&&t.nodeType?[t]:t),n=s.merge(this.get(),i);return this.pushStack(Y(i[0])||Y(n[0])?n:s.unique(n))},andSelf:function(){return this.add(this.prevObject)}}),s.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return s.dir(t,"parentNode")},parentsUntil:function(t,e,i){return s.dir(t,"parentNode",i)},next:function(t){return s.nth(t,2,"nextSibling")},prev:function(t){return s.nth(t,2,"previousSibling")},nextAll:function(t){return s.dir(t,"nextSibling")},prevAll:function(t){return s.dir(t,"previousSibling")},nextUntil:function(t,e,i){return s.dir(t,"nextSibling",i)},prevUntil:function(t,e,i){return s.dir(t,"previousSibling",i)},siblings:function(t){return s.sibling((t.parentNode||{}).firstChild,t)},children:function(t){return s.sibling(t.firstChild)},contents:function(t){return s.nodeName(t,"iframe")?t.contentDocument||t.contentWindow.document:s.makeArray(t.childNodes)}},(function(t,e){s.fn[t]=function(i,n){var r=s.map(this,e,i);return H.test(t)||(n=i),n&&"string"==typeof n&&(r=s.filter(n,r)),r=this.length>1&&!R[t]?s.unique(r):r,
(this.length>1||L.test(n))&&z.test(t)&&(r=r.reverse()),this.pushStack(r,t,j.call(arguments).join(","))}})),s.extend({filter:function(t,e,i){return i&&(t=":not("+t+")"),1===e.length?s.find.matchesSelector(e[0],t)?[e[0]]:[]:s.find.matches(t,e)},dir:function(t,e,i){for(var n=[],r=t[e];r&&9!==r.nodeType&&(void 0===i||1!==r.nodeType||!s(r).is(i));)1===r.nodeType&&n.push(r),r=r[e];return n},nth:function(t,e,i,n){e=e||1;for(var s=0;t&&(1!==t.nodeType||++s!==e);t=t[i]);return t},sibling:function(t,e){for(var i=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&i.push(t);return i}});var X="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",$=/ jQuery\d+="(?:\d+|null)"/g,K=/^\s+/,U=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,V=/<([\w:]+)/,J=/<tbody/i,G=/<|&#?\w+;/,Q=/<(?:script|style)/i,Z=/<(?:script|object|embed|option|style)/i,tt=new RegExp("<(?:"+X+")[\\s/>]","i"),et=/checked\s*(?:[^=]|=\s*.checked.)/i,it=/\/(java|ecma)script/i,nt=/^\s*<!(?:\[CDATA\[|\-\-)/,st={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]},rt=q(e);function ot(t,e){return s.nodeName(t,"table")?t.getElementsByTagName("tbody")[0]||t.appendChild(t.ownerDocument.createElement("tbody")):t}function at(t,e){if(1===e.nodeType&&s.hasData(t)){var i,n,r,o=s._data(t),a=s._data(e,o),l=o.events;if(l)for(i in delete a.handle,a.events={},l)for(n=0,r=l[i].length;n<r;n++)s.event.add(e,i,l[i][n]);a.data&&(a.data=s.extend({},a.data))}}function lt(t,e){var i;1===e.nodeType&&(e.clearAttributes&&e.clearAttributes(),e.mergeAttributes&&e.mergeAttributes(t),"object"===(i=e.nodeName.toLowerCase())?e.outerHTML=t.outerHTML:"input"!==i||"checkbox"!==t.type&&"radio"!==t.type?"option"===i?e.selected=t.defaultSelected:"input"===i||"textarea"===i?e.defaultValue=t.defaultValue:"script"===i&&e.text!==t.text&&(e.text=t.text):(t.checked&&(e.defaultChecked=e.checked=t.checked),e.value!==t.value&&(e.value=t.value)),e.removeAttribute(s.expando),e.removeAttribute("_submit_attached"),e.removeAttribute("_change_attached"))}function ht(t){return void 0!==t.getElementsByTagName?t.getElementsByTagName("*"):void 0!==t.querySelectorAll?t.querySelectorAll("*"):[]}function ct(t){"checkbox"!==t.type&&"radio"!==t.type||(t.defaultChecked=t.checked)}function ut(t){var e=(t.nodeName||"").toLowerCase();"input"===e?ct(t):"script"!==e&&void 0!==t.getElementsByTagName&&s.grep(t.getElementsByTagName("input"),ct)}st.optgroup=st.option,st.tbody=st.tfoot=st.colgroup=st.caption=st.thead,st.th=st.td,s.support.htmlSerialize||(st._default=[1,"div<div>","</div>"]),s.fn.extend({text:function(t){return s.access(this,(function(t){
return void 0===t?s.text(this):this.empty().append((this[0]&&this[0].ownerDocument||e).createTextNode(t))}),null,t,arguments.length)},wrapAll:function(t){if(s.isFunction(t))return this.each((function(e){s(this).wrapAll(t.call(this,e))}));if(this[0]){var e=s(t,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&e.insertBefore(this[0]),e.map((function(){for(var t=this;t.firstChild&&1===t.firstChild.nodeType;)t=t.firstChild;return t})).append(this)}return this},wrapInner:function(t){return s.isFunction(t)?this.each((function(e){s(this).wrapInner(t.call(this,e))})):this.each((function(){var e=s(this),i=e.contents();i.length?i.wrapAll(t):e.append(t)}))},wrap:function(t){var e=s.isFunction(t);return this.each((function(i){s(this).wrapAll(e?t.call(this,i):t)}))},unwrap:function(){return this.parent().each((function(){s.nodeName(this,"body")||s(this).replaceWith(this.childNodes)})).end()},append:function(){return this.domManip(arguments,!0,(function(t){1===this.nodeType&&this.appendChild(t)}))},prepend:function(){return this.domManip(arguments,!0,(function(t){1===this.nodeType&&this.insertBefore(t,this.firstChild)}))},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,(function(t){this.parentNode.insertBefore(t,this)}));if(arguments.length){var t=s.clean(arguments);return t.push.apply(t,this.toArray()),this.pushStack(t,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,(function(t){this.parentNode.insertBefore(t,this.nextSibling)}));if(arguments.length){var t=this.pushStack(this,"after",arguments);return t.push.apply(t,s.clean(arguments)),t}},remove:function(t,e){for(var i,n=0;null!=(i=this[n]);n++)t&&!s.filter(t,[i]).length||(e||1!==i.nodeType||(s.cleanData(i.getElementsByTagName("*")),s.cleanData([i])),i.parentNode&&i.parentNode.removeChild(i));return this},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)for(1===t.nodeType&&s.cleanData(t.getElementsByTagName("*"));t.firstChild;)t.removeChild(t.firstChild);return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map((function(){return s.clone(this,t,e)}))},html:function(t){return s.access(this,(function(t){var e=this[0]||{},i=0,n=this.length;if(void 0===t)return 1===e.nodeType?e.innerHTML.replace($,""):null;if("string"==typeof t&&!Q.test(t)&&(s.support.leadingWhitespace||!K.test(t))&&!st[(V.exec(t)||["",""])[1].toLowerCase()]){t=t.replace(U,"<$1></$2>");try{for(;i<n;i++)1===(e=this[i]||{}).nodeType&&(s.cleanData(e.getElementsByTagName("*")),e.innerHTML=t);e=0}catch(t){}}e&&this.empty().append(t)}),null,t,arguments.length)},replaceWith:function(t){return this[0]&&this[0].parentNode?s.isFunction(t)?this.each((function(e){var i=s(this),n=i.html();i.replaceWith(t.call(this,e,n))})):("string"!=typeof t&&(t=s(t).detach()),this.each((function(){var e=this.nextSibling,i=this.parentNode;s(this).remove(),e?s(e).before(t):s(i).append(t)}))):this.length?this.pushStack(s(s.isFunction(t)?t():t),"replaceWith",t):this},detach:function(t){return this.remove(t,!0)},
domManip:function(t,e,i){var n,r,o,a,l=t[0],h=[];if(!s.support.checkClone&&3===arguments.length&&"string"==typeof l&&et.test(l))return this.each((function(){s(this).domManip(t,e,i,!0)}));if(s.isFunction(l))return this.each((function(n){var r=s(this);t[0]=l.call(this,n,e?r.html():void 0),r.domManip(t,e,i)}));if(this[0]){if(a=l&&l.parentNode,r=1===(o=(n=s.support.parentNode&&a&&11===a.nodeType&&a.childNodes.length===this.length?{fragment:a}:s.buildFragment(t,this,h)).fragment).childNodes.length?o=o.firstChild:o.firstChild){e=e&&s.nodeName(r,"tr");for(var c=0,u=this.length,d=u-1;c<u;c++)i.call(e?ot(this[c],r):this[c],n.cacheable||u>1&&c<d?s.clone(o,!0,!0):o)}h.length&&s.each(h,(function(t,e){e.src?s.ajax({type:"GET",global:!1,url:e.src,async:!1,dataType:"script"}):s.globalEval((e.text||e.textContent||e.innerHTML||"").replace(nt,"/*$0*/")),e.parentNode&&e.parentNode.removeChild(e)}))}return this}}),s.buildFragment=function(t,i,n){var r,o,a,l,h=t[0];return i&&i[0]&&(l=i[0].ownerDocument||i[0]),l.createDocumentFragment||(l=e),!(1===t.length&&"string"==typeof h&&h.length<512&&l===e&&"<"===h.charAt(0))||Z.test(h)||!s.support.checkClone&&et.test(h)||!s.support.html5Clone&&tt.test(h)||(o=!0,(a=s.fragments[h])&&1!==a&&(r=a)),r||(r=l.createDocumentFragment(),s.clean(t,l,r,n)),o&&(s.fragments[h]=a?r:1),{fragment:r,cacheable:o}},s.fragments={},s.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(t,e){s.fn[t]=function(i){var n=[],r=s(i),o=1===this.length&&this[0].parentNode;if(o&&11===o.nodeType&&1===o.childNodes.length&&1===r.length)return r[e](this[0]),this;for(var a=0,l=r.length;a<l;a++){var h=(a>0?this.clone(!0):this).get();s(r[a])[e](h),n=n.concat(h)}return this.pushStack(n,t,r.selector)}})),s.extend({clone:function(t,i,n){var r,o,a,l=s.support.html5Clone||s.isXMLDoc(t)||!tt.test("<"+t.nodeName+">")?t.cloneNode(!0):function(t){var i=e.createElement("div");return rt.appendChild(i),i.innerHTML=t.outerHTML,i.firstChild}(t);if(!(s.support.noCloneEvent&&s.support.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||s.isXMLDoc(t)))for(lt(t,l),r=ht(t),o=ht(l),a=0;r[a];++a)o[a]&&lt(r[a],o[a]);if(i&&(at(t,l),n))for(r=ht(t),o=ht(l),a=0;r[a];++a)at(r[a],o[a]);return r=o=null,l},clean:function(t,i,n,r){var o,a,l,h=[];void 0===(i=i||e).createElement&&(i=i.ownerDocument||i[0]&&i[0].ownerDocument||e);for(var c,u=0;null!=(c=t[u]);u++)if("number"==typeof c&&(c+=""),c){if("string"==typeof c)if(G.test(c)){c=c.replace(U,"<$1></$2>");var d,p=(V.exec(c)||["",""])[1].toLowerCase(),f=st[p]||st._default,g=f[0],m=i.createElement("div"),v=rt.childNodes;for(i===e?rt.appendChild(m):q(i).appendChild(m),m.innerHTML=f[1]+c+f[2];g--;)m=m.lastChild;if(!s.support.tbody){var y=J.test(c),_="table"!==p||y?"<table>"!==f[1]||y?[]:m.childNodes:m.firstChild&&m.firstChild.childNodes;for(l=_.length-1;l>=0;--l)s.nodeName(_[l],"tbody")&&!_[l].childNodes.length&&_[l].parentNode.removeChild(_[l])}!s.support.leadingWhitespace&&K.test(c)&&m.insertBefore(i.createTextNode(K.exec(c)[0]),m.firstChild),
c=m.childNodes,m&&(m.parentNode.removeChild(m),v.length>0&&(d=v[v.length-1])&&d.parentNode&&d.parentNode.removeChild(d))}else c=i.createTextNode(c);var b;if(!s.support.appendChecked)if(c[0]&&"number"==typeof(b=c.length))for(l=0;l<b;l++)ut(c[l]);else ut(c);c.nodeType?h.push(c):h=s.merge(h,c)}if(n)for(o=function(t){return!t.type||it.test(t.type)},u=0;h[u];u++)if(a=h[u],r&&s.nodeName(a,"script")&&(!a.type||it.test(a.type)))r.push(a.parentNode?a.parentNode.removeChild(a):a);else{if(1===a.nodeType){var w=s.grep(a.getElementsByTagName("script"),o);h.splice.apply(h,[u+1,0].concat(w))}n.appendChild(a)}return h},cleanData:function(t){for(var e,i,n,r=s.cache,o=s.event.special,a=s.support.deleteExpando,l=0;null!=(n=t[l]);l++)if((!n.nodeName||!s.noData[n.nodeName.toLowerCase()])&&(i=n[s.expando])){if((e=r[i])&&e.events){for(var h in e.events)o[h]?s.event.remove(n,h):s.removeEvent(n,h,e.handle);e.handle&&(e.handle.elem=null)}a?delete n[s.expando]:n.removeAttribute&&n.removeAttribute(s.expando),delete r[i]}}});var dt,pt,ft,gt=/alpha\([^)]*\)/i,mt=/opacity=([^)]*)/,vt=/([A-Z]|^ms)/g,yt=/^[\-+]?(?:\d*\.)?\d+$/i,_t=/^-?(?:\d*\.)?\d+(?!px)[^\d\s]+$/i,bt=/^([\-+])=([\-+.\de]+)/,wt=/^margin/,xt={position:"absolute",visibility:"hidden",display:"block"},kt=["Top","Right","Bottom","Left"];function Dt(t,e,i){var n="width"===e?t.offsetWidth:t.offsetHeight,r="width"===e?1:0;if(n>0){if("border"!==i)for(;r<4;r+=2)i||(n-=parseFloat(s.css(t,"padding"+kt[r]))||0),"margin"===i?n+=parseFloat(s.css(t,i+kt[r]))||0:n-=parseFloat(s.css(t,"border"+kt[r]+"Width"))||0;return n+"px"}if(((n=dt(t,e))<0||null==n)&&(n=t.style[e]),_t.test(n))return n;if(n=parseFloat(n)||0,i)for(;r<4;r+=2)n+=parseFloat(s.css(t,"padding"+kt[r]))||0,"padding"!==i&&(n+=parseFloat(s.css(t,"border"+kt[r]+"Width"))||0),"margin"===i&&(n+=parseFloat(s.css(t,i+kt[r]))||0);return n+"px"}s.fn.css=function(t,e){return s.access(this,(function(t,e,i){return void 0!==i?s.style(t,e,i):s.css(t,e)}),t,e,arguments.length>1)},s.extend({cssHooks:{opacity:{get:function(t,e){if(e){var i=dt(t,"opacity");return""===i?"1":i}return t.style.opacity}}},cssNumber:{fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:s.support.cssFloat?"cssFloat":"styleFloat"},style:function(t,e,i,n){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var r,o,a=s.camelCase(e),l=t.style,h=s.cssHooks[a];if(e=s.cssProps[a]||a,void 0===i)return h&&"get"in h&&void 0!==(r=h.get(t,!1,n))?r:l[e];if(!("string"===(o=typeof i)&&(r=bt.exec(i))&&(i=+(r[1]+1)*+r[2]+parseFloat(s.css(t,e)),o="number"),null==i||"number"===o&&isNaN(i)||("number"!==o||s.cssNumber[a]||(i+="px"),h&&"set"in h&&void 0===(i=h.set(t,i)))))try{l[e]=i}catch(t){}}},css:function(t,e,i){var n,r;return e=s.camelCase(e),r=s.cssHooks[e],"cssFloat"===(e=s.cssProps[e]||e)&&(e="float"),r&&"get"in r&&void 0!==(n=r.get(t,!0,i))?n:dt?dt(t,e):void 0},swap:function(t,e,i){var n,s,r={};for(s in e)r[s]=t.style[s],t.style[s]=e[s];for(s in n=i.call(t),e)t.style[s]=r[s];return n}}),s.curCSS=s.css,
e.defaultView&&e.defaultView.getComputedStyle&&(pt=function(t,e){var i,n,r,o,a=t.style;return e=e.replace(vt,"-$1").toLowerCase(),(n=t.ownerDocument.defaultView)&&(r=n.getComputedStyle(t,null))&&(""!==(i=r.getPropertyValue(e))||s.contains(t.ownerDocument.documentElement,t)||(i=s.style(t,e))),!s.support.pixelMargin&&r&&wt.test(e)&&_t.test(i)&&(o=a.width,a.width=i,i=r.width,a.width=o),i}),e.documentElement.currentStyle&&(ft=function(t,e){var i,n,s,r=t.currentStyle&&t.currentStyle[e],o=t.style;return null==r&&o&&(s=o[e])&&(r=s),_t.test(r)&&(i=o.left,(n=t.runtimeStyle&&t.runtimeStyle.left)&&(t.runtimeStyle.left=t.currentStyle.left),o.left="fontSize"===e?"1em":r,r=o.pixelLeft+"px",o.left=i,n&&(t.runtimeStyle.left=n)),""===r?"auto":r}),dt=pt||ft,s.each(["height","width"],(function(t,e){s.cssHooks[e]={get:function(t,i,n){if(i)return 0!==t.offsetWidth?Dt(t,e,n):s.swap(t,xt,(function(){return Dt(t,e,n)}))},set:function(t,e){return yt.test(e)?e+"px":e}}})),s.support.opacity||(s.cssHooks.opacity={get:function(t,e){return mt.test((e&&t.currentStyle?t.currentStyle.filter:t.style.filter)||"")?parseFloat(RegExp.$1)/100+"":e?"1":""},set:function(t,e){var i=t.style,n=t.currentStyle,r=s.isNumeric(e)?"alpha(opacity="+100*e+")":"",o=n&&n.filter||i.filter||"";i.zoom=1,e>=1&&""===s.trim(o.replace(gt,""))&&(i.removeAttribute("filter"),n&&!n.filter)||(i.filter=gt.test(o)?o.replace(gt,r):o+" "+r)}}),s((function(){s.support.reliableMarginRight||(s.cssHooks.marginRight={get:function(t,e){return s.swap(t,{display:"inline-block"},(function(){return e?dt(t,"margin-right"):t.style.marginRight}))}})})),s.expr&&s.expr.filters&&(s.expr.filters.hidden=function(t){var e=t.offsetWidth,i=t.offsetHeight;return 0===e&&0===i||!s.support.reliableHiddenOffsets&&"none"===(t.style&&t.style.display||s.css(t,"display"))},s.expr.filters.visible=function(t){return!s.expr.filters.hidden(t)}),s.each({margin:"",padding:"",border:"Width"},(function(t,e){s.cssHooks[t+e]={expand:function(i){var n,s="string"==typeof i?i.split(" "):[i],r={};for(n=0;n<4;n++)r[t+kt[n]+e]=s[n]||s[n-2]||s[0];return r}}}));var Ct,Tt,Nt=/%20/g,St=/\[\]$/,Mt=/\r?\n/g,Pt=/#.*$/,Et=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,It=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,At=/^(?:GET|HEAD)$/,Ft=/^\/\//,Ht=/\?/,zt=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,Lt=/^(?:select|textarea)/i,Ot=/\s+/,jt=/([?&])_=[^&]*/,Wt=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,Rt=s.fn.load,Yt={},Bt={},qt=["*/"]+["*"];try{Ct=n.href}catch(t){(Ct=e.createElement("a")).href="",Ct=Ct.href}function Xt(t){return function(e,i){if("string"!=typeof e&&(i=e,e="*"),s.isFunction(i))for(var n,r,o=e.toLowerCase().split(Ot),a=0,l=o.length;a<l;a++)n=o[a],(r=/^\+/.test(n))&&(n=n.substr(1)||"*"),(t[n]=t[n]||[])[r?"unshift":"push"](i)}}function $t(t,e,i,n,s,r){(r=r||{})[s=s||e.dataTypes[0]]=!0;for(var o,a=t[s],l=0,h=a?a.length:0,c=t===Yt;l<h&&(c||!o);l++)"string"==typeof(o=a[l](e,i,n))&&(!c||r[o]?o=void 0:(e.dataTypes.unshift(o),o=$t(t,e,i,n,o,r)))
;return!c&&o||r["*"]||(o=$t(t,e,i,n,"*",r)),o}function Kt(t,e){var i,n,r=s.ajaxSettings.flatOptions||{};for(i in e)void 0!==e[i]&&((r[i]?t:n||(n={}))[i]=e[i]);n&&s.extend(!0,t,n)}function Ut(t,e,i,n){if(s.isArray(e))s.each(e,(function(e,s){i||St.test(t)?n(t,s):Ut(t+"["+("object"==typeof s?e:"")+"]",s,i,n)}));else if(i||"object"!==s.type(e))n(t,e);else for(var r in e)Ut(t+"["+r+"]",e[r],i,n)}Tt=Wt.exec(Ct.toLowerCase())||[],s.fn.extend({load:function(t,e,i){if("string"!=typeof t&&Rt)return Rt.apply(this,arguments);if(!this.length)return this;var n=t.indexOf(" ");if(n>=0){var r=t.slice(n,t.length);t=t.slice(0,n)}var o="GET";e&&(s.isFunction(e)?(i=e,e=void 0):"object"==typeof e&&(e=s.param(e,s.ajaxSettings.traditional),o="POST"));var a=this;return s.ajax({url:t,type:o,dataType:"html",data:e,complete:function(t,e,n){n=t.responseText,t.isResolved()&&(t.done((function(t){n=t})),a.html(r?s("<div>").append(n.replace(zt,"")).find(r):n)),i&&a.each(i,[n,e,t])}}),this},serialize:function(){return s.param(this.serializeArray())},serializeArray:function(){return this.map((function(){return this.elements?s.makeArray(this.elements):this})).filter((function(){return this.name&&!this.disabled&&(this.checked||Lt.test(this.nodeName)||It.test(this.type))})).map((function(t,e){var i=s(this).val();return null==i?null:s.isArray(i)?s.map(i,(function(t,i){return{name:e.name,value:t.replace(Mt,"\r\n")}})):{name:e.name,value:i.replace(Mt,"\r\n")}})).get()}}),s.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),(function(t,e){s.fn[e]=function(t){return this.on(e,t)}})),s.each(["get","post"],(function(t,e){s[e]=function(t,i,n,r){return s.isFunction(i)&&(r=r||n,n=i,i=void 0),s.ajax({type:e,url:t,data:i,success:n,dataType:r})}})),s.extend({getScript:function(t,e){return s.get(t,void 0,e,"script")},getJSON:function(t,e,i){return s.get(t,e,i,"json")},ajaxSetup:function(t,e){return e?Kt(t,s.ajaxSettings):(e=t,t=s.ajaxSettings),Kt(t,e),t},ajaxSettings:{url:Ct,isLocal:/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/.test(Tt[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded; charset=UTF-8",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":qt},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":window.String,"text html":!0,"text json":s.parseJSON,"text xml":s.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:Xt(Yt),ajaxTransport:Xt(Bt),ajax:function(t,e){"object"==typeof t&&(e=t,t=void 0),e=e||{};var i,n,r,o,a,l,h,c,u=s.ajaxSetup({},e),d=u.context||u,p=d!==u&&(d.nodeType||d instanceof s)?s(d):s.event,f=s.Deferred(),g=s.Callbacks("once memory"),m=u.statusCode||{},v={},y={},_=0,b={readyState:0,setRequestHeader:function(t,e){if(!_){var i=t.toLowerCase();t=y[i]=y[i]||t,v[t]=e}return this},getAllResponseHeaders:function(){return 2===_?n:null},getResponseHeader:function(t){var e;if(2===_){
if(!r)for(r={};e=Et.exec(n);)r[e[1].toLowerCase()]=e[2];e=r[t.toLowerCase()]}return void 0===e?null:e},overrideMimeType:function(t){return _||(u.mimeType=t),this},abort:function(t){return t=t||"abort",o&&o.abort(t),w(0,t),this}};function w(t,e,r,l){if(2!==_){_=2,a&&clearTimeout(a),o=void 0,n=l||"",b.readyState=t>0?4:0;var c,v,y,w,x,k=e,D=r?function(t,e,i){var n,s,r,o,a=t.contents,l=t.dataTypes,h=t.responseFields;for(s in h)s in i&&(e[h[s]]=i[s]);for(;"*"===l[0];)l.shift(),void 0===n&&(n=t.mimeType||e.getResponseHeader("content-type"));if(n)for(s in a)if(a[s]&&a[s].test(n)){l.unshift(s);break}if(l[0]in i)r=l[0];else{for(s in i){if(!l[0]||t.converters[s+" "+l[0]]){r=s;break}o||(o=s)}r=r||o}if(r)return r!==l[0]&&l.unshift(r),i[r]}(u,b,r):void 0;if(t>=200&&t<300||304===t)if(u.ifModified&&((w=b.getResponseHeader("Last-Modified"))&&(s.lastModified[i]=w),(x=b.getResponseHeader("Etag"))&&(s.etag[i]=x)),304===t)k="notmodified",c=!0;else try{v=function(t,e){t.dataFilter&&(e=t.dataFilter(e,t.dataType));var i,n,r,o,a,l,h,c,u=t.dataTypes,d={},p=u.length,f=u[0];for(i=1;i<p;i++){if(1===i)for(n in t.converters)"string"==typeof n&&(d[n.toLowerCase()]=t.converters[n]);if(o=f,"*"===(f=u[i]))f=o;else if("*"!==o&&o!==f){if(!(l=d[a=o+" "+f]||d["* "+f]))for(h in c=void 0,d)if(((r=h.split(" "))[0]===o||"*"===r[0])&&(c=d[r[1]+" "+f])){!0===(h=d[h])?l=c:!0===c&&(l=h);break}l||c||s.error("No conversion from "+a.replace(" "," to ")),!0!==l&&(e=l?l(e):c(h(e)))}}return e}(u,D),k="success",c=!0}catch(t){k="parsererror",y=t}else y=k,k&&!t||(k="error",t<0&&(t=0));b.status=t,b.statusText=""+(e||k),c?f.resolveWith(d,[v,k,b]):f.rejectWith(d,[b,k,y]),b.statusCode(m),m=void 0,h&&p.trigger("ajax"+(c?"Success":"Error"),[b,u,c?v:y]),g.fireWith(d,[b,k]),h&&(p.trigger("ajaxComplete",[b,u]),--s.active||s.event.trigger("ajaxStop"))}}if(f.promise(b),b.success=b.done,b.error=b.fail,b.complete=g.add,b.statusCode=function(t){var e;if(t)if(_<2)for(e in t)m[e]=[m[e],t[e]];else e=t[b.status],b.then(e,e);return this},u.url=((t||u.url)+"").replace(Pt,"").replace(Ft,Tt[1]+"//"),u.dataTypes=s.trim(u.dataType||"*").toLowerCase().split(Ot),null==u.crossDomain&&(l=Wt.exec(u.url.toLowerCase()),u.crossDomain=!(!l||l[1]==Tt[1]&&l[2]==Tt[2]&&(l[3]||("http:"===l[1]?80:443))==(Tt[3]||("http:"===Tt[1]?80:443)))),u.data&&u.processData&&"string"!=typeof u.data&&(u.data=s.param(u.data,u.traditional)),$t(Yt,u,e,b),2===_)return!1;if(h=u.global,u.type=u.type.toUpperCase(),u.hasContent=!At.test(u.type),h&&0==s.active++&&s.event.trigger("ajaxStart"),!u.hasContent&&(u.data&&(u.url+=(Ht.test(u.url)?"&":"?")+u.data,delete u.data),i=u.url,!1===u.cache)){var x=s.now(),k=u.url.replace(jt,"$1_="+x);u.url=k+(k===u.url?(Ht.test(u.url)?"&":"?")+"_="+x:"")}for(c in(u.data&&u.hasContent&&!1!==u.contentType||e.contentType)&&b.setRequestHeader("Content-Type",u.contentType),u.ifModified&&(i=i||u.url,s.lastModified[i]&&b.setRequestHeader("If-Modified-Since",s.lastModified[i]),s.etag[i]&&b.setRequestHeader("If-None-Match",s.etag[i])),
b.setRequestHeader("Accept",u.dataTypes[0]&&u.accepts[u.dataTypes[0]]?u.accepts[u.dataTypes[0]]+("*"!==u.dataTypes[0]?", "+qt+"; q=0.01":""):u.accepts["*"]),u.headers)b.setRequestHeader(c,u.headers[c]);if(u.beforeSend&&(!1===u.beforeSend.call(d,b,u)||2===_))return b.abort(),!1;for(c in{success:1,error:1,complete:1})b[c](u[c]);if(o=$t(Bt,u,e,b)){b.readyState=1,h&&p.trigger("ajaxSend",[b,u]),u.async&&u.timeout>0&&(a=setTimeout((function(){b.abort("timeout")}),u.timeout));try{_=1,o.send(v,w)}catch(t){if(!(_<2))throw t;w(-1,t)}}else w(-1,"No Transport");return b},param:function(t,e){var i=[],n=function(t,e){e=s.isFunction(e)?e():e,i[i.length]=encodeURIComponent(t)+"="+encodeURIComponent(e)};if(void 0===e&&(e=s.ajaxSettings.traditional),s.isArray(t)||t.jquery&&!s.isPlainObject(t))s.each(t,(function(){n(this.name,this.value)}));else for(var r in t)Ut(r,t[r],e,n);return i.join("&").replace(Nt,"+")}}),s.extend({active:0,lastModified:{},etag:{}});var Vt=s.now(),Jt=/(\=)\?(&|$)|\?\?/i;s.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return s.expando+"_"+Vt++}}),s.ajaxPrefilter("json jsonp",(function(t,e,i){var n="string"==typeof t.data&&/^application\/x\-www\-form\-urlencoded/.test(t.contentType);if("jsonp"===t.dataTypes[0]||!1!==t.jsonp&&(Jt.test(t.url)||n&&Jt.test(t.data))){var r,o=t.jsonpCallback=s.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,a=window[o],l=t.url,h=t.data,c="$1"+o+"$2";return!1!==t.jsonp&&(l=l.replace(Jt,c),t.url===l&&(n&&(h=h.replace(Jt,c)),t.data===h&&(l+=(/\?/.test(l)?"&":"?")+t.jsonp+"="+o))),t.url=l,t.data=h,window[o]=function(t){r=[t]},i.always((function(){window[o]=a,r&&s.isFunction(a)&&window[o](r[0])})),t.converters["script json"]=function(){return r||s.error(o+" was not called"),r[0]},t.dataTypes[0]="json","script"}})),s.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(t){return s.globalEval(t),t}}}),s.ajaxPrefilter("script",(function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET",t.global=!1)})),s.ajaxTransport("script",(function(t){if(t.crossDomain){var i,n=e.head||e.getElementsByTagName("head")[0]||e.documentElement;return{send:function(s,r){(i=e.createElement("script")).async="async",t.scriptCharset&&(i.charset=t.scriptCharset),i.src=t.url,i.onload=i.onreadystatechange=function(t,e){(e||!i.readyState||/loaded|complete/.test(i.readyState))&&(i.onload=i.onreadystatechange=null,n&&i.parentNode&&n.removeChild(i),i=void 0,e||r(200,"success"))},n.insertBefore(i,n.firstChild)},abort:function(){i&&i.onload(0,1)}}}}));var Gt,Qt,Zt=!!window.ActiveXObject&&function(){for(var t in Gt)Gt[t](0,1)},te=0;function ee(){try{return new window.XMLHttpRequest}catch(t){}}s.ajaxSettings.xhr=window.ActiveXObject?function(){return!this.isLocal&&ee()||function(){try{return new window.ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}()}:ee,Qt=s.ajaxSettings.xhr(),s.extend(s.support,{ajax:!!Qt,cors:!!Qt&&"withCredentials"in Qt}),
s.support.ajax&&s.ajaxTransport((function(t){var e;if(!t.crossDomain||s.support.cors)return{send:function(i,n){var r,o,a=t.xhr();if(t.username?a.open(t.type,t.url,t.async,t.username,t.password):a.open(t.type,t.url,t.async),t.xhrFields)for(o in t.xhrFields)a[o]=t.xhrFields[o];t.mimeType&&a.overrideMimeType&&a.overrideMimeType(t.mimeType),t.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest");try{for(o in i)a.setRequestHeader(o,i[o])}catch(t){}a.send(t.hasContent&&t.data||null),e=function(i,o){var l,h,c,u,d;try{if(e&&(o||4===a.readyState))if(e=void 0,r&&(a.onreadystatechange=s.noop,Zt&&delete Gt[r]),o)4!==a.readyState&&a.abort();else{l=a.status,c=a.getAllResponseHeaders(),u={},(d=a.responseXML)&&d.documentElement&&(u.xml=d);try{u.text=a.responseText}catch(i){}try{h=a.statusText}catch(t){h=""}l||!t.isLocal||t.crossDomain?1223===l&&(l=204):l=u.text?200:404}}catch(t){o||n(-1,t)}u&&n(l,h,u,c)},t.async&&4!==a.readyState?(r=++te,Zt&&(Gt||(Gt={},s(window).unload(Zt)),Gt[r]=e),a.onreadystatechange=e):e()},abort:function(){e&&e(0,1)}}}));var ie,ne,se,re,oe={},ae=/^(?:toggle|show|hide)$/,le=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,he=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];function ce(){return setTimeout(ue,0),re=s.now()}function ue(){re=void 0}function de(t,e){var i={};return s.each(he.concat.apply([],he.slice(0,e)),(function(){i[this]=t})),i}function pe(t){if(!oe[t]){var i=e.body,n=s("<"+t+">").appendTo(i),r=n.css("display");n.remove(),"none"!==r&&""!==r||(ie||((ie=e.createElement("iframe")).frameBorder=ie.width=ie.height=0),i.appendChild(ie),ne&&ie.createElement||((ne=(ie.contentWindow||ie.contentDocument).document).write((s.support.boxModel?"<!doctype html>":"")+"<html><body>"),ne.close()),n=ne.createElement(t),ne.body.appendChild(n),r=s.css(n,"display"),i.removeChild(ie)),oe[t]=r}return oe[t]}s.fn.extend({show:function(t,e,i){var n,r;if(t||0===t)return this.animate(de("show",3),t,e,i);for(var o=0,a=this.length;o<a;o++)(n=this[o]).style&&(r=n.style.display,s._data(n,"olddisplay")||"none"!==r||(r=n.style.display=""),(""===r&&"none"===s.css(n,"display")||!s.contains(n.ownerDocument.documentElement,n))&&s._data(n,"olddisplay",pe(n.nodeName)));for(o=0;o<a;o++)(n=this[o]).style&&(""!==(r=n.style.display)&&"none"!==r||(n.style.display=s._data(n,"olddisplay")||""));return this},hide:function(t,e,i){if(t||0===t)return this.animate(de("hide",3),t,e,i);for(var n,r,o=0,a=this.length;o<a;o++)(n=this[o]).style&&("none"===(r=s.css(n,"display"))||s._data(n,"olddisplay")||s._data(n,"olddisplay",r));for(o=0;o<a;o++)this[o].style&&(this[o].style.display="none");return this},_toggle:s.fn.toggle,toggle:function(t,e,i){var n="boolean"==typeof t;return s.isFunction(t)&&s.isFunction(e)?this._toggle.apply(this,arguments):null==t||n?this.each((function(){var e=n?t:s(this).is(":hidden");s(this)[e?"show":"hide"]()})):this.animate(de("toggle",3),t,e,i),this},fadeTo:function(t,e,i,n){
return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:e},t,i,n)},animate:function(t,e,i,n){var r=s.speed(e,i,n);if(s.isEmptyObject(t))return this.each(r.complete,[!1]);function o(){!1===r.queue&&s._mark(this);var e,i,n,o,a,l,h,c,u,d,p,f=s.extend({},r),g=1===this.nodeType,m=g&&s(this).is(":hidden");for(n in f.animatedProperties={},t)if(n!==(e=s.camelCase(n))&&(t[e]=t[n],delete t[n]),(a=s.cssHooks[e])&&"expand"in a)for(n in l=a.expand(t[e]),delete t[e],l)n in t||(t[n]=l[n]);for(e in t){if(i=t[e],s.isArray(i)?(f.animatedProperties[e]=i[1],i=t[e]=i[0]):f.animatedProperties[e]=f.specialEasing&&f.specialEasing[e]||f.easing||"swing","hide"===i&&m||"show"===i&&!m)return f.complete.call(this);!g||"height"!==e&&"width"!==e||(f.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY],"inline"===s.css(this,"display")&&"none"===s.css(this,"float")&&(s.support.inlineBlockNeedsLayout&&"inline"!==pe(this.nodeName)?this.style.zoom=1:this.style.display="inline-block"))}for(n in null!=f.overflow&&(this.style.overflow="hidden"),t)o=new s.fx(this,f,n),i=t[n],ae.test(i)?(p=s._data(this,"toggle"+n)||("toggle"===i?m?"show":"hide":0))?(s._data(this,"toggle"+n,"show"===p?"hide":"show"),o[p]()):o[i]():(h=le.exec(i),c=o.cur(),h?(u=parseFloat(h[2]),"px"!==(d=h[3]||(s.cssNumber[n]?"":"px"))&&(s.style(this,n,(u||1)+d),c=(u||1)/o.cur()*c,s.style(this,n,c+d)),h[1]&&(u=("-="===h[1]?-1:1)*u+c),o.custom(c,u,d)):o.custom(c,i,""));return!0}return t=s.extend({},t),!1===r.queue?this.each(o):this.queue(r.queue,o)},stop:function(t,e,i){return"string"!=typeof t&&(i=e,e=t,t=void 0),e&&!1!==t&&this.queue(t||"fx",[]),this.each((function(){var e,n=!1,r=s.timers,o=s._data(this);function a(t,e,n){var r=e[n];s.removeData(t,n,!0),r.stop(i)}if(i||s._unmark(!0,this),null==t)for(e in o)o[e]&&o[e].stop&&e.indexOf(".run")===e.length-4&&a(this,o,e);else o[e=t+".run"]&&o[e].stop&&a(this,o,e);for(e=r.length;e--;)r[e].elem!==this||null!=t&&r[e].queue!==t||(i?r[e](!0):r[e].saveState(),n=!0,r.splice(e,1));i&&n||s.dequeue(this,t)}))}}),s.each({slideDown:de("show",1),slideUp:de("hide",1),slideToggle:de("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(t,e){s.fn[t]=function(t,i,n){return this.animate(e,t,i,n)}})),s.extend({speed:function(t,e,i){var n=t&&"object"==typeof t?s.extend({},t):{complete:i||!i&&e||s.isFunction(t)&&t,duration:t,easing:i&&e||e&&!s.isFunction(e)&&e};return n.duration=s.fx.off?0:"number"==typeof n.duration?n.duration:n.duration in s.fx.speeds?s.fx.speeds[n.duration]:s.fx.speeds._default,null!=n.queue&&!0!==n.queue||(n.queue="fx"),n.old=n.complete,n.complete=function(t){s.isFunction(n.old)&&n.old.call(this),n.queue?s.dequeue(this,n.queue):!1!==t&&s._unmark(this)},n},easing:{linear:function(t){return t},swing:function(t){return-Math.cos(t*Math.PI)/2+.5}},timers:[],fx:function(t,e,i){this.options=e,this.elem=t,this.prop=i,e.orig=e.orig||{}}}),s.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this),
(s.fx.step[this.prop]||s.fx.step._default)(this)},cur:function(){if(null!=this.elem[this.prop]&&(!this.elem.style||null==this.elem.style[this.prop]))return this.elem[this.prop];var t,e=s.css(this.elem,this.prop);return isNaN(t=parseFloat(e))?e&&"auto"!==e?e:0:t},custom:function(t,e,i){var n=this,r=s.fx;function o(t){return n.step(t)}this.startTime=re||ce(),this.end=e,this.now=this.start=t,this.pos=this.state=0,this.unit=i||this.unit||(s.cssNumber[this.prop]?"":"px"),o.queue=this.options.queue,o.elem=this.elem,o.saveState=function(){void 0===s._data(n.elem,"fxshow"+n.prop)&&(n.options.hide?s._data(n.elem,"fxshow"+n.prop,n.start):n.options.show&&s._data(n.elem,"fxshow"+n.prop,n.end))},o()&&s.timers.push(o)&&!se&&(se=setInterval(r.tick,r.interval))},show:function(){var t=s._data(this.elem,"fxshow"+this.prop);this.options.orig[this.prop]=t||s.style(this.elem,this.prop),this.options.show=!0,void 0!==t?this.custom(this.cur(),t):this.custom("width"===this.prop||"height"===this.prop?1:0,this.cur()),s(this.elem).show()},hide:function(){this.options.orig[this.prop]=s._data(this.elem,"fxshow"+this.prop)||s.style(this.elem,this.prop),this.options.hide=!0,this.custom(this.cur(),0)},step:function(t){var e,i,n,r=re||ce(),o=!0,a=this.elem,l=this.options;if(t||r>=l.duration+this.startTime){for(e in this.now=this.end,this.pos=this.state=1,this.update(),l.animatedProperties[this.prop]=!0,l.animatedProperties)!0!==l.animatedProperties[e]&&(o=!1);if(o){if(null==l.overflow||s.support.shrinkWrapBlocks||s.each(["","X","Y"],(function(t,e){a.style["overflow"+e]=l.overflow[t]})),l.hide&&s(a).hide(),l.hide||l.show)for(e in l.animatedProperties)s.style(a,e,l.orig[e]),s.removeData(a,"fxshow"+e,!0),s.removeData(a,"toggle"+e,!0);(n=l.complete)&&(l.complete=!1,n.call(a))}return!1}return l.duration==1/0?this.now=r:(i=r-this.startTime,this.state=i/l.duration,this.pos=s.easing[l.animatedProperties[this.prop]](this.state,i,0,1,l.duration),this.now=this.start+(this.end-this.start)*this.pos),this.update(),!0}},s.extend(s.fx,{tick:function(){for(var t,e=s.timers,i=0;i<e.length;i++)(t=e[i])()||e[i]!==t||e.splice(i--,1);e.length||s.fx.stop()},interval:13,stop:function(){clearInterval(se),se=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(t){s.style(t.elem,"opacity",t.now)},_default:function(t){t.elem.style&&null!=t.elem.style[t.prop]?t.elem.style[t.prop]=t.now+t.unit:t.elem[t.prop]=t.now}}}),s.each(he.concat.apply([],he),(function(t,e){e.indexOf("margin")&&(s.fx.step[e]=function(t){s.style(t.elem,e,Math.max(0,t.now)+t.unit)})})),s.expr&&s.expr.filters&&(s.expr.filters.animated=function(t){return s.grep(s.timers,(function(e){return t===e.elem})).length});var fe,ge=/^t(?:able|d|h)$/i,me=/^(?:body|html)$/i;function ve(t){return s.isWindow(t)?t:9===t.nodeType&&(t.defaultView||t.parentWindow)}fe="getBoundingClientRect"in e.documentElement?function(t,e,i,n){try{n=t.getBoundingClientRect()}catch(t){}if(!n||!s.contains(i,t))return n?{top:n.top,left:n.left}:{top:0,left:0}
;var r=e.body,o=ve(e),a=i.clientTop||r.clientTop||0,l=i.clientLeft||r.clientLeft||0,h=o.pageYOffset||s.support.boxModel&&i.scrollTop||r.scrollTop,c=o.pageXOffset||s.support.boxModel&&i.scrollLeft||r.scrollLeft;return{top:n.top+h-a,left:n.left+c-l}}:function(t,e,i){for(var n,r=t.offsetParent,o=e.body,a=e.defaultView,l=a?a.getComputedStyle(t,null):t.currentStyle,h=t.offsetTop,c=t.offsetLeft;(t=t.parentNode)&&t!==o&&t!==i&&(!s.support.fixedPosition||"fixed"!==l.position);)n=a?a.getComputedStyle(t,null):t.currentStyle,h-=t.scrollTop,c-=t.scrollLeft,t===r&&(h+=t.offsetTop,c+=t.offsetLeft,!s.support.doesNotAddBorder||s.support.doesAddBorderForTableAndCells&&ge.test(t.nodeName)||(h+=parseFloat(n.borderTopWidth)||0,c+=parseFloat(n.borderLeftWidth)||0),r,r=t.offsetParent),s.support.subtractsBorderForOverflowNotVisible&&"visible"!==n.overflow&&(h+=parseFloat(n.borderTopWidth)||0,c+=parseFloat(n.borderLeftWidth)||0),l=n;return"relative"!==l.position&&"static"!==l.position||(h+=o.offsetTop,c+=o.offsetLeft),s.support.fixedPosition&&"fixed"===l.position&&(h+=Math.max(i.scrollTop,o.scrollTop),c+=Math.max(i.scrollLeft,o.scrollLeft)),{top:h,left:c}},s.fn.offset=function(t){if(arguments.length)return void 0===t?this:this.each((function(e){s.offset.setOffset(this,t,e)}));var e=this[0],i=e&&e.ownerDocument;return i?e===i.body?s.offset.bodyOffset(e):fe(e,i,i.documentElement):null},s.offset={bodyOffset:function(t){var e=t.offsetTop,i=t.offsetLeft;return s.support.doesNotIncludeMarginInBodyOffset&&(e+=parseFloat(s.css(t,"marginTop"))||0,i+=parseFloat(s.css(t,"marginLeft"))||0),{top:e,left:i}},setOffset:function(t,e,i){var n=s.css(t,"position");"static"===n&&(t.style.position="relative");var r,o,a=s(t),l=a.offset(),h=s.css(t,"top"),c=s.css(t,"left"),u={},d={};("absolute"===n||"fixed"===n)&&s.inArray("auto",[h,c])>-1?(r=(d=a.position()).top,o=d.left):(r=parseFloat(h)||0,o=parseFloat(c)||0),s.isFunction(e)&&(e=e.call(t,i,l)),null!=e.top&&(u.top=e.top-l.top+r),null!=e.left&&(u.left=e.left-l.left+o),"using"in e?e.using.call(t,u):a.css(u)}},s.fn.extend({position:function(){if(!this[0])return null;var t=this[0],e=this.offsetParent(),i=this.offset(),n=me.test(e[0].nodeName)?{top:0,left:0}:e.offset();return i.top-=parseFloat(s.css(t,"marginTop"))||0,i.left-=parseFloat(s.css(t,"marginLeft"))||0,n.top+=parseFloat(s.css(e[0],"borderTopWidth"))||0,n.left+=parseFloat(s.css(e[0],"borderLeftWidth"))||0,{top:i.top-n.top,left:i.left-n.left}},offsetParent:function(){return this.map((function(){for(var t=this.offsetParent||e.body;t&&!me.test(t.nodeName)&&"static"===s.css(t,"position");)t=t.offsetParent;return t}))}}),s.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(t,e){var i=/Y/.test(e);s.fn[t]=function(n){return s.access(this,(function(t,n,r){var o=ve(t);if(void 0===r)return o?e in o?o[e]:s.support.boxModel&&o.document.documentElement[n]||o.document.body[n]:t[n];o?o.scrollTo(i?s(o).scrollLeft():r,i?r:s(o).scrollTop()):t[n]=r}),t,n,arguments.length,null)}})),s.each({Height:"height",Width:"width"},(function(t,e){
var i="client"+t,n="scroll"+t,r="offset"+t;s.fn["inner"+t]=function(){var t=this[0];return t?t.style?parseFloat(s.css(t,e,"padding")):this[e]():null},s.fn["outer"+t]=function(t){var i=this[0];return i?i.style?parseFloat(s.css(i,e,t?"margin":"border")):this[e]():null},s.fn[e]=function(t){return s.access(this,(function(t,e,o){var a,l,h,c;return s.isWindow(t)?(l=(a=t.document).documentElement[i],s.support.boxModel&&l||a.body&&a.body[i]||l):9===t.nodeType?(a=t.documentElement)[i]>=a[n]?a[i]:Math.max(t.body[n],a[n],t.body[r],a[r]):void 0===o?(h=s.css(t,e),c=parseFloat(h),s.isNumeric(c)?c:h):void s(t).css(e,o)}),e,t,arguments.length,null)}})),t.exports=window.jQuery=window.$=s},46322:(t,e,i)=>{var n,s,r;s=[i(23127)],void 0===(r="function"==typeof(n=function(t){var e,i,n=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],s="onwheel"in document||document.documentMode>=9?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],r=Array.prototype.slice;if(t.event.fixHooks)for(var o=n.length;o;)t.event.fixHooks[n[--o]]=t.event.mouseHooks;var a=t.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var e=s.length;e;)this.addEventListener(s[--e],l,!1);else this.onmousewheel=l;t.data(this,"mousewheel-line-height",a.getLineHeight(this)),t.data(this,"mousewheel-page-height",a.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var e=s.length;e;)this.removeEventListener(s[--e],l,!1);else this.onmousewheel=null;t.removeData(this,"mousewheel-line-height"),t.removeData(this,"mousewheel-page-height")},getLineHeight:function(e){var i=t(e),n=i["offsetParent"in t.fn?"offsetParent":"parent"]();return n.length||(n=t("body")),parseInt(n.css("fontSize"),10)||parseInt(i.css("fontSize"),10)||16},getPageHeight:function(e){return t(e).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};function l(n){var s=n||window.event,o=r.call(arguments,1),l=0,u=0,d=0,p=0,f=0,g=0;if((n=t.event.fix(s)).type="mousewheel","detail"in s&&(d=-1*s.detail),"wheelDelta"in s&&(d=s.wheelDelta),"wheelDeltaY"in s&&(d=s.wheelDeltaY),"wheelDeltaX"in s&&(u=-1*s.wheelDeltaX),"axis"in s&&s.axis===s.HORIZONTAL_AXIS&&(u=-1*d,d=0),l=0===d?u:d,"deltaY"in s&&(l=d=-1*s.deltaY),"deltaX"in s&&(u=s.deltaX,0===d&&(l=-1*u)),0!==d||0!==u){if(1===s.deltaMode){var m=t.data(this,"mousewheel-line-height");l*=m,d*=m,u*=m}else if(2===s.deltaMode){var v=t.data(this,"mousewheel-page-height");l*=v,d*=v,u*=v}if(p=Math.max(Math.abs(d),Math.abs(u)),(!i||p<i)&&(i=p,c(s,p)&&(i/=40)),c(s,p)&&(l/=40,u/=40,d/=40),l=Math[l>=1?"floor":"ceil"](l/i),u=Math[u>=1?"floor":"ceil"](u/i),d=Math[d>=1?"floor":"ceil"](d/i),a.settings.normalizeOffset&&this.getBoundingClientRect){var y=this.getBoundingClientRect();f=n.clientX-y.left,g=n.clientY-y.top}return n.deltaX=u,n.deltaY=d,n.deltaFactor=i,n.offsetX=f,n.offsetY=g,n.deltaMode=0,o.unshift(n,l,u,d),e&&clearTimeout(e),e=setTimeout(h,200),(t.event.dispatch||t.event.handle).apply(this,o)}}function h(){i=null}function c(t,e){return a.settings.adjustOldDeltas&&"mousewheel"===t.type&&e%120==0}
t.fn.extend({mousewheel:function(t){return t?this.bind("mousewheel",t):this.trigger("mousewheel")},unmousewheel:function(t){return this.unbind("mousewheel",t)}})})?n.apply(e,s):n)||(t.exports=r)},94822:(t,e,i)=>{!function(t){if(t.support.touch="ontouchend"in document,t.support.touch){var e,i=t.ui.mouse.prototype,n=i._mouseInit,s=i._mouseDestroy;i._touchStart=function(t){!e&&this._mouseCapture(t.originalEvent.changedTouches[0])&&(e=!0,this._touchMoved=!1,r(t,"mouseover"),r(t,"mousemove"),r(t,"mousedown"))},i._touchMove=function(t){e&&(this._touchMoved=!0,r(t,"mousemove"))},i._touchEnd=function(t){e&&(r(t,"mouseup"),r(t,"mouseout"),this._touchMoved||r(t,"click"),e=!1)},i._mouseInit=function(){this.element.bind({touchstart:t.proxy(this,"_touchStart"),touchmove:t.proxy(this,"_touchMove"),touchend:t.proxy(this,"_touchEnd")}),n.call(this)},i._mouseDestroy=function(){this.element.unbind({touchstart:t.proxy(this,"_touchStart"),touchmove:t.proxy(this,"_touchMove"),touchend:t.proxy(this,"_touchEnd")}),s.call(this)}}function r(t,e){if(!(t.originalEvent.touches.length>1)){t.preventDefault();var i=t.originalEvent.changedTouches[0],n=document.createEvent("MouseEvents");n.initMouseEvent(e,!0,!0,window,1,i.screenX,i.screenY,i.clientX,i.clientY,!1,!1,!1,!1,0,null),t.target.dispatchEvent(n)}}}(i(23127))},51699:(t,e,i)=>{var n,s,r;s=[i(23127),i(34912)],void 0===(r="function"==typeof(n=function(t){return t.extend(t.expr[":"],{data:t.expr.createPseudo?t.expr.createPseudo((function(e){return function(i){return!!t.data(i,e)}})):function(e,i,n){return!!t.data(e,n[3])}})})?n.apply(e,s):n)||(t.exports=r)},39525:(t,e,i)=>{var n,s,r;s=[i(23127),i(34912)],void 0===(r="function"==typeof(n=function(t){return t.fn.extend({disableSelection:(e="onselectstart"in document.createElement("div")?"selectstart":"mousedown",function(){return this.on(e+".ui-disableSelection",(function(t){t.preventDefault()}))}),enableSelection:function(){return this.off(".ui-disableSelection")}});var e})?n.apply(e,s):n)||(t.exports=r)},58264:(t,e,i)=>{var n,s,r;s=[i(23127),i(34912)],void 0===(r="function"==typeof(n=function(t){return t.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase())})?n.apply(e,s):n)||(t.exports=r)},20294:(t,e,i)=>{var n,s,r;s=[i(23127),i(34912)],void 0===(r="function"==typeof(n=function(t){return t.ui.keyCode={BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38}})?n.apply(e,s):n)||(t.exports=r)},42353:(t,e,i)=>{var n,s,r;s=[i(23127),i(34912)],void 0===(r="function"==typeof(n=function(t){return t.ui.plugin={add:function(e,i,n){var s,r=t.ui[e].prototype;for(s in n)r.plugins[s]=r.plugins[s]||[],r.plugins[s].push([i,n[s]])},call:function(t,e,i,n){var s,r=t.plugins[e];if(r&&(n||t.element[0].parentNode&&11!==t.element[0].parentNode.nodeType))for(s=0;s<r.length;s++)t.options[r[s][0]]&&r[s][1].apply(t.element,i)}}})?n.apply(e,s):n)||(t.exports=r)},8002:(t,e,i)=>{var n,s,r;s=[i(23127),i(34912)],void 0===(r="function"==typeof(n=function(t){
return t.ui.safeActiveElement=function(t){var e;try{e=t.activeElement}catch(i){e=t.body}return e||(e=t.body),e.nodeName||(e=t.body),e}})?n.apply(e,s):n)||(t.exports=r)},78734:(t,e,i)=>{var n,s,r;s=[i(23127),i(34912)],void 0===(r="function"==typeof(n=function(t){return t.ui.safeBlur=function(e){e&&"body"!==e.nodeName.toLowerCase()&&t(e).trigger("blur")}})?n.apply(e,s):n)||(t.exports=r)},15925:(t,e,i)=>{var n,s,r;s=[i(23127),i(34912)],void 0===(r="function"==typeof(n=function(t){return t.fn.scrollParent=function(e){var i=this.css("position"),n="absolute"===i,s=e?/(auto|scroll|hidden)/:/(auto|scroll)/,r=this.parents().filter((function(){var e=t(this);return(!n||"static"!==e.css("position"))&&s.test(e.css("overflow")+e.css("overflow-y")+e.css("overflow-x"))})).eq(0);return"fixed"!==i&&r.length?r:t(this[0].ownerDocument||document)}})?n.apply(e,s):n)||(t.exports=r)},34912:(t,e,i)=>{var n,s,r;s=[i(23127)],void 0===(r="function"==typeof(n=function(t){return t.ui=t.ui||{},t.ui.version="1.12.1"})?n.apply(e,s):n)||(t.exports=r)},62066:(t,e,i)=>{var n,s,r;s=[i(23127),i(34912)],void 0===(r="function"==typeof(n=function(t){var e,i=0,n=Array.prototype.slice;return t.cleanData=(e=t.cleanData,function(i){var n,s,r;for(r=0;null!=(s=i[r]);r++)try{(n=t._data(s,"events"))&&n.remove&&t(s).triggerHandler("remove")}catch(t){}e(i)}),t.widget=function(e,i,n){var s,r,o,a={},l=e.split(".")[0],h=l+"-"+(e=e.split(".")[1]);return n||(n=i,i=t.Widget),t.isArray(n)&&(n=t.extend.apply(null,[{}].concat(n))),t.expr[":"][h.toLowerCase()]=function(e){return!!t.data(e,h)},t[l]=t[l]||{},s=t[l][e],r=t[l][e]=function(t,e){if(!this._createWidget)return new r(t,e);arguments.length&&this._createWidget(t,e)},t.extend(r,s,{version:n.version,_proto:t.extend({},n),_childConstructors:[]}),(o=new i).options=t.widget.extend({},o.options),t.each(n,(function(e,n){t.isFunction(n)?a[e]=function(){function t(){return i.prototype[e].apply(this,arguments)}function s(t){return i.prototype[e].apply(this,t)}return function(){var e,i=this._super,r=this._superApply;return this._super=t,this._superApply=s,e=n.apply(this,arguments),this._super=i,this._superApply=r,e}}():a[e]=n})),r.prototype=t.widget.extend(o,{widgetEventPrefix:s&&o.widgetEventPrefix||e},a,{constructor:r,namespace:l,widgetName:e,widgetFullName:h}),s?(t.each(s._childConstructors,(function(e,i){var n=i.prototype;t.widget(n.namespace+"."+n.widgetName,r,i._proto)})),delete s._childConstructors):i._childConstructors.push(r),t.widget.bridge(e,r),r},t.widget.extend=function(e){for(var i,s,r=n.call(arguments,1),o=0,a=r.length;o<a;o++)for(i in r[o])s=r[o][i],r[o].hasOwnProperty(i)&&void 0!==s&&(t.isPlainObject(s)?e[i]=t.isPlainObject(e[i])?t.widget.extend({},e[i],s):t.widget.extend({},s):e[i]=s);return e},t.widget.bridge=function(e,i){var s=i.prototype.widgetFullName||e;t.fn[e]=function(r){var o="string"==typeof r,a=n.call(arguments,1),l=this;return o?this.length||"instance"!==r?this.each((function(){var i,n=t.data(this,s);return"instance"===r?(l=n,
!1):n?t.isFunction(n[r])&&"_"!==r.charAt(0)?(i=n[r].apply(n,a))!==n&&void 0!==i?(l=i&&i.jquery?l.pushStack(i.get()):i,!1):void 0:t.error("no such method '"+r+"' for "+e+" widget instance"):t.error("cannot call methods on "+e+" prior to initialization; attempted to call method '"+r+"'")})):l=void 0:(a.length&&(r=t.widget.extend.apply(null,[r].concat(a))),this.each((function(){var e=t.data(this,s);e?(e.option(r||{}),e._init&&e._init()):t.data(this,s,new i(r,this))}))),l}},t.Widget=function(){},t.Widget._childConstructors=[],t.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{classes:{},disabled:!1,create:null},_createWidget:function(e,n){n=t(n||this.defaultElement||this)[0],this.element=t(n),this.uuid=i++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=t(),this.hoverable=t(),this.focusable=t(),this.classesElementLookup={},n!==this&&(t.data(n,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===n&&this.destroy()}}),this.document=t(n.style?n.ownerDocument:n.document||n),this.window=t(this.document[0].defaultView||this.document[0].parentWindow)),this.options=t.widget.extend({},this.options,this._getCreateOptions(),e),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:t.noop,_create:t.noop,_init:t.noop,destroy:function(){var e=this;this._destroy(),t.each(this.classesElementLookup,(function(t,i){e._removeClass(i,t)})),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:t.noop,widget:function(){return this.element},option:function(e,i){var n,s,r,o=e;if(0===arguments.length)return t.widget.extend({},this.options);if("string"==typeof e)if(o={},n=e.split("."),e=n.shift(),n.length){for(s=o[e]=t.widget.extend({},this.options[e]),r=0;r<n.length-1;r++)s[n[r]]=s[n[r]]||{},s=s[n[r]];if(e=n.pop(),1===arguments.length)return void 0===s[e]?null:s[e];s[e]=i}else{if(1===arguments.length)return void 0===this.options[e]?null:this.options[e];o[e]=i}return this._setOptions(o),this},_setOptions:function(t){var e;for(e in t)this._setOption(e,t[e]);return this},_setOption:function(t,e){return"classes"===t&&this._setOptionClasses(e),this.options[t]=e,"disabled"===t&&this._setOptionDisabled(e),this},_setOptionClasses:function(e){var i,n,s;for(i in e)s=this.classesElementLookup[i],e[i]!==this.options.classes[i]&&s&&s.length&&(n=t(s.get()),this._removeClass(s,i),n.addClass(this._classes({element:n,keys:i,classes:e,add:!0})))},_setOptionDisabled:function(t){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!t),t&&(this._removeClass(this.hoverable,null,"ui-state-hover"),this._removeClass(this.focusable,null,"ui-state-focus"))},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},
_classes:function(e){var i=[],n=this;function s(s,r){var o,a;for(a=0;a<s.length;a++)o=n.classesElementLookup[s[a]]||t(),o=e.add?t(t.unique(o.get().concat(e.element.get()))):t(o.not(e.element).get()),n.classesElementLookup[s[a]]=o,i.push(s[a]),r&&e.classes[s[a]]&&i.push(e.classes[s[a]])}return e=t.extend({element:this.element,classes:this.options.classes||{}},e),this._on(e.element,{remove:"_untrackClassesElement"}),e.keys&&s(e.keys.match(/\S+/g)||[],!0),e.extra&&s(e.extra.match(/\S+/g)||[]),i.join(" ")},_untrackClassesElement:function(e){var i=this;t.each(i.classesElementLookup,(function(n,s){-1!==t.inArray(e.target,s)&&(i.classesElementLookup[n]=t(s.not(e.target).get()))}))},_removeClass:function(t,e,i){return this._toggleClass(t,e,i,!1)},_addClass:function(t,e,i){return this._toggleClass(t,e,i,!0)},_toggleClass:function(t,e,i,n){n="boolean"==typeof n?n:i;var s="string"==typeof t||null===t,r={extra:s?e:i,keys:s?t:e,element:s?this.element:t,add:n};return r.element.toggleClass(this._classes(r),n),this},_on:function(e,i,n){var s,r=this;"boolean"!=typeof e&&(n=i,i=e,e=!1),n?(i=s=t(i),this.bindings=this.bindings.add(i)):(n=i,i=this.element,s=this.widget()),t.each(n,(function(n,o){function a(){if(e||!0!==r.options.disabled&&!t(this).hasClass("ui-state-disabled"))return("string"==typeof o?r[o]:o).apply(r,arguments)}"string"!=typeof o&&(a.guid=o.guid=o.guid||a.guid||t.guid++);var l=n.match(/^([\w:-]*)\s*(.*)$/),h=l[1]+r.eventNamespace,c=l[2];c?s.on(h,c,a):i.on(h,a)}))},_off:function(e,i){i=(i||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,e.off(i).off(i),this.bindings=t(this.bindings.not(e).get()),this.focusable=t(this.focusable.not(e).get()),this.hoverable=t(this.hoverable.not(e).get())},_delay:function(t,e){var i=this;return setTimeout((function(){return("string"==typeof t?i[t]:t).apply(i,arguments)}),e||0)},_hoverable:function(e){this.hoverable=this.hoverable.add(e),this._on(e,{mouseenter:function(e){this._addClass(t(e.currentTarget),null,"ui-state-hover")},mouseleave:function(e){this._removeClass(t(e.currentTarget),null,"ui-state-hover")}})},_focusable:function(e){this.focusable=this.focusable.add(e),this._on(e,{focusin:function(e){this._addClass(t(e.currentTarget),null,"ui-state-focus")},focusout:function(e){this._removeClass(t(e.currentTarget),null,"ui-state-focus")}})},_trigger:function(e,i,n){var s,r,o=this.options[e];if(n=n||{},(i=t.Event(i)).type=(e===this.widgetEventPrefix?e:this.widgetEventPrefix+e).toLowerCase(),i.target=this.element[0],r=i.originalEvent)for(s in r)s in i||(i[s]=r[s]);return this.element.trigger(i,n),!(t.isFunction(o)&&!1===o.apply(this.element[0],[i].concat(n))||i.isDefaultPrevented())}},t.each({show:"fadeIn",hide:"fadeOut"},(function(e,i){t.Widget.prototype["_"+e]=function(n,s,r){var o;"string"==typeof s&&(s={effect:s});var a=s?!0===s||"number"==typeof s?i:s.effect||i:e;"number"==typeof(s=s||{})&&(s={duration:s}),o=!t.isEmptyObject(s),s.complete=r,s.delay&&n.delay(s.delay),o&&t.effects&&t.effects.effect[a]?n[e](s):a!==e&&n[a]?n[a](s.duration,s.easing,r):n.queue((function(i){
t(this)[e](),r&&r.call(n[0]),i()}))}})),t.widget})?n.apply(e,s):n)||(t.exports=r)},72994:(t,e,i)=>{var n,s,r;s=[i(23127),i(34912),i(20294)],void 0===(r="function"==typeof(n=function(t){var e;function i(){this._curInst=null,this._keyEvent=!1,this._disabledInputs=[],this._datepickerShowing=!1,this._inDialog=!1,this._mainDivId="ui-datepicker-div",this._inlineClass="ui-datepicker-inline",this._appendClass="ui-datepicker-append",this._triggerClass="ui-datepicker-trigger",this._dialogClass="ui-datepicker-dialog",this._disableClass="ui-datepicker-disabled",this._unselectableClass="ui-datepicker-unselectable",this._currentClass="ui-datepicker-current-day",this._dayOverClass="ui-datepicker-days-cell-over",this.regional=[],this.regional[""]={closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],weekHeader:"Wk",dateFormat:"mm/dd/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},this._defaults={showOn:"focus",showAnim:"fadeIn",showOptions:{},defaultDate:null,appendText:"",buttonText:"...",buttonImage:"",buttonImageOnly:!1,hideIfNoPrevNext:!1,navigationAsDateFormat:!1,gotoCurrent:!1,changeMonth:!1,changeYear:!1,yearRange:"c-10:c+10",showOtherMonths:!1,selectOtherMonths:!1,showWeek:!1,calculateWeek:this.iso8601Week,shortYearCutoff:"+10",minDate:null,maxDate:null,duration:"fast",beforeShowDay:null,beforeShow:null,onSelect:null,onChangeMonthYear:null,onClose:null,numberOfMonths:1,showCurrentAtPos:0,stepMonths:1,stepBigMonths:12,altField:"",altFormat:"",constrainInput:!0,showButtonPanel:!1,autoSize:!1,disabled:!1},t.extend(this._defaults,this.regional[""]),this.regional.en=t.extend(!0,{},this.regional[""]),this.regional["en-US"]=t.extend(!0,{},this.regional.en),this.dpDiv=n(t("<div id='"+this._mainDivId+"' class='ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>"))}function n(e){var i="button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a";return e.on("mouseout",i,(function(){t(this).removeClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&t(this).removeClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&t(this).removeClass("ui-datepicker-next-hover")})).on("mouseover",i,s)}function s(){t.datepicker._isDisabledDatepicker(e.inline?e.dpDiv.parent()[0]:e.input[0])||(t(this).parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover"),t(this).addClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&t(this).addClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&t(this).addClass("ui-datepicker-next-hover"))}function r(e,i){
for(var n in t.extend(e,i),i)null==i[n]&&(e[n]=i[n]);return e}return t.extend(t.ui,{datepicker:{version:"1.12.1"}}),t.extend(i.prototype,{markerClassName:"hasDatepicker",maxRows:4,_widgetDatepicker:function(){return this.dpDiv},setDefaults:function(t){return r(this._defaults,t||{}),this},_attachDatepicker:function(e,i){var n,s,r;s="div"===(n=e.nodeName.toLowerCase())||"span"===n,e.id||(this.uuid+=1,e.id="dp"+this.uuid),(r=this._newInst(t(e),s)).settings=t.extend({},i||{}),"input"===n?this._connectDatepicker(e,r):s&&this._inlineDatepicker(e,r)},_newInst:function(e,i){return{id:e[0].id.replace(/([^A-Za-z0-9_\-])/g,"\\\\$1"),input:e,selectedDay:0,selectedMonth:0,selectedYear:0,drawMonth:0,drawYear:0,inline:i,dpDiv:i?n(t("<div class='"+this._inlineClass+" ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>")):this.dpDiv}},_connectDatepicker:function(e,i){var n=t(e);i.append=t([]),i.trigger=t([]),n.hasClass(this.markerClassName)||(this._attachments(n,i),n.addClass(this.markerClassName).on("keydown",this._doKeyDown).on("keypress",this._doKeyPress).on("keyup",this._doKeyUp),this._autoSize(i),t.data(e,"datepicker",i),i.settings.disabled&&this._disableDatepicker(e))},_attachments:function(e,i){var n,s,r,o=this._get(i,"appendText"),a=this._get(i,"isRTL");i.append&&i.append.remove(),o&&(i.append=t("<span class='"+this._appendClass+"'>"+o+"</span>"),e[a?"before":"after"](i.append)),e.off("focus",this._showDatepicker),i.trigger&&i.trigger.remove(),"focus"!==(n=this._get(i,"showOn"))&&"both"!==n||e.on("focus",this._showDatepicker),"button"!==n&&"both"!==n||(s=this._get(i,"buttonText"),r=this._get(i,"buttonImage"),i.trigger=t(this._get(i,"buttonImageOnly")?t("<img/>").addClass(this._triggerClass).attr({src:r,alt:s,title:s}):t("<button type='button'></button>").addClass(this._triggerClass).html(r?t("<img/>").attr({src:r,alt:s,title:s}):s)),e[a?"before":"after"](i.trigger),i.trigger.on("click",(function(){return t.datepicker._datepickerShowing&&t.datepicker._lastInput===e[0]?t.datepicker._hideDatepicker():t.datepicker._datepickerShowing&&t.datepicker._lastInput!==e[0]?(t.datepicker._hideDatepicker(),t.datepicker._showDatepicker(e[0])):t.datepicker._showDatepicker(e[0]),!1})))},_autoSize:function(t){if(this._get(t,"autoSize")&&!t.inline){var e,i,n,s,r=new Date(2009,11,20),o=this._get(t,"dateFormat");o.match(/[DM]/)&&(e=function(t){for(i=0,n=0,s=0;s<t.length;s++)t[s].length>i&&(i=t[s].length,n=s);return n},r.setMonth(e(this._get(t,o.match(/MM/)?"monthNames":"monthNamesShort"))),r.setDate(e(this._get(t,o.match(/DD/)?"dayNames":"dayNamesShort"))+20-r.getDay())),t.input.attr("size",this._formatDate(t,r).length)}},_inlineDatepicker:function(e,i){var n=t(e);n.hasClass(this.markerClassName)||(n.addClass(this.markerClassName).append(i.dpDiv),t.data(e,"datepicker",i),this._setDate(i,this._getDefaultDate(i),!0),this._updateDatepicker(i),this._updateAlternate(i),i.settings.disabled&&this._disableDatepicker(e),i.dpDiv.css("display","block"))},_dialogDatepicker:function(e,i,n,s,o){var a,l,h,c,u,d=this._dialogInst
;return d||(this.uuid+=1,a="dp"+this.uuid,this._dialogInput=t("<input type='text' id='"+a+"' style='position: absolute; top: -100px; width: 0px;'/>"),this._dialogInput.on("keydown",this._doKeyDown),t("body").append(this._dialogInput),(d=this._dialogInst=this._newInst(this._dialogInput,!1)).settings={},t.data(this._dialogInput[0],"datepicker",d)),r(d.settings,s||{}),i=i&&i.constructor===Date?this._formatDate(d,i):i,this._dialogInput.val(i),this._pos=o?o.length?o:[o.pageX,o.pageY]:null,this._pos||(l=document.documentElement.clientWidth,h=document.documentElement.clientHeight,c=document.documentElement.scrollLeft||document.body.scrollLeft,u=document.documentElement.scrollTop||document.body.scrollTop,this._pos=[l/2-100+c,h/2-150+u]),this._dialogInput.css("left",this._pos[0]+20+"px").css("top",this._pos[1]+"px"),d.settings.onSelect=n,this._inDialog=!0,this.dpDiv.addClass(this._dialogClass),this._showDatepicker(this._dialogInput[0]),t.blockUI&&t.blockUI(this.dpDiv),t.data(this._dialogInput[0],"datepicker",d),this},_destroyDatepicker:function(i){var n,s=t(i),r=t.data(i,"datepicker");s.hasClass(this.markerClassName)&&(n=i.nodeName.toLowerCase(),t.removeData(i,"datepicker"),"input"===n?(r.append.remove(),r.trigger.remove(),s.removeClass(this.markerClassName).off("focus",this._showDatepicker).off("keydown",this._doKeyDown).off("keypress",this._doKeyPress).off("keyup",this._doKeyUp)):"div"!==n&&"span"!==n||s.removeClass(this.markerClassName).empty(),e===r&&(e=null))},_enableDatepicker:function(e){var i,n,s=t(e),r=t.data(e,"datepicker");s.hasClass(this.markerClassName)&&("input"===(i=e.nodeName.toLowerCase())?(e.disabled=!1,r.trigger.filter("button").each((function(){this.disabled=!1})).end().filter("img").css({opacity:"1.0",cursor:""})):"div"!==i&&"span"!==i||((n=s.children("."+this._inlineClass)).children().removeClass("ui-state-disabled"),n.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!1)),this._disabledInputs=t.map(this._disabledInputs,(function(t){return t===e?null:t})))},_disableDatepicker:function(e){var i,n,s=t(e),r=t.data(e,"datepicker");s.hasClass(this.markerClassName)&&("input"===(i=e.nodeName.toLowerCase())?(e.disabled=!0,r.trigger.filter("button").each((function(){this.disabled=!0})).end().filter("img").css({opacity:"0.5",cursor:"default"})):"div"!==i&&"span"!==i||((n=s.children("."+this._inlineClass)).children().addClass("ui-state-disabled"),n.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!0)),this._disabledInputs=t.map(this._disabledInputs,(function(t){return t===e?null:t})),this._disabledInputs[this._disabledInputs.length]=e)},_isDisabledDatepicker:function(t){if(!t)return!1;for(var e=0;e<this._disabledInputs.length;e++)if(this._disabledInputs[e]===t)return!0;return!1},_getInst:function(e){try{return t.data(e,"datepicker")}catch(t){throw"Missing instance data for this datepicker"}},_optionDatepicker:function(e,i,n){var s,o,a,l,h=this._getInst(e)
;if(2===arguments.length&&"string"==typeof i)return"defaults"===i?t.extend({},t.datepicker._defaults):h?"all"===i?t.extend({},h.settings):this._get(h,i):null;s=i||{},"string"==typeof i&&((s={})[i]=n),h&&(this._curInst===h&&this._hideDatepicker(),o=this._getDateDatepicker(e,!0),a=this._getMinMaxDate(h,"min"),l=this._getMinMaxDate(h,"max"),r(h.settings,s),null!==a&&void 0!==s.dateFormat&&void 0===s.minDate&&(h.settings.minDate=this._formatDate(h,a)),null!==l&&void 0!==s.dateFormat&&void 0===s.maxDate&&(h.settings.maxDate=this._formatDate(h,l)),"disabled"in s&&(s.disabled?this._disableDatepicker(e):this._enableDatepicker(e)),this._attachments(t(e),h),this._autoSize(h),this._setDate(h,o),this._updateAlternate(h),this._updateDatepicker(h))},_changeDatepicker:function(t,e,i){this._optionDatepicker(t,e,i)},_refreshDatepicker:function(t){var e=this._getInst(t);e&&this._updateDatepicker(e)},_setDateDatepicker:function(t,e){var i=this._getInst(t);i&&(this._setDate(i,e),this._updateDatepicker(i),this._updateAlternate(i))},_getDateDatepicker:function(t,e){var i=this._getInst(t);return i&&!i.inline&&this._setDateFromField(i,e),i?this._getDate(i):null},_doKeyDown:function(e){var i,n,s,r=t.datepicker._getInst(e.target),o=!0,a=r.dpDiv.is(".ui-datepicker-rtl");if(r._keyEvent=!0,t.datepicker._datepickerShowing)switch(e.keyCode){case 9:t.datepicker._hideDatepicker(),o=!1;break;case 13:return(s=t("td."+t.datepicker._dayOverClass+":not(."+t.datepicker._currentClass+")",r.dpDiv))[0]&&t.datepicker._selectDay(e.target,r.selectedMonth,r.selectedYear,s[0]),(i=t.datepicker._get(r,"onSelect"))?(n=t.datepicker._formatDate(r),i.apply(r.input?r.input[0]:null,[n,r])):t.datepicker._hideDatepicker(),!1;case 27:t.datepicker._hideDatepicker();break;case 33:t.datepicker._adjustDate(e.target,e.ctrlKey?-t.datepicker._get(r,"stepBigMonths"):-t.datepicker._get(r,"stepMonths"),"M");break;case 34:t.datepicker._adjustDate(e.target,e.ctrlKey?+t.datepicker._get(r,"stepBigMonths"):+t.datepicker._get(r,"stepMonths"),"M");break;case 35:(e.ctrlKey||e.metaKey)&&t.datepicker._clearDate(e.target),o=e.ctrlKey||e.metaKey;break;case 36:(e.ctrlKey||e.metaKey)&&t.datepicker._gotoToday(e.target),o=e.ctrlKey||e.metaKey;break;case 37:(e.ctrlKey||e.metaKey)&&t.datepicker._adjustDate(e.target,a?1:-1,"D"),o=e.ctrlKey||e.metaKey,e.originalEvent.altKey&&t.datepicker._adjustDate(e.target,e.ctrlKey?-t.datepicker._get(r,"stepBigMonths"):-t.datepicker._get(r,"stepMonths"),"M");break;case 38:(e.ctrlKey||e.metaKey)&&t.datepicker._adjustDate(e.target,-7,"D"),o=e.ctrlKey||e.metaKey;break;case 39:(e.ctrlKey||e.metaKey)&&t.datepicker._adjustDate(e.target,a?-1:1,"D"),o=e.ctrlKey||e.metaKey,e.originalEvent.altKey&&t.datepicker._adjustDate(e.target,e.ctrlKey?+t.datepicker._get(r,"stepBigMonths"):+t.datepicker._get(r,"stepMonths"),"M");break;case 40:(e.ctrlKey||e.metaKey)&&t.datepicker._adjustDate(e.target,7,"D"),o=e.ctrlKey||e.metaKey;break;default:o=!1}else 36===e.keyCode&&e.ctrlKey?t.datepicker._showDatepicker(this):o=!1;o&&(e.preventDefault(),e.stopPropagation())},_doKeyPress:function(e){
var i,n,s=t.datepicker._getInst(e.target);if(t.datepicker._get(s,"constrainInput"))return i=t.datepicker._possibleChars(t.datepicker._get(s,"dateFormat")),n=String.fromCharCode(null==e.charCode?e.keyCode:e.charCode),e.ctrlKey||e.metaKey||n<" "||!i||i.indexOf(n)>-1},_doKeyUp:function(e){var i=t.datepicker._getInst(e.target);if(i.input.val()!==i.lastVal)try{t.datepicker.parseDate(t.datepicker._get(i,"dateFormat"),i.input?i.input.val():null,t.datepicker._getFormatConfig(i))&&(t.datepicker._setDateFromField(i),t.datepicker._updateAlternate(i),t.datepicker._updateDatepicker(i))}catch(t){}return!0},_showDatepicker:function(e){var i,n,s,o,a,l,h;"input"!==(e=e.target||e).nodeName.toLowerCase()&&(e=t("input",e.parentNode)[0]),t.datepicker._isDisabledDatepicker(e)||t.datepicker._lastInput===e||(i=t.datepicker._getInst(e),t.datepicker._curInst&&t.datepicker._curInst!==i&&(t.datepicker._curInst.dpDiv.stop(!0,!0),i&&t.datepicker._datepickerShowing&&t.datepicker._hideDatepicker(t.datepicker._curInst.input[0])),!1!==(s=(n=t.datepicker._get(i,"beforeShow"))?n.apply(e,[e,i]):{})&&(r(i.settings,s),i.lastVal=null,t.datepicker._lastInput=e,t.datepicker._setDateFromField(i),t.datepicker._inDialog&&(e.value=""),t.datepicker._pos||(t.datepicker._pos=t.datepicker._findPos(e),t.datepicker._pos[1]+=e.offsetHeight),o=!1,t(e).parents().each((function(){return!(o|="fixed"===t(this).css("position"))})),a={left:t.datepicker._pos[0],top:t.datepicker._pos[1]},t.datepicker._pos=null,i.dpDiv.empty(),i.dpDiv.css({position:"absolute",display:"block",top:"-1000px"}),t.datepicker._updateDatepicker(i),a=t.datepicker._checkOffset(i,a,o),i.dpDiv.css({position:t.datepicker._inDialog&&t.blockUI?"static":o?"fixed":"absolute",display:"none",left:a.left+"px",top:a.top+"px"}),i.inline||(l=t.datepicker._get(i,"showAnim"),h=t.datepicker._get(i,"duration"),i.dpDiv.css("z-index",function(t){for(var e,i;t.length&&t[0]!==document;){if(("absolute"===(e=t.css("position"))||"relative"===e||"fixed"===e)&&(i=parseInt(t.css("zIndex"),10),!isNaN(i)&&0!==i))return i;t=t.parent()}return 0}(t(e))+1),t.datepicker._datepickerShowing=!0,t.effects&&t.effects.effect[l]?i.dpDiv.show(l,t.datepicker._get(i,"showOptions"),h):i.dpDiv[l||"show"](l?h:null),t.datepicker._shouldFocusInput(i)&&i.input.trigger("focus"),t.datepicker._curInst=i)))},_updateDatepicker:function(i){this.maxRows=4,e=i,i.dpDiv.empty().append(this._generateHTML(i)),this._attachHandlers(i);var n,r=this._getNumberOfMonths(i),o=r[1],a=i.dpDiv.find("."+this._dayOverClass+" a");a.length>0&&s.apply(a.get(0)),i.dpDiv.removeClass("ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4").width(""),o>1&&i.dpDiv.addClass("ui-datepicker-multi-"+o).css("width",17*o+"em"),i.dpDiv[(1!==r[0]||1!==r[1]?"add":"remove")+"Class"]("ui-datepicker-multi"),i.dpDiv[(this._get(i,"isRTL")?"add":"remove")+"Class"]("ui-datepicker-rtl"),i===t.datepicker._curInst&&t.datepicker._datepickerShowing&&t.datepicker._shouldFocusInput(i)&&i.input.trigger("focus"),i.yearshtml&&(n=i.yearshtml,setTimeout((function(){
n===i.yearshtml&&i.yearshtml&&i.dpDiv.find("select.ui-datepicker-year:first").replaceWith(i.yearshtml),n=i.yearshtml=null}),0))},_shouldFocusInput:function(t){return t.input&&t.input.is(":visible")&&!t.input.is(":disabled")&&!t.input.is(":focus")},_checkOffset:function(e,i,n){var s=e.dpDiv.outerWidth(),r=e.dpDiv.outerHeight(),o=e.input?e.input.outerWidth():0,a=e.input?e.input.outerHeight():0,l=document.documentElement.clientWidth+(n?0:t(document).scrollLeft()),h=document.documentElement.clientHeight+(n?0:t(document).scrollTop());return i.left-=this._get(e,"isRTL")?s-o:0,i.left-=n&&i.left===e.input.offset().left?t(document).scrollLeft():0,i.top-=n&&i.top===e.input.offset().top+a?t(document).scrollTop():0,i.left-=Math.min(i.left,i.left+s>l&&l>s?Math.abs(i.left+s-l):0),i.top-=Math.min(i.top,i.top+r>h&&h>r?Math.abs(r+a):0),i},_findPos:function(e){for(var i,n=this._getInst(e),s=this._get(n,"isRTL");e&&("hidden"===e.type||1!==e.nodeType||t.expr.filters.hidden(e));)e=e[s?"previousSibling":"nextSibling"];return[(i=t(e).offset()).left,i.top]},_hideDatepicker:function(e){var i,n,s,r,o=this._curInst;!o||e&&o!==t.data(e,"datepicker")||this._datepickerShowing&&(i=this._get(o,"showAnim"),n=this._get(o,"duration"),s=function(){t.datepicker._tidyDialog(o)},t.effects&&(t.effects.effect[i]||t.effects[i])?o.dpDiv.hide(i,t.datepicker._get(o,"showOptions"),n,s):o.dpDiv["slideDown"===i?"slideUp":"fadeIn"===i?"fadeOut":"hide"](i?n:null,s),i||s(),this._datepickerShowing=!1,(r=this._get(o,"onClose"))&&r.apply(o.input?o.input[0]:null,[o.input?o.input.val():"",o]),this._lastInput=null,this._inDialog&&(this._dialogInput.css({position:"absolute",left:"0",top:"-100px"}),t.blockUI&&(t.unblockUI(),t("body").append(this.dpDiv))),this._inDialog=!1)},_tidyDialog:function(t){t.dpDiv.removeClass(this._dialogClass).off(".ui-datepicker-calendar")},_checkExternalClick:function(e){if(t.datepicker._curInst){var i=t(e.target),n=t.datepicker._getInst(i[0]);(i[0].id===t.datepicker._mainDivId||0!==i.parents("#"+t.datepicker._mainDivId).length||i.hasClass(t.datepicker.markerClassName)||i.closest("."+t.datepicker._triggerClass).length||!t.datepicker._datepickerShowing||t.datepicker._inDialog&&t.blockUI)&&(!i.hasClass(t.datepicker.markerClassName)||t.datepicker._curInst===n)||t.datepicker._hideDatepicker()}},_adjustDate:function(e,i,n){var s=t(e),r=this._getInst(s[0]);this._isDisabledDatepicker(s[0])||(this._adjustInstDate(r,i+("M"===n?this._get(r,"showCurrentAtPos"):0),n),this._updateDatepicker(r))},_gotoToday:function(e){var i,n=t(e),s=this._getInst(n[0]);this._get(s,"gotoCurrent")&&s.currentDay?(s.selectedDay=s.currentDay,s.drawMonth=s.selectedMonth=s.currentMonth,s.drawYear=s.selectedYear=s.currentYear):(i=new Date,s.selectedDay=i.getDate(),s.drawMonth=s.selectedMonth=i.getMonth(),s.drawYear=s.selectedYear=i.getFullYear()),this._notifyChange(s),this._adjustDate(n)},_selectMonthYear:function(e,i,n){var s=t(e),r=this._getInst(s[0]);r["selected"+("M"===n?"Month":"Year")]=r["draw"+("M"===n?"Month":"Year")]=parseInt(i.options[i.selectedIndex].value,10),
this._notifyChange(r),this._adjustDate(s)},_selectDay:function(e,i,n,s){var r,o=t(e);t(s).hasClass(this._unselectableClass)||this._isDisabledDatepicker(o[0])||((r=this._getInst(o[0])).selectedDay=r.currentDay=t("a",s).html(),r.selectedMonth=r.currentMonth=i,r.selectedYear=r.currentYear=n,this._selectDate(e,this._formatDate(r,r.currentDay,r.currentMonth,r.currentYear)))},_clearDate:function(e){var i=t(e);this._selectDate(i,"")},_selectDate:function(e,i){var n,s=t(e),r=this._getInst(s[0]);i=null!=i?i:this._formatDate(r),r.input&&r.input.val(i),this._updateAlternate(r),(n=this._get(r,"onSelect"))?n.apply(r.input?r.input[0]:null,[i,r]):r.input&&r.input.trigger("change"),r.inline?this._updateDatepicker(r):(this._hideDatepicker(),this._lastInput=r.input[0],"object"!=typeof r.input[0]&&r.input.trigger("focus"),this._lastInput=null)},_updateAlternate:function(e){var i,n,s,r=this._get(e,"altField");r&&(i=this._get(e,"altFormat")||this._get(e,"dateFormat"),n=this._getDate(e),s=this.formatDate(i,n,this._getFormatConfig(e)),t(r).val(s))},noWeekends:function(t){var e=t.getDay();return[e>0&&e<6,""]},iso8601Week:function(t){var e,i=new Date(t.getTime());return i.setDate(i.getDate()+4-(i.getDay()||7)),e=i.getTime(),i.setMonth(0),i.setDate(1),Math.floor(Math.round((e-i)/864e5)/7)+1},parseDate:function(e,i,n){if(null==e||null==i)throw"Invalid arguments";if(""===(i="object"==typeof i?i.toString():i+""))return null;var s,r,o,a,l=0,h=(n?n.shortYearCutoff:null)||this._defaults.shortYearCutoff,c="string"!=typeof h?h:(new Date).getFullYear()%100+parseInt(h,10),u=(n?n.dayNamesShort:null)||this._defaults.dayNamesShort,d=(n?n.dayNames:null)||this._defaults.dayNames,p=(n?n.monthNamesShort:null)||this._defaults.monthNamesShort,f=(n?n.monthNames:null)||this._defaults.monthNames,g=-1,m=-1,v=-1,y=-1,_=!1,b=function(t){var i=s+1<e.length&&e.charAt(s+1)===t;return i&&s++,i},w=function(t){var e=b(t),n="@"===t?14:"!"===t?20:"y"===t&&e?4:"o"===t?3:2,s=new RegExp("^\\d{"+("y"===t?n:1)+","+n+"}"),r=i.substring(l).match(s);if(!r)throw"Missing number at position "+l;return l+=r[0].length,parseInt(r[0],10)},x=function(e,n,s){var r=-1,o=t.map(b(e)?s:n,(function(t,e){return[[e,t]]})).sort((function(t,e){return-(t[1].length-e[1].length)}));if(t.each(o,(function(t,e){var n=e[1];if(i.substr(l,n.length).toLowerCase()===n.toLowerCase())return r=e[0],l+=n.length,!1})),-1!==r)return r+1;throw"Unknown name at position "+l},k=function(){if(i.charAt(l)!==e.charAt(s))throw"Unexpected literal at position "+l;l++};for(s=0;s<e.length;s++)if(_)"'"!==e.charAt(s)||b("'")?k():_=!1;else switch(e.charAt(s)){case"d":v=w("d");break;case"D":x("D",u,d);break;case"o":y=w("o");break;case"m":m=w("m");break;case"M":m=x("M",p,f);break;case"y":g=w("y");break;case"@":g=(a=new Date(w("@"))).getFullYear(),m=a.getMonth()+1,v=a.getDate();break;case"!":g=(a=new Date((w("!")-this._ticksTo1970)/1e4)).getFullYear(),m=a.getMonth()+1,v=a.getDate();break;case"'":b("'")?k():_=!0;break;default:k()}if(l<i.length&&(o=i.substr(l),!/^\s+/.test(o)))throw"Extra/unparsed characters found in date: "+o
;if(-1===g?g=(new Date).getFullYear():g<100&&(g+=(new Date).getFullYear()-(new Date).getFullYear()%100+(g<=c?0:-100)),y>-1)for(m=1,v=y;!(v<=(r=this._getDaysInMonth(g,m-1)));)m++,v-=r;if((a=this._daylightSavingAdjust(new Date(g,m-1,v))).getFullYear()!==g||a.getMonth()+1!==m||a.getDate()!==v)throw"Invalid date";return a},ATOM:"yy-mm-dd",COOKIE:"D, dd M yy",ISO_8601:"yy-mm-dd",RFC_822:"D, d M y",RFC_850:"DD, dd-M-y",RFC_1036:"D, d M y",RFC_1123:"D, d M yy",RFC_2822:"D, d M yy",RSS:"D, d M y",TICKS:"!",TIMESTAMP:"@",W3C:"yy-mm-dd",_ticksTo1970:24*(718685+Math.floor(492.5)-Math.floor(19.7)+Math.floor(4.925))*60*60*1e7,formatDate:function(t,e,i){if(!e)return"";var n,s=(i?i.dayNamesShort:null)||this._defaults.dayNamesShort,r=(i?i.dayNames:null)||this._defaults.dayNames,o=(i?i.monthNamesShort:null)||this._defaults.monthNamesShort,a=(i?i.monthNames:null)||this._defaults.monthNames,l=function(e){var i=n+1<t.length&&t.charAt(n+1)===e;return i&&n++,i},h=function(t,e,i){var n=""+e;if(l(t))for(;n.length<i;)n="0"+n;return n},c=function(t,e,i,n){return l(t)?n[e]:i[e]},u="",d=!1;if(e)for(n=0;n<t.length;n++)if(d)"'"!==t.charAt(n)||l("'")?u+=t.charAt(n):d=!1;else switch(t.charAt(n)){case"d":u+=h("d",e.getDate(),2);break;case"D":u+=c("D",e.getDay(),s,r);break;case"o":u+=h("o",Math.round((new Date(e.getFullYear(),e.getMonth(),e.getDate()).getTime()-new Date(e.getFullYear(),0,0).getTime())/864e5),3);break;case"m":u+=h("m",e.getMonth()+1,2);break;case"M":u+=c("M",e.getMonth(),o,a);break;case"y":u+=l("y")?e.getFullYear():(e.getFullYear()%100<10?"0":"")+e.getFullYear()%100;break;case"@":u+=e.getTime();break;case"!":u+=1e4*e.getTime()+this._ticksTo1970;break;case"'":l("'")?u+="'":d=!0;break;default:u+=t.charAt(n)}return u},_possibleChars:function(t){var e,i="",n=!1,s=function(i){var n=e+1<t.length&&t.charAt(e+1)===i;return n&&e++,n};for(e=0;e<t.length;e++)if(n)"'"!==t.charAt(e)||s("'")?i+=t.charAt(e):n=!1;else switch(t.charAt(e)){case"d":case"m":case"y":case"@":i+="0123456789";break;case"D":case"M":return null;case"'":s("'")?i+="'":n=!0;break;default:i+=t.charAt(e)}return i},_get:function(t,e){return void 0!==t.settings[e]?t.settings[e]:this._defaults[e]},_setDateFromField:function(t,e){if(t.input.val()!==t.lastVal){var i=this._get(t,"dateFormat"),n=t.lastVal=t.input?t.input.val():null,s=this._getDefaultDate(t),r=s,o=this._getFormatConfig(t);try{r=this.parseDate(i,n,o)||s}catch(t){n=e?"":n}t.selectedDay=r.getDate(),t.drawMonth=t.selectedMonth=r.getMonth(),t.drawYear=t.selectedYear=r.getFullYear(),t.currentDay=n?r.getDate():0,t.currentMonth=n?r.getMonth():0,t.currentYear=n?r.getFullYear():0,this._adjustInstDate(t)}},_getDefaultDate:function(t){return this._restrictMinMax(t,this._determineDate(t,this._get(t,"defaultDate"),new Date))},_determineDate:function(e,i,n){var s=null==i||""===i?n:"string"==typeof i?function(i){try{return t.datepicker.parseDate(t.datepicker._get(e,"dateFormat"),i,t.datepicker._getFormatConfig(e))}catch(t){}
for(var n=(i.toLowerCase().match(/^c/)?t.datepicker._getDate(e):null)||new Date,s=n.getFullYear(),r=n.getMonth(),o=n.getDate(),a=/([+\-]?[0-9]+)\s*(d|D|w|W|m|M|y|Y)?/g,l=a.exec(i);l;){switch(l[2]||"d"){case"d":case"D":o+=parseInt(l[1],10);break;case"w":case"W":o+=7*parseInt(l[1],10);break;case"m":case"M":r+=parseInt(l[1],10),o=Math.min(o,t.datepicker._getDaysInMonth(s,r));break;case"y":case"Y":s+=parseInt(l[1],10),o=Math.min(o,t.datepicker._getDaysInMonth(s,r))}l=a.exec(i)}return new Date(s,r,o)}(i):"number"==typeof i?isNaN(i)?n:function(t){var e=new Date;return e.setDate(e.getDate()+t),e}(i):new Date(i.getTime());return(s=s&&"Invalid Date"===s.toString()?n:s)&&(s.setHours(0),s.setMinutes(0),s.setSeconds(0),s.setMilliseconds(0)),this._daylightSavingAdjust(s)},_daylightSavingAdjust:function(t){return t?(t.setHours(t.getHours()>12?t.getHours()+2:0),t):null},_setDate:function(t,e,i){var n=!e,s=t.selectedMonth,r=t.selectedYear,o=this._restrictMinMax(t,this._determineDate(t,e,new Date));t.selectedDay=t.currentDay=o.getDate(),t.drawMonth=t.selectedMonth=t.currentMonth=o.getMonth(),t.drawYear=t.selectedYear=t.currentYear=o.getFullYear(),s===t.selectedMonth&&r===t.selectedYear||i||this._notifyChange(t),this._adjustInstDate(t),t.input&&t.input.val(n?"":this._formatDate(t))},_getDate:function(t){return!t.currentYear||t.input&&""===t.input.val()?null:this._daylightSavingAdjust(new Date(t.currentYear,t.currentMonth,t.currentDay))},_attachHandlers:function(e){var i=this._get(e,"stepMonths"),n="#"+e.id.replace(/\\\\/g,"\\");e.dpDiv.find("[data-handler]").map((function(){var e={prev:function(){t.datepicker._adjustDate(n,-i,"M")},next:function(){t.datepicker._adjustDate(n,+i,"M")},hide:function(){t.datepicker._hideDatepicker()},today:function(){t.datepicker._gotoToday(n)},selectDay:function(){return t.datepicker._selectDay(n,+this.getAttribute("data-month"),+this.getAttribute("data-year"),this),!1},selectMonth:function(){return t.datepicker._selectMonthYear(n,this,"M"),!1},selectYear:function(){return t.datepicker._selectMonthYear(n,this,"Y"),!1}};t(this).on(this.getAttribute("data-event"),e[this.getAttribute("data-handler")])}))},_generateHTML:function(t){var e,i,n,s,r,o,a,l,h,c,u,d,p,f,g,m,v,y,_,b,w,x,k,D,C,T,N,S,M,P,E,I,A,F,H,z,L,O,j,W=new Date,R=this._daylightSavingAdjust(new Date(W.getFullYear(),W.getMonth(),W.getDate())),Y=this._get(t,"isRTL"),B=this._get(t,"showButtonPanel"),q=this._get(t,"hideIfNoPrevNext"),X=this._get(t,"navigationAsDateFormat"),$=this._getNumberOfMonths(t),K=this._get(t,"showCurrentAtPos"),U=this._get(t,"stepMonths"),V=1!==$[0]||1!==$[1],J=this._daylightSavingAdjust(t.currentDay?new Date(t.currentYear,t.currentMonth,t.currentDay):new Date(9999,9,9)),G=this._getMinMaxDate(t,"min"),Q=this._getMinMaxDate(t,"max"),Z=t.drawMonth-K,tt=t.drawYear;if(Z<0&&(Z+=12,tt--),Q)for(e=this._daylightSavingAdjust(new Date(Q.getFullYear(),Q.getMonth()-$[0]*$[1]+1,Q.getDate())),e=G&&e<G?G:e;this._daylightSavingAdjust(new Date(tt,Z,1))>e;)--Z<0&&(Z=11,tt--);for(t.drawMonth=Z,t.drawYear=tt,i=this._get(t,"prevText"),
i=X?this.formatDate(i,this._daylightSavingAdjust(new Date(tt,Z-U,1)),this._getFormatConfig(t)):i,n=this._canAdjustMonth(t,-1,tt,Z)?"<a class='ui-datepicker-prev ui-corner-all' data-handler='prev' data-event='click' title='"+i+"'><span class='ui-icon ui-icon-circle-triangle-"+(Y?"e":"w")+"'>"+i+"</span></a>":q?"":"<a class='ui-datepicker-prev ui-corner-all ui-state-disabled' title='"+i+"'><span class='ui-icon ui-icon-circle-triangle-"+(Y?"e":"w")+"'>"+i+"</span></a>",s=this._get(t,"nextText"),s=X?this.formatDate(s,this._daylightSavingAdjust(new Date(tt,Z+U,1)),this._getFormatConfig(t)):s,r=this._canAdjustMonth(t,1,tt,Z)?"<a class='ui-datepicker-next ui-corner-all' data-handler='next' data-event='click' title='"+s+"'><span class='ui-icon ui-icon-circle-triangle-"+(Y?"w":"e")+"'>"+s+"</span></a>":q?"":"<a class='ui-datepicker-next ui-corner-all ui-state-disabled' title='"+s+"'><span class='ui-icon ui-icon-circle-triangle-"+(Y?"w":"e")+"'>"+s+"</span></a>",o=this._get(t,"currentText"),a=this._get(t,"gotoCurrent")&&t.currentDay?J:R,o=X?this.formatDate(o,a,this._getFormatConfig(t)):o,l=t.inline?"":"<button type='button' class='ui-datepicker-close ui-state-default ui-priority-primary ui-corner-all' data-handler='hide' data-event='click'>"+this._get(t,"closeText")+"</button>",h=B?"<div class='ui-datepicker-buttonpane ui-widget-content'>"+(Y?l:"")+(this._isInRange(t,a)?"<button type='button' class='ui-datepicker-current ui-state-default ui-priority-secondary ui-corner-all' data-handler='today' data-event='click'>"+o+"</button>":"")+(Y?"":l)+"</div>":"",c=parseInt(this._get(t,"firstDay"),10),c=isNaN(c)?0:c,u=this._get(t,"showWeek"),d=this._get(t,"dayNames"),p=this._get(t,"dayNamesMin"),f=this._get(t,"monthNames"),g=this._get(t,"monthNamesShort"),m=this._get(t,"beforeShowDay"),v=this._get(t,"showOtherMonths"),y=this._get(t,"selectOtherMonths"),_=this._getDefaultDate(t),b="",x=0;x<$[0];x++){for(k="",this.maxRows=4,D=0;D<$[1];D++){if(C=this._daylightSavingAdjust(new Date(tt,Z,t.selectedDay)),T=" ui-corner-all",N="",V){if(N+="<div class='ui-datepicker-group",$[1]>1)switch(D){case 0:N+=" ui-datepicker-group-first",T=" ui-corner-"+(Y?"right":"left");break;case $[1]-1:N+=" ui-datepicker-group-last",T=" ui-corner-"+(Y?"left":"right");break;default:N+=" ui-datepicker-group-middle",T=""}N+="'>"}for(N+="<div class='ui-datepicker-header ui-widget-header ui-helper-clearfix"+T+"'>"+(/all|left/.test(T)&&0===x?Y?r:n:"")+(/all|right/.test(T)&&0===x?Y?n:r:"")+this._generateMonthYearHeader(t,Z,tt,G,Q,x>0||D>0,f,g)+"</div><table class='ui-datepicker-calendar'><thead><tr>",S=u?"<th class='ui-datepicker-week-col'>"+this._get(t,"weekHeader")+"</th>":"",w=0;w<7;w++)S+="<th scope='col'"+((w+c+6)%7>=5?" class='ui-datepicker-week-end'":"")+"><span title='"+d[M=(w+c)%7]+"'>"+p[M]+"</span></th>";for(N+=S+"</tr></thead><tbody>",P=this._getDaysInMonth(tt,Z),tt===t.selectedYear&&Z===t.selectedMonth&&(t.selectedDay=Math.min(t.selectedDay,P)),E=(this._getFirstDayOfMonth(tt,Z)-c+7)%7,I=Math.ceil((E+P)/7),A=V&&this.maxRows>I?this.maxRows:I,this.maxRows=A,
F=this._daylightSavingAdjust(new Date(tt,Z,1-E)),H=0;H<A;H++){for(N+="<tr>",z=u?"<td class='ui-datepicker-week-col'>"+this._get(t,"calculateWeek")(F)+"</td>":"",w=0;w<7;w++)L=m?m.apply(t.input?t.input[0]:null,[F]):[!0,""],j=(O=F.getMonth()!==Z)&&!y||!L[0]||G&&F<G||Q&&F>Q,z+="<td class='"+((w+c+6)%7>=5?" ui-datepicker-week-end":"")+(O?" ui-datepicker-other-month":"")+(F.getTime()===C.getTime()&&Z===t.selectedMonth&&t._keyEvent||_.getTime()===F.getTime()&&_.getTime()===C.getTime()?" "+this._dayOverClass:"")+(j?" "+this._unselectableClass+" ui-state-disabled":"")+(O&&!v?"":" "+L[1]+(F.getTime()===J.getTime()?" "+this._currentClass:"")+(F.getTime()===R.getTime()?" ui-datepicker-today":""))+"'"+(O&&!v||!L[2]?"":" title='"+L[2].replace(/'/g,"&#39;")+"'")+(j?"":" data-handler='selectDay' data-event='click' data-month='"+F.getMonth()+"' data-year='"+F.getFullYear()+"'")+">"+(O&&!v?"&#xa0;":j?"<span class='ui-state-default'>"+F.getDate()+"</span>":"<a class='ui-state-default"+(F.getTime()===R.getTime()?" ui-state-highlight":"")+(F.getTime()===J.getTime()?" ui-state-active":"")+(O?" ui-priority-secondary":"")+"' href='#'>"+F.getDate()+"</a>")+"</td>",F.setDate(F.getDate()+1),F=this._daylightSavingAdjust(F);N+=z+"</tr>"}++Z>11&&(Z=0,tt++),k+=N+="</tbody></table>"+(V?"</div>"+($[0]>0&&D===$[1]-1?"<div class='ui-datepicker-row-break'></div>":""):"")}b+=k}return b+=h,t._keyEvent=!1,b},_generateMonthYearHeader:function(t,e,i,n,s,r,o,a){var l,h,c,u,d,p,f,g,m=this._get(t,"changeMonth"),v=this._get(t,"changeYear"),y=this._get(t,"showMonthAfterYear"),_="<div class='ui-datepicker-title'>",b="";if(r||!m)b+="<span class='ui-datepicker-month'>"+o[e]+"</span>";else{for(l=n&&n.getFullYear()===i,h=s&&s.getFullYear()===i,b+="<select class='ui-datepicker-month' data-handler='selectMonth' data-event='change'>",c=0;c<12;c++)(!l||c>=n.getMonth())&&(!h||c<=s.getMonth())&&(b+="<option value='"+c+"'"+(c===e?" selected='selected'":"")+">"+a[c]+"</option>");b+="</select>"}if(y||(_+=b+(!r&&m&&v?"":"&#xa0;")),!t.yearshtml)if(t.yearshtml="",r||!v)_+="<span class='ui-datepicker-year'>"+i+"</span>";else{for(u=this._get(t,"yearRange").split(":"),d=(new Date).getFullYear(),f=(p=function(t){var e=t.match(/c[+\-].*/)?i+parseInt(t.substring(1),10):t.match(/[+\-].*/)?d+parseInt(t,10):parseInt(t,10);return isNaN(e)?d:e})(u[0]),g=Math.max(f,p(u[1]||"")),f=n?Math.max(f,n.getFullYear()):f,g=s?Math.min(g,s.getFullYear()):g,t.yearshtml+="<select class='ui-datepicker-year' data-handler='selectYear' data-event='change'>";f<=g;f++)t.yearshtml+="<option value='"+f+"'"+(f===i?" selected='selected'":"")+">"+f+"</option>";t.yearshtml+="</select>",_+=t.yearshtml,t.yearshtml=null}return _+=this._get(t,"yearSuffix"),y&&(_+=(!r&&m&&v?"":"&#xa0;")+b),_+="</div>"},_adjustInstDate:function(t,e,i){var n=t.selectedYear+("Y"===i?e:0),s=t.selectedMonth+("M"===i?e:0),r=Math.min(t.selectedDay,this._getDaysInMonth(n,s))+("D"===i?e:0),o=this._restrictMinMax(t,this._daylightSavingAdjust(new Date(n,s,r)));t.selectedDay=o.getDate(),t.drawMonth=t.selectedMonth=o.getMonth(),
t.drawYear=t.selectedYear=o.getFullYear(),"M"!==i&&"Y"!==i||this._notifyChange(t)},_restrictMinMax:function(t,e){var i=this._getMinMaxDate(t,"min"),n=this._getMinMaxDate(t,"max"),s=i&&e<i?i:e;return n&&s>n?n:s},_notifyChange:function(t){var e=this._get(t,"onChangeMonthYear");e&&e.apply(t.input?t.input[0]:null,[t.selectedYear,t.selectedMonth+1,t])},_getNumberOfMonths:function(t){var e=this._get(t,"numberOfMonths");return null==e?[1,1]:"number"==typeof e?[1,e]:e},_getMinMaxDate:function(t,e){return this._determineDate(t,this._get(t,e+"Date"),null)},_getDaysInMonth:function(t,e){return 32-this._daylightSavingAdjust(new Date(t,e,32)).getDate()},_getFirstDayOfMonth:function(t,e){return new Date(t,e,1).getDay()},_canAdjustMonth:function(t,e,i,n){var s=this._getNumberOfMonths(t),r=this._daylightSavingAdjust(new Date(i,n+(e<0?e:s[0]*s[1]),1));return e<0&&r.setDate(this._getDaysInMonth(r.getFullYear(),r.getMonth())),this._isInRange(t,r)},_isInRange:function(t,e){var i,n,s=this._getMinMaxDate(t,"min"),r=this._getMinMaxDate(t,"max"),o=null,a=null,l=this._get(t,"yearRange");return l&&(i=l.split(":"),n=(new Date).getFullYear(),o=parseInt(i[0],10),a=parseInt(i[1],10),i[0].match(/[+\-].*/)&&(o+=n),i[1].match(/[+\-].*/)&&(a+=n)),(!s||e.getTime()>=s.getTime())&&(!r||e.getTime()<=r.getTime())&&(!o||e.getFullYear()>=o)&&(!a||e.getFullYear()<=a)},_getFormatConfig:function(t){var e=this._get(t,"shortYearCutoff");return{shortYearCutoff:e="string"!=typeof e?e:(new Date).getFullYear()%100+parseInt(e,10),dayNamesShort:this._get(t,"dayNamesShort"),dayNames:this._get(t,"dayNames"),monthNamesShort:this._get(t,"monthNamesShort"),monthNames:this._get(t,"monthNames")}},_formatDate:function(t,e,i,n){e||(t.currentDay=t.selectedDay,t.currentMonth=t.selectedMonth,t.currentYear=t.selectedYear);var s=e?"object"==typeof e?e:this._daylightSavingAdjust(new Date(n,i,e)):this._daylightSavingAdjust(new Date(t.currentYear,t.currentMonth,t.currentDay));return this.formatDate(this._get(t,"dateFormat"),s,this._getFormatConfig(t))}}),t.fn.datepicker=function(e){if(!this.length)return this;t.datepicker.initialized||(t(document).on("mousedown",t.datepicker._checkExternalClick),t.datepicker.initialized=!0),0===t("#"+t.datepicker._mainDivId).length&&t("body").append(t.datepicker.dpDiv);var i=Array.prototype.slice.call(arguments,1);return"string"!=typeof e||"isDisabled"!==e&&"getDate"!==e&&"widget"!==e?"option"===e&&2===arguments.length&&"string"==typeof arguments[1]?t.datepicker["_"+e+"Datepicker"].apply(t.datepicker,[this[0]].concat(i)):this.each((function(){"string"==typeof e?t.datepicker["_"+e+"Datepicker"].apply(t.datepicker,[this].concat(i)):t.datepicker._attachDatepicker(this,e)})):t.datepicker["_"+e+"Datepicker"].apply(t.datepicker,[this[0]].concat(i))},t.datepicker=new i,t.datepicker.initialized=!1,t.datepicker.uuid=(new Date).getTime(),t.datepicker.version="1.12.1",t.datepicker})?n.apply(e,s):n)||(t.exports=r)},29224:(t,e,i)=>{var n,s,r;s=[i(23127),i(52282),i(51699),i(42353),i(8002),i(78734),i(15925),i(34912),i(62066)],
void 0===(r="function"==typeof(n=function(t){return t.widget("ui.draggable",t.ui.mouse,{version:"1.12.1",widgetEventPrefix:"drag",options:{addClasses:!0,appendTo:"parent",axis:!1,connectToSortable:!1,containment:!1,cursor:"auto",cursorAt:!1,grid:!1,handle:!1,helper:"original",iframeFix:!1,opacity:!1,refreshPositions:!1,revert:!1,revertDuration:500,scope:"default",scroll:!0,scrollSensitivity:20,scrollSpeed:20,snap:!1,snapMode:"both",snapTolerance:20,stack:!1,zIndex:!1,drag:null,start:null,stop:null},_create:function(){"original"===this.options.helper&&this._setPositionRelative(),this.options.addClasses&&this._addClass("ui-draggable"),this._setHandleClassName(),this._mouseInit()},_setOption:function(t,e){this._super(t,e),"handle"===t&&(this._removeHandleClassName(),this._setHandleClassName())},_destroy:function(){(this.helper||this.element).is(".ui-draggable-dragging")?this.destroyOnClear=!0:(this._removeHandleClassName(),this._mouseDestroy())},_mouseCapture:function(e){var i=this.options;return!(this.helper||i.disabled||t(e.target).closest(".ui-resizable-handle").length>0||(this.handle=this._getHandle(e),!this.handle||(this._blurActiveElement(e),this._blockFrames(!0===i.iframeFix?"iframe":i.iframeFix),0)))},_blockFrames:function(e){this.iframeBlocks=this.document.find(e).map((function(){var e=t(this);return t("<div>").css("position","absolute").appendTo(e.parent()).outerWidth(e.outerWidth()).outerHeight(e.outerHeight()).offset(e.offset())[0]}))},_unblockFrames:function(){this.iframeBlocks&&(this.iframeBlocks.remove(),delete this.iframeBlocks)},_blurActiveElement:function(e){var i=t.ui.safeActiveElement(this.document[0]);t(e.target).closest(i).length||t.ui.safeBlur(i)},_mouseStart:function(e){var i=this.options;return this.helper=this._createHelper(e),this._addClass(this.helper,"ui-draggable-dragging"),this._cacheHelperProportions(),t.ui.ddmanager&&(t.ui.ddmanager.current=this),this._cacheMargins(),this.cssPosition=this.helper.css("position"),this.scrollParent=this.helper.scrollParent(!0),this.offsetParent=this.helper.offsetParent(),this.hasFixedAncestor=this.helper.parents().filter((function(){return"fixed"===t(this).css("position")})).length>0,this.positionAbs=this.element.offset(),this._refreshOffsets(e),this.originalPosition=this.position=this._generatePosition(e,!1),this.originalPageX=e.pageX,this.originalPageY=e.pageY,i.cursorAt&&this._adjustOffsetFromHelper(i.cursorAt),this._setContainment(),!1===this._trigger("start",e)?(this._clear(),!1):(this._cacheHelperProportions(),t.ui.ddmanager&&!i.dropBehaviour&&t.ui.ddmanager.prepareOffsets(this,e),this._mouseDrag(e,!0),t.ui.ddmanager&&t.ui.ddmanager.dragStart(this,e),!0)},_refreshOffsets:function(t){this.offset={top:this.positionAbs.top-this.margins.top,left:this.positionAbs.left-this.margins.left,scroll:!1,parent:this._getParentOffset(),relative:this._getRelativeOffset()},this.offset.click={left:t.pageX-this.offset.left,top:t.pageY-this.offset.top}},_mouseDrag:function(e,i){if(this.hasFixedAncestor&&(this.offset.parent=this._getParentOffset()),
this.position=this._generatePosition(e,!0),this.positionAbs=this._convertPositionTo("absolute"),!i){var n=this._uiHash();if(!1===this._trigger("drag",e,n))return this._mouseUp(new t.Event("mouseup",e)),!1;this.position=n.position}return this.helper[0].style.left=this.position.left+"px",this.helper[0].style.top=this.position.top+"px",t.ui.ddmanager&&t.ui.ddmanager.drag(this,e),!1},_mouseStop:function(e){var i=this,n=!1;return t.ui.ddmanager&&!this.options.dropBehaviour&&(n=t.ui.ddmanager.drop(this,e)),this.dropped&&(n=this.dropped,this.dropped=!1),"invalid"===this.options.revert&&!n||"valid"===this.options.revert&&n||!0===this.options.revert||t.isFunction(this.options.revert)&&this.options.revert.call(this.element,n)?t(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),(function(){!1!==i._trigger("stop",e)&&i._clear()})):!1!==this._trigger("stop",e)&&this._clear(),!1},_mouseUp:function(e){return this._unblockFrames(),t.ui.ddmanager&&t.ui.ddmanager.dragStop(this,e),this.handleElement.is(e.target)&&this.element.trigger("focus"),t.ui.mouse.prototype._mouseUp.call(this,e)},cancel:function(){return this.helper.is(".ui-draggable-dragging")?this._mouseUp(new t.Event("mouseup",{target:this.element[0]})):this._clear(),this},_getHandle:function(e){return!this.options.handle||!!t(e.target).closest(this.element.find(this.options.handle)).length},_setHandleClassName:function(){this.handleElement=this.options.handle?this.element.find(this.options.handle):this.element,this._addClass(this.handleElement,"ui-draggable-handle")},_removeHandleClassName:function(){this._removeClass(this.handleElement,"ui-draggable-handle")},_createHelper:function(e){var i=this.options,n=t.isFunction(i.helper),s=n?t(i.helper.apply(this.element[0],[e])):"clone"===i.helper?this.element.clone().removeAttr("id"):this.element;return s.parents("body").length||s.appendTo("parent"===i.appendTo?this.element[0].parentNode:i.appendTo),n&&s[0]===this.element[0]&&this._setPositionRelative(),s[0]===this.element[0]||/(fixed|absolute)/.test(s.css("position"))||s.css("position","absolute"),s},_setPositionRelative:function(){/^(?:r|a|f)/.test(this.element.css("position"))||(this.element[0].style.position="relative")},_adjustOffsetFromHelper:function(e){"string"==typeof e&&(e=e.split(" ")),t.isArray(e)&&(e={left:+e[0],top:+e[1]||0}),"left"in e&&(this.offset.click.left=e.left+this.margins.left),"right"in e&&(this.offset.click.left=this.helperProportions.width-e.right+this.margins.left),"top"in e&&(this.offset.click.top=e.top+this.margins.top),"bottom"in e&&(this.offset.click.top=this.helperProportions.height-e.bottom+this.margins.top)},_isRootNode:function(t){return/(html|body)/i.test(t.tagName)||t===this.document[0]},_getParentOffset:function(){var e=this.offsetParent.offset(),i=this.document[0];return"absolute"===this.cssPosition&&this.scrollParent[0]!==i&&t.contains(this.scrollParent[0],this.offsetParent[0])&&(e.left+=this.scrollParent.scrollLeft(),e.top+=this.scrollParent.scrollTop()),this._isRootNode(this.offsetParent[0])&&(e={top:0,
left:0}),{top:e.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:e.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if("relative"!==this.cssPosition)return{top:0,left:0};var t=this.element.position(),e=this._isRootNode(this.scrollParent[0]);return{top:t.top-(parseInt(this.helper.css("top"),10)||0)+(e?0:this.scrollParent.scrollTop()),left:t.left-(parseInt(this.helper.css("left"),10)||0)+(e?0:this.scrollParent.scrollLeft())}},_cacheMargins:function(){this.margins={left:parseInt(this.element.css("marginLeft"),10)||0,top:parseInt(this.element.css("marginTop"),10)||0,right:parseInt(this.element.css("marginRight"),10)||0,bottom:parseInt(this.element.css("marginBottom"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var e,i,n,s=this.options,r=this.document[0];this.relativeContainer=null,s.containment?"window"!==s.containment?"document"!==s.containment?s.containment.constructor!==Array?("parent"===s.containment&&(s.containment=this.helper[0].parentNode),(n=(i=t(s.containment))[0])&&(e=/(scroll|auto)/.test(i.css("overflow")),this.containment=[(parseInt(i.css("borderLeftWidth"),10)||0)+(parseInt(i.css("paddingLeft"),10)||0),(parseInt(i.css("borderTopWidth"),10)||0)+(parseInt(i.css("paddingTop"),10)||0),(e?Math.max(n.scrollWidth,n.offsetWidth):n.offsetWidth)-(parseInt(i.css("borderRightWidth"),10)||0)-(parseInt(i.css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,(e?Math.max(n.scrollHeight,n.offsetHeight):n.offsetHeight)-(parseInt(i.css("borderBottomWidth"),10)||0)-(parseInt(i.css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top-this.margins.bottom],this.relativeContainer=i)):this.containment=s.containment:this.containment=[0,0,t(r).width()-this.helperProportions.width-this.margins.left,(t(r).height()||r.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]:this.containment=[t(window).scrollLeft()-this.offset.relative.left-this.offset.parent.left,t(window).scrollTop()-this.offset.relative.top-this.offset.parent.top,t(window).scrollLeft()+t(window).width()-this.helperProportions.width-this.margins.left,t(window).scrollTop()+(t(window).height()||r.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]:this.containment=null},_convertPositionTo:function(t,e){e||(e=this.position);var i="absolute"===t?1:-1,n=this._isRootNode(this.scrollParent[0]);return{top:e.top+this.offset.relative.top*i+this.offset.parent.top*i-("fixed"===this.cssPosition?-this.offset.scroll.top:n?0:this.offset.scroll.top)*i,left:e.left+this.offset.relative.left*i+this.offset.parent.left*i-("fixed"===this.cssPosition?-this.offset.scroll.left:n?0:this.offset.scroll.left)*i}},_generatePosition:function(t,e){var i,n,s,r,o=this.options,a=this._isRootNode(this.scrollParent[0]),l=t.pageX,h=t.pageY;return a&&this.offset.scroll||(this.offset.scroll={top:this.scrollParent.scrollTop(),
left:this.scrollParent.scrollLeft()}),e&&(this.containment&&(this.relativeContainer?(n=this.relativeContainer.offset(),i=[this.containment[0]+n.left,this.containment[1]+n.top,this.containment[2]+n.left,this.containment[3]+n.top]):i=this.containment,t.pageX-this.offset.click.left<i[0]&&(l=i[0]+this.offset.click.left),t.pageY-this.offset.click.top<i[1]&&(h=i[1]+this.offset.click.top),t.pageX-this.offset.click.left>i[2]&&(l=i[2]+this.offset.click.left),t.pageY-this.offset.click.top>i[3]&&(h=i[3]+this.offset.click.top)),o.grid&&(s=o.grid[1]?this.originalPageY+Math.round((h-this.originalPageY)/o.grid[1])*o.grid[1]:this.originalPageY,h=i?s-this.offset.click.top>=i[1]||s-this.offset.click.top>i[3]?s:s-this.offset.click.top>=i[1]?s-o.grid[1]:s+o.grid[1]:s,r=o.grid[0]?this.originalPageX+Math.round((l-this.originalPageX)/o.grid[0])*o.grid[0]:this.originalPageX,l=i?r-this.offset.click.left>=i[0]||r-this.offset.click.left>i[2]?r:r-this.offset.click.left>=i[0]?r-o.grid[0]:r+o.grid[0]:r),"y"===o.axis&&(l=this.originalPageX),"x"===o.axis&&(h=this.originalPageY)),{top:h-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.offset.scroll.top:a?0:this.offset.scroll.top),left:l-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.offset.scroll.left:a?0:this.offset.scroll.left)}},_clear:function(){this._removeClass(this.helper,"ui-draggable-dragging"),this.helper[0]===this.element[0]||this.cancelHelperRemoval||this.helper.remove(),this.helper=null,this.cancelHelperRemoval=!1,this.destroyOnClear&&this.destroy()},_trigger:function(e,i,n){return n=n||this._uiHash(),t.ui.plugin.call(this,e,[i,n,this],!0),/^(drag|start|stop)/.test(e)&&(this.positionAbs=this._convertPositionTo("absolute"),n.offset=this.positionAbs),t.Widget.prototype._trigger.call(this,e,i,n)},plugins:{},_uiHash:function(){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}}),t.ui.plugin.add("draggable","connectToSortable",{start:function(e,i,n){var s=t.extend({},i,{item:n.element});n.sortables=[],t(n.options.connectToSortable).each((function(){var i=t(this).sortable("instance");i&&!i.options.disabled&&(n.sortables.push(i),i.refreshPositions(),i._trigger("activate",e,s))}))},stop:function(e,i,n){var s=t.extend({},i,{item:n.element});n.cancelHelperRemoval=!1,t.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(e),this.options.helper=this.options._helper):(this.cancelHelperRemoval=!0,this._trigger("deactivate",e,s))}))},drag:function(e,i,n){t.each(n.sortables,(function(){var s=!1,r=this;r.positionAbs=n.positionAbs,r.helperProportions=n.helperProportions,r.offset.click=n.offset.click,r._intersectsWith(r.containerCache)&&(s=!0,t.each(n.sortables,(function(){return this.positionAbs=n.positionAbs,
this.helperProportions=n.helperProportions,this.offset.click=n.offset.click,this!==r&&this._intersectsWith(this.containerCache)&&t.contains(r.element[0],this.element[0])&&(s=!1),s}))),s?(r.isOver||(r.isOver=1,n._parent=i.helper.parent(),r.currentItem=i.helper.appendTo(r.element).data("ui-sortable-item",!0),r.options._helper=r.options.helper,r.options.helper=function(){return i.helper[0]},e.target=r.currentItem[0],r._mouseCapture(e,!0),r._mouseStart(e,!0,!0),r.offset.click.top=n.offset.click.top,r.offset.click.left=n.offset.click.left,r.offset.parent.left-=n.offset.parent.left-r.offset.parent.left,r.offset.parent.top-=n.offset.parent.top-r.offset.parent.top,n._trigger("toSortable",e),n.dropped=r.element,t.each(n.sortables,(function(){this.refreshPositions()})),n.currentItem=n.element,r.fromOutside=n),r.currentItem&&(r._mouseDrag(e),i.position=r.position)):r.isOver&&(r.isOver=0,r.cancelHelperRemoval=!0,r.options._revert=r.options.revert,r.options.revert=!1,r._trigger("out",e,r._uiHash(r)),r._mouseStop(e,!0),r.options.revert=r.options._revert,r.options.helper=r.options._helper,r.placeholder&&r.placeholder.remove(),i.helper.appendTo(n._parent),n._refreshOffsets(e),i.position=n._generatePosition(e,!0),n._trigger("fromSortable",e),n.dropped=!1,t.each(n.sortables,(function(){this.refreshPositions()})))}))}}),t.ui.plugin.add("draggable","cursor",{start:function(e,i,n){var s=t("body"),r=n.options;s.css("cursor")&&(r._cursor=s.css("cursor")),s.css("cursor",r.cursor)},stop:function(e,i,n){var s=n.options;s._cursor&&t("body").css("cursor",s._cursor)}}),t.ui.plugin.add("draggable","opacity",{start:function(e,i,n){var s=t(i.helper),r=n.options;s.css("opacity")&&(r._opacity=s.css("opacity")),s.css("opacity",r.opacity)},stop:function(e,i,n){var s=n.options;s._opacity&&t(i.helper).css("opacity",s._opacity)}}),t.ui.plugin.add("draggable","scroll",{start:function(t,e,i){i.scrollParentNotHidden||(i.scrollParentNotHidden=i.helper.scrollParent(!1)),i.scrollParentNotHidden[0]!==i.document[0]&&"HTML"!==i.scrollParentNotHidden[0].tagName&&(i.overflowOffset=i.scrollParentNotHidden.offset())},drag:function(e,i,n){var s=n.options,r=!1,o=n.scrollParentNotHidden[0],a=n.document[0];o!==a&&"HTML"!==o.tagName?(s.axis&&"x"===s.axis||(n.overflowOffset.top+o.offsetHeight-e.pageY<s.scrollSensitivity?o.scrollTop=r=o.scrollTop+s.scrollSpeed:e.pageY-n.overflowOffset.top<s.scrollSensitivity&&(o.scrollTop=r=o.scrollTop-s.scrollSpeed)),s.axis&&"y"===s.axis||(n.overflowOffset.left+o.offsetWidth-e.pageX<s.scrollSensitivity?o.scrollLeft=r=o.scrollLeft+s.scrollSpeed:e.pageX-n.overflowOffset.left<s.scrollSensitivity&&(o.scrollLeft=r=o.scrollLeft-s.scrollSpeed))):(s.axis&&"x"===s.axis||(e.pageY-t(a).scrollTop()<s.scrollSensitivity?r=t(a).scrollTop(t(a).scrollTop()-s.scrollSpeed):t(window).height()-(e.pageY-t(a).scrollTop())<s.scrollSensitivity&&(r=t(a).scrollTop(t(a).scrollTop()+s.scrollSpeed))),
s.axis&&"y"===s.axis||(e.pageX-t(a).scrollLeft()<s.scrollSensitivity?r=t(a).scrollLeft(t(a).scrollLeft()-s.scrollSpeed):t(window).width()-(e.pageX-t(a).scrollLeft())<s.scrollSensitivity&&(r=t(a).scrollLeft(t(a).scrollLeft()+s.scrollSpeed)))),!1!==r&&t.ui.ddmanager&&!s.dropBehaviour&&t.ui.ddmanager.prepareOffsets(n,e)}}),t.ui.plugin.add("draggable","snap",{start:function(e,i,n){var s=n.options;n.snapElements=[],t(s.snap.constructor!==String?s.snap.items||":data(ui-draggable)":s.snap).each((function(){var e=t(this),i=e.offset();this!==n.element[0]&&n.snapElements.push({item:this,width:e.outerWidth(),height:e.outerHeight(),top:i.top,left:i.left})}))},drag:function(e,i,n){var s,r,o,a,l,h,c,u,d,p,f=n.options,g=f.snapTolerance,m=i.offset.left,v=m+n.helperProportions.width,y=i.offset.top,_=y+n.helperProportions.height;for(d=n.snapElements.length-1;d>=0;d--)h=(l=n.snapElements[d].left-n.margins.left)+n.snapElements[d].width,u=(c=n.snapElements[d].top-n.margins.top)+n.snapElements[d].height,v<l-g||m>h+g||_<c-g||y>u+g||!t.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,e,t.extend(n._uiHash(),{snapItem:n.snapElements[d].item})),n.snapElements[d].snapping=!1):("inner"!==f.snapMode&&(s=Math.abs(c-_)<=g,r=Math.abs(u-y)<=g,o=Math.abs(l-v)<=g,a=Math.abs(h-m)<=g,s&&(i.position.top=n._convertPositionTo("relative",{top:c-n.helperProportions.height,left:0}).top),r&&(i.position.top=n._convertPositionTo("relative",{top:u,left:0}).top),o&&(i.position.left=n._convertPositionTo("relative",{top:0,left:l-n.helperProportions.width}).left),a&&(i.position.left=n._convertPositionTo("relative",{top:0,left:h}).left)),p=s||r||o||a,"outer"!==f.snapMode&&(s=Math.abs(c-y)<=g,r=Math.abs(u-_)<=g,o=Math.abs(l-m)<=g,a=Math.abs(h-v)<=g,s&&(i.position.top=n._convertPositionTo("relative",{top:c,left:0}).top),r&&(i.position.top=n._convertPositionTo("relative",{top:u-n.helperProportions.height,left:0}).top),o&&(i.position.left=n._convertPositionTo("relative",{top:0,left:l}).left),a&&(i.position.left=n._convertPositionTo("relative",{top:0,left:h-n.helperProportions.width}).left)),!n.snapElements[d].snapping&&(s||r||o||a||p)&&n.options.snap.snap&&n.options.snap.snap.call(n.element,e,t.extend(n._uiHash(),{snapItem:n.snapElements[d].item})),n.snapElements[d].snapping=s||r||o||a||p)}}),t.ui.plugin.add("draggable","stack",{start:function(e,i,n){var s,r=n.options,o=t.makeArray(t(r.stack)).sort((function(e,i){return(parseInt(t(e).css("zIndex"),10)||0)-(parseInt(t(i).css("zIndex"),10)||0)}));o.length&&(s=parseInt(t(o[0]).css("zIndex"),10)||0,t(o).each((function(e){t(this).css("zIndex",s+e)})),this.css("zIndex",s+o.length))}}),t.ui.plugin.add("draggable","zIndex",{start:function(e,i,n){var s=t(i.helper),r=n.options;s.css("zIndex")&&(r._zIndex=s.css("zIndex")),s.css("zIndex",r.zIndex)},stop:function(e,i,n){var s=n.options;s._zIndex&&t(i.helper).css("zIndex",s._zIndex)}}),t.ui.draggable})?n.apply(e,s):n)||(t.exports=r)},52282:(t,e,i)=>{var n,s,r
;s=[i(23127),i(58264),i(34912),i(62066)],void 0===(r="function"==typeof(n=function(t){var e=!1;return t(document).on("mouseup",(function(){e=!1})),t.widget("ui.mouse",{version:"1.12.1",options:{cancel:"input, textarea, button, select, option",distance:1,delay:0},_mouseInit:function(){var e=this;this.element.on("mousedown."+this.widgetName,(function(t){return e._mouseDown(t)})).on("click."+this.widgetName,(function(i){if(!0===t.data(i.target,e.widgetName+".preventClickEvent"))return t.removeData(i.target,e.widgetName+".preventClickEvent"),i.stopImmediatePropagation(),!1})),this.started=!1},_mouseDestroy:function(){this.element.off("."+this.widgetName),this._mouseMoveDelegate&&this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(i){if(!e){this._mouseMoved=!1,this._mouseStarted&&this._mouseUp(i),this._mouseDownEvent=i;var n=this,s=1===i.which,r=!("string"!=typeof this.options.cancel||!i.target.nodeName)&&t(i.target).closest(this.options.cancel).length;return!(s&&!r&&this._mouseCapture(i)&&(this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout((function(){n.mouseDelayMet=!0}),this.options.delay)),this._mouseDistanceMet(i)&&this._mouseDelayMet(i)&&(this._mouseStarted=!1!==this._mouseStart(i),!this._mouseStarted)?(i.preventDefault(),0):(!0===t.data(i.target,this.widgetName+".preventClickEvent")&&t.removeData(i.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(t){return n._mouseMove(t)},this._mouseUpDelegate=function(t){return n._mouseUp(t)},this.document.on("mousemove."+this.widgetName,this._mouseMoveDelegate).on("mouseup."+this.widgetName,this._mouseUpDelegate),i.preventDefault(),e=!0,0)))}},_mouseMove:function(e){if(this._mouseMoved){if(t.ui.ie&&(!document.documentMode||document.documentMode<9)&&!e.button)return this._mouseUp(e);if(!e.which)if(e.originalEvent.altKey||e.originalEvent.ctrlKey||e.originalEvent.metaKey||e.originalEvent.shiftKey)this.ignoreMissingWhich=!0;else if(!this.ignoreMissingWhich)return this._mouseUp(e)}return(e.which||e.button)&&(this._mouseMoved=!0),this._mouseStarted?(this._mouseDrag(e),e.preventDefault()):(this._mouseDistanceMet(e)&&this._mouseDelayMet(e)&&(this._mouseStarted=!1!==this._mouseStart(this._mouseDownEvent,e),this._mouseStarted?this._mouseDrag(e):this._mouseUp(e)),!this._mouseStarted)},_mouseUp:function(i){this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,i.target===this._mouseDownEvent.target&&t.data(i.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(i)),this._mouseDelayTimer&&(clearTimeout(this._mouseDelayTimer),delete this._mouseDelayTimer),this.ignoreMissingWhich=!1,e=!1,i.preventDefault()},_mouseDistanceMet:function(t){return Math.max(Math.abs(this._mouseDownEvent.pageX-t.pageX),Math.abs(this._mouseDownEvent.pageY-t.pageY))>=this.options.distance},_mouseDelayMet:function(){
return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}})})?n.apply(e,s):n)||(t.exports=r)},98135:(t,e,i)=>{var n,s,r;s=[i(23127),i(52282),i(39525),i(42353),i(34912),i(62066)],void 0===(r="function"==typeof(n=function(t){return t.widget("ui.resizable",t.ui.mouse,{version:"1.12.1",widgetEventPrefix:"resize",options:{alsoResize:!1,animate:!1,animateDuration:"slow",animateEasing:"swing",aspectRatio:!1,autoHide:!1,classes:{"ui-resizable-se":"ui-icon ui-icon-gripsmall-diagonal-se"},containment:!1,ghost:!1,grid:!1,handles:"e,s,se",helper:!1,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:90,resize:null,start:null,stop:null},_num:function(t){return parseFloat(t)||0},_isNumber:function(t){return!isNaN(parseFloat(t))},_hasScroll:function(e,i){if("hidden"===t(e).css("overflow"))return!1;var n,s=i&&"left"===i?"scrollLeft":"scrollTop";return e[s]>0||(e[s]=1,n=e[s]>0,e[s]=0,n)},_create:function(){var e,i=this.options,n=this;this._addClass("ui-resizable"),t.extend(this,{_aspectRatio:!!i.aspectRatio,aspectRatio:i.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:i.helper||i.ghost||i.animate?i.helper||"ui-resizable-helper":null}),this.element[0].nodeName.match(/^(canvas|textarea|input|select|button|img)$/i)&&(this.element.wrap(t("<div class='ui-wrapper' style='overflow: hidden;'></div>").css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")})),this.element=this.element.parent().data("ui-resizable",this.element.resizable("instance")),this.elementIsWrapper=!0,e={marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom"),marginLeft:this.originalElement.css("marginLeft")},this.element.css(e),this.originalElement.css("margin",0),this.originalResizeStyle=this.originalElement.css("resize"),this.originalElement.css("resize","none"),this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"})),this.originalElement.css(e),this._proportionallyResize()),this._setupHandles(),i.autoHide&&t(this.element).on("mouseenter",(function(){i.disabled||(n._removeClass("ui-resizable-autohide"),n._handles.show())})).on("mouseleave",(function(){i.disabled||n.resizing||(n._addClass("ui-resizable-autohide"),n._handles.hide())})),this._mouseInit()},_destroy:function(){this._mouseDestroy();var e,i=function(e){t(e).removeData("resizable").removeData("ui-resizable").off(".resizable").find(".ui-resizable-handle").remove()};return this.elementIsWrapper&&(i(this.element),e=this.element,this.originalElement.css({position:e.css("position"),width:e.outerWidth(),height:e.outerHeight(),top:e.css("top"),left:e.css("left")}).insertAfter(e),e.remove()),this.originalElement.css("resize",this.originalResizeStyle),i(this.originalElement),this},_setOption:function(t,e){switch(this._super(t,e),t){
case"handles":this._removeHandles(),this._setupHandles()}},_setupHandles:function(){var e,i,n,s,r,o=this.options,a=this;if(this.handles=o.handles||(t(".ui-resizable-handle",this.element).length?{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"}:"e,s,se"),this._handles=t(),this.handles.constructor===String)for("all"===this.handles&&(this.handles="n,e,s,w,se,sw,ne,nw"),n=this.handles.split(","),this.handles={},i=0;i<n.length;i++)s="ui-resizable-"+(e=t.trim(n[i])),r=t("<div>"),this._addClass(r,"ui-resizable-handle "+s),r.css({zIndex:o.zIndex}),this.handles[e]=".ui-resizable-"+e,this.element.append(r);this._renderAxis=function(e){var i,n,s,r;for(i in e=e||this.element,this.handles)this.handles[i].constructor===String?this.handles[i]=this.element.children(this.handles[i]).first().show():(this.handles[i].jquery||this.handles[i].nodeType)&&(this.handles[i]=t(this.handles[i]),this._on(this.handles[i],{mousedown:a._mouseDown})),this.elementIsWrapper&&this.originalElement[0].nodeName.match(/^(textarea|input|select|button)$/i)&&(n=t(this.handles[i],this.element),r=/sw|ne|nw|se|n|s/.test(i)?n.outerHeight():n.outerWidth(),s=["padding",/ne|nw|n/.test(i)?"Top":/se|sw|s/.test(i)?"Bottom":/^e$/.test(i)?"Right":"Left"].join(""),e.css(s,r),this._proportionallyResize()),this._handles=this._handles.add(this.handles[i])},this._renderAxis(this.element),this._handles=this._handles.add(this.element.find(".ui-resizable-handle")),this._handles.disableSelection(),this._handles.on("mouseover",(function(){a.resizing||(this.className&&(r=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)),a.axis=r&&r[1]?r[1]:"se")})),o.autoHide&&(this._handles.hide(),this._addClass("ui-resizable-autohide"))},_removeHandles:function(){this._handles.remove()},_mouseCapture:function(e){var i,n,s=!1;for(i in this.handles)((n=t(this.handles[i])[0])===e.target||t.contains(n,e.target))&&(s=!0);return!this.options.disabled&&s},_mouseStart:function(e){var i,n,s,r=this.options,o=this.element;return this.resizing=!0,this._renderProxy(),i=this._num(this.helper.css("left")),n=this._num(this.helper.css("top")),r.containment&&(i+=t(r.containment).scrollLeft()||0,n+=t(r.containment).scrollTop()||0),this.offset=this.helper.offset(),this.position={left:i,top:n},this.size=this._helper?{width:this.helper.width(),height:this.helper.height()}:{width:o.width(),height:o.height()},this.originalSize=this._helper?{width:o.outerWidth(),height:o.outerHeight()}:{width:o.width(),height:o.height()},this.sizeDiff={width:o.outerWidth()-o.width(),height:o.outerHeight()-o.height()},this.originalPosition={left:i,top:n},this.originalMousePosition={left:e.pageX,top:e.pageY},this.aspectRatio="number"==typeof r.aspectRatio?r.aspectRatio:this.originalSize.width/this.originalSize.height||1,s=t(".ui-resizable-"+this.axis).css("cursor"),t("body").css("cursor","auto"===s?this.axis+"-resize":s),this._addClass("ui-resizable-resizing"),this._propagate("start",e),!0},
_mouseDrag:function(e){var i,n,s=this.originalMousePosition,r=this.axis,o=e.pageX-s.left||0,a=e.pageY-s.top||0,l=this._change[r];return this._updatePrevProperties(),!!l&&(i=l.apply(this,[e,o,a]),this._updateVirtualBoundaries(e.shiftKey),(this._aspectRatio||e.shiftKey)&&(i=this._updateRatio(i,e)),i=this._respectSize(i,e),this._updateCache(i),this._propagate("resize",e),n=this._applyChanges(),!this._helper&&this._proportionallyResizeElements.length&&this._proportionallyResize(),t.isEmptyObject(n)||(this._updatePrevProperties(),this._trigger("resize",e,this.ui()),this._applyChanges()),!1)},_mouseStop:function(e){this.resizing=!1;var i,n,s,r,o,a,l,h=this.options;return this._helper&&(s=(n=(i=this._proportionallyResizeElements).length&&/textarea/i.test(i[0].nodeName))&&this._hasScroll(i[0],"left")?0:this.sizeDiff.height,r=n?0:this.sizeDiff.width,o={width:this.helper.width()-r,height:this.helper.height()-s},a=parseFloat(this.element.css("left"))+(this.position.left-this.originalPosition.left)||null,l=parseFloat(this.element.css("top"))+(this.position.top-this.originalPosition.top)||null,h.animate||this.element.css(t.extend(o,{top:l,left:a})),this.helper.height(this.size.height),this.helper.width(this.size.width),this._helper&&!h.animate&&this._proportionallyResize()),t("body").css("cursor","auto"),this._removeClass("ui-resizable-resizing"),this._propagate("stop",e),this._helper&&this.helper.remove(),!1},_updatePrevProperties:function(){this.prevPosition={top:this.position.top,left:this.position.left},this.prevSize={width:this.size.width,height:this.size.height}},_applyChanges:function(){var t={};return this.position.top!==this.prevPosition.top&&(t.top=this.position.top+"px"),this.position.left!==this.prevPosition.left&&(t.left=this.position.left+"px"),this.size.width!==this.prevSize.width&&(t.width=this.size.width+"px"),this.size.height!==this.prevSize.height&&(t.height=this.size.height+"px"),this.helper.css(t),t},_updateVirtualBoundaries:function(t){var e,i,n,s,r,o=this.options;r={minWidth:this._isNumber(o.minWidth)?o.minWidth:0,maxWidth:this._isNumber(o.maxWidth)?o.maxWidth:1/0,minHeight:this._isNumber(o.minHeight)?o.minHeight:0,maxHeight:this._isNumber(o.maxHeight)?o.maxHeight:1/0},(this._aspectRatio||t)&&(e=r.minHeight*this.aspectRatio,n=r.minWidth/this.aspectRatio,i=r.maxHeight*this.aspectRatio,s=r.maxWidth/this.aspectRatio,e>r.minWidth&&(r.minWidth=e),n>r.minHeight&&(r.minHeight=n),i<r.maxWidth&&(r.maxWidth=i),s<r.maxHeight&&(r.maxHeight=s)),this._vBoundaries=r},_updateCache:function(t){this.offset=this.helper.offset(),this._isNumber(t.left)&&(this.position.left=t.left),this._isNumber(t.top)&&(this.position.top=t.top),this._isNumber(t.height)&&(this.size.height=t.height),this._isNumber(t.width)&&(this.size.width=t.width)},_updateRatio:function(t){var e=this.position,i=this.size,n=this.axis;return this._isNumber(t.height)?t.width=t.height*this.aspectRatio:this._isNumber(t.width)&&(t.height=t.width/this.aspectRatio),"sw"===n&&(t.left=e.left+(i.width-t.width),t.top=null),"nw"===n&&(t.top=e.top+(i.height-t.height),
t.left=e.left+(i.width-t.width)),t},_respectSize:function(t){var e=this._vBoundaries,i=this.axis,n=this._isNumber(t.width)&&e.maxWidth&&e.maxWidth<t.width,s=this._isNumber(t.height)&&e.maxHeight&&e.maxHeight<t.height,r=this._isNumber(t.width)&&e.minWidth&&e.minWidth>t.width,o=this._isNumber(t.height)&&e.minHeight&&e.minHeight>t.height,a=this.originalPosition.left+this.originalSize.width,l=this.originalPosition.top+this.originalSize.height,h=/sw|nw|w/.test(i),c=/nw|ne|n/.test(i);return r&&(t.width=e.minWidth),o&&(t.height=e.minHeight),n&&(t.width=e.maxWidth),s&&(t.height=e.maxHeight),r&&h&&(t.left=a-e.minWidth),n&&h&&(t.left=a-e.maxWidth),o&&c&&(t.top=l-e.minHeight),s&&c&&(t.top=l-e.maxHeight),t.width||t.height||t.left||!t.top?t.width||t.height||t.top||!t.left||(t.left=null):t.top=null,t},_getPaddingPlusBorderDimensions:function(t){for(var e=0,i=[],n=[t.css("borderTopWidth"),t.css("borderRightWidth"),t.css("borderBottomWidth"),t.css("borderLeftWidth")],s=[t.css("paddingTop"),t.css("paddingRight"),t.css("paddingBottom"),t.css("paddingLeft")];e<4;e++)i[e]=parseFloat(n[e])||0,i[e]+=parseFloat(s[e])||0;return{height:i[0]+i[2],width:i[1]+i[3]}},_proportionallyResize:function(){if(this._proportionallyResizeElements.length)for(var t,e=0,i=this.helper||this.element;e<this._proportionallyResizeElements.length;e++)t=this._proportionallyResizeElements[e],this.outerDimensions||(this.outerDimensions=this._getPaddingPlusBorderDimensions(t)),t.css({height:i.height()-this.outerDimensions.height||0,width:i.width()-this.outerDimensions.width||0})},_renderProxy:function(){var e=this.element,i=this.options;this.elementOffset=e.offset(),this._helper?(this.helper=this.helper||t("<div style='overflow:hidden;'></div>"),this._addClass(this.helper,this._helper),this.helper.css({width:this.element.outerWidth(),height:this.element.outerHeight(),position:"absolute",left:this.elementOffset.left+"px",top:this.elementOffset.top+"px",zIndex:++i.zIndex}),this.helper.appendTo("body").disableSelection()):this.helper=this.element},_change:{e:function(t,e){return{width:this.originalSize.width+e}},w:function(t,e){var i=this.originalSize;return{left:this.originalPosition.left+e,width:i.width-e}},n:function(t,e,i){var n=this.originalSize;return{top:this.originalPosition.top+i,height:n.height-i}},s:function(t,e,i){return{height:this.originalSize.height+i}},se:function(e,i,n){return t.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[e,i,n]))},sw:function(e,i,n){return t.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[e,i,n]))},ne:function(e,i,n){return t.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[e,i,n]))},nw:function(e,i,n){return t.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[e,i,n]))}},_propagate:function(e,i){t.ui.plugin.call(this,e,[i,this.ui()]),"resize"!==e&&this._trigger(e,i,this.ui())},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,
originalSize:this.originalSize,originalPosition:this.originalPosition}}}),t.ui.plugin.add("resizable","animate",{stop:function(e){var i=t(this).resizable("instance"),n=i.options,s=i._proportionallyResizeElements,r=s.length&&/textarea/i.test(s[0].nodeName),o=r&&i._hasScroll(s[0],"left")?0:i.sizeDiff.height,a=r?0:i.sizeDiff.width,l={width:i.size.width-a,height:i.size.height-o},h=parseFloat(i.element.css("left"))+(i.position.left-i.originalPosition.left)||null,c=parseFloat(i.element.css("top"))+(i.position.top-i.originalPosition.top)||null;i.element.animate(t.extend(l,c&&h?{top:c,left:h}:{}),{duration:n.animateDuration,easing:n.animateEasing,step:function(){var n={width:parseFloat(i.element.css("width")),height:parseFloat(i.element.css("height")),top:parseFloat(i.element.css("top")),left:parseFloat(i.element.css("left"))};s&&s.length&&t(s[0]).css({width:n.width,height:n.height}),i._updateCache(n),i._propagate("resize",e)}})}}),t.ui.plugin.add("resizable","containment",{start:function(){var e,i,n,s,r,o,a,l=t(this).resizable("instance"),h=l.options,c=l.element,u=h.containment,d=u instanceof t?u.get(0):/parent/.test(u)?c.parent().get(0):u;d&&(l.containerElement=t(d),/document/.test(u)||u===document?(l.containerOffset={left:0,top:0},l.containerPosition={left:0,top:0},l.parentData={element:t(document),left:0,top:0,width:t(document).width(),height:t(document).height()||document.body.parentNode.scrollHeight}):(e=t(d),i=[],t(["Top","Right","Left","Bottom"]).each((function(t,n){i[t]=l._num(e.css("padding"+n))})),l.containerOffset=e.offset(),l.containerPosition=e.position(),l.containerSize={height:e.innerHeight()-i[3],width:e.innerWidth()-i[1]},n=l.containerOffset,s=l.containerSize.height,r=l.containerSize.width,o=l._hasScroll(d,"left")?d.scrollWidth:r,a=l._hasScroll(d)?d.scrollHeight:s,l.parentData={element:d,left:n.left,top:n.top,width:o,height:a}))},resize:function(e){var i,n,s,r,o=t(this).resizable("instance"),a=o.options,l=o.containerOffset,h=o.position,c=o._aspectRatio||e.shiftKey,u={top:0,left:0},d=o.containerElement,p=!0;d[0]!==document&&/static/.test(d.css("position"))&&(u=l),h.left<(o._helper?l.left:0)&&(o.size.width=o.size.width+(o._helper?o.position.left-l.left:o.position.left-u.left),c&&(o.size.height=o.size.width/o.aspectRatio,p=!1),o.position.left=a.helper?l.left:0),h.top<(o._helper?l.top:0)&&(o.size.height=o.size.height+(o._helper?o.position.top-l.top:o.position.top),c&&(o.size.width=o.size.height*o.aspectRatio,p=!1),o.position.top=o._helper?l.top:0),s=o.containerElement.get(0)===o.element.parent().get(0),r=/relative|absolute/.test(o.containerElement.css("position")),s&&r?(o.offset.left=o.parentData.left+o.position.left,o.offset.top=o.parentData.top+o.position.top):(o.offset.left=o.element.offset().left,o.offset.top=o.element.offset().top),i=Math.abs(o.sizeDiff.width+(o._helper?o.offset.left-u.left:o.offset.left-l.left)),n=Math.abs(o.sizeDiff.height+(o._helper?o.offset.top-u.top:o.offset.top-l.top)),i+o.size.width>=o.parentData.width&&(o.size.width=o.parentData.width-i,c&&(o.size.height=o.size.width/o.aspectRatio,
p=!1)),n+o.size.height>=o.parentData.height&&(o.size.height=o.parentData.height-n,c&&(o.size.width=o.size.height*o.aspectRatio,p=!1)),p||(o.position.left=o.prevPosition.left,o.position.top=o.prevPosition.top,o.size.width=o.prevSize.width,o.size.height=o.prevSize.height)},stop:function(){var e=t(this).resizable("instance"),i=e.options,n=e.containerOffset,s=e.containerPosition,r=e.containerElement,o=t(e.helper),a=o.offset(),l=o.outerWidth()-e.sizeDiff.width,h=o.outerHeight()-e.sizeDiff.height;e._helper&&!i.animate&&/relative/.test(r.css("position"))&&t(this).css({left:a.left-s.left-n.left,width:l,height:h}),e._helper&&!i.animate&&/static/.test(r.css("position"))&&t(this).css({left:a.left-s.left-n.left,width:l,height:h})}}),t.ui.plugin.add("resizable","alsoResize",{start:function(){var e=t(this).resizable("instance").options;t(e.alsoResize).each((function(){var e=t(this);e.data("ui-resizable-alsoresize",{width:parseFloat(e.width()),height:parseFloat(e.height()),left:parseFloat(e.css("left")),top:parseFloat(e.css("top"))})}))},resize:function(e,i){var n=t(this).resizable("instance"),s=n.options,r=n.originalSize,o=n.originalPosition,a={height:n.size.height-r.height||0,width:n.size.width-r.width||0,top:n.position.top-o.top||0,left:n.position.left-o.left||0};t(s.alsoResize).each((function(){var e=t(this),n=t(this).data("ui-resizable-alsoresize"),s={},r=e.parents(i.originalElement[0]).length?["width","height"]:["width","height","top","left"];t.each(r,(function(t,e){var i=(n[e]||0)+(a[e]||0);i&&i>=0&&(s[e]=i||null)})),e.css(s)}))},stop:function(){t(this).removeData("ui-resizable-alsoresize")}}),t.ui.plugin.add("resizable","ghost",{start:function(){var e=t(this).resizable("instance"),i=e.size;e.ghost=e.originalElement.clone(),e.ghost.css({opacity:.25,display:"block",position:"relative",height:i.height,width:i.width,margin:0,left:0,top:0}),e._addClass(e.ghost,"ui-resizable-ghost"),!1!==t.uiBackCompat&&"string"==typeof e.options.ghost&&e.ghost.addClass(this.options.ghost),e.ghost.appendTo(e.helper)},resize:function(){var e=t(this).resizable("instance");e.ghost&&e.ghost.css({position:"relative",height:e.size.height,width:e.size.width})},stop:function(){var e=t(this).resizable("instance");e.ghost&&e.helper&&e.helper.get(0).removeChild(e.ghost.get(0))}}),t.ui.plugin.add("resizable","grid",{resize:function(){var e,i=t(this).resizable("instance"),n=i.options,s=i.size,r=i.originalSize,o=i.originalPosition,a=i.axis,l="number"==typeof n.grid?[n.grid,n.grid]:n.grid,h=l[0]||1,c=l[1]||1,u=Math.round((s.width-r.width)/h)*h,d=Math.round((s.height-r.height)/c)*c,p=r.width+u,f=r.height+d,g=n.maxWidth&&n.maxWidth<p,m=n.maxHeight&&n.maxHeight<f,v=n.minWidth&&n.minWidth>p,y=n.minHeight&&n.minHeight>f;n.grid=l,v&&(p+=h),y&&(f+=c),g&&(p-=h),m&&(f-=c),/^(se|s|e)$/.test(a)?(i.size.width=p,i.size.height=f):/^(ne)$/.test(a)?(i.size.width=p,i.size.height=f,i.position.top=o.top-d):/^(sw)$/.test(a)?(i.size.width=p,i.size.height=f,i.position.left=o.left-u):((f-c<=0||p-h<=0)&&(e=i._getPaddingPlusBorderDimensions(this)),f-c>0?(i.size.height=f,
i.position.top=o.top-d):(f=c-e.height,i.size.height=f,i.position.top=o.top+r.height-f),p-h>0?(i.size.width=p,i.position.left=o.left-u):(p=h-e.width,i.size.width=p,i.position.left=o.left+r.width-p))}}),t.ui.resizable})?n.apply(e,s):n)||(t.exports=r)},68363:(t,e,i)=>{var n,s,r;s=[i(23127),i(52282),i(51699),i(58264),i(15925),i(34912),i(62066)],void 0===(r="function"==typeof(n=function(t){return t.widget("ui.sortable",t.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(t,e,i){return t>=e&&t<e+i},_isFloating:function(t){return/left|right/.test(t.css("float"))||/inline|table-cell/.test(t.css("display"))},_create:function(){this.containerCache={},this._addClass("ui-sortable"),this.refresh(),this.offset=this.element.offset(),this._mouseInit(),this._setHandleClassName(),this.ready=!0},_setOption:function(t,e){this._super(t,e),"handle"===t&&this._setHandleClassName()},_setHandleClassName:function(){var e=this;this._removeClass(this.element.find(".ui-sortable-handle"),"ui-sortable-handle"),t.each(this.items,(function(){e._addClass(this.instance.options.handle?this.item.find(this.instance.options.handle):this.item,"ui-sortable-handle")}))},_destroy:function(){this._mouseDestroy();for(var t=this.items.length-1;t>=0;t--)this.items[t].item.removeData(this.widgetName+"-item");return this},_mouseCapture:function(e,i){var n=null,s=!1,r=this;return!(this.reverting||this.options.disabled||"static"===this.options.type||(this._refreshItems(e),t(e.target).parents().each((function(){if(t.data(this,r.widgetName+"-item")===r)return n=t(this),!1})),t.data(e.target,r.widgetName+"-item")===r&&(n=t(e.target)),!n||this.options.handle&&!i&&(t(this.options.handle,n).find("*").addBack().each((function(){this===e.target&&(s=!0)})),!s)||(this.currentItem=n,this._removeCurrentsFromItems(),0)))},_mouseStart:function(e,i,n){var s,r,o=this.options;if(this.currentContainer=this,this.refreshPositions(),this.helper=this._createHelper(e),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},t.extend(this.offset,{click:{left:e.pageX-this.offset.left,top:e.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(e),this.originalPageX=e.pageX,this.originalPageY=e.pageY,o.cursorAt&&this._adjustOffsetFromHelper(o.cursorAt),
this.domPosition={prev:this.currentItem.prev()[0],parent:this.currentItem.parent()[0]},this.helper[0]!==this.currentItem[0]&&this.currentItem.hide(),this._createPlaceholder(),o.containment&&this._setContainment(),o.cursor&&"auto"!==o.cursor&&(r=this.document.find("body"),this.storedCursor=r.css("cursor"),r.css("cursor",o.cursor),this.storedStylesheet=t("<style>*{ cursor: "+o.cursor+" !important; }</style>").appendTo(r)),o.opacity&&(this.helper.css("opacity")&&(this._storedOpacity=this.helper.css("opacity")),this.helper.css("opacity",o.opacity)),o.zIndex&&(this.helper.css("zIndex")&&(this._storedZIndex=this.helper.css("zIndex")),this.helper.css("zIndex",o.zIndex)),this.scrollParent[0]!==this.document[0]&&"HTML"!==this.scrollParent[0].tagName&&(this.overflowOffset=this.scrollParent.offset()),this._trigger("start",e,this._uiHash()),this._preserveHelperProportions||this._cacheHelperProportions(),!n)for(s=this.containers.length-1;s>=0;s--)this.containers[s]._trigger("activate",e,this._uiHash(this));return t.ui.ddmanager&&(t.ui.ddmanager.current=this),t.ui.ddmanager&&!o.dropBehaviour&&t.ui.ddmanager.prepareOffsets(this,e),this.dragging=!0,this._addClass(this.helper,"ui-sortable-helper"),this._mouseDrag(e),!0},_mouseDrag:function(e){var i,n,s,r,o=this.options,a=!1;for(this.position=this._generatePosition(e),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-e.pageY<o.scrollSensitivity?this.scrollParent[0].scrollTop=a=this.scrollParent[0].scrollTop+o.scrollSpeed:e.pageY-this.overflowOffset.top<o.scrollSensitivity&&(this.scrollParent[0].scrollTop=a=this.scrollParent[0].scrollTop-o.scrollSpeed),this.overflowOffset.left+this.scrollParent[0].offsetWidth-e.pageX<o.scrollSensitivity?this.scrollParent[0].scrollLeft=a=this.scrollParent[0].scrollLeft+o.scrollSpeed:e.pageX-this.overflowOffset.left<o.scrollSensitivity&&(this.scrollParent[0].scrollLeft=a=this.scrollParent[0].scrollLeft-o.scrollSpeed)):(e.pageY-this.document.scrollTop()<o.scrollSensitivity?a=this.document.scrollTop(this.document.scrollTop()-o.scrollSpeed):this.window.height()-(e.pageY-this.document.scrollTop())<o.scrollSensitivity&&(a=this.document.scrollTop(this.document.scrollTop()+o.scrollSpeed)),e.pageX-this.document.scrollLeft()<o.scrollSensitivity?a=this.document.scrollLeft(this.document.scrollLeft()-o.scrollSpeed):this.window.width()-(e.pageX-this.document.scrollLeft())<o.scrollSensitivity&&(a=this.document.scrollLeft(this.document.scrollLeft()+o.scrollSpeed))),!1!==a&&t.ui.ddmanager&&!o.dropBehaviour&&t.ui.ddmanager.prepareOffsets(this,e)),this.positionAbs=this._convertPositionTo("absolute"),this.options.axis&&"y"===this.options.axis||(this.helper[0].style.left=this.position.left+"px"),this.options.axis&&"x"===this.options.axis||(this.helper[0].style.top=this.position.top+"px"),i=this.items.length-1;i>=0;i--)if(s=(n=this.items[i]).item[0],
(r=this._intersectsWithPointer(n))&&n.instance===this.currentContainer&&!(s===this.currentItem[0]||this.placeholder[1===r?"next":"prev"]()[0]===s||t.contains(this.placeholder[0],s)||"semi-dynamic"===this.options.type&&t.contains(this.element[0],s))){if(this.direction=1===r?"down":"up","pointer"!==this.options.tolerance&&!this._intersectsWithSides(n))break;this._rearrange(e,n),this._trigger("change",e,this._uiHash());break}return this._contactContainers(e),t.ui.ddmanager&&t.ui.ddmanager.drag(this,e),this._trigger("sort",e,this._uiHash()),this.lastPositionAbs=this.positionAbs,!1},_mouseStop:function(e,i){if(e){if(t.ui.ddmanager&&!this.options.dropBehaviour&&t.ui.ddmanager.drop(this,e),this.options.revert){var n=this,s=this.placeholder.offset(),r=this.options.axis,o={};r&&"x"!==r||(o.left=s.left-this.offset.parent.left-this.margins.left+(this.offsetParent[0]===this.document[0].body?0:this.offsetParent[0].scrollLeft)),r&&"y"!==r||(o.top=s.top-this.offset.parent.top-this.margins.top+(this.offsetParent[0]===this.document[0].body?0:this.offsetParent[0].scrollTop)),this.reverting=!0,t(this.helper).animate(o,parseInt(this.options.revert,10)||500,(function(){n._clear(e)}))}else this._clear(e,i);return!1}},cancel:function(){if(this.dragging){this._mouseUp(new t.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 e=this.containers.length-1;e>=0;e--)this.containers[e]._trigger("deactivate",null,this._uiHash(this)),this.containers[e].containerCache.over&&(this.containers[e]._trigger("out",null,this._uiHash(this)),this.containers[e].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(),t.extend(this,{helper:null,dragging:!1,reverting:!1,_noFinalSort:null}),this.domPosition.prev?t(this.domPosition.prev).after(this.currentItem):t(this.domPosition.parent).prepend(this.currentItem)),this},serialize:function(e){var i=this._getItemsAsjQuery(e&&e.connected),n=[];return e=e||{},t(i).each((function(){var i=(t(e.item||this).attr(e.attribute||"id")||"").match(e.expression||/(.+)[\-=_](.+)/);i&&n.push((e.key||i[1]+"[]")+"="+(e.key&&e.expression?i[1]:i[2]))})),!n.length&&e.key&&n.push(e.key+"="),n.join("&")},toArray:function(e){var i=this._getItemsAsjQuery(e&&e.connected),n=[];return e=e||{},i.each((function(){n.push(t(e.item||this).attr(e.attribute||"id")||"")})),n},_intersectsWith:function(t){var e=this.positionAbs.left,i=e+this.helperProportions.width,n=this.positionAbs.top,s=n+this.helperProportions.height,r=t.left,o=r+t.width,a=t.top,l=a+t.height,h=this.offset.click.top,c=this.offset.click.left,u="x"===this.options.axis||n+h>a&&n+h<l,d="y"===this.options.axis||e+c>r&&e+c<o,p=u&&d
;return"pointer"===this.options.tolerance||this.options.forcePointerForContainers||"pointer"!==this.options.tolerance&&this.helperProportions[this.floating?"width":"height"]>t[this.floating?"width":"height"]?p:r<e+this.helperProportions.width/2&&i-this.helperProportions.width/2<o&&a<n+this.helperProportions.height/2&&s-this.helperProportions.height/2<l},_intersectsWithPointer:function(t){var e,i,n="x"===this.options.axis||this._isOverAxis(this.positionAbs.top+this.offset.click.top,t.top,t.height),s="y"===this.options.axis||this._isOverAxis(this.positionAbs.left+this.offset.click.left,t.left,t.width);return!(!n||!s)&&(e=this._getDragVerticalDirection(),i=this._getDragHorizontalDirection(),this.floating?"right"===i||"down"===e?2:1:e&&("down"===e?2:1))},_intersectsWithSides:function(t){var e=this._isOverAxis(this.positionAbs.top+this.offset.click.top,t.top+t.height/2,t.height),i=this._isOverAxis(this.positionAbs.left+this.offset.click.left,t.left+t.width/2,t.width),n=this._getDragVerticalDirection(),s=this._getDragHorizontalDirection();return this.floating&&s?"right"===s&&i||"left"===s&&!i:n&&("down"===n&&e||"up"===n&&!e)},_getDragVerticalDirection:function(){var t=this.positionAbs.top-this.lastPositionAbs.top;return 0!==t&&(t>0?"down":"up")},_getDragHorizontalDirection:function(){var t=this.positionAbs.left-this.lastPositionAbs.left;return 0!==t&&(t>0?"right":"left")},refresh:function(t){return this._refreshItems(t),this._setHandleClassName(),this.refreshPositions(),this},_connectWith:function(){var t=this.options;return t.connectWith.constructor===String?[t.connectWith]:t.connectWith},_getItemsAsjQuery:function(e){var i,n,s,r,o=[],a=[],l=this._connectWith();if(l&&e)for(i=l.length-1;i>=0;i--)for(n=(s=t(l[i],this.document[0])).length-1;n>=0;n--)(r=t.data(s[n],this.widgetFullName))&&r!==this&&!r.options.disabled&&a.push([t.isFunction(r.options.items)?r.options.items.call(r.element):t(r.options.items,r.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),r]);function h(){o.push(this)}for(a.push([t.isFunction(this.options.items)?this.options.items.call(this.element,null,{options:this.options,item:this.currentItem}):t(this.options.items,this.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),this]),i=a.length-1;i>=0;i--)a[i][0].each(h);return t(o)},_removeCurrentsFromItems:function(){var e=this.currentItem.find(":data("+this.widgetName+"-item)");this.items=t.grep(this.items,(function(t){for(var i=0;i<e.length;i++)if(e[i]===t.item[0])return!1;return!0}))},_refreshItems:function(e){this.items=[],this.containers=[this];var i,n,s,r,o,a,l,h,c=this.items,u=[[t.isFunction(this.options.items)?this.options.items.call(this.element[0],e,{item:this.currentItem}):t(this.options.items,this.element),this]],d=this._connectWith();if(d&&this.ready)for(i=d.length-1;i>=0;i--)for(n=(s=t(d[i],this.document[0])).length-1;n>=0;n--)(r=t.data(s[n],this.widgetFullName))&&r!==this&&!r.options.disabled&&(u.push([t.isFunction(r.options.items)?r.options.items.call(r.element[0],e,{item:this.currentItem
}):t(r.options.items,r.element),r]),this.containers.push(r));for(i=u.length-1;i>=0;i--)for(o=u[i][1],n=0,h=(a=u[i][0]).length;n<h;n++)(l=t(a[n])).data(this.widgetName+"-item",o),c.push({item:l,instance:o,width:0,height:0,left:0,top:0})},refreshPositions:function(e){var i,n,s,r;for(this.floating=!!this.items.length&&("x"===this.options.axis||this._isFloating(this.items[0].item)),this.offsetParent&&this.helper&&(this.offset.parent=this._getParentOffset()),i=this.items.length-1;i>=0;i--)(n=this.items[i]).instance!==this.currentContainer&&this.currentContainer&&n.item[0]!==this.currentItem[0]||(s=this.options.toleranceElement?t(this.options.toleranceElement,n.item):n.item,e||(n.width=s.outerWidth(),n.height=s.outerHeight()),r=s.offset(),n.left=r.left,n.top=r.top);if(this.options.custom&&this.options.custom.refreshContainers)this.options.custom.refreshContainers.call(this);else for(i=this.containers.length-1;i>=0;i--)r=this.containers[i].element.offset(),this.containers[i].containerCache.left=r.left,this.containers[i].containerCache.top=r.top,this.containers[i].containerCache.width=this.containers[i].element.outerWidth(),this.containers[i].containerCache.height=this.containers[i].element.outerHeight();return this},_createPlaceholder:function(e){var i,n=(e=e||this).options;n.placeholder&&n.placeholder.constructor!==String||(i=n.placeholder,n.placeholder={element:function(){var n=e.currentItem[0].nodeName.toLowerCase(),s=t("<"+n+">",e.document[0]);return e._addClass(s,"ui-sortable-placeholder",i||e.currentItem[0].className)._removeClass(s,"ui-sortable-helper"),"tbody"===n?e._createTrPlaceholder(e.currentItem.find("tr").eq(0),t("<tr>",e.document[0]).appendTo(s)):"tr"===n?e._createTrPlaceholder(e.currentItem,s):"img"===n&&s.attr("src",e.currentItem.attr("src")),i||s.css("visibility","hidden"),s},update:function(t,s){i&&!n.forcePlaceholderSize||(s.height()||s.height(e.currentItem.innerHeight()-parseInt(e.currentItem.css("paddingTop")||0,10)-parseInt(e.currentItem.css("paddingBottom")||0,10)),s.width()||s.width(e.currentItem.innerWidth()-parseInt(e.currentItem.css("paddingLeft")||0,10)-parseInt(e.currentItem.css("paddingRight")||0,10)))}}),e.placeholder=t(n.placeholder.element.call(e.element,e.currentItem)),e.currentItem.after(e.placeholder),n.placeholder.update(e,e.placeholder)},_createTrPlaceholder:function(e,i){var n=this;e.children().each((function(){t("<td>&#160;</td>",n.document[0]).attr("colspan",t(this).attr("colspan")||1).appendTo(i)}))},_contactContainers:function(e){var i,n,s,r,o,a,l,h,c,u,d=null,p=null;for(i=this.containers.length-1;i>=0;i--)if(!t.contains(this.currentItem[0],this.containers[i].element[0]))if(this._intersectsWith(this.containers[i].containerCache)){if(d&&t.contains(this.containers[i].element[0],d.element[0]))continue;d=this.containers[i],p=i}else this.containers[i].containerCache.over&&(this.containers[i]._trigger("out",e,this._uiHash(this)),this.containers[i].containerCache.over=0)
;if(d)if(1===this.containers.length)this.containers[p].containerCache.over||(this.containers[p]._trigger("over",e,this._uiHash(this)),this.containers[p].containerCache.over=1);else{for(s=1e4,r=null,o=(c=d.floating||this._isFloating(this.currentItem))?"left":"top",a=c?"width":"height",u=c?"pageX":"pageY",n=this.items.length-1;n>=0;n--)t.contains(this.containers[p].element[0],this.items[n].item[0])&&this.items[n].item[0]!==this.currentItem[0]&&(l=this.items[n].item.offset()[o],h=!1,e[u]-l>this.items[n][a]/2&&(h=!0),Math.abs(e[u]-l)<s&&(s=Math.abs(e[u]-l),r=this.items[n],this.direction=h?"up":"down"));if(!r&&!this.options.dropOnEmpty)return;if(this.currentContainer===this.containers[p])return void(this.currentContainer.containerCache.over||(this.containers[p]._trigger("over",e,this._uiHash()),this.currentContainer.containerCache.over=1));r?this._rearrange(e,r,null,!0):this._rearrange(e,null,this.containers[p].element,!0),this._trigger("change",e,this._uiHash()),this.containers[p]._trigger("change",e,this._uiHash(this)),this.currentContainer=this.containers[p],this.options.placeholder.update(this.currentContainer,this.placeholder),this.containers[p]._trigger("over",e,this._uiHash(this)),this.containers[p].containerCache.over=1}},_createHelper:function(e){var i=this.options,n=t.isFunction(i.helper)?t(i.helper.apply(this.element[0],[e,this.currentItem])):"clone"===i.helper?this.currentItem.clone():this.currentItem;return n.parents("body").length||t("parent"!==i.appendTo?i.appendTo:this.currentItem[0].parentNode)[0].appendChild(n[0]),n[0]===this.currentItem[0]&&(this._storedCSS={width:this.currentItem[0].style.width,height:this.currentItem[0].style.height,position:this.currentItem.css("position"),top:this.currentItem.css("top"),left:this.currentItem.css("left")}),n[0].style.width&&!i.forceHelperSize||n.width(this.currentItem.width()),n[0].style.height&&!i.forceHelperSize||n.height(this.currentItem.height()),n},_adjustOffsetFromHelper:function(e){"string"==typeof e&&(e=e.split(" ")),t.isArray(e)&&(e={left:+e[0],top:+e[1]||0}),"left"in e&&(this.offset.click.left=e.left+this.margins.left),"right"in e&&(this.offset.click.left=this.helperProportions.width-e.right+this.margins.left),"top"in e&&(this.offset.click.top=e.top+this.margins.top),"bottom"in e&&(this.offset.click.top=this.helperProportions.height-e.bottom+this.margins.top)},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var e=this.offsetParent.offset();return"absolute"===this.cssPosition&&this.scrollParent[0]!==this.document[0]&&t.contains(this.scrollParent[0],this.offsetParent[0])&&(e.left+=this.scrollParent.scrollLeft(),e.top+=this.scrollParent.scrollTop()),(this.offsetParent[0]===this.document[0].body||this.offsetParent[0].tagName&&"html"===this.offsetParent[0].tagName.toLowerCase()&&t.ui.ie)&&(e={top:0,left:0}),{top:e.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:e.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if("relative"===this.cssPosition){
var t=this.currentItem.position();return{top:t.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:t.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}}return{top:0,left:0}},_cacheMargins:function(){this.margins={left:parseInt(this.currentItem.css("marginLeft"),10)||0,top:parseInt(this.currentItem.css("marginTop"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var e,i,n,s=this.options;"parent"===s.containment&&(s.containment=this.helper[0].parentNode),"document"!==s.containment&&"window"!==s.containment||(this.containment=[0-this.offset.relative.left-this.offset.parent.left,0-this.offset.relative.top-this.offset.parent.top,"document"===s.containment?this.document.width():this.window.width()-this.helperProportions.width-this.margins.left,("document"===s.containment?this.document.height()||document.body.parentNode.scrollHeight:this.window.height()||this.document[0].body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]),/^(document|window|parent)$/.test(s.containment)||(e=t(s.containment)[0],i=t(s.containment).offset(),n="hidden"!==t(e).css("overflow"),this.containment=[i.left+(parseInt(t(e).css("borderLeftWidth"),10)||0)+(parseInt(t(e).css("paddingLeft"),10)||0)-this.margins.left,i.top+(parseInt(t(e).css("borderTopWidth"),10)||0)+(parseInt(t(e).css("paddingTop"),10)||0)-this.margins.top,i.left+(n?Math.max(e.scrollWidth,e.offsetWidth):e.offsetWidth)-(parseInt(t(e).css("borderLeftWidth"),10)||0)-(parseInt(t(e).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left,i.top+(n?Math.max(e.scrollHeight,e.offsetHeight):e.offsetHeight)-(parseInt(t(e).css("borderTopWidth"),10)||0)-(parseInt(t(e).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top])},_convertPositionTo:function(e,i){i||(i=this.position);var n="absolute"===e?1:-1,s="absolute"!==this.cssPosition||this.scrollParent[0]!==this.document[0]&&t.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,r=/(html|body)/i.test(s[0].tagName);return{top:i.top+this.offset.relative.top*n+this.offset.parent.top*n-("fixed"===this.cssPosition?-this.scrollParent.scrollTop():r?0:s.scrollTop())*n,left:i.left+this.offset.relative.left*n+this.offset.parent.left*n-("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():r?0:s.scrollLeft())*n}},_generatePosition:function(e){var i,n,s=this.options,r=e.pageX,o=e.pageY,a="absolute"!==this.cssPosition||this.scrollParent[0]!==this.document[0]&&t.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,l=/(html|body)/i.test(a[0].tagName);return"relative"!==this.cssPosition||this.scrollParent[0]!==this.document[0]&&this.scrollParent[0]!==this.offsetParent[0]||(this.offset.relative=this._getRelativeOffset()),this.originalPosition&&(this.containment&&(e.pageX-this.offset.click.left<this.containment[0]&&(r=this.containment[0]+this.offset.click.left),
e.pageY-this.offset.click.top<this.containment[1]&&(o=this.containment[1]+this.offset.click.top),e.pageX-this.offset.click.left>this.containment[2]&&(r=this.containment[2]+this.offset.click.left),e.pageY-this.offset.click.top>this.containment[3]&&(o=this.containment[3]+this.offset.click.top)),s.grid&&(i=this.originalPageY+Math.round((o-this.originalPageY)/s.grid[1])*s.grid[1],o=this.containment?i-this.offset.click.top>=this.containment[1]&&i-this.offset.click.top<=this.containment[3]?i:i-this.offset.click.top>=this.containment[1]?i-s.grid[1]:i+s.grid[1]:i,n=this.originalPageX+Math.round((r-this.originalPageX)/s.grid[0])*s.grid[0],r=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-s.grid[0]:n+s.grid[0]:n)),{top:o-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.scrollParent.scrollTop():l?0:a.scrollTop()),left:r-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():l?0:a.scrollLeft())}},_rearrange:function(t,e,i,n){i?i[0].appendChild(this.placeholder[0]):e.item[0].parentNode.insertBefore(this.placeholder[0],"down"===this.direction?e.item[0]:e.item[0].nextSibling),this.counter=this.counter?++this.counter:1;var s=this.counter;this._delay((function(){s===this.counter&&this.refreshPositions(!n)}))},_clear:function(t,e){this.reverting=!1;var i,n=[];if(!this._noFinalSort&&this.currentItem.parent().length&&this.placeholder.before(this.currentItem),this._noFinalSort=null,this.helper[0]===this.currentItem[0]){for(i in this._storedCSS)"auto"!==this._storedCSS[i]&&"static"!==this._storedCSS[i]||(this._storedCSS[i]="");this.currentItem.css(this._storedCSS),this._removeClass(this.currentItem,"ui-sortable-helper")}else this.currentItem.show();function s(t,e,i){return function(n){i._trigger(t,n,e._uiHash(e))}}for(this.fromOutside&&!e&&n.push((function(t){this._trigger("receive",t,this._uiHash(this.fromOutside))})),!this.fromOutside&&this.domPosition.prev===this.currentItem.prev().not(".ui-sortable-helper")[0]&&this.domPosition.parent===this.currentItem.parent()[0]||e||n.push((function(t){this._trigger("update",t,this._uiHash())})),this!==this.currentContainer&&(e||(n.push((function(t){this._trigger("remove",t,this._uiHash())})),n.push(function(t){return function(e){t._trigger("receive",e,this._uiHash(this))}}.call(this,this.currentContainer)),n.push(function(t){return function(e){t._trigger("update",e,this._uiHash(this))}}.call(this,this.currentContainer)))),i=this.containers.length-1;i>=0;i--)e||n.push(s("deactivate",this,this.containers[i])),this.containers[i].containerCache.over&&(n.push(s("out",this,this.containers[i])),this.containers[i].containerCache.over=0);if(this.storedCursor&&(this.document.find("body").css("cursor",this.storedCursor),this.storedStylesheet.remove()),this._storedOpacity&&this.helper.css("opacity",this._storedOpacity),
this._storedZIndex&&this.helper.css("zIndex","auto"===this._storedZIndex?"":this._storedZIndex),this.dragging=!1,e||this._trigger("beforeStop",t,this._uiHash()),this.placeholder[0].parentNode.removeChild(this.placeholder[0]),this.cancelHelperRemoval||(this.helper[0]!==this.currentItem[0]&&this.helper.remove(),this.helper=null),!e){for(i=0;i<n.length;i++)n[i].call(this,t);this._trigger("stop",t,this._uiHash())}return this.fromOutside=!1,!this.cancelHelperRemoval},_trigger:function(){!1===t.Widget.prototype._trigger.apply(this,arguments)&&this.cancel()},_uiHash:function(e){var i=e||this;return{helper:i.helper,placeholder:i.placeholder||t([]),position:i.position,originalPosition:i.originalPosition,offset:i.positionAbs,item:i.currentItem,sender:e?e.element:null}}})})?n.apply(e,s):n)||(t.exports=r)},59535:()=>{},56479:(t,e,i)=>{"use strict";var n=i(23127),s=i(32563).mobiletouch;!function(t,e,i){function n(i,n){n=n||i+"outside";var s=t(),r=i+"."+n+"-special-event";function o(e){t(s).each((function(){var i=t(this);this===e.target||i.has(e.target).length||i.triggerHandler(n,[e.target])}))}t.event.special[n]={setup:function(){delete(s=s.add(this)).prevObject,1===s.length&&t(e).bind(r,o)},teardown:function(){delete(s=s.not(this)).prevObject,0===s.length&&t(e).unbind(r)},add:function(t){var e=t.handler;t.handler=function(t,i){t.target=i,e.apply(this,arguments)}}}}t.map("click dblclick mousemove mousedown mouseup mouseover mouseout change select submit keydown keypress keyup".split(" "),(function(t){n(t)})),n("focusin","focusoutside"),n("focusout","bluroutside"),s&&(n("touchstart","mousedownoutside"),n("touchmove","mousemoveoutside"),n("touchend","mouseupoutside")),t.addOutsideEvent=n}(n,document)},74312:(t,e,i)=>{"use strict";i.r(e);i(59535),i(29224),i(68363),i(72994),i(98135),i(94822),i(11773)},35190:(t,e,i)=>{"use strict";i.d(e,{lazyJqueryUI:()=>a});i(23127);var n=i(23127);let s;async function r(t){if(!(t in n.fn))return s||(s=i.e(1729).then(i.bind(i,74312)).then()),s}class o{constructor(t){this._$elem=t}draggable(){const t=arguments,e=this._$elem;return r("draggable").then(()=>e.draggable.apply(e,t))}resizable(){const t=arguments,e=this._$elem;return r("resizable").then(()=>e.resizable.apply(e,t))}sortable(){const t=arguments,e=this._$elem;return r("sortable").then(()=>e.sortable.apply(e,t))}datepicker(){const t=arguments,e=this._$elem;return r("datepicker").then(()=>e.datepicker.apply(e,t))}}function a(t){return new o(n(t))}},11773:(t,e,i)=>{var n=i(23127);n.ui.sortable.prototype._addClass=function(t,e){return"string"==typeof t||null===t?this.element.addClass(t):t.addClass(e),this},n.ui.sortable.prototype._removeClass=function(t,e){return"string"==typeof t||null===t?this.element.removeClass(t):t.removeClass(e),this}}}]);